@layers-app/editor 0.3.6 → 0.3.7

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 (209) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/{layers.CI7rG8Pn.js → layers.-awhHqjn.js} +1 -1
  4. package/dist/{layers.C_zFlE8t.js → layers.32-GLDzG.js} +2 -2
  5. package/dist/{layers.f2fxMC-j.js → layers.3npLqOfp.js} +1 -1
  6. package/dist/{layers.BbOkYmVx.js → layers.4gF3hpVZ.js} +1 -1
  7. package/dist/{layers.BUdVoOcC.js → layers.5zYcGGzO.js} +1 -1
  8. package/dist/{layers.DsqzdOBW.js → layers.6V59_M-x.js} +1 -1
  9. package/dist/{layers.B3Kvqzw-.js → layers.6bM6IgkZ.js} +1 -1
  10. package/dist/{layers.-5Lgclnz.js → layers.6d779Ad5.js} +1 -1
  11. package/dist/{layers.DdbqeOnV.js → layers.AvrFyyy3.js} +1 -1
  12. package/dist/{layers.CFv5izLy.js → layers.B-x1i1zg.js} +1 -1
  13. package/dist/{layers.CWjh5K2k.js → layers.B1kg-q2l.js} +1 -1
  14. package/dist/{layers.DsnA2jLL.js → layers.B3pRkAOL.js} +1 -1
  15. package/dist/{layers.Dckz5wNw.js → layers.B50fa5Pj.js} +1 -1
  16. package/dist/{layers.B52lyuur.js → layers.B5JerXRt.js} +1 -1
  17. package/dist/{layers.DGTuPehg.js → layers.B9JYYPWh.js} +1 -1
  18. package/dist/{layers.DMpbYOvF.js → layers.BAZ0TtxU.js} +1 -1
  19. package/dist/{layers.DxPWMjZU.js → layers.BDykQjKk.js} +1 -1
  20. package/dist/{layers.CzDpU9XP.js → layers.BEdUwoGx.js} +1 -1
  21. package/dist/{layers.X-eOT0WC.js → layers.BH9yfTOh.js} +1 -1
  22. package/dist/layers.BILWd0k_.js +1 -0
  23. package/dist/{layers.DIgPhktH.js → layers.BJQ3eOqs.js} +1 -1
  24. package/dist/{layers.BTEUd5-p.js → layers.BKeK3pXv.js} +1 -1
  25. package/dist/{layers.k8sPjLzr.js → layers.BNM7GLFw.js} +4 -4
  26. package/dist/{layers.Do2-VgDh.js → layers.BSE5OMKV.js} +1 -1
  27. package/dist/{layers.Qn6rj2ot.js → layers.BWDEgEa3.js} +1 -1
  28. package/dist/{layers.BWuMHnce.js → layers.BZs2pOPn.js} +1 -1
  29. package/dist/{layers.DFsVVjwM.js → layers.B_4_ktmf.js} +1 -1
  30. package/dist/{layers.BhtPQriH.js → layers.Bb9grXZF.js} +1 -1
  31. package/dist/{layers.B8C13Ne1.js → layers.BbZMDIQR.js} +1 -1
  32. package/dist/{layers.BrzjJAFH.js → layers.BhUoHpK8.js} +3 -3
  33. package/dist/{layers.D9HiMTqt.js → layers.BjGCfc7k.js} +4 -4
  34. package/dist/{layers.uQ3-_A9Z.js → layers.Bk27HpyT.js} +1 -1
  35. package/dist/{layers.vAHmcXqT.js → layers.BkJwDZZz.js} +1 -1
  36. package/dist/{layers.A3ZwZgRQ.js → layers.Bksyc7a6.js} +1 -1
  37. package/dist/{layers.Dffum43a.js → layers.BlzAE6ZE.js} +1 -1
  38. package/dist/{layers.DWJ44u5w.js → layers.Bm6KUEUF.js} +1 -1
  39. package/dist/{layers.HfjxV8B4.js → layers.BnxL6dgG.js} +4 -4
  40. package/dist/{layers.dGYaKjQH.js → layers.BotOa3mT.js} +8 -8
  41. package/dist/{layers.CT_kcb0H.js → layers.BqNL8Xmp.js} +1 -1
  42. package/dist/layers.BrwERhHI.js +8 -0
  43. package/dist/{layers.Tt2GcbtA.js → layers.Bs7biuk2.js} +1 -1
  44. package/dist/{layers.Dokm132B.js → layers.BtQTaEAJ.js} +3 -3
  45. package/dist/{layers.D1bYVxit.js → layers.BuASDFSa.js} +1 -1
  46. package/dist/{layers.r7DIxmHh.js → layers.BuIC548l.js} +1 -1
  47. package/dist/{layers.BJxi0js0.js → layers.BvuH1NA3.js} +1 -1
  48. package/dist/layers.BwIMdsaa.js +1 -0
  49. package/dist/{layers.jNI1nzCq.js → layers.By6ZdlaR.js} +1 -1
  50. package/dist/{layers.DqhjH09U.js → layers.ByRI4Rbg.js} +2 -2
  51. package/dist/{layers.c4PKeflp.js → layers.ByU8ErxT.js} +1 -1
  52. package/dist/{layers.CmWz2p8R.js → layers.BynqlVLl.js} +3 -3
  53. package/dist/{layers.DgETXCcq.js → layers.Bz0zcuno.js} +1 -1
  54. package/dist/{layers.C7D5zbGN.js → layers.BzOWdruG.js} +1 -1
  55. package/dist/{layers.D4yEvADR.js → layers.BzcwKg3D.js} +1 -1
  56. package/dist/{layers.DBPElbyW.js → layers.Bzg3I3IF.js} +3 -3
  57. package/dist/{layers.0g5uO7I6.js → layers.C-UX_C-7.js} +1 -1
  58. package/dist/{layers.CoOupyZi.js → layers.C-l1F8dG.js} +1 -1
  59. package/dist/{layers.D2fuAtZe.js → layers.C154iCO6.js} +1 -1
  60. package/dist/{layers.BFAu9m8Q.js → layers.C1HFy3pn.js} +1 -1
  61. package/dist/{layers.C5o_gsY7.js → layers.C2VT4H3l.js} +1 -1
  62. package/dist/{layers.C5_EKLgn.js → layers.C3J9F_AC.js} +1 -1
  63. package/dist/{layers.B9R3eGyK.js → layers.C4Gmnbv7.js} +1 -1
  64. package/dist/{layers.BSQ5l9NA.js → layers.C4HDznKl.js} +1 -1
  65. package/dist/{layers.KFrwBDhr.js → layers.C4qLGu6A.js} +1 -1
  66. package/dist/{layers.Bjh1G9wV.js → layers.C4szncvP.js} +1 -1
  67. package/dist/{layers.DFZwPqkp.js → layers.C5dE35A0.js} +1 -1
  68. package/dist/{layers.Bjars8Cx.js → layers.C7FRi0-t.js} +1 -1
  69. package/dist/{layers.BKtNAtd_.js → layers.C7VYwr2U.js} +1 -1
  70. package/dist/{layers.BZX5VcOn.js → layers.C7cqjkQH.js} +1 -1
  71. package/dist/{layers.BfnTfjck.js → layers.C9KlVXax.js} +4 -4
  72. package/dist/{layers.V4QTGZbB.js → layers.C9cgH58y.js} +1 -1
  73. package/dist/{layers.B77VL9sx.js → layers.CAXvPE2v.js} +1 -1
  74. package/dist/{layers.CTRLJqxG.js → layers.CCGxtbRY.js} +1 -1
  75. package/dist/{layers._x3_Pk5g.js → layers.CG4ndMir.js} +1 -1
  76. package/dist/{layers.BvE7TiK1.js → layers.CGBuwNUR.js} +1 -1
  77. package/dist/{layers.CkRRtY8y.js → layers.CI4_3idk.js} +1 -1
  78. package/dist/{layers.69-vt3oR.js → layers.CIfXJQDm.js} +1 -1
  79. package/dist/layers.CKKYNL42.js +6 -0
  80. package/dist/{layers.DlWF_FuW.js → layers.CL719PIM.js} +1 -1
  81. package/dist/{layers.BjZ4UDDE.js → layers.CLehtaL9.js} +1 -1
  82. package/dist/{layers.DOOralMp.js → layers.CMlGOKr_.js} +131 -131
  83. package/dist/{layers.C2XV1h41.js → layers.CNEs6Hl1.js} +3 -3
  84. package/dist/{layers.vomzBr7w.js → layers.CO73zWTC.js} +1 -1
  85. package/dist/{layers.Ccy_X90r.js → layers.COFsYjRR.js} +1 -1
  86. package/dist/{layers.BHpJ2UOG.js → layers.COh3SCDX.js} +1 -1
  87. package/dist/{layers.COl0FFvb.js → layers.CR-Q4ocm.js} +1 -1
  88. package/dist/{layers.DNWTLSIo.js → layers.CS_p8SK-.js} +1 -1
  89. package/dist/{layers.7mUOhrZY.js → layers.CVI52ZT7.js} +1 -1
  90. package/dist/{layers.Da6d8nGX.js → layers.CVIgcg2u.js} +1 -1
  91. package/dist/{layers.Ds2D3ty8.js → layers.CZhpT9Cc.js} +1 -1
  92. package/dist/{layers.mfLe_yN6.js → layers.C_fHhTXI.js} +6 -6
  93. package/dist/{layers.Cft4spLi.js → layers.Cb5iMXcP.js} +1 -1
  94. package/dist/{layers.9I3HFrmI.js → layers.CdSGuZP6.js} +4 -4
  95. package/dist/{layers.Dei31eCT.js → layers.ClZ0AkYl.js} +1 -1
  96. package/dist/{layers.BQkR8-LU.js → layers.CmLJBEea.js} +1 -1
  97. package/dist/{layers.DzleFxEN.js → layers.CoCfwb1G.js} +1 -1
  98. package/dist/{layers.DT_RyX3d.js → layers.CoRoGHb0.js} +2 -2
  99. package/dist/{layers.CQLq20d8.js → layers.CoWcxW6G.js} +1 -1
  100. package/dist/{layers.D6UMp7Cc.js → layers.Cos6PXiD.js} +4 -4
  101. package/dist/{layers.BTya_-T3.js → layers.CpTplbYo.js} +1 -1
  102. package/dist/{layers.emEs-NMs.js → layers.Cs8xxrkl.js} +1 -1
  103. package/dist/{layers.Bdnzxj8_.js → layers.Cv9UAWr7.js} +1 -1
  104. package/dist/{layers.BnJr2kCq.js → layers.CwF7nTqy.js} +5 -5
  105. package/dist/{layers.D0caFr3k.js → layers.CyVzdFQo.js} +1 -1
  106. package/dist/{layers.BKPQwMm-.js → layers.Czl0F7hh.js} +1 -1
  107. package/dist/{layers.Bcsxz2tt.js → layers.D-EGtOkJ.js} +1 -1
  108. package/dist/{layers.BCd7w2yt.js → layers.D-P6NZat.js} +1 -1
  109. package/dist/{layers.CssrNTYY.js → layers.D1-f7j9d.js} +1 -1
  110. package/dist/{layers.D5brU7Lw.js → layers.D2AVRywg.js} +1 -1
  111. package/dist/{layers.ujqgKtGL.js → layers.D2AfGIEe.js} +1 -1
  112. package/dist/{layers.CJL1_Xcw.js → layers.D4NMZqyC.js} +1 -1
  113. package/dist/{layers.CNYodF0g.js → layers.D4tGb5Xt.js} +1 -1
  114. package/dist/{layers.DSh6q60l.js → layers.D7rXrMlT.js} +1 -1
  115. package/dist/{layers.Da_RFxgR.js → layers.D9oMsgRR.js} +1 -1
  116. package/dist/{layers.qHfl1H7e.js → layers.DA8hfoV7.js} +1 -1
  117. package/dist/{layers.DDqpHjPk.js → layers.DBQY5dWN.js} +1 -1
  118. package/dist/{layers.DvSGOk-1.js → layers.DBm8fkuC.js} +1 -1
  119. package/dist/{layers.CoYACQ51.js → layers.DBygaKOj.js} +1 -1
  120. package/dist/{layers.DsHU8tA8.js → layers.DCczQDu2.js} +1 -1
  121. package/dist/{layers.BSgo83_G.js → layers.DD4XLPNN.js} +1 -1
  122. package/dist/{layers.C2QulvSs.js → layers.DEO8w59Z.js} +1 -1
  123. package/dist/{layers.DWY3TwTy.js → layers.DGFOz2Oq.js} +1 -1
  124. package/dist/{layers.BUpmcCIw.js → layers.DGxXMpYA.js} +1 -1
  125. package/dist/{layers.D03V-o0Q.js → layers.DH1uiYgP.js} +3 -3
  126. package/dist/{layers.Z4qUARQA.js → layers.DHgaw6JF.js} +1 -1
  127. package/dist/{layers.BTJS2yG2.js → layers.DHpqpF0H.js} +5 -5
  128. package/dist/{layers.D-jANxcz.js → layers.DKG6Lfk0.js} +1 -1
  129. package/dist/{layers.5ygE1JlC.js → layers.DKQYkIkR.js} +1 -1
  130. package/dist/{layers.HZJ6Cawq.js → layers.DKUQHU-0.js} +1 -1
  131. package/dist/{layers.PEe5xYey.js → layers.DKpwcSnR.js} +1 -1
  132. package/dist/{layers.BhqRHV2T.js → layers.DM5uYGEr.js} +1 -1
  133. package/dist/{layers.DlpxmYw_.js → layers.DMiruzL0.js} +1 -1
  134. package/dist/{layers.Br6bn7So.js → layers.DNbXVYzJ.js} +1 -1
  135. package/dist/{layers.C5gPMUPR.js → layers.DOQ43wbr.js} +1 -1
  136. package/dist/{layers.B2feTekR.js → layers.DTVxoO0M.js} +1 -1
  137. package/dist/{layers.Cf_Vv8pR.js → layers.DTnFwC6d.js} +1 -1
  138. package/dist/{layers.C8NoujKy.js → layers.DWMXa60N.js} +1 -1
  139. package/dist/{layers.Dk-4LLsv.js → layers.DZ6M8Ssj.js} +1 -1
  140. package/dist/{layers.C5dLt_-K.js → layers.DZO0_2FZ.js} +1 -1
  141. package/dist/{layers.DYeXS-QP.js → layers.D_SZuZIF.js} +1 -1
  142. package/dist/{layers.Qau2jjLW.js → layers.Dasv815m.js} +1 -1
  143. package/dist/{layers.DvACRSHS.js → layers.DbcDBXzk.js} +10 -10
  144. package/dist/{layers.DepmS99X.js → layers.DeUUiLv3.js} +1 -1
  145. package/dist/{layers.DgEW0s-H.js → layers.DehcnVQT.js} +1 -1
  146. package/dist/{layers.CNEzboKv.js → layers.DeqVjDws.js} +1 -1
  147. package/dist/{layers.D4iE_lkf.js → layers.DfSWYFrX.js} +3 -3
  148. package/dist/{layers.BfLb8PrM.js → layers.Dg5GTkfr.js} +1 -1
  149. package/dist/{layers.BPxJmeST.js → layers.DgT1cE2m.js} +1 -1
  150. package/dist/{layers.Bo7hyvnS.js → layers.DlFRcbme.js} +1 -1
  151. package/dist/{layers.CWH_fiy-.js → layers.DncJn_DS.js} +1 -1
  152. package/dist/{layers.ByIjh3sh.js → layers.DoHZ6_nl.js} +1 -1
  153. package/dist/{layers.CvsUduRC.js → layers.DqFGe9F7.js} +2 -2
  154. package/dist/{layers.WpHz0Xam.js → layers.DqIgaWgN.js} +1 -1
  155. package/dist/{layers.CHu6tcpX.js → layers.DrmRjYTU.js} +24 -24
  156. package/dist/{layers.DTqJVEPr.js → layers.DvdGNepI.js} +1 -1
  157. package/dist/{layers.xbdb26bz.js → layers.DwvBq7HS.js} +1 -1
  158. package/dist/{layers.B8uKn2Dw.js → layers.EXDAFgOs.js} +1 -1
  159. package/dist/{layers.CLKb0-1V.js → layers.Fviao2Nt.js} +1 -1
  160. package/dist/{layers.Dzb2PSmw.js → layers.G9RyRKYN.js} +1 -1
  161. package/dist/{layers.BOx7BRj4.js → layers.ISesG4vk.js} +1 -1
  162. package/dist/{layers.qXX7ynxp.js → layers.IWjdtipk.js} +1 -1
  163. package/dist/{layers.CylMkEpz.js → layers.J9zLf4l3.js} +1 -1
  164. package/dist/{layers.D9dUjuKM.js → layers.JJZGZMYN.js} +1 -1
  165. package/dist/{layers.Cc285eCr.js → layers.LKR931RJ.js} +4 -4
  166. package/dist/{layers.CSnBgk6s.js → layers.LndAm8RD.js} +1 -1
  167. package/dist/{layers.CqW0WH8h.js → layers.Nsa-qldy.js} +1 -1
  168. package/dist/{layers.DJQYObhk.js → layers.PplD43nU.js} +2 -2
  169. package/dist/{layers.enkF-CY_.js → layers.PxHMF5r2.js} +3 -3
  170. package/dist/{layers.Ke4AoyXy.js → layers.Q6lVbGY2.js} +1 -1
  171. package/dist/{layers.GUSw4uEA.js → layers.RN6lIOA4.js} +1 -1
  172. package/dist/{layers.CfXc3qKg.js → layers.RlcNhii2.js} +1 -1
  173. package/dist/{layers.b6sGEvIQ.js → layers.SyqvB7GX.js} +1 -1
  174. package/dist/{layers.BULuTh-j.js → layers.TTUH8gRV.js} +1 -1
  175. package/dist/{layers.Ben2ZMRU.js → layers.UKzS3EkX.js} +1 -1
  176. package/dist/{layers.Bo8fthgW.js → layers.Uygdt9Pj.js} +1 -1
  177. package/dist/{layers.BbU_xIau.js → layers.VbWeRQn6.js} +4 -4
  178. package/dist/{layers.CR8olQUJ.js → layers.Xn-KVEex.js} +7 -7
  179. package/dist/{layers.BnRfAu3v.js → layers.Y7wWyeCL.js} +1 -1
  180. package/dist/{layers.BoDwUuQc.js → layers.c_CuKfZF.js} +1 -1
  181. package/dist/{layers.DX9U3IPB.js → layers.dxw4H9Mr.js} +1 -1
  182. package/dist/{layers.C7xGgVlp.js → layers.knLsHDoS.js} +1 -1
  183. package/dist/{layers.BoOSv3Vi.js → layers.l7GBzhKw.js} +1 -1
  184. package/dist/{layers.CNLpufBG.js → layers.m1pqgR2_.js} +1 -1
  185. package/dist/{layers.BF7ESV6n.js → layers.mMvFRvgo.js} +1 -1
  186. package/dist/{layers.fplzivY8.js → layers.nuQu5E-R.js} +1 -1
  187. package/dist/{layers.Dct_E2bD.js → layers.oIJUD-u3.js} +1 -1
  188. package/dist/{layers.Dd1wvnBt.js → layers.oKaRdOjO.js} +4 -4
  189. package/dist/{layers.YB1th7fM.js → layers.pYcVg3Vv.js} +1 -1
  190. package/dist/{layers.CRf0n1f0.js → layers.pYy2twUx.js} +1 -1
  191. package/dist/{layers.CmwA-UWj.js → layers.pfDGI-wZ.js} +1 -1
  192. package/dist/{layers.7HJK2Y5U.js → layers.rP9AgAMI.js} +1 -1
  193. package/dist/{layers.BBXHTLj8.js → layers.rWwdH-Oy.js} +1 -1
  194. package/dist/{layers.Btp0Yost.js → layers.s_KFw_0J.js} +3 -3
  195. package/dist/{layers.BY1a3ViB.js → layers.tF7Rpqjy.js} +2 -2
  196. package/dist/{layers.CZxnvXXE.js → layers.ttKOEvg3.js} +1 -1
  197. package/dist/{layers.DMO2Y-6o.js → layers.uW-uRFdd.js} +2 -2
  198. package/dist/{layers.C15flB1q.js → layers.vJcFBy2Z.js} +1 -1
  199. package/dist/{layers.DDDYvCKp.js → layers.xxBenIF2.js} +1 -1
  200. package/dist/{layers.Zy0PnGjh.js → layers.y0J5eKLt.js} +1 -1
  201. package/dist/{layers.Bl_IT9DR.js → layers.y_kPWNcI.js} +1 -1
  202. package/dist/{layers.Bi2yhH1u.js → layers.z-HG5WGz.js} +3 -3
  203. package/dist/{layers.Du4Gnblm.js → layers.z_Oa4Zgr.js} +3 -3
  204. package/dist/{layers.D61aPtly.js → layers.zgT6rJw5.js} +1 -1
  205. package/package.json +1 -1
  206. package/dist/layers.B3Zp-Is3.js +0 -1
  207. package/dist/layers.D6l2gBA7.js +0 -8
  208. package/dist/layers.D7aK5FRQ.js +0 -1
  209. package/dist/layers.DfuykROG.js +0 -6
@@ -5,9 +5,9 @@ import "@mantine/dropzone";
5
5
  import { jsx as b, Fragment as Je, jsxs as $ } from "react/jsx-runtime";
6
6
  import * as Rf from "react";
7
7
  import ol, { useContext as Rt, createContext as Ml, useRef as Fe, useEffect as X, useState as re, useCallback as Be, useMemo as bt, useLayoutEffect as Ms, memo as BP, forwardRef as Gy, lazy as nc, Suspense as Ll, createElement as FP, PureComponent as PP } from "react";
8
- import { initReactI18next as zP, useTranslation as wt, I18nextProvider as UP } from "react-i18next";
8
+ import { initReactI18next as zP, useTranslation as vt, I18nextProvider as UP } from "react-i18next";
9
9
  import { createPortal as Mr, flushSync as KP } from "react-dom";
10
- import { ActionIcon as An, Flex as Ol, UnstyledButton as WP, Loader as $E, Text as nt, Tooltip as Ct, Box as Jr, Anchor as Jy, Image as At, Popover as ko, Stack as iu, TextInput as HP, Center as jP, Button as Ki, Select as e1, Menu as ve, alpha as t1, Portal as Qy, Input as Bc, Group as Xe, Table as Wr, Checkbox as Ii, Divider as n1, List as Kt, Title as YP, HoverCard as am, Modal as ZP, rem as fn, Transition as ma, Paper as GP, CopyButton as JP, LoadingOverlay as QP } from "@mantine/core";
10
+ import { ActionIcon as An, Flex as Ol, UnstyledButton as WP, Loader as $E, Text as nt, Tooltip as St, Box as Jr, Anchor as Jy, Image as At, Popover as ko, Stack as iu, TextInput as HP, Center as jP, Button as Ki, Select as e1, Menu as ve, alpha as t1, Portal as Qy, Input as Bc, Group as Xe, Table as Wr, Checkbox as Ii, Divider as n1, List as Kt, Title as YP, HoverCard as am, Modal as ZP, rem as fn, Transition as ma, Paper as GP, CopyButton as JP, LoadingOverlay as QP } from "@mantine/core";
11
11
  import { useClickOutside as r1, useDisclosure as VP, useResizeObserver as XP, useDebouncedCallback as j0 } from "@mantine/hooks";
12
12
  import qP from "i18next";
13
13
  import { IconFile as ou, IconPalette as i1, IconLayoutSidebarLeftExpand as $P, IconSend as ez, IconReload as o1, IconShieldCheckFilled as tz, IconMessages as nz, IconFilter as rz, IconArrowBackUp as Y0, IconMessage as iz, IconMusic as oz, IconApi as sz, IconX as s1, IconPaperclip as lz, IconAt as az, IconCodeCircle as cz, IconBaseline as l1, IconExclamationCircle as a1, IconAlertTriangle as c1, IconCheck as Fa, IconMoodSmile as uz, IconBrandYoutube as dz, IconCheckupList as fz, IconDropletOff as hz, IconLayersSubtract as gz, IconLayersUnion as pz, IconTableOff as mz, IconContainerOff as Az, IconRowInsertBottom as yz, IconRowInsertTop as bz, IconColumnInsertRight as Bf, IconColumnInsertLeft as u1, IconArrowBarToRight as wz, IconArrowBarToLeft as vz, IconArrowBarToDown as Cz, IconArrowBarToUp as Sz, IconCut as d1, IconClipboard as f1, IconCopy as Ru, IconDotsVertical as xz, IconColumns3 as kz, IconCaretRight as Ez, IconTable as h1, IconTrash as Vf, IconPencil as Tz, IconCircleX as _z, IconCircleCheck as Nz, IconGripVertical as g1, IconChevronRight as Dz, IconChevronDown as Vy, IconPlus as po, IconMinus as Xy, IconSuperscript as Iz, IconSubscript as Mz, IconStrikethrough as Lz, IconFlipHorizontal as Oz, IconAlignJustified as Rz, IconAlignCenter as Bz, IconAlignRight as Fz, IconAlignLeft as cm, IconPhotoCheck as Pz, IconPhoto as zz, IconBucketDroplet as Uz, IconColorPicker as Kz, IconLink as p1, IconUnderline as Wz, IconItalic as Hz, IconBold as jz, IconArrowForwardUp as Yz, IconLetterT as Zz, IconQuote as Gz, IconIndentIncrease as m1, IconListNumbers as A1, IconH3 as Jz, IconH2 as Qz, IconH1 as y1, IconCode as b1, IconListCheck as Vz, IconList as Xz, IconExternalLink as qz, IconMenu2 as $z, IconArrowsDiagonal as w1, IconArrowsDiagonalMinimize2 as v1, IconCircleDashed as eU, IconCursorText as tU, IconPlayerPlayFilled as nU, IconTriangleFilled as da, IconArrowsRightLeft as rU, IconPaint as Z0, IconArrowNarrowLeft as qy, IconReplace as iU, IconTextPlus as oU, IconPlayerPlay as sU, IconWand as lU, IconTextSpellcheck as aU, IconSortAscending as cU, IconSortDescending as uU, IconNotes as dU, IconLanguage as fU, IconScript as hU, IconHelpOctagon as gU, IconSparkles as G0, IconAi as pU, IconColumns2 as mU, IconTemplate as AU, IconApps as yU } from "@tabler/icons-react";
@@ -12723,7 +12723,7 @@ class yN extends YT {
12723
12723
  this.shouldConnect = !0, !this.wsconnected && this.ws === null && (AN(this), this.connectBc());
12724
12724
  }
12725
12725
  }
12726
- const K8 = "0.3.6", W8 = {
12726
+ const K8 = "0.3.7", W8 = {
12727
12727
  version: K8
12728
12728
  }, H8 = /* @__PURE__ */ JSON.parse(`{"placeholder":"Write something, or press '/' for commands...","heading":{"h1":"Heading 1","h2":"Heading 2","h3":"Heading 3","name":"Heading"},"close":"Close","upload":"Upload","unsavedChanges":{"title":"Unsaved changes","message":"Are you sure you want to close the page? All unsaved data will be lost.","cancel":"Cancel","closeWithoutSaving":"Close without saving"},"menu":{"heading":{"title":"Headings","hintShowCase":"Your Ideas, Documents, and Plans. United. Welcome to {{projectName}} — this is a connected workspace where work becomes better and faster.","h1":{"subtitle":"Large Heading","hintDescription":"H1 is used to create the main heading of a page or section, which sets the overall theme. It is also used to automatically generate the table of contents for a document.","keywords":{"header1":"header1","headerOne":"headerone","h1":"h1"}},"h2":{"subtitle":"Medium Heading","hintDescription":"H2 is used to create a secondary heading of a page or section, which sets a general theme. It is also used to automatically generate the table of contents for a document.","keywords":{"header2":"header2","headerTwo":"headertwo","h2":"h2"}},"h3":{"subtitle":"Small Heading","hintDescription":"H3 is used to create a subheading of a page or section, which sets a general theme. It is also used to automatically generate the table of contents for a document.","keywords":{"header3":"header3","headerThree":"headerthree","h3":"h3"}}},"lists":{"title":"Lists","numberList":{"name":"Numbered List","subtitle":"A simple numbered list","hint":{"firstItem":"First item","secondItem":"Second item","firstSubItem":"First sub-item","secondSubItem":"Second sub-item","firstSubSubItem":"First sub-sub-item","secondSubSubItem":"Second sub-sub-item","description":"This tool creates a list with items that are automatically numbered when new rows are added."}},"bulletList":{"name":"Bulleted List","subtitle":"Automatically marked list","hint":{"firstItem":"First item","secondItem":"Second item","firstSubItem":"First sub-item","secondSubItem":"Second sub-item","firstSubSubItem":"First sub-sub-item","secondSubSubItem":"Second sub-sub-item","description":"This tool creates a list with items that are automatically marked with bullets when new rows are added."}},"checkList":{"name":"Checklist","subtitle":"Easy task management","hint":{"indeterminate":"Indeterminate","unchecked":"Unchecked","checked":"Checked","description":"Creates a task list with the ability to mark completed items and sub-items."}}},"main":{"title":"Basics","paragraph":{"name":"Paragraph","subtitle":"Simply start typing regular text","hint":{"text":"Your Ideas, Documents, and Plans. United. Welcome to {{projectName}} — this is a connected workspace where work becomes better and faster.","description":"A few lines of text, left-aligned, imitating a text block."}},"quote":{"name":"Quote","subtitle":"Write down a quote","hint":{"text":"/quote Your Ideas, Documents, and Plans. United. Welcome to {{projectName}} — this is a connected workspace where work becomes better and faster. Stay focused, stay aligned, and achieve more with Layers.","description":"Used to insert quotes or highlight important text blocks. It is visually separated from the main text."}},"collapse":{"name":"Collapsible","subtitle":"Hide block content","hint":{"firstItemEmpty":"First item is empty","secondItem":"Second item","firstSubItemEmpty":"First sub-item is empty","secondSubItem":"Second sub-item","firstSubSubItemEmpty":"First sub-sub-item is empty","secondSubSubItem":"Second sub-sub-item","description":"Used to create blocks with content that can be hidden or shown when clicked. Almost any other block can be placed inside such a list."}},"horizontal-rule":{"name":"Divider","subtitle":"Visualizes block dividers","hint":{"topText":"Pressed the slash. Then entered something...","bottomText":"The next day, everything became clearer and more understandable. As if what was unknown yesterday became completely familiar and ordinary today. Take, for example...","description":"Used to visually separate sections or blocks of text on a page."}},"table":{"name":"Table","subtitle":"Add a simple table to your page","hint":{"firstRow":"First cell filled with text","secondRow":"And another cell with text","description":"A tool for creating tables with multiple rows and columns to organize data."}},"grid":{"name":"Grid","subtitle":"Up to 4 columns of blocks","hint":{"firstColumn":"The next day, everything became clearer and more understandable. As if what was unknown yesterday became completely familiar and ordinary today. Take, for example...","secondColumn":"Your Ideas, Documents, and Plans. United. Welcome to {{projectName}} — this is a connected workspace where work becomes better and faster.","description":"A tool for dividing a document into multiple columns, into which any blocks can be placed."}},"code":{"name":"Code","subtitle":"Write a code snippet","copy":"Copy code","exitCommandText":"Shift + Enter to exit code block","collapsible":{"hidden":"Collapse code","expand":"Expand code"},"hint":{"description":"A tool for inserting code snippets with syntax highlighting."}},"callout":{"name":"Callout","subtitle":"Make writing stand out","hint":{"description":"-."}}},"callout":{"title":"Callout","default":{"name":"Default","hint":{"description":"A few lines of text aligned to the left, simulating a text block.","body":"/callout Your Ideas, Documents, and Plans. Unified. Welcome to {{projectName}} — a connected workspace where work gets better and faster. Your Ideas and Plans. Unified. Welcome to {{projectName}} — a connected workspace where work gets better and faster. Your Ideas, Documents, and Plans. Unified. Welcome to {{projectName}} — a connected workspace where work gets better and faster."},"keywords":{"callout":"callout","type":"default"},"subtitle":"Default callout"},"success":{"name":"Success","subtitle":"Successful notification","keywords":{"callout":"callout","type":"success"}},"warning":{"name":"Warning","hint":{"description":"A few lines of text aligned to the left, simulating a text block."},"keywords":{"callout":"callout","type":"warning"},"subtitle":"Important notification"},"alert":{"name":"Alert","hint":{"description":"A few lines of text aligned to the left, simulating a text block."},"keywords":{"callout":"callout","type":"alert"},"subtitle":"Critical notification"}},"media":{"title":"Media","photo":{"name":"Image","hint":{"description":"A tool for adding an image to a page."},"subtitle":"Upload and place via link"},"form":{"name":"Form","subtitle":"Add a form"},"video":{"name":"Video","hint":{"description":"A tool for embedding video on a page."},"subtitle":"Add a video"},"file":{"name":"File","hint":{"description":"Upload any files up to 500 MB in size, and they will be available for download to anyone you share the link to this page with."},"subtitle":"Add a file"},"audio":{"name":"Audio","hint":{"description":"Upload any audio files up to 5 MB in size, and they will be available for download and listening to anyone you share the link to this page with."},"subtitle":"Add a audio"},"excalidraw":{"name":"Paint","hint":{"description":"Draw any scheme or kind landscape. Free creativity where everything is in your hands."},"keywords":{"video":"draw"},"subtitle":"Work with vector graphics"}},"other":{"title":"Other","documents":{"empty":"You have no nested documents","name":"Nested Documents","subtitle":"Displays a list of nested documents"},"emoji":{"name":"Emoji","subtitle":"Add emoji"}},"integrations":{"title":"Integrations"}},"toolbar":{"turnInto":"Turn into","bold":"Bold","italic":"Italic","underline":"Underline","strike":"Strikethrough","superscript":"Superscript","subscript":"Subscript","align":"Alignment","left":"Align Left","center":"Align Center","right":"Align Right","justify":"Justify","indent":"Indent","outdent":"Outdent","color":"Color","code":"Code","link":"Add Link","clear":"Clear Formatting","comment":"Comment"},"link":{"linkName":"Link name","link":"Link","save":"Save","remove":"Remove","edit":"Edit","copy":"Copy"},"contextMenu":{"copy":"Copy","cut":"Cut","paste":"Paste","delete":"Delete","add":"Add","selectAll":"Select All","duplicate":"Duplicate","appearance":"Appearance"},"colors":{"lastTimeUsed":"Last Used","color":"Color","background":"Background","theme":"Theme","colors":{"standard":"Standard","gray":"Gray","brown":"Brown","orange":"Orange","yellow":"Yellow","green":"Green","blue":"Blue","purple":"Purple","pink":"Pink","red":"Red"},"callout":{"success":"Success","alert":"Alert","warning":"Warning"}},"video":{"insert":"Embed","apply":"Apply","worksWith":"Works with","add_video":"Add Video"},"swagger":{"insert":"Swagger","worksWith":"Works with","add":"Add Swagger"},"image":{"add_photo":"Add Image","preview":"Preview"},"file":{"add_file":"Add File"},"audio":{"add_audio":"Add Audio"},"mention":{"mark":"Mark someone"},"validation":{"link":"Invalid Link","shouldNotExceed":"File size should not exceed {{maxSize}} MB.","doNotUploadMoreThanSingleFile":"Please upload no more than one file.","swaggerUnavailable":"Swagger documentation is unavailable. Please make sure the URL is correct and the server is responding."},"table":{"background_one":"Cell Background Color","background_other":"Cells background color","settings":"Settings","menu":{"addColAfter":"Add Column Right","addColBefore":"Add Column Left","addRowAbove":"Add Row Above","addRowBelow":"Add Row Below","deleteCol":"Delete Column","deleteRow":"Delete Row","mergeCells":"Merge Cells","disconnectCells":"Disconnect Cells","splitCell":"Split Cell","deleteTable":"Delete Table","insertRow_one":"Insert row","insertRow_other":"Insert {{count}} rows","deleteRow_one":"Delete row","deleteRow_other":"Delete {{count}} rows","insertCol_one":"Insert column","insertCol_other":"Insert {{count}} columns","deleteCol_one":"Delete column","deleteCol_other":"Delete {{count}} columns","headTable_col":"{{value}} row column","headTable_row":"{{value}} row header","below":"Below","above":"Above","left":"Left","right":"Right","row":"Row","rows":"Rows","column":"Column","columns":"Columns"}},"column":{"name":"Insert Grid","insert":"Insert","columns":"Columns","addRight":"Add a column to the right","addLeft":"Add a column to the left","moveLeft":"Move a column to the left","changeColor":"Change the column color","moveRight":"Move a column to the right","deleteColumn":"Delete a column"},"hoverOptions":{"addNewBlockBelow":"Add block below","addNewBlockAbove":"Add block above","drag":"Drag","click":"Click","clickAction":"To open the menu","dragAction":"To move"},"embed":{"placeholder":"Enter a valid embed URL","insert":"Embed","addEmbed":"Add Embed"},"content":"Content","emoji":{"emojis":"Emoji","icons":"Icons","search":"Search","searchResults":"Search result","searchNoResults":"Emoji not found","remove":"Remove","emojiCategory":{"frequent":"Frequently used","people":"Emotions and people","nature":"Animals and nature","foods":"Food and drinks","activity":"Activities","places":"Travel and Places","objects":"Items","symbols":"Symbols","flags":"Flags"}},"form":{"url":"Enter a valid URL."},"noTitle":"No title","gallery":{"download":"Download","close":"Close","errorFile":"Failed to download file"},"emptyPageOptions":{"heading":"A Heading that will automatically generate an interactive table of contents","grid":"The grid will help structure the page horizontally","template":"Create from Template","list":"Numbered list, for easy outlining of the meeting","code":"Code block with syntax support","callout":"Callout for highlighting","table":"Table, to find dependencies in the data","integrations":"Many integrations from third-party services"},"comments":{"title":"Comments","edited":"edited","filter":{"resolved":"Resolved","open":"Open","all":"All","selectUsers":"Filter by users","searchPlaceholder":"Search users","emptyPlaceholder":"No users found","byStatus":"Filter by status","byPerson":"Filter by person"},"generalComment":"Add general comment","addComment":"Add a comment","replyComment":"Enter your reply","inputEditor":{"uploadFiles":"Upload files","sendMessage":"Send message","editMessage":"Edit message","clear":"Clear","clearModal":{"title":"Clear input","description":{"both":"Are you sure you want to delete the text and files?","text":"Are you sure you want to delete the text?","files":"Are you sure you want to delete the files?","empty":"Clear the input field?"}},"discardModal":{"title":"Exit without saving","description":"If you exit now, all unsaved changes will be lost.","labels":{"confirm":"Yes, exit","cancel":"Close"}},"cancelCommentModal":{"description":"If you leave now, your draft comment will be discarded and it won’t be posted."}},"notifications":{"title":"Notify me about:","description":"You will always be notified about mentions","options":{"all":"All comments","replies":"Replies"},"uploadMessages":{"tooManyFiles":"You can upload no more than 10 files!","fileTooLarge":"File(s) larger than 5MB will not be uploaded!","fileLimit":"You have reached the limit of 10 files"}},"actionTooltips":{"resolve":"Resolve","reopen":"Re-open","addReaction":"Add reaction","reactionLimit":"You’ve reached the reaction limit","reply":"Reply"},"menuActions":{"edit":"Edit","delete":"Delete","download":"Download"},"deleteModal":{"title":{"thread":"Delete Thread","general":"Delete General Discussion","comment":"Delete Reply"},"description":{"thread":"Are you sure you want to delete this thread and all its replies?","general":"Are you sure you want to delete this general discussion and all its replies?","comment":"Are you sure you want to delete this reply?"},"actions":{"cancel":"Cancel","remove":"Remove","delete":"Delete"}},"repliesToggle":{"show_one":"Show {{count}} more comment","show_other":"Show {{count}} more comments","hide":"Hide replies"},"emptyState":{"not-resolved":"No open comments","resolved":"No resolved comments","all":"No comments","userFilter":"No comments found for the selected user"}},"ai":{"placeholder":"Custom prompt","copied":"copied","copy":"copy","back":"Back","menu":{"style":{"professional":"Professional","straightforward":"Straightforward","passiveAggressive":"Passive-aggressive","friendly":"Friendly","poetic":"Poetic","passive_aggressive":"Passive aggressive","pirate":"Pirate"},"main":{"modifySelection":"Modify selection","improveWriting":"Improve writing","fixMistakes":"Fix mistakes","simplify":"Simplify","addMoreDetail":"Add more detail","generate":"Generate","summarise":"Summarise","translate":"Translate into...","changeStyle":"Change style to...","explain":"Explain"},"answer":{"replaceSelection":"Replace selection","addTextInline":"Add text inline","addBelowParagraph":"Add below paragraph","modifyFurther":"Modify further","continueWriting":"Continue writing","regenerate":"Regenerate","otherOptions":"Other options","discard":"Discard"},"languages":{"arabic":"Arabic","bengali":"Bengali","chinese":"Chinese","dutch":"Dutch","english":"English","french":"French","german":"German","hindi":"Hindi","japanese":"Japanese","korean":"Korean","nepali":"Nepali","portuguese":"Portuguese","spanish":"Spanish"}}},"actions":{"delete":"Delete","align":"Alignment"},"cancel":"Cancel"}`), j8 = {
12729
12729
  editor: H8
@@ -18423,7 +18423,7 @@ const RH = (n, e) => n === yn.BOTH || n === e ? e : yn.NO_STATUS;
18423
18423
  function Dh(n = !0) {
18424
18424
  const e = H();
18425
18425
  We(
18426
- K(e) || vt(e),
18426
+ K(e) || Ct(e),
18427
18427
  "Expected a RangeSelection or TableSelection"
18428
18428
  );
18429
18429
  const t = e.focus.getNode(), [r, , i] = Wn(t), [o, s] = $r(i, r, r), l = o[0].length, { startRow: c } = s;
@@ -18472,7 +18472,7 @@ function Dh(n = !0) {
18472
18472
  function sy(n = !0) {
18473
18473
  const e = H();
18474
18474
  We(
18475
- K(e) || vt(e),
18475
+ K(e) || Ct(e),
18476
18476
  "Expected a RangeSelection or TableSelection"
18477
18477
  );
18478
18478
  const t = e.anchor.getNode(), r = e.focus.getNode(), [i] = Wn(t), [o, , s] = Wn(r), [l, c, u] = $r(
@@ -18544,7 +18544,7 @@ function sy(n = !0) {
18544
18544
  function BH() {
18545
18545
  const n = H();
18546
18546
  We(
18547
- K(n) || vt(n),
18547
+ K(n) || Ct(n),
18548
18548
  "Expected a RangeSelection or TableSelection"
18549
18549
  );
18550
18550
  const [e, t] = n.isBackward() ? [n.focus.getNode(), n.anchor.getNode()] : [n.anchor.getNode(), n.focus.getNode()], [r, , i] = Wn(e), [o] = Wn(t), [s, l, c] = $r(
@@ -18592,7 +18592,7 @@ function BH() {
18592
18592
  function FH() {
18593
18593
  const n = H();
18594
18594
  We(
18595
- K(n) || vt(n),
18595
+ K(n) || Ct(n),
18596
18596
  "Expected a RangeSelection or TableSelection"
18597
18597
  );
18598
18598
  const e = n.anchor.getNode(), t = n.focus.getNode(), [r, , i] = Wn(e), [o] = Wn(t), [s, l, c] = $r(
@@ -18652,7 +18652,7 @@ function hw(n, e) {
18652
18652
  function PH() {
18653
18653
  const n = H();
18654
18654
  We(
18655
- K(n) || vt(n),
18655
+ K(n) || Ct(n),
18656
18656
  "Expected a RangeSelection or TableSelection"
18657
18657
  );
18658
18658
  const e = n.anchor.getNode(), [t, r, i] = Wn(e), o = t.__colSpan, s = t.__rowSpan;
@@ -18836,7 +18836,7 @@ class Tg {
18836
18836
  this._cachedNodes = e;
18837
18837
  }
18838
18838
  is(e) {
18839
- return vt(e) ? this.tableKey === e.tableKey && this.anchor.is(e.anchor) && this.focus.is(e.focus) : !1;
18839
+ return Ct(e) ? this.tableKey === e.tableKey && this.anchor.is(e.anchor) && this.focus.is(e.focus) : !1;
18840
18840
  }
18841
18841
  set(e, t, r) {
18842
18842
  this.dirty = !0, this.tableKey = e, this.anchor.key = t, this.focus.key = r, this._cachedNodes = null;
@@ -19032,7 +19032,7 @@ class Tg {
19032
19032
  return t;
19033
19033
  }
19034
19034
  }
19035
- function vt(n) {
19035
+ function Ct(n) {
19036
19036
  return n instanceof Tg;
19037
19037
  }
19038
19038
  function Ck() {
@@ -19238,7 +19238,7 @@ class UH {
19238
19238
  formatCells(e) {
19239
19239
  this.editor.update(() => {
19240
19240
  const t = H();
19241
- vt(t) || We(!1, "Expected grid selection");
19241
+ Ct(t) || We(!1, "Expected grid selection");
19242
19242
  const r = Rs(), i = r.anchor, o = r.focus, s = t.getNodes().filter(Re), l = s[0].getFirstChild(), c = qn(l) ? l.getFormatFlags(e, null) : null;
19243
19243
  s.forEach((u) => {
19244
19244
  i.set(u.getKey(), 0, "element"), o.set(u.getKey(), u.getChildrenSize(), "element"), r.formatText(e, c);
@@ -19252,7 +19252,7 @@ class UH {
19252
19252
  if (!xt(t))
19253
19253
  throw new Error("Expected TableNode.");
19254
19254
  const r = H();
19255
- vt(r) || We(!1, "Expected grid selection");
19255
+ Ct(r) || We(!1, "Expected grid selection");
19256
19256
  const i = r.getNodes().filter(Re);
19257
19257
  if (i.length === this.table.columns * this.table.rows) {
19258
19258
  t.selectPrevious(), t.remove(), Ke().selectStart();
@@ -19328,7 +19328,7 @@ function WH(n, e, t, r) {
19328
19328
  const d = (p) => {
19329
19329
  p.button === 0 && t.update(() => {
19330
19330
  const y = H(), w = p.target;
19331
- vt(y) && y.tableKey === o.tableNodeKey && i.contains(w) && o.clearHighlight();
19331
+ Ct(y) && y.tableKey === o.tableNodeKey && i.contains(w) && o.clearHighlight();
19332
19332
  });
19333
19333
  };
19334
19334
  s.addEventListener(
@@ -19364,7 +19364,7 @@ function WH(n, e, t, r) {
19364
19364
  const y = H();
19365
19365
  if (!Xs(y, n))
19366
19366
  return !1;
19367
- if (vt(y))
19367
+ if (Ct(y))
19368
19368
  return o.clearText(), !0;
19369
19369
  if (K(y)) {
19370
19370
  const w = Pe(
@@ -19403,14 +19403,14 @@ function WH(n, e, t, r) {
19403
19403
  );
19404
19404
  const g = (p) => {
19405
19405
  const y = H();
19406
- if (!(vt(y) || K(y)))
19406
+ if (!(Ct(y) || K(y)))
19407
19407
  return !1;
19408
19408
  const w = n.isParentOf(y.anchor.getNode()), C = n.isParentOf(y.focus.getNode());
19409
19409
  if (w !== C) {
19410
19410
  const v = w ? "anchor" : "focus", S = w ? "focus" : "anchor", { key: E, offset: T, type: k } = y[S];
19411
19411
  return n[y[v].isBefore(y[S]) ? "selectPrevious" : "selectNext"]()[S].set(E, T, k), !1;
19412
19412
  }
19413
- return vt(y) ? (p && (p.preventDefault(), p.stopPropagation()), o.clearText(), !0) : !1;
19413
+ return Ct(y) ? (p && (p.preventDefault(), p.stopPropagation()), o.clearText(), !0) : !1;
19414
19414
  };
19415
19415
  o.listenersToRemove.add(
19416
19416
  t.registerCommand(
@@ -19430,7 +19430,7 @@ function WH(n, e, t, r) {
19430
19430
  (p) => {
19431
19431
  const y = H();
19432
19432
  if (y) {
19433
- if (!(vt(y) || K(y)))
19433
+ if (!(Ct(y) || K(y)))
19434
19434
  return !1;
19435
19435
  ty(
19436
19436
  t,
@@ -19451,7 +19451,7 @@ function WH(n, e, t, r) {
19451
19451
  const y = H();
19452
19452
  if (!Xs(y, n))
19453
19453
  return !1;
19454
- if (vt(y))
19454
+ if (Ct(y))
19455
19455
  return o.formatCells(p), !0;
19456
19456
  if (K(y)) {
19457
19457
  const w = Pe(
@@ -19470,7 +19470,7 @@ function WH(n, e, t, r) {
19470
19470
  Vh,
19471
19471
  (p) => {
19472
19472
  const y = H();
19473
- if (!vt(y) || !Xs(y, n))
19473
+ if (!Ct(y) || !Xs(y, n))
19474
19474
  return !1;
19475
19475
  const w = y.anchor.getNode(), C = y.focus.getNode();
19476
19476
  if (!Re(w) || !Re(C))
@@ -19514,7 +19514,7 @@ function WH(n, e, t, r) {
19514
19514
  }), S && (v.clear(), y.insertText(p));
19515
19515
  }), !Xs(y, n))
19516
19516
  return !1;
19517
- if (vt(y))
19517
+ if (Ct(y))
19518
19518
  return o.clearHighlight(), !1;
19519
19519
  if (K(y)) {
19520
19520
  const E = Pe(
@@ -19642,7 +19642,7 @@ function WH(n, e, t, r) {
19642
19642
  const { onMouseUp: B, onMouseMove: P } = c();
19643
19643
  o.isSelecting = !0, s.addEventListener("mouseup", B), s.addEventListener("mousemove", P);
19644
19644
  }, 0)));
19645
- } else if (p && vt(p) && p.is(y) && p.tableKey === n.getKey()) {
19645
+ } else if (p && Ct(p) && p.is(y) && p.tableKey === n.getKey()) {
19646
19646
  const v = GN(t._window);
19647
19647
  if (v && v.anchorNode && v.focusNode) {
19648
19648
  const S = He(
@@ -19663,7 +19663,7 @@ function WH(n, e, t, r) {
19663
19663
  }
19664
19664
  }
19665
19665
  }
19666
- return p && !p.is(y) && (vt(p) || vt(y)) && o.tableSelection && !o.tableSelection.is(y) ? (vt(p) && p.tableKey === o.tableNodeKey ? o.updateTableTableSelection(p) : !vt(p) && vt(y) && y.tableKey === o.tableNodeKey && o.updateTableTableSelection(null), !1) : (o.hasHijackedSelectionStyles && !n.isSelected() ? YH(t, o) : !o.hasHijackedSelectionStyles && n.isSelected() && !w && !C && Sk(t, o), !1);
19666
+ return p && !p.is(y) && (Ct(p) || Ct(y)) && o.tableSelection && !o.tableSelection.is(y) ? (Ct(p) && p.tableKey === o.tableNodeKey ? o.updateTableTableSelection(p) : !Ct(p) && Ct(y) && y.tableKey === o.tableNodeKey && o.updateTableTableSelection(null), !1) : (o.hasHijackedSelectionStyles && !n.isSelected() ? YH(t, o) : !o.hasHijackedSelectionStyles && n.isSelected() && !w && !C && Sk(t, o), !1);
19667
19667
  },
19668
19668
  Tn
19669
19669
  )
@@ -19844,7 +19844,7 @@ const JN = (n, e, t, r, i) => {
19844
19844
  }
19845
19845
  };
19846
19846
  function Xs(n, e) {
19847
- if (K(n) || vt(n)) {
19847
+ if (K(n) || Ct(n)) {
19848
19848
  const t = e.isParentOf(n.anchor.getNode()), r = e.isParentOf(n.focus.getNode());
19849
19849
  return t && r;
19850
19850
  }
@@ -20059,7 +20059,7 @@ function Kc(n, e, t, r, i) {
20059
20059
  );
20060
20060
  return !0;
20061
20061
  }
20062
- } else if (vt(o)) {
20062
+ } else if (Ct(o)) {
20063
20063
  const { anchor: s, focus: l } = o, c = Pe(
20064
20064
  s.getNode(),
20065
20065
  Re
@@ -20723,7 +20723,7 @@ const $i = {
20723
20723
  keyNode: e,
20724
20724
  emoji: t
20725
20725
  }) => {
20726
- const { t: r } = wt(), i = Fe(null);
20726
+ const { t: r } = vt(), i = Fe(null);
20727
20727
  return X(() => {
20728
20728
  n.update(() => {
20729
20729
  var l, c;
@@ -21024,7 +21024,7 @@ const Nk = {
21024
21024
  onAfterCancel: o,
21025
21025
  ...s
21026
21026
  }) => {
21027
- const [l] = Me(), { t: c } = wt(), u = () => {
21027
+ const [l] = Me(), { t: c } = vt(), u = () => {
21028
21028
  l.update(() => {
21029
21029
  const h = Te(i);
21030
21030
  h && h.remove();
@@ -21083,7 +21083,7 @@ const Nk = {
21083
21083
  icon: yj,
21084
21084
  link: bj
21085
21085
  }, wj = ({ page: n }) => {
21086
- const { t: e } = wt();
21086
+ const { t: e } = vt();
21087
21087
  return /* @__PURE__ */ $("div", { className: Ym.link, onClick: n.onClick, children: [
21088
21088
  /* @__PURE__ */ b("div", { className: Ym.icon, children: n.icon ? /* @__PURE__ */ b(
21089
21089
  S1,
@@ -21094,14 +21094,14 @@ const Nk = {
21094
21094
  fallback: /* @__PURE__ */ b(ou, { size: "1em" })
21095
21095
  }
21096
21096
  ) : /* @__PURE__ */ b(ou, { size: 16 }) }),
21097
- /* @__PURE__ */ b(Ct, { label: n.title, disabled: !n.title, openDelay: 400, children: /* @__PURE__ */ b(nt, { truncate: !0, className: Ym.title, "data-empty": !n.title, children: n.title || e("editor.noTitle") }) })
21097
+ /* @__PURE__ */ b(St, { label: n.title, disabled: !n.title, openDelay: 400, children: /* @__PURE__ */ b(nt, { truncate: !0, className: Ym.title, "data-empty": !n.title, children: n.title || e("editor.noTitle") }) })
21098
21098
  ] });
21099
21099
  }, vj = BP, Cj = vj(wj), $N = ({ page: n }) => /* @__PURE__ */ $("div", { className: "docs-item", children: [
21100
21100
  /* @__PURE__ */ b(Cj, { page: n }),
21101
21101
  n.children && n.children.length > 0 && /* @__PURE__ */ b(Je, { children: n.children.map((e) => /* @__PURE__ */ b($N, { page: e }, e.id)) })
21102
21102
  ] });
21103
21103
  function Sj({ nodeKey: n }) {
21104
- const { pages: e } = Rt(Yt), { t } = wt();
21104
+ const { pages: e } = Rt(Yt), { t } = vt();
21105
21105
  return e.length === 0 ? /* @__PURE__ */ b("p", { style: { margin: 0 }, children: /* @__PURE__ */ b(
21106
21106
  sd,
21107
21107
  {
@@ -22222,7 +22222,7 @@ function b9({
22222
22222
  nodeKey: s,
22223
22223
  create: l
22224
22224
  }) {
22225
- const [c, u] = re(r || ""), [d, h] = re(!1), [g, m] = re(l || !1), { t: p } = wt(), y = bt(
22225
+ const [c, u] = re(r || ""), [d, h] = re(!1), [g, m] = re(l || !1), { t: p } = vt(), y = bt(
22226
22226
  () => fc.find((k) => k.platform === t),
22227
22227
  [t]
22228
22228
  );
@@ -22535,7 +22535,7 @@ function Tw(n, e, t, r, i, o) {
22535
22535
  function Zm(n) {
22536
22536
  return n instanceof hc;
22537
22537
  }
22538
- const Dk = nc(() => import("./layers.DqhjH09U.js"));
22538
+ const Dk = nc(() => import("./layers.ByRI4Rbg.js"));
22539
22539
  function v9(n) {
22540
22540
  const e = n.getAttribute("data-lexical-excalidraw-json"), t = n.firstChild.style.height || "0", r = n.firstChild.style.width || "0", i = n.style.justifyContent || "left", o = t === "inherit" ? "inherit" : parseInt(t, 10), s = r === "inherit" ? "inherit" : parseInt(r, 10);
22541
22541
  return e ? {
@@ -22851,7 +22851,7 @@ function _9({
22851
22851
  showExpandButton: s,
22852
22852
  isCollapsed: l
22853
22853
  }) {
22854
- const [c, u] = re(!1), { t: d } = wt(), h = () => {
22854
+ const [c, u] = re(!1), { t: d } = vt(), h = () => {
22855
22855
  u((g) => {
22856
22856
  const m = document.documentElement;
22857
22857
  return g ? m.classList.remove("disable-scroll") : m.classList.add("disable-scroll"), !g;
@@ -22941,7 +22941,7 @@ const N9 = {
22941
22941
  loader: eU
22942
22942
  };
22943
22943
  function D9({ copyToClipboard: n, pointerEvents: e }) {
22944
- const [t, r] = re("copy"), { t: i } = wt();
22944
+ const [t, r] = re("copy"), { t: i } = vt();
22945
22945
  async function o() {
22946
22946
  await n() && (r("loader"), setTimeout(() => {
22947
22947
  r("success"), setTimeout(() => {
@@ -22984,7 +22984,7 @@ function I9({
22984
22984
  anchorElem: n
22985
22985
  }) {
22986
22986
  var R, j;
22987
- const [e] = Me(), { t } = wt(), [r, i] = re(""), [o, s] = re(!1), [l, c] = re(
22987
+ const [e] = Me(), { t } = vt(), [r, i] = re(""), [o, s] = re(!1), [l, c] = re(
22988
22988
  null
22989
22989
  ), [u, d] = ol.useState(null), [h, g] = re({
22990
22990
  right: "0",
@@ -23203,13 +23203,13 @@ function I9({
23203
23203
  onClick: _,
23204
23204
  ariaLabel: "expand",
23205
23205
  children: u ? /* @__PURE__ */ b(
23206
- Ct,
23206
+ St,
23207
23207
  {
23208
23208
  label: t("editor.menu.main.code.collapsible.hidden"),
23209
23209
  children: /* @__PURE__ */ b(w1, { size: 14 })
23210
23210
  }
23211
23211
  ) : /* @__PURE__ */ b(
23212
- Ct,
23212
+ St,
23213
23213
  {
23214
23214
  label: t("editor.menu.main.code.collapsible.expand"),
23215
23215
  children: /* @__PURE__ */ b(v1, { size: 14 })
@@ -23218,7 +23218,7 @@ function I9({
23218
23218
  }
23219
23219
  ) : null
23220
23220
  ] }),
23221
- /* @__PURE__ */ b(Ct, { label: t("editor.menu.main.code.exitCommandText"), children: /* @__PURE__ */ b(nt, { truncate: "end", size: "sm", id: "exitCommandParagraph", children: "Shift + Enter" }) })
23221
+ /* @__PURE__ */ b(St, { label: t("editor.menu.main.code.exitCommandText"), children: /* @__PURE__ */ b(nt, { truncate: "end", size: "sm", id: "exitCommandParagraph", children: "Shift + Enter" }) })
23222
23222
  ] }),
23223
23223
  w && /* @__PURE__ */ b(
23224
23224
  _9,
@@ -23384,7 +23384,7 @@ function L9({
23384
23384
  format: e,
23385
23385
  nodeKey: r,
23386
23386
  children: [
23387
- /* @__PURE__ */ b(Ct, { label: "Удалить", children: /* @__PURE__ */ b(
23387
+ /* @__PURE__ */ b(St, { label: "Удалить", children: /* @__PURE__ */ b(
23388
23388
  An,
23389
23389
  {
23390
23390
  color: "gray",
@@ -23486,7 +23486,7 @@ class ld extends Zo {
23486
23486
  function Dw(n) {
23487
23487
  return new ld(n);
23488
23488
  }
23489
- const R9 = nc(() => import("./layers.Br6bn7So.js"));
23489
+ const R9 = nc(() => import("./layers.DNbXVYzJ.js"));
23490
23490
  function B9(n) {
23491
23491
  const e = n;
23492
23492
  if (e.src.startsWith("file:///"))
@@ -23694,7 +23694,7 @@ function Dg({
23694
23694
  function Eu(n) {
23695
23695
  return n instanceof Go;
23696
23696
  }
23697
- const F9 = nc(() => import("./layers.B8uKn2Dw.js"));
23697
+ const F9 = nc(() => import("./layers.EXDAFgOs.js"));
23698
23698
  function P9(n) {
23699
23699
  if (n instanceof HTMLImageElement) {
23700
23700
  const { alt: e, src: t, width: r, height: i } = n;
@@ -24123,7 +24123,7 @@ const my = Ce(
24123
24123
  "INSERT_MUSIC_COMMAND"
24124
24124
  ), pD = Ce("UPLOAD_MUSIC_COMMAND");
24125
24125
  function mD() {
24126
- const [n] = Me(), { t: e } = wt(), { imperativeHandleRef: t, maxFileSize: r } = Rt(Yt);
24126
+ const [n] = Me(), { t: e } = vt(), { imperativeHandleRef: t, maxFileSize: r } = Rt(Yt);
24127
24127
  return X(() => {
24128
24128
  if (!n.hasNodes([gc]))
24129
24129
  throw new Error("MusicPlugin: MusicNode not registered on editor");
@@ -24165,7 +24165,7 @@ function Z9({
24165
24165
  nodeKey: i,
24166
24166
  create: o
24167
24167
  }) {
24168
- const { t: s } = wt(), { t: l } = wt("ui"), [c, u] = re(!1), [d, h] = re(!1), { start: g, cancel: m } = aw(), { fetchUploadMedia: p, maxFileSize: y } = Rt(Yt);
24168
+ const { t: s } = vt(), { t: l } = vt("ui"), [c, u] = re(!1), [d, h] = re(!1), { start: g, cancel: m } = aw(), { fetchUploadMedia: p, maxFileSize: y } = Rt(Yt);
24169
24169
  X(() => {
24170
24170
  o && h(!0);
24171
24171
  }, [o]), X(() => {
@@ -24604,7 +24604,7 @@ const Ay = Ce(
24604
24604
  "INSERT_VIDEO_COMMAND"
24605
24605
  ), bD = Ce("UPLOAD_VIDEO_COMMAND");
24606
24606
  function wD() {
24607
- const [n] = Me(), { t: e } = wt(), { imperativeHandleRef: t, maxFileSize: r } = Rt(Yt);
24607
+ const [n] = Me(), { t: e } = vt(), { imperativeHandleRef: t, maxFileSize: r } = Rt(Yt);
24608
24608
  return X(() => {
24609
24609
  if (!n.hasNodes([Jl]))
24610
24610
  throw new Error("VideoPlugin: VideoNode not registered on editor");
@@ -24667,7 +24667,7 @@ const vD = ({
24667
24667
  onChange: r,
24668
24668
  transitionProps: $i,
24669
24669
  children: [
24670
- /* @__PURE__ */ b(ve.Target, { children: /* @__PURE__ */ b(Ct, { label: i("editor.toolbar.align"), disabled: s, children: /* @__PURE__ */ b(
24670
+ /* @__PURE__ */ b(ve.Target, { children: /* @__PURE__ */ b(St, { label: i("editor.toolbar.align"), disabled: s, children: /* @__PURE__ */ b(
24671
24671
  An,
24672
24672
  {
24673
24673
  size: 24,
@@ -24721,7 +24721,7 @@ function $9({
24721
24721
  height: c,
24722
24722
  alignment: u
24723
24723
  }) {
24724
- const { t: d } = wt(), { t: h } = wt("ui"), [g, m] = re(!1), [, p] = re(!1), [y, w] = re(!1), [C, v] = re(!1), { start: S, cancel: E } = aw(), { fetchUploadMedia: T, fetchDeleteMedia: k, maxFileSize: _ } = Rt(Yt), I = bt(() => [
24724
+ const { t: d } = vt(), { t: h } = vt("ui"), [g, m] = re(!1), [, p] = re(!1), [y, w] = re(!1), [C, v] = re(!1), { start: S, cancel: E } = aw(), { fetchUploadMedia: T, fetchDeleteMedia: k, maxFileSize: _ } = Rt(Yt), I = bt(() => [
24725
24725
  {
24726
24726
  key: "link",
24727
24727
  enabled: !0
@@ -24885,7 +24885,7 @@ function $9({
24885
24885
  nodeKey: o
24886
24886
  }
24887
24887
  ),
24888
- /* @__PURE__ */ b(Ct, { label: "Удалить", children: /* @__PURE__ */ b(
24888
+ /* @__PURE__ */ b(St, { label: "Удалить", children: /* @__PURE__ */ b(
24889
24889
  An,
24890
24890
  {
24891
24891
  color: "gray",
@@ -25080,7 +25080,7 @@ function Nu(n) {
25080
25080
  }
25081
25081
  const Mh = Ce("INSERT_IMAGE_COMMAND"), eY = Ce("UPLOAD_IMAGE_COMMAND");
25082
25082
  function tY() {
25083
- const [n] = Me(), { t: e } = wt(), { imperativeHandleRef: t } = Rt(Yt), { maxFileSize: r } = Rt(Yt);
25083
+ const [n] = Me(), { t: e } = vt(), { imperativeHandleRef: t } = Rt(Yt), { maxFileSize: r } = Rt(Yt);
25084
25084
  return X(() => {
25085
25085
  if (!n.hasNodes([Go]))
25086
25086
  throw new Error("ImageOlugin: FileNode not registered on editor");
@@ -25130,7 +25130,7 @@ const Rg = (n) => {
25130
25130
  "INSERT_FILE_COMMAND"
25131
25131
  ), CD = Ce("UPLOAD_FILE_COMMAND");
25132
25132
  function SD() {
25133
- const [n] = Me(), { t: e } = wt(), { imperativeHandleRef: t, maxFileSize: r } = Rt(Yt);
25133
+ const [n] = Me(), { t: e } = vt(), { imperativeHandleRef: t, maxFileSize: r } = Rt(Yt);
25134
25134
  return X(() => {
25135
25135
  if (!n.hasNodes([Ql]))
25136
25136
  throw new Error("FilePlugin: FileNode not registered on editor");
@@ -25185,7 +25185,7 @@ function rY({
25185
25185
  nodeKey: i,
25186
25186
  create: o
25187
25187
  }) {
25188
- const { t: s } = wt(), { t: l } = wt("ui"), [c, u] = re(!1), [d, h] = re(!1), g = Fe(null), { fetchUploadMedia: m, maxFileSize: p } = Rt(Yt), { startLoading: y, stopLoading: w } = _6(), { start: C, cancel: v } = aw();
25188
+ const { t: s } = vt(), { t: l } = vt("ui"), [c, u] = re(!1), [d, h] = re(!1), g = Fe(null), { fetchUploadMedia: m, maxFileSize: p } = Rt(Yt), { startLoading: y, stopLoading: w } = _6(), { start: C, cancel: v } = aw();
25189
25189
  X(() => {
25190
25190
  r.update(() => {
25191
25191
  var R, j;
@@ -26135,7 +26135,7 @@ function jk(n, e) {
26135
26135
  return { leadOffset: t, matchingString: i, replaceableString: r };
26136
26136
  }
26137
26137
  function Fw() {
26138
- const [n] = Me(), { t: e } = wt(), [t, r] = re(!1), i = Fe(null), o = Fe(""), s = Fe({
26138
+ const [n] = Me(), { t: e } = vt(), [t, r] = re(!1), i = Fe(null), o = Fe(""), s = Fe({
26139
26139
  key: null,
26140
26140
  offset: null
26141
26141
  }), l = Fe({
@@ -26532,7 +26532,7 @@ function KY({
26532
26532
  const i = Fe(null), o = Fe(!1), s = Fe(null), l = Fe(null), [c, u] = re(""), [d, h] = re(""), [g, m] = re(!0), [p, y] = re(!1), [w, C] = re(!1), [v, S] = re("delete"), [E, T] = re({
26533
26533
  top: 0,
26534
26534
  left: 0
26535
- }), { t: k } = wt(), _ = () => {
26535
+ }), { t: k } = vt(), _ = () => {
26536
26536
  setTimeout(() => {
26537
26537
  o.current = !1, S("delete"), u(""), y(!1), C(!1), T({
26538
26538
  top: 0,
@@ -28468,7 +28468,7 @@ const j5 = ({
28468
28468
  }
28469
28469
  }
28470
28470
  ),
28471
- /* @__PURE__ */ b(Ct, { disabled: !t, label: n("editor.image.preview"), children: /* @__PURE__ */ b(
28471
+ /* @__PURE__ */ b(St, { disabled: !t, label: n("editor.image.preview"), children: /* @__PURE__ */ b(
28472
28472
  An,
28473
28473
  {
28474
28474
  onClick: () => {
@@ -28489,7 +28489,7 @@ const j5 = ({
28489
28489
  const [e] = Me(), [t, r] = re(!1), [i, o] = re(!1), [s, l] = re(null), c = Fe(null), [u, d] = re({
28490
28490
  right: "0",
28491
28491
  top: "0"
28492
- }), { t: h } = wt(), g = Ng(
28492
+ }), { t: h } = vt(), g = Ng(
28493
28493
  (w) => {
28494
28494
  if (w.target instanceof HTMLElement && w.target.clientWidth < 100)
28495
28495
  return;
@@ -28564,7 +28564,7 @@ const j5 = ({
28564
28564
  id: (y = c.current) == null ? void 0 : y.getAttribute("data-id")
28565
28565
  }
28566
28566
  ),
28567
- /* @__PURE__ */ b(Ct, { disabled: !i, label: h("editor.contextMenu.delete"), children: /* @__PURE__ */ b(
28567
+ /* @__PURE__ */ b(St, { disabled: !i, label: h("editor.contextMenu.delete"), children: /* @__PURE__ */ b(
28568
28568
  An,
28569
28569
  {
28570
28570
  color: "gray",
@@ -30696,7 +30696,7 @@ function yI({
30696
30696
  key: "excalidraw",
30697
30697
  hide: e || t.excalidraw,
30698
30698
  onSelect: () => {
30699
- t.excalidraw || import("./layers.DJQYObhk.js").then(
30699
+ t.excalidraw || import("./layers.PplD43nU.js").then(
30700
30700
  ({ INSERT_EXCALIDRAW_COMMAND: l }) => {
30701
30701
  En(
30702
30702
  n,
@@ -30954,7 +30954,7 @@ function Qw({
30954
30954
  show: !0,
30955
30955
  key: "",
30956
30956
  isCheck: !0
30957
- }), [o, s] = re(null), [l, c] = re(0), { t: u } = wt(), d = (l === 100).toString(), { fetchUploadMedia: h, excludeNodes: g } = Rt(Yt), m = _D("/", {
30957
+ }), [o, s] = re(null), [l, c] = re(0), { t: u } = vt(), d = (l === 100).toString(), { fetchUploadMedia: h, excludeNodes: g } = Rt(Yt), m = _D("/", {
30958
30958
  minLength: 0
30959
30959
  }), { options: p, groupOptions: y, groupedInitialOptions: w } = bt(() => {
30960
30960
  const { groupedOptions: T, baseOptions: k } = zZ({
@@ -31178,7 +31178,7 @@ const KZ = (n) => n instanceof HTMLHeadingElement, WZ = ({
31178
31178
  K(t) && WZ({ selection: t, editor: n, t: e });
31179
31179
  });
31180
31180
  }, vI = () => {
31181
- const [n] = Me(), { t: e } = wt();
31181
+ const [n] = Me(), { t: e } = vt();
31182
31182
  return X(() => (n.read(() => {
31183
31183
  const r = Ke().getChildren();
31184
31184
  if (r.length === 1) {
@@ -31226,7 +31226,7 @@ const jZ = ({
31226
31226
  r("both");
31227
31227
  },
31228
31228
  children: /* @__PURE__ */ b(
31229
- Ct,
31229
+ St,
31230
31230
  {
31231
31231
  openDelay: 300,
31232
31232
  label: l("editor.hoverOptions.addNewBlockAbove"),
@@ -31275,7 +31275,7 @@ const jZ = ({
31275
31275
  r("both");
31276
31276
  },
31277
31277
  children: /* @__PURE__ */ b(
31278
- Ct,
31278
+ St,
31279
31279
  {
31280
31280
  disabled: i.current || !n,
31281
31281
  openDelay: 300,
@@ -31379,7 +31379,7 @@ function SI({
31379
31379
  menuProps: l,
31380
31380
  onChange: c
31381
31381
  }) {
31382
- const [u, d] = CI(), { t: h, i18n: g } = wt(), m = bt(
31382
+ const [u, d] = CI(), { t: h, i18n: g } = vt(), m = bt(
31383
31383
  () => yI({
31384
31384
  editor: n,
31385
31385
  isToolbar: !0,
@@ -31411,7 +31411,7 @@ function SI({
31411
31411
  transitionProps: $i,
31412
31412
  ...l,
31413
31413
  children: [
31414
- /* @__PURE__ */ b(ve.Target, { children: s || /* @__PURE__ */ b(Ct, { label: h("editor.toolbar.turnInto"), children: /* @__PURE__ */ $(
31414
+ /* @__PURE__ */ b(ve.Target, { children: s || /* @__PURE__ */ b(St, { label: h("editor.toolbar.turnInto"), children: /* @__PURE__ */ $(
31415
31415
  "button",
31416
31416
  {
31417
31417
  disabled: t,
@@ -31863,7 +31863,7 @@ function qZ() {
31863
31863
  ["partial", T],
31864
31864
  ["partialRight", k],
31865
31865
  ["rearg", I]
31866
- ], pe = "[object Arguments]", ye = "[object Array]", ke = "[object AsyncFunction]", te = "[object Boolean]", ee = "[object Date]", ne = "[object DOMException]", he = "[object Error]", ce = "[object Function]", be = "[object GeneratorFunction]", Ie = "[object Map]", Oe = "[object Number]", Ee = "[object Null]", ze = "[object Object]", tt = "[object Promise]", gt = "[object Proxy]", Zt = "[object RegExp]", Gt = "[object Set]", Rn = "[object String]", je = "[object Symbol]", ut = "[object Undefined]", St = "[object WeakMap]", Bt = "[object WeakSet]", Dt = "[object ArrayBuffer]", it = "[object DataView]", It = "[object Float32Array]", cr = "[object Float64Array]", Ti = "[object Int8Array]", Lr = "[object Int16Array]", si = "[object Int32Array]", zs = "[object Uint8Array]", pc = "[object Uint8ClampedArray]", ur = "[object Uint16Array]", Jo = "[object Uint32Array]", tM = /\b__p \+= '';/g, nM = /\b(__p \+=) '' \+/g, rM = /(__e\(.*?\)|\b__t\)) \+\n'';/g, pv = /&(?:amp|lt|gt|quot|#39);/g, mv = /[&<>"']/g, iM = RegExp(pv.source), oM = RegExp(mv.source), sM = /<%-([\s\S]+?)%>/g, lM = /<%([\s\S]+?)%>/g, Av = /<%=([\s\S]+?)%>/g, aM = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, cM = /^\w*$/, uM = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Vg = /[\\^$.*+?()[\]{}|]/g, dM = RegExp(Vg.source), Xg = /^\s+/, fM = /\s/, hM = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, gM = /\{\n\/\* \[wrapped with (.+)\] \*/, pM = /,? & /, mM = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, AM = /[()=,{}\[\]\/\s]/, yM = /\\(\\)?/g, bM = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, yv = /\w*$/, wM = /^[-+]0x[0-9a-f]+$/i, vM = /^0b[01]+$/i, CM = /^\[object .+?Constructor\]$/, SM = /^0o[0-7]+$/i, xM = /^(?:0|[1-9]\d*)$/, kM = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ad = /($^)/, EM = /['\n\r\u2028\u2029\\]/g, yd = "\\ud800-\\udfff", TM = "\\u0300-\\u036f", _M = "\\ufe20-\\ufe2f", NM = "\\u20d0-\\u20ff", bv = TM + _M + NM, wv = "\\u2700-\\u27bf", vv = "a-z\\xdf-\\xf6\\xf8-\\xff", DM = "\\xac\\xb1\\xd7\\xf7", IM = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", MM = "\\u2000-\\u206f", LM = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Cv = "A-Z\\xc0-\\xd6\\xd8-\\xde", Sv = "\\ufe0e\\ufe0f", xv = DM + IM + MM + LM, qg = "['’]", OM = "[" + yd + "]", kv = "[" + xv + "]", bd = "[" + bv + "]", Ev = "\\d+", RM = "[" + wv + "]", Tv = "[" + vv + "]", _v = "[^" + yd + xv + Ev + wv + vv + Cv + "]", $g = "\\ud83c[\\udffb-\\udfff]", BM = "(?:" + bd + "|" + $g + ")", Nv = "[^" + yd + "]", ep = "(?:\\ud83c[\\udde6-\\uddff]){2}", tp = "[\\ud800-\\udbff][\\udc00-\\udfff]", Xl = "[" + Cv + "]", Dv = "\\u200d", Iv = "(?:" + Tv + "|" + _v + ")", FM = "(?:" + Xl + "|" + _v + ")", Mv = "(?:" + qg + "(?:d|ll|m|re|s|t|ve))?", Lv = "(?:" + qg + "(?:D|LL|M|RE|S|T|VE))?", Ov = BM + "?", Rv = "[" + Sv + "]?", PM = "(?:" + Dv + "(?:" + [Nv, ep, tp].join("|") + ")" + Rv + Ov + ")*", zM = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", UM = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Bv = Rv + Ov + PM, KM = "(?:" + [RM, ep, tp].join("|") + ")" + Bv, WM = "(?:" + [Nv + bd + "?", bd, ep, tp, OM].join("|") + ")", HM = RegExp(qg, "g"), jM = RegExp(bd, "g"), np = RegExp($g + "(?=" + $g + ")|" + WM + Bv, "g"), YM = RegExp([
31866
+ ], pe = "[object Arguments]", ye = "[object Array]", ke = "[object AsyncFunction]", te = "[object Boolean]", ee = "[object Date]", ne = "[object DOMException]", he = "[object Error]", ce = "[object Function]", be = "[object GeneratorFunction]", Ie = "[object Map]", Oe = "[object Number]", Ee = "[object Null]", ze = "[object Object]", tt = "[object Promise]", gt = "[object Proxy]", Zt = "[object RegExp]", Gt = "[object Set]", Rn = "[object String]", je = "[object Symbol]", ut = "[object Undefined]", wt = "[object WeakMap]", Bt = "[object WeakSet]", Dt = "[object ArrayBuffer]", it = "[object DataView]", It = "[object Float32Array]", cr = "[object Float64Array]", Ti = "[object Int8Array]", Lr = "[object Int16Array]", si = "[object Int32Array]", zs = "[object Uint8Array]", pc = "[object Uint8ClampedArray]", ur = "[object Uint16Array]", Jo = "[object Uint32Array]", tM = /\b__p \+= '';/g, nM = /\b(__p \+=) '' \+/g, rM = /(__e\(.*?\)|\b__t\)) \+\n'';/g, pv = /&(?:amp|lt|gt|quot|#39);/g, mv = /[&<>"']/g, iM = RegExp(pv.source), oM = RegExp(mv.source), sM = /<%-([\s\S]+?)%>/g, lM = /<%([\s\S]+?)%>/g, Av = /<%=([\s\S]+?)%>/g, aM = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, cM = /^\w*$/, uM = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Vg = /[\\^$.*+?()[\]{}|]/g, dM = RegExp(Vg.source), Xg = /^\s+/, fM = /\s/, hM = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, gM = /\{\n\/\* \[wrapped with (.+)\] \*/, pM = /,? & /, mM = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, AM = /[()=,{}\[\]\/\s]/, yM = /\\(\\)?/g, bM = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, yv = /\w*$/, wM = /^[-+]0x[0-9a-f]+$/i, vM = /^0b[01]+$/i, CM = /^\[object .+?Constructor\]$/, SM = /^0o[0-7]+$/i, xM = /^(?:0|[1-9]\d*)$/, kM = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ad = /($^)/, EM = /['\n\r\u2028\u2029\\]/g, yd = "\\ud800-\\udfff", TM = "\\u0300-\\u036f", _M = "\\ufe20-\\ufe2f", NM = "\\u20d0-\\u20ff", bv = TM + _M + NM, wv = "\\u2700-\\u27bf", vv = "a-z\\xdf-\\xf6\\xf8-\\xff", DM = "\\xac\\xb1\\xd7\\xf7", IM = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", MM = "\\u2000-\\u206f", LM = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Cv = "A-Z\\xc0-\\xd6\\xd8-\\xde", Sv = "\\ufe0e\\ufe0f", xv = DM + IM + MM + LM, qg = "['’]", OM = "[" + yd + "]", kv = "[" + xv + "]", bd = "[" + bv + "]", Ev = "\\d+", RM = "[" + wv + "]", Tv = "[" + vv + "]", _v = "[^" + yd + xv + Ev + wv + vv + Cv + "]", $g = "\\ud83c[\\udffb-\\udfff]", BM = "(?:" + bd + "|" + $g + ")", Nv = "[^" + yd + "]", ep = "(?:\\ud83c[\\udde6-\\uddff]){2}", tp = "[\\ud800-\\udbff][\\udc00-\\udfff]", Xl = "[" + Cv + "]", Dv = "\\u200d", Iv = "(?:" + Tv + "|" + _v + ")", FM = "(?:" + Xl + "|" + _v + ")", Mv = "(?:" + qg + "(?:d|ll|m|re|s|t|ve))?", Lv = "(?:" + qg + "(?:D|LL|M|RE|S|T|VE))?", Ov = BM + "?", Rv = "[" + Sv + "]?", PM = "(?:" + Dv + "(?:" + [Nv, ep, tp].join("|") + ")" + Rv + Ov + ")*", zM = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", UM = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Bv = Rv + Ov + PM, KM = "(?:" + [RM, ep, tp].join("|") + ")" + Bv, WM = "(?:" + [Nv + bd + "?", bd, ep, tp, OM].join("|") + ")", HM = RegExp(qg, "g"), jM = RegExp(bd, "g"), np = RegExp($g + "(?=" + $g + ")|" + WM + Bv, "g"), YM = RegExp([
31867
31867
  Xl + "?" + Tv + "+" + Mv + "(?=" + [kv, Xl, "$"].join("|") + ")",
31868
31868
  FM + "+" + Lv + "(?=" + [kv, Xl + Iv, "$"].join("|") + ")",
31869
31869
  Xl + "?" + Iv + "+" + Mv,
@@ -31904,9 +31904,9 @@ function qZ() {
31904
31904
  "parseInt",
31905
31905
  "setTimeout"
31906
31906
  ], QM = -1, Jt = {};
31907
- Jt[It] = Jt[cr] = Jt[Ti] = Jt[Lr] = Jt[si] = Jt[zs] = Jt[pc] = Jt[ur] = Jt[Jo] = !0, Jt[pe] = Jt[ye] = Jt[Dt] = Jt[te] = Jt[it] = Jt[ee] = Jt[he] = Jt[ce] = Jt[Ie] = Jt[Oe] = Jt[ze] = Jt[Zt] = Jt[Gt] = Jt[Rn] = Jt[St] = !1;
31907
+ Jt[It] = Jt[cr] = Jt[Ti] = Jt[Lr] = Jt[si] = Jt[zs] = Jt[pc] = Jt[ur] = Jt[Jo] = !0, Jt[pe] = Jt[ye] = Jt[Dt] = Jt[te] = Jt[it] = Jt[ee] = Jt[he] = Jt[ce] = Jt[Ie] = Jt[Oe] = Jt[ze] = Jt[Zt] = Jt[Gt] = Jt[Rn] = Jt[wt] = !1;
31908
31908
  var jt = {};
31909
- jt[pe] = jt[ye] = jt[Dt] = jt[it] = jt[te] = jt[ee] = jt[It] = jt[cr] = jt[Ti] = jt[Lr] = jt[si] = jt[Ie] = jt[Oe] = jt[ze] = jt[Zt] = jt[Gt] = jt[Rn] = jt[je] = jt[zs] = jt[pc] = jt[ur] = jt[Jo] = !0, jt[he] = jt[ce] = jt[St] = !1;
31909
+ jt[pe] = jt[ye] = jt[Dt] = jt[it] = jt[te] = jt[ee] = jt[It] = jt[cr] = jt[Ti] = jt[Lr] = jt[si] = jt[Ie] = jt[Oe] = jt[ze] = jt[Zt] = jt[Gt] = jt[Rn] = jt[je] = jt[zs] = jt[pc] = jt[ur] = jt[Jo] = !0, jt[he] = jt[ce] = jt[wt] = !1;
31910
31910
  var VM = {
31911
31911
  // Latin-1 Supplement block.
31912
31912
  À: "A",
@@ -33821,7 +33821,7 @@ function qZ() {
33821
33821
  Vo(f, Wp(a)), a = Nd(a);
33822
33822
  return f;
33823
33823
  } : sm, Yn = tr;
33824
- (mp && Yn(new mp(new ArrayBuffer(1))) != it || yc && Yn(new yc()) != Ie || Ap && Yn(Ap.resolve()) != tt || ra && Yn(new ra()) != Gt || bc && Yn(new bc()) != St) && (Yn = function(a) {
33824
+ (mp && Yn(new mp(new ArrayBuffer(1))) != it || yc && Yn(new yc()) != Ie || Ap && Yn(Ap.resolve()) != tt || ra && Yn(new ra()) != Gt || bc && Yn(new bc()) != wt) && (Yn = function(a) {
33825
33825
  var f = tr(a), A = f == ze ? a.constructor : t, x = A ? Gs(A) : "";
33826
33826
  if (x)
33827
33827
  switch (x) {
@@ -33834,7 +33834,7 @@ function qZ() {
33834
33834
  case YL:
33835
33835
  return Gt;
33836
33836
  case ZL:
33837
- return St;
33837
+ return wt;
33838
33838
  }
33839
33839
  return f;
33840
33840
  });
@@ -34840,7 +34840,7 @@ function qZ() {
34840
34840
  return a === t;
34841
34841
  }
34842
34842
  function FB(a) {
34843
- return tn(a) && Yn(a) == St;
34843
+ return tn(a) && Yn(a) == wt;
34844
34844
  }
34845
34845
  function PB(a) {
34846
34846
  return tn(a) && tr(a) == Bt;
@@ -35560,7 +35560,7 @@ function i7(n, e, t) {
35560
35560
  }), c = Fe(null), [u, d] = re(null), { disable: h } = Rt(Yt), [g, m] = re(!1), [p, y] = re({ opened: !1 }), [w, C] = re(""), [v, S] = re(null), [E, T] = re(!1), [k, _] = re({
35561
35561
  left: !1,
35562
35562
  right: !1
35563
- }), [I, N] = re(null), { t: O } = wt(), R = Ng(
35563
+ }), [I, N] = re(null), { t: O } = vt(), R = Ng(
35564
35564
  (z) => {
35565
35565
  const W = z.target;
35566
35566
  s.current || Tf(W) && (iZ(W) || n.read(() => {
@@ -35923,7 +35923,7 @@ function i7(n, e, t) {
35923
35923
  onDragStart: j,
35924
35924
  onDragEnd: B,
35925
35925
  children: /* @__PURE__ */ b(
35926
- Ct,
35926
+ St,
35927
35927
  {
35928
35928
  openDelay: 300,
35929
35929
  multiline: !0,
@@ -36135,7 +36135,7 @@ function d7({ editor: n }) {
36135
36135
  X(() => n.registerCommand(
36136
36136
  pi,
36137
36137
  (T) => {
36138
- const k = H(), _ = vt(k);
36138
+ const k = H(), _ = Ct(k);
36139
36139
  return u !== _ && d(_), !1;
36140
36140
  },
36141
36141
  bo
@@ -36371,7 +36371,7 @@ function g7(n) {
36371
36371
  }
36372
36372
  function p7() {
36373
36373
  const n = H();
36374
- if (K(n) && !n.isCollapsed() || vt(n) && !n.anchor.is(n.focus) || !K(n) && !vt(n))
36374
+ if (K(n) && !n.isCollapsed() || Ct(n) && !n.anchor.is(n.focus) || !K(n) && !Ct(n))
36375
36375
  return !1;
36376
36376
  const [e] = Wn(n.anchor);
36377
36377
  return e.__colSpan > 1 || e.__rowSpan > 1;
@@ -36389,7 +36389,7 @@ function m7(n) {
36389
36389
  function A7(n) {
36390
36390
  return n.getEditorState().read(() => {
36391
36391
  const e = H();
36392
- if (K(e) || vt(e)) {
36392
+ if (K(e) || Ct(e)) {
36393
36393
  const [t] = Wn(e.anchor);
36394
36394
  if (Re(t))
36395
36395
  return t.getBackgroundColor();
@@ -36425,7 +36425,7 @@ const w7 = ({
36425
36425
  const [u] = Me(), d = Fe(null), [h, g] = re(n), [m, p] = re({
36426
36426
  columns: 1,
36427
36427
  rows: 1
36428
- }), [y, w] = re(!1), [C, v] = re(!1), [S, E] = re(""), { t: T } = wt();
36428
+ }), [y, w] = re(!1), [C, v] = re(!1), [S, E] = re(""), { t: T } = vt();
36429
36429
  X(() => u.registerMutationListener(yi, (Q) => {
36430
36430
  Q.get(h.getKey()) === "updated" && (u.getEditorState().read(() => {
36431
36431
  g(h.getLatest());
@@ -36433,7 +36433,7 @@ const w7 = ({
36433
36433
  }), [u, h]), X(() => {
36434
36434
  i ? u.getEditorState().read(() => {
36435
36435
  const Q = o.current;
36436
- if (Q && vt(Q)) {
36436
+ if (Q && Ct(Q)) {
36437
36437
  const Z = Qf(Q);
36438
36438
  p(Qf(Q)), w(
36439
36439
  g7(Q) && (Z.columns > 1 || Z.rows > 1)
@@ -36493,7 +36493,7 @@ const w7 = ({
36493
36493
  }, [u, h]), _ = () => {
36494
36494
  u.update(() => {
36495
36495
  const Q = o.current;
36496
- if (vt(Q)) {
36496
+ if (Ct(Q)) {
36497
36497
  const { columns: Z, rows: z } = Qf(Q), W = Q.getNodes();
36498
36498
  let q = null;
36499
36499
  for (let ge = 0; ge < W.length; ge++) {
@@ -36585,9 +36585,9 @@ const w7 = ({
36585
36585
  (Q) => {
36586
36586
  u.update(() => {
36587
36587
  const Z = o.current;
36588
- if (K(Z) || vt(Z)) {
36588
+ if (K(Z) || Ct(Z)) {
36589
36589
  const [z] = Wn(Z.anchor);
36590
- if (Re(z) && z.setBackgroundColor(Q), vt(Z)) {
36590
+ if (Re(z) && z.setBackgroundColor(Q), Ct(Z)) {
36591
36591
  const W = Z.getNodes();
36592
36592
  for (let q = 0; q < W.length; q++) {
36593
36593
  const ge = W[q];
@@ -36747,7 +36747,7 @@ const w7 = ({
36747
36747
  const g = Eg(n), m = kg(n);
36748
36748
  u.current = g, d.current = m;
36749
36749
  const p = H();
36750
- if (vt(p)) {
36750
+ if (Ct(p)) {
36751
36751
  const { columns: y, rows: w } = Qf(p);
36752
36752
  (y > 1 || w > 1) && (c.current = p);
36753
36753
  } else
@@ -36805,7 +36805,7 @@ function S7({
36805
36805
  column: !1,
36806
36806
  row: !1,
36807
36807
  options: !1
36808
- }), [v, S] = re(!1), E = Fe(null), T = Fe(/* @__PURE__ */ new Set()), k = Fe(null), _ = Fe(null), I = Fe(null), N = Fe(null), O = Fe(null), { t: R } = wt(), j = Ng(
36808
+ }), [v, S] = re(!1), E = Fe(null), T = Fe(/* @__PURE__ */ new Set()), k = Fe(null), _ = Fe(null), I = Fe(null), N = Fe(null), O = Fe(null), { t: R } = vt(), j = Ng(
36809
36809
  (z) => {
36810
36810
  const { isOutside: W, tableDOMNode: q } = x7(
36811
36811
  z,
@@ -36969,8 +36969,8 @@ function S7({
36969
36969
  O.current.getKey()
36970
36970
  );
36971
36971
  if (ut != null) {
36972
- const St = ut.getBoundingClientRect(), Dt = ke.getBoundingClientRect().left + ke.clientWidth, it = St.top - gt + 6;
36973
- let It = St.right - Zt - 20;
36972
+ const wt = ut.getBoundingClientRect(), Dt = ke.getBoundingClientRect().left + ke.clientWidth, it = wt.top - gt + 6;
36973
+ let It = wt.right - Zt - 20;
36974
36974
  It > Dt - Zt && (It = Dt - Zt - 20), v || y({
36975
36975
  top: it,
36976
36976
  left: It
@@ -36980,11 +36980,11 @@ function S7({
36980
36980
  if (N.current) {
36981
36981
  const {
36982
36982
  top: ut,
36983
- width: St,
36983
+ width: wt,
36984
36984
  left: Bt,
36985
36985
  right: Dt
36986
36986
  } = N.current.getBoundingClientRect(), it = ho, It = Bt - Zt - it / 2, cr = ut - gt - it / 2;
36987
- let Ti = St + it + 2;
36987
+ let Ti = wt + it + 2;
36988
36988
  Dt > Ee && (Ti = Ti - (Dt - Ee)), h({
36989
36989
  width: Ti,
36990
36990
  height: it,
@@ -36993,9 +36993,9 @@ function S7({
36993
36993
  });
36994
36994
  }
36995
36995
  if (I.current) {
36996
- const { top: ut, height: St } = I.current.getBoundingClientRect(), Bt = ho, Dt = Oe - Zt - Bt / 2, it = ut - gt - Bt / 2;
36996
+ const { top: ut, height: wt } = I.current.getBoundingClientRect(), Bt = ho, Dt = Oe - Zt - Bt / 2, it = ut - gt - Bt / 2;
36997
36997
  m({
36998
- height: St + Bt + 2,
36998
+ height: wt + Bt + 2,
36999
36999
  top: it,
37000
37000
  left: Dt
37001
37001
  });
@@ -37006,11 +37006,11 @@ function S7({
37006
37006
  "data-mantine-color-scheme"
37007
37007
  ) === "light" ? "rgba(173, 181, 189, 0.7)" : "";
37008
37008
  if (pe) {
37009
- const ut = ze - gt + 3, St = ((ee = ke.firstElementChild) == null ? void 0 : ee.clientWidth) || 0;
37009
+ const ut = ze - gt + 3, wt = ((ee = ke.firstElementChild) == null ? void 0 : ee.clientWidth) || 0;
37010
37010
  l({
37011
37011
  left: Oe - Zt,
37012
37012
  top: ut,
37013
- width: be > St ? St - 2 : be,
37013
+ width: be > wt ? wt - 2 : be,
37014
37014
  padding: 0,
37015
37015
  backgroundColor: Gt
37016
37016
  });
@@ -37130,7 +37130,7 @@ function S7({
37130
37130
  cellMerge: t,
37131
37131
  setIsMenuOpen: S,
37132
37132
  tableDom: k.current,
37133
- children: /* @__PURE__ */ b(Ct, { label: R("editor.table.settings"), children: /* @__PURE__ */ b(
37133
+ children: /* @__PURE__ */ b(St, { label: R("editor.table.settings"), children: /* @__PURE__ */ b(
37134
37134
  An,
37135
37135
  {
37136
37136
  tabIndex: -1,
@@ -37161,7 +37161,7 @@ function S7({
37161
37161
  transition: "fade",
37162
37162
  duration: 300,
37163
37163
  timingFunction: "ease",
37164
- children: (z) => /* @__PURE__ */ b(Ct, { label: R("editor.table.menu.addRowBelow"), position: "bottom", children: /* @__PURE__ */ b(
37164
+ children: (z) => /* @__PURE__ */ b(St, { label: R("editor.table.menu.addRowBelow"), position: "bottom", children: /* @__PURE__ */ b(
37165
37165
  Ki,
37166
37166
  {
37167
37167
  className: "dsd__theme__tableAddRows",
@@ -37191,7 +37191,7 @@ function S7({
37191
37191
  transition: "fade",
37192
37192
  duration: 300,
37193
37193
  timingFunction: "ease",
37194
- children: (z) => /* @__PURE__ */ b(Ct, { label: R("editor.table.menu.addColAfter"), position: "right", children: /* @__PURE__ */ b(
37194
+ children: (z) => /* @__PURE__ */ b(St, { label: R("editor.table.menu.addColAfter"), position: "right", children: /* @__PURE__ */ b(
37195
37195
  Ki,
37196
37196
  {
37197
37197
  className: "dsd__theme__tableAddColumns",
@@ -37228,7 +37228,7 @@ function S7({
37228
37228
  className: "table-row-add-container",
37229
37229
  style: { ...z, ...g },
37230
37230
  children: I.current && /* @__PURE__ */ $(iu, { align: "stretch", justify: "space-between", h: "100%", children: [
37231
- /* @__PURE__ */ b(Ct, { label: R("editor.table.menu.addRowAbove"), children: /* @__PURE__ */ b(
37231
+ /* @__PURE__ */ b(St, { label: R("editor.table.menu.addRowAbove"), children: /* @__PURE__ */ b(
37232
37232
  An,
37233
37233
  {
37234
37234
  onClick: () => ue(!1),
@@ -37244,7 +37244,7 @@ function S7({
37244
37244
  children: /* @__PURE__ */ b(po, { size: 10, stroke: 1 })
37245
37245
  }
37246
37246
  ) }),
37247
- /* @__PURE__ */ b(Ct, { label: R("editor.table.menu.addRowBelow"), children: /* @__PURE__ */ b(
37247
+ /* @__PURE__ */ b(St, { label: R("editor.table.menu.addRowBelow"), children: /* @__PURE__ */ b(
37248
37248
  An,
37249
37249
  {
37250
37250
  onClick: () => ue(!0),
@@ -37279,7 +37279,7 @@ function S7({
37279
37279
  className: "table-cell-add-container",
37280
37280
  style: { ...z, ...d },
37281
37281
  children: /* @__PURE__ */ $(Xe, { justify: w.left ? "space-between" : "flex-end", children: [
37282
- /* @__PURE__ */ b(Je, { children: w.left && /* @__PURE__ */ b(Ct, { label: R("editor.table.menu.addColBefore"), children: /* @__PURE__ */ b(
37282
+ /* @__PURE__ */ b(Je, { children: w.left && /* @__PURE__ */ b(St, { label: R("editor.table.menu.addColBefore"), children: /* @__PURE__ */ b(
37283
37283
  An,
37284
37284
  {
37285
37285
  onClick: () => Ae(!1),
@@ -37291,7 +37291,7 @@ function S7({
37291
37291
  children: /* @__PURE__ */ b(po, { size: 10, stroke: 1 })
37292
37292
  }
37293
37293
  ) }) }),
37294
- /* @__PURE__ */ b(Je, { children: w.right && /* @__PURE__ */ b(Ct, { label: R("editor.table.menu.addColAfter"), children: /* @__PURE__ */ b(
37294
+ /* @__PURE__ */ b(Je, { children: w.right && /* @__PURE__ */ b(St, { label: R("editor.table.menu.addColAfter"), children: /* @__PURE__ */ b(
37295
37295
  An,
37296
37296
  {
37297
37297
  onClick: () => Ae(!0),
@@ -37467,7 +37467,7 @@ function qm(n) {
37467
37467
  function M7({
37468
37468
  tableOfContents: n
37469
37469
  }) {
37470
- const [e, t] = re(""), r = Fe(0), [i] = Me(), { t: o } = wt(), [s, l] = re(!1);
37470
+ const [e, t] = re(""), r = Fe(0), [i] = Me(), { t: o } = vt(), [s, l] = re(!1);
37471
37471
  function c(u, d) {
37472
37472
  i.getEditorState().read(() => {
37473
37473
  const h = i.getElementByKey(u);
@@ -37877,7 +37877,7 @@ function B7({
37877
37877
  disabled: t = !1,
37878
37878
  setElementFormat: r
37879
37879
  }) {
37880
- const { t: i, i18n: o } = wt(), s = bt(
37880
+ const { t: i, i18n: o } = vt(), s = bt(
37881
37881
  () => R7(i),
37882
37882
  [o.language]
37883
37883
  ), l = bt(() => e === "start" || e === "end" ? s.left : s[e || "left"], [e, o.language]), c = (u) => {
@@ -37890,7 +37890,7 @@ function B7({
37890
37890
  shadow: "md",
37891
37891
  styles: { dropdown: { zIndex: 1e3 } },
37892
37892
  children: [
37893
- /* @__PURE__ */ b(ve.Target, { children: /* @__PURE__ */ b(Ct, { label: i("editor.toolbar.align"), children: /* @__PURE__ */ $(
37893
+ /* @__PURE__ */ b(ve.Target, { children: /* @__PURE__ */ b(St, { label: i("editor.toolbar.align"), children: /* @__PURE__ */ $(
37894
37894
  "button",
37895
37895
  {
37896
37896
  disabled: t,
@@ -38627,7 +38627,7 @@ function Y7() {
38627
38627
  files: []
38628
38628
  }), [l, c] = re(!1), [u, d] = re(!1), h = Fe([]), g = Fe(
38629
38629
  []
38630
- ), { i18n: m } = wt(), p = m.language, y = m.getResourceBundle(
38630
+ ), { i18n: m } = vt(), p = m.language, y = m.getResourceBundle(
38631
38631
  p,
38632
38632
  "translation"
38633
38633
  ), [w, C] = re({
@@ -39069,17 +39069,17 @@ function Y7() {
39069
39069
  const { left: Oe, bottom: Ee, top: ze, width: tt } = Ie.getBoundingClientRect(), gt = IT(n, Ie), Zt = te.offsetHeight || 200, Gt = window.pageYOffset || document.documentElement.scrollTop, Rn = window.innerHeight - Ee > Zt + 20;
39070
39070
  let je = gt.length === 1 ? Oe + tt / 2 - 125 : Oe - 125;
39071
39071
  je < 10 && (je = 10), te.style.left = `${je}px`, te.style.top = Rn ? `${Ee + 10 + Gt}px` : `${ze - Zt - 55 + Gt}px`;
39072
- const ut = gt.length, { container: St, elements: Bt } = ne, Dt = Bt.length;
39072
+ const ut = gt.length, { container: wt, elements: Bt } = ne, Dt = Bt.length;
39073
39073
  for (let it = 0; it < ut; it++) {
39074
39074
  const It = gt[it];
39075
39075
  let cr = Bt[it];
39076
- cr === void 0 && (cr = document.createElement("span"), Bt[it] = cr, St.appendChild(cr));
39076
+ cr === void 0 && (cr = document.createElement("span"), Bt[it] = cr, wt.appendChild(cr));
39077
39077
  const Lr = document.body.scrollHeight > window.innerHeight ? 0 : 8, si = "255, 212, 0";
39078
39078
  cr.style.cssText = `position:absolute;top:${It.top + Gt}px;left:${It.left + Lr}px;height:${It.height}px;width:${It.width}px;background-color:rgba(${si}, 0.3);pointer-events:none;z-index:5;`;
39079
39079
  }
39080
39080
  for (let it = Dt - 1; it >= ut; it--) {
39081
39081
  const It = Bt[it];
39082
- St.removeChild(It), Bt.pop();
39082
+ wt == null || wt.removeChild(It), Bt.pop();
39083
39083
  }
39084
39084
  }
39085
39085
  }
@@ -39490,7 +39490,7 @@ const oG = () => {
39490
39490
  const [n, e] = re({
39491
39491
  top: "0px",
39492
39492
  bottom: "auto"
39493
- }), [t, r] = re(!1), [i, o] = re(!1), [s] = Me(), [l, c] = re("main"), [u, d] = re(""), [h, g] = re(""), [m, p] = re(""), [y, w] = re(null), [C, v] = re(!1), { fetchPromptResult: S } = Rt(Yt), { t: E } = wt(), [T, k] = XP(), _ = () => {
39493
+ }), [t, r] = re(!1), [i, o] = re(!1), [s] = Me(), [l, c] = re("main"), [u, d] = re(""), [h, g] = re(""), [m, p] = re(""), [y, w] = re(null), [C, v] = re(!1), { fetchPromptResult: S } = Rt(Yt), { t: E } = vt(), [T, k] = XP(), _ = () => {
39494
39494
  r(!1), o(!1), p(""), c("main"), setTimeout(() => {
39495
39495
  e({ top: "0px", bottom: "auto" });
39496
39496
  }, 200);
@@ -39612,7 +39612,7 @@ const oG = () => {
39612
39612
  }
39613
39613
  ),
39614
39614
  /* @__PURE__ */ b(Jr, { w: "auto", mt: "xs", children: /* @__PURE__ */ b(JP, { value: m, timeout: 2e3, children: ({ copied: P, copy: V }) => /* @__PURE__ */ b(
39615
- Ct,
39615
+ St,
39616
39616
  {
39617
39617
  label: P ? "Copied" : "Copy",
39618
39618
  withArrow: !0,
@@ -39739,7 +39739,7 @@ const oG = () => {
39739
39739
  children: n,
39740
39740
  ...e
39741
39741
  }) => {
39742
- const { imagePickerSettings: t, maxFileSize: r } = Rt(Yt), { t: i } = wt("ui"), { giphyToken: o, unsplashClientId: s, link: l, download: c, maxUploadFiles: u } = t, d = bt(() => [
39742
+ const { imagePickerSettings: t, maxFileSize: r } = Rt(Yt), { t: i } = vt("ui"), { giphyToken: o, unsplashClientId: s, link: l, download: c, maxUploadFiles: u } = t, d = bt(() => [
39743
39743
  { key: "gallery", enabled: !0 },
39744
39744
  { key: "giphy", enabled: o },
39745
39745
  {
@@ -39818,7 +39818,7 @@ const oG = () => {
39818
39818
  src: l
39819
39819
  });
39820
39820
  },
39821
- children: /* @__PURE__ */ b(Ct, { label: t("editor.image.add_photo"), children: /* @__PURE__ */ b(
39821
+ children: /* @__PURE__ */ b(St, { label: t("editor.image.add_photo"), children: /* @__PURE__ */ b(
39822
39822
  "button",
39823
39823
  {
39824
39824
  disabled: !e,
@@ -39853,10 +39853,10 @@ function nv({
39853
39853
  }) {
39854
39854
  const [t] = Me(), [r, i] = re(t), [o, s] = re("paragraph"), [l, c] = re("root"), [u, d] = re(
39855
39855
  null
39856
- ), [h, g] = re("#000"), [m, p] = re("#fff"), [y, w] = re("left"), [C, v] = re(!1), [S, E] = re(!1), [T, k] = re(!1), [_, I] = re(!1), [N, O] = re(!1), [R, j] = re(!1), [B, P] = re(!1), [V, ue] = re(!1), [Ae, oe] = re(!1), [Q, Z] = re(!1), [z] = CI(), [W, q] = re(!1), [ge, pe] = re(!0), [ye, ke] = re(!0), [te, ee] = re(0), [ne, he] = re(() => t.isEditable()), ce = n || "default", { excludeNodes: be, fetchUploadMedia: Ie, fetchPromptResult: Oe, commentOptions: Ee } = Rt(Yt), { t: ze } = wt(), tt = Be(() => {
39856
+ ), [h, g] = re("#000"), [m, p] = re("#fff"), [y, w] = re("left"), [C, v] = re(!1), [S, E] = re(!1), [T, k] = re(!1), [_, I] = re(!1), [N, O] = re(!1), [R, j] = re(!1), [B, P] = re(!1), [V, ue] = re(!1), [Ae, oe] = re(!1), [Q, Z] = re(!1), [z] = CI(), [W, q] = re(!1), [ge, pe] = re(!0), [ye, ke] = re(!0), [te, ee] = re(0), [ne, he] = re(() => t.isEditable()), ce = n || "default", { excludeNodes: be, fetchUploadMedia: Ie, fetchPromptResult: Oe, commentOptions: Ee } = Rt(Yt), { t: ze } = vt(), tt = Be(() => {
39857
39857
  const je = H();
39858
39858
  if (K(je)) {
39859
- const ut = je.anchor.getNode(), St = je.focus.getNode(), Bt = bn(ut) ? null : ut.getTopLevelElementOrThrow(), Dt = bn(St) ? null : St.getTopLevelElementOrThrow();
39859
+ const ut = je.anchor.getNode(), wt = je.focus.getNode(), Bt = bn(ut) ? null : ut.getTopLevelElementOrThrow(), Dt = bn(wt) ? null : wt.getTopLevelElementOrThrow();
39860
39860
  let it = ut.getKey() === "root" ? ut : Pe(ut, (ur) => {
39861
39861
  const Jo = ur.getParent();
39862
39862
  return Jo !== null && $n(Jo);
@@ -39924,8 +39924,8 @@ function nv({
39924
39924
  r.registerCommand(
39925
39925
  W1,
39926
39926
  (je) => {
39927
- const ut = je, { code: St, ctrlKey: Bt, metaKey: Dt } = ut;
39928
- if (St === "KeyK" && (Bt || Dt)) {
39927
+ const ut = je, { code: wt, ctrlKey: Bt, metaKey: Dt } = ut;
39928
+ if (wt === "KeyK" && (Bt || Dt)) {
39929
39929
  ut.preventDefault();
39930
39930
  let it;
39931
39931
  return C ? it = null : it = Wc("https://"), r.dispatchCommand(ul, it);
@@ -39939,8 +39939,8 @@ function nv({
39939
39939
  () => {
39940
39940
  const je = H();
39941
39941
  if (K(je)) {
39942
- const ut = je.getNodes(), St = ut.length > 0 && ut.every((Bt) => qa(Bt) || xt(Bt) || ei(Bt) ? !1 : Y(Bt) || le(Bt));
39943
- ke(!St);
39942
+ const ut = je.getNodes(), wt = ut.length > 0 && ut.every((Bt) => qa(Bt) || xt(Bt) || ei(Bt) ? !1 : Y(Bt) || le(Bt));
39943
+ ke(!wt);
39944
39944
  }
39945
39945
  return !1;
39946
39946
  },
@@ -39950,8 +39950,8 @@ function nv({
39950
39950
  (je, ut) => {
39951
39951
  r.update(
39952
39952
  () => {
39953
- const St = H();
39954
- St !== null && zS(St, je);
39953
+ const wt = H();
39954
+ wt !== null && zS(wt, je);
39955
39955
  },
39956
39956
  ut ? { tag: "historic" } : {}
39957
39957
  );
@@ -39964,13 +39964,13 @@ function nv({
39964
39964
  }), r.update(() => {
39965
39965
  const je = H();
39966
39966
  if (K(je)) {
39967
- const ut = je.anchor, St = je.focus, Bt = je.getNodes();
39968
- if (ut.key === St.key && ut.offset === St.offset)
39967
+ const ut = je.anchor, wt = je.focus, Bt = je.getNodes();
39968
+ if (ut.key === wt.key && ut.offset === wt.offset)
39969
39969
  return;
39970
39970
  Bt.forEach((Dt, it) => {
39971
39971
  if (er(Dt)) {
39972
39972
  let It = Dt;
39973
- it === 0 && ut.offset !== 0 && (It = It.splitText(ut.offset)[1] || It), it === Bt.length - 1 && (It = It.splitText(St.offset)[0] || It), It.__style !== "" && It.setStyle(""), It.__format !== 0 && (It.setFormat(0), bl(It).setFormat("")), Dt = It;
39973
+ it === 0 && ut.offset !== 0 && (It = It.splitText(ut.offset)[1] || It), it === Bt.length - 1 && (It = It.splitText(wt.offset)[0] || It), It.__style !== "" && It.setStyle(""), It.__format !== 0 && (It.setFormat(0), bl(It).setFormat("")), Dt = It;
39974
39974
  } else Do(Dt) || Cu(Dt) ? Dt.replace(_e(), !0) : VA(Dt) && Dt.setFormat("");
39975
39975
  });
39976
39976
  }
@@ -39989,7 +39989,7 @@ function nv({
39989
39989
  };
39990
39990
  return /* @__PURE__ */ b("div", { className: "toolbar-wrapper", tabIndex: -1, children: /* @__PURE__ */ $("div", { className: "toolbar", children: [
39991
39991
  ce === "full" && /* @__PURE__ */ $(Je, { children: [
39992
- /* @__PURE__ */ b(Ct, { label: "Отменить", children: /* @__PURE__ */ b(
39992
+ /* @__PURE__ */ b(St, { label: "Отменить", children: /* @__PURE__ */ b(
39993
39993
  "button",
39994
39994
  {
39995
39995
  disabled: !Ae || !ne,
@@ -40003,7 +40003,7 @@ function nv({
40003
40003
  children: /* @__PURE__ */ b(Se, { name: "undo" })
40004
40004
  }
40005
40005
  ) }),
40006
- /* @__PURE__ */ b(Ct, { label: "Вернуть", children: /* @__PURE__ */ b(
40006
+ /* @__PURE__ */ b(St, { label: "Вернуть", children: /* @__PURE__ */ b(
40007
40007
  "button",
40008
40008
  {
40009
40009
  disabled: !Q || !ne,
@@ -40039,7 +40039,7 @@ function nv({
40039
40039
  /* @__PURE__ */ b(Oc, {})
40040
40040
  ] }),
40041
40041
  /* @__PURE__ */ $(Je, { children: [
40042
- /* @__PURE__ */ b(Ct, { label: ze("editor.toolbar.bold"), children: /* @__PURE__ */ b(
40042
+ /* @__PURE__ */ b(St, { label: ze("editor.toolbar.bold"), children: /* @__PURE__ */ b(
40043
40043
  "button",
40044
40044
  {
40045
40045
  disabled: !ne,
@@ -40052,7 +40052,7 @@ function nv({
40052
40052
  children: /* @__PURE__ */ b(Se, { name: "bold" })
40053
40053
  }
40054
40054
  ) }),
40055
- /* @__PURE__ */ b(Ct, { label: ze("editor.toolbar.italic"), children: /* @__PURE__ */ b(
40055
+ /* @__PURE__ */ b(St, { label: ze("editor.toolbar.italic"), children: /* @__PURE__ */ b(
40056
40056
  "button",
40057
40057
  {
40058
40058
  disabled: !ne,
@@ -40065,7 +40065,7 @@ function nv({
40065
40065
  children: /* @__PURE__ */ b(Se, { name: "italic" })
40066
40066
  }
40067
40067
  ) }),
40068
- /* @__PURE__ */ b(Ct, { label: ze("editor.toolbar.underline"), children: /* @__PURE__ */ b(
40068
+ /* @__PURE__ */ b(St, { label: ze("editor.toolbar.underline"), children: /* @__PURE__ */ b(
40069
40069
  "button",
40070
40070
  {
40071
40071
  disabled: !ne,
@@ -40078,7 +40078,7 @@ function nv({
40078
40078
  children: /* @__PURE__ */ b(Se, { name: "underline" })
40079
40079
  }
40080
40080
  ) }),
40081
- /* @__PURE__ */ b(Ct, { label: ze("editor.toolbar.strike"), children: /* @__PURE__ */ b(
40081
+ /* @__PURE__ */ b(St, { label: ze("editor.toolbar.strike"), children: /* @__PURE__ */ b(
40082
40082
  "button",
40083
40083
  {
40084
40084
  disabled: !ne,
@@ -40093,7 +40093,7 @@ function nv({
40093
40093
  children: /* @__PURE__ */ b(Se, { name: "strikethrough" })
40094
40094
  }
40095
40095
  ) }),
40096
- /* @__PURE__ */ b(Ct, { label: ze("editor.toolbar.code"), children: /* @__PURE__ */ b(
40096
+ /* @__PURE__ */ b(St, { label: ze("editor.toolbar.code"), children: /* @__PURE__ */ b(
40097
40097
  "button",
40098
40098
  {
40099
40099
  disabled: !ne,
@@ -40106,7 +40106,7 @@ function nv({
40106
40106
  children: /* @__PURE__ */ b(Se, { name: "code" })
40107
40107
  }
40108
40108
  ) }),
40109
- /* @__PURE__ */ b(Ct, { label: ze("editor.toolbar.clear"), children: /* @__PURE__ */ b(
40109
+ /* @__PURE__ */ b(St, { label: ze("editor.toolbar.clear"), children: /* @__PURE__ */ b(
40110
40110
  "button",
40111
40111
  {
40112
40112
  disabled: !ne,
@@ -40117,7 +40117,7 @@ function nv({
40117
40117
  children: /* @__PURE__ */ b(Se, { name: "сlear-format" })
40118
40118
  }
40119
40119
  ) }),
40120
- /* @__PURE__ */ b(Ct, { disabled: !ne, label: ze("editor.toolbar.link"), children: /* @__PURE__ */ b(
40120
+ /* @__PURE__ */ b(St, { disabled: !ne, label: ze("editor.toolbar.link"), children: /* @__PURE__ */ b(
40121
40121
  "button",
40122
40122
  {
40123
40123
  onClick: Gt,
@@ -40130,7 +40130,7 @@ function nv({
40130
40130
  children: /* @__PURE__ */ b(Se, { name: "link" })
40131
40131
  }
40132
40132
  ) }),
40133
- Ee && n === "editor" && /* @__PURE__ */ b(Ct, { label: ze("editor.toolbar.comment"), children: /* @__PURE__ */ b(
40133
+ Ee && n === "editor" && /* @__PURE__ */ b(St, { label: ze("editor.toolbar.comment"), children: /* @__PURE__ */ b(
40134
40134
  "button",
40135
40135
  {
40136
40136
  onClick: Rn,
@@ -40172,7 +40172,7 @@ function nv({
40172
40172
  z
40173
40173
  ] }) });
40174
40174
  }
40175
- const EE = nc(() => import("./layers.DJQYObhk.js"));
40175
+ const EE = nc(() => import("./layers.PplD43nU.js"));
40176
40176
  function cG(n) {
40177
40177
  const {
40178
40178
  floatingAnchorElem: e,
@@ -43681,7 +43681,7 @@ const rQ = ({ editor: n }) => {
43681
43681
  text: sQ
43682
43682
  }, lQ = ({ editor: n }) => {
43683
43683
  var u;
43684
- const [e, t] = re(!1), { t: r, i18n: i } = wt(), { excludeNodes: o } = Rt(Yt), s = (d) => {
43684
+ const [e, t] = re(!1), { t: r, i18n: i } = vt(), { excludeNodes: o } = Rt(Yt), s = (d) => {
43685
43685
  const h = document.querySelector(".editor-container");
43686
43686
  if (d) {
43687
43687
  h.classList.add("empty-editor");
@@ -43753,7 +43753,7 @@ const rQ = ({ editor: n }) => {
43753
43753
  title: r("editor.menu.media.excalidraw.hint.description"),
43754
43754
  icon: /* @__PURE__ */ b(i1, { stroke: 2, size: 18 }),
43755
43755
  onSelect: () => {
43756
- import("./layers.DJQYObhk.js").then(
43756
+ import("./layers.PplD43nU.js").then(
43757
43757
  ({ INSERT_EXCALIDRAW_COMMAND: d }) => {
43758
43758
  l(n, () => {
43759
43759
  n.dispatchCommand(d, void 0);
@@ -43843,7 +43843,7 @@ const rQ = ({ editor: n }) => {
43843
43843
  },
43844
43844
  d.title
43845
43845
  ) : null) }) }) : null;
43846
- }, JE = nc(() => import("./layers.DJQYObhk.js"));
43846
+ }, JE = nc(() => import("./layers.PplD43nU.js"));
43847
43847
  function aQ(n) {
43848
43848
  const {
43849
43849
  onRef: e,
@@ -44488,7 +44488,7 @@ function xQ() {
44488
44488
  }
44489
44489
  );
44490
44490
  }
44491
- const QE = nc(() => import("./layers.DJQYObhk.js"));
44491
+ const QE = nc(() => import("./layers.PplD43nU.js"));
44492
44492
  function kQ(n) {
44493
44493
  const { historyState: e } = rv(), [t, r] = re(!1), {
44494
44494
  onRef: i,