@layers-app/editor 0.6.8 → 0.6.10

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 (214) hide show
  1. package/README.md +2 -0
  2. package/dist/index.cjs +2 -2
  3. package/dist/index.d.ts +39 -157
  4. package/dist/index.js +2 -2
  5. package/dist/{layers.D541jKgq.js → layers.-FlDvXz7.js} +1 -1
  6. package/dist/{layers.DkriqXmV.js → layers.25w9JVQ9.js} +1 -1
  7. package/dist/{layers.DSdpBrd0.js → layers.2RCcoUy2.js} +1 -1
  8. package/dist/{layers.CB1RKkps.js → layers.3NVNpZ9h.js} +1 -1
  9. package/dist/{layers.Oiz9CUZ2.js → layers.5CQGTWJH.js} +1 -1
  10. package/dist/{layers.CQpkVXxI.js → layers.6K1eywtc.js} +1 -1
  11. package/dist/{layers.CGMgyPS-.js → layers.7u4CMVyo.js} +1 -1
  12. package/dist/{layers.DlXpMISN.js → layers.8CbusVJV.js} +6 -6
  13. package/dist/{layers.CRiCXeFR.js → layers.AcW-3rpV.js} +1 -1
  14. package/dist/layers.B-5ibGda.js +1 -0
  15. package/dist/{layers.I3dKA5Gu.js → layers.B1Gvjfvi.js} +1 -1
  16. package/dist/{layers.CBLC65IN.js → layers.B2lB1bKH.js} +1 -1
  17. package/dist/{layers.eJEzeyeI.js → layers.B3BhFCeQ.js} +1 -1
  18. package/dist/{layers.CpPHdH_c.js → layers.B6efzfvO.js} +1 -1
  19. package/dist/{layers.DjP6uu4n.js → layers.BAKFMCay.js} +4 -4
  20. package/dist/{layers.D0b_ySe_.js → layers.BBXIHe1g.js} +1 -1
  21. package/dist/{layers.BSUTWphT.js → layers.BBuxjoBl.js} +1 -1
  22. package/dist/{layers.BWqGueuy.js → layers.BC0wg8oA.js} +1 -1
  23. package/dist/{layers.CTMgWtYy.js → layers.BDEjuQ92.js} +1 -1
  24. package/dist/{layers.D8tsX3j6.js → layers.BFviEe03.js} +1 -1
  25. package/dist/{layers.CNtNmUwR.js → layers.BGsQawu0.js} +1 -1
  26. package/dist/{layers.CyplFRTt.js → layers.BHYq90fd.js} +1 -1
  27. package/dist/{layers.DIumPXXq.js → layers.BI2XxvUL.js} +1 -1
  28. package/dist/{layers.C5xudTs4.js → layers.BI8lYYUZ.js} +1 -1
  29. package/dist/{layers.B3mBkjMy.js → layers.BIRvXnYS.js} +1 -1
  30. package/dist/{layers.DCnuKKsW.js → layers.BIW47qgZ.js} +1 -1
  31. package/dist/{layers.DuNN8kev.js → layers.BJ0X7cwV.js} +1 -1
  32. package/dist/{layers.vx8O-12u.js → layers.BJ1CWDq2.js} +1 -1
  33. package/dist/{layers.DN1Gm6MY.js → layers.BLclPO3_.js} +1 -1
  34. package/dist/{layers.D0ujBp-F.js → layers.BNF0-VIm.js} +1 -1
  35. package/dist/{layers.FEx0tMAp.js → layers.BNv_8Etf.js} +1 -1
  36. package/dist/layers.BORaFl2A.js +6 -0
  37. package/dist/{layers.BljtKyTy.js → layers.BOnYdj1x.js} +4 -4
  38. package/dist/{layers.BtJr-8rV.js → layers.BOyaeuiE.js} +1 -1
  39. package/dist/{layers.D1ak-yXG.js → layers.BTR039CB.js} +1 -1
  40. package/dist/{layers.Hi6Z_rai.js → layers.BUz5wtJp.js} +1 -1
  41. package/dist/{layers.vM7P8Xxn.js → layers.BVWxadY7.js} +1 -1
  42. package/dist/{layers.Dvt9uQs0.js → layers.BVtjbAwi.js} +1 -1
  43. package/dist/{layers.DDSiG1BS.js → layers.BXcsTRJl.js} +1 -1
  44. package/dist/{layers.BTWFEdFw.js → layers.BYRF1csv.js} +1 -1
  45. package/dist/{layers.D9mj33qM.js → layers.BZ48GMbP.js} +1 -1
  46. package/dist/{layers.BghJAdkn.js → layers.BaGOQyKc.js} +1 -1
  47. package/dist/{layers.CIuLgF3x.js → layers.BaeXF8uy.js} +5 -5
  48. package/dist/{layers.N5VOxw2M.js → layers.BepM5idF.js} +1 -1
  49. package/dist/{layers.CwQUz6ee.js → layers.Bf2MOzv5.js} +1 -1
  50. package/dist/{layers.CUqPZzoI.js → layers.BfgNMD3Q.js} +4 -4
  51. package/dist/{layers.ChDelSW3.js → layers.BgZ1ApUu.js} +7 -7
  52. package/dist/{layers.Dhgn64An.js → layers.BlCuXq2c.js} +1 -1
  53. package/dist/{layers.B94iWkpU.js → layers.BmYiSklh.js} +1 -1
  54. package/dist/{layers.ByfBz7S0.js → layers.Bnv7nl-g.js} +1 -1
  55. package/dist/{layers.D13z3Rex.js → layers.BqveQKvG.js} +1 -1
  56. package/dist/{layers.0_IJvrXd.js → layers.BuRpp3qU.js} +1 -1
  57. package/dist/{layers.B0wAuZjD.js → layers.BucN77sO.js} +1 -1
  58. package/dist/{layers.BhgUw4CR.js → layers.BuhPbqCw.js} +1 -1
  59. package/dist/{layers.BRevsoNn.js → layers.Bw0-XvIe.js} +1 -1
  60. package/dist/{layers.CoQCzv0M.js → layers.BwNlcm2I.js} +2 -2
  61. package/dist/{layers.CawyZjSA.js → layers.BwTRdOVE.js} +1 -1
  62. package/dist/{layers.DzhcjkxO.js → layers.BwqKaxHi.js} +3 -3
  63. package/dist/{layers.BsEHO1y3.js → layers.BxZ0t5SQ.js} +1 -1
  64. package/dist/{layers.0UtXSDsD.js → layers.Bxd6bB-g.js} +1 -1
  65. package/dist/{layers.zIgOrxZS.js → layers.ByU3ifam.js} +1 -1
  66. package/dist/{layers.DYKA_5-s.js → layers.C1EUwVfn.js} +1 -1
  67. package/dist/{layers.BqUf_EHu.js → layers.C2bw5Mc2.js} +24 -24
  68. package/dist/{layers.BPnPOwST.js → layers.C3Na1zVP.js} +1 -1
  69. package/dist/{layers.CtNvMka0.js → layers.C3YV1yn5.js} +1 -1
  70. package/dist/{layers.C4dbI1Lf.js → layers.C3qbWKgb.js} +1 -1
  71. package/dist/{layers.BHClLu8x.js → layers.C5WqcMcY.js} +1 -1
  72. package/dist/{layers.Bh1N3QUJ.js → layers.C5Zp6Qmi.js} +1 -1
  73. package/dist/{layers.S0VE9fMc.js → layers.C6rnWUWq.js} +1 -1
  74. package/dist/{layers.0EbO9I98.js → layers.C89Nh3vN.js} +5 -5
  75. package/dist/{layers.CEiiANMU.js → layers.C8XWlj2Z.js} +1 -1
  76. package/dist/{layers.DmjhNCUN.js → layers.C8ksgkmr.js} +1 -1
  77. package/dist/{layers.D__lVAt4.js → layers.C8wFMc2a.js} +1 -1
  78. package/dist/{layers.BR5hFUeK.js → layers.CFTJx1LV.js} +8 -8
  79. package/dist/{layers.D4u7KNbq.js → layers.CGrzXnZM.js} +1 -1
  80. package/dist/{layers.D_w7Da-l.js → layers.CJ4m7bzs.js} +1 -1
  81. package/dist/{layers.me0ugTzo.js → layers.CKswOQn4.js} +4 -4
  82. package/dist/{layers.DF0iScMm.js → layers.CLnDrCrg.js} +2 -2
  83. package/dist/{layers.P1drHMRB.js → layers.CM8HzAhP.js} +12730 -13586
  84. package/dist/{layers.BOqLm56g.js → layers.CN3gP2a3.js} +1 -1
  85. package/dist/{layers.BlSz4XQT.js → layers.CNPRSP3B.js} +1 -1
  86. package/dist/{layers.ZSafIMj7.js → layers.COVN_OUt.js} +1 -1
  87. package/dist/{layers.BLdQi4pF.js → layers.CPjo4TXH.js} +1 -1
  88. package/dist/{layers.5OmE6U89.js → layers.CQWOuiyE.js} +1 -1
  89. package/dist/{layers.DkNXxsh3.js → layers.CQh1eswb.js} +1 -1
  90. package/dist/{layers.CHE5L4QR.js → layers.CSDrIXaq.js} +1 -1
  91. package/dist/{layers.DNzSM-W_.js → layers.CTZ5J4mm.js} +1 -1
  92. package/dist/{layers.DzAIeDcW.js → layers.CZornQr5.js} +1 -1
  93. package/dist/{layers.C7V5vebo.js → layers.C_DtGI4l.js} +1 -1
  94. package/dist/{layers.06dkMHge.js → layers.CaZ5ZwW5.js} +1 -1
  95. package/dist/{layers.lXADrdTf.js → layers.CawS1kqQ.js} +4 -4
  96. package/dist/{layers.BSvleGWc.js → layers.Caz-UhIH.js} +4 -4
  97. package/dist/{layers.CjpEMPC3.js → layers.CbGRTWVB.js} +1 -1
  98. package/dist/{layers.DMvl8tmB.js → layers.Cbkha6OM.js} +1 -1
  99. package/dist/layers.CgAdm-Dm.js +1 -0
  100. package/dist/{layers.DMFrFqiV.js → layers.CgZNM3oT.js} +1 -1
  101. package/dist/{layers.eNhs3G5c.js → layers.Ck1F4uMZ.js} +1 -1
  102. package/dist/{layers.BhSQQ90Z.js → layers.Cky-uS13.js} +1 -1
  103. package/dist/{layers.CUzmkYbJ.js → layers.Ckzlp466.js} +1 -1
  104. package/dist/{layers.BfoL_nth.js → layers.ClMTNsM2.js} +1 -1
  105. package/dist/{layers.CDHphgc4.js → layers.CmDSxkcS.js} +1 -1
  106. package/dist/{layers.BAaUIJ-j.js → layers.CnNQzFgF.js} +1 -1
  107. package/dist/{layers.BZOA4pqM.js → layers.CnQILf8_.js} +1 -1
  108. package/dist/{layers.DrJPN-Sh.js → layers.CpZgj-A1.js} +1 -1
  109. package/dist/{layers.DWffCzEA.js → layers.CsVQs4PZ.js} +1 -1
  110. package/dist/{layers.8OQvZM9k.js → layers.CsyJKFYV.js} +1 -1
  111. package/dist/{layers.BcCsGkoG.js → layers.Cu5crIKX.js} +2 -2
  112. package/dist/{layers.-B1fZHKa.js → layers.CvN084-I.js} +1 -1
  113. package/dist/{layers.CwfByXy-.js → layers.CyAcFlmx.js} +3 -3
  114. package/dist/{layers.BLsIKrLx.js → layers.Cz9s9t5F.js} +1 -1
  115. package/dist/{layers.C2yUmsTP.js → layers.Cz_AZ59x.js} +1 -1
  116. package/dist/{layers.CpQ_a69q.js → layers.D-DZswwT.js} +1 -1
  117. package/dist/{layers.Bf8T95_Z.js → layers.D0l5bfkM.js} +1 -1
  118. package/dist/{layers.oZKOhPNd.js → layers.D2e1y7NI.js} +1 -1
  119. package/dist/{layers.8OBIXOSh.js → layers.D2oXdALm.js} +1 -1
  120. package/dist/{layers.DLyni2Ac.js → layers.D3BZbMSR.js} +1 -1
  121. package/dist/{layers.CDnrwnH0.js → layers.D5H0Gnw9.js} +1 -1
  122. package/dist/{layers.BQ-OrwnD.js → layers.D6Fj1BOx.js} +1 -1
  123. package/dist/{layers.BzMivglP.js → layers.D6OQIaYZ.js} +1 -1
  124. package/dist/{layers.C55jCEzM.js → layers.D6k9DFJG.js} +1 -1
  125. package/dist/{layers.CgLLFvZO.js → layers.DAX9YJBA.js} +1 -1
  126. package/dist/{layers.Ql7K083n.js → layers.DBuxnNx6.js} +1 -1
  127. package/dist/{layers.C6xtwzhE.js → layers.DC0EN6V5.js} +1 -1
  128. package/dist/{layers.DHd2D7T7.js → layers.DC1t5cII.js} +1 -1
  129. package/dist/{layers.DOpz5DH9.js → layers.DEjJbf07.js} +1 -1
  130. package/dist/{layers.mmejVddD.js → layers.DHZWZ41f.js} +1 -1
  131. package/dist/{layers.D9GPNC_v.js → layers.DIibf78V.js} +1 -1
  132. package/dist/{layers.CqblI-jY.js → layers.DIlEXNun.js} +1 -1
  133. package/dist/{layers.CrqR3B5v.js → layers.DJSi1_Av.js} +3 -3
  134. package/dist/{layers.ChyTHFDQ.js → layers.DLF1C-EW.js} +1 -1
  135. package/dist/{layers.DULbokgV.js → layers.DLGhwu8T.js} +1 -1
  136. package/dist/{layers.xmhPc5wo.js → layers.DMyPYwQb.js} +2 -2
  137. package/dist/{layers.D-TOWFJ_.js → layers.DO03nvDM.js} +3 -3
  138. package/dist/{layers.Be3_7Hc8.js → layers.DPm4lOtz.js} +1 -1
  139. package/dist/{layers.BOJe6vxE.js → layers.DSbVXVu9.js} +1 -1
  140. package/dist/{layers.BS8v9Cic.js → layers.DWvZ7ZAz.js} +1 -1
  141. package/dist/{layers.S0w0TCOW.js → layers.DXIwq6Qz.js} +3 -3
  142. package/dist/{layers.PBByzj_s.js → layers.DZNv8aXg.js} +1 -1
  143. package/dist/{layers.BxD9rfZA.js → layers.DZe3Ste1.js} +1 -1
  144. package/dist/{layers.DT5cNPfE.js → layers.D_U_utZe.js} +1 -1
  145. package/dist/{layers.Bd4I7QJA.js → layers.D_wInLw4.js} +1 -1
  146. package/dist/{layers.BU-piSYs.js → layers.DauPXDyt.js} +1 -1
  147. package/dist/{layers.CWLaVpQE.js → layers.Dbkbtfmq.js} +1 -1
  148. package/dist/{layers.DYthVlZa.js → layers.Dbqbr0nv.js} +2 -2
  149. package/dist/{layers.BfJ6CBck.js → layers.Dd1METWZ.js} +1 -1
  150. package/dist/{layers.Cu7tCkHw.js → layers.DdtA6ixe.js} +1 -1
  151. package/dist/{layers.CNqHTImb.js → layers.DdtAemc9.js} +1 -1
  152. package/dist/{layers.CfGcb4tY.js → layers.DeF3vlG8.js} +1 -1
  153. package/dist/{layers.BVY40Sn3.js → layers.DfDjAQfO.js} +1 -1
  154. package/dist/{layers.DdoEyq5U.js → layers.DgFENiwR.js} +4 -4
  155. package/dist/{layers.ChaLQZw4.js → layers.DgGjHsYY.js} +1 -1
  156. package/dist/{layers.5OJA3jHE.js → layers.DhDHyWPU.js} +1 -1
  157. package/dist/{layers.CrOT8tPC.js → layers.Dha9P5Y_.js} +3 -3
  158. package/dist/{layers.C9Ez2UU4.js → layers.Dht1Lwap.js} +1 -1
  159. package/dist/{layers.XGdmabM9.js → layers.Di3AlDaF.js} +1 -1
  160. package/dist/{layers.BPk0EiIO.js → layers.DiJj5pKv.js} +1 -1
  161. package/dist/{layers.Drnxs1Qw.js → layers.DihTagqd.js} +1 -1
  162. package/dist/layers.Dis83NM1.js +8 -0
  163. package/dist/{layers.B73BUPwn.js → layers.Dmu45Qbg.js} +1 -1
  164. package/dist/{layers.DH6qoWFu.js → layers.Dn9VFgbw.js} +3 -3
  165. package/dist/{layers.BdH3nEMU.js → layers.DoLyuNvZ.js} +1 -1
  166. package/dist/layers.DpI8ZZFI.js +196 -0
  167. package/dist/{layers.GNRN91pb.js → layers.DrCGUu-i.js} +1 -1
  168. package/dist/{layers.MzRBzZWU.js → layers.DrmnviCD.js} +1 -1
  169. package/dist/{layers.73oiv8JP.js → layers.Du6oHO1y.js} +1 -1
  170. package/dist/{layers._362tDnl.js → layers.DwQTqLPC.js} +3 -3
  171. package/dist/{layers.BubQQHg_.js → layers.Dx8TbcCP.js} +1 -1
  172. package/dist/{layers.U6V3pkyX.js → layers.DxxIJ7KK.js} +1 -1
  173. package/dist/{layers.17GGZMC3.js → layers.DzFkZ9QA.js} +1 -1
  174. package/dist/{layers.DTlCDunQ.js → layers.DzcHyFBh.js} +1 -1
  175. package/dist/{layers.BvnNuT6x.js → layers.DzdpC109.js} +1 -1
  176. package/dist/{layers.DgyFilRE.js → layers.E77_FbJt.js} +1 -1
  177. package/dist/{layers.Cgy_WmEp.js → layers.EcB4OKuW.js} +1 -1
  178. package/dist/{layers.CsJnsEdx.js → layers.ErLmKbMx.js} +4 -4
  179. package/dist/{layers.C3lWN_Q_.js → layers.FvGMFXgp.js} +1 -1
  180. package/dist/{layers.v9H6pS3_.js → layers.GTv409uS.js} +1 -1
  181. package/dist/{layers.m7jsuGkU.js → layers.GxYel07g.js} +1 -1
  182. package/dist/{layers.vrZ995b1.js → layers.HBaBIjD0.js} +1 -1
  183. package/dist/{layers.CBpO3AKM.js → layers.LJn-E2u3.js} +3 -3
  184. package/dist/{layers.BsJ1J-jV.js → layers.MaEUS5nb.js} +3 -3
  185. package/dist/{layers.BDCFeTBt.js → layers.Ok2vkAeW.js} +1 -1
  186. package/dist/{layers.9pO9KhGJ.js → layers.Q8fZSldL.js} +4 -4
  187. package/dist/{layers.kCQaq7Lv.js → layers.QcyROi4V.js} +1 -1
  188. package/dist/{layers.Ik7g1x_2.js → layers.Tgt2K4W1.js} +1 -1
  189. package/dist/{layers.ee2bB3ZC.js → layers.WfQjRakG.js} +3 -3
  190. package/dist/{layers.BKIXYvc9.js → layers.Z711LrFk.js} +1 -1
  191. package/dist/{layers.DPWv0K0T.js → layers.ZCLgkWki.js} +1 -1
  192. package/dist/{layers.d5eDue-o.js → layers.byWesqT6.js} +2 -2
  193. package/dist/{layers.DlBd9LND.js → layers.hAOpN33t.js} +1 -1
  194. package/dist/{layers.CFYmpFkS.js → layers.iG9DyniS.js} +1 -1
  195. package/dist/{layers.BAduaVYp.js → layers.jAscOF1C.js} +1 -1
  196. package/dist/{layers.B5V7Lbzh.js → layers.jOqs621A.js} +1 -1
  197. package/dist/{layers.wW7eIgAf.js → layers.jpgWpsAh.js} +1 -1
  198. package/dist/{layers.ck1WXjQR.js → layers.kWmNlaHU.js} +2 -2
  199. package/dist/{layers.BQKJHxgt.js → layers.kbJ03fTL.js} +1 -1
  200. package/dist/{layers.C1cRgfCH.js → layers.pPusYi3Y.js} +1 -1
  201. package/dist/{layers.DrWB9JGJ.js → layers.rmlHV4q1.js} +1 -1
  202. package/dist/{layers.wBAJCVbU.js → layers.tWqAq6de.js} +3 -3
  203. package/dist/{layers.Cg38zy5r.js → layers.usaj20BE.js} +1 -1
  204. package/dist/{layers.CiEMt-gd.js → layers.wYWjH0RV.js} +1 -1
  205. package/dist/{layers.x1efClfD.js → layers.xZk-dCsp.js} +1 -1
  206. package/dist/{layers.o84-NmrB.js → layers.xgLfkfxZ.js} +1 -1
  207. package/dist/{layers.WmEQjYMV.js → layers.z29HmzyL.js} +1 -1
  208. package/dist/{layers.ShHXkMxl.js → layers.zp3Y-iTX.js} +1 -1
  209. package/package.json +27 -27
  210. package/dist/layers.BF7SHsBQ.js +0 -1
  211. package/dist/layers.BWOpVkDC.js +0 -6
  212. package/dist/layers.C39pJJMy.js +0 -189
  213. package/dist/layers.D32-ufTq.js +0 -8
  214. package/dist/layers.D3xAByDs.js +0 -1
@@ -1,189 +0,0 @@
1
- "use strict";var CF=Object.defineProperty;var vF=(n,t,e)=>t in n?CF(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var F=(n,t,e)=>vF(n,typeof t!="symbol"?t+"":t,e);require("@mantine/dropzone");const A=require("react/jsx-runtime"),E=require("react"),pt=require("react-i18next"),yr=require("react-dom"),L=require("@mantine/core"),xF=require("i18next"),ee=require("@tabler/icons-react"),jt=require("@layers-app/shared"),SF=require("react-dom/server"),fs=require("lodash-es"),za=require("@mantine/hooks");function EF(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const e in n)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:()=>n[e]})}}return t.default=n,Object.freeze(t)}const nT=EF(E);function be(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function rT(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);e.search=r.toString(),console.warn(`Minified Lexical warning #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const Ci=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,kF=Ci&&"documentMode"in document?document.documentMode:null,ci=Ci&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),dl=Ci&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),jf=!(!Ci||!("InputEvent"in window)||kF)&&"getTargetRanges"in new window.InputEvent("input"),cu=Ci&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),Ua=Ci&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,TF=Ci&&/Android/.test(navigator.userAgent),iT=Ci&&/^(?=.*Chrome).*/i.test(navigator.userAgent),Sv=Ci&&TF&&iT,uu=Ci&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&ci&&!iT;function oT(...n){const t=[];for(const e of n)if(e&&typeof e=="string")for(const[r]of e.matchAll(/\S+/g))t.push(r);return t}const _F=0,NF=1,IF=2,sT=128,MF=1,DF=2,LF=3,OF=4,RF=5,PF=6,Lh=cu||Ua||uu?" ":"​",bs=`
2
-
3
- `,BF=dl?" ":Lh,lT="֑-߿יִ-﷽ﹰ-ﻼ",aT="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",FF=new RegExp("^[^"+aT+"]*["+lT+"]"),jF=new RegExp("^[^"+lT+"]*["+aT+"]"),No={bold:1,capitalize:1024,code:16,highlight:sT,italic:2,lowercase:256,strikethrough:4,subscript:32,superscript:64,underline:8,uppercase:512},zF={directionless:1,unmergeable:2},Ev={center:2,end:6,justify:4,left:1,right:3,start:5},UF={[DF]:"center",[PF]:"end",[OF]:"justify",[MF]:"left",[LF]:"right",[RF]:"start"},KF={normal:0,segmented:2,token:1},WF={[_F]:"normal",[IF]:"segmented",[NF]:"token"},kv="$config";function cT(n,t,e,r,i,o){let s=n.getFirstChild();for(;s!==null;){const l=s.__key;s.__parent===t&&(G(s)&&cT(s,l,e,r,i,o),e.has(l)||o.delete(l),i.push(l)),s=s.getNextSibling()}}let Vm=!1,Fy=0;function HF(n){Fy=n.timeStamp}function Zp(n,t,e){const r=n.nodeName==="BR",i=t.__lexicalLineBreak;return i&&(n===i||r&&n.previousSibling===i)||r&&Yh(n,e)!==void 0}function YF(n,t,e){const r=ni(ti(e));let i=null,o=null;r!==null&&r.anchorNode===n&&(i=r.anchorOffset,o=r.focusOffset);const s=n.nodeValue;s!==null&&eb(t,s,i,o,!1)}function ZF(n,t,e){if(Y(n)){const r=n.anchor.getNode();if(r.is(e)&&n.format!==r.getFormat())return!1}return Ho(t)&&e.isAttached()}function GF(n,t,e,r){for(let i=n;i&&!Ij(i);i=Ku(i)){const o=Yh(i,t);if(o!==void 0){const s=ve(o,e);if(s)return ot(s)||!Et(i)?void 0:[i,s]}else if(i===r)return[r,$T(e)]}}function uT(n,t,e){Vm=!0;const r=performance.now()-Fy>100;try{Tr(n,()=>{const i=J()||(function(g){return g.getEditorState().read(()=>{const p=J();return p!==null?p.clone():null})})(n),o=new Map,s=n.getRootElement(),l=n._editorState,c=n._blockCursorElement;let u=!1,d="";for(let g=0;g<t.length;g++){const p=t[g],m=p.type,y=p.target,w=GF(y,n,l,s);if(!w)continue;const[v,C]=w;if(m==="characterData")r&&ae(C)&&Ho(y)&&ZF(i,y,C)&&YF(y,C,n);else if(m==="childList"){u=!0;const x=p.addedNodes;for(let T=0;T<x.length;T++){const k=x[T],M=XT(k),I=k.parentNode;if(I!=null&&k!==c&&M===null&&!Zp(k,I,n)){if(dl){const R=(Et(k)?k.innerText:null)||k.nodeValue;R&&(d+=R)}I.removeChild(k)}}const _=p.removedNodes,N=_.length;if(N>0){let T=0;for(let k=0;k<N;k++){const M=_[k];(Zp(M,y,n)||c===M)&&(y.appendChild(M),T++)}N!==T&&o.set(v,C)}}}if(o.size>0)for(const[g,p]of o)p.reconcileObservedMutation(g,n);const h=e.takeRecords();if(h.length>0){for(let g=0;g<h.length;g++){const p=h[g],m=p.addedNodes,y=p.target;for(let w=0;w<m.length;w++){const v=m[w],C=v.parentNode;C==null||v.nodeName!=="BR"||Zp(v,y,n)||C.removeChild(v)}}e.takeRecords()}i!==null&&(u&&Ve(i),dl&&o1(n)&&i.insertRawText(d))})}finally{Vm=!1}}function dT(n){const t=n._observer;t!==null&&uT(n,t.takeRecords(),t)}function fT(n){(function(t){Fy===0&&ti(t).addEventListener("textInput",HF,!0)})(n),n._observer=new MutationObserver((t,e)=>{uT(n,t,e)})}let JF=class{constructor(t,e){F(this,"key");F(this,"parse");F(this,"unparse");F(this,"isEqual");F(this,"defaultValue");this.key=t,this.parse=e.parse.bind(e),this.unparse=(e.unparse||VF).bind(e),this.isEqual=(e.isEqual||Object.is).bind(e),this.defaultValue=this.parse(void 0)}};function hT(n,t){return new JF(n,t)}function gT(n,t,e="latest"){const r=(e==="latest"?n.getLatest():n).__state;return r?r.getValue(t):t.defaultValue}function Gp(n,t,e){let r;if(In(),typeof e=="function"){const o=n.getLatest(),s=gT(o,t);if(r=e(s),t.isEqual(s,r))return o}else r=e;const i=n.getWritable();return Oh(i).updateFromKnown(t,r),i}function pT(n){const t=new Map,e=new Set;for(let r=typeof n=="function"?n:n.replace;r.prototype&&r.prototype.getType!==void 0;r=Object.getPrototypeOf(r)){const{ownNodeConfig:i}=Gh(r);if(i&&i.stateConfigs)for(const o of i.stateConfigs){let s;"stateConfig"in o?(s=o.stateConfig,o.flat&&e.add(s.key)):s=o,t.set(s.key,s)}}return{flatKeys:e,sharedConfigMap:t}}let QF=class mT{constructor(t,e,r=void 0,i=new Map,o=void 0){F(this,"node");F(this,"knownState");F(this,"unknownState");F(this,"sharedNodeState");F(this,"size");this.node=t,this.sharedNodeState=e,this.unknownState=r,this.knownState=i;const{sharedConfigMap:s}=this.sharedNodeState,l=o!==void 0?o:(function(c,u,d){let h=d.size;if(u)for(const g in u){const p=c.get(g);p&&d.has(p)||h++}return h})(s,r,i);this.size=l}getValue(t){const e=this.knownState.get(t);if(e!==void 0)return e;this.sharedNodeState.sharedConfigMap.set(t.key,t);let r=t.defaultValue;if(this.unknownState&&t.key in this.unknownState){const i=this.unknownState[t.key];i!==void 0&&(r=t.parse(i)),this.updateFromKnown(t,r)}return r}getInternalState(){return[this.unknownState,this.knownState]}toJSON(){const t={...this.unknownState},e={};for(const[r,i]of this.knownState)r.isEqual(i,r.defaultValue)?delete t[r.key]:t[r.key]=r.unparse(i);for(const r of this.sharedNodeState.flatKeys)r in t&&(e[r]=t[r],delete t[r]);return Tv(t)&&(e.$=t),e}getWritable(t){if(this.node===t)return this;const{sharedNodeState:e,unknownState:r}=this,i=new Map(this.knownState);return new mT(t,e,(function(o,s,l){let c;if(l)for(const[u,d]of Object.entries(l)){const h=o.get(u);h?s.has(h)||s.set(h,h.parse(d)):(c=c||{},c[u]=d)}return c})(e.sharedConfigMap,i,r),i,this.size)}updateFromKnown(t,e){const r=t.key;this.sharedNodeState.sharedConfigMap.set(r,t);const{knownState:i,unknownState:o}=this;i.has(t)||o&&r in o||(o&&(delete o[r],this.unknownState=Tv(o)),this.size++),i.set(t,e)}updateFromUnknown(t,e){const r=this.sharedNodeState.sharedConfigMap.get(t);r?this.updateFromKnown(r,r.parse(e)):(this.unknownState=this.unknownState||{},t in this.unknownState||this.size++,this.unknownState[t]=e)}updateFromJSON(t){const{knownState:e}=this;for(const r of e.keys())e.set(r,r.defaultValue);if(this.size=e.size,this.unknownState=void 0,t)for(const[r,i]of Object.entries(t))this.updateFromUnknown(r,i)}};function Oh(n){const t=n.getWritable(),e=t.__state?t.__state.getWritable(t):new QF(t,AT(t));return t.__state=e,e}function AT(n){return n.__state?n.__state.sharedNodeState:GT(Wl(),n.getType()).sharedNodeState}function Tv(n){if(n)for(const t in n)return n}function VF(n){return n}function _v(n,t,e){for(const[r,i]of t.knownState){if(n.has(r.key))continue;n.add(r.key);const o=e?e.getValue(r):r.defaultValue;if(o!==i&&!r.isEqual(o,i))return!0}return!1}function Nv(n,t,e){const{unknownState:r}=t,i=e?e.unknownState:void 0;if(r){for(const[o,s]of Object.entries(r))if(!n.has(o)&&(n.add(o),s!==(i?i[o]:void 0)))return!0}return!1}function Iv(n,t){const e=n.__state;return e&&e.node===n?e.getWritable(t):e}function Mv(n,t){const e=n.__mode,r=n.__format,i=n.__style,o=t.__mode,s=t.__format,l=t.__style,c=n.__state,u=t.__state;return(e===null||e===o)&&(r===null||r===s)&&(i===null||i===l)&&(n.__state===null||c===u||(function(d,h){if(d===h)return!0;if(d&&h&&d.size!==h.size)return!1;const g=new Set;return!(d&&_v(g,d,h)||h&&_v(g,h,d)||d&&Nv(g,d,h)||h&&Nv(g,h,d))})(c,u))}function Dv(n,t){const e=n.mergeWithSibling(t),r=qt()._normalizedNodes;return r.add(n.__key),r.add(t.__key),e}function Lv(n){let t,e,r=n;if(r.__text!==""||!r.isSimpleText()||r.isUnmergeable()){for(;(t=r.getPreviousSibling())!==null&&ae(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(t.__text!==""){if(Mv(t,r)){r=Dv(t,r);break}break}t.remove()}for(;(e=r.getNextSibling())!==null&&ae(e)&&e.isSimpleText()&&!e.isUnmergeable();){if(e.__text!==""){if(Mv(r,e)){r=Dv(r,e);break}break}e.remove()}}else r.remove()}function ws(n){return Ov(n.anchor),Ov(n.focus),n}function Ov(n){for(;n.type==="element";){const t=n.getNode(),e=n.offset;let r,i;if(e===t.getChildrenSize()?(r=t.getChildAtIndex(e-1),i=!0):(r=t.getChildAtIndex(e),i=!1),ae(r)){n.set(r.__key,i?r.getTextContentSize():0,"text",!0);break}if(!G(r))break;n.set(r.__key,i?r.getChildrenSize():0,"element",!0)}}let fl,Vn,du,Rh,Xm,qm,hl,fi,$m,fu,wn="",ki=null,Ti="",mo="",wa=!1,zf=!1;function Uf(n,t){const e=hl.get(n);if(t!==null){const r=rA(n);r.parentNode===t&&t.removeChild(r)}if(fi.has(n)||Vn._keyToDOMMap.delete(n),G(e)){const r=Wf(e,hl);eA(r,0,r.length-1,null)}e!==void 0&&tb(fu,du,Rh,e,"destroyed")}function eA(n,t,e,r){let i=t;for(;i<=e;++i){const o=n[i];o!==void 0&&Uf(o,r)}}function Zs(n,t){n.setProperty("text-align",t)}const XF="40px";function yT(n,t){const e=fl.theme.indent;if(typeof e=="string"){const i=n.classList.contains(e);t>0&&!i?n.classList.add(e):t<1&&i&&n.classList.remove(e)}const r=getComputedStyle(n).getPropertyValue("--lexical-indent-base-value")||XF;n.style.setProperty("padding-inline-start",t===0?"":`calc(${t} * ${r})`)}function bT(n,t){const e=n.style;t===0?Zs(e,""):t===1?Zs(e,"left"):t===2?Zs(e,"center"):t===3?Zs(e,"right"):t===4?Zs(e,"justify"):t===5?Zs(e,"start"):t===6&&Zs(e,"end")}function tA(n,t){const e=(function(r){const i=r.__dir;if(i!==null)return i;if(Yt(r))return null;const o=r.getParentOrThrow();return Yt(o)&&o.__dir===null?"auto":null})(t);e!==null?n.dir=e:n.removeAttribute("dir")}function Kf(n,t){const e=fi.get(n);e===void 0&&be(60);const r=e.createDOM(fl,Vn);if((function(i,o,s){const l=s._keyToDOMMap;(function(c,u,d){const h=`__lexicalKey_${u._key}`;c[h]=d})(o,s,i),l.set(i,o)})(n,r,Vn),ae(e)?r.setAttribute("data-lexical-text","true"):ot(e)&&r.setAttribute("data-lexical-decorator","true"),G(e)){const i=e.__indent,o=e.__size;if(tA(r,e),i!==0&&yT(r,i),o!==0){const l=o-1;nA(Wf(e,fi),e,0,l,e.getDOMSlot(r))}const s=e.__format;s!==0&&bT(r,s),e.isInline()||wT(null,e,r),Zh(e)&&(wn+=bs,mo+=bs)}else{const i=e.getTextContent();if(ot(e)){const o=e.decorate(Vn,fl);o!==null&&CT(n,o),r.contentEditable="false"}wn+=i,mo+=i}return t!==null&&t.insertChild(r),tb(fu,du,Rh,e,"created"),r}function nA(n,t,e,r,i){const o=wn;wn="";let s=e;for(;s<=r;++s){Kf(n[s],i);const l=fi.get(n[s]);l!==null&&ae(l)&&(ki===null&&(ki=l.getFormat()),Ti===""&&(Ti=l.getStyle()))}Zh(t)&&(wn+=bs),i.element.__lexicalTextContent=wn,wn=o+wn}function Rv(n,t){if(n){const e=n.__last;if(e){const r=t.get(e);if(r)return Dt(r)?"line-break":ot(r)&&r.isInline()?"decorator":null}return"empty"}return null}function wT(n,t,e){const r=Rv(n,hl),i=Rv(t,fi);r!==i&&t.getDOMSlot(e).setManagedLineBreak(i)}function qF(n,t,e){var r;ki=null,Ti="",(function(i,o,s){const l=wn,c=i.__size,u=o.__size;wn="";const d=s.element;if(c===1&&u===1){const h=i.__first,g=o.__first;if(h===g)zc(h,d);else{const m=rA(h),y=Kf(g,null);try{d.replaceChild(y,m)}catch(w){if(typeof w=="object"&&w!=null){const v=`${w.toString()} Parent: ${d.tagName}, new child: {tag: ${y.tagName} key: ${g}}, old child: {tag: ${m.tagName}, key: ${h}}.`;throw new Error(v)}throw w}Uf(h,null)}const p=fi.get(g);ae(p)&&(ki===null&&(ki=p.getFormat()),Ti===""&&(Ti=p.getStyle()))}else{const h=Wf(i,hl),g=Wf(o,fi);if(h.length!==c&&be(227),g.length!==u&&be(228),c===0)u!==0&&nA(g,o,0,u-1,s);else if(u===0){if(c!==0){const p=s.after==null&&s.before==null&&s.element.__lexicalLineBreak==null;eA(h,0,c-1,p?null:d),p&&(d.textContent="")}}else(function(p,m,y,w,v,C){const x=w-1,_=v-1;let N,T,k=C.getFirstChild(),M=0,I=0;for(;M<=x&&I<=_;){const U=m[M],j=y[I];if(U===j)k=Jp(zc(j,C.element)),M++,I++;else{N===void 0&&(N=new Set(m)),T===void 0&&(T=new Set(y));const V=T.has(U),ue=N.has(j);if(V)if(ue){const fe=yl(Vn,j);fe===k?k=Jp(zc(j,C.element)):(C.withBefore(k).insertChild(fe),zc(j,C.element)),M++,I++}else Kf(j,C.withBefore(k)),I++;else k=Jp(rA(U)),Uf(U,C.element),M++}const K=fi.get(j);K!==null&&ae(K)&&(ki===null&&(ki=K.getFormat()),Ti===""&&(Ti=K.getStyle()))}const R=M>x,B=I>_;if(R&&!B){const U=y[_+1],j=U===void 0?null:Vn.getElementByKey(U);nA(y,p,I,_,C.withBefore(j))}else B&&!R&&eA(m,M,x,C.element)})(o,h,g,c,u,s)}Zh(o)&&(wn+=bs),d.__lexicalTextContent=wn,wn=l+wn})(n,t,t.getDOMSlot(e)),r=t,ki==null||ki===r.__textFormat||zf||r.setTextFormat(ki),(function(i){Ti===""||Ti===i.__textStyle||zf||i.setTextStyle(Ti)})(t)}function Wf(n,t){const e=[];let r=n.__first;for(;r!==null;){const i=t.get(r);i===void 0&&be(101),e.push(r),r=i.__next}return e}function zc(n,t){const e=hl.get(n);let r=fi.get(n);e!==void 0&&r!==void 0||be(61);const i=wa||qm.has(n)||Xm.has(n),o=yl(Vn,n);if(e===r&&!i){if(G(e)){const s=o.__lexicalTextContent;s!==void 0&&(wn+=s,mo+=s)}else{const s=e.getTextContent();mo+=s,wn+=s}return o}if(e!==r&&i&&tb(fu,du,Rh,r,"updated"),r.updateDOM(e,o,fl)){const s=Kf(n,null);return t===null&&be(62),t.replaceChild(s,o),Uf(n,null),s}if(G(e)&&G(r)){const s=r.__indent;(wa||s!==e.__indent)&&yT(o,s);const l=r.__format;if((wa||l!==e.__format)&&bT(o,l),i&&(qF(e,r,o),Yt(r)||r.isInline()||wT(e,r,o)),Zh(r)&&(wn+=bs,mo+=bs),(wa||r.__dir!==e.__dir)&&(tA(o,r),Yt(r)&&!wa))for(const c of r.getChildren())G(c)&&tA(yl(Vn,c.getKey()),c)}else{const s=r.getTextContent();if(ot(r)){const l=r.decorate(Vn,fl);l!==null&&CT(n,l)}wn+=s,mo+=s}if(!zf&&Yt(r)&&r.__cachedText!==mo){const s=r.getWritable();s.__cachedText=mo,r=s}return o}function CT(n,t){let e=Vn._pendingDecorators;const r=Vn._decorators;if(e===null){if(r[n]===t)return;e=qT(Vn)}e[n]=t}function Jp(n){let t=n.nextSibling;return t!==null&&t===Vn._blockCursorElement&&(t=t.nextSibling),t}function $F(n,t,e,r,i,o){wn="",mo="",wa=r===2,Vn=e,fl=e._config,du=e._nodes,Rh=Vn._listeners.mutation,Xm=i,qm=o,hl=n._nodeMap,fi=t._nodeMap,zf=t._readOnly,$m=new Map(e._keyToDOMMap);const s=new Map;return fu=s,zc("root",null),Vn=void 0,du=void 0,Xm=void 0,qm=void 0,hl=void 0,fi=void 0,fl=void 0,$m=void 0,fu=void 0,s}function rA(n){const t=$m.get(n);return t===void 0&&be(75,n),t}function we(n){return{type:n}}const Gr=we("SELECTION_CHANGE_COMMAND"),vT=we("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"),jo=we("CLICK_COMMAND"),Pi=we("DELETE_CHARACTER_COMMAND"),ol=we("INSERT_LINE_BREAK_COMMAND"),Io=we("INSERT_PARAGRAPH_COMMAND"),hs=we("CONTROLLED_TEXT_INSERTION_COMMAND"),Ol=we("PASTE_COMMAND"),iA=we("REMOVE_TEXT_COMMAND"),Ka=we("DELETE_WORD_COMMAND"),gl=we("DELETE_LINE_COMMAND"),Mt=we("FORMAT_TEXT_COMMAND"),$a=we("UNDO_COMMAND"),Rl=we("REDO_COMMAND"),Pl=we("KEYDOWN_COMMAND"),Ph=we("KEY_ARROW_RIGHT_COMMAND"),oA=we("MOVE_TO_END"),Bh=we("KEY_ARROW_LEFT_COMMAND"),Hf=we("MOVE_TO_START"),Hi=we("KEY_ARROW_UP_COMMAND"),Cs=we("KEY_ARROW_DOWN_COMMAND"),pl=we("KEY_ENTER_COMMAND"),jy=we("KEY_SPACE_COMMAND"),Bl=we("KEY_BACKSPACE_COMMAND"),ec=we("KEY_ESCAPE_COMMAND"),tc=we("KEY_DELETE_COMMAND"),nc=we("KEY_TAB_COMMAND"),sA=we("INSERT_TAB_COMMAND"),Bi=we("INDENT_CONTENT_COMMAND"),ls=we("OUTDENT_CONTENT_COMMAND"),zy=we("DROP_COMMAND"),as=we("FORMAT_ELEMENT_COMMAND"),Uy=we("DRAGSTART_COMMAND"),Ky=we("DRAGOVER_COMMAND"),ej=we("DRAGEND_COMMAND"),Fl=we("COPY_COMMAND"),Ru=we("CUT_COMMAND"),lA=we("SELECT_ALL_COMMAND"),Fh=we("CLEAR_EDITOR_COMMAND"),Wy=we("CLEAR_HISTORY_COMMAND"),ka=we("CAN_REDO_COMMAND"),Ta=we("CAN_UNDO_COMMAND"),Os=we("FOCUS_COMMAND"),jh=we("BLUR_COMMAND"),xT=we("KEY_MODIFIER_COMMAND"),uo=Object.freeze({}),aA=[["keydown",function(n,t){if(Qc=n.timeStamp,ST=n.key,!t.isComposing()&&!Ie(t,Pl,n)&&n.key!=null){if(Qp&&ux(n))return Tr(t,()=>{Vd(t,Vp)}),Qp=!1,void(Vp="");if((function(e){return Nt(e,"ArrowRight",{shiftKey:"any"})})(n))Ie(t,Ph,n);else if((function(e){return Nt(e,"ArrowRight",po)})(n))Ie(t,oA,n);else if((function(e){return Nt(e,"ArrowLeft",{shiftKey:"any"})})(n))Ie(t,Bh,n);else if((function(e){return Nt(e,"ArrowLeft",po)})(n))Ie(t,Hf,n);else if((function(e){return Nt(e,"ArrowUp",{altKey:"any",shiftKey:"any"})})(n))Ie(t,Hi,n);else if((function(e){return Nt(e,"ArrowDown",{altKey:"any",shiftKey:"any"})})(n))Ie(t,Cs,n);else if((function(e){return Nt(e,"Enter",{altKey:"any",ctrlKey:"any",metaKey:"any",shiftKey:!0})})(n))Vc=!0,Ie(t,pl,n);else if((function(e){return e.key===" "})(n))Ie(t,jy,n);else if((function(e){return ci&&Nt(e,"o",{ctrlKey:!0})})(n))n.preventDefault(),Vc=!0,Ie(t,ol,!0);else if((function(e){return Nt(e,"Enter",{altKey:"any",ctrlKey:"any",metaKey:"any"})})(n))Vc=!1,Ie(t,pl,n);else if((function(e){return Nt(e,"Backspace",{shiftKey:"any"})||ci&&Nt(e,"h",{ctrlKey:!0})})(n))ux(n)?Ie(t,Bl,n):(n.preventDefault(),Ie(t,Pi,!0));else if((function(e){return e.key==="Escape"})(n))Ie(t,ec,n);else if((function(e){return Nt(e,"Delete",{})||ci&&Nt(e,"d",{ctrlKey:!0})})(n))(function(e){return e.key==="Delete"})(n)?Ie(t,tc,n):(n.preventDefault(),Ie(t,Pi,!1));else if((function(e){return Nt(e,"Backspace",cx)})(n))n.preventDefault(),Ie(t,Ka,!0);else if((function(e){return Nt(e,"Delete",cx)})(n))n.preventDefault(),Ie(t,Ka,!1);else if((function(e){return ci&&Nt(e,"Backspace",{metaKey:!0})})(n))n.preventDefault(),Ie(t,gl,!0);else if((function(e){return ci&&(Nt(e,"Delete",{metaKey:!0})||Nt(e,"k",{ctrlKey:!0}))})(n))n.preventDefault(),Ie(t,gl,!1);else if((function(e){return Nt(e,"b",po)})(n))n.preventDefault(),Ie(t,Mt,"bold");else if((function(e){return Nt(e,"u",po)})(n))n.preventDefault(),Ie(t,Mt,"underline");else if((function(e){return Nt(e,"i",po)})(n))n.preventDefault(),Ie(t,Mt,"italic");else if((function(e){return Nt(e,"Tab",{shiftKey:"any"})})(n))Ie(t,nc,n);else if((function(e){return Nt(e,"z",po)})(n))n.preventDefault(),Ie(t,$a,void 0);else if((function(e){return ci?Nt(e,"z",{metaKey:!0,shiftKey:!0}):Nt(e,"y",{ctrlKey:!0})||Nt(e,"z",{ctrlKey:!0,shiftKey:!0})})(n))n.preventDefault(),Ie(t,Rl,void 0);else{const e=t._editorState._selection;e===null||Y(e)?dx(n)&&(n.preventDefault(),Ie(t,lA,n)):(function(r){return Nt(r,"c",po)})(n)?(n.preventDefault(),Ie(t,Fl,n)):(function(r){return Nt(r,"x",po)})(n)?(n.preventDefault(),Ie(t,Ru,n)):dx(n)&&(n.preventDefault(),Ie(t,lA,n))}(function(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey})(n)&&Ie(t,xT,n)}}],["pointerdown",function(n,t){const e=n.target,r=n.pointerType;Kl(e)&&r!=="touch"&&r!=="pen"&&n.button===0&&Tr(t,()=>{sx(e)||(dA=!0)})}],["compositionstart",function(n,t){Tr(t,()=>{const e=J();if(Y(e)&&!t.isComposing()){const r=e.anchor,i=e.anchor.getNode();zn(r.key),(n.timeStamp<Qc+30||r.type==="element"||!e.isCollapsed()||i.getFormat()!==e.format||ae(i)&&i.getStyle()!==e.style)&&Ie(t,hs,BF)}})}],["compositionend",function(n,t){dl?Lc=!0:Ua||!cu&&!uu?Tr(t,()=>{Vd(t,n.data)}):(Qp=!0,Vp=n.data)}],["input",function(n,t){n.stopPropagation(),Tr(t,()=>{if(Et(n.target)&&sx(n.target))return;const e=J(),r=n.data,i=NT(n);if(r!=null&&Y(e)&&TT(e,i,r,n.timeStamp,!1)){Lc&&(Vd(t,r),Lc=!1);const o=e.anchor.getNode(),s=ni(ti(t));if(s===null)return;const l=e.isBackward(),c=l?e.anchor.offset:e.focus.offset,u=l?e.focus.offset:e.anchor.offset;jf&&!e.isCollapsed()&&ae(o)&&s.anchorNode!==null&&o.getTextContent().slice(0,c)+r+o.getTextContent().slice(c+u)===n1(s.anchorNode)||Ie(t,hs,r);const d=r.length;dl&&d>1&&n.inputType==="insertCompositionText"&&!t.isComposing()&&(e.anchor.offset-=d),cu||Ua||uu||!t.isComposing()||(Qc=0,zn(null))}else $y(!1,t,r!==null?r:void 0),Lc&&(Vd(t,r||void 0),Lc=!1);(function(){In();const o=qt();dT(o)})()},{event:n}),Ca=null}],["click",function(n,t){Tr(t,()=>{const e=J(),r=ni(ti(t)),i=Uo();if(r){if(Y(e)){const o=e.anchor,s=o.getNode();if(o.type==="element"&&o.offset===0&&e.isCollapsed()&&!Yt(s)&&Re().getChildrenSize()===1&&s.getTopLevelElementOrThrow().isEmpty()&&i!==null&&e.is(i))r.removeAllRanges(),e.dirty=!0;else if(n.detail===3&&!e.isCollapsed()&&s!==e.focus.getNode()){const l=Te(s,c=>G(c)&&!c.isInline());G(l)&&l.select(0)}}else if(n.pointerType==="touch"||n.pointerType==="pen"){const o=r.anchorNode;(Et(o)||Ho(o))&&Ve(Uh(i,r,t,n))}}Ie(t,jo,n)})}],["cut",uo],["copy",uo],["dragstart",uo],["dragover",uo],["dragend",uo],["paste",uo],["focus",uo],["blur",uo],["drop",uo]];jf&&aA.push(["beforeinput",(n,t)=>(function(e,r){const i=e.inputType,o=NT(e);i==="deleteCompositionText"||dl&&o1(r)||i!=="insertCompositionText"&&Tr(r,()=>{const s=J();if(i==="deleteContentBackward"){if(s===null){const p=Uo();if(!Y(p))return;Ve(p.clone())}if(Y(s)){const p=s.anchor.key===s.focus.key;if(l=e.timeStamp,ST==="MediaLast"&&l<Qc+30&&r.isComposing()&&p){if(zn(null),Qc=0,setTimeout(()=>{Tr(r,()=>{zn(null)})},30),Y(s)){const m=s.anchor.getNode();m.markDirty(),ae(m)||be(142),_T(s,m)}}else{zn(null),e.preventDefault();const m=s.anchor.getNode(),y=m.getTextContent(),w=m.canInsertTextAfter(),v=s.anchor.offset===0&&s.focus.offset===y.length;let C=Sv&&p&&!v&&w;if(C&&s.isCollapsed()&&(C=!ot(mA(s.anchor,!0))),!C){Ie(r,Pi,!0);const x=J();Sv&&Y(x)&&x.isCollapsed()&&(Xs=x,setTimeout(()=>Xs=null))}}return}}var l;if(!Y(s))return;const c=e.data;Ca!==null&&$y(!1,r,Ca),s.dirty&&Ca===null||!s.isCollapsed()||Yt(s.anchor.getNode())||o===null||s.applyDOMRange(o),Ca=null;const u=s.anchor,d=s.focus,h=u.getNode(),g=d.getNode();if(i!=="insertText"&&i!=="insertTranspose")switch(e.preventDefault(),i){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":Ie(r,hs,e);break;case"insertFromComposition":zn(null),Ie(r,hs,e);break;case"insertLineBreak":zn(null),Ie(r,ol,!1);break;case"insertParagraph":zn(null),Vc&&!Ua?(Vc=!1,Ie(r,ol,!1)):Ie(r,Io,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":Ie(r,Ol,e);break;case"deleteByComposition":(function(p,m){return p!==m||G(p)||G(m)||!sl(p)||!sl(m)})(h,g)&&Ie(r,iA,e);break;case"deleteByDrag":case"deleteByCut":Ie(r,iA,e);break;case"deleteContent":Ie(r,Pi,!1);break;case"deleteWordBackward":Ie(r,Ka,!0);break;case"deleteWordForward":Ie(r,Ka,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":Ie(r,gl,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":Ie(r,gl,!1);break;case"formatStrikeThrough":Ie(r,Mt,"strikethrough");break;case"formatBold":Ie(r,Mt,"bold");break;case"formatItalic":Ie(r,Mt,"italic");break;case"formatUnderline":Ie(r,Mt,"underline");break;case"historyUndo":Ie(r,$a,void 0);break;case"historyRedo":Ie(r,Rl,void 0)}else{if(c===`
4
- `)e.preventDefault(),Ie(r,ol,!1);else if(c===bs)e.preventDefault(),Ie(r,Io,void 0);else if(c==null&&e.dataTransfer){const p=e.dataTransfer.getData("text/plain");e.preventDefault(),s.insertRawText(p)}else c!=null&&TT(s,o,c,e.timeStamp,!0)?(e.preventDefault(),Ie(r,hs,c)):Ca=c;ET=e.timeStamp}})})(n,t)]);let Qc=0,ST=null,ET=0,Ca=null;const cA=new WeakMap,Yf=new WeakMap;let uA=!1,dA=!1,Vc=!1,Lc=!1,Qp=!1,Vp="",Xs=null,kT=[0,"",0,"root",0];function TT(n,t,e,r,i){const o=n.anchor,s=n.focus,l=o.getNode(),c=qt(),u=ni(ti(c)),d=u!==null?u.anchorNode:null,h=o.key,g=c.getElementByKey(h),p=e.length;return h!==s.key||!ae(l)||(!i&&(!jf||ET<r+50)||l.isDirty()&&p<2||e1(e))&&o.offset!==s.offset&&!l.isComposing()||_i(l)||l.isDirty()&&p>1||(i||!jf)&&g!==null&&!l.isComposing()&&d!==Wa(g)||u!==null&&t!==null&&(!t.collapsed||t.startContainer!==u.anchorNode||t.startOffset!==u.anchorOffset)||l.getFormat()!==n.format||l.getStyle()!==n.style||(function(m,y){if(y.isSegmented())return!0;if(!m.isCollapsed())return!1;const w=m.anchor.offset,v=y.getParentOrThrow(),C=sl(y);return w===0?!y.canInsertTextBefore()||!v.canInsertTextBefore()&&!y.isComposing()||C||(function(x){const _=x.getPreviousSibling();return(ae(_)||G(_)&&_.isInline())&&!_.canInsertTextAfter()})(y):w===y.getTextContentSize()&&(!y.canInsertTextAfter()||!v.canInsertTextAfter()&&!y.isComposing()||C)})(n,l)}function Pv(n,t){return Ho(n)&&n.nodeValue!==null&&t!==0&&t!==n.nodeValue.length}function Bv(n,t,e){const{anchorNode:r,anchorOffset:i,focusNode:o,focusOffset:s}=n;uA&&(uA=!1,Pv(r,i)&&Pv(o,s)&&!Xs)||Tr(t,()=>{if(!e)return void Ve(null);if(!zu(t,r,o))return;let l=J();if(Xs&&Y(l)&&l.isCollapsed()){const c=l.anchor,u=Xs.anchor;(c.key===u.key&&c.offset===u.offset+1||c.offset===1&&u.getNode().is(c.getNode().getPreviousSibling()))&&(l=Xs.clone(),Ve(l))}if(Xs=null,Y(l)){const c=l.anchor,u=c.getNode();if(l.isCollapsed()){n.type==="Range"&&n.anchorNode===n.focusNode&&(l.dirty=!0);const d=ti(t).event,h=d?d.timeStamp:performance.now(),[g,p,m,y,w]=kT,v=Re(),C=t.isComposing()===!1&&v.getTextContent()==="";if(h<w+200&&c.offset===m&&c.key===y)Tf(l,g,p);else if(c.type==="text")ae(u)||be(141),_T(l,u);else if(c.type==="element"&&!C){G(u)||be(259);const x=c.getNode();x.isEmpty()?(function(_,N){const T=N.getTextFormat(),k=N.getTextStyle();Tf(_,T,k)})(l,x):Tf(l,0,"")}}else{const d=c.key,h=l.focus.key,g=l.getNodes(),p=g.length,m=l.isBackward(),y=m?s:i,w=m?i:s,v=m?h:d,C=m?d:h;let x=2047,_=!1;for(let N=0;N<p;N++){const T=g[N],k=T.getTextContentSize();if(ae(T)&&k!==0&&!(N===0&&T.__key===v&&y===k||N===p-1&&T.__key===C&&w===0)&&(_=!0,x&=T.getFormat(),x===0))break}l.format=_?x:0}}Ie(t,Gr,void 0)})}function Tf(n,t,e){n.format===t&&n.style===e||(n.format=t,n.style=e,n.dirty=!0)}function _T(n,t){Tf(n,t.getFormat(),t.getStyle())}function NT(n){if(!n.getTargetRanges)return null;const t=n.getTargetRanges();return t.length===0?null:t[0]}function Vd(n,t){const e=n._compositionKey;if(zn(null),e!==null&&t!=null){if(t===""){const r=ve(e),i=Wa(n.getElementByKey(e));return void(i!==null&&i.nodeValue!==null&&ae(r)&&eb(r,i.nodeValue,null,null,!0))}if(t[t.length-1]===`
5
- `){const r=J();if(Y(r)){const i=r.focus;return r.anchor.set(i.key,i.offset,i.type),void Ie(n,pl,null)}}}$y(!0,n,t)}function IT(n){let t=n.__lexicalEventHandles;return t===void 0&&(t=[],n.__lexicalEventHandles=t),t}const La=new Map;function MT(n){const t=Tj(n.target);if(t===null)return;const e=Uu(t.anchorNode);if(e===null)return;dA&&(dA=!1,Tr(e,()=>{const c=Uo(),u=t.anchorNode;(Et(u)||Ho(u))&&Ve(Uh(c,t,e,n))}));const r=qy(e),i=r[r.length-1],o=i._key,s=La.get(o),l=s||i;l!==e&&Bv(t,l,!1),Bv(t,e,!0),e!==i?La.set(o,e):s&&La.delete(o)}function Fv(n){n._lexicalHandled=!0}function jv(n){return n._lexicalHandled===!0}function tj(n){const t=cA.get(n);if(t===void 0)return;const e=Yf.get(t);if(e===void 0)return;const r=e-1;r>=0||be(164),cA.delete(n),Yf.set(t,r),r===0&&t.removeEventListener("selectionchange",MT);const i=Hh(n);Xy(i)?((function(s){if(s._parentEditor!==null){const l=qy(s),c=l[l.length-1]._key;La.get(c)===s&&La.delete(c)}else La.delete(s._key)})(i),n.__lexicalEditor=null):i&&be(198);const o=IT(n);for(let s=0;s<o.length;s++)o[s]();n.__lexicalEventHandles=[]}function fA(n,t,e){In();const r=n.__key,i=n.getParent();if(i===null)return;const o=(function(l){const c=J();if(!Y(c)||!G(l))return c;const{anchor:u,focus:d}=c,h=u.getNode(),g=d.getNode();return AA(h,l)&&u.set(l.__key,0,"element"),AA(g,l)&&d.set(l.__key,0,"element"),c})(n);let s=!1;if(Y(o)&&t){const l=o.anchor,c=o.focus;l.key===r&&(Jf(l,n,i,n.getPreviousSibling(),n.getNextSibling()),s=!0),c.key===r&&(Jf(c,n,i,n.getPreviousSibling(),n.getNextSibling()),s=!0)}else Vt(o)&&t&&n.isSelected()&&n.selectPrevious();if(Y(o)&&t&&!s){const l=n.getIndexWithinParent();Eo(n),Gf(o,i,l,-1)}else Eo(n);e||qn(i)||i.canBeEmpty()||!i.isEmpty()||fA(i,t),t&&o&&Yt(i)&&i.isEmpty()&&i.selectEnd()}const DT=Symbol.for("ephemeral");function Zf(n){return n[DT]||!1}class hi{constructor(t){F(this,"__type");F(this,"__key");F(this,"__parent");F(this,"__prev");F(this,"__next");F(this,"__state");this.__type=this.constructor.getType(),this.__parent=null,this.__prev=null,this.__next=null,Object.defineProperty(this,"__state",{configurable:!0,enumerable:!1,value:void 0,writable:!0}),VT(this,t)}static getType(){const{ownNodeType:t}=Gh(this);return t===void 0&&be(64,this.name),t}static clone(t){be(65,this.name)}$config(){return{}}config(t,e){const r=e.extends||Object.getPrototypeOf(this.constructor);return Object.assign(e,{extends:r,type:t}),{[t]:e}}afterCloneFrom(t){this.__key===t.__key?(this.__parent=t.__parent,this.__next=t.__next,this.__prev=t.__prev,this.__state=t.__state):t.__state&&(this.__state=t.__state.getWritable(this))}getType(){return this.__type}isInline(){be(137,this.constructor.name)}isAttached(){let t=this.__key;for(;t!==null;){if(t==="root")return!0;const e=ve(t);if(e===null)break;t=e.__parent}return!1}isSelected(t){const e=t||J();if(e==null)return!1;const r=e.getNodes().some(i=>i.__key===this.__key);if(ae(this))return r;if(Y(e)&&e.anchor.type==="element"&&e.focus.type==="element"){if(e.isCollapsed())return!1;const i=this.getParent();if(ot(this)&&this.isInline()&&i){const o=e.isBackward()?e.focus:e.anchor;if(i.is(o.getNode())&&o.offset===i.getChildrenSize()&&this.is(i.getLastChild()))return!1}}return r}getKey(){return this.__key}getIndexWithinParent(){const t=this.getParent();if(t===null)return-1;let e=t.getFirstChild(),r=0;for(;e!==null;){if(this.is(e))return r;r++,e=e.getNextSibling()}return-1}getParent(){const t=this.getLatest().__parent;return t===null?null:ve(t)}getParentOrThrow(){const t=this.getParent();return t===null&&be(66,this.__key),t}getTopLevelElement(){let t=this;for(;t!==null;){const e=t.getParent();if(qn(e))return G(t)||t===this&&ot(t)||be(194),t;t=e}return null}getTopLevelElementOrThrow(){const t=this.getTopLevelElement();return t===null&&be(67,this.__key),t}getParents(){const t=[];let e=this.getParent();for(;e!==null;)t.push(e),e=e.getParent();return t}getParentKeys(){const t=[];let e=this.getParent();for(;e!==null;)t.push(e.__key),e=e.getParent();return t}getPreviousSibling(){const t=this.getLatest().__prev;return t===null?null:ve(t)}getPreviousSiblings(){const t=[],e=this.getParent();if(e===null)return t;let r=e.getFirstChild();for(;r!==null&&!r.is(this);)t.push(r),r=r.getNextSibling();return t}getNextSibling(){const t=this.getLatest().__next;return t===null?null:ve(t)}getNextSiblings(){const t=[];let e=this.getNextSibling();for(;e!==null;)t.push(e),e=e.getNextSibling();return t}getCommonAncestor(t){const e=G(this)?this:this.getParent(),r=G(t)?t:t.getParent(),i=e&&r?Nf(e,r):null;return i?i.commonAncestor:null}is(t){return t!=null&&this.__key===t.__key}isBefore(t){const e=Nf(this,t);return e!==null&&(e.type==="descendant"||(e.type==="branch"?h1(e)===-1:(e.type!=="same"&&e.type!=="ancestor"&&be(279),!1)))}isParentOf(t){const e=Nf(this,t);return e!==null&&e.type==="ancestor"}getNodesBetween(t){const e=this.isBefore(t),r=[],i=new Set;let o=this;for(;o!==null;){const s=o.__key;if(i.has(s)||(i.add(s),r.push(o)),o===t)break;const l=G(o)?e?o.getFirstChild():o.getLastChild():null;if(l!==null){o=l;continue}const c=e?o.getNextSibling():o.getPreviousSibling();if(c!==null){o=c;continue}const u=o.getParentOrThrow();if(i.has(u.__key)||r.push(u),u===t)break;let d=null,h=u;do{if(h===null&&be(68),d=e?h.getNextSibling():h.getPreviousSibling(),h=h.getParent(),h===null)break;d!==null||i.has(h.__key)||r.push(h)}while(d===null);o=d}return e||r.reverse(),r}isDirty(){const t=qt()._dirtyLeaves;return t!==null&&t.has(this.__key)}getLatest(){if(Zf(this))return this;const t=ve(this.__key);return t===null&&be(113),t}getWritable(){if(Zf(this))return this;In();const t=Ko(),e=qt(),r=t._nodeMap,i=this.__key,o=this.getLatest(),s=e._cloneNotNeeded,l=J();if(l!==null&&l.setCachedNodes(null),s.has(i))return Vf(o),o;const c=ib(o);return s.add(i),Vf(c),r.set(i,c),c}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(t,e){be(70)}updateDOM(t,e,r){be(71)}exportDOM(t){return{element:this.createDOM(t._config,t)}}exportJSON(){const t=this.__state?this.__state.toJSON():void 0;return{type:this.__type,version:1,...t}}static importJSON(t){be(18,this.name)}updateFromJSON(t){return(function(e,r){const i=e.getWritable(),o=r.$;let s=o;for(const l of AT(i).flatKeys)l in r&&(s!==void 0&&s!==o||(s={...o}),s[l]=r[l]);return(i.__state||s)&&Oh(e).updateFromJSON(s),i})(this,t)}static transform(){return null}remove(t){fA(this,!0,t)}replace(t,e){In();let r=J();r!==null&&(r=r.clone()),nm(this,t);const i=this.getLatest(),o=this.__key,s=t.__key,l=t.getWritable(),c=this.getParentOrThrow().getWritable(),u=c.__size;Eo(l);const d=i.getPreviousSibling(),h=i.getNextSibling(),g=i.__prev,p=i.__next,m=i.__parent;if(fA(i,!1,!0),d===null?c.__first=s:d.getWritable().__next=s,l.__prev=g,h===null?c.__last=s:h.getWritable().__prev=s,l.__next=p,l.__parent=m,c.__size=u,e&&(G(this)&&G(l)||be(139),this.getChildren().forEach(y=>{l.append(y)})),Y(r)){Ve(r);const y=r.anchor,w=r.focus;y.key===o&&Hv(y,l),w.key===o&&Hv(w,l)}return cs()===o&&zn(s),l}insertAfter(t,e=!0){In(),nm(this,t);const r=this.getWritable(),i=t.getWritable(),o=i.getParent(),s=J();let l=!1,c=!1;if(o!==null){const p=t.getIndexWithinParent();if(Eo(i),Y(s)){const m=o.__key,y=s.anchor,w=s.focus;l=y.type==="element"&&y.key===m&&y.offset===p+1,c=w.type==="element"&&w.key===m&&w.offset===p+1}}const u=this.getNextSibling(),d=this.getParentOrThrow().getWritable(),h=i.__key,g=r.__next;if(u===null?d.__last=h:u.getWritable().__prev=h,d.__size++,r.__next=h,i.__next=g,i.__prev=r.__key,i.__parent=r.__parent,e&&Y(s)){const p=this.getIndexWithinParent();Gf(s,d,p+1);const m=d.__key;l&&s.anchor.set(m,p+2,"element"),c&&s.focus.set(m,p+2,"element")}return t}insertBefore(t,e=!0){In(),nm(this,t);const r=this.getWritable(),i=t.getWritable(),o=i.__key;Eo(i);const s=this.getPreviousSibling(),l=this.getParentOrThrow().getWritable(),c=r.__prev,u=this.getIndexWithinParent();s===null?l.__first=o:s.getWritable().__next=o,l.__size++,r.__prev=o,i.__prev=c,i.__next=r.__key,i.__parent=r.__parent;const d=J();return e&&Y(d)&&Gf(d,this.getParentOrThrow(),u),t}isParentRequired(){return!1}createParentElementNode(){return Ee()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(t,e){In();const r=this.getPreviousSibling(),i=this.getParentOrThrow();if(r===null)return i.select(0,0);if(G(r))return r.select();if(!ae(r)){const o=r.getIndexWithinParent()+1;return i.select(o,o)}return r.select(t,e)}selectNext(t,e){In();const r=this.getNextSibling(),i=this.getParentOrThrow();if(r===null)return i.select();if(G(r))return r.select(0,0);if(!ae(r)){const o=r.getIndexWithinParent();return i.select(o,o)}return r.select(t,e)}markDirty(){this.getWritable()}reconcileObservedMutation(t,e){this.markDirty()}}F(hi,"importDOM");const ml="historic",nj="history-push",Jr="history-merge",rj="paste",Pu="collaboration",zv="skip-collab",LT="skip-scroll-into-view",ij="skip-dom-selection",oj="skip-selection-focus";class rc extends hi{static getType(){return"linebreak"}static clone(t){return new rc(t.__key)}constructor(t){super(t)}getTextContent(){return`
6
- `}createDOM(){return document.createElement("br")}updateDOM(){return!1}isInline(){return!0}static importDOM(){return{br:t=>(function(e){const r=e.parentElement;if(r!==null&&Xf(r)){const i=r.firstChild;if(i===e||i.nextSibling===e&&Xd(i)){const o=r.lastChild;if(o===e||o.previousSibling===e&&Xd(o))return!0}}return!1})(t)||(function(e){const r=e.parentElement;if(r!==null&&Xf(r)){const i=r.firstChild;if(i===e||i.nextSibling===e&&Xd(i))return!1;const o=r.lastChild;if(o===e||o.previousSibling===e&&Xd(o))return!0}return!1})(t)?null:{conversion:sj,priority:0}}}static importJSON(t){return sr().updateFromJSON(t)}}function sj(n){return{node:sr()}}function sr(){return Lt(new rc)}function Dt(n){return n instanceof rc}function Xd(n){return Ho(n)&&/^( |\t|\r?\n)+$/.test(n.textContent||"")}function Xp(n,t){return 16&t?"code":t&sT?"mark":32&t?"sub":64&t?"sup":null}function qp(n,t){return 1&t?"strong":2&t?"em":"span"}function OT(n,t,e,r,i){const o=r.classList;let s=Oa(i,"base");s!==void 0&&o.add(...s),s=Oa(i,"underlineStrikethrough");let l=!1;const c=8&t&&4&t;s!==void 0&&(8&e&&4&e?(l=!0,c||o.add(...s)):c&&o.remove(...s));for(const u in No){const d=No[u];if(s=Oa(i,u),s!==void 0)if(e&d){if(l&&(u==="underline"||u==="strikethrough")){t&d&&o.remove(...s);continue}((t&d)===0||c&&u==="underline"||u==="strikethrough")&&o.add(...s)}else t&d&&o.remove(...s)}}function RT(n,t,e){const r=t.firstChild,i=e.isComposing(),o=n+(i?Lh:"");if(r==null)t.textContent=o;else{const s=r.nodeValue;if(s!==o)if(i||dl){const[l,c,u]=(function(d,h){const g=d.length,p=h.length;let m=0,y=0;for(;m<g&&m<p&&d[m]===h[m];)m++;for(;y+m<g&&y+m<p&&d[g-y-1]===h[p-y-1];)y++;return[m,g-m-y,h.slice(m,p-y)]})(s,o);c!==0&&r.deleteData(l,c),r.insertData(l,u)}else r.nodeValue=o}}function Uv(n,t,e,r,i,o){RT(i,n,t);const s=o.theme.text;s!==void 0&&OT(0,0,r,n,s)}function qd(n,t){const e=document.createElement(t);return e.appendChild(n),e}class Ln extends hi{constructor(e="",r){super(r);F(this,"__text");F(this,"__format");F(this,"__style");F(this,"__mode");F(this,"__detail");this.__text=e,this.__format=0,this.__style="",this.__mode=0,this.__detail=0}static getType(){return"text"}static clone(e){return new Ln(e.__text,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__text=e.__text,this.__format=e.__format,this.__style=e.__style,this.__mode=e.__mode,this.__detail=e.__detail}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){const e=this.getLatest();return WF[e.__mode]}getStyle(){return this.getLatest().__style}isToken(){return this.getLatest().__mode===1}isComposing(){return this.__key===cs()}isSegmented(){return this.getLatest().__mode===2}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){const r=No[e];return(this.getFormat()&r)!==0}isSimpleText(){return this.__type==="text"&&this.__mode===0}getTextContent(){return this.getLatest().__text}getFormatFlags(e,r){return Qf(this.getLatest().__format,e,r)}canHaveFormat(){return!0}isInline(){return!0}createDOM(e,r){const i=this.__format,o=Xp(0,i),s=qp(0,i),l=o===null?s:o,c=document.createElement(l);let u=c;this.hasFormat("code")&&c.setAttribute("spellcheck","false"),o!==null&&(u=document.createElement(s),c.appendChild(u)),Uv(u,this,0,i,this.__text,e);const d=this.__style;return d!==""&&(c.style.cssText=d),c}updateDOM(e,r,i){const o=this.__text,s=e.__format,l=this.__format,c=Xp(0,s),u=Xp(0,l),d=qp(0,s),h=qp(0,l);if((c===null?d:c)!==(u===null?h:u))return!0;if(c===u&&d!==h){const w=r.firstChild;w==null&&be(48);const v=document.createElement(h);return Uv(v,this,0,l,o,i),r.replaceChild(v,w),!1}let g=r;u!==null&&c!==null&&(g=r.firstChild,g==null&&be(49)),RT(o,g,this);const p=i.theme.text;p!==void 0&&s!==l&&OT(0,s,l,g,p);const m=e.__style,y=this.__style;return m!==y&&(r.style.cssText=y),!1}static importDOM(){return{"#text":()=>({conversion:uj,priority:0}),b:()=>({conversion:aj,priority:0}),code:()=>({conversion:fo,priority:0}),em:()=>({conversion:fo,priority:0}),i:()=>({conversion:fo,priority:0}),mark:()=>({conversion:fo,priority:0}),s:()=>({conversion:fo,priority:0}),span:()=>({conversion:lj,priority:0}),strong:()=>({conversion:fo,priority:0}),sub:()=>({conversion:fo,priority:0}),sup:()=>({conversion:fo,priority:0}),u:()=>({conversion:fo,priority:0})}}static importJSON(e){return yt().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setTextContent(e.text).setFormat(e.format).setDetail(e.detail).setMode(e.mode).setStyle(e.style)}exportDOM(e){let{element:r}=super.exportDOM(e);return Et(r)||be(132),r.style.whiteSpace="pre-wrap",this.hasFormat("lowercase")?r.style.textTransform="lowercase":this.hasFormat("uppercase")?r.style.textTransform="uppercase":this.hasFormat("capitalize")&&(r.style.textTransform="capitalize"),this.hasFormat("bold")&&(r=qd(r,"b")),this.hasFormat("italic")&&(r=qd(r,"i")),this.hasFormat("strikethrough")&&(r=qd(r,"s")),this.hasFormat("underline")&&(r=qd(r,"u")),{element:r}}exportJSON(){return{detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),...super.exportJSON()}}selectionTransform(e,r){}setFormat(e){const r=this.getWritable();return r.__format=typeof e=="string"?No[e]:e,r}setDetail(e){const r=this.getWritable();return r.__detail=typeof e=="string"?zF[e]:e,r}setStyle(e){const r=this.getWritable();return r.__style=e,r}toggleFormat(e){const r=Qf(this.getFormat(),e,null);return this.setFormat(r)}toggleDirectionless(){const e=this.getWritable();return e.__detail^=1,e}toggleUnmergeable(){const e=this.getWritable();return e.__detail^=2,e}setMode(e){const r=KF[e];if(this.__mode===r)return this;const i=this.getWritable();return i.__mode=r,i}setTextContent(e){if(this.__text===e)return this;const r=this.getWritable();return r.__text=e,r}select(e,r){In();let i=e,o=r;const s=J(),l=this.getTextContent(),c=this.__key;if(typeof l=="string"){const u=l.length;i===void 0&&(i=u),o===void 0&&(o=u)}else i=0,o=0;if(!Y(s))return FT(c,i,c,o,"text","text");{const u=cs();u!==s.anchor.key&&u!==s.focus.key||zn(c),s.setTextNodeRange(this,i,this,o)}return s}selectStart(){return this.select(0,0)}selectEnd(){const e=this.getTextContentSize();return this.select(e,e)}spliceText(e,r,i,o){const s=this.getWritable(),l=s.__text,c=i.length;let u=e;u<0&&(u=c+u,u<0&&(u=0));const d=J();if(o&&Y(d)){const g=e+c;d.setTextNodeRange(s,g,s,g)}const h=l.slice(0,u)+i+l.slice(u+r);return s.__text=h,s}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){In();const r=this.getLatest(),i=r.getTextContent();if(i==="")return[];const o=r.__key,s=cs(),l=i.length;e.sort((I,R)=>I-R),e.push(l);const c=[],u=e.length;for(let I=0,R=0;I<l&&R<=u;R++){const B=e[R];B>I&&(c.push(i.slice(I,B)),I=B)}const d=c.length;if(d===1)return[r];const h=c[0],g=r.getParent();let p;const m=r.getFormat(),y=r.getStyle(),w=r.__detail;let v=!1,C=null,x=null;const _=J();if(Y(_)){const[I,R]=_.isBackward()?[_.focus,_.anchor]:[_.anchor,_.focus];I.type==="text"&&I.key===o&&(C=I),R.type==="text"&&R.key===o&&(x=R)}r.isSegmented()?(p=yt(h),p.__format=m,p.__style=y,p.__detail=w,p.__state=Iv(r,p),v=!0):p=r.setTextContent(h);const N=[p];for(let I=1;I<d;I++){const R=yt(c[I]);R.__format=m,R.__style=y,R.__detail=w,R.__state=Iv(r,R);const B=R.__key;s===o&&zn(B),N.push(R)}const T=C?C.offset:null,k=x?x.offset:null;let M=0;for(const I of N){if(!C&&!x)break;const R=M+I.getTextContentSize();if(C!==null&&T!==null&&T<=R&&T>=M&&(C.set(I.getKey(),T-M,"text"),T<R&&(C=null)),x!==null&&k!==null&&k<=R&&k>=M){x.set(I.getKey(),k-M,"text");break}M=R}if(g!==null){(function(B){const U=B.getPreviousSibling(),j=B.getNextSibling();U!==null&&Vf(U),j!==null&&Vf(j)})(this);const I=g.getWritable(),R=this.getIndexWithinParent();v?(I.splice(R,0,N),this.remove()):I.splice(R,1,N),Y(_)&&Gf(_,g,R,d-1)}return N}mergeWithSibling(e){const r=e===this.getPreviousSibling();r||e===this.getNextSibling()||be(50);const i=this.__key,o=e.__key,s=this.__text,l=s.length;cs()===o&&zn(i);const c=J();if(Y(c)){const g=c.anchor,p=c.focus;g!==null&&g.key===o&&Xv(g,r,i,e,l),p!==null&&p.key===o&&Xv(p,r,i,e,l)}const u=e.__text,d=r?u+s:s+u;this.setTextContent(d);const h=this.getWritable();return e.remove(),h}isTextEntity(){return!1}}function lj(n){return{forChild:Hy(n.style),node:null}}function aj(n){const t=n,e=t.style.fontWeight==="normal";return{forChild:Hy(t.style,e?void 0:"bold"),node:null}}const Kv=new WeakMap;function cj(n){if(!Et(n))return!1;if(n.nodeName==="PRE")return!0;const t=n.style.whiteSpace;return typeof t=="string"&&t.startsWith("pre")}function uj(n){const t=n;n.parentElement===null&&be(129);let e=t.textContent||"";if((function(r){let i,o=r.parentNode;const s=[r];for(;o!==null&&(i=Kv.get(o))===void 0&&!cj(o);)s.push(o),o=o.parentNode;const l=i===void 0?o:i;for(let c=0;c<s.length;c++)Kv.set(s[c],l);return l})(t)!==null){const r=e.split(/(\r?\n|\t)/),i=[],o=r.length;for(let s=0;s<o;s++){const l=r[s];l===`
7
- `||l===`\r
8
- `?i.push(sr()):l===" "?i.push(Xr()):l!==""&&i.push(yt(l))}return{node:i}}if(e=e.replace(/\r/g,"").replace(/[ \t\n]+/g," "),e==="")return{node:null};if(e[0]===" "){let r=t,i=!0;for(;r!==null&&(r=Wv(r,!1))!==null;){const o=r.textContent||"";if(o.length>0){/[ \t\n]$/.test(o)&&(e=e.slice(1)),i=!1;break}}i&&(e=e.slice(1))}if(e[e.length-1]===" "){let r=t,i=!0;for(;r!==null&&(r=Wv(r,!0))!==null;)if((r.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){i=!1;break}i&&(e=e.slice(0,e.length-1))}return e===""?{node:null}:{node:yt(e)}}function Wv(n,t){let e=n;for(;;){let r;for(;(r=t?e.nextSibling:e.previousSibling)===null;){const o=e.parentElement;if(o===null)return null;e=o}if(e=r,Et(e)){const o=e.style.display;if(o===""&&!CA(e)||o!==""&&!o.startsWith("inline"))return null}let i=e;for(;(i=t?e.firstChild:e.lastChild)!==null;)e=i;if(Ho(e))return e;if(e.nodeName==="BR")return null}}const dj={code:"code",em:"italic",i:"italic",mark:"highlight",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function fo(n){const t=dj[n.nodeName.toLowerCase()];return t===void 0?{node:null}:{forChild:Hy(n.style,t),node:null}}function yt(n=""){return Lt(new Ln(n))}function ae(n){return n instanceof Ln}function Hy(n,t){const e=n.fontWeight,r=n.textDecoration.split(" "),i=e==="700"||e==="bold",o=r.includes("line-through"),s=n.fontStyle==="italic",l=r.includes("underline"),c=n.verticalAlign;return u=>(ae(u)&&(i&&!u.hasFormat("bold")&&u.toggleFormat("bold"),o&&!u.hasFormat("strikethrough")&&u.toggleFormat("strikethrough"),s&&!u.hasFormat("italic")&&u.toggleFormat("italic"),l&&!u.hasFormat("underline")&&u.toggleFormat("underline"),c!=="sub"||u.hasFormat("subscript")||u.toggleFormat("subscript"),c!=="super"||u.hasFormat("superscript")||u.toggleFormat("superscript"),t&&!u.hasFormat(t)&&u.toggleFormat(t)),u)}class ic extends Ln{static getType(){return"tab"}static clone(t){return new ic(t.__key)}constructor(t){super(" ",t),this.__detail=2}static importDOM(){return null}createDOM(t){const e=super.createDOM(t),r=Oa(t.theme,"tab");return r!==void 0&&e.classList.add(...r),e}static importJSON(t){return Xr().updateFromJSON(t)}setTextContent(t){return t!==" "&&t!==""&&rT(126),super.setTextContent(" ")}spliceText(t,e,r,i){return r===""&&e===0||r===" "&&e===1||be(286),this}setDetail(t){return t!==2&&be(127),this}setMode(t){return t!=="normal"&&be(128),this}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function Xr(){return Lt(new ic)}function Un(n){return n instanceof ic}class fj{constructor(t,e,r){F(this,"key");F(this,"offset");F(this,"type");F(this,"_selection");this._selection=null,this.key=t,this.offset=e,this.type=r}is(t){return this.key===t.key&&this.offset===t.offset&&this.type===t.type}isBefore(t){return this.key===t.key?this.offset<t.offset:f1(Qr(Yi(this,"next")),Qr(Yi(t,"next")))<0}getNode(){const t=ve(this.key);return t===null&&be(20),t}set(t,e,r,i){const o=this._selection,s=this.key;i&&this.key===t&&this.offset===e&&this.type===r||(this.key=t,this.offset=e,this.type=r,zl()||(cs()===s&&zn(t),o!==null&&(o.setCachedNodes(null),o.dirty=!0)))}}function Rn(n,t,e){return new fj(n,t,e)}function $p(n,t){let e=t.__key,r=n.offset,i="element";if(ae(t)){i="text";const o=t.getTextContentSize();r>o&&(r=o)}else if(!G(t)){const o=t.getNextSibling();if(ae(o))e=o.__key,r=0,i="text";else{const s=t.getParent();s&&(e=s.__key,r=t.getIndexWithinParent()+1)}}n.set(e,r,i)}function Hv(n,t){if(G(t)){const e=t.getLastDescendant();G(e)||ae(e)?$p(n,e):$p(n,t)}else $p(n,t)}class zh{constructor(t){F(this,"_nodes");F(this,"_cachedNodes");F(this,"dirty");this._cachedNodes=null,this._nodes=t,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t}is(t){if(!Vt(t))return!1;const e=this._nodes,r=t._nodes;return e.size===r.size&&Array.from(e).every(i=>r.has(i))}isCollapsed(){return!1}isBackward(){return!1}getStartEndPoints(){return null}add(t){this.dirty=!0,this._nodes.add(t),this._cachedNodes=null}delete(t){this.dirty=!0,this._nodes.delete(t),this._cachedNodes=null}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null}has(t){return this._nodes.has(t)}clone(){return new zh(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(t){}insertText(){}insertNodes(t){const e=this.getNodes(),r=e.length,i=e[r-1];let o;if(ae(i))o=i.select();else{const s=i.getIndexWithinParent()+1;o=i.getParentOrThrow().select(s,s)}o.insertNodes(t);for(let s=0;s<r;s++)e[s].remove()}getNodes(){const t=this._cachedNodes;if(t!==null)return t;const e=this._nodes,r=[];for(const i of e){const o=ve(i);o!==null&&r.push(o)}return zl()||(this._cachedNodes=r),r}getTextContent(){const t=this.getNodes();let e="";for(let r=0;r<t.length;r++)e+=t[r].getTextContent();return e}deleteNodes(){const t=this.getNodes();if((J()||Uo())===this&&t[0]){const e=tn(t[0],"next");db(Mo(e,e))}for(const e of t)e.remove()}}function Y(n){return n instanceof jl}class jl{constructor(t,e,r,i){F(this,"format");F(this,"style");F(this,"anchor");F(this,"focus");F(this,"_cachedNodes");F(this,"dirty");this.anchor=t,this.focus=e,t._selection=this,e._selection=this,this._cachedNodes=null,this.format=r,this.style=i,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t}is(t){return!!Y(t)&&this.anchor.is(t.anchor)&&this.focus.is(t.focus)&&this.format===t.format&&this.style===t.style}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){const t=this._cachedNodes;if(t!==null)return t;const e=(function(r){const i=[],[o,s]=r.getTextSlices();o&&i.push(o.caret.origin);const l=new Set,c=new Set;for(const u of r)if(qr(u)){const{origin:d}=u;i.length===0?l.add(d):(c.add(d),i.push(d))}else{const{origin:d}=u;G(d)&&c.has(d)||i.push(d)}if(s&&i.push(s.caret.origin),Cl(r.focus)&&G(r.focus.origin)&&r.focus.getNodeAtCaret()===null)for(let u=ri(r.focus.origin,"previous");qr(u)&&l.has(u.origin)&&!u.origin.isEmpty()&&u.origin.is(i[i.length-1]);u=Ha(u))l.delete(u.origin),i.pop();for(;i.length>1;){const u=i[i.length-1];if(!G(u)||c.has(u)||u.isEmpty()||l.has(u))break;i.pop()}if(i.length===0&&r.isCollapsed()){const u=Qr(r.anchor),d=Qr(r.anchor.getFlipped()),h=p=>Fi(p)?p.origin:p.getNodeAtCaret(),g=h(u)||h(d)||(r.anchor.getNodeAtCaret()?u.origin:d.origin);i.push(g)}return i})(fb(xA(this),"next"));return zl()||(this._cachedNodes=e),e}setTextNodeRange(t,e,r,i){this.anchor.set(t.__key,e,"text"),this.focus.set(r.__key,i,"text")}getTextContent(){const t=this.getNodes();if(t.length===0)return"";const e=t[0],r=t[t.length-1],i=this.anchor,o=this.focus,s=i.isBefore(o),[l,c]=hA(this);let u="",d=!0;for(let h=0;h<t.length;h++){const g=t[h];if(G(g)&&!g.isInline())d||(u+=`
9
- `),d=!g.isEmpty();else if(d=!1,ae(g)){let p=g.getTextContent();g===e?g===r?i.type==="element"&&o.type==="element"&&o.offset!==i.offset||(p=l<c?p.slice(l,c):p.slice(c,l)):p=s?p.slice(l):p.slice(c):g===r&&(p=s?p.slice(0,c):p.slice(0,l)),u+=p}else!ot(g)&&!Dt(g)||g===r&&this.isCollapsed()||(u+=g.getTextContent())}return u}applyDOMRange(t){const e=qt(),r=e.getEditorState()._selection,i=BT(t.startContainer,t.startOffset,t.endContainer,t.endOffset,e,r);if(i===null)return;const[o,s]=i;this.anchor.set(o.key,o.offset,o.type,!0),this.focus.set(s.key,s.offset,s.type,!0),ws(this)}clone(){const t=this.anchor,e=this.focus;return new jl(Rn(t.key,t.offset,t.type),Rn(e.key,e.offset,e.type),this.format,this.style)}toggleFormat(t){this.format=Qf(this.format,t,null),this.dirty=!0}setFormat(t){this.format=t,this.dirty=!0}setStyle(t){this.style=t,this.dirty=!0}hasFormat(t){const e=No[t];return(this.format&e)!==0}insertRawText(t){const e=t.split(/(\r?\n|\t)/),r=[],i=e.length;for(let o=0;o<i;o++){const s=e[o];s===`
10
- `||s===`\r
11
- `?r.push(sr()):s===" "?r.push(Xr()):r.push(yt(s))}this.insertNodes(r)}insertText(t){const e=this.anchor,r=this.focus,i=this.format,o=this.style;let s=e,l=r;!this.isCollapsed()&&r.isBefore(e)&&(s=r,l=e),s.type==="element"&&(function(w,v,C,x){const _=w.getNode(),N=_.getChildAtIndex(w.offset),T=yt();if(T.setFormat(C),T.setStyle(x),mn(N))N.splice(0,0,[T]);else{const k=Yt(_)?Ee().append(T):T;N===null?_.append(k):N.insertBefore(k)}w.is(v)&&v.set(T.__key,0,"text"),w.set(T.__key,0,"text")})(s,l,i,o),l.type==="element"&&gu(l,Qr(Yi(l,"next")));const c=s.offset;let u=l.offset;const d=this.getNodes(),h=d.length;let g=d[0];ae(g)||be(26);const p=g.getTextContent().length,m=g.getParentOrThrow();let y=d[h-1];if(h===1&&l.type==="element"&&(u=p,l.set(s.key,u,"text")),this.isCollapsed()&&c===p&&(_i(g)||!g.canInsertTextAfter()||!m.canInsertTextAfter()&&g.getNextSibling()===null)){let w=g.getNextSibling();if(ae(w)&&w.canInsertTextBefore()&&!_i(w)||(w=yt(),w.setFormat(i),w.setStyle(o),m.canInsertTextAfter()?g.insertAfter(w):m.insertAfter(w)),w.select(0,0),g=w,t!=="")return void this.insertText(t)}else if(this.isCollapsed()&&c===0&&(_i(g)||!g.canInsertTextBefore()||!m.canInsertTextBefore()&&g.getPreviousSibling()===null)){let w=g.getPreviousSibling();if(ae(w)&&!_i(w)||(w=yt(),w.setFormat(i),m.canInsertTextBefore()?g.insertBefore(w):m.insertBefore(w)),w.select(),g=w,t!=="")return void this.insertText(t)}else if(g.isSegmented()&&c!==p){const w=yt(g.getTextContent());w.setFormat(i),g.replace(w),g=w}else if(!this.isCollapsed()&&t!==""){const w=y.getParent();if(!m.canInsertTextBefore()||!m.canInsertTextAfter()||G(w)&&(!w.canInsertTextBefore()||!w.canInsertTextAfter()))return this.insertText(""),PT(this.anchor,this.focus,null),void this.insertText(t)}if(h===1){if(sl(g)){const x=yt(t);return x.select(),void g.replace(x)}const w=g.getFormat(),v=g.getStyle();if(c!==u||w===i&&v===o){if(Un(g)){const x=yt(t);return x.setFormat(i),x.setStyle(o),x.select(),void g.replace(x)}}else{if(g.getTextContent()!==""){const x=yt(t);if(x.setFormat(i),x.setStyle(o),x.select(),c===0)g.insertBefore(x,!1);else{const[_]=g.splitText(c);_.insertAfter(x,!1)}return void(x.isComposing()&&this.anchor.type==="text"&&(this.anchor.offset-=t.length))}g.setFormat(i),g.setStyle(o)}const C=u-c;g=g.spliceText(c,C,t,!0),g.getTextContent()===""?g.remove():this.anchor.type==="text"&&(g.isComposing()?this.anchor.offset-=t.length:(this.format=w,this.style=v))}else{const w=new Set([...g.getParentKeys(),...y.getParentKeys()]),v=G(g)?g:g.getParentOrThrow();let C=G(y)?y:y.getParentOrThrow(),x=y;if(!v.is(C)&&C.isInline())do x=C,C=C.getParentOrThrow();while(C.isInline());if(l.type==="text"&&(u!==0||y.getTextContent()==="")||l.type==="element"&&y.getIndexWithinParent()<u)if(ae(y)&&!sl(y)&&u!==y.getTextContentSize()){if(y.isSegmented()){const M=yt(y.getTextContent());y.replace(M),y=M}Yt(l.getNode())||l.type!=="text"||(y=y.spliceText(0,u,"")),w.add(y.__key)}else{const M=y.getParentOrThrow();M.canBeEmpty()||M.getChildrenSize()!==1?y.remove():M.remove()}else w.add(y.__key);const _=C.getChildren(),N=new Set(d),T=v.is(C),k=v.isInline()&&g.getNextSibling()===null?v:g;for(let M=_.length-1;M>=0;M--){const I=_[M];if(I.is(g)||G(I)&&I.isParentOf(g))break;I.isAttached()&&(!N.has(I)||I.is(x)?T||k.insertAfter(I,!1):I.remove())}if(!T){let M=C,I=null;for(;M!==null;){const R=M.getChildren(),B=R.length;(B===0||R[B-1].is(I))&&(w.delete(M.__key),I=M),M=M.getParent()}}if(sl(g))if(c===p)g.select();else{const M=yt(t);M.select(),g.replace(M)}else g=g.spliceText(c,p-c,t,!0),g.getTextContent()===""?g.remove():g.isComposing()&&this.anchor.type==="text"&&(this.anchor.offset-=t.length);for(let M=1;M<h;M++){const I=d[M],R=I.__key;w.has(R)||I.remove()}}}removeText(){const t=J()===this;If(this,Bj(xA(this))),t&&J()!==this&&Ve(this)}formatText(t,e=null){if(this.isCollapsed())return this.toggleFormat(t),void zn(null);const r=this.getNodes(),i=[];for(const _ of r)ae(_)&&i.push(_);const o=_=>{r.forEach(N=>{if(G(N)){const T=N.getFormatFlags(t,_);N.setTextFormat(T)}})},s=i.length;if(s===0)return this.toggleFormat(t),zn(null),void o(e);const l=this.anchor,c=this.focus,u=this.isBackward(),d=u?c:l,h=u?l:c;let g=0,p=i[0],m=d.type==="element"?0:d.offset;if(d.type==="text"&&m===p.getTextContentSize()&&(g=1,p=i[1],m=0),p==null)return;const y=p.getFormatFlags(t,e);o(y);const w=s-1;let v=i[w];const C=h.type==="text"?h.offset:v.getTextContentSize();if(p.is(v)){if(m===C)return;if(_i(p)||m===0&&C===p.getTextContentSize())p.setFormat(y);else{const _=p.splitText(m,C),N=m===0?_[0]:_[1];N.setFormat(y),d.type==="text"&&d.set(N.__key,0,"text"),h.type==="text"&&h.set(N.__key,C-m,"text")}return void(this.format=y)}m===0||_i(p)||([,p]=p.splitText(m),m=0),p.setFormat(y);const x=v.getFormatFlags(t,y);C>0&&(C===v.getTextContentSize()||_i(v)||([v]=v.splitText(C)),v.setFormat(x));for(let _=g+1;_<w;_++){const N=i[_],T=N.getFormatFlags(t,x);N.setFormat(T)}d.type==="text"&&d.set(p.__key,m,"text"),h.type==="text"&&h.set(v.__key,C,"text"),this.format=y|x}insertNodes(t){if(t.length===0)return;if(this.isCollapsed()||this.removeText(),this.anchor.key==="root"){this.insertParagraph();const m=J();return Y(m)||be(134),m.insertNodes(t)}const e=(this.isBackward()?this.focus:this.anchor).getNode(),r=Te(e,Wr),i=t[t.length-1];if(G(r)&&"__language"in r){if("__language"in t[0])this.insertText(t[0].getTextContent());else{const m=em(this);r.splice(m,0,t),i.selectEnd()}return}if(!t.some(m=>(G(m)||ot(m))&&!m.isInline())){G(r)||be(211,e.constructor.name,e.getType());const m=em(this);return r.splice(m,0,t),void i.selectEnd()}const o=(function(m){const y=Ee();let w=null;for(let v=0;v<m.length;v++){const C=m[v],x=Dt(C);if(x||ot(C)&&C.isInline()||G(C)&&C.isInline()||ae(C)||C.isParentRequired()){if(w===null&&(w=C.createParentElementNode(),y.append(w),x))continue;w!==null&&w.append(C)}else y.append(C),w=null}return y})(t),s=o.getLastDescendant(),l=o.getChildren(),c=!G(r)||!r.isEmpty()?this.insertParagraph():null,u=l[l.length-1];let d=l[0];var h;G(h=d)&&Wr(h)&&!h.isEmpty()&&G(r)&&(!r.isEmpty()||r.canMergeWhenEmpty())&&(G(r)||be(211,e.constructor.name,e.getType()),r.append(...d.getChildren()),d=l[1]),d&&(r===null&&be(212,e.constructor.name,e.getType()),(function(m,y){const w=y.getParentOrThrow().getLastChild();let v=y;const C=[y];for(;v!==w;)v.getNextSibling()||be(140),v=v.getNextSibling(),C.push(v);let x=m;for(const _ of C)x=x.insertAfter(_)})(r,d));const g=Te(s,Wr);c&&G(g)&&(c.canMergeWhenEmpty()||Wr(u))&&(g.append(...c.getChildren()),c.remove()),G(r)&&r.isEmpty()&&r.remove(),s.selectEnd();const p=G(r)?r.getLastChild():null;Dt(p)&&g!==r&&p.remove()}insertParagraph(){if(this.anchor.key==="root"){const s=Ee();return Re().splice(this.anchor.offset,0,[s]),s.select(),s}const t=em(this),e=Te(this.anchor.getNode(),Wr);G(e)||be(213);const r=e.getChildAtIndex(t),i=r?[r,...r.getNextSiblings()]:[],o=e.insertNewAfter(this,!1);return o?(o.append(...i),o.selectStart(),o):null}insertLineBreak(t){const e=sr();if(this.insertNodes([e]),t){const r=e.getParentOrThrow(),i=e.getIndexWithinParent();r.select(i,i)}}extract(){const t=[...this.getNodes()],e=t.length;let r=t[0],i=t[e-1];const[o,s]=hA(this),l=this.isBackward(),[c,u]=l?[this.focus,this.anchor]:[this.anchor,this.focus],[d,h]=l?[s,o]:[o,s];if(e===0)return[];if(e===1){if(ae(r)&&!this.isCollapsed()){const g=r.splitText(d,h),p=d===0?g[0]:g[1];return p?(c.set(p.getKey(),0,"text"),u.set(p.getKey(),p.getTextContentSize(),"text"),[p]):[]}return[r]}if(ae(r)&&(d===r.getTextContentSize()?t.shift():d!==0&&([,r]=r.splitText(d),t[0]=r,c.set(r.getKey(),0,"text"))),ae(i)){const g=i.getTextContent().length;h===0?t.pop():h!==g&&([i]=i.splitText(h),t[t.length-1]=i,u.set(i.getKey(),i.getTextContentSize(),"text"))}return t}modify(t,e,r){if(qv(this,t,e,r))return;const i=t==="move",o=qt(),s=ni(ti(o));if(!s)return;const l=o._blockCursorElement,c=o._rootElement,u=this.focus.getNode();if(c===null||l===null||!G(u)||u.isInline()||u.canBeEmpty()||bA(l,o,c),this.dirty){let d=yl(o,this.anchor.key),h=yl(o,this.focus.key);this.anchor.type==="text"&&(d=Wa(d)),this.focus.type==="text"&&(h=Wa(h)),d&&h&&jT(s,d,this.anchor.offset,h,this.focus.offset)}if((function(d,h,g,p){d.modify(h,g,p)})(s,t,e?"backward":"forward",r),s.rangeCount>0){const d=s.getRangeAt(0),h=this.anchor.getNode(),g=Yt(h)?h:kj(h);if(this.applyDOMRange(d),this.dirty=!0,!i){const p=this.getNodes(),m=[];let y=!1;for(let w=0;w<p.length;w++){const v=p[w];AA(v,g)?m.push(v):y=!0}if(y&&m.length>0)if(e){const w=m[0];G(w)?w.selectStart():w.getParentOrThrow().selectStart()}else{const w=m[m.length-1];G(w)?w.selectEnd():w.getParentOrThrow().selectEnd()}s.anchorNode===d.startContainer&&s.anchorOffset===d.startOffset||(function(w){const v=w.focus,C=w.anchor,x=C.key,_=C.offset,N=C.type;C.set(v.key,v.offset,v.type,!0),v.set(x,_,N,!0)})(this)}}r==="lineboundary"&&qv(this,t,e,r,"decorators")}forwardDeletion(t,e,r){if(!r&&(t.type==="element"&&G(e)&&t.offset===e.getChildrenSize()||t.type==="text"&&t.offset===e.getTextContentSize())){const i=e.getParent(),o=e.getNextSibling()||(i===null?null:i.getNextSibling());if(G(o)&&o.isShadowRoot())return!0}return!1}deleteCharacter(t){const e=this.isCollapsed();if(this.isCollapsed()){const r=this.anchor;let i=r.getNode();if(this.forwardDeletion(r,i,t))return;const o=cb(Yi(r,t?"previous":"next"));if(o.getTextSlices().every(l=>l===null||l.distance===0)){let l={type:"initial"};for(const c of o.iterNodeCarets("shadowRoot"))if(qr(c)){if(!c.origin.isInline()){if(c.origin.isShadowRoot()){if(l.type==="merge-block")break;if(G(o.anchor.origin)&&o.anchor.origin.isEmpty()){const u=Qr(c);If(this,Mo(u,u)),o.anchor.origin.remove()}return}l.type!=="merge-next-block"&&l.type!=="merge-block"||(l={block:l.block,caret:c,type:"merge-block"})}}else{if(l.type==="merge-block")break;if(Cl(c)){if(G(c.origin)){if(c.origin.isInline()){if(!c.origin.isParentOf(o.anchor.origin))break}else l={block:c.origin,type:"merge-next-block"};continue}if(ot(c.origin)){if(!c.origin.isIsolated())if(l.type==="merge-next-block"&&(c.origin.isKeyboardSelectable()||!c.origin.isInline())&&G(o.anchor.origin)&&o.anchor.origin.isEmpty()){o.anchor.origin.remove();const u=Yy();u.add(c.origin.getKey()),Ve(u)}else c.origin.remove();return}break}}if(l.type==="merge-block"){const{caret:c,block:u}=l;return If(this,Mo(!c.origin.isEmpty()&&u.isEmpty()?Wu(tn(u,c.direction)):o.anchor,c)),this.removeText()}}const s=this.focus;if(this.modify("extend",t,"character"),this.isCollapsed()){if(t&&r.offset===0&&Zv(this,r.getNode()))return}else{const l=s.type==="text"?s.getNode():null;if(i=r.type==="text"?r.getNode():null,l!==null&&l.isSegmented()){const c=s.offset,u=l.getTextContentSize();if(l.is(i)||t&&c!==u||!t&&c!==0)return void Gv(l,t,c)}else if(i!==null&&i.isSegmented()){const c=r.offset,u=i.getTextContentSize();if(i.is(l)||t&&c!==0||!t&&c!==u)return void Gv(i,t,c)}(function(c,u){const d=c.anchor,h=c.focus,g=d.getNode(),p=h.getNode();if(g===p&&d.type==="text"&&h.type==="text"){const m=d.offset,y=h.offset,w=m<y,v=w?m:y,C=w?y:m,x=C-1;v!==x&&(function(_){return!(e1(_)||hj(_))})(g.getTextContent().slice(v,C))&&(u?h.set(h.key,x,h.type):d.set(d.key,x,d.type))}})(this,t)}}if(this.removeText(),t&&!e&&this.isCollapsed()&&this.anchor.type==="element"&&this.anchor.offset===0){const r=this.anchor.getNode();r.isEmpty()&&Yt(r.getParent())&&r.getPreviousSibling()===null&&Zv(this,r)}}deleteLine(t){this.isCollapsed()&&this.modify("extend",t,"lineboundary"),this.isCollapsed()?this.deleteCharacter(t):this.removeText()}deleteWord(t){if(this.isCollapsed()){const e=this.anchor,r=e.getNode();if(this.forwardDeletion(e,r,t))return;this.modify("extend",t,"word")}this.removeText()}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return[this.anchor,this.focus]}}function Vt(n){return n instanceof zh}function Yv(n){const t=n.offset;if(n.type==="text")return t;const e=n.getNode();return t===e.getChildrenSize()?e.getTextContent().length:0}function hA(n){const t=n.getStartEndPoints();if(t===null)return[0,0];const[e,r]=t;return e.type==="element"&&r.type==="element"&&e.key===r.key&&e.offset===r.offset?[0,0]:[Yv(e),Yv(r)]}function Zv(n,t){for(let e=t;e;e=e.getParent()){if(G(e)){if(e.collapseAtStart(n))return!0;if(qn(e))break}if(e.getPreviousSibling())break}return!1}const hj=(()=>{try{const n=new RegExp("\\p{Emoji}","u"),t=n.test.bind(n);if(t("❤️")&&t("#️⃣")&&t("👍"))return t}catch{}return()=>!1})();function Gv(n,t,e){const r=n,i=r.getTextContent().split(/(?=\s)/g),o=i.length;let s=0,l=0;for(let u=0;u<o;u++){const d=u===o-1;if(l=s,s+=i[u].length,t&&s===e||s>e||d){i.splice(u,1),d&&(l=void 0);break}}const c=i.join("").trim();c===""?r.remove():(r.setTextContent(c),r.select(l,l))}function Jv(n,t,e,r){let i,o=t;if(Et(n)){let s=!1;const l=n.childNodes,c=l.length,u=r._blockCursorElement;o===c&&(s=!0,o=c-1);let d=l[o],h=!1;if(d===u)d=l[o+1],h=!0;else if(u!==null){const g=u.parentNode;n===g&&t>Array.prototype.indexOf.call(g.children,u)&&o--}if(i=_a(d),ae(i))o=ji(i,s?"next":"previous");else{let g=_a(n);if(g===null)return null;if(G(g)){const p=r.getElementByKey(g.getKey());p===null&&be(214),[g,o]=g.getDOMSlot(p).resolveChildIndex(g,p,n,t),G(g)||be(215),s&&o>=g.getChildrenSize()&&(o=Math.max(0,g.getChildrenSize()-1));let y=g.getChildAtIndex(o);if(G(y)&&(function(w,v,C){const x=w.getParent();return C===null||x===null||!x.canBeEmpty()||x!==C.getNode()})(y,0,e)){const w=s?y.getLastDescendant():y.getFirstDescendant();w===null?g=y:(y=w,g=G(y)?y:y.getParentOrThrow()),o=0}ae(y)?(i=y,g=null,o=ji(y,s?"next":"previous")):y!==g&&s&&!h&&(G(g)||be(216),o=Math.min(g.getChildrenSize(),o+1))}else{const p=g.getIndexWithinParent();o=t===0&&ot(g)&&_a(n)===g?p:p+1,g=g.getParentOrThrow()}if(G(g))return Rn(g.__key,o,"element")}}else i=_a(n);return ae(i)?Rn(i.__key,ji(i,o,"clamp"),"text"):null}function Qv(n,t,e){const r=n.offset,i=n.getNode();if(r===0){const o=i.getPreviousSibling(),s=i.getParent();if(t){if((e||!t)&&o===null&&G(s)&&s.isInline()){const l=s.getPreviousSibling();ae(l)&&n.set(l.__key,l.getTextContent().length,"text")}}else G(o)&&!e&&o.isInline()?n.set(o.__key,o.getChildrenSize(),"element"):ae(o)&&n.set(o.__key,o.getTextContent().length,"text")}else if(r===i.getTextContent().length){const o=i.getNextSibling(),s=i.getParent();if(t&&G(o)&&o.isInline())n.set(o.__key,0,"element");else if((e||t)&&o===null&&G(s)&&s.isInline()&&!s.canInsertTextAfter()){const l=s.getNextSibling();ae(l)&&n.set(l.__key,0,"text")}}}function PT(n,t,e){if(n.type==="text"&&t.type==="text"){const r=n.isBefore(t),i=n.is(t);Qv(n,r,i),Qv(t,!r,i),i&&t.set(n.key,n.offset,n.type);const o=qt();if(o.isComposing()&&o._compositionKey!==n.key&&Y(e)){const s=e.anchor,l=e.focus;n.set(s.key,s.offset,s.type,!0),t.set(l.key,l.offset,l.type,!0)}}}function BT(n,t,e,r,i,o){if(n===null||e===null||!zu(i,n,e))return null;const s=Jv(n,t,Y(o)?o.anchor:null,i);if(s===null)return null;const l=Jv(e,r,Y(o)?o.focus:null,i);if(l===null)return null;if(s.type==="element"&&l.type==="element"){const c=_a(n),u=_a(e);if(ot(c)&&ot(u))return null}return PT(s,l,o),[s,l]}function gA(n){return G(n)&&!n.isInline()}function FT(n,t,e,r,i,o){const s=Ko(),l=new jl(Rn(n,t,i),Rn(e,r,o),0,"");return l.dirty=!0,s._selection=l,l}function zo(){const n=Rn("root",0,"element"),t=Rn("root",0,"element");return new jl(n,t,0,"")}function Yy(){return new zh(new Set)}function gj(n,t){return Uh(null,n,t,null)}function Uh(n,t,e,r){const i=e._window;if(i===null)return null;const o=r||i.event,s=o?o.type:void 0,l=s==="selectionchange",c=!Vm&&(l||s==="beforeinput"||s==="compositionstart"||s==="compositionend"||s==="click"&&o&&o.detail===3||s==="drop"||s===void 0);let u,d,h,g;if(Y(n)&&!c)return n.clone();if(t===null)return null;if(u=t.anchorNode,d=t.focusNode,h=t.anchorOffset,g=t.focusOffset,(l||s===void 0)&&Y(n)&&!zu(e,u,d))return n.clone();const p=BT(u,h,d,g,e,n);if(p===null)return null;const[m,y]=p;return new jl(m,y,Y(n)?n.format:0,Y(n)?n.style:"")}function J(){return Ko()._selection}function Uo(){return qt()._editorState._selection}function Gf(n,t,e,r=1){const i=n.anchor,o=n.focus,s=i.getNode(),l=o.getNode();if(!t.is(s)&&!t.is(l))return;const c=t.__key;if(n.isCollapsed()){const u=i.offset;if(e<=u&&r>0||e<u&&r<0){const d=Math.max(0,u+r);i.set(c,d,"element"),o.set(c,d,"element"),Vv(n)}}else{const u=n.isBackward(),d=u?o:i,h=d.getNode(),g=u?i:o,p=g.getNode();if(t.is(h)){const m=d.offset;(e<=m&&r>0||e<m&&r<0)&&d.set(c,Math.max(0,m+r),"element")}if(t.is(p)){const m=g.offset;(e<=m&&r>0||e<m&&r<0)&&g.set(c,Math.max(0,m+r),"element")}}Vv(n)}function Vv(n){const t=n.anchor,e=t.offset,r=n.focus,i=r.offset,o=t.getNode(),s=r.getNode();if(n.isCollapsed()){if(!G(o))return;const l=o.getChildrenSize(),c=e>=l,u=c?o.getChildAtIndex(l-1):o.getChildAtIndex(e);if(ae(u)){let d=0;c&&(d=u.getTextContentSize()),t.set(u.__key,d,"text"),r.set(u.__key,d,"text")}return}if(G(o)){const l=o.getChildrenSize(),c=e>=l,u=c?o.getChildAtIndex(l-1):o.getChildAtIndex(e);if(ae(u)){let d=0;c&&(d=u.getTextContentSize()),t.set(u.__key,d,"text")}}if(G(s)){const l=s.getChildrenSize(),c=i>=l,u=c?s.getChildAtIndex(l-1):s.getChildAtIndex(i);if(ae(u)){let d=0;c&&(d=u.getTextContentSize()),r.set(u.__key,d,"text")}}}function Jf(n,t,e,r,i){let o=null,s=0,l=null;r!==null?(o=r.__key,ae(r)?(s=r.getTextContentSize(),l="text"):G(r)&&(s=r.getChildrenSize(),l="element")):i!==null&&(o=i.__key,ae(i)?l="text":G(i)&&(l="element")),o!==null&&l!==null?n.set(o,s,l):(s=t.getIndexWithinParent(),s===-1&&(s=e.getChildrenSize()),n.set(e.__key,s,"element"))}function Xv(n,t,e,r,i){n.type==="text"?n.set(e,n.offset+(t?0:i),"text"):n.offset>r.getIndexWithinParent()&&n.set(n.key,n.offset-1,"element")}function jT(n,t,e,r,i){try{n.setBaseAndExtent(t,e,r,i)}catch{}}function pj(n,t,e,r,i,o,s){const l=r.anchorNode,c=r.focusNode,u=r.anchorOffset,d=r.focusOffset,h=document.activeElement;if(i.has(Pu)&&h!==o||h!==null&&Vy(h))return;if(!Y(t))return void(n!==null&&zu(e,l,c)&&r.removeAllRanges());const g=t.anchor,p=t.focus,m=g.key,y=p.key,w=yl(e,m),v=yl(e,y),C=g.offset,x=p.offset,_=t.format,N=t.style,T=t.isCollapsed();let k=w,M=v,I=!1;if(g.type==="text"){k=Wa(w);const V=g.getNode();I=V.getFormat()!==_||V.getStyle()!==N}else Y(n)&&n.anchor.type==="text"&&(I=!0);var R,B,U,j,K;if(p.type==="text"&&(M=Wa(v)),k!==null&&M!==null&&(T&&(n===null||I||Y(n)&&(n.format!==_||n.style!==N))&&(R=_,B=N,U=C,j=m,K=performance.now(),kT=[R,B,U,j,K]),u!==C||d!==x||l!==k||c!==M||r.type==="Range"&&T||(h!==null&&o.contains(h)||i.has(oj)||o.focus({preventScroll:!0}),g.type==="element"))){if(jT(r,k,C,M,x),!i.has(LT)&&t.isCollapsed()&&o!==null&&o===document.activeElement){const V=Y(t)&&t.anchor.type==="element"?k.childNodes[C]||null:r.rangeCount>0?r.getRangeAt(0):null;if(V!==null){let ue;if(V instanceof Text){const fe=document.createRange();fe.selectNode(V),ue=fe.getBoundingClientRect()}else ue=V.getBoundingClientRect();(function(fe,ie,le){const te=s1(le),H=nb(te);if(te===null||H===null)return;let{top:W,bottom:Q}=ie,re=0,ce=0,me=le;for(;me!==null;){const X=me===te.body;if(X)re=0,ce=ti(fe).innerHeight;else{const Ae=me.getBoundingClientRect();re=Ae.top,ce=Ae.bottom}let ne=0;if(W<re?ne=-(re-W):Q>ce&&(ne=Q-ce),ne!==0)if(X)H.scrollBy(0,ne);else{const Ae=me.scrollTop;me.scrollTop+=ne;const oe=me.scrollTop-Ae;W-=oe,Q-=oe}if(X)break;me=Ku(me)}})(e,ue,o)}}uA=!0}}function Bu(n){let t=J()||Uo();t===null&&(t=Re().selectEnd()),t.insertNodes(n)}function em(n){let t=n;n.isCollapsed()||t.removeText();const e=J();Y(e)&&(t=e),Y(t)||be(161);const r=t.anchor;let i=r.getNode(),o=r.offset;for(;!Wr(i);){const s=i;if([i,o]=mj(i,o),s.is(i))break}return o}function mj(n,t){const e=n.getParent();if(!e){const i=Ee();return Re().append(i),i.select(),[Re(),0]}if(ae(n)){const i=n.splitText(t);if(i.length===0)return[e,n.getIndexWithinParent()];const o=t===0?0:1;return[e,i[0].getIndexWithinParent()+o]}if(!G(n)||t===0)return[e,n.getIndexWithinParent()];const r=n.getChildAtIndex(t);if(r){const i=new jl(Rn(n.__key,t,"element"),Rn(n.__key,t,"element"),0,""),o=n.insertNewAfter(i);o&&o.append(r,...r.getNextSiblings())}return[e,n.getIndexWithinParent()+1]}function qv(n,t,e,r,i="decorators-and-blocks"){if(t==="move"&&r==="character"&&!n.isCollapsed()){const[d,h]=e===n.isBackward()?[n.focus,n.anchor]:[n.anchor,n.focus];return h.set(d.key,d.offset,d.type),!0}const o=Yi(n.focus,e?"previous":"next"),s=r==="lineboundary",l=t==="move";let c=o,u=i==="decorators-and-blocks";if(!g1(c)){for(const d of c){u=!1;const{origin:h}=d;if(!ot(h)||h.isIsolated()||(c=d,!s||!h.isInline()))break}if(u)for(const d of cb(o).iterNodeCarets(t==="extend"?"shadowRoot":"root")){if(qr(d))d.origin.isInline()||(c=d);else{if(G(d.origin))continue;ot(d.origin)&&!d.origin.isInline()&&(c=d)}break}}if(c===o)return!1;if(l&&!s&&ot(c.origin)&&c.origin.isKeyboardSelectable()){const d=Yy();return d.add(c.origin.getKey()),Ve(d),!0}return c=Qr(c),l&&gu(n.anchor,c),gu(n.focus,c),u||!s}let Mn=null,Dn=null,mr=!1,tm=!1,_f=0;const $v={characterData:!0,childList:!0,subtree:!0};function zl(){return mr||Mn!==null&&Mn._readOnly}function In(){mr&&be(13)}function zT(){_f>99&&be(14)}function Ko(){return Mn===null&&be(195,UT()),Mn}function qt(){return Dn===null&&be(196,UT()),Dn}function UT(){let n=0;const t=new Set,e=Al.version;if(typeof window<"u")for(const i of document.querySelectorAll("[contenteditable]")){const o=Hh(i);if(Xy(o))n++;else if(o){let s=String(o.constructor.version||"<0.17.1");s===e&&(s+=" (separately built, likely a bundler configuration issue)"),t.add(s)}}let r=` Detected on the page: ${n} compatible editor(s) with version ${e}`;return t.size&&(r+=` and incompatible editors with versions ${Array.from(t).join(", ")}`),r}function Aj(){return Dn}function ex(n,t,e){const r=t.__type,i=GT(n,r);let o=e.get(r);o===void 0&&(o=Array.from(i.transforms),e.set(r,o));const s=o.length;for(let l=0;l<s&&(o[l](t),t.isAttached());l++);}function tx(n,t){return n!==void 0&&n.__key!==t&&n.isAttached()}function KT(n,t){if(!t)return;const e=n._updateTags;let r=t;Array.isArray(t)||(r=[t]);for(const i of r)e.add(i)}function yj(n){return Zy(n,qt()._nodes)}function Zy(n,t){const e=n.type,r=t.get(e);r===void 0&&be(17,e);const i=r.klass;n.type!==i.getType()&&be(18,i.name);const o=i.importJSON(n),s=n.children;if(G(o)&&Array.isArray(s))for(let l=0;l<s.length;l++){const c=Zy(s[l],t);o.append(c)}return o}function nx(n,t,e){const r=Mn,i=mr,o=Dn;Mn=t,mr=!0,Dn=n;try{return e()}finally{Mn=r,mr=i,Dn=o}}function yo(n,t){const e=n._pendingEditorState,r=n._rootElement,i=n._headless||r===null;if(e===null)return;const o=n._editorState,s=o._selection,l=e._selection,c=n._dirtyType!==0,u=Mn,d=mr,h=Dn,g=n._updating,p=n._observer;let m=null;if(n._pendingEditorState=null,n._editorState=e,!i&&c&&p!==null){Dn=n,Mn=e,mr=!1,n._updating=!0;try{const T=n._dirtyType,k=n._dirtyElements,M=n._dirtyLeaves;p.disconnect(),m=$F(o,e,n,T,k,M)}catch(T){if(T instanceof Error&&n._onError(T),tm)throw T;return YT(n,null,r,e),fT(n),n._dirtyType=2,tm=!0,yo(n,o),void(tm=!1)}finally{p.observe(r,$v),n._updating=g,Mn=u,mr=d,Dn=h}}e._readOnly||(e._readOnly=!0);const y=n._dirtyLeaves,w=n._dirtyElements,v=n._normalizedNodes,C=n._updateTags,x=n._deferred;c&&(n._dirtyType=0,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements=new Map,n._normalizedNodes=new Set,n._updateTags=new Set),(function(T,k){const M=T._decorators;let I=T._pendingDecorators||M;const R=k._nodeMap;let B;for(B in I)R.has(B)||(I===M&&(I=qT(T)),delete I[B])})(n,e);const _=i?null:ni(ti(n));if(n._editable&&_!==null&&(c||l===null||l.dirty||!l.is(s))&&r!==null&&!C.has(ij)){Dn=n,Mn=e;try{if(p!==null&&p.disconnect(),c||l===null||l.dirty){const T=n._blockCursorElement;T!==null&&bA(T,n,r),pj(s,l,n,_,C,r)}(function(T,k,M){let I=T._blockCursorElement;if(Y(M)&&M.isCollapsed()&&M.anchor.type==="element"&&k.contains(document.activeElement)){const R=M.anchor,B=R.getNode(),U=R.offset;let j=!1,K=null;if(U===B.getChildrenSize())rm(B.getChildAtIndex(U-1))&&(j=!0);else{const V=B.getChildAtIndex(U);if(V!==null&&rm(V)){const ue=V.getPreviousSibling();(ue===null||rm(ue))&&(j=!0,K=T.getElementByKey(V.__key))}}if(j){const V=T.getElementByKey(B.__key);return I===null&&(T._blockCursorElement=I=(function(ue){const fe=ue.theme,ie=document.createElement("div");ie.contentEditable="false",ie.setAttribute("data-lexical-cursor","true");let le=fe.blockCursor;if(le!==void 0){if(typeof le=="string"){const te=oT(le);le=fe.blockCursor=te}le!==void 0&&ie.classList.add(...le)}return ie})(T._config)),k.style.caretColor="transparent",void(K===null?V.appendChild(I):V.insertBefore(I,K))}}I!==null&&bA(I,T,k)})(n,r,l)}finally{p!==null&&p.observe(r,$v),Dn=h,Mn=u}}m!==null&&(function(T,k,M,I,R){const B=Array.from(T._listeners.mutation),U=B.length;for(let j=0;j<U;j++){const[K,V]=B[j];for(const ue of V){const fe=k.get(ue);fe!==void 0&&K(fe,{dirtyLeaves:I,prevEditorState:R,updateTags:M})}}})(n,m,C,y,o),Y(l)||l===null||s!==null&&s.is(l)||n.dispatchCommand(Gr,void 0);const N=n._pendingDecorators;N!==null&&(n._decorators=N,n._pendingDecorators=null,Xc("decorator",n,!0,N)),(function(T,k,M){const I=lx(k),R=lx(M);I!==R&&Xc("textcontent",T,!0,R)})(n,t||o,e),Xc("update",n,!0,{dirtyElements:w,dirtyLeaves:y,editorState:e,mutatedNodes:m,normalizedNodes:v,prevEditorState:t||o,tags:C}),(function(T,k){if(T._deferred=[],k.length!==0){const M=T._updating;T._updating=!0;try{for(let I=0;I<k.length;I++)k[I]()}finally{T._updating=M}}})(n,x),(function(T){const k=T._updates;if(k.length!==0){const M=k.shift();if(M){const[I,R]=M;Kh(T,I,R)}}})(n)}function Xc(n,t,e,...r){const i=t._updating;t._updating=e;try{const o=Array.from(t._listeners[n]);for(let s=0;s<o.length;s++)o[s].apply(null,r)}finally{t._updating=i}}function rx(n,t){const e=n._updates;let r=t||!1;for(;e.length!==0;){const i=e.shift();if(i){const[o,s]=i,l=n._pendingEditorState;let c;s!==void 0&&(c=s.onUpdate,s.skipTransforms&&(r=!0),s.discrete&&(l===null&&be(191),l._flushSync=!0),c&&n._deferred.push(c),KT(n,s.tag)),l==null?Kh(n,o,s):o()}}return r}function Kh(n,t,e){const r=n._updateTags;let i,o=!1,s=!1;e!==void 0&&(i=e.onUpdate,KT(n,e.tag),o=e.skipTransforms||!1,s=e.discrete||!1),i&&n._deferred.push(i);const l=n._editorState;let c=n._pendingEditorState,u=!1;(c===null||c._readOnly)&&(c=n._pendingEditorState=WT(c||l),u=!0),c._flushSync=s;const d=Mn,h=mr,g=Dn,p=n._updating;Mn=c,mr=!1,n._updating=!0,Dn=n;const m=n._headless||n.getRootElement()===null;Qy(null);try{u&&(m?l._selection!==null&&(c._selection=l._selection.clone()):c._selection=(function(C,x){const _=C.getEditorState()._selection,N=ni(ti(C));return Y(_)||_==null?Uh(_,N,C,x):_.clone()})(n,e&&e.event||null));const w=n._compositionKey;t(),o=rx(n,o),(function(C,x){const _=x.getEditorState()._selection,N=C._selection;if(Y(N)){const T=N.anchor,k=N.focus;let M;if(T.type==="text"&&(M=T.getNode(),M.selectionTransform(_,N)),k.type==="text"){const I=k.getNode();M!==I&&I.selectionTransform(_,N)}}})(c,n),n._dirtyType!==0&&(o?(function(C,x){const _=x._dirtyLeaves,N=C._nodeMap;for(const T of _){const k=N.get(T);ae(k)&&k.isAttached()&&k.isSimpleText()&&!k.isUnmergeable()&&Lv(k)}})(c,n):(function(C,x){const _=x._dirtyLeaves,N=x._dirtyElements,T=C._nodeMap,k=cs(),M=new Map;let I=_,R=I.size,B=N,U=B.size;for(;R>0||U>0;){if(R>0){x._dirtyLeaves=new Set;for(const j of I){const K=T.get(j);ae(K)&&K.isAttached()&&K.isSimpleText()&&!K.isUnmergeable()&&Lv(K),K!==void 0&&tx(K,k)&&ex(x,K,M),_.add(j)}if(I=x._dirtyLeaves,R=I.size,R>0){_f++;continue}}x._dirtyLeaves=new Set,x._dirtyElements=new Map,B.delete("root")&&B.set("root",!0);for(const j of B){const K=j[0],V=j[1];if(N.set(K,V),!V)continue;const ue=T.get(K);ue!==void 0&&tx(ue,k)&&ex(x,ue,M)}I=x._dirtyLeaves,R=I.size,B=x._dirtyElements,U=B.size,_f++}x._dirtyLeaves=_,x._dirtyElements=N})(c,n),rx(n),(function(C,x,_,N){const T=C._nodeMap,k=x._nodeMap,M=[];for(const[I]of N){const R=k.get(I);R!==void 0&&(R.isAttached()||(G(R)&&cT(R,I,T,k,M,N),T.has(I)||N.delete(I),M.push(I)))}for(const I of M)k.delete(I);for(const I of _){const R=k.get(I);R===void 0||R.isAttached()||(T.has(I)||_.delete(I),k.delete(I))}})(l,c,n._dirtyLeaves,n._dirtyElements)),w!==n._compositionKey&&(c._flushSync=!0);const v=c._selection;if(Y(v)){const C=c._nodeMap,x=v.anchor.key,_=v.focus.key;C.get(x)!==void 0&&C.get(_)!==void 0||be(19)}else Vt(v)&&v._nodes.size===0&&(c._selection=null)}catch(w){return w instanceof Error&&n._onError(w),n._pendingEditorState=l,n._dirtyType=2,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements.clear(),void yo(n)}finally{Mn=d,mr=h,Dn=g,n._updating=p,_f=0}n._dirtyType!==0||n._deferred.length>0||(function(w,v){const C=v.getEditorState()._selection,x=w._selection;if(x!==null){if(x.dirty||!x.is(C))return!0}else if(C!==null)return!0;return!1})(c,n)?c._flushSync?(c._flushSync=!1,yo(n)):u&&vj(()=>{yo(n)}):(c._flushSync=!1,u&&(r.clear(),n._deferred=[],n._pendingEditorState=null))}function Tr(n,t,e){Dn===n&&e===void 0?t():Kh(n,t,e)}class qc{constructor(t,e,r){F(this,"element");F(this,"before");F(this,"after");this.element=t,this.before=e||null,this.after=r||null}withBefore(t){return new qc(this.element,t,this.after)}withAfter(t){return new qc(this.element,this.before,t)}withElement(t){return this.element===t?this:new qc(t,this.before,this.after)}insertChild(t){const e=this.before||this.getManagedLineBreak();return e!==null&&e.parentElement!==this.element&&be(222),this.element.insertBefore(t,e),this}removeChild(t){return t.parentElement!==this.element&&be(223),this.element.removeChild(t),this}replaceChild(t,e){return e.parentElement!==this.element&&be(224),this.element.replaceChild(t,e),this}getFirstChild(){const t=this.after?this.after.nextSibling:this.element.firstChild;return t===this.before||t===this.getManagedLineBreak()?null:t}getManagedLineBreak(){return this.element.__lexicalLineBreak||null}setManagedLineBreak(t){if(t===null)this.removeManagedLineBreak();else{const e=t==="decorator"&&(uu||Ua||cu);this.insertManagedLineBreak(e)}}removeManagedLineBreak(){const t=this.getManagedLineBreak();if(t){const e=this.element,r=t.nodeName==="IMG"?t.nextSibling:null;r&&e.removeChild(r),e.removeChild(t),e.__lexicalLineBreak=void 0}}insertManagedLineBreak(t){const e=this.getManagedLineBreak();if(e){if(t===(e.nodeName==="IMG"))return;this.removeManagedLineBreak()}const r=this.element,i=this.before,o=document.createElement("br");if(r.insertBefore(o,i),t){const s=document.createElement("img");s.setAttribute("data-lexical-linebreak","true"),s.style.cssText="display: inline !important; border: 0px !important; margin: 0px !important;",s.alt="",r.insertBefore(s,o),r.__lexicalLineBreak=s}else r.__lexicalLineBreak=o}getFirstChildOffset(){let t=0;for(let e=this.after;e!==null;e=e.previousSibling)t++;return t}resolveChildIndex(t,e,r,i){if(r===this.element){const c=this.getFirstChildOffset();return[t,Math.min(c+t.getChildrenSize(),Math.max(c,i))]}const o=ix(e,r);o.push(i);const s=ix(e,this.element);let l=t.getIndexWithinParent();for(let c=0;c<s.length;c++){const u=o[c],d=s[c];if(u===void 0||u<d)break;if(u>d){l+=1;break}}return[t.getParentOrThrow(),l]}}function ix(n,t){const e=[];let r=t;for(;r!==n&&r!==null;r=r.parentNode){let i=0;for(let o=r.previousSibling;o!==null;o=o.previousSibling)i++;e.push(i)}return r!==n&&be(225),e.reverse()}class At extends hi{constructor(e){super(e);F(this,"__first");F(this,"__last");F(this,"__size");F(this,"__format");F(this,"__style");F(this,"__indent");F(this,"__dir");F(this,"__textFormat");F(this,"__textStyle");this.__first=null,this.__last=null,this.__size=0,this.__format=0,this.__style="",this.__indent=0,this.__dir=null,this.__textFormat=0,this.__textStyle=""}afterCloneFrom(e){super.afterCloneFrom(e),this.__key===e.__key&&(this.__first=e.__first,this.__last=e.__last,this.__size=e.__size),this.__indent=e.__indent,this.__format=e.__format,this.__style=e.__style,this.__dir=e.__dir,this.__textFormat=e.__textFormat,this.__textStyle=e.__textStyle}getFormat(){return this.getLatest().__format}getFormatType(){const e=this.getFormat();return UF[e]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){const e=[];let r=this.getFirstChild();for(;r!==null;)e.push(r),r=r.getNextSibling();return e}getChildrenKeys(){const e=[];let r=this.getFirstChild();for(;r!==null;)e.push(r.__key),r=r.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return this.getChildrenSize()===0}isDirty(){const e=qt()._dirtyElements;return e!==null&&e.has(this.__key)}isLastChild(){const e=this.getLatest(),r=this.getParentOrThrow().getLastChild();return r!==null&&r.is(e)}getAllTextNodes(){const e=[];let r=this.getFirstChild();for(;r!==null;){if(ae(r)&&e.push(r),G(r)){const i=r.getAllTextNodes();e.push(...i)}r=r.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;G(e);){const r=e.getFirstChild();if(r===null)break;e=r}return e}getLastDescendant(){let e=this.getLastChild();for(;G(e);){const r=e.getLastChild();if(r===null)break;e=r}return e}getDescendantByIndex(e){const r=this.getChildren(),i=r.length;if(e>=i){const s=r[i-1];return G(s)&&s.getLastDescendant()||s||null}const o=r[e];return G(o)&&o.getFirstDescendant()||o||null}getFirstChild(){const e=this.getLatest().__first;return e===null?null:ve(e)}getFirstChildOrThrow(){const e=this.getFirstChild();return e===null&&be(45,this.__key),e}getLastChild(){const e=this.getLatest().__last;return e===null?null:ve(e)}getLastChildOrThrow(){const e=this.getLastChild();return e===null&&be(96,this.__key),e}getChildAtIndex(e){const r=this.getChildrenSize();let i,o;if(e<r/2){for(i=this.getFirstChild(),o=0;i!==null&&o<=e;){if(o===e)return i;i=i.getNextSibling(),o++}return null}for(i=this.getLastChild(),o=r-1;i!==null&&o>=e;){if(o===e)return i;i=i.getPreviousSibling(),o--}return null}getTextContent(){let e="";const r=this.getChildren(),i=r.length;for(let o=0;o<i;o++){const s=r[o];e+=s.getTextContent(),G(s)&&o!==i-1&&!s.isInline()&&(e+=bs)}return e}getTextContentSize(){let e=0;const r=this.getChildren(),i=r.length;for(let o=0;o<i;o++){const s=r[o];e+=s.getTextContentSize(),G(s)&&o!==i-1&&!s.isInline()&&(e+=2)}return e}getDirection(){return this.getLatest().__dir}getTextFormat(){return this.getLatest().__textFormat}hasFormat(e){if(e!==""){const r=Ev[e];return(this.getFormat()&r)!==0}return!1}hasTextFormat(e){const r=No[e];return(this.getTextFormat()&r)!==0}getFormatFlags(e,r){return Qf(this.getLatest().__textFormat,e,r)}getTextStyle(){return this.getLatest().__textStyle}select(e,r){In();const i=J();let o=e,s=r;const l=this.getChildrenSize();if(!this.canBeEmpty()){if(e===0&&r===0){const u=this.getFirstChild();if(ae(u)||G(u))return u.select(0,0)}else if(!(e!==void 0&&e!==l||r!==void 0&&r!==l)){const u=this.getLastChild();if(ae(u)||G(u))return u.select()}}o===void 0&&(o=l),s===void 0&&(s=l);const c=this.__key;return Y(i)?(i.anchor.set(c,o,"element"),i.focus.set(c,s,"element"),i.dirty=!0,i):FT(c,o,c,s,"element","element")}selectStart(){const e=this.getFirstDescendant();return e?e.selectStart():this.select()}selectEnd(){const e=this.getLastDescendant();return e?e.selectEnd():this.select()}clear(){const e=this.getWritable();return this.getChildren().forEach(r=>r.remove()),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){const r=this.getWritable();return r.__dir=e,r}setFormat(e){return this.getWritable().__format=e!==""?Ev[e]:0,this}setStyle(e){return this.getWritable().__style=e||"",this}setTextFormat(e){const r=this.getWritable();return r.__textFormat=e,r}setTextStyle(e){const r=this.getWritable();return r.__textStyle=e,r}setIndent(e){return this.getWritable().__indent=e,this}splice(e,r,i){Zf(this)&&be(324,this.__key,this.__type);const o=this.getChildrenSize(),s=this.getWritable();e+r<=o||be(226,String(e),String(r),String(o));const l=s.__key,c=[],u=[],d=this.getChildAtIndex(e+r);let h=null,g=o-r+i.length;if(e!==0)if(e===o)h=this.getLastChild();else{const m=this.getChildAtIndex(e);m!==null&&(h=m.getPreviousSibling())}if(r>0){let m=h===null?this.getFirstChild():h.getNextSibling();for(let y=0;y<r;y++){m===null&&be(100);const w=m.getNextSibling(),v=m.__key;Eo(m.getWritable()),u.push(v),m=w}}let p=h;for(const m of i){p!==null&&m.is(p)&&(h=p=p.getPreviousSibling());const y=m.getWritable();y.__parent===l&&g--,Eo(y);const w=m.__key;if(p===null)s.__first=w,y.__prev=null;else{const v=p.getWritable();v.__next=w,y.__prev=v.__key}m.__key===l&&be(76),y.__parent=l,c.push(w),p=m}if(e+r===o)p!==null&&(p.getWritable().__next=null,s.__last=p.__key);else if(d!==null){const m=d.getWritable();if(p!==null){const y=p.getWritable();m.__prev=p.__key,y.__next=d.__key}else m.__prev=null}if(s.__size=g,u.length){const m=J();if(Y(m)){const y=new Set(u),w=new Set(c),{anchor:v,focus:C}=m;ox(v,y,w)&&Jf(v,v.getNode(),this,h,d),ox(C,y,w)&&Jf(C,C.getNode(),this,h,d),g!==0||this.canBeEmpty()||qn(this)||this.remove()}}return s}getDOMSlot(e){return new qc(e)}exportDOM(e){const{element:r}=super.exportDOM(e);if(Et(r)){const i=this.getIndent();i>0&&(r.style.paddingInlineStart=40*i+"px");const o=this.getDirection();o&&(r.dir=o)}return{element:r}}exportJSON(){const e={children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),...super.exportJSON()},r=this.getTextFormat(),i=this.getTextStyle();return r!==0&&(e.textFormat=r),i!==""&&(e.textStyle=i),e}updateFromJSON(e){return super.updateFromJSON(e).setFormat(e.format).setIndent(e.indent).setDirection(e.direction).setTextFormat(e.textFormat||0).setTextStyle(e.textStyle||"")}insertNewAfter(e,r){return null}canIndent(){return!0}collapseAtStart(e){return!1}excludeFromCopy(e){return!1}canReplaceWith(e){return!0}canInsertAfter(e){return!0}canBeEmpty(){return!0}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}isInline(){return!1}isShadowRoot(){return!1}canMergeWith(e){return!1}extractWithChild(e,r,i){return!1}canMergeWhenEmpty(){return!1}reconcileObservedMutation(e,r){const i=this.getDOMSlot(e);let o=i.getFirstChild();for(let s=this.getFirstChild();s;s=s.getNextSibling()){const l=r.getElementByKey(s.getKey());l!==null&&(o==null?(i.insertChild(l),o=l):o!==l&&i.replaceChild(l,o),o=o.nextSibling)}}}function G(n){return n instanceof At}function ox(n,t,e){let r=n.getNode();for(;r;){const i=r.__key;if(t.has(i)&&!e.has(i))return!0;r=r.getParent()}return!1}class Vi extends hi{decorate(t,e){return null}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function ot(n){return n instanceof Vi}class Ul extends At{constructor(){super("root");F(this,"__cachedText");this.__cachedText=null}static getType(){return"root"}static clone(){return new Ul}getTopLevelElementOrThrow(){be(51)}getTextContent(){const e=this.__cachedText;return!zl()&&qt()._dirtyType!==0||e===null?super.getTextContent():e}remove(){be(52)}replace(e){be(53)}insertBefore(e){be(54)}insertAfter(e){be(55)}updateDOM(e,r){return!1}splice(e,r,i){for(const o of i)G(o)||ot(o)||be(282);return super.splice(e,r,i)}static importJSON(e){return Re().updateFromJSON(e)}collapseAtStart(){return!0}}function Yt(n){return n instanceof Ul}function WT(n){return new Fu(new Map(n._nodeMap))}function Gy(){return new Fu(new Map([["root",new Ul]]))}function HT(n){const t=n.exportJSON(),e=n.constructor;if(t.type!==e.getType()&&be(130,e.name),G(n)){const r=t.children;Array.isArray(r)||be(59,e.name);const i=n.getChildren();for(let o=0;o<i.length;o++){const s=HT(i[o]);r.push(s)}}return t}function bj(n){return n instanceof Fu}class Fu{constructor(t,e){F(this,"_nodeMap");F(this,"_selection");F(this,"_flushSync");F(this,"_readOnly");this._nodeMap=t,this._selection=e||null,this._flushSync=!1,this._readOnly=!1}isEmpty(){return this._nodeMap.size===1&&this._selection===null}read(t,e){return nx(e&&e.editor||null,this,t)}clone(t){const e=new Fu(this._nodeMap,t===void 0?this._selection:t);return e._readOnly=!0,e}toJSON(){return nx(null,this,()=>({root:HT(Re())}))}}class Jy extends At{static getType(){return"artificial"}createDOM(t){return document.createElement("div")}}class Wo extends At{static getType(){return"paragraph"}static clone(t){return new Wo(t.__key)}createDOM(t){const e=document.createElement("p"),r=Oa(t.theme,"paragraph");return r!==void 0&&e.classList.add(...r),e}updateDOM(t,e,r){return!1}static importDOM(){return{p:t=>({conversion:wj,priority:0})}}exportDOM(t){const{element:e}=super.exportDOM(t);if(Et(e)){this.isEmpty()&&e.append(document.createElement("br"));const r=this.getFormatType();r&&(e.style.textAlign=r)}return{element:e}}static importJSON(t){return Ee().updateFromJSON(t)}exportJSON(){return{...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle()}}insertNewAfter(t,e){const r=Ee();r.setTextFormat(t.format),r.setTextStyle(t.style);const i=this.getDirection();return r.setDirection(i),r.setFormat(this.getFormatType()),r.setStyle(this.getStyle()),this.insertAfter(r,e),r}collapseAtStart(){const t=this.getChildren();if(t.length===0||ae(t[0])&&t[0].getTextContent().trim()===""){if(this.getNextSibling()!==null)return this.selectNext(),this.remove(),!0;if(this.getPreviousSibling()!==null)return this.selectPrevious(),this.remove(),!0}return!1}}function wj(n){const t=Ee();return n.style&&(t.setFormat(n.style.textAlign),ob(n,t)),{node:t}}function Ee(){return Lt(new Wo)}function mn(n){return n instanceof Wo}const Ke=0,Ne=1,Ai=2,bo=3,bn=4;function YT(n,t,e,r){const i=n._keyToDOMMap;i.clear(),n._editorState=Gy(),n._pendingEditorState=r,n._compositionKey=null,n._dirtyType=0,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements.clear(),n._normalizedNodes=new Set,n._updateTags=new Set,n._updates=[],n._blockCursorElement=null;const o=n._observer;o!==null&&(o.disconnect(),n._observer=null),t!==null&&(t.textContent=""),e!==null&&(e.textContent="",i.set("root",e))}function ZT(n){const t=new Set,e=new Set;let r=n;for(;r;){const{ownNodeConfig:i}=Gh(r),o=r.transform;if(!e.has(o)){e.add(o);const s=r.transform();s&&t.add(s)}if(i){const s=i.$transform;s&&t.add(s),r=i.extends}else{const s=Object.getPrototypeOf(r);r=s.prototype instanceof hi&&s!==hi?s:void 0}}return t}function ju(n){const t=n||{},e=Aj(),r=t.theme||{},i=n===void 0?e:t.parentEditor||null,o=t.disableEvents||!1,s=Gy(),l=t.namespace||(i!==null?i._config.namespace:t1()),c=t.editorState,u=[Ul,Ln,rc,ic,Wo,Jy,...t.nodes||[]],{onError:d,html:h}=t,g=t.editable===void 0||t.editable;let p;if(n===void 0&&e!==null)p=e._nodes;else{p=new Map;for(let y=0;y<u.length;y++){let w=u[y],v=null,C=null;if(typeof w!="function"){const N=w;w=N.replace,v=N.with,C=N.withKlass||null}Gh(w);const x=w.getType(),_=ZT(w);p.set(x,{exportDOM:h&&h.export?h.export.get(w):void 0,klass:w,replace:v,replaceWithKlass:C,sharedNodeState:pT(u[y]),transforms:_})}}const m=new Al(s,i,p,{disableEvents:o,namespace:l,theme:r},d||console.error,(function(y,w){const v=new Map,C=new Set,x=_=>{Object.keys(_).forEach(N=>{let T=v.get(N);T===void 0&&(T=[],v.set(N,T)),T.push(_[N])})};return y.forEach(_=>{const N=_.klass.importDOM;if(N==null||C.has(N))return;C.add(N);const T=N.call(_.klass);T!==null&&x(T)}),w&&x(w),v})(p,h?h.import:void 0),g,n);return c!==void 0&&(m._pendingEditorState=c,m._dirtyType=2),m}class Al{constructor(t,e,r,i,o,s,l,c){F(this,"_headless");F(this,"_parentEditor");F(this,"_rootElement");F(this,"_editorState");F(this,"_pendingEditorState");F(this,"_compositionKey");F(this,"_deferred");F(this,"_keyToDOMMap");F(this,"_updates");F(this,"_updating");F(this,"_listeners");F(this,"_commands");F(this,"_nodes");F(this,"_decorators");F(this,"_pendingDecorators");F(this,"_config");F(this,"_dirtyType");F(this,"_cloneNotNeeded");F(this,"_dirtyLeaves");F(this,"_dirtyElements");F(this,"_normalizedNodes");F(this,"_updateTags");F(this,"_observer");F(this,"_key");F(this,"_onError");F(this,"_htmlConversions");F(this,"_window");F(this,"_editable");F(this,"_blockCursorElement");F(this,"_createEditorArgs");this._createEditorArgs=c,this._parentEditor=e,this._rootElement=null,this._editorState=t,this._pendingEditorState=null,this._compositionKey=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=i,this._nodes=r,this._decorators={},this._pendingDecorators=null,this._dirtyType=0,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=t1(),this._onError=o,this._htmlConversions=s,this._editable=l,this._headless=e!==null&&e._headless,this._window=null,this._blockCursorElement=null}isComposing(){return this._compositionKey!=null}registerUpdateListener(t){const e=this._listeners.update;return e.add(t),()=>{e.delete(t)}}registerEditableListener(t){const e=this._listeners.editable;return e.add(t),()=>{e.delete(t)}}registerDecoratorListener(t){const e=this._listeners.decorator;return e.add(t),()=>{e.delete(t)}}registerTextContentListener(t){const e=this._listeners.textcontent;return e.add(t),()=>{e.delete(t)}}registerRootListener(t){const e=this._listeners.root;return t(this._rootElement,null),e.add(t),()=>{t(null,this._rootElement),e.delete(t)}}registerCommand(t,e,r){r===void 0&&be(35);const i=this._commands;i.has(t)||i.set(t,[new Set,new Set,new Set,new Set,new Set]);const o=i.get(t);o===void 0&&be(36,String(t));const s=o[r];return s.add(e),()=>{s.delete(e),o.every(l=>l.size===0)&&i.delete(t)}}registerMutationListener(t,e,r){const i=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(t)).klass,o=this._listeners.mutation;let s=o.get(e);s===void 0&&(s=new Set,o.set(e,s)),s.add(i);const l=r&&r.skipInitialization;return l!==void 0&&l||this.initializeMutationListener(e,i),()=>{s.delete(i),s.size===0&&o.delete(e)}}getRegisteredNode(t){const e=this._nodes.get(t.getType());return e===void 0&&be(37,t.name),e}resolveRegisteredNodeAfterReplacements(t){for(;t.replaceWithKlass;)t=this.getRegisteredNode(t.replaceWithKlass);return t}initializeMutationListener(t,e){const r=this._editorState,i=vA(r).get(e.getType());if(!i)return;const o=new Map;for(const s of i.keys())o.set(s,"created");o.size>0&&t(o,{dirtyLeaves:new Set,prevEditorState:r,updateTags:new Set(["registerMutationListener"])})}registerNodeTransformToKlass(t,e){const r=this.getRegisteredNode(t);return r.transforms.add(e),r}registerNodeTransform(t,e){const r=this.registerNodeTransformToKlass(t,e),i=[r],o=r.replaceWithKlass;if(o!=null){const s=this.registerNodeTransformToKlass(o,e);i.push(s)}return(function(s,l){const c=vA(s.getEditorState()),u=[];for(const d of l){const h=c.get(d);h&&u.push(h)}u.length!==0&&s.update(()=>{for(const d of u)for(const h of d.keys()){const g=ve(h);g&&g.markDirty()}},s._pendingEditorState===null?{tag:Jr}:void 0)})(this,i.map(s=>s.klass.getType())),()=>{i.forEach(s=>s.transforms.delete(e))}}hasNode(t){return this._nodes.has(t.getType())}hasNodes(t){return t.every(this.hasNode.bind(this))}dispatchCommand(t,e){return Ie(this,t,e)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(t){const e=this._rootElement;if(t!==e){const r=Oa(this._config.theme,"root"),i=this._pendingEditorState||this._editorState;if(this._rootElement=t,YT(this,e,t,i),e!==null&&(this._config.disableEvents||tj(e),r!=null&&e.classList.remove(...r)),t!==null){const o=nb(t),s=t.style;s.userSelect="text",s.whiteSpace="pre-wrap",s.wordBreak="break-word",t.setAttribute("data-lexical-editor","true"),this._window=o,this._dirtyType=2,fT(this),this._updateTags.add(Jr),yo(this),this._config.disableEvents||(function(l,c){const u=l.ownerDocument;cA.set(l,u);const d=Yf.get(u)??0;d<1&&u.addEventListener("selectionchange",MT),Yf.set(u,d+1),l.__lexicalEditor=c;const h=IT(l);for(let g=0;g<aA.length;g++){const[p,m]=aA[g],y=typeof m=="function"?w=>{jv(w)||(Fv(w),(c.isEditable()||p==="click")&&m(w,c))}:w=>{if(jv(w))return;Fv(w);const v=c.isEditable();switch(p){case"cut":return v&&Ie(c,Ru,w);case"copy":return Ie(c,Fl,w);case"paste":return v&&Ie(c,Ol,w);case"dragstart":return v&&Ie(c,Uy,w);case"dragover":return v&&Ie(c,Ky,w);case"dragend":return v&&Ie(c,ej,w);case"focus":return v&&Ie(c,Os,w);case"blur":return v&&Ie(c,jh,w);case"drop":return v&&Ie(c,zy,w)}};l.addEventListener(p,y),h.push(()=>{l.removeEventListener(p,y)})}})(t,this),r!=null&&t.classList.add(...r)}else this._window=null,this._updateTags.add(Jr),yo(this);Xc("root",this,!1,t,e)}}getElementByKey(t){return this._keyToDOMMap.get(t)||null}getEditorState(){return this._editorState}setEditorState(t,e){t.isEmpty()&&be(38);let r=t;r._readOnly&&(r=WT(t),r._selection=t._selection?t._selection.clone():null),dT(this);const i=this._pendingEditorState,o=this._updateTags,s=e!==void 0?e.tag:null;i===null||i.isEmpty()||(s!=null&&o.add(s),yo(this)),this._pendingEditorState=r,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,s!=null&&o.add(s),this._updating||yo(this)}parseEditorState(t,e){return(function(r,i,o){const s=Gy(),l=Mn,c=mr,u=Dn,d=i._dirtyElements,h=i._dirtyLeaves,g=i._cloneNotNeeded,p=i._dirtyType;i._dirtyElements=new Map,i._dirtyLeaves=new Set,i._cloneNotNeeded=new Set,i._dirtyType=0,Mn=s,mr=!1,Dn=i,Qy(null);try{const m=i._nodes;Zy(r.root,m),o&&o(),s._readOnly=!0}catch(m){m instanceof Error&&i._onError(m)}finally{i._dirtyElements=d,i._dirtyLeaves=h,i._cloneNotNeeded=g,i._dirtyType=p,Mn=l,mr=c,Dn=u}return s})(typeof t=="string"?JSON.parse(t):t,this,e)}read(t){return yo(this),this.getEditorState().read(t,{editor:this})}update(t,e){(function(r,i,o){r._updating?r._updates.push([i,o]):Kh(r,i,o)})(this,t,e)}focus(t,e={}){const r=this._rootElement;r!==null&&(r.setAttribute("autocapitalize","off"),Tr(this,()=>{const i=J(),o=Re();i!==null?i.dirty||Ve(i.clone()):o.getChildrenSize()!==0&&(e.defaultSelection==="rootStart"?o.selectStart():o.selectEnd()),l1("focus"),Sj(()=>{r.removeAttribute("autocapitalize"),t&&t()})}),this._pendingEditorState===null&&r.removeAttribute("autocapitalize"))}blur(){const t=this._rootElement;t!==null&&t.blur();const e=ni(this._window);e!==null&&e.removeAllRanges()}isEditable(){return this._editable}setEditable(t){this._editable!==t&&(this._editable=t,Xc("editable",this,!0,t))}toJSON(){return{editorState:this._editorState.toJSON()}}}F(Al,"version");Al.version="0.38.2+prod.esm";let pA=null;function Qy(n){pA=n}let Cj=1;function GT(n,t){const e=Wh(n,t);return e===void 0&&be(30,t),e}function Wh(n,t){return n._nodes.get(t)}const vj=typeof queueMicrotask=="function"?queueMicrotask:n=>{Promise.resolve().then(n)};function sx(n){return ot(Fe(n))}function Vy(n){const t=document.activeElement;if(!Et(t))return!1;const e=t.nodeName;return ot(Fe(n))&&(e==="INPUT"||e==="TEXTAREA"||t.contentEditable==="true"&&Hh(t)==null)}function zu(n,t,e){const r=n.getRootElement();try{return r!==null&&r.contains(t)&&r.contains(e)&&t!==null&&!Vy(t)&&Uu(t)===n}catch{return!1}}function Xy(n){return n instanceof Al}function Uu(n){let t=n;for(;t!=null;){const e=Hh(t);if(Xy(e))return e;t=Ku(t)}return null}function Hh(n){return n?n.__lexicalEditor:null}function xj(n){return FF.test(n)?"rtl":jF.test(n)?"ltr":null}function sl(n){return Un(n)||n.isToken()}function _i(n){return sl(n)||n.isSegmented()}function Ho(n){return Kl(n)&&n.nodeType===3}function JT(n){return Kl(n)&&n.nodeType===9}function Wa(n){let t=n;for(;t!=null;){if(Ho(t))return t;t=t.firstChild}return null}function Qf(n,t,e){const r=No[t];if(e!==null&&(n&r)===(e&r))return n;let i=n^r;return t==="subscript"?i&=-65:t==="superscript"?i&=-33:t==="lowercase"?(i&=-513,i&=-1025):t==="uppercase"?(i&=-257,i&=-1025):t==="capitalize"&&(i&=-257,i&=-513),i}function QT(n){return ae(n)||Dt(n)||ot(n)}function VT(n,t){const e=(function(){const s=pA;return pA=null,s})();if((t=t||e&&e.__key)!=null)return void(n.__key=t);In(),zT();const r=qt(),i=Ko(),o=""+Cj++;i._nodeMap.set(o,n),G(n)?r._dirtyElements.set(o,!0):r._dirtyLeaves.add(o),r._cloneNotNeeded.add(o),r._dirtyType=1,n.__key=o}function Eo(n){const t=n.getParent();if(t!==null){const e=n.getWritable(),r=t.getWritable(),i=n.getPreviousSibling(),o=n.getNextSibling(),s=o!==null?o.__key:null,l=i!==null?i.__key:null,c=i!==null?i.getWritable():null,u=o!==null?o.getWritable():null;i===null&&(r.__first=s),o===null&&(r.__last=l),c!==null&&(c.__next=s),u!==null&&(u.__prev=l),e.__prev=null,e.__next=null,e.__parent=null,r.__size--}}function Vf(n){zT(),Zf(n)&&be(323,n.__key,n.__type);const t=n.getLatest(),e=t.__parent,r=Ko(),i=qt(),o=r._nodeMap,s=i._dirtyElements;e!==null&&(function(c,u,d){let h=c;for(;h!==null;){if(d.has(h))return;const g=u.get(h);if(g===void 0)break;d.set(h,!1),h=g.__parent}})(e,o,s);const l=t.__key;i._dirtyType=1,G(n)?s.set(l,!0):i._dirtyLeaves.add(l)}function zn(n){In();const t=qt(),e=t._compositionKey;if(n!==e){if(t._compositionKey=n,e!==null){const r=ve(e);r!==null&&r.getWritable()}if(n!==null){const r=ve(n);r!==null&&r.getWritable()}}}function cs(){return zl()?null:qt()._compositionKey}function ve(n,t){const e=(t||Ko())._nodeMap.get(n);return e===void 0?null:e}function XT(n,t){const e=Yh(n,qt());return e!==void 0?ve(e,t):null}function Yh(n,t){return n[`__lexicalKey_${t._key}`]}function Fe(n,t){let e=n;for(;e!=null;){const r=XT(e,t);if(r!==null)return r;e=Ku(e)}return null}function qT(n){const t=n._decorators,e=Object.assign({},t);return n._pendingDecorators=e,e}function lx(n){return n.read(()=>Re().getTextContent())}function Re(){return $T(Ko())}function $T(n){return n._nodeMap.get("root")}function Ve(n){In();const t=Ko();n!==null&&(n.dirty=!0,n.setCachedNodes(null)),t._selection=n}function _a(n){const t=qt(),e=(function(r,i){let o=r;for(;o!=null;){const s=Yh(o,i);if(s!==void 0)return s;o=Ku(o)}return null})(n,t);return e===null?n===t.getRootElement()?ve("root"):null:ve(e)}function e1(n){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(n)}function qy(n){const t=[];let e=n;for(;e!==null;)t.push(e),e=e._parentEditor;return t}function t1(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,5)}function n1(n){return Ho(n)?n.nodeValue:null}function $y(n,t,e){const r=ni(ti(t));if(r===null)return;const i=r.anchorNode;let{anchorOffset:o,focusOffset:s}=r;if(i!==null){let l=n1(i);const c=Fe(i);if(l!==null&&ae(c)){if(l===Lh&&e){const u=e.length;l=e,o=u,s=u}l!==null&&eb(c,l,o,s,n)}}}function eb(n,t,e,r,i){let o=n;if(o.isAttached()&&(i||!o.isDirty())){const s=o.isComposing();let l=t;(s||i)&&t[t.length-1]===Lh&&(l=t.slice(0,-1));const c=o.getTextContent();if(i||l!==c){if(l===""){if(zn(null),cu||Ua||uu)o.remove();else{const y=qt();setTimeout(()=>{y.update(()=>{o.isAttached()&&o.remove()})},20)}return}const u=o.getParent(),d=Uo(),h=o.getTextContentSize(),g=cs(),p=o.getKey();if(o.isToken()||g!==null&&p===g&&!s||Y(d)&&(u!==null&&!u.canInsertTextBefore()&&d.anchor.offset===0||d.anchor.key===n.__key&&d.anchor.offset===0&&!o.canInsertTextBefore()&&!s||d.focus.key===n.__key&&d.focus.offset===h&&!o.canInsertTextAfter()&&!s))return void o.markDirty();const m=J();if(!Y(m)||e===null||r===null)return void ax(o,l,m);if(m.setTextNodeRange(o,e,o,r),o.isSegmented()){const y=yt(o.getTextContent());o.replace(y),o=y}ax(o,l,m)}}}function ax(n,t,e){if(n.setTextContent(t),Y(e)){const r=n.getKey();for(const i of["anchor","focus"]){const o=e[i];o.type==="text"&&o.key===r&&(o.offset=ji(n,o.offset,"clamp"))}}}function $d(n,t,e){const r=t[e]||!1;return r==="any"||r===n[e]}function Ut(n,t){return $d(n,t,"altKey")&&$d(n,t,"ctrlKey")&&$d(n,t,"shiftKey")&&$d(n,t,"metaKey")}function Nt(n,t,e){return Ut(n,e)&&n.key.toLowerCase()===t.toLowerCase()}const po={ctrlKey:!ci,metaKey:ci},cx={altKey:ci,ctrlKey:!ci};function ux(n){return n.key==="Backspace"}function dx(n){return Nt(n,"a",po)}function r1(n){const t=Re();if(Y(n)){const e=n.anchor,r=n.focus,i=e.getNode().getTopLevelElementOrThrow().getParentOrThrow();return e.set(i.getKey(),0,"element"),r.set(i.getKey(),i.getChildrenSize(),"element"),ws(n),n}{const e=t.select(0,t.getChildrenSize());return Ve(ws(e)),e}}function Oa(n,t){n.__lexicalClassNameCache===void 0&&(n.__lexicalClassNameCache={});const e=n.__lexicalClassNameCache,r=e[t];if(r!==void 0)return r;const i=n[t];if(typeof i=="string"){const o=oT(i);return e[t]=o,o}return i}function tb(n,t,e,r,i){if(e.size===0)return;const o=r.__type,s=r.__key,l=t.get(o);l===void 0&&be(33,o);const c=l.klass;let u=n.get(c);u===void 0&&(u=new Map,n.set(c,u));const d=u.get(s),h=d==="destroyed"&&i==="created";(d===void 0||h)&&u.set(s,h?"updated":i)}function i1(n){const t=n.getType(),e=Ko();if(e._readOnly){const o=vA(e).get(t);return o?Array.from(o.values()):[]}const r=e._nodeMap,i=[];for(const[,o]of r)o instanceof n&&o.__type===t&&o.isAttached()&&i.push(o);return i}function fx(n,t,e){const r=n.getParent();let i=e,o=n;return r!==null&&(t&&e===0?(i=o.getIndexWithinParent(),o=r):t||e!==o.getChildrenSize()||(i=o.getIndexWithinParent()+1,o=r)),o.getChildAtIndex(t?i-1:i)}function mA(n,t){const e=n.offset;if(n.type==="element")return fx(n.getNode(),t,e);{const r=n.getNode();if(t&&e===0||!t&&e===r.getTextContentSize()){const i=t?r.getPreviousSibling():r.getNextSibling();return i===null?fx(r.getParentOrThrow(),t,r.getIndexWithinParent()+(t?0:1)):i}}return null}function o1(n){const t=ti(n).event,e=t&&t.inputType;return e==="insertFromPaste"||e==="insertFromPasteAsQuotation"}function Ie(n,t,e){return(function(r,i,o){const s=qy(r);for(let l=4;l>=0;l--)for(let c=0;c<s.length;c++){const u=s[c],d=u._commands.get(i);if(d!==void 0){const h=d[l];if(h!==void 0){const g=Array.from(h),p=g.length;let m=!1;if(Tr(u,()=>{for(let y=0;y<p;y++)if(g[y](o,r))return void(m=!0)}),m)return m}}}return!1})(n,t,e)}function Zh(n){return!Yt(n)&&!n.isLastChild()&&!n.isInline()}function yl(n,t){const e=n._keyToDOMMap.get(t);return e===void 0&&be(75,t),e}function Ku(n){const t=n.assignedSlot||n.parentElement;return wA(t)?t.host:t}function s1(n){return JT(n)?n:Et(n)?n.ownerDocument:null}function l1(n){In(),qt()._updateTags.add(n)}function Sj(n){In(),qt()._deferred.push(n)}function AA(n,t){let e=n.getParent();for(;e!==null;){if(e.is(t))return!0;e=e.getParent()}return!1}function nb(n){const t=s1(n);return t?t.defaultView:null}function ti(n){const t=n._window;return t===null&&be(78),t}function Ej(n){return G(n)&&n.isInline()||ot(n)&&n.isInline()}function kj(n){let t=n.getParentOrThrow();for(;t!==null;){if(qn(t))return t;t=t.getParentOrThrow()}return t}function qn(n){return Yt(n)||G(n)&&n.isShadowRoot()}function yA(n){const t=n.constructor.clone(n);return VT(t,null),t.afterCloneFrom(n),t}function Lt(n){const t=qt(),e=n.getType(),r=Wh(t,e);r===void 0&&be(200,n.constructor.name,e);const{replace:i,replaceWithKlass:o}=r;if(i!==null){const s=i(n),l=s.constructor;return o!==null?s instanceof o||be(201,o.name,o.getType(),l.name,l.getType(),n.constructor.name,e):s instanceof n.constructor&&l!==n.constructor||be(202,l.name,l.getType(),n.constructor.name,e),s.__key===n.__key&&be(203,n.constructor.name,e,l.name,l.getType()),s}return n}function nm(n,t){!Yt(n.getParent())||G(t)||ot(t)||be(99)}function va(n){const t=ve(n);return t===null&&be(63,n),t}function rm(n){return(ot(n)||G(n)&&!n.canBeEmpty())&&!n.isInline()}function bA(n,t,e){e.style.removeProperty("caret-color"),t._blockCursorElement=null;const r=n.parentElement;r!==null&&r.removeChild(n)}function ni(n){return Ci?(n||window).getSelection():null}function Tj(n){const t=nb(n);return t?t.getSelection():null}function rb(n){return Et(n)&&n.tagName==="A"}function Et(n){return Kl(n)&&n.nodeType===1}function Kl(n){return typeof n=="object"&&n!==null&&"nodeType"in n&&typeof n.nodeType=="number"}function wA(n){return Kl(n)&&n.nodeType===11}function CA(n){const t=new RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|mark|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var|#text)$/,"i");return n.nodeName.match(t)!==null}function Xf(n){const t=new RegExp(/^(address|article|aside|blockquote|canvas|dd|div|dl|dt|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|li|main|nav|noscript|ol|p|pre|section|table|td|tfoot|ul|video)$/,"i");return n.nodeName.match(t)!==null}function Wr(n){if(ot(n)&&!n.isInline())return!0;if(!G(n)||qn(n))return!1;const t=n.getFirstChild(),e=t===null||Dt(t)||ae(t)||t.isInline();return!n.isInline()&&n.canBeEmpty()!==!1&&e}function Wl(){return qt()}const hx=new WeakMap,_j=new Map;function vA(n){if(!n._readOnly&&n.isEmpty())return _j;n._readOnly||be(192);let t=hx.get(n);return t||(t=(function(e){const r=new Map;for(const[i,o]of e._nodeMap){const s=o.__type;let l=r.get(s);l||(l=new Map,r.set(s,l)),l.set(i,o)}return r})(n),hx.set(n,t)),t}function ib(n){const t=n.constructor.clone(n);return t.afterCloneFrom(n),t}function Nj(n){return(t=ib(n))[DT]=!0,t;var t}function ob(n,t){const e=parseInt(n.style.paddingInlineStart,10)||0,r=Math.round(e/40);t.setIndent(r)}function a1(n){n.__lexicalUnmanaged=!0}function Ij(n){return n.__lexicalUnmanaged===!0}function Oc(n,t){return(function(e,r){return Object.prototype.hasOwnProperty.call(e,r)})(n,t)&&n[t]!==hi[t]}function Gh(n){const t=kv in n.prototype?n.prototype[kv]():void 0,e=(function(s){if(!(s===hi||s.prototype instanceof hi)){let l="<unknown>",c="<unknown>";try{l=s.getType()}catch{}try{Al.version&&(c=JSON.parse(Al.version))}catch{}be(290,s.name,l,c)}return s===Vi||s===At||s===hi})(n),r=!e&&Oc(n,"getType")?n.getType():void 0;let i,o=r;if(t)if(r)i=t[r];else for(const[s,l]of Object.entries(t))o=s,i=l;if(!e&&o&&(Oc(n,"getType")||(n.getType=()=>o),Oc(n,"clone")||(n.clone=s=>(Qy(s),new n)),Oc(n,"importJSON")||(n.importJSON=i&&i.$importJSON||(s=>new n().updateFromJSON(s))),!Oc(n,"importDOM")&&i)){const{importDOM:s}=i;s&&(n.importDOM=()=>s)}return{ownNodeConfig:i,ownNodeType:o}}function c1(n){const t=Wl();return In(),new(t.resolveRegisteredNodeAfterReplacements(t.getRegisteredNode(n))).klass}const Te=(n,t)=>{let e=n;for(;e!=null&&!Yt(e);){if(t(e))return e;e=e.getParent()}return null},Mj={next:"previous",previous:"next"};class sb{constructor(t){F(this,"origin");this.origin=t}[Symbol.iterator](){return ub({hasNext:Cl,initial:this.getAdjacentCaret(),map:t=>t,step:t=>t.getAdjacentCaret()})}getAdjacentCaret(){return tn(this.getNodeAtCaret(),this.direction)}getSiblingCaret(){return tn(this.origin,this.direction)}remove(){const t=this.getNodeAtCaret();return t&&t.remove(),this}replaceOrInsert(t,e){const r=this.getNodeAtCaret();return t.is(this.origin)||t.is(r)||(r===null?this.insert(t):r.replace(t,e)),this}splice(t,e,r="next"){const i=r===this.direction?e:Array.from(e).reverse();let o=this;const s=this.getParentAtCaret(),l=new Map;for(let c=o.getAdjacentCaret();c!==null&&l.size<t;c=c.getAdjacentCaret()){const u=c.origin.getWritable();l.set(u.getKey(),u)}for(const c of i){if(l.size>0){const u=o.getNodeAtCaret();if(u){if(l.delete(u.getKey()),l.delete(c.getKey()),!(u.is(c)||o.origin.is(c))){const d=c.getParent();d&&d.is(s)&&c.remove(),u.replace(c)}}else u===null&&be(263,Array.from(l).join(" "))}else o.insert(c);o=tn(c,this.direction)}for(const c of l.values())c.remove();return this}}class hu extends sb{constructor(){super(...arguments);F(this,"type","child")}getLatest(){const e=this.origin.getLatest();return e===this.origin?this:ri(e,this.direction)}getParentCaret(e="root"){return tn(lb(this.getParentAtCaret(),e),this.direction)}getFlipped(){const e=Hl(this.direction);return tn(this.getNodeAtCaret(),e)||ri(this.origin,e)}getParentAtCaret(){return this.origin}getChildCaret(){return this}isSameNodeCaret(e){return e instanceof hu&&this.direction===e.direction&&this.origin.is(e.origin)}isSamePointCaret(e){return this.isSameNodeCaret(e)}}const Dj={root:Yt,shadowRoot:qn};function Hl(n){return Mj[n]}function lb(n,t="root"){return Dj[t](n)?null:n}class bl extends sb{constructor(){super(...arguments);F(this,"type","sibling")}getLatest(){const e=this.origin.getLatest();return e===this.origin?this:tn(e,this.direction)}getSiblingCaret(){return this}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return G(this.origin)?ri(this.origin,this.direction):null}getParentCaret(e="root"){return tn(lb(this.getParentAtCaret(),e),this.direction)}getFlipped(){const e=Hl(this.direction);return tn(this.getNodeAtCaret(),e)||ri(this.origin.getParentOrThrow(),e)}isSamePointCaret(e){return e instanceof bl&&this.direction===e.direction&&this.origin.is(e.origin)}isSameNodeCaret(e){return(e instanceof bl||e instanceof wl)&&this.direction===e.direction&&this.origin.is(e.origin)}}class wl extends sb{constructor(e,r){super(e);F(this,"type","text");F(this,"offset");this.offset=r}getLatest(){const e=this.origin.getLatest();return e===this.origin?this:vs(e,this.direction,this.offset)}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return null}getParentCaret(e="root"){return tn(lb(this.getParentAtCaret(),e),this.direction)}getFlipped(){return vs(this.origin,Hl(this.direction),this.offset)}isSamePointCaret(e){return e instanceof wl&&this.direction===e.direction&&this.origin.is(e.origin)&&this.offset===e.offset}isSameNodeCaret(e){return(e instanceof bl||e instanceof wl)&&this.direction===e.direction&&this.origin.is(e.origin)}getSiblingCaret(){return tn(this.origin,this.direction)}}function Fi(n){return n instanceof wl}function Cl(n){return n instanceof bl}function qr(n){return n instanceof hu}const Lj={next:class extends wl{constructor(){super(...arguments);F(this,"direction","next")}getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends wl{constructor(){super(...arguments);F(this,"direction","previous")}getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},Oj={next:class extends bl{constructor(){super(...arguments);F(this,"direction","next")}getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends bl{constructor(){super(...arguments);F(this,"direction","previous")}getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},Rj={next:class extends hu{constructor(){super(...arguments);F(this,"direction","next")}getNodeAtCaret(){return this.origin.getFirstChild()}insert(t){return this.origin.splice(0,0,[t]),this}},previous:class extends hu{constructor(){super(...arguments);F(this,"direction","previous")}getNodeAtCaret(){return this.origin.getLastChild()}insert(t){return this.origin.splice(this.origin.getChildrenSize(),0,[t]),this}}};function tn(n,t){return n?new Oj[t](n):null}function vs(n,t,e){return n?new Lj[t](n,ji(n,e)):null}function ji(n,t,e="error"){const r=n.getTextContentSize();let i=t==="next"?r:t==="previous"?0:t;return(i<0||i>r)&&(e!=="clamp"&&rT(284,String(t),String(r),n.getKey()),i=i<0?0:r),i}function gx(n,t){return new Pj(n,t)}function ri(n,t){return G(n)?new Rj[t](n):null}function u1(n){return n&&n.getChildCaret()||n}function Ha(n){return n&&u1(n.getAdjacentCaret())}class ab{constructor(t,e,r){F(this,"type","node-caret-range");F(this,"direction");F(this,"anchor");F(this,"focus");this.anchor=t,this.focus=e,this.direction=r}getLatest(){const t=this.anchor.getLatest(),e=this.focus.getLatest();return t===this.anchor&&e===this.focus?this:new ab(t,e,this.direction)}isCollapsed(){return this.anchor.isSamePointCaret(this.focus)}getTextSlices(){const t=i=>{const o=this[i].getLatest();return Fi(o)?(function(s,l){const{direction:c,origin:u}=s,d=ji(u,l==="focus"?Hl(c):c);return gx(s,d-s.offset)})(o,i):null},e=t("anchor"),r=t("focus");if(e&&r){const{caret:i}=e,{caret:o}=r;if(i.isSameNodeCaret(o))return[gx(i,o.offset-i.offset),null]}return[e,r]}iterNodeCarets(t="root"){const e=Fi(this.anchor)?this.anchor.getSiblingCaret():this.anchor.getLatest(),r=this.focus.getLatest(),i=Fi(r),o=s=>s.isSameNodeCaret(r)?null:Ha(s)||s.getParentCaret(t);return ub({hasNext:s=>s!==null&&!(i&&r.isSameNodeCaret(s)),initial:e.isSameNodeCaret(r)?null:o(e),map:s=>s,step:o})}[Symbol.iterator](){return this.iterNodeCarets("root")}}class Pj{constructor(t,e){F(this,"type","slice");F(this,"caret");F(this,"distance");this.caret=t,this.distance=e}getSliceIndices(){const{distance:t,caret:{offset:e}}=this,r=e+t;return r<e?[r,e]:[e,r]}getTextContent(){const[t,e]=this.getSliceIndices();return this.caret.origin.getTextContent().slice(t,e)}getTextContentSize(){return Math.abs(this.distance)}removeTextSlice(){const{caret:{origin:t,direction:e}}=this,[r,i]=this.getSliceIndices(),o=t.getTextContent();return vs(t.setTextContent(o.slice(0,r)+o.slice(i)),e,r)}}function cb(n){return Mo(n,tn(Re(),n.direction))}function d1(n){return Mo(n,n)}function Mo(n,t){return n.direction!==t.direction&&be(265),new ab(n,t,n.direction)}function ub(n){const{initial:t,hasNext:e,step:r,map:i}=n;let o=t;return{[Symbol.iterator](){return this},next(){if(!e(o))return{done:!0,value:void 0};const s={done:!1,value:i(o)};return o=r(o),s}}}function f1(n,t){const e=Nf(n.origin,t.origin);switch(e===null&&be(275,n.origin.getKey(),t.origin.getKey()),e.type){case"same":{const r=n.type==="text",i=t.type==="text";return r&&i?(function(o,s){return Math.sign(o-s)})(n.offset,t.offset):n.type===t.type?0:r?-1:i?1:n.type==="child"?-1:1}case"ancestor":return n.type==="child"?-1:1;case"descendant":return t.type==="child"?1:-1;case"branch":return h1(e)}}function h1(n){const{a:t,b:e}=n,r=t.__key,i=e.__key;let o=t,s=e;for(;o&&s;o=o.getNextSibling(),s=s.getNextSibling()){if(o.__key===i)return-1;if(s.__key===r)return 1}return o===null?1:-1}function ef(n,t){return t.is(n)}function px(n){return G(n)?[n.getLatest(),null]:[n.getParent(),n.getLatest()]}function Nf(n,t){if(n.is(t))return{commonAncestor:n,type:"same"};const e=new Map;for(let[r,i]=px(n);r;i=r,r=r.getParent())e.set(r,i);for(let[r,i]=px(t);r;i=r,r=r.getParent()){const o=e.get(r);if(o!==void 0)return o===null?(ef(n,r)||be(276),{commonAncestor:r,type:"ancestor"}):i===null?(ef(t,r)||be(277),{commonAncestor:r,type:"descendant"}):((G(o)||ef(n,o))&&(G(i)||ef(t,i))&&r.is(o.getParent())&&r.is(i.getParent())||be(278),{a:o,b:i,commonAncestor:r,type:"branch"})}return null}function Yi(n,t){const{type:e,key:r,offset:i}=n,o=va(n.key);return e==="text"?(ae(o)||be(266,o.getType(),r),vs(o,t,i)):(G(o)||be(267,o.getType(),r),Fj(o,n.offset,t))}function gu(n,t){const{origin:e,direction:r}=t,i=r==="next";Fi(t)?n.set(e.getKey(),t.offset,"text"):Cl(t)?ae(e)?n.set(e.getKey(),ji(e,r),"text"):n.set(e.getParentOrThrow().getKey(),e.getIndexWithinParent()+(i?1:0),"element"):(qr(t)&&G(e)||be(268),n.set(e.getKey(),i?0:e.getChildrenSize(),"element"))}function db(n){const t=J(),e=Y(t)?t:zo();return If(e,n),Ve(e),e}function If(n,t){gu(n.anchor,t.anchor),gu(n.focus,t.focus)}function xA(n){const{anchor:t,focus:e}=n,r=Yi(t,"next"),i=Yi(e,"next"),o=f1(r,i)<=0?"next":"previous";return Mo(Do(r,o),Do(i,o))}function Wu(n){const{direction:t,origin:e}=n,r=tn(e,Hl(t)).getNodeAtCaret();return r?tn(r,t):ri(e.getParentOrThrow(),t)}function mx(n,t="root"){const e=[n];for(let r=qr(n)?n.getParentCaret(t):n.getSiblingCaret();r!==null;r=r.getParentCaret(t))e.push(Wu(r));return e}function im(n){return!!n&&n.origin.isAttached()}function Bj(n,t="removeEmptySlices"){if(n.isCollapsed())return n;const e="root",r="next";let i=t;const o=fb(n,r),s=mx(o.anchor,e),l=mx(o.focus.getFlipped(),e),c=new Set,u=[];for(const m of o.iterNodeCarets(e))if(qr(m))c.add(m.origin.getKey());else if(Cl(m)){const{origin:y}=m;G(y)&&!c.has(y.getKey())||u.push(y)}for(const m of u)m.remove();for(const m of o.getTextSlices()){if(!m)continue;const{origin:y}=m.caret,w=y.getTextContentSize(),v=Wu(tn(y,r)),C=y.getMode();if(Math.abs(m.distance)===w&&i==="removeEmptySlices"||C==="token"&&m.distance!==0)v.remove();else if(m.distance!==0){i="removeEmptySlices";let x=m.removeTextSlice();const _=m.caret.origin;if(C==="segmented"){const N=x.origin,T=yt(N.getTextContent()).setStyle(N.getStyle()).setFormat(N.getFormat());v.replaceOrInsert(T),x=vs(T,r,x.offset)}_.is(s[0].origin)&&(s[0]=x),_.is(l[0].origin)&&(l[0]=x.getFlipped())}}let d,h;for(const m of s)if(im(m)){d=Qr(m);break}for(const m of l)if(im(m)){h=Qr(m);break}const g=(function(m,y,w){if(!m||!y)return null;const v=m.getParentAtCaret(),C=y.getParentAtCaret();if(!v||!C)return null;const x=v.getParents().reverse();x.push(v);const _=C.getParents().reverse();_.push(C);const N=Math.min(x.length,_.length);let T;for(T=0;T<N&&x[T]===_[T];T++);const k=(R,B)=>{let U;for(let j=T;j<R.length;j++){const K=R[j];if(qn(K))return;!U&&B(K)&&(U=K)}return U},M=k(x,Wr),I=M&&k(_,R=>w.has(R.getKey())&&Wr(R));return M&&I?[M,I]:null})(d,h,c);if(g){const[m,y]=g;ri(m,"previous").splice(0,y.getChildren()),y.remove()}const p=[d,h,...s,...l].find(im);if(p)return d1(Do(Qr(p),n.direction));be(269,JSON.stringify(s.map(m=>m.origin.__key)))}function Qr(n){const t=(function(i){let o=i;for(;qr(o);){const s=Ha(o);if(!qr(s))break;o=s}return o})(n.getLatest()),{direction:e}=t;if(ae(t.origin))return Fi(t)?t:vs(t.origin,e,e);const r=t.getAdjacentCaret();return Cl(r)&&ae(r.origin)?vs(r.origin,e,Hl(e)):t}function g1(n){return Fi(n)&&n.offset!==ji(n.origin,n.direction)}function Do(n,t){return n.direction===t?n:n.getFlipped()}function fb(n,t){return n.direction===t?n:Mo(Do(n.focus,t),Do(n.anchor,t))}function Fj(n,t,e){let r=ri(n,"next");for(let i=0;i<t;i++){const o=r.getAdjacentCaret();if(o===null)break;r=o}return Do(r,e)}function jj(n,t="root"){let e=0,r=n,i=Ha(r);for(;i===null;){if(e--,i=r.getParentCaret(t),!i)return null;r=i,i=Ha(r)}return i&&[i,e]}function zj(n){const{origin:t,offset:e,direction:r}=n;if(e===ji(t,r))return n.getSiblingCaret();if(e===ji(t,Hl(r)))return Wu(n.getSiblingCaret());const[i]=t.splitText(e);return ae(i)||be(281),Do(tn(i,"next"),r)}function Uj(n,t){return!0}function Kj(n,{$copyElementNode:t=yA,$splitTextPointCaretNext:e=zj,rootMode:r="shadowRoot",$shouldSplit:i=Uj}={}){if(Fi(n))return e(n);const o=n.getParentCaret(r);if(o){const{origin:s}=o;if(qr(n)&&(!s.canBeEmpty()||!i(s,"first")))return Wu(o);const l=(function(c){const u=[];for(let d=c.getAdjacentCaret();d;d=d.getAdjacentCaret())u.push(d.origin);return u})(n);(l.length>0||s.canBeEmpty()&&i(s,"last"))&&o.insert(t(s).splice(0,0,l))}return o}function Wj(...n){return n}function Hj(n,t){if(!t||n===t)return n;for(const e in t)if(n[e]!==t[e])return{...n,...t};return n}function p1(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const qf=new Map;function Ax(n){let t=n;for(;t!=null;){if(t.nodeType===Node.TEXT_NODE)return t;t=t.firstChild}return null}function yx(n){const t=n.parentNode;if(t==null)throw new Error("Should never happen");return[t,Array.from(t.childNodes).indexOf(n)]}function m1(n,t,e,r,i){const o=t.getKey(),s=r.getKey(),l=document.createRange();let c=n.getElementByKey(o),u=n.getElementByKey(s),d=e,h=i;if(ae(t)&&(c=Ax(c)),ae(r)&&(u=Ax(u)),t===void 0||r===void 0||c===null||u===null)return null;c.nodeName==="BR"&&([c,d]=yx(c)),u.nodeName==="BR"&&([u,h]=yx(u));const g=c.firstChild;c===u&&g!=null&&g.nodeName==="BR"&&d===0&&h===0&&(h=1);try{l.setStart(c,d),l.setEnd(u,h)}catch{return null}return!l.collapsed||d===h&&o===s||(l.setStart(u,h),l.setEnd(c,d)),l}function A1(n,t){const e=n.getRootElement();if(e===null)return[];const r=e.getBoundingClientRect(),i=getComputedStyle(e),o=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),s=Array.from(t.getClientRects());let l,c=s.length;s.sort((u,d)=>{const h=u.top-d.top;return Math.abs(h)<=3?u.left-d.left:h});for(let u=0;u<c;u++){const d=s[u],h=l&&l.top<=d.top&&l.top+l.height>d.top&&l.left+l.width>d.left,g=d.width+o===r.width;h||g?(s.splice(u--,1),c--):l=d}return s}function y1(n){const t={};if(!n)return t;const e=n.split(";");for(const r of e)if(r!==""){const[i,o]=r.split(/:([^]+)/);i&&o&&(t[i.trim()]=o.trim())}return t}function pu(n){let t=qf.get(n);return t===void 0&&(t=y1(n),qf.set(n,t)),t}function Yj(n){let t="";for(const e in n)e&&(t+=`${e}: ${n[e]};`);return t}function b1(n){const t=Wl().getElementByKey(n.getKey());if(t===null)return null;const e=t.ownerDocument.defaultView;return e===null?null:e.getComputedStyle(t)}function w1(n){return b1(Yt(n)?n:n.getParentOrThrow())}function bx(n){const t=w1(n);return t!==null&&t.direction==="rtl"}function C1(n,t,e="self"){const r=n.getStartEndPoints();if(t.isSelected(n)&&!_i(t)&&r!==null){const[i,o]=r,s=n.isBackward(),l=i.getNode(),c=o.getNode(),u=t.is(l),d=t.is(c);if(u||d){const[h,g]=hA(n),p=l.is(c),m=t.is(s?c:l),y=t.is(s?l:c);let w,v=0;p?(v=h>g?g:h,w=h>g?h:g):m?(v=s?g:h,w=void 0):y&&(v=0,w=s?h:g);const C=t.__text.slice(v,w);C!==t.__text&&(e==="clone"&&(t=Nj(t)),t.__text=C)}}return t}function wx(n){if(n.type==="text")return n.offset===n.getNode().getTextContentSize();const t=n.getNode();return G(t)||p1(177),n.offset===t.getChildrenSize()}function Zj(n,t,e){let r=t.getNode(),i=e;if(G(r)){const o=r.getDescendantByIndex(t.offset);o!==null&&(r=o)}for(;i>0&&r!==null;){if(G(r)){const u=r.getLastDescendant();u!==null&&(r=u)}let o=r.getPreviousSibling(),s=0;if(o===null){let u=r.getParentOrThrow(),d=u.getPreviousSibling();for(;d===null;){if(u=u.getParent(),u===null){o=null;break}d=u.getPreviousSibling()}u!==null&&(s=u.isInline()?0:2,o=d)}let l=r.getTextContent();l===""&&G(r)&&!r.isInline()&&(l=`
12
-
13
- `);const c=l.length;if(!ae(r)||i>=c){const u=r.getParent();r.remove(),u==null||u.getChildrenSize()!==0||Yt(u)||u.remove(),i-=c+s,r=o}else{const u=r.getKey(),d=n.getEditorState().read(()=>{const p=ve(u);return ae(p)&&p.isSimpleText()?p.getTextContent():null}),h=c-i,g=l.slice(0,h);if(d!==null&&d!==l){const p=Uo();let m=r;if(r.isSimpleText())r.setTextContent(d);else{const y=yt(d);r.replace(y),m=y}if(Y(p)&&p.isCollapsed()){const y=p.anchor.offset;m.select(y,y)}}else if(r.isSimpleText()){const p=t.key===u;let m=t.offset;m<i&&(m=c);const y=p?m-i:0,w=p?m:h;if(p&&y===0){const[v]=r.splitText(y,w);v.remove()}else{const[,v]=r.splitText(y,w);v.remove()}}else{const p=yt(g);r.replace(p)}i=0}}}function Gj(n){const t=n.getStyle(),e=y1(t);qf.set(t,e)}function om(n,t){(Y(n)?n.isCollapsed():ae(n)||G(n))||p1(280);const e=pu(Y(n)?n.style:ae(n)?n.getStyle():n.getTextStyle()),r=Object.entries(t).reduce((o,[s,l])=>(typeof l=="function"?o[s]=l(e[s],n):l===null?delete o[s]:o[s]=l,o),{...e}),i=Yj(r);Y(n)||ae(n)?n.setStyle(i):n.setTextStyle(i),qf.set(i,r)}function $f(n,t){if(Y(n)&&n.isCollapsed()){om(n,t);const e=n.anchor.getNode();G(e)&&e.isEmpty()&&om(e,t)}Jj(e=>{om(e,t)})}function Jj(n){const t=J();if(!t)return;const e=new Map,r=o=>e.get(o.getKey())||[0,o.getTextContentSize()];if(Y(t))for(const o of xA(t).getTextSlices())o&&e.set(o.caret.origin.getKey(),o.getSliceIndices());const i=t.getNodes();for(const o of i){if(!ae(o)||!o.canHaveFormat())continue;const[s,l]=r(o);l!==s&&(_i(o)||s===0&&l===o.getTextContentSize()?n(o):n(o.splitText(s,l)[s===0?0:1]))}Y(t)&&t.anchor.type==="text"&&t.focus.type==="text"&&t.anchor.key===t.focus.key&&Qj(t)}function Qj(n){if(n.isBackward()){const{anchor:t,focus:e}=n,{key:r,offset:i,type:o}=t;t.set(e.key,e.offset,e.type),e.set(r,i,o)}}function Vj(n,t){const e=n.getFormatType(),r=n.getIndent();e!==t.getFormatType()&&t.setFormat(e),r!==t.getIndent()&&t.setIndent(r)}function vl(n,t,e=Vj){if(n===null)return;const r=n.getStartEndPoints(),i=new Map;let o=null;if(r){const[s,l]=r;o=zo(),o.anchor.set(s.key,s.offset,s.type),o.focus.set(l.key,l.offset,l.type);const c=Te(s.getNode(),Wr),u=Te(l.getNode(),Wr);G(c)&&i.set(c.getKey(),c),G(u)&&i.set(u.getKey(),u)}for(const s of n.getNodes())if(G(s)&&Wr(s))i.set(s.getKey(),s);else if(r===null){const l=Te(s,Wr);G(l)&&i.set(l.getKey(),l)}for(const[s,l]of i){const c=t();e(l,c),l.replace(c,!0),o&&(s===o.anchor.key&&o.anchor.set(c.getKey(),o.anchor.offset,o.anchor.type),s===o.focus.key&&o.focus.set(c.getKey(),o.focus.offset,o.focus.type))}o&&n.is(J())&&Ve(o)}function v1(n){const t=x1(n);return t!==null&&t.writingMode==="vertical-rl"}function x1(n){const t=n.anchor.getNode();return G(t)?b1(t):w1(t)}function Cx(n,t){let e=v1(n)?!t:t;S1(n)&&(e=!e);const r=Yi(n.focus,e?"previous":"next");if(g1(r))return!1;for(const i of cb(r)){if(qr(i))return!i.origin.isInline();if(!G(i.origin)){if(ot(i.origin))return!0;break}}return!1}function Xj(n,t,e,r){n.modify(t?"extend":"move",e,r)}function S1(n){const t=x1(n);return t!==null&&t.direction==="rtl"}function vx(n,t,e){const r=S1(n);let i;i=v1(n)||r?!e:e,Xj(n,t,i,"character")}function qj(n,t,e){const r=pu(n.getStyle());return r!==null&&r[t]||e}function eh(n,t,e=""){let r=null;const i=n.getNodes(),o=n.anchor,s=n.focus,l=n.isBackward(),c=l?s.offset:o.offset,u=l?s.getNode():o.getNode();if(Y(n)&&n.isCollapsed()&&n.style!==""){const d=pu(n.style);if(d!==null&&t in d)return d[t]}for(let d=0;d<i.length;d++){const h=i[d];if((d===0||c!==0||!h.is(u))&&ae(h)){const g=qj(h,t,e);if(r===null)r=g;else if(r!==g){r="";break}}}return r===null?e:r}const $j=Zj;function E1(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const Hu=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,ez=Hu&&"documentMode"in document?document.documentMode:null,tz=Hu&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),nz=Hu&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);!(!Hu||!("InputEvent"in window)||ez)&&"getTargetRanges"in new window.InputEvent("input");function k1(...n){const t=[];for(const e of n)if(e&&typeof e=="string")for(const[r]of e.matchAll(/\S+/g))t.push(r);return t}function tt(...n){return()=>{for(let t=n.length-1;t>=0;t--)n[t]();n.length=0}}const rz=Hu,xx=tz,iz=nz;function ct(n,...t){const e=k1(...t);e.length>0&&n.classList.add(...e)}function _r(n,...t){const e=k1(...t);e.length>0&&n.classList.remove(...e)}function oz(n){return n?n.getAdjacentCaret():null}function Sx(n){const t=u1(tn(n,"previous")),e=jj(t,"root");return e&&e[0].origin}function hb(n,t){let e=n;for(;e!=null;){if(e instanceof t)return e;e=e.getParent()}return null}function oc(n){const t=Te(n,e=>G(e)&&!e.isInline());return G(t)||E1(4,n.__key),t}function sz(n,t,e,r){const i=o=>o instanceof t;return n.registerNodeTransform(t,o=>{const s=(l=>{const c=l.getChildren();for(let h=0;h<c.length;h++){const g=c[h];if(i(g))return null}let u=l,d=l;for(;u!==null;)if(d=u,u=u.getParent(),i(u))return{child:d,parent:u};return null})(o);if(s!==null){const{child:l,parent:c}=s;if(l.is(o)){r(c,o);const u=l.getNextSiblings(),d=u.length;if(c.insertAfter(l),d!==0){const h=e(c);l.insertAfter(h);for(let g=0;g<d;g++)h.append(u[g])}c.canBeEmpty()||c.getChildrenSize()!==0||c.remove()}}})}function lz(n,t){const e=new Map,r=n._pendingEditorState;for(const[o,s]of t._nodeMap)e.set(o,ib(s));r&&(r._nodeMap=e),n._dirtyType=2;const i=t._selection;Ve(i===null?null:i.clone())}function T1(n){const t=J()||Uo();let e;if(Y(t))e=Yi(t.focus,"next");else{if(t!=null){const s=t.getNodes(),l=s[s.length-1];l&&(e=tn(l,"next"))}e=e||ri(Re(),"previous").getFlipped().insert(Ee())}const r=az(n,e),i=Ha(r),o=qr(i)?Qr(i):r;return db(d1(o)),n.getLatest()}function az(n,t,e){let r=Do(t,"next");for(let i=r;i;i=Kj(i,e))r=i;return Fi(r)&&E1(283),r.insert(n.isInline()?Ee().append(n):n),Do(tn(n.getLatest(),"next"),t.direction)}function vo(n,t){return n!==null&&Object.getPrototypeOf(n).constructor.name===t.name}function cz(n,t){ri(n,"next").insert(t)}let sm=!(iz||!rz)&&void 0;function uz(n){let t=1;if((function(){if(sm===void 0){const e=document.createElement("div");e.style.cssText="position: absolute; opacity: 0; width: 100px; left: -1000px;",document.body.appendChild(e);const r=e.getBoundingClientRect();e.style.setProperty("zoom","2"),sm=e.getBoundingClientRect().width===r.width,document.body.removeChild(e)}return sm})())for(;n;)t*=Number(window.getComputedStyle(n).getPropertyValue("zoom")),n=n.parentElement;return t}function _1(n,t){const e=[],r=Array.from(n).reverse();for(let i=r.pop();i!==void 0;i=r.pop())if(t(i))e.push(i);else if(G(i))for(const o of dz(i))r.push(o);return e}function dz(n){return fz(ri(n,"previous"))}function fz(n){return ub({hasNext:Cl,initial:n.getAdjacentCaret(),map:t=>t.origin.getLatest(),step:t=>t.getAdjacentCaret()})}function Jh(n,t){const e=JT(t)?t.body.childNodes:t.childNodes;let r=[];const i=[];for(const o of e)if(!I1.has(o.nodeName)){const s=M1(o,n,i,!1);s!==null&&(r=r.concat(s))}return(function(o){for(const s of o)s.getNextSibling()instanceof Jy&&s.insertAfter(sr());for(const s of o){const l=s.getChildren();for(const c of l)s.insertBefore(c);s.remove()}})(i),r}function th(n,t){if(typeof document>"u"||typeof window>"u"&&global.window===void 0)throw new Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");const e=document.createElement("div"),r=Re().getChildren();for(let i=0;i<r.length;i++)N1(n,r[i],e,t);return e.innerHTML}function N1(n,t,e,r=null){let i=r===null||t.isSelected(r);const o=G(t)&&t.excludeFromCopy("html");let s=t;r!==null&&ae(t)&&(s=C1(r,t,"clone"));const l=G(s)?s.getChildren():[],c=Wh(n,s.getType());let u;u=c&&c.exportDOM!==void 0?c.exportDOM(n,s):s.exportDOM(n);const{element:d,after:h}=u;if(!d)return!1;const g=document.createDocumentFragment();for(let p=0;p<l.length;p++){const m=l[p],y=N1(n,m,g,r);!i&&G(t)&&y&&t.extractWithChild(m,r,"html")&&(i=!0)}if(i&&!o){if((Et(d)||wA(d))&&d.append(g),e.append(d),h){const p=h.call(s,d);p&&(wA(d)?d.replaceChildren(p):d.replaceWith(p))}}else e.append(g);return i}const I1=new Set(["STYLE","SCRIPT"]);function M1(n,t,e,r,i=new Map,o){let s=[];if(I1.has(n.nodeName))return s;let l=null;const c=(function(m,y){const{nodeName:w}=m,v=y._htmlConversions.get(w.toLowerCase());let C=null;if(v!==void 0)for(const x of v){const _=x(m);_!==null&&(C===null||(C.priority||0)<=(_.priority||0))&&(C=_)}return C!==null?C.conversion:null})(n,t),u=c?c(n):null;let d=null;if(u!==null){d=u.after;const m=u.node;if(l=Array.isArray(m)?m[m.length-1]:m,l!==null){for(const[,y]of i)if(l=y(l,o),!l)break;l&&s.push(...Array.isArray(m)?m:[l])}u.forChild!=null&&i.set(n.nodeName,u.forChild)}const h=n.childNodes;let g=[];const p=(l==null||!qn(l))&&(l!=null&&gA(l)||r);for(let m=0;m<h.length;m++)g.push(...M1(h[m],t,e,p,new Map(i),l));return d!=null&&(g=d(g)),Xf(n)&&(g=hz(n,g,p?()=>{const m=new Jy;return e.push(m),m}:Ee)),l==null?g.length>0?s=s.concat(g):Xf(n)&&(function(m){return m.nextSibling==null||m.previousSibling==null?!1:CA(m.nextSibling)&&CA(m.previousSibling)})(n)&&(s=s.concat(sr())):G(l)&&l.append(...g),s}function hz(n,t,e){const r=n.style.textAlign,i=[];let o=[];for(let s=0;s<t.length;s++){const l=t[s];if(gA(l))r&&!l.getFormat()&&l.setFormat(r),i.push(l);else if(o.push(l),s===t.length-1||s<t.length-1&&gA(t[s+1])){const c=e();c.setFormat(r),c.append(...o),i.push(c),o=[]}}return i}const Ex=[["Cat","rgb(125, 50, 0)"],["Dog","rgb(100, 0, 0)"],["Rabbit","rgb(150, 0, 0)"],["Frog","rgb(200, 0, 0)"],["Fox","rgb(200, 75, 0)"],["Hedgehog","rgb(0, 75, 0)"],["Pigeon","rgb(0, 125, 0)"],["Squirrel","rgb(75, 100, 0)"],["Bear","rgb(125, 100, 0)"],["Tiger","rgb(0, 0, 150)"],["Leopard","rgb(0, 0, 200)"],["Zebra","rgb(0, 0, 250)"],["Wolf","rgb(0, 100, 150)"],["Owl","rgb(0, 100, 100)"],["Gull","rgb(100, 0, 100)"],["Squid","rgb(150, 0, 150)"]],kx=Ex[Math.floor(Math.random()*Ex.length)],gb=E.createContext(null);function D1(){return{color:kx[1],isCollabActive:!1,name:kx[0],yjsDocMap:new Map}}const gz=D1();function pz({children:n}){const t=E.useMemo(()=>D1(),[]);return A.jsx(gb.Provider,{value:t,children:n})}function mz(n,t){let e=E.useContext(gb);return e==null&&(function(r,...i){const o=new URL("https://lexical.dev/docs/error"),s=new URLSearchParams;s.append("code",r);for(const l of i)s.append("v",l);o.search=s.toString(),console.warn(`Minified Lexical warning #${r}; visit ${o.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)})(319),e=e??gz,n!=null&&(e.name=n),t!=null&&(e.color=t),e}const pb=E.createContext(null);function L1(n,t){let e=null;return n!=null&&(e=n[1]),{getTheme:function(){return t??(e!=null?e.getTheme():null)}}}function Me(){const n=E.useContext(pb);return n==null&&(function(t,...e){const r=new URL("https://lexical.dev/docs/error"),i=new URLSearchParams;i.append("code",t);for(const o of e)i.append("v",o);throw r.search=i.toString(),Error(`Minified Lexical error #${t}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)})(8),n}const Ar=()=>new Map,SA=n=>{const t=Ar();return n.forEach((e,r)=>{t.set(r,e)}),t},Xi=(n,t,e)=>{let r=n.get(t);return r===void 0&&n.set(t,r=e()),r},Az=(n,t)=>{const e=[];for(const[r,i]of n)e.push(t(i,r));return e},yz=(n,t)=>{for(const[e,r]of n)if(t(r,e))return!0;return!1},xs=()=>new Set,lm=n=>n[n.length-1],bz=(n,t)=>{for(let e=0;e<t.length;e++)n.push(t[e])},Lo=Array.from,wz=(n,t)=>{for(let e=0;e<n.length;e++)if(t(n[e],e,n))return!0;return!1},EA=Array.isArray;class O1{constructor(){this._observers=Ar()}on(t,e){return Xi(this._observers,t,xs).add(e),e}once(t,e){const r=(...i)=>{this.off(t,r),e(...i)};this.on(t,r)}off(t,e){const r=this._observers.get(t);r!==void 0&&(r.delete(e),r.size===0&&this._observers.delete(t))}emit(t,e){return Lo((this._observers.get(t)||Ar()).values()).forEach(r=>r(...e))}destroy(){this._observers=Ar()}}class R1{constructor(){this._observers=Ar()}on(t,e){Xi(this._observers,t,xs).add(e)}once(t,e){const r=(...i)=>{this.off(t,r),e(...i)};this.on(t,r)}off(t,e){const r=this._observers.get(t);r!==void 0&&(r.delete(e),r.size===0&&this._observers.delete(t))}emit(t,e){return Lo((this._observers.get(t)||Ar()).values()).forEach(r=>r(...e))}destroy(){this._observers=Ar()}}const Oo=Math.floor,Mf=Math.abs,mb=(n,t)=>n<t?n:t,Yl=(n,t)=>n>t?n:t,Cz=Math.pow,P1=n=>n!==0?n<0:1/n<0,Tx=1,_x=2,am=4,cm=8,mu=32,ko=64,Nr=128,Qh=31,kA=63,ll=127,vz=2147483647,B1=Number.MAX_SAFE_INTEGER,xz=Number.isInteger||(n=>typeof n=="number"&&isFinite(n)&&Oo(n)===n),Sz=String.fromCharCode,Ez=n=>n.toLowerCase(),kz=/^\s*/g,Tz=n=>n.replace(kz,""),_z=/([A-Z])/g,Nx=(n,t)=>Tz(n.replace(_z,e=>`${t}${Ez(e)}`)),Nz=n=>{const t=unescape(encodeURIComponent(n)),e=t.length,r=new Uint8Array(e);for(let i=0;i<e;i++)r[i]=t.codePointAt(i);return r},Au=typeof TextEncoder<"u"?new TextEncoder:null,Iz=n=>Au.encode(n),Mz=Au?Iz:Nz;let $c=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});$c&&$c.decode(new Uint8Array).length===1&&($c=null);class Yu{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const Jn=()=>new Yu,Ab=n=>{let t=n.cpos;for(let e=0;e<n.bufs.length;e++)t+=n.bufs[e].length;return t},Xt=n=>{const t=new Uint8Array(Ab(n));let e=0;for(let r=0;r<n.bufs.length;r++){const i=n.bufs[r];t.set(i,e),e+=i.length}return t.set(new Uint8Array(n.cbuf.buffer,0,n.cpos),e),t},Dz=(n,t)=>{const e=n.cbuf.length;e-n.cpos<t&&(n.bufs.push(new Uint8Array(n.cbuf.buffer,0,n.cpos)),n.cbuf=new Uint8Array(Yl(e,t)*2),n.cpos=0)},_n=(n,t)=>{const e=n.cbuf.length;n.cpos===e&&(n.bufs.push(n.cbuf),n.cbuf=new Uint8Array(e*2),n.cpos=0),n.cbuf[n.cpos++]=t},TA=_n,Ue=(n,t)=>{for(;t>ll;)_n(n,Nr|ll&t),t=Oo(t/128);_n(n,ll&t)},yb=(n,t)=>{const e=P1(t);for(e&&(t=-t),_n(n,(t>kA?Nr:0)|(e?ko:0)|kA&t),t=Oo(t/64);t>0;)_n(n,(t>ll?Nr:0)|ll&t),t=Oo(t/128)},_A=new Uint8Array(3e4),Lz=_A.length/3,Oz=(n,t)=>{if(t.length<Lz){const e=Au.encodeInto(t,_A).written||0;Ue(n,e);for(let r=0;r<e;r++)_n(n,_A[r])}else sn(n,Mz(t))},Rz=(n,t)=>{const e=unescape(encodeURIComponent(t)),r=e.length;Ue(n,r);for(let i=0;i<r;i++)_n(n,e.codePointAt(i))},al=Au&&Au.encodeInto?Oz:Rz,Vh=(n,t)=>{const e=n.cbuf.length,r=n.cpos,i=mb(e-r,t.length),o=t.length-i;n.cbuf.set(t.subarray(0,i),r),n.cpos+=i,o>0&&(n.bufs.push(n.cbuf),n.cbuf=new Uint8Array(Yl(e*2,o)),n.cbuf.set(t.subarray(i)),n.cpos=o)},sn=(n,t)=>{Ue(n,t.byteLength),Vh(n,t)},bb=(n,t)=>{Dz(n,t);const e=new DataView(n.cbuf.buffer,n.cpos,t);return n.cpos+=t,e},Pz=(n,t)=>bb(n,4).setFloat32(0,t,!1),Bz=(n,t)=>bb(n,8).setFloat64(0,t,!1),Fz=(n,t)=>bb(n,8).setBigInt64(0,t,!1),Ix=new DataView(new ArrayBuffer(4)),jz=n=>(Ix.setFloat32(0,n),Ix.getFloat32(0)===n),yu=(n,t)=>{switch(typeof t){case"string":_n(n,119),al(n,t);break;case"number":xz(t)&&Mf(t)<=vz?(_n(n,125),yb(n,t)):jz(t)?(_n(n,124),Pz(n,t)):(_n(n,123),Bz(n,t));break;case"bigint":_n(n,122),Fz(n,t);break;case"object":if(t===null)_n(n,126);else if(EA(t)){_n(n,117),Ue(n,t.length);for(let e=0;e<t.length;e++)yu(n,t[e])}else if(t instanceof Uint8Array)_n(n,116),sn(n,t);else{_n(n,118);const e=Object.keys(t);Ue(n,e.length);for(let r=0;r<e.length;r++){const i=e[r];al(n,i),yu(n,t[i])}}break;case"boolean":_n(n,t?120:121);break;default:_n(n,127)}};class Mx extends Yu{constructor(t){super(),this.w=t,this.s=null,this.count=0}write(t){this.s===t?this.count++:(this.count>0&&Ue(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}}const Dx=n=>{n.count>0&&(yb(n.encoder,n.count===1?n.s:-n.s),n.count>1&&Ue(n.encoder,n.count-2))};class Df{constructor(){this.encoder=new Yu,this.s=0,this.count=0}write(t){this.s===t?this.count++:(Dx(this),this.count=1,this.s=t)}toUint8Array(){return Dx(this),Xt(this.encoder)}}const Lx=n=>{if(n.count>0){const t=n.diff*2+(n.count===1?0:1);yb(n.encoder,t),n.count>1&&Ue(n.encoder,n.count-2)}};class um{constructor(){this.encoder=new Yu,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(Lx(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return Lx(this),Xt(this.encoder)}}class zz{constructor(){this.sarr=[],this.s="",this.lensE=new Df}write(t){this.s+=t,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(t.length)}toUint8Array(){const t=new Yu;return this.sarr.push(this.s),this.s="",al(t,this.sarr.join("")),Vh(t,this.lensE.toUint8Array()),Xt(t)}}const Ss=n=>new Error(n),zi=()=>{throw Ss("Method unimplemented")},yi=()=>{throw Ss("Unexpected case")},F1=Ss("Unexpected end of array"),j1=Ss("Integer out of Range");class Xh{constructor(t){this.arr=t,this.pos=0}}const Rs=n=>new Xh(n),Uz=n=>n.pos!==n.arr.length,Kz=(n,t)=>{const e=new Uint8Array(n.arr.buffer,n.pos+n.arr.byteOffset,t);return n.pos+=t,e},Gn=n=>Kz(n,qe(n)),Ya=n=>n.arr[n.pos++],qe=n=>{let t=0,e=1;const r=n.arr.length;for(;n.pos<r;){const i=n.arr[n.pos++];if(t=t+(i&ll)*e,e*=128,i<Nr)return t;if(t>B1)throw j1}throw F1},wb=n=>{let t=n.arr[n.pos++],e=t&kA,r=64;const i=(t&ko)>0?-1:1;if((t&Nr)===0)return i*e;const o=n.arr.length;for(;n.pos<o;){if(t=n.arr[n.pos++],e=e+(t&ll)*r,r*=128,t<Nr)return i*e;if(e>B1)throw j1}throw F1},Wz=n=>{let t=qe(n);if(t===0)return"";{let e=String.fromCodePoint(Ya(n));if(--t<100)for(;t--;)e+=String.fromCodePoint(Ya(n));else for(;t>0;){const r=t<1e4?t:1e4,i=n.arr.subarray(n.pos,n.pos+r);n.pos+=r,e+=String.fromCodePoint.apply(null,i),t-=r}return decodeURIComponent(escape(e))}},Hz=n=>$c.decode(Gn(n)),gs=$c?Hz:Wz,Cb=(n,t)=>{const e=new DataView(n.arr.buffer,n.arr.byteOffset+n.pos,t);return n.pos+=t,e},Yz=n=>Cb(n,4).getFloat32(0,!1),Zz=n=>Cb(n,8).getFloat64(0,!1),Gz=n=>Cb(n,8).getBigInt64(0,!1),Jz=[n=>{},n=>null,wb,Yz,Zz,Gz,n=>!1,n=>!0,gs,n=>{const t=qe(n),e={};for(let r=0;r<t;r++){const i=gs(n);e[i]=bu(n)}return e},n=>{const t=qe(n),e=[];for(let r=0;r<t;r++)e.push(bu(n));return e},Gn],bu=n=>Jz[127-Ya(n)](n);class Ox extends Xh{constructor(t,e){super(t),this.reader=e,this.s=null,this.count=0}read(){return this.count===0&&(this.s=this.reader(this),Uz(this)?this.count=qe(this)+1:this.count=-1),this.count--,this.s}}class Lf extends Xh{constructor(t){super(t),this.s=0,this.count=0}read(){if(this.count===0){this.s=wb(this);const t=P1(this.s);this.count=1,t&&(this.s=-this.s,this.count=qe(this)+2)}return this.count--,this.s}}class dm extends Xh{constructor(t){super(t),this.s=0,this.count=0,this.diff=0}read(){if(this.count===0){const t=wb(this),e=t&1;this.diff=Oo(t/2),this.count=1,e&&(this.count=qe(this)+2)}return this.s+=this.diff,this.count--,this.s}}class Qz{constructor(t){this.decoder=new Lf(t),this.str=gs(this.decoder),this.spos=0}read(){const t=this.spos+this.decoder.read(),e=this.str.slice(this.spos,t);return this.spos=t,e}}const Vz=crypto.getRandomValues.bind(crypto),z1=()=>Vz(new Uint32Array(1))[0],Xz="10000000-1000-4000-8000"+-1e11,qz=()=>Xz.replace(/[018]/g,n=>(n^z1()&15>>n/4).toString(16)),Es=Date.now,Rx=n=>new Promise(n);Promise.all.bind(Promise);const Px=n=>n===void 0?null:n;class $z{constructor(){this.map=new Map}setItem(t,e){this.map.set(t,e)}getItem(t){return this.map.get(t)}}let U1=new $z,vb=!0;try{typeof localStorage<"u"&&localStorage&&(U1=localStorage,vb=!1)}catch{}const K1=U1,eU=n=>vb||addEventListener("storage",n),tU=n=>vb||removeEventListener("storage",n),nU=Object.assign,W1=Object.keys,rU=(n,t)=>{for(const e in n)t(n[e],e)},iU=(n,t)=>{const e=[];for(const r in n)e.push(t(n[r],r));return e},Bx=n=>W1(n).length,Fx=n=>W1(n).length,oU=n=>{for(const t in n)return!1;return!0},sU=(n,t)=>{for(const e in n)if(!t(n[e],e))return!1;return!0},H1=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),lU=(n,t)=>n===t||Fx(n)===Fx(t)&&sU(n,(e,r)=>(e!==void 0||H1(t,r))&&t[r]===e),aU=Object.freeze,Y1=n=>{for(const t in n){const e=n[t];(typeof e=="object"||typeof e=="function")&&Y1(n[t])}return aU(n)},jx=Symbol("Equality"),xb=(n,t,e=0)=>{try{for(;e<n.length;e++)n[e](...t)}finally{e<n.length&&xb(n,t,e+1)}},cU=n=>n,eu=(n,t)=>{if(n===t)return!0;if(n==null||t==null||n.constructor!==t.constructor)return!1;if(n[jx]!=null)return n[jx](t);switch(n.constructor){case ArrayBuffer:n=new Uint8Array(n),t=new Uint8Array(t);case Uint8Array:{if(n.byteLength!==t.byteLength)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e])return!1;break}case Set:{if(n.size!==t.size)return!1;for(const e of n)if(!t.has(e))return!1;break}case Map:{if(n.size!==t.size)return!1;for(const e of n.keys())if(!t.has(e)||!eu(n.get(e),t.get(e)))return!1;break}case Object:if(Bx(n)!==Bx(t))return!1;for(const e in n)if(!H1(n,e)||!eu(n[e],t[e]))return!1;break;case Array:if(n.length!==t.length)return!1;for(let e=0;e<n.length;e++)if(!eu(n[e],t[e]))return!1;break;default:return!1}return!0},uU=(n,t)=>t.includes(n),ks=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]",Z1=typeof window<"u"&&typeof document<"u"&&!ks;let Ei;const dU=()=>{if(Ei===void 0)if(ks){Ei=Ar();const n=process.argv;let t=null;for(let e=0;e<n.length;e++){const r=n[e];r[0]==="-"?(t!==null&&Ei.set(t,""),t=r):t!==null&&(Ei.set(t,r),t=null)}t!==null&&Ei.set(t,"")}else typeof location=="object"?(Ei=Ar(),(location.search||"?").slice(1).split("&").forEach(n=>{if(n.length!==0){const[t,e]=n.split("=");Ei.set(`--${Nx(t,"-")}`,e),Ei.set(`-${Nx(t,"-")}`,e)}})):Ei=Ar();return Ei},NA=n=>dU().has(n),nh=n=>Px(ks?process.env[n.toUpperCase().replaceAll("-","_")]:K1.getItem(n)),G1=n=>NA("--"+n)||nh(n)!==null;G1("production");const fU=ks&&uU(process.env.FORCE_COLOR,["true","1","2"]),hU=fU||!NA("--no-colors")&&!G1("no-color")&&(!ks||process.stdout.isTTY)&&(!ks||NA("--color")||nh("COLORTERM")!==null||(nh("TERM")||"").includes("color")),J1=n=>new Uint8Array(n),gU=(n,t,e)=>new Uint8Array(n,t,e),pU=n=>new Uint8Array(n),mU=n=>{let t="";for(let e=0;e<n.byteLength;e++)t+=Sz(n[e]);return btoa(t)},AU=n=>Buffer.from(n.buffer,n.byteOffset,n.byteLength).toString("base64"),yU=n=>{const t=atob(n),e=J1(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e},bU=n=>{const t=Buffer.from(n,"base64");return gU(t.buffer,t.byteOffset,t.byteLength)},wU=Z1?mU:AU,CU=Z1?yU:bU,vU=n=>{const t=J1(n.byteLength);return t.set(n),t};class xU{constructor(t,e){this.left=t,this.right=e}}const ho=(n,t)=>new xU(n,t);typeof DOMParser<"u"&&new DOMParser;const SU=n=>Az(n,(t,e)=>`${e}:${t};`).join(""),Yo=Symbol,Q1=Yo(),V1=Yo(),EU=Yo(),kU=Yo(),TU=Yo(),X1=Yo(),_U=Yo(),Sb=Yo(),NU=Yo(),IU=n=>{var i;n.length===1&&((i=n[0])==null?void 0:i.constructor)===Function&&(n=n[0]());const t=[],e=[];let r=0;for(;r<n.length;r++){const o=n[r];if(o===void 0)break;if(o.constructor===String||o.constructor===Number)t.push(o);else if(o.constructor===Object)break}for(r>0&&e.push(t.join(""));r<n.length;r++){const o=n[r];o instanceof Symbol||e.push(o)}return e},MU={[Q1]:ho("font-weight","bold"),[V1]:ho("font-weight","normal"),[EU]:ho("color","blue"),[TU]:ho("color","green"),[kU]:ho("color","grey"),[X1]:ho("color","red"),[_U]:ho("color","purple"),[Sb]:ho("color","orange"),[NU]:ho("color","black")},DU=n=>{var s;n.length===1&&((s=n[0])==null?void 0:s.constructor)===Function&&(n=n[0]());const t=[],e=[],r=Ar();let i=[],o=0;for(;o<n.length;o++){const l=n[o],c=MU[l];if(c!==void 0)r.set(c.left,c.right);else{if(l===void 0)break;if(l.constructor===String||l.constructor===Number){const u=SU(r);o>0||u.length>0?(t.push("%c"+l),e.push(u)):t.push(l)}else break}}for(o>0&&(i=e,i.unshift(t.join("")));o<n.length;o++){const l=n[o];l instanceof Symbol||i.push(l)}return i},q1=hU?DU:IU,LU=(...n)=>{console.log(...q1(n)),e_.forEach(t=>t.print(n))},$1=(...n)=>{console.warn(...q1(n)),n.unshift(Sb),e_.forEach(t=>t.print(n))},e_=xs(),t_=n=>({[Symbol.iterator](){return this},next:n}),OU=(n,t)=>t_(()=>{let e;do e=n.next();while(!e.done&&!t(e.value));return e}),fm=(n,t)=>t_(()=>{const{done:e,value:r}=n.next();return{done:e,value:e?void 0:t(r)}});class Eb{constructor(t,e){this.clock=t,this.len=e}}class sc{constructor(){this.clients=new Map}}const Za=(n,t,e)=>t.clients.forEach((r,i)=>{const o=n.doc.store.clients.get(i);if(o!=null){const s=o[o.length-1],l=s.id.clock+s.length;for(let c=0,u=r[c];c<r.length&&u.clock<l;u=r[++c])g_(n,o,u.clock,u.len,e)}}),RU=(n,t)=>{let e=0,r=n.length-1;for(;e<=r;){const i=Oo((e+r)/2),o=n[i],s=o.clock;if(s<=t){if(t<s+o.len)return i;e=i+1}else r=i-1}return null},Zu=(n,t)=>{const e=n.clients.get(t.client);return e!==void 0&&RU(e,t.clock)!==null},kb=n=>{n.clients.forEach(t=>{t.sort((i,o)=>i.clock-o.clock);let e,r;for(e=1,r=1;e<t.length;e++){const i=t[r-1],o=t[e];i.clock+i.len>=o.clock?i.len=Yl(i.len,o.clock+o.len-i.clock):(r<e&&(t[r]=o),r++)}t.length=r})},IA=n=>{const t=new sc;for(let e=0;e<n.length;e++)n[e].clients.forEach((r,i)=>{if(!t.clients.has(i)){const o=r.slice();for(let s=e+1;s<n.length;s++)bz(o,n[s].clients.get(i)||[]);t.clients.set(i,o)}});return kb(t),t},wu=(n,t,e,r)=>{Xi(n.clients,t,()=>[]).push(new Eb(e,r))},PU=()=>new sc,BU=n=>{const t=PU();return n.clients.forEach((e,r)=>{const i=[];for(let o=0;o<e.length;o++){const s=e[o];if(s.deleted){const l=s.id.clock;let c=s.length;if(o+1<e.length)for(let u=e[o+1];o+1<e.length&&u.deleted;u=e[++o+1])c+=u.length;i.push(new Eb(l,c))}}i.length>0&&t.clients.set(r,i)}),t},lc=(n,t)=>{Ue(n.restEncoder,t.clients.size),Lo(t.clients.entries()).sort((e,r)=>r[0]-e[0]).forEach(([e,r])=>{n.resetDsCurVal(),Ue(n.restEncoder,e);const i=r.length;Ue(n.restEncoder,i);for(let o=0;o<i;o++){const s=r[o];n.writeDsClock(s.clock),n.writeDsLen(s.len)}})},Tb=n=>{const t=new sc,e=qe(n.restDecoder);for(let r=0;r<e;r++){n.resetDsCurVal();const i=qe(n.restDecoder),o=qe(n.restDecoder);if(o>0){const s=Xi(t.clients,i,()=>[]);for(let l=0;l<o;l++)s.push(new Eb(n.readDsClock(),n.readDsLen()))}}return t},zx=(n,t,e)=>{const r=new sc,i=qe(n.restDecoder);for(let o=0;o<i;o++){n.resetDsCurVal();const s=qe(n.restDecoder),l=qe(n.restDecoder),c=e.clients.get(s)||[],u=an(e,s);for(let d=0;d<l;d++){const h=n.readDsClock(),g=h+n.readDsLen();if(h<u){u<g&&wu(r,s,u,g-u);let p=Gi(c,h),m=c[p];for(!m.deleted&&m.id.clock<h&&(c.splice(p+1,0,ch(t,m,h-m.id.clock)),p++);p<c.length&&(m=c[p++],m.id.clock<g);)m.deleted||(g<m.id.clock+m.length&&c.splice(p,0,ch(t,m,g-m.id.clock)),m.delete(t))}else wu(r,s,h,g-h)}}if(r.clients.size>0){const o=new xl;return Ue(o.restEncoder,0),lc(o,r),o.toUint8Array()}return null},n_=z1;class Zi extends O1{constructor({guid:t=qz(),collectionid:e=null,gc:r=!0,gcFilter:i=()=>!0,meta:o=null,autoLoad:s=!1,shouldLoad:l=!0}={}){super(),this.gc=r,this.gcFilter=i,this.clientID=n_(),this.guid=t,this.collectionid=e,this.share=new Map,this.store=new f_,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=l,this.autoLoad=s,this.meta=o,this.isLoaded=!1,this.isSynced=!1,this.isDestroyed=!1,this.whenLoaded=Rx(u=>{this.on("load",()=>{this.isLoaded=!0,u(this)})});const c=()=>Rx(u=>{const d=h=>{(h===void 0||h===!0)&&(this.off("sync",d),u())};this.on("sync",d)});this.on("sync",u=>{u===!1&&this.isSynced&&(this.whenSynced=c()),this.isSynced=u===void 0||u===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=c()}load(){const t=this._item;t!==null&&!this.shouldLoad&&Bt(t.parent.doc,e=>{e.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Lo(this.subdocs).map(t=>t.guid))}transact(t,e=null){return Bt(this,t,e)}get(t,e=On){const r=Xi(this.share,t,()=>{const o=new e;return o._integrate(this,null),o}),i=r.constructor;if(e!==On&&i!==e)if(i===On){const o=new e;o._map=r._map,r._map.forEach(s=>{for(;s!==null;s=s.left)s.parent=o}),o._start=r._start;for(let s=o._start;s!==null;s=s.right)s.parent=o;return o._length=r._length,this.share.set(t,o),o._integrate(this,null),o}else throw new Error(`Type with the name ${t} has already been defined with a different constructor`);return r}getArray(t=""){return this.get(t,ps)}getText(t=""){return this.get(t,Ja)}getMap(t=""){return this.get(t,Pn)}getXmlElement(t=""){return this.get(t,ii)}getXmlFragment(t=""){return this.get(t,Sl)}toJSON(){const t={};return this.share.forEach((e,r)=>{t[r]=e.toJSON()}),t}destroy(){this.isDestroyed=!0,Lo(this.subdocs).forEach(e=>e.destroy());const t=this._item;if(t!==null){this._item=null;const e=t.content;e.doc=new Zi({guid:this.guid,...e.opts,shouldLoad:!1}),e.doc._item=t,Bt(t.parent.doc,r=>{const i=e.doc;t.deleted||r.subdocsAdded.add(i),r.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}}class r_{constructor(t){this.restDecoder=t}resetDsCurVal(){}readDsClock(){return qe(this.restDecoder)}readDsLen(){return qe(this.restDecoder)}}class i_ extends r_{readLeftID(){return st(qe(this.restDecoder),qe(this.restDecoder))}readRightID(){return st(qe(this.restDecoder),qe(this.restDecoder))}readClient(){return qe(this.restDecoder)}readInfo(){return Ya(this.restDecoder)}readString(){return gs(this.restDecoder)}readParentInfo(){return qe(this.restDecoder)===1}readTypeRef(){return qe(this.restDecoder)}readLen(){return qe(this.restDecoder)}readAny(){return bu(this.restDecoder)}readBuf(){return vU(Gn(this.restDecoder))}readJSON(){return JSON.parse(gs(this.restDecoder))}readKey(){return gs(this.restDecoder)}}class FU{constructor(t){this.dsCurrVal=0,this.restDecoder=t}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=qe(this.restDecoder),this.dsCurrVal}readDsLen(){const t=qe(this.restDecoder)+1;return this.dsCurrVal+=t,t}}class Ga extends FU{constructor(t){super(t),this.keys=[],qe(t),this.keyClockDecoder=new dm(Gn(t)),this.clientDecoder=new Lf(Gn(t)),this.leftClockDecoder=new dm(Gn(t)),this.rightClockDecoder=new dm(Gn(t)),this.infoDecoder=new Ox(Gn(t),Ya),this.stringDecoder=new Qz(Gn(t)),this.parentInfoDecoder=new Ox(Gn(t),Ya),this.typeRefDecoder=new Lf(Gn(t)),this.lenDecoder=new Lf(Gn(t))}readLeftID(){return new Ra(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new Ra(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return this.parentInfoDecoder.read()===1}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return bu(this.restDecoder)}readBuf(){return Gn(this.restDecoder)}readJSON(){return bu(this.restDecoder)}readKey(){const t=this.keyClockDecoder.read();if(t<this.keys.length)return this.keys[t];{const e=this.stringDecoder.read();return this.keys.push(e),e}}}class o_{constructor(){this.restEncoder=Jn()}toUint8Array(){return Xt(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){Ue(this.restEncoder,t)}writeDsLen(t){Ue(this.restEncoder,t)}}class Gu extends o_{writeLeftID(t){Ue(this.restEncoder,t.client),Ue(this.restEncoder,t.clock)}writeRightID(t){Ue(this.restEncoder,t.client),Ue(this.restEncoder,t.clock)}writeClient(t){Ue(this.restEncoder,t)}writeInfo(t){TA(this.restEncoder,t)}writeString(t){al(this.restEncoder,t)}writeParentInfo(t){Ue(this.restEncoder,t?1:0)}writeTypeRef(t){Ue(this.restEncoder,t)}writeLen(t){Ue(this.restEncoder,t)}writeAny(t){yu(this.restEncoder,t)}writeBuf(t){sn(this.restEncoder,t)}writeJSON(t){al(this.restEncoder,JSON.stringify(t))}writeKey(t){al(this.restEncoder,t)}}class s_{constructor(){this.restEncoder=Jn(),this.dsCurrVal=0}toUint8Array(){return Xt(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){const e=t-this.dsCurrVal;this.dsCurrVal=t,Ue(this.restEncoder,e)}writeDsLen(t){t===0&&yi(),Ue(this.restEncoder,t-1),this.dsCurrVal+=t}}class xl extends s_{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new um,this.clientEncoder=new Df,this.leftClockEncoder=new um,this.rightClockEncoder=new um,this.infoEncoder=new Mx(TA),this.stringEncoder=new zz,this.parentInfoEncoder=new Mx(TA),this.typeRefEncoder=new Df,this.lenEncoder=new Df}toUint8Array(){const t=Jn();return Ue(t,0),sn(t,this.keyClockEncoder.toUint8Array()),sn(t,this.clientEncoder.toUint8Array()),sn(t,this.leftClockEncoder.toUint8Array()),sn(t,this.rightClockEncoder.toUint8Array()),sn(t,Xt(this.infoEncoder)),sn(t,this.stringEncoder.toUint8Array()),sn(t,Xt(this.parentInfoEncoder)),sn(t,this.typeRefEncoder.toUint8Array()),sn(t,this.lenEncoder.toUint8Array()),Vh(t,Xt(this.restEncoder)),Xt(t)}writeLeftID(t){this.clientEncoder.write(t.client),this.leftClockEncoder.write(t.clock)}writeRightID(t){this.clientEncoder.write(t.client),this.rightClockEncoder.write(t.clock)}writeClient(t){this.clientEncoder.write(t)}writeInfo(t){this.infoEncoder.write(t)}writeString(t){this.stringEncoder.write(t)}writeParentInfo(t){this.parentInfoEncoder.write(t?1:0)}writeTypeRef(t){this.typeRefEncoder.write(t)}writeLen(t){this.lenEncoder.write(t)}writeAny(t){yu(this.restEncoder,t)}writeBuf(t){sn(this.restEncoder,t)}writeJSON(t){yu(this.restEncoder,t)}writeKey(t){const e=this.keyMap.get(t);e===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(t)):this.keyClockEncoder.write(e)}}const jU=(n,t,e,r)=>{r=Yl(r,t[0].id.clock);const i=Gi(t,r);Ue(n.restEncoder,t.length-i),n.writeClient(e),Ue(n.restEncoder,r);const o=t[i];o.write(n,r-o.id.clock);for(let s=i+1;s<t.length;s++)t[s].write(n,0)},_b=(n,t,e)=>{const r=new Map;e.forEach((i,o)=>{an(t,o)>i&&r.set(o,i)}),qh(t).forEach((i,o)=>{e.has(o)||r.set(o,0)}),Ue(n.restEncoder,r.size),Lo(r.entries()).sort((i,o)=>o[0]-i[0]).forEach(([i,o])=>{jU(n,t.clients.get(i),i,o)})},zU=(n,t)=>{const e=Ar(),r=qe(n.restDecoder);for(let i=0;i<r;i++){const o=qe(n.restDecoder),s=new Array(o),l=n.readClient();let c=qe(n.restDecoder);e.set(l,{i:0,refs:s});for(let u=0;u<o;u++){const d=n.readInfo();switch(Qh&d){case 0:{const h=n.readLen();s[u]=new Hr(st(l,c),h),c+=h;break}case 10:{const h=qe(n.restDecoder);s[u]=new Yr(st(l,c),h),c+=h;break}default:{const h=(d&(ko|Nr))===0,g=new Ft(st(l,c),null,(d&Nr)===Nr?n.readLeftID():null,null,(d&ko)===ko?n.readRightID():null,h?n.readParentInfo()?t.get(n.readString()):n.readLeftID():null,h&&(d&mu)===mu?n.readString():null,F_(n,d));s[u]=g,c+=g.length}}}}return e},UU=(n,t,e)=>{const r=[];let i=Lo(e.keys()).sort((p,m)=>p-m);if(i.length===0)return null;const o=()=>{if(i.length===0)return null;let p=e.get(i[i.length-1]);for(;p.refs.length===p.i;)if(i.pop(),i.length>0)p=e.get(i[i.length-1]);else return null;return p};let s=o();if(s===null)return null;const l=new f_,c=new Map,u=(p,m)=>{const y=c.get(p);(y==null||y>m)&&c.set(p,m)};let d=s.refs[s.i++];const h=new Map,g=()=>{for(const p of r){const m=p.id.client,y=e.get(m);y?(y.i--,l.clients.set(m,y.refs.slice(y.i)),e.delete(m),y.i=0,y.refs=[]):l.clients.set(m,[p]),i=i.filter(w=>w!==m)}r.length=0};for(;;){if(d.constructor!==Yr){const m=Xi(h,d.id.client,()=>an(t,d.id.client))-d.id.clock;if(m<0)r.push(d),u(d.id.client,d.id.clock-1),g();else{const y=d.getMissing(n,t);if(y!==null){r.push(d);const w=e.get(y)||{refs:[],i:0};if(w.refs.length===w.i)u(y,an(t,y)),g();else{d=w.refs[w.i++];continue}}else(m===0||m<d.length)&&(d.integrate(n,m),h.set(d.id.client,d.id.clock+d.length))}}if(r.length>0)d=r.pop();else if(s!==null&&s.i<s.refs.length)d=s.refs[s.i++];else{if(s=o(),s===null)break;d=s.refs[s.i++]}}if(l.clients.size>0){const p=new xl;return _b(p,l,new Map),Ue(p.restEncoder,0),{missing:c,update:p.toUint8Array()}}return null},KU=(n,t)=>_b(n,t.doc.store,t.beforeState),WU=(n,t,e,r=new Ga(n))=>Bt(t,i=>{i.local=!1;let o=!1;const s=i.doc,l=s.store,c=zU(r,s),u=UU(i,l,c),d=l.pendingStructs;if(d){for(const[g,p]of d.missing)if(p<an(l,g)){o=!0;break}if(u){for(const[g,p]of u.missing){const m=d.missing.get(g);(m==null||m>p)&&d.missing.set(g,p)}d.update=ih([d.update,u.update])}}else l.pendingStructs=u;const h=zx(r,i,l);if(l.pendingDs){const g=new Ga(Rs(l.pendingDs));qe(g.restDecoder);const p=zx(g,i,l);h&&p?l.pendingDs=ih([h,p]):l.pendingDs=h||p}else l.pendingDs=h;if(o){const g=l.pendingStructs.update;l.pendingStructs=null,l_(i.doc,g)}},e,!1),l_=(n,t,e,r=Ga)=>{const i=Rs(t);WU(i,n,e,new r(i))},HU=(n,t,e)=>l_(n,t,e,i_),YU=(n,t,e=new Map)=>{_b(n,t.store,e),lc(n,BU(t.store))},ZU=(n,t=new Uint8Array([0]),e=new xl)=>{const r=a_(t);YU(e,n,r);const i=[e.toUint8Array()];if(n.store.pendingDs&&i.push(n.store.pendingDs),n.store.pendingStructs&&i.push(gK(n.store.pendingStructs.update,t)),i.length>1){if(e.constructor===Gu)return fK(i.map((o,s)=>s===0?o:mK(o)));if(e.constructor===xl)return ih(i)}return i[0]},GU=(n,t)=>ZU(n,t,new Gu),JU=n=>{const t=new Map,e=qe(n.restDecoder);for(let r=0;r<e;r++){const i=qe(n.restDecoder),o=qe(n.restDecoder);t.set(i,o)}return t},a_=n=>JU(new r_(Rs(n))),c_=(n,t)=>(Ue(n.restEncoder,t.size),Lo(t.entries()).sort((e,r)=>r[0]-e[0]).forEach(([e,r])=>{Ue(n.restEncoder,e),Ue(n.restEncoder,r)}),n),QU=(n,t)=>c_(n,qh(t.store)),VU=(n,t=new s_)=>(n instanceof Map?c_(t,n):QU(t,n),t.toUint8Array()),XU=n=>VU(n,new o_);class qU{constructor(){this.l=[]}}const Ux=()=>new qU,Kx=(n,t)=>n.l.push(t),Wx=(n,t)=>{const e=n.l,r=e.length;n.l=e.filter(i=>t!==i),r===n.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},u_=(n,t,e)=>xb(n.l,[t,e]);class Ra{constructor(t,e){this.client=t,this.clock=e}}const Na=(n,t)=>n===t||n!==null&&t!==null&&n.client===t.client&&n.clock===t.clock,st=(n,t)=>new Ra(n,t),d_=n=>{for(const[t,e]of n.doc.share.entries())if(e===n)return t;throw yi()},rh=(n,t)=>{for(;t!==null;){if(t.parent===n)return!0;t=t.parent._item}return!1};class $U{constructor(t,e,r,i=0){this.type=t,this.tname=e,this.item=r,this.assoc=i}}class eK{constructor(t,e,r=0){this.type=t,this.index=e,this.assoc=r}}const tK=(n,t,e=0)=>new eK(n,t,e),tf=(n,t,e)=>{let r=null,i=null;return n._item===null?i=d_(n):r=st(n._item.id.client,n._item.id.clock),new $U(r,i,t,e)},MA=(n,t,e=0)=>{let r=n._start;if(e<0){if(t===0)return tf(n,null,e);t--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>t)return tf(n,st(r.id.client,r.id.clock+t),e);t-=r.length}if(r.right===null&&e<0)return tf(n,r.lastId,e);r=r.right}return tf(n,null,e)},nK=(n,t)=>{const e=Pa(n,t),r=t.clock-e.id.clock;return{item:e,diff:r}},rK=(n,t,e=!0)=>{const r=t.store,i=n.item,o=n.type,s=n.tname,l=n.assoc;let c=null,u=0;if(i!==null){if(an(r,i.client)<=i.clock)return null;const d=e?PA(r,i):nK(r,i),h=d.item;if(!(h instanceof Ft))return null;if(c=h.parent,c._item===null||!c._item.deleted){u=h.deleted||!h.countable?0:d.diff+(l>=0?0:1);let g=h.left;for(;g!==null;)!g.deleted&&g.countable&&(u+=g.length),g=g.left}}else{if(s!==null)c=t.get(s);else if(o!==null){if(an(r,o.client)<=o.clock)return null;const{item:d}=e?PA(r,o):{item:Pa(r,o)};if(d instanceof Ft&&d.content instanceof qi)c=d.content.type;else return null}else throw yi();l>=0?u=c._length:u=0}return tK(c,u,n.assoc)},iK=(n,t)=>n===t||n!==null&&t!==null&&n.tname===t.tname&&Na(n.item,t.item)&&Na(n.type,t.type)&&n.assoc===t.assoc,xa=(n,t)=>t===void 0?!n.deleted:t.sv.has(n.id.client)&&(t.sv.get(n.id.client)||0)>n.id.clock&&!Zu(t.ds,n.id),DA=(n,t)=>{const e=Xi(n.meta,DA,xs),r=n.doc.store;e.has(t)||(t.sv.forEach((i,o)=>{i<an(r,o)&&gr(n,st(o,i))}),Za(n,t.ds,i=>{}),e.add(t))};class f_{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const qh=n=>{const t=new Map;return n.clients.forEach((e,r)=>{const i=e[e.length-1];t.set(r,i.id.clock+i.length)}),t},an=(n,t)=>{const e=n.clients.get(t);if(e===void 0)return 0;const r=e[e.length-1];return r.id.clock+r.length},h_=(n,t)=>{let e=n.clients.get(t.id.client);if(e===void 0)e=[],n.clients.set(t.id.client,e);else{const r=e[e.length-1];if(r.id.clock+r.length!==t.id.clock)throw yi()}e.push(t)},Gi=(n,t)=>{let e=0,r=n.length-1,i=n[r],o=i.id.clock;if(o===t)return r;let s=Oo(t/(o+i.length-1)*r);for(;e<=r;){if(i=n[s],o=i.id.clock,o<=t){if(t<o+i.length)return s;e=s+1}else r=s-1;s=Oo((e+r)/2)}throw yi()},oK=(n,t)=>{const e=n.clients.get(t.client);return e[Gi(e,t.clock)]},Pa=oK,LA=(n,t,e)=>{const r=Gi(t,e),i=t[r];return i.id.clock<e&&i instanceof Ft?(t.splice(r+1,0,ch(n,i,e-i.id.clock)),r+1):r},gr=(n,t)=>{const e=n.doc.store.clients.get(t.client);return e[LA(n,e,t.clock)]},Hx=(n,t,e)=>{const r=t.clients.get(e.client),i=Gi(r,e.clock),o=r[i];return e.clock!==o.id.clock+o.length-1&&o.constructor!==Hr&&r.splice(i+1,0,ch(n,o,e.clock-o.id.clock+1)),o},sK=(n,t,e)=>{const r=n.clients.get(t.id.client);r[Gi(r,t.id.clock)]=e},g_=(n,t,e,r,i)=>{if(r===0)return;const o=e+r;let s=LA(n,t,e),l;do l=t[s++],o<l.id.clock+l.length&&LA(n,t,o),i(l);while(s<t.length&&t[s].id.clock<o)};class lK{constructor(t,e,r){this.doc=t,this.deleteSet=new sc,this.beforeState=qh(t.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=e,this.meta=new Map,this.local=r,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}}const Yx=(n,t)=>t.deleteSet.clients.size===0&&!yz(t.afterState,(e,r)=>t.beforeState.get(r)!==e)?!1:(kb(t.deleteSet),KU(n,t),lc(n,t.deleteSet),!0),Zx=(n,t,e)=>{const r=t._item;(r===null||r.id.clock<(n.beforeState.get(r.id.client)||0)&&!r.deleted)&&Xi(n.changed,t,xs).add(e)},Of=(n,t)=>{let e=n[t],r=n[t-1],i=t;for(;i>0;e=r,r=n[--i-1]){if(r.deleted===e.deleted&&r.constructor===e.constructor&&r.mergeWith(e)){e instanceof Ft&&e.parentSub!==null&&e.parent._map.get(e.parentSub)===e&&e.parent._map.set(e.parentSub,r);continue}break}const o=t-i;return o&&n.splice(t+1-o,o),o},aK=(n,t,e)=>{for(const[r,i]of n.clients.entries()){const o=t.clients.get(r);for(let s=i.length-1;s>=0;s--){const l=i[s],c=l.clock+l.len;for(let u=Gi(o,l.clock),d=o[u];u<o.length&&d.id.clock<c;d=o[++u]){const h=o[u];if(l.clock+l.len<=h.id.clock)break;h instanceof Ft&&h.deleted&&!h.keep&&e(h)&&h.gc(t,!1)}}}},cK=(n,t)=>{n.clients.forEach((e,r)=>{const i=t.clients.get(r);for(let o=e.length-1;o>=0;o--){const s=e[o],l=mb(i.length-1,1+Gi(i,s.clock+s.len-1));for(let c=l,u=i[c];c>0&&u.id.clock>=s.clock;u=i[c])c-=1+Of(i,c)}})},p_=(n,t)=>{if(t<n.length){const e=n[t],r=e.doc,i=r.store,o=e.deleteSet,s=e._mergeStructs;try{kb(o),e.afterState=qh(e.doc.store),r.emit("beforeObserverCalls",[e,r]);const l=[];e.changed.forEach((c,u)=>l.push(()=>{(u._item===null||!u._item.deleted)&&u._callObserver(e,c)})),l.push(()=>{e.changedParentTypes.forEach((c,u)=>{u._dEH.l.length>0&&(u._item===null||!u._item.deleted)&&(c=c.filter(d=>d.target._item===null||!d.target._item.deleted),c.forEach(d=>{d.currentTarget=u,d._path=null}),c.sort((d,h)=>d.path.length-h.path.length),u_(u._dEH,c,e))})}),l.push(()=>r.emit("afterTransaction",[e,r])),xb(l,[]),e._needFormattingCleanup&&_K(e)}finally{r.gc&&aK(o,i,r.gcFilter),cK(o,i),e.afterState.forEach((d,h)=>{const g=e.beforeState.get(h)||0;if(g!==d){const p=i.clients.get(h),m=Yl(Gi(p,g),1);for(let y=p.length-1;y>=m;)y-=1+Of(p,y)}});for(let d=s.length-1;d>=0;d--){const{client:h,clock:g}=s[d].id,p=i.clients.get(h),m=Gi(p,g);m+1<p.length&&Of(p,m+1)>1||m>0&&Of(p,m)}if(!e.local&&e.afterState.get(r.clientID)!==e.beforeState.get(r.clientID)&&(LU(Sb,Q1,"[yjs] ",V1,X1,"Changed the client-id because another client seems to be using it."),r.clientID=n_()),r.emit("afterTransactionCleanup",[e,r]),r._observers.has("update")){const d=new Gu;Yx(d,e)&&r.emit("update",[d.toUint8Array(),e.origin,r,e])}if(r._observers.has("updateV2")){const d=new xl;Yx(d,e)&&r.emit("updateV2",[d.toUint8Array(),e.origin,r,e])}const{subdocsAdded:l,subdocsLoaded:c,subdocsRemoved:u}=e;(l.size>0||u.size>0||c.size>0)&&(l.forEach(d=>{d.clientID=r.clientID,d.collectionid==null&&(d.collectionid=r.collectionid),r.subdocs.add(d)}),u.forEach(d=>r.subdocs.delete(d)),r.emit("subdocs",[{loaded:c,added:l,removed:u},r,e]),u.forEach(d=>d.destroy())),n.length<=t+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,n])):p_(n,t+1)}}},Bt=(n,t,e=null,r=!0)=>{const i=n._transactionCleanups;let o=!1,s=null;n._transaction===null&&(o=!0,n._transaction=new lK(n,e,r),i.push(n._transaction),i.length===1&&n.emit("beforeAllTransactions",[n]),n.emit("beforeTransaction",[n._transaction,n]));try{s=t(n._transaction)}finally{if(o){const l=n._transaction===i[0];n._transaction=null,l&&p_(i,0)}}return s};class uK{constructor(t,e){this.insertions=e,this.deletions=t,this.meta=new Map}}const Gx=(n,t,e)=>{Za(n,e.deletions,r=>{r instanceof Ft&&t.scope.some(i=>i===n.doc||rh(i,r))&&Pb(r,!1)})},Jx=(n,t,e)=>{let r=null;const i=n.doc,o=n.scope;Bt(i,l=>{for(;t.length>0&&n.currStackItem===null;){const c=i.store,u=t.pop(),d=new Set,h=[];let g=!1;Za(l,u.insertions,p=>{if(p instanceof Ft){if(p.redone!==null){let{item:m,diff:y}=PA(c,p.id);y>0&&(m=gr(l,st(m.id.client,m.id.clock+y))),p=m}!p.deleted&&o.some(m=>m===l.doc||rh(m,p))&&h.push(p)}}),Za(l,u.deletions,p=>{p instanceof Ft&&o.some(m=>m===l.doc||rh(m,p))&&!Zu(u.insertions,p.id)&&d.add(p)}),d.forEach(p=>{g=B_(l,p,d,u.insertions,n.ignoreRemoteMapChanges,n)!==null||g});for(let p=h.length-1;p>=0;p--){const m=h[p];n.deleteFilter(m)&&(m.delete(l),g=!0)}n.currStackItem=g?u:null}l.changed.forEach((c,u)=>{c.has(null)&&u._searchMarker&&(u._searchMarker.length=0)}),r=l},n);const s=n.currStackItem;if(s!=null){const l=r.changedParentTypes;n.emit("stack-item-popped",[{stackItem:s,type:e,changedParentTypes:l,origin:n},n]),n.currStackItem=null}return s};class m_ extends O1{constructor(t,{captureTimeout:e=500,captureTransaction:r=c=>!0,deleteFilter:i=()=>!0,trackedOrigins:o=new Set([null]),ignoreRemoteMapChanges:s=!1,doc:l=EA(t)?t[0].doc:t instanceof Zi?t:t.doc}={}){super(),this.scope=[],this.doc=l,this.addToScope(t),this.deleteFilter=i,o.add(this),this.trackedOrigins=o,this.captureTransaction=r,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.currStackItem=null,this.lastChange=0,this.ignoreRemoteMapChanges=s,this.captureTimeout=e,this.afterTransactionHandler=c=>{if(!this.captureTransaction(c)||!this.scope.some(w=>c.changedParentTypes.has(w)||w===this.doc)||!this.trackedOrigins.has(c.origin)&&(!c.origin||!this.trackedOrigins.has(c.origin.constructor)))return;const u=this.undoing,d=this.redoing,h=u?this.redoStack:this.undoStack;u?this.stopCapturing():d||this.clear(!1,!0);const g=new sc;c.afterState.forEach((w,v)=>{const C=c.beforeState.get(v)||0,x=w-C;x>0&&wu(g,v,C,x)});const p=Es();let m=!1;if(this.lastChange>0&&p-this.lastChange<this.captureTimeout&&h.length>0&&!u&&!d){const w=h[h.length-1];w.deletions=IA([w.deletions,c.deleteSet]),w.insertions=IA([w.insertions,g])}else h.push(new uK(c.deleteSet,g)),m=!0;!u&&!d&&(this.lastChange=p),Za(c,c.deleteSet,w=>{w instanceof Ft&&this.scope.some(v=>v===c.doc||rh(v,w))&&Pb(w,!0)});const y=[{stackItem:h[h.length-1],origin:c.origin,type:u?"redo":"undo",changedParentTypes:c.changedParentTypes},this];m?this.emit("stack-item-added",y):this.emit("stack-item-updated",y)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(t){const e=new Set(this.scope);t=EA(t)?t:[t],t.forEach(r=>{e.has(r)||(e.add(r),(r instanceof On?r.doc!==this.doc:r!==this.doc)&&$1("[yjs#509] Not same Y.Doc"),this.scope.push(r))})}addTrackedOrigin(t){this.trackedOrigins.add(t)}removeTrackedOrigin(t){this.trackedOrigins.delete(t)}clear(t=!0,e=!0){(t&&this.canUndo()||e&&this.canRedo())&&this.doc.transact(r=>{t&&(this.undoStack.forEach(i=>Gx(r,this,i)),this.undoStack=[]),e&&(this.redoStack.forEach(i=>Gx(r,this,i)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:t,redoStackCleared:e}])})}stopCapturing(){this.lastChange=0}undo(){this.undoing=!0;let t;try{t=Jx(this,this.undoStack,"undo")}finally{this.undoing=!1}return t}redo(){this.redoing=!0;let t;try{t=Jx(this,this.redoStack,"redo")}finally{this.redoing=!1}return t}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this),this.doc.off("afterTransaction",this.afterTransactionHandler),super.destroy()}}function*dK(n){const t=qe(n.restDecoder);for(let e=0;e<t;e++){const r=qe(n.restDecoder),i=n.readClient();let o=qe(n.restDecoder);for(let s=0;s<r;s++){const l=n.readInfo();if(l===10){const c=qe(n.restDecoder);yield new Yr(st(i,o),c),o+=c}else if((Qh&l)!==0){const c=(l&(ko|Nr))===0,u=new Ft(st(i,o),null,(l&Nr)===Nr?n.readLeftID():null,null,(l&ko)===ko?n.readRightID():null,c?n.readParentInfo()?n.readString():n.readLeftID():null,c&&(l&mu)===mu?n.readString():null,F_(n,l));yield u,o+=u.length}else{const c=n.readLen();yield new Hr(st(i,o),c),o+=c}}}}class Nb{constructor(t,e){this.gen=dK(t),this.curr=null,this.done=!1,this.filterSkips=e,this.next()}next(){do this.curr=this.gen.next().value||null;while(this.filterSkips&&this.curr!==null&&this.curr.constructor===Yr);return this.curr}}class Ib{constructor(t){this.currClient=0,this.startClock=0,this.written=0,this.encoder=t,this.clientStructs=[]}}const fK=n=>ih(n,i_,Gu),hK=(n,t)=>{if(n.constructor===Hr){const{client:e,clock:r}=n.id;return new Hr(st(e,r+t),n.length-t)}else if(n.constructor===Yr){const{client:e,clock:r}=n.id;return new Yr(st(e,r+t),n.length-t)}else{const e=n,{client:r,clock:i}=e.id;return new Ft(st(r,i+t),null,st(r,i+t-1),null,e.rightOrigin,e.parent,e.parentSub,e.content.splice(t))}},ih=(n,t=Ga,e=xl)=>{if(n.length===1)return n[0];const r=n.map(d=>new t(Rs(d)));let i=r.map(d=>new Nb(d,!0)),o=null;const s=new e,l=new Ib(s);for(;i=i.filter(g=>g.curr!==null),i.sort((g,p)=>{if(g.curr.id.client===p.curr.id.client){const m=g.curr.id.clock-p.curr.id.clock;return m===0?g.curr.constructor===p.curr.constructor?0:g.curr.constructor===Yr?1:-1:m}else return p.curr.id.client-g.curr.id.client}),i.length!==0;){const d=i[0],h=d.curr.id.client;if(o!==null){let g=d.curr,p=!1;for(;g!==null&&g.id.clock+g.length<=o.struct.id.clock+o.struct.length&&g.id.client>=o.struct.id.client;)g=d.next(),p=!0;if(g===null||g.id.client!==h||p&&g.id.clock>o.struct.id.clock+o.struct.length)continue;if(h!==o.struct.id.client)os(l,o.struct,o.offset),o={struct:g,offset:0},d.next();else if(o.struct.id.clock+o.struct.length<g.id.clock)if(o.struct.constructor===Yr)o.struct.length=g.id.clock+g.length-o.struct.id.clock;else{os(l,o.struct,o.offset);const m=g.id.clock-o.struct.id.clock-o.struct.length;o={struct:new Yr(st(h,o.struct.id.clock+o.struct.length),m),offset:0}}else{const m=o.struct.id.clock+o.struct.length-g.id.clock;m>0&&(o.struct.constructor===Yr?o.struct.length-=m:g=hK(g,m)),o.struct.mergeWith(g)||(os(l,o.struct,o.offset),o={struct:g,offset:0},d.next())}}else o={struct:d.curr,offset:0},d.next();for(let g=d.curr;g!==null&&g.id.client===h&&g.id.clock===o.struct.id.clock+o.struct.length&&g.constructor!==Yr;g=d.next())os(l,o.struct,o.offset),o={struct:g,offset:0}}o!==null&&(os(l,o.struct,o.offset),o=null),Mb(l);const c=r.map(d=>Tb(d)),u=IA(c);return lc(s,u),s.toUint8Array()},gK=(n,t,e=Ga,r=xl)=>{const i=a_(t),o=new r,s=new Ib(o),l=new e(Rs(n)),c=new Nb(l,!1);for(;c.curr;){const d=c.curr,h=d.id.client,g=i.get(h)||0;if(c.curr.constructor===Yr){c.next();continue}if(d.id.clock+d.length>g)for(os(s,d,Yl(g-d.id.clock,0)),c.next();c.curr&&c.curr.id.client===h;)os(s,c.curr,0),c.next();else for(;c.curr&&c.curr.id.client===h&&c.curr.id.clock+c.curr.length<=g;)c.next()}Mb(s);const u=Tb(l);return lc(o,u),o.toUint8Array()},A_=n=>{n.written>0&&(n.clientStructs.push({written:n.written,restEncoder:Xt(n.encoder.restEncoder)}),n.encoder.restEncoder=Jn(),n.written=0)},os=(n,t,e)=>{n.written>0&&n.currClient!==t.id.client&&A_(n),n.written===0&&(n.currClient=t.id.client,n.encoder.writeClient(t.id.client),Ue(n.encoder.restEncoder,t.id.clock+e)),t.write(n.encoder,e),n.written++},Mb=n=>{A_(n);const t=n.encoder.restEncoder;Ue(t,n.clientStructs.length);for(let e=0;e<n.clientStructs.length;e++){const r=n.clientStructs[e];Ue(t,r.written),Vh(t,r.restEncoder)}},pK=(n,t,e,r)=>{const i=new e(Rs(n)),o=new Nb(i,!1),s=new r,l=new Ib(s);for(let u=o.curr;u!==null;u=o.next())os(l,t(u),0);Mb(l);const c=Tb(i);return lc(s,c),s.toUint8Array()},mK=n=>pK(n,cU,Ga,Gu),Qx="You must not compute changes after the event-handler fired.";class $h{constructor(t,e){this.target=t,this.currentTarget=t,this.transaction=e,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=AK(this.currentTarget,this.target))}deletes(t){return Zu(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw Ss(Qx);const t=new Map,e=this.target;this.transaction.changed.get(e).forEach(i=>{if(i!==null){const o=e._map.get(i);let s,l;if(this.adds(o)){let c=o.left;for(;c!==null&&this.adds(c);)c=c.left;if(this.deletes(o))if(c!==null&&this.deletes(c))s="delete",l=lm(c.content.getContent());else return;else c!==null&&this.deletes(c)?(s="update",l=lm(c.content.getContent())):(s="add",l=void 0)}else if(this.deletes(o))s="delete",l=lm(o.content.getContent());else return;t.set(i,{action:s,oldValue:l})}}),this._keys=t}return this._keys}get delta(){return this.changes.delta}adds(t){return t.id.clock>=(this.transaction.beforeState.get(t.id.client)||0)}get changes(){let t=this._changes;if(t===null){if(this.transaction.doc._transactionCleanups.length===0)throw Ss(Qx);const e=this.target,r=xs(),i=xs(),o=[];if(t={added:r,deleted:i,delta:o,keys:this.keys},this.transaction.changed.get(e).has(null)){let l=null;const c=()=>{l&&o.push(l)};for(let u=e._start;u!==null;u=u.right)u.deleted?this.deletes(u)&&!this.adds(u)&&((l===null||l.delete===void 0)&&(c(),l={delete:0}),l.delete+=u.length,i.add(u)):this.adds(u)?((l===null||l.insert===void 0)&&(c(),l={insert:[]}),l.insert=l.insert.concat(u.content.getContent()),r.add(u)):((l===null||l.retain===void 0)&&(c(),l={retain:0}),l.retain+=u.length);l!==null&&l.retain===void 0&&c()}this._changes=t}return t}}const AK=(n,t)=>{const e=[];for(;t._item!==null&&t!==n;){if(t._item.parentSub!==null)e.unshift(t._item.parentSub);else{let r=0,i=t._item.parent._start;for(;i!==t._item&&i!==null;)!i.deleted&&i.countable&&(r+=i.length),i=i.right;e.unshift(r)}t=t._item.parent}return e},Xn=()=>{$1("Invalid access: Add Yjs type to a document before reading data.")},y_=80;let Db=0;class yK{constructor(t,e){t.marker=!0,this.p=t,this.index=e,this.timestamp=Db++}}const bK=n=>{n.timestamp=Db++},b_=(n,t,e)=>{n.p.marker=!1,n.p=t,t.marker=!0,n.index=e,n.timestamp=Db++},wK=(n,t,e)=>{if(n.length>=y_){const r=n.reduce((i,o)=>i.timestamp<o.timestamp?i:o);return b_(r,t,e),r}else{const r=new yK(t,e);return n.push(r),r}},eg=(n,t)=>{if(n._start===null||t===0||n._searchMarker===null)return null;const e=n._searchMarker.length===0?null:n._searchMarker.reduce((o,s)=>Mf(t-o.index)<Mf(t-s.index)?o:s);let r=n._start,i=0;for(e!==null&&(r=e.p,i=e.index,bK(e));r.right!==null&&i<t;){if(!r.deleted&&r.countable){if(t<i+r.length)break;i+=r.length}r=r.right}for(;r.left!==null&&i>t;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);for(;r.left!==null&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);return e!==null&&Mf(e.index-i)<r.parent.length/y_?(b_(e,r,i),e):wK(n._searchMarker,r,i)},Cu=(n,t,e)=>{for(let r=n.length-1;r>=0;r--){const i=n[r];if(e>0){let o=i.p;for(o.marker=!1;o&&(o.deleted||!o.countable);)o=o.left,o&&!o.deleted&&o.countable&&(i.index-=o.length);if(o===null||o.marker===!0){n.splice(r,1);continue}i.p=o,o.marker=!0}(t<i.index||e>0&&t===i.index)&&(i.index=Yl(t,i.index+e))}},tg=(n,t,e)=>{const r=n,i=t.changedParentTypes;for(;Xi(i,n,()=>[]).push(e),n._item!==null;)n=n._item.parent;u_(r._eH,e,t)};class On{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=Ux(),this._dEH=Ux(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,e){this.doc=t,this._item=e}_copy(){throw zi()}clone(){throw zi()}_write(t){}get _first(){let t=this._start;for(;t!==null&&t.deleted;)t=t.right;return t}_callObserver(t,e){!t.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(t){Kx(this._eH,t)}observeDeep(t){Kx(this._dEH,t)}unobserve(t){Wx(this._eH,t)}unobserveDeep(t){Wx(this._dEH,t)}toJSON(){}}const w_=(n,t,e)=>{n.doc??Xn(),t<0&&(t=n._length+t),e<0&&(e=n._length+e);let r=e-t;const i=[];let o=n._start;for(;o!==null&&r>0;){if(o.countable&&!o.deleted){const s=o.content.getContent();if(s.length<=t)t-=s.length;else{for(let l=t;l<s.length&&r>0;l++)i.push(s[l]),r--;t=0}}o=o.right}return i},C_=n=>{n.doc??Xn();const t=[];let e=n._start;for(;e!==null;){if(e.countable&&!e.deleted){const r=e.content.getContent();for(let i=0;i<r.length;i++)t.push(r[i])}e=e.right}return t},vu=(n,t)=>{let e=0,r=n._start;for(n.doc??Xn();r!==null;){if(r.countable&&!r.deleted){const i=r.content.getContent();for(let o=0;o<i.length;o++)t(i[o],e++,n)}r=r.right}},v_=(n,t)=>{const e=[];return vu(n,(r,i)=>{e.push(t(r,i,n))}),e},CK=n=>{let t=n._start,e=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(e===null){for(;t!==null&&t.deleted;)t=t.right;if(t===null)return{done:!0,value:void 0};e=t.content.getContent(),r=0,t=t.right}const i=e[r++];return e.length<=r&&(e=null),{done:!1,value:i}}}},x_=(n,t)=>{n.doc??Xn();const e=eg(n,t);let r=n._start;for(e!==null&&(r=e.p,t-=e.index);r!==null;r=r.right)if(!r.deleted&&r.countable){if(t<r.length)return r.content.getContent()[t];t-=r.length}},oh=(n,t,e,r)=>{let i=e;const o=n.doc,s=o.clientID,l=o.store,c=e===null?t._start:e.right;let u=[];const d=()=>{u.length>0&&(i=new Ft(st(s,an(l,s)),i,i&&i.lastId,c,c&&c.id,t,null,new El(u)),i.integrate(n,0),u=[])};r.forEach(h=>{if(h===null)u.push(h);else switch(h.constructor){case Number:case Object:case Boolean:case Array:case String:u.push(h);break;default:switch(d(),h.constructor){case Uint8Array:case ArrayBuffer:i=new Ft(st(s,an(l,s)),i,i&&i.lastId,c,c&&c.id,t,null,new Ju(new Uint8Array(h))),i.integrate(n,0);break;case Zi:i=new Ft(st(s,an(l,s)),i,i&&i.lastId,c,c&&c.id,t,null,new Qu(h)),i.integrate(n,0);break;default:if(h instanceof On)i=new Ft(st(s,an(l,s)),i,i&&i.lastId,c,c&&c.id,t,null,new qi(h)),i.integrate(n,0);else throw new Error("Unexpected content type in insert operation")}}}),d()},S_=()=>Ss("Length exceeded!"),E_=(n,t,e,r)=>{if(e>t._length)throw S_();if(e===0)return t._searchMarker&&Cu(t._searchMarker,e,r.length),oh(n,t,null,r);const i=e,o=eg(t,e);let s=t._start;for(o!==null&&(s=o.p,e-=o.index,e===0&&(s=s.prev,e+=s&&s.countable&&!s.deleted?s.length:0));s!==null;s=s.right)if(!s.deleted&&s.countable){if(e<=s.length){e<s.length&&gr(n,st(s.id.client,s.id.clock+e));break}e-=s.length}return t._searchMarker&&Cu(t._searchMarker,i,r.length),oh(n,t,s,r)},vK=(n,t,e)=>{let i=(t._searchMarker||[]).reduce((o,s)=>s.index>o.index?s:o,{index:0,p:t._start}).p;if(i)for(;i.right;)i=i.right;return oh(n,t,i,e)},k_=(n,t,e,r)=>{if(r===0)return;const i=e,o=r,s=eg(t,e);let l=t._start;for(s!==null&&(l=s.p,e-=s.index);l!==null&&e>0;l=l.right)!l.deleted&&l.countable&&(e<l.length&&gr(n,st(l.id.client,l.id.clock+e)),e-=l.length);for(;r>0&&l!==null;)l.deleted||(r<l.length&&gr(n,st(l.id.client,l.id.clock+r)),l.delete(n),r-=l.length),l=l.right;if(r>0)throw S_();t._searchMarker&&Cu(t._searchMarker,i,-o+r)},sh=(n,t,e)=>{const r=t._map.get(e);r!==void 0&&r.delete(n)},Lb=(n,t,e,r)=>{const i=t._map.get(e)||null,o=n.doc,s=o.clientID;let l;if(r==null)l=new El([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:case Date:case BigInt:l=new El([r]);break;case Uint8Array:l=new Ju(r);break;case Zi:l=new Qu(r);break;default:if(r instanceof On)l=new qi(r);else throw new Error("Unexpected content type")}new Ft(st(s,an(o.store,s)),i,i&&i.lastId,null,null,t,e,l).integrate(n,0)},Ob=(n,t)=>{n.doc??Xn();const e=n._map.get(t);return e!==void 0&&!e.deleted?e.content.getContent()[e.length-1]:void 0},T_=n=>{const t={};return n.doc??Xn(),n._map.forEach((e,r)=>{e.deleted||(t[r]=e.content.getContent()[e.length-1])}),t},__=(n,t)=>{n.doc??Xn();const e=n._map.get(t);return e!==void 0&&!e.deleted},xK=(n,t)=>{const e={};return n._map.forEach((r,i)=>{let o=r;for(;o!==null&&(!t.sv.has(o.id.client)||o.id.clock>=(t.sv.get(o.id.client)||0));)o=o.left;o!==null&&xa(o,t)&&(e[i]=o.content.getContent()[o.length-1])}),e},nf=n=>(n.doc??Xn(),OU(n._map.entries(),t=>!t[1].deleted));class N_ extends $h{}class ps extends On{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const e=new ps;return e.push(t),e}_integrate(t,e){super._integrate(t,e),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new ps}clone(){const t=new ps;return t.insert(0,this.toArray().map(e=>e instanceof On?e.clone():e)),t}get length(){return this.doc??Xn(),this._length}_callObserver(t,e){super._callObserver(t,e),tg(this,t,new N_(this,t))}insert(t,e){this.doc!==null?Bt(this.doc,r=>{E_(r,this,t,e)}):this._prelimContent.splice(t,0,...e)}push(t){this.doc!==null?Bt(this.doc,e=>{vK(e,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,e=1){this.doc!==null?Bt(this.doc,r=>{k_(r,this,t,e)}):this._prelimContent.splice(t,e)}get(t){return x_(this,t)}toArray(){return C_(this)}slice(t=0,e=this.length){return w_(this,t,e)}toJSON(){return this.map(t=>t instanceof On?t.toJSON():t)}map(t){return v_(this,t)}forEach(t){vu(this,t)}[Symbol.iterator](){return CK(this)}_write(t){t.writeTypeRef(YK)}}const SK=n=>new ps;class OA extends $h{constructor(t,e,r){super(t,e),this.keysChanged=r}}class Pn extends On{constructor(t){super(),this._prelimContent=null,t===void 0?this._prelimContent=new Map:this._prelimContent=new Map(t)}_integrate(t,e){super._integrate(t,e),this._prelimContent.forEach((r,i)=>{this.set(i,r)}),this._prelimContent=null}_copy(){return new Pn}clone(){const t=new Pn;return this.forEach((e,r)=>{t.set(r,e instanceof On?e.clone():e)}),t}_callObserver(t,e){tg(this,t,new OA(this,t,e))}toJSON(){this.doc??Xn();const t={};return this._map.forEach((e,r)=>{if(!e.deleted){const i=e.content.getContent()[e.length-1];t[r]=i instanceof On?i.toJSON():i}}),t}get size(){return[...nf(this)].length}keys(){return fm(nf(this),t=>t[0])}values(){return fm(nf(this),t=>t[1].content.getContent()[t[1].length-1])}entries(){return fm(nf(this),t=>[t[0],t[1].content.getContent()[t[1].length-1]])}forEach(t){this.doc??Xn(),this._map.forEach((e,r)=>{e.deleted||t(e.content.getContent()[e.length-1],r,this)})}[Symbol.iterator](){return this.entries()}delete(t){this.doc!==null?Bt(this.doc,e=>{sh(e,this,t)}):this._prelimContent.delete(t)}set(t,e){return this.doc!==null?Bt(this.doc,r=>{Lb(r,this,t,e)}):this._prelimContent.set(t,e),e}get(t){return Ob(this,t)}has(t){return __(this,t)}clear(){this.doc!==null?Bt(this.doc,t=>{this.forEach(function(e,r,i){sh(t,i,r)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(ZK)}}const EK=n=>new Pn,us=(n,t)=>n===t||typeof n=="object"&&typeof t=="object"&&n&&t&&lU(n,t);class RA{constructor(t,e,r,i){this.left=t,this.right=e,this.index=r,this.currentAttributes=i}forward(){switch(this.right===null&&yi(),this.right.content.constructor){case xn:this.right.deleted||ac(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length);break}this.left=this.right,this.right=this.right.right}}const Vx=(n,t,e)=>{for(;t.right!==null&&e>0;){switch(t.right.content.constructor){case xn:t.right.deleted||ac(t.currentAttributes,t.right.content);break;default:t.right.deleted||(e<t.right.length&&gr(n,st(t.right.id.client,t.right.id.clock+e)),t.index+=t.right.length,e-=t.right.length);break}t.left=t.right,t.right=t.right.right}return t},rf=(n,t,e,r)=>{const i=new Map,o=r?eg(t,e):null;if(o){const s=new RA(o.p.left,o.p,o.index,i);return Vx(n,s,e-o.index)}else{const s=new RA(null,t._start,0,i);return Vx(n,s,e)}},I_=(n,t,e,r)=>{for(;e.right!==null&&(e.right.deleted===!0||e.right.content.constructor===xn&&us(r.get(e.right.content.key),e.right.content.value));)e.right.deleted||r.delete(e.right.content.key),e.forward();const i=n.doc,o=i.clientID;r.forEach((s,l)=>{const c=e.left,u=e.right,d=new Ft(st(o,an(i.store,o)),c,c&&c.lastId,u,u&&u.id,t,null,new xn(l,s));d.integrate(n,0),e.right=d,e.forward()})},ac=(n,t)=>{const{key:e,value:r}=t;r===null?n.delete(e):n.set(e,r)},M_=(n,t)=>{for(;n.right!==null;){if(!(n.right.deleted||n.right.content.constructor===xn&&us(t[n.right.content.key]??null,n.right.content.value)))break;n.forward()}},D_=(n,t,e,r)=>{const i=n.doc,o=i.clientID,s=new Map;for(const l in r){const c=r[l],u=e.currentAttributes.get(l)??null;if(!us(u,c)){s.set(l,u);const{left:d,right:h}=e;e.right=new Ft(st(o,an(i.store,o)),d,d&&d.lastId,h,h&&h.id,t,null,new xn(l,c)),e.right.integrate(n,0),e.forward()}}return s},hm=(n,t,e,r,i)=>{e.currentAttributes.forEach((g,p)=>{i[p]===void 0&&(i[p]=null)});const o=n.doc,s=o.clientID;M_(e,i);const l=D_(n,t,e,i),c=r.constructor===String?new Qi(r):r instanceof On?new qi(r):new Zl(r);let{left:u,right:d,index:h}=e;t._searchMarker&&Cu(t._searchMarker,e.index,c.getLength()),d=new Ft(st(s,an(o.store,s)),u,u&&u.lastId,d,d&&d.id,t,null,c),d.integrate(n,0),e.right=d,e.index=h,e.forward(),I_(n,t,e,l)},Xx=(n,t,e,r,i)=>{const o=n.doc,s=o.clientID;M_(e,i);const l=D_(n,t,e,i);e:for(;e.right!==null&&(r>0||l.size>0&&(e.right.deleted||e.right.content.constructor===xn));){if(!e.right.deleted)switch(e.right.content.constructor){case xn:{const{key:c,value:u}=e.right.content,d=i[c];if(d!==void 0){if(us(d,u))l.delete(c);else{if(r===0)break e;l.set(c,u)}e.right.delete(n)}else e.currentAttributes.set(c,u);break}default:r<e.right.length&&gr(n,st(e.right.id.client,e.right.id.clock+r)),r-=e.right.length;break}e.forward()}if(r>0){let c="";for(;r>0;r--)c+=`
14
- `;e.right=new Ft(st(s,an(o.store,s)),e.left,e.left&&e.left.lastId,e.right,e.right&&e.right.id,t,null,new Qi(c)),e.right.integrate(n,0),e.forward()}I_(n,t,e,l)},L_=(n,t,e,r,i)=>{let o=t;const s=Ar();for(;o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===xn){const u=o.content;s.set(u.key,u)}o=o.right}let l=0,c=!1;for(;t!==o;){if(e===t&&(c=!0),!t.deleted){const u=t.content;switch(u.constructor){case xn:{const{key:d,value:h}=u,g=r.get(d)??null;(s.get(d)!==u||g===h)&&(t.delete(n),l++,!c&&(i.get(d)??null)===h&&g!==h&&(g===null?i.delete(d):i.set(d,g))),!c&&!t.deleted&&ac(i,u);break}}}t=t.right}return l},kK=(n,t)=>{for(;t&&t.right&&(t.right.deleted||!t.right.countable);)t=t.right;const e=new Set;for(;t&&(t.deleted||!t.countable);){if(!t.deleted&&t.content.constructor===xn){const r=t.content.key;e.has(r)?t.delete(n):e.add(r)}t=t.left}},TK=n=>{let t=0;return Bt(n.doc,e=>{let r=n._start,i=n._start,o=Ar();const s=SA(o);for(;i;){if(i.deleted===!1)switch(i.content.constructor){case xn:ac(s,i.content);break;default:t+=L_(e,r,i,o,s),o=SA(s),r=i;break}i=i.right}}),t},_K=n=>{const t=new Set,e=n.doc;for(const[r,i]of n.afterState.entries()){const o=n.beforeState.get(r)||0;i!==o&&g_(n,e.store.clients.get(r),o,i,s=>{!s.deleted&&s.content.constructor===xn&&s.constructor!==Hr&&t.add(s.parent)})}Bt(e,r=>{Za(n,n.deleteSet,i=>{if(i instanceof Hr||!i.parent._hasFormatting||t.has(i.parent))return;const o=i.parent;i.content.constructor===xn?t.add(o):kK(r,i)});for(const i of t)TK(i)})},qx=(n,t,e)=>{const r=e,i=SA(t.currentAttributes),o=t.right;for(;e>0&&t.right!==null;){if(t.right.deleted===!1)switch(t.right.content.constructor){case qi:case Zl:case Qi:e<t.right.length&&gr(n,st(t.right.id.client,t.right.id.clock+e)),e-=t.right.length,t.right.delete(n);break}t.forward()}o&&L_(n,o,t.right,i,t.currentAttributes);const s=(t.left||t.right).parent;return s._searchMarker&&Cu(s._searchMarker,t.index,-r+e),t};class O_ extends $h{constructor(t,e,r){super(t,e),this.childListChanged=!1,this.keysChanged=new Set,r.forEach(i=>{i===null?this.childListChanged=!0:this.keysChanged.add(i)})}get changes(){if(this._changes===null){const t={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=t}return this._changes}get delta(){if(this._delta===null){const t=this.target.doc,e=[];Bt(t,r=>{const i=new Map,o=new Map;let s=this.target._start,l=null;const c={};let u="",d=0,h=0;const g=()=>{if(l!==null){let p=null;switch(l){case"delete":h>0&&(p={delete:h}),h=0;break;case"insert":(typeof u=="object"||u.length>0)&&(p={insert:u},i.size>0&&(p.attributes={},i.forEach((m,y)=>{m!==null&&(p.attributes[y]=m)}))),u="";break;case"retain":d>0&&(p={retain:d},oU(c)||(p.attributes=nU({},c))),d=0;break}p&&e.push(p),l=null}};for(;s!==null;){switch(s.content.constructor){case qi:case Zl:this.adds(s)?this.deletes(s)||(g(),l="insert",u=s.content.getContent()[0],g()):this.deletes(s)?(l!=="delete"&&(g(),l="delete"),h+=1):s.deleted||(l!=="retain"&&(g(),l="retain"),d+=1);break;case Qi:this.adds(s)?this.deletes(s)||(l!=="insert"&&(g(),l="insert"),u+=s.content.str):this.deletes(s)?(l!=="delete"&&(g(),l="delete"),h+=s.length):s.deleted||(l!=="retain"&&(g(),l="retain"),d+=s.length);break;case xn:{const{key:p,value:m}=s.content;if(this.adds(s)){if(!this.deletes(s)){const y=i.get(p)??null;us(y,m)?m!==null&&s.delete(r):(l==="retain"&&g(),us(m,o.get(p)??null)?delete c[p]:c[p]=m)}}else if(this.deletes(s)){o.set(p,m);const y=i.get(p)??null;us(y,m)||(l==="retain"&&g(),c[p]=y)}else if(!s.deleted){o.set(p,m);const y=c[p];y!==void 0&&(us(y,m)?y!==null&&s.delete(r):(l==="retain"&&g(),m===null?delete c[p]:c[p]=m))}s.deleted||(l==="insert"&&g(),ac(i,s.content));break}}s=s.right}for(g();e.length>0;){const p=e[e.length-1];if(p.retain!==void 0&&p.attributes===void 0)e.pop();else break}}),this._delta=e}return this._delta}}class Ja extends On{constructor(t){super(),this._pending=t!==void 0?[()=>this.insert(0,t)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??Xn(),this._length}_integrate(t,e){super._integrate(t,e);try{this._pending.forEach(r=>r())}catch(r){console.error(r)}this._pending=null}_copy(){return new Ja}clone(){const t=new Ja;return t.applyDelta(this.toDelta()),t}_callObserver(t,e){super._callObserver(t,e);const r=new O_(this,t,e);tg(this,t,r),!t.local&&this._hasFormatting&&(t._needFormattingCleanup=!0)}toString(){this.doc??Xn();let t="",e=this._start;for(;e!==null;)!e.deleted&&e.countable&&e.content.constructor===Qi&&(t+=e.content.str),e=e.right;return t}toJSON(){return this.toString()}applyDelta(t,{sanitize:e=!0}={}){this.doc!==null?Bt(this.doc,r=>{const i=new RA(null,this._start,0,new Map);for(let o=0;o<t.length;o++){const s=t[o];if(s.insert!==void 0){const l=!e&&typeof s.insert=="string"&&o===t.length-1&&i.right===null&&s.insert.slice(-1)===`
15
- `?s.insert.slice(0,-1):s.insert;(typeof l!="string"||l.length>0)&&hm(r,this,i,l,s.attributes||{})}else s.retain!==void 0?Xx(r,this,i,s.retain,s.attributes||{}):s.delete!==void 0&&qx(r,i,s.delete)}}):this._pending.push(()=>this.applyDelta(t))}toDelta(t,e,r){this.doc??Xn();const i=[],o=new Map,s=this.doc;let l="",c=this._start;function u(){if(l.length>0){const h={};let g=!1;o.forEach((m,y)=>{g=!0,h[y]=m});const p={insert:l};g&&(p.attributes=h),i.push(p),l=""}}const d=()=>{for(;c!==null;){if(xa(c,t)||e!==void 0&&xa(c,e))switch(c.content.constructor){case Qi:{const h=o.get("ychange");t!==void 0&&!xa(c,t)?(h===void 0||h.user!==c.id.client||h.type!=="removed")&&(u(),o.set("ychange",r?r("removed",c.id):{type:"removed"})):e!==void 0&&!xa(c,e)?(h===void 0||h.user!==c.id.client||h.type!=="added")&&(u(),o.set("ychange",r?r("added",c.id):{type:"added"})):h!==void 0&&(u(),o.delete("ychange")),l+=c.content.str;break}case qi:case Zl:{u();const h={insert:c.content.getContent()[0]};if(o.size>0){const g={};h.attributes=g,o.forEach((p,m)=>{g[m]=p})}i.push(h);break}case xn:xa(c,t)&&(u(),ac(o,c.content));break}c=c.right}u()};return t||e?Bt(s,h=>{t&&DA(h,t),e&&DA(h,e),d()},"cleanup"):d(),i}insert(t,e,r){if(e.length<=0)return;const i=this.doc;i!==null?Bt(i,o=>{const s=rf(o,this,t,!r);r||(r={},s.currentAttributes.forEach((l,c)=>{r[c]=l})),hm(o,this,s,e,r)}):this._pending.push(()=>this.insert(t,e,r))}insertEmbed(t,e,r){const i=this.doc;i!==null?Bt(i,o=>{const s=rf(o,this,t,!r);hm(o,this,s,e,r||{})}):this._pending.push(()=>this.insertEmbed(t,e,r||{}))}delete(t,e){if(e===0)return;const r=this.doc;r!==null?Bt(r,i=>{qx(i,rf(i,this,t,!0),e)}):this._pending.push(()=>this.delete(t,e))}format(t,e,r){if(e===0)return;const i=this.doc;i!==null?Bt(i,o=>{const s=rf(o,this,t,!1);s.right!==null&&Xx(o,this,s,e,r)}):this._pending.push(()=>this.format(t,e,r))}removeAttribute(t){this.doc!==null?Bt(this.doc,e=>{sh(e,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,e){this.doc!==null?Bt(this.doc,r=>{Lb(r,this,t,e)}):this._pending.push(()=>this.setAttribute(t,e))}getAttribute(t){return Ob(this,t)}getAttributes(){return T_(this)}_write(t){t.writeTypeRef(GK)}}const NK=n=>new Ja;class gm{constructor(t,e=()=>!0){this._filter=e,this._root=t,this._currentNode=t._start,this._firstCall=!0,t.doc??Xn()}[Symbol.iterator](){return this}next(){let t=this._currentNode,e=t&&t.content&&t.content.type;if(t!==null&&(!this._firstCall||t.deleted||!this._filter(e)))do if(e=t.content.type,!t.deleted&&(e.constructor===ii||e.constructor===Sl)&&e._start!==null)t=e._start;else for(;t!==null;){const r=t.next;if(r!==null){t=r;break}else t.parent===this._root?t=null:t=t.parent._item}while(t!==null&&(t.deleted||!this._filter(t.content.type)));return this._firstCall=!1,t===null?{value:void 0,done:!0}:(this._currentNode=t,{value:t.content.type,done:!1})}}class Sl extends On{constructor(){super(),this._prelimContent=[]}get firstChild(){const t=this._first;return t?t.content.getContent()[0]:null}_integrate(t,e){super._integrate(t,e),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Sl}clone(){const t=new Sl;return t.insert(0,this.toArray().map(e=>e instanceof On?e.clone():e)),t}get length(){return this.doc??Xn(),this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(t){return new gm(this,t)}querySelector(t){t=t.toUpperCase();const r=new gm(this,i=>i.nodeName&&i.nodeName.toUpperCase()===t).next();return r.done?null:r.value}querySelectorAll(t){return t=t.toUpperCase(),Lo(new gm(this,e=>e.nodeName&&e.nodeName.toUpperCase()===t))}_callObserver(t,e){tg(this,t,new R_(this,e,t))}toString(){return v_(this,t=>t.toString()).join("")}toJSON(){return this.toString()}toDOM(t=document,e={},r){const i=t.createDocumentFragment();return r!==void 0&&r._createAssociation(i,this),vu(this,o=>{i.insertBefore(o.toDOM(t,e,r),null)}),i}insert(t,e){this.doc!==null?Bt(this.doc,r=>{E_(r,this,t,e)}):this._prelimContent.splice(t,0,...e)}insertAfter(t,e){if(this.doc!==null)Bt(this.doc,r=>{const i=t&&t instanceof On?t._item:t;oh(r,this,i,e)});else{const r=this._prelimContent,i=t===null?0:r.findIndex(o=>o===t)+1;if(i===0&&t!==null)throw Ss("Reference item not found");r.splice(i,0,...e)}}delete(t,e=1){this.doc!==null?Bt(this.doc,r=>{k_(r,this,t,e)}):this._prelimContent.splice(t,e)}toArray(){return C_(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return x_(this,t)}slice(t=0,e=this.length){return w_(this,t,e)}forEach(t){vu(this,t)}_write(t){t.writeTypeRef(QK)}}const IK=n=>new Sl;class ii extends Sl{constructor(t="UNDEFINED"){super(),this.nodeName=t,this._prelimAttrs=new Map}get nextSibling(){const t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){const t=this._item?this._item.prev:null;return t?t.content.type:null}_integrate(t,e){super._integrate(t,e),this._prelimAttrs.forEach((r,i)=>{this.setAttribute(i,r)}),this._prelimAttrs=null}_copy(){return new ii(this.nodeName)}clone(){const t=new ii(this.nodeName),e=this.getAttributes();return rU(e,(r,i)=>{typeof r=="string"&&t.setAttribute(i,r)}),t.insert(0,this.toArray().map(r=>r instanceof On?r.clone():r)),t}toString(){const t=this.getAttributes(),e=[],r=[];for(const l in t)r.push(l);r.sort();const i=r.length;for(let l=0;l<i;l++){const c=r[l];e.push(c+'="'+t[c]+'"')}const o=this.nodeName.toLocaleLowerCase(),s=e.length>0?" "+e.join(" "):"";return`<${o}${s}>${super.toString()}</${o}>`}removeAttribute(t){this.doc!==null?Bt(this.doc,e=>{sh(e,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,e){this.doc!==null?Bt(this.doc,r=>{Lb(r,this,t,e)}):this._prelimAttrs.set(t,e)}getAttribute(t){return Ob(this,t)}hasAttribute(t){return __(this,t)}getAttributes(t){return t?xK(this,t):T_(this)}toDOM(t=document,e={},r){const i=t.createElement(this.nodeName),o=this.getAttributes();for(const s in o){const l=o[s];typeof l=="string"&&i.setAttribute(s,l)}return vu(this,s=>{i.appendChild(s.toDOM(t,e,r))}),r!==void 0&&r._createAssociation(i,this),i}_write(t){t.writeTypeRef(JK),t.writeKey(this.nodeName)}}const MK=n=>new ii(n.readKey());class R_ extends $h{constructor(t,e,r){super(t,r),this.childListChanged=!1,this.attributesChanged=new Set,e.forEach(i=>{i===null?this.childListChanged=!0:this.attributesChanged.add(i)})}}class lh extends Pn{constructor(t){super(),this.hookName=t}_copy(){return new lh(this.hookName)}clone(){const t=new lh(this.hookName);return this.forEach((e,r)=>{t.set(r,e)}),t}toDOM(t=document,e={},r){const i=e[this.hookName];let o;return i!==void 0?o=i.createDom(this):o=document.createElement(this.hookName),o.setAttribute("data-yjs-hook",this.hookName),r!==void 0&&r._createAssociation(o,this),o}_write(t){t.writeTypeRef(VK),t.writeKey(this.hookName)}}const DK=n=>new lh(n.readKey());class Ji extends Ja{get nextSibling(){const t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){const t=this._item?this._item.prev:null;return t?t.content.type:null}_copy(){return new Ji}clone(){const t=new Ji;return t.applyDelta(this.toDelta()),t}toDOM(t=document,e,r){const i=t.createTextNode(this.toString());return r!==void 0&&r._createAssociation(i,this),i}toString(){return this.toDelta().map(t=>{const e=[];for(const i in t.attributes){const o=[];for(const s in t.attributes[i])o.push({key:s,value:t.attributes[i][s]});o.sort((s,l)=>s.key<l.key?-1:1),e.push({nodeName:i,attrs:o})}e.sort((i,o)=>i.nodeName<o.nodeName?-1:1);let r="";for(let i=0;i<e.length;i++){const o=e[i];r+=`<${o.nodeName}`;for(let s=0;s<o.attrs.length;s++){const l=o.attrs[s];r+=` ${l.key}="${l.value}"`}r+=">"}r+=t.insert;for(let i=e.length-1;i>=0;i--)r+=`</${e[i].nodeName}>`;return r}).join("")}toJSON(){return this.toString()}_write(t){t.writeTypeRef(XK)}}const LK=n=>new Ji;class Rb{constructor(t,e){this.id=t,this.length=e}get deleted(){throw zi()}mergeWith(t){return!1}write(t,e,r){throw zi()}integrate(t,e){throw zi()}}const OK=0;class Hr extends Rb{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor!==t.constructor?!1:(this.length+=t.length,!0)}integrate(t,e){e>0&&(this.id.clock+=e,this.length-=e),h_(t.doc.store,this)}write(t,e){t.writeInfo(OK),t.writeLen(this.length-e)}getMissing(t,e){return null}}class Ju{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new Ju(this.content)}splice(t){throw zi()}mergeWith(t){return!1}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeBuf(this.content)}getRef(){return 3}}const RK=n=>new Ju(n.readBuf());class xu{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new xu(this.len)}splice(t){const e=new xu(this.len-t);return this.len=t,e}mergeWith(t){return this.len+=t.len,!0}integrate(t,e){wu(t.deleteSet,e.id.client,e.id.clock,this.len),e.markDeleted()}delete(t){}gc(t){}write(t,e){t.writeLen(this.len-e)}getRef(){return 1}}const PK=n=>new xu(n.readLen()),P_=(n,t)=>new Zi({guid:n,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class Qu{constructor(t){t._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=t;const e={};this.opts=e,t.gc||(e.gc=!1),t.autoLoad&&(e.autoLoad=!0),t.meta!==null&&(e.meta=t.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new Qu(P_(this.doc.guid,this.opts))}splice(t){throw zi()}mergeWith(t){return!1}integrate(t,e){this.doc._item=e,t.subdocsAdded.add(this.doc),this.doc.shouldLoad&&t.subdocsLoaded.add(this.doc)}delete(t){t.subdocsAdded.has(this.doc)?t.subdocsAdded.delete(this.doc):t.subdocsRemoved.add(this.doc)}gc(t){}write(t,e){t.writeString(this.doc.guid),t.writeAny(this.opts)}getRef(){return 9}}const BK=n=>new Qu(P_(n.readString(),n.readAny()));class Zl{constructor(t){this.embed=t}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new Zl(this.embed)}splice(t){throw zi()}mergeWith(t){return!1}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeJSON(this.embed)}getRef(){return 5}}const FK=n=>new Zl(n.readJSON());class xn{constructor(t,e){this.key=t,this.value=e}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new xn(this.key,this.value)}splice(t){throw zi()}mergeWith(t){return!1}integrate(t,e){const r=e.parent;r._searchMarker=null,r._hasFormatting=!0}delete(t){}gc(t){}write(t,e){t.writeKey(this.key),t.writeJSON(this.value)}getRef(){return 6}}const jK=n=>new xn(n.readKey(),n.readJSON());class ah{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new ah(this.arr)}splice(t){const e=new ah(this.arr.slice(t));return this.arr=this.arr.slice(0,t),e}mergeWith(t){return this.arr=this.arr.concat(t.arr),!0}integrate(t,e){}delete(t){}gc(t){}write(t,e){const r=this.arr.length;t.writeLen(r-e);for(let i=e;i<r;i++){const o=this.arr[i];t.writeString(o===void 0?"undefined":JSON.stringify(o))}}getRef(){return 2}}const zK=n=>{const t=n.readLen(),e=[];for(let r=0;r<t;r++){const i=n.readString();i==="undefined"?e.push(void 0):e.push(JSON.parse(i))}return new ah(e)},UK=nh("node_env")==="development";class El{constructor(t){this.arr=t,UK&&Y1(t)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new El(this.arr)}splice(t){const e=new El(this.arr.slice(t));return this.arr=this.arr.slice(0,t),e}mergeWith(t){return this.arr=this.arr.concat(t.arr),!0}integrate(t,e){}delete(t){}gc(t){}write(t,e){const r=this.arr.length;t.writeLen(r-e);for(let i=e;i<r;i++){const o=this.arr[i];t.writeAny(o)}}getRef(){return 8}}const KK=n=>{const t=n.readLen(),e=[];for(let r=0;r<t;r++)e.push(n.readAny());return new El(e)};class Qi{constructor(t){this.str=t}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new Qi(this.str)}splice(t){const e=new Qi(this.str.slice(t));this.str=this.str.slice(0,t);const r=this.str.charCodeAt(t-1);return r>=55296&&r<=56319&&(this.str=this.str.slice(0,t-1)+"�",e.str="�"+e.str.slice(1)),e}mergeWith(t){return this.str+=t.str,!0}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeString(e===0?this.str:this.str.slice(e))}getRef(){return 4}}const WK=n=>new Qi(n.readString()),HK=[SK,EK,NK,MK,IK,DK,LK],YK=0,ZK=1,GK=2,JK=3,QK=4,VK=5,XK=6;class qi{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new qi(this.type._copy())}splice(t){throw zi()}mergeWith(t){return!1}integrate(t,e){this.type._integrate(t.doc,e)}delete(t){let e=this.type._start;for(;e!==null;)e.deleted?e.id.clock<(t.beforeState.get(e.id.client)||0)&&t._mergeStructs.push(e):e.delete(t),e=e.right;this.type._map.forEach(r=>{r.deleted?r.id.clock<(t.beforeState.get(r.id.client)||0)&&t._mergeStructs.push(r):r.delete(t)}),t.changed.delete(this.type)}gc(t){let e=this.type._start;for(;e!==null;)e.gc(t,!0),e=e.right;this.type._start=null,this.type._map.forEach(r=>{for(;r!==null;)r.gc(t,!0),r=r.left}),this.type._map=new Map}write(t,e){this.type._write(t)}getRef(){return 7}}const qK=n=>new qi(HK[n.readTypeRef()](n)),PA=(n,t)=>{let e=t,r=0,i;do r>0&&(e=st(e.client,e.clock+r)),i=Pa(n,e),r=e.clock-i.id.clock,e=i.redone;while(e!==null&&i instanceof Ft);return{item:i,diff:r}},Pb=(n,t)=>{for(;n!==null&&n.keep!==t;)n.keep=t,n=n.parent._item},ch=(n,t,e)=>{const{client:r,clock:i}=t.id,o=new Ft(st(r,i+e),t,st(r,i+e-1),t.right,t.rightOrigin,t.parent,t.parentSub,t.content.splice(e));return t.deleted&&o.markDeleted(),t.keep&&(o.keep=!0),t.redone!==null&&(o.redone=st(t.redone.client,t.redone.clock+e)),t.right=o,o.right!==null&&(o.right.left=o),n._mergeStructs.push(o),o.parentSub!==null&&o.right===null&&o.parent._map.set(o.parentSub,o),t.length=e,o},$x=(n,t)=>wz(n,e=>Zu(e.deletions,t)),B_=(n,t,e,r,i,o)=>{const s=n.doc,l=s.store,c=s.clientID,u=t.redone;if(u!==null)return gr(n,u);let d=t.parent._item,h=null,g;if(d!==null&&d.deleted===!0){if(d.redone===null&&(!e.has(d)||B_(n,d,e,r,i,o)===null))return null;for(;d.redone!==null;)d=gr(n,d.redone)}const p=d===null?t.parent:d.content.type;if(t.parentSub===null){for(h=t.left,g=t;h!==null;){let v=h;for(;v!==null&&v.parent._item!==d;)v=v.redone===null?null:gr(n,v.redone);if(v!==null&&v.parent._item===d){h=v;break}h=h.left}for(;g!==null;){let v=g;for(;v!==null&&v.parent._item!==d;)v=v.redone===null?null:gr(n,v.redone);if(v!==null&&v.parent._item===d){g=v;break}g=g.right}}else if(g=null,t.right&&!i){for(h=t;h!==null&&h.right!==null&&(h.right.redone||Zu(r,h.right.id)||$x(o.undoStack,h.right.id)||$x(o.redoStack,h.right.id));)for(h=h.right;h.redone;)h=gr(n,h.redone);if(h&&h.right!==null)return null}else h=p._map.get(t.parentSub)||null;const m=an(l,c),y=st(c,m),w=new Ft(y,h,h&&h.lastId,g,g&&g.id,p,t.parentSub,t.content.copy());return t.redone=y,Pb(w,!0),w.integrate(n,0),w};class Ft extends Rb{constructor(t,e,r,i,o,s,l,c){super(t,c.getLength()),this.origin=r,this.left=e,this.right=i,this.rightOrigin=o,this.parent=s,this.parentSub=l,this.redone=null,this.content=c,this.info=this.content.isCountable()?_x:0}set marker(t){(this.info&cm)>0!==t&&(this.info^=cm)}get marker(){return(this.info&cm)>0}get keep(){return(this.info&Tx)>0}set keep(t){this.keep!==t&&(this.info^=Tx)}get countable(){return(this.info&_x)>0}get deleted(){return(this.info&am)>0}set deleted(t){this.deleted!==t&&(this.info^=am)}markDeleted(){this.info|=am}getMissing(t,e){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=an(e,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=an(e,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===Ra&&this.id.client!==this.parent.client&&this.parent.clock>=an(e,this.parent.client))return this.parent.client;if(this.origin&&(this.left=Hx(t,e,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=gr(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Hr||this.right&&this.right.constructor===Hr)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===Ft?(this.parent=this.left.parent,this.parentSub=this.left.parentSub):this.right&&this.right.constructor===Ft&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===Ra){const r=Pa(e,this.parent);r.constructor===Hr?this.parent=null:this.parent=r.content.type}return null}integrate(t,e){if(e>0&&(this.id.clock+=e,this.left=Hx(t,t.doc.store,st(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(e),this.length-=e),this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let r=this.left,i;if(r!==null)i=r.right;else if(this.parentSub!==null)for(i=this.parent._map.get(this.parentSub)||null;i!==null&&i.left!==null;)i=i.left;else i=this.parent._start;const o=new Set,s=new Set;for(;i!==null&&i!==this.right;){if(s.add(i),o.add(i),Na(this.origin,i.origin)){if(i.id.client<this.id.client)r=i,o.clear();else if(Na(this.rightOrigin,i.rightOrigin))break}else if(i.origin!==null&&s.has(Pa(t.doc.store,i.origin)))o.has(Pa(t.doc.store,i.origin))||(r=i,o.clear());else break;i=i.right}this.left=r}if(this.left!==null){const r=this.left.right;this.right=r,this.left.right=this}else{let r;if(this.parentSub!==null)for(r=this.parent._map.get(this.parentSub)||null;r!==null&&r.left!==null;)r=r.left;else r=this.parent._start,this.parent._start=this;this.right=r}this.right!==null?this.right.left=this:this.parentSub!==null&&(this.parent._map.set(this.parentSub,this),this.left!==null&&this.left.delete(t)),this.parentSub===null&&this.countable&&!this.deleted&&(this.parent._length+=this.length),h_(t.doc.store,this),this.content.integrate(t,this),Zx(t,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(t)}else new Hr(this.id,this.length).integrate(t,0)}get next(){let t=this.right;for(;t!==null&&t.deleted;)t=t.right;return t}get prev(){let t=this.left;for(;t!==null&&t.deleted;)t=t.left;return t}get lastId(){return this.length===1?this.id:st(this.id.client,this.id.clock+this.length-1)}mergeWith(t){if(this.constructor===t.constructor&&Na(t.origin,this.lastId)&&this.right===t&&Na(this.rightOrigin,t.rightOrigin)&&this.id.client===t.id.client&&this.id.clock+this.length===t.id.clock&&this.deleted===t.deleted&&this.redone===null&&t.redone===null&&this.content.constructor===t.content.constructor&&this.content.mergeWith(t.content)){const e=this.parent._searchMarker;return e&&e.forEach(r=>{r.p===t&&(r.p=this,!this.deleted&&this.countable&&(r.index-=this.length))}),t.keep&&(this.keep=!0),this.right=t.right,this.right!==null&&(this.right.left=this),this.length+=t.length,!0}return!1}delete(t){if(!this.deleted){const e=this.parent;this.countable&&this.parentSub===null&&(e._length-=this.length),this.markDeleted(),wu(t.deleteSet,this.id.client,this.id.clock,this.length),Zx(t,e,this.parentSub),this.content.delete(t)}}gc(t,e){if(!this.deleted)throw yi();this.content.gc(t),e?sK(t,this,new Hr(this.id,this.length)):this.content=new xu(this.length)}write(t,e){const r=e>0?st(this.id.client,this.id.clock+e-1):this.origin,i=this.rightOrigin,o=this.parentSub,s=this.content.getRef()&Qh|(r===null?0:Nr)|(i===null?0:ko)|(o===null?0:mu);if(t.writeInfo(s),r!==null&&t.writeLeftID(r),i!==null&&t.writeRightID(i),r===null&&i===null){const l=this.parent;if(l._item!==void 0){const c=l._item;if(c===null){const u=d_(l);t.writeParentInfo(!0),t.writeString(u)}else t.writeParentInfo(!1),t.writeLeftID(c.id)}else l.constructor===String?(t.writeParentInfo(!0),t.writeString(l)):l.constructor===Ra?(t.writeParentInfo(!1),t.writeLeftID(l)):yi();o!==null&&t.writeString(o)}this.content.write(t,e)}}const F_=(n,t)=>$K[t&Qh](n),$K=[()=>{yi()},PK,zK,RK,WK,FK,jK,qK,KK,BK,()=>{yi()}],e4=10;class Yr extends Rb{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor!==t.constructor?!1:(this.length+=t.length,!0)}integrate(t,e){yi()}write(t,e){t.writeInfo(e4),Ue(t.restEncoder,this.length-e)}getMissing(t,e){return null}}const j_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},z_="__ $YJS$ __";j_[z_]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");j_[z_]=!0;function t4(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function pm(n,t){const e=[];let r=n.__first;for(;r!==null;){const i=t===null?ve(r):t.get(r);i==null&&t4(174),e.push(r),r=i.__next}return e}function ln(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function n4(n,t,e){const r=n.length,i=t.length;let o=0,s=0;for(;o<r&&o<i&&n[o]===t[o]&&o<e;)o++;for(;s+o<r&&s+o<i&&n[r-s-1]===t[i-s-1];)s++;for(;s+o<r&&s+o<i&&n[o]===t[o];)o++;return{index:o,insert:t.slice(o,i-s),remove:r-o-s}}let ss=class{constructor(t,e,r){F(this,"_xmlElem");F(this,"_key");F(this,"_parent");F(this,"_type");this._key="",this._xmlElem=t,this._parent=e,this._type=r}getPrevNode(t){if(t===null)return null;const e=t.get(this._key);return ot(e)?e:null}getNode(){const t=ve(this._key);return ot(t)?t:null}getSharedType(){return this._xmlElem}getType(){return this._type}getKey(){return this._key}getSize(){return 1}getOffset(){return this._parent.getChildOffset(this)}syncPropertiesFromLexical(t,e,r){const i=this.getPrevNode(r);zb(t,this._xmlElem,i,e)}syncPropertiesFromYjs(t,e){const r=this.getNode();r===null&&ln(83),jb(t,this._xmlElem,r,e)}destroy(t){const e=t.collabNodeMap;e.get(this._key)===this&&e.delete(this._key)}};function U_(n,t,e){const r=new ss(n,t,e);return n._collabNode=r,r}let Uc=class{constructor(t,e){F(this,"_map");F(this,"_key");F(this,"_parent");F(this,"_type");this._key="",this._map=t,this._parent=e,this._type="linebreak"}getNode(){const t=ve(this._key);return Dt(t)?t:null}getKey(){return this._key}getSharedType(){return this._map}getType(){return this._type}getSize(){return 1}getOffset(){return this._parent.getChildOffset(this)}destroy(t){const e=t.collabNodeMap;e.get(this._key)===this&&e.delete(this._key)}};function K_(n,t){const e=new Uc(n,t);return n._collabNode=e,e}class rr{constructor(t,e,r,i){F(this,"_map");F(this,"_key");F(this,"_parent");F(this,"_text");F(this,"_type");F(this,"_normalized");this._key="",this._map=t,this._parent=r,this._text=e,this._type=i,this._normalized=!1}getPrevNode(t){if(t===null)return null;const e=t.get(this._key);return ae(e)?e:null}getNode(){const t=ve(this._key);return ae(t)?t:null}getSharedType(){return this._map}getType(){return this._type}getKey(){return this._key}getSize(){return this._text.length+(this._normalized?0:1)}getOffset(){return this._parent.getChildOffset(this)}spliceText(t,e,r){const i=this._parent._xmlText,o=this.getOffset()+1+t;e!==0&&i.delete(o,e),r!==""&&i.insert(o,r)}syncPropertiesAndTextFromLexical(t,e,r){const i=this.getPrevNode(r),o=e.__text;if(zb(t,this._map,i,e),i!==null){const s=i.__text;s!==o&&((function(l,c,u,d){const h=J();let g=d.length;if(Y(h)&&h.isCollapsed()){const m=h.anchor;m.key===c&&(g=m.offset)}const p=n4(u,d,g);l.spliceText(p.index,p.remove,p.insert)})(this,e.__key,s,o),this._text=o)}}syncPropertiesAndTextFromYjs(t,e){const r=this.getNode();r===null&&ln(84),jb(t,this._map,r,e);const i=this._text;r.__text!==i&&r.setTextContent(i)}destroy(t){const e=t.collabNodeMap;e.get(this._key)===this&&e.delete(this._key)}}function W_(n,t,e,r){const i=new rr(n,t,e,r);return n._collabNode=i,i}class Zr{constructor(t,e,r){F(this,"_key");F(this,"_children");F(this,"_xmlText");F(this,"_type");F(this,"_parent");this._key="",this._children=[],this._xmlText=t,this._type=r,this._parent=e}getPrevNode(t){if(t===null)return null;const e=t.get(this._key);return G(e)?e:null}getNode(){const t=ve(this._key);return G(t)?t:null}getSharedType(){return this._xmlText}getType(){return this._type}getKey(){return this._key}isEmpty(){return this._children.length===0}getSize(){return 1}getOffset(){const t=this._parent;return t===null&&ln(90),t.getChildOffset(this)}syncPropertiesFromYjs(t,e){const r=this.getNode();r===null&&ln(91),jb(t,this._xmlText,r,e)}applyChildrenYjsDelta(t,e){const r=this._children;let i=0,o=null;for(let s=0;s<e.length;s++){const l=e[s],c=l.insert,u=l.delete;if(l.retain!=null)i+=l.retain;else if(typeof u=="number"){let d=u;for(;d>0;){const{node:h,nodeIndex:g,offset:p,length:m}=Rf(this,i,!1);if(h instanceof Zr||h instanceof Uc||h instanceof ss)r.splice(g,1),d-=1;else{if(!(h instanceof rr))break;{const y=Math.min(d,m),w=g!==0?r[g-1]:null,v=h.getSize();if(p===0&&m===v){r.splice(g,1);const C=Rc(h._text,p,y-1,"");C.length>0&&(w instanceof rr?w._text+=C:this._xmlText.delete(p,C.length))}else h._text=Rc(h._text,p,y,"");d-=y}}}}else{if(c==null)throw new Error("Unexpected delta format");if(typeof c=="string"){const{node:d,offset:h}=Rf(this,i,!0);d instanceof rr?d._text=Rc(d._text,h,0,c):this._xmlText.delete(h,c.length),i+=c.length}else{const d=c,{node:h,nodeIndex:g,length:p}=Rf(this,i,!1),m=uh(t,d,this);if(h instanceof rr&&p>0&&p<h._text.length){const y=h._text,w=y.length-p;h._text=Rc(y,w,p,""),r.splice(g+1,0,m),o=Rc(y,0,w,"")}else r.splice(g,0,m);o!==null&&m instanceof rr&&(m._text=o+m._text,o=null),i+=1}}}}syncChildrenFromYjs(t){const e=this.getNode();e===null&&ln(92);const r=e.__key,i=pm(e,null),o=i.length,s=this._children,l=s.length,c=t.collabNodeMap,u=new Set;let d,h,g=0,p=null;l!==o&&(h=e.getWritable());for(let m=0;m<l;m++){const y=i[g],w=s[m],v=w.getNode(),C=w._key;if(v!==null&&y===C){const x=ae(v);if(u.add(y),x)if(w._key=y,w instanceof Zr){const _=w._xmlText;w.syncPropertiesFromYjs(t,null),w.applyChildrenYjsDelta(t,_.toDelta()),w.syncChildrenFromYjs(t)}else w instanceof rr?w.syncPropertiesAndTextFromYjs(t,null):w instanceof ss?w.syncPropertiesFromYjs(t,null):w instanceof Uc||ln(93);p=v,g++}else{if(d===void 0){d=new Set;for(let N=0;N<l;N++){const T=s[N]._key;T!==""&&d.add(T)}}if(v!==null&&y!==void 0&&!d.has(y)){const N=va(y);Eo(N),m--,g++;continue}h=e.getWritable();const x=u4(t,w,r),_=x.__key;if(c.set(_,w),p===null){const N=h.getFirstChild();if(h.__first=_,N!==null){const T=N.getWritable();T.__prev=_,x.__next=T.__key}}else{const N=p.getWritable(),T=p.getNextSibling();if(N.__next=_,x.__prev=p.__key,T!==null){const k=T.getWritable();k.__prev=_,x.__next=k.__key}}m===l-1&&(h.__last=_),h.__size++,p=x}}for(let m=0;m<o;m++){const y=i[m];if(!u.has(y)){const w=va(y),v=t.collabNodeMap.get(y);v!==void 0&&v.destroy(t),Eo(w)}}}syncPropertiesFromLexical(t,e,r){zb(t,this._xmlText,this.getPrevNode(r),e)}_syncChildFromLexical(t,e,r,i,o,s){const l=this._children[e],c=va(r);l instanceof Zr&&G(c)?(l.syncPropertiesFromLexical(t,c,i),l.syncChildrenFromLexical(t,c,i,o,s)):l instanceof rr&&ae(c)?l.syncPropertiesAndTextFromLexical(t,c,i):l instanceof ss&&ot(c)&&l.syncPropertiesFromLexical(t,c,i)}syncChildrenFromLexical(t,e,r,i,o){const s=this.getPrevNode(r),l=s===null?[]:pm(s,r),c=pm(e,null),u=l.length-1,d=c.length-1,h=t.collabNodeMap;let g,p,m=0,y=0;for(;m<=u&&y<=d;){const C=l[m],x=c[y];if(C===x)this._syncChildFromLexical(t,y,x,r,i,o),m++,y++;else{g===void 0&&(g=new Set(l)),p===void 0&&(p=new Set(c));const _=p.has(C),N=g.has(x);if(_){const T=eS(t,va(x),this);h.set(x,T),N?(this.splice(t,y,1,T),m++,y++):(this.splice(t,y,0,T),y++)}else this.splice(t,y,1),m++}}const w=m>u,v=y>d;if(w&&!v)for(;y<=d;++y){const C=c[y],x=eS(t,va(C),this);this.append(x),h.set(C,x)}else if(v&&!w)for(let C=this._children.length-1;C>=y;C--)this.splice(t,C,1)}append(t){const e=this._xmlText,r=this._children,i=r[r.length-1],o=i!==void 0?i.getOffset()+i.getSize():0;if(t instanceof Zr)e.insertEmbed(o,t._xmlText);else if(t instanceof rr){const s=t._map;s.parent===null&&e.insertEmbed(o,s),e.insert(o+1,t._text)}else t instanceof Uc?e.insertEmbed(o,t._map):t instanceof ss&&e.insertEmbed(o,t._xmlElem);this._children.push(t)}splice(t,e,r,i){const o=this._children,s=o[e];if(s===void 0)return i===void 0&&ln(94),void this.append(i);const l=s.getOffset();l===-1&&ln(95);const c=this._xmlText;if(r!==0&&c.delete(l,s.getSize()),i instanceof Zr)c.insertEmbed(l,i._xmlText);else if(i instanceof rr){const u=i._map;u.parent===null&&c.insertEmbed(l,u),c.insert(l+1,i._text)}else i instanceof Uc?c.insertEmbed(l,i._map):i instanceof ss&&c.insertEmbed(l,i._xmlElem);if(r!==0){const u=o.slice(e,e+r);for(let d=0;d<u.length;d++)u[d].destroy(t)}i!==void 0?o.splice(e,r,i):o.splice(e,r)}getChildOffset(t){let e=0;const r=this._children;for(let i=0;i<r.length;i++){const o=r[i];if(o===t)return e;e+=o.getSize()}return-1}destroy(t){const e=t.collabNodeMap,r=this._children;for(let i=0;i<r.length;i++)r[i].destroy(t);e.get(this._key)===this&&e.delete(this._key)}}function Bb(n,t,e){const r=new Zr(n,t,e);return n._collabNode=r,r}function r4(n,t,e,r,i){e==null&&ln(81);const o={clientID:e.clientID,cursors:new Map,cursorsContainer:null,doc:e,docMap:r,editor:n,excludedProperties:i||new Map,id:t,nodeProperties:new Map};return(function(s){const{editor:l,nodeProperties:c}=s;l.update(()=>{l._nodes.forEach(u=>{const d=new u.klass,h={};for(const[g,p]of Object.entries(d))H_(g,d,s)||(h[g]=p);c.set(d.__type,Object.freeze(h))})})})(o),o}function i4(n,t,e,r,i,o){r==null&&ln(81);const s=Bb(r.get("root",Ji),null,"root");return s._key="root",{...r4(n,e,r,i,o),collabNodeMap:new Map,root:s}}function Fb(n){return Object.hasOwn(n,"collabNodeMap")}const o4=new Set(["__key","__parent","__next","__prev","__state"]),s4=new Set(["__first","__last","__size"]),l4=new Set(["__cachedText"]),a4=new Set(["__text"]);function H_(n,t,e){if(o4.has(n)||typeof t[n]=="function")return!0;if(ae(t)){if(a4.has(n))return!0}else if(G(t)&&(s4.has(n)||Yt(t)&&l4.has(n)))return!0;const r=t.constructor,i=e.excludedProperties.get(r);return i!=null&&i.has(n)}function c4(n,t){const e=n.__type,{nodeProperties:r}=t,i=r.get(e);return i===void 0&&ln(330,e),i}function eS(n,t,e){const r=t.__type;let i;if(G(t))i=Bb(new Ji,e,r),i.syncPropertiesFromLexical(n,t,null),i.syncChildrenFromLexical(n,t,null,null,null);else if(ae(t))i=W_(new Pn,t.__text,e,r),i.syncPropertiesAndTextFromLexical(n,t,null);else if(Dt(t)){const o=new Pn;o.set("__type","linebreak"),i=K_(o,e)}else ot(t)?(i=U_(new ii,e,r),i.syncPropertiesFromLexical(n,t,null)):ln(86);return i._key=t.__key,i}function Y_(n){const t=ng(n,"__type");return typeof t!="string"&&t!==void 0&&ln(87),t}function uh(n,t,e){const r=t._collabNode;if(r===void 0){const i=n.editor._nodes,o=Y_(t);typeof o!="string"&&ln(87),i.get(o)===void 0&&ln(88,o);const s=t.parent,l=e===void 0&&s!==null?uh(n,s):e||null;if(l instanceof Zr||ln(89),t instanceof Ji)return Bb(t,l,o);if(t instanceof Pn)return o==="linebreak"?K_(t,l):W_(t,"",l,o);if(t instanceof ii)return U_(t,l,o)}return r}function u4(n,t,e){const r=t.getType(),i=n.editor._nodes.get(r);i===void 0&&ln(88,r);const o=new i.klass;if(o.__parent=e,t._key=o.__key,t instanceof Zr){const s=t._xmlText;t.syncPropertiesFromYjs(n,null),t.applyChildrenYjsDelta(n,s.toDelta()),t.syncChildrenFromYjs(n)}else t instanceof rr?t.syncPropertiesAndTextFromYjs(n,null):t instanceof ss&&t.syncPropertiesFromYjs(n,null);return n.collabNodeMap.set(o.__key,t),o}function jb(n,t,e,r){const i=r===null?t instanceof Pn?Array.from(t.keys()):t instanceof Ji||t instanceof ii?Object.keys(t.getAttributes()):Object.keys(t):Array.from(r);let o;for(let s=0;s<i.length;s++){const l=i[s];if(H_(l,e,n)){l==="__state"&&Fb(n)&&(o||(o=e.getWritable()),d4(t,o));continue}const c=e[l];let u=ng(t,l);if(c!==u){if(u instanceof Zi){const d=n.docMap;c instanceof Zi&&d.delete(c.guid);const h=ju(),g=u.guid;h._key=g,d.set(g,u),u=h}o===void 0&&(o=e.getWritable()),o[l]=u}}}function ng(n,t){return n instanceof Pn?n.get(t):n instanceof Ji||n instanceof ii?n.getAttribute(t):n[t]}function tS(n,t,e){n instanceof Pn?n.set(t,e):n.setAttribute(t,e)}function d4(n,t){const e=ng(n,"__state");e instanceof Pn&&Oh(t).updateFromJSON(e.toJSON())}function zb(n,t,e,r){const i=Object.keys(c4(r,n)),o=n.editor.constructor;(function(s,l,c,u){const d=u.__state,h=ng(l,"__state");if(!d)return;const[g,p]=d.getInternalState(),m=c&&c.__state,y=h instanceof Pn?h:new Pn;if(m===d)return;const[w,v]=m&&y.doc?m.getInternalState():[void 0,new Map];if(g)for(const[C,x]of Object.entries(g))w&&x!==w[C]&&y.set(C,x);for(const[C,x]of p)v.get(C)!==x&&y.set(C.key,C.unparse(x));h||tS(l,"__state",y)})(0,t,e,r);for(let s=0;s<i.length;s++){const l=i[s],c=e===null?void 0:e[l];let u=r[l];if(c!==u){if(u instanceof o){const d=n.docMap;let h;if(c instanceof o){const m=c._key;h=d.get(m),d.delete(m)}const g=h||new Zi,p=g.guid;u._key=p,d.set(p,g),u=g,n.editor.update(()=>{r.markDirty()})}tS(t,l,u)}}}function Rc(n,t,e,r){return n.slice(0,t)+r+n.slice(t+e)}function Rf(n,t,e){let r=0,i=0;const o=n._children,s=o.length;for(;i<s;i++){const l=o[i],c=r;if(r+=l.getSize(),(e?r>=t:r>t)&&l instanceof rr){let u=t-c-1;return u<0&&(u=0),{length:r-t,node:l,nodeIndex:i,offset:u}}if(r>t)return{length:0,node:l,nodeIndex:i,offset:c};if(i===s-1)return{length:0,node:null,nodeIndex:i+1,offset:c+1}}return{length:0,node:null,nodeIndex:0,offset:0}}function nS(n){const t=n.anchor,e=n.focus;let r=!1;try{const i=t.getNode(),o=e.getNode();(!i.isAttached()||!o.isAttached()||ae(i)&&t.offset>i.getTextContentSize()||ae(o)&&e.offset>o.getTextContentSize())&&(r=!0)}catch{r=!0}return r}function f4(n,t){n.doc.transact(t,n)}function Z_(n,t){const e=t._nodeMap.get(n);if(!e)return void Re().selectStart();const r=e.__prev;let i=null;r&&(i=ve(r)),i===null&&e.__parent!==null&&(i=ve(e.__parent)),i!==null?i!==null&&i.isAttached()?i.selectEnd():Z_(i.__key,t):Re().selectStart()}hT("ychange",{isEqual:(n,t)=>n===t,parse:n=>n??null});function rS(n,t){const e=t.collabNodeMap.get(n.key);if(e===void 0)return null;let r=n.offset,i=e.getSharedType();if(e instanceof rr){i=e._parent._xmlText;const o=e.getOffset();if(o===-1)return null;r=o+1+r}else if(e instanceof Zr&&n.type==="element"){const o=n.getNode();G(o)||ln(184);let s=0,l=0,c=o.getFirstChild();for(;c!==null&&l++<r;)ae(c)?s+=c.getTextContentSize()+1:s++,c=c.getNextSibling();r=s}return MA(i,r)}function iS(n,t){const{mapping:e}=t,{offset:r}=n,i=n.getNode(),o=e.getSharedType(i);if(o===void 0)return null;if(n.type==="text"){ae(i)||ln(326);let s=i.getPreviousSibling(),l=r;for(;ae(s);)l+=s.getTextContentSize(),s=s.getPreviousSibling();return MA(o,l)}if(n.type==="element"){G(i)||ln(184);let s=0,l=i.getFirstChild();for(;l!==null&&s<r;){if(ae(l)){let c=l.getNextSibling();for(;ae(c);)c=c.getNextSibling()}s++,l=l.getNextSibling()}return MA(o,s)}return null}function oS(n,t){return rK(n,t.doc)}function sS(n,t){if(n==null){if(t!=null)return!0}else if(t==null||!iK(n,t))return!0;return!1}function h4(n,t){return{color:t,name:n,selection:null}}function G_(n,t){const e=n.cursorsContainer;if(e!==null){const r=t.selections,i=r.length;for(let o=0;o<i;o++)e.removeChild(r[o])}}function g4(n,t){const e=t.selection;e!==null&&G_(n,e)}function p4(n,t,e,r,i){const o=n.color,s=document.createElement("span");s.style.cssText=`position:absolute;top:0;bottom:0;right:-1px;width:1px;background-color:${o};z-index:10;`;const l=document.createElement("span");return l.textContent=n.name,l.style.cssText=`position:absolute;left:-2px;top:-16px;background-color:${o};color:#fff;line-height:12px;font-size:12px;padding:2px;font-family:Arial;font-weight:bold;white-space:nowrap;`,s.appendChild(l),{anchor:{key:t,offset:e},caret:s,color:o,focus:{key:r,offset:i},name:l,selections:[]}}function m4(n,t,e,r){const i=n.editor,o=i.getRootElement(),s=n.cursorsContainer;if(s===null||o===null)return;const l=s.offsetParent;if(l===null)return;const c=l.getBoundingClientRect(),u=t.selection;if(e===null)return u===null?void 0:(t.selection=null,void G_(n,u));t.selection=e;const d=e.caret,h=e.color,g=e.selections,p=e.anchor,m=e.focus,y=p.key,w=m.key,v=r.get(y),C=r.get(w);if(v==null||C==null)return;let x;if(v===C&&Dt(v))x=[i.getElementByKey(y).getBoundingClientRect()];else{const T=m1(i,v,p.offset,C,m.offset);if(T===null)return;x=A1(i,T)}const _=g.length,N=x.length;for(let T=0;T<N;T++){const k=x[T];let M=g[T];if(M===void 0){M=document.createElement("span"),g[T]=M;const R=document.createElement("span");M.appendChild(R),s.appendChild(M)}const I=`position:absolute;top:${k.top-c.top}px;left:${k.left-c.left}px;height:${k.height}px;width:${k.width}px;pointer-events:none;z-index:5;`;M.style.cssText=I,M.firstChild.style.cssText=`${I}left:0;top:0;background-color:${h};opacity:0.3;`,T===N-1&&d.parentNode!==M&&M.appendChild(d)}for(let T=_-1;T>=N;T--){const k=g[T];s.removeChild(k),g.pop()}}function J_(n,t){const{anchorPos:e,focusPos:r}=t,i=e?oS(e,n):null,o=r?oS(r,n):null;if(i===null||o===null)return{anchorKey:null,anchorOffset:0,focusKey:null,focusOffset:0};if(Fb(n)){const[d,h]=cS(i.type,i.index),[g,p]=cS(o.type,o.index);return{anchorKey:d!==null?d.getKey():null,anchorOffset:h,focusKey:g!==null?g.getKey():null,focusOffset:p}}let[s,l]=uS(n.mapping,i),[c,u]=uS(n.mapping,o);if(c&&s&&(c!==s||u!==l)){const d=c.isBefore(s),h=d?c:s,g=d?u:l;ae(h)&&ae(h.getNextSibling())&&g===h.getTextContentSize()&&(d?(c=h.getNextSibling(),u=0):(s=h.getNextSibling(),l=0))}return{anchorKey:s!==null?s.getKey():null,anchorOffset:l,focusKey:c!==null?c.getKey():null,focusOffset:u}}function lS(n,t){const e=t.awareness.getLocalState();if(e===null)return;const{anchorKey:r,anchorOffset:i,focusKey:o,focusOffset:s}=J_(n,e);if(r!==null&&o!==null){const l=J();if(!Y(l))return;aS(l.anchor,r,i),aS(l.focus,o,s)}}function aS(n,t,e){if(n.key!==t||n.offset!==e){let r=ve(t);if(r!==null&&!G(r)&&!ae(r)){const i=r.getParentOrThrow();t=i.getKey(),e=r.getIndexWithinParent(),r=i}n.set(t,e,G(r)?"element":"text")}}function cS(n,t){const e=n._collabNode;if(e===void 0)return[null,0];if(e instanceof Zr){const{node:r,offset:i}=Rf(e,t,!0);return r===null?[e,0]:[r,i]}return[null,0]}function uS(n,t){const e=t.type,r=t.index;if(e instanceof ii){const i=n.get(e);if(i===void 0)return[null,0];if(!G(i))return[i,r];let o=r,s=0;const l=i.getChildren();for(;o>0&&s<l.length;){const c=l[s];if(o-=1,s+=1,ae(c))for(;s<l.length&&ae(l[s]);)s+=1}return[i,s]}{const i=n.get(e);if(i===void 0)return[null,0];let o=0,s=r;for(;s>i[o].getTextContentSize()&&o+1<i.length;)s-=i[o].getTextContentSize(),o++;const l=i[o];return[l,Math.min(s,l.getTextContentSize())]}}function A4(n,t){return t.awareness.getStates()}function Ub(n,t,e){const{getAwarenessStates:r=A4}=e??{},i=Array.from(r(n,t)),o=n.clientID,s=n.cursors,l=n.editor,c=l._editorState._nodeMap,u=new Set;for(let h=0;h<i.length;h++){const g=i[h],[p,m]=g;if(p!==0&&p!==o){u.add(p);const{name:y,color:w,focusing:v}=m;let C=null,x=s.get(p);if(x===void 0&&(x=h4(y,w),s.set(p,x)),v){const{anchorKey:_,anchorOffset:N,focusKey:T,focusOffset:k}=l.read(()=>J_(n,m));if(_!==null&&T!==null)if(C=x.selection,C===null)C=p4(x,_,N,T,k);else{const M=C.anchor,I=C.focus;M.key=_,M.offset=N,I.key=T,I.offset=k}}m4(n,x,C,c)}}const d=Array.from(s.keys());for(let h=0;h<d.length;h++){const g=d[h];if(!u.has(g)){const p=s.get(g);p!==void 0&&(g4(n,p),s.delete(g))}}}function Q_(n,t,e,r){const i=t.awareness,o=i.getLocalState();if(o===null)return;const{anchorPos:s,focusPos:l,name:c,color:u,focusing:d,awarenessData:h}=o;let g=null,p=null;(r!==null&&(s===null||r.is(e))||e!==null)&&(Y(r)&&(Fb(n)?(g=rS(r.anchor,n),p=rS(r.focus,n)):(g=iS(r.anchor,n),p=iS(r.focus,n))),(sS(s,g)||sS(l,p))&&i.setLocalState({...o,anchorPos:g,awarenessData:h,color:u,focusPos:p,focusing:d,name:c}))}function y4(n,t){if(t instanceof OA&&(function(i,o){const{target:s}=o;if(!s._item||s._item.parentSub!=="__state"||Y_(s)!==void 0||!(s.parent instanceof Ji||s.parent instanceof ii||s.parent instanceof Pn))return!1;const l=uh(i,s.parent).getNode();if(l){const c=Oh(l.getWritable());for(const u of o.keysChanged)c.updateFromUnknown(u,s.get(u))}return!0})(n,t))return;const{target:e}=t,r=uh(n,e);if(r instanceof Zr&&t instanceof O_){const{keysChanged:i,childListChanged:o,delta:s}=t;i.size>0&&r.syncPropertiesFromYjs(n,i),o&&(r.applyChildrenYjsDelta(n,s),r.syncChildrenFromYjs(n))}else if(r instanceof rr&&t instanceof OA){const{keysChanged:i}=t;i.size>0&&r.syncPropertiesAndTextFromYjs(n,i)}else if(r instanceof ss&&t instanceof R_){const{attributesChanged:i}=t;i.size>0&&r.syncPropertiesFromYjs(n,i)}else ln(82)}function b4(n,t,e,r,i=Ub){const o=n.editor,s=o._editorState;e.forEach(l=>l.delta),o.update(()=>{for(let l=0;l<e.length;l++){const c=e[l];y4(n,c)}w4(s,n,t),r||l1(LT)},{onUpdate:()=>{i(n,t),o.update(()=>C4())},skipTransforms:!0,tag:r?ml:Pu})}function w4(n,t,e){const r=J();if(Y(r))if(nS(r)){const i=n._selection;Y(i)&&(lS(t,e),nS(r))&&Z_(r.anchor.key,n),Q_(t,e,i,J())}else lS(t,e)}function C4(){Re().getChildrenSize()===0&&Re().append(Ee())}function v4(n,t,e,r,i,o,s,l){f4(n,()=>{r.read(()=>{if(l.has(Pu)||l.has(ml))return void(s.size>0&&(function(d,h){const g=Array.from(h),p=d.collabNodeMap,m=[],y=[];for(let w=0;w<g.length;w++){const v=g[w],C=ve(v),x=p.get(v);if(x instanceof rr)if(ae(C))m.push([x,C.__text]);else{const _=x.getOffset();if(_===-1)continue;const N=x._parent;x._normalized=!0,N._xmlText.delete(_,1),y.push(x)}}for(let w=0;w<y.length;w++){const v=y[w],C=v.getKey();p.delete(C);const x=v._parent._children,_=x.indexOf(v);x.splice(_,1)}for(let w=0;w<m.length;w++){const[v,C]=m[w];v._text=C}})(n,s));if(i.has("root")){const d=e._nodeMap,h=Re(),g=n.root;g.syncPropertiesFromLexical(n,h,d),g.syncChildrenFromLexical(n,h,d,i,o)}const c=J(),u=e._selection;Q_(n,t,u,c)})})}const V_=we("CONNECTED_COMMAND"),X_=we("TOGGLE_CONNECT_COMMAND");function x4(n,t){return new m_(t,{trackedOrigins:new Set([n,null])})}function S4(n,t,e,r,i){n.awareness.setLocalState({anchorPos:null,awarenessData:i,color:e,focusPos:null,focusing:r,name:t})}function dS(n,t,e,r,i){const{awareness:o}=n;let s=o.getLocalState();s===null&&(s={anchorPos:null,awarenessData:i,color:e,focusPos:null,focusing:r,name:t}),s.focusing=r,o.setLocalState(s)}function E4(n,t,e,r,i,o,s,l,c,u,d,h,g=Ub){const p=E.useRef(!1),m=E.useCallback(()=>{const{root:y}=l;s&&y.isEmpty()&&y._xmlText._length===0&&M4(n,d)},[l,n,d,s]);return E.useEffect(()=>{const{root:y}=l,w=(C,x)=>{const _=x.origin;_!==l&&b4(l,e,C,_ instanceof m_,g)};y.getSharedType().observeDeep(w);const v=n.registerUpdateListener(({prevEditorState:C,editorState:x,dirtyLeaves:_,dirtyElements:N,normalizedNodes:T,tags:k})=>{k.has(zv)||v4(l,e,C,x,N,_,T,k)});return()=>{y.getSharedType().unobserveDeep(w),v()}},[l,e,n,c,r,t,g]),E.useEffect(()=>{const y=v=>{(function(C,x){if(C.update(()=>{const k=Re();k.clear(),k.select()},{tag:zv}),x.cursors==null)return;const _=x.cursors;if(_==null)return;const N=x.cursorsContainer;if(N==null)return;const T=Array.from(_.values());for(let k=0;k<T.length;k++){const M=T[k].selection;if(M&&M.selections!=null){const I=M.selections;for(let R=0;R<I.length;R++)N.removeChild(I[k])}}})(n,l),c(v),r.set(t,v),p.current=!0},w=()=>{p.current=!1};return e.on("reload",y),e.on("sync",w),()=>{e.off("reload",y),e.off("sync",w)}},[l,e,n,c,r,t]),k4(n,e,i,o,p,h,m),T4(l,e),_4(l,u)}function k4(n,t,e,r,i,o,s){const l=E.useCallback(()=>t.connect(),[t]),c=E.useCallback(()=>{try{t.disconnect()}catch{}},[t]);E.useEffect(()=>{const u=({status:g})=>{n.dispatchCommand(V_,g==="connected")},d=g=>{g&&i.current===!1&&s&&s()};S4(t,e,r,document.activeElement===n.getRootElement(),o||{}),t.on("status",u),t.on("sync",d);const h=l();return()=>{i.current===!1&&(h?h.then(c):c()),t.off("sync",d),t.off("status",u)}},[n,t,e,r,i,o,s,l,c]),E.useEffect(()=>n.registerCommand(X_,u=>(u?(console.log("Collaboration connected!"),l()):(console.log("Collaboration disconnected!"),c()),!0),Ke),[l,c,n])}function T4(n,t){E.useEffect(()=>{const{awareness:e}=t,r=()=>{Ub(n,t)};return e.on("update",r),()=>{e.off("update",r)}},[n,t])}function _4(n,t){return E.useMemo(()=>yr.createPortal(A.jsx("div",{ref:e=>{n.cursorsContainer=e}}),t&&t.current||document.body),[n,t])}function N4(n,t,e,r,i){E.useEffect(()=>tt(n.registerCommand(Os,()=>(dS(t,e,r,!0,i||{}),!1),Ke),n.registerCommand(jh,()=>(dS(t,e,r,!1,i||{}),!1),Ke)),[r,n,e,t,i])}function I4(n,t){E.useEffect(()=>tt(n.registerCommand($a,()=>(t.undo(),!0),Ke),n.registerCommand(Rl,()=>(t.redo(),!0),Ke)));const e=E.useCallback(()=>{t.clear()},[t]);return nT.useEffect(()=>{const r=()=>{n.dispatchCommand(Ta,t.undoStack.length>0),n.dispatchCommand(ka,t.redoStack.length>0)};return t.on("stack-item-added",r),t.on("stack-item-popped",r),t.on("stack-cleared",r),()=>{t.off("stack-item-added",r),t.off("stack-item-popped",r),t.off("stack-cleared",r)}},[n,t]),e}function M4(n,t){n.update(()=>{const e=Re();if(e.isEmpty())if(t)switch(typeof t){case"string":{const r=n.parseEditorState(t);n.setEditorState(r,{tag:Jr});break}case"object":n.setEditorState(t,{tag:Jr});break;case"function":n.update(()=>{Re().isEmpty()&&t(n)},{tag:Jr})}else{const r=Ee();e.append(r);const{activeElement:i}=document;(J()!==null||i!==null&&i===n.getRootElement())&&r.select()}},{tag:Jr})}function D4({id:n,providerFactory:t,shouldBootstrap:e,username:r,cursorColor:i,cursorsContainerRef:o,initialEditorState:s,excludedProperties:l,awarenessData:c,syncCursorPositionsFn:u}){const d=E.useRef(!1),h=E.useRef(!1),g=mz(r,i),{yjsDocMap:p,name:m,color:y}=g,[w]=Me();O4(g,w);const[v,C]=E.useState(),[x,_]=E.useState();E.useEffect(()=>{if(h.current)return;h.current=!0;const k=t(n,p);return C(k),_(p.get(n)),()=>{k.disconnect()}},[n,t,p]);const[N,T]=E.useState();return E.useEffect(()=>{if(!v||d.current)return;d.current=!0;const k=i4(w,v,n,x||p.get(n),p,l);return T(k),()=>{k.root.destroy(k)}},[w,v,n,p,x,l]),v&&N?A.jsx(L4,{awarenessData:c,binding:N,collabContext:g,color:y,cursorsContainerRef:o,editor:w,id:n,initialEditorState:s,name:m,provider:v,setDoc:_,shouldBootstrap:e,yjsDocMap:p,syncCursorPositionsFn:u}):A.jsx(A.Fragment,{})}function L4({editor:n,id:t,provider:e,yjsDocMap:r,name:i,color:o,shouldBootstrap:s,cursorsContainerRef:l,initialEditorState:c,awarenessData:u,collabContext:d,binding:h,setDoc:g,syncCursorPositionsFn:p}){const m=E4(n,t,e,r,i,o,s,h,g,l,c,u,p);return(function(y,w){I4(y,E.useMemo(()=>x4(w,w.root.getSharedType()),[w]))})(n,h),N4(n,e,i,o,u),m}const O4=(n,t)=>{E.useEffect(()=>(n.isCollabActive=!0,()=>{t._parentEditor==null&&(n.isCollabActive=!1)}),[n,t])},q_=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,R4=q_?E.useLayoutEffect:E.useEffect,of={tag:Jr};function P4({initialConfig:n,children:t}){const e=E.useMemo(()=>{const{theme:r,namespace:i,nodes:o,onError:s,editorState:l,html:c}=n,u=L1(null,r),d=ju({editable:n.editable,html:c,namespace:i,nodes:o,onError:h=>s(h,d),theme:r});return(function(h,g){if(g!==null){if(g===void 0)h.update(()=>{const p=Re();if(p.isEmpty()){const m=Ee();p.append(m);const y=q_?document.activeElement:null;(J()!==null||y!==null&&y===h.getRootElement())&&m.select()}},of);else if(g!==null)switch(typeof g){case"string":{const p=h.parseEditorState(g);h.setEditorState(p,of);break}case"object":h.setEditorState(g,of);break;case"function":h.update(()=>{Re().isEmpty()&&g(h)},of)}}})(d,l),[d,u]},[]);return R4(()=>{const r=n.editable,[i]=e;i.setEditable(r===void 0||r)},[]),A.jsx(pb.Provider,{value:e,children:t})}const B4=Symbol.for("preact-signals");function rg(){if(ms>1)return void ms--;let n,t=!1;for(;tu!==void 0;){let e=tu;for(tu=void 0,BA++;e!==void 0;){const r=e.o;if(e.o=void 0,e.f&=-3,!(8&e.f)&&$_(e))try{e.c()}catch(i){t||(n=i,t=!0)}e=r}}if(BA=0,ms--,t)throw n}function F4(n){if(ms>0)return n();ms++;try{return n()}finally{rg()}}let St,tu;function fS(n){const t=St;St=void 0;try{return n()}finally{St=t}}let ms=0,BA=0,Pf=0;function hS(n){if(St===void 0)return;let t=n.n;return t===void 0||t.t!==St?(t={i:0,S:n,p:St.s,n:void 0,t:St,e:void 0,x:void 0,r:t},St.s!==void 0&&(St.s.n=t),St.s=t,n.n=t,32&St.f&&n.S(t),t):t.i===-1?(t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=St.s,t.n=void 0,St.s.n=t,St.s=t),t):void 0}function nr(n,t){this.v=n,this.i=0,this.n=void 0,this.t=void 0,this.W=t==null?void 0:t.watched,this.Z=t==null?void 0:t.unwatched,this.name=t==null?void 0:t.name}function j4(n,t){return new nr(n,t)}function $_(n){for(let t=n.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function gS(n){for(let t=n.s;t!==void 0;t=t.n){const e=t.S.n;if(e!==void 0&&(t.r=e),t.S.n=t,t.i=-1,t.n===void 0){n.s=t;break}}}function eN(n){let t,e=n.s;for(;e!==void 0;){const r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):t=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}n.s=t}function ga(n,t){nr.call(this,void 0),this.x=n,this.s=void 0,this.g=Pf-1,this.f=4,this.W=t==null?void 0:t.watched,this.Z=t==null?void 0:t.unwatched,this.name=t==null?void 0:t.name}function tN(n){const t=n.u;if(n.u=void 0,typeof t=="function"){ms++;const e=St;St=void 0;try{t()}catch(r){throw n.f&=-2,n.f|=8,Kb(n),r}finally{St=e,rg()}}}function Kb(n){for(let t=n.s;t!==void 0;t=t.n)t.S.U(t);n.x=void 0,n.s=void 0,tN(n)}function z4(n){if(St!==this)throw new Error("Out-of-order effect");eN(this),St=n,this.f&=-2,8&this.f&&Kb(this),rg()}function Sa(n,t){this.x=n,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32,this.name=t==null?void 0:t.name}function Su(n,t){const e=new Sa(n,t);try{e.c()}catch(i){throw e.d(),i}const r=e.d.bind(e);return r[Symbol.dispose]=r,r}function Wb(n,t={}){const e={};for(const r in n){const i=t[r],o=j4(i===void 0?n[r]:i);e[r]=o}return e}nr.prototype.brand=B4,nr.prototype.h=function(){return!0},nr.prototype.S=function(n){const t=this.t;t!==n&&n.e===void 0&&(n.x=t,this.t=n,t!==void 0?t.e=n:fS(()=>{var e;(e=this.W)==null||e.call(this)}))},nr.prototype.U=function(n){if(this.t!==void 0){const t=n.e,e=n.x;t!==void 0&&(t.x=e,n.e=void 0),e!==void 0&&(e.e=t,n.x=void 0),n===this.t&&(this.t=e,e===void 0&&fS(()=>{var r;(r=this.Z)==null||r.call(this)}))}},nr.prototype.subscribe=function(n){return Su(()=>{const t=this.value,e=St;St=void 0;try{n(t)}finally{St=e}},{name:"sub"})},nr.prototype.valueOf=function(){return this.value},nr.prototype.toString=function(){return this.value+""},nr.prototype.toJSON=function(){return this.value},nr.prototype.peek=function(){const n=St;St=void 0;try{return this.value}finally{St=n}},Object.defineProperty(nr.prototype,"value",{get(){const n=hS(this);return n!==void 0&&(n.i=this.i),this.v},set(n){if(n!==this.v){if(BA>100)throw new Error("Cycle detected");this.v=n,this.i++,Pf++,ms++;try{for(let t=this.t;t!==void 0;t=t.x)t.t.N()}finally{rg()}}}}),ga.prototype=new nr,ga.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Pf))return!0;if(this.g=Pf,this.f|=1,this.i>0&&!$_(this))return this.f&=-2,!0;const n=St;try{gS(this),St=this;const t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return St=n,eN(this),this.f&=-2,!0},ga.prototype.S=function(n){if(this.t===void 0){this.f|=36;for(let t=this.s;t!==void 0;t=t.n)t.S.S(t)}nr.prototype.S.call(this,n)},ga.prototype.U=function(n){if(this.t!==void 0&&(nr.prototype.U.call(this,n),this.t===void 0)){this.f&=-33;for(let t=this.s;t!==void 0;t=t.n)t.S.U(t)}},ga.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(let n=this.t;n!==void 0;n=n.x)n.t.N()}},Object.defineProperty(ga.prototype,"value",{get(){if(1&this.f)throw new Error("Cycle detected");const n=hS(this);if(this.h(),n!==void 0&&(n.i=this.i),16&this.f)throw this.v;return this.v}}),Sa.prototype.c=function(){const n=this.S();try{if(8&this.f||this.x===void 0)return;const t=this.x();typeof t=="function"&&(this.u=t)}finally{n()}},Sa.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,tN(this),gS(this),ms++;const n=St;return St=this,z4.bind(this,n)},Sa.prototype.N=function(){2&this.f||(this.f|=2,this.o=tu,tu=this)},Sa.prototype.d=function(){this.f|=8,1&this.f||Kb(this)},Sa.prototype.dispose=function(){this.d()};function U4(){const n=Re(),t=J(),e=Ee();n.clear(),n.append(e),t!==null&&e.select(),Y(t)&&(t.format=0)}function K4(n,t=U4){return n.registerCommand(Fh,e=>(n.update(t),!0),Ke)}function W4(n){return(typeof n.nodes=="function"?n.nodes():n.nodes)||[]}function Pt(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function nN(n,t){if(n&&t&&!Array.isArray(t)&&typeof n=="object"&&typeof t=="object"){const e=n,r=t;for(const i in r)e[i]=nN(e[i],r[i]);return n}return t}const Hb=0,FA=1,rN=2,mm=3,sf=4,pa=5,Am=6,Pc=7;function ym(n){return n.id===Hb}function iN(n){return n.id===rN}function H4(n){return(function(t){return t.id===FA})(n)||Pt(305,String(n.id),String(FA)),Object.assign(n,{id:rN})}const Y4=new Set;let Z4=class{constructor(t,e){F(this,"builder");F(this,"configs");F(this,"_dependency");F(this,"_peerNameSet");F(this,"extension");F(this,"state");F(this,"_signal");this.builder=t,this.extension=e,this.configs=new Set,this.state={id:Hb}}mergeConfigs(){let t=this.extension.config||{};const e=this.extension.mergeConfig?this.extension.mergeConfig.bind(this.extension):Hj;for(const r of this.configs)t=e(t,r);return t}init(t){const e=this.state;iN(e)||Pt(306,String(e.id));const r={getDependency:this.getInitDependency.bind(this),getDirectDependentNames:this.getDirectDependentNames.bind(this),getPeer:this.getInitPeer.bind(this),getPeerNameSet:this.getPeerNameSet.bind(this)},i={...r,getDependency:this.getDependency.bind(this),getInitResult:this.getInitResult.bind(this),getPeer:this.getPeer.bind(this)},o=(function(l,c,u){return Object.assign(l,{config:c,id:mm,registerState:u})})(e,this.mergeConfigs(),r);let s;this.state=o,this.extension.init&&(s=this.extension.init(t,o.config,r)),this.state=(function(l,c,u){return Object.assign(l,{id:sf,initResult:c,registerState:u})})(o,s,i)}build(t){const e=this.state;let r;e.id!==sf&&Pt(307,String(e.id),String(pa)),this.extension.build&&(r=this.extension.build(t,e.config,e.registerState));const i={...e.registerState,getOutput:()=>r,getSignal:this.getSignal.bind(this)};this.state=(function(o,s,l){return Object.assign(o,{id:pa,output:s,registerState:l})})(e,r,i)}register(t,e){this._signal=e;const r=this.state;r.id!==pa&&Pt(308,String(r.id),String(pa));const i=this.extension.register&&this.extension.register(t,r.config,r.registerState);return this.state=(function(o){return Object.assign(o,{id:Am})})(r),()=>{const o=this.state;o.id!==Pc&&Pt(309,String(r.id),String(Pc)),this.state=(function(s){return Object.assign(s,{id:pa})})(o),i&&i()}}afterRegistration(t){const e=this.state;let r;return e.id!==Am&&Pt(310,String(e.id),String(Am)),this.extension.afterRegistration&&(r=this.extension.afterRegistration(t,e.config,e.registerState)),this.state=(function(i){return Object.assign(i,{id:Pc})})(e),r}getSignal(){return this._signal===void 0&&Pt(311),this._signal}getInitResult(){this.extension.init===void 0&&Pt(312,this.extension.name);const t=this.state;return(function(e){return e.id>=sf})(t)||Pt(313,String(t.id),String(sf)),t.initResult}getInitPeer(t){const e=this.builder.extensionNameMap.get(t);return e?e.getExtensionInitDependency():void 0}getExtensionInitDependency(){const t=this.state;return(function(e){return e.id>=mm})(t)||Pt(314,String(t.id),String(mm)),{config:t.config}}getPeer(t){const e=this.builder.extensionNameMap.get(t);return e?e.getExtensionDependency():void 0}getInitDependency(t){const e=this.builder.getExtensionRep(t);return e===void 0&&Pt(315,this.extension.name,t.name),e.getExtensionInitDependency()}getDependency(t){const e=this.builder.getExtensionRep(t);return e===void 0&&Pt(315,this.extension.name,t.name),e.getExtensionDependency()}getState(){const t=this.state;return(function(e){return e.id>=Pc})(t)||Pt(316,String(t.id),String(Pc)),t}getDirectDependentNames(){return this.builder.incomingEdges.get(this.extension.name)||Y4}getPeerNameSet(){let t=this._peerNameSet;return t||(t=new Set((this.extension.peerDependencies||[]).map(([e])=>e)),this._peerNameSet=t),t}getExtensionDependency(){if(!this._dependency){const t=this.state;(function(e){return e.id>=pa})(t)||Pt(317,this.extension.name),this._dependency={config:t.config,init:t.initResult,output:t.output}}return this._dependency}};const pS={tag:Jr};function G4(){const n=Re();n.isEmpty()&&n.append(Ee())}const J4={config:{setOptions:pS,updateOptions:pS},init:({$initialEditorState:n=G4})=>({$initialEditorState:n,initialized:!1}),afterRegistration(n,{updateOptions:t,setOptions:e},r){const i=r.getInitResult();if(!i.initialized){i.initialized=!0;const{$initialEditorState:o}=i;if(bj(o))n.setEditorState(o,e);else if(typeof o=="function")n.update(()=>{o(n)},t);else if(o&&(typeof o=="string"||typeof o=="object")){const s=n.parseEditorState(o);n.setEditorState(s,e)}}return()=>{}},name:"@lexical/extension/InitialState",nodes:[Ul,Ln,rc,ic,Wo]},mS=Symbol.for("@lexical/extension/LexicalBuilder");function AS(){}function Q4(n){throw n}function lf(n){return Array.isArray(n)?n:[n]}const bm="0.38.2+prod.esm";let oN=class Bf{constructor(t){F(this,"roots");F(this,"extensionNameMap");F(this,"outgoingConfigEdges");F(this,"incomingEdges");F(this,"conflicts");F(this,"_sortedExtensionReps");F(this,"PACKAGE_VERSION");this.outgoingConfigEdges=new Map,this.incomingEdges=new Map,this.extensionNameMap=new Map,this.conflicts=new Map,this.PACKAGE_VERSION=bm,this.roots=t;for(const e of t)this.addExtension(e)}static fromExtensions(t){const e=[lf(J4)];for(const r of t)e.push(lf(r));return new Bf(e)}static maybeFromEditor(t){const e=t[mS];return e&&(e.PACKAGE_VERSION!==bm&&Pt(292,e.PACKAGE_VERSION,bm),e instanceof Bf||Pt(293)),e}static fromEditor(t){const e=Bf.maybeFromEditor(t);return e===void 0&&Pt(294),e}constructEditor(){const{$initialEditorState:t,onError:e,...r}=this.buildCreateEditorArgs(),i=Object.assign(ju({...r,...e?{onError:o=>{e(o,i)}}:{}}),{[mS]:this});for(const o of this.sortedExtensionReps())o.build(i);return i}buildEditor(){let t=AS;function e(){try{t()}finally{t=AS}}const r=Object.assign(this.constructEditor(),{dispose:e,[Symbol.dispose]:e});return t=tt(this.registerEditor(r),()=>r.setRootElement(null)),r}hasExtensionByName(t){return this.extensionNameMap.has(t)}getExtensionRep(t){const e=this.extensionNameMap.get(t.name);if(e)return e.extension!==t&&Pt(295,t.name),e}addEdge(t,e,r){const i=this.outgoingConfigEdges.get(t);i?i.set(e,r):this.outgoingConfigEdges.set(t,new Map([[e,r]]));const o=this.incomingEdges.get(e);o?o.add(t):this.incomingEdges.set(e,new Set([t]))}addExtension(t){this._sortedExtensionReps!==void 0&&Pt(296);const e=lf(t),[r]=e;typeof r.name!="string"&&Pt(297,typeof r.name);let i=this.extensionNameMap.get(r.name);if(i!==void 0&&i.extension!==r&&Pt(298,r.name),!i){i=new Z4(this,r),this.extensionNameMap.set(r.name,i);const o=this.conflicts.get(r.name);typeof o=="string"&&Pt(299,r.name,o);for(const s of r.conflictsWith||[])this.extensionNameMap.has(s)&&Pt(299,r.name,s),this.conflicts.set(s,r.name);for(const s of r.dependencies||[]){const l=lf(s);this.addEdge(r.name,l[0].name,l.slice(1)),this.addExtension(l)}for(const[s,l]of r.peerDependencies||[])this.addEdge(r.name,s,l?[l]:[])}}sortedExtensionReps(){if(this._sortedExtensionReps)return this._sortedExtensionReps;const t=[],e=(r,i)=>{let o=r.state;if(iN(o))return;const s=r.extension.name;var l;ym(o)||Pt(300,s,i||"[unknown]"),ym(l=o)||Pt(304,String(l.id),String(Hb)),o=Object.assign(l,{id:FA}),r.state=o;const c=this.outgoingConfigEdges.get(s);if(c)for(const u of c.keys()){const d=this.extensionNameMap.get(u);d&&e(d,s)}o=H4(o),r.state=o,t.push(r)};for(const r of this.extensionNameMap.values())ym(r.state)&&e(r);for(const r of t)for(const[i,o]of this.outgoingConfigEdges.get(r.extension.name)||[])if(o.length>0){const s=this.extensionNameMap.get(i);if(s)for(const l of o)s.configs.add(l)}for(const[r,...i]of this.roots)if(i.length>0){const o=this.extensionNameMap.get(r.name);o===void 0&&Pt(301,r.name);for(const s of i)o.configs.add(s)}return this._sortedExtensionReps=t,this._sortedExtensionReps}registerEditor(t){const e=this.sortedExtensionReps(),r=new AbortController,i=[()=>r.abort()],o=r.signal;for(const s of e){const l=s.register(t,o);l&&i.push(l)}for(const s of e){const l=s.afterRegistration(t);l&&i.push(l)}return tt(...i)}buildCreateEditorArgs(){const t={},e=new Set,r=new Map,i=new Map,o={},s={},l=this.sortedExtensionReps();for(const d of l){const{extension:h}=d;if(h.onError!==void 0&&(t.onError=h.onError),h.disableEvents!==void 0&&(t.disableEvents=h.disableEvents),h.parentEditor!==void 0&&(t.parentEditor=h.parentEditor),h.editable!==void 0&&(t.editable=h.editable),h.namespace!==void 0&&(t.namespace=h.namespace),h.$initialEditorState!==void 0&&(t.$initialEditorState=h.$initialEditorState),h.nodes)for(const g of W4(h)){if(typeof g!="function"){const p=r.get(g.replace);p&&Pt(302,h.name,g.replace.name,p.extension.name),r.set(g.replace,d)}e.add(g)}if(h.html){if(h.html.export)for(const[g,p]of h.html.export.entries())i.set(g,p);h.html.import&&Object.assign(o,h.html.import)}h.theme&&nN(s,h.theme)}Object.keys(s).length>0&&(t.theme=s),e.size&&(t.nodes=[...e]);const c=Object.keys(o).length>0,u=i.size>0;(c||u)&&(t.html={},c&&(t.html.import=o),u&&(t.html.export=i));for(const d of l)d.init(t);return t.onError||(t.onError=Q4),t}};function V4(n,t){const e=oN.fromEditor(n).extensionNameMap.get(t);return e?e.getExtensionDependency():void 0}const sN=we("INSERT_HORIZONTAL_RULE_COMMAND");let Yb=class lN extends Vi{static getType(){return"horizontalrule"}static clone(t){return new lN(t.__key)}static importJSON(t){return aN().updateFromJSON(t)}static importDOM(){return{hr:()=>({conversion:X4,priority:0})}}exportDOM(){return{element:document.createElement("hr")}}createDOM(t){const e=document.createElement("hr");return ct(e,t.theme.hr),e}getTextContent(){return`
16
- `}isInline(){return!1}updateDOM(){return!1}};function X4(){return{node:aN()}}function aN(){return c1(Yb)}function cN(n){return n instanceof Yb}function q4(n,t,e,r,i){if(n===null||e.size===0&&r.size===0&&!i)return 0;const o=t._selection,s=n._selection;if(i)return 1;if(!(Y(o)&&Y(s)&&s.isCollapsed()&&o.isCollapsed()))return 0;const l=(function(v,C,x){const _=v._nodeMap,N=[];for(const T of C){const k=_.get(T);k!==void 0&&N.push(k)}for(const[T,k]of x){if(!k)continue;const M=_.get(T);M===void 0||Yt(M)||N.push(M)}return N})(t,e,r);if(l.length===0)return 0;if(l.length>1){const v=t._nodeMap,C=v.get(o.anchor.key),x=v.get(s.anchor.key);return C&&x&&!n._nodeMap.has(C.__key)&&ae(C)&&C.__text.length===1&&o.anchor.offset===1?2:0}const c=l[0],u=n._nodeMap.get(c.__key);if(!ae(u)||!ae(c)||u.__mode!==c.__mode)return 0;const d=u.__text,h=c.__text;if(d===h)return 0;const g=o.anchor,p=s.anchor;if(g.key!==p.key||g.type!=="text")return 0;const m=g.offset,y=p.offset,w=h.length-d.length;return w===1&&y===m-1?2:w===-1&&y===m+1?3:w===-1&&y===m?4:0}function $4(n,t){let e=Date.now(),r=0;return(i,o,s,l,c,u)=>{const d=Date.now();if(u.has(ml))return r=0,e=d,2;const h=q4(i,o,l,c,n.isComposing()),g=(()=>{const p=s===null||s.editor===n,m=u.has(nj);if(!m&&p&&u.has(Jr))return 0;if(i===null)return 1;const y=o._selection;if(!(l.size>0||c.size>0))return y!==null?0:2;const w=typeof t=="number"?t:t.peek();return m===!1&&h!==0&&h===r&&d<e+w&&p||l.size===1&&(function(v,C,x){const _=C._nodeMap.get(v),N=x._nodeMap.get(v),T=C._selection,k=x._selection;return!(Y(T)&&Y(k)&&T.anchor.type==="element"&&T.focus.type==="element"&&k.anchor.type==="text"&&k.focus.type==="text"||!ae(_)||!ae(N)||_.__parent!==N.__parent)&&JSON.stringify(C.read(()=>_.exportJSON()))===JSON.stringify(x.read(()=>N.exportJSON()))})(Array.from(l)[0],i,o)?0:1})();return e=d,r=h,g}}function yS(n){n.undoStack=[],n.redoStack=[],n.current=null}function uN(n,t,e){const r=$4(n,e);return tt(n.registerCommand($a,()=>((function(o,s){const l=s.redoStack,c=s.undoStack;if(c.length!==0){const u=s.current,d=c.pop();u!==null&&(l.push(u),o.dispatchCommand(ka,!0)),c.length===0&&o.dispatchCommand(Ta,!1),s.current=d||null,d&&d.editor.setEditorState(d.editorState,{tag:ml})}})(n,t),!0),Ke),n.registerCommand(Rl,()=>((function(o,s){const l=s.redoStack,c=s.undoStack;if(l.length!==0){const u=s.current;u!==null&&(c.push(u),o.dispatchCommand(Ta,!0));const d=l.pop();l.length===0&&o.dispatchCommand(ka,!1),s.current=d||null,d&&d.editor.setEditorState(d.editorState,{tag:ml})}})(n,t),!0),Ke),n.registerCommand(Fh,()=>(yS(t),!1),Ke),n.registerCommand(Wy,()=>(yS(t),n.dispatchCommand(ka,!1),n.dispatchCommand(Ta,!1),!0),Ke),n.registerUpdateListener(({editorState:o,prevEditorState:s,dirtyLeaves:l,dirtyElements:c,tags:u})=>{const d=t.current,h=t.redoStack,g=t.undoStack,p=d===null?null:d.editorState;if(d!==null&&o===p)return;const m=r(s,o,d,l,c,u);if(m===1)h.length!==0&&(t.redoStack=[],n.dispatchCommand(ka,!1)),d!==null&&(g.push({...d}),n.dispatchCommand(Ta,!0));else if(m===2)return;t.current={editor:n,editorState:o}}))}function Zb(){return{current:null,redoStack:[],undoStack:[]}}const wm={build:(n,{delay:t,createInitialHistoryState:e,disabled:r})=>Wb({delay:t,disabled:r,historyState:e(n)}),config:{createInitialHistoryState:Zb,delay:300,disabled:typeof window>"u"},name:"@lexical/history/History",register:(n,t,e)=>{const r=e.getOutput();return Su(()=>r.disabled.value?void 0:uN(n,r.historyState.value,r.delay))}};Wj(wm,{createInitialHistoryState:()=>{throw new Error("SharedHistory did not inherit parent history")},disabled:!0});function dN({delay:n,externalHistoryState:t}){const[e]=Me();return(function(r,i,o=1e3){const s=E.useMemo(()=>i||Zb(),[i]);E.useEffect(()=>uN(r,s,o),[o,r,s])})(e,t,n),null}const fN=new Map;class e3{constructor(t){this.room=t,this.onmessage=null,this._onChange=e=>e.key===t&&this.onmessage!==null&&this.onmessage({data:CU(e.newValue||"")}),eU(this._onChange)}postMessage(t){K1.setItem(this.room,wU(pU(t)))}close(){tU(this._onChange)}}const t3=typeof BroadcastChannel>"u"?e3:BroadcastChannel,Gb=n=>Xi(fN,n,()=>{const t=xs(),e=new t3(n);return e.onmessage=r=>t.forEach(i=>i(r.data,"broadcastchannel")),{bc:e,subs:t}}),n3=(n,t)=>(Gb(n).subs.add(t),t),r3=(n,t)=>{const e=Gb(n),r=e.subs.delete(t);return r&&e.subs.size===0&&(e.bc.close(),fN.delete(n)),r},Ea=(n,t,e=null)=>{const r=Gb(n);r.bc.postMessage(t),r.subs.forEach(i=>i(t,e))},hN=0,Jb=1,gN=2,jA=(n,t)=>{Ue(n,hN);const e=XU(t);sn(n,e)},pN=(n,t,e)=>{Ue(n,Jb),sn(n,GU(t,e))},i3=(n,t,e)=>pN(t,e,Gn(n)),mN=(n,t,e)=>{try{HU(t,Gn(n),e)}catch(r){console.error("Caught error while handling a Yjs update",r)}},o3=(n,t)=>{Ue(n,gN),sn(n,t)},s3=mN,l3=(n,t,e,r)=>{const i=qe(n);switch(i){case hN:i3(n,t,e);break;case Jb:mN(n,e,r);break;case gN:s3(n,e,r);break;default:throw new Error("Unknown message type")}return i},a3=0,c3=(n,t,e)=>{switch(qe(n)){case a3:e(t,gs(n))}},Cm=3e4;class u3 extends R1{constructor(t){super(),this.doc=t,this.clientID=t.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=>{const e=Es();this.getLocalState()!==null&&Cm/2<=e-this.meta.get(this.clientID).lastUpdated&&this.setLocalState(this.getLocalState());const r=[];this.meta.forEach((i,o)=>{o!==this.clientID&&Cm<=e-i.lastUpdated&&this.states.has(o)&&r.push(o)}),r.length>0&&Qb(this,r,"timeout")},Oo(Cm/10)),t.on("destroy",()=>{this.destroy()}),this.setLocalState({})}destroy(){this.emit("destroy",[this]),this.setLocalState(null),super.destroy(),clearInterval(this._checkInterval)}getLocalState(){return this.states.get(this.clientID)||null}setLocalState(t){const e=this.clientID,r=this.meta.get(e),i=r===void 0?0:r.clock+1,o=this.states.get(e);t===null?this.states.delete(e):this.states.set(e,t),this.meta.set(e,{clock:i,lastUpdated:Es()});const s=[],l=[],c=[],u=[];t===null?u.push(e):o==null?t!=null&&s.push(e):(l.push(e),eu(o,t)||c.push(e)),(s.length>0||c.length>0||u.length>0)&&this.emit("change",[{added:s,updated:c,removed:u},"local"]),this.emit("update",[{added:s,updated:l,removed:u},"local"])}setLocalStateField(t,e){const r=this.getLocalState();r!==null&&this.setLocalState({...r,[t]:e})}getStates(){return this.states}}const Qb=(n,t,e)=>{const r=[];for(let i=0;i<t.length;i++){const o=t[i];if(n.states.has(o)){if(n.states.delete(o),o===n.clientID){const s=n.meta.get(o);n.meta.set(o,{clock:s.clock+1,lastUpdated:Es()})}r.push(o)}}r.length>0&&(n.emit("change",[{added:[],updated:[],removed:r},e]),n.emit("update",[{added:[],updated:[],removed:r},e]))},nu=(n,t,e=n.states)=>{const r=t.length,i=Jn();Ue(i,r);for(let o=0;o<r;o++){const s=t[o],l=e.get(s)||null,c=n.meta.get(s).clock;Ue(i,s),Ue(i,c),al(i,JSON.stringify(l))}return Xt(i)},d3=(n,t,e)=>{const r=Rs(t),i=Es(),o=[],s=[],l=[],c=[],u=qe(r);for(let d=0;d<u;d++){const h=qe(r);let g=qe(r);const p=JSON.parse(gs(r)),m=n.meta.get(h),y=n.states.get(h),w=m===void 0?0:m.clock;(w<g||w===g&&p===null&&n.states.has(h))&&(p===null?h===n.clientID&&n.getLocalState()!=null?g++:n.states.delete(h):n.states.set(h,p),n.meta.set(h,{clock:g,lastUpdated:i}),m===void 0&&p!==null?o.push(h):m!==void 0&&p===null?c.push(h):p!==null&&(eu(p,y)||l.push(h),s.push(h)))}(o.length>0||l.length>0||c.length>0)&&n.emit("change",[{added:o,updated:l,removed:c},e]),(o.length>0||s.length>0||c.length>0)&&n.emit("update",[{added:o,updated:s,removed:c},e])},f3=n=>iU(n,(t,e)=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&"),qs=0,AN=3,Ba=1,h3=2,Vu=[];Vu[qs]=(n,t,e,r,i)=>{Ue(n,qs);const o=l3(t,n,e.doc,e);r&&o===Jb&&!e.synced&&(e.synced=!0)};Vu[AN]=(n,t,e,r,i)=>{Ue(n,Ba),sn(n,nu(e.awareness,Array.from(e.awareness.getStates().keys())))};Vu[Ba]=(n,t,e,r,i)=>{d3(e.awareness,Gn(t),e)};Vu[h3]=(n,t,e,r,i)=>{c3(t,e.doc,(o,s)=>g3(e,s))};const bS=3e4,g3=(n,t)=>console.warn(`Permission denied to access ${n.url}.
17
- ${t}`),yN=(n,t,e)=>{const r=Rs(t),i=Jn(),o=qe(r),s=n.messageHandlers[o];return s?s(i,r,n,e,o):console.error("Unable to compute message"),i},bN=n=>{if(n.shouldConnect&&n.ws===null){const t=new n._WS(n.url);t.binaryType="arraybuffer",n.ws=t,n.wsconnecting=!0,n.wsconnected=!1,n.synced=!1,t.onmessage=e=>{n.wsLastMessageReceived=Es();const r=yN(n,new Uint8Array(e.data),!0);Ab(r)>1&&t.send(Xt(r))},t.onerror=e=>{n.emit("connection-error",[e,n])},t.onclose=e=>{n.emit("connection-close",[e,n]),n.ws=null,n.wsconnecting=!1,n.wsconnected?(n.wsconnected=!1,n.synced=!1,Qb(n.awareness,Array.from(n.awareness.getStates().keys()).filter(r=>r!==n.doc.clientID),n),n.emit("status",[{status:"disconnected"}])):n.wsUnsuccessfulReconnects++,setTimeout(bN,mb(Cz(2,n.wsUnsuccessfulReconnects)*100,n.maxBackoffTime),n)},t.onopen=()=>{n.wsLastMessageReceived=Es(),n.wsconnecting=!1,n.wsconnected=!0,n.wsUnsuccessfulReconnects=0,n.emit("status",[{status:"connected"}]);const e=Jn();if(Ue(e,qs),jA(e,n.doc),t.send(Xt(e)),n.awareness.getLocalState()!==null){const r=Jn();Ue(r,Ba),sn(r,nu(n.awareness,[n.doc.clientID])),t.send(Xt(r))}},n.emit("status",[{status:"connecting"}])}},vm=(n,t)=>{const e=n.ws;n.wsconnected&&e&&e.readyState===e.OPEN&&e.send(t),n.bcconnected&&Ea(n.bcChannel,t,n)};class wN extends R1{constructor(t,e,r,{connect:i=!0,awareness:o=new u3(r),params:s={},WebSocketPolyfill:l=WebSocket,resyncInterval:c=-1,maxBackoffTime:u=2500,disableBc:d=!1}={}){for(super();t[t.length-1]==="/";)t=t.slice(0,t.length-1);const h=f3(s);this.maxBackoffTime=u,this.bcChannel=t+"/"+e,this.url=t+"/"+e+(h.length===0?"":"?"+h),this.roomname=e,this.doc=r,this._WS=l,this.awareness=o,this.wsconnected=!1,this.wsconnecting=!1,this.bcconnected=!1,this.disableBc=d,this.wsUnsuccessfulReconnects=0,this.messageHandlers=Vu.slice(),this._synced=!1,this.ws=null,this.wsLastMessageReceived=0,this.shouldConnect=i,this._resyncInterval=0,c>0&&(this._resyncInterval=setInterval(()=>{if(this.ws&&this.ws.readyState===WebSocket.OPEN){const g=Jn();Ue(g,qs),jA(g,r),this.ws.send(Xt(g))}},c)),this._bcSubscriber=(g,p)=>{if(p!==this){const m=yN(this,new Uint8Array(g),!1);Ab(m)>1&&Ea(this.bcChannel,Xt(m),this)}},this._updateHandler=(g,p)=>{if(p!==this){const m=Jn();Ue(m,qs),o3(m,g),vm(this,Xt(m))}},this.doc.on("update",this._updateHandler),this._awarenessUpdateHandler=({added:g,updated:p,removed:m},y)=>{const w=g.concat(p).concat(m),v=Jn();Ue(v,Ba),sn(v,nu(o,w)),vm(this,Xt(v))},this._exitHandler=()=>{Qb(this.awareness,[r.clientID],"app closed")},ks&&typeof process<"u"&&process.on("exit",this._exitHandler),o.on("update",this._awarenessUpdateHandler),this._checkInterval=setInterval(()=>{this.wsconnected&&bS<Es()-this.wsLastMessageReceived&&this.ws.close()},bS/10),i&&this.connect()}get synced(){return this._synced}set synced(t){this._synced!==t&&(this._synced=t,this.emit("synced",[t]),this.emit("sync",[t]))}destroy(){this._resyncInterval!==0&&clearInterval(this._resyncInterval),clearInterval(this._checkInterval),this.disconnect(),ks&&typeof process<"u"&&process.off("exit",this._exitHandler),this.awareness.off("update",this._awarenessUpdateHandler),this.doc.off("update",this._updateHandler),super.destroy()}connectBc(){if(this.disableBc)return;this.bcconnected||(n3(this.bcChannel,this._bcSubscriber),this.bcconnected=!0);const t=Jn();Ue(t,qs),jA(t,this.doc),Ea(this.bcChannel,Xt(t),this);const e=Jn();Ue(e,qs),pN(e,this.doc),Ea(this.bcChannel,Xt(e),this);const r=Jn();Ue(r,AN),Ea(this.bcChannel,Xt(r),this);const i=Jn();Ue(i,Ba),sn(i,nu(this.awareness,[this.doc.clientID])),Ea(this.bcChannel,Xt(i),this)}disconnectBc(){const t=Jn();Ue(t,Ba),sn(t,nu(this.awareness,[this.doc.clientID],new Map)),vm(this,Xt(t)),this.bcconnected&&(r3(this.bcChannel,this._bcSubscriber),this.bcconnected=!1)}disconnect(){this.shouldConnect=!1,this.disconnectBc(),this.ws!==null&&this.ws.close()}connect(){this.shouldConnect=!0,!this.wsconnected&&this.ws===null&&(bN(this),this.connectBc())}}const p3="0.6.8",m3={version:p3},A3=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"}`),y3={editor:A3},b3=JSON.parse(`{"placeholder":"Escribe algo o pulsa '/' para comandos...","heading":{"h1":"Encabezado 1","h2":"Encabezado 2","h3":"Encabezado 3","name":"Encabezado"},"close":"Cerrar","upload":"Subir","unsavedChanges":{"title":"Cambios no guardados","message":"¿Está seguro de que desea cerrar la página? Todos los datos no guardados se perderán.","cancel":"Cancelar","closeWithoutSaving":"Cerrar sin guardar"},"menu":{"heading":{"title":"Encabezados","hintShowCase":"Tus ideas, documentos y planes. Unidos. Bienvenido a {{projectName}}: un espacio de trabajo conectado donde el trabajo mejora y se acelera.","h1":{"subtitle":"Encabezado grande","hintDescription":"H1 se utiliza para crear el encabezado principal de una página o sección, estableciendo el tema general. También se utiliza para generar automáticamente el índice de contenidos del documento.","keywords":{"header1":"encabezado1","headerOne":"encabezadouno","h1":"h1"}},"h2":{"subtitle":"Encabezado mediano","hintDescription":"H2 se utiliza para crear un encabezado secundario de una página o sección, estableciendo un tema general. También se utiliza para generar automáticamente el índice de contenidos.","keywords":{"header2":"encabezado2","headerTwo":"encabezadodos","h2":"h2"}},"h3":{"subtitle":"Encabezado pequeño","hintDescription":"H3 se utiliza para crear un subencabezado de una página o sección. También genera automáticamente el índice de contenidos.","keywords":{"header3":"encabezado3","headerThree":"encabezadotres","h3":"h3"}}},"lists":{"title":"Listas","numberList":{"name":"Lista numerada","subtitle":"Una lista numerada simple","hint":{"firstItem":"Primer elemento","secondItem":"Segundo elemento","firstSubItem":"Primer subelemento","secondSubItem":"Segundo subelemento","firstSubSubItem":"Primer sub-subelemento","secondSubSubItem":"Segundo sub-subelemento","description":"Esta herramienta crea una lista con elementos que se numeran automáticamente al agregar nuevas filas."}},"bulletList":{"name":"Lista con viñetas","subtitle":"Lista con marcadores automáticos","hint":{"firstItem":"Primer elemento","secondItem":"Segundo elemento","firstSubItem":"Primer subelemento","secondSubItem":"Segundo subelemento","firstSubSubItem":"Primer sub-subelemento","secondSubSubItem":"Segundo sub-subelemento","description":"Crea una lista cuyos elementos están marcados automáticamente con viñetas."}},"checkList":{"name":"Lista de tareas","subtitle":"Gestión de tareas fácil","hint":{"indeterminate":"Indeterminado","unchecked":"No marcado","checked":"Marcado","description":"Crea una lista de tareas con opción de marcar como completadas."}}},"main":{"title":"Elementos básicos","paragraph":{"name":"Párrafo","subtitle":"Comienza a escribir texto normal","hint":{"text":"Tus ideas, documentos y planes. Unidos. Bienvenido a {{projectName}}: un espacio de trabajo conectado donde el trabajo mejora y se acelera.","description":"Un bloque de texto alineado a la izquierda."}},"quote":{"name":"Cita","subtitle":"Escribe una cita","hint":{"text":"/quote Tus ideas, documentos y planes. Unidos. Bienvenido a {{projectName}}: un espacio de trabajo conectado donde el trabajo mejora y se acelera.","description":"Inserta citas o destaca bloques de texto importantes."}},"collapse":{"name":"Plegable","subtitle":"Oculta contenido del bloque","hint":{"firstItemEmpty":"Primer elemento vacío","secondItem":"Segundo elemento","firstSubItemEmpty":"Primer subelemento vacío","secondSubItem":"Segundo subelemento","firstSubSubItemEmpty":"Primer sub-subelemento vacío","secondSubSubItem":"Segundo sub-subelemento","description":"Crea bloques cuyo contenido se puede ocultar o mostrar al hacer clic."}},"horizontal-rule":{"name":"Divisor","subtitle":"Visualiza divisores de bloques","hint":{"topText":"Presionó la barra diagonal. Luego ingresó algo...","bottomText":"Al día siguiente, todo quedó más claro. Lo que ayer era desconocido, hoy es familiar. Por ejemplo...","description":"Separa visualmente secciones o bloques de texto."}},"table":{"name":"Tabla","subtitle":"Agrega una tabla simple a la página","hint":{"firstRow":"Primera celda con texto","secondRow":"Otra celda con texto","description":"Crea tablas con múltiples filas y columnas para organizar datos."}},"grid":{"name":"Cuadrícula","subtitle":"Hasta 4 columnas de bloques","hint":{"firstColumn":"Al día siguiente todo fue más claro...","secondColumn":"Tus ideas, documentos y planes. Unidos...","description":"Divide el documento en múltiples columnas que pueden contener bloques."}},"code":{"name":"Código","subtitle":"Escribe un fragmento de código","copy":"Copiar código","exitCommandText":"Shift + Enter para salir del bloque","collapsible":{"hidden":"Colapsar código","expand":"Expandir código"},"hint":{"description":"Inserta fragmentos de código con resaltado de sintaxis."}},"callout":{"name":"Llamado","subtitle":"Destaca un bloque de texto","hint":{"description":"-."}}},"callout":{"title":"Llamado","default":{"name":"Por defecto","hint":{"description":"Bloque de texto alineado a la izquierda.","body":"/callout Tus ideas, documentos y planes. Unidos. Bienvenido a {{projectName}}..."},"keywords":{"callout":"llamado","type":"default"},"subtitle":"Llamado por defecto"},"success":{"name":"Éxito","subtitle":"Notificación de éxito","keywords":{"callout":"llamado","type":"success"}},"warning":{"name":"Advertencia","hint":{"description":"Bloque de texto alineado a la izquierda."},"keywords":{"callout":"llamado","type":"warning"},"subtitle":"Notificación importante"},"alert":{"name":"Alerta","hint":{"description":"Bloque de texto alineado a la izquierda."},"keywords":{"callout":"llamado","type":"alert"},"subtitle":"Notificación crítica"}},"media":{"title":"Multimedia","photo":{"name":"Imagen","hint":{"description":"Agrega una imagen a la página."},"subtitle":"Sube o enlaza una imagen"},"form":{"name":"Formulario","subtitle":"Agrega un formulario"},"video":{"name":"Video","hint":{"description":"Incrusta un video en la página."},"subtitle":"Agrega un video"},"file":{"name":"Archivo","hint":{"description":"Sube archivos de hasta 500 MB para que puedan ser descargados por quienes tengan el enlace."},"subtitle":"Agrega un archivo"},"audio":{"name":"Audio","hint":{"description":"Sube archivos de audio de hasta 5 MB para compartir y escuchar."},"subtitle":"Agrega un audio"},"excalidraw":{"name":"Dibujo","hint":{"description":"Dibuja cualquier esquema o paisaje. Creatividad sin límites."},"keywords":{"video":"dibujo"},"subtitle":"Trabaja con gráficos vectoriales"}},"other":{"title":"Otros","documents":{"empty":"No tienes documentos anidados","name":"Documentos Anidados","subtitle":"Muestra una lista de documentos anidados"},"emoji":{"name":"Emoji","subtitle":"Agrega emoji"}},"integrations":{"title":"Integraciones"}},"toolbar":{"turnInto":"Convertir en","bold":"Negrita","italic":"Cursiva","underline":"Subrayado","strike":"Tachado","superscript":"Superíndice","subscript":"Subíndice","align":"Alineación","left":"Alinear a la izquierda","center":"Alinear al centro","right":"Alinear a la derecha","justify":"Justificar","indent":"Aumentar sangría","outdent":"Disminuir sangría","color":"Color","code":"Código","link":"Agregar enlace","clear":"Quitar formato","comment":"Comentario"},"link":{"linkName":"Nombre del enlace","link":"Enlace","save":"Guardar","remove":"Eliminar","edit":"Editar","copy":"Copiar"},"contextMenu":{"copy":"Copiar","cut":"Cortar","paste":"Pegar","delete":"Eliminar","add":"Agregar","selectAll":"Seleccionar todo","duplicate":"Duplicar","appearance":"Apariencia"},"colors":{"lastTimeUsed":"Último uso","color":"Color","background":"Fondo","theme":"Tema","colors":{"standard":"Estándar","gray":"Gris","brown":"Marrón","orange":"Naranja","yellow":"Amarillo","green":"Verde","blue":"Azul","purple":"Púrpura","pink":"Rosa","red":"Rojo"},"callout":{"success":"Éxito","alert":"Alerta","warning":"Advertencia"}},"video":{"insert":"Insertar","apply":"Aplicar","worksWith":"Funciona con","add_video":"Agregar video"},"swagger":{"insert":"Swagger","worksWith":"Funciona con","add":"Agregar Swagger"},"image":{"add_photo":"Agregar imagen","preview":"Vista previa"},"file":{"add_file":"Agregar archivo"},"audio":{"add_audio":"Agregar audio"},"mention":{"mark":"Mencionar a alguien"},"validation":{"link":"Enlace inválido","shouldNotExceed":"El tamaño del archivo no debe exceder {{maxSize}} MB.","doNotUploadMoreThanSingleFile":"Por favor, no subas más de un archivo.","swaggerUnavailable":"La documentación de Swagger no está disponible. Asegúrese de que la URL sea correcta y que el servidor esté respondiendo."},"table":{"background_one":"Color de fondo de celda","background_other":"Color de fondo de las celdas","settings":"Configuraciones","menu":{"addColAfter":"Agregar columna a la derecha","addColBefore":"Agregar columna a la izquierda","addRowAbove":"Agregar fila arriba","addRowBelow":"Agregar fila abajo","deleteCol":"Eliminar columna","deleteRow":"Eliminar fila","mergeCells":"Combinar celdas","disconnectCells":"Desconectar celdas","splitCell":"Dividir celda","deleteTable":"Eliminar tabla","insertRow_one":"Insertar fila","insertRow_other":"Insertar {{count}} filas","deleteRow_one":"Eliminar fila","deleteRow_other":"Eliminar {{count}} filas","insertCol_one":"Insertar columna","insertCol_other":"Insertar {{count}} columnas","deleteCol_one":"Eliminar columna","deleteCol_other":"Eliminar {{count}} columnas","headTable_col":"Columna de fila {{value}}","headTable_row":"Encabezado de fila {{value}}","below":"Debajo","above":"Arriba","left":"Izquierda","right":"Derecha","row":"Fila","rows":"Filas","column":"Columna","columns":"Columnas"}},"column":{"name":"Insertar cuadrícula","insert":"Insertar","columns":"Columnas","addRight":"Agregar columna a la derecha","addLeft":"Agregar columna a la izquierda","moveLeft":"Mover columna a la izquierda","changeColor":"Cambiar color de la columna","moveRight":"Mover columna a la derecha","deleteColumn":"Eliminar columna"},"hoverOptions":{"addNewBlockBelow":"Agregar bloque debajo","addNewBlockAbove":"Agregar bloque arriba","drag":"Arrastrar","click":"Clic","clickAction":"Para abrir el menú","dragAction":"Para mover"},"embed":{"placeholder":"Introduce una URL válida para incrustar","insert":"Insertar","addEmbed":"Agregar incrustación"},"content":"Contenido","emoji":{"emojis":"Emoji","icons":"Íconos","search":"Buscar","searchResults":"Resultado de búsqueda","searchNoResults":"Emoji no encontrado","remove":"Eliminar","emojiCategory":{"frequent":"Usados frecuentemente","people":"Emociones y personas","nature":"Animales y naturaleza","foods":"Comida y bebidas","activity":"Actividades","places":"Viajes y lugares","objects":"Objetos","symbols":"Símbolos","flags":"Banderas"}},"form":{"url":"Introduce una URL válida."},"noTitle":"Sin título","gallery":{"download":"Descargar","close":"Cerrar","errorFile":"No se pudo descargar el archivo"},"emptyPageOptions":{"heading":"Un encabezado que generará automáticamente un índice interactivo","grid":"La cuadrícula ayuda a estructurar horizontalmente la página","list":"Lista numerada para estructurar fácilmente reuniones","template":"Crear desde plantilla","code":"Bloque de código con resaltado de sintaxis","callout":"Llamado para resaltar información","table":"Tabla para encontrar dependencias en los datos","integrations":"Muchas integraciones de servicios externos"},"comments":{"title":"Comentarios","edited":"editado","filter":{"resolved":"Resueltos","open":"Abiertos","all":"Todos","selectUsers":"Filtrar por usuarios","searchPlaceholder":"Buscar usuarios","emptyPlaceholder":"No se encontraron usuarios","byStatus":"Filtrar por estado","byPerson":"Filtrar por persona"},"generalComment":"Agregar comentario general","addComment":"Agregar comentario","replyComment":"Escribe tu respuesta","inputEditor":{"uploadFiles":"Subir archivos","sendMessage":"Enviar mensaje","editMessage":"Editar mensaje","clear":"Limpiar","clearModal":{"title":"Limpiar entrada","description":{"both":"¿Está seguro de que desea eliminar el texto y los archivos?","text":"¿Está seguro de que desea eliminar el texto?","files":"¿Está seguro de que desea eliminar los archivos?","empty":"¿Limpiar el campo de entrada?"}},"discardModal":{"title":"Salir sin guardar","description":"Si sales ahora, se perderán todos los cambios no guardados.","labels":{"confirm":"Sí, salir","cancel":"Cerrar"}},"cancelCommentModal":{"description":"Si sales ahora, tu borrador de comentario se eliminará y no se publicará."}},"notifications":{"title":"Notificarme sobre:","description":"Siempre recibirás notificaciones sobre menciones","options":{"all":"Todos los comentarios","replies":"Respuestas"},"uploadMessages":{"tooManyFiles":"¡Puedes subir como máximo 10 archivos!","fileTooLarge":"¡Los archivos de más de 5 MB no se subirán!","fileLimit":"Has alcanzado el límite de 10 archivos"}},"actionTooltips":{"resolve":"Resolver","reopen":"Reabrir","addReaction":"Agregar reacción","reactionLimit":"Has alcanzado el límite de reacciones","reply":"Responder"},"menuActions":{"edit":"Editar","delete":"Eliminar","download":"Descargar"},"deleteModal":{"title":{"thread":"Eliminar hilo","general":"Eliminar discusión general","comment":"Eliminar respuesta"},"description":{"thread":"¿Estás seguro de que deseas eliminar este hilo y todas sus respuestas?","general":"¿Estás seguro de que deseas eliminar esta discusión general y todas sus respuestas?","comment":"¿Estás seguro de que deseas eliminar esta respuesta?"},"actions":{"cancel":"Cancelar","remove":"Quitar","delete":"Eliminar"}},"repliesToggle":{"show_one":"Mostrar {{count}} comentario más","show_other":"Mostrar {{count}} comentarios más","hide":"Ocultar respuestas"},"emptyState":{"not-resolved":"No hay comentarios abiertos","resolved":"No hay comentarios resueltos","all":"No hay comentarios","userFilter":"No se encontraron comentarios para el usuario seleccionado"}},"ai":{"placeholder":"Prompt personalizado","copied":"copiado","copy":"copiar","back":"Atrás","menu":{"style":{"professional":"Profesional","straightforward":"Directo","passiveAggressive":"Pasivo-agresivo","friendly":"Amistoso","poetic":"Poético","passive_aggressive":"Pasivo agresivo","pirate":"Pirata"},"main":{"modifySelection":"Modificar selección","improveWriting":"Mejorar redacción","fixMistakes":"Corregir errores","simplify":"Simplificar","addMoreDetail":"Agregar más detalle","generate":"Generar","summarise":"Resumir","translate":"Traducir a...","changeStyle":"Cambiar estilo a...","explain":"Explicar"},"answer":{"replaceSelection":"Reemplazar selección","addTextInline":"Agregar texto en línea","addBelowParagraph":"Agregar debajo del párrafo","modifyFurther":"Modificar más","continueWriting":"Seguir escribiendo","regenerate":"Regenerar","otherOptions":"Otras opciones","discard":"Descartar"},"languages":{"arabic":"Árabe","bengali":"Bengalí","chinese":"Chino","dutch":"Holandés","english":"Inglés","french":"Francés","german":"Alemán","hindi":"Hindi","japanese":"Japonés","korean":"Coreano","nepali":"Nepalí","portuguese":"Portugués","spanish":"Español"}}},"actions":{"delete":"Eliminar","align":"Alineación"},"cancel":"Cancelar"}`),wS={editor:b3},w3=JSON.parse(`{"placeholder":"Напишите что-нибудь, или нажмите '/' для команд...","upload":"Загрузить","heading":{"h1":"Заголовок 1","h2":"Заголовок 2","h3":"Заголовок 3","name":"Заголовок"},"close":"Закрыть","unsavedChanges":{"title":"Несохранённые изменения","message":"Вы действительно хотите закрыть страницу? Все несохранённые данные будут потеряны.","cancel":"Отмена","closeWithoutSaving":"Закрыть без сохранения"},"menu":{"heading":{"title":"Заголовоки","hintShowCase":"Ваши Идеи, Документы и Планы. Объединены. Добро пожаловать в {{projectName}} — это связанное рабочее пространство, где работа становится лучше и быстрее.","h1":{"subtitle":"Большой заголовок","hintDescription":"H1 используется для создания основного заголовка страницы или раздела, который задает общую тему. Так же используется для автоматического формирования содержания документа.","keywords":{"heading":"оглавление","header1":"заголовок1","headerOne":"заголовокодин","h1":"з1"}},"h2":{"subtitle":"средний заголовок","hintDescription":"H2 используется для создания дополнительного заголовка страницы или раздела, который задает общую тему. Так же используется для автоматического формирования содержания документа.","keywords":{"heading":"оглавление","header2":"заголовок2","headerTwo":"заголовокдва","h2":"з2"}},"h3":{"subtitle":"Маленький заголовок","hintDescription":"H3 используется для создания подзаголовка страницы или раздела, который задает общую тему. Так же используется для автоматического формирования содержания документа.","keywords":{"heading":"оглавление","header3":"заголовок3","headerThree":"заголовоктри","h3":"з3"}}},"lists":{"title":"Списки","numberList":{"name":"Нумерованный Список","subtitle":"Простой нумерованный список","hint":{"firstItem":"Первый пункт","secondItem":"Второй пункт","firstSubItem":"Первый подпункт","secondSubItem":"Второй подпункт","firstSubSubItem":"Первый подподпункт","secondSubSubItem":"Второй подподпункт","description":"Этот инструмент создает список с элементами, которые автоматически нумеруются при добавлении новых строк."},"keywords":{"headingList":"нумерованныйсписок","heading":"нумерация","markers":"цифры"}},"bulletList":{"name":"Маркированный список","subtitle":"Автоматически маркированный список","hint":{"firstItem":"Первый пункт","secondItem":"Второй пункт","firstSubItem":"Первый подпункт","secondSubItem":"Второй подпункт","firstSubSubItem":"Первый подподпункт","secondSubSubItem":"Второй подподпункт","description":"Этот инструмент создает список с элементами, которые маркируются автоматически при добавлении новых строк."},"keywords":{"headingList":"маркированныйсписок","heading":"маркеры","markers":"точки","bulletsAlt1":"буллеты","bulletsAlt2":"булеты"}},"checkList":{"name":"Чек-лист","subtitle":"Простое управление задачами","hint":{"indeterminate":"Неопределен","unchecked":"Неотмечен","checked":"Отмечен","description":"Создает список задач с возможностью отметки выполненных пунктов и подпунктов"},"keywords":{"headingList":"списокзадач","heading":"чеклист","markers":"флажки","shoppingList":"списокпокупок"}}},"main":{"title":"Базовые","paragraph":{"name":"Парараграф","subtitle":"Просто начнийте писать обычным текстом","hint":{"text":"Ваши Идеи, Документы и Планы. Объединены. Добро пожаловать в {{projectName}} — это связанное рабочее пространство, где работа становится лучше и быстрее.","description":"Несколько строк текста, выровненных по левому краю, имитирующих текстовый блок"},"keywords":{"paragraph":"параграф","text":"текст"}},"quote":{"name":"Цитата","subtitle":"Запишите цитату","hint":{"text":"/quote Ваши Идеи, Документы и Планы. Объединены. Добро пожаловать в {{projectName}} — это связанное рабочее пространство, где работа становится лучше и быстрее. Оставайтесь сосредоточенными, действуйте слаженно и добивайтесь большего с Layers.","description":"Используется для вставки цитат или выделения важных блоков текста. Визуально выносится отдельно от основного текста"},"keywords":{"quote":"цитата","mark":"кавычки","citation":"цитирование"}},"collapse":{"name":"Сворачиваемый","subtitle":"Прячет содержимое блока","hint":{"firstItemEmpty":"Первый пункт пустой","secondItem":"Второй пункт","firstSubItemEmpty":"Первый подпункт пустой","secondSubItem":"Второй подпункт","firstSubSubItemEmpty":"Первый подподпункт пустой ","secondSubSubItem":"Второй подподпункт","description":"Используется для создания блоков с содержимым, которое можно скрыть или показать при нажатии. Внутри такого списка может быть почти любой другой блок"},"keywords":{"collapsibleList":"сворачиваемыйсписок","expandList":"раскрыть","hideList":"скрыть","turnList":"свернуть"}},"horizontal-rule":{"name":"Разделитель","subtitle":"Визуализирует разделитель блоков","hint":{"topText":"нажал на слэш. Потом что-то ввёл...","bottomText":"На следующий день всё стало яснее и понятнее. Будто то, что ещё вчера было чем-то неизведанным сегодня стало совершенно знакомым и обыденным. Вот взять, к примеру","description":"Используется для визуального разделения разделов или блоков текста на странице"},"keywords":{"divider":"разделитель","horizontalLine":"линия","border":"граница"}},"table":{"name":"Таблица","subtitle":"Добавьте на свою страницу простую таблицу","hint":{"firstRow":"Первая ячейка заполненная текстом","secondRow":"И ещё одна с текстом ячейка","description":"Инструмент для создания таблиц с несколькими строками и столбцами для организации данных"},"keywords":{"table":"таблица"}},"grid":{"name":"Сетка","subtitle":"До 4-х колонок из блоков","hint":{"firstColumn":"На следующий день всё стало яснее и понятнее. Будто то, что ещё вчера было чем-то неизведанным сегодня стало совершенно знакомым и обыденным. Вот взять, к примеру","secondColumn":"Ваши Идеи, Документы и Планы. Объединены. Добро пожаловать в {{projectName}} — это связанное рабочее пространство, где работа становится лучше и быстрее.","description":"Инструмент для разделения докуента на несколько столбцов, в которые можно помещать любые блоки"},"keywords":{"net":"сетка","grid":"грид","columns":"столбцы"}},"code":{"name":"Код","subtitle":"Запишите фрагмент кода","copy":"Копировать код","exitCommandText":"Shift + Enter чтобы выйти из блока кода","collapsible":{"hidden":"Свернуть код","expand":"Развернуть код"},"hint":{"description":"Инструмент для вставки фрагментов программного кода с подсветкой синтаксиса"},"keywords":{"code":"код","snippet":"сниппет"}}},"media":{"title":"Медиа","photo":{"name":"Картинка","hint":{"description":"Инструмент для добавления изображения на страницу"},"keywords":{"picture":"картинка","display":"изображение","meme":"мем","drawing":"иллюстрация","memePic":"пикча"},"subtitle":"Загрузите и разместите с помощью ссылки"},"form":{"name":"Форма","subtitle":"Добавьте форму"},"video":{"name":"Видео","hint":{"description":"Инструмент для вставки видео на страницу"},"keywords":{"video":"видео"},"subtitle":"Добавьте видео"},"file":{"name":"Файл","hint":{"description":"Загружайте любые файлы объёмом до 500 Мб и они будут доступны для скачивания всем, с кем вы поделитесь ссылкой на эту страницу."},"keywords":{"video":"файл"},"subtitle":"Добавьте файл"},"audio":{"name":"Аудио","hint":{"description":"Загружайте любые аудиофайлы объёмом до 5 Мб и они будут доступны для скачивания и прослушивания всем, с кем вы поделитесь ссылкой на эту страницу."},"keywords":{"video":"аудио"},"subtitle":"Добавьте аудио"},"excalidraw":{"name":"Доска для рисования","hint":{"description":"Нарисуй любую схему или концепт. Полная свобода творчества — всё в твоих руках."},"keywords":{"draw":"рисовать","drawing":"рисовалка"},"subtitle":"Работайте с векторной графикой"}},"callout":{"title":"Уведомления","default":{"name":"По умолчанию","hint":{"description":"Несколько строк текста, выровненных по левому краю, имитирующих текстовый блок.","body":"/callout Ваши Идеи, Документы и Планы. Объединены. Добро пожаловать в {{projectName}} — это связанное рабочее пространство, где работа становится лучше и быстрее. Ваши Идеи и Планы. Объединены. Добро пожаловать в {{projectName}} — это связанное рабочее пространство, где работа становится лучше и быстрее. Ваши Идеи, Документы и Планы. Объединены. Добро пожаловать в {{projectName}} — это связанное рабочее пространство, где работа"},"keywords":{"callout":"оповещение","type":"поумолчанию"},"subtitle":"Уведомление по умолчанию"},"success":{"name":"Успех","subtitle":"Успешное уведомления","keywords":{"callout":"оповещение","type":"успех"}},"warning":{"name":"Предупреждение","hint":{"description":"Несколько строк текста, выровненных по левому краю, имитирующих текстовый блок."},"keywords":{"callout":"оповещение","type":"предупреждение"},"subtitle":"Важное уведомления"},"alert":{"name":"Внимание","hint":{"description":"Несколько строк текста, выровненных по левому краю, имитирующих текстовый блок."},"keywords":{"callout":"оповещение","type":"внимание"},"subtitle":"Критическое уведомление"}},"other":{"title":"Прочее","documents":{"empty":"У вас нет вложенных документов","name":"Вложенные документы","subtitle":"Отображает список вложенных документов"},"emoji":{"name":"Эмодзи","subtitle":"Добавьте эмодзи"}},"integrations":{"title":"Интеграции"}},"toolbar":{"turnInto":"Превратить в","bold":"Жирный","italic":"Курсив","underline":"Подчеркнутый","strike":"Зачеркнутый","superscript":"Надстрочный","subscript":"Подстрочный","align":"Выравнивание","left":"По левому краю","center":"По центру","right":"По правому краю","justify":"Выравнивание по ширине","indent":"Отступ","outdent":"Отступ","color":"Цвет","code":"Код","link":"Добавить ссылку","clear":"Очистить формат","comment":"Комментарий"},"link":{"linkName":"Название ссылки","link":"Ссылка","save":"Сохранить","remove":"Удалить","edit":"Редактировать","copy":"Копировать"},"contextMenu":{"copy":"Копировать","cut":"Вырезать","paste":"Вставить","delete":"Удалить","add":"Добавить","selectAll":"Выбрать все","duplicate":"Дублировать","appearance":"Внешний вид"},"colors":{"lastTimeUsed":"Последнее раз использовался","color":"Цвет","background":"Фон","theme":"Темы","colors":{"standard":"Стандартный","gray":"Серый","brown":"Коричневый","orange":"Оранжевый","yellow":"Желтый","green":"Зеленый","blue":"Синий","purple":"Фиолетовый","pink":"Розовый","red":"Красный"},"callout":{"success":"Успех","alert":"Внимание","warning":"Предупреждение"}},"video":{"insert":"Встроить","apply":"Применить","worksWith":"Работает с","add_video":"Добавить видео"},"swagger":{"insert":"Swagger","worksWith":"Works with","add":"Добавить Swagger"},"image":{"add_photo":"Добавить картинку","preview":"Превью"},"file":{"add_file":"Добавить файл"},"audio":{"add_audio":"Добавить аудио"},"mention":{"mark":"Отменить кого-то"},"validation":{"link":"Неверная ссылка","shouldNotExceed":"Размер файла не должен превышать {{maxSize}} МБ.","doNotUploadMoreThanSingleFile":"Пожалуйста, загружайте не более одного файла.","swaggerUnavailable":"Swagger-документация недоступна. Убедитесь, что адрес указан правильно и сервер отвечает."},"table":{"background_one":"Цвет фона ячейки","background_few":"Цвет фона ячеек","background_other":"Цвет фона ячеек","settings":"Настройки","menu":{"addColAfter":"Добавить столбец справа","addColBefore":"Добавить столбец слева","addRowAbove":"Добавить строку выше","addRowBelow":"Добавить строку ниже","deleteCol":"Удалить столбец","deleteRow":"Удалить строку","mergeCells":"Объединить ячейки","disconnectCells":"Разъединить ячейки","splitCell":"Разделить ячейку","deleteTable":"Удалить таблицу","insertRow_one":"Вставить строку","insertRow_few":"Вставить {{count}} строки","insertRow_many":"Вставить {{count}} строк","deleteRow_one":"Удалить строку","deleteRow_few":"Удалить {{count}} строки","deleteRow_many":"Удалить {{count}} строк","insertCol_one":"Вставить столбец","insertCol_few":"Вставить {{count}} столбца","insertCol_many":"Вставить {{count}} столбец","deleteCol_one":"Удалить столбец","deleteCol_few":"Удалить {{count}} столбца","deleteCol_many":"Удалить {{count}} столбец","headTable_col":"{{value}} заголовок столбца","headTable_row":"{{value}} заголовок строки","below":"ниже","above":"выше","left":"слева","right":"справа","row":"cтроку","rows":"cтроки","column":"cтолбец","columns":"cтолбца"}},"column":{"name":"Вставить сетку","insert":"Вставить","columns":"Колонки","addRight":"Добавить колонку справа","addLeft":"Добавить колонку слева","moveLeft":"Переместить колонку влево","moveRight":"Переместить колонку вправо","deleteColumn":"Удалить колонку","changeColor":"Поменять цвет колонки"},"hoverOptions":{"addNewBlockBelow":"Добавить блок выше","addNewBlockAbove":"Добавить блок ниже","drag":"Перетащите","click":"Нажмите","clickAction":"Чтобы открыть меню","dragAction":"Чтобы переместить"},"embed":{"placeholder":"Введите действительный URL-адрес для встраивания","insert":"Встроить","addEmbed":"Встроить внешний контент"},"content":"Содержание","emoji":{"emojis":"Эмодзи","icons":"Иконки","search":"Поиск","searchResults":"Результат поиска","searchNoResults":"Эмодзи не найдено","remove":"Удалить","emojiCategory":{"frequent":"Часто используемые","people":"Эмоции и люди","nature":"Животные и природа","foods":"Еда и напитки","activity":"Активности","places":"Путешествия и места","objects":"Предметы","symbols":"Символы","flags":"Флаги"}},"form":{"url":"Укажите правильный URL."},"noTitle":"Без названия","gallery":{"download":"Загрузить","close":"Закрыть","errorFile":"Не удалось загрузить файл"},"emptyPageOptions":{"heading":"Заголовок, который автоматически создаст интерактивное оглавление","template":"Создать из шаблона","grid":"Сетка поможет структурировать страницу по горизонтали","list":"Нумерованный список для удобного планирования встречи","code":"Блок кода с поддержкой синтаксиса","callout":"Выделенный блок для акцента","table":"Таблица для поиска зависимостей в данных","integrations":"Множество интеграций от сторонних сервисов"},"comments":{"title":"Комментарии","edited":"изменено","filter":{"resolved":"Решённые","open":"Открытые","all":"Все","selectUsers":"Фильтр по пользователю","searchPlaceholder":"Поиск по пользователю","emptyPlaceholder":"Пользователи отсутствуют","byStatus":"Фильтр по статусу","byPerson":"Фильтр по пользователю"},"generalComment":"Добавьте общий комментарий","addComment":"Добавьте комментарий","replyComment":"Введите ответ","inputEditor":{"uploadFiles":"Добавить файлы","sendMessage":"Отправить сообщение","editMessage":"Редактировать сообщение","clear":"Очистить","clearModal":{"title":"Очистить ввод","description":{"both":"Вы уверены, что хотите удалить текст и файлы?","text":"Вы уверены, что хотите удалить текст?","files":"Вы уверены, что хотите удалить файлы?","empty":"Очистить поле ввода?"}},"discardModal":{"title":"Выйти без сохранения","description":"Если вы выйдете сейчас, все несохранённые изменения будут потеряны.","labels":{"confirm":"Да, выйти","cancel":"Закрыть"}},"cancelCommentModal":{"description":"Если вы выйдете сейчас, черновик комментария будет удалён и он не будет опубликован."}},"notifications":{"title":"Уведомлять меня:","description":"Вы всегда будете получать уведомления при упоминаниях","options":{"all":"Все комментарии","replies":"Ответы"},"uploadMessages":{"tooManyFiles":"Можно загрузить не более 10 файлов!","fileTooLarge":"Файл(ы) больше 5MB не будут загружены!","fileLimit":"Вы достигли лимита, 10 файлов"}},"actionTooltips":{"resolve":"Отметить как решённый","reopen":"Открыть снова","addReaction":"Добавить реакцию","reactionLimit":"Вы достигли лимита реакций","reply":"Ответить"},"menuActions":{"edit":"Редактировать","delete":"Удалить","download":"Скачать"},"deleteModal":{"title":{"thread":"Удалить тред","general":"Удалить обсуждение","comment":"Удалить ответ"},"description":{"thread":"Вы уверены, что хотите удалить этот тред и все ответы к нему?","general":"Вы уверены, что хотите удалить это обсуждение и все связанные ответы?","comment":"Вы уверены, что хотите удалить этот ответ?"},"actions":{"cancel":"Отмена","remove":"Удалить","delete":"Удалить"}},"repliesToggle":{"show_one":"Показать ещё {{count}} комментарий","show_other":"Показать ещё {{count}} комментариев","hide":"Скрыть ответы"},"emptyState":{"not-resolved":"Нет открытых комментариев","resolved":"Нет решённых комментариев","all":"Нет комментариев","userFilter":"По выбранному пользователю комментариев не найдено"}},"actions":{"delete":"Удалить","align":"Выравнивание"},"ai":{"placeholder":"Пользовательский запрос","copied":"скопировано","copy":"копировать","back":"Назад","menu":{"style":{"professional":"Профессиональный","straightforward":"Простой и понятный","friendly":"Дружелюбный","poetic":"Поэтический","passiveAggressive":"Пассивно-агрессивный","pirate":"Пиратский"},"main":{"modifySelection":"Изменить выделение","improveWriting":"Улучшить текст","fixMistakes":"Исправить ошибки","simplify":"Упростить","addMoreDetail":"Добавить подробности","generate":"Сгенерировать","summarise":"Резюме","translate":"Перевести на...","changeStyle":"Изменить стиль на...","explain":"Объяснить"},"answer":{"replaceSelection":"Заменить выделение","addTextInline":"Добавить текст в строку","addBelowParagraph":"Добавить под абзацем","modifyFurther":"Дополнительно изменить","continueWriting":"Продолжить написание","regenerate":"Сгенерировать заново","otherOptions":"Другие варианты","discard":"Удалить"},"languages":{"arabic":"Арабский","bengali":"Бенгальский","chinese":"Китайский","dutch":"Голландский","english":"Английский","french":"Французский","german":"Немецкий","hindi":"Хинди","japanese":"Японский","korean":"Корейский","nepali":"Непальский","portuguese":"Португальский","spanish":"Испанский"}}},"cancel":"Отменить"}`),C3={editor:w3},v3={color:"Color",background:"Background",colors:{standard:"Standard",gray:"Gray",brown:"Brown",orange:"Orange",yellow:"Yellow",green:"Green",blue:"Blue",purple:"Purple",pink:"Pink",red:"Red"}},x3={gallery:"Gallery",upload:"Upload",uploadFile:"Upload file",maxFileSize:"Maximum file size - {{maxSize}}MB",link:"Link",pasteLink:"Paste image link...",pasteVideoLink:"Paste video link...",pasteAudioLink:"Paste audio link...",pasteFileLink:"Paste file link...",submitLink:"Apply",worksWithAnyImage:"Works with any image from the Internet",worksWithAnyFile:"Works with any files from the Internet",worksWithAnyVideo:"Works with MP4 video files, as well as YouTube, VK Video, and RuTube",worksWithAnyAudio:"Works with MP3 audio files",searchImage:"Search image...",noResult:"No images found for your query",change:"Change cover",invalidLink:"Invalid link",loadMore:"Load more",dragOrClickToChoose:"Drop file here or click to select",notSupported:"This file type is not supported"},S3={gallery:"Gallery",link:"Link",search:"Search",upload:"Upload",uploadFile:"Upload file",change:"Change",remove:"Remove",error:"Error",dragOrClickToChoose:"Drag the file here or click to select",maxFileSize:"Maximum file size is {{maxSize}} MB",pasteLink:"Paste the image link...",submitLink:"Apply",worksWithAnyImage:"Works with any images from the Internet",noImages:"No images",errors:{typeIsNotAllowed:"This file type is not supported",shouldNotExceed:"File size should not exceed {{maxSize}} MB.",doNotUploadMoreThanSingleFile:"Please upload no more than one file.",invalidLink:"Invalid link"}},E3={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"}},k3={save:"Save"},T3={searchResults:"Search results",icons:"Icons",searchNoResults:"No results found",categories:{activity:"Activities",custom:"Custom",flags:"Flags",foods:"Food and drinks",frequent:"Frequently used",nature:"Animals and nature",objects:"Objects",people:"Emotions and people",places:"Travel and places",symbols:"Symbols"}},_3="Emojis",N3="Remove",I3="Search",M3="No category",D3={colorPicker:v3,changeCover:x3,dropZone:S3,comments:E3,customDrawer:k3,emojiPicker:T3,emojis:_3,remove:N3,search:I3,noCat:M3},L3={color:"Цвет",background:"Подложка",colors:{standard:"Стандартный",gray:"Серый",brown:"Коричневый",orange:"Оранжевый",yellow:"Желтый",green:"Зеленый",blue:"Синий",purple:"Фиолетовый",pink:"Розовый",red:"Красный"}},O3={gallery:"Галерея",upload:"Загрузить",uploadFile:"Загрузить файл",maxFileSize:"Максимальный вес файла - {{maxSize}}МБ",link:"Ссылка",pasteLink:"Вставьте ссылку на изображение...",pasteVideoLink:"Вставьте ссылку на видео...",pasteAudioLink:"Вставьте ссылку на аудио...",pasteFileLink:"Вставьте ссылку на файл...",submitLink:"Применить",worksWithAnyImage:"Работает с любыми изображениями из Интернета",worksWithAnyFile:"Работает с любыми файлами из Интернета",worksWithAnyVideo:"Работает с видеофайлами формата mp4, а также с YouTube, VK Video и RuTube",worksWithAnyAudio:"Работает с аудиофайлами формата mp3",searchImage:"Поиск изображения...",noResult:"По вашему запросу изображений не найдено",change:"Изменить обложку",invalidLink:"Неверная ссылка",dragOrClickToChoose:"Перетащите файл сюда или нажмите, чтобы выбрать",loadMore:"Загрузить ещё",notSupported:"Этот тип файла не поддерживается"},R3={gallery:"Галерея",link:"Ссылка",search:"Поиск",upload:"Загрузить",uploadFile:"Загрузить файл",change:"Изменить",remove:"Удалить",error:"Ошибка",dragOrClickToChoose:"Перетащите файл сюда или кликните, чтобы выбрать",maxFileSize:"Максимальный размер файла — {{maxSize}} МБ",pasteLink:"Вставьте ссылку на изображение...",submitLink:"Применить",worksWithAnyImage:"Работает с любым изображением из Интернета",noImages:"Нет изображений",errors:{typeIsNotAllowed:"Этот тип файла не поддерживается",shouldNotExceed:"Размер файла не должен превышать {{maxSize}} МБ.",doNotUploadMoreThanSingleFile:"Пожалуйста, загружайте не более одного файла.",invalidLink:"Недопустимая ссылка"}},P3={title:"Комментарии",edited:"изменено",filter:{resolved:"Решённые",open:"Открытые",all:"Все",selectUsers:"Фильтр по пользователю",searchPlaceholder:"Поиск по пользователю",emptyPlaceholder:"Пользователи отсутствуют",byStatus:"Фильтр по статусу",byPerson:"Фильтр по пользователю"},generalComment:"Добавьте общий комментарий",addComment:"Добавьте комментарий",replyComment:"Введите ответ",inputEditor:{uploadFiles:"Добавить файлы",sendMessage:"Отправить сообщение",editMessage:"Редактировать сообщение",clear:"Очистить",clearModal:{title:"Очистить ввод",description:{both:"Вы уверены, что хотите удалить текст и файлы?",text:"Вы уверены, что хотите удалить текст?",files:"Вы уверены, что хотите удалить файлы?",empty:"Очистить поле ввода?"}},discardModal:{title:"Выйти без сохранения",description:"Если вы выйдете сейчас, все несохранённые изменения будут потеряны.",labels:{confirm:"Да, выйти",cancel:"Закрыть"}},cancelCommentModal:{description:"Если вы выйдете сейчас, черновик комментария будет удалён и он не будет опубликован."}},notifications:{title:"Уведомлять меня:",description:"Вы всегда будете получать уведомления при упоминаниях",options:{all:"Все комментарии",replies:"Ответы"},uploadMessages:{tooManyFiles:"Можно загрузить не более 10 файлов!",fileTooLarge:"Файл(ы) больше 5MB не будут загружены!",fileLimit:"Вы достигли лимита, 10 файлов"}},actionTooltips:{resolve:"Отметить как решённый",reopen:"Открыть снова",addReaction:"Добавить реакцию",reactionLimit:"Вы достигли лимита реакций",reply:"Ответить"},menuActions:{edit:"Редактировать",delete:"Удалить",download:"Скачать"},deleteModal:{title:{thread:"Удалить тред",general:"Удалить обсуждение",comment:"Удалить ответ"},description:{thread:"Вы уверены, что хотите удалить этот тред и все ответы к нему?",general:"Вы уверены, что хотите удалить это обсуждение и все связанные ответы?",comment:"Вы уверены, что хотите удалить этот ответ?"},actions:{cancel:"Отмена",remove:"Удалить",delete:"Удалить"}},repliesToggle:{show_one:"Показать ещё {{count}} комментарий",show_other:"Показать ещё {{count}} комментариев",hide:"Скрыть ответы"},emptyState:{"not-resolved":"Нет открытых комментариев",resolved:"Нет решённых комментариев",all:"Нет комментариев",userFilter:"По выбранному пользователю комментариев не найдено"}},B3={save:"Сохранить"},F3={searchResults:"Результаты поиска",searchNoResults:"Результаты не найдены",icons:"Иконки",categories:{activity:"Активности",custom:"Свои",flags:"Флаги",foods:"Еда и напитки",frequent:"Часто используемые",nature:"Животные и природа",objects:"Предметы",people:"Эмоции и люди",places:"Путешествия и места",symbols:"Символы"}},j3="Эмодзи",z3="Удалить",U3="Поиск",K3="Нет категории",W3={colorPicker:L3,changeCover:O3,dropZone:R3,comments:P3,customDrawer:B3,emojiPicker:F3,emojis:j3,remove:z3,search:U3,noCat:K3},zA=xF.createInstance();zA.use(pt.initReactI18next).init({resources:{en:{translation:y3,ui:D3},ru:{translation:C3,ui:W3},es:{translation:wS,ui:wS}},lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}}).then(()=>{}).catch(n=>{});let Zo=class extends Vi{constructor(e,r){super(r);F(this,"__format");this.__format=e||""}exportJSON(){return{...super.exportJSON(),format:this.__format||""}}updateFromJSON(e){return super.updateFromJSON(e).setFormat(e.format||"")}canIndent(){return!1}createDOM(){return document.createElement("div")}updateDOM(){return!1}setFormat(e){const r=this.getWritable();return r.__format=e,r}isInline(){return!1}};function dh(n){return n instanceof Zo}function CS(n,t){return n.getEditorState().read(()=>{const e=ve(t);return e!==null&&e.isSelected()})}function ig(n){const[t]=Me(),[e,r]=E.useState(()=>CS(t,n));return E.useEffect(()=>{let i=!0;const o=t.registerUpdateListener(()=>{i&&r(CS(t,n))});return()=>{i=!1,o()}},[t,n]),[e,E.useCallback(i=>{t.update(()=>{let o=J();Vt(o)||(o=Yy(),Ve(o)),Vt(o)&&(i?o.add(n):o.delete(n))})},[t,n]),E.useCallback(()=>{t.update(()=>{const i=J();Vt(i)&&i.clear()})},[t])]}function kl({children:n,format:t,nodeKey:e,className:r}){const[i]=Me(),[o,s,l]=ig(e),c=E.useRef(null);return E.useEffect(()=>tt(i.registerCommand(as,u=>{if(o){const d=J();if(Vt(d)){const h=ve(e);dh(h)&&h.setFormat(u)}else if(Y(d)){const h=d.getNodes();for(const g of h)dh(g)?g.setFormat(u):oc(g).setFormat(u)}return!0}return!1},Ne),i.registerCommand(jo,u=>u.target===c.current&&(u.preventDefault(),u.shiftKey||l(),s(!o),!0),Ne)),[l,i,o,e,s]),A.jsx("div",{className:[r.base,o?r.focus:null].filter(Boolean).join(" "),ref:c,style:{textAlign:t||void 0},children:n})}function og(){const n=E.useRef(null),t=E.useCallback(()=>{var r;return(r=n.current)==null||r.abort(),n.current=new AbortController,n.current.signal},[]),e=E.useCallback(()=>{var r;(r=n.current)==null||r.abort(),n.current=null},[]);return{start:t,cancel:e}}function H3(){const[n,t]=E.useState(!1),e=()=>t(!0),r=()=>t(!1);return E.useEffect(()=>{const i=o=>{n&&(o.preventDefault(),o.returnValue="")};return n&&window.addEventListener("beforeunload",i),()=>{n&&window.removeEventListener("beforeunload",i)}},[n]),{startLoading:e,stopLoading:r}}var $s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Y3(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var xm={exports:{}},vS;function Z3(){return vS||(vS=1,(function(n){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
18
- * Prism: Lightweight, robust, elegant syntax highlighting
19
- *
20
- * @license MIT <https://opensource.org/licenses/MIT>
21
- * @author Lea Verou <https://lea.verou.me>
22
- * @namespace
23
- * @public
24
- */var e=(function(r){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,s={},l={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function C(x){return x instanceof c?new c(x.type,C(x.content),x.alias):Array.isArray(x)?x.map(C):x.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(C){return Object.prototype.toString.call(C).slice(8,-1)},objId:function(C){return C.__id||Object.defineProperty(C,"__id",{value:++o}),C.__id},clone:function C(x,_){_=_||{};var N,T;switch(l.util.type(x)){case"Object":if(T=l.util.objId(x),_[T])return _[T];N={},_[T]=N;for(var k in x)x.hasOwnProperty(k)&&(N[k]=C(x[k],_));return N;case"Array":return T=l.util.objId(x),_[T]?_[T]:(N=[],_[T]=N,x.forEach(function(M,I){N[I]=C(M,_)}),N);default:return x}},getLanguage:function(C){for(;C;){var x=i.exec(C.className);if(x)return x[1].toLowerCase();C=C.parentElement}return"none"},setLanguage:function(C,x){C.className=C.className.replace(RegExp(i,"gi"),""),C.classList.add("language-"+x)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(N){var C=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(N.stack)||[])[1];if(C){var x=document.getElementsByTagName("script");for(var _ in x)if(x[_].src==C)return x[_]}return null}},isActive:function(C,x,_){for(var N="no-"+x;C;){var T=C.classList;if(T.contains(x))return!0;if(T.contains(N))return!1;C=C.parentElement}return!!_}},languages:{plain:s,plaintext:s,text:s,txt:s,extend:function(C,x){var _=l.util.clone(l.languages[C]);for(var N in x)_[N]=x[N];return _},insertBefore:function(C,x,_,N){N=N||l.languages;var T=N[C],k={};for(var M in T)if(T.hasOwnProperty(M)){if(M==x)for(var I in _)_.hasOwnProperty(I)&&(k[I]=_[I]);_.hasOwnProperty(M)||(k[M]=T[M])}var R=N[C];return N[C]=k,l.languages.DFS(l.languages,function(B,U){U===R&&B!=C&&(this[B]=k)}),k},DFS:function C(x,_,N,T){T=T||{};var k=l.util.objId;for(var M in x)if(x.hasOwnProperty(M)){_.call(x,M,x[M],N||M);var I=x[M],R=l.util.type(I);R==="Object"&&!T[k(I)]?(T[k(I)]=!0,C(I,_,null,T)):R==="Array"&&!T[k(I)]&&(T[k(I)]=!0,C(I,_,M,T))}}},plugins:{},highlightAll:function(C,x){l.highlightAllUnder(document,C,x)},highlightAllUnder:function(C,x,_){var N={callback:_,container:C,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",N),N.elements=Array.prototype.slice.apply(N.container.querySelectorAll(N.selector)),l.hooks.run("before-all-elements-highlight",N);for(var T=0,k;k=N.elements[T++];)l.highlightElement(k,x===!0,N.callback)},highlightElement:function(C,x,_){var N=l.util.getLanguage(C),T=l.languages[N];l.util.setLanguage(C,N);var k=C.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(k,N);var M=C.textContent,I={element:C,language:N,grammar:T,code:M};function R(U){I.highlightedCode=U,l.hooks.run("before-insert",I),I.element.innerHTML=I.highlightedCode,l.hooks.run("after-highlight",I),l.hooks.run("complete",I),_&&_.call(I.element)}if(l.hooks.run("before-sanity-check",I),k=I.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!I.code){l.hooks.run("complete",I),_&&_.call(I.element);return}if(l.hooks.run("before-highlight",I),!I.grammar){R(l.util.encode(I.code));return}if(x&&r.Worker){var B=new Worker(l.filename);B.onmessage=function(U){R(U.data)},B.postMessage(JSON.stringify({language:I.language,code:I.code,immediateClose:!0}))}else R(l.highlight(I.code,I.grammar,I.language))},highlight:function(C,x,_){var N={code:C,grammar:x,language:_};if(l.hooks.run("before-tokenize",N),!N.grammar)throw new Error('The language "'+N.language+'" has no grammar.');return N.tokens=l.tokenize(N.code,N.grammar),l.hooks.run("after-tokenize",N),c.stringify(l.util.encode(N.tokens),N.language)},tokenize:function(C,x){var _=x.rest;if(_){for(var N in _)x[N]=_[N];delete x.rest}var T=new h;return g(T,T.head,C),d(C,T,x,T.head,0),m(T)},hooks:{all:{},add:function(C,x){var _=l.hooks.all;_[C]=_[C]||[],_[C].push(x)},run:function(C,x){var _=l.hooks.all[C];if(!(!_||!_.length))for(var N=0,T;T=_[N++];)T(x)}},Token:c};r.Prism=l;function c(C,x,_,N){this.type=C,this.content=x,this.alias=_,this.length=(N||"").length|0}c.stringify=function C(x,_){if(typeof x=="string")return x;if(Array.isArray(x)){var N="";return x.forEach(function(R){N+=C(R,_)}),N}var T={type:x.type,content:C(x.content,_),tag:"span",classes:["token",x.type],attributes:{},language:_},k=x.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(T.classes,k):T.classes.push(k)),l.hooks.run("wrap",T);var M="";for(var I in T.attributes)M+=" "+I+'="'+(T.attributes[I]||"").replace(/"/g,"&quot;")+'"';return"<"+T.tag+' class="'+T.classes.join(" ")+'"'+M+">"+T.content+"</"+T.tag+">"};function u(C,x,_,N){C.lastIndex=x;var T=C.exec(_);if(T&&N&&T[1]){var k=T[1].length;T.index+=k,T[0]=T[0].slice(k)}return T}function d(C,x,_,N,T,k){for(var M in _)if(!(!_.hasOwnProperty(M)||!_[M])){var I=_[M];I=Array.isArray(I)?I:[I];for(var R=0;R<I.length;++R){if(k&&k.cause==M+","+R)return;var B=I[R],U=B.inside,j=!!B.lookbehind,K=!!B.greedy,V=B.alias;if(K&&!B.pattern.global){var ue=B.pattern.toString().match(/[imsuy]*$/)[0];B.pattern=RegExp(B.pattern.source,ue+"g")}for(var fe=B.pattern||B,ie=N.next,le=T;ie!==x.tail&&!(k&&le>=k.reach);le+=ie.value.length,ie=ie.next){var te=ie.value;if(x.length>C.length)return;if(!(te instanceof c)){var H=1,W;if(K){if(W=u(fe,le,C,j),!W||W.index>=C.length)break;var me=W.index,Q=W.index+W[0].length,re=le;for(re+=ie.value.length;me>=re;)ie=ie.next,re+=ie.value.length;if(re-=ie.value.length,le=re,ie.value instanceof c)continue;for(var ce=ie;ce!==x.tail&&(re<Q||typeof ce.value=="string");ce=ce.next)H++,re+=ce.value.length;H--,te=C.slice(le,re),W.index-=le}else if(W=u(fe,0,te,j),!W)continue;var me=W.index,X=W[0],ne=te.slice(0,me),Ae=te.slice(me+X.length),oe=le+te.length;k&&oe>k.reach&&(k.reach=oe);var pe=ie.prev;ne&&(pe=g(x,pe,ne),le+=ne.length),p(x,pe,H);var ke=new c(M,U?l.tokenize(X,U):X,V,X);if(ie=g(x,pe,ke),Ae&&g(x,ie,Ae),H>1){var Pe={cause:M+","+R,reach:oe};d(C,x,_,ie.prev,le,Pe),k&&Pe.reach>k.reach&&(k.reach=Pe.reach)}}}}}}function h(){var C={value:null,prev:null,next:null},x={value:null,prev:C,next:null};C.next=x,this.head=C,this.tail=x,this.length=0}function g(C,x,_){var N=x.next,T={value:_,prev:x,next:N};return x.next=T,N.prev=T,C.length++,T}function p(C,x,_){for(var N=x.next,T=0;T<_&&N!==C.tail;T++)N=N.next;x.next=N,N.prev=x,C.length-=T}function m(C){for(var x=[],_=C.head.next;_!==C.tail;)x.push(_.value),_=_.next;return x}if(!r.document)return r.addEventListener&&(l.disableWorkerMessageHandler||r.addEventListener("message",function(C){var x=JSON.parse(C.data),_=x.language,N=x.code,T=x.immediateClose;r.postMessage(l.highlight(N,l.languages[_],_)),T&&r.close()},!1)),l;var y=l.util.currentScript();y&&(l.filename=y.src,y.hasAttribute("data-manual")&&(l.manual=!0));function w(){l.manual||l.highlightAll()}if(!l.manual){var v=document.readyState;v==="loading"||v==="interactive"&&y&&y.defer?document.addEventListener("DOMContentLoaded",w):window.requestAnimationFrame?window.requestAnimationFrame(w):window.setTimeout(w,16)}return l})(t);n.exports&&(n.exports=e),typeof $s<"u"&&($s.Prism=e),e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(i,o){var s={};s["language-"+o]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[o]},s.cdata=/^<!\[CDATA\[|\]\]>$/i;var l={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:s}};l["language-"+o]={pattern:/[\s\S]+/,inside:e.languages[o]};var c={};c[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:l},e.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(r,i){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:e.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,(function(r){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+i.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var o=r.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))})(e),e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript,(function(){if(typeof e>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var r="Loading…",i=function(y,w){return"✖ Error "+y+" while fetching file: "+w},o="✖ Error: File does not exist or is empty",s={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},l="data-src-status",c="loading",u="loaded",d="failed",h="pre[data-src]:not(["+l+'="'+u+'"]):not(['+l+'="'+c+'"])';function g(y,w,v){var C=new XMLHttpRequest;C.open("GET",y,!0),C.onreadystatechange=function(){C.readyState==4&&(C.status<400&&C.responseText?w(C.responseText):C.status>=400?v(i(C.status,C.statusText)):v(o))},C.send(null)}function p(y){var w=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y||"");if(w){var v=Number(w[1]),C=w[2],x=w[3];return C?x?[v,Number(x)]:[v,void 0]:[v,v]}}e.hooks.add("before-highlightall",function(y){y.selector+=", "+h}),e.hooks.add("before-sanity-check",function(y){var w=y.element;if(w.matches(h)){y.code="",w.setAttribute(l,c);var v=w.appendChild(document.createElement("CODE"));v.textContent=r;var C=w.getAttribute("data-src"),x=y.language;if(x==="none"){var _=(/\.(\w+)$/.exec(C)||[,"none"])[1];x=s[_]||_}e.util.setLanguage(v,x),e.util.setLanguage(w,x);var N=e.plugins.autoloader;N&&N.loadLanguages(x),g(C,function(T){w.setAttribute(l,u);var k=p(w.getAttribute("data-range"));if(k){var M=T.split(/\r\n?|\n/g),I=k[0],R=k[1]==null?M.length:k[1];I<0&&(I+=M.length),I=Math.max(0,Math.min(I-1,M.length)),R<0&&(R+=M.length),R=Math.max(0,Math.min(R,M.length)),T=M.slice(I,R).join(`
25
- `),w.hasAttribute("data-start")||w.setAttribute("data-start",String(I+1))}v.textContent=T,e.highlightElement(v)},function(T){w.setAttribute(l,d),v.textContent=T})}}),e.plugins.fileHighlight={highlight:function(w){for(var v=(w||document).querySelectorAll(h),C=0,x;x=v[C++];)e.highlightElement(x)}};var m=!1;e.fileHighlight=function(){m||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),m=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}})()})(xm)),xm.exports}Z3();Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var r={};r["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[e]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:i},Prism.languages.insertBefore("markup","cdata",o)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(n,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.languages.xml;(function(n){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function e(d){return d=d.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+d+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:e(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:e(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:e(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:e(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(d){["url","bold","italic","strike","code-snippet"].forEach(function(h){d!==h&&(n.languages.markdown[d].inside.content.inside[h]=n.languages.markdown[h])})}),n.hooks.add("after-tokenize",function(d){if(d.language!=="markdown"&&d.language!=="md")return;function h(g){if(!(!g||typeof g=="string"))for(var p=0,m=g.length;p<m;p++){var y=g[p];if(y.type!=="code"){h(y.content);continue}var w=y.content[1],v=y.content[3];if(w&&v&&w.type==="code-language"&&v.type==="code-block"&&typeof w.content=="string"){var C=w.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");C=(/[a-z][\w-]*/i.exec(C)||[""])[0].toLowerCase();var x="language-"+C;v.alias?typeof v.alias=="string"?v.alias=[v.alias,x]:v.alias.push(x):v.alias=[x]}}}h(d.tokens)}),n.hooks.add("wrap",function(d){if(d.type==="code-block"){for(var h="",g=0,p=d.classes.length;g<p;g++){var m=d.classes[g],y=/language-(.+)/.exec(m);if(y){h=y[1];break}}var w=n.languages[h];if(w)d.content=n.highlight(u(d.content),w,h);else if(h&&h!=="none"&&n.plugins.autoloader){var v="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);d.attributes.id=v,n.plugins.autoloader.loadLanguages(h,function(){var C=document.getElementById(v);C&&(C.innerHTML=n.highlight(C.textContent,n.languages[h],h))})}}});var s=RegExp(n.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function u(d){var h=d.replace(s,"");return h=h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(g,p){if(p=p.toLowerCase(),p[0]==="#"){var m;return p[1]==="x"?m=parseInt(p.slice(2),16):m=Number(p.slice(1)),c(m)}else{var y=l[p];return y||g}}),h}n.languages.md=n.languages.markdown})(Prism);Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/});Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}});Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}});Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/});delete Prism.languages.c.boolean;(function(n){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var e=n.languages.markup;e&&(e.tag.addInlined("style","css"),e.tag.addAttribute("style","css"))})(Prism);Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/});delete Prism.languages.objectivec["class-name"];Prism.languages.objc=Prism.languages.objectivec;Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(n){var t=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}})(Prism);var xS={},SS;function G3(){return SS||(SS=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python),xS}G3();var ES={},kS;function J3(){return kS||(kS=1,(function(n){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,e=0;e<2;e++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(Prism)),ES}J3();Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/};Prism.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=Prism.languages.swift});var TS={},_S;function Q3(){return _S||(_S=1,(function(n){n.languages.typescript=n.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var t=n.languages.extend("typescript",{});delete t["class-name"],n.languages.typescript["class-name"].inside=t,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),n.languages.ts=n.languages.typescript})(Prism)),TS}Q3();var NS={},IS;function V3(){return IS||(IS=1,(function(n){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,e=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+e+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+e+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+e+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+e+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+e+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism)),NS}V3();var MS={},DS;function X3(){return DS||(DS=1,(function(n){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,e=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});n.languages.cpp=n.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),n.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return e})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),n.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n.languages.cpp}}}}),n.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),n.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:n.languages.extend("cpp",{})}}),n.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},n.languages.cpp["base-clause"])})(Prism)),MS}X3();function sg(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const q3="javascript";function CN(n,t){for(const e of n.childNodes){if(Et(e)&&e.tagName===t)return!0;CN(e,t)}return!1}const Kc="data-language",Bc="data-highlight-language",af="data-theme";let To=class vN extends At{constructor(e,r){super(r);F(this,"__language");F(this,"__theme");F(this,"__isSyntaxHighlightSupported");this.__language=e||void 0,this.__isSyntaxHighlightSupported=!1,this.__theme=void 0}static getType(){return"code"}static clone(e){return new vN(e.__language,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__language=e.__language,this.__theme=e.__theme,this.__isSyntaxHighlightSupported=e.__isSyntaxHighlightSupported}createDOM(e){const r=document.createElement("code");ct(r,e.theme.code),r.setAttribute("spellcheck","false");const i=this.getLanguage();i&&(r.setAttribute(Kc,i),this.getIsSyntaxHighlightSupported()&&r.setAttribute(Bc,i));const o=this.getTheme();o&&r.setAttribute(af,o);const s=this.getStyle();return s&&r.setAttribute("style",s),r}updateDOM(e,r,i){const o=this.__language,s=e.__language;o?o!==s&&r.setAttribute(Kc,o):s&&r.removeAttribute(Kc);const l=this.__isSyntaxHighlightSupported;e.__isSyntaxHighlightSupported&&s?l&&o?o!==s&&r.setAttribute(Bc,o):r.removeAttribute(Bc):l&&o&&r.setAttribute(Bc,o);const c=this.__theme,u=e.__theme;c?c!==u&&r.setAttribute(af,c):u&&r.removeAttribute(af);const d=this.__style,h=e.__style;return d?d!==h&&r.setAttribute("style",d):h&&r.removeAttribute("style"),!1}exportDOM(e){const r=document.createElement("pre");ct(r,e._config.theme.code),r.setAttribute("spellcheck","false");const i=this.getLanguage();i&&(r.setAttribute(Kc,i),this.getIsSyntaxHighlightSupported()&&r.setAttribute(Bc,i));const o=this.getTheme();o&&r.setAttribute(af,o);const s=this.getStyle();return s&&r.setAttribute("style",s),{element:r}}static importDOM(){return{code:e=>e.textContent!=null&&(/\r?\n/.test(e.textContent)||CN(e,"BR"))?{conversion:LS,priority:1}:null,div:()=>({conversion:$3,priority:1}),pre:()=>({conversion:LS,priority:0}),table:e=>Sm(e)?{conversion:eW,priority:3}:null,td:e=>{const r=e,i=r.closest("table");return r.classList.contains("js-file-line")||i&&Sm(i)?{conversion:OS,priority:3}:null},tr:e=>{const r=e.closest("table");return r&&Sm(r)?{conversion:OS,priority:3}:null}}}static importJSON(e){return Vr().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setLanguage(e.language).setTheme(e.theme)}exportJSON(){return{...super.exportJSON(),language:this.getLanguage(),theme:this.getTheme()}}insertNewAfter(e,r=!0){const i=this.getChildren(),o=i.length;if(o>=2&&i[o-1].getTextContent()===`
26
- `&&i[o-2].getTextContent()===`
27
- `&&e.isCollapsed()&&e.anchor.key===this.__key&&e.anchor.offset===o){i[o-1].remove(),i[o-2].remove();const u=Ee();return this.insertAfter(u,r),u}const{anchor:s,focus:l}=e,c=(s.isBefore(l)?s:l).getNode();if(ae(c)){let u=cl(c);const d=[];for(;;)if(Un(u))d.push(Xr()),u=u.getNextSibling();else{if(!Jt(u))break;{let v=0;const C=u.getTextContent(),x=u.getTextContentSize();for(;v<x&&C[v]===" ";)v++;if(v!==0&&d.push(Vb(" ".repeat(v))),v!==x)break;u=u.getNextSibling()}}const h=c.splitText(s.offset)[0],g=s.offset===0?0:1,p=h.getIndexWithinParent()+g,m=c.getParentOrThrow(),y=[sr(),...d];m.splice(p,0,y);const w=d[d.length-1];w?w.select():s.offset===0?h.selectPrevious():h.getNextSibling().selectNext(0,0)}if(Ir(c)){const{offset:u}=e.anchor;c.splice(u,0,[sr()]),c.select(u+1,u+1)}return null}canIndent(){return!1}collapseAtStart(){const e=Ee();return this.getChildren().forEach(r=>e.append(r)),this.replace(e),!0}setLanguage(e){const r=this.getWritable();return r.__language=e||void 0,r}getLanguage(){return this.getLatest().__language}setIsSyntaxHighlightSupported(e){const r=this.getWritable();return r.__isSyntaxHighlightSupported=e,r}getIsSyntaxHighlightSupported(){return this.getLatest().__isSyntaxHighlightSupported}setTheme(e){const r=this.getWritable();return r.__theme=e||void 0,r}getTheme(){return this.getLatest().__theme}};function Vr(n,t){return c1(To).setLanguage(n).setTheme(t)}function Ir(n){return n instanceof To}function LS(n){return{node:Vr(n.getAttribute(Kc))}}function $3(n){const t=n,e=RS(t);return e||(function(r){let i=r.parentElement;for(;i!==null;){if(RS(i))return!0;i=i.parentElement}return!1})(t)?{node:e?Vr():null}:{node:null}}function eW(){return{node:Vr()}}function OS(){return{node:null}}function RS(n){return n.style.fontFamily.match("monospace")!==null}function Sm(n){return n.classList.contains("js-file-line-container")}let Tl=class xN extends Ln{constructor(e="",r,i){super(e,i);F(this,"__highlightType");this.__highlightType=r}static getType(){return"code-highlight"}static clone(e){return new xN(e.__text,e.__highlightType||void 0,e.__key)}getHighlightType(){return this.getLatest().__highlightType}setHighlightType(e){const r=this.getWritable();return r.__highlightType=e||void 0,r}canHaveFormat(){return!1}createDOM(e){const r=super.createDOM(e),i=Em(e.theme,this.__highlightType);return ct(r,i),r}updateDOM(e,r,i){const o=super.updateDOM(e,r,i),s=Em(i.theme,e.__highlightType),l=Em(i.theme,this.__highlightType);return s!==l&&(s&&_r(r,s),l&&ct(r,l)),o}static importJSON(e){return Vb().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setHighlightType(e.highlightType)}exportJSON(){return{...super.exportJSON(),highlightType:this.getHighlightType()}}setFormat(e){return this}isParentRequired(){return!0}createParentElementNode(){return Vr()}};function Em(n,t){return t&&n&&n.codeHighlight&&n.codeHighlight[t]}function Vb(n="",t){return Lt(new Tl(n,t))}function Jt(n){return n instanceof Tl}function SN(n,t){let e=n;for(let r=tn(n,t);r&&(Jt(r.origin)||Un(r.origin));r=oz(r))e=r.origin;return e}function cl(n){return SN(n,"previous")}function Fa(n){return SN(n,"next")}function tW(n){const t=cl(n),e=Fa(n);let r=t;for(;r!==null;){if(Jt(r)){const o=xj(r.getTextContent());if(o!==null)return o}if(r===e)break;r=r.getNextSibling()}const i=t.getParent();if(G(i)){const o=i.getDirection();if(o==="ltr"||o==="rtl")return o}return null}function nW(n,t){let e=null,r=null,i=n,o=t,s=n.getTextContent();for(;;){if(o===0){if(i=i.getPreviousSibling(),i===null)break;if(Jt(i)||Un(i)||Dt(i)||sg(167),Dt(i)){e={node:i,offset:1};break}o=Math.max(0,i.getTextContentSize()-1),s=i.getTextContent()}else o--;const c=s[o];Jt(i)&&c!==" "&&(r={node:i,offset:o})}if(r!==null)return r;let l=null;if(t<n.getTextContentSize())Jt(n)&&(l=n.getTextContent()[t]);else{const c=n.getNextSibling();Jt(c)&&(l=c.getTextContent()[0])}if(l!==null&&l!==" ")return e;{const c=(function(u,d){let h=u,g=d,p=u.getTextContent(),m=u.getTextContentSize();for(;;){if(!Jt(h)||g===m){if(h=h.getNextSibling(),h===null||Dt(h))return null;Jt(h)&&(g=0,p=h.getTextContent(),m=h.getTextContentSize())}if(Jt(h)){if(p[g]!==" ")return{node:h,offset:g};g++}}})(n,t);return c!==null?c:e}}function rW(n){const t=Fa(n);return Dt(t)&&sg(168),t}(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach(function(e){var r=t[e],i=[];/^\w+$/.test(e)||i.push(/\w+/.exec(e)[0]),e==="diff"&&i.push("bold"),n.languages.diff[e]={pattern:RegExp("^(?:["+r+`].*(?:\r
28
- ?|
29
- |(?![\\s\\S])))+`,"m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(e)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:t})})(Prism);const Ni=globalThis.Prism||window.Prism,iW={c:"C",clike:"C-like",cpp:"C++",css:"CSS",html:"HTML",java:"Java",js:"JavaScript",markdown:"Markdown",objc:"Objective-C",plain:"Plain Text",powershell:"PowerShell",py:"Python",rust:"Rust",sql:"SQL",swift:"Swift",typescript:"TypeScript",xml:"XML"},PS={cpp:"cpp",java:"java",javascript:"js",md:"markdown",plaintext:"plain",python:"py",text:"plain",ts:"typescript"};function UA(n){return typeof n=="string"?n:Array.isArray(n)?n.map(UA).join(""):UA(n.content)}function oW(n,t){const e=/^diff-([\w-]+)/i.exec(t),r=n.getTextContent();let i=Ni.tokenize(r,Ni.languages[e?"diff":t]);return e&&(i=(function(o,s){const l=s,c=Ni.languages[l],u={tokens:o},d=Ni.languages.diff.PREFIXES;for(const h of u.tokens){if(typeof h=="string"||!(h.type in d)||!Array.isArray(h.content))continue;const g=h.type;let p=0;const m=()=>(p++,new Ni.Token("prefix",d[g],g.replace(/^(\w+).*/,"$1"))),y=h.content.filter(N=>typeof N=="string"||N.type!=="prefix"),w=h.content.length-y.length,v=Ni.tokenize(UA(y),c);v.unshift(m());const C=/\r\n|\n/g,x=N=>{const T=[];C.lastIndex=0;let k,M=0;for(;p<w&&(k=C.exec(N));){const I=k.index+k[0].length;T.push(N.slice(M,I)),M=I,T.push(m())}if(T.length!==0)return M<N.length&&T.push(N.slice(M)),T},_=N=>{for(let T=0;T<N.length&&p<w;T++){const k=N[T];if(typeof k=="string"){const M=x(k);M&&(N.splice(T,1,...M),T+=M.length-1)}else if(typeof k.content=="string"){const M=x(k.content);M&&(k.content=M)}else Array.isArray(k.content)?_(k.content):_([k.content])}};_(v),p<w&&v.push(m()),h.content=v}return u.tokens})(i,e[1])),KA(i)}function KA(n,t){const e=[];for(const r of n)if(typeof r=="string"){const i=r.split(/(\n|\t)/),o=i.length;for(let s=0;s<o;s++){const l=i[s];l===`
30
- `||l===`\r
31
- `?e.push(sr()):l===" "?e.push(Xr()):l.length>0&&e.push(Vb(l,t))}}else{const{content:i,alias:o}=r;typeof i=="string"?e.push(...KA([i],r.type==="prefix"&&typeof o=="string"?o:r.type)):Array.isArray(i)&&e.push(...KA(i,r.type==="unchanged"?void 0:r.type))}return e}const sW={$tokenize(n,t){return oW(n,t||this.defaultLanguage)},defaultLanguage:q3,tokenize(n,t){return Ni.tokenize(n,Ni.languages[t||""]||Ni.languages[this.defaultLanguage])}};function BS(n,t,e){const r=n.getParent();Ir(r)?EN(r,t,e):Jt(n)&&n.replace(yt(n.__text))}function lW(n,t){const e=t.getElementByKey(n.getKey());if(e===null)return;const r=n.getChildren(),i=r.length;if(i===e.__cachedChildrenLength)return;e.__cachedChildrenLength=i;let o="1",s=1;for(let l=0;l<i;l++)Dt(r[l])&&(o+=`
32
- `+ ++s);e.setAttribute("data-gutter",o)}const km=new Set;function EN(n,t,e){const r=n.getKey();n.getLanguage()===void 0&&n.setLanguage(e.defaultLanguage);const i=n.getLanguage()||e.defaultLanguage;if(!(function(o){const s=(function(c){const u=/^diff-([\w-]+)/i.exec(c);return u?u[1]:null})(o),l=s||o;try{return!!l&&Ni.languages.hasOwnProperty(l)}catch{return!1}})(i))return n.getIsSyntaxHighlightSupported()&&n.setIsSyntaxHighlightSupported(!1),void(async function(){})();n.getIsSyntaxHighlightSupported()||n.setIsSyntaxHighlightSupported(!0),km.has(r)||(km.add(r),t.update(()=>{(function(o,s){const l=ve(o);if(!Ir(l)||!l.isAttached())return;const c=J();if(!Y(c))return void s();const u=c.anchor,d=u.offset,h=u.type==="element"&&Dt(l.getChildAtIndex(u.offset-1));let g=0;if(!h){const p=u.getNode();g=d+p.getPreviousSiblings().reduce((m,y)=>m+y.getTextContentSize(),0)}if(s()){if(h)return void u.getNode().select(d,d);l.getChildren().some(p=>{const m=ae(p);if(m||Dt(p)){const y=p.getTextContentSize();if(m&&y>=g)return p.select(g,g),!0;g-=y}return!1})}})(r,()=>{const o=ve(r);if(!Ir(o)||!o.isAttached())return!1;const s=o.getLanguage()||e.defaultLanguage,l=e.$tokenize(o,s),c=(function(g,p){let m=0;for(;m<g.length&&FS(g[m],p[m]);)m++;const y=g.length,w=p.length,v=Math.min(y,w)-m;let C=0;for(;C<v;)if(C++,!FS(g[y-C],p[w-C])){C--;break}const x=m,_=y-C,N=p.slice(m,w-C);return{from:x,nodesForReplacement:N,to:_}})(o.getChildren(),l),{from:u,to:d,nodesForReplacement:h}=c;return!(u===d&&!h.length)&&(n.splice(u,d-u,h),!0)})},{onUpdate:()=>{km.delete(r)},skipTransforms:!0}))}function FS(n,t){return Jt(n)&&Jt(t)&&n.__text===t.__text&&n.__highlightType===t.__highlightType||Un(n)&&Un(t)||Dt(n)&&Dt(t)}function el(n){if(!Y(n))return!1;const t=n.anchor.getNode(),e=Ir(t)?t:t.getParent(),r=n.focus.getNode(),i=Ir(r)?r:r.getParent();return Ir(e)&&e.is(i)}function kN(n){const t=n.getNodes(),e=[];if(t.length===1&&Ir(t[0]))return e;let r=[];for(let i=0;i<t.length;i++){const o=t[i];Jt(o)||Un(o)||Dt(o)||sg(169),Dt(o)?r.length>0&&(e.push(r),r=[]):r.push(o)}if(r.length>0){const i=n.isBackward()?n.anchor:n.focus,o=Rn(r[0].getKey(),0,"text");i.is(o)||e.push(r)}return e}function jS(n){const t=J();if(!Y(t)||!el(t))return!1;const e=kN(t),r=e.length;if(r===0&&t.isCollapsed())return n===Bi&&t.insertNodes([Xr()]),!0;if(r===0&&n===Bi&&t.getTextContent()===`
33
- `){const i=Xr(),o=sr(),s=t.isBackward()?"previous":"next";return t.insertNodes([i,o]),db(fb(Mo(vs(i,"next",0),Qr(tn(o,"next"))),s)),!0}for(let i=0;i<r;i++){const o=e[i];if(o.length>0){let s=o[0];if(i===0&&(s=cl(s)),n===Bi){const l=Xr();if(s.insertBefore(l),i===0){const c=t.isBackward()?"focus":"anchor",u=Rn(s.getKey(),0,"text");t[c].is(u)&&t[c].set(l.getKey(),0,"text")}}else Un(s)&&s.remove()}}return!0}function zS(n,t){const e=J();if(!Y(e))return!1;const{anchor:r,focus:i}=e,o=r.offset,s=i.offset,l=r.getNode(),c=i.getNode(),u=n===Hi;if(!el(e)||!Jt(l)&&!Un(l)||!Jt(c)&&!Un(c))return!1;if(!t.altKey){if(e.isCollapsed()){const v=l.getParentOrThrow();if(u&&o===0&&l.getPreviousSibling()===null){if(v.getPreviousSibling()===null)return v.selectPrevious(),t.preventDefault(),!0}else if(!u&&o===l.getTextContentSize()&&l.getNextSibling()===null&&v.getNextSibling()===null)return v.selectNext(),t.preventDefault(),!0}return!1}let d,h;if(l.isBefore(c)?(d=cl(l),h=Fa(c)):(d=cl(c),h=Fa(l)),d==null||h==null)return!1;const g=d.getNodesBetween(h);for(let v=0;v<g.length;v++){const C=g[v];if(!Jt(C)&&!Un(C)&&!Dt(C))return!1}t.preventDefault(),t.stopPropagation();const p=u?d.getPreviousSibling():h.getNextSibling();if(!Dt(p))return!0;const m=u?p.getPreviousSibling():p.getNextSibling();if(m==null)return!0;const y=Jt(m)||Un(m)||Dt(m)?u?cl(m):Fa(m):null;let w=y??m;return p.remove(),g.forEach(v=>v.remove()),n===Hi?(g.forEach(v=>w.insertBefore(v)),w.insertBefore(p)):(w.insertAfter(p),w=p,g.forEach(v=>{w.insertAfter(v),w=v})),e.setTextNodeRange(l,o,c,s),!0}function US(n,t){const e=J();if(!Y(e))return!1;const{anchor:r,focus:i}=e,o=r.getNode(),s=i.getNode(),l=n===Hf;if(!el(e)||!Jt(o)&&!Un(o)||!Jt(s)&&!Un(s))return!1;const c=s;if(tW(c)==="rtl"?!l:l){const u=nW(c,i.offset);if(u!==null){const{node:d,offset:h}=u;Dt(d)?d.selectNext(0,0):e.setTextNodeRange(d,h,d,h)}else c.getParentOrThrow().selectStart()}else rW(c).select();return t.preventDefault(),t.stopPropagation(),!0}function aW(n,t){if(!n.hasNodes([To,Tl]))throw new Error("CodeHighlightPlugin: CodeNode or CodeHighlightNode not registered on editor");t==null&&(t=sW);const e=[];return n._headless!==!0&&e.push(n.registerMutationListener(To,r=>{n.getEditorState().read(()=>{for(const[i,o]of r)if(o!=="destroyed"){const s=ve(i);s!==null&&lW(s,n)}})},{skipInitialization:!1})),e.push(n.registerNodeTransform(To,r=>EN(r,n,t)),n.registerNodeTransform(Ln,r=>BS(r,n,t)),n.registerNodeTransform(Tl,r=>BS(r,n,t)),n.registerCommand(nc,r=>{const i=(function(o){const s=J();if(!Y(s)||!el(s))return null;const l=o?ls:Bi,c=o?ls:sA,u=s.anchor,d=s.focus;if(u.is(d))return c;const h=kN(s);if(h.length!==1)return l;const g=h[0];let p,m;g.length===0&&sg(285),s.isBackward()?(p=d,m=u):(p=u,m=d);const y=cl(g[0]),w=Fa(g[0]),v=Rn(y.getKey(),0,"text"),C=Rn(w.getKey(),w.getTextContentSize(),"text");return p.isBefore(v)||C.isBefore(m)?l:v.isBefore(p)||m.isBefore(C)?c:l})(r.shiftKey);return i!==null&&(r.preventDefault(),n.dispatchCommand(i,void 0),!0)},Ne),n.registerCommand(sA,()=>!!el(J())&&(Bu([Xr()]),!0),Ne),n.registerCommand(Bi,r=>jS(Bi),Ne),n.registerCommand(ls,r=>jS(ls),Ne),n.registerCommand(Hi,r=>{const i=J();if(!Y(i))return!1;const{anchor:o}=i,s=o.getNode();return!!el(i)&&(i.isCollapsed()&&o.offset===0&&s.getPreviousSibling()===null&&Ir(s.getParentOrThrow())?(r.preventDefault(),!0):zS(Hi,r))},Ne),n.registerCommand(Cs,r=>{const i=J();if(!Y(i))return!1;const{anchor:o}=i,s=o.getNode();return!!el(i)&&(i.isCollapsed()&&o.offset===s.getTextContentSize()&&s.getNextSibling()===null&&Ir(s.getParentOrThrow())?(r.preventDefault(),!0):zS(Cs,r))},Ne),n.registerCommand(Hf,r=>US(Hf,r),Ne),n.registerCommand(oA,r=>US(oA,r),Ne)),tt(...e)}function cW(){return Re().getTextContent()}function uW(n,t=!0){if(n)return!1;let e=cW();return t&&(e=e.trim()),e===""}function dW(n){if(!uW(n,!1))return!1;const t=Re().getChildren(),e=t.length;if(e>1)return!1;for(let r=0;r<e;r++){const i=t[r];if(ot(i))return!1;if(G(i)){if(!mn(i)||i.__indent!==0)return!1;const o=i.getChildren(),s=o.length;for(let l=0;l<s;l++){const c=o[r];if(!ae(c))return!1}}}return!0}function TN(n){return()=>dW(n)}function fW(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function hW(n,t,e,r){const i=s=>s instanceof e,o=s=>{const l=yt(s.getTextContent());l.setFormat(s.getFormat()),s.replace(l)};return[n.registerNodeTransform(Ln,s=>{if(!s.isSimpleText())return;let l,c=s.getPreviousSibling(),u=s.getTextContent(),d=s;if(ae(c)){const g=c.getTextContent(),p=t(g+u);if(i(c)){if(p===null||(m=>m.getLatest().__mode)(c)!==0)return void o(c);{const m=p.end-g.length;if(m>0){const y=g+u.slice(0,m);if(c.select(),c.setTextContent(y),m===u.length)s.remove();else{const w=u.slice(m);s.setTextContent(w)}return}}}else if(p===null||p.start<g.length)return}let h=0;for(;;){l=t(u);let g,p=l===null?"":u.slice(l.end);if(u=p,p===""){const y=d.getNextSibling();if(ae(y)){p=d.getTextContent()+y.getTextContent();const w=t(p);if(w===null)return void(i(y)?o(y):y.markDirty());if(w.start!==0)return}}if(l===null)return;if(l.start===0&&ae(c)&&c.isTextEntity()){h+=l.end;continue}l.start===0?[g,d]=d.splitText(l.end):[,g,d]=d.splitText(l.start+h,l.end+h),g===void 0&&fW(165,"nodeToReplace");const m=r(g);if(m.setFormat(g.getFormat()),g.replace(m),d==null)return;h=0,c=m}}),n.registerNodeTransform(e,s=>{const l=s.getTextContent(),c=t(l);if(c===null||c.start!==0)return void o(s);if(l.length>c.end)return void s.splitText(c.end);const u=s.getPreviousSibling();ae(u)&&u.isTextEntity()&&(o(u),o(s));const d=s.getNextSibling();ae(d)&&d.isTextEntity()&&(o(d),i(s)&&o(s))})]}let lg=class _N extends Ln{static getType(){return"hashtag"}static clone(t){return new _N(t.__text,t.__key)}createDOM(t){const e=super.createDOM(t);return ct(e,t.theme.hashtag),e}static importJSON(t){return NN().updateFromJSON(t)}canInsertTextBefore(){return!1}isTextEntity(){return!0}};function NN(n=""){return Lt(new lg(n))}const gW=new RegExp((function(){const{alpha:n,alphanumeric:t,hashChars:e}=(function(){const i=String.fromCharCode,o="A-Za-zªµºÀ-ÖØ-öø-Ɂɐ-ˁˆ-ˑˠ-ˤˮͺΆΈ-ΊΌΎ-ΡΣ-ώϐ-ϵϷ-ҁҊ-ӎӐ-ӹԀ-ԏԱ-Ֆՙա-ևא-תװ-ײء-غـ-يٮ-ٯٱ-ۓەۥ-ۦۮ-ۯۺ-ۼۿܐܒ-ܯݍ-ݭހ-ޥޱऄ-हऽॐक़-ॡॽঅ-ঌএ-ঐও-নপ-রলশ-হঽৎড়-ঢ়য়-ৡৰ-ৱਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽૐૠ-ૡଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽଡ଼-ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹఅ-ఌఎ-ఐఒ-నప-ళవ-హౠ-ౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠ-ೡഅ-ഌഎ-ഐഒ-നപ-ഹൠ-ൡඅ-ඖක-නඳ-රලව-ෆก-ะา-ำเ-ๆກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆໜ-ໝༀཀ-ཇཉ-ཪྈ-ྋက-အဣ-ဧဩ-ဪၐ-ၕႠ-Ⴥა-ჺჼᄀ-ᅙᅟ-ᆢᆨ-ᇹሀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙶᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦩᧁ-ᧇᨀ-ᨖᴀ-ᶿḀ-ẛẠ-ỹἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₔℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℱℳ-ℹℼ-ℿⅅ-ⅉⰀ-Ⱞⰰ-ⱞⲀ-ⳤⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〆〱-〵〻-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄬㄱ-ㆎㆠ-ㆷㇰ-ㇿ㐀-䶵一-龻ꀀ-ꒌꠀ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢ가-힣豈-鶴侮-頻並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵÀ-ÖØ-öø-ÿĀ-ɏɓ-ɔɖ-ɗəɛɣɨɯɲʉʋʻ̀-ͯḀ-ỿЀ-ӿԀ-ԧⷠ-ⷿꙀ-֑ꚟ-ֿׁ-ׂׄ-ׇׅא-תװ-״﬒-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏؐ-ؚؠ-ٟٮ-ۓە-ۜ۞-۪ۨ-ۯۺ-ۼۿݐ-ݿࢠࢢ-ࢬࣤ-ࣾﭐ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼ‌-‌ก-ฺเ-๎ᄀ-ᇿ㄰-ㆅꥠ-꥿가-힯ힰ-퟿ᄀ-ᅵァ-ヺー-ヾヲ-゚0-9A-Za-zぁ-ゖ゙-ゞ㐀-䶿一-鿿"+i(173824)+"-"+i(177983)+i(177984)+"-"+i(178207)+i(194560)+"-"+i(195103)+"〃々〻";return{alpha:o,alphanumeric:o+"̀-ͯ҃-֑҆-ֹֻ-ֽֿׁ-ׂׄ-ׇׅؐ-ًؕ-ٰٞۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ްँ-ः़ा-्॑-॔ॢ-ॣঁ-ঃ়া-ৄে-ৈো-্ৗৢ-ৣਁ-ਃ਼ਾ-ੂੇ-ੈੋ-੍ੰ-ੱઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣଁ-ଃ଼ା-ୃେ-ୈୋ-୍ୖ-ୗஂா-ூெ-ைொ-்ௗఁ-ఃా-ౄె-ైొ-్ౕ-ౖಂ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕ-ೖം-ഃാ-ൃെ-ൈൊ-്ൗං-ඃ්ා-ුූෘ-ෟෲ-ෳัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-༹༙༵༷༾-༿ཱ-྄྆-྇ྐ-ྗྙ-ྼ࿆ာ-ဲံ-္ၖ-ၙ፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳា-៓៝᠋-᠍ᢩᤠ-ᤫᤰ-᤻ᦰ-ᧀᧈ-ᧉᨗ-ᨛ᷀-᷃⃐-⃥⃜⃡-⃫〪-゙〯-゚ꠂ꠆ꠋꠣ-ꠧﬞ︀-️︠-︣0-9٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩၀-၉០-៩᠐-᠙᥆-᥏᧐-᧙0-9_",hashChars:"#\\uFF03"}})(),r="["+t+"]";return"("+("^|$|[^&/"+t+"]")+")("+("["+e+"]")+")("+r+"*"+("["+n+"]")+r+"*)"})(),"i"),pW={getHashtagMatch:function(n){const t=gW.exec(n);if(t===null)return null;const e=t[3].length+1,r=t.index+t[1].length;return{end:r+e,start:r}}};function mW(n,t=pW){return tt(...hW(n,t.getHashtagMatch,lg,e=>NN(e.getTextContent())))}const AW=new Set(["http:","https:","mailto:","sms:","tel:"]);let Gl=class IN extends At{constructor(e="",r={},i){super(i);F(this,"__url");F(this,"__target");F(this,"__rel");F(this,"__title");const{target:o=null,rel:s=null,title:l=null}=r;this.__url=e,this.__target=o,this.__rel=s,this.__title=l}static getType(){return"link"}static clone(e){return new IN(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}createDOM(e){const r=document.createElement("a");return this.updateLinkDOM(null,r,e),ct(r,e.theme.link),r}updateLinkDOM(e,r,i){if(rb(r)){e&&e.__url===this.__url||(r.href=this.sanitizeUrl(this.__url));for(const o of["target","rel","title"]){const s=`__${o}`,l=this[s];e&&e[s]===l||(l?r[o]=l:r.removeAttribute(o))}}}updateDOM(e,r,i){return this.updateLinkDOM(e,r,i),!1}static importDOM(){return{a:e=>({conversion:yW,priority:1})}}static importJSON(e){return As().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setURL(e.url).setRel(e.rel||null).setTarget(e.target||null).setTitle(e.title||null)}sanitizeUrl(e){e=HS(e);try{const r=new URL(HS(e));if(!AW.has(r.protocol))return"about:blank"}catch{return e}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),url:this.getURL()}}getURL(){return this.getLatest().__url}setURL(e){const r=this.getWritable();return r.__url=e,r}getTarget(){return this.getLatest().__target}setTarget(e){const r=this.getWritable();return r.__target=e,r}getRel(){return this.getLatest().__rel}setRel(e){const r=this.getWritable();return r.__rel=e,r}getTitle(){return this.getLatest().__title}setTitle(e){const r=this.getWritable();return r.__title=e,r}insertNewAfter(e,r=!0){const i=As(this.__url,{rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(i,r),i}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,r,i){if(!Y(r))return!1;const o=r.anchor.getNode(),s=r.focus.getNode();return this.isParentOf(o)&&this.isParentOf(s)&&r.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}};function yW(n){let t=null;if(rb(n)){const e=n.textContent;(e!==null&&e!==""||n.children.length>0)&&(t=As(n.getAttribute("href")||"",{rel:n.getAttribute("rel"),target:n.getAttribute("target"),title:n.getAttribute("title")}))}return{node:t}}function As(n="",t){return Lt(new Gl(n,t))}function Nn(n){return n instanceof Gl}let ag=class MN extends Gl{constructor(e="",r={},i){super(e,r,i);F(this,"__isUnlinked");this.__isUnlinked=r.isUnlinked!==void 0&&r.isUnlinked!==null&&r.isUnlinked}static getType(){return"autolink"}static clone(e){return new MN(e.__url,{isUnlinked:e.__isUnlinked,rel:e.__rel,target:e.__target,title:e.__title},e.__key)}getIsUnlinked(){return this.__isUnlinked}setIsUnlinked(e){const r=this.getWritable();return r.__isUnlinked=e,r}createDOM(e){return this.__isUnlinked?document.createElement("span"):super.createDOM(e)}updateDOM(e,r,i){return super.updateDOM(e,r,i)||e.__isUnlinked!==this.__isUnlinked}static importJSON(e){return KS().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setIsUnlinked(e.isUnlinked||!1)}static importDOM(){return null}exportJSON(){return{...super.exportJSON(),isUnlinked:this.__isUnlinked}}insertNewAfter(e,r=!0){const i=this.getParentOrThrow().insertNewAfter(e,r);if(G(i)){const o=KS(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return i.append(o),o}return null}};function KS(n="",t){return Lt(new ag(n,t))}function tl(n){return n instanceof ag}const ys=we("TOGGLE_LINK_COMMAND");function WS(n,t){if(n.type==="element"){const e=n.getNode();return G(e)||(function(r,...i){const o=new URL("https://lexical.dev/docs/error"),s=new URLSearchParams;s.append("code",r);for(const l of i)s.append("v",l);throw o.search=s.toString(),Error(`Minified Lexical error #${r}; visit ${o.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)})(252),e.getChildren()[n.offset+t]||null}return null}function Tm(n,t={}){let e;if(n&&typeof n=="object"){const{url:d,...h}=n;e=d,t={...h,...t}}else e=n;const{target:r,title:i}=t,o=t.rel===void 0?"noreferrer":t.rel,s=J();if(s===null||!Y(s)&&!Vt(s))return;if(Vt(s)){const d=s.getNodes();return d.length===0?void 0:void d.forEach(h=>{if(e===null){const g=Te(h,p=>!tl(p)&&Nn(p));g&&(g.insertBefore(h),g.getChildren().length===0&&g.remove())}else{const g=Te(h,p=>!tl(p)&&Nn(p));if(g)g.setURL(e),r!==void 0&&g.setTarget(r),o!==void 0&&g.setRel(o);else{const p=As(e,{rel:o,target:r});h.insertBefore(p),p.append(h)}}})}const l=s.extract();if(e===null){const d=new Set;return void l.forEach(h=>{const g=h.getParent();if(Nn(g)&&!tl(g)){const p=g.getKey();if(d.has(p))return;(function(m,y){const w=new Set(y.filter(k=>m.isParentOf(k)).map(k=>k.getKey())),v=m.getChildren(),C=v.filter(k=>w.has(k.getKey()));if(C.length===v.length)return v.forEach(k=>m.insertBefore(k)),void m.remove();const x=v.findIndex(k=>w.has(k.getKey())),_=v.findLastIndex(k=>w.has(k.getKey())),N=x===0,T=_===v.length-1;if(N)C.forEach(k=>m.insertBefore(k));else if(T)for(let k=C.length-1;k>=0;k--)m.insertAfter(C[k]);else{for(let M=C.length-1;M>=0;M--)m.insertAfter(C[M]);const k=v.slice(_+1);if(k.length>0){const M=As(m.getURL(),{rel:m.getRel(),target:m.getTarget(),title:m.getTitle()});C[C.length-1].insertAfter(M),k.forEach(I=>M.append(I))}}})(g,l),d.add(p)}})}const c=new Set,u=d=>{c.has(d.getKey())||(c.add(d.getKey()),d.setURL(e),r!==void 0&&d.setTarget(r),o!==void 0&&d.setRel(o),i!==void 0&&d.setTitle(i))};if(l.length===1){const d=l[0],h=Te(d,Nn);if(h!==null)return u(h)}(function(d){const h=J();if(!Y(h))return d();const g=ws(h),p=g.isBackward(),m=WS(g.anchor,p?-1:0),y=WS(g.focus,p?0:-1);if(d(),m||y){const w=J();if(Y(w)){const v=w.clone();if(m){const C=m.getParent();C&&v.anchor.set(C.getKey(),m.getIndexWithinParent()+(p?1:0),"element")}if(y){const C=y.getParent();C&&v.focus.set(C.getKey(),y.getIndexWithinParent()+(p?0:1),"element")}Ve(ws(v))}}})(()=>{let d=null;for(const h of l){if(!h.isAttached())continue;const g=Te(h,Nn);if(g){u(g);continue}if(G(h)){if(!h.isInline())continue;if(Nn(h)){if(!(tl(h)||d!==null&&d.getParentOrThrow().isParentOf(h))){u(h),d=h;continue}for(const m of h.getChildren())h.insertBefore(m);h.remove();continue}}const p=h.getPreviousSibling();Nn(p)&&p.is(d)?p.append(h):(d=As(e,{rel:o,target:r,title:i}),h.insertAfter(d),d.append(h))}})}const bW=/^\+?[0-9\s()-]{5,}$/;function HS(n){return n.match(/^[a-z][a-z0-9+.-]*:/i)||n.match(/^[/#.]/)?n:n.includes("@")?`mailto:${n}`:bW.test(n)?`tel:${n}`:`https://${n}`}function wW(n,t){return tt(Su(()=>n.registerCommand(ys,e=>{const r=t.validateUrl.peek(),i=t.attributes.peek();if(e===null)return Tm(null),!0;if(typeof e=="string")return!(r!==void 0&&!r(e))&&(Tm(e,i),!0);{const{url:o,target:s,rel:l,title:c}=e;return Tm(o,{...i,rel:l,target:s,title:c}),!0}},Ne)),Su(()=>{const e=t.validateUrl.value;if(!e)return;const r=t.attributes.value;return n.registerCommand(Ol,i=>{const o=J();if(!Y(o)||o.isCollapsed()||!vo(i,ClipboardEvent)||i.clipboardData===null)return!1;const s=i.clipboardData.getData("text");return!!e(s)&&!o.getNodes().some(l=>G(l))&&(n.dispatchCommand(ys,{...r,url:s}),i.preventDefault(),!0)},Ne)}))}function CW(n,t,e={}){const r=o=>{const s=o.target;if(!Kl(s))return;const l=Uu(s);if(l===null)return;let c=null,u=null;if(l.update(()=>{const g=Fe(s);if(g!==null){const p=Te(g,G);if(!t.disabled.peek())if(Nn(p))c=p.sanitizeUrl(p.getURL()),u=p.getTarget();else{const m=(function(y,w){let v=y;for(;v!=null;){if(w(v))return v;v=v.parentNode}return null})(s,rb);m!==null&&(c=m.href,u=m.target)}}}),c===null||c==="")return;const d=n.getEditorState().read(J);if(Y(d)&&!d.isCollapsed())return void o.preventDefault();const h=o.type==="auxclick"&&o.button===1;window.open(c,t.newTab.peek()||h||o.metaKey||o.ctrlKey||u==="_blank"?"_blank":"_self"),o.preventDefault()},i=o=>{o.button===1&&r(o)};return n.registerRootListener((o,s)=>{s!==null&&(s.removeEventListener("click",r),s.removeEventListener("mouseup",i)),o!==null&&(o.addEventListener("click",r,e),o.addEventListener("mouseup",i,e))})}const DN=[];let Xu=class LN extends At{constructor(e=DN,r){super(r);F(this,"__ids");this.__ids=e}static getType(){return"mark"}static clone(e){return new LN(e.__ids,e.__key)}static importDOM(){return null}static importJSON(e){return WA().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setIDs(e.ids)}exportJSON(){return{...super.exportJSON(),ids:this.getIDs()}}createDOM(e){const r=document.createElement("mark");return ct(r,e.theme.mark),this.__ids.length>1&&ct(r,e.theme.markOverlap),r}updateDOM(e,r,i){const o=e.__ids,s=this.__ids,l=o.length,c=s.length,u=i.theme.markOverlap;return l!==c&&(l===1?c===2&&ct(r,u):c===1&&_r(r,u)),!1}hasID(e){return this.getIDs().includes(e)}getIDs(){return Array.from(this.getLatest().__ids)}setIDs(e){const r=this.getWritable();return r.__ids=e,r}addID(e){const r=this.getWritable();return r.__ids.includes(e)?r:r.setIDs([...r.__ids,e])}deleteID(e){const r=this.getWritable(),i=r.__ids.indexOf(e);if(i===-1)return r;const o=Array.from(r.__ids);return o.splice(i,1),r.setIDs(o)}insertNewAfter(e,r=!0){const i=WA(this.__ids);return this.insertAfter(i,r),i}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,r,i){if(!Y(r)||i==="html")return!1;const o=r.anchor,s=r.focus,l=o.getNode(),c=s.getNode(),u=r.isBackward()?o.offset-s.offset:s.offset-o.offset;return this.isParentOf(l)&&this.isParentOf(c)&&this.getTextContent().length===u}excludeFromCopy(e){return e!=="clone"}};function WA(n=DN){return Lt(new Xu(n))}function fh(n){return n instanceof Xu}function vW(n){const t=n.getChildren();let e=null;for(let r=0;r<t.length;r++){const i=t[r];e===null?n.insertBefore(i):e.insertAfter(i),e=i}n.remove()}function xW(n,t,e,r){const i=zo(),[o,s]=n.isBackward()?[n.focus,n.anchor]:[n.anchor,n.focus];let l,c;i.anchor.set(o.key,o.offset,o.type),i.focus.set(s.key,s.offset,s.type);const u=i.extract();for(const d of u){if(G(c)&&c.isParentOf(d))continue;let h=null;if(ae(d))h=d;else{if(fh(d))continue;(G(d)||ot(d))&&d.isInline()&&(h=d)}if(h!==null){if(h&&h.is(l))continue;const g=h.getParent();g!=null&&g.is(l)||(c=void 0),l=g,c===void 0&&(c=(r||WA)([e]),h.insertBefore(c)),c.append(h)}else l=void 0,c=void 0}G(c)&&(t?c.selectStart():c.selectEnd())}function SW(n,t){let e=n;for(;e!==null;){if(fh(e))return e.getIDs();if(ae(e)&&t===e.getTextContentSize()){const r=e.getNextSibling();if(fh(r))return r.getIDs()}e=e.getParent()}return null}let ON=class extends At{$config(){return this.config("overflow",{$transform(t){t.isEmpty()&&t.remove()},extends:At})}createDOM(t){const e=document.createElement("span"),r=t.theme.characterLimit;return typeof r=="string"&&(e.className=r),e}updateDOM(t,e){return!1}insertNewAfter(t,e=!0){return this.getParentOrThrow().insertNewAfter(t,e)}excludeFromCopy(){return!0}};function EW({nodeKey:n}){const[t]=Me(),[e,r,i]=ig(n);return E.useEffect(()=>tt(t.registerCommand(jo,o=>{const s=t.getElementByKey(n);return o.target===s&&(o.shiftKey||i(),r(!e),!0)},Ne)),[i,t,e,n,r]),E.useEffect(()=>{const o=t.getElementByKey(n),s=t._config.theme.hrSelected??"selected";o!==null&&(e?ct(o,s):_r(o,s))},[t,e,n]),null}let cg=class RN extends Yb{static getType(){return"horizontalrule"}static clone(t){return new RN(t.__key)}static importJSON(t){return cc().updateFromJSON(t)}static importDOM(){return{hr:()=>({conversion:kW,priority:0})}}decorate(){return A.jsx(EW,{nodeKey:this.__key})}};function kW(){return{node:cc()}}function cc(){return Lt(new cg)}function hh(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function TW(n,t=J()){return t==null&&hh(166),Y(t)&&t.isCollapsed()||t.getNodes().length===0?"":th(n,t)}function _W(n,t=J()){return t==null&&hh(166),Y(t)&&t.isCollapsed()||t.getNodes().length===0?null:JSON.stringify(NW(n,t))}function YS(n,t,e){const r=n.getData("application/x-lexical-editor");if(r)try{const l=JSON.parse(r);if(l.namespace===e._config.namespace&&Array.isArray(l.nodes))return ZS(e,IW(l.nodes),t)}catch(l){console.error(l)}const i=n.getData("text/html"),o=n.getData("text/plain");if(i&&o!==i)try{const l=new DOMParser().parseFromString((function(c){return window.trustedTypes&&window.trustedTypes.createPolicy?window.trustedTypes.createPolicy("lexical",{createHTML:u=>u}).createHTML(c):c})(i),"text/html");return ZS(e,Jh(e,l),t)}catch(l){console.error(l)}const s=o||n.getData("text/uri-list");if(s!=null)if(Y(t)){const l=s.split(/(\r?\n|\t)/);l[l.length-1]===""&&l.pop();for(let c=0;c<l.length;c++){const u=J();if(Y(u)){const d=l[c];d===`
34
- `||d===`\r
35
- `?u.insertParagraph():d===" "?u.insertNodes([Xr()]):u.insertText(d)}}}else t.insertRawText(s)}function ZS(n,t,e){n.dispatchCommand(vT,{nodes:t,selection:e})||(e.insertNodes(t),(function(r){if(Y(r)&&r.isCollapsed()){const i=r.anchor;let o=null;const s=Yi(i,"previous");if(s)if(Fi(s))o=s.origin;else{const l=Mo(s,ri(Re(),"next").getFlipped());for(const c of l){if(ae(c.origin)){o=c.origin;break}if(G(c.origin)&&!c.origin.isInline())break}}if(o&&ae(o)){const l=o.getFormat(),c=o.getStyle();r.format===l&&r.style===c||(r.format=l,r.style=c,r.dirty=!0)}}})(e))}function PN(n,t,e,r=[]){let i=t===null||e.isSelected(t);const o=G(e)&&e.excludeFromCopy("html");let s=e;t!==null&&ae(s)&&(s=C1(t,s,"clone"));const l=G(s)?s.getChildren():[],c=(function(u){const d=u.exportJSON(),h=u.constructor;if(d.type!==h.getType()&&hh(58,h.name),G(u)){const g=d.children;Array.isArray(g)||hh(59,h.name)}return d})(s);ae(s)&&s.getTextContentSize()===0&&(i=!1);for(let u=0;u<l.length;u++){const d=l[u],h=PN(n,t,d,c.children);!i&&G(e)&&h&&e.extractWithChild(d,t,"clone")&&(i=!0)}if(i&&!o)r.push(c);else if(Array.isArray(c.children))for(let u=0;u<c.children.length;u++){const d=c.children[u];r.push(d)}return i}function NW(n,t){const e=[],r=Re().getChildren();for(let i=0;i<r.length;i++)PN(n,t,r[i],e);return{namespace:n._config.namespace,nodes:e}}function IW(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e],i=yj(r);ae(i)&&Gj(i),t.push(i)}return t}let ma=null;async function HA(n,t,e){if(ma!==null)return!1;if(t!==null)return new Promise((u,d)=>{n.update(()=>{u(GS(n,t,e))})});const r=n.getRootElement(),i=n._window||window,o=i.document,s=ni(i);if(r===null||s===null)return!1;const l=o.createElement("span");l.style.cssText="position: fixed; top: -1000px;",l.append(o.createTextNode("#")),r.append(l);const c=new Range;return c.setStart(l,0),c.setEnd(l,1),s.removeAllRanges(),s.addRange(c),new Promise((u,d)=>{const h=n.registerCommand(Fl,g=>(vo(g,ClipboardEvent)&&(h(),ma!==null&&(i.clearTimeout(ma),ma=null),u(GS(n,g,e))),!0),bn);ma=i.setTimeout(()=>{h(),ma=null,u(!1)},50),o.execCommand("copy"),l.remove()})}function GS(n,t,e){if(e===void 0){const i=ni(n._window),o=J();if(!o||o.isCollapsed()||!i)return!1;const s=i.anchorNode,l=i.focusNode;if(s!==null&&l!==null&&!zu(n,s,l))return!1;e=ug(o)}t.preventDefault();const r=t.clipboardData;return r!==null&&(MW(r,e),!0)}const BN=[["text/html",TW],["application/x-lexical-editor",_W]];function ug(n=J()){const t={"text/plain":n?n.getTextContent():""};if(n){const e=Wl();for(const[r,i]of BN){const o=i(e,n);o!==null&&(t[r]=o)}}return t}function MW(n,t){for(const[e]of BN)t[e]===void 0&&n.setData(e,"");for(const e in t){const r=t[e];r!==void 0&&n.setData(e,r)}}function DW(n){const t=window.location.origin,e=r=>{if(r.origin!==t)return;const i=n.getRootElement();if(document.activeElement!==i)return;const o=r.data;if(typeof o=="string"){let s;try{s=JSON.parse(o)}catch{return}if(s&&s.protocol==="nuanria_messaging"&&s.type==="request"){const l=s.payload;if(l&&l.functionId==="makeChanges"){const c=l.args;if(c){const[u,d,h,g,p]=c;n.update(()=>{const m=J();if(Y(m)){const y=m.anchor;let w=y.getNode(),v=0,C=0;if(ae(w)&&u>=0&&d>=0&&(v=u,C=u+d,m.setTextNodeRange(w,v,w,C)),v===C&&h===""||(m.insertRawText(h),w=y.getNode()),ae(w)){v=g,C=g+p;const x=w.getTextContentSize();v=v>x?x:v,C=C>x?x:C,m.setTextNodeRange(w,v,w,C)}r.stopImmediatePropagation()}})}}}}};return window.addEventListener("message",e,!0),()=>{window.removeEventListener("message",e,!0)}}function JS(n,t){if(document.caretRangeFromPoint!==void 0){const e=document.caretRangeFromPoint(n,t);return e===null?null:{node:e.startContainer,offset:e.startOffset}}if(document.caretPositionFromPoint!=="undefined"){const e=document.caretPositionFromPoint(n,t);return e===null?null:{node:e.offsetNode,offset:e.offset}}return null}const Jl=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,LW=Jl&&"documentMode"in document?document.documentMode:null,OW=Jl&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),RW=!(!Jl||!("InputEvent"in window)||LW)&&"getTargetRanges"in new window.InputEvent("input"),PW=Jl&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),QS=Jl&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,BW=Jl&&/^(?=.*Chrome).*/i.test(navigator.userAgent),FW=Jl&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&OW&&!BW,VS=we("DRAG_DROP_PASTE_FILE");let dg=class FN extends At{static getType(){return"quote"}static clone(t){return new FN(t.__key)}createDOM(t){const e=document.createElement("blockquote");return ct(e,t.theme.quote),e}updateDOM(t,e){return!1}static importDOM(){return{blockquote:t=>({conversion:jW,priority:0})}}exportDOM(t){const{element:e}=super.exportDOM(t);if(Et(e)){this.isEmpty()&&e.append(document.createElement("br"));const r=this.getFormatType();r&&(e.style.textAlign=r);const i=this.getDirection();i&&(e.dir=i)}return{element:e}}static importJSON(t){return qu().updateFromJSON(t)}insertNewAfter(t,e){const r=Ee(),i=this.getDirection();return r.setDirection(i),this.insertAfter(r,e),r}collapseAtStart(){const t=Ee();return this.getChildren().forEach(e=>t.append(e)),this.replace(t),!0}canMergeWhenEmpty(){return!0}};function qu(){return Lt(new dg)}function _l(n){return n instanceof dg}let $u=class jN extends At{constructor(e,r){super(r);F(this,"__tag");this.__tag=e}static getType(){return"heading"}static clone(e){return new jN(e.__tag,e.__key)}getTag(){return this.__tag}setTag(e){const r=this.getWritable();return this.__tag=e,r}createDOM(e){const r=this.__tag,i=document.createElement(r),o=e.theme.heading;if(o!==void 0){const s=o[r];ct(i,s)}return i}updateDOM(e,r,i){return e.__tag!==this.__tag}static importDOM(){return{h1:e=>({conversion:Aa,priority:0}),h2:e=>({conversion:Aa,priority:0}),h3:e=>({conversion:Aa,priority:0}),h4:e=>({conversion:Aa,priority:0}),h5:e=>({conversion:Aa,priority:0}),h6:e=>({conversion:Aa,priority:0}),p:e=>{const r=e.firstChild;return r!==null&&XS(r)?{conversion:()=>({node:null}),priority:3}:null},span:e=>XS(e)?{conversion:r=>({node:xo("h1")}),priority:3}:null}}exportDOM(e){const{element:r}=super.exportDOM(e);if(Et(r)){this.isEmpty()&&r.append(document.createElement("br"));const i=this.getFormatType();i&&(r.style.textAlign=i);const o=this.getDirection();o&&(r.dir=o)}return{element:r}}static importJSON(e){return xo(e.tag).updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setTag(e.tag)}exportJSON(){return{...super.exportJSON(),tag:this.getTag()}}insertNewAfter(e,r=!0){const i=e?e.anchor.offset:0,o=this.getLastDescendant(),s=!o||e&&e.anchor.key===o.getKey()&&i===o.getTextContentSize()||!e?Ee():xo(this.getTag()),l=this.getDirection();if(s.setDirection(l),this.insertAfter(s,r),i===0&&!this.isEmpty()&&e){const c=Ee();c.select(),this.replace(c,!0)}return s}collapseAtStart(){const e=this.isEmpty()?Ee():xo(this.getTag());return this.getChildren().forEach(r=>e.append(r)),this.replace(e),!0}extractWithChild(){return!0}};function XS(n){return n.nodeName.toLowerCase()==="span"&&n.style.fontSize==="26pt"}function Aa(n){const t=n.nodeName.toLowerCase();let e=null;return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6"||(e=xo(t),n.style!==null&&(ob(n,e),e.setFormat(n.style.textAlign))),{node:e}}function jW(n){const t=qu();return n.style!==null&&(t.setFormat(n.style.textAlign),ob(n,t)),{node:t}}function xo(n="h1"){return Lt(new $u(n))}function Ui(n){return n instanceof $u}function Ia(n){let t=null;if(vo(n,DragEvent)?t=n.dataTransfer:vo(n,ClipboardEvent)&&(t=n.clipboardData),t===null)return[!1,[],!1];const e=t.types,r=e.includes("Files"),i=e.includes("text/html")||e.includes("text/plain");return[r,Array.from(t.files),i]}function qS(n){const t=J();if(!Y(t))return!1;const e=new Set,r=t.getNodes();for(let i=0;i<r.length;i++){const o=r[i],s=o.getKey();if(e.has(s))continue;const l=Te(o,u=>G(u)&&!u.isInline());if(l===null)continue;const c=l.getKey();l.canIndent()&&!e.has(c)&&(e.add(c),n(l))}return e.size>0}function $S(n){const t=Fe(n);return ot(t)}function _m(n){for(const t of["lowercase","uppercase","capitalize"])n.hasFormat(t)&&n.toggleFormat(t)}function zW(n){return tt(n.registerCommand(jo,t=>{const e=J();return!!Vt(e)&&(e.clear(),!0)},Ke),n.registerCommand(Pi,t=>{const e=J();return Y(e)?(e.deleteCharacter(t),!0):!!Vt(e)&&(e.deleteNodes(),!0)},Ke),n.registerCommand(Ka,t=>{const e=J();return!!Y(e)&&(e.deleteWord(t),!0)},Ke),n.registerCommand(gl,t=>{const e=J();return!!Y(e)&&(e.deleteLine(t),!0)},Ke),n.registerCommand(hs,t=>{const e=J();if(typeof t=="string")e!==null&&e.insertText(t);else{if(e===null)return!1;const r=t.dataTransfer;if(r!=null)YS(r,e,n);else if(Y(e)){const i=t.data;return i&&e.insertText(i),!0}}return!0},Ke),n.registerCommand(iA,()=>{const t=J();return!!Y(t)&&(t.removeText(),!0)},Ke),n.registerCommand(Mt,t=>{const e=J();return!!Y(e)&&(e.formatText(t),!0)},Ke),n.registerCommand(as,t=>{const e=J();if(!Y(e)&&!Vt(e))return!1;const r=e.getNodes();for(const i of r){const o=Te(i,s=>G(s)&&!s.isInline());o!==null&&o.setFormat(t)}return!0},Ke),n.registerCommand(ol,t=>{const e=J();return!!Y(e)&&(e.insertLineBreak(t),!0)},Ke),n.registerCommand(Io,()=>{const t=J();return!!Y(t)&&(t.insertParagraph(),!0)},Ke),n.registerCommand(sA,()=>(Bu([Xr()]),!0),Ke),n.registerCommand(Bi,()=>qS(t=>{const e=t.getIndent();t.setIndent(e+1)}),Ke),n.registerCommand(ls,()=>qS(t=>{const e=t.getIndent();e>0&&t.setIndent(Math.max(0,e-1))}),Ke),n.registerCommand(Hi,t=>{const e=J();if(Vt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),r[0].selectPrevious(),!0}else if(Y(e)){const r=mA(e.focus,!0);if(!t.shiftKey&&ot(r)&&!r.isIsolated()&&!r.isInline())return r.selectPrevious(),t.preventDefault(),!0}return!1},Ke),n.registerCommand(Cs,t=>{const e=J();if(Vt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),r[0].selectNext(0,0),!0}else if(Y(e)){if((function(i){const o=i.focus;return o.key==="root"&&o.offset===Re().getChildrenSize()})(e))return t.preventDefault(),!0;const r=mA(e.focus,!1);if(!t.shiftKey&&ot(r)&&!r.isIsolated()&&!r.isInline())return r.selectNext(),t.preventDefault(),!0}return!1},Ke),n.registerCommand(Bh,t=>{const e=J();if(Vt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),bx(r[0])?r[0].selectNext(0,0):r[0].selectPrevious(),!0}if(!Y(e))return!1;if(Cx(e,!0)){const r=t.shiftKey;return t.preventDefault(),vx(e,r,!0),!0}return!1},Ke),n.registerCommand(Ph,t=>{const e=J();if(Vt(e)){const i=e.getNodes();if(i.length>0)return t.preventDefault(),bx(i[0])?i[0].selectPrevious():i[0].selectNext(0,0),!0}if(!Y(e))return!1;const r=t.shiftKey;return!!Cx(e,!1)&&(t.preventDefault(),vx(e,r,!1),!0)},Ke),n.registerCommand(Bl,t=>{if($S(t.target))return!1;const e=J();if(Y(e)){if((function(r){if(!r.isCollapsed())return!1;const{anchor:i}=r;if(i.offset!==0)return!1;const o=i.getNode();if(Yt(o))return!1;const s=oc(o);return s.getIndent()>0&&(s.is(o)||o.is(s.getFirstDescendant()))})(e))return t.preventDefault(),n.dispatchCommand(ls,void 0);if(QS&&navigator.language==="ko-KR")return!1}else if(!Vt(e))return!1;return t.preventDefault(),n.dispatchCommand(Pi,!0)},Ke),n.registerCommand(tc,t=>{if($S(t.target))return!1;const e=J();return!(!Y(e)&&!Vt(e))&&(t.preventDefault(),n.dispatchCommand(Pi,!1))},Ke),n.registerCommand(pl,t=>{const e=J();if(!Y(e))return!1;if(_m(e),t!==null){if((QS||PW||FW)&&RW)return!1;if(t.preventDefault(),t.shiftKey)return n.dispatchCommand(ol,!1)}return n.dispatchCommand(Io,void 0)},Ke),n.registerCommand(ec,()=>{const t=J();return!!Y(t)&&(n.blur(),!0)},Ke),n.registerCommand(zy,t=>{const[,e]=Ia(t);if(e.length>0){const i=JS(t.clientX,t.clientY);if(i!==null){const{offset:o,node:s}=i,l=Fe(s);if(l!==null){const c=zo();if(ae(l))c.anchor.set(l.getKey(),o,"text"),c.focus.set(l.getKey(),o,"text");else{const d=l.getParentOrThrow().getKey(),h=l.getIndexWithinParent()+1;c.anchor.set(d,h,"element"),c.focus.set(d,h,"element")}const u=ws(c);Ve(u)}n.dispatchCommand(VS,e)}return t.preventDefault(),!0}const r=J();return!!Y(r)},Ke),n.registerCommand(Uy,t=>{const[e]=Ia(t),r=J();return!(e&&!Y(r))},Ke),n.registerCommand(Ky,t=>{const[e]=Ia(t),r=J();if(e&&!Y(r))return!1;const i=JS(t.clientX,t.clientY);if(i!==null){const o=Fe(i.node);ot(o)&&t.preventDefault()}return!0},Ke),n.registerCommand(lA,()=>(r1(),!0),Ke),n.registerCommand(Fl,t=>(HA(n,vo(t,ClipboardEvent)?t:null),!0),Ke),n.registerCommand(Ru,t=>((async function(e,r){await HA(r,vo(e,ClipboardEvent)?e:null),r.update(()=>{const i=J();Y(i)?i.removeText():Vt(i)&&i.getNodes().forEach(o=>o.remove())})})(t,n),!0),Ke),n.registerCommand(Ol,t=>{const[,e,r]=Ia(t);return e.length>0&&!r?(n.dispatchCommand(VS,e),!0):Kl(t.target)&&Vy(t.target)?!1:J()!==null&&((function(i,o){i.preventDefault(),o.update(()=>{const s=J(),l=vo(i,InputEvent)||vo(i,KeyboardEvent)?null:i.clipboardData;l!=null&&s!==null&&YS(l,s,o)},{tag:rj})})(t,n),!0)},Ke),n.registerCommand(jy,t=>{const e=J();return Y(e)&&_m(e),!1},Ke),n.registerCommand(nc,t=>{const e=J();return Y(e)&&_m(e),!1},Ke))}function ze(n,t,...e){if(!n)throw new Error("Internal Lexical error: invariant() is meant to be replaced at compile time. There is no runtime version. Error: "+t)}function gh(...n){const t=[];for(const e of n)if(e&&typeof e=="string")for(const[r]of e.matchAll(/\S+/g))t.push(r);return t}const Ts={blockCursor:"dsd__theme__blockCursor",characterLimit:"dsd__theme__characterLimit",code:"dsd__theme__code",codeCollapsed:"dsd__theme__code_сollapsed",codeHighlight:{atrule:"dsd__theme__tokenAttr",attr:"dsd__theme__tokenAttr",boolean:"dsd__theme__tokenProperty",builtin:"dsd__theme__tokenSelector",cdata:"dsd__theme__tokenComment",char:"dsd__theme__tokenSelector",class:"dsd__theme__tokenFunction","class-name":"dsd__theme__tokenFunction",comment:"dsd__theme__tokenComment",constant:"dsd__theme__tokenProperty",deleted:"dsd__theme__tokenProperty",doctype:"dsd__theme__tokenComment",entity:"dsd__theme__tokenOperator",function:"dsd__theme__tokenFunction",important:"dsd__theme__tokenVariable",inserted:"dsd__theme__tokenSelector",keyword:"dsd__theme__tokenAttr",namespace:"dsd__theme__tokenVariable",number:"dsd__theme__tokenProperty",operator:"dsd__theme__tokenOperator",prolog:"dsd__theme__tokenComment",property:"dsd__theme__tokenProperty",punctuation:"dsd__theme__tokenPunctuation",regex:"dsd__theme__tokenVariable",selector:"dsd__theme__tokenSelector",string:"dsd__theme__tokenSelector",symbol:"dsd__theme__tokenProperty",tag:"dsd__theme__tokenProperty",url:"dsd__theme__tokenOperator",variable:"dsd__theme__tokenVariable"},embedBlock:{base:"dsd__theme__embedBlock",focus:"dsd__theme__embedBlockFocus"},hashtag:"dsd__theme__hashtag",heading:{h1:"dsd__theme__h1",h2:"dsd__theme__h2",h3:"dsd__theme__h3",h4:"dsd__theme__h4",h5:"dsd__theme__h5",h6:"dsd__theme__h6"},excalidraw:"editor-excalidraw",image:"editor-image",indent:"dsd__theme__indent",inlineImage:"inline-editor-image",layoutContainer:"dsd__theme__layoutContainer",layoutItem:"dsd__theme__layoutItem",layoutDivider:"dsd__theme__layoutDivider",calloutIcon:"dsd__theme__callout-icon",callout:"dsd__theme__callout-container",calloutWrapper:"dsd__theme__callout-wrapper",calloutContainer:"dsd__theme__callout-main-container",link:"dsd__theme__link",list:{checklist:"dsd__theme__checklist",listitem:"dsd__theme__listItem",listitemChecked:"dsd__theme__listItemChecked",listitemUnchecked:"dsd__theme__listItemUnchecked",nested:{listitem:"dsd__theme__nestedListItem"},olDepth:["dsd__theme__ol1","dsd__theme__ol2","dsd__theme__ol3","dsd__theme__ol4","dsd__theme__ol5"],ul:"dsd__theme__ul"},listitemIndeterminate:"dsd__theme__listIndeterminate",mark:"dsd__theme__mark",markOverlap:"dsd__theme__markOverlap",paragraph:"dsd__theme__paragraph",quote:"dsd__theme__quote",rtl:"dsd__theme__rtl",table:"dsd__theme__table",tableAddColumns:"dsd__theme__tableAddColumns",tableAddRows:"dsd__theme__tableAddRows",tableCell:"dsd__theme__tableCell",tableCellActionButton:"dsd__theme__tableCellActionButton",tableCellActionButtonContainer:"dsd__theme__tableCellActionButtonContainer",tableCellEditing:"dsd__theme__tableCellEditing",tableCellHeader:"dsd__theme__tableCellHeader",tableCellPrimarySelected:"dsd__theme__tableCellPrimarySelected",tableCellResizer:"dsd__theme__tableCellResizer",tableCellSelected:"dsd__theme__tableCellSelected",tableCellSortedIndicator:"dsd__theme__tableCellSortedIndicator",tableResizeRuler:"dsd__theme__tableCellResizeRuler",tableSelected:"dsd__theme__tableSelected",tableSelection:"dsd__theme__tableSelection",tableScrollableWrapper:"dsd__theme__table-scrollable-wrapper",text:{bold:"dsd__theme__textBold",capitalize:"dsd__theme__textCapitalize",code:"dsd__theme__textCode",highlight:"dsd__theme__textHighlight",italic:"dsd__theme__textItalic",lowercase:"dsd__theme__textLowercase",strikethrough:"dsd__theme__textStrikethrough",subscript:"dsd__theme__textSubscript",superscript:"dsd__theme__textSuperscript",underline:"dsd__theme__textUnderline",underlineStrikethrough:"dsd__theme__textUnderlineStrikethrough",uppercase:"dsd__theme__textUppercase"}},UW=n=>{const t={...Ts,text:{...Ts.text}};return n==="comment"&&t.text&&(delete t.text.strikethrough,delete t.text.underlineStrikethrough),t};function YA(n){let t=1,e=n.getParent();for(;e!=null;){if(wt(e)){const r=e.getParent();if(Qe(r)){t++,e=r.getParent();continue}ze(!1,"A ListItemNode must have a ListNode for a parent.")}return t}return t}function ZA(n){let t=n.getParent();Qe(t)||ze(!1,"A ListItemNode must have a ListNode for a parent.");let e=t;for(;e!==null;)e=e.getParent(),Qe(e)&&(t=e);return t}function zN(n){let t=[];const e=n.getChildren().filter(wt);for(let r=0;r<e.length;r++){const i=e[r],o=i.getFirstChild();Qe(o)?t=t.concat(zN(o)):t.push(i)}return t}function Li(n){return wt(n)&&Qe(n.getFirstChild())}function KW(n){let t=n;for(;t.getNextSibling()==null&&t.getPreviousSibling()==null;){const e=t.getParent();if(e==null||!(wt(t)||Qe(t)))break;t=e}t.remove()}function eE(n){return br().append(n)}function UN(n,t){return wt(n)&&(t.length===0||t.length===1&&n.is(t[0])&&n.getChildrenSize()===0)}function GA(n,t){n.update(()=>{const e=J();if(e!==null){const r=e.getNodes();if(Y(e)){const o=e.getStartEndPoints();ze(o!==null,"insertList: anchor should be defined");const[s]=o,l=s.getNode(),c=l.getParent();if(UN(l,r)){const u=or(t);if(qn(c)){l.replace(u);const d=br();G(l)&&(d.setFormat(l.getFormatType()),d.setIndent(l.getIndent())),u.append(d)}else if(wt(l)){const d=l.getParentOrThrow();Nl(u,d.getChildren()),d.replace(u)}return}}const i=new Set;for(let o=0;o<r.length;o++){const s=r[o];if(G(s)&&s.isEmpty()&&!wt(s)&&!i.has(s.getKey())){tE(s,t);continue}if(QT(s)){let l=s.getParent();for(;l!=null;){const c=l.getKey();if(Qe(l)){if(!i.has(c)){const u=or(t);Nl(u,l.getChildren()),l.replace(u),i.add(c)}break}else{const u=l.getParent();if(qn(u)&&!i.has(c)){i.add(c),tE(l,t);break}l=u}}}}}})}function Nl(n,t){n.splice(n.getChildrenSize(),0,t)}function tE(n,t){if(Qe(n))return n;const e=n.getPreviousSibling(),r=n.getNextSibling(),i=br();if(i.setFormat(n.getFormatType()),i.setIndent(n.getIndent()),Nl(i,n.getChildren()),Qe(e)&&t===e.getListType())return e.append(i),n.remove(),Qe(r)&&t===r.getListType()&&(Nl(e,r.getChildren()),r.remove()),e;if(Qe(r)&&t===r.getListType())return r.getFirstChildOrThrow().insertBefore(i),n.remove(),r;{const o=or(t);return o.append(i),n.replace(o),o}}function Xb(n,t){const e=n.getLastChild(),r=t.getFirstChild();e&&r&&Li(e)&&Li(r)&&(Xb(e.getFirstChild(),r.getFirstChild()),r.remove());const i=t.getChildren();i.length>0&&n.append(...i),t.remove()}function WW(n){n.update(()=>{const t=J();if(Y(t)){const e=new Set,r=t.getNodes(),i=t.anchor.getNode();if(UN(i,r))e.add(ZA(i));else for(let o=0;o<r.length;o++){const s=r[o];if(QT(s)){const l=hb(s,vn);l!=null&&e.add(ZA(l))}}for(const o of e){let s=o;const l=zN(o);for(const c of l){const u=Ee();Nl(u,c.getChildren()),s.insertAfter(u),s=u,c.__key===t.anchor.key&&t.anchor.set(u.getKey(),0,"element"),c.__key===t.focus.key&&t.focus.set(u.getKey(),0,"element"),c.remove()}o.remove()}}})}function HW(n){const t=n.getListType()!=="check";let e=n.getStart();for(const r of n.getChildren())wt(r)&&(r.getValue()!==e&&r.setValue(e),t&&r.getLatest().__checked!=null&&r.setChecked(void 0),Qe(r.getFirstChild())||e++)}function YW(n){const t=n.getNextSibling();Qe(t)&&n.getListType()===t.getListType()&&Xb(n,t)}function ZW(n){const t=new Set;if(Li(n)||t.has(n.getKey()))return;const e=n.getParent(),r=n.getNextSibling(),i=n.getPreviousSibling();if(Li(r)&&Li(i)){const o=i.getFirstChild();if(Qe(o)){o.append(n);const s=r.getFirstChild();if(Qe(s)){const l=s.getChildren();Nl(o,l),r.remove(),t.add(r.getKey())}}}else if(Li(r)){const o=r.getFirstChild();if(Qe(o)){const s=o.getFirstChild();s!==null&&s.insertBefore(n)}}else if(Li(i)){const o=i.getFirstChild();Qe(o)&&o.append(n)}else if(Qe(e)){const o=br(),s=or(e.getListType());o.append(s),s.append(n),i?i.insertAfter(o):r?r.insertBefore(o):e.append(o)}}function GW(n){if(Li(n))return;const t=n.getParent(),e=t?t.getParent():void 0,r=e?e.getParent():void 0;if(Qe(r)&&wt(e)&&Qe(t)){const i=t?t.getFirstChild():void 0,o=t?t.getLastChild():void 0;if(n.is(i))e.insertBefore(n),t.isEmpty()&&e.remove();else if(n.is(o))e.insertAfter(n),t.isEmpty()&&e.remove();else{const s=t.getListType(),l=br(),c=or(s);l.append(c),n.getPreviousSiblings().forEach(h=>c.append(h));const u=br(),d=or(s);u.append(d),Nl(d,n.getNextSiblings()),e.insertBefore(l),e.insertAfter(u),e.replace(n)}}}function JW(){const n=J();if(!Y(n)||!n.isCollapsed())return!1;const t=n.anchor.getNode();if(!wt(t)||t.getChildrenSize()!==0)return!1;const e=ZA(t),r=t.getParent();ze(Qe(r),"A ListItemNode must have a ListNode for a parent.");const i=r.getParent();let o;if(qn(i))o=Ee(),e.insertAfter(o);else if(wt(i))o=br(),i.insertAfter(o);else return!1;o.select();const s=t.getNextSiblings();if(s.length>0){const l=or(r.getListType());if(mn(o))o.insertAfter(l);else{const c=br();c.append(l),o.insertAfter(c)}s.forEach(c=>{c.remove(),l.append(c)})}return KW(t),!0}class vn extends At{constructor(e,r,i,o,s){super(s);F(this,"__value");F(this,"__checked");F(this,"__opened");F(this,"__isIndeterminate");this.__value=e===void 0?1:e,this.__checked=r,this.__opened=i,this.__isIndeterminate=o}static getType(){return"listitem"}static clone(e){return new vn(e.__value,e.__checked,e.__opened,e.__isIndeterminate,e.__key)}createDOM(e){const r=document.createElement("li"),i=this.getParent();return Qe(i)&&i.getListType()==="check"&&rE(r,this,null),r.value=this.__value,nE(r,e.theme,this),r}updateDOM(e,r,i){const o=this.getParent();return Qe(o)&&o.getListType()==="check"&&rE(r,this,e),r.value=this.__value,nE(r,i.theme,this),!1}static transform(){return e=>{if(ze(wt(e),"node is not a ListItemNode"),e.__checked==null)return;const r=e.getParent();Qe(r)&&r.getListType()!=="check"&&e.getChecked()!=null&&e.setChecked(void 0)}}static importDOM(){return{li:()=>({conversion:QW,priority:0})}}static importJSON(e){const r=br(e.checked,e.opened,e.isIndeterminate);return r.setValue(e.value),r.setFormat(e.format),r.setDirection(e.direction),r}exportDOM(e){const r=this.createDOM(e._config);return r.style.textAlign=this.getFormatType(),{element:r}}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),type:"listitem",value:this.getValue(),opened:this.getOpened(),isIndeterminate:this.__isIndeterminate,version:1}}append(...e){for(let r=0;r<e.length;r++){const i=e[r];if(G(i)&&this.canMergeWith(i)){const o=i.getChildren();this.append(...o),i.remove()}else super.append(i)}return this}replace(e,r){if(wt(e))return super.replace(e);this.setIndent(0);const i=this.getParentOrThrow();if(!Qe(i))return e;if(i.__first===this.getKey())i.insertBefore(e);else if(i.__last===this.getKey())i.insertAfter(e);else{const o=or(i.getListType());let s=this.getNextSibling();for(;s;){const l=s;s=s.getNextSibling(),o.append(l)}i.insertAfter(e),e.insertAfter(o)}return r&&(ze(G(e),"includeChildren should only be true for ElementNodes"),this.getChildren().forEach(o=>{e.append(o)})),this.remove(),i.getChildrenSize()===0&&i.remove(),e}insertAfter(e,r=!0){const i=this.getParentOrThrow();if(Qe(i)||ze(!1,"insertAfter: list node is not parent of list item node"),wt(e))return super.insertAfter(e,r);const o=this.getNextSiblings();if(i.insertAfter(e,r),o.length!==0){const s=or(i.getListType());o.forEach(l=>s.append(l)),e.insertAfter(s,r)}return e}remove(e){const r=this.getPreviousSibling(),i=this.getNextSibling();super.remove(e),r&&i&&Li(r)&&Li(i)&&(Xb(r.getFirstChild(),i.getFirstChild()),i.remove())}insertNewAfter(e,r=!0){const i=br(this.__checked==null?void 0:!1);return this.insertAfter(i,r),i}collapseAtStart(e){const r=Ee();this.getChildren().forEach(c=>r.append(c));const o=this.getParentOrThrow(),s=o.getParentOrThrow(),l=wt(s);if(o.getChildrenSize()===1)if(l)o.remove(),s.select();else{o.insertBefore(r),o.remove();const c=e.anchor,u=e.focus,d=r.getKey();c.type==="element"&&c.getNode().is(this)&&c.set(d,c.offset,"element"),u.type==="element"&&u.getNode().is(this)&&u.set(d,u.offset,"element")}else o.insertBefore(r),this.remove();return!0}getValue(){return this.getLatest().__value}setValue(e){const r=this.getWritable();r.__value=e}getChecked(){const e=this.getLatest();let r;const i=this.getParent();return Qe(i)&&(r=i.getListType()),r==="check"?!!e.__checked:void 0}getOpened(){const e=this.getLatest();let r;const i=this.getParent();return Qe(i)&&(r=i.getListType()),r==="check"?!!e.__opened:void 0}setChecked(e){const r=this.getWritable();r.__checked=e}setOpened(e){const r=this.getWritable();r.__opened=e}setIndeterminate(e){const r=this.getWritable();r.__isIndeterminate=e}toggleChecked(){this.setChecked(!this.__checked)}toggleOpen(){const e=!(this.__opened===!0||this.__opened===void 0);this.setOpened(e)}getIndent(){const e=this.getParent();if(e===null)return this.getLatest().__indent;let r=e.getParentOrThrow(),i=0;for(;wt(r);)r=r.getParentOrThrow().getParentOrThrow(),i++;return i}setIndent(e){ze(typeof e=="number","Invalid indent value."),e=Math.floor(e),ze(e>=0,"Indent value must be non-negative.");let r=this.getIndent();for(;r!==e;)r<e?(ZW(this),r++):(GW(this),r--);return this}canInsertAfter(e){return wt(e)}canReplaceWith(e){return wt(e)}canMergeWith(e){return mn(e)||wt(e)}extractWithChild(e,r){if(!Y(r))return!1;const i=r.anchor.getNode(),o=r.focus.getNode();return this.isParentOf(i)&&this.isParentOf(o)&&this.getTextContent().length===r.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return or("bullet")}canMergeWhenEmpty(){return!0}}function nE(n,t,e){let r=[],i=[];const o=t.list,s=o?o.listitem:void 0;let l;if(o&&o.nested&&(l=o.nested.listitem),s!==void 0&&r.push(...gh(s)),o){const c=e.getParent(),u=Qe(c)&&c.getListType()==="check",d=e.getChecked();(!u||d)&&i.push(o.listitemUnchecked),(!u||!d)&&i.push(o.listitemChecked),u&&r.push(d?o.listitemChecked:o.listitemUnchecked)}if(l!==void 0){const c=gh(l);e.getChildren().some(u=>Qe(u))?r.push(...c):i.push(...c)}e.__isIndeterminate?r=[...r,Ts.listitemIndeterminate]:i=[...i,Ts.listitemIndeterminate],i.length>0&&_r(n,...i),r.length>0&&ct(n,...r)}function rE(n,t,e,r){Qe(t.getFirstChild())?(n.removeAttribute("role"),n.removeAttribute("tabIndex"),n.removeAttribute("aria-checked")):(n.setAttribute("role","checkbox"),n.setAttribute("tabIndex","-1"),(!e||t.__checked!==e.__checked)&&n.setAttribute("aria-checked",t.getChecked()?"true":"false"),t.__opened===!1?n.setAttribute("data-list","closed"):n.setAttribute("data-list","opened"))}function QW(n){if(n.classList.contains("task-list-item")){for(const l of n.children)if(l.tagName==="INPUT")return VW(l)}const e=n.getAttribute("aria-checked"),r=n.getAttribute("data-list"),i=e==="true"?!0:e==="false"?!1:void 0,o=!r||r==="opened",s=n.className.includes(Ts.listitemIndeterminate);return{node:br(i,o,s)}}function VW(n){if(!(n.getAttribute("type")==="checkbox"))return{node:null};const e=n.hasAttribute("checked");return{node:br(e,!1,!0)}}function br(n,t,e){return Lt(new vn(void 0,n,t,e))}function wt(n){return n instanceof vn}class bi extends Ln{constructor(t,e){super(t,e)}static getType(){return"extended-text"}static clone(t){return new bi(t.__text,t.__key)}static importDOM(){const t=Ln.importDOM(),e=document.body.getAttribute("mode")?{code:()=>({conversion:is(t==null?void 0:t.span),priority:1}),s:()=>({conversion:is(t==null?void 0:t.span),priority:1})}:{code:()=>({conversion:is(t==null?void 0:t.code),priority:1})};return{...t,...e,em:()=>({conversion:is(t==null?void 0:t.em),priority:1}),span:()=>({conversion:is(t==null?void 0:t.span),priority:1}),strong:()=>({conversion:is(t==null?void 0:t.strong),priority:1}),sub:()=>({conversion:is(t==null?void 0:t.sub),priority:1}),sup:()=>({conversion:is(t==null?void 0:t.sup),priority:1})}}static importJSON(t){return Ln.importJSON(t)}isSimpleText(){return(this.__type==="text"||this.__type==="extended-text")&&this.__mode===0}exportDOM(t){let{element:e}=super.exportDOM(t);return e instanceof HTMLElement&&e.setAttribute("lexical-element","true"),{element:e}}exportJSON(){return{...super.exportJSON(),type:"extended-text",version:1}}}function Ro(n=""){return Lt(new bi(n))}function Wn(n){return n instanceof bi}function is(n){return t=>{const e=n==null?void 0:n(t);if(!e)return null;const r=e.conversion(t);if(!r)return r;const i=t.getAttribute("lexical-element")&&!document.body.getAttribute("mode"),o=i?t.style.backgroundColor:"",s=i?t.style.color:"",l=t.style.textDecoration;return{...r,forChild:(c,u)=>{const h=((r==null?void 0:r.forChild)??(g=>g))(c,u);if(Wn(h)){const g=[o?`background-color: ${o}`:null,s?`color: ${s}`:null,l?`text-decoration: ${l}`:null].filter(p=>p!=null).join("; ");if(g.length)return h.setStyle(g)}return h}}}}class wr extends At{constructor(e,r,i){super(i);F(this,"__tag");F(this,"__start");F(this,"__listType");const o=sE[e]||e;this.__listType=o,this.__tag=o==="number"?"ol":"ul",this.__start=r}static getType(){return"list"}static clone(e){const r=e.__listType||sE[e.__tag];return new wr(r,e.__start,e.__key)}getTag(){return this.__tag}setListType(e){const r=this.getWritable();r.__listType=e,r.__tag=e==="number"?"ol":"ul"}getListType(){return this.__listType}getStart(){return this.__start}createDOM(e,r){const i=this.__tag,o=document.createElement(i);return this.__start!==1&&o.setAttribute("start",String(this.__start)),o.__lexicalListType=this.__listType,iE(o,e.theme,this),o}updateDOM(e,r,i){return e.__tag!==this.__tag?!0:(iE(r,i.theme,this),!1)}static transform(){return e=>{ze(Qe(e),"node is not a ListNode"),YW(e),HW(e)}}static importDOM(){return{ol:()=>({conversion:oE,priority:0}),ul:()=>({conversion:oE,priority:0})}}static importJSON(e){const r=or(e.listType,e.start);return r.setFormat(e.format),r.setIndent(e.indent),r.setDirection(e.direction),r}exportDOM(e){const{element:r}=super.exportDOM(e);return r&&Et(r)&&(this.__start!==1&&r.setAttribute("start",String(this.__start)),this.__listType==="check"&&r.setAttribute("__lexicalListType","check")),{element:r}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag(),type:"list",version:1}}canBeEmpty(){return!1}canIndent(){return!1}append(...e){for(let r=0;r<e.length;r++){const i=e[r];if(wt(i))super.append(i);else{const o=br();if(Qe(i))o.append(i);else if(G(i)){const s=Ro(i.getTextContent());o.append(s)}else o.append(i);super.append(o)}}return this}extractWithChild(e){return wt(e)}}function iE(n,t,e){const r=[],i=[],o=t.list;if(o!==void 0){const s=o[`${e.__tag}Depth`]||[],l=YA(e)-1,c=l%s.length,u=s[c],d=o[e.__tag];let h;const g=o.nested,p=o.checklist;if(g!==void 0&&g.list&&(h=g.list),d!==void 0&&r.push(d),p!==void 0&&e.__listType==="check"&&r.push(p),u!==void 0){r.push(...gh(u));for(let m=0;m<s.length;m++)m!==c&&i.push(e.__tag+m)}if(h!==void 0){const m=gh(h);l>1?r.push(...m):i.push(...m)}}i.length>0&&_r(n,...i),r.length>0&&ct(n,...r)}function XW(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e];if(wt(r)){t.push(r);const i=r.getChildren();i.length>1&&i.forEach(o=>{Qe(o)&&t.push(eE(o))})}else t.push(eE(r))}return t}function qW(n){if(n.getAttribute("__lexicallisttype")==="check"||n.classList.contains("contains-task-list"))return!0;for(const t of n.childNodes)if(Et(t)&&t.hasAttribute("aria-checked"))return!0;return!1}function oE(n){const t=n.nodeName.toLowerCase();let e=null;if(t==="ol"){const r=n.start;e=or("number",r)}else t==="ul"&&(qW(n)?e=or("check"):e=or("bullet"));return{after:XW,node:e}}const sE={ol:"number",ul:"bullet"};function or(n,t=1){return Lt(new wr(n,t))}function Qe(n){return n instanceof wr}const qb=we("INSERT_UNORDERED_LIST_COMMAND"),fg=we("INSERT_ORDERED_LIST_COMMAND"),$b=we("INSERT_CHECK_LIST_COMMAND"),$W=we("REMOVE_LIST_COMMAND");function e8(n){return tt(n.registerCommand(fg,()=>(GA(n,"number"),!0),Ne),n.registerCommand(qb,()=>(GA(n,"bullet"),!0),Ne),n.registerCommand($W,()=>(WW(n),!0),Ne),n.registerCommand(Io,()=>!!JW(),Ne))}const ph=/^(\d+(?:\.\d+)?)px$/,pn={BOTH:3,COLUMN:2,NO_STATUS:0,ROW:1};class gi extends At{constructor(e=pn.NO_STATUS,r=1,i,o){super(o);F(this,"__colSpan");F(this,"__rowSpan");F(this,"__headerState");F(this,"__width");F(this,"__backgroundColor");this.__colSpan=r,this.__rowSpan=1,this.__headerState=e,this.__width=i,this.__backgroundColor=null}static getType(){return"tablecell"}static clone(e){return new gi(e.__headerState,e.__colSpan,e.__width,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__rowSpan=e.__rowSpan,this.__backgroundColor=e.__backgroundColor}static importDOM(){return{td:e=>({conversion:lE,priority:0}),th:e=>({conversion:lE,priority:0})}}static importJSON(e){const r=e.colSpan||1,i=e.rowSpan||1;return pi(e.headerState,r,e.width||void 0).setRowSpan(i).setBackgroundColor(e.backgroundColor||null)}createDOM(e){const r=document.createElement(this.getTag());return this.__width&&(r.style.maxWidth=`${this.__width}px`,r.style.minWidth=`${this.__width}px`),this.__colSpan>1&&(r.colSpan=this.__colSpan),this.__rowSpan>1&&(r.rowSpan=this.__rowSpan),this.__backgroundColor!==null&&(r.style.backgroundColor=this.__backgroundColor),ct(r,e.theme.tableCell,this.hasHeader()&&e.theme.tableCellHeader),r}exportDOM(e){const{element:r}=super.exportDOM(e);if(r){const i=r;this.__colSpan>1&&(i.colSpan=this.__colSpan),this.__rowSpan>1&&(i.rowSpan=this.__rowSpan),this.getWidth()&&(i.style.maxWidth=`${this.getWidth()}px`,i.style.minWidth=`${this.getWidth()}px`),i.style.verticalAlign="top",i.style.textAlign="start";const o=this.getBackgroundColor();o!==null?i.style.backgroundColor=o:this.hasHeader()&&(i.style.backgroundColor="#f2f3f5")}return{element:r}}exportJSON(){return{...super.exportJSON(),backgroundColor:this.getBackgroundColor(),colSpan:this.__colSpan,headerState:this.__headerState,rowSpan:this.__rowSpan,type:"tablecell",width:this.getWidth()}}getColSpan(){return this.getLatest().__colSpan}setColSpan(e){const r=this.getWritable();return r.__colSpan=e,r}getRowSpan(){return this.getLatest().__rowSpan}setRowSpan(e){const r=this.getWritable();return r.__rowSpan=e,r}getTag(){return this.hasHeader()?"th":"td"}setHeaderStyles(e,r=pn.BOTH){const i=this.getWritable();return i.__headerState=e&r|i.__headerState&~r,i}getHeaderStyles(){return this.getLatest().__headerState}setWidth(e){const r=this.getWritable();return r.__width=e,r}getWidth(){return this.getLatest().__width}getBackgroundColor(){return this.getLatest().__backgroundColor}setBackgroundColor(e){const r=this.getWritable();return r.__backgroundColor=e,r}toggleHeaderStyle(e){const r=this.getWritable();return(r.__headerState&e)===e?r.__headerState-=e:r.__headerState+=e,r}hasHeaderState(e){return(this.getHeaderStyles()&e)===e}hasHeader(){return this.getLatest().__headerState!==pn.NO_STATUS}updateDOM(e){return e.__headerState!==this.__headerState||e.__width!==this.__width||e.__colSpan!==this.__colSpan||e.__rowSpan!==this.__rowSpan||e.__backgroundColor!==this.__backgroundColor}isShadowRoot(){return!0}collapseAtStart(){return!0}canBeEmpty(){return!1}canIndent(){return!1}}function lE(n){const t=n,e=n.nodeName.toLowerCase();let r;(ph.test(t.style.minWidth)||ph.test(t.style.maxWidth))&&(r=parseFloat(t.style.minWidth));const i=pi(e==="th"?pn.ROW:pn.NO_STATUS,t.colSpan,r);i.__rowSpan=t.rowSpan;const o=t.style.backgroundColor;o!==""&&(i.__backgroundColor=o);const s=t.style,l=(s&&s.textDecoration||"").split(" "),c=s.fontWeight==="700"||s.fontWeight==="bold",u=l.includes("line-through"),d=s.fontStyle==="italic",h=l.includes("underline");return{after:g=>(g.length===0&&g.push(Ee()),g),forChild:(g,p)=>{if(Le(p)&&!G(g)){const m=Ee();return Dt(g)&&g.getTextContent()===`
36
- `?null:(Wn(g)&&(c&&g.toggleFormat("bold"),u&&g.toggleFormat("strikethrough"),d&&g.toggleFormat("italic"),h&&g.toggleFormat("underline")),m.append(g),m)}return g},node:i}}function pi(n,t=1,e){return Lt(new gi(n,t,e))}function Le(n){return n instanceof gi}const hg=we("INSERT_TABLE_COMMAND"),gg=[".ContentEditable__root > *:not(ol):not(ul):not(.dsd__theme__table-scrollable-wrapper):not(.editor-image:not(:has(button))):not(div.video-container):not(div.editor-iframe)",".dsd__theme__table-scrollable-wrapper > table",".editor-image > div.resizable-container > div.resizable-container__inner",".video-container > div.resizable-container > div.resizable-container__inner",".editor-iframe > div.resizable-container > div.resizable-container__inner"],aE=(n,t)=>{if(G(n))return{key:n.getKey(),offset:t?n.getChildrenSize():0};const e=n.getParent();if(!e||!G(e))return null;const r=n.getIndexWithinParent();return r===-1?null:{key:e.getKey(),offset:t?r+1:r}},JA=[...gg,"ul.dsd__theme__ul > li:not(.dsd__theme__nestedListItem)","ol.dsd__theme__ol1 > li:not(.dsd__theme__nestedListItem)","ol.dsd__theme__ol2 > li:not(.dsd__theme__nestedListItem)","ol.dsd__theme__ol3 > li:not(.dsd__theme__nestedListItem)","ol.dsd__theme__ol4 > li:not(.dsd__theme__nestedListItem)","ol.dsd__theme__ol5 > li:not(.dsd__theme__nestedListItem)"],t8=[...gg,"ul.dsd__theme__ul:not(.dsd__theme__nestedListItem ul) > li:not(.dsd__theme__nestedListItem)","ul.dsd__theme__ul:not(.dsd__theme__nestedListItem ul) > li.dsd__theme__nestedListItem","ol.dsd__theme__ol1:not(.dsd__theme__nestedListItem ol) > li:not(.dsd__theme__nestedListItem)","ol.dsd__theme__ol1:not(.dsd__theme__nestedListItem ol) > li.dsd__theme__nestedListItem"],n8=[...gg,"ul.dsd__theme__ul:not(.dsd__theme__nestedListItem ul) > li:not(.dsd__theme__nestedListItem)","ul.dsd__theme__ul:not(.dsd__theme__nestedListItem ul) > li.dsd__theme__nestedListItem"],r8=[...gg,"ol.dsd__theme__ol1:not(.dsd__theme__nestedListItem ol) > li:not(.dsd__theme__nestedListItem)","ol.dsd__theme__ol1:not(.dsd__theme__nestedListItem ol) > li.dsd__theme__nestedListItem"],KN=n=>{const t=document.querySelectorAll(".selected-block");if(t.length===0)return;setTimeout(()=>{n.update(()=>{const r=[];if(t.forEach(u=>{const d=Fe(u);d&&r.push(d)}),!r.length)return;const i=r[0],o=r[r.length-1],s=zo(),l=aE(i,!1),c=aE(o,!0);!l||!c||(s.anchor.set(l.key,l.offset,"element"),s.focus.set(c.key,c.offset,"element"),Ve(s))})},100);const e=r=>{const i=!!document.querySelector(".mantine-Menu-dropdown");if(r.button===2||i){r.preventDefault();return}const o=r.target;o.closest(".draggable-block-menu")||o.closest(".mantine-Menu-dropdown")||(t.forEach(s=>{Ql(s)}),document.body.removeEventListener("mousedown",e))};setTimeout(()=>{document.body.addEventListener("mousedown",e)}),n.update(()=>{const r=document.querySelector(".ContentEditable__root");r==null||r.focus({preventScroll:!0})})},i8=(n,t,e)=>{var s;const r=t.code==="ArrowUp"||t.code==="ArrowLeft",i=t.code==="ArrowDown"||t.code==="ArrowRight";if(!r&&!i)return!1;const o=e[0];return o?(t.preventDefault(),(s=n.getRootElement())==null||s.focus({preventScroll:!0}),n.update(()=>{var h,g,p,m;const l=Fe(o);if(!l)return;const c=r?(h=l.getPreviousSibling)==null?void 0:h.call(l):(g=l.getNextSibling)==null?void 0:g.call(l);if(!c)return;let u=c;for(;G(u)&&u.getChildrenSize()>0&&(u=r?((p=u.getLastChild)==null?void 0:p.call(u))??u:((m=u.getFirstChild)==null?void 0:m.call(u))??u,u!==c););const d=(r?u==null?void 0:u.selectEnd:u==null?void 0:u.selectStart)||(u==null?void 0:u.select)||(c==null?void 0:c.select);d&&d.call(u||c)}),e.forEach(l=>Ql(l)),!0):!1},o8=(n,t,e)=>{var i;const r=e[0];return r?(t.preventDefault(),(i=n.getRootElement())==null||i.focus({preventScroll:!0}),n.update(()=>{const o=Fe(r);if(!o||typeof o.insertAfter!="function")return;const s=Ee();o.insertAfter(s),s.selectStart()}),e.forEach(o=>Ql(o)),!0):!1},s8=(n,t,e)=>{const{hasSelectedBlock:r}=nl(),i=(e==null?void 0:e.getSelectedTargets())||[];return!r||!i.length?!1:t.code==="Enter"&&o8(n,t,i)?(e==null||e.setSelectedTargets([]),!0):i8(n,t,i)?(e==null||e.setSelectedTargets([]),!0):!1},l8={container:document.body,getScrollPosition:()=>[document.documentElement.scrollLeft,document.documentElement.scrollTop],throttleTime:30,threshold:0},cE=(n,t,e)=>function r(i){if(i instanceof KeyboardEvent&&i.key!=="Backspace"&&i.key!=="Delete"&&i.key!=="Escape")return!1;const o=i.target;o.closest(".draggable-block-menu")||o.closest(".toolbar")||o.closest(".mantine-Menu-dropdown")||(n==null||n.classList.remove(t),e.update(()=>{o.closest(".ContentEditable__root")||Ve(null),i instanceof KeyboardEvent&&t==="selected-all-document"&&i.key!=="Escape"&&e.update(()=>{var l;(l=Re().getFirstChild())==null||l.selectStart()}),i instanceof KeyboardEvent&&t==="selected-all-document"&&i.key==="Escape"&&e.blur()}),setTimeout(()=>{document.body.removeEventListener("mousedown",r),document.removeEventListener("keydown",r)}))},ew=(n,t)=>{var e,r;if(t&&t.block){const{block:i,isCreateEventListener:o}=t,s="selected-block";if(i.classList.add(s),i.classList.remove("selected-block-hidden"),o){const l=cE(i,s,n);document.body.addEventListener("mousedown",l),document.addEventListener("keydown",l)}}else{const i="selected-all-document",o=cE(n._rootElement,i,n);document.body.addEventListener("mousedown",o),document.addEventListener("keydown",o),(e=n._rootElement)==null||e.classList.add(i),(r=n._rootElement)==null||r.classList.remove("selected-block-hidden")}},Ql=n=>{n.classList.remove("selected-block"),n.classList.add("selected-block-hidden")},Nm=n=>{n.querySelectorAll(".selected-block").forEach(e=>{Ql(e)})},a8=(n,t,e,r,i)=>{var o;if(((o=n.selected[0])==null?void 0:o.tagName)==="LI"){let s=n.added[0];if(!n.added.length&&n.beforeSelected.length>=2){const h=n.beforeSelected[0],g=n.beforeSelected[1],p=h.getBoundingClientRect().top;g.getBoundingClientRect().top<p?s=WN(n.selected[0]):s=n.selected[0]}let c=(s==null?void 0:s.classList.contains("dsd__theme__nestedListItem"))&&n.added.length===0?1:0,u=s,d=null;for(;u;){const h=u.tagName.toUpperCase();if(h==="UL"||h==="OL")d||(d=h.toLowerCase()),c++;else if(h!=="LI")break;u=u.parentElement}if(c!==0&&e.depth!==c){if(!d)return;r({depth:c,targets:c8(c,d)}),setTimeout(()=>{i==null||i.findSelectableTargets(),i==null||i.setSelectedTargets(n.selected)})}}else!e.depth&&n.added.length&&(r({depth:999,targets:t8}),setTimeout(()=>{i==null||i.findSelectableTargets(),i==null||i.setSelectedTargets(n.selected)}));n.added.forEach(s=>{ew(t,{block:s,isCreateEventListener:!1})}),n.removed.forEach(s=>{Ql(s)})},nl=()=>{const n=document.querySelector("div.ContentEditable__root"),t=(n==null?void 0:n.querySelector(".selected-block"))!==null,e=n==null?void 0:n.classList.contains("selected-all-document");return{hasSelectedBlock:t,selectedAllDocument:e}},uE=(n,t,e,r)=>{if(n==="ol"){const i=Array.from({length:t},(c,u)=>`ol.dsd__theme__ol${u+1}`).join(" ");let o="";t===1&&(o=":not(.dsd__theme__nestedListItem ol)");const s=`${i}${o} >`;return e?`${s} li.dsd__theme__nestedListItem`:`${s} li:not(.dsd__theme__nestedListItem)`}else{const i=" ul".repeat(t-1).trim(),o=" ul".repeat(t).trim(),l=`ul.dsd__theme__ul${i?` ${i}`:""}:not(.dsd__theme__nestedListItem ${o}) >`;let c=`${l} li:not(.dsd__theme__nestedListItem)`;return e?`${l} li.dsd__theme__nestedListItem`:c}};function c8(n,t){if(n<1)throw new Error("Depth must be >= 1");const e=[];if(e.push(uE(t,n,!1)),e.push(uE(t,n,!0)),t==="ol"){if(n>1)for(let r=1;r<n;r++)e.push(`ol.dsd__theme__ol${r} > li:not(.dsd__theme__nestedListItem)`);return[...n8,...e]}else if(t==="ul"){if(n>1)for(let r=1;r<n;r++)e.push(`ul.dsd__theme__ul${" ul".repeat(r-1)}:not(.dsd__theme__nestedListItem ${"ul ".repeat(r).trim()}) > li:not(.dsd__theme__nestedListItem):not(:has(ul))`);return[...r8,...e]}return[...JA,...e]}function WN(n){const t=n.querySelector("ul, ol");let e=t==null?void 0:t.lastElementChild;for(;e&&e.tagName!=="LI";)e=e.previousElementSibling;return e!=null&&e.classList.contains("dsd__theme__nestedListItem")?WN(e)??e:e}const uc=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function wo(n){n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation()}class dc extends At{constructor(e,r){super(r);F(this,"__height");this.__height=e}static getType(){return"tablerow"}static clone(e){return new dc(e.__height,e.__key)}static importDOM(){return{tr:e=>({conversion:u8,priority:0})}}static importJSON(e){return Eu(e.height)}exportJSON(){return{...super.exportJSON(),...this.getHeight()&&{height:this.getHeight()},type:"tablerow",version:1}}createDOM(e){const r=document.createElement("tr");return this.__height&&(r.style.height=`${this.__height}px`),ct(r,e.theme.tableRow),r}isShadowRoot(){return!0}setHeight(e){const r=this.getWritable();return r.__height=e,this.__height}getHeight(){return this.getLatest().__height}updateDOM(e){return e.__height!==this.__height}canBeEmpty(){return!1}canIndent(){return!1}}function u8(n){const t=n;let e;return ph.test(t.style.height)&&(e=parseFloat(t.style.height)),{node:Eu(e)}}function Eu(n){return Lt(new dc(n))}function cn(n){return n instanceof dc}function d8(n,t,e=!0){const r=ow();for(let i=0;i<n;i++){const o=Eu();for(let s=0;s<t;s++){let l=pn.NO_STATUS;typeof e=="object"?(i===0&&e.rows&&(l|=pn.ROW),s===0&&e.columns&&(l|=pn.COLUMN)):e&&(i===0&&(l|=pn.ROW),s===0&&(l|=pn.COLUMN));const c=pi(l),u=Ee();u.append(Ro()),c.append(u),o.append(c)}r.append(o)}return r}function HN(n){const t=Te(n,e=>cn(e));if(cn(t))return t;throw new Error("Expected table cell to be inside of table row.")}function ds(n){const t=Te(n,e=>Ct(e));if(Ct(t))return t;throw new Error("Expected table cell to be inside of table.")}function pg(n){const t=HN(n);return ds(t).getChildren().findIndex(r=>r.is(t))}function mg(n){return HN(n).getChildren().findIndex(e=>e.is(n))}const f8=(n,t)=>n===pn.BOTH||n===t?t:pn.NO_STATUS;function mh(n=!0){const t=J();ze(Y(t)||bt(t),"Expected a RangeSelection or TableSelection");const e=t.focus.getNode(),[r,,i]=Kn(e),[o,s]=$r(i,r,r),l=o[0].length,{startRow:c}=s;let u=null;if(n){const d=c+r.__rowSpan-1,h=o[d],g=Eu();for(let m=0;m<l;m++){const{cell:y,startRow:w}=h[m];if(w+y.__rowSpan-1<=d){const C=h[m].cell.__headerState;g.append(pi(C).append(Ee()))}else y.setRowSpan(y.__rowSpan+1)}const p=i.getChildAtIndex(d);ze(cn(p),"focusEndRow is not a TableRowNode"),p.insertAfter(g),u=g}else{const d=o[c],h=Eu();for(let p=0;p<l;p++){const{cell:m,startRow:y}=d[p];if(y===c){const v=d[p].cell.__headerState;h.append(pi(v).append(Ee()))}else m.setRowSpan(m.__rowSpan+1)}const g=i.getChildAtIndex(c);ze(cn(g),"focusEndRow is not a TableRowNode"),g.insertBefore(h),u=h}return u}function QA(n=!0){const t=J();ze(Y(t)||bt(t),"Expected a RangeSelection or TableSelection");const e=t.anchor.getNode(),r=t.focus.getNode(),[i]=Kn(e),[o,,s]=Kn(r),[l,c,u]=$r(s,o,i),d=l.length,h=n?Math.max(c.startColumn,u.startColumn):Math.min(c.startColumn,u.startColumn),g=n?h+o.__colSpan-1:h-1,p=s.getFirstChild();ze(cn(p),"Expected firstTable child to be a row");let m=null;function y(C=pn.NO_STATUS){const x=pi(C).append(Ee());return m===null&&(m=x),x}let w=p;e:for(let C=0;C<d;C++){if(C!==0){const I=w.getNextSibling();ze(cn(I),"Expected row nextSibling to be a row"),w=I}const x=l[C],_=x[g<0?0:g].cell.__headerState,N=f8(_,pn.ROW);if(g<0){tw(w,y(N));continue}const{cell:T,startColumn:k,startRow:M}=x[g];if(k+T.__colSpan-1<=g){let I=T,R=M,B=g;for(;R!==C&&I.__rowSpan>1;)if(B-=T.__colSpan,B>=0){const{cell:j,startRow:K}=x[B];I=j,R=K}else{w.append(y(N));continue e}const U=C?0:N;I.insertAfter(y(U))}else T.setColSpan(T.__colSpan+1)}m!==null&&ku(m);const v=s.getColWidths();if(v){const C=[...v],x=g<0?0:g,_=C[x];C.splice(x,0,_),s.setColWidths(C)}return m}function h8(){const n=J();ze(Y(n)||bt(n),"Expected a RangeSelection or TableSelection");const[t,e]=n.isBackward()?[n.focus.getNode(),n.anchor.getNode()]:[n.anchor.getNode(),n.focus.getNode()],[r,,i]=Kn(t),[o]=Kn(e),[s,l,c]=$r(i,r,o),{startRow:u}=l,{startRow:d}=c,h=d+o.__rowSpan-1;if(s.length===h-u+1){i.remove();return}const g=s[0].length,p=s[h+1],m=i.getChildAtIndex(h+1);for(let y=h;y>=u;y--){for(let v=g-1;v>=0;v--){const{cell:C,startRow:x,startColumn:_}=s[y][v];if(_===v&&(y===u&&x<u&&C.setRowSpan(C.__rowSpan-(x-u)),x>=u&&x+C.__rowSpan-1>h))if(C.setRowSpan(C.__rowSpan-(h-x+1)),ze(m!==null,"Expected nextRowNode not to be null"),v===0)tw(m,C);else{const{cell:N}=p[v-1];N.insertAfter(C)}}const w=i.getChildAtIndex(y);ze(cn(w),"Expected TableNode childAtIndex(%s) to be RowNode",String(y)),w.remove()}if(p!==void 0){const{cell:y}=p[0];ku(y)}else{const y=s[u-1],{cell:w}=y[0];ku(w)}}function g8(){const n=J();ze(Y(n)||bt(n),"Expected a RangeSelection or TableSelection");const t=n.anchor.getNode(),e=n.focus.getNode(),[r,,i]=Kn(t),[o]=Kn(e),[s,l,c]=$r(i,r,o),{startColumn:u}=l,{startRow:d,startColumn:h}=c,g=Math.min(u,h),p=Math.max(u+r.__colSpan-1,h+o.__colSpan-1),m=p-g+1;if(s[0].length===p-g+1){i.selectPrevious(),i.remove();return}const w=s.length;for(let _=0;_<w;_++)for(let N=g;N<=p;N++){const{cell:T,startColumn:k}=s[_][N];if(k<g){if(N===g){const M=g-k;T.setColSpan(T.__colSpan-Math.min(m,T.__colSpan-M))}}else if(k+T.__colSpan-1>p){if(N===p){const M=p-k+1;T.setColSpan(T.__colSpan-M)}}else T.remove()}const v=s[d],C=u>h?v[u+r.__colSpan]:v[h+o.__colSpan];if(C!==void 0){const{cell:_}=C;ku(_)}else{const _=h<u?v[h-1]:v[u-1],{cell:N}=_;ku(N)}const x=i.getColWidths();if(x){const _=[...x];_.splice(g,m),i.setColWidths(_)}}function ku(n){const t=n.getFirstDescendant();t==null?n.selectStart():t.getParentOrThrow().selectStart()}function tw(n,t){const e=n.getFirstChild();e!==null?e.insertBefore(t):n.append(t)}function p8(){const n=J();ze(Y(n)||bt(n),"Expected a RangeSelection or TableSelection");const t=n.anchor.getNode(),[e,r,i]=Kn(t),o=e.__colSpan,s=e.__rowSpan;if(o===1&&s===1)return;const[l,c]=$r(i,e,e),{startColumn:u,startRow:d}=c,h=e.__headerState&pn.COLUMN,g=Array.from({length:o},(y,w)=>{let v=h;for(let C=0;v!==0&&C<l.length;C++)v&=l[C][w+u].cell.__headerState;return v}),p=e.__headerState&pn.ROW,m=Array.from({length:s},(y,w)=>{let v=p;for(let C=0;v!==0&&C<l[0].length;C++)v&=l[w+d][C].cell.__headerState;return v});if(o>1){for(let y=1;y<o;y++)e.insertAfter(pi(g[y]|m[0]).append(Ee()));e.setColSpan(1)}if(s>1){let y;for(let w=1;w<s;w++){const v=d+w,C=l[v];y=(y||r).getNextSibling(),ze(cn(y),"Expected row next sibling to be a row");let x=null;for(let _=0;_<u;_++){const N=C[_],T=N.cell;N.startRow===v&&(x=T),T.__colSpan>1&&(_+=T.__colSpan-1)}if(x===null)for(let _=o-1;_>=0;_--)tw(y,pi(g[_]|m[w]).append(Ee()));else for(let _=o-1;_>=0;_--)x.insertAfter(pi(g[_]|m[w]).append(Ee()))}e.setRowSpan(1)}}function $r(n,t,e){const[r,i,o]=YN(n,t,e);return ze(i!==null,"Anchor not found in Table"),ze(o!==null,"Focus not found in Table"),[r,i,o]}function YN(n,t,e){const r=[];let i=null,o=null;function s(c){let u=r[c];return u===void 0&&(r[c]=u=[]),u}const l=n.getChildren();for(let c=0;c<l.length;c++){const u=l[c];ze(cn(u),"Expected TableNode children to be TableRowNode");for(let d=u.getFirstChild(),h=0;d!=null;d=d.getNextSibling()){ze(Le(d),"Expected TableRowNode children to be TableCellNode");const g=s(c);for(;g[h]!==void 0;)h++;const p={cell:d,startColumn:h,startRow:c},{__rowSpan:m,__colSpan:y}=d;for(let w=0;w<m&&!(c+w>=l.length);w++){const v=s(c+w);for(let C=0;C<y;C++)v[h+C]=p}t!==null&&i===null&&t.is(d)&&(i=p),e!==null&&o===null&&e.is(d)&&(o=p)}}return[r,i,o]}function Kn(n){let t;if(n instanceof gi)t=n;else if("__type"in n){const i=Te(n,Le);ze(Le(i),"Expected to find a parent TableCellNode"),t=i}else{const i=Te(n.getNode(),Le);ze(Le(i),"Expected to find a parent TableCellNode"),t=i}const e=t.getParent();ze(cn(e),"Expected TableCellNode to have a parent TableRowNode");const r=e.getParent();return ze(Ct(r),"Expected TableRowNode to have a parent TableNode"),[t,e,r]}function dE(n){const[t,,e]=Kn(n),r=e.getChildren(),i=r.length,o=r[0].getChildren().length,s=new Array(i);for(let l=0;l<i;l++)s[l]=new Array(o);for(let l=0;l<i;l++){const u=r[l].getChildren();let d=0;for(let h=0;h<u.length;h++){for(;s[l][d];)d++;const g=u[h],p=g.__rowSpan||1,m=g.__colSpan||1;for(let y=0;y<p;y++)for(let w=0;w<m;w++)s[l+y][d+w]=g;if(t===g)return{colSpan:m,columnIndex:d,rowIndex:l,rowSpan:p};d+=m}}return null}class Ag{constructor(t,e,r){F(this,"tableKey");F(this,"anchor");F(this,"focus");F(this,"_cachedNodes");F(this,"dirty");this.anchor=e,this.focus=r,e._selection=this,r._selection=this,this._cachedNodes=null,this.dirty=!1,this.tableKey=t}getStartEndPoints(){return[this.anchor,this.focus]}isBackward(){return this.focus.isBefore(this.anchor)}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t}is(t){return bt(t)?this.tableKey===t.tableKey&&this.anchor.is(t.anchor)&&this.focus.is(t.focus):!1}set(t,e,r){this.dirty=!0,this.tableKey=t,this.anchor.key=e,this.focus.key=r,this._cachedNodes=null}clone(){return new Ag(this.tableKey,this.anchor,this.focus)}isCollapsed(){return!1}extract(){return this.getNodes()}insertRawText(t){}insertText(){}hasFormat(t){let e=0;this.getNodes().filter(Le).forEach(o=>{const s=o.getFirstChild();mn(s)&&(e|=s.getTextFormat())});const i=No[t];return(e&i)!==0}insertNodes(t){const e=this.focus.getNode();ze(G(e),"Expected TableSelection focus to be an ElementNode"),ws(e.select(0,e.getChildrenSize())).insertNodes(t)}getShape(){const t=ve(this.anchor.key);ze(Le(t),"Expected TableSelection anchor to be (or a child of) TableCellNode");const e=dE(t);ze(e!==null,"getCellRect: expected to find AnchorNode");const r=ve(this.focus.key);ze(Le(r),"Expected TableSelection focus to be (or a child of) TableCellNode");const i=dE(r);ze(i!==null,"getCellRect: expected to find focusCellNode");const o=Math.min(e.columnIndex,i.columnIndex),s=Math.max(e.columnIndex+e.colSpan-1,i.columnIndex+i.colSpan-1),l=Math.min(e.rowIndex,i.rowIndex),c=Math.max(e.rowIndex+e.rowSpan-1,i.rowIndex+i.rowSpan-1);return{fromX:Math.min(o,s),fromY:Math.min(l,c),toX:Math.max(o,s),toY:Math.max(l,c)}}getNodes(){const t=this._cachedNodes;if(t!==null)return t;const e=this.anchor.getNode(),r=this.focus.getNode(),i=Te(e,Le),o=Te(r,Le);ze(Le(i),"Expected TableSelection anchor to be (or a child of) TableCellNode"),ze(Le(o),"Expected TableSelection focus to be (or a child of) TableCellNode");const s=i.getParent();ze(cn(s),"Expected anchorCell to have a parent TableRowNode");const l=s.getParent();ze(Ct(l),"Expected tableNode to have a parent TableNode");const c=o.getParents()[1];if(c!==l){if(l.isParentOf(o)){const M=c.getParent();ze(M!=null,"Expected focusCellParent to have a parent"),this.set(this.tableKey,o.getKey(),M.getKey())}else{const M=l.getParent();ze(M!=null,"Expected gridParent to have a parent"),this.set(this.tableKey,M.getKey(),o.getKey())}return this.getNodes()}const[u,d,h]=$r(l,i,o);let g=Math.min(d.startColumn,h.startColumn),p=Math.min(d.startRow,h.startRow),m=Math.max(d.startColumn+d.cell.__colSpan-1,h.startColumn+h.cell.__colSpan-1),y=Math.max(d.startRow+d.cell.__rowSpan-1,h.startRow+h.cell.__rowSpan-1),w=g,v=p,C=g,x=p;function _(M){const{cell:I,startColumn:R,startRow:B}=M;g=Math.min(g,R),p=Math.min(p,B),m=Math.max(m,R+I.__colSpan-1),y=Math.max(y,B+I.__rowSpan-1)}for(;g<w||p<v||m>C||y>x;){if(g<w){const M=x-v,I=w-1;for(let R=0;R<=M;R++)_(u[v+R][I]);w=I}if(p<v){const M=C-w,I=v-1;for(let R=0;R<=M;R++)_(u[I][w+R]);v=I}if(m>C){const M=x-v,I=C+1;for(let R=0;R<=M;R++)_(u[v+R][I]);C=I}if(y>x){const M=C-w,I=x+1;for(let R=0;R<=M;R++)_(u[I][w+R]);x=I}}const N=new Map([[l.getKey(),l]]);let T=null;for(let M=p;M<=y;M++)for(let I=g;I<=m;I++){const{cell:R}=u[M][I],B=R.getParent();ze(cn(B),"Expected TableCellNode parent to be a TableRowNode"),B!==T&&N.set(B.getKey(),B),N.set(R.getKey(),R);for(const U of m8(R))N.set(U.getKey(),U);T=B}const k=Array.from(N.values());return zl()||(this._cachedNodes=k),k}getTextContent(){const t=this.getNodes().filter(r=>Le(r));let e="";for(let r=0;r<t.length;r++){const i=t[r],o=i.__parent,s=(t[r+1]||{}).__parent;e+=i.getTextContent()+(s!==o?`
37
- `:" ")}return e}}function bt(n){return n instanceof Ag}function fE(){const n=Rn("root",0,"element"),t=Rn("root",0,"element");return new Ag("root",n,t)}function m8(n){const t=[],e=[n];for(;e.length>0;){const r=e.pop();ze(r!==void 0,"Stack.length > 0; can't be undefined"),G(r)&&e.unshift(...r.getChildren()),r!==n&&t.push(r)}return t}function ZN(n,t=Wl()){const e=ve(n);ze(Ct(e),"TableObserver: Expected tableNodeKey %s to be a TableNode",n);const r=Il(e,t.getElementByKey(n));return ze(r!==null,"TableObserver: Expected to find TableElement in DOM for key %s",n),{tableElement:r,tableNode:e}}class A8{constructor(t,e){F(this,"focusX");F(this,"focusY");F(this,"listenersToRemove");F(this,"table");F(this,"isHighlightingCells");F(this,"anchorX");F(this,"anchorY");F(this,"tableNodeKey");F(this,"anchorCell");F(this,"focusCell");F(this,"anchorCellNodeKey");F(this,"focusCellNodeKey");F(this,"editor");F(this,"tableSelection");F(this,"hasHijackedSelectionStyles");F(this,"isSelecting");F(this,"shouldCheckSelection");F(this,"abortController");F(this,"listenerOptions");this.isHighlightingCells=!1,this.anchorX=-1,this.anchorY=-1,this.focusX=-1,this.focusY=-1,this.listenersToRemove=new Set,this.tableNodeKey=e,this.editor=t,this.table={columns:0,domRows:[],rows:0},this.tableSelection=null,this.anchorCellNodeKey=null,this.focusCellNodeKey=null,this.anchorCell=null,this.focusCell=null,this.hasHijackedSelectionStyles=!1,this.isSelecting=!1,this.shouldCheckSelection=!1,this.abortController=new AbortController,this.listenerOptions={signal:this.abortController.signal},this.trackTable()}getTable(){return this.table}removeListeners(){this.abortController.abort("removeListeners"),Array.from(this.listenersToRemove).forEach(t=>t()),this.listenersToRemove.clear()}$lookup(){return ZN(this.tableNodeKey,this.editor)}trackTable(){const t=new MutationObserver(e=>{this.editor.getEditorState().read(()=>{let r=!1;for(let i=0;i<e.length;i++){const l=e[i].target.nodeName;if(l==="TABLE"||l==="TBODY"||l==="THEAD"||l==="TR"){r=!0;break}}if(r)try{const{tableNode:i,tableElement:o}=this.$lookup();this.table=ru(i,o)}catch{}},{editor:this.editor})});this.editor.getEditorState().read(()=>{const{tableNode:e,tableElement:r}=this.$lookup();this.table=ru(e,r),t.observe(r,{attributes:!0,childList:!0,subtree:!0})},{editor:this.editor})}clearHighlight(){const t=this.editor;this.isHighlightingCells=!1,this.anchorX=-1,this.anchorY=-1,this.focusX=-1,this.focusY=-1,this.tableSelection=null,this.anchorCellNodeKey=null,this.focusCellNodeKey=null,this.anchorCell=null,this.focusCell=null,this.hasHijackedSelectionStyles=!1,this.enableHighlightStyle(),t.update(()=>{const{tableNode:e,tableElement:r}=this.$lookup(),i=ru(e,r);cf(t,i,null),Ve(null),t.dispatchCommand(Gr,void 0)})}enableHighlightStyle(){const t=this.editor;t.getEditorState().read(()=>{const{tableElement:e}=this.$lookup();_r(e,t._config.theme.tableSelection),e.classList.remove("disable-selection"),this.hasHijackedSelectionStyles=!1},{editor:t})}disableHighlightStyle(){const t=this.editor;t.getEditorState().read(()=>{const{tableElement:e}=this.$lookup();ct(e,t._config.theme.tableSelection),this.hasHijackedSelectionStyles=!0},{editor:t})}updateTableTableSelection(t){if(t!==null&&t.tableKey===this.tableNodeKey){const e=this.editor;this.tableSelection=t,this.isHighlightingCells=!0,this.disableHighlightStyle(),cf(e,this.table,this.tableSelection)}else t==null?this.clearHighlight():(this.tableNodeKey=t.tableKey,this.updateTableTableSelection(t))}setShouldCheckSelection(){this.shouldCheckSelection=!0}getAndClearShouldCheckSelection(){return this.shouldCheckSelection?(this.shouldCheckSelection=!1,!0):!1}setFocusCellForSelection(t,e=!1){const r=this.editor;r.update(()=>{const{tableNode:i}=this.$lookup(),o=t.x,s=t.y;if(this.focusCell=t,this.anchorCell!==null){const l=GN(r._window);l&&l.setBaseAndExtent(this.anchorCell.elem,0,this.focusCell.elem,0)}if(!this.isHighlightingCells&&(this.anchorX!==o||this.anchorY!==s||e))this.isHighlightingCells=!0,this.disableHighlightStyle();else if(o===this.focusX&&s===this.focusY)return;if(this.focusX=o,this.focusY=s,this.isHighlightingCells){const l=Fe(t.elem);if(this.tableSelection!=null&&this.anchorCellNodeKey!=null&&Le(l)&&i.is(Ma(l))){const c=l.getKey();this.tableSelection=this.tableSelection.clone()||fE(),this.focusCellNodeKey=c,this.tableSelection.set(this.tableNodeKey,this.anchorCellNodeKey,this.focusCellNodeKey),Ve(this.tableSelection),r.dispatchCommand(Gr,void 0),cf(r,this.table,this.tableSelection)}}})}setAnchorCellForSelection(t){this.isHighlightingCells=!1,this.anchorCell=t,this.anchorX=t.x,this.anchorY=t.y,this.editor.update(()=>{const e=Fe(t.elem);if(Le(e)){const r=e.getKey();this.tableSelection=this.tableSelection!=null?this.tableSelection.clone():fE(),this.anchorCellNodeKey=r}})}formatCells(t){this.editor.update(()=>{const e=J();bt(e)||ze(!1,"Expected grid selection");const r=zo(),i=r.anchor,o=r.focus,s=e.getNodes().filter(Le),l=s[0].getFirstChild(),c=mn(l)?l.getFormatFlags(t,null):null;s.forEach(u=>{i.set(u.getKey(),0,"element"),o.set(u.getKey(),u.getChildrenSize(),"element"),r.formatText(t,c)}),Ve(e),this.editor.dispatchCommand(Gr,void 0)})}clearText(){const t=this.editor;t.update(()=>{const e=ve(this.tableNodeKey);if(!Ct(e))throw new Error("Expected TableNode.");const r=J();bt(r)||ze(!1,"Expected grid selection");const i=r.getNodes().filter(Le);if(i.length===this.table.columns*this.table.rows){e.selectPrevious(),e.remove(),Re().selectStart();return}i.forEach(o=>{if(G(o)){const s=Ee(),l=Ro();s.append(l),o.append(s),o.getChildren().forEach(c=>{c!==s&&c.remove()})}}),cf(t,this.table,null),Ve(null),t.dispatchCommand(Gr,void 0)})}}const nw="__lexicalTableSelection",GN=n=>uc?(n||window).getSelection():null,y8=n=>(n.buttons&1)===1;function Il(n,t){if(!t)return t;const e=t.nodeName==="TABLE"?t:n.getDOMSlot(t).element;return ze(e.nodeName==="TABLE","getTableElement: Expecting table in as DOM node for TableNode, not %s",t.nodeName),e}function b8(n,t,e,r){const i=e.getRootElement();if(i===null)throw new Error("No root element.");const o=new A8(e,n.getKey()),s=e._window||window,l=Il(n,t);C8(l,o),o.listenersToRemove.add(()=>w8(l,o));const c=()=>{const m=()=>{o.isSelecting=!1,s.removeEventListener("mouseup",m),s.removeEventListener("mousemove",y)},y=fs.debounce(w=>{setTimeout(()=>{if(!y8(w)&&o.isSelecting){o.isSelecting=!1,s.removeEventListener("mouseup",m),s.removeEventListener("mousemove",y);return}const v=Ah(w.target);v!==null&&(o.anchorX!==v.x||o.anchorY!==v.y)&&(w.preventDefault(),o.setFocusCellForSelection(v))},0)},20);return{onMouseMove:y,onMouseUp:m}},u=m=>{setTimeout(()=>{if(m.button!==0||!s)return;const y=Ah(m.target);y!==null&&(wo(m),o.setAnchorCellForSelection(y));const{onMouseUp:w,onMouseMove:v}=c();o.isSelecting=!0,s.addEventListener("mouseup",w,o.listenerOptions),s.addEventListener("mousemove",v,o.listenerOptions)},0)};l.addEventListener("mousedown",u,o.listenerOptions);const d=m=>{m.button===0&&e.update(()=>{const y=J(),w=m.target;bt(y)&&y.tableKey===o.tableNodeKey&&i.contains(w)&&o.clearHighlight()})};s.addEventListener("mousedown",d,o.listenerOptions),o.listenersToRemove.add(e.registerCommand(Cs,m=>Wc(e,m,"down",n,o),bo)),o.listenersToRemove.add(e.registerCommand(Hi,m=>Wc(e,m,"up",n,o),bo)),o.listenersToRemove.add(e.registerCommand(Bh,m=>Wc(e,m,"backward",n,o),bo)),o.listenersToRemove.add(e.registerCommand(Ph,m=>Wc(e,m,"forward",n,o),bo));const h=m=>()=>{const y=J();if(!Js(y,n))return!1;if(bt(y))return o.clearText(),!0;if(Y(y)){const w=Te(y.anchor.getNode(),M=>Le(M));if(!Le(w))return!1;const v=y.anchor.getNode(),C=y.focus.getNode(),x=n.isParentOf(v),_=n.isParentOf(C);if(x&&!_||_&&!x)return o.clearText(),!0;const T=Te(y.anchor.getNode(),M=>G(M)),k=T&&Te(T,M=>G(M)&&Le(M.getParent()));if(!G(k)||!G(T))return!1;if(m===gl&&k.getPreviousSibling()===null)return!0}return!1};[Ka,gl,Pi].forEach(m=>{o.listenersToRemove.add(e.registerCommand(m,h(m),bn))});const g=m=>{const y=J();if(!(bt(y)||Y(y)))return!1;const w=n.isParentOf(y.anchor.getNode()),v=n.isParentOf(y.focus.getNode());if(w!==v){const C=w?"anchor":"focus",x=w?"focus":"anchor",{key:_,offset:N,type:T}=y[x];return n[y[C].isBefore(y[x])?"selectPrevious":"selectNext"]()[x].set(_,N,T),!1}return bt(y)?(m&&(m.preventDefault(),m.stopPropagation()),o.clearText(),!0):!1};o.listenersToRemove.add(e.registerCommand(Bl,g,bn)),o.listenersToRemove.add(e.registerCommand(tc,g,bn)),o.listenersToRemove.add(e.registerCommand(Ru,m=>{const y=J();if(y){if(!(bt(y)||Y(y)))return!1;HA(e,vo(m,ClipboardEvent)?m:null,ug(y));const w=g(m);return Y(y)?(y.removeText(),!0):w}return!1},bn)),o.listenersToRemove.add(e.registerCommand(Mt,m=>{const y=J();if(!Js(y,n))return!1;if(bt(y))return o.formatCells(m),!0;if(Y(y)){const w=Te(y.anchor.getNode(),v=>Le(v));if(!Le(w))return!1}return!1},bn)),o.listenersToRemove.add(e.registerCommand(as,m=>{const y=J();if(!bt(y)||!Js(y,n))return!1;const w=y.anchor.getNode(),v=y.focus.getNode();if(!Le(w)||!Le(v))return!1;const[C,x,_]=$r(n,w,v),N=Math.max(x.startRow,_.startRow),T=Math.max(x.startColumn,_.startColumn),k=Math.min(x.startRow,_.startRow),M=Math.min(x.startColumn,_.startColumn);for(let I=k;I<=N;I++)for(let R=M;R<=T;R++){const B=C[I][R].cell;B.setFormat(m);const U=B.getChildren();for(let j=0;j<U.length;j++){const K=U[j];G(K)&&!K.isInline()&&K.setFormat(m)}}return!0},bn)),o.listenersToRemove.add(e.registerCommand(hs,m=>{const y=J(),w=y==null?void 0:y.getNodes(),v=Le(w[1]),C=Re(),x=e._keyToDOMMap.size-1===(y==null?void 0:y.getNodes().length);if(v&&e.update(()=>{const _=Ee(),N=Ro(m);_.append(N),w.forEach(T=>{if(!Ct(T))return;const k=T.getPreviousSibling(),M=T.getNextSibling();k?k.insertAfter(_,!0):M&&M.insertBefore(_).selectEnd(),T.remove()}),x&&(C.clear(),y.insertText(m))}),!Js(y,n))return!1;if(bt(y))return o.clearHighlight(),!1;if(Y(y)){const _=Te(y.anchor.getNode(),N=>Le(N));if(!Le(_))return!1;if(typeof m=="string"){const N=pE(e,y,n);if(N)return gE(N,n,[Ro(m)]),!0}}return!1},bn)),r&&o.listenersToRemove.add(e.registerCommand(nc,m=>{const y=J();if(!Y(y)||!y.isCollapsed()||!Js(y,n))return!1;const w=df(y.anchor.getNode());if(w===null)return!1;wo(m);const v=n.getCordsFromCellNode(w,o.table);return JN(o,n,v.x,v.y,m.shiftKey?"backward":"forward"),!0},bn)),o.listenersToRemove.add(e.registerCommand(Os,m=>n.isSelected(),bo));function p(m){const y=n.getCordsFromCellNode(m,o.table);return n.getDOMCellFromCordsOrThrow(y.x,y.y,o.table)}return o.listenersToRemove.add(e.registerCommand(vT,m=>{const{nodes:y,selection:w}=m,v=w.focus.getNode().getParent();return Le(v)?(y[0].getFirstChildOrThrow().getChildrenSize(),!0):!1},bn)),o.listenersToRemove.add(e.registerCommand(Gr,()=>{const m=J(),y=Uo();if(o.getAndClearShouldCheckSelection()&&Y(y)&&Y(m)&&m.isCollapsed()){const C=m.anchor.getNode(),x=n.getFirstChild(),_=df(C);if(_!==null&&cn(x)){const N=x.getFirstChild();if(Le(N)&&!Te(_,T=>T.is(N)))return N.selectStart(),!0}}const{hasSelectedBlock:w,selectedAllDocument:v}=nl();if(Y(m)){const{anchor:C,focus:x}=m,_=C.getNode(),N=x.getNode(),T=df(_),k=df(N),M=!!(T&&n.is(Ma(T))),I=!!(k&&n.is(Ma(k))),R=M!==I,B=M&&I,U=m.isBackward();if(R){const j=m.clone();if(I){const[K]=$r(n,k,k),V=K[0][0].cell,ue=K[K.length-1].at(-1).cell;j.focus.set(U?V.getKey():ue.getKey(),U?V.getChildrenSize():ue.getChildrenSize(),"element")}else if(M){const[K]=$r(n,T,T),V=K[0][0].cell,ue=K[K.length-1].at(-1).cell;j.anchor.set(U?ue.getKey():V.getKey(),U?ue.getChildrenSize():0,"element")}Ve(j),!w&&!v&&hE(e,o)}else B&&(T.is(k)||(o.setAnchorCellForSelection(p(T)),o.setFocusCellForSelection(p(k),!0),o.isSelecting||setTimeout(()=>{const{onMouseUp:j,onMouseMove:K}=c();o.isSelecting=!0,s.addEventListener("mouseup",j),s.addEventListener("mousemove",K)},0)))}else if(m&&bt(m)&&m.is(y)&&m.tableKey===n.getKey()){const C=GN(e._window);if(C&&C.anchorNode&&C.focusNode){const x=Fe(C.focusNode),_=x&&!n.is(Ma(x)),N=Fe(C.anchorNode),T=N&&n.is(Ma(N));if(_&&T&&C.rangeCount>0){const k=gj(C,e);k&&(k.anchor.set(n.getKey(),m.isBackward()?n.getChildrenSize():0,"element"),C.removeAllRanges(),Ve(k))}}}return m&&!m.is(y)&&(bt(m)||bt(y))&&o.tableSelection&&!o.tableSelection.is(y)?(bt(m)&&m.tableKey===o.tableNodeKey?o.updateTableTableSelection(m):!bt(m)&&bt(y)&&y.tableKey===o.tableNodeKey&&o.updateTableTableSelection(null),!1):(o.hasHijackedSelectionStyles&&!n.isSelected()?v8(e,o):!o.hasHijackedSelectionStyles&&n.isSelected()&&!w&&!v&&hE(e,o),!1)},bn)),o.listenersToRemove.add(e.registerCommand(Io,()=>{const m=J();if(!Y(m)||!m.isCollapsed()||!Js(m,n))return!1;const y=pE(e,m,n);return y?(gE(y,n),!0):!1},bn)),o}function w8(n,t){rw(n)===t&&delete n[nw]}function C8(n,t){ze(rw(n)===null,"tableElement already has an attached TableObserver"),n[nw]=t}function rw(n){return n[nw]||null}function Ah(n){let t=n;for(;t!=null;){const e=t.nodeName;if(e==="TD"||e==="TH"){const r=t._cell;return r===void 0?null:r}t=t.parentNode}return null}function ru(n,t){const e=Il(n,t),r=[],i={columns:0,domRows:r,rows:0};let o=e.querySelector("tr"),s=0,l=0;for(r.length=0;o!=null;){const c=o.nodeName;if(c==="TD"||c==="TH"){const h=o,g={elem:h,hasBackgroundColor:h.style.backgroundColor!=="",highlighted:!1,x:s,y:l};o._cell=g;let p=r[l];p===void 0&&(p=r[l]=[]),p[s]=g}else{const h=o.firstChild;if(h!=null){o=h;continue}}const u=o.nextSibling;if(u!=null){s++,o=u;continue}const d=o.parentNode;if(d!=null){const h=d.nextSibling;if(h==null)break;l++,s=0,o=h}}return i.columns=s+1,i.rows=l+1,i}function cf(n,t,e){const r=new Set(e?e.getNodes():[]);iw(t,(i,o)=>{const s=i.elem;r.has(o)?(i.highlighted=!0,QN(n,i)):(i.highlighted=!1,VN(n,i),s.getAttribute("style")||s.removeAttribute("style"))})}function iw(n,t){const{domRows:e}=n;for(let r=0;r<e.length;r++){const i=e[r];if(i)for(let o=0;o<i.length;o++){const s=i[o];if(!s)continue;const l=Fe(s.elem);l!==null&&t(s,l,{x:o,y:r})}}}function hE(n,t){t.disableHighlightStyle(),iw(t.table,e=>{e.highlighted=!0,QN(n,e)})}function v8(n,t){t.enableHighlightStyle(),iw(t.table,e=>{const r=e.elem;e.highlighted=!1,VN(n,e),r.getAttribute("style")||r.removeAttribute("style")})}const JN=(n,t,e,r,i)=>{const o=i==="forward";switch(i){case"backward":case"forward":return e!==(o?n.table.columns-1:0)?uf(t.getCellNodeFromCordsOrThrow(e+(o?1:-1),r,n.table),o):r!==(o?n.table.rows-1:0)?uf(t.getCellNodeFromCordsOrThrow(o?0:n.table.columns-1,r+(o?1:-1),n.table),o):o?t.selectNext():t.selectPrevious(),!0;case"up":return r!==0?uf(t.getCellNodeFromCordsOrThrow(e,r-1,n.table),!1):t.selectPrevious(),!0;case"down":return r!==n.table.rows-1?uf(t.getCellNodeFromCordsOrThrow(e,r+1,n.table),!0):t.selectNext(),!0;default:return!1}},x8=(n,t,e,r,i)=>{const o=i==="forward";switch(i){case"backward":case"forward":return e!==(o?n.table.columns-1:0)&&n.setFocusCellForSelection(t.getDOMCellFromCordsOrThrow(e+(o?1:-1),r,n.table)),!0;case"up":return r!==0?(n.setFocusCellForSelection(t.getDOMCellFromCordsOrThrow(e,r-1,n.table)),!0):!1;case"down":return r!==n.table.rows-1?(n.setFocusCellForSelection(t.getDOMCellFromCordsOrThrow(e,r+1,n.table)),!0):!1;default:return!1}};function Js(n,t){if(Y(n)||bt(n)){const e=t.isParentOf(n.anchor.getNode()),r=t.isParentOf(n.focus.getNode());return e&&r}return!1}function uf(n,t){t?n.selectStart():n.selectEnd()}const Im="172,206,247";function QN(n,t){const e=t.elem,r=Fe(e);ze(Le(r),"Expected to find LexicalNode from Table Cell DOMNode"),r.getBackgroundColor()===null?e.style.setProperty("background-color",`rgb(${Im})`):e.style.setProperty("background-image",`linear-gradient(to right, rgba(${Im},0.85), rgba(${Im},0.85))`),e.style.setProperty("caret-color","transparent")}function VN(n,t){const e=t.elem,r=Fe(e);ze(Le(r),"Expected to find LexicalNode from Table Cell DOMNode"),r.getBackgroundColor()===null&&e.style.removeProperty("background-color"),e.style.removeProperty("background-image"),e.style.removeProperty("caret-color")}function df(n){const t=Te(n,Le);return Le(t)?t:null}function Ma(n){const t=Te(n,Ct);return Ct(t)?t:null}function Wc(n,t,e,r,i){if((e==="up"||e==="down")&&S8(n))return!1;const o=J();if(!Js(o,r)){if(Y(o)){if(o.isCollapsed()&&e==="backward"){const s=o.anchor.type,l=o.anchor.offset;if(s!=="element"&&!(s==="text"&&l===0))return!1;const c=o.anchor.getNode();if(!c)return!1;const u=Te(c,h=>G(h)&&!h.isInline());if(!u)return!1;const d=u.getPreviousSibling();return!d||!Ct(d)?!1:(wo(t),d.selectEnd(),!0)}else if(t.shiftKey&&(e==="up"||e==="down")){const s=o.focus.getNode();if(!o.isCollapsed()&&(e==="up"&&!o.isBackward()||e==="down"&&o.isBackward())){let c=Te(s,p=>Ct(p));if(Le(c)&&(c=Te(c,Ct)),c!==r||!c)return!1;const u=e==="down"?c.getNextSibling():c.getPreviousSibling();if(!u)return!1;let d=0;e==="up"&&G(u)&&(d=u.getChildrenSize());let h=u;if(e==="up"&&G(u)){const p=u.getLastChild();h=p||u,d=Wn(h)?h.getTextContentSize():0}const g=o.clone();return g.focus.set(h.getKey(),d,Wn(h)?"text":"element"),Ve(g),wo(t),!0}else if(qn(s)){const c=e==="up"?o.getNodes()[o.getNodes().length-1]:o.getNodes()[0];if(c){const u=Te(c,Le);if(u&&r.isParentOf(u)){const d=r.getFirstDescendant(),h=r.getLastDescendant();if(!d||!h)return!1;const[g]=Kn(d),[p]=Kn(h),m=r.getCordsFromCellNode(g,i.table),y=r.getCordsFromCellNode(p,i.table),w=r.getDOMCellFromCordsOrThrow(m.x,m.y,i.table),v=r.getDOMCellFromCordsOrThrow(y.x,y.y,i.table);return i.setAnchorCellForSelection(w),i.setFocusCellForSelection(v,!0),!0}}return!1}else{let c=Te(s,d=>G(d)&&!d.isInline());if(Le(c)&&(c=Te(c,Ct)),!c)return!1;const u=e==="down"?c.getNextSibling():c.getPreviousSibling();if(Ct(u)&&i.tableNodeKey===u.getKey()){const d=u.getFirstDescendant(),h=u.getLastDescendant();if(!d||!h)return!1;const[g]=Kn(d),[p]=Kn(h),m=o.clone();return m.focus.set((e==="up"?g:p).getKey(),e==="up"?0:p.getChildrenSize(),"element"),wo(t),Ve(m),!0}}}}return e==="down"&&XN(n)&&i.setShouldCheckSelection(),!1}if(Y(o)&&o.isCollapsed()){const{anchor:s,focus:l}=o,c=Te(s.getNode(),Le),u=Te(l.getNode(),Le);if(!Le(c)||!c.is(u))return!1;const d=Ma(c);if(d!==r&&d!=null){const C=Il(d,n.getElementByKey(d.getKey()));if(C!=null)return i.table=ru(d,C),Wc(n,t,e,d,i)}if(e==="backward"||e==="forward"){const C=s.type,x=s.offset,_=s.getNode();if(!_)return!1;const N=o.getNodes();return N.length===1&&ot(N[0])?!1:E8(C,x,_,e)?_8(t,_,r,e):!1}const h=n.getElementByKey(c.__key),g=n.getElementByKey(s.key);if(g==null||h==null)return!1;let p;if(s.type==="element")p=g.getBoundingClientRect();else{const C=window.getSelection();if(C===null||C.rangeCount===0)return!1;p=C.getRangeAt(0).getBoundingClientRect()}const m=e==="up"?c.getFirstChild():c.getLastChild();if(m==null)return!1;const y=n.getElementByKey(m.__key);if(y==null)return!1;const w=y.getBoundingClientRect();if(e==="up"?w.top>p.top-p.height:p.bottom+p.height>w.bottom){wo(t);const C=r.getCordsFromCellNode(c,i.table);if(t.shiftKey){const x=r.getDOMCellFromCordsOrThrow(C.x,C.y,i.table);i.setAnchorCellForSelection(x),i.setFocusCellForSelection(x,!0)}else return JN(i,r,C.x,C.y,e);return!0}}else if(bt(o)){const{anchor:s,focus:l}=o,c=Te(s.getNode(),Le),u=Te(l.getNode(),Le),[d]=o.getNodes();ze(Ct(d),"$handleArrowKey: TableSelection.getNodes()[0] expected to be TableNode");const h=Il(d,n.getElementByKey(d.getKey()));if(!Le(c)||!Le(u)||!Ct(d)||h==null)return!1;i.updateTableTableSelection(o);const g=ru(d,h),p=r.getCordsFromCellNode(c,g),m=r.getDOMCellFromCordsOrThrow(p.x,p.y,g);if(i.setAnchorCellForSelection(m),wo(t),t.shiftKey){const y=r.getCordsFromCellNode(u,g);return x8(i,d,y.x,y.y,e)}else u.selectEnd();return!0}return!1}function S8(n){const t=n.getRootElement();return t?t.hasAttribute("aria-controls")&&t.getAttribute("aria-controls")==="typeahead-menu":!1}function E8(n,t,e,r){return k8(n,e,r)||T8(n,t,e,r)}function k8(n,t,e){return n==="element"&&(e==="backward"?t.getPreviousSibling()===null:t.getNextSibling()===null)}function T8(n,t,e,r){const i=Te(e,s=>G(s)&&!s.isInline());if(!i)return!1;const o=r==="backward"?t===0:t===e.getTextContentSize();return n==="text"&&o&&(r==="backward"?i.getPreviousSibling()===null:i.getNextSibling()===null)}function _8(n,t,e,r){const i=Te(t,Le);if(!Le(i))return!1;const[o,s]=$r(e,i,i);if(!N8(o,s,r))return!1;const l=I8(t,r,e);return!l||Ct(l)?!1:(wo(n),r==="backward"?l.selectEnd():l.selectStart(),!0)}function N8(n,t,e){const r=n[0][0],i=n[n.length-1][n[0].length-1],{startColumn:o,startRow:s}=t;return e==="backward"?o===r.startColumn&&s===r.startRow:o===i.startColumn&&s===i.startRow}function I8(n,t,e){const r=Te(n,o=>G(o)&&!o.isInline());if(!r)return;const i=t==="backward"?r.getPreviousSibling():r.getNextSibling();return i&&Ct(i)?i:t==="backward"?e.getPreviousSibling():e.getNextSibling()}function gE(n,t,e){const r=Ee();n==="first"?t.insertBefore(r):t.insertAfter(r),r.append(...e||[]),r.selectEnd()}function pE(n,t,e){const r=e.getParent();if(!r)return;const i=window.getSelection();if(!i)return;const o=i.anchorNode,s=n.getElementByKey(r.getKey()),l=Il(e,n.getElementByKey(e.getKey()));if(!o||!s||!l||!s.contains(o)||l.contains(o))return;const c=Te(t.anchor.getNode(),C=>Le(C));if(!c)return;const u=Te(c,C=>Ct(C));if(!Ct(u)||!u.is(e))return;const[d,h]=$r(e,c,c),g=d[0][0],p=d[d.length-1][d[0].length-1],{startRow:m,startColumn:y}=h,w=m===g.startRow&&y===g.startColumn,v=m===p.startRow&&y===p.startColumn;return w?"first":v?"last":void 0}function mE(n,t,e,r){const i=n.querySelector("colgroup");if(!i)return;const o=[];for(let s=0;s<e;s++){const l=document.createElement("col"),c=r&&r[s];c&&(l.style.width=`${c}px`),o.push(l)}i.replaceChildren(...o)}function AE(n,t,e){e?(ct(n,t.theme.tableRowStriping),n.setAttribute("data-lexical-row-striping","true")):(_r(n,t.theme.tableRowStriping),n.removeAttribute("data-lexical-row-striping"))}const VA=new WeakSet;function XN(n=Wl()){return VA.has(n)}function M8(n,t){t?(n._config.theme.tableScrollableWrapper||console.warn("TableNode: hasHorizontalScroll is active but theme.tableScrollableWrapper is not defined."),VA.add(n)):VA.delete(n)}class mi extends At{constructor(e){super(e);F(this,"__rowStriping");F(this,"__colWidths");this.__rowStriping=!1}static getType(){return"table"}getColWidths(){return this.getLatest().__colWidths}setColWidths(e){const r=this.getWritable();return r.__colWidths=e,r}static clone(e){return new mi(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__colWidths=e.__colWidths,this.__rowStriping=e.__rowStriping}static importDOM(){return{table:e=>({conversion:D8,priority:1})}}static importJSON(e){const r=ow();return r.__rowStriping=e.rowStriping||!1,r.__colWidths=e.colWidths,r}exportJSON(){return{...super.exportJSON(),colWidths:this.getColWidths(),rowStriping:this.__rowStriping?this.__rowStriping:void 0,type:"table",version:1}}getDOMSlot(e){const r=e.nodeName!=="TABLE"&&e.querySelector("table")||e;return ze(r.nodeName==="TABLE","TableNode.getDOMSlot: createDOM() did not return a table"),super.getDOMSlot(r).withAfter(r.querySelector("colgroup"))}createDOM(e,r){const i=document.createElement("table"),o=document.createElement("colgroup");if(i.appendChild(o),mE(i,e,this.getColumnCount(),this.getColWidths()),a1(o),ct(i,e.theme.table),this.__rowStriping&&AE(i,e,!0),XN(r)){const s=document.createElement("div"),l=e.theme.tableScrollableWrapper;return l?ct(s,l):s.style.cssText="overflow-x: auto;",s.appendChild(i),s}return i}updateDOM(e,r,i){const s=this.getDOMSlot(r).element;return e.__rowStriping!==this.__rowStriping&&AE(r,i,this.__rowStriping),mE(s,i,this.getColumnCount(),this.getColWidths()),e!==this}exportDOM(e){return{...super.exportDOM(e),after:r=>{if(!r||!Et(r))return null;const i=r.firstChild;if(!(i instanceof HTMLTableElement))return null;const o=r.querySelectorAll(":scope > tr");if(o.length>0){const s=document.createElement("tbody");s.append(...o),i.append(s),r.append(i)}return r}}}canBeEmpty(){return!1}isShadowRoot(){return!0}getCordsFromCellNode(e,r){const{rows:i,domRows:o}=r;for(let s=0;s<i;s++){const l=o[s];if(l==null)continue;const c=l.findIndex(u=>{if(!u)return;const{elem:d}=u;return Fe(d)===e});if(c!==-1)return{x:c,y:s}}throw new Error("Cell not found in table.")}getDOMCellFromCords(e,r,i){const{domRows:o}=i,s=o[r];if(s==null)return null;const l=e<s.length?e:s.length-1,c=s[l];return c??null}getDOMCellFromCordsOrThrow(e,r,i){const o=this.getDOMCellFromCords(e,r,i);if(!o)throw new Error("Cell not found at cords.");return o}getCellNodeFromCords(e,r,i){const o=this.getDOMCellFromCords(e,r,i);if(o==null)return null;const s=Fe(o.elem);return Le(s)?s:null}getCellNodeFromCordsOrThrow(e,r,i){const o=this.getCellNodeFromCords(e,r,i);if(!o)throw new Error("Node at cords not TableCellNode.");return o}getRowStriping(){return!!this.getLatest().__rowStriping}setRowStriping(e){this.getWritable().__rowStriping=e}canSelectBefore(){return!0}canIndent(){return!1}getColumnCount(){const e=this.getFirstChild();if(!e)return 0;let r=0;return e.getChildren().forEach(i=>{Le(i)&&(r+=i.getColSpan())}),r}}function D8(n){const t=ow();n.hasAttribute("data-lexical-row-striping")&&t.setRowStriping(!0);const e=n.querySelector(":scope > colgroup");if(e){let r=[];for(const i of e.querySelectorAll(":scope > col")){const o=i.style.width;if(!o||!ph.test(o)){r=void 0;break}r.push(parseFloat(o))}r&&t.setColWidths(r)}return{node:t}}function ow(){return Lt(new mi)}function Ct(n){return n instanceof mi}function L8(n){var i;const t=n.getAttribute("open");return((i=n.firstElementChild)==null?void 0:i.tagName)==="SPAN"?{node:null}:{node:sw(t!==null)}}class Ml extends At{constructor(e,r){super(r);F(this,"__open");this.__open=e}static getType(){return"collapsible-container"}static clone(e){return new Ml(e.__open,e.__key)}createDOM(e,r){let i;const o=document.createElement("details");return o.open=this.__open,o.addEventListener("toggle",()=>{r.getEditorState().read(()=>this.getOpen())!==o.open&&r.update(()=>this.toggleOpen())}),i=o,i.classList.add("Collapsible__container"),i}updateDOM(e,r){const i=this.__open;return e.__open!==i&&(r.open=this.__open),!1}static importDOM(){return{details:e=>({conversion:L8,priority:1})}}static importJSON(e){return sw(e.open)}exportDOM(){const e=document.createElement("details");return e.classList.add("Collapsible__container"),this.__open&&e.setAttribute("open",""),{element:e}}exportJSON(){return{...super.exportJSON(),open:this.__open,type:"collapsible-container",version:1}}setOpen(e){const r=this.getWritable();r.__open=e}getOpen(){return this.getLatest().__open}toggleOpen(){this.setOpen(!this.getOpen())}}function sw(n){return new Ml(n)}function Mr(n){return n instanceof Ml}function O8(n){return{node:lw()}}class Po extends At{static getType(){return"collapsible-content"}static clone(t){return new Po(t.__key)}createDOM(t,e){const r=document.createElement("div");return r.classList.add("Collapsible__content"),r}updateDOM(t,e){return!1}static importDOM(){return{div:t=>t.hasAttribute("data-lexical-collapsible-content")?{conversion:O8,priority:2}:null}}exportDOM(){const t=document.createElement("div");return t.classList.add("Collapsible__content"),t.setAttribute("data-lexical-collapsible-content","true"),{element:t}}static importJSON(t){return lw()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"collapsible-content",version:1}}}function lw(){return new Po}function Tu(n){return n instanceof Po}const R8=uc&&"documentMode"in document?document.documentMode:null;var tT;const P8=(tT=navigator.userAgentData)==null?void 0:tT.platform,XA=uc&&/macOS|iPod|iPhone|iPad/.test(P8);uc&&"InputEvent"in window&&!R8&&"getTargetRanges"in new window.InputEvent("input");const B8=uc&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent);function F8(n){return{node:aw()}}class _s extends At{static getType(){return"collapsible-title"}static clone(t){return new _s(t.__key)}createDOM(t,e){const r=document.createElement("summary");return r.classList.add("Collapsible__title"),B8&&(r.style.cursor="pointer"),r}updateDOM(t,e){return!1}static importDOM(){return{summary:t=>({conversion:F8,priority:1})}}static importJSON(t){return aw()}exportJSON(){return{...super.exportJSON(),type:"collapsible-title",version:1}}collapseAtStart(t){return this.getParentOrThrow().insertBefore(this),!0}insertNewAfter(t,e=!0){const r=this.getParentOrThrow();if(!Mr(r))throw new Error("CollapsibleTitleNode expects to be child of CollapsibleContainerNode");if(r.getOpen()){const i=this.getNextSibling();if(!Tu(i))throw new Error("CollapsibleTitleNode expects to have CollapsibleContentNode sibling");const o=i.getFirstChild();if(G(o))return o;{const s=Ee();return i.append(s),s}}else{const i=Ee();return r.insertAfter(i,e),i}}}function aw(){return new _s}function ul(n){return n instanceof _s}const qN=E.createContext([n=>()=>{},n=>{}]),j8=({children:n})=>{const t=E.useMemo(()=>{let e=null;const r=new Set;return[i=>(i(e),r.add(i),()=>{r.delete(i)}),i=>{e=i;for(const o of r)o(i)}]},[]);return A.jsx(qN.Provider,{value:t,children:n})},z8=()=>{const[n,t]=E.useContext(qN),[e,r]=E.useState(null);return E.useEffect(()=>n(i=>{r(i)}),[n]),[e,t]},U8=Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5);class yg extends Vi{constructor(e,r){super(r);F(this,"__uuid");this.__uuid=e}static clone(e){return new yg(e.__uuid,e.__key)}static getType(){return"autocomplete"}static importJSON(e){return K8(e.uuid)}exportJSON(){return{...super.exportJSON(),type:"autocomplete",uuid:this.__uuid,version:1}}updateDOM(){return!1}createDOM(){return document.createElement("span")}decorate(){return this.__uuid!==U8?null:A.jsx(W8,{})}}function K8(n){return new yg(n)}function W8(){const[n]=z8(),t=window.navigator.userAgentData,e=t!==void 0?t.mobile:window.innerWidth<=800&&window.innerHeight<=600;return A.jsxs("span",{style:{color:"#ccc"},spellCheck:"false",children:[n," ",e?"(SWIPE ⮕)":"(TAB)"]})}const qA={...Ts};function H8(){return{node:cw()}}class Vl extends At{static getType(){return"callout"}static clone(t){return new Vl(t.__key)}constructor(t){super(t)}createDOM(t){const e=document.createElement("div");return typeof t.theme.callout=="string"&&ct(e,qA.callout),e}updateDOM(){return!1}isShadowRoot(){return!0}static importDOM(){return{div:t=>t.className!==qA.callout?null:{conversion:H8,priority:2}}}static importJSON(){return cw()}exportJSON(){return{...super.exportJSON(),type:"callout",version:1}}}function cw(){return new Vl}function bg(n){return n instanceof Vl}const $i={transition:"fade",duration:400},Y8=({editor:n,keyNode:t,emoji:e})=>{const{t:r}=pt.useTranslation(),i=E.useRef(null);return E.useEffect(()=>{n.update(()=>{var l,c;const o=ve(t),s=((c=(l=i.current)==null?void 0:l.firstChild)==null?void 0:c.outerHTML)||"";o instanceof Ns&&o.setRef(s)})},[e]),A.jsx("div",{ref:i,children:A.jsx(jt.EmojiPicker,{value:e,onChange:o=>{n.update(()=>{var l;const s=ve(t);s instanceof Ns&&((l=s.getNextSibling())==null||l.selectStart(),s.setEmoji(o))})},locales:{emojis:r("editor.emoji.emojis"),icons:r("editor.emoji.icons"),search:r("editor.emoji.search"),searchResults:r("editor.emoji.searchResults"),searchNoResults:r("editor.emoji.searchNoResults"),remove:r("editor.emoji.remove"),emojiCategory:{frequent:r("editor.emoji.emojiCategory.frequent"),people:r("editor.emoji.emojiCategory.people"),nature:r("editor.emoji.emojiCategory.nature"),foods:r("editor.emoji.emojiCategory.foods"),activity:r("editor.emoji.emojiCategory.activity"),places:r("editor.emoji.emojiCategory.places"),objects:r("editor.emoji.emojiCategory.objects"),symbols:r("editor.emoji.emojiCategory.symbols"),flags:r("editor.emoji.emojiCategory.flags")}},popoverProps:{classNames:{dropdown:"emoji-picker-callout"},withinPortal:!0,transitionProps:$i},children:A.jsx(L.ActionIcon,{size:28,variant:"subtle",children:A.jsx(jt.ProjectIcon,{size:27,fz:27,icon:e,fallback:A.jsx(ee.IconFile,{size:"1em"})})})})})};function Z8(n){const t=n.getAttribute("data-emoji");return{node:uw(t||"","")}}const yE=new Map;class Ns extends Zo{constructor(e,r,i,o){super(i,o);F(this,"__emojiCode");F(this,"__refElem");this.__emojiCode=e||"",this.__refElem=r||""}static getType(){return"callout-image"}static clone(e){return new Ns(e.__emojiCode,e.__refElem,e.__format,e.__key)}static importJSON(e){return uw(e.emojiCode)}exportJSON(){return{...super.exportJSON(),type:"callout-image",version:1,emojiCode:this.__emojiCode,refElem:""}}static importDOM(){return{div:e=>e.classList.contains("callout-image")?{conversion:Z8,priority:2}:null}}createDOM(){const e=document.createElement("div");return e.className="callout-image",e}updateDOM(){return!1}exportDOM(){const e=document.createElement("div"),r=yE.get(this.__key)||"";return e.innerHTML=r,e.classList.add("callout-image"),e.setAttribute("data-emoji",this.__emojiCode),{element:e}}setEmoji(e){const r=this.getWritable();r.__emojiCode=e}setRef(e){yE.set(this.__key,e)}decorate(e,r){return A.jsx(Y8,{emoji:this.__emojiCode,editor:e,keyNode:this.__key})}}function uw(n,t){return new Ns(n||"",t||"")}function G8(n){const t=n.getAttribute("data-type"),e=n.style.backgroundColor;return{node:dw(e,t||"default")}}class Is extends At{constructor(e,r,i){super(i);F(this,"__backgroundColor");F(this,"__calloutType");this.__backgroundColor=e===void 0?"#f3f3f4":e,this.__calloutType=r===void 0?"😊":r}static getType(){return"callout-wrapper"}static clone(e){return new Is(e.__backgroundColor,e.__calloutType,e.__key)}createDOM(e){const r=document.createElement("div");return typeof e.theme.callout=="string"&&ct(r,e.theme.calloutWrapper),r.setAttribute("data-type",this.__calloutType),r.style.backgroundColor=this.__backgroundColor,r}updateDOM(e,r){return e&&(r.setAttribute("data-type",this.__calloutType),r.style.backgroundColor=this.__backgroundColor),!1}static importDOM(){return{div:e=>e.className!==qA.calloutWrapper?null:{conversion:G8,priority:2}}}static importJSON(e){return dw(e.backgroundColor,e.calloutType)}setBackgroundColor(e){const r=this.getWritable();r.__backgroundColor=e}setType(e="default"){const r=this.getWritable();r.__calloutType=e}exportJSON(){return{...super.exportJSON(),type:"callout-wrapper",backgroundColor:this.__backgroundColor,calloutType:this.__calloutType,version:1}}}function dw(n="#f3f3f4",t="default"){return new Is(n,t)}function Bo(n){return n instanceof Is}const bE={bullet:ee.IconList,check:ee.IconListCheck,"check-mark":ee.IconCheck,code:ee.IconCode,h1:ee.IconH1,h2:ee.IconH2,h3:ee.IconH3,number:ee.IconListNumbers,paragraph:ee.IconIndentIncrease,quote:ee.IconQuote,fontFamily:ee.IconLetterT,undo:ee.IconArrowBackUp,redo:ee.IconArrowForwardUp,bold:ee.IconBold,italic:ee.IconItalic,underline:ee.IconUnderline,link:ee.IconLink,"color-picker":ee.IconColorPicker,background:ee.IconBucketDroplet,photo:ee.IconPhoto,"photo-check":ee.IconPhotoCheck,"align-left":ee.IconAlignLeft,"align-end":ee.IconAlignLeft,"align-start":ee.IconAlignLeft,"align-right":ee.IconAlignRight,"align-center":ee.IconAlignCenter,"align-justify":ee.IconAlignJustified,"horizontal-rule":ee.IconFlipHorizontal,strikethrough:ee.IconStrikethrough,subscript:ee.IconSubscript,superscript:ee.IconSuperscript,minus:ee.IconMinus,plus:ee.IconPlus,"chevron-down":ee.IconChevronDown,"chevron-right":ee.IconChevronRight,grip:ee.IconGripVertical,"circle-check":ee.IconCircleCheck,"circle-x":ee.IconCircleX,pencil:ee.IconPencil,trash:ee.IconTrash,table:ee.IconTable,"caret-right":ee.IconCaretRight,grid:ee.IconColumns3,"dots-vertical":ee.IconDotsVertical,copy:ee.IconCopy,clipboard:ee.IconClipboard,cut:ee.IconCut,"arrow-bar-to-up":ee.IconArrowBarToUp,"arrow-bar-to-down":ee.IconArrowBarToDown,"arrow-bar-to-left":ee.IconArrowBarToLeft,"arrow-bar-to-right":ee.IconArrowBarToRight,"column-insert-left":ee.IconColumnInsertLeft,"column-insert-right":ee.IconColumnInsertRight,"row-insert-top":ee.IconRowInsertTop,"row-insert-bottom":ee.IconRowInsertBottom,"container-off":ee.IconContainerOff,"table-off":ee.IconTableOff,"layers-union":ee.IconLayersUnion,"layers-substract":ee.IconLayersSubtract,"сlear-format":ee.IconDropletOff,form:ee.IconCheckupList,youtube:ee.IconBrandYoutube,emoji:ee.IconMoodSmile,file:ee.IconFile,success:ee.IconCheck,warning:ee.IconAlertTriangle,alert:ee.IconExclamationCircle,defaultOff:ee.IconBaseline,embed:ee.IconCodeCircle,at:ee.IconAt,paperclip:ee.IconPaperclip,close:ee.IconX,api:ee.IconApi,music:ee.IconMusic,message:ee.IconMessage,reply:ee.IconArrowBackUp,filter:ee.IconFilter,messages:ee.IconMessages,"shield-check":ee.IconShieldCheckFilled,reOpen:ee.IconReload,send:ee.IconSend,expandSidebar:ee.IconLayoutSidebarLeftExpand,palette:ee.IconPalette},xe=({name:n,iconStyle:t,...e})=>{const r=bE[n]||bE.bullet;return A.jsx(L.Flex,{gap:0,justify:"center",align:"center",...e,children:A.jsx(r,{size:18,stroke:2,style:t,...e})})},fc=({icon:n,title:t,pointerEvents:e="auto",isLoading:r,progress:i,nodeKey:o,onAfterCancel:s,...l})=>{const[c]=Me(),{t:u}=pt.useTranslation(),{fetchUploadMedia:d}=E.useContext(Ot),h=((d==null?void 0:d.length)??0)>=5,g=()=>{c.update(()=>{const m=ve(o);m&&m.remove()})},p=m=>{m.stopPropagation(),s==null||s()};return A.jsxs(L.UnstyledButton,{className:"image-node-picker-button",styles:{root:{width:"100%",display:"flex",alignItems:"center",gap:"var(--mantine-spacing-sm)",flexDirection:"column",padding:"var(--mantine-spacing-md)",background:"var(--mantine-primary-color-light)",color:"var(--mantine-color-text)",borderRadius:"var(--mantine-radius-default)",opacity:.75,pointerEvents:r?"none":e,boxSizing:"border-box"}},...l,children:[A.jsxs("div",{className:"empty-node-button__content",children:[r&&!h&&A.jsx(L.Loader,{size:"xs",mb:2,mr:4,color:"gray"}),!r&&A.jsx(xe,{name:n}),t,r&&s&&A.jsx(L.Text,{component:"span",onClick:p,variant:"link",style:{marginLeft:"auto",cursor:"pointer",pointerEvents:"auto"},children:u("editor.cancel")}),o&&!r&&A.jsx(xe,{style:{pointerEvents:"auto"},className:"delete-icon",name:"close",size:22,onClick:g})]}),r&&typeof i=="number"&&h&&A.jsx(L.Progress,{w:"100%",value:i,animated:!0,transitionDuration:200})]})},J8="_title_81iwv_1",Q8="_icon_81iwv_11",V8="_link_81iwv_20",Mm={title:J8,icon:Q8,link:V8},X8=({page:n})=>{const{t}=pt.useTranslation();return A.jsxs("div",{className:Mm.link,onClick:n.onClick,children:[A.jsx("div",{className:Mm.icon,children:n.icon?A.jsx(jt.ProjectIcon,{size:16,fz:16,icon:n.icon,fallback:A.jsx(ee.IconFile,{size:"1em"})}):A.jsx(ee.IconFile,{size:16})}),A.jsx(L.Tooltip,{label:n.title,disabled:!n.title,openDelay:400,children:A.jsx(L.Text,{truncate:!0,className:Mm.title,"data-empty":!n.title,children:n.title||t("editor.noTitle")})})]})},q8=E.memo,$8=q8(X8),$N=({page:n})=>A.jsxs("div",{className:"docs-item",children:[A.jsx($8,{page:n}),n.children&&n.children.length>0&&A.jsx(A.Fragment,{children:n.children.map(t=>A.jsx($N,{page:t},t.id))})]});function e6({nodeKey:n}){const{pages:t}=E.useContext(Ot),{t:e}=pt.useTranslation();return t.length===0?A.jsx("p",{style:{margin:0},children:A.jsx(fc,{title:e("editor.menu.other.documents.empty"),icon:"file",pointerEvents:"none",nodeKey:n})}):A.jsx("div",{className:"docs-container",children:t.map(r=>A.jsx($N,{page:r},r.id))})}function t6(n){return n.getAttribute("data-child-docs")?{node:eI()}:null}class Qa extends Zo{static getType(){return"childDocs"}static clone(t){return new Qa(t.__format,t.__key)}constructor(t,e){super(t,e)}createDOM(){const t=document.createElement("div");return t.className="editor-child-docs",t}updateDOM(){return!1}decorate(t,e){return A.jsx(e6,{nodeKey:this.__key})}static importJSON(t){const{format:e,key:r}=t;return new Qa(e,r)}exportJSON(){return{type:"childDocs",format:this.__format,key:this.__key}}exportDOM(){const t=document.createElement("div");return t.setAttribute("data-child-docs","true"),{element:t}}static importDOM(){return{div:t=>t.getAttribute("data-child-docs")?{conversion:t6,priority:2}:null}}}function eI(){return new Qa(void 0)}const n6=n=>{if(n==="left")return["n-resize","s-resize","e-resize","se-resize","ne-resize"];if(n==="center")return["sw-resize","nw-resize","w-resize","n-resize","s-resize","e-resize","se-resize","ne-resize"];if(n==="right")return["sw-resize","nw-resize","w-resize","n-resize","s-resize"]},_o=we(),$A=we(),fw=we(),ey=we(),hw=we(),tI=we(),nI=we(),rI=we(),ty=(()=>{var t;const n=(t=window.navigator)==null?void 0:t.userAgentData;return n!==void 0?n.mobile:window.innerWidth<=800&&window.innerHeight<=600})(),r6={center:-8,right:2,left:-18},i6=(n,t,e,r)=>{const o=n.width/2,s=n.height/2,l=r==null?void 0:r.classList[1],c=r6[l];switch(t){case"nw-resize":return{x:0,y:0};case"ne-resize":return{x:n.width-16,y:0};case"sw-resize":return{x:0,y:n.height-16};case"se-resize":return{x:n.width-16,y:n.height-16};case"n-resize":return{x:o+c,y:0};case"s-resize":return{x:o+c,y:n.height-16};case"w-resize":return{x:0,y:s-8};case"e-resize":return{x:n.width-16,y:s-(e?17:8)}}},o6=(n,t,e,r=["nw-resize","ne-resize","sw-resize","se-resize","n-resize","s-resize","w-resize","e-resize"])=>{const o=e<=32,s=e>=n.height-32,l=t<=32,c=t>=n.width-32;return o&&l?r.includes("nw-resize")?"nw-resize":"default":o&&c?r.includes("ne-resize")?"ne-resize":"default":s&&l?r.includes("sw-resize")?"sw-resize":"default":s&&c?r.includes("se-resize")?"se-resize":"default":o?r.includes("n-resize")?"n-resize":"default":s?r.includes("s-resize")?"s-resize":"default":l?r.includes("w-resize")?"w-resize":"default":c&&r.includes("e-resize")?"e-resize":"default"},ff=32,hf=(n,t)=>n&&typeof n=="number"?Math.min(n/t*100,95.5):95.5;function s6(n){const e=100-4e3/n;return{minResizePercent:Math.max(5,9792/n),maxWidthPercent:e}}const gw=({editor:n,width:t,height:e,initialHeight:r,initialWidth:i,children:o,onResizeStart:s,isIcon:l,onResizeEnd:c,alignment:u,isEmbed:d,type:h})=>{const[g,p]=E.useState({x:-1e3,y:-1e3}),[m,y]=E.useState(30),[w,v]=E.useState("default"),[C,x]=E.useState(!1),{imperativeHandleRef:_}=E.useContext(Ot),[N,T]=E.useState(null),k=E.useMemo(()=>n6(u)||["e-resize"],[u]),M=k.length===1&&k[0]==="e-resize",I=E.useRef(null),R=E.useRef(null),B=E.useRef({rootHeight:0,rootWidth:0,ratio:1,currentWidth:0,currentWidthPercent:0,currentHeight:0,currentHeightPercent:0,startWidth:0,startWidthPercent:0,startHeight:0,startHeightPercent:0,startX:0,startY:0,direction:"x",isResizing:!1,isTop:!1,isBottom:!1,isLeft:!1,isRight:!1}),U=(H,W=95.5)=>{var re;const Q=(re=n._window)==null?void 0:re.innerWidth;if(Q){let ce=100;d&&(ce=250);const me=ce/Q*100;return H<me?me:H>W?W:H}else return H<20?20:H>100?100:H},j=(H,W)=>{const Q=Math.min(H,W);return 15+(Math.max(200,Math.min(800,Q))-100)/500*15},K=(H,W,Q)=>{if(v("default"),!C)return;let re=w;re=o6(H,W,Q,k),B.current.isResizing&&(re=w),v(re),y(m),p(ce=>i6(H,re,d||!1,I.current)||ce)},V=H=>{var ce;if(ty)return;H.preventDefault();const W=(ce=I.current)==null?void 0:ce.getBoundingClientRect();if(!W)return;const Q=H.clientX-W.left,re=H.clientY-W.top;B.current.isResizing||K(W,Q,re)},ue=(H,W=12,Q=95.5,re=B.current.rootWidth)=>{const ce=I.current,me=B.current;if(!ce||H.button===2||!(me!=null&&me.isResizing))return;const X=ce.getBoundingClientRect(),ne=H.clientX-X.left,Ae=H.clientY-X.top;K(X,ne,Ae);const oe=.17,pe=u==="right",ke=u==="center",Pe=me.isLeft,Ce=me.isTop,We=me.isBottom,Oe=me.direction==="y",Se=me.isRight,Je=Math.floor(pe?X.right-H.clientX-(X.right-me.startX):H.clientX-me.startX),ut=Math.floor(H.clientY-me.startY);let lt=0;Pe||Se?lt=Je/re*100:(Ce||We||ke)&&(lt=ut*oe),(Pe||Ce)&&(!pe||Oe&&!Pe)&&(!We||ke)&&(lt=-lt),(Ce&&Se||We&&Se)&&(lt=Je/re*100),lt=Math.max(-100,Math.min(100,lt));const Zt=me.startWidthPercent+lt,Sn=me.startHeightPercent+lt;me.currentWidthPercent=U(Math.max(W,Zt),Q),me.currentHeightPercent=U(Math.max(W,Sn),Q),ce.style.width=`${me.currentWidthPercent}%`,ce.style.height=`${me.currentHeightPercent}%`},fe=H=>{var ce,me;const W=B.current;if(W.isResizing=!1,(ce=I.current)==null||ce.classList.remove("is-resizing"),(me=I.current)==null||me.releasePointerCapture(H.pointerId),c(W.currentWidthPercent+"%",W.currentHeightPercent+"%"),document.removeEventListener("pointermove",ue),!I.current)return;const Q=I.current.getBoundingClientRect(),re=j(Q.width,Q.height);y(re)},ie=H=>{var kt,ht;if(H.button===2||!C){H.preventDefault(),H.stopPropagation();return}if(!I.current)return;I.current.classList.add("is-resizing");const W=n.getRootElement();if(!W)return;const Q=W.getBoundingClientRect();if(!n.isEditable()||w==="default")return;const re=R.current;if(re===null)return;const ce=(kt=I.current)==null?void 0:kt.getBoundingClientRect();if(!re.getBoundingClientRect()||!ce)return;const{width:X,height:ne,top:Ae,left:oe}=ce,pe=H.clientX-oe,ke=H.clientY-Ae,Pe=ke<=ff,Ce=ke>=ne-ff,We=pe<=ff,Oe=pe>=X-ff,Se=B.current,Je=window.getComputedStyle(W),ut=parseFloat(Je.paddingTop),lt=parseFloat(Je.paddingBottom),Zt=parseFloat(Je.paddingLeft),Sn=parseFloat(Je.paddingRight);Se.rootHeight=Q.height-ut-lt||0,Se.rootWidth=Q.width-Zt-Sn||0,Se.ratio=X/ne,Se.currentWidth=Se.currentWidth||X,Se.currentWidthPercent=+I.current.style.width.replace("%",""),Se.currentHeight=Se.currentHeight||ne,Se.currentHeightPercent=+I.current.style.height.replace("%",""),Se.startX=H.clientX,Se.startY=H.clientY,Se.startWidth=Se.currentWidth||X,Se.startWidthPercent=Se.currentWidthPercent,Se.startHeight=Se.currentHeight||ne,Se.startHeightPercent=Se.currentHeightPercent,Se.isResizing=!0,Se.isTop=Pe,Se.isBottom=Ce,Se.isLeft=We,Se.isRight=Oe,Se.direction=Ce||Pe?"y":"x",s&&s(),I.current.setPointerCapture(H.pointerId);const je=((ht=I.current.parentElement)==null?void 0:ht.offsetWidth)??Se.rootWidth,{maxWidthPercent:nt,minResizePercent:dt}=s6(je);document.addEventListener("pointermove",et=>{var $t,Kt;return ue(et,h==="video"?40:dt,nt,(Kt=($t=I.current)==null?void 0:$t.parentElement)==null?void 0:Kt.offsetWidth)}),document.addEventListener("pointerup",fe,{capture:!0,once:!0})};E.useEffect(()=>{var ce;const H=I.current;if(!H)return;if(typeof t=="number"&&typeof e=="number"){H.style.width=`${U(t)}%`,H.style.height=`${U(e)}%`;return}const W=(ce=H.parentElement)==null?void 0:ce.getBoundingClientRect();if(!W)return;const Q=hf(r,W.height),re=hf(i,W.width);H.style.width=`${re}%`,H.style.height=`${Q}%`},[t,e,i,r]),E.useEffect(()=>{var re;if(!I.current)return;const H=I.current.getBoundingClientRect(),W=(re=I.current.parentElement)==null?void 0:re.getBoundingClientRect(),Q=j(H.width,H.height);if(y(Q),typeof t=="number"&&typeof e=="number")I.current.style.width=`${U(t)}%`,I.current.style.height=`${U(e)}%`,B.current.currentWidthPercent=t,B.current.currentHeightPercent=e;else if(W){const ce=hf(r,W.height),me=hf(i,W.width);requestAnimationFrame(()=>{I.current&&(I.current.style.height=`${ce}%`,I.current.style.width=`${me}%`)}),B.current.currentWidthPercent=me,B.current.currentHeightPercent=ce}else I.current.style.height="100%",I.current.style.width="100%",B.current.currentWidthPercent=100,B.current.currentHeightPercent=100},[I.current,l,r,i]);const le=H=>{const Q=H.target.closest("[data-lexical-decorator]");return Q?n.update(()=>{const re=Fe(Q);re&&re instanceof Vi&&(typeof re.select=="function"&&re.select(),T(re))}):T(null),!1},te=()=>(N&&setTimeout(()=>{n.update(()=>(N.insertAfter(Ee()).selectStart(),T(null),!0))}),!1);return _!=null&&_.current&&(_.current.decoratorEnterAction=te),E.useEffect(()=>{const H=n.registerCommand(jo,le,Ai);return()=>{H()}},[N]),ty?o:A.jsxs("div",{ref:I,className:`resizable-container ${u||""} ${M?"hide-padding":""}`,style:{cursor:w},onMouseMove:V,onMouseEnter:()=>x(!0),onMouseLeave:()=>{x(!1),v("default")},onMouseUp:()=>{n.dispatchCommand(_o,"show_menu")},onPointerDown:ie,children:[A.jsx("svg",{className:`resizable-container__handle ${C?"hovered":""}`,style:{"--clip-x1":`${g.x-m}px`,"--clip-y1":`${g.y-m}px`,"--clip-x2":`${g.x+m}px`,"--clip-y2":`${g.y-m}px`,"--clip-x3":`${g.x+m}px`,"--clip-y3":`${g.y+m}px`,"--clip-x4":`${g.x-m}px`,"--clip-y4":`${g.y+m}px`,clipPath:`polygon(
38
- var(--clip-x1) var(--clip-y1),
39
- var(--clip-x2) var(--clip-y2),
40
- var(--clip-x3) var(--clip-y3),
41
- var(--clip-x4) var(--clip-y4)
42
- )`,opacity:C?1:0,transition:`${B.current.isResizing?"none":` opacity 0.3s ease-in-out, clip-path ${(k==null?void 0:k.length)<4?"0.2s":"0.3s"} cubic-bezier(0.825, 0.225, 0.280, 0.770)`}`},children:A.jsx("rect",{x:0,y:0,width:"100%",height:"100%",stroke:"#D9D9D9",strokeWidth:8,rx:15,ry:15,fill:"none"})}),A.jsx("div",{ref:R,className:"resizable-container__inner",style:{height:"100%",width:"100%",pointerEvents:B.current.isResizing?"none":"auto"},children:o})]})},yh=n=>typeof n=="string"&&n.includes("%")?parseFloat(n):n;function Dl(n,t){if(!t||!(t instanceof HTMLElement)){console.error("Invalid DOM element provided.");return}n?t.classList.add("disable-scroll"):t.classList.remove("disable-scroll")}function l6(n,t){if(n.match(/\n/))return!1;try{const e=new URL(n);return["javascript:","file:","vbscript:","data:"].includes(e.protocol)?!1:e.hostname?!0:e.protocol!==""&&(e.pathname.startsWith("//")||e.pathname.startsWith("http"))&&!(t!=null&&t.requireHostname)}catch{return!1}}function iI(n){try{if(n.includes("maps/embed"))return n;const t=new URL(n),e=t.href.match(/@([0-9.]+),([0-9.]+),([0-9]+)m/),r=t.href.match(/1s([^!]+)/),i=t.href.match(/!3d([0-9.]+)!4d([0-9.]+)/);if(!e&&!i)throw new Error("Неверный формат ссылки Google Maps");const o=i?i[1]:e?e[1]:"0",s=i?i[2]:e?e[2]:"0",l=e?Math.round(Math.log2(40075016686e-3/(parseFloat(e[3])*2))):14,c=r?r[1]:"";return`https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d14774!2d${s}!3d${o}!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f${l}!3m3!1m2!1s${c}!2z!5e1!3m2!1sru!2s!4v${Date.now()}!5m2!1sru!2s`}catch(t){return console.error("Error link:",t),""}}function a6(n){const t=/https:\/\/lookerstudio\.google\.com\/u\/\d+\/reporting\/([^\/]+)\/page\/([^\/]+)(\/edit)?/;return n.replace(t,"https://lookerstudio.google.com/embed/reporting/$1/page/$2")}function c6(n){if(n)return n.includes("lookerstudio")?a6(n):n.includes("maps")?iI(n):!l6(n,{requireHostname:!1})&&!n.startsWith("/")&&!n.startsWith("#")&&!n.startsWith("mailto:")&&!n.startsWith("sms:")&&!n.startsWith("fax:")&&!n.startsWith("tel:")?`https://${n}`:n}const u6=28,Ll=E.forwardRef(({src:n,title:t,icon:e,canonicalUrl:r,isSelected:i,width:o="100%",height:s,saveUrl:l,editor:c,updateMinHeight:u,disableOutline:d},h)=>{var v;const g=E.useRef(null),[p,m]=E.useState(!1),y=!!(e||r),w=E.useMemo(()=>{var x;return(s?parseFloat(String(s)):((x=g.current)==null?void 0:x.scrollHeight)||0)+u6},[s,(v=g.current)==null?void 0:v.scrollHeight]);return E.useEffect(()=>{const C=setTimeout(()=>{m(!0),n&&(c==null||c.update(()=>{l(n)}))},0);return()=>clearTimeout(C)},[n]),E.useEffect(()=>{w&&u(w)},[w]),A.jsxs(L.Box,{className:`frame-container ${i?"selected":""}`,style:{overflow:"hidden",width:"inherit",height:"100%",padding:"0px"},children:[p&&A.jsx("iframe",{ref:h||g,style:d?{outline:"none"}:{outline:"1px"},className:`editor-video ${y?"with-bar":""}`,sandbox:"allow-same-origin allow-scripts allow-popups allow-forms allow-downloads allow-storage-access-by-user-activation",width:"100%",height:s,frameBorder:"0",title:t||"embed",loading:"lazy",src:c6(n),allowFullScreen:!0}),A.jsxs("div",{className:"frame-bar",children:[e," ",A.jsx(L.Text,{className:"frame-title",children:t}),r&&A.jsx(L.Anchor,{className:"frame-open-link",href:r,target:"_blank",rel:"noopener noreferrer",children:A.jsxs(L.Flex,{gap:2,children:[A.jsx(ee.IconExternalLink,{size:16}),A.jsx(L.Text,{children:"Open"})]})})]})]})}),d6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAACglBMVEUAAAAktvjtMET/wAAmtfkhsfkltPjsL0nxVAD/vwAltfj/wgD/wAD/vwD/wAD/wAD/wQD/wgAArvYltvj/wAD/wAD/uwD/vQAQr/8ltvnqKUPHJ0LuMUrKKEL/wAAlt/n/wQDeADn/wQD/vwAbsf3/wQDJKEIltvn/wAD/wQD/wAD/wAD/wQD/wgD/wAD/wAD/wAAjtPYis/oZsPn/sQD0JC4mtfjIJ0Iltvn/wAD/wAD/wAAltvj/wQAltvn/wADvMEn/wQD/wAD/wQD/wAD/wAAjtvjVK0P/wwDjKkD/wADIJ0Iltvn/wQD/wQDvMEoltvnPKUP/wADvMUkktfjRKUP/wAAktvsjufoitfgitfggtPn/wQD/xADjKEX/uQAlt/r/wQDwMEoltfjKKEImuPvNKUPKKEIltvn/wQDKKEL/wQAlt/slt/omt/r/wQD/wQAltfjQKUMktvn/wADQKUP/wAD/wAAitfn/vwDXKUMjtfn/wAD/vgD/wADnK0UftvjuMEruMEnvMEomtfjOKUPvMUn/wADOKUPNKUPRKUT/wQAlt/rRKUMlt/r/wQD/wAD/wQAltvkkt/nNKEIltvoltvjuL0nSKEP/wADVKUTSKEH/vwAjt/ntLkj/vQDiK0TmJ0TRJUPhHj3MKUPPKUMmtvkltfj/wQDuMErMKELwMErvMEkltvjvMUrVKkPUKUP/vgDdK0bwL0jVKkPyMEjXKD/vMEjrMUnuMUrtMErfLUcmtvjvMUnPKUTPKET/wADRKkP/wAD/wAD/wwAmtff/vwDtMUrGKELsMEnHKELKKELqL0jRKkPMKUPjLkffLUbbLEXnL0jlL0jXK0XUKkRKdu7EAAAAxXRSTlMAIw7++C7NlwL9/gLQHfjvuAcD9/v0DAkG6Rb9/Ondz8kE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2ujjlYEIGXEw/tq49v9lcW8j/j0bQwdGTdxybhVrUqn/NRwfwLGwJOuPmImTjYgTg4ipSzsXdFaYWMCFrB/PPAvFP9cGxABvq+vbg2lc2m3tD1zycVUtD2ljbwf7F8RF4FuKoqgENqBqyBl0BOZeqpy2xNdK0BAxJuA/t+a4OaqjTX2K1TajjP25eCls4kJeHA/o0enbh4O4BcPS+I/SQziN4wr9jTKBrYFugnek6eVmxBRxvyhaidjGcy0hh/RtAEiaWLbdAXwh1t6aF+ppxcfl/GD6NurIGm8AAAAAASUVORK5CYII=",_6="data:image/svg+xml,%3csvg%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20256%20256'%20width='256'%20height='256'%20preserveAspectRatio='xMidYMid'%3e%3cpath%20fill='%23625DF5'%20d='M256%20113.765h-74.858l64.83-37.43-14.237-24.667-64.83%2037.43%2037.421-64.825-24.667-14.246-37.421%2064.826V0h-28.476v74.86L76.326%2010.027%2051.667%2024.266%2089.096%2089.09%2024.265%2051.668l-14.238%2024.66%2064.83%2037.43H0v28.477h74.85l-64.823%2037.43%2014.238%2024.667%2064.824-37.423-37.43%2064.825%2024.667%2014.239%2037.429-64.832V256h28.476v-74.853l37.422%2064.826%2024.665-14.239-37.428-64.832%2064.83%2037.43%2014.24-24.667-64.825-37.423h74.85v-28.477H256ZM128%20166.73c-21.472%200-38.876-17.403-38.876-38.876%200-21.472%2017.404-38.876%2038.876-38.876%2021.472%200%2038.875%2017.404%2038.875%2038.876%200%2021.473-17.403%2038.876-38.875%2038.876Z'/%3e%3c/svg%3e",N6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAn1BMVEUAAAD3jR3zhhT1hxTthxb3dwD3jR34jR74jR33jR33ihf4jB33jB34jR33jRz4jBz3jBz4ixv4iRn3hgD3jR33jRz3jB34ixf5iBb3jRz3jR33jR33jB33jB32jBz4jBz4jBz4jBn4jR33jR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YYGwSQ+p40OJVgZDdIkkXqxF0UTBErngjZQljHGhyUyCknLFVjWVSXFDh8WS1rK7ShCDYt6Pc+kBYWXRf8uV5P3M7QvKFvFJBnNy5OJfafD4SmBZDc1YP9K6Jze5KZ18CAbZz5n5AJL8HaQ4Lvq12P01+q6qEJPnUQJPbSWJYrBapJoq2Aw/5KYnFntMCbd635LcTrNuLSIvcJdosVfcdDl1OM7x2b5MsWQpr65H11eWuFewL4epnVvbSzPg5ND2eZnc3PGvxOy8ilrhITRPvolcPImOnYu8uNoZ3I+H+C9Yd6ZxyF9La9sw2mOzbFNara8bNu9S8BideF27sprMr0oKOj9Ec8TsNKfq7hOnG3iUcKSB+j1PTuo3Gtnc+Yz473e7h7vw+X2mGJV+P4/siVuy8Ae9ff0wouNpoXU2Is2lSXI+tmpoXdBLu0wbiPdqaFa8rXS/O7mdO6xVIsmMZscMiCWMoNfmvQDOWZuYJb89/DMu2kyTbBHHschDuXZEmfhrSNgQCyyH1iVgkKo0JED/+HEz4IvDCcezrp36UJ1X5ThGlikSGDfBO4vDxOo5rzwfKoqtfOPYGuTUjMj4BNv860O6n0nzXSGruiknflX4vxaH9ODLxIlmrZtUMH1zolZ6udiEVMrHjpTjcGSsxWpKNxRkUONUcvPMHQDB/BA/9FdC+FSC0BtTC9FI/rwDhvUod9gci2UPYhkmlqMH3QFqlyAZ+onrvIp+e+v9+1d2Lv4munAAAAABJRU5ErkJggg==",L6="data:image/svg+xml,%3csvg%20height='256'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20256'%20width='256'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m127.059657%20255.996921c-68.2090026-.470449-127.51673062-57.078479-127.05700194-128.998618.44199434-69.2024402%2057.94900474-127.46727058%20129.10736494-126.99545745%2069.157108.45954053%20127.503089%2057.86392555%20126.885116%20128.19135345.572955%2069.689254-58.060868%20128.29499-128.935479%20127.802722zm0%200c-68.2090026-.470449-127.51673062-57.078479-127.05700194-128.998618.44199434-69.2024402%2057.94900474-127.46727058%20129.10736494-126.99545745%2069.157108.45954053%20127.503089%2057.86392555%20126.885116%20128.19135345.572955%2069.689254-58.060868%20128.29499-128.935479%20127.802722z'%20fill='%23fff'/%3e%3cpath%20d='m127.184644%20238.997327c-59.1522675-.408056-110.5810349-49.498583-110.1823412-111.865899.3837257-60.0128327%2050.2530972-110.5397174%20111.9608142-110.1289408%2059.971427.3985349%20110.568788%2050.1800369%20110.032661%20111.1667638.496666%2060.43313-50.348348%20111.255175-111.811134%20110.828076zm0%200c-59.1522675-.408056-110.5810349-49.498583-110.1823412-111.865899.3837257-60.0128327%2050.2530972-110.5397174%20111.9608142-110.1289408%2059.971427.3985349%20110.568788%2050.1800369%20110.032661%20111.1667638.496666%2060.43313-50.348348%20111.255175-111.811134%20110.828076z'%20fill='%2349a32b'/%3e%3cpath%20d='m169.327319%20127.956161c-.284596%205.290212-4.906213%209.683063-9.461106%208.916425-.021787%200-.044936%200-.068085%200-5.045107.006809-9.139745-4.078298-9.145192-9.123404.171575-5.058724%204.366979-9.045787%209.427064-8.96%205.045106.02451%209.51966%204.288%209.247319%209.166979zm-81.1261275%2051.264c1.9022979.055829%203.8059574.014978%205.9996596.014978v13.785873c-13.6347234%202.305361-24.8660426-1.565958-27.6221277-13.091405-.9436596-4.237617-1.5237447-8.548766-1.7361702-12.885787-.292766-4.591659.2137872-9.235064-.1361702-13.818553-.9695319-12.612085-2.6035745-16.917787-14.706383-17.514213v-15.69634c.8674043-.202894%201.7470638-.352681%202.6321702-.452085%206.6355745-.326809%209.4325107-2.361192%2010.916766-8.897362.6754042-3.672511%201.0757447-7.389958%201.1942127-11.1223831.5256171-7.2170212.3390639-14.5511489%201.5414468-21.6510638%201.737532-10.267234%208.1116596-15.2551489%2018.6403405-15.8134468%202.9957447-.1606808%206.0010212-.0245106%209.3957447-.0245106v14.0908936c-1.3971064.0994042-2.6771064.3022979-3.9489362.2641702-8.5800851-.2628085-9.024%202.6594043-9.650383%209.7620426-.3908085%204.4541276.1484255%208.9845106-.155234%2013.453617-.3172766%204.4473189-.9123405%208.8714889-1.7811064%2013.2452769-1.2377873%206.338723-5.1349787%2011.052936-10.5354894%2015.053617%2010.4837447%206.822127%2011.6765958%2017.422978%2012.3574468%2028.187234.3662979%205.78451.1988085%2011.609872.7857022%2017.365787.4575319%204.467745%202.1950638%205.607489%206.8085106%205.74366zm8.8360851-60.430979h.1620425c5.0124259.083064%209.0103829%204.213106%208.9273189%209.226893%200%20.164766-.005447.328171-.014978.491575-.281873%204.899404-4.481362%208.641362-9.3807664%208.359489-.1974468.004085-.3935319%200-.5909787-.009532-4.9892766-.247829-8.8333617-4.493617-8.5855319-9.482893.2478298-4.989277%204.493617-8.833362%209.4828936-8.585532zm31.2360854%200c5.482212-.042213%209.123404%203.510468%209.152%208.930042.029957%205.565277-3.421958%209.126128-8.868766%209.149277-5.539405.024511-9.186043-3.479149-9.216-8.866043-.016341-.275063-.020426-.550127-.012256-.825191.153873-4.786383%204.158639-8.541958%208.945022-8.388085zm65.399829-6.865702c1.458383%205.446808%204.297532%207.361361%2010.03166%207.622808.939575.043575%201.875064.202894%203.163234.345873v15.692255c-.697191.228766-1.412085.40034-2.137872.512-7.684085.477957-11.186383%203.630298-11.962553%2011.334808-.49566%204.918468-.454809%209.891405-.795234%2014.827575-.142979%205.419574-.635915%2010.82417-1.476086%2016.179745-1.960851%209.703489-8.019063%2014.54434-18.028936%2015.135319-3.221787.190638-6.466723.029957-9.940425.029957v-14.025532c1.869617-.115744%203.52-.275064%205.174468-.314553%205.980596-.142979%208.095319-2.071149%208.388085-8.010894.324085-6.525276.465702-13.058723.757106-19.585361.42349-9.433873%203.006639-17.861447%2011.795064-23.745362-5.028766-3.585362-9.066213-7.92783-10.112-13.783149-1.265021-7.097191-1.673532-14.3509787-2.354383-21.5475744-.33634-3.597617-.32-7.2265532-.671319-10.8214468-.378553-3.8808511-3.044766-5.2234894-6.577021-5.3106383-2.02349-.0490213-4.055149-.0095319-6.642383-.0095319v-13.696c16.509276-2.7411064%2027.913532%202.752%2028.972936%2018.5477446.443915%206.6328511.378553%2013.2970213.803404%2019.9298728.186553%203.60851.725787%207.189787%201.612255%2010.692085z'%20fill='%23fff'/%3e%3c/svg%3e",O6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG5ElEQVR42u2dX4jUVRTH787Mzm5l/yiIwictVgS3ohcfQiVyE/9kQRFmDyZUkNhDURTqQ+FbZGhqICmpvSz9QQtTMgkW/PtSEvWQBfrSPzAr13Vnd2fsXPYe9nj39/M3OzMx957f98KX329mZ4ad+5lz7v3dc879GTO5FbzH80mbSCdIf5FqpCtQW2T7/gLppGOyIIPdpFYU54tIp9Cpwes4qS+F4VWtJF6wTXzAKKnijrDeMKxYMuHntwkLLqZZbhfpkHuD/YBhdGjwsoxG3PlhUtmHLP32PvfCi6QqOi8qq77kzg/4Y3KHe7DevWDQeyM6MB5ddseNjilbs5ntjbnorHgtmc975Rj8oXtyCJYbvcbcsZ/hThdgMe7qsWI7j5phAa8Ws2Z0kC43vcYC3gnA6gAz5L0W8FFMrtSJh9pjFvDP3uAM6XHTlq05iwmWWsDnAFg34LMADMAQAEMADAEwBMAQACev6lRcrHTIHYeVL+zkAvCYA1rNCJBXADjezAbWv6SfSKdJP5D+SHh9DYDjg/spaSVpDukO0s2k20j3kBaTtpD+ca8dUeS2VQKuiSzQ70kPmfra3aTPvJRUAA7wC/FY+iXpJi8luDNBJQ/02wlpLwAcUG6wPQ6QukVGYVFkjZqUMp2yeLxVdFAVgMMQW+6fpB4H6joztdYlzo8rsGI1gKvi/17nAHVmWG1au8Ed+xS4ajWA2Xp/I810gLpNY60gfhgDok9qANw+cU3Ovnqq6+po7NrXRV7doQKwtK6NTbpnH/CShAQ2AG5TBr/V2oTJUiON3/+A8A4AHADgF5ocf33Ac8SKGAAHAPjlFlvwXPH5ANzGL8H/8xYxwWrFGLwCY3BYl0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bGheWajm5COca7CkjoOuUuX9UbwU2YTt07IkASQJrW0sTdzAwV5qXOxXwc7rgYq3NHi0hOYSUF7Si74bUMkzTlHedLeq+1jIXthtA/hBVltoC8d6Op1+0kCXAz4ZEOaEtAlrlXgjv7+o/QiGCmntwW6zhFfHT2x5G+VxoA/1gPOeZ73jj1/PndVopf6Pvflzej336v35yecXbD7o/O1kBaAvVZe64TtZyRlSqYLSrkmXy709Kej9PBmSFWkSV2H+DyyQ+axcpVrZAAAAAElFTkSuQmCC",B6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAIAAAC2BqGFAAAACXBIWXMAACE4AAAhOAFFljFgAAAHGUlEQVR42u2cW2wNWxjHN1rtbiXud1td69pWEGkiHjxIiBcqrhGJB4+ePJCQiKBRgod6aCWSulX1uCVCvKDauJ4iSDy4Bm3qEkIoysH5Z/9jZcyemb2nu86xp//fw8p0Zs2sWf/9rW9935qZhkJCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBAiaGRkZGRlZYV/BXvS09MlTlsycODAYcOGDRkyZKgF7OnTpw+OdujQQRK1AdnZ2R5He/ToIa2Tgtp1794d5YkTJ27dunX16tX6+vq/o1y7du327du7d+/GUVi6tE5W6P79+6NsaGj44cSVK1dwdPz48RI6WaH79euH8v79+5D169ev336CbeypqanB0bFjx0rothH64cOHkBX6Glvmdm1tLY6OGzdOQktoCf3HdjsR2rCtjh07+hIa9X/HzfzRZtiGp/fq1Suu0GPGjPkdN/M/CJeWloZYFZkY8zE3IpFIt27dkmkuMzMTyg4ePJgXzMnJobW6CV1XV4ejhYWF5hTe5PDhw1MvaUTnfdVHV9m9BDtpquG3pKOI5d69e45Cnz171uPKTHZSg549e6KcPHnygQMHjh49Wl1d/ZcLOLRjxw6YEurDpvz6ilGjRnFj/vz5paWlhw8f5mWPHDlSWVn56tUryPr9+3cjNLdh6Xv37j127JjtTpBJrl+/Hlfr27dvahg1hUPnrZ304PXr18XFxb60traC3Prz58+OV469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ahxfkhA+SDWK+vKo/SRV4dOEaarHv+APh8PhcDj8ezj8Hd8AxYE9wZItsP4AAAAASUVORK5CYII=";function j6({matches:n,...t}){const e=n[0],r=new URL(e).searchParams,i="Draw.io",o=r.get("title")?`${i} (${r.get("title")})`:i;return A.jsx(Ll,{...t,src:t.attrs.href,icon:A.jsx(L.Image,{src:oI,alt:"Diagrams.net",width:16,height:16}),canonicalUrl:t.attrs.href,title:o})}function z6(n){return n.endsWith(".pibb")?n:`${n}.pibb`}function U6(n){const t=z6(n.attrs.href);return A.jsx(Ll,{...n,src:t,canonicalUrl:t,width:"100%",title:"GitHub Gist"})}function K6({matches:n,...t}){let e="";try{e=new URL(n[0]).pathname}catch{e=""}const r=e.replace(/^\/embed/,"/");let i;return r.includes("episode")||r.includes("show")?i=232:r.includes("track")?i=80:i=380,A.jsx(Ll,{...t,disableOutline:!0,width:"100%",height:`${i}px`,src:`https://open.spotify.com/embed${r}`,title:"Spotify Embed",allow:"encrypted-media"})}function W6({matches:n,...t}){const e=n[2];return n[1]==="c"?A.jsx(Ll,{...t,width:"316px",height:"141px",src:`https://trello.com/embed/card?id=${e}`,title:`Trello Card (${e})`}):A.jsx(Ll,{...t,width:"248px",height:"185px",src:`https://trello.com/embed/board?id=${e}`,title:`Trello Board (${e})`})}function H6({matches:n,...t}){const e=n[4],r=n[5],i=`https://player.vimeo.com/video/${e}?byline=0${r?`&h=${r}`:""}`;return A.jsx(Ll,{...t,src:i,canonicalUrl:i,title:`Vimeo Embed (${e})`,height:"412px",referrerPolicy:"origin"})}const Y6={github:"GitHub Gist",figma:"Figma",vimeo:"Vimeo Embed"},hc=[{parentKey:"integrations",platform:"spotify",keywords:["spotify"],key:"spotify",hide:!1,regexMatches:[/(?:https?:\/\/)?(?:open\.)?spotify\.com\/(?:embed\/)?(track|album|playlist|show|episode)\/([a-zA-Z0-9]+)/],icon:A.jsx(_t,{className:"integration-icon",src:D6}),name:"Spotify",component:K6},{parentKey:"integrations",platform:"figma",keywords:["figma","design"],key:"figma",hide:!1,regexMatches:[new RegExp("^https://([w.-]+\\.)?figma\\.com/(file|proto|board|design)/([0-9a-zA-Z]{22,128})(?:/.*)?$"),new RegExp("^https://([w.-]+\\.)?figma\\.com/embed(.*)$")],transformMatch:n=>n[0].includes("/embed")?n[0]:`https://www.figma.com/embed?embed_host=outline&url=${encodeURIComponent(n[0])}`,icon:A.jsx(_t,{className:"integration-icon",src:p6}),name:"Figma",getIframeUrl:n=>`https://www.figma.com/embed?embed_host=share&url=${n}`},{parentKey:"integrations",platform:"airtable",keywords:["spreadsheet"],key:"airtable",hide:!1,regexMatches:[new RegExp("^https://airtable.com/(?:embed/)?(app.*/)?(shr.*)$"),new RegExp("^https://airtable.com/(app.*/)?(pag.*)/form$")],icon:A.jsx(_t,{className:"integration-icon",src:d6}),name:"Airtable",transformMatch:n=>`https://airtable.com/embed/${n[1]??""}${n[2]}`,getIframeUrl:n=>`https://airtable.com/embed/${n}`},{parentKey:"integrations",platform:"codepen",keywords:["code","editor"],key:"codepen",hide:!1,regexMatches:[/^https:\/\/codepen\.io\/(.*?)\/(pen|embed)\/(.*)$/],icon:A.jsx(_t,{className:"integration-icon",src:f6}),name:"Codepen",transformMatch:n=>`https://codepen.io/${n[1]}/embed/${n[3]}`,getIframeUrl:n=>`https://codepen.io/${n}/embed/`},{parentKey:"integrations",platform:"dbdiagram",keywords:["diagrams","database"],key:"dbdiagram",hide:!1,regexMatches:[/^https:\/\/dbdiagram\.io\/(embed|e|d)\/(\w+)(\/.*)?$/],icon:A.jsx(_t,{className:"integration-icon",src:h6}),name:"DBDiagram",transformMatch:n=>`https://dbdiagram.io/embed/${n[2]}`,getIframeUrl:n=>`https://dbdiagram.io/embed/${n}`},{parentKey:"integrations",platform:"diagrams",keywords:["diagrams","drawio"],key:"diagrams",hide:!1,regexMatches:[/^https:\/\/viewer\.diagrams\.net\/(?!proxy).*(title=\\w+)?/],icon:A.jsx(_t,{className:"integration-icon",src:oI}),name:"Diagrams.net",component:j6},{parentKey:"integrations",platform:"descript",keywords:["audio"],key:"descript",hide:!1,regexMatches:[/^https?:\/\/share\.descript\.com\/view\/(\w+)$/],icon:A.jsx(_t,{className:"integration-icon",src:g6}),name:"Descript",transformMatch:n=>`https://share.descript.com/embed/${n[1]}`,getIframeUrl:n=>`https://share.descript.com/embed/${n}`},{parentKey:"integrations",platform:"github",keywords:["code"],key:"gist",hide:!1,regexMatches:[/^https:\/\/gist\.github\.com\/([a-zA-Z\d](?:[a-zA-Z\d]|-(?=[a-zA-Z\d])){0,38})\/(.*)$/],icon:A.jsx(_t,{className:"integration-icon",src:m6}),name:"GitHub Gist",component:U6},{parentKey:"integrations",platform:"google-maps",keywords:["maps"],key:"google-maps",hide:!1,regexMatches:[/https?:\/\/(?!maps\.app\.goo\.gl\/2SrY88FwWBpKDkk88)(?:maps\.app\.goo\.gl\/[\w-]+|www\.google\.com\/maps\/[\S]+)/],icon:A.jsx(_t,{className:"integration-icon",src:x6}),name:"Google Maps",transformMatch:n=>n[0]},{parentKey:"integrations",platform:"google-drawings",keywords:["drawings"],key:"google-drawings",hide:!1,regexMatches:[/^https:\/\/docs\.google\.com\/drawings\/d\/(.*)\/(edit|preview)(.*)$/],icon:A.jsx(_t,{className:"integration-icon",src:b6}),name:"Google Drawings",transformMatch:n=>n[0].replace("/edit","/preview")},{parentKey:"integrations",platform:"google-drive",keywords:["drive"],key:"google-drive",hide:!1,regexMatches:[/^https?:\/\/drive\.google\.com\/file\/d\/(.*)$/],icon:A.jsx(_t,{className:"integration-icon",src:w6}),name:"Google Drive",transformMatch:n=>n[0].replace("/view","/preview").replace("/edit","/preview")},{parentKey:"integrations",platform:"google-docs",keywords:["documents","word"],key:"google-docs",hide:!1,regexMatches:[/^https?:\/\/docs\.google\.com\/document\/(.*)$/],icon:A.jsx(_t,{className:"integration-icon",src:y6}),name:"Google Docs",transformMatch:n=>n[0].replace("/view","/preview").replace("/edit","/preview")},{parentKey:"integrations",platform:"google-sheets",keywords:["excel","spreadsheet"],key:"google-sheets",hide:!1,regexMatches:[/^https?:\/\/docs\.google\.com\/spreadsheets\/d\/(.*)$/],icon:A.jsx(_t,{className:"integration-icon",src:S6}),name:"Google Sheets",transformMatch:n=>n[0].replace("/view","/preview").replace("/edit","/preview")},{parentKey:"integrations",platform:"google-slides",keywords:["presentation","slideshow"],key:"slides",hide:!1,regexMatches:[/^https?:\/\/docs\.google\.com\/presentation\/d\/(.*)$/],transformMatch:n=>n[0].replace("/edit","/preview").replace("/pub","/embed"),icon:A.jsx(_t,{className:"integration-icon",src:E6,alt:"Google Slides"}),name:"Google Slides"},{parentKey:"integrations",platform:"google-calendar",keywords:["calendar"],key:"calendar",hide:!1,regexMatches:[/^https:\/\/calendar\.google\.com\/calendar\/embed\?src=(.*)$/],transformMatch:n=>n[0],icon:A.jsx(_t,{className:"integration-icon",src:A6,alt:"Google Calendar"}),name:"Google Calendar"},{parentKey:"integrations",platform:"google-forms",keywords:["form","survey"],key:"forms",hide:!1,regexMatches:[/^https?:\/\/docs\.google\.com\/forms\/d\/(.+)$/],transformMatch:n=>n[0].replace(/\/(edit|viewform)(\?.+)?$/,"/viewform?embedded=true"),icon:A.jsx(_t,{className:"integration-icon",src:C6,alt:"Google Forms"}),name:"Google Forms"},{parentKey:"integrations",platform:"google-business",keywords:["bi","business intelligence"],key:"lookerstudio",hide:!1,regexMatches:[/^https?:\/\/(lookerstudio|datastudio)\.google\.com\/(embed|u\/0)\/reporting\/(.*)\/page\/(.*)(\/edit)?$/],transformMatch:n=>n[0].replace("u/0","embed").replace("/edit",""),icon:A.jsx(_t,{className:"integration-icon",src:v6,alt:"Google Looker Studio"}),name:"Google Looker Studio"},{parentKey:"integrations",platform:"grist",keywords:["spreadsheet"],key:"grist",hide:!1,regexMatches:[/^https?:\/\/([a-z.-]+\.)?getgrist\.com\/(.+)$/],transformMatch:n=>{const t=n.input??n[0];return t.includes("style=singlePage")?t:t.replace(/(\?embed=true)?$/,"?embed=true")},icon:A.jsx(_t,{className:"integration-icon",src:k6,alt:"Grist"}),name:"Grist"},{parentKey:"integrations",platform:"instagram",keywords:["post"],key:"instagram",hide:!1,regexMatches:[/^https?:\/\/www\.instagram\.com\/(p|reel)\/([\w-]+)(\/?utm_source=\w+)?/],transformMatch:n=>`${n[0]}/embed`,icon:A.jsx(_t,{className:"integration-icon",src:T6,alt:"Instagram"}),name:"Instagram"},{parentKey:"integrations",platform:"loom",keywords:["video","screencast"],key:"loom",hide:!1,regexMatches:[/^https:\/\/(www\.)?(use)?loom\.com\/(embed|share)\/(.*)$/],transformMatch:n=>n[0].replace("share","embed"),icon:A.jsx(_t,{className:"integration-icon",src:_6,alt:"Loom"}),name:"Loom"},{parentKey:"integrations",platform:"lucidchart",keywords:["chart"],key:"lucidchart",hide:!1,regexMatches:[/^https?:\/\/(www\.|app\.)?(lucidchart\.com|lucid\.app)\/documents\/(embeddedchart|view|edit)\/(?<chartId>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})(?:.*)?$/,/^https?:\/\/(www\.|app\.)?(lucid\.app|lucidchart\.com)\/lucidchart\/(?<chartId>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})\/(embeddedchart|view|edit)(?:.*)?$/],transformMatch:n=>{var t;return`https://lucidchart.com/documents/embeddedchart/${(t=n.groups)==null?void 0:t.chartId}`},icon:A.jsx(_t,{className:"integration-icon",src:N6,alt:"Lucidchart"}),name:"Lucidchart"},{parentKey:"integrations",platform:"miro",keywords:["whiteboard"],key:"miro",hide:!1,regexMatches:[/^https:\/\/(realtimeboard|miro)\.com\/app\/board\/(.*)$/],transformMatch:n=>`https://${n[1]}.com/app/embed/${n[2]}`,icon:A.jsx(_t,{className:"integration-icon",src:I6,alt:"Miro"}),name:"Miro"},{parentKey:"integrations",platform:"scribe",keywords:["screencast"],key:"scribe",hide:!1,regexMatches:[/^https?:\/\/scribehow\.com\/shared\/(.*)$/],transformMatch:n=>`https://scribehow.com/embed/${n[1]}`,icon:A.jsx(_t,{className:"integration-icon",src:M6,alt:"Scribe"}),name:"Scribe"},{parentKey:"integrations",platform:"swagger",keywords:["swagger","api"],key:"swagger",hide:!0,regexMatches:[/^https?:\/\/([a-z.-]+\.)?getgrist\.com\/(.+)$/],transformMatch:n=>n.input??n[0],icon:A.jsx(_t,{className:"integration-icon",src:L6,alt:"Swagger"}),name:"Swagger"},{parentKey:"integrations",platform:"tldraw",keywords:["draw","schematics","diagrams"],key:"tldraw",hide:!1,regexMatches:[/^https?:\/\/(beta|www|old)\.tldraw\.com\/[rsvo]+\/(.*)$/],transformMatch:n=>n[0],icon:A.jsx(_t,{className:"integration-icon",src:O6,alt:"Tldraw"}),name:"Tldraw"},{parentKey:"integrations",platform:"trello",keywords:["kanban"],key:"trello",hide:!1,regexMatches:[/^https:\/\/trello\.com\/(c|b)\/([^/]*)(.*)?$/],icon:A.jsx(_t,{className:"integration-icon",src:R6,alt:"Trello"}),component:W6,name:"Trello"},{parentKey:"integrations",platform:"typeform",keywords:["form","survey"],key:"typeform",hide:!1,regexMatches:[/^https:\/\/([A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)\.typeform\.com\/to\/(.*)$/],transformMatch:n=>n[0],icon:A.jsx(_t,{className:"integration-icon",src:P6,alt:"Typeform"}),name:"Typeform"},{parentKey:"integrations",platform:"valtown",keywords:["code"],key:"valtown",hide:!1,regexMatches:[/^https?:\/\/(?:www.)?val\.town\/(?:v|embed)\/(.*)$/],transformMatch:n=>`https://www.val.town/embed/${n[1]}`,icon:A.jsx(_t,{className:"integration-icon",src:B6,alt:"Valtown"}),name:"Valtown"},{parentKey:"integrations",platform:"vimeo",keywords:["video"],key:"vimeo",hide:!1,regexMatches:[/(http|https)?:\/\/(www\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|)(\d+)(?:\/|\?)?([\d\w]+)?/],icon:A.jsx(_t,{className:"integration-icon",src:F6,alt:"Vimeo"}),name:"Vimeo",component:H6}];function _t({w:n=34,h:t=34,...e}){return A.jsx(L.Image,{w:n,h:t,...e})}const ny=(n,t=[])=>{const e=t??[];for(const r of e){const i=n.match(r);if(i)return i}return!1};function Z6(n){for(const t of hc){const e=ny(n,t.regexMatches);if(e)return{embed:t,matches:e}}}function G6(n){var r;let t=null;const e=hc.find(i=>i.regexMatches.some(o=>{var s;return t=n.match(o),t?{platform:i.platform,id:((s=i==null?void 0:i.transformMatch)==null?void 0:s.call(i,t))||"valid"}:{platform:"unknown",id:null}}));return e?{platform:e.platform,id:t?((r=e.transformMatch)==null?void 0:r.call(e,t))||"valid":null}:{platform:"unknown",id:null}}function J6(n,t){var r;const e=hc.find(i=>i.platform===n);return e?((r=e==null?void 0:e.getIframeUrl)==null?void 0:r.call(e,t))||"valid":""}const Q6=({height:n,width:t,id:e,platform:r,src:i})=>{const o=Y6[r]||r,l=`${parseInt(n,10)-24}px`;return A.jsxs("span",{className:"frame-container",style:{width:t,height:n},children:[A.jsx("iframe",{"data-lexical-embedid":e,"data-lexical-platform":r,src:i,style:{margin:0},width:"100%","data-exportheight":n,"data-exportwidth":t,height:l,allowFullScreen:!0,frameBorder:"0"}),A.jsx("span",{className:"frame-bar","data-title":o,children:A.jsx("a",{className:"frame-open-link",href:i,target:"_blank",rel:"noopener noreferrer"})})]})};function V6({className:n,format:t,platform:e,embedId:r,width:i,editor:o,nodeKey:s,create:l}){const[c,u]=E.useState(r||""),[d,h]=E.useState(!1),[g,p]=E.useState(l||!1),{t:m}=pt.useTranslation(),y=E.useMemo(()=>hc.find(T=>T.platform===e),[e]);E.useEffect(()=>{const T=document.documentElement;Dl(g,T)},[g]);const w=E.useMemo(()=>Z6(c),[c]),v=T=>{o.update(()=>{const k=ve(s);return Dm(k)&&k.setMinHeight(T),!0})},C=T=>{const k=ve(s),M=ny(c,(w==null?void 0:w.embed.regexMatches)||[]);if(Dm(k)&&M){const I=c.includes("maps");if(T&&!I){k.setSrc(T);return}k.setPlatform(w==null?void 0:w.embed.platform),k.setId(c),I?k.setSrc(iI(c)):w!=null&&w.embed.transformMatch?k.setSrc(w==null?void 0:w.embed.transformMatch(w==null?void 0:w.matches)):k.setSrc(c)}},x=(T,k)=>{o.update(()=>{Ve(null);const M=ve(s);return Dm(M)&&M.setWidthAndHeight(T,k),!0})},_=T=>{if(T.preventDefault(),!ny(c,(w==null?void 0:w.embed.regexMatches)||[])&&!(w!=null&&w.embed.platform)){h(!0);return}o.update(()=>{const M=ve(s);if(!M)return;C(),p(!1);const I=M.getNextSibling();I&&Ve(I.selectNext())}),h(!1)},N=()=>{if(w!=null&&w.embed.transformMatch){const T=w==null?void 0:w.embed.transformMatch(w==null?void 0:w.matches);return A.jsx(Ll,{src:T,width:"100%",height:"400px",canonicalUrl:c,title:y==null?void 0:y.name,allow:"encrypted-media",saveUrl:C,editor:o,updateMinHeight:v})}return y!=null&&y.component?y.component({saveUrl:C,attrs:{href:c},matches:w==null?void 0:w.matches,isSelected:!1,isEditable:!1,embed:y,editor:o,updateMinHeight:v}):A.jsx("div",{})};return E.useEffect(()=>{l&&p(!0)},[l]),r?w?A.jsx(gw,{editor:o,width:yh(i),isIcon:!1,isEmbed:!0,height:400,onResizeEnd:x,children:A.jsx("div",{className:"media-wrapper",children:A.jsx(kl,{className:n,format:t,nodeKey:s,children:N()})})}):null:A.jsxs(L.Popover,{width:400,position:"bottom",shadow:"md",opened:g,trapFocus:!0,onChange:T=>{p(T),T||(u(""),h(!1))},withinPortal:!0,children:[A.jsx(L.Popover.Target,{children:A.jsx(L.Flex,{w:"100%",children:A.jsx(kl,{className:n,format:t,nodeKey:s,children:A.jsx(fc,{title:m("editor.embed.addEmbed"),icon:"embed",onClick:()=>p(T=>!T),nodeKey:s})})})}),A.jsx(L.Popover.Dropdown,{children:A.jsx("form",{onSubmit:_,children:A.jsxs(L.Stack,{gap:16,children:[A.jsxs(L.Box,{children:[A.jsx(L.TextInput,{placeholder:m("editor.embed.placeholder"),type:"url","data-autofocus":!0,value:c,onChange:T=>{u(T.currentTarget.value)}}),d&&A.jsx(L.Text,{size:"xs",mt:8,color:"red",children:m("editor.validation.link")})]}),A.jsx(L.Center,{children:A.jsx(L.Button,{w:"100%",type:"submit",disabled:!c,children:m("editor.embed.insert")})})]})})})]})}function X6(n){const t=n.getAttribute("data-lexical-platform"),e=n.getAttribute("src"),r=n.getAttribute("data-lexical-embedid")||"",i=parseFloat(n.getAttribute("data-exportwidth")??"100%"),o=parseFloat(n.getAttribute("height")??"100%"),s=n.getAttribute("data-exportheight");if(t&&typeof e=="string"){const l=pw(e,i,o,r,!1,t);return l.setMinHeight(parseFloat(s)),{node:l}}return{node:null}}class gc extends Zo{constructor(e,r,i,o,s,l,c,u,d){super(i,l);F(this,"__platform");F(this,"__id");F(this,"__create");F(this,"__width");F(this,"__height");F(this,"__src");F(this,"__minHeight");this.__platform=e,this.__id=r,this.__create=c||!1,this.__width=o||560,this.__height=s||315,this.__src=u,this.__minHeight=d||400}static getType(){return"embed"}static clone(e){return new gc(e.__platform,e.__id,e.__format,e.__width,e.__height,e.__key,e.__create,e.__src,e.__minHeight)}static importJSON(e){const r=pw(e.src,e.width,e.height,e.embedId,e.create,e.platform);return r.setFormat(e.format),r}exportJSON(){return{...super.exportJSON(),type:"embed",version:1,platform:this.__platform,embedId:this.__id,width:this.__width,height:this.__height,src:this.__src}}createDOM(){const e=document.createElement("div");return e.className="editor-iframe",e}static importDOM(){return{iframe:e=>{const r=e.getAttribute("data-lexical-platform"),i=e.getAttribute("data-lexical-embedid");return r&&typeof i=="string"?{conversion:X6,priority:1}:null}}}updateDOM(){return!1}exportDOM(){if(!this.__src)return{element:null};const e=typeof this.__width=="string"&&this.__width.includes("%")?this.__width:`${this.__width}%`,r=SF.renderToString(A.jsx(Q6,{platform:this.__platform,id:this.__id,src:this.__src||"",height:(typeof this.__height=="number"?this.__height:this.__minHeight).toString()+"px",width:e})),i=document.createElement("div");return i.innerHTML=r,this.__src!==""?{element:i.firstChild}:{element:null}}decorate(e,r){const o={base:(r.theme.embedBlock||{}).base||"",focus:""};return A.jsx(V6,{editor:e,nodeKey:this.getKey(),format:this.__format,className:o,platform:this.__platform,embedId:this.__id,width:this.__width,height:this.__height,create:this.__create})}setMinHeight(e){const r=this.getWritable();r.__minHeight=e}setPlatform(e){const r=this.getWritable();r.__platform=e}setId(e){const r=this.getWritable();r.__id=e}setSrc(e){const r=this.getWritable();r.__src=e}getId(){return this.__id}setCreated(e){const r=this.getWritable();r.__create=e}getTextContent(){return J6(this.__platform,this.__id)}setWidthAndHeight(e,r){const i=this.getWritable();i.__width=e,i.__height=r}}function pw(n,t,e,r,i,o){let s=o||"unknown";if(!o){const{platform:l}=G6(n||"");s=l||"unknown"}return new gc(s,r,void 0,t,e,void 0,i,n)}function Dm(n){return n instanceof gc}const wE=E.lazy(()=>Promise.resolve().then(()=>require("./layers.BTWFEdFw.js")));function q6(n){const t=n.getAttribute("data-lexical-excalidraw-json"),e=n.firstChild.style.height||"0",r=n.firstChild.style.width||"0",i=n.style.justifyContent||"left",o=e==="inherit"?"inherit":parseInt(e,10),s=r==="inherit"?"inherit":parseInt(r,10);return t?{node:sI(t,s,o,i)}:null}class Ms extends Vi{constructor(e="[]",r="inherit",i="inherit",o="left",s){super(s);F(this,"__data");F(this,"__width");F(this,"__height");F(this,"__alignment");this.__data=e,this.__width=r,this.__height=i,this.__alignment=o}static getType(){return"excalidraw"}static clone(e){return new Ms(e.__data,e.__width,e.__height,e.__alignment,e.__key)}static importJSON(e){return new Ms(e.data,e.width??"inherit",e.height??"inherit",e.alignment??"left")}exportJSON(){return{data:this.__data,height:this.__height==="inherit"?void 0:this.__height,type:"excalidraw",version:1,width:this.__width==="inherit"?void 0:this.__width,alignment:this.__alignment||"left"}}createDOM(e){const r=document.createElement("span"),o=e.theme.excalidraw;return o!==void 0&&(r.className=o),r}updateDOM(){return!1}static importDOM(){return{span:e=>e.className==="editor-excalidraw"?{conversion:q6,priority:2}:null}}exportDOM(e){const r=document.createElement("span"),i=document.createElement("span");r.style.display="inline-block",r.style.width="100%";const o=e.getElementByKey(this.getKey());if(o!==null){const s=o.querySelector(".excalidraw-svg");s!==null&&(i.innerHTML=s.outerHTML)}return i.style.width=this.__width==="inherit"?"inherit":`${parseInt(String(this.__width))}%`,i.style.height=this.__height==="inherit"?"inherit":`${parseInt(String(this.__height))}%`,r.setAttribute("data-lexical-excalidraw-json",this.__data),r.className="editor-excalidraw",r.style.justifyContent=this.__alignment,r.style.display="flex",r.appendChild(i),{element:r}}setData(e){const r=this.getWritable();r.__data=e}getWidth(){return this.getLatest().__width}setWidth(e){const r=this.getWritable();r.__width=e}getHeight(){return this.getLatest().__height}setHeight(e){const r=this.getWritable();r.__height=e}setWidthAndHeight(e,r){const i=this.getWritable();i.__width=e,i.__height=r}setAlignment(e){const r=this.getWritable();r.__alignment=e}isInline(){return!1}decorate(){return wE?A.jsx(E.Suspense,{fallback:null,children:A.jsx(wE,{nodeKey:this.getKey(),data:this.__data,width:this.__width,height:this.__height,alignment:this.__alignment})}):A.jsx("div",{})}}function sI(n="[]",t="inherit",e="inherit",r="left"){return new Ms(n,t,e,r)}function $6(n){return n instanceof Ms}const lI=[{name:"alert",color:"rgb(250, 82, 82)",icon:A.jsx(ee.IconExclamationCircle,{size:16}),emoji:"❗"},{name:"success",color:"rgb(18, 184, 134)",icon:A.jsx(ee.IconCheck,{size:16}),emoji:"✅"},{name:"warning",color:"rgb(242, 188, 57)",icon:A.jsx(ee.IconAlertTriangle,{size:16}),emoji:"⚠️"}],aI=n=>n.mode==="callout",mw="calc(50% - 25px) calc(50% - 25px)";function zt(n){const t=J();if(Y(t)){const r=t.anchor.getNode();if(r!==null){const i=r.getParent();return n?i:r}}return null}function eH(n){n.update(()=>{const t=J();if(Y(t)){const e=t.getNodes();let r=null,i=null;if(e.forEach((o,s)=>{s===0&&(r=o.getParent()),s===e.length-1&&(i=o.getParent())}),r&&i){const o=J();Y(o)&&(r.isAttached()&&i.isAttached()?Wn(r)&&Wn(i)?o.setTextNodeRange(r,0,i,i.getTextContentSize()):(o.anchor.set(r.getKey(),0,"element"),o.focus.set(i.getKey(),i.getChildrenSize(),"element")):console.error("Error: One of the nodes is not attached."))}}})}const Aw=(n,t)=>{n.update(()=>{if(typeof t=="string"){const e=ve(t);e&&e.remove();return}t&&t.remove()})};function tH(n,t){t.update(()=>{let e=zo();n.getParent()&&(e.anchor.set(n.getKey(),0,"element"),e.focus.set(n.getKey(),0,"element"),Ve(e))})}function nH(){const n=J();if(Y(n)){const t=n.anchor,e=n.focus,r=e.getNode(),i=So(r)?r.__size:r.getTextContentSize(),o=t.offset===0,s=e.offset===i;if(o&&s)return!0}return!1}function iu(n,t){const e=yA(n),r=[[n,e]];let i;for(;(i=r.length)>0;)for(let o=0;o<i;o++){const s=r.shift();if(s!==void 0){const[l,c]=s;if(G(l)&&G(c)){const u=l.getChildren();for(const d of u){if(t&&d.is(t))continue;const h=yA(d);Wn(d)&&Wn(h)&&(h.setFormat(d.__format),h.setStyle(d.__style)),c.append(h),r.push([d,h])}}}}return e}function rH(n,t,e=3){if(!n)return null;let r=n,i=0;for(;r&&i<e;){if(t(r))return r;if(r.__type==="root")break;r=r.getParent(),i++}return null}function Va(n,t,e){var i;const r=e||{root:!0};if(n){let o=n.getParent();if(r[o==null?void 0:o.__type]){const s=t.getElementByKey(n.__key),l=rH(o,bg);if(l&&(l.getFirstChild()===n.getTopLevelElement()||l.getFirstChild()===((i=n.getTopLevelElement())==null?void 0:i.getParent()))){const u=l.getParent(),d=u?t.getElementByKey(u.__key):null;if(d)return{htmlElement:d,lexicalNode:Fe(d)}}return{htmlElement:s,lexicalNode:n}}return Va(o,t,r)}return{htmlElement:null,lexicalNode:null}}function CE(n,t,e,r){var i;if(n)if((n==null?void 0:n.__type)==="root"||(n==null?void 0:n.__type)==="layout-item"||(n==null?void 0:n.__type)==="callout-wrapper"||(n==null?void 0:n.__type)==="collapsible-content"){const o=(r==null?void 0:r.clientY)||0,{left:s}=((i=t.getElementByKey(n.__key))==null?void 0:i.getBoundingClientRect())||{left:0},{paddingLeft:l}=window.getComputedStyle(r==null?void 0:r.target),c=document.elementFromPoint(s+parseFloat(l)+10,o),u=Fe(c||document.body);return u?Va(u,t,e):{htmlElement:null,lexicalNode:null}}else return Va(n,t,e);return{htmlElement:null,lexicalNode:null}}const bh=n=>{n.update(()=>{J()!==null&&Ve(null)})},ry=()=>{const n=Re(),t=n==null?void 0:n.getFirstChild();return n.getChildren().length>1?!1:t&&G(t)&&t.isEmpty()&&!So(t)},cI=n=>{n.update(()=>{const t=Re(),e=Ee(),r=J();Y(r)&&(r.format=0,r.setStyle("")),t.append(e).selectEnd()})},uI=(n,t,e)=>{const r=n.target;if(r&&(r instanceof HTMLElement||r instanceof SVGElement)){let i=null;const o=r.closest(t);for(const l of e)if(i=r.closest(l),i)break;return{lexicalDOMNode:o,isOutside:!(o||i)}}else return{lexicalDOMNode:null,isOutside:!0}},iH=({setIsMenuOpen:n,onCodeLanguageSelect:t,codeLanguage:e,CODE_LANGUAGE_OPTIONS:r})=>(E.useEffect(()=>()=>{document.documentElement.classList.remove("disable-scroll"),n(!1)},[]),A.jsx(L.Select,{onChange:i=>t(i),data:r.map(([i,o])=>({value:i,label:o})),searchable:!0,defaultValue:e,allowDeselect:!1,style:{width:140},className:"dropdown-select-language",checkIconPosition:"right",rightSection:A.jsx(ee.IconChevronDown,{style:{width:14,height:14,marginLeft:2}}),maxDropdownHeight:400,variant:"default",styles:{dropdown:{overflow:"auto",zIndex:1e3}}}));function oH({codeLanguage:n,CODE_LANGUAGE_OPTIONS:t,onCodeLanguageSelect:e,onCollapsibleCode:r,copyToClipboard:i,pointerEvents:o,showExpandButton:s,isCollapsed:l}){const[c,u]=E.useState(!1),{t:d}=pt.useTranslation(),h=()=>{u(g=>{const p=document.documentElement;return g?p.classList.remove("disable-scroll"):p.classList.add("disable-scroll"),!g})};return A.jsxs(L.Menu,{shadow:"md",styles:{dropdown:{overflow:"auto",zIndex:1e3}},children:[A.jsx(L.Menu.Target,{children:A.jsx(L.Button,{style:{pointerEvents:o},radius:"sm",h:25,px:5,size:"xs",variant:"default",children:A.jsx(ee.IconMenu2,{size:18})})}),A.jsxs(L.Menu.Dropdown,{children:[A.jsx(L.Menu.Item,{style:{position:"relative",padding:0},disabled:c,closeMenuOnClick:!1,onClick:h,children:A.jsx(iH,{setIsMenuOpen:u,codeLanguage:n,onCodeLanguageSelect:e,CODE_LANGUAGE_OPTIONS:t})}),A.jsx(L.Menu.Item,{rightSection:A.jsx(ee.IconCopy,{size:14}),onClick:i,children:A.jsx(L.Text,{size:"12px",children:d("editor.menu.main.code.copy")})}),s&&A.jsx(L.Menu.Item,{onClick:r,rightSection:l?A.jsx(ee.IconArrowsDiagonal,{size:14}):A.jsx(ee.IconArrowsDiagonalMinimize2,{size:14}),children:A.jsx(L.Text,{size:"12px",children:d(l?"editor.menu.main.code.collapsible.hidden":"editor.menu.main.code.collapsible.expand")})})]})]})}function dI({onClick:n,ariaLabel:t,children:e,...r}){return A.jsx(L.Button,{radius:"sm",h:25,px:5,mr:3,size:"xs",variant:"default",onClick:n,"aria-label":t,...r,children:e})}const sH={copy:ee.IconCopy,success:ee.IconCheck,loader:ee.IconCircleDashed};function lH({copyToClipboard:n,pointerEvents:t}){const[e,r]=E.useState("copy"),{t:i}=pt.useTranslation();async function o(){await n()&&(r("loader"),setTimeout(()=>{r("success"),setTimeout(()=>{r("copy")},1e3)},1e3))}const s=sH[e];return A.jsxs(dI,{style:{pointerEvents:t},onClick:o,ariaLabel:"copy",children:[A.jsx(L.Text,{mr:"4px",size:"12px",children:i("editor.menu.main.code.copy")}),A.jsx(s,{size:14})]})}function wg(n,t,e){const r=E.useRef(null);return r.current=n,E.useMemo(()=>fs.debounce((...i)=>{r.current&&r.current(...i)},t,{maxWait:e}),[t,e])}const fI={json:"JSON",...iW};function aH({anchorElem:n}){var B,U;const[t]=Me(),{t:e}=pt.useTranslation(),[r,i]=E.useState(""),[o,s]=E.useState(!1),[l,c]=E.useState(null),[u,d]=E.useState(null),[h,g]=E.useState({right:"0",top:"0"}),p=E.useRef(null),m=E.useRef(null),y=(B=_())==null?void 0:B.classList.contains("dsd__theme__callout-wrapper"),w=m.current&&((U=m.current)==null?void 0:U.offsetWidth)<=300,v=m.current&&m.current.scrollHeight>280,C=o?"auto":"none",x=N();function _(){return m.current}function N(){const j=[];for(const[K,V]of Object.entries(fI))j.push([K,V]);return j.sort(([K],[V])=>K.localeCompare(V)),j}const T=wg(j=>{const{lexicalDOMNode:K,isOutside:V}=uI(j,"code.dsd__theme__code, div.dsd__theme__callout-wrapper",["div.dropdown-select-language","div.mantine-Select-option","div.action-menu-container","div.mantine-Menu-dropdown"]);if(V){s(!1);return}if(!K)return;m.current=K;let ue=null,fe="";if(t.update(()=>{const ie=Fe(K);ie&&c(ie.__key),So(ie)?(ue=ie,fe=ue.getLanguage()||"",i(fe?PS[fe]||fe:"Выберите форматирование"),d(ue.__isCollapsed)):Bo(ie)&&(ue=ie)}),ue){const{y:ie,right:le,left:te}=n.getBoundingClientRect(),{y:H,right:W,left:Q}=K.getBoundingClientRect();s(!0),p.current&&(p.current.style.visibility="visible");const re=H-ie,ce=le-W,me=Q-te;g(()=>({right:`${ce}px`,left:`${me}px`,top:`${re}px`}))}},50,500);E.useEffect(()=>tt(t.registerMutationListener(To,j=>{t.getEditorState().read(()=>{for(const[K,V]of j)V==="destroyed"&&s(!1)})}),t.registerUpdateListener(({dirtyElements:j,dirtyLeaves:K})=>{o&&(j.size>0||K.size>0)&&t.getEditorState().read(()=>{const V=zt();(V==null?void 0:V.__type)!=="extend-code"&&(V==null?void 0:V.__type)!=="code-highlight"&&p.current&&(p.current.style.visibility="hidden")})})),[t,o]),E.useEffect(()=>(document.addEventListener("mousemove",T),()=>{s(!1),T.cancel(),document.removeEventListener("mousemove",T)}),[T]);const k=E.useCallback(()=>{d(j=>!j),t.update(()=>{if(l!==null){const j=ve(l);So(j)&&j.toggleCodeState()}})},[t,l]),M=E.useCallback(j=>{t.update(()=>{if(l!==null){const K=ve(l);if(So(K)){K.setLanguage(j),K.selectStart();const V=K.getLanguage()||"";i(V?PS[V]||V:"")}}})},[t,l]),I=j=>{t.update(()=>{const K=ve(l);Bo(K)&&t.update(()=>{const V=aI(j);K.setType(V?j.meta.type:void 0),K.setBackgroundColor(j.value),s(!1)})})};async function R(){const j=_();if(!j)return!1;let K="";t.update(()=>{const V=Fe(j);So(V)&&(K=V.getTextContent());const ue=J();Ve(ue)});try{return await navigator.clipboard.writeText(K),!0}catch(V){return console.error("Failed to copy: ",V),!1}}return y?A.jsx("div",{className:`action-menu-container callout-action ${o?"visible":""}`,ref:p,style:{right:h.right,top:h.top,pointerEvents:C},children:o&&A.jsx(jt.NewColorPicker,{data:{callout:{label:e("editor.colors.theme"),filled:!0,palette:lI.map(j=>({label:e(`editor.colors.callout.${j.name}`),value:L.alpha(j.color,.19),icon:j.icon,meta:{type:j.name,emoji:j.emoji}}))}},onChange:j=>{I(j)},modes:["callout","background"],hideInherit:!0,target:A.jsx(L.ActionIcon,{variant:"default","aria-label":"Settings",children:A.jsx(xe,{name:"palette",style:{cursor:"pointer"}})}),menuProps:{trigger:"click",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}},value:{background:"",callout:""}})}):A.jsxs("div",{className:`action-menu-container ${o?"visible":""}`,ref:p,style:{right:h.right,top:h.top,left:h.left,pointerEvents:C},children:[!w&&A.jsx(L.Select,{onChange:j=>M(j),data:x.map(([j,K])=>({value:j,label:K})),searchable:!0,value:r,allowDeselect:!1,style:{pointerEvents:C,width:140},className:"dropdown-select-language",checkIconPosition:"right",rightSection:A.jsx(ee.IconChevronDown,{style:{width:14,height:14,marginLeft:2}}),maxDropdownHeight:400,variant:"default"}),A.jsxs("div",{className:"code-action-button-container",children:[!w&&A.jsxs(A.Fragment,{children:[A.jsx(lH,{pointerEvents:C,copyToClipboard:R}),v?A.jsx(dI,{style:{pointerEvents:C},onClick:k,ariaLabel:"expand",children:u?A.jsx(L.Tooltip,{label:e("editor.menu.main.code.collapsible.hidden"),children:A.jsx(ee.IconArrowsDiagonal,{size:14})}):A.jsx(L.Tooltip,{label:e("editor.menu.main.code.collapsible.expand"),children:A.jsx(ee.IconArrowsDiagonalMinimize2,{size:14})})}):null]}),A.jsx(L.Tooltip,{label:e("editor.menu.main.code.exitCommandText"),children:A.jsx(L.Text,{truncate:"end",size:"sm",id:"exitCommandParagraph",children:"Shift + Enter"})})]}),w&&A.jsx(oH,{onCodeLanguageSelect:M,CODE_LANGUAGE_OPTIONS:x,codeLanguage:r,onCollapsibleCode:k,copyToClipboard:R,pointerEvents:C,showExpandButton:v,isCollapsed:u})]})}function cH({anchorElem:n=document.body}){return yr.createPortal(A.jsx(aH,{anchorElem:n}),(n==null?void 0:n.parentElement)||document.body)}const Lm=new Map;class Dr extends To{constructor(e=!1,r="plain",i){super(r,i);F(this,"__isCollapsed");this.__isCollapsed=e}static getType(){return"extend-code"}static clone(e){return new Dr(e.__isCollapsed,e.getLanguage(),e.__key)}static importJSON(e){const{isCollapsed:r=!0,language:i=null}=e,o=new Dr(r,i,e.key);return o.setLanguage(e.language||""),o}createDOM(e,r){const i=document.createElement("code");return i.classList.add("dsd__theme__code"),i.setAttribute("spellcheck","false"),i.setAttribute("data-language",String(this.__language)),i.setAttribute("data-highlight-language",String(this.__language)),this.__isCollapsed?(i.classList.add(e.theme.codeCollapsed),i.setAttribute("data-collapsed",String(this.__isCollapsed))):i.setAttribute("data-collapsed","false"),setTimeout(()=>{Lm.set(this.__key,i.getAttribute("data-gutter")||"")},0),i}updateDOM(e,r,i){return this.__isCollapsed!==e.__isCollapsed?(this.__isCollapsed?(r.classList.add(Ts.codeCollapsed),r.setAttribute("data-collapsed","true")):(r.classList.remove(Ts.codeCollapsed),r.setAttribute("data-collapsed","false")),!1):(setTimeout(()=>{Lm.set(this.__key,r.getAttribute("data-gutter")||"")},0),super.updateDOM(e,r,i))}exportDOM(e){var s;const r=document.createElement("pre");ct(r,e._config.theme.code,(s=e._config.theme.ltr)==null?void 0:s[0]),r.setAttribute("spellcheck","false"),r.setAttribute("data-language",String(this.__language)||"plain"),r.setAttribute("data-highlight-language",String(this.__language)||"plain");const i=fI[this.__language||"plain"]||this.__language;r.setAttribute("data-name-language",String(i)),r.setAttribute("data-collapsed",String(this.__isCollapsed)),this.__isCollapsed&&r.classList.add(e._config.theme.codeCollapsed);const o=Lm.get(this.__key);return r.setAttribute("data-gutter",o||"1"),{element:r}}static importDOM(){return{...super.importDOM(),pre:r=>{const i=r.getAttribute("data-collapsed")==="true",o=r.getAttribute("data-language")||"";return r.hasAttribute("data-collapsed")?{conversion:()=>({node:new Dr(i,o)}),priority:1}:null}}}exportJSON(){return{...super.exportJSON(),isCollapsed:this.__isCollapsed,language:this.getLanguage(),type:"extend-code",version:1}}toggleCodeState(){const e=this.getWritable();return e.__isCollapsed=!this.__isCollapsed}insertNewAfter(e,r=!0){const{anchor:i,focus:o}=e,l=(i.isBefore(o)?i:o).getNode();if(ae(l)){let c=uH(l);const u=[];for(;;)if(Un(c))u.push(Xr()),c=c.getNextSibling();else if(Jt(c)){let w=0;const v=c.getTextContent(),C=c.getTextContentSize();for(;w<C&&v[w]===" ";)w++;if(w!==0&&u.push(Lt(new Tl(" ".repeat(w)))),w!==C)break;c=c.getNextSibling()}else break;const d=l.splitText(i.offset)[0],h=i.offset===0?0:1,g=d.getIndexWithinParent()+h,p=l.getParentOrThrow(),m=[sr(),...u];p.splice(g,0,m);const y=u[u.length-1];y?y.select():i.offset===0?d.selectPrevious():d.getNextSibling().selectNext(0,0)}if(So(l)){const{offset:c}=e.anchor;l.splice(c,0,[sr()]),l.select(c+1,c+1)}return null}}function hI(n=!1){return Lt(new Dr(n))}function So(n){return n instanceof Dr}function uH(n){let t=n,e=n;for(;Jt(e)||Un(e);)t=e,e=e.getPreviousSibling();return t}function dH({className:n,format:t,editor:e,nodeKey:r,formID:i}){const o={base:"dsd__theme__embedBlock dsd__theme__embedBlock__form",focus:"dsd__theme__embedBlockFocus"};return A.jsxs(kl,{className:o,format:t,nodeKey:r,children:[A.jsx(L.Tooltip,{label:"Удалить",children:A.jsx(L.ActionIcon,{color:"gray","aria-label":"Settings",className:"image-delete-icon",variant:"default",onClick:s=>{s.stopPropagation(),e.update(()=>{if(J()){const l=ve(r);l&&l.remove()}return!1})},children:A.jsx(xe,{name:"trash"})})}),A.jsx("iframe",{width:"100%",height:"500",src:`https://dudoc.io/f/${i}`,title:"Form",style:{border:"none"}})]})}function fH(n){const t=n.getAttribute("data-form");return t?{node:yw(t)}:null}class ed extends Zo{constructor(e,r,i){super(r,i);F(this,"__id");this.__id=e}static getType(){return"form"}static clone(e){return new ed(e.__id,e.__format,e.__key)}static importJSON(e){const r=yw(e.formID);return r.setFormat(e.format),r}exportJSON(){return{...super.exportJSON(),type:"form",version:1,formID:this.__id}}exportDOM(){const e=document.createElement("iframe");return e.setAttribute("data-form",this.__id),e.setAttribute("width","100%"),e.setAttribute("height","500"),e.setAttribute("src",`https://dudoc.io/f/${this.__id}`),e.setAttribute("title","Form"),{element:e}}static importDOM(){return{iframe:e=>e.hasAttribute("data-form")?{conversion:fH,priority:1}:null}}updateDOM(){return!1}getId(){return this.__id}getTextContent(){return`https://dudoc.io/f/${this.__id}`}decorate(e,r){const i=r.theme.embedBlock||{},o={base:i.base||"",focus:i.focus||""};return A.jsx(dH,{className:o,format:this.__format,nodeKey:this.getKey(),formID:this.__id,editor:e})}}function yw(n){return new ed(n)}const hH=E.lazy(()=>Promise.resolve().then(()=>require("./layers.BsEHO1y3.js")));function gH(n){const t=n;if(t.src.startsWith("file:///"))return null;const{alt:e,src:r,width:i,height:o}=t,s=t.getAttribute("data-id"),l=t.getAttribute("height")??"inherit",c=t.getAttribute("width")??"inherit",u=r===window.location.href?"":r,d=t.style.justifyContent||"left";return{node:Cg({altText:e,height:l!=null&&l.includes("%")?l:o,src:u,width:c!=null&&c.includes("%")?c:i,id:String(s),alignment:d})}}class Go extends Vi{constructor(e,r,i,o,s,l,c,u,d,h,g,p){super(d);F(this,"__src");F(this,"__altText");F(this,"__width");F(this,"__height");F(this,"__maxWidth");F(this,"__showCaption");F(this,"__caption");F(this,"__captionsEnabled");F(this,"__id");F(this,"__create");F(this,"__alignment");this.__src=e,this.__altText=r,this.__maxWidth=Number(i),this.__width=o||"inherit",this.__height=s||"inherit",this.__showCaption=l||!1,this.__caption=c||ju(),this.__captionsEnabled=u||u===void 0,this.__id=h||"0",this.__create=g||!1,this.__alignment=p||"left"}static getType(){return"image"}static clone(e){return new Go(e.__src,e.__altText,e.__maxWidth,e.__width,e.__height,e.__showCaption,e.__caption,e.__captionsEnabled,e.__key,e.__id,e.__create,e.__alignment)}static importJSON(e){const{altText:r,height:i,width:o,maxWidth:s,caption:l,src:c,showCaption:u,alignment:d}=e,h=Cg({altText:r,height:i,maxWidth:s,showCaption:u,src:c,width:o,create:!1,alignment:d}),g=h.__caption,p=g.parseEditorState(l.editorState);return p.isEmpty()||g.setEditorState(p),h}exportDOM(){const e=document.createElement("img");e.setAttribute("src",this.__src),e.setAttribute("alt",""),e.setAttribute("data-id",this.__id),(this.__width==="auto"||typeof this.__width=="number"&&this.__width%1!==0)&&e.setAttribute("data-type","icon/image"),typeof this.__width=="number"?(e.setAttribute("width","inherit"),e.setAttribute("height","inherit")):(e.setAttribute("width",this.__width.toString()),e.setAttribute("height",this.__height.toString())),e.setAttribute("data-id",this.__id),e.style.justifyContent=this.__alignment||"left";const r=document.createElement("span");return r.className="editor-image",r.style.justifyContent=this.__alignment||"left",r.appendChild(e),{element:r}}static importDOM(){return{img:()=>({conversion:gH,priority:0})}}exportJSON(){return{altText:this.getAltText(),caption:this.__caption.toJSON(),height:this.__height==="inherit"?0:this.__height,maxWidth:this.__maxWidth,showCaption:this.__showCaption,src:this.getSrc(),type:"image",version:1,width:this.__width==="inherit"?0:this.__width,alignment:this.__alignment}}setId(e){const r=this.getWritable();r.__id=e}setSrc(e){if(this.getSrc()!==""&&e.trim()==="")return;const i=this.getWritable();i.__src=e}setAlt(e){const r=this.getWritable();r.__altText=e}setAlignment(e){const r=this.getWritable();r.__alignment=e}setWidthAndHeight(e,r){const i=this.getWritable();i.__width=e,i.__height=r}setShowCaption(e){const r=this.getWritable();r.__showCaption=e}createDOM(e){const r=document.createElement("span"),o=e.theme.image;return r.style.justifyContent=this.__alignment||"left",o!==void 0&&(r.className=o),r}updateDOM(e,r){return this.__alignment!==e.__alignment&&(r.style.display="flex",r.style.justifyContent=this.__alignment||"left"),!1}getSrc(){return this.__src}replaceBase64(e,r){const i=this.getWritable();i.__src=e,r&&(i.__id=r)}getAltText(){return this.__altText}isInline(){return!1}isKeyboardSelectable(){return!0}setCreated(e){const r=this.getWritable();r.__create=e}decorate(){return A.jsx(hH,{src:this.__src,altText:this.__altText,width:this.__width,height:this.__height,maxWidth:this.__maxWidth,nodeKey:this.getKey(),showCaption:this.__showCaption,caption:this.__caption,id:this.__id,alignment:this.__alignment||"left",create:this.__create})}}function Cg({altText:n,height:t,maxWidth:e,captionsEnabled:r,src:i,width:o,showCaption:s,caption:l,key:c,id:u,create:d,alignment:h}){return Lt(new Go(i,n,e,o,t,s,l,r,c,u,d,h))}function Xa(n){return n instanceof Go}const pH=E.lazy(()=>Promise.resolve().then(()=>require("./layers.73oiv8JP.js")));function mH(n){if(n instanceof HTMLImageElement){const{alt:t,src:e,width:r,height:i}=n;return{node:gI({altText:t,height:i,src:e,width:r})}}return null}class vg extends Vi{constructor(e,r,i,o,s,l,c,u){super(u);F(this,"__src");F(this,"__altText");F(this,"__width");F(this,"__height");F(this,"__showCaption");F(this,"__caption");F(this,"__position");this.__src=e,this.__altText=r,this.__width=o||"inherit",this.__height=s||"inherit",this.__showCaption=l||!1,this.__caption=c||ju(),this.__position=i}static getType(){return"inline-image"}static clone(e){return new vg(e.__src,e.__altText,e.__position,e.__width,e.__height,e.__showCaption,e.__caption,e.__key)}static importJSON(e){const{altText:r,height:i,width:o,caption:s,src:l,showCaption:c,position:u}=e,d=gI({altText:r,height:i,position:u,showCaption:c,src:l,width:o}),h=d.__caption,g=h.parseEditorState(s.editorState);return g.isEmpty()||h.setEditorState(g),d}static importDOM(){return{img:()=>({conversion:mH,priority:0})}}exportDOM(){const e=document.createElement("img");return e.setAttribute("src",this.__src),e.setAttribute("alt",this.__altText),e.setAttribute("width",this.__width.toString()),e.setAttribute("height",this.__height.toString()),{element:e}}exportJSON(){return{altText:this.getAltText(),caption:this.__caption.toJSON(),height:this.__height==="inherit"?0:this.__height,position:this.__position,showCaption:this.__showCaption,src:this.getSrc(),type:"inline-image",version:1,width:this.__width==="inherit"?0:this.__width}}getSrc(){return this.__src}getAltText(){return this.__altText}setAltText(e){const r=this.getWritable();r.__altText=e}setWidthAndHeight(e,r){const i=this.getWritable();i.__width=e,i.__height=r}getShowCaption(){return this.__showCaption}setShowCaption(e){const r=this.getWritable();r.__showCaption=e}getPosition(){return this.__position}setPosition(e){const r=this.getWritable();r.__position=e}update(e){const r=this.getWritable(),{altText:i,showCaption:o,position:s}=e;i!==void 0&&(r.__altText=i),o!==void 0&&(r.__showCaption=o),s!==void 0&&(r.__position=s)}createDOM(e){const r=document.createElement("span"),i=`${e.theme.inlineImage} position-${this.__position}`;return i!==void 0&&(r.className=i),r}updateDOM(e,r,i){const o=this.__position;if(o!==e.__position){const s=`${i.theme.inlineImage} position-${o}`;s!==void 0&&(r.className=s)}return!1}decorate(){return A.jsx(E.Suspense,{fallback:null,children:A.jsx(pH,{src:this.__src,altText:this.__altText,width:this.__width,height:this.__height,nodeKey:this.getKey(),showCaption:this.__showCaption,caption:this.__caption,position:this.__position})})}}function gI({altText:n,position:t,height:e,src:r,width:i,showCaption:o,caption:s,key:l}){return Lt(new vg(r,n,t,i,e,o,s,l))}function AH(n){return n instanceof vg}class xg extends Ln{static getType(){return"keyword"}static clone(t){return new xg(t.__text,t.__key)}static importJSON(t){const e=yH(t.text);return e.setFormat(t.format),e.setDetail(t.detail),e.setMode(t.mode),e.setStyle(t.style),e}exportJSON(){return{...super.exportJSON(),type:"keyword",version:1}}createDOM(t){const e=super.createDOM(t);return e.style.cursor="default",e.className="keyword",e}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}isTextEntity(){return!0}}function yH(n){return new xg(n)}function bH(n){const t=n.style.gridTemplateColumns;return t?{node:Sg(t)}:null}class ei extends At{constructor(e,r){super(r);F(this,"__templateColumns");this.__templateColumns=e}static getType(){return"layout-container"}static clone(e){return new ei(e.__templateColumns,e.__key)}createDOM(e){const r=document.createElement("div");return r.style.gridTemplateColumns=this.__templateColumns,typeof e.theme.layoutContainer=="string"&&ct(r,e.theme.layoutContainer),r}exportDOM(){const e=document.createElement("div");return e.style.gridTemplateColumns=this.__templateColumns,e.setAttribute("data-lexical-layout-container","true"),e.classList.add("dsd__theme__layoutContainer"),{element:e}}updateDOM(e,r){return e.__templateColumns!==this.__templateColumns&&(r.style.gridTemplateColumns=this.__templateColumns),!1}static importDOM(){return{div:e=>e.hasAttribute("data-lexical-layout-container")?{conversion:bH,priority:2}:null}}static importJSON(e){return Sg(e.templateColumns)}isShadowRoot(){return!0}canBeEmpty(){return!1}exportJSON(){return{...super.exportJSON(),templateColumns:this.__templateColumns,type:"layout-container",version:1}}getTemplateColumns(){return this.getLatest().__templateColumns}setTemplateColumns(e){this.getWritable().__templateColumns=e}}function Sg(n){return new ei(n)}function wh(n){return n instanceof ei}function wH(n){var e;const t=ui();return(e=n.parentElement)!=null&&e.classList.contains("dsd__theme__layoutItem")?{node:t}:null}class wi extends At{static getType(){return"layout-divider"}static clone(t){return new wi(t.__key)}createDOM(t){const e=document.createElement("div");return typeof t.theme.layoutDivider=="string"&&ct(e,t.theme.layoutDivider),e.setAttribute("contenteditable","false"),e}updateDOM(){return!1}static importDOM(){return{div:t=>t.className!=="dsd__theme__layoutDivider"?null:{conversion:wH,priority:2}}}static importJSON(){return ui()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"layout-divider",version:1}}}function ui(){return new wi}function CH(n){return n instanceof wi}function vH(n){const t=n.style.backgroundColor||"transparent";return{node:Ii(t)}}class Lr extends At{constructor(e,r){super(r);F(this,"__backgroundColor");this.__backgroundColor=e}static getType(){return"layout-item"}static clone(e){return new Lr(e.__backgroundColor,e.__key)}createDOM(e){const r=document.createElement("div");return r.style.backgroundColor=this.__backgroundColor,typeof e.theme.layoutItem=="string"&&ct(r,e.theme.layoutItem),r}exportDOM(){const e=document.createElement("div");return e.style.backgroundColor=this.__backgroundColor,e.classList.add("dsd__theme__layoutItem"),{element:e}}updateDOM(e,r){return e.__backgroundColor!==this.__backgroundColor&&(r.style.backgroundColor=this.__backgroundColor),!1}static importDOM(){return{div:e=>e.className!=="dsd__theme__layoutItem"?null:{conversion:vH,priority:2}}}static importJSON(){return Ii()}isShadowRoot(){return!1}setLayoutBackground(e){this.getWritable().__backgroundColor=e}exportJSON(){return{...super.exportJSON(),type:"layout-item",backgroundColor:this.__backgroundColor,version:1}}}function Ii(n="transparent"){return new Lr(n)}function Ri(n){return n instanceof Lr}function xH(n){const t=n.textContent;return t!==null?{node:pI(t)}:null}const SH="background-color: rgba(24, 119, 232, 0.2)";class Eg extends Ln{constructor(e,r,i){super(r??e,i);F(this,"__mention");this.__mention=e}static getType(){return"mention"}static clone(e){return new Eg(e.__mention,e.__text,e.__key)}static importJSON(e){const r=pI(e.mentionName);return r.setTextContent(e.text),r.setFormat(e.format),r.setDetail(e.detail),r.setMode(e.mode),r.setStyle(e.style),r}exportJSON(){return{...super.exportJSON(),mentionName:this.__mention,type:"mention",version:1}}createDOM(e){const r=super.createDOM(e);return r.style.cssText=SH,r.className="mention",r}exportDOM(){const e=document.createElement("span");return e.setAttribute("data-lexical-mention","true"),e.textContent=this.__text,{element:e}}static importDOM(){return{span:e=>e.hasAttribute("data-lexical-mention")?{conversion:xH,priority:1}:null}}isTextEntity(){return!0}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function pI(n){const t=new Eg(n);return t.setMode("segmented").toggleDirectionless(),Lt(t)}const iy=we("INSERT_MUSIC_COMMAND"),mI=we("UPLOAD_MUSIC_COMMAND");function EH(){const[n]=Me(),{t}=pt.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=E.useContext(Ot);return E.useEffect(()=>{if(!n.hasNodes([pc]))throw new Error("MusicPlugin: MusicNode not registered on editor");const i=o=>{const s=o.filter(l=>l.type.includes("Music/"));if(o.length>1){jt.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(s[0].size>r*1024*1024){jt.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(iy,"upload"),setTimeout(()=>{n.dispatchCommand(mI,o)})};return e!=null&&e.current&&(e.current.insertMusics=i),n.registerCommand(iy,o=>{const l=bw(o==="upload"?"":o,o!=="upload");return kg(l),!1},Ne)},[n]),null}function kH({className:n,format:t,src:e,editor:r,nodeKey:i,create:o}){const{t:s}=pt.useTranslation(),{t:l}=pt.useTranslation("ui"),[c,u]=E.useState(!1),[d,h]=E.useState(!1),{start:g,cancel:p}=og(),[m,y]=E.useState(0),{fetchUploadMedia:w,maxFileSize:v}=E.useContext(Ot);E.useEffect(()=>{o&&h(!0)},[o]),E.useEffect(()=>{const N=document.documentElement;Dl(d,N)},[d]);const C=E.useMemo(()=>[{key:"link",enabled:!0},{key:"upload",enabled:!0}].filter(T=>T.enabled).map(T=>T.key),[]);E.useEffect(()=>r.registerCommand(mI,N=>!1,Ne),[]);const x=N=>{r.update(()=>{const T=ve(i);if(!T)return;Ch(T)&&(h(!1),T.setSrc(N));const k=T.getNextSibling();k&&Ve(k.selectNext())})},_=N=>{r.update(()=>{u(!0),h(!1);const T=g();w&&w(N[0],(k,M,I)=>{const{originalFileName:R}=I,B=new URLSearchParams({originalFileName:R}),U=`${k}?${B.toString()}`;x(U),y(0),u(!1)},()=>{y(0),u(!1)},T,k=>{y(k)})})};return e?A.jsx("audio",{src:e,controls:!0}):A.jsx(jt.FilePicker,{showTabs:C,uploading:!1,type:"audio",dropZoneProps:{multiple:!1,maxSize:v*1024*1024,accept:{"audio/*":[]}},onUpload:_,onChange:N=>{x(N)},popoverProps:{opened:d,position:"bottom",onChange:h},locales:{gallery:l("changeCover.gallery"),link:l("changeCover.link"),search:l("changeCover.searchImage"),upload:l("changeCover.upload"),uploadFile:l("changeCover.uploadFile"),change:l("changeCover.change"),remove:l("dropZone.remove"),error:l("dropZone.error"),dragOrClickToChoose:l("changeCover.dragOrClickToChoose"),maxFileSize:l("changeCover.maxFileSize",{maxSize:v}),pasteLink:l("changeCover.pasteFileLink"),submitLink:l("changeCover.submitLink"),worksWithAnyImage:l("changeCover.worksWithAnyFile"),noImages:l("changeCover.noResult"),errors:{typeIsNotAllowed:l("dropZone.errors.typeIsNotAllowed"),shouldNotExceed:l("dropZone.errors.shouldNotExceed",{maxSize:v}),doNotUploadMoreThanSingleFile:l("dropZone.errors.doNotUploadMoreThanSingleFile"),invalidLink:l("changeCover.invalidLink")}},children:A.jsx(L.Flex,{w:"100%",children:A.jsx(kl,{className:n,format:t,nodeKey:i,children:A.jsx(fc,{isLoading:c,title:s("editor.audio.add_audio"),icon:"music",onClick:()=>h(N=>!N),nodeKey:i,progress:m,onAfterCancel:()=>{p(),u(!1)}})})})})}function TH(n){const t=n.getAttribute("data-src");return{node:bw(t||"")}}class pc extends Zo{constructor(e,r,i,o){super(r,i);F(this,"__src");F(this,"__create");this.__src=e,this.__create=o||!1}static getType(){return"music"}static clone(e){return new pc(e.__src,e.__format,e.__key,e.__create)}static importJSON(e){const r=bw(e.src);return r.setFormat(e.format),r}exportJSON(){return{...super.exportJSON(),type:"music",version:1,src:this.__src}}static importDOM(){return{span:e=>e.classList.contains("audio-container")?{conversion:TH,priority:1}:null}}createDOM(){const e=document.createElement("div");return e.className="audio-container",e}updateDOM(e,r){return!1}exportDOM(){const e=document.createElement("span"),r=document.createElement("audio");return e.className="audio-container",r.setAttribute("controls","true"),r.setAttribute("src",this.__src),e.setAttribute("data-src",this.__src),e.appendChild(r),{element:e}}decorate(e,r){const o={base:(r.theme.embedBlock||{}).base||"",focus:""};return A.jsx(kH,{editor:e,nodeKey:this.getKey(),format:this.__format,className:o,src:this.__src,create:this.__create})}setSrc(e){const r=this.getWritable();r.__src=e}setCreated(e){const r=this.getWritable();r.__create=e}}function bw(n,t){return new pc(n,void 0,void 0,t)}function Ch(n){return n instanceof pc}function _H({nodeKey:n}){const[t]=Me(),[e,r,i]=ig(n),o=E.useCallback(s=>{if(s.preventDefault(),e&&Vt(J())){const l=ve(n);if(IH(l))return l.remove(),!0}return!1},[e,n]);return E.useEffect(()=>tt(t.registerCommand(jo,s=>{const l=t.getElementByKey(n);return s.target===l?(s.shiftKey||i(),r(!e),!0):!1},Ne),t.registerCommand(tc,o,Ne),t.registerCommand(Bl,o,Ne)),[i,t,e,n,o,r]),E.useEffect(()=>{const s=t.getElementByKey(n);s!==null&&(s.className=e?"selected":"")},[t,e,n]),null}class td extends Vi{static getType(){return"page-break"}static clone(t){return new td(t.__key)}static importJSON(){return AI()}static importDOM(){return{figure:t=>t.getAttribute("type")!==this.getType()?null:{conversion:NH,priority:bo}}}exportJSON(){return{type:this.getType(),version:1}}createDOM(){const t=document.createElement("figure");return t.style.pageBreakAfter="always",t.setAttribute("type",this.getType()),t}getTextContent(){return`
43
- `}isInline(){return!1}updateDOM(){return!1}decorate(){return A.jsx(_H,{nodeKey:this.__key})}}function NH(){return{node:AI()}}function AI(){return new td}function IH(n){return n instanceof td}function MH(n){const t=n.getAttribute("data-src"),e=n.getAttribute("data-json");return{node:ww(t||"",e||"",!1)}}class nd extends Zo{constructor(e,r,i,o,s){super(o,s);F(this,"__src");F(this,"__json");F(this,"__create");this.__src=e,this.__json=r,this.__create=i}static getType(){return"swagger"}static clone(e){return new nd(e.__src,e.__json,!1,e.__format,e.__key)}static importJSON(e){const r=ww(e.src,e.json);return r.setFormat(e.format),r}exportJSON(){return{...super.exportJSON(),src:this.__src,json:this.__json,create:this.__create,type:"swagger",version:1}}createDOM(){const e=document.createElement("span");return e.className="editor-swagger",e}setSrc(e){const r=this.getWritable();r.__src=e}setJSON(e){const r=this.getWritable();r.__json=e}updateDOM(){return!1}getSrc(){return this.__src}getJSON(){return this.__json}exportDOM(){const e=document.createElement("span");return e.classList.add("editor-swagger"),e.setAttribute("data-src",this.getSrc()),e.setAttribute("data-json",this.getJSON()),{element:e}}static importDOM(){return{span:e=>e.classList.contains("editor-swagger")?{conversion:MH,priority:1}:null}}decorate(e,r){return(r.theme.embedBlock||{}).base,A.jsx("div",{})}}function ww(n,t,e){return new nd(n,t,e)}function yI(n,t=!1){const e=n.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/);if(e&&e[2].length===11)return{platform:"youtube",id:e[2]};const r=n.match(/vk\.com\/video(?:_ext\.php\?oid=-?(\d+)&id=(\d+)|-(\d+)_(\d+))/);if(r){const s=r[1]||r[3],l=r[2]||r[4];return{platform:"vk",id:`${s}-${l}`}}const i=n.match(/rutube\.ru\/(?:play\/embed|video)\/([a-zA-Z0-9]+)/);if(i)return{platform:"rutube",id:i[1]};if(n==="upload")return{platform:"upload",id:null};if(t)return{platform:"link",id:n};const o=n.split("/").pop();return o?{platform:"download",id:o}:{platform:"unknown",id:null}}function _u(n,t){let e="";switch(n){case"youtube":e=`https://www.youtube-nocookie.com/embed/${t}`;break;case"download":e=`${t}`;break;case"vk":const r=t.split("-");e=`https://vk.com/video_ext.php?oid=-${r[0]}&id=${r[1]}`;break;case"link":e=t;break;case"rutube":e=`https://rutube.ru/play/embed/${t}`;break}return e}function DH(n,t){const e=_u(n,t);return e.startsWith("http://")||e.startsWith("https://")?{src:e}:{attachmentId:e}}function LH(n){const t=n.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/);return!!(t&&t[2].length===11||n.match(/vk\.com\/video(?:_ext\.php\?oid=-?(\d+)&id=(\d+)|-(\d+)_(\d+))/)||n.match(/rutube\.ru\/(?:play\/embed|video)\/([a-zA-Z0-9]+)/)||n.match(/\.(mp4|webm|ogg|mov|avi|mkv)(\?.*)?$/i))}const oy=we("INSERT_VIDEO_COMMAND"),bI=we("UPLOAD_VIDEO_COMMAND");function OH(){const[n]=Me(),{t}=pt.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=E.useContext(Ot);return E.useEffect(()=>{if(!n.hasNodes([Xl]))throw new Error("VideoPlugin: VideoNode not registered on editor");const i=o=>{const s=o.filter(l=>l.type.includes("video/"));if(o.length>1){jt.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(s[0].size>r*1024*1024){jt.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(oy,"upload"),setTimeout(()=>{n.dispatchCommand(bI,o)})};return e!=null&&e.current&&(e.current.insertVideos=i),n.registerCommand(oy,o=>{const s=vw(o,"100%","100%","left",o!=="upload");return kg(s),!1},Ne)},[n]),null}const Cw=({editor:n,nodeKey:t,opened:e,setOpened:r,t:i,setShown:o,isShown:s})=>{const l=c=>{t&&n.update(()=>{const u=ve(t);(u instanceof Go||u instanceof Xl||u instanceof Ms)&&(u.setAlignment(c),u.getPreviousSibling()?u.selectPrevious():u.selectStart(),o&&o(!1))})};return A.jsxs(L.Menu,{opened:e,shadow:"md",onChange:r,transitionProps:$i,children:[A.jsx(L.Menu.Target,{children:A.jsx(L.Tooltip,{label:i("editor.toolbar.align"),disabled:s,children:A.jsx(L.ActionIcon,{size:24,variant:"default",color:"gray","aria-label":"Settings",children:A.jsx(xe,{size:"14",name:"align-justify"})})})}),A.jsxs(L.Menu.Dropdown,{p:0,py:3,children:[A.jsx(L.Menu.Item,{onClick:()=>{l("left")},leftSection:A.jsx(xe,{size:"16",name:"align-left"}),children:i("editor.toolbar.left")}),A.jsx(L.Menu.Item,{onClick:()=>l("center"),leftSection:A.jsx(xe,{size:"16",name:"align-center"}),children:i("editor.toolbar.center")}),A.jsx(L.Menu.Item,{onClick:()=>l("right"),leftSection:A.jsx(xe,{size:"16",name:"align-right"}),children:i("editor.toolbar.right")})]})]})};function RH({className:n,format:t,platform:e,videoID:r,editor:i,nodeKey:o,create:s,width:l,height:c,alignment:u}){const{t:d}=pt.useTranslation(),{t:h}=pt.useTranslation("ui"),[g,p]=E.useState(!1),[,m]=E.useState(!1),[y,w]=E.useState(!1),[v,C]=E.useState(!1),{start:x,cancel:_}=og(),[N,T]=E.useState(0),{fetchUploadMedia:k,maxFileSize:M}=E.useContext(Ot),I=E.useMemo(()=>[{key:"link",enabled:!0},{key:"upload",enabled:!0}].filter(ue=>ue.enabled).map(ue=>ue.key),[]);E.useEffect(()=>{s&&w(!0)},[s]),E.useEffect(()=>{const V=document.documentElement;Dl(y,V)},[y]),E.useEffect(()=>i.registerCommand(bI,V=>(e==="upload"&&K(V),!1),Ne),[e]);const R=(V,ue=!1)=>{const{platform:fe,id:ie}=yI(V,ue);if(!ie){m(!0);return}i.update(()=>{const le=ve(o);if(!le)return;Nu(le)&&(w(!1),le.setPlatform(fe),le.setId(ie));const te=le.getNextSibling();te&&Ve(te.selectNext())})},B=(V,ue)=>{i.update(()=>{Ve(null);const fe=ve(o);return Nu(fe)&&fe.setWidthAndHeight(V,ue),!0})},U=()=>{i.update(()=>{const V=ve(o);return V&&V.remove(),!1})},j=V=>{V.stopPropagation(),U()},K=V=>{i.update(()=>{p(!0),w(!1);const ue=x();k&&k(V[0],(fe,ie)=>{R(fe),p(!1),T(0)},()=>{p(!1),T(0)},ue,fe=>{T(fe)})})};return!r||e==="upload"?A.jsx(jt.FilePicker,{showTabs:I,uploading:!1,type:"video",dropZoneProps:{multiple:!1,maxSize:M*1024*1024,accept:{"video/*":[]}},isValidMediaUrl:LH,onUpload:K,onChange:V=>{R(V,!0)},popoverProps:{opened:y,position:"bottom",onChange:w},locales:{gallery:h("changeCover.gallery"),link:h("changeCover.link"),search:h("changeCover.searchImage"),upload:h("changeCover.upload"),uploadFile:h("changeCover.uploadFile"),change:h("changeCover.change"),remove:h("dropZone.remove"),error:h("dropZone.error"),dragOrClickToChoose:h("changeCover.dragOrClickToChoose"),maxFileSize:h("changeCover.maxFileSize",{maxSize:M}),pasteLink:h("changeCover.pasteFileLink"),submitLink:h("changeCover.submitLink"),worksWithAnyImage:h("changeCover.worksWithAnyFile"),noImages:h("changeCover.noResult"),errors:{typeIsNotAllowed:h("dropZone.errors.typeIsNotAllowed"),shouldNotExceed:h("dropZone.errors.shouldNotExceed",{maxSize:M}),doNotUploadMoreThanSingleFile:h("dropZone.errors.doNotUploadMoreThanSingleFile"),invalidLink:h("changeCover.invalidLink")}},children:A.jsx(kl,{className:n,format:t,nodeKey:o,children:A.jsx(fc,{isLoading:g,title:d("editor.video.add_video"),icon:"youtube",onClick:()=>w(V=>!V),nodeKey:o,progress:N,onAfterCancel:()=>{_(),p(!1)}})})}):A.jsx(gw,{editor:i,isIcon:!1,isEmbed:!0,width:yh(l),height:yh(c),onResizeEnd:B,alignment:u,type:"video",children:A.jsx("div",{className:"media-wrapper",children:A.jsxs(kl,{className:n,format:t,nodeKey:o,children:[A.jsxs("div",{className:"media-actions",children:[A.jsx(Cw,{opened:v,setOpened:C,t:d,editor:i,nodeKey:o}),A.jsx(L.Tooltip,{label:"Удалить",children:A.jsx(L.ActionIcon,{color:"gray","aria-label":"Settings",className:"media-action",variant:"default",size:24,onClick:j,children:A.jsx(xe,{name:"trash",size:"14"})})})]}),e==="download"||e==="link"?A.jsx(A.Fragment,{children:A.jsx(L.Flex,{justify:"center",align:"center",styles:{root:{height:"100%",width:"100%",minHeight:200}},children:A.jsx(jt.ShakaVideoPlayer,{stylesContainer:{boxShadow:"none",borderRadius:6,height:"100%",aspectRatio:"auto"},loader:A.jsx(L.LoadingOverlay,{visible:!0,zIndex:1e3,loaderProps:{size:"sm",color:"gray"},overlayProps:{radius:"sm",blur:2,color:"dark"}}),autoPlay:!1,...DH(e,r)})})}):A.jsx("iframe",{src:_u(e,r),className:"editor-video",width:"100%",height:"100%",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"YouTube video"})]})})})}function vE(n){const t=n.getAttribute("data-lexical-platform"),e=n.getAttribute("data-lexical-videoid"),r=parseFloat(n.getAttribute("width")??"100%"),i=parseFloat(n.getAttribute("height")??"100%"),o=n.style.justifyContent||"left";return t&&typeof e=="string"?{node:vw(_u(t,e),r,i,o)}:{node:null}}class Xl extends Zo{constructor(e,r,i,o,s,l,c="left",u){super(i,l);F(this,"__platform");F(this,"__id");F(this,"__create");F(this,"__width");F(this,"__height");F(this,"__alignment");this.__platform=e,this.__id=r,this.__create=u||!1,this.__width=o||560,this.__height=s||315,this.__height=s||315,this.__alignment=c||"left"}static getType(){return"video"}static clone(e){return new Xl(e.__platform,e.__id,e.__format,e.__width,e.__height,e.__key,e.__alignment)}static importJSON(e){const r=vw(e.videoID,e.width,e.height);return r.setFormat(e.format),r}exportJSON(){return{...super.exportJSON(),type:"video",version:1,platform:this.__platform,videoID:this.__id,width:this.__width,height:this.__height}}static importDOM(){return{iframe:e=>{const r=e.getAttribute("data-lexical-platform"),i=e.getAttribute("data-lexical-videoid");return r!=="download"&&typeof i=="string"?{conversion:vE,priority:1}:null},video:e=>{const r=e.getAttribute("data-lexical-platform"),i=e.getAttribute("data-lexical-videoid");return(r==="download"||r==="link")&&typeof i=="string"?{conversion:vE,priority:1}:null}}}createDOM(){const e=document.createElement("div");return e.className="video-container",e.style.justifyContent=this.__alignment||"left",e.style.display="flex",e}updateDOM(e,r){return this.__alignment!==e.__alignment&&(r.style.justifyContent=this.__alignment||"left"),!1}exportDOM(){const e=this.__platform==="download"||this.__platform==="link"?"video":"iframe",r=document.createElement(e),i=_u(this.__platform,this.__id),o=i==="upload"?"":i;this.__platform==="download"||this.__platform==="link"?r.setAttribute("controls","true"):(r.setAttribute("frameborder","0"),r.setAttribute("allowfullscreen","true")),r.setAttribute("src",o),r.setAttribute("data-lexical-platform",this.__platform),r.setAttribute("data-lexical-videoid",this.__id),r.setAttribute("width",this.__width.toString()+"%"),r.setAttribute("height",this.__height.toString()+"%"),r.setAttribute("style","aspect-ratio: 128 / 72 ");const s=document.createElement("span");return s.setAttribute("data-src",o),s.className="video-container",s.style.justifyContent=this.__alignment||"left",r.style.justifyContent=this.__alignment||"left",s.appendChild(r),{element:s}}decorate(e,r){const o={base:(r.theme.embedBlock||{}).base||"",focus:""};return A.jsx(RH,{editor:e,nodeKey:this.getKey(),format:this.__format,className:o,platform:this.__platform,videoID:this.__id,width:this.__width,height:this.__height,create:this.__create,alignment:this.__alignment})}setPlatform(e){const r=this.getWritable();r.__platform=e}setId(e){const r=this.getWritable();r.__id=e}setCreated(e){const r=this.getWritable();r.__create=e}getId(){return this.__id}setAlignment(e){const r=this.getWritable();r.__alignment=e}getTextContent(){return _u(this.__platform,this.__id)}setWidthAndHeight(e,r){const i=this.getWritable();i.__width=e,i.__height=r}}function vw(n,t,e,r,i){const o=n.startsWith("https")||n.startsWith("http"),{platform:s,id:l}=yI(n,o);return new Xl(s,l||"",void 0,t,e,void 0,r,i)}function Nu(n){return n instanceof Xl}const vh=we("INSERT_IMAGE_COMMAND"),wI=we("UPLOAD_IMAGE_COMMAND");function PH(){const[n]=Me(),{t}=pt.useTranslation(),{imperativeHandleRef:e}=E.useContext(Ot),{maxFileSize:r}=E.useContext(Ot);return E.useEffect(()=>{if(!n.hasNodes([Go]))throw new Error("ImageOlugin: FileNode not registered on editor");const i=o=>{if(o.length>1){jt.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(o[0].size>r*1024*1024){jt.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(vh,{src:"upload",create:!1,altText:""}),setTimeout(()=>{n.dispatchCommand(wI,o)},100)};return e!=null&&e.current&&(e.current.insertImages=i),n.registerCommand(vh,o=>{const s=Cg(o);return kg(s),!1},Ne)},[n]),null}const kg=n=>{var s;const t=zt();if(Yt(t))return t.append(n),!0;let e=t==null?void 0:t.getParent();const r=e instanceof Wo||e instanceof vn||e instanceof wr,i=t instanceof bi&&!!t.__text,o=G(t)&&(t==null?void 0:t.getChildrenSize())>0;if(o&&(e=t),r&&i||r||o)return e.insertAfter(n),!0;if(t&&e)return t instanceof wi?((s=t.getPreviousSibling())==null||s.replace(n),!0):(t==null||t.replace(n),!0);if(!t)return Re().append(n),!0},sy=we("INSERT_FILE_COMMAND"),CI=we("UPLOAD_FILE_COMMAND");function BH(){const[n]=Me(),{t}=pt.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=E.useContext(Ot);return E.useEffect(()=>{if(!n.hasNodes([ql]))throw new Error("FilePlugin: FileNode not registered on editor");const i=o=>{if(o.length>1){jt.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(o[0].size>r*1024*1024){jt.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(sy,"upload"),setTimeout(()=>{n.dispatchCommand(CI,o)})};return e!=null&&e.current&&(e.current.insertFiles=i),n.registerCommand(sy,o=>{const s=xw(o,"100%","100%","left",o!=="upload");return kg(s),!1},Ne)},[n]),null}function FH(n,t=2){if(n===0)return"0 B";const e=1024,r=["B","KB","MB","GB","TB","PB"];if(n<e)return`${n} B`;if(n<=0)return"0 B";const i=Math.floor(Math.log(n)/Math.log(e)),o=(n/Math.pow(e,i)).toFixed(1);return`${parseFloat(o).toString()}${r[i]}`}function jH({className:n,format:t,src:e,editor:r,nodeKey:i,create:o}){const{t:s}=pt.useTranslation(),{t:l}=pt.useTranslation("ui"),[c,u]=E.useState(!1),[d,h]=E.useState(!1),[g,p]=E.useState(0),m=E.useRef(null),{fetchUploadMedia:y,maxFileSize:w}=E.useContext(Ot),{startLoading:v,stopLoading:C}=H3(),{start:x,cancel:_}=og();E.useEffect(()=>{r.update(()=>{var j,K;const B=ve(i),U=((K=(j=m.current)==null?void 0:j.firstChild)==null?void 0:K.outerHTML)||"";B instanceof ql&&e&&B.setRef(U)})},[e]),E.useEffect(()=>{o&&h(!0)},[o]);const{fileSize:N,fileName:T}=E.useMemo(()=>{const B=new URL(window.location.href+e),U=B.searchParams.get("contentType"),j=B.searchParams.get("fileSize"),K=B.searchParams.get("originalFileName");return{contentType:U,fileName:K||e,fileSize:j}},[e]),k=E.useMemo(()=>[{key:"link",enabled:!0},{key:"upload",enabled:!0}].filter(U=>U.enabled).map(U=>U.key),[]);E.useEffect(()=>{const B=document.documentElement;Dl(d,B)},[d]),E.useEffect(()=>r.registerCommand(CI,B=>(e==="upload"&&I(B),!1),Ne),[e]);const M=B=>{r.update(()=>{const U=ve(i);if(!U)return;ly(U)&&(h(!1),U.setSrc(B));const j=U.getNextSibling();j&&Ve(j.selectNext())})},I=B=>{r.update(()=>{u(!0),h(!1),v();const U=x();y&&y(B[0],(j,K,V)=>{const{contentType:ue,fileSize:fe,originalFileName:ie}=V,le=new URLSearchParams({contentType:ue,fileSize:fe,originalFileName:ie}),te=j.includes("?")?`${j}&${le.toString()}`:`${j}?${le.toString()}`;M(te),C(),u(!1),p(0)},j=>{j&&!U.aborted&&jt.showErrorNotification({message:s("editor.gallery.errorFile")}),u(!1),p(0),C()},U,j=>{p(j)})})},R=B=>{B.stopPropagation(),B.preventDefault(),r.update(()=>{const U=ve(i);U&&U.remove()})};return!e||e==="upload"?A.jsx(jt.FilePicker,{showTabs:k,uploading:!1,type:"file",dropZoneProps:{multiple:!1,maxSize:w*1024*1024,accept:{}},onUpload:I,onChange:B=>M(B),popoverProps:{opened:d,position:"bottom",onChange:h},locales:{gallery:l("changeCover.gallery"),link:l("changeCover.link"),search:l("changeCover.searchImage"),upload:l("changeCover.upload"),uploadFile:l("changeCover.uploadFile"),change:l("changeCover.change"),remove:l("dropZone.remove"),error:l("dropZone.error"),dragOrClickToChoose:l("changeCover.dragOrClickToChoose"),maxFileSize:l("changeCover.maxFileSize",{maxSize:w}),pasteLink:l("changeCover.pasteFileLink"),submitLink:l("changeCover.submitLink"),worksWithAnyImage:l("changeCover.worksWithAnyFile"),noImages:l("changeCover.noResult"),errors:{typeIsNotAllowed:l("dropZone.errors.typeIsNotAllowed"),shouldNotExceed:l("dropZone.errors.shouldNotExceed",{maxSize:w}),doNotUploadMoreThanSingleFile:l("dropZone.errors.doNotUploadMoreThanSingleFile"),invalidLink:l("changeCover.invalidLink")}},children:A.jsx(L.Flex,{w:"100%",children:A.jsx(kl,{className:n,format:t,nodeKey:i,children:A.jsx(fc,{isLoading:c,title:s("editor.file.add_file"),icon:"file",progress:g,onClick:()=>h(B=>!B),onAfterCancel:()=>{_(),u(!1)},nodeKey:i})})})}):A.jsx("div",{ref:m,children:A.jsx(L.Anchor,{href:e,target:"_blank",children:A.jsxs(L.Button,{fullWidth:!0,className:"file-button",style:{boxSizing:"border-box"},leftSection:A.jsx(ee.IconFile,{}),rightSection:A.jsx(ee.IconX,{onClick:R}),variant:"light",color:"gray",justify:"left",m:0,children:[T," ",FH(Number(N),2)]})})})}const xE=new Map;function zH(n){const t=n.getAttribute("data-src"),e=parseFloat(n.getAttribute("width")??"100%"),r=parseFloat(n.getAttribute("height")??"100%"),i=n.style.justifyContent||"left";return{node:xw(t||"",e,r,i)}}class ql extends Zo{constructor(e,r,i,o,s,l="left",c){super(r,s);F(this,"__src");F(this,"__create");F(this,"__width");F(this,"__height");F(this,"__alignment");this.__src=e,this.__create=c||!1,this.__width=i||560,this.__height=o||315,this.__height=o||315,this.__alignment=l||"left"}static getType(){return"file"}static clone(e){return new ql(e.__src,e.__format,e.__width,e.__height,e.__key,e.__alignment)}static importJSON(e){const r=xw(e.src,e.width,e.height);return r.setFormat(e.format),r}exportJSON(){return{...super.exportJSON(),type:"file",version:1,src:this.__src,width:this.__width,height:this.__height}}static importDOM(){return{span:e=>e.className=="file-container"?{conversion:zH,priority:1}:null}}createDOM(){const e=document.createElement("div");return e.className="file-container",e.style.justifyContent=this.__alignment||"left",e}updateDOM(e,r){return this.__alignment!==e.__alignment&&(r.style.justifyContent=this.__alignment||"left"),!1}exportDOM(){const e=this.__src==="upload"?"":this.__src,r=document.createElement("div"),i=document.createElement("span"),o=xE.get(this.__key)||"";return r.innerHTML=o,i.className="file-container",i.setAttribute("data-src",e),i.appendChild(r),{element:i}}decorate(e,r){const o={base:(r.theme.embedBlock||{}).base||"",focus:""};return A.jsx(jH,{editor:e,nodeKey:this.getKey(),format:this.__format,className:o,src:this.__src,create:this.__create})}setRef(e){xE.set(this.__key,e)}setSrc(e){const r=this.getWritable();r.__src=e}setCreated(e){const r=this.getWritable();r.__create=e}setAlignment(e){const r=this.getWritable();r.__alignment=e}setWidthAndHeight(e,r){const i=this.getWritable();i.__width=e,i.__height=r}}function xw(n,t,e,r,i){return new ql(n,void 0,t,e,void 0,r,i)}function ly(n){return n instanceof ql}function gf(n){if(n&&n.includes("unsplash"))return null;const t=/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i,e=n==null?void 0:n.match(t);return e&&(n.startsWith("/v1/attachments/")||n.includes(window.location.origin))?e[0]:null}function SE(n,t,e){n.update(()=>{const r=ve(t);Xa(r)||Ch(r)?r.setSrc(e):Nu(r)&&e.trim()&&r.setId(e)},{tag:"historic"})}const Kr=new Map;function UH({editor:n}){const{fetchDeleteMedia:t,fetchRestoreMedia:e,commentOptions:r}=E.useContext(Ot),{pageId:i}=r||{pageId:null};return E.useEffect(()=>()=>{Kr.clear()},[i]),E.useEffect(()=>{if(n)return n.getEditorState().read(()=>{var l;const o=((l=n.getDecorators)==null?void 0:l.call(n))||n._decorators,s=new Map;for(const[c,u]of Object.entries(o)){const d=u.props,h=u._self,p=Xa(h)||Nu(h)||ly(h)||Ch(h);if(!d&&p)continue;const m=(d==null?void 0:d.src)||(d==null?void 0:d.videoID);if(m!=null&&m.trim()&&!(m!=null&&m.includes("unsplash"))&&gf(m)){const y=s.get(m)||[],w=y.includes(c)?y:[...y,c];s.set(m,w)}}for(const[c,u]of s.entries())Kr.set(c,{mediaNodeKeys:u})}),n.registerDecoratorListener(o=>{var c;const s=new Map;let l=!1;for(const[u,d]of Object.entries(o)){const h=d==null?void 0:d.props,g=d==null?void 0:d._self,p=Nu(g)||Xa(g)||ly(g)||Ch(g);if(p&&((c=h==null?void 0:h.src)!=null&&c.includes("unsplash"))||!h&&p)continue;const m=h.src||h.videoID;if(!m)continue;if(m.trim()==="")return;const y=s.get(m)||[];!y.includes(u)&&gf(h==null?void 0:h.src)&&s.set(m,[...y,u])}for(const[u,d]of Kr.entries()){const h=s.get(u);if(Array.isArray(d.mediaNodeKeys)&&d.mediaNodeKeys.length>0&&(!h||h.length===0)){const g=gf(u);if(g&&t){const p=n.registerCommand($a,()=>!0,Ai);t(g,()=>{p()}),Kr.set(u,{mediaNodeKeys:[]})}}}for(const[u]of Kr.entries())s.has(u)||Kr.set(u,{mediaNodeKeys:[]});if(Kr.size>0)for(const[u,d]of s.entries()){const h=Kr.get(u);if(h&&Array.isArray(h.mediaNodeKeys)&&h.mediaNodeKeys.length===0&&d.length>0){SE(n,d[0]," "),l=!0;const g=gf(u);if(Kr.set(u,{mediaNodeKeys:d}),g&&e){const p=n.registerCommand(Rl,()=>!0,Ai);e(g,()=>{p(),SE(n,d[0],u)})}}}if(!l)for(const[u,d]of s.entries())Kr.set(u,{mediaNodeKeys:d})})},[n,e,t]),Kr}const KH=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function WH({onClear:n}){const[t]=Me();return KH(()=>K4(t,n),[t,n]),null}function HH({newTab:n=!0,disabled:t=!1}){const[e]=Me();return E.useEffect(()=>CW(e,Wb({disabled:t,newTab:n})),[e,n,t]),null}const YH=E.createContext(null),Om={didCatch:!1,error:null};class ZH extends E.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Om}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var e,r,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];(e=(r=this.props).onReset)===null||e===void 0||e.call(r,{args:o,reason:"imperative-api"}),this.setState(Om)}}componentDidCatch(t,e){var r,i;(r=(i=this.props).onError)===null||r===void 0||r.call(i,t,e)}componentDidUpdate(t,e){const{didCatch:r}=this.state,{resetKeys:i}=this.props;if(r&&e.error!==null&&GH(t.resetKeys,i)){var o,s;(o=(s=this.props).onReset)===null||o===void 0||o.call(s,{next:i,prev:t.resetKeys,reason:"keys"}),this.setState(Om)}}render(){const{children:t,fallbackRender:e,FallbackComponent:r,fallback:i}=this.props,{didCatch:o,error:s}=this.state;let l=t;if(o){const c={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof e=="function")l=e(c);else if(r)l=E.createElement(r,c);else if(i!==void 0)l=i;else throw s}return E.createElement(YH.Provider,{value:{didCatch:o,error:s,resetErrorBoundary:this.resetErrorBoundary}},l)}}function GH(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return n.length!==t.length||n.some((e,r)=>!Object.is(e,t[r]))}function vI({children:n,onError:t}){return A.jsx(ZH,{fallback:A.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:n})}function JH(){const[n]=Me();return E.useEffect(()=>{if(!n.hasNodes([lg]))throw new Error("HashtagPlugin: HashtagNode not registered on editor");return mW(n)},[n]),null}function QH(){const[n]=Me();return E.useEffect(()=>n.registerCommand(sN,t=>{const e=J();if(!Y(e))return!1;if(e.focus.getNode()!==null){const r=cc();T1(r)}return!0},Ke),[n]),null}const VH=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function XH({ignoreHistoryMergeTagChange:n=!0,ignoreSelectionChange:t=!1,onChange:e}){const[r]=Me();return VH(()=>{if(e)return r.registerUpdateListener(({editorState:i,dirtyElements:o,dirtyLeaves:s,prevEditorState:l,tags:c})=>{t&&o.size===0&&s.size===0||n&&c.has(Jr)||l.isEmpty()||e(i,r,c)})},[r,n,t,e]),null}const qH=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function $H(n){return{initialValueFn:()=>n.isEditable(),subscribe:t=>n.registerEditableListener(t)}}function Sw(){return(function(n){const[t]=Me(),e=E.useMemo(()=>n(t),[t,n]),[r,i]=E.useState(()=>e.initialValueFn()),o=E.useRef(r);return qH(()=>{const{initialValueFn:s,subscribe:l}=e,c=s();return o.current!==c&&(o.current=c,i(c)),l(u=>{o.current=u,i(u)})},[e,n]),r})($H)}const e5={name:"@lexical/react/ReactProvider"};function t5(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const Ew=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function n5({editor:n,ErrorBoundary:t}){return(function(e,r){const[i,o]=E.useState(()=>e.getDecorators());return Ew(()=>e.registerDecoratorListener(s=>{yr.flushSync(()=>{o(s)})}),[e]),E.useEffect(()=>{o(e.getDecorators())},[e]),E.useMemo(()=>{const s=[],l=Object.keys(i);for(let c=0;c<l.length;c++){const u=l[c],d=A.jsx(r,{onError:g=>e._onError(g),children:A.jsx(E.Suspense,{fallback:null,children:i[u]})}),h=e.getElementByKey(u);h!==null&&s.push(yr.createPortal(d,h,u))}return s},[r,i,e])})(n,t)}function r5({editor:n,ErrorBoundary:t}){return(function(e){const r=oN.maybeFromEditor(e);if(r&&r.hasExtensionByName(e5.name)){for(const i of["@lexical/plain-text","@lexical/rich-text"])r.hasExtensionByName(i)&&t5(320,i);return!0}return!1})(n)?null:A.jsx(n5,{editor:n,ErrorBoundary:t})}function EE(n){return n.getEditorState().read(TN(n.isComposing()))}function xI({contentEditable:n,placeholder:t=null,ErrorBoundary:e}){const[r]=Me();return(function(i){Ew(()=>tt(zW(i),DW(i)),[i])})(r),A.jsxs(A.Fragment,{children:[n,A.jsx(i5,{content:t}),A.jsx(r5,{editor:r,ErrorBoundary:e})]})}function i5({content:n}){const[t]=Me(),e=(function(i){const[o,s]=E.useState(()=>EE(i));return Ew(()=>{function l(){const c=EE(i);s(c)}return l(),tt(i.registerUpdateListener(()=>{l()}),i.registerEditableListener(()=>{l()}))},[i]),o})(t),r=Sw();return e?typeof n=="function"?n(r):n:null}const kE=window.location.hostname,o5=kE!=="playground.lexical.dev"&&kE!=="lexical-playground.vercel.app",s5=new URLSearchParams(window.location.search),TE=n=>s5.get(n)==="true",{isShowTreeView:l5,isMaxLength:a5}={isShowTreeView:TE("showTreeView"),isMaxLength:TE("isMaxLength")},Iu={disableBeforeInput:!1,emptyEditor:o5,isAutocomplete:!1,isCharLimit:!1,isCharLimitUtf8:!1,isCollab:!1,isMaxLength:a5,isRichText:!0,measureTypingPerf:!1,shouldUseLexicalContextMenu:!1,showNestedEditorTreeView:!1,showTableOfContents:!1,showTreeView:l5,tableCellBackgroundColor:!0,tableCellMerge:!0},_E={...Iu},SI=E.createContext({setOption:(n,t)=>{},settings:Iu});function c5(){const n={},t=new URLSearchParams(window.location.search);for(const e of Object.keys(Iu)){const r=t.get(e);r!==null&&(n[e]=r==="true")}return n}const u5=({children:n})=>{const[t,e]=E.useState(()=>({...Iu,...c5()})),r=E.useCallback((o,s)=>{e(l=>({...l,[o]:s})),Iu[o]===s?NE(o,null):NE(o,s)},[]),i=E.useMemo(()=>({setOption:r,settings:t}),[r,t]);return A.jsx(SI.Provider,{value:i,children:n})},kw=()=>E.useContext(SI);function NE(n,t){const e=new URL(window.location.href),r=new URLSearchParams(e.search);t!==null?r.has(n)?r.set(n,String(t)):r.append(n,String(t)):r.has(n)&&r.delete(n),e.search=r.toString(),window.history.pushState(null,"",e.toString())}const EI=E.createContext({}),d5=({children:n})=>{const t=E.useMemo(()=>({historyState:Zb()}),[]);return A.jsx(EI.Provider,{value:t,children:n})},Tw=()=>E.useContext(EI),f5=({t:n,src:t,isShown:e,setShown:r,id:i})=>{const[o,{open:s,close:l}]=za.useDisclosure(!1),c=E.useMemo(()=>[{id:!i||i==="0"?"":i,Url:t??"",contentType:"",originalFileName:"",fileSize:0,storageType:"",storagePath:"",fileName:"",parentType:"",parentId:"",ownerId:"",createdAt:new Date,updatedAt:new Date,version:0,deleted:!1,deletedAt:new Date}],[t,i]),u=d=>{d?s():l()};return A.jsxs(A.Fragment,{children:[A.jsx(jt.AttachmentsGalleryModal,{opened:o,onOpenChange:u,attachments:c}),A.jsx(L.Tooltip,{disabled:!e,label:n("editor.image.preview"),children:A.jsx(L.ActionIcon,{onClick:()=>{r(!1),s()},size:24,variant:"default",color:"gray","aria-label":"Settings",children:A.jsx(xe,{size:"14",name:"photo-check"})})})]})},IE=8,h5=({anchorElem:n=document.body})=>{var y;const[t]=Me(),[e,r]=E.useState(!1),[i,o]=E.useState(!1),[s,l]=E.useState(null),c=E.useRef(null),[u,d]=E.useState({right:"0",top:"0"}),{t:h}=pt.useTranslation(),g=wg(w=>{if(w.target instanceof HTMLElement&&w.target.clientWidth<100)return;const{lexicalDOMNode:C,isOutside:x}=uI(w,"img",["div.media-actions"]);if(x){o(!1);return}if(c.current=C,C){t.update(()=>{const R=Fe(C);R&&l({key:R.__key,src:R.__src})});const{y:_,right:N}=n.getBoundingClientRect(),{y:T,right:k}=C.getBoundingClientRect();o(!0);const M=T-_+IE,I=N-k+IE;d(()=>({right:`${I}px`,top:`${M}px`}))}},50,500);E.useEffect(()=>(document.addEventListener("mousemove",g),document.addEventListener("touchstart",g),()=>{o(!1),g.cancel(),document.removeEventListener("mousemove",g)}),[g]);const p=(w,v)=>{{w();return}},m=i?"auto":"none";return yr.createPortal(A.jsxs("div",{className:`media-actions ${i?"visible":""}`,style:{right:u.right,top:u.top,pointerEvents:m},children:[!ty&&A.jsx(Cw,{opened:e,setOpened:r,t:h,editor:t,nodeKey:s==null?void 0:s.key,setShown:o,isShown:i}),A.jsx(f5,{setShown:o,isShown:i,t:h,src:s==null?void 0:s.src,id:(y=c.current)==null?void 0:y.getAttribute("data-id")}),A.jsx(L.Tooltip,{disabled:!i,label:h("editor.contextMenu.delete"),children:A.jsx(L.ActionIcon,{color:"gray","aria-label":"Settings",className:"media-action",size:24,onClick:w=>{w.stopPropagation(),p(()=>{t.update(()=>{if(s!=null&&s.key){const v=ve(s==null?void 0:s.key);Xa(v)&&(v.getPreviousSibling()?v.remove():v.replace(Ee()),t.dispatchCommand(_o,"hide_menu"),o(!1))}return!1})})},variant:"default",children:A.jsx(xe,{size:"14",name:"trash"})})})]}),n)};function kI(n,t=Object.freeze({})){return{editorState:n.toJSON(),lastSaved:t.lastSaved||Date.now(),source:t.source||"Lexical",version:"0.38.2"}}function TI(n,t){const e=typeof t=="string"?JSON.parse(t):t;return n.parseEditorState(e.editorState)}function g5(n){(function(t){const e=document.createElement("input");e.type="file",e.accept=".lexical",e.addEventListener("change",r=>{const i=r.target;if(i.files){const o=i.files[0],s=new FileReader;s.readAsText(o,"UTF-8"),s.onload=l=>{if(l.target){const c=l.target.result;t(c)}}}}),e.click()})(t=>{n.setEditorState(TI(n,t)),n.dispatchCommand(Wy,void 0)})}function p5(n,t=Object.freeze({})){const e=new Date;(function(r,i){const o=document.createElement("a"),s=document.body;if(s===null)return;s.appendChild(o),o.style.display="none";const l=JSON.stringify(r),c=new Blob([l],{type:"octet/stream"}),u=window.URL.createObjectURL(c);o.href=u,o.download=i,o.click(),window.URL.revokeObjectURL(u),o.remove()})(kI(n.getEditorState(),{...t,lastSaved:e.getTime()}),`${t.fileName||e.toISOString()}.lexical`)}function Hc(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function m5(n){let t=1,e=n.getParent();for(;e!=null;){if(Qn(e)){const r=e.getParent();if(It(r)){t++,e=r.getParent();continue}Hc(40)}return t}return t}function Oi(n){return Qn(n)&&It(n.getFirstChild())}function ME(n){return Fo().append(n)}function _I(n,t){n.splice(n.getChildrenSize(),0,t)}function _w(n,t){const e=n.getLastChild(),r=t.getFirstChild();e&&r&&Oi(e)&&Oi(r)&&(_w(e.getFirstChild(),r.getFirstChild()),r.remove());const i=t.getChildren();i.length>0&&n.append(...i),t.remove()}function A5(n){const t=n.getListType()!=="check";let e=n.getStart();for(const r of n.getChildren())Qn(r)&&(r.getValue()!==e&&r.setValue(e),t&&r.getLatest().__checked!=null&&r.setChecked(void 0),It(r.getFirstChild())||e++)}function y5(n){const t=new Set;if(Oi(n)||t.has(n.getKey()))return;const e=n.getParent(),r=n.getNextSibling(),i=n.getPreviousSibling();if(Oi(r)&&Oi(i)){const o=i.getFirstChild();if(It(o)){o.append(n);const s=r.getFirstChild();It(s)&&(_I(o,s.getChildren()),r.remove(),t.add(r.getKey()))}}else if(Oi(r)){const o=r.getFirstChild();if(It(o)){const s=o.getFirstChild();s!==null&&s.insertBefore(n)}}else if(Oi(i)){const o=i.getFirstChild();It(o)&&o.append(n)}else if(It(e)){const o=Fo().setTextFormat(n.getTextFormat()).setTextStyle(n.getTextStyle()),s=Ki(e.getListType()).setTextFormat(e.getTextFormat()).setTextStyle(e.getTextStyle());o.append(s),s.append(n),i?i.insertAfter(o):r?r.insertBefore(o):e.append(o)}}function b5(n){if(Oi(n))return;const t=n.getParent(),e=t?t.getParent():void 0;if(It(e?e.getParent():void 0)&&Qn(e)&&It(t)){const r=t?t.getFirstChild():void 0,i=t?t.getLastChild():void 0;if(n.is(r))e.insertBefore(n),t.isEmpty()&&e.remove();else if(n.is(i))e.insertAfter(n),t.isEmpty()&&e.remove();else{const o=t.getListType(),s=Fo(),l=Ki(o);s.append(l),n.getPreviousSiblings().forEach(d=>l.append(d));const c=Fo(),u=Ki(o);c.append(u),_I(u,n.getNextSiblings()),e.insertBefore(s),e.insertAfter(c),e.replace(n)}}}function xh(...n){const t=[];for(const e of n)if(e&&typeof e=="string")for(const[r]of e.matchAll(/\S+/g))t.push(r);return t}let rd=class extends At{constructor(e=1,r=void 0,i){super(i);F(this,"__value");F(this,"__checked");this.__value=e===void 0?1:e,this.__checked=r}$config(){return this.config("listitem",{$transform:e=>{if(e.__checked==null)return;const r=e.getParent();It(r)&&r.getListType()!=="check"&&e.getChecked()!=null&&e.setChecked(void 0)},extends:At,importDOM:{li:()=>({conversion:w5,priority:0})}})}afterCloneFrom(e){super.afterCloneFrom(e),this.__value=e.__value,this.__checked=e.__checked}createDOM(e){const r=document.createElement("li");return this.updateListItemDOM(null,r,e),r}updateListItemDOM(e,r,i){(function(l,c,u){const d=c.getParent();!It(d)||d.getListType()!=="check"||It(c.getFirstChild())?(l.removeAttribute("role"),l.removeAttribute("tabIndex"),l.removeAttribute("aria-checked")):(l.setAttribute("role","checkbox"),l.setAttribute("tabIndex","-1"),u&&c.__checked===u.__checked||l.setAttribute("aria-checked",c.getChecked()?"true":"false"))})(r,this,e),r.value=this.__value,(function(l,c,u){const d=[],h=[],g=c.list,p=g?g.listitem:void 0;let m;if(g&&g.nested&&(m=g.nested.listitem),p!==void 0&&d.push(...xh(p)),g){const y=u.getParent(),w=It(y)&&y.getListType()==="check",v=u.getChecked();w&&!v||h.push(g.listitemUnchecked),w&&v||h.push(g.listitemChecked),w&&d.push(v?g.listitemChecked:g.listitemUnchecked)}if(m!==void 0){const y=xh(m);u.getChildren().some(w=>It(w))?d.push(...y):h.push(...y)}h.length>0&&_r(l,...h),d.length>0&&ct(l,...d)})(r,i.theme,this);const o=e?e.__style:"",s=this.__style;o!==s&&(s===""?r.removeAttribute("style"):r.style.cssText=s),(function(l,c,u){const d=pu(c.__textStyle);for(const h in d)l.style.setProperty(`--listitem-marker-${h}`,d[h]);if(u)for(const h in pu(u.__textStyle))h in d||l.style.removeProperty(`--listitem-marker-${h}`)})(r,this,e)}updateDOM(e,r,i){const o=r;return this.updateListItemDOM(e,o,i),!1}updateFromJSON(e){return super.updateFromJSON(e).setValue(e.value).setChecked(e.checked)}exportDOM(e){const r=this.createDOM(e._config),i=this.getFormatType();i&&(r.style.textAlign=i);const o=this.getDirection();return o&&(r.dir=o),{element:r}}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),value:this.getValue()}}append(...e){for(let r=0;r<e.length;r++){const i=e[r];if(G(i)&&this.canMergeWith(i)){const o=i.getChildren();this.append(...o),i.remove()}else super.append(i)}return this}replace(e,r){if(Qn(e))return super.replace(e);this.setIndent(0);const i=this.getParentOrThrow();if(!It(i))return e;if(i.__first===this.getKey())i.insertBefore(e);else if(i.__last===this.getKey())i.insertAfter(e);else{const o=Ki(i.getListType());let s=this.getNextSibling();for(;s;){const l=s;s=s.getNextSibling(),o.append(l)}i.insertAfter(e),e.insertAfter(o)}return r&&(G(e)||Hc(139),this.getChildren().forEach(o=>{e.append(o)})),this.remove(),i.getChildrenSize()===0&&i.remove(),e}insertAfter(e,r=!0){const i=this.getParentOrThrow();if(It(i)||Hc(39),Qn(e))return super.insertAfter(e,r);const o=this.getNextSiblings();if(i.insertAfter(e,r),o.length!==0){const s=Ki(i.getListType());o.forEach(l=>s.append(l)),e.insertAfter(s,r)}return e}remove(e){const r=this.getPreviousSibling(),i=this.getNextSibling();super.remove(e),r&&i&&Oi(r)&&Oi(i)&&(_w(r.getFirstChild(),i.getFirstChild()),i.remove())}insertNewAfter(e,r=!0){const i=Fo().updateFromJSON(this.exportJSON()).setChecked(!this.getChecked()&&void 0);return this.insertAfter(i,r),i}collapseAtStart(e){const r=Ee();this.getChildren().forEach(l=>r.append(l));const i=this.getParentOrThrow(),o=i.getParentOrThrow(),s=Qn(o);if(i.getChildrenSize()===1)if(s)i.remove(),o.select();else{i.insertBefore(r),i.remove();const l=e.anchor,c=e.focus,u=r.getKey();l.type==="element"&&l.getNode().is(this)&&l.set(u,l.offset,"element"),c.type==="element"&&c.getNode().is(this)&&c.set(u,c.offset,"element")}else i.insertBefore(r),this.remove();return!0}getValue(){return this.getLatest().__value}setValue(e){const r=this.getWritable();return r.__value=e,r}getChecked(){const e=this.getLatest();let r;const i=this.getParent();return It(i)&&(r=i.getListType()),r==="check"?!!e.__checked:void 0}setChecked(e){const r=this.getWritable();return r.__checked=e,r}toggleChecked(){const e=this.getWritable();return e.setChecked(!e.__checked)}getIndent(){const e=this.getParent();if(e===null||!this.isAttached())return this.getLatest().__indent;let r=e.getParentOrThrow(),i=0;for(;Qn(r);)r=r.getParentOrThrow().getParentOrThrow(),i++;return i}setIndent(e){typeof e!="number"&&Hc(117),(e=Math.floor(e))>=0||Hc(199);let r=this.getIndent();for(;r!==e;)r<e?(y5(this),r++):(b5(this),r--);return this}canInsertAfter(e){return Qn(e)}canReplaceWith(e){return Qn(e)}canMergeWith(e){return Qn(e)||mn(e)}extractWithChild(e,r){if(!Y(r))return!1;const i=r.anchor.getNode(),o=r.focus.getNode();return this.isParentOf(i)&&this.isParentOf(o)&&this.getTextContent().length===r.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return Ki("bullet")}canMergeWhenEmpty(){return!0}};function w5(n){if(n.classList.contains("task-list-item")){for(const e of n.children)if(e.tagName==="INPUT")return DE(e)}if(n.classList.contains("joplin-checkbox")){for(const e of n.children)if(e.classList.contains("checkbox-wrapper")&&e.children.length>0&&e.children[0].tagName==="INPUT")return DE(e.children[0])}const t=n.getAttribute("aria-checked");return{node:Fo(t==="true"||t!=="false"&&void 0)}}function DE(n){return n.getAttribute("type")!=="checkbox"?{node:null}:{node:Fo(n.hasAttribute("checked"))}}function Fo(n){return Lt(new rd(void 0,n))}function Qn(n){return n instanceof rd}let id=class extends At{constructor(e="number",r=1,i){super(i);F(this,"__tag");F(this,"__start");F(this,"__listType");const o=v5[e]||e;this.__listType=o,this.__tag=o==="number"?"ol":"ul",this.__start=r}$config(){return this.config("list",{$transform:e=>{(function(r){const i=r.getNextSibling();It(i)&&r.getListType()===i.getListType()&&_w(r,i)})(e),A5(e)},extends:At,importDOM:{ol:()=>({conversion:OE,priority:0}),ul:()=>({conversion:OE,priority:0})}})}afterCloneFrom(e){super.afterCloneFrom(e),this.__listType=e.__listType,this.__tag=e.__tag,this.__start=e.__start}getTag(){return this.getLatest().__tag}setListType(e){const r=this.getWritable();return r.__listType=e,r.__tag=e==="number"?"ol":"ul",r}getListType(){return this.getLatest().__listType}getStart(){return this.getLatest().__start}setStart(e){const r=this.getWritable();return r.__start=e,r}createDOM(e,r){const i=this.__tag,o=document.createElement(i);return this.__start!==1&&o.setAttribute("start",String(this.__start)),o.__lexicalListType=this.__listType,LE(o,e.theme,this),o}updateDOM(e,r,i){return e.__tag!==this.__tag||e.__listType!==this.__listType||(LE(r,i.theme,this),!1)}updateFromJSON(e){return super.updateFromJSON(e).setListType(e.listType).setStart(e.start)}exportDOM(e){const r=this.createDOM(e._config,e);return Et(r)&&(this.__start!==1&&r.setAttribute("start",String(this.__start)),this.__listType==="check"&&r.setAttribute("__lexicalListType","check")),{element:r}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag()}}canBeEmpty(){return!1}canIndent(){return!1}splice(e,r,i){let o=i;for(let s=0;s<i.length;s++){const l=i[s];Qn(l)||(o===i&&(o=[...i]),o[s]=Fo().append(!G(l)||It(l)||l.isInline()?l:yt(l.getTextContent())))}return super.splice(e,r,o)}extractWithChild(e){return Qn(e)}};function LE(n,t,e){const r=[],i=[],o=t.list;if(o!==void 0){const s=o[`${e.__tag}Depth`]||[],l=m5(e)-1,c=l%s.length,u=s[c],d=o[e.__tag];let h;const g=o.nested,p=o.checklist;if(g!==void 0&&g.list&&(h=g.list),d!==void 0&&r.push(d),p!==void 0&&e.__listType==="check"&&r.push(p),u!==void 0){r.push(...xh(u));for(let m=0;m<s.length;m++)m!==c&&i.push(e.__tag+m)}if(h!==void 0){const m=xh(h);l>1?r.push(...m):i.push(...m)}}i.length>0&&_r(n,...i),r.length>0&&ct(n,...r)}function C5(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e];if(Qn(r)){t.push(r);const i=r.getChildren();i.length>1&&i.forEach(o=>{It(o)&&t.push(ME(o))})}else t.push(ME(r))}return t}function OE(n){const t=n.nodeName.toLowerCase();let e=null;return t==="ol"?e=Ki("number",n.start):t==="ul"&&(e=(function(r){if(r.getAttribute("__lexicallisttype")==="check"||r.classList.contains("contains-task-list")||r.getAttribute("data-is-checklist")==="1")return!0;for(const i of r.childNodes)if(Et(i)&&i.hasAttribute("aria-checked"))return!0;return!1})(n)?Ki("check"):Ki("bullet")),{after:C5,node:e}}const v5={ol:"number",ul:"bullet"};function Ki(n="number",t=1){return Lt(new id(n,t))}function It(n){return n instanceof id}function ay(n,t){const e={};for(const r of n){const i=t(r);i&&(e[i]?e[i].push(r):e[i]=[r])}return e}function Nw(n){const t=ay(n,e=>e.type);return{element:t.element||[],multilineElement:t["multiline-element"]||[],textFormat:t["text-format"]||[],textMatch:t["text-match"]||[]}}const Sh=/[!-/:-@[-`{-~\s]/,x5=/^\s{0,3}$/;function cy(n){if(!mn(n))return!1;const t=n.getFirstChild();return t==null||n.getChildrenSize()===1&&ae(t)&&x5.test(t.getTextContent())}function S5(n,t,e,r){for(const i of t){if(!i.export)continue;const o=i.export(n,s=>Eh(s,e,r));if(o!=null)return o}return G(n)?Eh(n,e,r):ot(n)?n.getTextContent():null}function Eh(n,t,e,r,i){const o=[],s=n.getChildren();r||(r=[]),i||(i=[]);e:for(const l of s){for(const c of e){if(!c.export)continue;const u=c.export(l,d=>Eh(d,t,e,r,[...i,...r]),(d,h)=>RE(d,h,t,r,i));if(u!=null){o.push(u);continue e}}Dt(l)?o.push(`
44
- `):ae(l)?o.push(RE(l,l.getTextContent(),t,r,i)):G(l)?o.push(Eh(l,t,e,r,i)):ot(l)&&o.push(l.getTextContent())}return o.join("")}function RE(n,t,e,r,i){let o=n.getFormat()===0?t:(function(g){return g.replace(/^\s+|\s+$/g,p=>[...p].map(m=>"&#"+m.codePointAt(0)+";").join(""))})(t);n.hasFormat("code")||(o=o.replace(/([*_`~\\])/g,"\\$1"));let s="",l="",c="";const u=PE(n,!0),d=PE(n,!1),h=new Set;for(const g of e){const p=g.format[0],m=g.tag;pf(n,p)&&!h.has(p)&&(h.add(p),pf(u,p)&&r.find(y=>y.tag===m)||(r.push({format:p,tag:m}),s+=m))}for(let g=0;g<r.length;g++){const p=pf(n,r[g].format),m=pf(d,r[g].format);if(p&&m)continue;const y=[...r];for(;y.length>g;){const w=y.pop();i&&w&&i.find(v=>v.tag===w.tag)||(w&&typeof w.tag=="string"&&(p?m||(c+=w.tag):l+=w.tag),r.pop())}break}return o=s+o+c,l+o}function PE(n,t){let e=t?n.getPreviousSibling():n.getNextSibling();if(!e){const r=n.getParentOrThrow();r.isInline()&&(e=t?r.getPreviousSibling():r.getNextSibling())}for(;e;){if(G(e)){if(!e.isInline())break;const r=t?e.getLastDescendant():e.getFirstDescendant();if(ae(r))return r;e=t?e.getPreviousSibling():e.getNextSibling()}if(ae(e))return e;if(!G(e))return null}return null}function pf(n,t){return ae(n)&&n.hasFormat(t)}function E5(n,t){const e=(function(i,o){const s=i.match(o.openTagsRegExp);if(s==null)return null;for(const l of s){const c=l.replace(/^\s/,""),u=o.fullMatchRegExpByTag[c];if(u==null)continue;const d=i.match(u),h=o.transformersByTag[c];if(d!=null&&h!=null){if(h.intraword!==!1)return d;const{index:g=0}=d,p=i[g-1],m=i[g+d[0].length];if((!p||Sh.test(p))&&(!m||Sh.test(m)))return d}}return null})(n.getTextContent(),t);if(!e)return null;const r=e.index||0;return{endIndex:r+e[0].length,match:e,startIndex:r,transformer:t.transformersByTag[e[1]]}}function Qs(n){return ae(n)&&!n.hasFormat("code")}function Vs(n,t,e){let r=E5(n,t),i=(function(s,l){const c=s;let u,d,h,g;for(const p of l){if(!p.replace||!p.importRegExp)continue;const m=c.getTextContent().match(p.importRegExp);if(!m)continue;const y=m.index||0,w=p.getEndIndex?p.getEndIndex(c,m):y+m[0].length;w!==!1&&(u===void 0||d===void 0||y<u&&(w>d||w<=u))&&(u=y,d=w,h=p,g=m)}return u===void 0||d===void 0||h===void 0||g===void 0?null:{endIndex:d,match:g,startIndex:u,transformer:h}})(n,e);if(r&&i&&(r.startIndex<=i.startIndex&&r.endIndex>=i.endIndex||i.startIndex>r.endIndex?i=null:r=null),r){const s=(function(l,c,u,d,h){const g=l.getTextContent();let p,m,y;if(h[0]===g?p=l:c===0?[p,m]=l.splitText(u):[y,p,m]=l.splitText(c,u),p.setTextContent(h[2]),d)for(const w of d.format)p.hasFormat(w)||p.toggleFormat(w);return{nodeAfter:m,nodeBefore:y,transformedNode:p}})(n,r.startIndex,r.endIndex,r.transformer,r.match);Qs(s.nodeAfter)&&Vs(s.nodeAfter,t,e),Qs(s.nodeBefore)&&Vs(s.nodeBefore,t,e),Qs(s.transformedNode)&&Vs(s.transformedNode,t,e)}else if(i){const s=(function(l,c,u,d,h){let g,p,m;return c===0?[g,p]=l.splitText(u):[m,g,p]=l.splitText(c,u),d.replace?{nodeAfter:p,nodeBefore:m,transformedNode:d.replace(g,h)||void 0}:null})(n,i.startIndex,i.endIndex,i.transformer,i.match);if(!s)return;Qs(s.nodeAfter)&&Vs(s.nodeAfter,t,e),Qs(s.nodeBefore)&&Vs(s.nodeBefore,t,e),Qs(s.transformedNode)&&Vs(s.transformedNode,t,e)}const o=n.getTextContent().replace(/\\([*_`~\\])/g,"$1").replace(/&#(\d+);/g,(s,l)=>String.fromCodePoint(l));n.setTextContent(o)}function k5(n,t=!1){const e=Nw(n),r=(function(i){const o={},s={},l=[],c="(?<![\\\\])";for(const u of i){const{tag:d}=u;o[d]=u;const h=d.replace(/(\*|\^|\+)/g,"\\$1");l.push(h),d.length===1?s[d]=d==="`"?new RegExp("(?<![\\\\`])(`)((?:\\\\`|[^`])+?)(`)(?!`)"):new RegExp(`(?<![\\\\${h}])(${h})((\\\\${h})?.*?[^${h}\\s](\\\\${h})?)((?<!\\\\)|(?<=\\\\\\\\))(${h})(?![\\\\${h}])`):s[d]=new RegExp(`(?<!\\\\)(${h})((\\\\${h})?.*?[^\\s](\\\\${h})?)((?<!\\\\)|(?<=\\\\\\\\))(${h})(?!\\\\)`)}return{fullMatchRegExpByTag:s,openTagsRegExp:new RegExp(`${c}(${l.join("|")})`,"g"),transformersByTag:o}})(e.textFormat);return(i,o)=>{const s=i.split(`
45
- `),l=s.length,c=o||Re();c.clear();for(let d=0;d<l;d++){const h=s[d],[g,p]=T5(s,d,e.multilineElement,c);g?d=p:_5(h,c,e.element,r,e.textMatch,t)}const u=c.getChildren();for(const d of u)!t&&cy(d)&&c.getChildrenSize()>1&&d.remove();J()!==null&&c.selectStart()}}function T5(n,t,e,r){for(const i of e){const{handleImportAfterStartMatch:o,regExpEnd:s,regExpStart:l,replace:c}=i,u=n[t].match(l);if(!u)continue;if(o){const m=o({lines:n,rootNode:r,startLineIndex:t,startMatch:u,transformer:i});if(m===null)continue;if(m)return m}const d=typeof s=="object"&&"regExp"in s?s.regExp:s,h=s&&typeof s=="object"&&"optional"in s?s.optional:!s;let g=t;const p=n.length;for(;g<p;){const m=d?n[g].match(d):null;if(!m&&(!h||h&&g<p-1)){g++;continue}if(m&&t===g&&m.index===u.index){g++;continue}const y=[];if(m&&t===g)y.push(n[t].slice(u[0].length,-m[0].length));else for(let w=t;w<=g;w++)if(w===t){const v=n[w].slice(u[0].length);y.push(v)}else if(w===g&&m){const v=n[w].slice(0,-m[0].length);y.push(v)}else y.push(n[w]);if(c(r,null,u,m,y,!0)!==!1)return[!0,g];break}}return[!1,t]}function _5(n,t,e,r,i,o){const s=yt(n),l=Ee();l.append(s),t.append(l);for(const{regExp:c,replace:u}of e){const d=n.match(c);if(d&&(s.setTextContent(n.slice(d[0].length)),u(l,[s],d,!0)!==!1))break}if(Vs(s,r,i),l.isAttached()&&n.length>0){const c=l.getPreviousSibling();if(!o&&(mn(c)||_l(c)||It(c))){let u=c;if(It(c)){const d=c.getLastDescendant();u=d==null?null:Te(d,Qn)}u!=null&&u.getTextContentSize()>0&&(u.splice(u.getChildrenSize(),0,[sr(),...l.getChildren()]),l.remove())}}}function N5(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const NI=/^(\s*)(\d{1,})\.\s/,II=/^(\s*)[-*+]\s/,MI=/^(\s*)(?:[-*+]\s)?\s?(\[(\s|x)?\])\s/i,uy=/^(#{1,6})\s/,DI=/^>\s/,LI=/^[ \t]*```([\w-]+)?/,dy=/[ \t]*```$/,I5=/^[ \t]*```[^`]+(?:(?:`{1,2}|`{4,})[^`]+)*```(?:[^`]|$)/,M5=/^(?:\|)(.+)(?:\|)\s?$/,D5=/^(\| ?:?-*:? ?)+\|\s?$/,BE=/^<[a-z_][\w-]*(?:\s[^<>]*)?\/?>/i,FE=/^<\/[a-z_][\w-]*\s*>/i,jE=n=>new RegExp(`(?:${n.source})$`,n.flags),Yc=hT("mdListMarker",{parse:n=>typeof n=="string"&&/^[-*+]$/.test(n)?n:"-"}),OI=n=>(t,e,r,i)=>{const o=n(r);o.append(...e),t.replace(o),i||o.select(0,0)},Iw=n=>(t,e,r,i)=>{const o=t.getPreviousSibling(),s=t.getNextSibling(),l=Fo(n==="check"?r[3]==="x":void 0),c=r[0].trim()[0],u=n!=="bullet"&&n!=="check"||c!==Yc.parse(c)?void 0:c;if(It(s)&&s.getListType()===n){u&&Gp(s,Yc,u);const h=s.getFirstChild();h!==null?h.insertBefore(l):s.append(l),t.remove()}else if(It(o)&&o.getListType()===n)u&&Gp(o,Yc,u),o.append(l),t.remove();else{const h=Ki(n,n==="number"?Number(r[2]):void 0);u&&Gp(h,Yc,u),h.append(l),t.replace(h)}l.append(...e),i||l.select(0,0);const d=(function(h){const g=h.match(/\t/g),p=h.match(/ /g);let m=0;return g&&(m+=g.length),p&&(m+=Math.floor(p.length/4)),m})(r[1]);d&&l.setIndent(d)},Tg=(n,t,e)=>{const r=[],i=n.getChildren();let o=0;for(const s of i)if(Qn(s)){if(s.getChildrenSize()===1){const h=s.getFirstChild();if(It(h)){r.push(Tg(h,t,e+1));continue}}const l=" ".repeat(4*e),c=n.getListType(),u=gT(n,Yc),d=c==="number"?`${n.getStart()+o}. `:c==="check"?`${u} [${s.getChecked()?"x":" "}] `:u+" ";r.push(l+d+t(s)),o++}return r.join(`
46
- `)},RI={dependencies:[$u],export:(n,t)=>{if(!Ui(n))return null;const e=Number(n.getTag().slice(1));return"#".repeat(e)+" "+t(n)},regExp:uy,replace:OI(n=>{const t="h"+n[1].length;return xo(t)}),type:"element"},PI={dependencies:[dg],export:(n,t)=>{if(!_l(n))return null;const e=t(n).split(`
47
- `),r=[];for(const i of e)r.push("> "+i);return r.join(`
48
- `)},regExp:DI,replace:(n,t,e,r)=>{if(r){const o=n.getPreviousSibling();if(_l(o))return o.splice(o.getChildrenSize(),0,[sr(),...t]),void n.remove()}const i=qu();i.append(...t),n.replace(i),r||i.select(0,0)},type:"element"},L5={dependencies:[To],export:n=>{if(!Ir(n))return null;const t=n.getTextContent();return"```"+(n.getLanguage()||"")+(t?`
49
- `+t:"")+"\n```"},regExpEnd:{optional:!0,regExp:dy},regExpStart:LI,replace:(n,t,e,r,i,o)=>{let s,l;if(!t&&i){if(i.length===1)r?(s=Vr(),l=e[1]+i[0]):(s=Vr(e[1]),l=i[0].startsWith(" ")?i[0].slice(1):i[0]);else{if(s=Vr(e[1]),i[0].trim().length===0)for(;i.length>0&&!i[0].length;)i.shift();else i[0]=i[0].startsWith(" ")?i[0].slice(1):i[0];for(;i.length>0&&!i[i.length-1].length;)i.pop();l=i.join(`
50
- `)}const c=yt(l);s.append(c),n.append(s)}else t&&OI(c=>Vr(c?c[1]:void 0))(n,t,e,o)},type:"multiline-element"},O5={dependencies:[id,rd],export:(n,t)=>It(n)?Tg(n,t,0):null,regExp:II,replace:Iw("bullet"),type:"element"},R5={dependencies:[id,rd],export:(n,t)=>It(n)?Tg(n,t,0):null,regExp:MI,replace:Iw("check"),type:"element"},P5={dependencies:[id,rd],export:(n,t)=>It(n)?Tg(n,t,0):null,regExp:NI,replace:Iw("number"),type:"element"},B5={format:["code"],tag:"`",type:"text-format"},F5={format:["highlight"],tag:"==",type:"text-format"},j5={format:["bold","italic"],tag:"***",type:"text-format"},z5={format:["bold","italic"],intraword:!1,tag:"___",type:"text-format"},U5={format:["bold"],tag:"**",type:"text-format"},K5={format:["bold"],intraword:!1,tag:"__",type:"text-format"},W5={format:["strikethrough"],tag:"~~",type:"text-format"},H5={format:["italic"],tag:"*",type:"text-format"},Y5={format:["italic"],intraword:!1,tag:"_",type:"text-format"},Z5={dependencies:[Gl],export:(n,t,e)=>{if(!Nn(n)||tl(n))return null;const r=n.getTitle(),i=t(n);return r?`[${i}](${n.getURL()} "${r}")`:`[${i}](${n.getURL()})`},importRegExp:/(?:\[(.+?)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))/,regExp:/(?:\[(.+?)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))$/,replace:(n,t)=>{const[,e,r,i]=t,o=As(r,{title:i}),s=e.split("[").length-1,l=e.split("]").length-1;let c=e,u="";if(s<l)return;if(s>l){const h=e.split("[");u="["+h[0],c=h.slice(1).join("[")}const d=yt(c);return d.setFormat(n.getFormat()),o.append(d),n.replace(o),u&&o.insertBefore(yt(u)),d},trigger:")",type:"text-match"},G5=[RI,PI,O5,P5],BI=[L5],FI=[B5,j5,z5,U5,K5,F5,H5,Y5,W5],jI=[Z5],_g=[...G5,...BI,...FI,...jI];function zE(n,t,e){const r=e.length;for(let i=t;i>=r;i--){const o=i-r;if(zI(n,o,e,0,r)&&n[o+r]!==" ")return o}return-1}function zI(n,t,e,r,i){for(let o=0;o<i;o++)if(n[t+o]!==e[r+o])return!1;return!0}function J5(n,t=_g){const e=Nw(t),r=ay(e.textFormat,({tag:s})=>s[s.length-1]),i=ay(e.textMatch,({trigger:s})=>s);for(const s of t){const l=s.type;if(l==="element"||l==="text-match"||l==="multiline-element"){const c=s.dependencies;for(const u of c)n.hasNode(u)||N5(173,u.getType())}}const o=(s,l,c)=>{(function(u,d,h,g){const p=u.getParent();if(!qn(p)||u.getFirstChild()!==d)return!1;const m=d.getTextContent();if(m[h-1]!==" ")return!1;for(const{regExp:y,replace:w}of g){const v=m.match(y);if(v&&v[0].length===(v[0].endsWith(" ")?h:h-1)){const C=d.getNextSiblings(),[x,_]=d.splitText(h);if(w(u,_?[_,...C]:C,v,!1)!==!1)return x.remove(),!0}}return!1})(s,l,c,e.element)||(function(u,d,h,g){const p=u.getParent();if(!qn(p)||u.getFirstChild()!==d)return!1;const m=d.getTextContent();if(m[h-1]!==" ")return!1;for(const{regExpStart:y,replace:w,regExpEnd:v}of g){if(v&&!("optional"in v)||v&&"optional"in v&&!v.optional)continue;const C=m.match(y);if(C&&C[0].length===(C[0].endsWith(" ")?h:h-1)){const x=d.getNextSiblings(),[_,N]=d.splitText(h);if(w(u,N?[N,...x]:x,C,null,null,!1)!==!1)return _.remove(),!0}}return!1})(s,l,c,e.multilineElement)||(function(u,d,h){let g=u.getTextContent();const p=h[g[d-1]];if(p==null)return!1;d<g.length&&(g=g.slice(0,d));for(const m of p){if(!m.replace||!m.regExp)continue;const y=g.match(m.regExp);if(y===null)continue;const w=y.index||0,v=w+y[0].length;let C;return w===0?[C]=u.splitText(v):[,C]=u.splitText(w,v),C.selectNext(0,0),m.replace(C,y),!0}return!1})(l,c,i)||(function(u,d,h){const g=u.getTextContent(),p=d-1,m=g[p],y=h[m];if(!y)return!1;for(const w of y){const{tag:v}=w,C=v.length,x=p-C+1;if(C>1&&!zI(g,x,v,0,C)||g[x-1]===" ")continue;const _=g[p+1];if(w.intraword===!1&&_&&!Sh.test(_))continue;const N=u;let T=N,k=zE(g,x,v),M=T;for(;k<0&&(M=M.getPreviousSibling())&&!Dt(M);)if(ae(M)){if(M.hasFormat("code"))continue;const fe=M.getTextContent();T=M,k=zE(fe,fe.length,v)}if(k<0||T===N&&k+C===x)continue;const I=T.getTextContent();if(k>0&&I[k-1]===m)continue;const R=I[k-1];if(w.intraword===!1&&R&&!Sh.test(R))continue;const B=N.getTextContent(),U=B.slice(0,x)+B.slice(p+1);N.setTextContent(U);const j=T===N?U:I;T.setTextContent(j.slice(0,k)+j.slice(k+C));const K=J(),V=zo();Ve(V);const ue=p-C*(T===N?2:1)+1;V.anchor.set(T.__key,k,"text"),V.focus.set(N.__key,ue,"text");for(const fe of w.format)V.hasFormat(fe)||V.formatText(fe);V.anchor.set(V.focus.key,V.focus.offset,V.focus.type);for(const fe of w.format)V.hasFormat(fe)&&V.toggleFormat(fe);return Y(K)&&(V.format=K.format),!0}})(l,c,r)};return n.registerUpdateListener(({tags:s,dirtyLeaves:l,editorState:c,prevEditorState:u})=>{if(s.has(Pu)||s.has(ml)||n.isComposing())return;const d=c.read(J),h=u.read(J);if(!Y(h)||!Y(d)||!d.isCollapsed()||d.is(h))return;const g=d.anchor.key,p=d.anchor.offset,m=c._nodeMap.get(g);!ae(m)||!l.has(g)||p!==1&&p>h.anchor.offset+1||n.update(()=>{if(!Qs(m))return;const y=m.getParent();y===null||Ir(y)||o(y,m,d.anchor.offset)})})}function UI(n,t=_g,e,r=!1,i=!1){const o=r?n:(function(s,l=!1){const c=s.split(`
51
- `);let u=!1;const d=[];for(let h=0;h<c.length;h++){const g=c[h].trimEnd(),p=d[d.length-1];I5.test(g)?d.push(g):LI.test(g)||dy.test(g)?(u=!u,d.push(g)):u||g===""||p===""||!p||uy.test(p)||uy.test(g)||DI.test(g)||NI.test(g)||II.test(g)||MI.test(g)||M5.test(g)||D5.test(g)||!l||BE.test(g)||FE.test(g)||jE(FE).test(p)||jE(BE).test(p)||dy.test(p)?d.push(g):d[d.length-1]=p+" "+g.trimStart()}return d.join(`
52
- `)})(n,i);return k5(t,r)(o,e)}function KI(n=_g,t,e=!1){return(function(i,o=!1){const s=Nw(i),l=[...s.multilineElement,...s.element],c=!o,u=s.textFormat.filter(d=>d.format.length===1).sort((d,h)=>Number(d.format.includes("code"))-Number(h.format.includes("code")));return d=>{const h=[],g=(d||Re()).getChildren();for(let p=0;p<g.length;p++){const m=g[p],y=S5(m,l,u,s.textMatch);y!=null&&h.push(c&&p>0&&!cy(m)&&!cy(g[p-1])?`
53
- `.concat(y):y)}return h.join(`
54
- `)}})(n,e)(t)}function Q5({children:n}){return yr.createPortal(A.jsx("div",{className:"FlashMessage__overlay",role:"dialog",children:A.jsx("p",{className:"FlashMessage__alert",role:"alert",children:n})}),document.body)}const WI=E.createContext(void 0),Rm={},V5=1e3,X5=({children:n})=>{const[t,e]=E.useState(Rm),r=E.useCallback((i,o)=>e(i?{duration:o,message:i}:Rm),[]);return E.useEffect(()=>{if(t.message){const i=setTimeout(()=>e(Rm),t.duration??V5);return()=>clearTimeout(i)}},[t]),A.jsxs(WI.Provider,{value:r,children:[n,t.message&&A.jsx(Q5,{children:t.message})]})},q5=()=>{const n=E.useContext(WI);if(!n)throw new Error("Missing FlashMessageContext");return n};function $5(){return q5()}function e9({onClose:n,children:t,title:e,size:r}){return A.jsx(L.Modal,{className:"doc-space-editor-wrapper",size:r,centered:!0,opened:!0,onClose:n,title:e,zIndex:999,children:t})}function Ng(n){const[t,e]=E.useState(null),r=E.useCallback(()=>{e(null)},[]),i=E.useMemo(()=>{if(t===null)return null;const{title:s,content:l,closeOnClickOutside:c}=t;return A.jsx(e9,{onClose:r,title:s,size:"md",closeOnClickOutside:c,children:l})},[t,r]),o=E.useCallback((s,l,c=!1)=>{e({closeOnClickOutside:c,content:l(r),title:s})},[r]);return[i,o]}function fy({"data-test-id":n,children:t,className:e,onClick:r,disabled:i,small:o,title:s}){return A.jsx(L.Button,{onClick:r,disabled:i,variant:"filled",children:t})}async function*HI(n){let t=!1;for(;!t;){const e=await n.read(),{value:r}=e;r!==void 0&&(yield r),t=e.done}}async function t9(n){const t=[];for await(const r of HI(n))for(let i=0;i<r.length;i+=32768)t.push(String.fromCharCode(...r.subarray(i,i+32768)));return t.join("")}async function n9(n){const t=new CompressionStream("gzip"),e=t.writable.getWriter(),[,r]=await Promise.all([e.write(new TextEncoder().encode(JSON.stringify(n))).then(()=>e.close()),t9(t.readable.getReader())]);return`#doc=${btoa(r).replace(/\//g,"_").replace(/\+/g,"-").replace(/=+$/,"")}`}async function r9(n){const t=/^#doc=(.*)$/.exec(n);if(!t)return null;const e=new DecompressionStream("gzip"),r=e.writable.getWriter(),i=atob(t[1].replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(i.length);for(let c=0;c<i.length;c++)o[c]=i.charCodeAt(c);const s=r.write(o).then(()=>r.close()),l=[];for await(const c of HI(e.readable.pipeThrough(new TextDecoderStream).getReader()))l.push(c);return await s,JSON.parse(l.join(""))}const Mw=/^(\d+(?:\.\d+)?)px$/,Wi={BOTH:3,NO_STATUS:0,ROW:1};class mc extends At{constructor(e=Wi.NO_STATUS,r=1,i,o){super(o);F(this,"__colSpan");F(this,"__rowSpan");F(this,"__headerState");F(this,"__width");F(this,"__backgroundColor");F(this,"__verticalAlign");this.__colSpan=r,this.__rowSpan=1,this.__headerState=e,this.__width=i,this.__backgroundColor=null,this.__verticalAlign=void 0}static getType(){return"tablecell"}static clone(e){return new mc(e.__headerState,e.__colSpan,e.__width,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__rowSpan=e.__rowSpan,this.__backgroundColor=e.__backgroundColor,this.__verticalAlign=e.__verticalAlign}static importDOM(){return{td:e=>({conversion:UE,priority:0}),th:e=>({conversion:UE,priority:0})}}static importJSON(e){return Dw().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setHeaderStyles(e.headerState).setColSpan(e.colSpan||1).setRowSpan(e.rowSpan||1).setWidth(e.width||void 0).setBackgroundColor(e.backgroundColor||null).setVerticalAlign(e.verticalAlign||void 0)}createDOM(e){const r=document.createElement(this.getTag());return this.__width&&(r.style.width=`${this.__width}px`),this.__colSpan>1&&(r.colSpan=this.__colSpan),this.__rowSpan>1&&(r.rowSpan=this.__rowSpan),this.__backgroundColor!==null&&(r.style.backgroundColor=this.__backgroundColor),hy(this.__verticalAlign)&&(r.style.verticalAlign=this.__verticalAlign),ct(r,e.theme.tableCell,this.hasHeader()&&e.theme.tableCellHeader),r}exportDOM(e){const r=super.exportDOM(e);if(Et(r.element)){const i=r.element;i.setAttribute("data-temporary-table-cell-lexical-key",this.getKey()),i.style.border="1px solid black",this.__colSpan>1&&(i.colSpan=this.__colSpan),this.__rowSpan>1&&(i.rowSpan=this.__rowSpan),i.style.width=`${this.getWidth()||75}px`,i.style.verticalAlign=this.getVerticalAlign()||"top",i.style.textAlign="start",this.__backgroundColor===null&&this.hasHeader()&&(i.style.backgroundColor="#f2f3f5")}return r}exportJSON(){return{...super.exportJSON(),...hy(this.__verticalAlign)&&{verticalAlign:this.__verticalAlign},backgroundColor:this.getBackgroundColor(),colSpan:this.__colSpan,headerState:this.__headerState,rowSpan:this.__rowSpan,width:this.getWidth()}}getColSpan(){return this.getLatest().__colSpan}setColSpan(e){const r=this.getWritable();return r.__colSpan=e,r}getRowSpan(){return this.getLatest().__rowSpan}setRowSpan(e){const r=this.getWritable();return r.__rowSpan=e,r}getTag(){return this.hasHeader()?"th":"td"}setHeaderStyles(e,r=Wi.BOTH){const i=this.getWritable();return i.__headerState=e&r|i.__headerState&~r,i}getHeaderStyles(){return this.getLatest().__headerState}setWidth(e){const r=this.getWritable();return r.__width=e,r}getWidth(){return this.getLatest().__width}getBackgroundColor(){return this.getLatest().__backgroundColor}setBackgroundColor(e){const r=this.getWritable();return r.__backgroundColor=e,r}getVerticalAlign(){return this.getLatest().__verticalAlign}setVerticalAlign(e){const r=this.getWritable();return r.__verticalAlign=e||void 0,r}toggleHeaderStyle(e){const r=this.getWritable();return(r.__headerState&e)===e?r.__headerState-=e:r.__headerState+=e,r}hasHeaderState(e){return(this.getHeaderStyles()&e)===e}hasHeader(){return this.getLatest().__headerState!==Wi.NO_STATUS}updateDOM(e){return e.__headerState!==this.__headerState||e.__width!==this.__width||e.__colSpan!==this.__colSpan||e.__rowSpan!==this.__rowSpan||e.__backgroundColor!==this.__backgroundColor||e.__verticalAlign!==this.__verticalAlign}isShadowRoot(){return!0}collapseAtStart(){return!0}canBeEmpty(){return!1}canIndent(){return!1}}function hy(n){return n==="middle"||n==="bottom"}function UE(n){const t=n,e=n.nodeName.toLowerCase();let r;Mw.test(t.style.width)&&(r=parseFloat(t.style.width));const i=Dw(e==="th"?Wi.ROW:Wi.NO_STATUS,t.colSpan,r);i.__rowSpan=t.rowSpan;const o=t.style.backgroundColor;o!==""&&(i.__backgroundColor=o);const s=t.style.verticalAlign;hy(s)&&(i.__verticalAlign=s);const l=t.style,c=(l&&l.textDecoration||"").split(" "),u=l.fontWeight==="700"||l.fontWeight==="bold",d=c.includes("line-through"),h=l.fontStyle==="italic",g=c.includes("underline");return{after:p=>{const m=[];let y=null;const w=()=>{if(y){const v=y.getFirstChild();Dt(v)&&y.getChildrenSize()===1&&v.remove()}};for(const v of p)Ej(v)||ae(v)||Dt(v)?(ae(v)&&(u&&v.toggleFormat("bold"),d&&v.toggleFormat("strikethrough"),h&&v.toggleFormat("italic"),g&&v.toggleFormat("underline")),y?y.append(v):(y=Ee().append(v),m.push(y))):(m.push(v),w(),y=null);return w(),m.length===0&&m.push(Ee()),m},node:i}}function Dw(n=Wi.NO_STATUS,t=1,e){return Lt(new mc(n,t,e))}function ir(n){return n instanceof mc}function Cn(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const i of t)r.append("v",i);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}class od extends At{constructor(e,r){super(r);F(this,"__height");this.__height=e}static getType(){return"tablerow"}static clone(e){return new od(e.__height,e.__key)}static importDOM(){return{tr:e=>({conversion:i9,priority:0})}}static importJSON(e){return Lw().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setHeight(e.height)}exportJSON(){const e=this.getHeight();return{...super.exportJSON(),...e===void 0?void 0:{height:e}}}createDOM(e){const r=document.createElement("tr");return this.__height&&(r.style.height=`${this.__height}px`),ct(r,e.theme.tableRow),r}extractWithChild(e,r,i){return i==="html"}isShadowRoot(){return!0}setHeight(e){const r=this.getWritable();return r.__height=e,r}getHeight(){return this.getLatest().__height}updateDOM(e){return e.__height!==this.__height}canBeEmpty(){return!1}canIndent(){return!1}}function i9(n){const t=n;let e;return Mw.test(t.style.height)&&(e=parseFloat(t.style.height)),{after:r=>_1(r,ir),node:Lw(e)}}function Lw(n){return Lt(new od(n))}function Ds(n){return n instanceof od}const YI=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,o9=YI&&"documentMode"in document?document.documentMode:null;YI&&"InputEvent"in window&&!o9&&new window.InputEvent("input");function s9(n,t,e){const[r,i,o]=ZI(n,t,e);return i===null&&Cn(207),o===null&&Cn(208),[r,i,o]}function ZI(n,t,e){const r=[];let i=null,o=null;function s(c){let u=r[c];return u===void 0&&(r[c]=u=[]),u}const l=n.getChildren();for(let c=0;c<l.length;c++){const u=l[c];Ds(u)||Cn(209);const d=s(c);for(let h=u.getFirstChild(),g=0;h!=null;h=h.getNextSibling()){for(ir(h)||Cn(147);d[g]!==void 0;)g++;const p={cell:h,startColumn:g,startRow:c},{__rowSpan:m,__colSpan:y}=h;for(let w=0;w<m&&!(c+w>=l.length);w++){const v=s(c+w);for(let C=0;C<y;C++)v[g+C]=p}t!==null&&i===null&&t.is(h)&&(i=p),e!==null&&o===null&&e.is(h)&&(o=p)}}return[r,i,o]}function l9(n){let t;if(n instanceof mc)t=n;else if("__type"in n){const i=Te(n,ir);ir(i)||Cn(148),t=i}else{const i=Te(n.getNode(),ir);ir(i)||Cn(148),t=i}const e=t.getParent();Ds(e)||Cn(149);const r=e.getParent();return ou(r)||Cn(210),[t,e,r]}function a9(n,t,e){let r,i=Math.min(t.startColumn,e.startColumn),o=Math.min(t.startRow,e.startRow),s=Math.max(t.startColumn+t.cell.__colSpan-1,e.startColumn+e.cell.__colSpan-1),l=Math.max(t.startRow+t.cell.__rowSpan-1,e.startRow+e.cell.__rowSpan-1);do{r=!1;for(let c=0;c<n.length;c++)for(let u=0;u<n[0].length;u++){const d=n[c][u];if(!d)continue;const h=d.startColumn+d.cell.__colSpan-1,g=d.startRow+d.cell.__rowSpan-1,p=d.startColumn<=s&&h>=i,m=d.startRow<=l&&g>=o;if(p&&m){const y=Math.min(i,d.startColumn),w=Math.max(s,h),v=Math.min(o,d.startRow),C=Math.max(l,g);y===i&&w===s&&v===o&&C===l||(i=y,s=w,o=v,l=C,r=!0)}}}while(r);return{maxColumn:s,maxRow:l,minColumn:i,minRow:o}}function KE(n){const[t,,e]=l9(n),r=e.getChildren(),i=r.length,o=r[0].getChildren().length,s=new Array(i);for(let l=0;l<i;l++)s[l]=new Array(o);for(let l=0;l<i;l++){const c=r[l].getChildren();let u=0;for(let d=0;d<c.length;d++){for(;s[l][u];)u++;const h=c[d],g=h.__rowSpan||1,p=h.__colSpan||1;for(let m=0;m<g;m++)for(let y=0;y<p;y++)s[l+m][u+y]=h;if(t===h)return{colSpan:p,columnIndex:u,rowIndex:l,rowSpan:g};u+=p}}return null}function WE(n){const[[t,e,r,i],[o,s,l,c]]=["anchor","focus"].map(u=>{const d=n[u].getNode(),h=Te(d,ir);ir(h)||Cn(238,u,d.getKey(),d.getType());const g=h.getParent();Ds(g)||Cn(239,u);const p=g.getParent();return ou(p)||Cn(240,u),[d,h,g,p]});return i.is(c)||Cn(241),{anchorCell:e,anchorNode:t,anchorRow:r,anchorTable:i,focusCell:s,focusNode:o,focusRow:l,focusTable:c}}class Ow{constructor(t,e,r){F(this,"tableKey");F(this,"anchor");F(this,"focus");F(this,"_cachedNodes");F(this,"dirty");this.anchor=e,this.focus=r,e._selection=this,r._selection=this,this._cachedNodes=null,this.dirty=!1,this.tableKey=t}getStartEndPoints(){return[this.anchor,this.focus]}isValid(){if(this.tableKey==="root"||this.anchor.key==="root"||this.anchor.type!=="element"||this.focus.key==="root"||this.focus.type!=="element")return!1;const t=ve(this.tableKey),e=ve(this.anchor.key),r=ve(this.focus.key);return t!==null&&e!==null&&r!==null}isBackward(){return this.focus.isBefore(this.anchor)}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t}is(t){return Rw(t)&&this.tableKey===t.tableKey&&this.anchor.is(t.anchor)&&this.focus.is(t.focus)}set(t,e,r){this.dirty=this.dirty||t!==this.tableKey||e!==this.anchor.key||r!==this.focus.key,this.tableKey=t,this.anchor.key=e,this.focus.key=r,this._cachedNodes=null}clone(){return new Ow(this.tableKey,Rn(this.anchor.key,this.anchor.offset,this.anchor.type),Rn(this.focus.key,this.focus.offset,this.focus.type))}isCollapsed(){return!1}extract(){return this.getNodes()}insertRawText(t){}insertText(){}hasFormat(t){let e=0;this.getNodes().filter(ir).forEach(i=>{const o=i.getFirstChild();mn(o)&&(e|=o.getTextFormat())});const r=No[t];return(e&r)!==0}insertNodes(t){const e=this.focus.getNode();G(e)||Cn(151),ws(e.select(0,e.getChildrenSize())).insertNodes(t)}getShape(){const{anchorCell:t,focusCell:e}=WE(this),r=KE(t);r===null&&Cn(153);const i=KE(e);i===null&&Cn(155);const o=Math.min(r.columnIndex,i.columnIndex),s=Math.max(r.columnIndex+r.colSpan-1,i.columnIndex+i.colSpan-1),l=Math.min(r.rowIndex,i.rowIndex),c=Math.max(r.rowIndex+r.rowSpan-1,i.rowIndex+i.rowSpan-1);return{fromX:Math.min(o,s),fromY:Math.min(l,c),toX:Math.max(o,s),toY:Math.max(l,c)}}getNodes(){if(!this.isValid())return[];const t=this._cachedNodes;if(t!==null)return t;const{anchorTable:e,anchorCell:r,focusCell:i}=WE(this),o=i.getParents()[1];if(o!==e){if(e.isParentOf(i)){const w=o.getParent();w==null&&Cn(159),this.set(this.tableKey,i.getKey(),w.getKey())}else{const w=e.getParent();w==null&&Cn(158),this.set(this.tableKey,w.getKey(),i.getKey())}return this.getNodes()}const[s,l,c]=s9(e,r,i),{minColumn:u,maxColumn:d,minRow:h,maxRow:g}=a9(s,l,c),p=new Map([[e.getKey(),e]]);let m=null;for(let w=h;w<=g;w++)for(let v=u;v<=d;v++){const{cell:C}=s[w][v],x=C.getParent();Ds(x)||Cn(160),x!==m&&(p.set(x.getKey(),x),m=x),p.has(C.getKey())||c9(C,_=>{p.set(_.getKey(),_)})}const y=Array.from(p.values());return zl()||(this._cachedNodes=y),y}getTextContent(){const t=this.getNodes().filter(r=>ir(r));let e="";for(let r=0;r<t.length;r++){const i=t[r],o=i.__parent,s=(t[r+1]||{}).__parent;e+=i.getTextContent()+(s!==o?`
55
- `:" ")}return e}}function Rw(n){return n instanceof Ow}function c9(n,t){const e=[[n]];for(let r=e.at(-1);r!==void 0&&e.length>0;r=e.at(-1)){const i=r.pop();i===void 0?e.pop():t(i)!==!1&&G(i)&&e.push(i.getChildren())}}function Fc(n){return Et(n)&&n.nodeName==="TABLE"}function u9(n,t){for(let e=t,r=null;e!==null;e=e.getParent()){if(n.is(e))return r;ir(e)&&(r=e)}return null}function d9(n,t,e){return u9(n,Fe(t,e))}function HE(n,t,e){if(!t.theme.tableAlignment)return;const r=[],i=[];for(const o of["center","right"]){const s=t.theme.tableAlignment[o];s&&(o===e?i:r).push(s)}_r(n,...r),ct(n,...i)}const f9=new WeakSet;function YE(n=Wl()){return f9.has(n)}class sd extends At{constructor(e){super(e);F(this,"__rowStriping");F(this,"__frozenColumnCount");F(this,"__frozenRowCount");F(this,"__colWidths");this.__rowStriping=!1,this.__frozenColumnCount=0,this.__frozenRowCount=0,this.__colWidths=void 0}static getType(){return"table"}getColWidths(){return this.getLatest().__colWidths}setColWidths(e){const r=this.getWritable();return r.__colWidths=e,r}static clone(e){return new sd(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__colWidths=e.__colWidths,this.__rowStriping=e.__rowStriping,this.__frozenColumnCount=e.__frozenColumnCount,this.__frozenRowCount=e.__frozenRowCount}static importDOM(){return{table:e=>({conversion:h9,priority:1})}}static importJSON(e){return Pw().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setRowStriping(e.rowStriping||!1).setFrozenColumns(e.frozenColumnCount||0).setFrozenRows(e.frozenRowCount||0).setColWidths(e.colWidths)}exportJSON(){return{...super.exportJSON(),colWidths:this.getColWidths(),frozenColumnCount:this.__frozenColumnCount?this.__frozenColumnCount:void 0,frozenRowCount:this.__frozenRowCount?this.__frozenRowCount:void 0,rowStriping:this.__rowStriping?this.__rowStriping:void 0}}extractWithChild(e,r,i){return i==="html"}getDOMSlot(e){const r=Fc(e)?e:e.querySelector("table");return Fc(r)||Cn(229),super.getDOMSlot(e).withElement(r).withAfter(r.querySelector("colgroup"))}createDOM(e,r){const i=document.createElement("table");this.__style&&(i.style.cssText=this.__style);const o=document.createElement("colgroup");if(i.appendChild(o),a1(o),ct(i,e.theme.table),this.updateTableElement(null,i,e),YE(r)){const s=document.createElement("div"),l=e.theme.tableScrollableWrapper;return l?ct(s,l):s.style.cssText="overflow-x: auto;",s.appendChild(i),this.updateTableWrapper(null,s,i,e),s}return i}updateTableWrapper(e,r,i,o){this.__frozenColumnCount!==(e?e.__frozenColumnCount:0)&&(function(s,l,c,u){u>0?(ct(s,c.theme.tableFrozenColumn),l.setAttribute("data-lexical-frozen-column","true")):(_r(s,c.theme.tableFrozenColumn),l.removeAttribute("data-lexical-frozen-column"))})(r,i,o,this.__frozenColumnCount),this.__frozenRowCount!==(e?e.__frozenRowCount:0)&&(function(s,l,c,u){u>0?(ct(s,c.theme.tableFrozenRow),l.setAttribute("data-lexical-frozen-row","true")):(_r(s,c.theme.tableFrozenRow),l.removeAttribute("data-lexical-frozen-row"))})(r,i,o,this.__frozenRowCount)}updateTableElement(e,r,i){this.__style!==(e?e.__style:"")&&(r.style.cssText=this.__style),this.__rowStriping!==(!!e&&e.__rowStriping)&&(function(o,s,l){l?(ct(o,s.theme.tableRowStriping),o.setAttribute("data-lexical-row-striping","true")):(_r(o,s.theme.tableRowStriping),o.removeAttribute("data-lexical-row-striping"))})(r,i,this.__rowStriping),(function(o,s,l,c){const u=o.querySelector("colgroup");if(!u)return;const d=[];for(let h=0;h<l;h++){const g=document.createElement("col"),p=c&&c[h];p&&(g.style.width=`${p}px`),d.push(g)}u.replaceChildren(...d)})(r,0,this.getColumnCount(),this.getColWidths()),HE(r,i,this.getFormatType())}updateDOM(e,r,i){const o=this.getDOMSlot(r).element;return r===o===YE()||(Et(s=r)&&s.nodeName==="DIV"&&this.updateTableWrapper(e,r,o,i),this.updateTableElement(e,o,i),!1);var s}exportDOM(e){const r=super.exportDOM(e),{element:i}=r;return{after:o=>{if(r.after&&(o=r.after(o)),!Fc(o)&&Et(o)&&(o=o.querySelector("table")),!Fc(o))return null;HE(o,e._config,this.getFormatType());const[s]=ZI(this,null,null),l=new Map;for(const h of s)for(const g of h){const p=g.cell.getKey();l.has(p)||l.set(p,{colSpan:g.cell.getColSpan(),startColumn:g.startColumn})}const c=new Set;for(const h of o.querySelectorAll(":scope > tr > [data-temporary-table-cell-lexical-key]")){const g=h.getAttribute("data-temporary-table-cell-lexical-key");if(g){const p=l.get(g);if(h.removeAttribute("data-temporary-table-cell-lexical-key"),p){l.delete(g);for(let m=0;m<p.colSpan;m++)c.add(m+p.startColumn)}}}const u=o.querySelector(":scope > colgroup");if(u){const h=Array.from(o.querySelectorAll(":scope > colgroup > col")).filter((g,p)=>c.has(p));u.replaceChildren(...h)}const d=o.querySelectorAll(":scope > tr");if(d.length>0){const h=document.createElement("tbody");for(const g of d)h.appendChild(g);o.append(h)}return o},element:!Fc(i)&&Et(i)?i.querySelector("table"):i}}canBeEmpty(){return!1}isShadowRoot(){return!0}getCordsFromCellNode(e,r){const{rows:i,domRows:o}=r;for(let s=0;s<i;s++){const l=o[s];if(l!=null)for(let c=0;c<l.length;c++){const u=l[c];if(u==null)continue;const{elem:d}=u,h=d9(this,d);if(h!==null&&e.is(h))return{x:c,y:s}}}throw new Error("Cell not found in table.")}getDOMCellFromCords(e,r,i){const{domRows:o}=i,s=o[r];if(s==null)return null;const l=s[e<s.length?e:s.length-1];return l??null}getDOMCellFromCordsOrThrow(e,r,i){const o=this.getDOMCellFromCords(e,r,i);if(!o)throw new Error("Cell not found at cords.");return o}getCellNodeFromCords(e,r,i){const o=this.getDOMCellFromCords(e,r,i);if(o==null)return null;const s=Fe(o.elem);return ir(s)?s:null}getCellNodeFromCordsOrThrow(e,r,i){const o=this.getCellNodeFromCords(e,r,i);if(!o)throw new Error("Node at cords not TableCellNode.");return o}getRowStriping(){return!!this.getLatest().__rowStriping}setRowStriping(e){const r=this.getWritable();return r.__rowStriping=e,r}setFrozenColumns(e){const r=this.getWritable();return r.__frozenColumnCount=e,r}getFrozenColumns(){return this.getLatest().__frozenColumnCount}setFrozenRows(e){const r=this.getWritable();return r.__frozenRowCount=e,r}getFrozenRows(){return this.getLatest().__frozenRowCount}canSelectBefore(){return!0}canIndent(){return!1}getColumnCount(){const e=this.getFirstChild();if(!e)return 0;let r=0;return e.getChildren().forEach(i=>{ir(i)&&(r+=i.getColSpan())}),r}}function h9(n){const t=Pw();n.hasAttribute("data-lexical-row-striping")&&t.setRowStriping(!0),n.hasAttribute("data-lexical-frozen-column")&&t.setFrozenColumns(1),n.hasAttribute("data-lexical-frozen-row")&&t.setFrozenRows(1);const e=n.querySelector(":scope > colgroup");if(e){let r=[];for(const i of e.querySelectorAll(":scope > col")){let o=i.style.width||"";if(!Mw.test(o)&&(o=i.getAttribute("width")||"",!/^\d+$/.test(o))){r=void 0;break}r.push(parseFloat(o))}r&&t.setColWidths(r)}return{after:r=>_1(r,Ds),node:t}}function Pw(){return Lt(new sd)}function ou(n){return n instanceof sd}const GI=4,g9={dependencies:[cg],export:n=>cN(n)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(n,t,e,r)=>{const i=cc();r||n.getNextSibling()!=null?n.replace(i):n.insertBefore(i),i.selectNext()},type:"element"},p9={dependencies:[Go],export:n=>Xa(n)?`![${n.getAltText()}](${n.getSrc()})`:null,importRegExp:/!(?:\[([^[]*)\])(?:\(([^(]+)\))/,regExp:/!(?:\[([^[]*)\])(?:\(([^(]+)\))$/,replace:(n,t)=>{const[,e,r]=t,i=Cg({altText:e,maxWidth:800,src:r});n.replace(i)},trigger:")",type:"text-match"};function m9(n){const t=n.match(/\t/g),e=n.match(/ /g);let r=0;return t&&(r+=t.length),e&&(r+=Math.floor(e.length/GI)),r}const JI=n=>(t,e,r)=>{const i=t.getPreviousSibling(),o=t.getNextSibling(),s=br(n==="check"?r[3]==="x":void 0);if(Qe(o)&&o.getListType()===n){const c=o.getFirstChild();c!==null?c.insertBefore(s):o.append(s),t.remove()}else if(Qe(i)&&i.getListType()===n)i.append(s),t.remove();else{const c=or(n,n==="number"?Number(r[2]):void 0);c.append(s),t.replace(c)}s.append(...e),s.select(0,0);const l=m9(r[1]);l&&s.setIndent(l)},Bw=(n,t,e)=>{const r=[],i=n.getChildren();let o=0;for(const s of i)if(wt(s)){if(s.getChildrenSize()===1){const d=s.getFirstChild();if(Qe(d)){r.push(Bw(d,t,e+1));continue}}const l=" ".repeat(e*GI),c=n.getListType(),u=c==="number"?`${n.getStart()+o}. `:c==="check"?`- [${s.getChecked()?"x":" "}] `:"- ";r.push(l+u+t(s)),o++}return r.join(`
56
- `)},A9=/^(\s*)(\d{1,})\.\s/,y9=/^(\s*)[-*+]\s/,b9={dependencies:[wr,vn],export:(n,t)=>Qe(n)?Bw(n,t,0):null,regExp:A9,replace:JI("number"),type:"element"},w9={dependencies:[wr,vn],export:(n,t)=>Qe(n)?Bw(n,t,0):null,regExp:y9,replace:JI("bullet"),type:"element"},QI=/^(?:\|)(.+)(?:\|)\s?$/,C9=/^(\| ?:?-*:? ?)+\|\s?$/,v9={dependencies:[sd,od,mc],export:n=>{if(!ou(n))return null;const t=[];for(const e of n.getChildren()){const r=[];if(!Ds(e))continue;let i=!1;for(const o of e.getChildren())ir(o)&&(r.push(KI(Mu,o).replace(/\n/g,"\\n")),o.__headerState===Wi.ROW&&(i=!0));t.push(`| ${r.join(" | ")} |`),i&&t.push(`| ${r.map(o=>"---").join(" | ")} |`)}return t.join(`
57
- `)},regExp:QI,replace:(n,t,e)=>{if(C9.test(e[0])){const u=n.getPreviousSibling();if(!u||!ou(u))return;const d=u.getChildren(),h=d[d.length-1];if(!h||!Ds(h))return;h.getChildren().forEach(g=>{ir(g)&&g.setHeaderStyles(Wi.ROW,Wi.ROW)}),n.remove();return}const r=ZE(e[0]);if(r==null)return;const i=[r];let o=n.getPreviousSibling(),s=r.length;for(;o&&!(!mn(o)||o.getChildrenSize()!==1);){const u=o.getFirstChild();if(!Wn(u))break;const d=ZE(u.getTextContent());if(d==null)break;s=Math.max(s,d.length),i.unshift(d);const h=o.getPreviousSibling();o.remove(),o=h}const l=Pw();for(const u of i){const d=Lw();l.append(d);for(let h=0;h<s;h++)d.append(h<u.length?u[h]:VI(""))}const c=n.getPreviousSibling();ou(c)&&x9(c)===s?(c.append(...l.getChildren()),n.remove()):n.replace(l),l.selectEnd()},type:"element"};function x9(n){const t=n.getFirstChild();return Ds(t)?t.getChildrenSize():0}const VI=n=>{n=n.replace(/\\n/g,`
58
- `);const t=Dw(Wi.NO_STATUS);return UI(n,Mu,t),t},ZE=n=>{const t=n.match(QI);return!t||!t[1]?null:t[1].split("|").map(e=>VI(e))},Mu=[v9,g9,p9,R5,RI,PI,w9,b9,...BI,...FI,...jI],S9=we("SPEECH_TO_TEXT_COMMAND"),E9="SpeechRecognition"in window||"webkitSpeechRecognition"in window;async function k9(n){const t=JSON.stringify(n.getEditorState());try{await fetch("http://localhost:1235/setEditorState",{body:t,headers:{Accept:"application/json","Content-type":"application/json"},method:"POST"})}catch{}}async function T9(n){const t=JSON.stringify(n.getEditorState());let e=null;try{e=await fetch("http://localhost:1235/validateEditorState",{body:t,headers:{Accept:"application/json","Content-type":"application/json"},method:"POST"})}catch{}if(e!==null&&e.status===403)throw new Error("Editor state validation failed! Server did not accept changes.")}async function _9(n){const t=new URL(window.location.toString());t.hash=await n9(n);const e=t.toString();window.history.replaceState({},"",e),await window.navigator.clipboard.writeText(e)}function N9({isRichText:n,shouldPreserveNewLinesInMarkdown:t}){const[e]=Me(),[r,i]=E.useState(()=>e.isEditable()),[o,s]=E.useState(!1),[l,c]=E.useState(!1),[u,d]=E.useState(!0),[h,g]=Ng(),p=$5(),m=!1;E.useEffect(()=>{_E.isCollab||r9(window.location.hash).then(w=>{w&&w.source==="Playground"&&(e.setEditorState(TI(e,w)),e.dispatchCommand(Wy,void 0))})},[e]),E.useEffect(()=>tt(e.registerEditableListener(w=>{i(w)}),e.registerCommand(V_,w=>(c(w),!1),Ke)),[e]),E.useEffect(()=>e.registerUpdateListener(({dirtyElements:w,prevEditorState:v,tags:C})=>{!r&&w.size>0&&!C.has(ml)&&!C.has(Pu)&&T9(e),e.getEditorState().read(()=>{const _=Re().getChildren();if(_.length>1)d(!1);else if(mn(_[0])){const N=_[0].getChildren();d(N.length===0)}else d(!1)})}),[e,r]);const y=E.useCallback(()=>{e.update(()=>{const w=Re(),v=w.getFirstChild();if(Ir(v)&&v.getLanguage()==="markdown")UI(v.getTextContent(),Mu,void 0,t);else{const C=KI(Mu,void 0,t),x=Vr("markdown");x.append(yt(C)),w.clear().append(x),C.length===0&&x.select()}})},[e,t]);return A.jsxs("div",{className:"actions",children:[E9&&A.jsx("button",{onClick:()=>{e.dispatchCommand(S9,!o),s(!o)},className:"action-button action-button-mic "+(o?"active":""),title:"Speech To Text","aria-label":`${o?"Enable":"Disable"} speech to text`,children:A.jsx("i",{className:"mic"})}),A.jsx("button",{className:"action-button import",onClick:()=>g5(e),title:"Import","aria-label":"Import editor state from JSON",children:A.jsx("i",{className:"import"})}),A.jsx("button",{className:"action-button export",onClick:()=>p5(e,{fileName:`Playground ${new Date().toISOString()}`,source:"Playground"}),title:"Export","aria-label":"Export editor state to JSON",children:A.jsx("i",{className:"export"})}),A.jsx("button",{className:"action-button share",disabled:_E.isCollab,onClick:()=>_9(kI(e.getEditorState(),{source:"Playground"})).then(()=>p("URL copied to clipboard"),()=>p("URL could not be copied to clipboard")),title:"Share","aria-label":"Share Playground link to current editor state",children:A.jsx("i",{className:"share"})}),A.jsx("button",{className:"action-button clear",disabled:u,onClick:()=>{g("Clear editor",w=>A.jsx(I9,{editor:e,onClose:w}))},title:"Clear","aria-label":"Clear editor contents",children:A.jsx("i",{className:"clear"})}),A.jsx("button",{className:`action-button ${r?"lock":"unlock"}`,onClick:()=>{r&&k9(e),e.setEditable(!e.isEditable())},title:"Read-Only Mode","aria-label":`${r?"Lock":"Unlock"} read-only mode`,children:A.jsx("i",{className:r?"lock":"unlock"})}),A.jsx("button",{className:"action-button",onClick:y,title:"Convert From Markdown","aria-label":"Convert from markdown",children:A.jsx("i",{className:"markdown"})}),m,h]})}function I9({editor:n,onClose:t}){return A.jsxs(A.Fragment,{children:["Are you sure you want to clear the editor?",A.jsxs("div",{className:"Modal__content",children:[A.jsx(fy,{onClick:()=>{n.dispatchCommand(Fh,void 0),n.focus(),t()},children:"Clear"})," ",A.jsx(fy,{onClick:()=>{n.focus(),t()},children:"Cancel"})]})]})}const M9=[".toolbar",'[role="menu"]',".floating-text-format-popup"],D9=({onBlur:n})=>{const[t]=Me();return E.useEffect(()=>{const e=t.getRootElement();if(!e)return;const r=(o,s,l)=>o>=l.left&&o<=l.right&&s>=l.top&&s<=l.bottom,i=o=>{const s=e.getBoundingClientRect(),l=o.target,c=l instanceof Element&&M9.some(m=>l.closest(m)),{clientX:u,clientY:d}=o,h=r(u,d,s),g=document.activeElement;!e.contains(g)&&!h&&!c&&t.update(()=>{var m;Ve(null),t.dispatchCommand(Gr,void 0),(m=t._rootElement)==null||m.classList.remove("focused"),n&&(n==null||n(t.getEditorState(),t))})};return document.addEventListener("pointerdown",i,!0),()=>{document.removeEventListener("pointerdown",i,!0)}},[t,n]),null},Fw=()=>!!document.querySelector(".selected-all-document"),Ig=(n,t,e)=>{var i,o,s,l,c;const r=J();if(Y(r)&&r.isCollapsed()){const u=r.anchor.getNode(),d=u.getKey(),h=u.getParent()===e,g=e instanceof At&&(e.__type==="layout-item"?(o=(i=e.getLastChild())==null?void 0:i.getPreviousSibling())==null?void 0:o.getKey():(s=e.getLastChild())==null?void 0:s.getKey())===d,p=e instanceof At&&((l=e.getFirstChild())==null?void 0:l.getKey())===d;if(e&&u instanceof Wo&&!u.getTextContent()&&h&&!((c=u.getPreviousSibling())!=null&&c.getTextContent())&&g&&!p){const y=n.registerCommand(Io,()=>(y(),!0),Ai);return n.update(()=>{var v;if(e){let C=e.getChildren();const x=e.getLastChild();CH(x)&&(C=C.slice(0,-1)),C.length===2?C.slice(-1).forEach(_=>_.remove()):C.slice(-2).forEach(_=>_.remove())}const w=t==null?void 0:t.getNextSibling();if(mn(w)&&w.getTextContent()==="")(v=t==null?void 0:t.getNextSibling())==null||v.selectEnd();else{const C=t==null?void 0:t.insertAfter(Ee());C==null||C.selectStart()}}),!0}}return!1},GE=n=>{for(;n;){if(Bo(n))return n;const t=n.getParent();if(!t)break;n=t}return null},L9=n=>{switch(n){case"warning":return{emoji:"e=%E2%9A%A0%EF%B8%8F",backgroundColor:"rgba(254, 247, 230, 1)",calloutType:"warning"};case"alert":return{emoji:"e=%E2%9D%97",backgroundColor:"rgba(255, 224, 223, 1)",calloutType:"alert"};case"success":return{emoji:"e=%E2%9C%85",backgroundColor:"rgba(219, 242, 233, 1)",calloutType:"success"};default:return{emoji:"e=%F0%9F%99%82",backgroundColor:"",calloutType:""}}},JE=n=>n.replace(/\s+/g," ").trim(),O9=n=>{const t=zt();if(t){const e=Te(t,bg);if((e==null?void 0:e.__type)==="callout"){const r=J();if(Y(r)&&r.isCollapsed()){const i=r.anchor.getNode(),o=Te(i,Bo);return Ig(n,o,e)}}}return!0};function R9(){const[n]=Me(),{imperativeHandleRef:t}=E.useContext(Ot),e=E.useCallback(r=>{const i=zt(),{lexicalNode:o}=Va(i,n,{"callout-wrapper":!0});return o&&G(o)&&o.getChildren().length===1&&n.update(()=>{const s=Ee();s.append(yt(""));const l=o.getParent();l&&(l.replace(s),s.selectStart())}),!1},[]);return t!=null&&t.current&&(t.current.onDeleteCallout=e),E.useEffect(()=>{if(!n.hasNodes([Vl,Is,Ns]))throw new Error("CalloutPlugin: CalloutNode not registered on editor");return tt(n.registerMutationListener(Ns,r=>{n.getEditorState().read(()=>{for(const[i,o]of r)if(o==="destroyed"){const s=Number(i),l=String(s-1);n.update(()=>{const c=ve(l);if(c&&Bo(c)){const u=c.getChildren();for(const d of u)c==null||c.insertBefore(d);c.remove()}},{tag:Jr})}})}),n.registerCommand(fw,r=>{var m;const{emoji:i,backgroundColor:o,calloutType:s}=L9(r),l=zt(),c=l!=null&&l.getTextContent()?(m=l==null?void 0:l.getParent())==null?void 0:m.getTextContent():l==null?void 0:l.getTextContent(),u=Ro(c||""),d=dw(o,s),h=uw(i),g=cw().append(Ee().append(u));d.append(h),d.append(g);const p=l==null?void 0:l.getParent();return l&&_l(p)?(d.selectEnd(),p.replace(d)):l==null||l.replace(d),!0},Ke),n.registerCommand(tc,e,Ne),n.registerCommand(hs,()=>Fw()&&n._keyToDOMMap.size>2,Ne),n.registerCommand(Fl,r=>{if(!r.clipboardData)return!1;const i=J();if(!Y(i))return!1;const o=GE(i.anchor.getNode()),s=GE(i.focus.getNode());if(!o||!s||o.__key!==s.__key)return!1;const{hasSelectedBlock:l,selectedAllDocument:c}=nl(),u=JE(i.getTextContent()),d=JE(o.getTextContent());if(!(u===d&&(l||c)))return!1;r.preventDefault();const m=o.__calloutType??"default",y=ug(i)["text/html"],w=o.getTextContent(),v=`<div class="dsd__theme__callout-wrapper" style="background-color: ${o.__backgroundColor}" data-type="${m}">${y}</div>`;return r.clipboardData.setData("text/html",v),r.clipboardData.setData("text/plain",w),!0},Ne))},[n]),null}let jw=function(n,t){if(!n.parentElement)return null;if(n.parentElement.classList.contains("ContentEditable__root")){let e=[];if(!CSS.supports("selector(:has(*))"))e=n.querySelectorAll("li:has(+ .dsd__theme__nestedListItem)");else{const r=n.querySelectorAll("li");e=Array.from(r).filter(i=>{const o=i.nextElementSibling;return o&&o.classList.contains("dsd__theme__nestedListItem")})}return setTimeout(()=>{for(let r=0;r<e.length;r++){const i=e[r],o=i.nextElementSibling;if(!o)return;let s=!1,l=!0;Array.from(o.querySelectorAll("li:not(.dsd__theme__nestedListItem):not(:has(+ .dsd__theme__nestedListItem))")).forEach(u=>{const d=u.getAttribute("aria-checked");(d===null||d==="false")&&(l=!1),d==="true"&&(s=!0)}),t.update(()=>{if(!l&&s){const u=Fe(i);u instanceof vn&&(u.setChecked(!1),u.setIndeterminate(!0))}if(!s&&!l){const u=Fe(i);u instanceof vn&&(u.setChecked(!1),u.setIndeterminate(!1))}if(l){const u=Fe(i);u instanceof vn&&(u.setChecked(!0),u.setIndeterminate(!1))}}),s=!1,l=!0}},0),null}return jw(n.parentElement,t)};const P9=()=>{const n=zt();if(!n)return!1;try{const t=oc(n);t instanceof vn&&!t.__opened&&t.setOpened(!0)}catch{return!1}return!1},B9=fs.debounce((n,t)=>{const e=t.getElementByKey(n);jw(e,t)},100);function F9(){const[n]=Me();return E.useEffect(()=>{const t=n.registerMutationListener(wr,e=>{for(const[r,i]of e)i==="updated"&&B9(r,n)},{skipInitialization:!0});return()=>{t()}},[n]),E.useEffect(()=>tt(n.registerCommand($b,()=>(GA(n,"check"),!0),Ne),n.registerRootListener((t,e)=>{t!==null&&(t.addEventListener("click",QE),t.addEventListener("pointerdown",VE)),e!==null&&(e.removeEventListener("click",QE),e.removeEventListener("pointerdown",VE))})),[n]),null}function XI(n,t,e=!1){const r=n.target;if(r===null||!Et(r))return;const i=r.firstChild;if(i!=null&&Et(i)&&(i.tagName==="UL"||i.tagName==="OL"))return;const o=r.parentNode,s=r.getBoundingClientRect(),l=n.pageX/uz(r);if(o&&l>s.right){if(e){t();return}if(n.target instanceof HTMLElement){const c=Uu(o);c!=null&&c.isEditable()&&c.update(()=>{const u=Fe(o);wt(u)&&u.toggleOpen()})}}!o||o.__lexicalListType!=="check"||(r.dir==="rtl"?l<s.right&&l>s.right-20:l>s.left&&l<s.left+20)&&t()}function QE(n){XI(n,()=>{if(n.target instanceof HTMLElement){const t=n.target,e=Uu(t);e!=null&&e.isEditable()&&(e.update(()=>{const r=Fe(t);if(wt(r)&&(r.selectEnd(),r.toggleChecked()),t.getAttribute("data-list")&&t.getAttribute("aria-checked")==="false"&&t.nextElementSibling){Array.from(t.nextElementSibling.querySelectorAll("[aria-checked]")).forEach(i=>{const o=Fe(i);o instanceof vn&&o.setChecked(!0)});return}if(t.getAttribute("data-list")&&t.getAttribute("aria-checked")==="true"&&t.nextElementSibling){Array.from(t.nextElementSibling.querySelectorAll("[aria-checked]")).forEach(i=>{const o=Fe(i);o instanceof vn&&o.setChecked(!1)});return}}),jw(t,e))}})}function VE(n){XI(n,()=>{n.preventDefault()},!0)}const qI=we("INSERT_CHILD_DOCUMENTS_COMMAND");function j9(){const[n]=Me();return E.useEffect(()=>{if(!n.hasNodes([Qa]))throw new Error("ChildDocsPlugin: ChildDocsNode not registered on editor");return n.registerCommand(qI,t=>{const e=eI(),r=zt();return r==null||r.replace(e),!0},Ke)},[n]),null}function z9(){const[n]=Me();return E.useEffect(()=>aW(n),[n]),null}const U9=4,K9=2,W9="draggable-block-menu",H9=16,XE="application/x-lexical-drag-block",Mg=n=>n?n.match(/(\d*\.?\d+)%/g):[],gy=n=>n<0?0:n>100?100:n,$I=(n,t,e)=>{let r=0,i=[];n.update(()=>{if(n&&t){const c=n.getElementByKey(t.getKey());if(c){const u=c.style;i=Mg(u.getPropertyValue("grid-template-columns")).map(d=>d.slice(0,-1)),r=i?i.length:0}}const o=100/(r+1),s=[...i];s.splice(e,0,`${o}%`);let l=o/r;for(let c=0;c<s.length;c++)if(e!==c){const u=Number(s[c])-l;s[c]=`minmax(100px,${gy(u)}%)`}else s[c]=`minmax(100px,${s[c]})`;t.setTemplateColumns(s.join(" "))})},py=(n,t,e,r)=>{n.update(()=>{const i=n.getElementByKey(t.getKey());if(!i)return;let o=r;e<r&&(o=r-1);const l=i.style.getPropertyValue("grid-template-columns").match(/minmax\([^)]*\)|\S+/g)||[],c=l.splice(e,1)[0];l.splice(o,0,c),t.setTemplateColumns(l.join(" "))})},Du=(n,t)=>(n!=null&&n.children?Array.from(n.children):[]).indexOf(t);function Y9(n,t,e,r){var c;let i=n.getAttribute("data-direction")==="left",o=n.getAttribute("data-direction")==="right",s=n.getAttribute("data-index"),l=n.getAttribute("data-index-start");if(i||o||s){let u=(c=e.getParent())==null?void 0:c.getParent();if(e instanceof ei&&(u=e),e instanceof wi||e instanceof ei){const d=u==null?void 0:u.getChildren();let h=r instanceof wi;if((d==null?void 0:d.length)>=4&&!h)return!0;t.update(()=>{var m;let g=0;i?g=0:o?g=((m=u==null?void 0:u.getChildren())==null?void 0:m.length)-1:g=Number(s),h?py(t,u,Number(l),g):$I(t,u,g);let p=null;g!==void 0&&t.update(()=>{if(p=u.getChildren()[g],h)e instanceof ei?p.insertAfter(r.getParent()):p.insertBefore(r.getParent());else if(o)p.insertAfter(Ii().append(r).append(ui()));else{const y=r.getParent(),w=y==null?void 0:y.getParent();Ri(y)&&(y==null?void 0:y.getChildrenSize())===2&&Ri(y)&&wh(w)&&qa(t,y,w),p.insertBefore(Ii().append(r).append(ui()))}})})}else t.update(()=>{const d=Sg(mw);let h;if(Bo(e)||Mr(e)){const g=r.getParent(),p=g==null?void 0:g.getParent();if(Ri(g)&&(g==null?void 0:g.getChildrenSize())===2&&wh(p)){const y=p.getParent(),w=y==null?void 0:y.getParent(),v=p.getChildren(),x=v.findIndex(N=>N===g)===0?1:0,_=v[x];if(Ri(_)){const N=_.getChildren()[0];Bo(w)&&(w.append(N),p.remove(),h=iu(w))}}else h=iu(e,r)}else h=iu(e);h&&(i?(d.append(Ii().append(r).append(ui())),d.append(Ii().append(h).append(ui()))):(d.append(Ii().append(h).append(ui())),d.append(Ii().append(r).append(ui()))),e.insertAfter(d),e.remove(),h.selectStart())});return!0}return!1}function Z9(n,t,e="right",r=!1){n.update(()=>{const i=Fe(t),o=i==null?void 0:i.getParent();if(o){if(Mg(o.__templateColumns).length===4)return;let l=Du(t.parentElement,t);e==="right"&&(l=l+1),$I(n,o,l)}const s=Ii().append(Ee()).append(ui());i&&(e==="right"?r?(i.insertBefore(iu(i)),i.selectStart()):(i.insertAfter(s),s==null||s.selectStart()):(i.insertBefore(s),s.selectStart()))})}const eM=(n,t)=>{const e=t==null?void 0:t.getParent();let r=Mg(e==null?void 0:e.getTemplateColumns());const i=e==null?void 0:e.getChildren();let o=0;if(i&&t){for(let d=0;d<i.length;d++)if(i[d].__key===t.__key){o=d;break}}r.splice(o,1);const s=r.map(d=>parseFloat(d)),l=s.reduce((d,h)=>d+h,0),u=s.map(d=>d/l*100).map(d=>`minmax(50px,${d.toFixed(2)}%)`);e==null||e.setTemplateColumns(u.join(" "))},G9=n=>n.className.includes("editor-image")||n.className.includes("video-container")?n:n.className.includes("editor-excalidraw")?n.firstChild:null,tM=(n,t)=>t!=null&&t.__key&&n!==t.__key?tM(n,t==null?void 0:t.getParent()):n===(t==null?void 0:t.__key),qE=(n,t,e)=>{n.update(()=>{var s,l,c;const r=(s=t==null?void 0:t.getParent())==null?void 0:s.getParent(),i=t==null?void 0:t.getParent(),o=e==="right"?(l=t==null?void 0:t.getParent())==null?void 0:l.getNextSibling():(c=t==null?void 0:t.getParent())==null?void 0:c.getPreviousSibling();if(i&&o&&r instanceof ei){const u=n.getElementByKey(i.getKey()),d=n.getElementByKey(r.getKey()),h=Du(d,u);i&&r&&o&&(e==="right"&&(py(n,r,h+1,h),o.insertAfter(i)),e==="left"&&(py(n,r,h,h+1),o.insertBefore(i)))}})};function J9(n){n&&(n.style.display="none")}function $E({blockElement:n,editor:t,isTop:e,isClickedBlockRef:r,setDraggableBlockElem:i}){n&&(r.current=!0,t.update(()=>{const o=Fe(n);if(o){const s=Ee();e?(o.insertBefore(s),setTimeout(()=>{i(t.getElementByKey(s.__key)),t.update(()=>{s.selectStart()})})):(o.insertAfter(s),setTimeout(()=>{i(t.getElementByKey(s.__key)),t.update(()=>{s.selectEnd()})}))}}))}function Q9(n){const t=(c,u)=>c?parseFloat(window.getComputedStyle(c)[u]):0,{marginTop:e,marginBottom:r}=window.getComputedStyle(n),i=t(n.previousElementSibling,"marginBottom"),o=t(n.nextElementSibling,"marginTop"),s=Math.max(parseFloat(e),i);return{marginBottom:Math.max(parseFloat(r),o),marginTop:s}}function V9(n){return!!n.closest(`.${W9}`)}function ek(n,t,e,r){if(!n){t.style.opacity="0";return}t.style.display="block";let i=null;const o=G9(n);o&&o.style.justifyContent!=="left"&&o.firstChild instanceof HTMLElement?i=o.firstChild.getBoundingClientRect():i=n.getBoundingClientRect();let s=null,l=0,c=!0,u=0;if(i){let v=n.firstChild instanceof HTMLElement&&(n.firstChild.hasAttribute("data-lexical-text")||n.firstChild.tagName==="LI"||n.firstChild.tagName==="A")?n.firstChild:null;if(v&&!v.className.includes("editor-image")&&n.tagName!=="CODE"){const C=window.getComputedStyle(v),x=parseFloat(C.lineHeight),_=parseFloat(C.fontSize);u=Math.ceil(_+(x-_)/2),s=v.getBoundingClientRect()}else if(n.firstChild instanceof HTMLElement&&n.firstChild.tagName==="BR"&&n.tagName!=="CODE"){const C=window.getComputedStyle(n,"::before");u=parseFloat(C.height)||30}else n&&(n.tagName==="HR"||n.matches(":has(audio)")||n.classList.contains("file-container"))?u=n.clientHeight:n.firstChild instanceof HTMLElement&&n.firstChild.tagName==="SUMMARY"?u=n.firstChild.clientHeight:(s=i,c=!1)}const d=e.getBoundingClientRect(),h=(s==null?void 0:s.top)||i.top,g=u||l,p=t.clientHeight,m=g-p;let y=!c||!g?i.top+7-d.top:h+m/2-d.top,w=i.left-d.left-p*2-3;n.tagName==="LI"&&n.getAttribute("role")!=="checkbox"&&(w=w-26,y=y-1),o&&(y=h-d.top+7,(o.style.justifyContent==="center"||o.style.justifyContent==="right")&&(w=w+10)),n.matches(":has(.resizable-container__handle)")&&!n.matches(":has(.hide-padding)")&&n.tagName!=="DETAILS"&&(y=h-d.top+27),i.top<0&&(console.log("2"),y=y+-i.top),n.className==="dsd__theme__layoutDivider"&&(t.style.display="none",i.top-t.clientHeight<0?n.style.setProperty("--height-column",`${n.clientHeight+i.top-t.clientHeight-7}px`):n.style.setProperty("--height-column",`${n.clientHeight}px`)),t.style.opacity="1",!r&&w>-40&&(t.style.transform=`translate(${w}px, ${y}px)`)}function tk(n,t){const{transform:e}=t.style;t.style.transform="translateZ(0)",n.setDragImage(t,0,0),setTimeout(()=>{t.style.transform=e})}function X9(n,t){const e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",t.forEach(r=>{const i=r.cloneNode(!0);i.style.position="relative",e.appendChild(i)}),document.body.appendChild(e),n.setDragImage(e,0,0),setTimeout(()=>document.body.removeChild(e),0)}function q9(n,t,e,r,i,o,s){var T;const{top:l,height:c,width:u,left:d}=t.getBoundingClientRect(),{top:h,left:g,width:p}=i==null?void 0:i.getBoundingClientRect(),{marginTop:m,marginBottom:y}=Q9(t);let w=l;e>=l?(s.current.isBottom=!0,w+=c+y/2):(s.current.isBottom=!1,w-=m/2);const v=w-h-K9,C=H9-U9,_=o.target.closest(".dsd__theme__layoutDivider");n.setAttribute("data-index",""),n.style.background="deepskyblue";const N=d-g-C;if(r<=d&&!_){if(t.closest(".dsd__theme__layoutItem"))return;n.style.transform=`translate(${N}px, ${l-h}px)`,n.style.width="4px",n.style.height=`${c}px`,n.style.opacity=".4",n.setAttribute("data-direction","left")}else if(r>=p-N&&!_&&!t.closest(".dsd__theme__layoutItem"))t.classList.contains("dsd__theme__layoutContainer")&&!n.getAttribute("data-index-start")&&t&&t.children.length>=4&&(n.style.background="red"),n.style.transform=`translate(${p-N}px, ${l-h}px)`,n.style.width="4px",n.style.height=`${c}px`,n.style.opacity=".4",n.setAttribute("data-direction","right");else if(_){o.preventDefault();const k=(T=_.parentNode)==null?void 0:T.parentNode;(k==null?void 0:k.children.length)===4&&(n.style.background="red");const M=_.parentNode,I=Du(k,M),R=I?_.getBoundingClientRect().left-g:N+30;n.style.transform=`translate(${R}px, ${l-h}px)`,n.style.width="4px",n.style.height=`${c}px`,n.style.opacity=".4",n.setAttribute("data-index",`${I}`)}else n.style.transform=`translate(${N}px, ${v}px)`,n.style.width=`${u+C}px`,n.style.opacity=".4",n.style.height="4px",n.setAttribute("data-direction","")}function nk(n){n&&(n.style.opacity="0",n.style.transform="translate(-10000px, -10000px)")}const qa=(n,t,e)=>{var o,s,l;const r=(e==null?void 0:e.getChildren())||[];if((r==null?void 0:r.length)===2){for(const c of r)c.__key!==(t==null?void 0:t.__key)&&(e==null||e.insertBefore(c),(o=c.getFirstChild())==null||o.selectEnd());e.remove()}else for(const c of r)if(c.__key===(t==null?void 0:t.__key)){eM(n,c),Aw(n,c);const u=c.getPreviousSibling()??c.getNextSibling();(l=(s=u==null?void 0:u.getFirstChild)==null?void 0:s.call(u))==null||l.selectEnd()}const i=n.registerCommand(Pi,()=>(i(),!0),Ai);return!0},nM=we(),$9=n=>{const t=J();if(Y(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=Te(e,Tu),i=Te(e,Mr);return Ig(n,i,r)&&Tu(r)}return!0},eY=()=>{const n=J();if(!Y(n)||!n.isCollapsed()||n.anchor.offset!==0)return!1;const e=n.anchor.getNode().getTopLevelElement();if(e===null)return!1;const r=e.getPreviousSibling();return!Mr(r)||r.getOpen()?!1:(r.setOpen(!0),!0)},tY=()=>{var t;const n=J();if(Y(n)&&n.isCollapsed()&&n.anchor.offset===0){const e=Te(n.anchor.getNode(),Mr);if(Mr(e)){const r=e.getParent();r!==null&&r.getFirstChild()===e&&n.anchor.key===((t=e.getFirstDescendant())==null?void 0:t.getKey())&&e.insertBefore(Ee())}}return!1},nY=()=>{const n=J();if(Y(n)&&n.isCollapsed()){const t=Te(n.anchor.getNode(),Mr);if(Mr(t)){const e=t.getParent();if(e!==null&&e.getLastChild()===t){const r=t.getFirstDescendant(),i=t.getLastDescendant();(i!==null&&n.anchor.key===i.getKey()&&n.anchor.offset===i.getTextContentSize()||r!==null&&n.anchor.key===r.getKey()&&n.anchor.offset===r.getTextContentSize())&&t.insertAfter(Ee())}}}return!1},rY=n=>{const t=J();if(Y(t)&&t.isCollapsed()){const e=t.focus.getNode().getParent(),r=e==null?void 0:e.getParent();return qa(n,e,r)}return!1};function iY(){const[n]=Me();return E.useEffect(()=>{if(!n.hasNodes([Ml,_s,Po]))throw new Error("CollapsiblePlugin: CollapsibleContainerNode, CollapsibleTitleNode, or CollapsibleContentNode not registered on editor");return tt(n.registerNodeTransform(Po,t=>{const e=t.getParent();if(!Mr(e)){const r=t.getChildren();for(const i of r)t.insertBefore(i);t.remove()}}),n.registerNodeTransform(_s,t=>{const e=t.getParent();if(!Mr(e)){t.replace(Ee().append(...t.getChildren()));return}}),n.registerNodeTransform(Ml,t=>{const e=t.getChildren();if(e.length!==2||!ul(e[0])||!Tu(e[1])){for(const r of e)t.insertBefore(r);t.remove()}}),n.registerCommand(Io,()=>{var e;const t=J();if(Y(t)){const r=Te(t.anchor.getNode(),i=>ul(i));if(ul(r)){const i=r.getParent();if(i&&Mr(i))return i.getOpen()||i.toggleOpen(),(e=r.getNextSibling())==null||e.selectEnd(),!0}}return!1},Ne),n.registerCommand(nM,()=>(n.update(()=>{const t=aw(),e=Ee(),r=zt(),i=sw(!1).append(t.append(e),lw().append(Ee()));r==null||r.replace(i),e.select()}),!0),Ne))},[n]),null}class pr extends Xu{constructor(e,r=null,i){super(e,i);F(this,"__extendIds");F(this,"__resolve");this.__extendIds=e||[],this.__resolve=r}static getType(){return"extend-mark"}static clone(e){return new pr(e.__extendIds,e.__resolve,e.__key)}static importJSON(e){return new pr(e.ids)}static importDOM(){return{mark:r=>({conversion:()=>{const i=r.getAttribute("data-key"),o=i?i.split(" "):[],s=r.getAttribute("resolve"),l=document.createDocumentFragment();return Array.from(r.childNodes).forEach(c=>l.appendChild(c.cloneNode(!0))),{node:rM(o,s)}},priority:1})}}resolveThreat(e){const r=this.getWritable();return r.__resolve=e}createDOM(e){const r=document.createElement("mark");if(ct(r,e.theme.mark),ct(r,e.theme.markOverlap),r.style.background="transparent",r.style.border="none",this.__extendIds.length>0){const i=this.__extendIds.join(" ");r.setAttribute("data-key",i)}return this.__resolve&&r.setAttribute("resolve",this.__resolve),r}exportDOM(e){let{element:r}=super.exportDOM(e);return this.__resolve&&r.setAttribute("resolve",this.__resolve),{element:r}}updateDOM(e,r,i){return this.__resolve&&r.setAttribute("resolve",this.__resolve),super.updateDOM(e,r,i)}exportJSON(){return{...super.exportJSON(),type:"extend-mark",ids:this.__extendIds}}excludeFromCopy(e){return!1}updateExtendId(e,r){const i=this.getWritable(),o=i.__extendIds.indexOf(e);o!==-1&&(i.__extendIds[o]=r)}}function rM(n,t=null){return Lt(new pr(n,t))}function ya(n){return n instanceof pr}function rk(n,t,e,r,i,o){return{authorId:t,text:n,edited:!1,reactions:[],deleted:o===void 0?!1:o,id:e,files:r??[],clientKey:crypto.randomUUID(),timeStamp:i===void 0?performance.timeOrigin+performance.now():i,type:"comment"}}function oY(n,t,e,r,i){return{id:e.id,quote:n,deleted:e.deleted??!1,type:"thread",resolution:e.resolution??null,clientKey:crypto.randomUUID(),edited:!1,text:r,reactions:[],files:[],authorId:t,timeStamp:new Date(e.updatedAt).getTime(),children:[]}}const sY=async(n,t,e)=>t.length?(await Promise.all(t.map(i=>new Promise((o,s)=>{e({file:i.file,commentId:n,onSuccess:l=>{o(l)},onError:l=>{console.error(l),s(null)}})})))).filter(i=>i!==null):[];function ik(n,t,e){const r=new Set(t.map(o=>o.id));return[...n.filter(o=>!("id"in o)||!r.has(o.id)),...e]}const ok=n=>{if(!n)return;const t=document.querySelector(`li[data-id="${n}"]`);t&&t.scrollIntoView({behavior:"smooth",block:"center"})},my=n=>{const t=n.type.startsWith("image/");return{id:n.id,file:n,isImage:t,src:t?URL.createObjectURL(n):""}};function sk(n){return n.type==="thread"?{children:Array.from(n.children),id:n.id,clientKey:n.clientKey,deleted:n.deleted,quote:n.quote,type:"thread",timeStamp:n.timeStamp,reactions:n.reactions,edited:n.edited,authorId:n.authorId,text:n.text,resolution:n.resolution,files:n.files}:{children:Array.from(n.children),id:n.id,clientKey:n.clientKey,deleted:n.deleted,edited:n.edited,reactions:n.reactions,type:"general",quote:n.quote,files:n.files,timeStamp:n.timeStamp,authorId:n.authorId,text:n.text,resolution:n.resolution}}async function lY(n,t,e,r,i,o){const s=n.filter(c=>!c.deleted).map(async c=>{const u=t.get(c.id);let d="";if(u)for(const w of u){const v=e.getElementByKey(w);v!=null&&v.textContent&&(d&&(d+=`
59
- `),d+=v.textContent)}const g=(await o({commentId:c.id})).map(w=>my(w)),{content:p}=await i({commentId:c.id}),m=await Promise.all(c.children.filter(w=>!w.deleted).map(async w=>{const{content:v}=await i({commentId:w.id}),x=(await o({commentId:w.id})).map(_=>my(_));return{...aY(w),files:x,reactions:v}})),y={id:c.id,authorId:c.authorId,resolution:c.resolution,timeStamp:new Date(c.updatedAt).getTime(),text:c.text,children:m,clientKey:crypto.randomUUID(),reactions:p,files:g};return c.commentType==="REVIEW"?{...y,type:"general",quote:r}:d?{...y,type:"thread",quote:d}:null});return(await Promise.all(s)).filter(Boolean)}function aY(n){return{authorId:n.authorId,text:n.text,reactions:[],files:[],edited:n.edited,id:n.id,clientKey:crypto.randomUUID(),timeStamp:new Date(n.updatedAt).getTime(),type:"comment",deleted:n.deleted}}function Zn(n){const t=n._changeListeners;for(const e of t)e()}class cY{constructor(t){F(this,"_editor");F(this,"_comments");F(this,"_changeListeners");F(this,"_collabProvider");this._comments=[],this._editor=t,this._collabProvider=null,this._changeListeners=new Set}isCollaborative(){return this._collabProvider!==null}getComments(){return this._comments}addComment(t,e,r){const i=Array.from(this._comments),o=this._getCollabComments();if(e!==void 0&&t.type==="comment")for(let s=0;s<i.length;s++){const l=i[s];if((l.type==="thread"||l.type==="general")&&l.id===e.id){const c=sk(l);i.splice(s,1,c);const u=r!==void 0?r:c.children.length;if(this.isCollaborative()&&o!==null){const d=o.get(s).get("comments");this._withRemoteTransaction(()=>{const h=this._createCollabSharedMap(t);d.insert(u,[h])})}c.children.splice(u,0,t);break}}else{const s=r!==void 0?r:i.length;this.isCollaborative()&&o!==null&&this._withRemoteTransaction(()=>{const l=this._createCollabSharedMap(t);o.insert(s,[l])}),i.splice(s,0,t)}this._comments=i,Zn(this)}updateThreadId(t,e,r,i,o,s,l){const c=Array.from(this._comments),u=new Date(i).getTime();if(l)for(let d=0;d<c.length;d++){const h=c[d];if(h.id===l.id&&Array.isArray(h.children)){const g={...h,children:[...h.children]},p=g.children.findIndex(m=>m.id===e||m.tempId===e);if(p!==-1){const m={...g.children[p]};m.id=r,m.timeStamp=u,m.files=s,m.tempId=r,g.children.splice(p,1,m),c.splice(d,1,g)}break}}else{for(let d=0;d<c.length;d++){const h=c[d];if(h.id===e||h.tempId===e){const g={...h};g.id=r,g.timeStamp=u,g.files=s,g.tempId=r,c.splice(d,1,g);break}}o==="thread"&&t.update(()=>{var h;const d=i1(pr).filter(g=>g.__extendIds.includes(e));for(const g of d)(h=t.getElementByKey(g.__key))==null||h.setAttribute("data-key",r),g.updateExtendId(e,r)})}this._comments=c,Zn(this)}deleteCommentOrThread(t,e){const r=Array.from(this._comments);let i=null;if(e!==void 0)for(let o=0;o<r.length;o++){const s=r[o];if((s.type==="thread"||s.type==="general")&&s.id===e.id){const l=sk(s);r.splice(o,1,l);const c=l.children;i=c.indexOf(t),i!==-1&&(c[i].deleted=!0);break}}else i=r.indexOf(t),i!==-1&&(r[i].deleted=!0);return this._comments=r,Zn(this),null}registerOnChange(t){const e=this._changeListeners;return e.add(t),()=>{e.delete(t)}}updateCurrentContent(t,e,r,i){this._comments=this._comments.map(o=>{const{deletedFile:s,newFiles:l}=e;if(i&&o.id===i&&o.type!=="comment")return{...o,children:o.children.map(c=>{if(c.id!==r)return c;const u=ik(c.files,s,l);return{...c,text:t,edited:!0,files:u}})};if(o.id===r){const c=ik(o.files,s,l);return{...o,text:t,edited:!0,files:c}}return o}),Zn(this)}updateCurrentQuote(t,e){this._comments=this._comments.map(r=>r.id===e?{...r,quote:t}:r),Zn(this)}replaceOptimisticPhotos(t,e,r){this._comments=this._comments.map(i=>{const o=i.type!=="comment";if(r&&o&&i.id===r)return{...i,children:i.children.map(s=>{if(s.id!==e)return s;const l=s.files.filter(c=>{var u;return!((u=c.id)!=null&&u.startsWith("temp-"))});return{...s,files:[...l,...t]}})};if(i.id===e){const s=i.files.filter(l=>{var c;return!((c=l.id)!=null&&c.startsWith("temp-"))});return{...i,files:[...s,...t]}}return i}),Zn(this)}restoreLastDeletedComment(t,e){e?this._comments=this._comments.map(r=>{if(r.id===e){const i=r;if(Array.isArray(i.children))return{...i,children:i.children.map(o=>o.id===t?{...o,deleted:!1}:o)}}return r}):this._comments=this._comments.map(r=>r.id===t?{...r,deleted:!1}:r),Zn(this)}async initializeComments(t,e,r,i,o,s,l){const c=await lY(t,e,r,i,o,s);this._comments=c.flat(),l(!1),Zn(this)}_withRemoteTransaction(t){const e=this._collabProvider;e!==null&&e.doc.transact(t,this)}_withLocalTransaction(t){const e=this._collabProvider;try{this._collabProvider=null,t()}finally{this._collabProvider=e}}_getCollabComments(){const t=this._collabProvider;return t!==null?t.doc.get("comments",ps):null}_createCollabSharedMap(t){const e=new Pn,r=t.type,i=t.id;if(e.set("type",r),e.set("id",i),r==="comment")e.set("author",t.authorId),e.set("content",t.text),e.set("deleted",t.deleted),e.set("timeStamp",t.timeStamp);else{t.type==="thread"&&e.set("quote",t.quote);const o=new ps;t.children.forEach((s,l)=>{const c=this._createCollabSharedMap(s);o.insert(l,[c])}),e.set("comments",o)}return e}resolveThreat(t,e){this._comments=this._comments.map(r=>r.id===t.id?{...r,resolution:e}:r),Zn(this)}addReaction(t,e,r){r?this._comments=this._comments.map(i=>i.id===r.id&&"children"in i?{...i,children:i.children.map(o=>o.id===e.id?{...o,reactions:[...o.reactions||[],t]}:o)}:i):this._comments=this._comments.map(i=>i.id===e.id?{...i,reactions:[...i.reactions||[],t]}:i),Zn(this)}replaceReaction(t,e,r,i){this._comments=this._comments.map(o=>{if(i){if(o.id===i.id&&"children"in o)return{...o,children:o.children.map(s=>{if(s.id!==r.id)return s;const l=(s.reactions||[]).filter(c=>c.id!==t);return{...s,reactions:[...l,e]}})}}else if(o.id===r.id){const s=(o.reactions||[]).filter(l=>l.id!==t);return{...o,reactions:[...s,e]}}return o}),Zn(this)}removeImageOrPhoto(t,e,r,i){this._comments=this._comments.map(o=>o.id===r?i&&"children"in o?{...o,children:o.children.map(s=>s.id===i?{...s,[t]:s[t].filter(({id:l})=>l!==e)}:s)}:{...o,[t]:o[t].filter(({id:s})=>s!==e)}:o),Zn(this)}registerCollaboration(t){this._collabProvider=t;const e=this._getCollabComments(),r=()=>{t.connect()},i=()=>{try{t.disconnect()}catch{}},o=this._editor.registerCommand(X_,l=>(r!==void 0&&i!==void 0&&(l?(console.log("Comments connected!"),r()):(console.log("Comments disconnected!"),i())),!1),Ne),s=(l,c)=>{if(c.origin!==this)for(let u=0;u<l.length;u++){const d=l[u];if(d instanceof N_){const h=d.target,g=d.delta;let p=0;for(let m=0;m<g.length;m++){const y=g[m],w=y.insert,v=y.retain,C=y.delete,x=h.parent,_=h===e?void 0:x instanceof Pn&&this._comments.find(N=>N.id===x.get("id"));if(Array.isArray(w))w.slice().reverse().forEach(N=>{const T=N.get("id"),M=N.get("type")==="thread"?oY(N.get("quote"),N.get("author"),N.get("comments").toArray().map(I=>rk(I.get("content"),I.get("author"),I.get("id"),[],I.get("timeStamp"),I.get("deleted"))),T):rk(N.get("content"),N.get("author"),T,[],N.get("timeStamp"),N.get("deleted"));this._withLocalTransaction(()=>{this.addComment(M,_,p)})});else if(typeof v=="number")p+=v;else if(typeof C=="number")for(let N=0;N<C;N++){const T=_===void 0||_===!1?this._comments[p]:_.children[p];this._withLocalTransaction(()=>{this.deleteCommentOrThread(T,_)}),p++}}}}};return e===null?()=>null:(e.observeDeep(s),r(),()=>{e.unobserveDeep(s),o(),this._collabProvider=null})}}function uY(n){const[t,e]=E.useState(n.getComments());return E.useEffect(()=>n.registerOnChange(()=>{e(n.getComments())}),[n]),t}const zw=we("INSERT_INLINE_COMMAND");function dY(n,t){for(const[e,r]of n.entries())if(r.has(t))return e;return null}function fY(){const[n]=Me(),t=E.useMemo(()=>new cY(n),[n]),e=E.useRef(null),[r,i]=E.useState([]),[o,s]=E.useState({value:"",files:[]}),[l,c]=E.useState(!1),[u,d]=E.useState(!1),h=E.useRef([]),g=E.useRef([]),{i18n:p}=pt.useTranslation(),m=p.language,y=p.getResourceBundle(m,"translation"),[w,v]=E.useState({resolved:"not-resolved",feedback:!1,filteredUsers:[]}),{currentUser:C,commentOptions:x,workspaceMembers:_}=E.useContext(Ot)??{},N=(x==null?void 0:x.pageId)??"",T=(x==null?void 0:x.workspaceInfo)??{title:"",icon:""},k=(x==null?void 0:x.showComments)??!1,M=(x==null?void 0:x.setShowComments)??(()=>{}),I=(x==null?void 0:x.commentActions)??{},R=uY(t),B=E.useMemo(()=>new Map,[]);E.useEffect(()=>(typeof(I==null?void 0:I.fetchCommentsApi)=="function"&&(d(!0),setTimeout(()=>{I.fetchCommentsApi({pageId:N,onSuccess:async X=>{await t.initializeComments(X,B,n,JSON.stringify(T),I==null?void 0:I.getReactionsApi,I==null?void 0:I.getPhotosApi,d)}})},100)),()=>{M(!1)}),[]),E.useEffect(()=>{const X=setTimeout(()=>{R.forEach(ne=>{ne.type==="general"&&t.updateCurrentQuote(JSON.stringify(x==null?void 0:x.workspaceInfo),ne.id)})},300);return()=>clearTimeout(X)},[x==null?void 0:x.workspaceInfo]);const U=E.useCallback(()=>{n.update(()=>{const X=J();X!==null&&(X.dirty=!0)}),c(!1),s({value:"",files:[]})},[n]),j=E.useCallback(async X=>{const ne=X.resolution!=="ACCEPTED"?"ACCEPTED":"REJECTED",Ae=JSON.parse(JSON.stringify(t._comments));n.update(()=>{i1(pr).filter(pe=>pe.__extendIds[0]===X.id).forEach(pe=>{"resolveThreat"in pe&&pe.resolveThreat(ne)})}),t.resolveThreat(X,ne),await(I==null?void 0:I.resolveCommentApi({threatId:X.id,resolveValue:ne,onSuccess:()=>{},onError:()=>{t._comments=Ae,Zn(t)}}))},[t,n,B]),K=E.useCallback(async(X,ne,Ae)=>{const oe=JSON.parse(JSON.stringify(t._comments)),pe="temp-"+Date.now()+"-"+Math.random().toString(36).substring(2,9),ke=encodeURIComponent(X),Pe={id:pe,commentId:ne.id,userId:(C==null?void 0:C.id)??"",reaction:X,createdAt:new Date().toISOString(),deletedAt:"1970-01-01T00:00:00.000+00:00",version:0,parentType:"COMMENT",parentId:ne.id,deleted:!1};t.addReaction(Pe,ne,Ae);try{await(I==null?void 0:I.commentReactionApi({commentId:ne.id,author:(C==null?void 0:C.id)??"",emojiValue:ke,onSuccess:async Ce=>{t.replaceReaction(Pe.id,Ce,ne,Ae)},onError:()=>{t._comments=oe,Zn(t)}}))}catch(Ce){console.error("Unexpected error:",Ce)}},[t,C,I]),V=E.useCallback(async(X,ne,Ae)=>{const oe=JSON.parse(JSON.stringify(t._comments));t.removeImageOrPhoto("reactions",X,ne.id,Ae==null?void 0:Ae.id);try{await(I==null?void 0:I.deleteReactionApi({reactionId:X,onSuccess:async()=>{},onError:()=>{t._comments=oe,Zn(t)}}))}catch(pe){console.log(pe)}},[t,n,B]),ue=fs.debounce((X,ne)=>{t.updateCurrentQuote(X,ne)},500),fe=E.useCallback(async(X,ne)=>{const Ae=X.id;try{await(I==null?void 0:I.deleteCommentApi({deleteCommentId:Ae,onSuccess:async()=>{if(X.type==="comment"&&ne){const oe=t.deleteCommentOrThread(X,ne);if(g.current=[{comments:X,id:ne.id},...g.current],!oe)return;const{markedComment:pe,index:ke}=oe;t.addComment(pe,ne,ke)}else{t.deleteCommentOrThread(X);const oe=ne!==void 0?ne.id:X.id,pe=B.get(oe);pe!==void 0&&setTimeout(()=>{n.update(()=>{for(const ke of pe){const Pe=ve(ke);ya(Pe)&&(Pe.deleteID(oe),Pe.getIDs().length===0&&vW(Pe))}})})}}}))}catch(oe){console.log(oe)}},[t,n,B]);function ie(X,ne,Ae,oe,pe,ke){t.updateThreadId(n,X,ne,Ae,oe,pe,ke)}const le=E.useCallback((X,ne,Ae,oe)=>{t.addComment(X,Ae,void 0),ne&&(n.update(()=>{if(Y(oe)){const pe=oe.isBackward(),ke=X.id;xW(oe,pe,ke,Pe=>{const Ce=new pr(Pe,null);return k||X.type==="thread"&&setTimeout(()=>{n.update(()=>{Ce.selectStart()})},300),Ce})}}),c(!1)),w.resolved==="resolved"&&v({...w,resolved:"not-resolved"})},[t,n,w.resolved]);E.useEffect(()=>{const X=[];if(r.length!==0){for(let ne=0;ne<r.length;ne++){const Ae=r[0],oe=B.get(Ae);if(oe!==void 0)for(const pe of oe){const ke=n.getElementByKey(pe);if(ke!==null){ke.classList.add("selected"),X.push(ke);const Pe=ke.getAttribute("data-key");if(Pe){if(k){const Ce=h.current,We=Ce.length!==r.length||Ce.some((Oe,Se)=>Oe!==r[Se]);r.length===1&&We&&ok(Pe)}else setTimeout(()=>{ok(Pe)},500);M(!0)}}}}return h.current=[...r],()=>{for(let ne=0;ne<X.length;ne++)X[ne].classList.remove("selected")}}},[r,n,B]);const te=async(X,ne,Ae,oe)=>{const pe=Ae,ke=JSON.parse(JSON.stringify(t._comments));t.updateCurrentContent(X.value,ne,Ae,oe),ne.deletedFile.map(We=>We.id?H(We.id,Ae,oe):Promise.resolve());const Ce=(await sY(pe,ne.newFiles,I==null?void 0:I.uploadCommentFileApi)).map(We=>my(We));if(t.replaceOptimisticPhotos(Ce,Ae,oe),X.restore)try{await(I==null?void 0:I.updateCommentTextApi({commentId:pe,textValue:X.value,onSuccess:()=>{},onError:()=>{t._comments=ke,Zn(t)}}))}catch(We){console.error(We)}},H=async(X,ne,Ae)=>{try{await(I==null?void 0:I.deleteCommentImageApi({photoToRemove:X,onSuccess:()=>t.removeImageOrPhoto("files",X,ne,Ae)}))}catch(oe){console.log(oe)}},W=async(X,ne)=>{try{await(I==null?void 0:I.restoreCommentApi({commentId:X,onSuccess:()=>{t.restoreLastDeletedComment(X,ne)}}))}catch(Ae){console.log(Ae)}};E.useEffect(()=>{if(!k)return;const X=ne=>{ne.key==="Escape"&&M(!1)};return document.addEventListener("keydown",X),()=>{document.removeEventListener("keydown",X)}},[k]),E.useEffect(()=>{const X=new Map;return tt(sz(n,pr,ne=>rM(ne.getIDs()),(ne,Ae)=>{ne.getIDs().forEach(pe=>{Ae.addID(pe)})}),n.registerMutationListener(pr,ne=>{n.getEditorState().read(()=>{for(const[Ae,oe]of ne){const pe=ve(Ae);let ke=[];const Pe=dY(B,Ae);oe==="destroyed"?ke=X.get(Ae)||[]:ya(pe)&&(ke=pe.getIDs()),oe==="created"&&Pe&&setTimeout(()=>{const Ce=t.getComments().find(We=>We.id===(pe==null?void 0:pe.__extendIds[0]));Ce&&Ce.deleted&&W(Ce.id)},500);for(let Ce=0;Ce<ke.length;Ce++){const We=ke[Ce];let Oe=B.get(We);if(X.set(Ae,ke),oe==="destroyed"){let Se=!1;for(const[Je,ut]of ne)if(ut==="created"){const lt=ve(Je);ya(lt)&&lt.getIDs().some(Zt=>ke.includes(Zt))&&(Se=!0)}if(!Se){Oe!==void 0&&(Oe.delete(Ae),Oe.size===0&&B.delete(We));const Je=t.getComments().find(ut=>ut.tempId===Pe||ut.id===Pe);Je&&!Je.deleted&&fe(Je)}}else Oe===void 0&&(Oe=new Set,B.set(We,Oe)),Oe.has(Ae)||Oe.add(Ae)}}})},{skipInitialization:!1}),n.registerUpdateListener(({editorState:ne})=>{ne.read(()=>{const Ae=J();let oe=!1;if(Y(Ae)){const pe=Ae.anchor.getNode();if(Wn(pe)){const ke=SW(pe,Ae.anchor.offset);if(ke!==null){i(Ce=>Ce[0]===ke[0]?Ce:ke),oe=!0;const Pe=B.get(ke[0]);n.update(()=>{if(!Pe)return;let Ce="",We=null;for(const Oe of Pe){const Se=ve(Oe);Se instanceof pr&&(Ce&&(Ce+=`
60
- `),Ce+=Se.getTextContent(),We||(We=Se.__extendIds[0]))}Ce&&We&&ue(Ce,We)})}}}oe||i(pe=>pe.length===0?pe:[])})}),n.registerCommand(zw,()=>{const ne=window.getSelection();return ne!==null&&ne.removeAllRanges(),c(!0),!0},Ke),n.registerCommand(Fl,ne=>{if(!(ne!=null&&ne.clipboardData))return!1;ne.preventDefault();const Ae=J();if(!Ae||!Ae.getNodes().some(Pe=>ya(Pe)||ya(Pe.getParent())))return!1;const ke=Ae.getTextContent();return ne.clipboardData.setData("text/plain",ke),!0},Ne))},[n,B]);const Q=E.useCallback((X,ne,Ae)=>{n.getEditorState().read(()=>{const oe=J();if(Y(oe)){ne.current=oe.clone();const pe=oe.anchor,ke=oe.focus,Pe=m1(n,pe.getNode(),pe.offset,ke.getNode(),ke.offset);if(Pe!==null&&X!==null){const{left:Ce,bottom:We,top:Oe,width:Se}=Pe.getBoundingClientRect(),Je=A1(n,Pe),ut=X.offsetHeight||200,lt=window.pageYOffset||document.documentElement.scrollTop,Zt=window.innerHeight-We>ut+20;let Sn=Je.length===1?Ce+Se/2-125:Ce-125;Sn<10&&(Sn=10),X.style.left=`${Sn}px`,X.style.top=Zt?`${We+10+lt}px`:`${Oe-ut-55+lt}px`;const je=Je.length,{container:nt,elements:dt}=Ae,kt=dt.length;for(let ht=0;ht<je;ht++){const et=Je[ht];let $t=dt[ht];$t===void 0&&($t=document.createElement("span"),dt[ht]=$t,nt.appendChild($t));const lr=document.body.scrollHeight>window.innerHeight?0:8,Bn="255, 212, 0";$t.style.cssText=`position:absolute;top:${et.top+lt}px;left:${et.left+lr}px;height:${et.height}px;width:${et.width}px;background-color:rgba(${Bn}, 0.3);pointer-events:none;z-index:5;`}for(let ht=kt-1;ht>=je;ht--){const et=dt[ht];nt.removeChild(et),dt.pop()}}}})},[n]),re=(X,ne)=>{n.update(()=>{const oe=Array.from(X).filter(ke=>!!ve(ke))[0],pe=ve(oe);ya(pe)&&pe.selectStart()},{onUpdate(){ne&&ne.focus()}})},ce=X=>n.getEditorState().read(()=>X?X.getTextContent():"")??"",me={currentUser:C,workspaceMembers:_,commentOptions:x,selectMarkNode:re};return A.jsxs(A.Fragment,{children:[l&&yr.createPortal(A.jsx(jt.CommentComposer,{updateLocation:Q,setCommentValue:s,commentValue:o,handleBlur:U,submitAddComment:le,getSelectionText:ce,updateThreadId:ie,providedUser:C,provideCommentOptions:x,composerLocales:y.editor.comments,children:({editorRef:X})=>A.jsx(By,{initialContent:"",outputFormat:"html",debounce:1,editorRef:X,mode:"comment",shiftEnterInsertNewLine:!0,onChange:ne=>{typeof ne=="string"&&s(Ae=>({...Ae,value:ne}))}})}),document.body),k&&yr.createPortal(A.jsx(jt.CommentsPanel,{comments:R,submitAddComment:le,isLoading:u,deleteCommentOrThread:fe,activeIDs:r,restoreComment:W,deleteCommentImage:H,commentsFilter:w,setCommentsFilter:v,markNodeMap:B,locales:y.editor,listRef:e,addCommentReaction:K,updateCommentTextOrImage:te,resolveThreat:j,removeCommentReactions:V,updateThreadId:ie,storeOptions:me,getEditor:({setCommentValue:X,initialContent:ne="",editorRef:Ae})=>A.jsx(By,{initialContent:ne,outputFormat:"html",debounce:1,mode:"comment",shiftEnterInsertNewLine:!0,editorRef:Ae,onChange:oe=>{X==null||X(pe=>({...pe,value:oe}))}})}),document.body)]})}const lk="startTransition",Ay=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,hY=Ay?E.useLayoutEffect:E.useEffect;class gY{constructor(t){F(this,"key");F(this,"ref");this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}}const ak=n=>{const t=document.getElementById("typeahead-menu");if(!t)return;const e=t.getBoundingClientRect();e.top+e.height>window.innerHeight&&t.scrollIntoView({block:"center"}),e.top<0&&t.scrollIntoView({block:"center"}),n.scrollIntoView({block:"nearest"})};function ck(n,t){const e=n.getBoundingClientRect(),r=t.getBoundingClientRect();return e.top>=r.top-6&&e.top<=r.bottom+6}function pY(n,t,e,r){const[i]=Me();E.useEffect(()=>{if(t!=null&&n!=null){const o=i.getRootElement(),s=o!=null?(function(h){let g=getComputedStyle(h);const p=g.position==="absolute",m=/(auto|scroll)/;if(g.position==="fixed")return document.body;for(let y=h;y=y.parentElement;)if(g=getComputedStyle(y),(!p||g.position!=="static")&&m.test(g.overflow+g.overflowY+g.overflowX))return y;return document.body})(o):document.body;let l=!1,c=ck(t,s);const u=function(){l||(window.requestAnimationFrame(function(){e(),l=!1}),l=!0);const h=ck(t,s);h!==c&&(c=h,r!=null&&r(h))},d=new ResizeObserver(e);return window.addEventListener("resize",e),document.addEventListener("scroll",u,{capture:!0,passive:!0}),d.observe(t),()=>{d.unobserve(t),window.removeEventListener("resize",e),document.removeEventListener("scroll",u,!0)}}},[t,i,r,e,n])}const uk=we("SCROLL_TYPEAHEAD_OPTION_INTO_VIEW_COMMAND");function mY({close:n,editor:t,anchorElementRef:e,resolution:r,options:i,menuRenderFn:o,onSelectOption:s,shouldSplitNodeWithQuery:l=!1,commandPriority:c=Ne,preselectFirstItem:u=!0}){const[d,h]=E.useState(null),g=d!==null?Math.min(i.length-1,d):null,p=r.match&&r.match.matchingString;E.useEffect(()=>{u&&h(0)},[p,u]);const m=E.useCallback(w=>{t.update(()=>{const v=r.match!=null&&l?(function(C){const x=J();if(!Y(x)||!x.isCollapsed())return null;const _=x.anchor;if(_.type!=="text")return null;const N=_.getNode();if(!N.isSimpleText())return null;const T=_.offset,k=N.getTextContent().slice(0,T),M=C.replaceableString.length,I=T-(function(B,U,j){let K=j;for(let V=K;V<=U.length;V++)B.slice(-V)===U.substring(0,V)&&(K=V);return K})(k,C.matchingString,M);if(I<0)return null;let R;return I===0?[R]=N.splitText(T):[,R]=N.splitText(I,T),R})(r.match):null;s(w,v,n,r.match?r.match.matchingString:"")})},[t,l,r.match,s,n]),y=E.useCallback(w=>{const v=t.getRootElement();v!==null&&(v.setAttribute("aria-activedescendant","typeahead-item-"+w),h(w))},[t]);return E.useEffect(()=>()=>{const w=t.getRootElement();w!==null&&w.removeAttribute("aria-activedescendant")},[t]),hY(()=>{i===null?h(null):g===null&&u&&y(0)},[i,g,y,u]),E.useEffect(()=>tt(t.registerCommand(uk,({option:w})=>!(!w.ref||w.ref.current==null)&&(ak(w.ref.current),!0),c)),[t,y,c]),E.useEffect(()=>tt(t.registerCommand(Cs,w=>{const v=w;if(i!==null&&i.length){const C=g===null?0:g!==i.length-1?g+1:0;y(C);const x=i[C];if(!x)return y(-1),v.preventDefault(),v.stopImmediatePropagation(),!0;x.ref&&x.ref.current&&t.dispatchCommand(uk,{index:C,option:x}),v.preventDefault(),v.stopImmediatePropagation()}return!0},c),t.registerCommand(Hi,w=>{const v=w;if(i!==null&&i.length){const C=g===null?i.length-1:g!==0?g-1:i.length-1;y(C);const x=i[C];if(!x)return y(-1),v.preventDefault(),v.stopImmediatePropagation(),!0;x.ref&&x.ref.current&&ak(x.ref.current),v.preventDefault(),v.stopImmediatePropagation()}return!0},c),t.registerCommand(ec,w=>{const v=w;return v.preventDefault(),v.stopImmediatePropagation(),n(),!0},c),t.registerCommand(nc,w=>{const v=w;return i!==null&&g!==null&&i[g]!=null&&(v.preventDefault(),v.stopImmediatePropagation(),m(i[g]),!0)},c),t.registerCommand(pl,w=>i!==null&&g!==null&&i[g]!=null&&(w!==null&&(w.preventDefault(),w.stopImmediatePropagation()),m(i[g]),!0),c)),[m,n,t,i,g,y,c]),o(e,E.useMemo(()=>({options:i,selectOptionAndCleanUp:m,selectedIndex:g,setHighlightedIndex:h}),[m,g,i]),r.match?r.match.matchingString:"")}function dk(n,t){t!=null&&(n.className=t),n.setAttribute("aria-label","Typeahead menu"),n.setAttribute("role","listbox"),n.style.display="block",n.style.position="absolute"}const AY=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`;function yY(n,{minLength:t=1,maxLength:e=75,punctuation:r=AY,allowWhitespace:i=!1}){return E.useCallback(o=>{const s=new RegExp("(^|\\s|\\()(["+n+"]((?:"+("[^"+n+r+(i?"":"\\s")+"]")+"){0,"+e+"}))$").exec(o);if(s!==null){const l=s[1],c=s[3];if(c.length>=t)return{leadOffset:s.index+l.length,matchingString:c,replaceableString:s[2]}}return null},[i,n,r,e,t])}function iM({options:n,onQueryChange:t,onSelectOption:e,onOpen:r,onClose:i,menuRenderFn:o,triggerFn:s,anchorClassName:l,commandPriority:c=Ne,parent:u,preselectFirstItem:d=!0,ignoreEntityBoundary:h=!1}){const[g]=Me(),[p,m]=E.useState(null),y=(function(C,x,_,N=Ay?document.body:void 0,T=!0){const[k]=Me(),M=Ay?document.createElement("div"):null,I=E.useRef(M),R=E.useCallback(()=>{if(I.current===null||N===void 0)return;I.current.style.top=I.current.style.bottom;const U=k.getRootElement(),j=I.current,K=j.firstChild;if(U!==null&&C!==null){const{left:V,top:ue,width:fe,height:ie}=C.getRect(),le=I.current.offsetHeight;if(j.style.top=`${ue+le+3+(T?window.pageYOffset:0)}px`,j.style.left=`${V+window.pageXOffset}px`,j.style.height=`${ie}px`,j.style.width=`${fe}px`,K!==null){K.style.top=`${ue}`;const te=K.getBoundingClientRect(),H=te.height,W=te.width,Q=U.getBoundingClientRect();V+W>Q.right&&(j.style.left=`${Q.right-W+window.pageXOffset}px`),(ue+H>window.innerHeight||ue+H>Q.bottom)&&ue-Q.top>H+ie&&(j.style.top=`${ue-H-ie+(T?window.pageYOffset:0)}px`)}j.isConnected||(dk(j,_),N.append(j)),j.setAttribute("id","typeahead-menu"),U.setAttribute("aria-controls","typeahead-menu")}},[k,C,T,_,N]);E.useEffect(()=>{const U=k.getRootElement();return C!==null&&R(),()=>{U!==null&&U.removeAttribute("aria-controls");const j=I.current;j!==null&&j.isConnected&&(j.remove(),j.removeAttribute("id"))}},[k,R,C]);const B=E.useCallback(U=>{C!==null&&(U||x(null))},[C,x]);return pY(C,I.current,R,B),M!=null&&M===I.current&&(dk(M,_),N!=null&&N.append(M)),I})(p,m,l,u),w=E.useCallback(()=>{m(null),i!=null&&p!==null&&i()},[i,p]),v=E.useCallback(C=>{m(C),r!=null&&p===null&&r(C)},[r,p]);return E.useEffect(()=>{const C=g.registerUpdateListener(()=>{g.getEditorState().read(()=>{if(!g.isEditable())return void w();const x=g._window||window,_=x.document.createRange(),N=J(),T=(function(I){let R=null;return I.getEditorState().read(()=>{const B=J();Y(B)&&(R=(function(U){const j=U.anchor;if(j.type!=="text")return null;const K=j.getNode();if(!K.isSimpleText())return null;const V=j.offset;return K.getTextContent().slice(0,V)})(B))}),R})(g);if(!Y(N)||!N.isCollapsed()||T===null||_===null)return void w();const k=s(T,g);if(t(k?k.matchingString:null),k!==null&&(h||!(function(I,R){return R===0&&I.getEditorState().read(()=>{const B=J();if(Y(B)){const U=B.anchor.getNode().getPreviousSibling();return ae(U)&&U.isTextEntity()}return!1})})(g,k.leadOffset))&&(function(R,B,U){const j=ni(U);if(j===null||!j.isCollapsed)return!1;const K=j.anchorNode,V=R,ue=j.anchorOffset;if(K==null||ue==null)return!1;try{B.setStart(K,V),B.setEnd(K,ue)}catch{return!1}return!0})(k.leadOffset,_,x)!==null)return M=()=>v({getRect:()=>_.getBoundingClientRect(),match:k}),void(lk in E?E[lk](M):M());var M;w()})});return()=>{C()}},[g,s,t,p,w,v,h]),E.useEffect(()=>g.registerEditableListener(C=>{C||w()}),[g,w]),p===null||g===null||y.current===null?null:A.jsx(mY,{close:w,resolution:p,editor:g,anchorElementRef:y,options:n,menuRenderFn:o,shouldSplitNodeWithQuery:!0,onSelectOption:e,commandPriority:c,preselectFirstItem:d})}const fk=(n,t,e)=>{if(!n)return null;let r=null;return e.read(()=>{const i=Fe(n);r=i&&hb(i,t)}),r},bY=we("INSERT_EMBED_COMMAND"),Uw=we("INSERT_EMBED_INTEGRATION_COMMAND ");function wY(){const[n]=Me();return E.useEffect(()=>{if(!n.hasNodes([gc]))throw new Error("EmbedPlugin: EmbedNode not registered on editor");return n.registerCommand(Uw,t=>{const e=pw(t,"100%","100%","",!0,"unknown"),r=zt();return r&&r.getParent()&&(r==null||r.replace(e)),!0},Ke)},[n]),null}const Kw=we(),CY=n=>{const t=J();if(Y(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=Te(e,wh),i=Te(e,Ri),{lexicalNode:o}=Va(e,n,{"layout-item":!0});if(o&&!o.getTextContent()&&r)return Ig(n,r,i)&&Ri(o)}return!0},vY=n=>{const t=J();if(Y(t)&&t.isCollapsed()){const e=t.focus.getNode().getParent(),r=e==null?void 0:e.getParent();if((e==null?void 0:e.getTextContent())===`
61
-
62
- `&&(mn(e==null?void 0:e.getChildren()[0])||mn(e==null?void 0:e.getChildren()[1])))return qa(n,e,r)}return!1};function xY(){const[n]=Me();return E.useEffect(()=>{if(!n.hasNodes([ei,Lr,wi]))throw new Error("LayoutPlugin: LayoutContainerNode, or LayoutItemNode not registered on editor");return tt(n.registerCommand(Kw,t=>(n.update(()=>{const e=Sg(t),r=SY(t);for(let o=0;o<r;o++)e.append(Ii().append(Ee()).append(ui()));const i=zt();i&&(i==null||i.replace(e),e.selectStart())}),!0),Ke),n.registerCommand(Bl,()=>{var o,s;const t=J();if(!Y(t))return!1;const e=(o=t.focus)==null?void 0:o.getNode(),r=(s=Te(e,Ri))==null?void 0:s.getKey(),i=e==null?void 0:e.getPreviousSibling();return setTimeout(()=>{n.update(()=>{if(i instanceof ei){const c=ui(),u=i.getLastChild();u==null||u.append(c)}const l=r?ve(r):null;if(l!=null&&l.getChildren&&l.getChildren().length===1){const c=Ee();l.append(c),c.selectStart()}})},50),!1},bn),n.registerNodeTransform(Lr,t=>{const e=t.getParent();if(!wh(e)){const r=t.getChildren();for(const i of r)t.insertBefore(i);t.remove()}}),n.registerNodeTransform(ei,t=>{const e=t.getChildren();if(!e.every(Ri)){for(const r of e)t.insertBefore(r);t.remove()}}))},[n]),E.useEffect(()=>{const t=c=>{const u=c.target.closest(".dsd__theme__layoutItem"),d=c.target.closest(".dsd__theme__layoutDivider");u&&d&&(c.preventDefault(),n.update(()=>{const h=Fe(u);h&&h.selectStart()}),s(u,c),d.classList.add("dragging"))};let e=!1,r=0,i=[],o;function s(c,u){e=!0;const d=document.querySelector("code");d&&(d.style.pointerEvents="none"),r=u.clientX,o=c.closest(".dsd__theme__layoutContainer");const h=o.querySelectorAll(".dsd__theme__layoutItem"),g=Array.from(h).indexOf(c),p=h[g-1];i[0]=p?p.getBoundingClientRect().width:0,i[1]=c.getBoundingClientRect().width;const m=w=>l(w,g,h),y=w=>{e=!1,n.dispatchCommand(ey,"up"),d&&d.style.pointerEvents==="none"&&(d.style.pointerEvents="auto");const v=w.target.closest(".dsd__theme__layoutContainer"),C=document.querySelector(".dsd__theme__layoutDivider.dragging");C&&C.classList.remove("dragging"),v&&n.update(()=>{Fe(v).setTemplateColumns(v.style.gridTemplateColumns)}),document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",y)};document.addEventListener("mousemove",m),document.addEventListener("mouseup",y)}function l(c,u,d){if(!e)return;n.dispatchCommand(ey,"move");const h=c.clientX-r;if(Math.abs(h)<4||!u)return;const p=i[0]+h,m=i[1]-h;let y=u;const{columnGap:w,gap:v}=getComputedStyle(o),C=parseFloat(w||v||"0")||0,x=o.clientWidth-C*Math.max(0,d.length-1),_=y===1?50:100,N=100,T=Math.max(_,p),k=Math.max(N,m),M=T/x*100,I=k/x*100,R=Array.from(d).map((U,j)=>{const K=j?100:50;if(j===y-1)return`minmax(${K}px,${gy(M)}%)`;if(j===y)return`minmax(${K}px, ${gy(I)}%)`;const V=Mg(o.style.gridTemplateColumns)[j];return`minmax(${K}px,${V})`}),B=document.querySelector(".dsd__theme__layoutDivider.dragging");if(B&&o){const U=o.clientHeight+"px";B.style.getPropertyValue("--height-column")!==U&&requestAnimationFrame(()=>{B.style.setProperty("--height-column",U)})}o.style.gridTemplateColumns=R.join(" ")}return document.body.addEventListener("mousedown",t),()=>{document.body.removeEventListener("mousedown",t)}},[n]),null}function SY(n){return n.replace(/\(([^)]+)\)/g,e=>e.replace(/\s+/g,"")).trim().split(/\s+/).length}const oM=we("INSERT_SWAGGER_COMMAND");function EY(){const[n]=Me();return E.useEffect(()=>{if(!n.hasNodes([nd]))throw new Error("SwaggerPlugin: SwaggerPlugin not registered on editor");return n.registerCommand(oM,t=>{const e=zt();if(e&&e.getParent()){const r=ww(t,"",!0);e==null||e.replace(r)}return!0},Ke)},[n]),null}const kY="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAACWCAYAAAAff3ceAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGPRSURBVHgB7b1LyG1RUucZcfJW01iZpkU1dKcPqBr4mlWrAxFUUFAHCgWCIx0UOHPiY644VFBHjhzUQB3bDQrqQMGJImIXCIIKnUX7yFFDolbVwPSLuufcHWv/4h+x9jlXHeaC7ztn770e8fxHrLXX3sftffnsZz/37+IT8Z/ff/0P7/++zL5Yvli+WL5YXixh9n/d/pX/2L//zGf+qx9g8v/8m09/6su+9FP/Om7uftYzn9sb69im3gt02LOxdvUC191eo9XsepyPLR8rB9bZ8bSTx6t0P6u3G8vsX04uH1tesYOP1ZvaiW+u24vned3sNVvd0WJPaJp0b/bPs+NnMn7FBse+3iLs7//+v/v///m//bz/K/8/b2+fiF/4t//m05/+si/9pN3crwjiJ79PzNvFuandlXCu6jk+SWNc1J9o1DLx+4wulcNkQL5pq7Tt+NzRqd+nY57/mP52/b5yfZKDyXWWZ7a068c2/ahedu1eBdVnfSlIx0CLD/V0jBj6fcUm8/qVXP8pgWPr//cE5H0iYl/26U9+WfxD/Ofb+97/4ye/5H+9MnQl7EpZE/Lxc9fvVJT4nZBUmTuFXRm3DX3HRT/T96mPqZAO7Wsnv92xjncFmHFRZwI1vTaNN9H8qjNf8cqI+Uxn1NGz+rFpYy+0+Ri9TbTZ8H2qq+fUN6/kOpVnoK592/B9R8+q8+lP/uv7x3+43f/fbjcdYOqIxF1FshgI2EWeZw6zQ/5p7Ak8NOpPEcQ23yfh7s5re9IwRRt/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dU23V2Ozbt27d27bt27B2bBnd3dDIHyvg7u9mzZsu9l3d3VN1VU3VNtt/UBQMDw+G8cxkOD1bbZyOdk+yXhL5JJJJeySXq37YnHIZPwPCS8JJJe6SSXolIEyMTjK8Dg9W/tjwcHoPRIj/MAAvU8P0//EAB8RAQEAAgMBAQEBAQAAAAAAAAEAAhARIEAwUGAhcP/aAAgBAwEDPwD/AJJx/B8a5/JZ8fH53NzcesiI/BWZnXHp5sp4uX/blnn2LOyOh7edcS2UySeTmfzTRDGk2zP043z+iMREadMz9+fwT4GudGyCI1xHy40NjH4LPZnRBoiNERpZfoySbIiGPORFjY2NjER1ZsrKyn1JZWUz4mbKyn9pmZnsvZuPIzOmdcTLMzBGudEafIREWNiaZ8J2I06IIjRHUiI8fGmZbnqzJpspmbKy2GuYiPyTscx2INER246n4xERERERERERERERERH7RGmbKZmZ7M9j3H1LGxsbHuzM7fgzMzMz5iIixsYjTLNzM2Usz8iIiOhERERG2dvZ+jZWUzMzNlZWUzs0eZ6keBnbM7ZZnQRERsiPuz9GZmfAREbPaRGiIiLGxsbGwiNMzNlM2UzPVmZmfwWZmZmZmZ06erP2I8LMzM/wrMz/AAZERERER4yOyz+E2VlMzMzMzP3Ieg6CxmfwCIiIiI0d2WymZmeiaNcd2fUREbI6ER8OIsWPC+oufqzMzPxZmZ6ERERGyPMRcQ/IiIiIiIiIjZFjEWNjERER1IiIiPzGfERYxpn+HZ+LMzM/hY2NjY2P8T//2Q==",gn={header:(n,t)=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsxs(L.Group,{p:8,gap:0,className:"hintBoard",children:[A.jsx(L.Title,{order:t,mb:"sm",mt:12-(t-1)*4,h:40-(t-1)*4,children:n("editor.heading.name")+` H${t}`}),A.jsx(L.Text,{size:"sm",h:80,lh:"21px",children:n("editor.menu.heading.hintShowCase",{projectName:"Layers"})})]})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n(`editor.menu.heading.h${t}.hintDescription`)})]}),ol:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsx(L.Group,{p:8,gap:0,w:"100%",h:150,className:"hintBoard",children:A.jsxs(L.List,{type:"ordered",mt:2,children:[A.jsx(L.List.Item,{fz:"sm",children:n("editor.menu.lists.numberList.hint.firstItem")}),A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondItem")}),A.jsxs(L.List,{pl:18,listStyleType:"upper-alpha",children:[A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.firstSubItem")}),A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondSubItem")}),A.jsxs(L.List,{pl:22,withPadding:!0,listStyleType:"lower-roman",children:[A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.firstSubSubItem")}),A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondSubSubItem")})]})]})]})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.lists.numberList.hint.description")})]}),ul:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsx(L.Group,{p:8,gap:0,w:"100%",h:150,className:"hintBoard",children:A.jsxs(L.List,{type:"unordered",mt:2,children:[A.jsx(L.List.Item,{fz:"sm",children:n("editor.menu.lists.numberList.hint.firstItem")}),A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondItem")}),A.jsxs(L.List,{pl:18,listStyleType:"circle",children:[A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.firstSubItem")}),A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondSubItem")}),A.jsxs(L.List,{pl:22,withPadding:!0,listStyleType:"square",children:[A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.firstSubSubItem")}),A.jsx(L.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondSubSubItem")})]})]})]})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.lists.bulletList.hint.description")})]}),checkList:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsx(L.Group,{p:8,gap:0,w:"100%",h:150,className:"hintBoard",pt:"sm",children:A.jsxs(L.Checkbox.Group,{defaultValue:["indeterminate","checked"],mt:4,children:[A.jsx(L.Checkbox,{radius:"sm",size:"xs",value:"indeterminate",indeterminate:!0,pb:3,label:n("editor.menu.lists.checkList.hint.indeterminate")}),A.jsxs(L.Checkbox.Group,{pl:18,defaultValue:["indeterminate"],children:[A.jsx(L.Checkbox,{radius:"sm",size:"xs",value:"unchecked",py:3,label:n("editor.menu.lists.checkList.hint.unchecked")}),A.jsx(L.Checkbox,{radius:"sm",size:"xs",value:"indeterminate",indeterminate:!0,py:3,label:n("editor.menu.lists.checkList.hint.indeterminate")}),A.jsxs(L.Checkbox.Group,{pl:18,defaultValue:["check"],children:[A.jsx(L.Checkbox,{value:"check",size:"xs",radius:"sm",py:3,label:n("editor.menu.lists.checkList.hint.checked")}),A.jsx(L.Checkbox,{radius:"sm",size:"xs",value:"unchecked",py:3,label:n("editor.menu.lists.checkList.hint.unchecked")})]})]}),A.jsx(L.Checkbox,{radius:"sm",size:"xs",value:"checked",pt:3,label:n("editor.menu.lists.checkList.hint.checked")})]})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.lists.checkList.hint.description")})]}),type:(n,t,e)=>r=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsxs(L.Group,{p:8,gap:0,w:"100%",h:150,align:"start",wrap:"nowrap",className:"hintBoard dsd__theme__callout-wrapper","data-emoji":n,"data-type":e,style:{backgroundColor:t},children:[A.jsx(L.Box,{children:A.jsx(L.Text,{w:26,mr:"sm",ta:"center",children:n})}),A.jsx(L.Text,{size:"sm",lh:"21px",children:r("editor.menu.callout.default.hint.body",{projectName:"Layers"})})]})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:r("editor.menu.callout.warning.hint.description")})]}),paragraph:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Group,{p:8,pt:"sm",gap:0,className:"hintBoard",children:A.jsx(L.Text,{size:"sm",lh:"21px",children:n("editor.menu.main.paragraph.hint.text",{projectName:"Layers"})})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.paragraph.hint.description")})]}),quote:n=>A.jsxs(L.Group,{gap:0,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{p:"sm",gap:0,children:A.jsx(L.Group,{p:8,pt:"sm",gap:0,className:"hintBoard",children:A.jsx(L.Group,{gap:0,className:"quote",children:A.jsx(L.Text,{size:"sm",lh:"21px",children:n("editor.menu.main.quote.hint.text",{projectName:"Layers"})})})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.quote.hint.description")})]}),collapse:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsx(L.Group,{p:8,pt:"sm",gap:0,w:"100%",h:150,className:"hintBoard",children:A.jsxs(L.List,{type:"unordered",children:[A.jsx(L.List.Item,{icon:A.jsx(ee.IconTriangleFilled,{size:8,className:"rotate-90deg"}),fz:"sm",children:n("editor.menu.main.collapse.hint.firstItemEmpty")}),A.jsx(L.List.Item,{icon:A.jsx(ee.IconTriangleFilled,{size:8,className:"rotate-180deg"}),fz:"sm",mt:2,children:n("editor.menu.main.collapse.hint.secondItem")}),A.jsxs(L.List,{pl:18,listStyleType:"circle",children:[A.jsx(L.List.Item,{fz:"sm",mt:3,icon:A.jsx(ee.IconTriangleFilled,{size:8,className:"rotate-90deg"}),children:n("editor.menu.main.collapse.hint.firstSubItemEmpty")}),A.jsx(L.List.Item,{fz:"sm",mt:2,icon:A.jsx(ee.IconTriangleFilled,{size:8,className:"rotate-180deg"}),children:n("editor.menu.main.collapse.hint.secondSubItem")}),A.jsxs(L.List,{pl:22,withPadding:!0,listStyleType:"square",children:[A.jsx(L.List.Item,{fz:"sm",mt:2,icon:A.jsx(ee.IconTriangleFilled,{size:8,className:"rotate-90deg"}),children:n("editor.menu.main.collapse.hint.firstSubSubItemEmpty")}),A.jsx(L.List.Item,{fz:"sm",mt:2,icon:A.jsx(ee.IconTriangleFilled,{size:8,className:"rotate-180deg"}),children:n("editor.menu.main.collapse.hint.secondSubSubItem")})]})]})]})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.collapse.hint.description")})]}),divider:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Group,{p:8,pt:"sm",gap:0,className:"hintBoard",children:A.jsxs(L.Box,{children:[A.jsx(L.Text,{size:"sm",lh:"21px",children:n("editor.menu.main.horizontal-rule.hint.topText")}),A.jsx(L.Divider,{my:"sm"}),A.jsx(L.Text,{size:"sm",lh:"21px",children:n("editor.menu.main.horizontal-rule.hint.bottomText")})]})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.horizontal-rule.hint.description")})]}),table:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Group,{gap:0,p:8,pt:"sm",className:"hintBoard",w:276,children:A.jsxs(L.Table,{p:8,withTableBorder:!0,withRowBorders:!0,withColumnBorders:!0,h:150,children:[A.jsx(L.Table.Thead,{children:A.jsxs(L.Table.Tr,{h:58,children:[A.jsxs(L.Table.Th,{fz:"sm",fw:400,miw:177,style:{position:"relative"},children:[A.jsx(L.ActionIcon,{className:"hintActionIcon",color:"var(--mantine-color-gray-light)",variant:"filled",size:14,style:{right:5,top:5},children:A.jsx(xe,{stroke:1,size:10,name:"chevron-down"})}),A.jsx(L.ActionIcon,{className:"hintActionIcon",color:"var(--mantine-color-gray-light)",variant:"filled",size:14,style:{left:-7.5,bottom:-7},children:A.jsx(xe,{stroke:1,size:10,name:"plus"})}),A.jsx(L.ActionIcon,{className:"hintActionIcon",color:"var(--mantine-color-gray-light)",variant:"filled",size:14,style:{right:-7.5,top:-7},children:A.jsx(xe,{stroke:1,size:10,name:"plus"})}),n("editor.menu.main.table.hint.firstRow")]}),A.jsx(L.Table.Th,{w:177,fz:"sm",fw:400})]})}),A.jsxs(L.Table.Tbody,{children:[A.jsxs(L.Table.Tr,{h:47,children:[A.jsx(L.Table.Td,{}),A.jsx(L.Table.Td,{})]}),A.jsxs(L.Table.Tr,{children:[A.jsxs(L.Table.Td,{miw:177,children:[" ",A.jsx(L.Checkbox,{mt:-19,radius:"sm",size:"xs",value:"checked",defaultChecked:!0,indeterminate:!0,label:n("editor.menu.lists.checkList.hint.indeterminate")})]}),A.jsx(L.Table.Td,{miw:177,children:A.jsx(L.Text,{fz:"sm",fw:400,children:n("editor.menu.main.table.hint.secondRow")})})]})]})]})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.table.hint.description")})]}),grid:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Group,{gap:0,p:8,className:"hintBoard",w:276,children:A.jsxs(L.Flex,{align:"flex-start",gap:"sm",children:[A.jsx(L.Text,{size:"sm",lh:"21px",miw:180,children:n("editor.menu.main.grid.hint.firstColumn")}),A.jsx(L.Text,{size:"sm",lh:"21px",miw:180,children:n("editor.menu.main.grid.hint.secondColumn",{projectName:"Layers"})})]})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.grid.hint.description")})]}),code:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Group,{px:8,gap:0,className:"hintBoard",children:A.jsx(L.Image,{style:{flex:1},radius:"sm",fit:"cover",src:TY,w:"110%",h:"110%"})})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.code.hint.description")})]}),image:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Image,{style:{border:"1px solid #E9ECEF",flex:1},radius:"sm",fit:"cover",src:IY,w:"100%",h:"100%"})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.photo.hint.description")})]}),video:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsxs(L.Group,{px:"sm",pt:"sm",gap:0,children:[A.jsx(L.Image,{style:{border:"1px solid var(--mantine-color-default-border)",flex:1},radius:"sm",fit:"cover",src:MY,w:"100%",h:"100%"}),A.jsx(L.Box,{w:274,style:{display:"flex",justifyContent:"center",alignItems:"center",position:"absolute"},children:A.jsx(ee.IconPlayerPlayFilled,{size:32})})]}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.video.hint.description")})]}),audio:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Image,{style:{border:"1px solid var(--mantine-color-default-border)",flex:1},radius:"sm",fit:"cover",src:kY,w:"100%",h:"100%"})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.audio.hint.description")})]}),file:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Image,{style:{border:"1px solid var(--mantine-color-default-border)",flex:1},radius:"sm",fit:"cover",src:_Y,w:"100%",h:"100%"})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.file.hint.description")})]}),excalidraw:n=>A.jsxs(L.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(L.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(L.Image,{style:{border:"1px solid var(--mantine-color-default-border)",flex:1},radius:"sm",fit:"cover",src:NY,w:"100%",h:"100%"})}),A.jsx(L.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.excalidraw.hint.description")})]})};function Mi(n,t,e){return e.filter(r=>n(r)).map(r=>t(r))}const DY=["editor.menu.lists.bulletList.keywords.bulletsAlt1","editor.menu.lists.bulletList.keywords.bulletsAlt2"],LY=["editor.menu.main.quote.keywords.quote","editor.menu.main.quote.keywords.mark","editor.menu.main.quote.keywords.citation"],OY=["editor.menu.main.collapse.keywords.collapsibleList","editor.menu.main.collapse.keywords.expandList","editor.menu.main.collapse.keywords.hideList","editor.menu.main.collapse.keywords.turnList"],RY=["editor.menu.main.horizontalRule.keywords.divider","editor.menu.main.horizontalRule.keywords.horizontalLine","editor.menu.main.horizontalRule.keywords.border"],PY=["editor.menu.main.table.keywords.table"],BY=["editor.menu.main.grid.keywords.net","editor.menu.main.grid.keywords.grid","editor.menu.main.grid.keywords.columns"],FY=["editor.menu.main.code.keywords.code","editor.menu.main.code.keywords.snippet"],jY=["editor.menu.media.photo.keywords.picture","editor.menu.media.photo.keywords.display","editor.menu.media.photo.keywords.meme","editor.menu.media.photo.keywords.drawing","editor.menu.media.photo.keywords.memePic"],zY=["editor.menu.media.form.keywords"],UY=["editor.menu.media.video.keywords.video"],hk=(n,t,e)=>{const r=l=>e?Mi(e,t,l):[],i=r(DY),o=r([`editor.menu.lists.${n}List.keywords.heading`,`editor.menu.lists.${n}List.keywords.headingList`,`editor.menu.lists.${n}List.keywords.markers`]);return({number:["numberedlist","orderedlist","ol","numbers"],bullet:["bulletedlist","unorderedlist","ul","bullets"],check:["checklist","todolist","check","done","shoppinglist"]}[n]||[]).concat(i,o)},Gs=(n,t,e)=>{const r=e?Mi(e,t,LY):[],i=e?Mi(e,t,OY):[],o=e?Mi(e,t,RY):[],s=e?Mi(e,t,PY):[],l=e?Mi(e,t,BY):[],c=e?Mi(e,t,FY):[];switch(n){case"quote":return["blockquote","quote"].concat(r);case"collapse":return["collapse","collapsiblelist","toggle"].concat(i);case"horizontal-rule":return["horizontalrule","divider","hr","line"].concat(o);case"table":return["table","spreadsheet","rows","columns"].concat(s);case"grid":return["columns","layout","grid"].concat(l);case"code":return["javascript","python","js","codeblock","code","snippet"].concat(c)}},ba=(n,t,e)=>{const r=e?Mi(e,t,jY):[],i=e?Mi(e,t,zY):[],o=e?Mi(e,t,UY):[];switch(n){case"photo":return["image","photo","picture","img","png","jpg","jpeg","media"].concat(r);case"file":return["file","pdf","zip","media"].concat(r);case"excalidraw":return["excalidraw","paint","draw","media"].concat(r);case"audio":return["audio","music"].concat(r);case"form":return["form","embed","media"].concat(i);case"video":return["youtube","rutube","vkvideos","video","mp4","webm","media"].concat(o)}},kn={size:18},KY=[{type:"number",command:fg,name:"editor.menu.lists.numberList.name",iconName:"number",hint:gn.ol,description:"editor.menu.lists.numberList.subtitle"},{type:"bullet",command:qb,name:"editor.menu.lists.bulletList.name",iconName:"bullet",hint:gn.ul,description:"editor.menu.lists.bulletList.subtitle"},{type:"check",command:$b,name:"editor.menu.lists.checkList.name",iconName:"check",hint:gn.checkList,description:"editor.menu.lists.checkList.subtitle"}],WY=[{type:"default",command:"default",name:"editor.menu.callout.default.name",iconName:"defaultOff",hint:gn.type("🙂","","default"),description:"editor.menu.callout.default.subtitle"},{type:"alert",command:"alert",name:"editor.menu.callout.alert.name",iconName:"alert",hint:gn.type("❗","rgba(255, 224, 223, 1)","alert"),description:"editor.menu.callout.alert.subtitle"},{type:"success",command:"success",name:"editor.menu.callout.success.name",iconName:"success",hint:gn.type("✅","rgba(219, 242, 233, 1)","success"),description:"editor.menu.callout.success.subtitle"},{type:"warning",command:"warning",name:"editor.menu.callout.warning.name",iconName:"warning",hint:gn.type("⚠️","rgba(254, 247, 230)","warning"),description:"editor.menu.callout.warning.subtitle"}],HY=n=>({1:n("editor.menu.heading.h1.subtitle"),2:n("editor.menu.heading.h2.subtitle"),3:n("editor.menu.heading.h3.subtitle")}),Tn=(n,t,e)=>{n.update(()=>{let r=zt();if(!e&&((r==null?void 0:r.__type)==="text"||(r==null?void 0:r.__type)==="listitem")){const i=Ee(),{lexicalNode:o}=Va(r,n,{root:!0,"layout-item":!0,callout:!0,"collapsible-content":!0});i.append(),o==null||o.insertAfter(i).selectStart(),t(i)}else t(r)})};function sM(n){return n?"active dropdown-item-active":""}const lM={flip:!0,size:{padding:8,apply({availableHeight:n,elements:t}){requestAnimationFrame(()=>{Object.assign(t.floating.style,{maxHeight:`${n>=425?425:n}px`})})}}};function YY(n,t){return n==="swagger"?!0:t}function ZY(n){const t=J();if(!t||!Y(t))return!1;if(document.querySelector(".selected-all-document"))return vl(t,n),!0;const e=t.getNodes(),r=[],i=new Set;for(const s of e){const l=Te(s,wt);if(!l)continue;const c=Te(l,Qe);if(!c)continue;const u=c.getKey();i.has(u)||(i.add(u),r.push(c))}if(r.length===0)return vl(t,n),!0;const o=s=>{const l=[];return s.getChildren().filter(wt).forEach(u=>{let d=n();u.getChildren().forEach(g=>{if(Qe(g)){d.getChildrenSize()>0&&(l.push(d),d=n()),l.push(...o(g));return}d.append(g)}),d.getChildrenSize()>0&&l.push(d)}),l};return r.forEach(s=>{const l=s.getParent();if(!l||!G(l))return;o(s).forEach(u=>{s.insertBefore(u)}),s.remove()}),!0}function mf(n,t){n.update(()=>{if(ZY(t))return;const r=J();r&&vl(r,t)})}function aM({editor:n,isToolbar:t,excludeNodes:e,t:r,exists:i}){const o=HY(r),s=y=>{switch(y){case 1:return["heading1","hone","h1",r("editor.menu.heading.h1.keywords.headerOne")];case 2:return["heading2","htwo","h2",r("editor.menu.heading.h2.keywords.headerTwo")];case 3:return["heading3","hthree","h3",r("editor.menu.heading.h3.keywords.headerThree")]}},l=y=>r(y).toUpperCase(),c=()=>[1,2,3].map(y=>({parentKey:"heading",name:`${r("editor.heading.name")} ${y}`,description:o[y]||"Добавите заголовок",hint:gn.header(r,y),keywords:[`${s(y)}`,`${r(`editor.menu.heading.h${y}.keywords.header${y}`)}`,`${r(`editor.menu.heading.h${y}.keywords.heading`)}`,`${r(`editor.menu.heading.h${y}.keywords.h${y}`)}`],icon:A.jsx(xe,{...kn,radius:"xs",name:`h${y}`}),key:`${y}`,hide:e[`${y}`],"data-test-id":`block-type-h${y}`,onSelect:()=>{Tn(n,()=>{mf(n,()=>xo(`h${y}`))},t)}})),u=()=>KY.map(({type:y,command:w,iconName:v,hint:C,description:x,name:_})=>({parentKey:"list",name:r(_),description:r(x),icon:A.jsx(xe,{...kn,name:v}),keywords:[`${hk(y,r,i)}`],key:y,hint:C(r),hide:e[y],"data-test-id":`block-type-${y}`,onSelect:()=>Tn(n,()=>{n.dispatchCommand(w,void 0)},t)})),d=()=>[{parentKey:"main",name:r("editor.menu.main.paragraph.name"),description:r("editor.menu.main.paragraph.subtitle"),icon:A.jsx(xe,{...kn,name:"paragraph"}),keywords:[`${Gs("paragraph",r,i)}`],key:"paragraph","data-test-id":"block-type-paragraph",hint:gn.paragraph(r),hide:e.paragraph||!t,onSelect:()=>Tn(n,()=>{mf(n,()=>Ee())},t)},{parentKey:"main",name:r("editor.menu.main.quote.name"),description:r("editor.menu.main.quote.subtitle"),icon:A.jsx(xe,{...kn,name:"quote"}),keywords:[`${Gs("quote",r,i)}`],key:"quote",hint:gn.quote(r),hide:e.quote,"data-test-id":"block-type-quote",onSelect:()=>Tn(n,()=>{mf(n,()=>qu())},t)},{parentKey:"main",name:r("editor.menu.main.collapse.name"),description:r("editor.menu.main.collapse.subtitle"),icon:A.jsx(xe,{...kn,name:"caret-right"}),keywords:[`${Gs("collapse",r,i)}`],key:"caret-right",hint:gn.collapse(r),hide:t||e["caret-right"],"data-test-id":"block-type-collapse",onSelect:()=>Tn(n,()=>{n.dispatchCommand(nM,void 0)},t)},{parentKey:"main",name:r("editor.menu.main.horizontal-rule.name"),description:r("editor.menu.main.horizontal-rule.subtitle"),icon:A.jsx(xe,{...kn,name:"horizontal-rule"}),keywords:[`${Gs("horizontal-rule",r,i)}`],hint:gn.divider(r),hide:t||e["horizontal-rule"],key:"horizontal-rule","data-test-id":"block-type-horizontal-rule",onSelect:()=>{Tn(n,y=>{const w=y==null?void 0:y.getParent();if(Ri(w)){const v=cc(),C=y==null?void 0:y.replace(v);C==null||C.insertAfter(Ee())}else n.dispatchCommand(sN,void 0);!(y!=null&&y.getTextContent())&&!bg(y==null?void 0:y.getParent())&&(y==null||y.remove())},t)}},{parentKey:"main",name:r("editor.menu.main.table.name"),description:r("editor.menu.main.table.subtitle"),icon:A.jsx(xe,{...kn,name:"table"}),keywords:[`${Gs("table",r,i)}`],key:"table",hint:gn.table(r),hide:t||e.table,"data-test-id":"block-type-table",onSelect:()=>Tn(n,()=>{n.dispatchCommand(hg,{columns:"4",includeHeaders:!1,rows:"3"})},t)},{parentKey:"main",name:r("editor.menu.main.grid.name"),description:r("editor.menu.main.grid.subtitle"),icon:A.jsx(xe,{...kn,name:"grid"}),keywords:[`${Gs("grid",r,i)}`],hide:t||e.grid,hint:gn.grid(r),key:"grid","data-test-id":"block-type-grid",onSelect:()=>Tn(n,()=>{n.dispatchCommand(Kw,mw)},t)},{parentKey:"main",name:r("editor.menu.main.code.name"),description:r("editor.menu.main.code.subtitle"),icon:A.jsx(xe,{...kn,name:"code"}),keywords:[`${Gs("code",r,i)}`],key:"code",hint:gn.code(r),hide:e.code,"data-test-id":"block-type-code",onSelect:()=>Tn(n,()=>{mf(n,()=>hI())},t)}],h=()=>WY.map(({type:y,command:w,iconName:v,hint:C,description:x,name:_})=>({parentKey:"callout",name:r(_),description:r(x),icon:A.jsx(xe,{...kn,name:v}),keywords:[`${hk(y,r,i)}`,`${r(`editor.menu.callout.${y}.keywords.heading`)}`,`${r(`editor.menu.callout.${y}.keywords.headingList`)}`,`${r(`editor.menu.callout.${y}.keywords.markers`)}`],key:y,hint:C(r),hide:e[y],"data-test-id":`block-type-${y}`,onSelect:()=>{Tn(n,()=>{n.dispatchCommand(fw,w)},t)}})),g=()=>[{parentKey:"media",name:r("editor.menu.media.photo.name"),description:r("editor.menu.media.photo.subtitle"),icon:A.jsx(xe,{...kn,name:"photo"}),keywords:[`${ba("photo",r,i)}`],hide:t||e.photo,hint:gn.image(r),key:"photo",onSelect:()=>{Tn(n,()=>{n.dispatchCommand(vh,{altText:"new-image",src:"",create:!0})},t)}},{parentKey:"media",name:r("editor.menu.media.form.name"),description:r("editor.menu.media.form.subtitle"),keywords:[`${ba("form",r,i)}`],icon:A.jsx(xe,{...kn,name:"form"}),hide:t||e.form,key:"form",onSelect:()=>{Tn(n,()=>{n.dispatchCommand(bY,"dudoc-form")},t)}},{parentKey:"media",name:r("editor.menu.media.video.name"),description:r("editor.menu.media.video.subtitle"),hint:gn.video(r),keywords:[`${ba("video",r,i)}`],icon:A.jsx(xe,{...kn,name:"youtube"}),key:"video",hide:t||e.video,onSelect:()=>{Tn(n,()=>{n.dispatchCommand(oy,"")},t)}},{parentKey:"media",name:r("editor.menu.media.audio.name"),description:r("editor.menu.media.audio.subtitle"),hint:gn.audio(r),keywords:[`${ba("audio",r,i)}`],icon:A.jsx(xe,{...kn,name:"music"}),key:"audio",hide:t||e.audio,onSelect:()=>{Tn(n,()=>{n.dispatchCommand(iy,"")},t)}},{parentKey:"media",name:r("editor.menu.media.file.name"),description:r("editor.menu.media.file.subtitle"),hint:gn.file(r),keywords:[`${ba("file",r,i)}`],icon:A.jsx(xe,{...kn,name:"file"}),key:"file",hide:t||e.file,onSelect:()=>{Tn(n,()=>{n.dispatchCommand(sy,"")},t)}},{parentKey:"media",name:r("editor.menu.media.excalidraw.name"),description:r("editor.menu.media.excalidraw.subtitle"),hint:gn.excalidraw(r),keywords:[`${ba("excalidraw",r,i)}`,"media"],icon:A.jsx(xe,{...kn,name:"palette"}),key:"excalidraw",hide:t||e.excalidraw,onSelect:()=>{e.excalidraw||Promise.resolve().then(()=>require("./layers.oZKOhPNd.js")).then(({INSERT_EXCALIDRAW_COMMAND:y})=>{Tn(n,()=>{n.dispatchCommand(y,void 0)},t)})}}],p=()=>[{parentKey:"other",name:r("editor.menu.other.documents.name"),description:r("editor.menu.other.documents.subtitle"),icon:A.jsx(xe,{...kn,name:"book2"}),keywords:["page","document","child"],hide:t||e.childDocs,key:"childDocuments",onSelect:()=>{Tn(n,()=>{n.dispatchCommand(qI,void 0)},t)}},{parentKey:"other",name:r("editor.menu.other.emoji.name"),description:r("editor.menu.other.emoji.subtitle"),icon:A.jsx(xe,{...kn,name:"emoji"}),keywords:["emoji","smile"],key:"emoji",hide:t||e.emoji,onSelect:()=>{n.focus(),n.dispatchCommand(rI,void 0)}}],m=()=>[...hc.map(y=>({...y,keywords:["iframe",...y.keywords],"data-test-id":`block-type-${y.platform}`,onSelect:()=>{Tn(n,()=>{y.platform==="swagger"?n.dispatchCommand(oM,""):n.dispatchCommand(Uw,"")},t)},hide:YY(y.platform,t)}))];return[{key:"heading",name:l("editor.menu.heading.title"),blocks:c()},{key:"list",name:l("editor.menu.lists.title"),blocks:u()},{key:"main",name:l("editor.menu.main.title"),blocks:d()},{key:"callout",name:l("editor.menu.callout.title"),blocks:h()},{key:"media",name:l("editor.menu.media.title"),blocks:g()},{key:"other",name:l("editor.menu.other.title"),blocks:p()},{key:"integrations",name:l("editor.menu.integrations.title"),blocks:m()}]}const GY=(n,t,e)=>{var r;return(t==null?void 0:t.__key)!==e.current.key&&(e.current={show:!0,key:t.__key,isCheck:!0}),t&&e.current.show&&e.current.isCheck&&(Te(t,ul)||Te(t,Ct)||((r=Te(t,wt))==null?void 0:r.__checked)!==void 0)&&(e.current={show:!1,key:t.__key,isCheck:!1}),e.current.show&&(t==null?void 0:t.__key)===e.current.key&&(e.current={show:!0,key:(t==null?void 0:t.__key)||"",isCheck:!1}),e.current.show?n:""};class cM extends gY{constructor(e,r,i,o,s,l){super(e);F(this,"key");F(this,"title");F(this,"description");F(this,"icon");F(this,"keywords");F(this,"keyboardShortcut");F(this,"onSelect");F(this,"hide");F(this,"parentKey");F(this,"index");F(this,"hint");this.key=e,this.title=r,this.hide=o,this.description=i,this.keywords=l.keywords||[],this.icon=l.icon,this.hint=l.hint,this.parentKey=s,this.index=0,this.keyboardShortcut=l.keyboardShortcut,this.onSelect=l.onSelect.bind(this)}}function JY({index:n,isSelected:t,onClick:e,onMouseEnter:r,option:i}){return A.jsxs(L.HoverCard,{width:300,openDelay:200,closeDelay:0,shadow:"md",disabled:window.innerWidth<=800,position:"right",zIndex:1001,offset:-20,children:[A.jsx(L.HoverCard.Target,{children:A.jsxs("li",{tabIndex:-1,style:i.description?{padding:"12px 8px",flex:1}:{padding:"6px 8px",flex:1},className:"item",role:"option",id:"typeahead-item-"+n,ref:i.setRefElement,"aria-selected":t,onMouseEnter:r,onClick:e,"data-selected":t,"data-test-id":`block-type-${i.key}`,children:[i.icon,A.jsxs(L.Flex,{gap:0,direction:"column",justify:i.description?"flex-start":"center",ml:"sm",children:[A.jsx(L.Text,{style:{alignSelf:"flex-start"},mb:0,size:"sm",h:16,children:i.title}),i.description&&A.jsx(L.Text,{style:{alignSelf:"flex-start"},c:"dimmed",size:"xs",mb:0,h:14,children:i.description})]})]},i.key)}),i.hint&&A.jsx(L.HoverCard.Dropdown,{p:0,style:{borderRadius:"var(--mantine-radius-lg)"},children:i.hint})]})}function QY(n,t){const e=[];if(t==null)return e;const r=t.match(/^([1-9]\d?)(?:x([1-9]\d?)?)?$/);if(r!==null){const i=r[1],o=r[2]?[r[2]]:[1,2,3,4,5,6,7,8,9,10].map(String);e.push(...o.map(s=>new cM("table",`${i}x${s} Table`,"",!1,"heading",{icon:A.jsx("i",{className:"icon table"}),keywords:["table"],onSelect:()=>n.dispatchCommand(hg,{columns:s,rows:i})})))}return e}function VY({editor:n,excludeNodes:t,t:e}){const r=aM({editor:n,isToolbar:!1,excludeNodes:t,t:e});let i=[],o={};r.forEach(l=>{o[l.key]=l,i=[...i,...l.blocks]});let s=[];return i.forEach(l=>{l.hide||(s=[...s,new cM(l.key,l.name,l.description,l.hide,l.parentKey,{hint:l.hint,icon:l.icon,keywords:l.keywords,onSelect:l.onSelect})])}),{groupedOptions:o,baseOptions:s}}function XY({mode:n,setOpenedMenu:t,opened:e}){const[r]=Me(),i=E.useRef({show:!0,key:"",isCheck:!0}),[o,s]=E.useState(null),[l,c]=E.useState(0),{t:u}=pt.useTranslation(),d=(l===100).toString(),{fetchUploadMedia:h,excludeNodes:g}=E.useContext(Ot),p=yY("/",{minLength:0}),{options:m,groupOptions:y,groupedInitialOptions:w}=E.useMemo(()=>{const{groupedOptions:N,baseOptions:T}=VY({editor:r,excludeNodes:g,t:u}),k=R=>{const B=R.reduce((U,j,K)=>{const V=j.parentKey;return U[V]||(U[V]=[]),U[V].push({...j,index:K}),U},{});return Object.entries(B).map(([U,j])=>({name:U,items:j}))};if(!o)return{options:T,groupOptions:k(T),groupedInitialOptions:N};const M=new RegExp(o,"i"),I=[...QY(r,o),...T.filter(R=>M.test(R.title)||R.keywords.some(B=>M.test(B)))];return{options:I,groupOptions:k(I),groupedInitialOptions:N}},[r,h,n,o]),v=E.useCallback((N,T,k,M)=>{r.update(()=>{T==null||T.remove(),N.onSelect(M),k()})},[r]),C=N=>{const T=N.target;if(fk(T,mi,r)){c(100),t(!1);return}(!(T!=null&&T.closest(".editor-scroller"))||T instanceof HTMLButtonElement)&&(t(!1),document.removeEventListener("click",C))};E.useEffect(()=>(e&&document.addEventListener("click",C),()=>{document.removeEventListener("click",C)}),[e]);const x=N=>{var R;if(!N){setTimeout(()=>{t(!0),c(B=>B+1)},50);return}const{x:T,y:k}=((R=N.getRect)==null?void 0:R.call(N))??{},M=document.elementFromPoint(T+1,k+1);!M||fk(M,mi,r)||setTimeout(()=>{t(!0),c(B=>B+1)},50)},_=(N,T)=>{if(N.substring(0,1)!=="/")return p(N,T);const M=zt();if(!M)return p(N,T);const I=GY(N,M,i);return x(),p(I,T)};return A.jsx(A.Fragment,{children:A.jsx(iM,{onQueryChange:s,onSelectOption:v,triggerFn:_,options:m,onOpen:x,anchorClassName:"reset-anchor",onClose:()=>{t(!1)},menuRenderFn:(N,{selectedIndex:T,selectOptionAndCleanUp:k,setHighlightedIndex:M})=>A.jsx(A.Fragment,{children:N.current&&A.jsx(L.Portal,{target:N.current||document.body,children:A.jsxs(L.Menu,{shadow:"md",opened:e,loop:!1,trapFocus:!1,menuItemTabIndex:0,styles:{dropdown:{overflow:"auto",zIndex:1e3,display:m.length?"block":"none"}},middlewares:{flip:!0,size:{padding:8,apply({availableHeight:I,elements:R,y:B,placement:U}){requestAnimationFrame(()=>{Object.assign(R.floating.style,{maxHeight:`${I>=425?425:I}px`,top:U==="top-start"?`${B-20}px`:`${B}px`})})}}},closeOnItemClick:!1,position:"bottom-start",transitionProps:$i,children:[A.jsx(L.Menu.Target,{children:A.jsx("span",{})},l),A.jsx(L.Menu.Dropdown,{className:"typeahead-popover component-picker-menu",children:y.map(I=>{const R=w[I.name].name;return A.jsxs("div",{children:[A.jsx(L.Text,{ml:8,mt:12,size:"xs",c:"dimmed",children:R}),A.jsx("ul",{children:I.items.length&&I.items.map(B=>A.jsx(JY,{index:B.index,isSelected:T===B.index,onClick:()=>{M(B.index),k(B)},onMouseEnter:()=>{M(B.index)},option:B},B.key))})]},R)})})]},d)})})})})}function qY({isLoading:n}){const[t]=Me();return E.useEffect(()=>{t.update(()=>{Re().getFirstChild()&&setTimeout(()=>{var i;(i=t._rootElement)==null||i.setAttribute("contenteditable","true")},0)})},[t,n]),null}const $Y=n=>n.getEditorState().read(()=>Re().getChildrenKeys()).map(e=>({key:e,node:ve(e),htmlElement:n.getElementByKey(e)})),uM=(n,t)=>{let e;if(Ui(n)){const o=n.getTag();switch(e=t("editor.heading.name"),o){case"h1":{e+=" 1";break}case"h2":{e+=" 2";break}case"h3":{e+=" 3";break}case"h4":{e+=" 4";break}case"h5":{e+="5";break}case"h6":{e+="6";break}}}const r=Te(n,Ct),i=Te(n,ul);return mn(n)&&!r&&!i&&(e=t("editor.placeholder")),e},Pm="node-placeholder";let Af=null;const eZ=n=>n instanceof HTMLHeadingElement,tZ=({selection:n,editor:t,t:e})=>{var s,l;const r=$Y(t);if(r[0]&&r.length===0&&r[0].htmlElement&&!eZ(r[0].htmlElement)){const c=t.getElementByKey(n.anchor.getNode().__key);(s=c==null?void 0:c.classList)==null||s.remove(Pm),c==null||c.removeAttribute("data-placeholder");return}const i=n.anchor,o=uM(i.getNode(),e);if(o){const c=t.getElementByKey(i.key);if(c==null||c.classList.add(Pm),c==null||c.setAttribute("data-placeholder",o),Af&&Af!==i.key){const u=t.getElementByKey(Af);(l=u==null?void 0:u.classList)==null||l.remove(Pm),u==null||u.removeAttribute("data-placeholder")}Af=i.key}},nZ=(n,t)=>{n.getEditorState().read(()=>{const e=J();Y(e)&&tZ({selection:e,editor:n,t})})},rZ=()=>{const[n]=Me(),{t}=pt.useTranslation();return E.useEffect(()=>(n.read(()=>{const r=Re().getChildren();if(r.length===1){const i=r[0];i.getTextContent()||setTimeout(()=>{n.update(()=>{const s=n.getElementByKey(i.getKey()),l=uM(i,t);s&&l&&(s.classList.add("node-placeholder"),s.setAttribute("data-placeholder",l))})})}}),n.registerUpdateListener(()=>{nZ(n,t)})),[n]),null};function yf(n){return n instanceof HTMLElement}function kh(n){let t=0;n instanceof WheelEvent?t=n.deltaY:n instanceof TouchEvent&&(t=1);let e=n.target;for(;e&&e!==document.body&&e!==document.documentElement;){if(e.scrollHeight>e.clientHeight&&(t<0&&e.scrollTop>0||t>0&&e.scrollTop+e.clientHeight<e.scrollHeight))return;e=e.parentElement}n.preventDefault()}function dM(){document.addEventListener("wheel",kh,{passive:!1}),document.addEventListener("touchmove",kh,{passive:!1})}function fM(){document.removeEventListener("wheel",kh),document.removeEventListener("touchmove",kh)}const iZ=({hoveredButton:n,insertNewParagraph:t,currentDraggableBlockRef:e,setHoveredButton:r,isClickedBlockRef:i,setDraggableBlockElem:o,editor:s,t:l})=>A.jsx("div",{className:`icon add-block-menu ${n?"active":""}`,onClick:()=>{t({blockElement:e.current.htmlElement,editor:s,isTop:!1,isClickedBlockRef:i,setDraggableBlockElem:o}),r("both")},onMouseEnter:()=>{r("bottom")},onMouseLeave:()=>{r("both")},children:A.jsx(L.Tooltip,{openDelay:300,label:l("editor.hoverOptions.addNewBlockAbove"),position:"bottom",disabled:i.current||!n,children:A.jsx(L.ActionIcon,{radius:"sm",color:"gray",size:"xs",variant:"subtle","aria-label":"Settings",children:n==="bottom"?A.jsx(ee.IconPlus,{}):A.jsx(ee.IconMinus,{})})})}),oZ=({hoveredButton:n,insertNewParagraph:t,currentDraggableBlockRef:e,setHoveredButton:r,isClickedBlockRef:i,setDraggableBlockElem:o,editor:s,t:l})=>A.jsx("div",{className:`icon add-block-menu add-block-menu_top ${n?"active":""}`,onClick:()=>{t({blockElement:e.current.htmlElement,editor:s,isTop:!0,isClickedBlockRef:i,setDraggableBlockElem:o}),r("both")},onMouseEnter:()=>{r("top")},onMouseLeave:()=>{r("both")},children:A.jsx(L.Tooltip,{disabled:i.current||!n,openDelay:300,label:l("editor.hoverOptions.addNewBlockBelow"),position:"top",children:A.jsx(L.ActionIcon,{radius:"sm",color:"gray",size:"xs",variant:"subtle","aria-label":"Settings",children:n==="top"?A.jsx(ee.IconPlus,{}):A.jsx(ee.IconMinus,{})})})}),Bm=({label:n,icon:t,dataNameAttribute:e})=>A.jsxs("div",{className:"custom-menu-item","data-test-id":e||"color-picker",children:[A.jsxs("div",{children:[t,A.jsx("span",{children:n})]}),A.jsx(xe,{name:"chevron-right"})]}),sZ={bullet:"Маркированный список",check:"Чек-лист",code:"Кодовый блок",h1:"Заголовок 1",h2:"Заголовок 2",h3:"Заголовок 3",h4:"Заголовок 4",h5:"Заголовок 5",h6:"Заголовок 6",number:"Нумерованный список",paragraph:"Параграф",quote:"Цитата"};function hM({editor:n,blockType:t,disabled:e=!1,mode:r,fetchUploadMedia:i,excludeNodes:o,children:s,menuProps:l,onChange:c}){const[u,d]=Ng(),{t:h,i18n:g}=pt.useTranslation(),p=E.useMemo(()=>aM({editor:n,isToolbar:!0,excludeNodes:o,t:h}).map(m=>({...m,blocks:m.blocks.filter(y=>!y.hide)})),[n,d,i,r,g.language]);return A.jsxs(A.Fragment,{children:[u,A.jsxs(L.Menu,{shadow:"md",styles:{dropdown:{overflow:"auto",zIndex:1e3,overscrollBehavior:"contain"}},middlewares:lM,position:"bottom-start",transitionProps:$i,...l,children:[A.jsx(L.Menu.Target,{children:s||A.jsx(L.Tooltip,{label:h("editor.toolbar.turnInto"),children:A.jsxs("button",{disabled:e,className:"toolbar-item block-controls","aria-label":"Formatting options for text style",title:sZ[t],type:"button","data-test-id":"toolbar-block-controls",children:[A.jsx(xe,{size:18,mr:5,name:t}),A.jsx(xe,{name:"chevron-down"})]})})}),A.jsx(L.Menu.Dropdown,{children:p.map(m=>A.jsxs("div",{children:[m.blocks.length!==0&&A.jsx(L.Menu.Label,{children:m.name}),m.blocks.map(y=>A.jsx(E.Fragment,{children:A.jsx(L.Menu.Item,{className:"item "+sM(y.key==="1"),leftSection:y.icon,onClick:()=>{y.onSelect(),c&&c()},"data-test-id":y["data-test-id"],children:y.name})},y.key))]},m.key))})]})]})}function gM(n,t){var o,s;const e=(o=t.exportDOM)==null?void 0:o.call(t,n),r=(e==null?void 0:e.element)??null;if(G(t)){const l=r??document.createElement("div"),c=((s=t.getChildren)==null?void 0:s.call(t))??[];for(const u of c){const d=gM(n,u);if(d)l.appendChild(d);else{const h=typeof u.getTextContent=="function"?u.getTextContent():"";h&&l.appendChild(document.createTextNode(h))}}return typeof(e==null?void 0:e.after)=="function"&&e.after(l),l}if(r)return typeof(e==null?void 0:e.after)=="function"&&e.after(r),r;const i=typeof t.getTextContent=="function"?t.getTextContent():"";return i?document.createTextNode(i):null}async function gk(n,t){const e=n.getRootElement(),r=Array.from(e.querySelectorAll(".selected-block"));if(!r.length)return;let i="",o="";n.getEditorState().read(()=>{n.update(()=>{let s=r.map(c=>Fe(c)).filter(c=>!!c);i=s.map(c=>typeof c.getTextContent=="function"?c.getTextContent():"").filter(Boolean).join(`
63
- `);const l=document.createElement("div");s.forEach(c=>{const u=gM(n,c);t==="cut"&&c.remove(),u&&l.appendChild(u)}),o=l.innerHTML})}),(i||o)&&await lZ(i,o)}async function lZ(n,t){if(navigator.clipboard&&"write"in navigator.clipboard&&window.ClipboardItem){const e=new ClipboardItem({"text/plain":new Blob([n],{type:"text/plain"}),...t?{"text/html":new Blob([t],{type:"text/html"})}:{}});await navigator.clipboard.write([e])}}const pk=(n,t,e,r)=>{if(e)if(r==="layout"){const i=e.getParent(),o=i.getParent();qa(n,i,o),t("delete")}else{const i=e==null?void 0:e.getParent();if(i instanceof Lr&&i.getChildren().length===2){const o=i,s=i.getParent();if(e.__type==="image"){o.append(Ee());return}qa(n,o,s)}Aw(n,e),t("delete")}},mk=n=>{const t=n._rootElement;return Array.from(t.querySelectorAll(".selected-block"))},yy=(n,t,e,r=!1)=>{t&&n.update(()=>{const i=n.getElementByKey(t.getParent().getKey());Z9(n,i,e,r)})},aZ=(n,t,e,r)=>{if(r==="layout")yy(n,e,"right",!0);else{const i=n._rootElement,o=Array.from(i.querySelectorAll(".selected-block")).reverse();o.length&&(n.update(()=>{const s=Fe(o[0]);o.forEach(l=>{let c=Fe(l);c&&(s==null||s.insertAfter(iu(c))),Ql(l)})}),t())}},cZ=({editor:n,onChange:t,currentEditorNode:e,textBlock:r,t:i,isDisabledAddColumnButton:o,disabledMoveColumnButtons:s})=>{const{fetchUploadMedia:l,excludeNodes:c}=E.useContext(Ot),[u,d]=E.useState("inherit"),[h,g]=E.useState("inherit"),[p,m]=E.useState("inherit"),[y,w]=E.useState("");E.useEffect(()=>{const k=e==null?void 0:e.__type;n.read(()=>{var M;((M=e==null?void 0:e.getParent())==null?void 0:M.__type)==="layout-item"?w("layout"):w(k==="callout-wrapper"?k:"block")})},[e==null?void 0:e.__key]);const v=k=>k.split(";").filter(Boolean).reduce((M,I)=>{const[R,B]=I.split(":").map(U=>U.trim());return R&&B&&(M[R]=B),M},{}),C=k=>Object.entries(k).map(([M,I])=>`${M}: ${I}`).join("; "),x=(k,M)=>{if(k===null){let I={color:"","background-color":""};I.color=M.color,I["background-color"]=M.bgColor,n.update(()=>{const R=J();R!==null&&$f(R,I)})}},_=E.useCallback(k=>{n.update(()=>{const M=mk(n).map(R=>Fe(R)).filter(Boolean),I=R=>{if(typeof R.getStyle=="function"&&typeof R.setStyle=="function"){const B=v(R.getStyle());B.color=k.color,B["background-color"]=k.bgColor,R.setStyle(C(B)),d(k.bgColor),m(k.color)}};M.forEach(R=>{if(R instanceof wr){R.getChildren().forEach(B=>{const U=B.getFirstChild();k.color,k.bgColor,U instanceof bi&&I(U),x(U,k)});return}if(R instanceof At){const B=R.getFirstChild();B instanceof bi&&I(B),x(B,k)}})})},[d,m]),N=(k,M)=>{const I=M||y;I==="callout-wrapper"&&e instanceof Is?n.update(()=>{const R=aI(k);e.setType(R?k.meta.type:void 0),e.setBackgroundColor(k.value)}):I==="layout-color"?n.update(()=>{const R=e==null?void 0:e.getParent(),B=k.value===h?"inherit":k.value;R instanceof Lr&&R.setLayoutBackground(B)}):_({color:p,bgColor:u,[k.mode==="background"?"bgColor":k.mode]:k.value})},T=k=>{const M=mk(n);M.length?M.forEach(I=>{n.update(()=>{let R=Fe(I);R&&pk(n,t,R,k)})}):n.update(()=>{let I=Fe(M[0]);pk(n,t,I,k)})};return E.useEffect(()=>{setTimeout(()=>{n.read(()=>{if(y==="callout-wrapper"&&e instanceof Is){d(e.__backgroundColor);return}const k=e==null?void 0:e.getParent();k instanceof Lr&&g(k.__backgroundColor);const M=J();Y(M)&&(m(eh(M,"color","inherit")),d(eh(M,"background-color","inherit")))})})},[]),A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Item,{onMouseDown:k=>{k.preventDefault(),gk(n,"copy"),t("copy")},leftSection:A.jsx(ee.IconClipboard,{style:{width:L.rem(14),height:L.rem(14)}}),"data-test-id":"copy-draggable",children:i("editor.link.copy")}),A.jsx(L.Menu.Item,{onMouseDown:k=>{k.preventDefault(),gk(n,"cut"),t("cut")},"data-test-id":"cut-draggable",leftSection:A.jsx(ee.IconCut,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.contextMenu.cut")}),A.jsx(L.Menu.Item,{"data-test-id":"delete-draggable",onClick:()=>T(""),leftSection:A.jsx(ee.IconTrash,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.contextMenu.delete")}),A.jsx(L.Menu.Item,{"data-test-id":"duplicate-draggable",disabled:y==="layout"&&o,onClick:()=>aZ(n,t,e,y),leftSection:A.jsx(ee.IconCopy,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.contextMenu.duplicate")}),r==="text"&&y!=="callout-wrapper"&&A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Divider,{}),A.jsx(hM,{disabled:!1,blockType:"paragraph",rootType:"root",editor:n,mode:"editor",fetchUploadMedia:l,excludeNodes:c,onChange:t,menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}},children:A.jsx("div",{children:A.jsx(Bm,{label:i("editor.toolbar.turnInto"),dataNameAttribute:"turn-into",icon:A.jsx(ee.IconArrowsRightLeft,{style:{width:L.rem(14),height:L.rem(14)}})})})})]}),(r==="text"||y=="callout-wrapper")&&A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Divider,{}),A.jsx(jt.NewColorPicker,{data:{callout:{label:i("editor.colors.theme"),filled:!0,palette:lI.map(k=>({label:i(`editor.colors.callout.${k.name}`),value:L.alpha(k.color,.19),icon:k.icon,meta:{type:k.name,emoji:k.emoji}}))}},modes:y==="callout-wrapper"?["callout","background"]:["color","background"],value:{color:p,background:u,callout:u},onChange:k=>{N(k),t()},hideInherit:!0,target:A.jsx("div",{children:A.jsx(Bm,{dataNameAttribute:"color-picker",label:i(y==="callout-wrapper"?"editor.contextMenu.appearance":"editor.toolbar.color"),icon:A.jsx(ee.IconPaint,{size:14})})}),menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}}})]}),y==="layout"&&A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Divider,{}),A.jsx(jt.NewColorPicker,{modes:["background"],value:{background:h},onChange:k=>{N(k,"layout-color"),t()},hideInherit:!0,target:A.jsx("div",{children:A.jsx(Bm,{label:i("editor.column.changeColor"),icon:A.jsx(ee.IconPaint,{size:14})})}),menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}}}),A.jsx(L.Menu.Item,{disabled:o,onClick:()=>{yy(n,e,"left")},leftSection:A.jsx(ee.IconColumnInsertLeft,{style:{width:L.rem(14),height:L.rem(14)}}),"data-test-id":"column-left",children:i("editor.column.addLeft")}),A.jsx(L.Menu.Item,{disabled:o,"data-test-id":"column-right",onClick:()=>{yy(n,e,"right")},leftSection:A.jsx(ee.IconColumnInsertRight,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.addRight")}),A.jsx(L.Menu.Item,{disabled:s.left,"data-test-id":"column-move-left",onClick:()=>{qE(n,e,"left"),bh(n)},leftSection:A.jsx(ee.IconColumnInsertRight,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.moveLeft")}),A.jsx(L.Menu.Item,{disabled:s.right,"data-test-id":"column-move-right",onClick:()=>{qE(n,e,"right"),bh(n)},leftSection:A.jsx(ee.IconColumnInsertRight,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.moveRight")}),A.jsx(L.Menu.Item,{"data-test-id":"column-delete",onClick:()=>T("layout"),leftSection:A.jsx(ee.IconTrash,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.deleteColumn")})]})]})};var Zc={exports:{}};/**
64
- * @license
65
- * Lodash <https://lodash.com/>
66
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
67
- * Released under MIT license <https://lodash.com/license>
68
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
69
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
70
- */var uZ=Zc.exports,Ak;function dZ(){return Ak||(Ak=1,(function(n,t){(function(){var e,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,g=2,p=4,m=1,y=2,w=1,v=2,C=4,x=8,_=16,N=32,T=64,k=128,M=256,I=512,R=30,B="...",U=800,j=16,K=1,V=2,ue=3,fe=1/0,ie=9007199254740991,le=17976931348623157e292,te=NaN,H=4294967295,W=H-1,Q=H>>>1,re=[["ary",k],["bind",w],["bindKey",v],["curry",x],["curryRight",_],["flip",I],["partial",N],["partialRight",T],["rearg",M]],ce="[object Arguments]",me="[object Array]",X="[object AsyncFunction]",ne="[object Boolean]",Ae="[object Date]",oe="[object DOMException]",pe="[object Error]",ke="[object Function]",Pe="[object GeneratorFunction]",Ce="[object Map]",We="[object Number]",Oe="[object Null]",Se="[object Object]",Je="[object Promise]",ut="[object Proxy]",lt="[object RegExp]",Zt="[object Set]",Sn="[object String]",je="[object Symbol]",nt="[object Undefined]",dt="[object WeakMap]",kt="[object WeakSet]",ht="[object ArrayBuffer]",et="[object DataView]",$t="[object Float32Array]",Kt="[object Float64Array]",lr="[object Int8Array]",Bn="[object Int16Array]",eo="[object Int32Array]",Ps="[object Uint8Array]",Ac="[object Uint8ClampedArray]",ar="[object Uint16Array]",Jo="[object Uint32Array]",KM=/\b__p \+= '';/g,WM=/\b(__p \+=) '' \+/g,HM=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qw=/&(?:amp|lt|gt|quot|#39);/g,Vw=/[&<>"']/g,YM=RegExp(Qw.source),ZM=RegExp(Vw.source),GM=/<%-([\s\S]+?)%>/g,JM=/<%([\s\S]+?)%>/g,Xw=/<%=([\s\S]+?)%>/g,QM=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,VM=/^\w*$/,XM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Og=/[\\^$.*+?()[\]{}|]/g,qM=RegExp(Og.source),Rg=/^\s+/,$M=/\s/,eD=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,tD=/\{\n\/\* \[wrapped with (.+)\] \*/,nD=/,? & /,rD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,iD=/[()=,{}\[\]\/\s]/,oD=/\\(\\)?/g,sD=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qw=/\w*$/,lD=/^[-+]0x[0-9a-f]+$/i,aD=/^0b[01]+$/i,cD=/^\[object .+?Constructor\]$/,uD=/^0o[0-7]+$/i,dD=/^(?:0|[1-9]\d*)$/,fD=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ad=/($^)/,hD=/['\n\r\u2028\u2029\\]/g,cd="\\ud800-\\udfff",gD="\\u0300-\\u036f",pD="\\ufe20-\\ufe2f",mD="\\u20d0-\\u20ff",$w=gD+pD+mD,eC="\\u2700-\\u27bf",tC="a-z\\xdf-\\xf6\\xf8-\\xff",AD="\\xac\\xb1\\xd7\\xf7",yD="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",bD="\\u2000-\\u206f",wD=" \\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",nC="A-Z\\xc0-\\xd6\\xd8-\\xde",rC="\\ufe0e\\ufe0f",iC=AD+yD+bD+wD,Pg="['’]",CD="["+cd+"]",oC="["+iC+"]",ud="["+$w+"]",sC="\\d+",vD="["+eC+"]",lC="["+tC+"]",aC="[^"+cd+iC+sC+eC+tC+nC+"]",Bg="\\ud83c[\\udffb-\\udfff]",xD="(?:"+ud+"|"+Bg+")",cC="[^"+cd+"]",Fg="(?:\\ud83c[\\udde6-\\uddff]){2}",jg="[\\ud800-\\udbff][\\udc00-\\udfff]",ea="["+nC+"]",uC="\\u200d",dC="(?:"+lC+"|"+aC+")",SD="(?:"+ea+"|"+aC+")",fC="(?:"+Pg+"(?:d|ll|m|re|s|t|ve))?",hC="(?:"+Pg+"(?:D|LL|M|RE|S|T|VE))?",gC=xD+"?",pC="["+rC+"]?",ED="(?:"+uC+"(?:"+[cC,Fg,jg].join("|")+")"+pC+gC+")*",kD="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",TD="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",mC=pC+gC+ED,_D="(?:"+[vD,Fg,jg].join("|")+")"+mC,ND="(?:"+[cC+ud+"?",ud,Fg,jg,CD].join("|")+")",ID=RegExp(Pg,"g"),MD=RegExp(ud,"g"),zg=RegExp(Bg+"(?="+Bg+")|"+ND+mC,"g"),DD=RegExp([ea+"?"+lC+"+"+fC+"(?="+[oC,ea,"$"].join("|")+")",SD+"+"+hC+"(?="+[oC,ea+dC,"$"].join("|")+")",ea+"?"+dC+"+"+fC,ea+"+"+hC,TD,kD,sC,_D].join("|"),"g"),LD=RegExp("["+uC+cd+$w+rC+"]"),OD=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,RD=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],PD=-1,Ht={};Ht[$t]=Ht[Kt]=Ht[lr]=Ht[Bn]=Ht[eo]=Ht[Ps]=Ht[Ac]=Ht[ar]=Ht[Jo]=!0,Ht[ce]=Ht[me]=Ht[ht]=Ht[ne]=Ht[et]=Ht[Ae]=Ht[pe]=Ht[ke]=Ht[Ce]=Ht[We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:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},FD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},jD={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},zD={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},UD=parseFloat,KD=parseInt,AC=typeof $s=="object"&&$s&&$s.Object===Object&&$s,WD=typeof self=="object"&&self&&self.Object===Object&&self,Fn=AC||WD||Function("return this")(),Ug=t&&!t.nodeType&&t,Bs=Ug&&!0&&n&&!n.nodeType&&n,yC=Bs&&Bs.exports===Ug,Kg=yC&&AC.process,Or=(function(){try{var q=Bs&&Bs.require&&Bs.require("util").types;return q||Kg&&Kg.binding&&Kg.binding("util")}catch{}})(),bC=Or&&Or.isArrayBuffer,wC=Or&&Or.isDate,CC=Or&&Or.isMap,vC=Or&&Or.isRegExp,xC=Or&&Or.isSet,SC=Or&&Or.isTypedArray;function Cr(q,de,se){switch(se.length){case 0:return q.call(de);case 1:return q.call(de,se[0]);case 2:return q.call(de,se[0],se[1]);case 3:return q.call(de,se[0],se[1],se[2])}return q.apply(de,se)}function HD(q,de,se,De){for(var Xe=-1,vt=q==null?0:q.length;++Xe<vt;){var An=q[Xe];de(De,An,se(An),q)}return De}function Rr(q,de){for(var se=-1,De=q==null?0:q.length;++se<De&&de(q[se],se,q)!==!1;);return q}function YD(q,de){for(var se=q==null?0:q.length;se--&&de(q[se],se,q)!==!1;);return q}function EC(q,de){for(var se=-1,De=q==null?0:q.length;++se<De;)if(!de(q[se],se,q))return!1;return!0}function Qo(q,de){for(var se=-1,De=q==null?0:q.length,Xe=0,vt=[];++se<De;){var An=q[se];de(An,se,q)&&(vt[Xe++]=An)}return vt}function dd(q,de){var se=q==null?0:q.length;return!!se&&ta(q,de,0)>-1}function Wg(q,de,se){for(var De=-1,Xe=q==null?0:q.length;++De<Xe;)if(se(de,q[De]))return!0;return!1}function Gt(q,de){for(var se=-1,De=q==null?0:q.length,Xe=Array(De);++se<De;)Xe[se]=de(q[se],se,q);return Xe}function Vo(q,de){for(var se=-1,De=de.length,Xe=q.length;++se<De;)q[Xe+se]=de[se];return q}function Hg(q,de,se,De){var Xe=-1,vt=q==null?0:q.length;for(De&&vt&&(se=q[++Xe]);++Xe<vt;)se=de(se,q[Xe],Xe,q);return se}function ZD(q,de,se,De){var Xe=q==null?0:q.length;for(De&&Xe&&(se=q[--Xe]);Xe--;)se=de(se,q[Xe],Xe,q);return se}function Yg(q,de){for(var se=-1,De=q==null?0:q.length;++se<De;)if(de(q[se],se,q))return!0;return!1}var GD=Zg("length");function JD(q){return q.split("")}function QD(q){return q.match(rD)||[]}function kC(q,de,se){var De;return se(q,function(Xe,vt,An){if(de(Xe,vt,An))return De=vt,!1}),De}function fd(q,de,se,De){for(var Xe=q.length,vt=se+(De?1:-1);De?vt--:++vt<Xe;)if(de(q[vt],vt,q))return vt;return-1}function ta(q,de,se){return de===de?lL(q,de,se):fd(q,TC,se)}function VD(q,de,se,De){for(var Xe=se-1,vt=q.length;++Xe<vt;)if(De(q[Xe],de))return Xe;return-1}function TC(q){return q!==q}function _C(q,de){var se=q==null?0:q.length;return se?Jg(q,de)/se:te}function Zg(q){return function(de){return de==null?e:de[q]}}function Gg(q){return function(de){return q==null?e:q[de]}}function NC(q,de,se,De,Xe){return Xe(q,function(vt,An,Rt){se=De?(De=!1,vt):de(se,vt,An,Rt)}),se}function XD(q,de){var se=q.length;for(q.sort(de);se--;)q[se]=q[se].value;return q}function Jg(q,de){for(var se,De=-1,Xe=q.length;++De<Xe;){var vt=de(q[De]);vt!==e&&(se=se===e?vt:se+vt)}return se}function Qg(q,de){for(var se=-1,De=Array(q);++se<q;)De[se]=de(se);return De}function qD(q,de){return Gt(de,function(se){return[se,q[se]]})}function IC(q){return q&&q.slice(0,OC(q)+1).replace(Rg,"")}function vr(q){return function(de){return q(de)}}function Vg(q,de){return Gt(de,function(se){return q[se]})}function yc(q,de){return q.has(de)}function MC(q,de){for(var se=-1,De=q.length;++se<De&&ta(de,q[se],0)>-1;);return se}function DC(q,de){for(var se=q.length;se--&&ta(de,q[se],0)>-1;);return se}function $D(q,de){for(var se=q.length,De=0;se--;)q[se]===de&&++De;return De}var eL=Gg(BD),tL=Gg(FD);function nL(q){return"\\"+zD[q]}function rL(q,de){return q==null?e:q[de]}function na(q){return LD.test(q)}function iL(q){return OD.test(q)}function oL(q){for(var de,se=[];!(de=q.next()).done;)se.push(de.value);return se}function Xg(q){var de=-1,se=Array(q.size);return q.forEach(function(De,Xe){se[++de]=[Xe,De]}),se}function LC(q,de){return function(se){return q(de(se))}}function Xo(q,de){for(var se=-1,De=q.length,Xe=0,vt=[];++se<De;){var An=q[se];(An===de||An===d)&&(q[se]=d,vt[Xe++]=se)}return vt}function hd(q){var de=-1,se=Array(q.size);return q.forEach(function(De){se[++de]=De}),se}function sL(q){var de=-1,se=Array(q.size);return q.forEach(function(De){se[++de]=[De,De]}),se}function lL(q,de,se){for(var De=se-1,Xe=q.length;++De<Xe;)if(q[De]===de)return De;return-1}function aL(q,de,se){for(var De=se+1;De--;)if(q[De]===de)return De;return De}function ra(q){return na(q)?uL(q):GD(q)}function oi(q){return na(q)?dL(q):JD(q)}function OC(q){for(var de=q.length;de--&&$M.test(q.charAt(de)););return de}var cL=Gg(jD);function uL(q){for(var de=zg.lastIndex=0;zg.test(q);)++de;return de}function dL(q){return q.match(zg)||[]}function fL(q){return q.match(DD)||[]}var hL=(function q(de){de=de==null?Fn:ia.defaults(Fn.Object(),de,ia.pick(Fn,RD));var se=de.Array,De=de.Date,Xe=de.Error,vt=de.Function,An=de.Math,Rt=de.Object,qg=de.RegExp,gL=de.String,Pr=de.TypeError,gd=se.prototype,pL=vt.prototype,oa=Rt.prototype,pd=de["__core-js_shared__"],md=pL.toString,Tt=oa.hasOwnProperty,mL=0,RC=(function(){var a=/[^.]+$/.exec(pd&&pd.keys&&pd.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})(),Ad=oa.toString,AL=md.call(Rt),yL=Fn._,bL=qg("^"+md.call(Tt).replace(Og,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yd=yC?de.Buffer:e,qo=de.Symbol,bd=de.Uint8Array,PC=yd?yd.allocUnsafe:e,wd=LC(Rt.getPrototypeOf,Rt),BC=Rt.create,FC=oa.propertyIsEnumerable,Cd=gd.splice,jC=qo?qo.isConcatSpreadable:e,bc=qo?qo.iterator:e,Fs=qo?qo.toStringTag:e,vd=(function(){try{var a=Ws(Rt,"defineProperty");return a({},"",{}),a}catch{}})(),wL=de.clearTimeout!==Fn.clearTimeout&&de.clearTimeout,CL=De&&De.now!==Fn.Date.now&&De.now,vL=de.setTimeout!==Fn.setTimeout&&de.setTimeout,xd=An.ceil,Sd=An.floor,$g=Rt.getOwnPropertySymbols,xL=yd?yd.isBuffer:e,zC=de.isFinite,SL=gd.join,EL=LC(Rt.keys,Rt),yn=An.max,Hn=An.min,kL=De.now,TL=de.parseInt,UC=An.random,_L=gd.reverse,ep=Ws(de,"DataView"),wc=Ws(de,"Map"),tp=Ws(de,"Promise"),sa=Ws(de,"Set"),Cc=Ws(de,"WeakMap"),vc=Ws(Rt,"create"),Ed=Cc&&new Cc,la={},NL=Hs(ep),IL=Hs(wc),ML=Hs(tp),DL=Hs(sa),LL=Hs(Cc),kd=qo?qo.prototype:e,xc=kd?kd.valueOf:e,KC=kd?kd.toString:e;function O(a){if(en(a)&&!$e(a)&&!(a instanceof gt)){if(a instanceof Br)return a;if(Tt.call(a,"__wrapped__"))return W0(a)}return new Br(a)}var aa=(function(){function a(){}return function(f){if(!Qt(f))return{};if(BC)return BC(f);a.prototype=f;var b=new a;return a.prototype=e,b}})();function Td(){}function Br(a,f){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!f,this.__index__=0,this.__values__=e}O.templateSettings={escape:GM,evaluate:JM,interpolate:Xw,variable:"",imports:{_:O}},O.prototype=Td.prototype,O.prototype.constructor=O,Br.prototype=aa(Td.prototype),Br.prototype.constructor=Br;function gt(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=H,this.__views__=[]}function OL(){var a=new gt(this.__wrapped__);return a.__actions__=cr(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=cr(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=cr(this.__views__),a}function RL(){if(this.__filtered__){var a=new gt(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function PL(){var a=this.__wrapped__.value(),f=this.__dir__,b=$e(a),S=f<0,D=b?a.length:0,P=JO(0,D,this.__views__),z=P.start,Z=P.end,$=Z-z,he=S?Z:z-1,ge=this.__iteratees__,ye=ge.length,_e=0,Be=Hn($,this.__takeCount__);if(!b||!S&&D==$&&Be==$)return f0(a,this.__actions__);var Ye=[];e:for(;$--&&_e<Be;){he+=f;for(var it=-1,Ze=a[he];++it<ye;){var ft=ge[it],mt=ft.iteratee,Er=ft.type,tr=mt(Ze);if(Er==V)Ze=tr;else if(!tr){if(Er==K)continue e;break e}}Ye[_e++]=Ze}return Ye}gt.prototype=aa(Td.prototype),gt.prototype.constructor=gt;function js(a){var f=-1,b=a==null?0:a.length;for(this.clear();++f<b;){var S=a[f];this.set(S[0],S[1])}}function BL(){this.__data__=vc?vc(null):{},this.size=0}function FL(a){var f=this.has(a)&&delete this.__data__[a];return this.size-=f?1:0,f}function jL(a){var f=this.__data__;if(vc){var b=f[a];return b===c?e:b}return Tt.call(f,a)?f[a]:e}function zL(a){var f=this.__data__;return vc?f[a]!==e:Tt.call(f,a)}function UL(a,f){var b=this.__data__;return this.size+=this.has(a)?0:1,b[a]=vc&&f===e?c:f,this}js.prototype.clear=BL,js.prototype.delete=FL,js.prototype.get=jL,js.prototype.has=zL,js.prototype.set=UL;function to(a){var f=-1,b=a==null?0:a.length;for(this.clear();++f<b;){var S=a[f];this.set(S[0],S[1])}}function KL(){this.__data__=[],this.size=0}function WL(a){var f=this.__data__,b=_d(f,a);if(b<0)return!1;var S=f.length-1;return b==S?f.pop():Cd.call(f,b,1),--this.size,!0}function HL(a){var f=this.__data__,b=_d(f,a);return b<0?e:f[b][1]}function YL(a){return _d(this.__data__,a)>-1}function ZL(a,f){var b=this.__data__,S=_d(b,a);return S<0?(++this.size,b.push([a,f])):b[S][1]=f,this}to.prototype.clear=KL,to.prototype.delete=WL,to.prototype.get=HL,to.prototype.has=YL,to.prototype.set=ZL;function no(a){var f=-1,b=a==null?0:a.length;for(this.clear();++f<b;){var S=a[f];this.set(S[0],S[1])}}function GL(){this.size=0,this.__data__={hash:new js,map:new(wc||to),string:new js}}function JL(a){var f=zd(this,a).delete(a);return this.size-=f?1:0,f}function QL(a){return zd(this,a).get(a)}function VL(a){return zd(this,a).has(a)}function XL(a,f){var b=zd(this,a),S=b.size;return b.set(a,f),this.size+=b.size==S?0:1,this}no.prototype.clear=GL,no.prototype.delete=JL,no.prototype.get=QL,no.prototype.has=VL,no.prototype.set=XL;function zs(a){var f=-1,b=a==null?0:a.length;for(this.__data__=new no;++f<b;)this.add(a[f])}function qL(a){return this.__data__.set(a,c),this}function $L(a){return this.__data__.has(a)}zs.prototype.add=zs.prototype.push=qL,zs.prototype.has=$L;function si(a){var f=this.__data__=new to(a);this.size=f.size}function eO(){this.__data__=new to,this.size=0}function tO(a){var f=this.__data__,b=f.delete(a);return this.size=f.size,b}function nO(a){return this.__data__.get(a)}function rO(a){return this.__data__.has(a)}function iO(a,f){var b=this.__data__;if(b instanceof to){var S=b.__data__;if(!wc||S.length<i-1)return S.push([a,f]),this.size=++b.size,this;b=this.__data__=new no(S)}return b.set(a,f),this.size=b.size,this}si.prototype.clear=eO,si.prototype.delete=tO,si.prototype.get=nO,si.prototype.has=rO,si.prototype.set=iO;function WC(a,f){var b=$e(a),S=!b&&Ys(a),D=!b&&!S&&rs(a),P=!b&&!S&&!D&&fa(a),z=b||S||D||P,Z=z?Qg(a.length,gL):[],$=Z.length;for(var he in a)(f||Tt.call(a,he))&&!(z&&(he=="length"||D&&(he=="offset"||he=="parent")||P&&(he=="buffer"||he=="byteLength"||he=="byteOffset")||so(he,$)))&&Z.push(he);return Z}function HC(a){var f=a.length;return f?a[fp(0,f-1)]:e}function oO(a,f){return Ud(cr(a),Us(f,0,a.length))}function sO(a){return Ud(cr(a))}function np(a,f,b){(b!==e&&!li(a[f],b)||b===e&&!(f in a))&&ro(a,f,b)}function Sc(a,f,b){var S=a[f];(!(Tt.call(a,f)&&li(S,b))||b===e&&!(f in a))&&ro(a,f,b)}function _d(a,f){for(var b=a.length;b--;)if(li(a[b][0],f))return b;return-1}function lO(a,f,b,S){return $o(a,function(D,P,z){f(S,D,b(D),z)}),S}function YC(a,f){return a&&xi(f,En(f),a)}function aO(a,f){return a&&xi(f,dr(f),a)}function ro(a,f,b){f=="__proto__"&&vd?vd(a,f,{configurable:!0,enumerable:!0,value:b,writable:!0}):a[f]=b}function rp(a,f){for(var b=-1,S=f.length,D=se(S),P=a==null;++b<S;)D[b]=P?e:Bp(a,f[b]);return D}function Us(a,f,b){return a===a&&(b!==e&&(a=a<=b?a:b),f!==e&&(a=a>=f?a:f)),a}function Fr(a,f,b,S,D,P){var z,Z=f&h,$=f&g,he=f&p;if(b&&(z=D?b(a,S,D,P):b(a)),z!==e)return z;if(!Qt(a))return a;var ge=$e(a);if(ge){if(z=VO(a),!Z)return cr(a,z)}else{var ye=Yn(a),_e=ye==ke||ye==Pe;if(rs(a))return p0(a,Z);if(ye==Se||ye==ce||_e&&!D){if(z=$||_e?{}:O0(a),!Z)return $?jO(a,aO(z,a)):FO(a,YC(z,a))}else{if(!Wt[ye])return D?a:{};z=XO(a,ye,Z)}}P||(P=new si);var Be=P.get(a);if(Be)return Be;P.set(a,z),cv(a)?a.forEach(function(Ze){z.add(Fr(Ze,f,b,Ze,a,P))}):lv(a)&&a.forEach(function(Ze,ft){z.set(ft,Fr(Ze,f,b,ft,a,P))});var Ye=he?$?xp:vp:$?dr:En,it=ge?e:Ye(a);return Rr(it||a,function(Ze,ft){it&&(ft=Ze,Ze=a[ft]),Sc(z,ft,Fr(Ze,f,b,ft,a,P))}),z}function cO(a){var f=En(a);return function(b){return ZC(b,a,f)}}function ZC(a,f,b){var S=b.length;if(a==null)return!S;for(a=Rt(a);S--;){var D=b[S],P=f[D],z=a[D];if(z===e&&!(D in a)||!P(z))return!1}return!0}function GC(a,f,b){if(typeof a!="function")throw new Pr(s);return Mc(function(){a.apply(e,b)},f)}function Ec(a,f,b,S){var D=-1,P=dd,z=!0,Z=a.length,$=[],he=f.length;if(!Z)return $;b&&(f=Gt(f,vr(b))),S?(P=Wg,z=!1):f.length>=i&&(P=yc,z=!1,f=new zs(f));e:for(;++D<Z;){var ge=a[D],ye=b==null?ge:b(ge);if(ge=S||ge!==0?ge:0,z&&ye===ye){for(var _e=he;_e--;)if(f[_e]===ye)continue e;$.push(ge)}else P(f,ye,S)||$.push(ge)}return $}var $o=w0(vi),JC=w0(op,!0);function uO(a,f){var b=!0;return $o(a,function(S,D,P){return b=!!f(S,D,P),b}),b}function Nd(a,f,b){for(var S=-1,D=a.length;++S<D;){var P=a[S],z=f(P);if(z!=null&&(Z===e?z===z&&!Sr(z):b(z,Z)))var Z=z,$=P}return $}function dO(a,f,b,S){var D=a.length;for(b=rt(b),b<0&&(b=-b>D?0:D+b),S=S===e||S>D?D:rt(S),S<0&&(S+=D),S=b>S?0:dv(S);b<S;)a[b++]=f;return a}function QC(a,f){var b=[];return $o(a,function(S,D,P){f(S,D,P)&&b.push(S)}),b}function jn(a,f,b,S,D){var P=-1,z=a.length;for(b||(b=$O),D||(D=[]);++P<z;){var Z=a[P];f>0&&b(Z)?f>1?jn(Z,f-1,b,S,D):Vo(D,Z):S||(D[D.length]=Z)}return D}var ip=C0(),VC=C0(!0);function vi(a,f){return a&&ip(a,f,En)}function op(a,f){return a&&VC(a,f,En)}function Id(a,f){return Qo(f,function(b){return lo(a[b])})}function Ks(a,f){f=ts(f,a);for(var b=0,S=f.length;a!=null&&b<S;)a=a[Si(f[b++])];return b&&b==S?a:e}function XC(a,f,b){var S=f(a);return $e(a)?S:Vo(S,b(a))}function $n(a){return a==null?a===e?nt:Oe:Fs&&Fs in Rt(a)?GO(a):sR(a)}function sp(a,f){return a>f}function fO(a,f){return a!=null&&Tt.call(a,f)}function hO(a,f){return a!=null&&f in Rt(a)}function gO(a,f,b){return a>=Hn(f,b)&&a<yn(f,b)}function lp(a,f,b){for(var S=b?Wg:dd,D=a[0].length,P=a.length,z=P,Z=se(P),$=1/0,he=[];z--;){var ge=a[z];z&&f&&(ge=Gt(ge,vr(f))),$=Hn(ge.length,$),Z[z]=!b&&(f||D>=120&&ge.length>=120)?new zs(z&&ge):e}ge=a[0];var ye=-1,_e=Z[0];e:for(;++ye<D&&he.length<$;){var Be=ge[ye],Ye=f?f(Be):Be;if(Be=b||Be!==0?Be:0,!(_e?yc(_e,Ye):S(he,Ye,b))){for(z=P;--z;){var it=Z[z];if(!(it?yc(it,Ye):S(a[z],Ye,b)))continue e}_e&&_e.push(Ye),he.push(Be)}}return he}function pO(a,f,b,S){return vi(a,function(D,P,z){f(S,b(D),P,z)}),S}function kc(a,f,b){f=ts(f,a),a=F0(a,f);var S=a==null?a:a[Si(zr(f))];return S==null?e:Cr(S,a,b)}function qC(a){return en(a)&&$n(a)==ce}function mO(a){return en(a)&&$n(a)==ht}function AO(a){return en(a)&&$n(a)==Ae}function Tc(a,f,b,S,D){return a===f?!0:a==null||f==null||!en(a)&&!en(f)?a!==a&&f!==f:yO(a,f,b,S,Tc,D)}function yO(a,f,b,S,D,P){var z=$e(a),Z=$e(f),$=z?me:Yn(a),he=Z?me:Yn(f);$=$==ce?Se:$,he=he==ce?Se:he;var ge=$==Se,ye=he==Se,_e=$==he;if(_e&&rs(a)){if(!rs(f))return!1;z=!0,ge=!1}if(_e&&!ge)return P||(P=new si),z||fa(a)?M0(a,f,b,S,D,P):YO(a,f,$,b,S,D,P);if(!(b&m)){var Be=ge&&Tt.call(a,"__wrapped__"),Ye=ye&&Tt.call(f,"__wrapped__");if(Be||Ye){var it=Be?a.value():a,Ze=Ye?f.value():f;return P||(P=new si),D(it,Ze,b,S,P)}}return _e?(P||(P=new si),ZO(a,f,b,S,D,P)):!1}function bO(a){return en(a)&&Yn(a)==Ce}function ap(a,f,b,S){var D=b.length,P=D,z=!S;if(a==null)return!P;for(a=Rt(a);D--;){var Z=b[D];if(z&&Z[2]?Z[1]!==a[Z[0]]:!(Z[0]in a))return!1}for(;++D<P;){Z=b[D];var $=Z[0],he=a[$],ge=Z[1];if(z&&Z[2]){if(he===e&&!($ in a))return!1}else{var ye=new si;if(S)var _e=S(he,ge,$,a,f,ye);if(!(_e===e?Tc(ge,he,m|y,S,ye):_e))return!1}}return!0}function $C(a){if(!Qt(a)||tR(a))return!1;var f=lo(a)?bL:cD;return f.test(Hs(a))}function wO(a){return en(a)&&$n(a)==lt}function CO(a){return en(a)&&Yn(a)==Zt}function vO(a){return en(a)&&Gd(a.length)&&!!Ht[$n(a)]}function e0(a){return typeof a=="function"?a:a==null?fr:typeof a=="object"?$e(a)?r0(a[0],a[1]):n0(a):vv(a)}function cp(a){if(!Ic(a))return EL(a);var f=[];for(var b in Rt(a))Tt.call(a,b)&&b!="constructor"&&f.push(b);return f}function xO(a){if(!Qt(a))return oR(a);var f=Ic(a),b=[];for(var S in a)S=="constructor"&&(f||!Tt.call(a,S))||b.push(S);return b}function up(a,f){return a<f}function t0(a,f){var b=-1,S=ur(a)?se(a.length):[];return $o(a,function(D,P,z){S[++b]=f(D,P,z)}),S}function n0(a){var f=Ep(a);return f.length==1&&f[0][2]?P0(f[0][0],f[0][1]):function(b){return b===a||ap(b,a,f)}}function r0(a,f){return Tp(a)&&R0(f)?P0(Si(a),f):function(b){var S=Bp(b,a);return S===e&&S===f?Fp(b,a):Tc(f,S,m|y)}}function Md(a,f,b,S,D){a!==f&&ip(f,function(P,z){if(D||(D=new si),Qt(P))SO(a,f,z,b,Md,S,D);else{var Z=S?S(Np(a,z),P,z+"",a,f,D):e;Z===e&&(Z=P),np(a,z,Z)}},dr)}function SO(a,f,b,S,D,P,z){var Z=Np(a,b),$=Np(f,b),he=z.get($);if(he){np(a,b,he);return}var ge=P?P(Z,$,b+"",a,f,z):e,ye=ge===e;if(ye){var _e=$e($),Be=!_e&&rs($),Ye=!_e&&!Be&&fa($);ge=$,_e||Be||Ye?$e(Z)?ge=Z:nn(Z)?ge=cr(Z):Be?(ye=!1,ge=p0($,!0)):Ye?(ye=!1,ge=m0($,!0)):ge=[]:Dc($)||Ys($)?(ge=Z,Ys(Z)?ge=fv(Z):(!Qt(Z)||lo(Z))&&(ge=O0($))):ye=!1}ye&&(z.set($,ge),D(ge,$,S,P,z),z.delete($)),np(a,b,ge)}function i0(a,f){var b=a.length;if(b)return f+=f<0?b:0,so(f,b)?a[f]:e}function o0(a,f,b){f.length?f=Gt(f,function(P){return $e(P)?function(z){return Ks(z,P.length===1?P[0]:P)}:P}):f=[fr];var S=-1;f=Gt(f,vr(He()));var D=t0(a,function(P,z,Z){var $=Gt(f,function(he){return he(P)});return{criteria:$,index:++S,value:P}});return XD(D,function(P,z){return BO(P,z,b)})}function EO(a,f){return s0(a,f,function(b,S){return Fp(a,S)})}function s0(a,f,b){for(var S=-1,D=f.length,P={};++S<D;){var z=f[S],Z=Ks(a,z);b(Z,z)&&_c(P,ts(z,a),Z)}return P}function kO(a){return function(f){return Ks(f,a)}}function dp(a,f,b,S){var D=S?VD:ta,P=-1,z=f.length,Z=a;for(a===f&&(f=cr(f)),b&&(Z=Gt(a,vr(b)));++P<z;)for(var $=0,he=f[P],ge=b?b(he):he;($=D(Z,ge,$,S))>-1;)Z!==a&&Cd.call(Z,$,1),Cd.call(a,$,1);return a}function l0(a,f){for(var b=a?f.length:0,S=b-1;b--;){var D=f[b];if(b==S||D!==P){var P=D;so(D)?Cd.call(a,D,1):pp(a,D)}}return a}function fp(a,f){return a+Sd(UC()*(f-a+1))}function TO(a,f,b,S){for(var D=-1,P=yn(xd((f-a)/(b||1)),0),z=se(P);P--;)z[S?P:++D]=a,a+=b;return z}function hp(a,f){var b="";if(!a||f<1||f>ie)return b;do f%2&&(b+=a),f=Sd(f/2),f&&(a+=a);while(f);return b}function at(a,f){return Ip(B0(a,f,fr),a+"")}function _O(a){return HC(ha(a))}function NO(a,f){var b=ha(a);return Ud(b,Us(f,0,b.length))}function _c(a,f,b,S){if(!Qt(a))return a;f=ts(f,a);for(var D=-1,P=f.length,z=P-1,Z=a;Z!=null&&++D<P;){var $=Si(f[D]),he=b;if($==="__proto__"||$==="constructor"||$==="prototype")return a;if(D!=z){var ge=Z[$];he=S?S(ge,$,Z):e,he===e&&(he=Qt(ge)?ge:so(f[D+1])?[]:{})}Sc(Z,$,he),Z=Z[$]}return a}var a0=Ed?function(a,f){return Ed.set(a,f),a}:fr,IO=vd?function(a,f){return vd(a,"toString",{configurable:!0,enumerable:!1,value:zp(f),writable:!0})}:fr;function MO(a){return Ud(ha(a))}function jr(a,f,b){var S=-1,D=a.length;f<0&&(f=-f>D?0:D+f),b=b>D?D:b,b<0&&(b+=D),D=f>b?0:b-f>>>0,f>>>=0;for(var P=se(D);++S<D;)P[S]=a[S+f];return P}function DO(a,f){var b;return $o(a,function(S,D,P){return b=f(S,D,P),!b}),!!b}function Dd(a,f,b){var S=0,D=a==null?S:a.length;if(typeof f=="number"&&f===f&&D<=Q){for(;S<D;){var P=S+D>>>1,z=a[P];z!==null&&!Sr(z)&&(b?z<=f:z<f)?S=P+1:D=P}return D}return gp(a,f,fr,b)}function gp(a,f,b,S){var D=0,P=a==null?0:a.length;if(P===0)return 0;f=b(f);for(var z=f!==f,Z=f===null,$=Sr(f),he=f===e;D<P;){var ge=Sd((D+P)/2),ye=b(a[ge]),_e=ye!==e,Be=ye===null,Ye=ye===ye,it=Sr(ye);if(z)var Ze=S||Ye;else he?Ze=Ye&&(S||_e):Z?Ze=Ye&&_e&&(S||!Be):$?Ze=Ye&&_e&&!Be&&(S||!it):Be||it?Ze=!1:Ze=S?ye<=f:ye<f;Ze?D=ge+1:P=ge}return Hn(P,W)}function c0(a,f){for(var b=-1,S=a.length,D=0,P=[];++b<S;){var z=a[b],Z=f?f(z):z;if(!b||!li(Z,$)){var $=Z;P[D++]=z===0?0:z}}return P}function u0(a){return typeof a=="number"?a:Sr(a)?te:+a}function xr(a){if(typeof a=="string")return a;if($e(a))return Gt(a,xr)+"";if(Sr(a))return KC?KC.call(a):"";var f=a+"";return f=="0"&&1/a==-fe?"-0":f}function es(a,f,b){var S=-1,D=dd,P=a.length,z=!0,Z=[],$=Z;if(b)z=!1,D=Wg;else if(P>=i){var he=f?null:WO(a);if(he)return hd(he);z=!1,D=yc,$=new zs}else $=f?[]:Z;e:for(;++S<P;){var ge=a[S],ye=f?f(ge):ge;if(ge=b||ge!==0?ge:0,z&&ye===ye){for(var _e=$.length;_e--;)if($[_e]===ye)continue e;f&&$.push(ye),Z.push(ge)}else D($,ye,b)||($!==Z&&$.push(ye),Z.push(ge))}return Z}function pp(a,f){return f=ts(f,a),a=F0(a,f),a==null||delete a[Si(zr(f))]}function d0(a,f,b,S){return _c(a,f,b(Ks(a,f)),S)}function Ld(a,f,b,S){for(var D=a.length,P=S?D:-1;(S?P--:++P<D)&&f(a[P],P,a););return b?jr(a,S?0:P,S?P+1:D):jr(a,S?P+1:0,S?D:P)}function f0(a,f){var b=a;return b instanceof gt&&(b=b.value()),Hg(f,function(S,D){return D.func.apply(D.thisArg,Vo([S],D.args))},b)}function mp(a,f,b){var S=a.length;if(S<2)return S?es(a[0]):[];for(var D=-1,P=se(S);++D<S;)for(var z=a[D],Z=-1;++Z<S;)Z!=D&&(P[D]=Ec(P[D]||z,a[Z],f,b));return es(jn(P,1),f,b)}function h0(a,f,b){for(var S=-1,D=a.length,P=f.length,z={};++S<D;){var Z=S<P?f[S]:e;b(z,a[S],Z)}return z}function Ap(a){return nn(a)?a:[]}function yp(a){return typeof a=="function"?a:fr}function ts(a,f){return $e(a)?a:Tp(a,f)?[a]:K0(xt(a))}var LO=at;function ns(a,f,b){var S=a.length;return b=b===e?S:b,!f&&b>=S?a:jr(a,f,b)}var g0=wL||function(a){return Fn.clearTimeout(a)};function p0(a,f){if(f)return a.slice();var b=a.length,S=PC?PC(b):new a.constructor(b);return a.copy(S),S}function bp(a){var f=new a.constructor(a.byteLength);return new bd(f).set(new bd(a)),f}function OO(a,f){var b=f?bp(a.buffer):a.buffer;return new a.constructor(b,a.byteOffset,a.byteLength)}function RO(a){var f=new a.constructor(a.source,qw.exec(a));return f.lastIndex=a.lastIndex,f}function PO(a){return xc?Rt(xc.call(a)):{}}function m0(a,f){var b=f?bp(a.buffer):a.buffer;return new a.constructor(b,a.byteOffset,a.length)}function A0(a,f){if(a!==f){var b=a!==e,S=a===null,D=a===a,P=Sr(a),z=f!==e,Z=f===null,$=f===f,he=Sr(f);if(!Z&&!he&&!P&&a>f||P&&z&&$&&!Z&&!he||S&&z&&$||!b&&$||!D)return 1;if(!S&&!P&&!he&&a<f||he&&b&&D&&!S&&!P||Z&&b&&D||!z&&D||!$)return-1}return 0}function BO(a,f,b){for(var S=-1,D=a.criteria,P=f.criteria,z=D.length,Z=b.length;++S<z;){var $=A0(D[S],P[S]);if($){if(S>=Z)return $;var he=b[S];return $*(he=="desc"?-1:1)}}return a.index-f.index}function y0(a,f,b,S){for(var D=-1,P=a.length,z=b.length,Z=-1,$=f.length,he=yn(P-z,0),ge=se($+he),ye=!S;++Z<$;)ge[Z]=f[Z];for(;++D<z;)(ye||D<P)&&(ge[b[D]]=a[D]);for(;he--;)ge[Z++]=a[D++];return ge}function b0(a,f,b,S){for(var D=-1,P=a.length,z=-1,Z=b.length,$=-1,he=f.length,ge=yn(P-Z,0),ye=se(ge+he),_e=!S;++D<ge;)ye[D]=a[D];for(var Be=D;++$<he;)ye[Be+$]=f[$];for(;++z<Z;)(_e||D<P)&&(ye[Be+b[z]]=a[D++]);return ye}function cr(a,f){var b=-1,S=a.length;for(f||(f=se(S));++b<S;)f[b]=a[b];return f}function xi(a,f,b,S){var D=!b;b||(b={});for(var P=-1,z=f.length;++P<z;){var Z=f[P],$=S?S(b[Z],a[Z],Z,b,a):e;$===e&&($=a[Z]),D?ro(b,Z,$):Sc(b,Z,$)}return b}function FO(a,f){return xi(a,kp(a),f)}function jO(a,f){return xi(a,D0(a),f)}function Od(a,f){return function(b,S){var D=$e(b)?HD:lO,P=f?f():{};return D(b,a,He(S,2),P)}}function ca(a){return at(function(f,b){var S=-1,D=b.length,P=D>1?b[D-1]:e,z=D>2?b[2]:e;for(P=a.length>3&&typeof P=="function"?(D--,P):e,z&&er(b[0],b[1],z)&&(P=D<3?e:P,D=1),f=Rt(f);++S<D;){var Z=b[S];Z&&a(f,Z,S,P)}return f})}function w0(a,f){return function(b,S){if(b==null)return b;if(!ur(b))return a(b,S);for(var D=b.length,P=f?D:-1,z=Rt(b);(f?P--:++P<D)&&S(z[P],P,z)!==!1;);return b}}function C0(a){return function(f,b,S){for(var D=-1,P=Rt(f),z=S(f),Z=z.length;Z--;){var $=z[a?Z:++D];if(b(P[$],$,P)===!1)break}return f}}function zO(a,f,b){var S=f&w,D=Nc(a);function P(){var z=this&&this!==Fn&&this instanceof P?D:a;return z.apply(S?b:this,arguments)}return P}function v0(a){return function(f){f=xt(f);var b=na(f)?oi(f):e,S=b?b[0]:f.charAt(0),D=b?ns(b,1).join(""):f.slice(1);return S[a]()+D}}function ua(a){return function(f){return Hg(wv(bv(f).replace(ID,"")),a,"")}}function Nc(a){return function(){var f=arguments;switch(f.length){case 0:return new a;case 1:return new a(f[0]);case 2:return new a(f[0],f[1]);case 3:return new a(f[0],f[1],f[2]);case 4:return new a(f[0],f[1],f[2],f[3]);case 5:return new a(f[0],f[1],f[2],f[3],f[4]);case 6:return new a(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return new a(f[0],f[1],f[2],f[3],f[4],f[5],f[6])}var b=aa(a.prototype),S=a.apply(b,f);return Qt(S)?S:b}}function UO(a,f,b){var S=Nc(a);function D(){for(var P=arguments.length,z=se(P),Z=P,$=da(D);Z--;)z[Z]=arguments[Z];var he=P<3&&z[0]!==$&&z[P-1]!==$?[]:Xo(z,$);if(P-=he.length,P<b)return T0(a,f,Rd,D.placeholder,e,z,he,e,e,b-P);var ge=this&&this!==Fn&&this instanceof D?S:a;return Cr(ge,this,z)}return D}function x0(a){return function(f,b,S){var D=Rt(f);if(!ur(f)){var P=He(b,3);f=En(f),b=function(Z){return P(D[Z],Z,D)}}var z=a(f,b,S);return z>-1?D[P?f[z]:z]:e}}function S0(a){return oo(function(f){var b=f.length,S=b,D=Br.prototype.thru;for(a&&f.reverse();S--;){var P=f[S];if(typeof P!="function")throw new Pr(s);if(D&&!z&&jd(P)=="wrapper")var z=new Br([],!0)}for(S=z?S:b;++S<b;){P=f[S];var Z=jd(P),$=Z=="wrapper"?Sp(P):e;$&&_p($[0])&&$[1]==(k|x|N|M)&&!$[4].length&&$[9]==1?z=z[jd($[0])].apply(z,$[3]):z=P.length==1&&_p(P)?z[Z]():z.thru(P)}return function(){var he=arguments,ge=he[0];if(z&&he.length==1&&$e(ge))return z.plant(ge).value();for(var ye=0,_e=b?f[ye].apply(this,he):ge;++ye<b;)_e=f[ye].call(this,_e);return _e}})}function Rd(a,f,b,S,D,P,z,Z,$,he){var ge=f&k,ye=f&w,_e=f&v,Be=f&(x|_),Ye=f&I,it=_e?e:Nc(a);function Ze(){for(var ft=arguments.length,mt=se(ft),Er=ft;Er--;)mt[Er]=arguments[Er];if(Be)var tr=da(Ze),kr=$D(mt,tr);if(S&&(mt=y0(mt,S,D,Be)),P&&(mt=b0(mt,P,z,Be)),ft-=kr,Be&&ft<he){var rn=Xo(mt,tr);return T0(a,f,Rd,Ze.placeholder,b,mt,rn,Z,$,he-ft)}var ai=ye?b:this,co=_e?ai[a]:a;return ft=mt.length,Z?mt=lR(mt,Z):Ye&&ft>1&&mt.reverse(),ge&&$<ft&&(mt.length=$),this&&this!==Fn&&this instanceof Ze&&(co=it||Nc(co)),co.apply(ai,mt)}return Ze}function E0(a,f){return function(b,S){return pO(b,a,f(S),{})}}function Pd(a,f){return function(b,S){var D;if(b===e&&S===e)return f;if(b!==e&&(D=b),S!==e){if(D===e)return S;typeof b=="string"||typeof S=="string"?(b=xr(b),S=xr(S)):(b=u0(b),S=u0(S)),D=a(b,S)}return D}}function wp(a){return oo(function(f){return f=Gt(f,vr(He())),at(function(b){var S=this;return a(f,function(D){return Cr(D,S,b)})})})}function Bd(a,f){f=f===e?" ":xr(f);var b=f.length;if(b<2)return b?hp(f,a):f;var S=hp(f,xd(a/ra(f)));return na(f)?ns(oi(S),0,a).join(""):S.slice(0,a)}function KO(a,f,b,S){var D=f&w,P=Nc(a);function z(){for(var Z=-1,$=arguments.length,he=-1,ge=S.length,ye=se(ge+$),_e=this&&this!==Fn&&this instanceof z?P:a;++he<ge;)ye[he]=S[he];for(;$--;)ye[he++]=arguments[++Z];return Cr(_e,D?b:this,ye)}return z}function k0(a){return function(f,b,S){return S&&typeof S!="number"&&er(f,b,S)&&(b=S=e),f=ao(f),b===e?(b=f,f=0):b=ao(b),S=S===e?f<b?1:-1:ao(S),TO(f,b,S,a)}}function Fd(a){return function(f,b){return typeof f=="string"&&typeof b=="string"||(f=Ur(f),b=Ur(b)),a(f,b)}}function T0(a,f,b,S,D,P,z,Z,$,he){var ge=f&x,ye=ge?z:e,_e=ge?e:z,Be=ge?P:e,Ye=ge?e:P;f|=ge?N:T,f&=~(ge?T:N),f&C||(f&=-4);var it=[a,f,D,Be,ye,Ye,_e,Z,$,he],Ze=b.apply(e,it);return _p(a)&&j0(Ze,it),Ze.placeholder=S,z0(Ze,a,f)}function Cp(a){var f=An[a];return function(b,S){if(b=Ur(b),S=S==null?0:Hn(rt(S),292),S&&zC(b)){var D=(xt(b)+"e").split("e"),P=f(D[0]+"e"+(+D[1]+S));return D=(xt(P)+"e").split("e"),+(D[0]+"e"+(+D[1]-S))}return f(b)}}var WO=sa&&1/hd(new sa([,-0]))[1]==fe?function(a){return new sa(a)}:Wp;function _0(a){return function(f){var b=Yn(f);return b==Ce?Xg(f):b==Zt?sL(f):qD(f,a(f))}}function io(a,f,b,S,D,P,z,Z){var $=f&v;if(!$&&typeof a!="function")throw new Pr(s);var he=S?S.length:0;if(he||(f&=-97,S=D=e),z=z===e?z:yn(rt(z),0),Z=Z===e?Z:rt(Z),he-=D?D.length:0,f&T){var ge=S,ye=D;S=D=e}var _e=$?e:Sp(a),Be=[a,f,b,S,D,ge,ye,P,z,Z];if(_e&&iR(Be,_e),a=Be[0],f=Be[1],b=Be[2],S=Be[3],D=Be[4],Z=Be[9]=Be[9]===e?$?0:a.length:yn(Be[9]-he,0),!Z&&f&(x|_)&&(f&=-25),!f||f==w)var Ye=zO(a,f,b);else f==x||f==_?Ye=UO(a,f,Z):(f==N||f==(w|N))&&!D.length?Ye=KO(a,f,b,S):Ye=Rd.apply(e,Be);var it=_e?a0:j0;return z0(it(Ye,Be),a,f)}function N0(a,f,b,S){return a===e||li(a,oa[b])&&!Tt.call(S,b)?f:a}function I0(a,f,b,S,D,P){return Qt(a)&&Qt(f)&&(P.set(f,a),Md(a,f,e,I0,P),P.delete(f)),a}function HO(a){return Dc(a)?e:a}function M0(a,f,b,S,D,P){var z=b&m,Z=a.length,$=f.length;if(Z!=$&&!(z&&$>Z))return!1;var he=P.get(a),ge=P.get(f);if(he&&ge)return he==f&&ge==a;var ye=-1,_e=!0,Be=b&y?new zs:e;for(P.set(a,f),P.set(f,a);++ye<Z;){var Ye=a[ye],it=f[ye];if(S)var Ze=z?S(it,Ye,ye,f,a,P):S(Ye,it,ye,a,f,P);if(Ze!==e){if(Ze)continue;_e=!1;break}if(Be){if(!Yg(f,function(ft,mt){if(!yc(Be,mt)&&(Ye===ft||D(Ye,ft,b,S,P)))return Be.push(mt)})){_e=!1;break}}else if(!(Ye===it||D(Ye,it,b,S,P))){_e=!1;break}}return P.delete(a),P.delete(f),_e}function YO(a,f,b,S,D,P,z){switch(b){case et:if(a.byteLength!=f.byteLength||a.byteOffset!=f.byteOffset)return!1;a=a.buffer,f=f.buffer;case ht:return!(a.byteLength!=f.byteLength||!P(new bd(a),new bd(f)));case ne:case Ae:case We:return li(+a,+f);case pe:return a.name==f.name&&a.message==f.message;case lt:case Sn:return a==f+"";case Ce:var Z=Xg;case Zt:var $=S&m;if(Z||(Z=hd),a.size!=f.size&&!$)return!1;var he=z.get(a);if(he)return he==f;S|=y,z.set(a,f);var ge=M0(Z(a),Z(f),S,D,P,z);return z.delete(a),ge;case je:if(xc)return xc.call(a)==xc.call(f)}return!1}function ZO(a,f,b,S,D,P){var z=b&m,Z=vp(a),$=Z.length,he=vp(f),ge=he.length;if($!=ge&&!z)return!1;for(var ye=$;ye--;){var _e=Z[ye];if(!(z?_e in f:Tt.call(f,_e)))return!1}var Be=P.get(a),Ye=P.get(f);if(Be&&Ye)return Be==f&&Ye==a;var it=!0;P.set(a,f),P.set(f,a);for(var Ze=z;++ye<$;){_e=Z[ye];var ft=a[_e],mt=f[_e];if(S)var Er=z?S(mt,ft,_e,f,a,P):S(ft,mt,_e,a,f,P);if(!(Er===e?ft===mt||D(ft,mt,b,S,P):Er)){it=!1;break}Ze||(Ze=_e=="constructor")}if(it&&!Ze){var tr=a.constructor,kr=f.constructor;tr!=kr&&"constructor"in a&&"constructor"in f&&!(typeof tr=="function"&&tr instanceof tr&&typeof kr=="function"&&kr instanceof kr)&&(it=!1)}return P.delete(a),P.delete(f),it}function oo(a){return Ip(B0(a,e,Z0),a+"")}function vp(a){return XC(a,En,kp)}function xp(a){return XC(a,dr,D0)}var Sp=Ed?function(a){return Ed.get(a)}:Wp;function jd(a){for(var f=a.name+"",b=la[f],S=Tt.call(la,f)?b.length:0;S--;){var D=b[S],P=D.func;if(P==null||P==a)return D.name}return f}function da(a){var f=Tt.call(O,"placeholder")?O:a;return f.placeholder}function He(){var a=O.iteratee||Up;return a=a===Up?e0:a,arguments.length?a(arguments[0],arguments[1]):a}function zd(a,f){var b=a.__data__;return eR(f)?b[typeof f=="string"?"string":"hash"]:b.map}function Ep(a){for(var f=En(a),b=f.length;b--;){var S=f[b],D=a[S];f[b]=[S,D,R0(D)]}return f}function Ws(a,f){var b=rL(a,f);return $C(b)?b:e}function GO(a){var f=Tt.call(a,Fs),b=a[Fs];try{a[Fs]=e;var S=!0}catch{}var D=Ad.call(a);return S&&(f?a[Fs]=b:delete a[Fs]),D}var kp=$g?function(a){return a==null?[]:(a=Rt(a),Qo($g(a),function(f){return FC.call(a,f)}))}:Hp,D0=$g?function(a){for(var f=[];a;)Vo(f,kp(a)),a=wd(a);return f}:Hp,Yn=$n;(ep&&Yn(new ep(new ArrayBuffer(1)))!=et||wc&&Yn(new wc)!=Ce||tp&&Yn(tp.resolve())!=Je||sa&&Yn(new sa)!=Zt||Cc&&Yn(new Cc)!=dt)&&(Yn=function(a){var f=$n(a),b=f==Se?a.constructor:e,S=b?Hs(b):"";if(S)switch(S){case NL:return et;case IL:return Ce;case ML:return Je;case DL:return Zt;case LL:return dt}return f});function JO(a,f,b){for(var S=-1,D=b.length;++S<D;){var P=b[S],z=P.size;switch(P.type){case"drop":a+=z;break;case"dropRight":f-=z;break;case"take":f=Hn(f,a+z);break;case"takeRight":a=yn(a,f-z);break}}return{start:a,end:f}}function QO(a){var f=a.match(tD);return f?f[1].split(nD):[]}function L0(a,f,b){f=ts(f,a);for(var S=-1,D=f.length,P=!1;++S<D;){var z=Si(f[S]);if(!(P=a!=null&&b(a,z)))break;a=a[z]}return P||++S!=D?P:(D=a==null?0:a.length,!!D&&Gd(D)&&so(z,D)&&($e(a)||Ys(a)))}function VO(a){var f=a.length,b=new a.constructor(f);return f&&typeof a[0]=="string"&&Tt.call(a,"index")&&(b.index=a.index,b.input=a.input),b}function O0(a){return typeof a.constructor=="function"&&!Ic(a)?aa(wd(a)):{}}function XO(a,f,b){var S=a.constructor;switch(f){case ht:return bp(a);case ne:case Ae:return new S(+a);case et:return OO(a,b);case $t:case Kt:case lr:case Bn:case eo:case Ps:case Ac:case ar:case Jo:return m0(a,b);case Ce:return new S;case We:case Sn:return new S(a);case lt:return RO(a);case Zt:return new S;case je:return PO(a)}}function qO(a,f){var b=f.length;if(!b)return a;var S=b-1;return f[S]=(b>1?"& ":"")+f[S],f=f.join(b>2?", ":" "),a.replace(eD,`{
71
- /* [wrapped with `+f+`] */
72
- `)}function $O(a){return $e(a)||Ys(a)||!!(jC&&a&&a[jC])}function so(a,f){var b=typeof a;return f=f??ie,!!f&&(b=="number"||b!="symbol"&&dD.test(a))&&a>-1&&a%1==0&&a<f}function er(a,f,b){if(!Qt(b))return!1;var S=typeof f;return(S=="number"?ur(b)&&so(f,b.length):S=="string"&&f in b)?li(b[f],a):!1}function Tp(a,f){if($e(a))return!1;var b=typeof a;return b=="number"||b=="symbol"||b=="boolean"||a==null||Sr(a)?!0:VM.test(a)||!QM.test(a)||f!=null&&a in Rt(f)}function eR(a){var f=typeof a;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?a!=="__proto__":a===null}function _p(a){var f=jd(a),b=O[f];if(typeof b!="function"||!(f in gt.prototype))return!1;if(a===b)return!0;var S=Sp(b);return!!S&&a===S[0]}function tR(a){return!!RC&&RC in a}var nR=pd?lo:Yp;function Ic(a){var f=a&&a.constructor,b=typeof f=="function"&&f.prototype||oa;return a===b}function R0(a){return a===a&&!Qt(a)}function P0(a,f){return function(b){return b==null?!1:b[a]===f&&(f!==e||a in Rt(b))}}function rR(a){var f=Yd(a,function(S){return b.size===u&&b.clear(),S}),b=f.cache;return f}function iR(a,f){var b=a[1],S=f[1],D=b|S,P=D<(w|v|k),z=S==k&&b==x||S==k&&b==M&&a[7].length<=f[8]||S==(k|M)&&f[7].length<=f[8]&&b==x;if(!(P||z))return a;S&w&&(a[2]=f[2],D|=b&w?0:C);var Z=f[3];if(Z){var $=a[3];a[3]=$?y0($,Z,f[4]):Z,a[4]=$?Xo(a[3],d):f[4]}return Z=f[5],Z&&($=a[5],a[5]=$?b0($,Z,f[6]):Z,a[6]=$?Xo(a[5],d):f[6]),Z=f[7],Z&&(a[7]=Z),S&k&&(a[8]=a[8]==null?f[8]:Hn(a[8],f[8])),a[9]==null&&(a[9]=f[9]),a[0]=f[0],a[1]=D,a}function oR(a){var f=[];if(a!=null)for(var b in Rt(a))f.push(b);return f}function sR(a){return Ad.call(a)}function B0(a,f,b){return f=yn(f===e?a.length-1:f,0),function(){for(var S=arguments,D=-1,P=yn(S.length-f,0),z=se(P);++D<P;)z[D]=S[f+D];D=-1;for(var Z=se(f+1);++D<f;)Z[D]=S[D];return Z[f]=b(z),Cr(a,this,Z)}}function F0(a,f){return f.length<2?a:Ks(a,jr(f,0,-1))}function lR(a,f){for(var b=a.length,S=Hn(f.length,b),D=cr(a);S--;){var P=f[S];a[S]=so(P,b)?D[P]:e}return a}function Np(a,f){if(!(f==="constructor"&&typeof a[f]=="function")&&f!="__proto__")return a[f]}var j0=U0(a0),Mc=vL||function(a,f){return Fn.setTimeout(a,f)},Ip=U0(IO);function z0(a,f,b){var S=f+"";return Ip(a,qO(S,aR(QO(S),b)))}function U0(a){var f=0,b=0;return function(){var S=kL(),D=j-(S-b);if(b=S,D>0){if(++f>=U)return arguments[0]}else f=0;return a.apply(e,arguments)}}function Ud(a,f){var b=-1,S=a.length,D=S-1;for(f=f===e?S:f;++b<f;){var P=fp(b,D),z=a[P];a[P]=a[b],a[b]=z}return a.length=f,a}var K0=rR(function(a){var f=[];return a.charCodeAt(0)===46&&f.push(""),a.replace(XM,function(b,S,D,P){f.push(D?P.replace(oD,"$1"):S||b)}),f});function Si(a){if(typeof a=="string"||Sr(a))return a;var f=a+"";return f=="0"&&1/a==-fe?"-0":f}function Hs(a){if(a!=null){try{return md.call(a)}catch{}try{return a+""}catch{}}return""}function aR(a,f){return Rr(re,function(b){var S="_."+b[0];f&b[1]&&!dd(a,S)&&a.push(S)}),a.sort()}function W0(a){if(a instanceof gt)return a.clone();var f=new Br(a.__wrapped__,a.__chain__);return f.__actions__=cr(a.__actions__),f.__index__=a.__index__,f.__values__=a.__values__,f}function cR(a,f,b){(b?er(a,f,b):f===e)?f=1:f=yn(rt(f),0);var S=a==null?0:a.length;if(!S||f<1)return[];for(var D=0,P=0,z=se(xd(S/f));D<S;)z[P++]=jr(a,D,D+=f);return z}function uR(a){for(var f=-1,b=a==null?0:a.length,S=0,D=[];++f<b;){var P=a[f];P&&(D[S++]=P)}return D}function dR(){var a=arguments.length;if(!a)return[];for(var f=se(a-1),b=arguments[0],S=a;S--;)f[S-1]=arguments[S];return Vo($e(b)?cr(b):[b],jn(f,1))}var fR=at(function(a,f){return nn(a)?Ec(a,jn(f,1,nn,!0)):[]}),hR=at(function(a,f){var b=zr(f);return nn(b)&&(b=e),nn(a)?Ec(a,jn(f,1,nn,!0),He(b,2)):[]}),gR=at(function(a,f){var b=zr(f);return nn(b)&&(b=e),nn(a)?Ec(a,jn(f,1,nn,!0),e,b):[]});function pR(a,f,b){var S=a==null?0:a.length;return S?(f=b||f===e?1:rt(f),jr(a,f<0?0:f,S)):[]}function mR(a,f,b){var S=a==null?0:a.length;return S?(f=b||f===e?1:rt(f),f=S-f,jr(a,0,f<0?0:f)):[]}function AR(a,f){return a&&a.length?Ld(a,He(f,3),!0,!0):[]}function yR(a,f){return a&&a.length?Ld(a,He(f,3),!0):[]}function bR(a,f,b,S){var D=a==null?0:a.length;return D?(b&&typeof b!="number"&&er(a,f,b)&&(b=0,S=D),dO(a,f,b,S)):[]}function H0(a,f,b){var S=a==null?0:a.length;if(!S)return-1;var D=b==null?0:rt(b);return D<0&&(D=yn(S+D,0)),fd(a,He(f,3),D)}function Y0(a,f,b){var S=a==null?0:a.length;if(!S)return-1;var D=S-1;return b!==e&&(D=rt(b),D=b<0?yn(S+D,0):Hn(D,S-1)),fd(a,He(f,3),D,!0)}function Z0(a){var f=a==null?0:a.length;return f?jn(a,1):[]}function wR(a){var f=a==null?0:a.length;return f?jn(a,fe):[]}function CR(a,f){var b=a==null?0:a.length;return b?(f=f===e?1:rt(f),jn(a,f)):[]}function vR(a){for(var f=-1,b=a==null?0:a.length,S={};++f<b;){var D=a[f];S[D[0]]=D[1]}return S}function G0(a){return a&&a.length?a[0]:e}function xR(a,f,b){var S=a==null?0:a.length;if(!S)return-1;var D=b==null?0:rt(b);return D<0&&(D=yn(S+D,0)),ta(a,f,D)}function SR(a){var f=a==null?0:a.length;return f?jr(a,0,-1):[]}var ER=at(function(a){var f=Gt(a,Ap);return f.length&&f[0]===a[0]?lp(f):[]}),kR=at(function(a){var f=zr(a),b=Gt(a,Ap);return f===zr(b)?f=e:b.pop(),b.length&&b[0]===a[0]?lp(b,He(f,2)):[]}),TR=at(function(a){var f=zr(a),b=Gt(a,Ap);return f=typeof f=="function"?f:e,f&&b.pop(),b.length&&b[0]===a[0]?lp(b,e,f):[]});function _R(a,f){return a==null?"":SL.call(a,f)}function zr(a){var f=a==null?0:a.length;return f?a[f-1]:e}function NR(a,f,b){var S=a==null?0:a.length;if(!S)return-1;var D=S;return b!==e&&(D=rt(b),D=D<0?yn(S+D,0):Hn(D,S-1)),f===f?aL(a,f,D):fd(a,TC,D,!0)}function IR(a,f){return a&&a.length?i0(a,rt(f)):e}var MR=at(J0);function J0(a,f){return a&&a.length&&f&&f.length?dp(a,f):a}function DR(a,f,b){return a&&a.length&&f&&f.length?dp(a,f,He(b,2)):a}function LR(a,f,b){return a&&a.length&&f&&f.length?dp(a,f,e,b):a}var OR=oo(function(a,f){var b=a==null?0:a.length,S=rp(a,f);return l0(a,Gt(f,function(D){return so(D,b)?+D:D}).sort(A0)),S});function RR(a,f){var b=[];if(!(a&&a.length))return b;var S=-1,D=[],P=a.length;for(f=He(f,3);++S<P;){var z=a[S];f(z,S,a)&&(b.push(z),D.push(S))}return l0(a,D),b}function Mp(a){return a==null?a:_L.call(a)}function PR(a,f,b){var S=a==null?0:a.length;return S?(b&&typeof b!="number"&&er(a,f,b)?(f=0,b=S):(f=f==null?0:rt(f),b=b===e?S:rt(b)),jr(a,f,b)):[]}function BR(a,f){return Dd(a,f)}function FR(a,f,b){return gp(a,f,He(b,2))}function jR(a,f){var b=a==null?0:a.length;if(b){var S=Dd(a,f);if(S<b&&li(a[S],f))return S}return-1}function zR(a,f){return Dd(a,f,!0)}function UR(a,f,b){return gp(a,f,He(b,2),!0)}function KR(a,f){var b=a==null?0:a.length;if(b){var S=Dd(a,f,!0)-1;if(li(a[S],f))return S}return-1}function WR(a){return a&&a.length?c0(a):[]}function HR(a,f){return a&&a.length?c0(a,He(f,2)):[]}function YR(a){var f=a==null?0:a.length;return f?jr(a,1,f):[]}function ZR(a,f,b){return a&&a.length?(f=b||f===e?1:rt(f),jr(a,0,f<0?0:f)):[]}function GR(a,f,b){var S=a==null?0:a.length;return S?(f=b||f===e?1:rt(f),f=S-f,jr(a,f<0?0:f,S)):[]}function JR(a,f){return a&&a.length?Ld(a,He(f,3),!1,!0):[]}function QR(a,f){return a&&a.length?Ld(a,He(f,3)):[]}var VR=at(function(a){return es(jn(a,1,nn,!0))}),XR=at(function(a){var f=zr(a);return nn(f)&&(f=e),es(jn(a,1,nn,!0),He(f,2))}),qR=at(function(a){var f=zr(a);return f=typeof f=="function"?f:e,es(jn(a,1,nn,!0),e,f)});function $R(a){return a&&a.length?es(a):[]}function e2(a,f){return a&&a.length?es(a,He(f,2)):[]}function t2(a,f){return f=typeof f=="function"?f:e,a&&a.length?es(a,e,f):[]}function Dp(a){if(!(a&&a.length))return[];var f=0;return a=Qo(a,function(b){if(nn(b))return f=yn(b.length,f),!0}),Qg(f,function(b){return Gt(a,Zg(b))})}function Q0(a,f){if(!(a&&a.length))return[];var b=Dp(a);return f==null?b:Gt(b,function(S){return Cr(f,e,S)})}var n2=at(function(a,f){return nn(a)?Ec(a,f):[]}),r2=at(function(a){return mp(Qo(a,nn))}),i2=at(function(a){var f=zr(a);return nn(f)&&(f=e),mp(Qo(a,nn),He(f,2))}),o2=at(function(a){var f=zr(a);return f=typeof f=="function"?f:e,mp(Qo(a,nn),e,f)}),s2=at(Dp);function l2(a,f){return h0(a||[],f||[],Sc)}function a2(a,f){return h0(a||[],f||[],_c)}var c2=at(function(a){var f=a.length,b=f>1?a[f-1]:e;return b=typeof b=="function"?(a.pop(),b):e,Q0(a,b)});function V0(a){var f=O(a);return f.__chain__=!0,f}function u2(a,f){return f(a),a}function Kd(a,f){return f(a)}var d2=oo(function(a){var f=a.length,b=f?a[0]:0,S=this.__wrapped__,D=function(P){return rp(P,a)};return f>1||this.__actions__.length||!(S instanceof gt)||!so(b)?this.thru(D):(S=S.slice(b,+b+(f?1:0)),S.__actions__.push({func:Kd,args:[D],thisArg:e}),new Br(S,this.__chain__).thru(function(P){return f&&!P.length&&P.push(e),P}))});function f2(){return V0(this)}function h2(){return new Br(this.value(),this.__chain__)}function g2(){this.__values__===e&&(this.__values__=uv(this.value()));var a=this.__index__>=this.__values__.length,f=a?e:this.__values__[this.__index__++];return{done:a,value:f}}function p2(){return this}function m2(a){for(var f,b=this;b instanceof Td;){var S=W0(b);S.__index__=0,S.__values__=e,f?D.__wrapped__=S:f=S;var D=S;b=b.__wrapped__}return D.__wrapped__=a,f}function A2(){var a=this.__wrapped__;if(a instanceof gt){var f=a;return this.__actions__.length&&(f=new gt(this)),f=f.reverse(),f.__actions__.push({func:Kd,args:[Mp],thisArg:e}),new Br(f,this.__chain__)}return this.thru(Mp)}function y2(){return f0(this.__wrapped__,this.__actions__)}var b2=Od(function(a,f,b){Tt.call(a,b)?++a[b]:ro(a,b,1)});function w2(a,f,b){var S=$e(a)?EC:uO;return b&&er(a,f,b)&&(f=e),S(a,He(f,3))}function C2(a,f){var b=$e(a)?Qo:QC;return b(a,He(f,3))}var v2=x0(H0),x2=x0(Y0);function S2(a,f){return jn(Wd(a,f),1)}function E2(a,f){return jn(Wd(a,f),fe)}function k2(a,f,b){return b=b===e?1:rt(b),jn(Wd(a,f),b)}function X0(a,f){var b=$e(a)?Rr:$o;return b(a,He(f,3))}function q0(a,f){var b=$e(a)?YD:JC;return b(a,He(f,3))}var T2=Od(function(a,f,b){Tt.call(a,b)?a[b].push(f):ro(a,b,[f])});function _2(a,f,b,S){a=ur(a)?a:ha(a),b=b&&!S?rt(b):0;var D=a.length;return b<0&&(b=yn(D+b,0)),Jd(a)?b<=D&&a.indexOf(f,b)>-1:!!D&&ta(a,f,b)>-1}var N2=at(function(a,f,b){var S=-1,D=typeof f=="function",P=ur(a)?se(a.length):[];return $o(a,function(z){P[++S]=D?Cr(f,z,b):kc(z,f,b)}),P}),I2=Od(function(a,f,b){ro(a,b,f)});function Wd(a,f){var b=$e(a)?Gt:t0;return b(a,He(f,3))}function M2(a,f,b,S){return a==null?[]:($e(f)||(f=f==null?[]:[f]),b=S?e:b,$e(b)||(b=b==null?[]:[b]),o0(a,f,b))}var D2=Od(function(a,f,b){a[b?0:1].push(f)},function(){return[[],[]]});function L2(a,f,b){var S=$e(a)?Hg:NC,D=arguments.length<3;return S(a,He(f,4),b,D,$o)}function O2(a,f,b){var S=$e(a)?ZD:NC,D=arguments.length<3;return S(a,He(f,4),b,D,JC)}function R2(a,f){var b=$e(a)?Qo:QC;return b(a,Zd(He(f,3)))}function P2(a){var f=$e(a)?HC:_O;return f(a)}function B2(a,f,b){(b?er(a,f,b):f===e)?f=1:f=rt(f);var S=$e(a)?oO:NO;return S(a,f)}function F2(a){var f=$e(a)?sO:MO;return f(a)}function j2(a){if(a==null)return 0;if(ur(a))return Jd(a)?ra(a):a.length;var f=Yn(a);return f==Ce||f==Zt?a.size:cp(a).length}function z2(a,f,b){var S=$e(a)?Yg:DO;return b&&er(a,f,b)&&(f=e),S(a,He(f,3))}var U2=at(function(a,f){if(a==null)return[];var b=f.length;return b>1&&er(a,f[0],f[1])?f=[]:b>2&&er(f[0],f[1],f[2])&&(f=[f[0]]),o0(a,jn(f,1),[])}),Hd=CL||function(){return Fn.Date.now()};function K2(a,f){if(typeof f!="function")throw new Pr(s);return a=rt(a),function(){if(--a<1)return f.apply(this,arguments)}}function $0(a,f,b){return f=b?e:f,f=a&&f==null?a.length:f,io(a,k,e,e,e,e,f)}function ev(a,f){var b;if(typeof f!="function")throw new Pr(s);return a=rt(a),function(){return--a>0&&(b=f.apply(this,arguments)),a<=1&&(f=e),b}}var Lp=at(function(a,f,b){var S=w;if(b.length){var D=Xo(b,da(Lp));S|=N}return io(a,S,f,b,D)}),tv=at(function(a,f,b){var S=w|v;if(b.length){var D=Xo(b,da(tv));S|=N}return io(f,S,a,b,D)});function nv(a,f,b){f=b?e:f;var S=io(a,x,e,e,e,e,e,f);return S.placeholder=nv.placeholder,S}function rv(a,f,b){f=b?e:f;var S=io(a,_,e,e,e,e,e,f);return S.placeholder=rv.placeholder,S}function iv(a,f,b){var S,D,P,z,Z,$,he=0,ge=!1,ye=!1,_e=!0;if(typeof a!="function")throw new Pr(s);f=Ur(f)||0,Qt(b)&&(ge=!!b.leading,ye="maxWait"in b,P=ye?yn(Ur(b.maxWait)||0,f):P,_e="trailing"in b?!!b.trailing:_e);function Be(rn){var ai=S,co=D;return S=D=e,he=rn,z=a.apply(co,ai),z}function Ye(rn){return he=rn,Z=Mc(ft,f),ge?Be(rn):z}function it(rn){var ai=rn-$,co=rn-he,xv=f-ai;return ye?Hn(xv,P-co):xv}function Ze(rn){var ai=rn-$,co=rn-he;return $===e||ai>=f||ai<0||ye&&co>=P}function ft(){var rn=Hd();if(Ze(rn))return mt(rn);Z=Mc(ft,it(rn))}function mt(rn){return Z=e,_e&&S?Be(rn):(S=D=e,z)}function Er(){Z!==e&&g0(Z),he=0,S=$=D=Z=e}function tr(){return Z===e?z:mt(Hd())}function kr(){var rn=Hd(),ai=Ze(rn);if(S=arguments,D=this,$=rn,ai){if(Z===e)return Ye($);if(ye)return g0(Z),Z=Mc(ft,f),Be($)}return Z===e&&(Z=Mc(ft,f)),z}return kr.cancel=Er,kr.flush=tr,kr}var W2=at(function(a,f){return GC(a,1,f)}),H2=at(function(a,f,b){return GC(a,Ur(f)||0,b)});function Y2(a){return io(a,I)}function Yd(a,f){if(typeof a!="function"||f!=null&&typeof f!="function")throw new Pr(s);var b=function(){var S=arguments,D=f?f.apply(this,S):S[0],P=b.cache;if(P.has(D))return P.get(D);var z=a.apply(this,S);return b.cache=P.set(D,z)||P,z};return b.cache=new(Yd.Cache||no),b}Yd.Cache=no;function Zd(a){if(typeof a!="function")throw new Pr(s);return function(){var f=arguments;switch(f.length){case 0:return!a.call(this);case 1:return!a.call(this,f[0]);case 2:return!a.call(this,f[0],f[1]);case 3:return!a.call(this,f[0],f[1],f[2])}return!a.apply(this,f)}}function Z2(a){return ev(2,a)}var G2=LO(function(a,f){f=f.length==1&&$e(f[0])?Gt(f[0],vr(He())):Gt(jn(f,1),vr(He()));var b=f.length;return at(function(S){for(var D=-1,P=Hn(S.length,b);++D<P;)S[D]=f[D].call(this,S[D]);return Cr(a,this,S)})}),Op=at(function(a,f){var b=Xo(f,da(Op));return io(a,N,e,f,b)}),ov=at(function(a,f){var b=Xo(f,da(ov));return io(a,T,e,f,b)}),J2=oo(function(a,f){return io(a,M,e,e,e,f)});function Q2(a,f){if(typeof a!="function")throw new Pr(s);return f=f===e?f:rt(f),at(a,f)}function V2(a,f){if(typeof a!="function")throw new Pr(s);return f=f==null?0:yn(rt(f),0),at(function(b){var S=b[f],D=ns(b,0,f);return S&&Vo(D,S),Cr(a,this,D)})}function X2(a,f,b){var S=!0,D=!0;if(typeof a!="function")throw new Pr(s);return Qt(b)&&(S="leading"in b?!!b.leading:S,D="trailing"in b?!!b.trailing:D),iv(a,f,{leading:S,maxWait:f,trailing:D})}function q2(a){return $0(a,1)}function $2(a,f){return Op(yp(f),a)}function eP(){if(!arguments.length)return[];var a=arguments[0];return $e(a)?a:[a]}function tP(a){return Fr(a,p)}function nP(a,f){return f=typeof f=="function"?f:e,Fr(a,p,f)}function rP(a){return Fr(a,h|p)}function iP(a,f){return f=typeof f=="function"?f:e,Fr(a,h|p,f)}function oP(a,f){return f==null||ZC(a,f,En(f))}function li(a,f){return a===f||a!==a&&f!==f}var sP=Fd(sp),lP=Fd(function(a,f){return a>=f}),Ys=qC((function(){return arguments})())?qC:function(a){return en(a)&&Tt.call(a,"callee")&&!FC.call(a,"callee")},$e=se.isArray,aP=bC?vr(bC):mO;function ur(a){return a!=null&&Gd(a.length)&&!lo(a)}function nn(a){return en(a)&&ur(a)}function cP(a){return a===!0||a===!1||en(a)&&$n(a)==ne}var rs=xL||Yp,uP=wC?vr(wC):AO;function dP(a){return en(a)&&a.nodeType===1&&!Dc(a)}function fP(a){if(a==null)return!0;if(ur(a)&&($e(a)||typeof a=="string"||typeof a.splice=="function"||rs(a)||fa(a)||Ys(a)))return!a.length;var f=Yn(a);if(f==Ce||f==Zt)return!a.size;if(Ic(a))return!cp(a).length;for(var b in a)if(Tt.call(a,b))return!1;return!0}function hP(a,f){return Tc(a,f)}function gP(a,f,b){b=typeof b=="function"?b:e;var S=b?b(a,f):e;return S===e?Tc(a,f,e,b):!!S}function Rp(a){if(!en(a))return!1;var f=$n(a);return f==pe||f==oe||typeof a.message=="string"&&typeof a.name=="string"&&!Dc(a)}function pP(a){return typeof a=="number"&&zC(a)}function lo(a){if(!Qt(a))return!1;var f=$n(a);return f==ke||f==Pe||f==X||f==ut}function sv(a){return typeof a=="number"&&a==rt(a)}function Gd(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ie}function Qt(a){var f=typeof a;return a!=null&&(f=="object"||f=="function")}function en(a){return a!=null&&typeof a=="object"}var lv=CC?vr(CC):bO;function mP(a,f){return a===f||ap(a,f,Ep(f))}function AP(a,f,b){return b=typeof b=="function"?b:e,ap(a,f,Ep(f),b)}function yP(a){return av(a)&&a!=+a}function bP(a){if(nR(a))throw new Xe(o);return $C(a)}function wP(a){return a===null}function CP(a){return a==null}function av(a){return typeof a=="number"||en(a)&&$n(a)==We}function Dc(a){if(!en(a)||$n(a)!=Se)return!1;var f=wd(a);if(f===null)return!0;var b=Tt.call(f,"constructor")&&f.constructor;return typeof b=="function"&&b instanceof b&&md.call(b)==AL}var Pp=vC?vr(vC):wO;function vP(a){return sv(a)&&a>=-ie&&a<=ie}var cv=xC?vr(xC):CO;function Jd(a){return typeof a=="string"||!$e(a)&&en(a)&&$n(a)==Sn}function Sr(a){return typeof a=="symbol"||en(a)&&$n(a)==je}var fa=SC?vr(SC):vO;function xP(a){return a===e}function SP(a){return en(a)&&Yn(a)==dt}function EP(a){return en(a)&&$n(a)==kt}var kP=Fd(up),TP=Fd(function(a,f){return a<=f});function uv(a){if(!a)return[];if(ur(a))return Jd(a)?oi(a):cr(a);if(bc&&a[bc])return oL(a[bc]());var f=Yn(a),b=f==Ce?Xg:f==Zt?hd:ha;return b(a)}function ao(a){if(!a)return a===0?a:0;if(a=Ur(a),a===fe||a===-fe){var f=a<0?-1:1;return f*le}return a===a?a:0}function rt(a){var f=ao(a),b=f%1;return f===f?b?f-b:f:0}function dv(a){return a?Us(rt(a),0,H):0}function Ur(a){if(typeof a=="number")return a;if(Sr(a))return te;if(Qt(a)){var f=typeof a.valueOf=="function"?a.valueOf():a;a=Qt(f)?f+"":f}if(typeof a!="string")return a===0?a:+a;a=IC(a);var b=aD.test(a);return b||uD.test(a)?KD(a.slice(2),b?2:8):lD.test(a)?te:+a}function fv(a){return xi(a,dr(a))}function _P(a){return a?Us(rt(a),-ie,ie):a===0?a:0}function xt(a){return a==null?"":xr(a)}var NP=ca(function(a,f){if(Ic(f)||ur(f)){xi(f,En(f),a);return}for(var b in f)Tt.call(f,b)&&Sc(a,b,f[b])}),hv=ca(function(a,f){xi(f,dr(f),a)}),Qd=ca(function(a,f,b,S){xi(f,dr(f),a,S)}),IP=ca(function(a,f,b,S){xi(f,En(f),a,S)}),MP=oo(rp);function DP(a,f){var b=aa(a);return f==null?b:YC(b,f)}var LP=at(function(a,f){a=Rt(a);var b=-1,S=f.length,D=S>2?f[2]:e;for(D&&er(f[0],f[1],D)&&(S=1);++b<S;)for(var P=f[b],z=dr(P),Z=-1,$=z.length;++Z<$;){var he=z[Z],ge=a[he];(ge===e||li(ge,oa[he])&&!Tt.call(a,he))&&(a[he]=P[he])}return a}),OP=at(function(a){return a.push(e,I0),Cr(gv,e,a)});function RP(a,f){return kC(a,He(f,3),vi)}function PP(a,f){return kC(a,He(f,3),op)}function BP(a,f){return a==null?a:ip(a,He(f,3),dr)}function FP(a,f){return a==null?a:VC(a,He(f,3),dr)}function jP(a,f){return a&&vi(a,He(f,3))}function zP(a,f){return a&&op(a,He(f,3))}function UP(a){return a==null?[]:Id(a,En(a))}function KP(a){return a==null?[]:Id(a,dr(a))}function Bp(a,f,b){var S=a==null?e:Ks(a,f);return S===e?b:S}function WP(a,f){return a!=null&&L0(a,f,fO)}function Fp(a,f){return a!=null&&L0(a,f,hO)}var HP=E0(function(a,f,b){f!=null&&typeof f.toString!="function"&&(f=Ad.call(f)),a[f]=b},zp(fr)),YP=E0(function(a,f,b){f!=null&&typeof f.toString!="function"&&(f=Ad.call(f)),Tt.call(a,f)?a[f].push(b):a[f]=[b]},He),ZP=at(kc);function En(a){return ur(a)?WC(a):cp(a)}function dr(a){return ur(a)?WC(a,!0):xO(a)}function GP(a,f){var b={};return f=He(f,3),vi(a,function(S,D,P){ro(b,f(S,D,P),S)}),b}function JP(a,f){var b={};return f=He(f,3),vi(a,function(S,D,P){ro(b,D,f(S,D,P))}),b}var QP=ca(function(a,f,b){Md(a,f,b)}),gv=ca(function(a,f,b,S){Md(a,f,b,S)}),VP=oo(function(a,f){var b={};if(a==null)return b;var S=!1;f=Gt(f,function(P){return P=ts(P,a),S||(S=P.length>1),P}),xi(a,xp(a),b),S&&(b=Fr(b,h|g|p,HO));for(var D=f.length;D--;)pp(b,f[D]);return b});function XP(a,f){return pv(a,Zd(He(f)))}var qP=oo(function(a,f){return a==null?{}:EO(a,f)});function pv(a,f){if(a==null)return{};var b=Gt(xp(a),function(S){return[S]});return f=He(f),s0(a,b,function(S,D){return f(S,D[0])})}function $P(a,f,b){f=ts(f,a);var S=-1,D=f.length;for(D||(D=1,a=e);++S<D;){var P=a==null?e:a[Si(f[S])];P===e&&(S=D,P=b),a=lo(P)?P.call(a):P}return a}function eB(a,f,b){return a==null?a:_c(a,f,b)}function tB(a,f,b,S){return S=typeof S=="function"?S:e,a==null?a:_c(a,f,b,S)}var mv=_0(En),Av=_0(dr);function nB(a,f,b){var S=$e(a),D=S||rs(a)||fa(a);if(f=He(f,4),b==null){var P=a&&a.constructor;D?b=S?new P:[]:Qt(a)?b=lo(P)?aa(wd(a)):{}:b={}}return(D?Rr:vi)(a,function(z,Z,$){return f(b,z,Z,$)}),b}function rB(a,f){return a==null?!0:pp(a,f)}function iB(a,f,b){return a==null?a:d0(a,f,yp(b))}function oB(a,f,b,S){return S=typeof S=="function"?S:e,a==null?a:d0(a,f,yp(b),S)}function ha(a){return a==null?[]:Vg(a,En(a))}function sB(a){return a==null?[]:Vg(a,dr(a))}function lB(a,f,b){return b===e&&(b=f,f=e),b!==e&&(b=Ur(b),b=b===b?b:0),f!==e&&(f=Ur(f),f=f===f?f:0),Us(Ur(a),f,b)}function aB(a,f,b){return f=ao(f),b===e?(b=f,f=0):b=ao(b),a=Ur(a),gO(a,f,b)}function cB(a,f,b){if(b&&typeof b!="boolean"&&er(a,f,b)&&(f=b=e),b===e&&(typeof f=="boolean"?(b=f,f=e):typeof a=="boolean"&&(b=a,a=e)),a===e&&f===e?(a=0,f=1):(a=ao(a),f===e?(f=a,a=0):f=ao(f)),a>f){var S=a;a=f,f=S}if(b||a%1||f%1){var D=UC();return Hn(a+D*(f-a+UD("1e-"+((D+"").length-1))),f)}return fp(a,f)}var uB=ua(function(a,f,b){return f=f.toLowerCase(),a+(b?yv(f):f)});function yv(a){return jp(xt(a).toLowerCase())}function bv(a){return a=xt(a),a&&a.replace(fD,eL).replace(MD,"")}function dB(a,f,b){a=xt(a),f=xr(f);var S=a.length;b=b===e?S:Us(rt(b),0,S);var D=b;return b-=f.length,b>=0&&a.slice(b,D)==f}function fB(a){return a=xt(a),a&&ZM.test(a)?a.replace(Vw,tL):a}function hB(a){return a=xt(a),a&&qM.test(a)?a.replace(Og,"\\$&"):a}var gB=ua(function(a,f,b){return a+(b?"-":"")+f.toLowerCase()}),pB=ua(function(a,f,b){return a+(b?" ":"")+f.toLowerCase()}),mB=v0("toLowerCase");function AB(a,f,b){a=xt(a),f=rt(f);var S=f?ra(a):0;if(!f||S>=f)return a;var D=(f-S)/2;return Bd(Sd(D),b)+a+Bd(xd(D),b)}function yB(a,f,b){a=xt(a),f=rt(f);var S=f?ra(a):0;return f&&S<f?a+Bd(f-S,b):a}function bB(a,f,b){a=xt(a),f=rt(f);var S=f?ra(a):0;return f&&S<f?Bd(f-S,b)+a:a}function wB(a,f,b){return b||f==null?f=0:f&&(f=+f),TL(xt(a).replace(Rg,""),f||0)}function CB(a,f,b){return(b?er(a,f,b):f===e)?f=1:f=rt(f),hp(xt(a),f)}function vB(){var a=arguments,f=xt(a[0]);return a.length<3?f:f.replace(a[1],a[2])}var xB=ua(function(a,f,b){return a+(b?"_":"")+f.toLowerCase()});function SB(a,f,b){return b&&typeof b!="number"&&er(a,f,b)&&(f=b=e),b=b===e?H:b>>>0,b?(a=xt(a),a&&(typeof f=="string"||f!=null&&!Pp(f))&&(f=xr(f),!f&&na(a))?ns(oi(a),0,b):a.split(f,b)):[]}var EB=ua(function(a,f,b){return a+(b?" ":"")+jp(f)});function kB(a,f,b){return a=xt(a),b=b==null?0:Us(rt(b),0,a.length),f=xr(f),a.slice(b,b+f.length)==f}function TB(a,f,b){var S=O.templateSettings;b&&er(a,f,b)&&(f=e),a=xt(a),f=Qd({},f,S,N0);var D=Qd({},f.imports,S.imports,N0),P=En(D),z=Vg(D,P),Z,$,he=0,ge=f.interpolate||ad,ye="__p += '",_e=qg((f.escape||ad).source+"|"+ge.source+"|"+(ge===Xw?sD:ad).source+"|"+(f.evaluate||ad).source+"|$","g"),Be="//# sourceURL="+(Tt.call(f,"sourceURL")?(f.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++PD+"]")+`
73
- `;a.replace(_e,function(Ze,ft,mt,Er,tr,kr){return mt||(mt=Er),ye+=a.slice(he,kr).replace(hD,nL),ft&&(Z=!0,ye+=`' +
74
- __e(`+ft+`) +
75
- '`),tr&&($=!0,ye+=`';
76
- `+tr+`;
77
- __p += '`),mt&&(ye+=`' +
78
- ((__t = (`+mt+`)) == null ? '' : __t) +
79
- '`),he=kr+Ze.length,Ze}),ye+=`';
80
- `;var Ye=Tt.call(f,"variable")&&f.variable;if(!Ye)ye=`with (obj) {
81
- `+ye+`
82
- }
83
- `;else if(iD.test(Ye))throw new Xe(l);ye=($?ye.replace(KM,""):ye).replace(WM,"$1").replace(HM,"$1;"),ye="function("+(Ye||"obj")+`) {
84
- `+(Ye?"":`obj || (obj = {});
85
- `)+"var __t, __p = ''"+(Z?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
86
- function print() { __p += __j.call(arguments, '') }
87
- `:`;
88
- `)+ye+`return __p
89
- }`;var it=Cv(function(){return vt(P,Be+"return "+ye).apply(e,z)});if(it.source=ye,Rp(it))throw it;return it}function _B(a){return xt(a).toLowerCase()}function NB(a){return xt(a).toUpperCase()}function IB(a,f,b){if(a=xt(a),a&&(b||f===e))return IC(a);if(!a||!(f=xr(f)))return a;var S=oi(a),D=oi(f),P=MC(S,D),z=DC(S,D)+1;return ns(S,P,z).join("")}function MB(a,f,b){if(a=xt(a),a&&(b||f===e))return a.slice(0,OC(a)+1);if(!a||!(f=xr(f)))return a;var S=oi(a),D=DC(S,oi(f))+1;return ns(S,0,D).join("")}function DB(a,f,b){if(a=xt(a),a&&(b||f===e))return a.replace(Rg,"");if(!a||!(f=xr(f)))return a;var S=oi(a),D=MC(S,oi(f));return ns(S,D).join("")}function LB(a,f){var b=R,S=B;if(Qt(f)){var D="separator"in f?f.separator:D;b="length"in f?rt(f.length):b,S="omission"in f?xr(f.omission):S}a=xt(a);var P=a.length;if(na(a)){var z=oi(a);P=z.length}if(b>=P)return a;var Z=b-ra(S);if(Z<1)return S;var $=z?ns(z,0,Z).join(""):a.slice(0,Z);if(D===e)return $+S;if(z&&(Z+=$.length-Z),Pp(D)){if(a.slice(Z).search(D)){var he,ge=$;for(D.global||(D=qg(D.source,xt(qw.exec(D))+"g")),D.lastIndex=0;he=D.exec(ge);)var ye=he.index;$=$.slice(0,ye===e?Z:ye)}}else if(a.indexOf(xr(D),Z)!=Z){var _e=$.lastIndexOf(D);_e>-1&&($=$.slice(0,_e))}return $+S}function OB(a){return a=xt(a),a&&YM.test(a)?a.replace(Qw,cL):a}var RB=ua(function(a,f,b){return a+(b?" ":"")+f.toUpperCase()}),jp=v0("toUpperCase");function wv(a,f,b){return a=xt(a),f=b?e:f,f===e?iL(a)?fL(a):QD(a):a.match(f)||[]}var Cv=at(function(a,f){try{return Cr(a,e,f)}catch(b){return Rp(b)?b:new Xe(b)}}),PB=oo(function(a,f){return Rr(f,function(b){b=Si(b),ro(a,b,Lp(a[b],a))}),a});function BB(a){var f=a==null?0:a.length,b=He();return a=f?Gt(a,function(S){if(typeof S[1]!="function")throw new Pr(s);return[b(S[0]),S[1]]}):[],at(function(S){for(var D=-1;++D<f;){var P=a[D];if(Cr(P[0],this,S))return Cr(P[1],this,S)}})}function FB(a){return cO(Fr(a,h))}function zp(a){return function(){return a}}function jB(a,f){return a==null||a!==a?f:a}var zB=S0(),UB=S0(!0);function fr(a){return a}function Up(a){return e0(typeof a=="function"?a:Fr(a,h))}function KB(a){return n0(Fr(a,h))}function WB(a,f){return r0(a,Fr(f,h))}var HB=at(function(a,f){return function(b){return kc(b,a,f)}}),YB=at(function(a,f){return function(b){return kc(a,b,f)}});function Kp(a,f,b){var S=En(f),D=Id(f,S);b==null&&!(Qt(f)&&(D.length||!S.length))&&(b=f,f=a,a=this,D=Id(f,En(f)));var P=!(Qt(b)&&"chain"in b)||!!b.chain,z=lo(a);return Rr(D,function(Z){var $=f[Z];a[Z]=$,z&&(a.prototype[Z]=function(){var he=this.__chain__;if(P||he){var ge=a(this.__wrapped__),ye=ge.__actions__=cr(this.__actions__);return ye.push({func:$,args:arguments,thisArg:a}),ge.__chain__=he,ge}return $.apply(a,Vo([this.value()],arguments))})}),a}function ZB(){return Fn._===this&&(Fn._=yL),this}function Wp(){}function GB(a){return a=rt(a),at(function(f){return i0(f,a)})}var JB=wp(Gt),QB=wp(EC),VB=wp(Yg);function vv(a){return Tp(a)?Zg(Si(a)):kO(a)}function XB(a){return function(f){return a==null?e:Ks(a,f)}}var qB=k0(),$B=k0(!0);function Hp(){return[]}function Yp(){return!1}function eF(){return{}}function tF(){return""}function nF(){return!0}function rF(a,f){if(a=rt(a),a<1||a>ie)return[];var b=H,S=Hn(a,H);f=He(f),a-=H;for(var D=Qg(S,f);++b<a;)f(b);return D}function iF(a){return $e(a)?Gt(a,Si):Sr(a)?[a]:cr(K0(xt(a)))}function oF(a){var f=++mL;return xt(a)+f}var sF=Pd(function(a,f){return a+f},0),lF=Cp("ceil"),aF=Pd(function(a,f){return a/f},1),cF=Cp("floor");function uF(a){return a&&a.length?Nd(a,fr,sp):e}function dF(a,f){return a&&a.length?Nd(a,He(f,2),sp):e}function fF(a){return _C(a,fr)}function hF(a,f){return _C(a,He(f,2))}function gF(a){return a&&a.length?Nd(a,fr,up):e}function pF(a,f){return a&&a.length?Nd(a,He(f,2),up):e}var mF=Pd(function(a,f){return a*f},1),AF=Cp("round"),yF=Pd(function(a,f){return a-f},0);function bF(a){return a&&a.length?Jg(a,fr):0}function wF(a,f){return a&&a.length?Jg(a,He(f,2)):0}return O.after=K2,O.ary=$0,O.assign=NP,O.assignIn=hv,O.assignInWith=Qd,O.assignWith=IP,O.at=MP,O.before=ev,O.bind=Lp,O.bindAll=PB,O.bindKey=tv,O.castArray=eP,O.chain=V0,O.chunk=cR,O.compact=uR,O.concat=dR,O.cond=BB,O.conforms=FB,O.constant=zp,O.countBy=b2,O.create=DP,O.curry=nv,O.curryRight=rv,O.debounce=iv,O.defaults=LP,O.defaultsDeep=OP,O.defer=W2,O.delay=H2,O.difference=fR,O.differenceBy=hR,O.differenceWith=gR,O.drop=pR,O.dropRight=mR,O.dropRightWhile=AR,O.dropWhile=yR,O.fill=bR,O.filter=C2,O.flatMap=S2,O.flatMapDeep=E2,O.flatMapDepth=k2,O.flatten=Z0,O.flattenDeep=wR,O.flattenDepth=CR,O.flip=Y2,O.flow=zB,O.flowRight=UB,O.fromPairs=vR,O.functions=UP,O.functionsIn=KP,O.groupBy=T2,O.initial=SR,O.intersection=ER,O.intersectionBy=kR,O.intersectionWith=TR,O.invert=HP,O.invertBy=YP,O.invokeMap=N2,O.iteratee=Up,O.keyBy=I2,O.keys=En,O.keysIn=dr,O.map=Wd,O.mapKeys=GP,O.mapValues=JP,O.matches=KB,O.matchesProperty=WB,O.memoize=Yd,O.merge=QP,O.mergeWith=gv,O.method=HB,O.methodOf=YB,O.mixin=Kp,O.negate=Zd,O.nthArg=GB,O.omit=VP,O.omitBy=XP,O.once=Z2,O.orderBy=M2,O.over=JB,O.overArgs=G2,O.overEvery=QB,O.overSome=VB,O.partial=Op,O.partialRight=ov,O.partition=D2,O.pick=qP,O.pickBy=pv,O.property=vv,O.propertyOf=XB,O.pull=MR,O.pullAll=J0,O.pullAllBy=DR,O.pullAllWith=LR,O.pullAt=OR,O.range=qB,O.rangeRight=$B,O.rearg=J2,O.reject=R2,O.remove=RR,O.rest=Q2,O.reverse=Mp,O.sampleSize=B2,O.set=eB,O.setWith=tB,O.shuffle=F2,O.slice=PR,O.sortBy=U2,O.sortedUniq=WR,O.sortedUniqBy=HR,O.split=SB,O.spread=V2,O.tail=YR,O.take=ZR,O.takeRight=GR,O.takeRightWhile=JR,O.takeWhile=QR,O.tap=u2,O.throttle=X2,O.thru=Kd,O.toArray=uv,O.toPairs=mv,O.toPairsIn=Av,O.toPath=iF,O.toPlainObject=fv,O.transform=nB,O.unary=q2,O.union=VR,O.unionBy=XR,O.unionWith=qR,O.uniq=$R,O.uniqBy=e2,O.uniqWith=t2,O.unset=rB,O.unzip=Dp,O.unzipWith=Q0,O.update=iB,O.updateWith=oB,O.values=ha,O.valuesIn=sB,O.without=n2,O.words=wv,O.wrap=$2,O.xor=r2,O.xorBy=i2,O.xorWith=o2,O.zip=s2,O.zipObject=l2,O.zipObjectDeep=a2,O.zipWith=c2,O.entries=mv,O.entriesIn=Av,O.extend=hv,O.extendWith=Qd,Kp(O,O),O.add=sF,O.attempt=Cv,O.camelCase=uB,O.capitalize=yv,O.ceil=lF,O.clamp=lB,O.clone=tP,O.cloneDeep=rP,O.cloneDeepWith=iP,O.cloneWith=nP,O.conformsTo=oP,O.deburr=bv,O.defaultTo=jB,O.divide=aF,O.endsWith=dB,O.eq=li,O.escape=fB,O.escapeRegExp=hB,O.every=w2,O.find=v2,O.findIndex=H0,O.findKey=RP,O.findLast=x2,O.findLastIndex=Y0,O.findLastKey=PP,O.floor=cF,O.forEach=X0,O.forEachRight=q0,O.forIn=BP,O.forInRight=FP,O.forOwn=jP,O.forOwnRight=zP,O.get=Bp,O.gt=sP,O.gte=lP,O.has=WP,O.hasIn=Fp,O.head=G0,O.identity=fr,O.includes=_2,O.indexOf=xR,O.inRange=aB,O.invoke=ZP,O.isArguments=Ys,O.isArray=$e,O.isArrayBuffer=aP,O.isArrayLike=ur,O.isArrayLikeObject=nn,O.isBoolean=cP,O.isBuffer=rs,O.isDate=uP,O.isElement=dP,O.isEmpty=fP,O.isEqual=hP,O.isEqualWith=gP,O.isError=Rp,O.isFinite=pP,O.isFunction=lo,O.isInteger=sv,O.isLength=Gd,O.isMap=lv,O.isMatch=mP,O.isMatchWith=AP,O.isNaN=yP,O.isNative=bP,O.isNil=CP,O.isNull=wP,O.isNumber=av,O.isObject=Qt,O.isObjectLike=en,O.isPlainObject=Dc,O.isRegExp=Pp,O.isSafeInteger=vP,O.isSet=cv,O.isString=Jd,O.isSymbol=Sr,O.isTypedArray=fa,O.isUndefined=xP,O.isWeakMap=SP,O.isWeakSet=EP,O.join=_R,O.kebabCase=gB,O.last=zr,O.lastIndexOf=NR,O.lowerCase=pB,O.lowerFirst=mB,O.lt=kP,O.lte=TP,O.max=uF,O.maxBy=dF,O.mean=fF,O.meanBy=hF,O.min=gF,O.minBy=pF,O.stubArray=Hp,O.stubFalse=Yp,O.stubObject=eF,O.stubString=tF,O.stubTrue=nF,O.multiply=mF,O.nth=IR,O.noConflict=ZB,O.noop=Wp,O.now=Hd,O.pad=AB,O.padEnd=yB,O.padStart=bB,O.parseInt=wB,O.random=cB,O.reduce=L2,O.reduceRight=O2,O.repeat=CB,O.replace=vB,O.result=$P,O.round=AF,O.runInContext=q,O.sample=P2,O.size=j2,O.snakeCase=xB,O.some=z2,O.sortedIndex=BR,O.sortedIndexBy=FR,O.sortedIndexOf=jR,O.sortedLastIndex=zR,O.sortedLastIndexBy=UR,O.sortedLastIndexOf=KR,O.startCase=EB,O.startsWith=kB,O.subtract=yF,O.sum=bF,O.sumBy=wF,O.template=TB,O.times=rF,O.toFinite=ao,O.toInteger=rt,O.toLength=dv,O.toLower=_B,O.toNumber=Ur,O.toSafeInteger=_P,O.toString=xt,O.toUpper=NB,O.trim=IB,O.trimEnd=MB,O.trimStart=DB,O.truncate=LB,O.unescape=OB,O.uniqueId=oF,O.upperCase=RB,O.upperFirst=jp,O.each=X0,O.eachRight=q0,O.first=G0,Kp(O,(function(){var a={};return vi(O,function(f,b){Tt.call(O.prototype,b)||(a[b]=f)}),a})(),{chain:!1}),O.VERSION=r,Rr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){O[a].placeholder=O}),Rr(["drop","take"],function(a,f){gt.prototype[a]=function(b){b=b===e?1:yn(rt(b),0);var S=this.__filtered__&&!f?new gt(this):this.clone();return S.__filtered__?S.__takeCount__=Hn(b,S.__takeCount__):S.__views__.push({size:Hn(b,H),type:a+(S.__dir__<0?"Right":"")}),S},gt.prototype[a+"Right"]=function(b){return this.reverse()[a](b).reverse()}}),Rr(["filter","map","takeWhile"],function(a,f){var b=f+1,S=b==K||b==ue;gt.prototype[a]=function(D){var P=this.clone();return P.__iteratees__.push({iteratee:He(D,3),type:b}),P.__filtered__=P.__filtered__||S,P}}),Rr(["head","last"],function(a,f){var b="take"+(f?"Right":"");gt.prototype[a]=function(){return this[b](1).value()[0]}}),Rr(["initial","tail"],function(a,f){var b="drop"+(f?"":"Right");gt.prototype[a]=function(){return this.__filtered__?new gt(this):this[b](1)}}),gt.prototype.compact=function(){return this.filter(fr)},gt.prototype.find=function(a){return this.filter(a).head()},gt.prototype.findLast=function(a){return this.reverse().find(a)},gt.prototype.invokeMap=at(function(a,f){return typeof a=="function"?new gt(this):this.map(function(b){return kc(b,a,f)})}),gt.prototype.reject=function(a){return this.filter(Zd(He(a)))},gt.prototype.slice=function(a,f){a=rt(a);var b=this;return b.__filtered__&&(a>0||f<0)?new gt(b):(a<0?b=b.takeRight(-a):a&&(b=b.drop(a)),f!==e&&(f=rt(f),b=f<0?b.dropRight(-f):b.take(f-a)),b)},gt.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},gt.prototype.toArray=function(){return this.take(H)},vi(gt.prototype,function(a,f){var b=/^(?:filter|find|map|reject)|While$/.test(f),S=/^(?:head|last)$/.test(f),D=O[S?"take"+(f=="last"?"Right":""):f],P=S||/^find/.test(f);D&&(O.prototype[f]=function(){var z=this.__wrapped__,Z=S?[1]:arguments,$=z instanceof gt,he=Z[0],ge=$||$e(z),ye=function(ft){var mt=D.apply(O,Vo([ft],Z));return S&&_e?mt[0]:mt};ge&&b&&typeof he=="function"&&he.length!=1&&($=ge=!1);var _e=this.__chain__,Be=!!this.__actions__.length,Ye=P&&!_e,it=$&&!Be;if(!P&&ge){z=it?z:new gt(this);var Ze=a.apply(z,Z);return Ze.__actions__.push({func:Kd,args:[ye],thisArg:e}),new Br(Ze,_e)}return Ye&&it?a.apply(this,Z):(Ze=this.thru(ye),Ye?S?Ze.value()[0]:Ze.value():Ze)})}),Rr(["pop","push","shift","sort","splice","unshift"],function(a){var f=gd[a],b=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",S=/^(?:pop|shift)$/.test(a);O.prototype[a]=function(){var D=arguments;if(S&&!this.__chain__){var P=this.value();return f.apply($e(P)?P:[],D)}return this[b](function(z){return f.apply($e(z)?z:[],D)})}}),vi(gt.prototype,function(a,f){var b=O[f];if(b){var S=b.name+"";Tt.call(la,S)||(la[S]=[]),la[S].push({name:f,func:b})}}),la[Rd(e,v).name]=[{name:"wrapper",func:e}],gt.prototype.clone=OL,gt.prototype.reverse=RL,gt.prototype.value=PL,O.prototype.at=d2,O.prototype.chain=f2,O.prototype.commit=h2,O.prototype.next=g2,O.prototype.plant=m2,O.prototype.reverse=A2,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=y2,O.prototype.first=O.prototype.head,bc&&(O.prototype[bc]=p2),O}),ia=hL();Bs?((Bs.exports=ia)._=ia,Ug._=ia):Fn._=ia}).call(uZ)})(Zc,Zc.exports)),Zc.exports}var fZ=dZ();function hZ(n){if(!n)return window;let t=n;for(;t;){if(t===document.body||t===document.documentElement)return window;const r=getComputedStyle(t).overflowY;if((r==="auto"||r==="scroll"||r==="overlay")&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return window}function gZ(n,t){let e=150;const{clientY:r}=n;if(t===window){const i=window.innerHeight;r<e?window.scrollBy(0,Math.max(-15,(r-e)/15)):r>i-e&&window.scrollBy(0,Math.min(15,(r-(i-e))/15))}else{e=100;const i=t.getBoundingClientRect();r<i.top+e?t.scrollTop-=5:r>i.bottom-e&&(t.scrollTop+=5)}}const pZ=fZ.throttle((n,t)=>{n.preventDefault(),gZ(n,t)},16);let bf=null;function mZ(n){return n?n.classList.contains("dsd__theme__table-scrollable-wrapper")?n.firstElementChild:n:null}function AZ(n,t,e){const r=E.useRef(null),i=E.useRef(null),o=E.useRef(!1),s=E.useRef(!1),l=E.useRef({htmlElement:null,lexicalNode:null,isBottom:!1}),c=E.useRef(null),[u,d]=E.useState(null),{disable:h}=E.useContext(Ot),[g,p]=E.useState(!1),[m,y]=E.useState({opened:!1}),[w,v]=E.useState(""),[C,x]=E.useState(null),[_,N]=E.useState(!1),[T,k]=E.useState({left:!1,right:!1}),[M,I]=E.useState(null),{t:R}=pt.useTranslation(),B=wg(W=>{const Q=W.target;s.current||yf(Q)&&(V9(Q)||n.read(()=>{var ne;const re=Q.className.includes("content-editable-wrapper"),ce=re?Re():Fe(Q),{htmlElement:me,lexicalNode:X}=CE(ce,n,{root:!0,"layout-container":!0,"layout-item":!0,callout:!0,"collapsible-content":!0},W);if((X==null?void 0:X.__type)==="callout"||(X==null?void 0:X.__type)==="callout-image"||((ne=X==null?void 0:X.getParent())==null?void 0:ne.__type)==="callout"&&(X==null?void 0:X.getPreviousSibling())===null){d(null);return}if(!(re&&X instanceof wi||re&&!X)&&X!=null&&X.__key){if(X.__type==="layout-container"||X.__type==="layout-item"||X.__type==="collapsible-content"){d(null);return}me&&(l.current.htmlElement=me,l.current.lexicalNode=X),(X==null?void 0:X.__type)==="collapsible-title"&&(l.current.htmlElement=(me==null?void 0:me.parentElement)||me,l.current.lexicalNode=X.getParent()),x(null),d(l.current.htmlElement)}}))},20,50);E.useEffect(()=>()=>{bf=null},[]),E.useEffect(()=>{function W(){s.current||d(null)}function Q(ce){if(!o.current)return!1;const[me]=Ia(ce);if(me)return!1;const{target:X,dataTransfer:ne}=ce,Ae=(ne==null?void 0:ne.getData(XE))||"";n.update(()=>{var Je;let oe=ve(Ae);if(!oe||!(yf(X)||X.closest(".resizable-container")))return!1;const{htmlElement:pe,lexicalNode:ke,isBottom:Pe}=l.current;let Ce=ke,We=null;if(Ce!=null&&Ce.__key&&(We=pe),!We||!Ce)return!1;if(Ce===oe)return!0;if(i.current&&Y9(i.current,n,Ce,oe))return!1;if(oe.__type==="layout-divider"){if(oe=oe.getParent(),ke&&(oe!=null&&oe.isParentOf(ke)))return!1;eM(n,oe)}if(oe.getParent()instanceof Lr&&((Je=oe.getParent())==null?void 0:Je.getChildren().length)===2){const ut=oe.getParent(),lt=ut.getParent();qa(n,ut,lt)}if(pe!=null&&pe.classList.contains("selected-block"))return;let Oe;const Se=n._rootElement;Pe?Oe=Array.from(Se.querySelectorAll(".selected-block")).reverse():Oe=Array.from(Se.querySelectorAll(".selected-block")),Oe.length?Oe.forEach(ut=>{let lt=Fe(ut);Pe?Ce==null||Ce.insertAfter(lt):Ce==null||Ce.insertBefore(lt)}):Pe?Ce.insertAfter(oe):Ce.insertBefore(oe),d(null)})}function re(ce){const{target:me}=ce;yf(me)&&me.className==="ContentEditable__root"&&nk(i.current)}return t==null||t.addEventListener("mousemove",B),t==null||t.addEventListener("drop",Q),t==null||t.addEventListener("mouseleave",W),t==null||t.addEventListener("dragleave",re),()=>{t==null||t.removeEventListener("mousemove",B),t==null||t.addEventListener("drop",Q),t==null||t.removeEventListener("mouseleave",W),t==null||t.removeEventListener("dragleave",re)}},[t,n]),E.useEffect(()=>{if(r.current){if(s.current||m.opened)return;ek(u,r.current,t,m.opened)}},[t,u,s.current,m.opened]),E.useEffect(()=>{function W(Q){var Pe,Ce;const{clientY:re,target:ce,pageX:me}=Q;if(!o.current)return!1;const[X]=Ia(Q);if(X||!yf(ce))return!1;const ne=Fe(ce)||Re(),{htmlElement:Ae,lexicalNode:oe}=CE(ne,n,{root:!0,"layout-container":!0,"layout-item":!0,"callout-wrapper":!0,callout:!0,"collapsible-content":!0,"collapsible-container":!0},Q);if(Q.preventDefault(),(oe==null?void 0:oe.__type)==="callout"||(oe==null?void 0:oe.__type)==="collapsible-content"||tM(c.current,oe==null?void 0:oe.getParent())||(oe==null?void 0:oe.__type)==="layout-item"&&ne.__type!=="root")return!1;Ae&&(l.current.htmlElement=Ae,l.current.lexicalNode=oe);let pe=null;pe=l.current.htmlElement||Ae,pe!=null&&pe.closest(".dsd__theme__layoutContainer")&&ne.__type==="root"&&oe&&((oe==null?void 0:oe.__type)==="layout-item"&&ne.__type==="root"?(pe=pe==null?void 0:pe.parentElement,l.current.htmlElement=pe,l.current.lexicalNode=oe==null?void 0:oe.getParent()):(pe=(Pe=pe.parentElement)==null?void 0:Pe.parentElement,l.current.htmlElement=pe,l.current.lexicalNode=(Ce=oe.getParent())==null?void 0:Ce.getParent()));const ke=i.current;return!pe&&ke?(ke.style.background="transparent",!1):pe===null||ke===null||pe!=null&&pe.classList.contains("selected-block")?!1:(q9(ke,pe,re,me,t,Q,l),!0)}return tt(n.registerCommand(_o,Q=>Q==="hide_menu"?(J9(r.current),setTimeout(()=>{s.current=!0},0),!1):Q==="show_menu"?(s.current=!1,!1):(Q===!0&&!s.current&&d(null),s.current=!1,!1),Ne),n.registerCommand(nI,Q=>((Q==null?void 0:Q.target)instanceof HTMLElement&&r.current instanceof HTMLElement&&(V(Q),ek(Q.target,r.current,t,m.opened)),!1),Ne),n.registerCommand(Ky,Q=>(bf||(bf=hZ(Q.target)),pZ(Q,bf),W(Q)),Ne),n.registerCommand(Cs,()=>(n.dispatchCommand(_o,!0),!1),Ne),n.registerCommand(Hi,()=>(n.dispatchCommand(_o,!0),!1),Ne))},[t,n]);function U(W){var X;const Q=W.dataTransfer;(X=i.current)==null||X.setAttribute("data-index-start","");const re=u||l.current.htmlElement;if(!Q||!re)return;const ce=n._rootElement;if(re!=null&&re.classList.contains("selected-block")){const ne=n._rootElement,Ae=Array.from(ne.querySelectorAll(".selected-block"));X9(W.dataTransfer,Ae)}else Nm(ce),re.className.includes("_layoutDivider")&&re.parentElement?tk(Q,re.parentElement):tk(Q,re);let me="";n.read(()=>{var Ae,oe;const ne=Fe(re);if(ne&&(me=ne.getKey()),ne instanceof wi){const pe=Du((Ae=re.parentElement)==null?void 0:Ae.parentElement,re.parentElement);(oe=i.current)==null||oe.setAttribute("data-index-start",pe.toString())}}),r.current&&(p(!0),r.current.style.opacity="0"),o.current=!0,c.current=me,Q.setData(XE,me)}function j(){o.current=!1,nk(i.current),p(!1)}if(h)return A.jsx("div",{});function K(){var re;const W=l.current.htmlElement,Q=(re=W==null?void 0:W.parentElement)==null?void 0:re.parentElement;if(Q!=null&&Q.classList.contains("dsd__theme__layoutContainer")&&(Q.children.length===4?N(!0):N(!1),W!=null&&W.parentElement)){const ce=Du(Q,W==null?void 0:W.parentElement);ce?ce===Q.children.length-1?k({left:!1,right:!0}):k({left:!1,right:!1}):k({left:!0,right:!1})}}function V(W){s.current=!0;const Q=mZ((W==null?void 0:W.target)??l.current.htmlElement);if(!Q)return;const re=n._rootElement;K(),Q.classList.contains("selected-block")||Nm(re),n.update(()=>{const me=J(),ne=((me==null?void 0:me.getNodes())??[]).filter(Oe=>!ae(Oe)&&Oe.__parent==="root"),Ae=ne.map(Oe=>{const Se=n.getElementByKey(Oe.getKey());return Oe.getType()==="table"?Se==null?void 0:Se.firstElementChild:Se}).filter(Oe=>Oe!==null),oe=ne.length&&Ae.includes(Q)?Ae:[Q];if(oe.length===1){const Oe=Fe(Q);if(!Oe)return;Oe.selectStart(),I(Oe)}else I(null);const pe=document.querySelector(".selected-all-document"),ke=!!pe;ke||oe.forEach(Oe=>{ew(n,{block:Oe,isCreateEventListener:!1})});const Ce=Array.from(ke?pe.children:document.querySelectorAll(".selected-block")).reduce((Oe,Se)=>{const Je=Fe(Se);return Je&&Oe.push(Je),Oe},[]),We=Ce.length>0&&Ce.every(Oe=>Bo(Oe)||Ct(Oe)||Mr(Oe)?!1:G(Oe)||ae(Oe));v(We?"text":"block")}),dM();const ce=Number(W==null?void 0:W.y)+240>window.innerHeight?Number(W==null?void 0:W.y)-200:W==null?void 0:W.y;y({opened:!0,x:(W==null?void 0:W.x)??0,y:ce??0}),n.dispatchCommand($A,!0)}const ue=()=>{n.update(()=>{const W=zt();if(s.current=!1,y(Q=>({opened:!1,x:Q.x,y:Q.y})),(W==null?void 0:W.__key)==="root"){const Q=Ee();W.append(Q)}})},fe=e?"hide-add-button":"",ie=m.x!==0?{position:"fixed",top:0,left:0,transform:`translate(${m.x}px, ${m.y}px)`}:{},le=()=>{var W;ue(),fM(),KN(n),Nm(n._rootElement),(W=n._rootElement)==null||W.classList.remove("selected-all-document")},te=(W=!1)=>{W?n.update(()=>{const Q=J();let re=null,ce=null;Y(Q)&&(ce=Q.anchor.getNode(),re=ce.getParent()),le(),setTimeout(()=>{n.update(()=>{(re==null?void 0:re.__type)==="root"?ce==null||ce.selectEnd():re==null||re.selectEnd()})},100)}):setTimeout(()=>{le()},100)},H=E.useCallback(W=>{const Q=document.querySelector(".draggable-menu");if(!m&&W.button!==2)return;const re=W.target;if(re.closest(".mantine-Menu-dropdown"))return;!((Q==null?void 0:Q.contains(re))&&re.closest("div.custom-menu-item"))&&W.button!==2&&m.opened&&(W.stopPropagation(),W.preventDefault())},[n,m]);return E.useEffect(()=>(m.opened?document.addEventListener("mousedown",H):document.removeEventListener("mousedown",H),()=>{document.removeEventListener("mousedown",H)}),[m.opened,H]),yr.createPortal(A.jsxs(A.Fragment,{children:[A.jsxs("div",{className:`draggable-block-container ${fe} ${u?"visible":""}`,ref:r,onMouseEnter:()=>{var W;m||x("both"),(W=r.current)!=null&&W.style&&(r.current.style.opacity="1")},onMouseLeave:()=>{x(null)},children:[A.jsx(oZ,{hoveredButton:C,insertNewParagraph:$E,currentDraggableBlockRef:l,setHoveredButton:x,isClickedBlockRef:s,setDraggableBlockElem:d,editor:n,t:R}),A.jsxs(L.Menu,{onOpen:V,opened:m.opened,styles:{dropdown:ie},position:"left-start",width:320,shadow:"md",withinPortal:!0,onClose:()=>{te()},transitionProps:$i,children:[A.jsx(L.Menu.Target,{children:A.jsx("div",{className:"icon draggable-block-menu",draggable:!0,onDragStart:U,onDragEnd:j,children:A.jsx(L.Tooltip,{openDelay:300,multiline:!0,disabled:g||s.current,label:A.jsxs(A.Fragment,{children:[A.jsxs("span",{children:[A.jsx("strong",{children:R("editor.hoverOptions.drag")}),","," ",R("editor.hoverOptions.dragAction")]}),A.jsx("br",{}),A.jsxs("span",{children:[A.jsx("strong",{children:R("editor.hoverOptions.click")}),","," ",R("editor.hoverOptions.clickAction")]})]}),position:"bottom-start",children:A.jsx(L.ActionIcon,{radius:"sm",color:"gray",size:"sm",variant:"subtle","aria-label":"Settings",children:A.jsx(ee.IconGripVertical,{size:20})})})})}),A.jsx(iZ,{hoveredButton:C,insertNewParagraph:$E,currentDraggableBlockRef:l,setHoveredButton:x,isClickedBlockRef:s,setDraggableBlockElem:d,editor:n,t:R}),A.jsx(L.Menu.Dropdown,{className:"draggable-menu",children:A.jsx(cZ,{onChange:()=>{te(!0),bh(n)},t:R,textBlock:w,currentEditorNode:M,editor:n,isDisabledAddColumnButton:_,disabledMoveColumnButtons:T})})]})]}),A.jsx("div",{className:"draggable-block-target-line",ref:i})]}),t)}function yZ({anchorElem:n=document.body,isShowAddButton:t=!1}){const[e]=Me();return AZ(e,n,t)}const pM=/(^|\s):([a-z0-9_+-]+)$/i,bZ=/(^|\s)(:\)|:-\)|:d|:-d|;\)|;-\)|:\(|:-\(|:\*|<3)$/i,wZ=/(^|\s):$/,CZ=new Set(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","PageUp","PageDown","Escape","Enter","Tab"]);function vZ(n,t){return{leadOffset:t.index+t[1].length,matchingString:"",replaceableString:":"}}const xZ=n=>CZ.has(n),SZ=n=>n.key.length===1&&!n.ctrlKey&&!n.metaKey&&!n.altKey&&!n.isComposing;function EZ(n,t){if(t<=0)return{activate:!1,colonAt:-1,expectAt:-1};const e=n[t-1]??"",r=n[t-2]??"",i=t-2<0;return e===":"&&(i||/\s/.test(r))?{activate:!0,colonAt:t-1,expectAt:t}:{activate:!1,colonAt:-1,expectAt:-1}}function yk(n,t){const e=t.index+t[1].length,r=t[0].slice(t[1].length),i=t===n.match(pM)?t[2]??"":r;return{leadOffset:e,matchingString:i,replaceableString:r}}function kZ(){const[n]=Me(),{t}=pt.useTranslation(),[e,r]=E.useState(!1),[i,o]=E.useState({top:0,left:0}),s=E.useRef(""),l=E.useRef({key:null,offset:null}),c=E.useRef({nodeKey:null,colonOffset:null,expectNextAt:null,active:!1,ts:0}),u=h=>{if(!c.current.active||h.length<1)return null;const g=h.match(wZ);if(g)return vZ(h,g);const p=h.match(pM);if(p)return yk(h,p);const m=h.match(bZ);return m?yk(h,m):null};E.useEffect(()=>n.registerCommand(rI,()=>(n.update(()=>{let h=J();if(!Y(h)&&(Re().selectEnd(),h=J(),!Y(h)))return!1;let g=h.anchor.getNode();if(G(g)){const N=yt("");g.append(N),N.select(),g=N}const p=h.anchor.getNode();if(!Wn(p))return;const m=p.getTextContent(),y=h.anchor.offset,w=y>0?m[y-1]:"",C=(y>0&&!/\s/.test(w)?" ":"")+":",x=m.slice(0,y)+C+m.slice(y);p.setTextContent(x);const _=y+C.length;h.anchor.set(p.getKey(),_,"text"),h.focus.set(p.getKey(),_,"text"),c.current={nodeKey:p.getKey(),colonOffset:_-1,expectNextAt:_,active:!0,ts:Date.now()},s.current=":",e&&r(!1)}),!1),Ne),[n,e]),E.useEffect(()=>n.registerUpdateListener(({editorState:h})=>{h.read(()=>{const g=J();if(Y(g)&&g.isCollapsed()?l.current={key:g.anchor.getNode().getKey(),offset:g.anchor.offset}:l.current={key:null,offset:null},!e&&!c.current.active)return;if(!Y(g)||!g.isCollapsed()){e&&r(!1),c.current.active=!1;return}const p=g.anchor.getNode().getKey(),m=g.anchor.offset,y=l.current;y.key!==null&&(p!==y.key||y.offset!==null&&Math.abs(m-y.offset)>1)&&(e&&r(!1),c.current.active=!1)})}),[n,e]),E.useEffect(()=>n.registerCommand(jo,()=>(e&&r(!1),c.current.active=!1,!1),Ne),[n,e]),E.useEffect(()=>n.registerCommand(Pl,h=>xZ(h.key)?(h.key==="Escape"&&e&&r(!1),c.current.active=!1,!1):(SZ(h)&&n.getEditorState().read(()=>{const g=J();if(!Y(g)||!g.isCollapsed()){c.current.active=!1;return}const p=g.anchor.getNode(),m=p.getKey(),y=g.anchor.offset;if(h.key===":"){c.current={nodeKey:m,colonOffset:y,expectNextAt:y+1,active:!1,ts:Date.now()};return}const w=typeof(p==null?void 0:p.getTextContent)=="function"?p.getTextContent():"",{activate:v,colonAt:C,expectAt:x}=EZ(w,y);if(v){c.current={nodeKey:m,colonOffset:C,expectNextAt:x,active:!0,ts:Date.now()};return}c.current.active&&c.current.nodeKey===m||(c.current.active=!1)}),!1),Ne),[n,e]);const d=E.useCallback(h=>{n.update(()=>{const g=J();if(!Y(g)||!g.isCollapsed())return;const p=g.anchor.getNode(),m=g.anchor.offset,w=(U=>typeof(U==null?void 0:U.getTextContent)=="function"?U.getTextContent():"")(p),v=Math.max(0,m-1);let C=c.current.active&&c.current.colonOffset!=null?c.current.colonOffset:-1;if(C===-1){const U=w.lastIndexOf(":",v),j=w.lastIndexOf(";",v),K=w.lastIndexOf("<",v);C=Math.max(U,j,K)}if(C===-1)return;const x=w[C],_=C>0?w[C-1]:null;if(_&&!/\s/.test(_))return;const N=w.slice(C),T=/^(?:\:\)|\:\-\)|\:d|\:\-d|\;\)|\;\-\)|\:\(|\:\-\(|\:\*|<3)/i;let k=C,M=null;const I=N.match(T);if(I)M=C+I[0].length;else if(x===":"){const U=K=>/[a-z0-9_+\-]/i.test(K);let j=C+1;for(;j<w.length&&U(w[j]);)j++;j===C+1?M=C+1:M=j}else if(x===";"){const U=N.match(/^(?:\;\)|\;\-\))/);if(U)M=C+U[0].length;else return}else if(x==="<"){const U=N.match(/^(?:<3)/);if(U)M=C+U[0].length;else return}if(M==null)return;const R=w.slice(0,k)+h+w.slice(M);p.setTextContent(R);const B=k+h.length;g.anchor.set(p.getKey(),B,"text"),g.focus.set(p.getKey(),B,"text"),e&&r(!1),c.current.active=!1})},[n,e]);return A.jsx(iM,{onSelectOption:()=>{},triggerFn:u,onQueryChange:h=>{s.current=h},options:[],onClose:()=>{e&&r(!1),c.current.active=!1},onOpen:()=>{c.current.active&&n.update(()=>{const h=zt();if(!h)return;const g=n.getElementByKey(h.getKey());g&&requestAnimationFrame(()=>{const p=g.getBoundingClientRect();o({top:p.bottom,left:p.left}),r(!0)})})},menuRenderFn:()=>A.jsx(L.Portal,{target:document.body,children:e&&A.jsx("div",{style:{position:"fixed",top:`${i.top}px`,left:`${i.left}px`,zIndex:1e4},children:A.jsx(jt.EmojiPicker,{onChange:h=>{var g;d(((g=jt.IconEntity.parse(h))==null?void 0:g.emoji)+" ")},querySearch:String(s.current)||"",locales:{emojis:t("editor.emoji.emojis"),search:t("editor.emoji.search"),searchResults:t("editor.emoji.searchResults"),searchNoResults:t("editor.emoji.searchNoResults"),remove:t("editor.emoji.remove"),emojiCategory:{frequent:t("editor.emoji.emojiCategory.frequent"),people:t("editor.emoji.emojiCategory.people"),nature:t("editor.emoji.emojiCategory.nature"),foods:t("editor.emoji.emojiCategory.foods"),activity:t("editor.emoji.emojiCategory.activity"),places:t("editor.emoji.emojiCategory.places"),objects:t("editor.emoji.emojiCategory.objects"),symbols:t("editor.emoji.emojiCategory.symbols"),flags:t("editor.emoji.emojiCategory.flags")}},popoverProps:{opened:e,transitionProps:$i,withinPortal:!0,onClose:()=>{e&&r(!1),c.current.active=!1}},children:A.jsx(A.Fragment,{})})})})})}const mM=we("INSERT_CODE_COMMAND"),TZ=()=>{var l;const n=J(),t=n.anchor,e=n.focus,r=t.getNode(),i=e.getNode(),o=(l=r.getParent())==null?void 0:l.getIndexWithinParent();return(i instanceof Dr||i.getParent()instanceof Dr)&&(o===0||o||-1)&&t.key!==e.key?(n.removeText(),!0):!1};function _Z(){const[n]=Me();return E.useEffect(()=>tt(n.registerCommand(mM,()=>(n.update(()=>{const t=zt(),e=Re();if(t){const r=hI().append(Ro(t.getTextContent()||""));t.replace(r),e.getChildrenSize()===1&&r.insertAfter(Ee())}}),!0),Ne),n.registerCommand(Pl,t=>{const e=J();let r=null;if(t.shiftKey&&t.code==="Enter"&&Y(e)&&(So(e.anchor.getNode())?r=e.anchor.getNode():Jt(e.anchor.getNode())&&(r=e.anchor.getNode().getParent()),r)){const i=n.registerCommand(ol,()=>(i(),!0),Ai);return n.update(()=>{const o=r==null?void 0:r.getNextSibling();o instanceof Wo&&!o.getTextContent()?o==null||o.selectStart():r.insertAfter(Ee()).selectStart()}),!0}return!1},0),n.registerCommand(Fl,t=>{var c;if(!(t!=null&&t.target)||!(t!=null&&t.clipboardData))return!1;t.preventDefault();const e=J(),i=ug(e)["text/plain"],o=Object.values(t.target)[0],s=(c=ve(o))==null?void 0:c.getParent(),l=(s==null?void 0:s.getTextContent())===i;if(So(s)&&l){const u=`<pre data-highlight-language="${s.__language}" data-language="${s.__language}" data-collapsed="${s.__isCollapsed}"><code>${s.getTextContent()}</code></pre>`;return t.clipboardData.setData("text/html",u),!0}return!1},Ne)),[n]),null}function ja(n){const t=n.anchor,e=n.focus,r=n.anchor.getNode(),i=n.focus.getNode();return r===i?r:n.isBackward()?wx(e)?r:i:wx(t)?r:i}const NZ=new Set(["http:","https:","mailto:","sms:","tel:"]);function rl(n){try{const t=new URL(n);if(!NZ.has(t.protocol))return"about:blank"}catch{return n}return n}const bk={PASTE:"paste",SPACE:"space"};function IZ(n,t){n.update(()=>{const e=window.getSelection();if(e&&e.rangeCount>0){const r=e.getRangeAt(0),i=r.startOffset,o=Math.max(0,i-t);r.setStart(r.startContainer,o),e.removeAllRanges(),e.addRange(r)}})}function MZ({onChange:n}){const[t]=Me(),e=E.useRef(null),r=E.useRef(""),i=E.useRef(!1),o=s=>{const l=/^(https?:\/\/)?[\w-]+(\.[\w-]+)+/,c=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return l.test(s)||c.test(s)};return E.useEffect(()=>t.registerCommand(jy,()=>(t.update(()=>{const s=J();if(!Y(s))return!1;const l=s.anchor,c=l.getNode();if(ae(c)){const u=c.getTextContent().substring(0,l.offset),d=u.match(/(\S+)$/);if(d){const h=d[1],g=u.lastIndexOf(h),p=g>0?u[g-1]:"";if((p===""||p===" ")&&o(h)){n(h,bk.SPACE);const m=As(h,{rel:"noopener noreferrer",target:"_blank"}),y=yt(h);m.append(y);const w=g,v=w+h.length;s.anchor.set(c.__key,w,"text"),s.focus.set(c.__key,v,"text"),s.insertNodes([m]);const C=J();Y(C)&&(C.anchor.set(m.getKey(),h.length,"element"),C.focus.set(m.getKey(),h.length,"element")),m.selectEnd()}}}}),!1),bn),[t,n]),E.useEffect(()=>{const s=c=>{var d,h;const u=((d=c.clipboardData)==null?void 0:d.getData("text"))||((h=c.clipboardData)==null?void 0:h.getData("text/plain"));u&&o(u)&&(i.current=!0,setTimeout(()=>{n(u,bk.PASTE),IZ(t,u.length),t.dispatchCommand(ys,rl(u)),t.update(()=>{const g=zt();J()&&Ve(null),g==null||g.selectEnd()}),r.current=u,i.current=!1},10))},l=t.getRootElement();if(l)return l.addEventListener("paste",s),()=>{l.removeEventListener("paste",s),e.current&&clearTimeout(e.current)}},[t]),null}function DZ({onChange:n}){return A.jsx(MZ,{onChange:n})}function LZ({editor:n,anchorElem:t,showTextToolbar:e,updateLink:r}){const i=E.useRef(null),o=E.useRef(!1),s=E.useRef(null),l=E.useRef(null),c=E.useRef(null),[u,d]=E.useState(""),[h,g]=E.useState(""),[p,m]=E.useState(!0),[y,w]=E.useState(!1),[v,C]=E.useState(!1),[x,_]=E.useState("delete"),[N,T]=E.useState({top:0,left:0}),{t:k}=pt.useTranslation(),M=()=>{setTimeout(()=>{o.current=!1,_("delete"),d(""),w(!1),C(!1),T({top:0,left:-999}),c.current=null,s.current=null,Dl(!1,document.documentElement)})},I=za.useClickOutside(()=>{M()}),R=E.useCallback(te=>{const H=J();if(te==="create"&&(_("create"),o.current=!0),Y(H)){const Q=ja(H),re=Te(Q,Nn);c.current={anchorKey:H.anchor.key,anchorOffset:H.anchor.offset,anchorType:H.anchor.type,focusKey:H.focus.key,focusOffset:H.focus.offset,focusType:H.focus.type},re?d(re.getURL()):Nn(Q)?d(Q.getURL()):d("https://")}const W=window.getSelection();if(W&&H&&W.rangeCount>0){const re=W.getRangeAt(0).getBoundingClientRect();T({top:re.y,left:re.x})}return C(!0),!0},[t,n,x,u]),B=E.useCallback(fs.debounce(te=>{if(!te||!te.closest(".doc-space-editor-wrapper")||o.current)return;const W=te.closest(".dsd__theme__link");if(W){const Q=n.getRootElement();if(!(Q!=null&&Q.contains(W)))return;const re=W.getAttribute("href"),ce=W.getBoundingClientRect();T({top:ce.y,left:ce.x+ce.width/2}),d(re??""),C(!0),s.current=W}else M(),T({top:0,left:0})},300),[]);r.current&&(r.current.updateLinkEditor=()=>{const te=window.getSelection();if(te&&te.rangeCount>0){const W=te.getRangeAt(0).startContainer.parentElement;o.current=!1,B(W),setTimeout(()=>{o.current=!0,_("edit")},300)}}),E.useEffect(()=>{const te=fs.debounce(H=>{if(e.current)return;const W=H.target;W instanceof HTMLElement&&B(W)},150);return document.body.addEventListener("mouseover",te),()=>{document.body.removeEventListener("mouseover",te),te.cancel()}},[B]),E.useEffect(()=>{const te=fs.debounce(H=>{const W=H.target;if(!(W instanceof HTMLElement))return;const Q=W.closest(".doc-space-editor-wrapper"),re=W.closest('[data-portal="true"]');!Q&&!re&&(M(),T({top:0,left:0}))},150);return document.addEventListener("mousemove",te),()=>{document.removeEventListener("mousemove",te),te.cancel()}},[]),E.useEffect(()=>tt(n.registerCommand(hw,te=>(R(te),!0),Ne)),[n]),E.useEffect(()=>{setTimeout(()=>{x&&i.current&&(i.current.focus(),setTimeout(()=>{i.current&&i.current.select()}),n.read(()=>{const te=J();if(Y(te)){l.current=zt();const H=ja(te);Te(H,Nn)&&H&&g(H.getTextContent())}}))})},[x]);const U=te=>{te.key==="Enter"?(te.preventDefault(),V()):te.key==="Escape"&&te.preventDefault()},j=te=>{try{const H=new URL(te);return["http:","https:"].includes(H.protocol)}catch{return!1}},K=()=>{let te=J();if(Y(te))return!0;const H=c.current;if(H){const Q=ve(H.anchorKey),re=ve(H.focusKey);if(Q&&re){const ce=zo();return ce.anchor.set(H.anchorKey,H.anchorOffset,H.anchorType),ce.focus.set(H.focusKey,H.focusOffset,H.focusType),Ve(ce),!0}}const W=l.current;if(!W)return!1;if(ae(W))return W.select(0,W.getTextContentSize()),!0;if(G(W)){const Q=W.getFirstDescendant();if(ae(Q))return Q.select(0,Q.getTextContentSize()),!0}return!1},V=()=>{if(j(u)&&u)w(!1);else{w(!0);return}n.update(()=>{if(!K())return;const te=J();if(!Y(te))return;const H=ja(te),W=H?H.getParent():null,Q=(tl(H)?H:null)??(tl(W)?W:null);if(!Q)n.dispatchCommand(ys,rl(u)),x==="edit"&&H&&Wn(H)&&(H.setTextContent(h),H.selectEnd());else{const re=yt(h),ce=Q.getParent();ce&&(Q.remove(),ce.append(re),n.dispatchCommand(ys,rl(u)),re.selectEnd())}}),setTimeout(()=>{M()})},ue=(te=!1)=>{var H;if(s.current){const W=s.current;if(W!=null&&W.childNodes){const Q=document.createRange(),re=window.getSelection();Q.setStart(W,Number(te)),Q.collapse(!0),re&&(re.removeAllRanges(),re.addRange(Q))}return(H=W.textContent)==null?void 0:H.length}};function fe(te){const H=document.createRange(),W=window.getSelection();if(W&&W.rangeCount>0){const Q=W.getRangeAt(0);let re=Q.startContainer,ce=Q.startOffset,me=ce+te;if(re.nodeType===Node.TEXT_NODE){const X=re.length;me=Math.min(me,X),H.setStart(re,me),H.setEnd(re,me)}else{const X=re.childNodes[ce];if(X&&X.nodeType===Node.TEXT_NODE){const ne=X.length;me=Math.min(te,ne),H.setStart(X,me),H.setEnd(X,me)}}H.collapse(!0),W.removeAllRanges(),W.addRange(H)}}async function ie(te){try{m(!1),await navigator.clipboard.writeText(te),setTimeout(()=>{m(!0)},300)}catch(H){console.error("Failed to copy text: ",H)}}const le=x==="edit";return A.jsx(A.Fragment,{children:A.jsxs(L.Popover,{width:320,opened:v,position:"bottom",offset:10,transitionProps:$i,withArrow:!0,zIndex:999,children:[A.jsx(L.Popover.Target,{children:A.jsx("div",{style:{position:"fixed",left:N.left,top:N.top+8,width:10,height:10,background:"transparent"}})}),A.jsx(L.Popover.Dropdown,{px:0,py:"xs","data-test-id":"floating-link-dropdown",children:A.jsx("div",{ref:I,children:x!=="delete"?A.jsx(A.Fragment,{children:A.jsxs(L.Stack,{w:"100%",align:"left",gap:0,children:[le&&A.jsx(L.Input.Wrapper,{label:k("editor.link.linkName"),px:"4",children:A.jsx(L.Input,{ref:i,value:h,error:y,size:"sm",leftSection:A.jsx(ee.IconCursorText,{size:16}),"data-test-id":"floating-link-text-input",onChange:te=>{g(te.target.value)},onKeyDown:te=>{U(te)}})}),A.jsx(L.Input.Wrapper,{label:le?k("editor.link.link"):"",error:y&&k("editor.form.url"),px:"4",mb:3,children:A.jsx(L.Input,{ref:le?null:i,value:u,error:y,type:"url",size:"sm",leftSection:A.jsx(ee.IconLink,{size:16}),"data-test-id":"floating-link-url-input",onChange:te=>{const H=j(te.target.value);y&&H&&w(!1),y&&!H&&w(!0),d(te.target.value)},onKeyDown:te=>{U(te)}})}),A.jsx(L.Button,{tabIndex:0,onMouseDown:te=>te.preventDefault(),onClick:V,leftSection:A.jsx(ee.IconCheck,{size:16}),justify:"left",size:"sm",color:"#000",variant:"default",style:{border:0},"data-test-id":"floating-link-save",children:k("editor.link.save")})]})}):A.jsxs(L.Stack,{gap:0,children:[A.jsxs(L.Group,{wrap:"nowrap",pl:"sm",gap:"xs",children:[A.jsx(xe,{name:"link"}),A.jsx(L.Tooltip,{label:u,zIndex:1e3,openDelay:500,children:A.jsx(L.Anchor,{href:rl(u),target:"_blank",rel:"noopener noreferrer",truncate:!0,w:300,children:u})})]}),A.jsx(L.Button,{tabIndex:0,onMouseDown:te=>te.preventDefault(),onClick:()=>{setTimeout(()=>{ue(),_("edit"),Dl(!0,document.documentElement),o.current=!0},100)},leftSection:A.jsx(xe,{name:"pencil"}),justify:"left",size:"sm",color:"#000",style:{border:0},variant:"default","data-test-id":"floating-link-edit",children:k("editor.link.edit")}),A.jsx(L.Button,{tabIndex:0,onMouseDown:te=>te.preventDefault(),onClick:()=>{ie(rl(u)||"")},leftSection:A.jsx(xe,{size:16,name:p?"copy":"check-mark"}),justify:"left",size:"sm",color:"#000",variant:"default",style:{border:0},"data-test-id":"floating-link-copy",children:k("editor.link.copy")}),A.jsx(L.Button,{tabIndex:0,onMouseDown:te=>te.preventDefault(),onClick:()=>{const te=ue()||0;setTimeout(()=>{n.dispatchCommand(ys,null),M(),setTimeout(()=>{fe(te)})})},leftSection:A.jsx(xe,{size:16,name:"trash",color:"red"}),justify:"left",size:"sm",color:"#000",variant:"default",style:{border:0},"data-test-id":"floating-link-remove",children:k("editor.link.remove")})]})})})]})})}function OZ(n,t,e){const[r,i]=E.useState(n),o=E.useRef({updateLinkEditor:()=>{}}),s=fs.debounce(()=>{n.update(()=>{o.current.updateLinkEditor()})},200);return A.jsxs(A.Fragment,{children:[A.jsx(DZ,{onChange:(...l)=>{l[1]==="paste"&&s()}}),yr.createPortal(A.jsx(LZ,{editor:r,anchorElem:t,showTextToolbar:e,updateLink:o}),document.body)]})}function RZ({anchorElem:n=document.body,showTextToolbar:t}){const[e]=Me();return OZ(e,n,t)}function PZ(n,t){const e=n.getRangeAt(0);let r;if(n.anchorNode===t){let i=t;for(;i.firstElementChild!=null;)i=i.firstElementChild;r=i.getBoundingClientRect()}else r=e.getBoundingClientRect();return r}const wk=()=>{var e;const n=(e=window.getSelection())==null?void 0:e.toString().trim();return n==null?void 0:n.replace(/\s+/g,"")},BZ=10,FZ=5;function jc(n,t,e,r=!1,i=BZ,o=FZ){const s=e.parentElement,l=document.querySelector(".ai-editor-menu");if(n===null||!s||l){t.style.opacity="0",t.style.transform="translate(-10000px, -10000px)",fM();return}const c=t.getBoundingClientRect(),u=s.getBoundingClientRect();let d=n.top-c.height-i;d<0&&(d=10);let h=n.left-o;if(d<u.top&&(d+=c.height+n.height+i*2),h+c.width>u.right&&(h=u.right-c.width-o),n.bottom-n.height>u.bottom){t.style.transform="translate(-1000px, -1000px)";return}if(n.bottom+n.height<u.top){t.style.transform="translate(-1000px, -1000px)";return}let g=d;c.top>=u.bottom&&(g=u.bottom),t.style.transform=`translate(${h}px, ${g}px)`,t.style.opacity="1",dM()}function jZ({editor:n,anchorElem:t,isLink:e,isBold:r,isItalic:i,isUnderline:o,isCode:s,isStrikethrough:l,isSubscript:c,isSuperscript:u,component:d,isText:h}){const g=E.useRef(null),p=E.useRef(!1),m=E.useRef(null),y=E.useCallback(()=>{n.dispatchCommand(hw,"create")},[n,e]);function w(){var C,x;g.current&&(p.current=!0,jc(((C=m.current)==null?void 0:C.rect)||null,g==null?void 0:g.current,t,(x=m.current)==null?void 0:x.isLink))}E.useEffect(()=>{const C=wk();if(!h&&!(C!=null&&C.length)){let x=function(k){return k instanceof HTMLElement};const _=g.current,N=window.getSelection();let T=!1;N!=null&&N.anchorNode&&x(N.anchorNode)&&N.anchorNode.className==="toolbar"&&(T=!0),_&&!T&&(m.current={rect:null,floatingElem:_,anchorElem:t,isLink:e},jc(null,_,t,e),p.current=!1)}},[h,n]),E.useEffect(()=>{if(g!=null&&g.current)return document.addEventListener("mouseup",w),()=>{document.removeEventListener("mouseup",w)}},[g]),E.useEffect(()=>{n.registerCommand(Pl,C=>{var x;return(C.metaKey||C.ctrlKey)&&C.code==="KeyA"?(C.preventDefault(),eH(n),zt(!0)&&(nH()&&(g!=null&&g.current)?(jc(null,g==null?void 0:g.current,t,(x=m.current)==null?void 0:x.isLink),r1(),ew(n)):setTimeout(()=>{w()})),!0):!1},Ne),n.registerCommand($A,()=>(setTimeout(()=>{var C;g!=null&&g.current&&jc(null,g==null?void 0:g.current,t,(C=m.current)==null?void 0:C.isLink)},100),!1),Ne)},[n]);const v=E.useCallback(()=>{const C=J(),x=g.current,_=window.getSelection();if(x===null)return;const N=n.getRootElement();let T=!1;const k=wk();if(k&&k.length>0&&(T=!0),C!==null&&_!==null&&!_.isCollapsed&&N!==null&&N.contains(_.anchorNode)&&T){const M=PZ(_,N);if(m.current={rect:M,floatingElem:x,anchorElem:t,isLink:e},Y(C)){const R=ja(C).getParent(),B=R==null?void 0:R.getFormatType();p.current&&B&&g&&n.registerCommand($A,U=>(U||setTimeout(()=>{var j,K;jc(((j=m.current)==null?void 0:j.rect)||null,x,t,(K=m.current)==null?void 0:K.isLink)},100),!1),Ne)}}else m.current={rect:null,floatingElem:x,anchorElem:t,isLink:e}},[n,t,e]);return E.useEffect(()=>{const C=t.parentElement,x=()=>{n.getEditorState().read(()=>{v()})};return window.addEventListener("resize",x),C&&C.addEventListener("scroll",x),()=>{window.removeEventListener("resize",x),C&&C.removeEventListener("scroll",x)}},[n,v,t]),E.useEffect(()=>(n.getEditorState().read(()=>{v()}),tt(n.registerUpdateListener(({editorState:C})=>{C.read(()=>{v()})}),n.registerCommand(Gr,()=>(v(),!1),Ne))),[n,v]),A.jsx("div",{ref:g,className:`floating-text-format-popup doc-space-editor-wrapper ${h?"":"floating-text-format-popup-hidden"}`,children:A.jsx("div",{children:n.isEditable()&&(d||A.jsxs(A.Fragment,{children:[A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Mt,"bold")},className:"popup-item spaced "+(r?"active":""),"data-test-id":"toolbar-bold",children:A.jsx(xe,{name:"bold",stroke:r?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Mt,"italic")},className:"popup-item spaced "+(i?"active":""),"data-test-id":"toolbar-italic",children:A.jsx(xe,{name:"italic",stroke:i?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Mt,"underline")},className:"popup-item spaced "+(o?"active":""),"data-test-id":"toolbar-underline",children:A.jsx(xe,{name:"underline",stroke:o?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Mt,"strikethrough")},className:"popup-item spaced "+(l?"active":""),"data-test-id":"toolbar-strikethrough",children:A.jsx(xe,{name:"strikethrough",stroke:l?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Mt,"subscript")},className:"popup-item spaced "+(c?"active":""),"data-test-id":"toolbar-subscript",children:A.jsx(xe,{name:"subscript",stroke:c?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Mt,"superscript")},className:"popup-item spaced "+(u?"active":""),"data-test-id":"toolbar-superscript",children:A.jsx(xe,{name:"superscript",stroke:u?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Mt,"code")},className:"popup-item spaced "+(s?"active":""),"data-test-id":"toolbar-code",children:A.jsx(xe,{name:"code"})}),A.jsx("button",{type:"button",onClick:y,className:"popup-item spaced "+(e?"active":""),"data-test-id":"toolbar-link",children:A.jsx(xe,{name:"link"})})]}))})})}function zZ(n,t,e){const[r,i]=E.useState(!1),[o,s]=E.useState(!1),[l,c]=E.useState(!1),[u,d]=E.useState(!1),[h,g]=E.useState(!1),[p,m]=E.useState(!1),[y,w]=E.useState(!1),[v,C]=E.useState(!1),[x,_]=E.useState(!1),N=Fw(),{disable:T}=E.useContext(Ot),k=E.useCallback(()=>{n.getEditorState().read(()=>{var ue,fe,ie;if(n.isComposing())return;const M=J(),I=window.getSelection(),R=n.getRootElement();if(I!==null&&(!Y(M)||R===null||!R.contains(I.anchorNode))){i(!1);return}if(!Y(M))return;const B=ja(M);c(M.hasFormat("bold")),d(M.hasFormat("italic")),g(M.hasFormat("underline")),m(M.hasFormat("strikethrough")),w(M.hasFormat("subscript")),C(M.hasFormat("superscript")),_(M.hasFormat("code"));const U=B.getParent();Nn(U)||Nn(B)?s(!0):s(!1);const j=Jt(M.anchor.getNode()),K=(ie=(fe=(ue=n.getElementByKey(B.__key))==null?void 0:ue.parentElement)==null?void 0:fe.parentElement)==null?void 0:ie.classList.contains("Collapsible__title");!j&&M.getTextContent()!==""&&!K?i(Wn(B)||mn(B)||Ui(B)||_l(B)||wt(B)):i(!1);const V=M.getTextContent().replace(/\n/g,"");if(!M.isCollapsed()&&V===""){i(!1);return}})},[n]);return E.useEffect(()=>(document.addEventListener("selectionchange",k),()=>{document.removeEventListener("selectionchange",k)}),[k]),E.useEffect(()=>tt(n.registerUpdateListener(()=>{k()}),n.registerRootListener(()=>{n.getRootElement()===null&&i(!1)})),[n,k]),T?null:yr.createPortal(A.jsx(jZ,{editor:n,anchorElem:t,isLink:o,isBold:l,isItalic:u,isStrikethrough:p,isSubscript:y,isSuperscript:v,isUnderline:h,isCode:x,component:e,isText:r&&!N}),document.body)}function by({anchorElem:n=document.body,component:t}){const[e]=Me();return zZ(e,n,t)}const UZ=({onFocus:n})=>{const[t]=Me();return E.useEffect(()=>{t.registerCommand(Os,e=>{var r;return(r=t._rootElement)==null||r.classList.add("focused"),!e.relatedTarget&&n&&n(),!1},Ne)},[]),null},KZ=we("INSERT_FORM_COMMAND");function WZ(){const[n]=Me();return E.useEffect(()=>{if(!n.hasNodes([ed]))throw new Error("FormPlugin: FormNode not registered on editor");return n.registerCommand(KZ,t=>{const e=yw(t);return T1(e),!0},Ke)},[n]),null}function HZ({validateUrl:n,attributes:t}){const[e]=Me();return E.useEffect(()=>{if(!e.hasNodes([Gl]))throw new Error("LinkPlugin: LinkNode not registered on editor")}),E.useEffect(()=>wW(e,Wb({attributes:t,validateUrl:n})),[e,n,t]),null}function AM(){return A.jsx(HZ,{attributes:{target:null,rel:"noreferrer"}})}const YZ=" ";function ZZ(n){const t=n.getNodes();return t.length===0?new Set([n.anchor.getNode().getParentOrThrow(),n.focus.getNode().getParentOrThrow()]):new Set(t.map(e=>G(e)?e:e.getParentOrThrow()))}function GZ(n){const t=J();if(!Y(t))return!1;const e=t.focus.getNode();if(!(Qe(e)||wt(e)||wt(e.getParent())))return t.insertText(YZ),!1;const i=ZZ(t);let o=0;for(const s of i)if(Qe(s))o=Math.max(YA(s)+1,o);else if(wt(s)){const l=s.getParent();if(!Qe(l))throw new Error("ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent.");o=Math.max(YA(l)+1,o)}return o<=n}function JZ({maxDepth:n}){const[t]=Me();return E.useEffect(()=>tt(t.registerCommand(Bi,()=>!GZ(n??7),bn)),[t,n]),null}function QZ(n){E.useEffect(()=>e8(n),[n])}function VZ(){const[n]=Me();return E.useEffect(()=>{if(!n.hasNodes([wr,vn]))throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[n]),QZ(n),null}const XZ=[{dependencies:[cg],export:n=>cN(n)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(n,t,e,r)=>{const i=cc();r||n.getNextSibling()!=null?n.replace(i):n.insertBefore(i),i.selectNext()},type:"element"},..._g];function qZ({transformers:n=XZ}){const[t]=Me();return E.useEffect(()=>J5(t,n),[t,n]),null}function $Z(){return A.jsx(qZ,{transformers:Mu})}function e7({maxLength:n}){const[t]=Me();return E.useEffect(()=>{let e=null;return t.registerNodeTransform(Ul,r=>{const i=J();if(!Y(i)||!i.isCollapsed())return;const o=t.getEditorState(),s=o.read(()=>r.getTextContentSize()),l=r.getTextContentSize();if(s!==l){const c=l-n,u=i.anchor;c>0&&(s===n&&e!==o?(e=o,lz(t,o)):$j(t,u,c))}})},[t,n]),null}function t7(){const[n]=Me(),{maxHeight:t}=E.useContext(Ot),e=()=>{cI(n)};return t?null:A.jsx("div",{className:"new-paragraph",onClick:e})}var n7="function",r7="object",i7="string",o7="undefined",s7=typeof document!==o7&&document,l7=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],di=1e-7,wf={cm:function(n){return n*96/2.54},mm:function(n){return n*96/254},in:function(n){return n*96},pt:function(n){return n*96/72},pc:function(n){return n*96/6},"%":function(n,t){return n*t/100},vw:function(n,t){return t===void 0&&(t=window.innerWidth),n/100*t},vh:function(n,t){return t===void 0&&(t=window.innerHeight),n/100*t},vmax:function(n,t){return t===void 0&&(t=Math.max(window.innerWidth,window.innerHeight)),n/100*t},vmin:function(n,t){return t===void 0&&(t=Math.min(window.innerWidth,window.innerHeight)),n/100*t}};/*! *****************************************************************************
90
- Copyright (c) Microsoft Corporation.
91
-
92
- Permission to use, copy, modify, and/or distribute this software for any
93
- purpose with or without fee is hereby granted.
94
-
95
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
96
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
97
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
98
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
99
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
100
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101
- PERFORMANCE OF THIS SOFTWARE.
102
- ***************************************************************************** */function a7(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var r=Array(n),i=0,t=0;t<e;t++)for(var o=arguments[t],s=0,l=o.length;s<l;s++,i++)r[i]=o[s];return r}function Ls(n){return n&&typeof n===r7}function Th(n){return Array.isArray(n)}function Lu(n){return typeof n===i7}function Ww(n){return typeof n===n7}function c7(n,t){var e=n===""||n==" ",r=t===""||t==" ";return r&&e||n===t}function yM(n,t,e,r,i){var o=Hw(n,t,e);return o?e:u7(n,t,e+1,r,i)}function Hw(n,t,e){if(!n.ignore)return null;var r=t.slice(Math.max(e-3,0),e+3).join("");return new RegExp(n.ignore).exec(r)}function u7(n,t,e,r,i){for(var o=function(u){var d=t[u].trim();if(d===n.close&&!Hw(n,t,u))return{value:u};var h=u,g=Ou(i,function(p){var m=p.open;return m===d});if(g&&(h=yM(g,t,u,r,i)),h===-1)return s=u,"break";u=h,s=u},s,l=e;l<r;++l){var c=o(l);if(l=s,typeof c=="object")return c.value;if(c==="break")break}return-1}function Yw(n,t){var e=Lu(t)?{separator:t}:t,r=e.separator,i=r===void 0?",":r,o=e.isSeparateFirst,s=e.isSeparateOnlyOpenClose,l=e.isSeparateOpenClose,c=l===void 0?s:l,u=e.openCloseCharacters,d=u===void 0?l7:u,h=d.map(function(k){var M=k.open,I=k.close;return M===I?M:M+"|"+I}).join("|"),g="(\\s*"+i+"\\s*|"+h+"|\\s+)",p=new RegExp(g,"g"),m=n.split(p).filter(function(k){return k&&k!=="undefined"}),y=m.length,w=[],v=[];function C(){return v.length?(w.push(v.join("")),v=[],!0):!1}for(var x=function(k){var M=m[k].trim(),I=k,R=Ou(d,function(j){var K=j.open;return K===M}),B=Ou(d,function(j){var K=j.close;return K===M});if(R){if(I=yM(R,m,k,y,d),I!==-1&&c)return C()&&o||(w.push(m.slice(k,I+1).join("")),k=I,o)?(_=k,"break"):(_=k,"continue")}else if(B&&!Hw(B,m,k)){var U=a7(d);return U.splice(d.indexOf(B),1),{value:Yw(n,{separator:i,isSeparateFirst:o,isSeparateOnlyOpenClose:s,isSeparateOpenClose:c,openCloseCharacters:U})}}else if(c7(M,i)&&!s)return C(),o?(_=k,"break"):(_=k,"continue");I===-1&&(I=y-1),v.push(m.slice(k,I+1).join("")),k=I,_=k},_,N=0;N<y;++N){var T=x(N);if(N=_,typeof T=="object")return T.value;if(T==="break")break}return v.length&&w.push(v.join("")),w}function d7(n){return Yw(n,"")}function Gc(n){return Yw(n,",")}function f7(n){var t=/([^(]*)\(([\s\S]*)\)([\s\S]*)/g.exec(n);return!t||t.length<4?{}:{prefix:t[1],value:t[2],suffix:t[3]}}function _h(n){var t=/^([^\d|e|\-|\+]*)((?:\d|\.|-|e-|e\+)+)(\S*)$/g.exec(n);if(!t)return{prefix:"",unit:"",value:NaN};var e=t[1],r=t[2],i=t[3];return{prefix:e,unit:i,value:parseFloat(r)}}function wy(n){return n.replace(/[\s-_]+([^\s-_])/g,function(t,e){return e.toUpperCase()})}function Cy(){return Date.now?Date.now():new Date().getTime()}function Nh(n,t,e){e===void 0&&(e=-1);for(var r=n.length,i=0;i<r;++i)if(t(n[i],i,n))return i;return e}function Ou(n,t,e){var r=Nh(n,t);return r>-1?n[r]:e}function Ck(n,t){var e=_h(n),r=e.value,i=e.unit;if(Ls(t)){var o=t[i];if(o){if(Ww(o))return o(r);if(wf[i])return wf[i](r,o)}}else if(i==="%")return r*t/100;return wf[i]?wf[i](r):r}function bM(n,t,e){return Math.max(t,Math.min(n,e))}function vk(n,t,e,r){return r===void 0&&(r=n[0]/n[1]),[[Co(t[0],di),Co(t[0]/r,di)],[Co(t[1]*r,di),Co(t[1],di)]].filter(function(i){return i.every(function(o,s){var l=t[s],c=Co(l,di);return e?o<=l||o<=c:o>=l||o>=c})})[0]||n}function h7(n,t,e,r){if(!r)return n.map(function(p,m){return bM(p,t[m],e[m])});var i=n[0],o=n[1],s=r===!0?i/o:r,l=vk(n,t,!1,s),c=l[0],u=l[1],d=vk(n,e,!0,s),h=d[0],g=d[1];return i<c||o<u?(i=c,o=u):(i>h||o>g)&&(i=h,o=g),[i,o]}function g7(n){for(var t=n.length,e=0,r=t-1;r>=0;--r)e+=n[r];return e}function p7(n){for(var t=n.length,e=0,r=t-1;r>=0;--r)e+=n[r];return t?e/t:0}function xk(n,t){var e=t[0]-n[0],r=t[1]-n[1],i=Math.atan2(r,e);return i>=0?i:i+Math.PI*2}function m7(n){return[0,1].map(function(t){return p7(n.map(function(e){return e[t]}))})}function Sk(n){var t=m7(n),e=xk(t,n[0]),r=xk(t,n[1]);return e<r&&r-e<Math.PI||e>r&&r-e<-Math.PI?1:-1}function vy(n,t){return Math.sqrt(Math.pow((t?t[0]:0)-n[0],2)+Math.pow((t?t[1]:0)-n[1],2))}function Co(n,t){var e=1/t;return Math.round(n/t)/e}function A7(n,t){return n.classList?n.classList.contains(t):!!n.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function y7(n,t){n.classList?n.classList.add(t):n.className+=" "+t}function hn(n,t,e,r){n.addEventListener(t,e,r)}function on(n,t,e,r){n.removeEventListener(t,e,r)}function Ao(n){return(n==null?void 0:n.ownerDocument)||s7}function il(n){var t;return((t=n==null?void 0:n.ownerDocument)===null||t===void 0?void 0:t.defaultView)||window}function b7(n){return n&&"postMessage"in n&&"blur"in n&&"self"in n}function Ek(n){return Ls(n)&&n.nodeName&&n.nodeType&&"ownerDocument"in n}/*! *****************************************************************************
103
- Copyright (c) Microsoft Corporation.
104
-
105
- Permission to use, copy, modify, and/or distribute this software for any
106
- purpose with or without fee is hereby granted.
107
-
108
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
109
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
110
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
111
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
112
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
113
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
114
- PERFORMANCE OF THIS SOFTWARE.
115
- ***************************************************************************** */var xy=function(){return xy=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},xy.apply(this,arguments)};function w7(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var r=Array(n),i=0,t=0;t<e;t++)for(var o=arguments[t],s=0,l=o.length;s<l;s++,i++)r[i]=o[s];return r}var Dg=(function(){function n(){this._events={}}var t=n.prototype;return t.on=function(e,r){if(Ls(e))for(var i in e)this.on(i,e[i]);else this._addEvent(e,r,{});return this},t.off=function(e,r){if(!e)this._events={};else if(Ls(e))for(var i in e)this.off(i);else if(!r)this._events[e]=[];else{var o=this._events[e];if(o){var s=Nh(o,function(l){return l.listener===r});s>-1&&o.splice(s,1)}}return this},t.once=function(e,r){var i=this;return r&&this._addEvent(e,r,{once:!0}),new Promise(function(o){i._addEvent(e,o,{once:!0})})},t.emit=function(e,r){var i=this;r===void 0&&(r={});var o=this._events[e];if(!e||!o)return!0;var s=!1;return r.eventType=e,r.stop=function(){s=!0},r.currentTarget=this,w7(o).forEach(function(l){l.listener(r),l.once&&i.off(e,l.listener)}),!s},t.trigger=function(e,r){return r===void 0&&(r={}),this.emit(e,r)},t._addEvent=function(e,r,i){var o=this._events;o[e]=o[e]||[];var s=o[e];s.push(xy({listener:r},i))},n})();/*! *****************************************************************************
116
- Copyright (c) Microsoft Corporation.
117
-
118
- Permission to use, copy, modify, and/or distribute this software for any
119
- purpose with or without fee is hereby granted.
120
-
121
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
122
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
123
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
124
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
125
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
126
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
127
- PERFORMANCE OF THIS SOFTWARE.
128
- ***************************************************************************** */var Sy=function(n,t){return Sy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])},Sy(n,t)};function C7(n,t){Sy(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var dn=function(){return dn=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},dn.apply(this,arguments)};function v7(n,t){var e=t[0]-n[0],r=t[1]-n[1],i=Math.atan2(r,e);return i>=0?i:i+Math.PI*2}function Fm(n){return v7([n[0].clientX,n[0].clientY],[n[1].clientX,n[1].clientY])/Math.PI*180}function x7(n){return n.touches&&n.touches.length>=2}function Cf(n){return n?n.touches?E7(n.touches):[wM(n)]:[]}function S7(n){return n&&(n.type.indexOf("mouse")>-1||"button"in n)}function kk(n,t,e){var r=e.length,i=su(n,r),o=i.clientX,s=i.clientY,l=i.originalClientX,c=i.originalClientY,u=su(t,r),d=u.clientX,h=u.clientY,g=su(e,r),p=g.clientX,m=g.clientY,y=o-d,w=s-h,v=o-p,C=s-m;return{clientX:l,clientY:c,deltaX:y,deltaY:w,distX:v,distY:C}}function jm(n){return Math.sqrt(Math.pow(n[0].clientX-n[1].clientX,2)+Math.pow(n[0].clientY-n[1].clientY,2))}function E7(n){for(var t=Math.min(n.length,2),e=[],r=0;r<t;++r)e.push(wM(n[r]));return e}function wM(n){return{clientX:n.clientX,clientY:n.clientY}}function su(n,t){t===void 0&&(t=n.length);for(var e={clientX:0,clientY:0,originalClientX:0,originalClientY:0},r=Math.min(n.length,t),i=0;i<r;++i){var o=n[i];e.originalClientX+="originalClientX"in o?o.originalClientX:o.clientX,e.originalClientY+="originalClientY"in o?o.originalClientY:o.clientY,e.clientX+=o.clientX,e.clientY+=o.clientY}return t?{clientX:e.clientX/t,clientY:e.clientY/t,originalClientX:e.originalClientX/t,originalClientY:e.originalClientY/t}:e}var zm=(function(){function n(t){this.prevClients=[],this.startClients=[],this.movement=0,this.length=0,this.startClients=t,this.prevClients=t,this.length=t.length}return n.prototype.getAngle=function(t){return t===void 0&&(t=this.prevClients),Fm(t)},n.prototype.getRotation=function(t){return t===void 0&&(t=this.prevClients),Fm(t)-Fm(this.startClients)},n.prototype.getPosition=function(t,e){t===void 0&&(t=this.prevClients);var r=kk(t||this.prevClients,this.prevClients,this.startClients),i=r.deltaX,o=r.deltaY;return this.movement+=Math.sqrt(i*i+o*o),this.prevClients=t,r},n.prototype.getPositions=function(t){t===void 0&&(t=this.prevClients);for(var e=this.prevClients,r=this.startClients,i=Math.min(this.length,e.length),o=[],s=0;s<i;++s)o[s]=kk([t[s]],[e[s]],[r[s]]);return o},n.prototype.getMovement=function(t){var e=this.movement;if(!t)return e;var r=su(t,this.length),i=su(this.prevClients,this.length),o=r.clientX-i.clientX,s=r.clientY-i.clientY;return Math.sqrt(o*o+s*s)+e},n.prototype.getDistance=function(t){return t===void 0&&(t=this.prevClients),jm(t)},n.prototype.getScale=function(t){return t===void 0&&(t=this.prevClients),jm(t)/jm(this.startClients)},n.prototype.move=function(t,e){this.startClients.forEach(function(r){r.clientX-=t,r.clientY-=e}),this.prevClients.forEach(function(r){r.clientX-=t,r.clientY-=e})},n})(),Tk=["textarea","input"],k7=(function(n){C7(t,n);function t(e,r){r===void 0&&(r={});var i=n.call(this)||this;i.options={},i.flag=!1,i.pinchFlag=!1,i.data={},i.isDrag=!1,i.isPinch=!1,i.clientStores=[],i.targets=[],i.prevTime=0,i.doubleFlag=!1,i._useMouse=!1,i._useTouch=!1,i._useDrag=!1,i._dragFlag=!1,i._isTrusted=!1,i._isMouseEvent=!1,i._isSecondaryButton=!1,i._preventMouseEvent=!1,i._prevInputEvent=null,i._isDragAPI=!1,i._isIdle=!0,i._preventMouseEventId=0,i._window=window,i.onDragStart=function(g,p){if(p===void 0&&(p=!0),!(!i.flag&&g.cancelable===!1)){var m=g.type.indexOf("drag")>=-1;if(!(i.flag&&m)){i._isDragAPI=!0;var y=i.options,w=y.container,v=y.pinchOutside,C=y.preventWheelClick,x=y.preventRightClick,_=y.preventDefault,N=y.checkInput,T=y.dragFocusedInput,k=y.preventClickEventOnDragStart,M=y.preventClickEventOnDrag,I=y.preventClickEventByCondition,R=i._useTouch,B=!i.flag;if(i._isSecondaryButton=g.which===3||g.button===2,C&&(g.which===2||g.button===1)||x&&(g.which===3||g.button===2))return i.stop(),!1;if(B){var U=i._window.document.activeElement,j=g.target;if(j){var K=j.tagName.toLowerCase(),V=Tk.indexOf(K)>-1,ue=j.isContentEditable;if(V||ue){if(N||!T&&U===j)return!1;if(U&&(U===j||ue&&U.isContentEditable&&U.contains(j)))if(T)j.blur();else return!1}else if((_||g.type==="touchstart")&&U){var fe=U.tagName.toLowerCase();(U.isContentEditable||Tk.indexOf(fe)>-1)&&U.blur()}(k||M||I)&&hn(i._window,"click",i._onClick,!0)}i.clientStores=[new zm(Cf(g))],i._isIdle=!1,i.flag=!0,i.isDrag=!1,i._isTrusted=p,i._dragFlag=!0,i._prevInputEvent=g,i.data={},i.doubleFlag=Cy()-i.prevTime<200,i._isMouseEvent=S7(g),!i._isMouseEvent&&i._preventMouseEvent&&i._allowMouseEvent();var ie=i._preventMouseEvent||i.emit("dragStart",dn(dn({data:i.data,datas:i.data,inputEvent:g,isMouseEvent:i._isMouseEvent,isSecondaryButton:i._isSecondaryButton,isTrusted:p,isDouble:i.doubleFlag},i.getCurrentStore().getPosition()),{preventDefault:function(){g.preventDefault()},preventDrag:function(){i._dragFlag=!1}}));ie===!1&&i.stop(),i._isMouseEvent&&i.flag&&_&&g.preventDefault()}if(!i.flag)return!1;var le=0;if(B?(i._attchDragEvent(),R&&v&&(le=setTimeout(function(){hn(w,"touchstart",i.onDragStart,{passive:!1})}))):R&&v&&on(w,"touchstart",i.onDragStart),i.flag&&x7(g)){if(clearTimeout(le),B&&g.touches.length!==g.changedTouches.length)return;i.pinchFlag||i.onPinchStart(g)}}}},i.onDrag=function(g,p){if(i.flag){var m=i.options.preventDefault;!i._isMouseEvent&&m&&g.preventDefault(),i._prevInputEvent=g;var y=Cf(g),w=i.moveClients(y,g,!1);if(i._dragFlag){if(i.pinchFlag||w.deltaX||w.deltaY){var v=i._preventMouseEvent||i.emit("drag",dn(dn({},w),{isScroll:!!p,inputEvent:g}));if(v===!1){i.stop();return}}i.pinchFlag&&i.onPinch(g,y)}i.getCurrentStore().getPosition(y,!0)}},i.onDragEnd=function(g){if(i.flag){var p=i.options,m=p.pinchOutside,y=p.container,w=p.preventClickEventOnDrag,v=p.preventClickEventOnDragStart,C=p.preventClickEventByCondition,x=i.isDrag;(w||v||C)&&requestAnimationFrame(function(){i._allowClickEvent()}),!C&&!v&&w&&!x&&i._allowClickEvent(),i._useTouch&&m&&on(y,"touchstart",i.onDragStart),i.pinchFlag&&i.onPinchEnd(g);var _=g!=null&&g.touches?Cf(g):[],N=_.length;N===0||!i.options.keepDragging?i.flag=!1:i._addStore(new zm(_));var T=i._getPosition(),k=Cy(),M=!x&&i.doubleFlag;i._prevInputEvent=null,i.prevTime=x||M?0:k,i.flag||(i._dettachDragEvent(),i._preventMouseEvent||i.emit("dragEnd",dn({data:i.data,datas:i.data,isDouble:M,isDrag:x,isClick:!x,isMouseEvent:i._isMouseEvent,isSecondaryButton:i._isSecondaryButton,inputEvent:g,isTrusted:i._isTrusted},T)),i.clientStores=[],i._isMouseEvent||(i._preventMouseEvent=!0,clearTimeout(i._preventMouseEventId),i._preventMouseEventId=setTimeout(function(){i._preventMouseEvent=!1},200)),i._isIdle=!0)}},i.onBlur=function(){i.onDragEnd()},i._allowClickEvent=function(){on(i._window,"click",i._onClick,!0)},i._onClick=function(g){i._allowClickEvent(),i._allowMouseEvent();var p=i.options.preventClickEventByCondition;p!=null&&p(g)||(g.stopPropagation(),g.preventDefault())},i._onContextMenu=function(g){var p=i.options;p.preventRightClick?i.onDragEnd(g):g.preventDefault()},i._passCallback=function(){};var o=[].concat(e),s=o[0];i._window=b7(s)?s:il(s),i.options=dn({checkInput:!1,container:s&&!("document"in s)?il(s):s,preventRightClick:!0,preventWheelClick:!0,preventClickEventOnDragStart:!1,preventClickEventOnDrag:!1,preventClickEventByCondition:null,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},r);var l=i.options,c=l.container,u=l.events,d=l.checkWindowBlur;if(i._useDrag=u.indexOf("drag")>-1,i._useTouch=u.indexOf("touch")>-1,i._useMouse=u.indexOf("mouse")>-1,i.targets=o,i._useDrag&&o.forEach(function(g){hn(g,"dragstart",i.onDragStart)}),i._useMouse&&(o.forEach(function(g){hn(g,"mousedown",i.onDragStart),hn(g,"mousemove",i._passCallback)}),hn(c,"contextmenu",i._onContextMenu)),d&&hn(il(),"blur",i.onBlur),i._useTouch){var h={passive:!1};o.forEach(function(g){hn(g,"touchstart",i.onDragStart,h),hn(g,"touchmove",i._passCallback,h)})}return i}return t.prototype.stop=function(){this.isDrag=!1,this.data={},this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1,this._isIdle=!0,this._allowClickEvent(),this._dettachDragEvent(),this._isDragAPI=!1},t.prototype.getMovement=function(e){return this.getCurrentStore().getMovement(e)+this.clientStores.slice(1).reduce(function(r,i){return r+i.movement},0)},t.prototype.isDragging=function(){return this.isDrag},t.prototype.isIdle=function(){return this._isIdle},t.prototype.isFlag=function(){return this.flag},t.prototype.isPinchFlag=function(){return this.pinchFlag},t.prototype.isDoubleFlag=function(){return this.doubleFlag},t.prototype.isPinching=function(){return this.isPinch},t.prototype.scrollBy=function(e,r,i,o){o===void 0&&(o=!0),this.flag&&(this.clientStores[0].move(e,r),o&&this.onDrag(i,!0))},t.prototype.move=function(e,r){var i=e[0],o=e[1],s=this.getCurrentStore(),l=s.prevClients;return this.moveClients(l.map(function(c){var u=c.clientX,d=c.clientY;return{clientX:u+i,clientY:d+o,originalClientX:u,originalClientY:d}}),r,!0)},t.prototype.triggerDragStart=function(e){this.onDragStart(e,!1)},t.prototype.setEventData=function(e){var r=this.data;for(var i in e)r[i]=e[i];return this},t.prototype.setEventDatas=function(e){return this.setEventData(e)},t.prototype.getCurrentEvent=function(e){return e===void 0&&(e=this._prevInputEvent),dn(dn({data:this.data,datas:this.data},this._getPosition()),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:e})},t.prototype.getEventData=function(){return this.data},t.prototype.getEventDatas=function(){return this.data},t.prototype.unset=function(){var e=this,r=this.targets,i=this.options.container;this.off(),on(this._window,"blur",this.onBlur),this._useDrag&&r.forEach(function(o){on(o,"dragstart",e.onDragStart)}),this._useMouse&&(r.forEach(function(o){on(o,"mousedown",e.onDragStart)}),on(i,"contextmenu",this._onContextMenu)),this._useTouch&&(r.forEach(function(o){on(o,"touchstart",e.onDragStart)}),on(i,"touchstart",this.onDragStart)),this._prevInputEvent=null,this._allowClickEvent(),this._dettachDragEvent()},t.prototype.onPinchStart=function(e){var r=this,i=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>i)){var o=new zm(Cf(e));this.pinchFlag=!0,this._addStore(o);var s=this.emit("pinchStart",dn(dn({data:this.data,datas:this.data,angle:o.getAngle(),touches:this.getCurrentStore().getPositions()},o.getPosition()),{inputEvent:e,isTrusted:this._isTrusted,preventDefault:function(){e.preventDefault()},preventDrag:function(){r._dragFlag=!1}}));s===!1&&(this.pinchFlag=!1)}},t.prototype.onPinch=function(e,r){if(!(!this.flag||!this.pinchFlag||r.length<2)){var i=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",dn(dn({data:this.data,datas:this.data,movement:this.getMovement(r),angle:i.getAngle(r),rotation:i.getRotation(r),touches:i.getPositions(r),scale:i.getScale(r),distance:i.getDistance(r)},i.getPosition(r)),{inputEvent:e,isTrusted:this._isTrusted}))}},t.prototype.onPinchEnd=function(e){if(this.pinchFlag){var r=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var i=this.getCurrentStore();this.emit("pinchEnd",dn(dn({data:this.data,datas:this.data,isPinch:r,touches:i.getPositions()},i.getPosition()),{inputEvent:e}))}},t.prototype.getCurrentStore=function(){return this.clientStores[0]},t.prototype.moveClients=function(e,r,i){var o=this._getPosition(e,i),s=this.isDrag;(o.deltaX||o.deltaY)&&(this.isDrag=!0);var l=!1;return!s&&this.isDrag&&(l=!0),dn(dn({data:this.data,datas:this.data},o),{movement:this.getMovement(e),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,isMouseEvent:this._isMouseEvent,isSecondaryButton:this._isSecondaryButton,inputEvent:r,isTrusted:this._isTrusted,isFirstDrag:l})},t.prototype._addStore=function(e){this.clientStores.splice(0,0,e)},t.prototype._getPosition=function(e,r){var i=this.getCurrentStore(),o=i.getPosition(e,r),s=this.clientStores.slice(1).reduce(function(u,d){var h=d.getPosition();return u.distX+=h.distX,u.distY+=h.distY,u},o),l=s.distX,c=s.distY;return dn(dn({},o),{distX:l,distY:c})},t.prototype._attchDragEvent=function(){var e=this._window,r=this.options.container,i={passive:!1};this._isDragAPI&&(hn(r,"dragover",this.onDrag,i),hn(e,"dragend",this.onDragEnd)),this._useMouse&&(hn(r,"mousemove",this.onDrag),hn(e,"mouseup",this.onDragEnd)),this._useTouch&&(hn(r,"touchmove",this.onDrag,i),hn(e,"touchend",this.onDragEnd,i),hn(e,"touchcancel",this.onDragEnd,i))},t.prototype._dettachDragEvent=function(){var e=this._window,r=this.options.container;this._isDragAPI&&(on(r,"dragover",this.onDrag),on(e,"dragend",this.onDragEnd)),this._useMouse&&(on(r,"mousemove",this.onDrag),on(e,"mouseup",this.onDragEnd)),this._useTouch&&(on(r,"touchstart",this.onDragStart),on(r,"touchmove",this.onDrag),on(e,"touchend",this.onDragEnd),on(e,"touchcancel",this.onDragEnd))},t.prototype._allowMouseEvent=function(){this._preventMouseEvent=!1,clearTimeout(this._preventMouseEventId)},t})(Dg);function T7(n,t){return function(e){e&&(n[t]=e)}}function _7(n,t){return function(e){var r=e.prototype;n.forEach(function(i){t(r,i)})}}function N7(n,t){return t===void 0&&(t={}),function(e,r){n.forEach(function(i){var o=t[i]||i;o in e||(e[o]=function(){for(var s,l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];var u=(s=this[r])[i].apply(s,l);return u===this[r]?this:u})})}}var I7=(function(){function n(){this.keys=[],this.values=[]}var t=n.prototype;return t.get=function(e){return this.values[this.keys.indexOf(e)]},t.set=function(e,r){var i=this.keys,o=this.values,s=i.indexOf(e),l=s===-1?i.length:s;i[l]=e,o[l]=r},n})(),M7=(function(){function n(){this.object={}}var t=n.prototype;return t.get=function(e){return this.object[e]},t.set=function(e,r){this.object[e]=r},n})(),D7=typeof Map=="function",L7=(function(){function n(){}var t=n.prototype;return t.connect=function(e,r){this.prev=e,this.next=r,e&&(e.next=this),r&&(r.prev=this)},t.disconnect=function(){var e=this.prev,r=this.next;e&&(e.next=r),r&&(r.prev=e)},t.getIndex=function(){for(var e=this,r=-1;e;)e=e.prev,++r;return r},n})();function O7(n,t){var e=[],r=[];return n.forEach(function(i){var o=i[0],s=i[1],l=new L7;e[o]=l,r[s]=l}),e.forEach(function(i,o){i.connect(e[o-1])}),n.filter(function(i,o){return!t[o]}).map(function(i,o){var s=i[0],l=i[1];if(s===l)return[0,0];var c=e[s],u=r[l-1],d=c.getIndex();c.disconnect(),u?c.connect(u,u.next):c.connect(void 0,e[0]);var h=c.getIndex();return[d,h]})}var R7=(function(){function n(e,r,i,o,s,l,c,u){this.prevList=e,this.list=r,this.added=i,this.removed=o,this.changed=s,this.maintained=l,this.changedBeforeAdded=c,this.fixed=u}var t=n.prototype;return Object.defineProperty(t,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(t,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),t.caculateOrdered=function(){var e=O7(this.changedBeforeAdded,this.fixed),r=this.changed,i=[];this.cacheOrdered=e.filter(function(o,s){var l=o[0],c=o[1],u=r[s],d=u[0],h=u[1];if(l!==c)return i.push([d,h]),!0}),this.cachePureChanged=i},n})();function P7(n,t,e){var r=D7?Map:e?M7:I7,i=e||function(C){return C},o=[],s=[],l=[],c=n.map(i),u=t.map(i),d=new r,h=new r,g=[],p=[],m={},y=[],w=0,v=0;return c.forEach(function(C,x){d.set(C,x)}),u.forEach(function(C,x){h.set(C,x)}),c.forEach(function(C,x){var _=h.get(C);typeof _>"u"?(++v,s.push(x)):m[_]=v}),u.forEach(function(C,x){var _=d.get(C);typeof _>"u"?(o.push(x),++w):(l.push([_,x]),v=m[x]||0,g.push([_-v,x-w]),p.push(x===_),_!==x&&y.push([_,x]))}),s.reverse(),new R7(n,t,o,s,y,l,g,p)}var B7=typeof Map=="function"?void 0:(function(){var n=0;return function(t){return t.__DIFF_KEY__||(t.__DIFF_KEY__=++n)}})();function Jc(n,t){return P7(n,t,B7)}/*! *****************************************************************************
129
- Copyright (c) Microsoft Corporation.
130
-
131
- Permission to use, copy, modify, and/or distribute this software for any
132
- purpose with or without fee is hereby granted.
133
-
134
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
135
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
136
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
137
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
138
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
139
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
140
- PERFORMANCE OF THIS SOFTWARE.
141
- ***************************************************************************** */var Ey=function(n,t){return Ey=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])},Ey(n,t)};function F7(n,t){Ey(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Da=function(){return Da=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Da.apply(this,arguments)};function j7(n){var t=n.container;return t===document.body?[t.scrollLeft||document.documentElement.scrollLeft,t.scrollTop||document.documentElement.scrollTop]:[t.scrollLeft,t.scrollTop]}function _k(n,t){return n.addEventListener("scroll",t),function(){n.removeEventListener("scroll",t)}}function vf(n){if(n){if(Lu(n))return document.querySelector(n)}else return null;if(Ww(n))return n();if(n instanceof Element)return n;if("current"in n)return n.current;if("value"in n)return n.value}var z7=(function(n){F7(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r._startRect=null,r._startPos=[],r._prevTime=0,r._timer=0,r._prevScrollPos=[0,0],r._isWait=!1,r._flag=!1,r._currentOptions=null,r._lock=!1,r._unregister=null,r._onScroll=function(){var i=r._currentOptions;r._lock||!i||r.emit("scrollDrag",{next:function(o){r.checkScroll({container:i.container,inputEvent:o})}})},r}var e=t.prototype;return e.dragStart=function(r,i){var o=vf(i.container);if(!o){this._flag=!1;return}var s=0,l=0,c=0,u=0;if(o===document.body)c=window.innerWidth,u=window.innerHeight;else{var d=o.getBoundingClientRect();s=d.top,l=d.left,c=d.width,u=d.height}this._flag=!0,this._startPos=[r.clientX,r.clientY],this._startRect={top:s,left:l,width:c,height:u},this._prevScrollPos=this._getScrollPosition([0,0],i),this._currentOptions=i,this._registerScrollEvent(i)},e.drag=function(r,i){if(clearTimeout(this._timer),!!this._flag){var o=r.clientX,s=r.clientY,l=i.threshold,c=l===void 0?0:l,u=this,d=u._startRect,h=u._startPos;this._currentOptions=i;var g=[0,0];return d.top>s-c?(h[1]>d.top||s<h[1])&&(g[1]=-1):d.top+d.height<s+c&&(h[1]<d.top+d.height||s>h[1])&&(g[1]=1),d.left>o-c?(h[0]>d.left||o<h[0])&&(g[0]=-1):d.left+d.width<o+c&&(h[0]<d.left+d.width||o>h[0])&&(g[0]=1),!g[0]&&!g[1]?!1:this._continueDrag(Da(Da({},i),{direction:g,inputEvent:r,isDrag:!0}))}},e.checkScroll=function(r){var i=this;if(this._isWait)return!1;var o=r.prevScrollPos,s=o===void 0?this._prevScrollPos:o,l=r.direction,c=r.throttleTime,u=c===void 0?0:c,d=r.inputEvent,h=r.isDrag,g=this._getScrollPosition(l||[0,0],r),p=g[0]-s[0],m=g[1]-s[1],y=l||[p?Math.abs(p)/p:0,m?Math.abs(m)/m:0];return this._prevScrollPos=g,this._lock=!1,!p&&!m?!1:(this.emit("move",{offsetX:y[0]?p:0,offsetY:y[1]?m:0,inputEvent:d}),u&&h&&(clearTimeout(this._timer),this._timer=window.setTimeout(function(){i._continueDrag(r)},u)),!0)},e.dragEnd=function(){this._flag=!1,this._lock=!1,clearTimeout(this._timer),this._unregisterScrollEvent()},e._getScrollPosition=function(r,i){var o=i.container,s=i.getScrollPosition,l=s===void 0?j7:s;return l({container:vf(o),direction:r})},e._continueDrag=function(r){var i=this,o,s=r.container,l=r.direction,c=r.throttleTime,u=r.useScroll,d=r.isDrag,h=r.inputEvent;if(!(!this._flag||d&&this._isWait)){var g=Cy(),p=Math.max(c+this._prevTime-g,0);if(p>0)return clearTimeout(this._timer),this._timer=window.setTimeout(function(){i._continueDrag(r)},p),!1;this._prevTime=g;var m=this._getScrollPosition(l,r);this._prevScrollPos=m,d&&(this._isWait=!0),u||(this._lock=!0);var y={container:vf(s),direction:l,inputEvent:h};return(o=r.requestScroll)===null||o===void 0||o.call(r,y),this.emit("scroll",y),this._isWait=!1,u||this.checkScroll(Da(Da({},r),{prevScrollPos:m,direction:l,inputEvent:h}))}},e._registerScrollEvent=function(r){this._unregisterScrollEvent();var i=r.checkScrollEvent;if(i){var o=i===!0?_k:i,s=vf(r.container);i===!0&&(s===document.body||s===document.documentElement)?this._unregister=_k(window,this._onScroll):this._unregister=o(s,this._onScroll)}},e._unregisterScrollEvent=function(){var r;(r=this._unregister)===null||r===void 0||r.call(this),this._unregister=null},t})(Dg),ky=function(n,t){return ky=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},ky(n,t)};function U7(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ky(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function K7(n,t){return t={exports:{}},n(t,t.exports),t.exports}var ld=K7(function(n,t){function e(c){if(c&&typeof c=="object"){var u=c.which||c.keyCode||c.charCode;u&&(c=u)}if(typeof c=="number")return s[c];var d=String(c),h=r[d.toLowerCase()];if(h)return h;var h=i[d.toLowerCase()];if(h)return h;if(d.length===1)return d.charCodeAt(0)}e.isEventKey=function(u,d){if(u&&typeof u=="object"){var h=u.which||u.keyCode||u.charCode;if(h==null)return!1;if(typeof d=="string"){var g=r[d.toLowerCase()];if(g)return g===h;var g=i[d.toLowerCase()];if(g)return g===h}else if(typeof d=="number")return d===h;return!1}},t=n.exports=e;var r=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
142
- * Programatically add the following
143
- */for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var s=t.names=t.title={};for(o in r)s[r[o]]=o;for(var l in i)r[l]=i[l]});ld.code;ld.codes;ld.aliases;var W7=ld.names;ld.title;var Nk={"+":"plus","left command":"meta","right command":"meta"},Ik={shift:1,ctrl:2,alt:3,meta:4};function CM(n,t){var e=(W7[n]||t||"").toLowerCase();for(var r in Nk)e=e.replace(r,Nk[r]);return e.replace(/\s/g,"")}function vM(n,t){t===void 0&&(t=CM(n.keyCode,n.key));var e=H7(n);return e.indexOf(t)===-1&&e.push(t),e.filter(Boolean)}function H7(n){var t=[n.shiftKey&&"shift",n.ctrlKey&&"ctrl",n.altKey&&"alt",n.metaKey&&"meta"];return t.filter(Boolean)}function Mk(n){var t=n.slice();return t.sort(function(e,r){var i=Ik[e]||5,o=Ik[r]||5;return i-o}),t}var Dk,Y7=(function(n){U7(t,n);function t(r){r===void 0&&(r=window);var i=n.call(this)||this;return i.container=r,i.ctrlKey=!1,i.altKey=!1,i.shiftKey=!1,i.metaKey=!1,i.clear=function(){return i.ctrlKey=!1,i.altKey=!1,i.shiftKey=!1,i.metaKey=!1,i},i.keydownEvent=function(o){i.triggerEvent("keydown",o)},i.keyupEvent=function(o){i.triggerEvent("keyup",o)},i.blur=function(){i.clear(),i.trigger("blur")},hn(r,"blur",i.blur),hn(r,"keydown",i.keydownEvent),hn(r,"keyup",i.keyupEvent),i}var e=t.prototype;return Object.defineProperty(t,"global",{get:function(){return Dk||(Dk=new t)},enumerable:!1,configurable:!0}),t.setGlobal=function(){return this.global},e.destroy=function(){var r=this.container;this.clear(),this.off(),on(r,"blur",this.blur),on(r,"keydown",this.keydownEvent),on(r,"keyup",this.keyupEvent)},e.keydown=function(r,i){return this.addEvent("keydown",r,i)},e.offKeydown=function(r,i){return this.removeEvent("keydown",r,i)},e.offKeyup=function(r,i){return this.removeEvent("keyup",r,i)},e.keyup=function(r,i){return this.addEvent("keyup",r,i)},e.addEvent=function(r,i,o){return Th(i)?this.on("".concat(r,".").concat(Mk(i).join(".")),o):Lu(i)?this.on("".concat(r,".").concat(i),o):this.on(r,i),this},e.removeEvent=function(r,i,o){return Th(i)?this.off("".concat(r,".").concat(Mk(i).join(".")),o):Lu(i)?this.off("".concat(r,".").concat(i),o):this.off(r,i),this},e.triggerEvent=function(r,i){this.ctrlKey=i.ctrlKey,this.shiftKey=i.shiftKey,this.altKey=i.altKey,this.metaKey=i.metaKey;var o=CM(i.keyCode,i.key),s=o==="ctrl"||o==="shift"||o==="meta"||o==="alt",l={key:o,isToggle:s,inputEvent:i,keyCode:i.keyCode,ctrlKey:i.ctrlKey,altKey:i.altKey,shiftKey:i.shiftKey,metaKey:i.metaKey};this.trigger(r,l),this.trigger("".concat(r,".").concat(o),l);var c=vM(i,o);c.length>1&&this.trigger("".concat(r,".").concat(c.join(".")),l)},t})(Dg);/*! *****************************************************************************
144
- Copyright (c) Microsoft Corporation.
145
-
146
- Permission to use, copy, modify, and/or distribute this software for any
147
- purpose with or without fee is hereby granted.
148
-
149
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
150
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
151
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
152
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
153
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
154
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
155
- PERFORMANCE OF THIS SOFTWARE.
156
- ***************************************************************************** */function Z7(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var r=Array(n),i=0,t=0;t<e;t++)for(var o=arguments[t],s=0,l=o.length;s<l;s++,i++)r[i]=o[s];return r}function hr(n){return Co(n,di)}function G7(n,t){return n.every(function(e,r){return hr(e-t[r])===0})}function J7(n,t){return!hr(n[0]-t[0])&&!hr(n[1]-t[1])}function Um(n){return n.length<3?0:Math.abs(g7(n.map(function(t,e){var r=n[e+1]||n[0];return t[0]*r[1]-r[0]*t[1]})))/2}function Q7(n,t){var e=t.width,r=t.height,i=t.left,o=t.top,s=xM(n),l=s.minX,c=s.minY,u=s.maxX,d=s.maxY,h=e/(u-l),g=r/(d-c);return n.map(function(p){return[i+(p[0]-l)*h,o+(p[1]-c)*g]})}function xM(n){var t=n.map(function(r){return r[0]}),e=n.map(function(r){return r[1]});return{minX:Math.min.apply(Math,t),minY:Math.min.apply(Math,e),maxX:Math.max.apply(Math,t),maxY:Math.max.apply(Math,e)}}function Ty(n,t,e){var r=n[0],i=n[1],o=xM(t),s=o.minX,l=o.maxX,c=[[s,i],[l,i]],u=Ih(c[0],c[1]),d=_y(t),h=[];if(d.forEach(function(m){var y=Ih(m[0],m[1]),w=m[0];if(G7(u,y))h.push({pos:n,line:m,type:"line"});else{var v=EM(SM(u,y),[c,m]);v.forEach(function(C){m.some(function(x){return J7(x,C)})?h.push({pos:C,line:m,type:"point"}):hr(w[1]-i)!==0&&h.push({pos:C,line:m,type:"intersection"})})}}),Ou(h,function(m){return m[0]===r}))return!0;var g=0,p={};return h.forEach(function(m){var y=m.pos,w=m.type,v=m.line;if(!(y[0]>r))if(w==="intersection")++g;else{if(w==="line")return;if(w==="point"){var C=Ou(v,function(N){return N[1]!==i}),x=p[y[0]],_=C[1]>i?1:-1;x?x!==_&&++g:p[y[0]]=_}}}),g%2===1}function Ih(n,t){var e=n[0],r=n[1],i=t[0],o=t[1],s=i-e,l=o-r;Math.abs(s)<di&&(s=0),Math.abs(l)<di&&(l=0);var c=0,u=0,d=0;return s?l?(c=-l/s,u=1,d=-c*e-r):(u=1,d=-r):l&&(c=-1,d=e),[c,u,d]}function SM(n,t){var e=n[0],r=n[1],i=n[2],o=t[0],s=t[1],l=t[2],c=e===0&&o===0,u=r===0&&s===0,d=[];if(c&&u)return[];if(c){var h=-i/r,g=-l/s;return h!==g?[]:[[-1/0,h],[1/0,h]]}else if(u){var p=-i/e,m=-l/o;return p!==m?[]:[[p,-1/0],[p,1/0]]}else if(e===0){var y=-i/r,w=-(s*y+l)/o;d=[[w,y]]}else if(o===0){var y=-l/s,w=-(r*y+i)/e;d=[[w,y]]}else if(r===0){var w=-i/e,y=-(o*w+l)/s;d=[[w,y]]}else if(s===0){var w=-l/o,y=-(e*w+i)/r;d=[[w,y]]}else{var w=(r*l-s*i)/(s*e-r*o),y=-(e*w+i)/r;d=[[w,y]]}return d.map(function(v){return[v[0],v[1]]})}function EM(n,t){var e=t.map(function(h){return[0,1].map(function(g){return[Math.min(h[0][g],h[1][g]),Math.max(h[0][g],h[1][g])]})}),r=[];if(n.length===2){var i=n[0],o=i[0],s=i[1];if(hr(o-n[1][0])){if(!hr(s-n[1][1])){var u=Math.max.apply(Math,e.map(function(h){return h[0][0]})),d=Math.min.apply(Math,e.map(function(h){return h[0][1]}));if(hr(u-d)>0)return[];r=[[u,s],[d,s]]}}else{var l=Math.max.apply(Math,e.map(function(h){return h[1][0]})),c=Math.min.apply(Math,e.map(function(h){return h[1][1]}));if(hr(l-c)>0)return[];r=[[o,l],[o,c]]}}return r.length||(r=n.filter(function(h){var g=h[0],p=h[1];return e.every(function(m){return 0<=hr(g-m[0][0])&&0<=hr(m[0][1]-g)&&0<=hr(p-m[1][0])&&0<=hr(m[1][1]-p)})})),r.map(function(h){return[hr(h[0]),hr(h[1])]})}function _y(n){return Z7(n.slice(1),[n[0]]).map(function(t,e){return[n[e],t]})}function V7(n,t){var e=n.slice(),r=t.slice();Sk(e)===-1&&e.reverse(),Sk(r)===-1&&r.reverse();var i=_y(e),o=_y(r),s=i.map(function(d){return Ih(d[0],d[1])}),l=o.map(function(d){return Ih(d[0],d[1])}),c=[];s.forEach(function(d,h){var g=i[h],p=[];l.forEach(function(m,y){var w=SM(d,m),v=EM(w,[g,o[y]]);p.push.apply(p,v.map(function(C){return{index1:h,index2:y,pos:C,type:"intersection"}}))}),p.sort(function(m,y){return vy(g[0],m.pos)-vy(g[0],y.pos)}),c.push.apply(c,p),Ty(g[1],r)&&c.push({index1:h,index2:-1,pos:g[1],type:"inside"})}),o.forEach(function(d,h){if(Ty(d[1],e)){var g=!1,p=Nh(c,function(m){var y=m.index2;return y===h?(g=!0,!1):!!g});p===-1&&(g=!1,p=Nh(c,function(m){var y=m.index1,w=m.index2;return y===-1&&w+1===h?(g=!0,!1):!!g})),p===-1?c.push({index1:-1,index2:h,pos:d[1],type:"inside"}):c.splice(p,0,{index1:-1,index2:h,pos:d[1],type:"inside"})}});var u={};return c.filter(function(d){var h=d.pos,g=h[0]+"x"+h[1];return u[g]?!1:(u[g]=!0,!0)})}function Lk(n,t){var e=V7(n,t);return e.map(function(r){var i=r.pos;return i})}function X7(n,t,e,r,i,o){for(var s=0;s<i;++s){var l=e+s*i,c=r+s*i;n[l]+=n[c]*o,t[l]+=t[c]*o}}function q7(n,t,e,r,i){for(var o=0;o<i;++o){var s=e+o*i,l=r+o*i,c=n[s],u=t[s];n[s]=n[l],n[l]=c,t[s]=t[l],t[l]=u}}function $7(n,t,e,r,i){for(var o=0;o<r;++o){var s=e+o*r;n[s]/=i,t[s]/=i}}function eG(n,t){for(var e=n.slice(),r=kM(t),i=0;i<t;++i){var o=t*i+i;if(!Co(e[o],di)){for(var s=i+1;s<t;++s)if(e[t*i+s]){q7(e,r,i,s,t);break}}if(!Co(e[o],di))return[];$7(e,r,i,t,e[o]);for(var s=0;s<t;++s){var l=s,c=s+i*t,u=e[c];!Co(u,di)||i===s||X7(e,r,l,i,t,-u)}}return r}function $l(n,t,e){e===void 0&&(e=Math.sqrt(n.length));var r=[],i=n.length/e,o=t.length/i;if(i){if(!o)return n}else return t;for(var s=0;s<e;++s)for(var l=0;l<o;++l){r[l*e+s]=0;for(var c=0;c<i;++c)r[l*e+s]+=n[c*e+s]*t[l*i+c]}return r}function tG(n,t,e){var r=$l(n,t,e),i=r[e-1];return r.map(function(o){return o/i})}function nG(n,t){return $l(n,[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1],4)}function rG(n,t){return $l(n,[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1],4)}function iG(n,t){return $l(n,oG(t,4))}function xf(n,t){var e=t[0],r=e===void 0?1:e,i=t[1],o=i===void 0?1:i,s=t[2],l=s===void 0?1:s;return $l(n,[r,0,0,0,0,o,0,0,0,0,l,0,0,0,0,1],4)}function Km(n,t){var e=t[0],r=e===void 0?0:e,i=t[1],o=i===void 0?0:i,s=t[2],l=s===void 0?0:s;return $l(n,[1,0,0,0,0,1,0,0,0,0,1,0,r,o,l,1],4)}function Ny(n,t){return $l(n,t,4)}function oG(n,t){var e=Math.cos(n),r=Math.sin(n),i=kM(t);return i[0]=e,i[1]=r,i[t]=-r,i[t+1]=e,i}function kM(n){for(var t=n*n,e=[],r=0;r<t;++r)e[r]=r%(n+1)?0:1;return e}var lu=function(){return lu=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},lu.apply(this,arguments)};function Zw(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function sG(n,t){return t===void 0&&(t=0),aG(cG(n,t))}function Wm(n,t){var e=tG(n,[t[0],t[1]||0,t[2]||0,1],4),r=e[3]||1;return[e[0]/r,e[1]/r,e[2]/r]}function lG(n,t){t===void 0&&(t=document.body);for(var e=n,r=Zw();e;){var i=getComputedStyle(e).transform;if(r=Ny(sG(i),r),e===t)break;e=e.parentElement}return r=eG(r,4),r[12]=0,r[13]=0,r[14]=0,r}function aG(n){var t=Zw();return n.forEach(function(e){var r=e.matrixFunction,i=e.functionValue;r&&(t=r(t,i))}),t}function cG(n,t){t===void 0&&(t=0);var e=Th(n)?n:d7(n);return e.map(function(r){var i=f7(r),o=i.prefix,s=i.value,l=null,c=o,u="";if(o==="translate"||o==="translateX"||o==="translate3d"){var d=Ls(t)?lu(lu({},t),{"o%":t["%"]}):{"%":t,"o%":t},h=Gc(s).map(function(j,K){return K===0&&"x%"in d?d["%"]=t["x%"]:K===1&&"y%"in d?d["%"]=t["y%"]:d["%"]=t["o%"],Ck(j,d)}),g=h[0],p=h[1],m=p===void 0?0:p,y=h[2],w=y===void 0?0:y;l=Km,u=[g,m,w]}else if(o==="translateY"){var v=Ls(t)?lu({"%":t["y%"]},t):{"%":t},m=Ck(s,v);l=Km,u=[0,m,0]}else if(o==="translateZ"){var w=parseFloat(s);l=Km,u=[0,0,w]}else if(o==="scale"||o==="scale3d"){var C=Gc(s).map(function(j){return parseFloat(j)}),x=C[0],_=C[1],N=_===void 0?x:_,T=C[2],k=T===void 0?1:T;l=xf,u=[x,N,k]}else if(o==="scaleX"){var x=parseFloat(s);l=xf,u=[x,1,1]}else if(o==="scaleY"){var N=parseFloat(s);l=xf,u=[1,N,1]}else if(o==="scaleZ"){var k=parseFloat(s);l=xf,u=[1,1,k]}else if(o==="rotate"||o==="rotateZ"||o==="rotateX"||o==="rotateY"){var M=_h(s),I=M.unit,R=M.value,B=I==="rad"?R:R*Math.PI/180;o==="rotate"||o==="rotateZ"?(c="rotateZ",l=iG):o==="rotateX"?l=nG:o==="rotateY"&&(l=rG),u=B}else if(o==="matrix3d")l=Ny,u=Gc(s).map(function(j){return parseFloat(j)});else if(o==="matrix"){var U=Gc(s).map(function(j){return parseFloat(j)});l=Ny,u=[U[0],U[1],0,0,U[2],U[3],0,0,0,0,1,0,U[4],U[5],0,1]}else c="";return{name:o,functionName:c,value:s,matrixFunction:l,functionValue:u}})}function uG(n){for(var t=5381,e=n.length;e;)t=t*33^n.charCodeAt(--e);return t>>>0}var dG=uG;function fG(n){return dG(n).toString(36)}function hG(n){if(n&&n.getRootNode){var t=n.getRootNode();if(t.nodeType===11)return t}}function gG(n,t,e){return e.original?t:t.replace(/([^};{\s}][^};{]*|^\s*){/mg,function(r,i){var o=i.trim();return(o?Gc(o):[""]).map(function(s){var l=s.trim();return l.indexOf("@")===0?l:l.indexOf(":global")>-1?l.replace(/\:global/g,""):l.indexOf(":host")>-1?"".concat(l.replace(/\:host/g,".".concat(n))):l?".".concat(n," ").concat(l):".".concat(n)}).join(", ")+" {"})}function pG(n,t,e,r,i){var o=Ao(r),s=o.createElement("style");return s.setAttribute("type","text/css"),s.setAttribute("data-styled-id",n),s.setAttribute("data-styled-count","1"),e.nonce&&s.setAttribute("nonce",e.nonce),s.innerHTML=gG(n,t,e),(i||o.head||o.body).appendChild(s),s}function mG(n){var t="rCS"+fG(n);return{className:t,inject:function(e,r){r===void 0&&(r={});var i=hG(e),o=(i||e.ownerDocument||document).querySelector('style[data-styled-id="'.concat(t,'"]'));if(!o)o=pG(t,n,r,e,i);else{var s=parseFloat(o.getAttribute("data-styled-count"))||0;o.setAttribute("data-styled-count","".concat(s+1))}return{destroy:function(){var l,c=parseFloat(o.getAttribute("data-styled-count"))||0;c<=1?(o.remove?o.remove():(l=o.parentNode)===null||l===void 0||l.removeChild(o),o=null):o.setAttribute("data-styled-count","".concat(c-1))}}}}}var Iy=function(n,t){return Iy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},Iy(n,t)};function TM(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Iy(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var fn=function(){return fn=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},fn.apply(this,arguments)};function AG(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]]);return e}function yG(n,t,e,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,t,e,r);else for(var l=n.length-1;l>=0;l--)(s=n[l])&&(o=(i<3?s(o):i>3?s(t,e,o):s(t,e))||o);return i>3&&o&&Object.defineProperty(t,e,o),o}function au(n,t,e){for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return n.concat(o||Array.prototype.slice.call(t))}function bG(n){if("touches"in n){var t=n.touches[0]||n.changedTouches[0];return{clientX:t.clientX,clientY:t.clientY}}else return{clientX:n.clientX,clientY:n.clientY}}function wG(n){if(typeof Map>"u")return n.filter(function(e,r){return n.indexOf(e)===r});var t=new Map;return n.filter(function(e){return t.has(e)?!1:(t.set(e,!0),!0)})}function CG(n,t,e){var r=Ao(n);return r.elementFromPoint&&r.elementFromPoint(t,e)||null}function _M(n,t,e){var r=n.tag,i=n.children,o=n.attributes,s=n.className,l=n.style,c=t||Ao(e).createElement(r);for(var u in o)c.setAttribute(u,o[u]);var d=c.children;if(i.forEach(function(g,p){_M(g,d[p],c)}),s&&s.split(/\s+/g).forEach(function(g){g&&!A7(c,g)&&y7(c,g)}),l){var h=c.style;for(var u in l)h[u]=l[u]}return!t&&e&&e.appendChild(c),c}function vG(n,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];var i=t||{},o=i.className,s=o===void 0?"":o,l=i.style,c=l===void 0?{}:l,u=AG(i,["className","style"]);return{tag:n,className:s,style:c,attributes:u,children:e}}function Hm(n,t,e){n!==t&&e(n,t)}function Ok(n,t,e){var r;e===void 0&&(e=n.data.boundArea);var i=n.distX,o=i===void 0?0:i,s=n.distY,l=s===void 0?0:s,c=n.data,u=c.startX,d=c.startY;if(t>0){var h=Math.sqrt((o*o+l*l)/(1+t*t)),g=t*h;o=(o>=0?1:-1)*g,l=(l>=0?1:-1)*h}var p=Math.abs(o),m=Math.abs(l),y=o<0?u-e.left:e.right-u,w=l<0?d-e.top:e.bottom-d;r=h7([p,m],[0,0],[y,w],!!t),p=r[0],m=r[1],o=(o>=0?1:-1)*p,l=(l>=0?1:-1)*m;var v=Math.min(0,o),C=Math.min(0,l),x=u+v,_=d+C;return{left:x,top:_,right:x+p,bottom:_+m,width:p,height:m}}function Sf(n){var t=n.getBoundingClientRect(),e=t.left,r=t.top,i=t.width,o=t.height;return{pos1:[e,r],pos2:[e+i,r],pos3:[e,r+o],pos4:[e+i,r+o]}}function Rk(n,t,e){var r=Jc(n,t),i=r.list,o=r.prevList,s=r.added,l=r.removed,c=r.maintained;return au(au(au([],s.map(function(u){return i[u]}),!0),l.map(function(u){return o[u]}),!0),e?c.map(function(u){var d=u[1];return i[d]}):[])}function Pk(n){for(var t=0,e=n.length,r=1;r<e;++r)t=Math.max(vy(n[r],n[r-1]),t);return t}var NM=mG(`
157
- :host {
158
- position: fixed;
159
- display: none;
160
- border: 1px solid #4af;
161
- background: rgba(68, 170, 255, 0.5);
162
- pointer-events: none;
163
- will-change: transform;
164
- z-index: 100;
165
- }
166
- `),My="selecto-selection ".concat(NM.className),Gw=["className","boundContainer","selectableTargets","selectByClick","selectFromInside","continueSelect","continueSelectWithoutDeselect","toggleContinueSelect","toggleContinueSelectWithoutDeselect","keyContainer","hitRate","scrollOptions","checkInput","preventDefault","ratio","getElementRect","preventDragFromInside","rootContainer","dragCondition","clickBySelectEnd","checkOverflow","innerScrollOptions"],xG=au(["dragContainer","cspNonce","preventClickEventOnDrag","preventClickEventOnDragStart","preventRightClick"],Gw),IM=["dragStart","drag","dragEnd","selectStart","select","selectEnd","keydown","keyup","scroll","innerScroll"],SG=["clickTarget","getSelectableElements","setSelectedTargets","getElementPoints","getSelectedTargets","findSelectableTargets","triggerDragStart","checkScroll","selectTargetsByPoints","setSelectedTargetsByPoints"],EG=(function(n){TM(t,n);function t(r){r===void 0&&(r={});var i=n.call(this)||this;i.selectedTargets=[],i.dragScroll=new z7,i._onDragStart=function(l,c){var u=l.data,d=l.clientX,h=l.clientY,g=l.inputEvent,p=i.options,m=p.selectFromInside,y=p.selectByClick,w=p.rootContainer,v=p.boundContainer,C=p.preventDragFromInside,x=C===void 0?!0:C,_=p.clickBySelectEnd,N=p.dragCondition;if(N&&!N(l)){l.stop();return}u.data={};var T=il(i.container);u.innerWidth=T.innerWidth,u.innerHeight=T.innerHeight,i.findSelectableTargets(u),u.startSelectedTargets=i.selectedTargets,u.scaleMatrix=Zw(),u.containerX=0,u.containerY=0;var k=i.container,M={left:-1/0,top:-1/0,right:1/0,bottom:1/0};if(w){var I=i.container.getBoundingClientRect();u.containerX=I.left,u.containerY=I.top,u.scaleMatrix=lG(i.container,w)}if(v){var R=Ls(v)&&"element"in v?fn({left:!0,top:!0,bottom:!0,right:!0},v):{element:v,left:!0,top:!0,bottom:!0,right:!0},B=R.element,U=void 0;if(B){Lu(B)?U=Ao(k).querySelector(B):B===!0?U=i.container:U=B;var j=U.getBoundingClientRect();R.left&&(M.left=j.left),R.top&&(M.top=j.top),R.right&&(M.right=j.right),R.bottom&&(M.bottom=j.bottom)}}u.boundArea=M;var K={left:d,top:h,right:d,bottom:h,width:0,height:0},V=[],ue=y&&!_,fe=!1;if(!m||ue){var ie=i._findElement(c||g.target,u.selectableTargets);fe=!!ie,ue&&(V=ie?[ie]:[])}var le=!m&&fe;if(le&&!y)return l.stop(),!1;var te=g.type,H=te==="mousedown"||te==="touchstart",W=!l.isClick&&H?i.emit("dragStart",fn(fn({},l),{data:u.data})):!0;if(!W)return l.stop(),!1;if(i.continueSelect?(V=Rk(i.selectedTargets,V,i.continueSelectWithoutDeselect),u.startPassedTargets=i.selectedTargets):u.startPassedTargets=[],i._select(V,K,l,!0,le&&y&&!_&&x),u.startX=d,u.startY=h,u.selectFlag=!1,u.preventDragFromInside=!1,g.target){var Q=Wm(u.scaleMatrix,[d-u.containerX,h-u.containerY]);i.target.style.cssText+="position: ".concat(w?"absolute":"fixed",";")+"left:0px;top:0px;"+"transform: translate(".concat(Q[0],"px, ").concat(Q[1],"px)")}if(le&&y&&!_)g.preventDefault(),x&&(i._selectEnd(u.startSelectedTargets,u.startPassedTargets,K,l,!0),u.preventDragFromInside=!0);else{u.selectFlag=!0;var re=i.options,ce=re.scrollOptions,me=re.innerScrollOptions,X=!1;if(me){for(var ne=l.inputEvent,Ae=ne.target,oe=null,pe=Ae;pe&&pe!==Ao(k).body;){var ke=getComputedStyle(pe).overflow!=="visible";if(ke){oe=pe;break}pe=pe.parentElement}oe&&(u.innerScrollOptions=fn({container:oe,checkScrollEvent:!0},me===!0?{}:me),i.dragScroll.dragStart(l,u.innerScrollOptions),X=!0)}!X&&ce&&ce.container&&i.dragScroll.dragStart(l,ce),le&&y&&_&&(u.selectFlag=!1,l.preventDrag())}return!0},i._onDrag=function(l){if(l.data.selectFlag){var c=i.scrollOptions,u=l.data.innerScrollOptions,d=u||(c==null?void 0:c.container);if(d&&!l.isScroll&&i.dragScroll.drag(l,u||c))return}i._checkSelected(l)},i._onDragEnd=function(l){var c=l.data,u=l.inputEvent,d=Ok(l,i.options.ratio),h=c.selectFlag,g=i.container;if(u&&i.emit("dragEnd",fn(fn({isDouble:!!l.isDouble,isClick:!!l.isClick,isDrag:!1,isSelect:h},l),{data:c.data,rect:d})),i.target.style.cssText+="display: none;",h)c.selectFlag=!1,i.dragScroll.dragEnd();else if(i.selectByClick&&i.clickBySelectEnd){var p=i._findElement((u==null?void 0:u.target)||CG(g,l.clientX,l.clientY),c.selectableTargets);i._select(p?[p]:[],d,l)}c.preventDragFromInside||i._selectEnd(c.startSelectedTargets,c.startPassedTargets,d,l)},i._onKeyDown=function(l){var c=i.options,u=!1;if(!i._keydownContinueSelect){var d=i._sameCombiKey(l,c.toggleContinueSelect);i._keydownContinueSelect=d,u||(u=d)}if(!i._keydownContinueSelectWithoutDeselection){var d=i._sameCombiKey(l,c.toggleContinueSelectWithoutDeselect);i._keydownContinueSelectWithoutDeselection=d,u||(u=d)}u&&i.emit("keydown",{keydownContinueSelect:i._keydownContinueSelect,keydownContinueSelectWithoutDeselection:i._keydownContinueSelectWithoutDeselection})},i._onKeyUp=function(l){var c=i.options,u=!1;if(i._keydownContinueSelect){var d=i._sameCombiKey(l,c.toggleContinueSelect,!0);i._keydownContinueSelect=!d,u||(u=d)}if(i._keydownContinueSelectWithoutDeselection){var d=i._sameCombiKey(l,c.toggleContinueSelectWithoutDeselect,!0);i._keydownContinueSelectWithoutDeselection=!d,u||(u=d)}u&&i.emit("keyup",{keydownContinueSelect:i._keydownContinueSelect,keydownContinueSelectWithoutDeselection:i._keydownContinueSelectWithoutDeselection})},i._onBlur=function(){(i._keydownContinueSelect||i._keydownContinueSelectWithoutDeselection)&&(i._keydownContinueSelect=!1,i._keydownContinueSelectWithoutDeselection=!1,i.emit("keyup",{keydownContinueSelect:i._keydownContinueSelect,keydownContinueSelectWithoutDeselection:i._keydownContinueSelectWithoutDeselection}))},i._onDocumentSelectStart=function(l){var c=Ao(i.container);if(i.gesto.isFlag()){var u=i.dragContainer;u===il(i.container)&&(u=c.documentElement);var d=Ek(u)?[u]:[].slice.call(u),h=l.target;d.some(function(g){if(g===h||g.contains(h))return l.preventDefault(),!0})}},i.target=r.portalContainer;var o=r.container;i.options=fn({className:"",portalContainer:null,container:null,dragContainer:null,selectableTargets:[],selectByClick:!0,selectFromInside:!0,clickBySelectEnd:!1,hitRate:100,continueSelect:!1,continueSelectWithoutDeselect:!1,toggleContinueSelect:null,toggleContinueSelectWithoutDeselect:null,keyContainer:null,scrollOptions:null,checkInput:!1,preventDefault:!1,boundContainer:!1,preventDragFromInside:!0,dragCondition:null,rootContainer:null,checkOverflow:!1,innerScrollOptions:!1,getElementRect:Sf,cspNonce:"",ratio:0},r);var s=i.options.portalContainer;return s&&(o=s.parentElement),i.container=o||document.body,i.initElement(),i.initDragScroll(),i.setKeyController(),i}var e=t.prototype;return e.setSelectedTargets=function(r){var i=this.selectedTargets,o=Jc(i,r),s=o.added,l=o.removed,c=o.prevList,u=o.list;return this.selectedTargets=r,{added:s.map(function(d){return u[d]}),removed:l.map(function(d){return c[d]}),beforeSelected:i,selected:r}},e.setSelectedTargetsByPoints=function(r,i){var o=Math.min(r[0],i[0]),s=Math.min(r[1],i[1]),l=Math.max(r[0],i[0]),c=Math.max(r[1],i[1]),u={left:o,top:s,right:l,bottom:c,width:l-o,height:c-s},d={ignoreClick:!0};this.findSelectableTargets(d);var h=this.hitTest(u,d,!0,null),g=this.setSelectedTargets(h);return fn(fn({},g),{rect:u})},e.selectTargetsByPoints=function(r,i){var o=new MouseEvent("mousedown",{clientX:r[0],clientY:r[1],cancelable:!0,bubbles:!0}),s=new MouseEvent("mousemove",{clientX:i[0],clientY:i[1],cancelable:!0,bubbles:!0}),l=new MouseEvent("mousemove",{clientX:i[0],clientY:i[1],cancelable:!0,bubbles:!0}),c=this.gesto,u=c.onDragStart(o);u!==!1&&(c.onDrag(s),c.onDragEnd(l))},e.getSelectedTargets=function(){return this.selectedTargets},e.triggerDragStart=function(r){return this.gesto.triggerDragStart(r),this},e.destroy=function(){var r;this.off(),this.keycon&&this.keycon.destroy(),this.gesto.unset(),this.injectResult.destroy(),this.dragScroll.dragEnd(),on(document,"selectstart",this._onDocumentSelectStart),this.options.portalContainer||(r=this.target.parentElement)===null||r===void 0||r.removeChild(this.target),this.keycon=null,this.gesto=null,this.injectResult=null,this.target=null,this.container=null,this.options=null},e.getElementPoints=function(r){var i=this.getElementRect||Sf,o=i(r),s=[o.pos1,o.pos2,o.pos4,o.pos3];if(i!==Sf){var l=r.getBoundingClientRect();return Q7(s,l)}return s},e.getSelectableElements=function(){var r=this.container,i=[];return this.options.selectableTargets.forEach(function(o){if(Ww(o)){var s=o();s&&i.push.apply(i,[].slice.call(s))}else if(Ek(o))i.push(o);else if(Ls(o))i.push(o.value||o.current);else{var l=[].slice.call(Ao(r).querySelectorAll(o));i.push.apply(i,l)}}),i},e.checkScroll=function(){if(this.gesto.isFlag()){var r=this.scrollOptions,i=this.gesto.getEventData().innerScrollOptions,o=i||(r==null?void 0:r.container);o&&this.dragScroll.checkScroll(fn({inputEvent:this.gesto.getCurrentEvent()},i||r))}},e.findSelectableTargets=function(r){var i=this;r===void 0&&(r=this.gesto.getEventData());var o=this.getSelectableElements(),s=o.map(function(h){return i.getElementPoints(h)});r.selectableTargets=o,r.selectablePoints=s,r.selectableParentMap=null;var l=this.options,c=l.checkOverflow||l.innerScrollOptions,u=Ao(this.container);if(c){var d=new Map;r.selectableInnerScrollParentMap=d,r.selectableInnerScrollPathsList=o.map(function(h,g){for(var p=h.parentElement,m=[],y=[],w=function(){var v=d.get(p);if(!v){var C=getComputedStyle(p).overflow!=="visible";if(C){var x=Sf(p);v={parentElement:p,indexes:[],points:[x.pos1,x.pos2,x.pos4,x.pos3],paths:au([],y)},m.push(p),m.forEach(function(_){d.set(_,v)}),m=[]}}v?(p=v.parentElement,d.get(p).indexes.push(g),y.push(p)):m.push(p),p=p.parentElement};p&&p!==u.body;)w();return y})}return l.checkOverflow||(r.selectableInners=o.map(function(){return!0})),this._refreshGroups(r),o},e.clickTarget=function(r,i){var o=bG(r),s=o.clientX,l=o.clientY,c={data:{selectFlag:!1},clientX:s,clientY:l,inputEvent:r,isClick:!0,isTrusted:!1,stop:function(){return!1}};return this._onDragStart(c,i)&&this._onDragEnd(c),this},e.setKeyController=function(){var r=this.options,i=r.keyContainer,o=r.toggleContinueSelect,s=r.toggleContinueSelectWithoutDeselect;this.keycon&&(this.keycon.destroy(),this.keycon=null),(o||s)&&(this.keycon=new Y7(i||il(this.container)),this.keycon.keydown(this._onKeyDown).keyup(this._onKeyUp).on("blur",this._onBlur))},e.setClassName=function(r){this.options.className=r,this.target.setAttribute("class","".concat(My," ").concat(r||""))},e.setKeyEvent=function(){var r=this.options,i=r.toggleContinueSelect,o=r.toggleContinueSelectWithoutDeselect;!i&&!o||this.keycon||this.setKeyController()},e.setKeyContainer=function(r){var i=this,o=this.options;Hm(o.keyContainer,r,function(){o.keyContainer=r,i.setKeyController()})},e.getContinueSelect=function(){var r=this.options,i=r.continueSelect,o=r.toggleContinueSelect;return!o||!this._keydownContinueSelect?i:!i},e.getContinueSelectWithoutDeselect=function(){var r=this.options,i=r.continueSelectWithoutDeselect,o=r.toggleContinueSelectWithoutDeselect;return!o||!this._keydownContinueSelectWithoutDeselection?i:!i},e.setToggleContinueSelect=function(r){var i=this,o=this.options;Hm(o.toggleContinueSelect,r,function(){o.toggleContinueSelect=r,i.setKeyEvent()})},e.setToggleContinueSelectWithoutDeselect=function(r){var i=this,o=this.options;Hm(o.toggleContinueSelectWithoutDeselect,r,function(){o.toggleContinueSelectWithoutDeselect=r,i.setKeyEvent()})},e.setPreventDefault=function(r){this.gesto.options.preventDefault=r},e.setCheckInput=function(r){this.gesto.options.checkInput=r},e.initElement=function(){var r=this.options,i=r.dragContainer,o=r.checkInput,s=r.preventDefault,l=r.preventClickEventOnDragStart,c=r.preventClickEventOnDrag,u=r.preventClickEventByCondition,d=r.preventRightClick,h=d===void 0?!0:d,g=r.className,p=this.container;this.target=_M(vG("div",{className:"".concat(My," ").concat(g||"")}),this.target,p);var m=this.target;this.dragContainer=typeof i=="string"?[].slice.call(Ao(p).querySelectorAll(i)):i||this.target.parentNode,this.gesto=new k7(this.dragContainer,{checkWindowBlur:!0,container:il(p),checkInput:o,preventDefault:s,preventClickEventOnDragStart:l,preventClickEventOnDrag:c,preventClickEventByCondition:u,preventRightClick:h}).on({dragStart:this._onDragStart,drag:this._onDrag,dragEnd:this._onDragEnd}),hn(document,"selectstart",this._onDocumentSelectStart),this.injectResult=NM.inject(m,{nonce:this.options.cspNonce})},e.hitTest=function(r,i,o,s){var l=this.options,c=l.hitRate,u=l.selectByClick,d=r.left,h=r.top,g=r.right,p=r.bottom,m=i.innerGroups,y=i.innerWidth,w=i.innerHeight,v=s==null?void 0:s.clientX,C=s==null?void 0:s.clientY,x=i.ignoreClick,_=[[d,h],[g,h],[g,p],[d,p]],N=function(ie,le){var te=_h(typeof c=="function"?"".concat(c(le)):"".concat(c)),H=x?!1:Ty([v,C],ie);if(!o&&u&&H)return!0;var W=Lk(_,ie);if(!W.length)return!1;var Q=Um(W),re=0;if(Q===0&&Um(ie)===0?(re=Pk(ie),Q=Pk(W)):re=Um(ie),te.unit==="px")return Q>=te.value;var ce=bM(Math.round(Q/re*100),0,100);return ce>=Math.min(100,te.value)},T=i.selectableTargets,k=i.selectablePoints,M=i.selectableInners;if(!m)return T.filter(function(ie,le){return M[le]?N(k[le],T[le]):!1});for(var I=[],R=Math.floor(d/y),B=Math.floor(g/y),U=Math.floor(h/w),j=Math.floor(p/w),K=R;K<=B;++K){var V=m[K];if(V)for(var ue=U;ue<=j;++ue){var fe=V[ue];fe&&fe.forEach(function(ie){var le=k[ie],te=M[ie],H=T[ie];te&&N(le,H)&&I.push(H)})}}return wG(I)},e.initDragScroll=function(){var r=this;this.dragScroll.on("scrollDrag",function(i){var o=i.next;o(r.gesto.getCurrentEvent())}).on("scroll",function(i){var o=i.container,s=i.direction,l=r.gesto.getEventData().innerScrollOptions;l?r.emit("innerScroll",{container:o,direction:s}):r.emit("scroll",{container:o,direction:s})}).on("move",function(i){var o=i.offsetX,s=i.offsetY,l=i.inputEvent,c=r.gesto;if(!(!c||!c.isFlag())){var u=r.gesto.getEventData(),d=u.boundArea;u.startX-=o,u.startY-=s;var h=r.gesto.getEventData().innerScrollOptions,g=h==null?void 0:h.container,p=!1;if(g){var m=u.selectableInnerScrollParentMap,y=m.get(g);y&&(y.paths.forEach(function(w){var v=m.get(w);v.points.forEach(function(C){C[0]-=o,C[1]-=s})}),y.indexes.forEach(function(w){u.selectablePoints[w].forEach(function(v){v[0]-=o,v[1]-=s})}),p=!0)}p||u.selectablePoints.forEach(function(w){w.forEach(function(v){v[0]-=o,v[1]-=s})}),r._refreshGroups(u),d.left-=o,d.right-=o,d.top-=s,d.bottom-=s,r.gesto.scrollBy(o,s,l.inputEvent),r._checkSelected(r.gesto.getCurrentEvent())}})},e._select=function(r,i,o,s,l){l===void 0&&(l=!1);var c=o.inputEvent,u=o.data,d=this.setSelectedTargets(r),h=Jc(u.startSelectedTargets,r),g=h.added,p=h.removed,m=h.prevList,y=h.list,w={startSelected:m,startAdded:g.map(function(v){return y[v]}),startRemoved:p.map(function(v){return m[v]})};s&&this.emit("selectStart",fn(fn(fn({},d),w),{rect:i,inputEvent:c,data:u.data,isTrusted:o.isTrusted,isDragStartEnd:l})),(d.added.length||d.removed.length)&&this.emit("select",fn(fn(fn({},d),w),{rect:i,inputEvent:c,data:u.data,isTrusted:o.isTrusted,isDragStartEnd:l}))},e._selectEnd=function(r,i,o,s,l){l===void 0&&(l=!1);var c=s.inputEvent,u=s.isDouble,d=s.data,h=c&&c.type,g=h==="mousedown"||h==="touchstart",p=Jc(r,this.selectedTargets),m=p.added,y=p.removed,w=p.prevList,v=p.list,C=Jc(i,this.selectedTargets),x=C.added,_=C.removed,N=C.prevList,T=C.list;this.emit("selectEnd",{startSelected:r,beforeSelected:i,selected:this.selectedTargets,added:m.map(function(k){return v[k]}),removed:y.map(function(k){return w[k]}),afterAdded:x.map(function(k){return T[k]}),afterRemoved:_.map(function(k){return N[k]}),isDragStart:g&&l,isDragStartEnd:g&&l,isClick:!!s.isClick,isDouble:!!u,rect:o,inputEvent:c,data:d.data,isTrusted:s.isTrusted})},e._checkSelected=function(r,i){i===void 0&&(i=Ok(r,this.options.ratio));var o=r.data,s=i.top,l=i.left,c=i.width,u=i.height,d=o.selectFlag,h=o.containerX,g=o.containerY,p=o.scaleMatrix,m=Wm(p,[l-h,s-g]),y=Wm(p,[c,u]),w=[];if(d){this.target.style.cssText+="display: block;left:0px;top:0px;"+"transform: translate(".concat(m[0],"px, ").concat(m[1],"px);")+"width:".concat(y[0],"px;height:").concat(y[1],"px;");var v=this.hitTest(i,o,!0,r);w=Rk(o.startPassedTargets,v,this.continueSelect&&this.continueSelectWithoutDeselect)}var C=this.emit("drag",fn(fn({},r),{data:o.data,isSelect:d,rect:i}));if(C===!1){this.target.style.cssText+="display: none;",r.stop();return}d&&this._select(w,i,r)},e._sameCombiKey=function(r,i,o){if(!i)return!1;var s=vM(r.inputEvent,r.key),l=[].concat(i),c=Th(l[0])?l:[l];if(o){var u=r.key;return c.some(function(d){return d.some(function(h){return h===u})})}return c.some(function(d){return d.every(function(h){return s.indexOf(h)>-1})})},e._findElement=function(r,i){for(var o=r;o&&!(i.indexOf(o)>-1);)o=o.parentElement;return o},e._refreshGroups=function(r){var i,o=r.innerWidth,s=r.innerHeight,l=r.selectablePoints;if(this.options.checkOverflow){var c=(i=this.gesto.getEventData().innerScrollOptions)===null||i===void 0?void 0:i.container,u=r.selectableInnerScrollParentMap,d=r.selectableInnerScrollPathsList;r.selectableInners=d.map(function(p,m){var y=!1;return p.every(function(w){if(y)return!0;if(w===c)return y=!0,!0;var v=u.get(w);if(v){var C=l[m],x=v.points,_=Lk(C,x);if(!_.length)return!1}return!0})})}if(!o||!s)r.innerGroups=null;else{var h=r.selectablePoints,g={};h.forEach(function(p,m){var y=1/0,w=-1/0,v=1/0,C=-1/0;p.forEach(function(N){var T=Math.floor(N[0]/o),k=Math.floor(N[1]/s);y=Math.min(T,y),w=Math.max(T,w),v=Math.min(k,v),C=Math.max(k,C)});for(var x=y;x<=w;++x)for(var _=v;_<=C;++_)g[x]=g[x]||{},g[x][_]=g[x][_]||[],g[x][_].push(m)}),r.innerGroups=g}},t=yG([_7(Gw,function(r,i){var o={enumerable:!0,configurable:!0,get:function(){return this.options[i]}},s=wy("get ".concat(i));r[s]?o.get=function(){return this[s]()}:o.get=function(){return this.options[i]};var l=wy("set ".concat(i));r[l]?o.set=function(c){this[l](c)}:o.set=function(c){this.options[i]=c},Object.defineProperty(r,i,o)})],t),t})(Dg),kG=(function(n){TM(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t})(EG),Dy=function(n,t){return Dy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},Dy(n,t)};function TG(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Dy(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Mh=function(){return Mh=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Mh.apply(this,arguments)};function _G(n,t,e,r){var i=arguments.length,o=i<3?t:r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,t,e,r);else for(var l=n.length-1;l>=0;l--)(s=n[l])&&(o=(i<3?s(o):i>3?s(t,e,o):s(t,e))||o);return i>3&&o&&Object.defineProperty(t,e,o),o}var Bk=IM.map(function(n){return wy("on ".concat(n))}),NG=(function(n){TG(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}var e=t.prototype;return e.render=function(){return E.createElement("div",{className:My,ref:T7(this,"selectionElement")})},e.componentDidMount=function(){var r=this,i=this.props,o={};xG.forEach(function(s){s in i&&(o[s]=i[s])}),this.selecto=new kG(Mh(Mh({},o),{portalContainer:this.selectionElement})),IM.forEach(function(s,l){r.selecto.on(s,function(c){var u=r.props,d=u[Bk[l]]&&u[Bk[l]](c);d===!1&&c.stop()})})},e.componentDidUpdate=function(r){var i=this.props,o=this.selecto;Gw.forEach(function(s){r[s]!==i[s]&&(o[s]=i[s])})},e.componentWillUnmount=function(){this.selecto.destroy()},_G([N7(SG)],t.prototype,"selecto",void 0),t})(E.PureComponent);const IG=({editor:n})=>{const t=E.useRef(null),[e,r]=E.useState({depth:0,targets:JA});return E.useEffect(()=>{const i=()=>{var o;return(o=t.current)==null?void 0:o.checkScroll()};return window.addEventListener("scroll",i),()=>{window.removeEventListener("scroll",i)}},[n]),E.useEffect(()=>{let i=null;const o=()=>{i=tt(n.registerCommand(ec,()=>{var h;const c=((h=t.current)==null?void 0:h.getSelectedTargets())||[],{hasSelectedBlock:u,selectedAllDocument:d}=nl();if(u)c.forEach(g=>Ql(g));else if(d){const g=document.querySelector("div.ContentEditable__root");g==null||g.classList.remove("selected-all-document")}return!1},Ai),n.registerCommand(Pl,c=>{const{hasSelectedBlock:u,selectedAllDocument:d}=nl();if(s8(n,c,t.current))return!0;const g=c.ctrlKey||c.metaKey||c.altKey;return c.key.length===1&&!g&&n.update(()=>{var w;const m=Ee(),y=Ro();if(m.append(y),u)(((w=t.current)==null?void 0:w.getSelectedTargets())||[]).forEach((C,x)=>{const _=Fe(C);_&&(x===0?_.replace(m).selectEnd():_.remove())});else if(d){const v=document.querySelector("div.ContentEditable__root");v==null||v.classList.remove("selected-all-document");const C=Re();C.clear(),C.append(m).selectEnd()}},{tag:"historic"}),!1},Ne),n.registerCommand(Ru,()=>{const{selectedAllDocument:c}=nl();if(c){const u=document.querySelector("div.ContentEditable__root");u==null||u.classList.remove("selected-all-document")}return!1},Ai))},s=n.registerUpdateListener(()=>{const{hasSelectedBlock:c,selectedAllDocument:u}=nl(),d=c||u;d&&!i?o():!d&&i&&(i(),i=null)}),l=c=>{const u=c.target,d=t.current;if(!d)return;const h=u.closest(".resizable-container__inner")||u.closest("iframe");h instanceof HTMLElement&&(h.classList.contains("selected-block")||(h.classList.add("selected-block"),d.setSelectedTargets([h]),setTimeout(()=>{var g,p;(p=(g=d.props).onSelectEnd)==null||p.call(g,n)},100)))};return document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l),i&&i(),s()}},[n]),A.jsx(NG,{ref:t,className:"editor-selecto",dragContainer:".editor",selectableTargets:e.targets,selectByClick:!1,selectFromInside:!1,checkInput:!0,toggleContinueSelect:"shift",toggleContinueSelectWithoutDeselect:[["ctrl"],["meta"]],ratio:0,hitRate:0,onDragStart:i=>{i.inputEvent.target.className!=="editor"&&i.stop()},onSelectEnd:()=>{KN(n),r({targets:JA,depth:0})},onSelect:i=>a8(i,n,e,r,t.current),scrollOptions:l8,onScroll:i=>{document.documentElement.scrollBy(i.direction[0]*10,i.direction[1]*10)}})},Ym=8,Zm=72,Ly=15,MG={bgColor:"#fff",blockType:"paragraph",canRedo:!1,canUndo:!1,codeLanguage:"",codeTheme:"",elementFormat:"left",fontColor:"#000",fontFamily:"Arial",fontSize:`${Ly}px`,fontSizeInputValue:`${Ly}`,isBold:!1,isCode:!1,isHighlight:!1,isImageCaption:!1,isItalic:!1,isLink:!1,isRTL:!1,isStrikethrough:!1,isSubscript:!1,isSuperscript:!1,isUnderline:!1,isLowercase:!0,isUppercase:!0,isCapitalize:!0,rootType:"root",listStartNumber:null},MM=E.createContext(void 0),DG=({children:n})=>{const[t,e]=E.useState(MG),r=t.fontSize,i=E.useCallback((s,l)=>{e(c=>({...c,[s]:l}))},[]);E.useEffect(()=>{i("fontSizeInputValue",r.slice(0,-2))},[r,i]);const o=E.useMemo(()=>({toolbarState:t,updateToolbarState:i}),[t,i]);return A.jsx(MM.Provider,{value:o,children:n})},LG=()=>{const n=E.useContext(MM);if(n===void 0)throw new Error("useToolbarState must be used within a ToolbarProvider");return n},un={ctrlKey:!xx,metaKey:xx};function OG(n){const{code:t}=n;return(t==="Numpad0"||t==="Digit0")&&Ut(n,{...un,altKey:!0})}function RG(n){const{code:t}=n;if(!t)return!1;const e=t[t.length-1];return["1","2","3"].includes(e)&&Ut(n,{...un,altKey:!0})}function PG(n){const{code:t}=n;return(t==="Numpad7"||t==="Digit7")&&Ut(n,{...un,shiftKey:!0})}function BG(n){const{code:t}=n;return(t==="Numpad8"||t==="Digit8")&&Ut(n,{...un,shiftKey:!0})}function FG(n){const{code:t}=n;return(t==="Numpad9"||t==="Digit9")&&Ut(n,{...un,shiftKey:!0})}function jG(n){const{code:t}=n;return t==="KeyC"&&Ut(n,{...un,altKey:!0})}function zG(n){const{code:t}=n;return t==="KeyQ"&&Ut(n,{ctrlKey:!0,shiftKey:!0})}function UG(n){const{code:t}=n;return(t==="Numpad1"||t==="Digit1")&&Ut(n,{ctrlKey:!0,shiftKey:!0})}function KG(n){const{code:t}=n;return(t==="Numpad2"||t==="Digit2")&&Ut(n,{ctrlKey:!0,shiftKey:!0})}function WG(n){const{code:t}=n;return(t==="Numpad3"||t==="Digit3")&&Ut(n,{ctrlKey:!0,shiftKey:!0})}function HG(n){const{code:t}=n;return t==="KeyX"&&Ut(n,{...un,shiftKey:!0})}function YG(n){const{code:t}=n;return t==="BracketRight"&&Ut(n,un)}function ZG(n){const{code:t}=n;return t==="BracketLeft"&&Ut(n,un)}function GG(n){const{code:t}=n;return t==="KeyE"&&Ut(n,{...un,shiftKey:!0})}function JG(n){const{code:t}=n;return t==="KeyL"&&Ut(n,{...un,shiftKey:!0})}function QG(n){const{code:t}=n;return t==="KeyR"&&Ut(n,{...un,shiftKey:!0})}function VG(n){const{code:t}=n;return t==="KeyJ"&&Ut(n,{...un,shiftKey:!0})}function XG(n){const{code:t}=n;return t==="Comma"&&Ut(n,un)}function qG(n){const{code:t}=n;return t==="Period"&&Ut(n,un)}function $G(n){const{code:t}=n;return t==="KeyC"&&Ut(n,{...un,shiftKey:!0})}function eJ(n){const{code:t}=n;return t==="Period"&&Ut(n,{...un,shiftKey:!0})}function tJ(n){const{code:t}=n;return t==="Comma"&&Ut(n,{...un,shiftKey:!0})}function nJ(n){const{code:t}=n;return t==="Backslash"&&Ut(n,un)}function rJ(n){const{code:t}=n;return t==="KeyK"&&Ut(n,un)}function iJ(n){const{code:t}=n;return t==="KeyM"&&Ut(n,{...un,altKey:!0})}var Oy=(n=>(n[n.increment=1]="increment",n[n.decrement=2]="decrement",n))(Oy||{});const DM=(n,t)=>{if(!t)return n;let e=n;switch(t){case 2:switch(!0){case n>Zm:e=Zm;break;case n>=48:e-=12;break;case n>=24:e-=4;break;case n>=14:e-=2;break;case n>=9:e-=1;break;default:e=Ym;break}break;case 1:switch(!0){case n<Ym:e=Ym;break;case n<12:e+=1;break;case n<20:e+=2;break;case n<36:e+=4;break;case n<=60:e+=12;break;default:e=Zm;break}break}return e},Fk=(n,t,e)=>{const r=i=>(i||(i=`${Ly}px`),i=i.slice(0,-2),`${DM(Number(i),e)}px`);n.update(()=>{if(n.isEditable()){const i=J();i!==null&&$f(i,{"font-size":t||r})}})},jk=(n,t,e)=>{if(e!==""){const r=DM(Number(e),t);Fk(n,String(r)+"px",null)}else Fk(n,null,t)},Lg=n=>{n.update(()=>{const t=J();vl(t,()=>Ee())})},oJ=(n,t,e)=>{t!==e&&n.update(()=>{const r=J();vl(r,()=>xo(e))})},sJ=(n,t)=>{t!=="bullet"?n.dispatchCommand(qb,void 0):Lg(n)},lJ=(n,t)=>{t!=="check"?n.dispatchCommand($b,void 0):Lg(n)},aJ=(n,t)=>{t!=="number"?n.dispatchCommand(fg,void 0):Lg(n)},cJ=(n,t)=>{t!=="quote"&&n.update(()=>{const e=J();vl(e,()=>qu())})},uJ=(n,t)=>{t!=="code"&&n.update(()=>{let e=J();if(e)if(!Y(e)||e.isCollapsed())vl(e,()=>Vr());else{const r=e.getTextContent(),i=Vr();e.insertNodes([i]),e=J(),Y(e)&&e.insertRawText(r)}})},dJ=n=>{n.update(()=>{const t=J();if(Y(t)||Rw(t)){const e=t.anchor,r=t.focus,i=t.getNodes(),o=t.extract();if(e.key===r.key&&e.offset===r.offset)return;i.forEach((s,l)=>{if(ae(s)){let c=s;l===0&&e.offset!==0&&(c=c.splitText(e.offset)[1]||c),l===i.length-1&&(c=c.splitText(r.offset)[0]||c);const u=o[0];i.length===1&&ae(u)&&(c=u),c.__style!==""&&c.setStyle(""),c.__format!==0&&c.setFormat(0);const d=oc(c);d.__format!==0&&d.setFormat(""),d.__indent!==0&&d.setIndent(0),s=c}else Ui(s)||_l(s)?s.replace(Ee(),!0):dh(s)&&s.setFormat("")})}})};function fJ({editor:n,setIsLinkEditMode:t}){const{toolbarState:e}=LG();return E.useEffect(()=>{const r=i=>{if(Ut(i,{}))return!1;if(OG(i))Lg(n);else if(RG(i)){const{code:o}=i,s=`h${o[o.length-1]}`;oJ(n,e.blockType,s)}else if(BG(i))sJ(n,e.blockType);else if(PG(i))aJ(n,e.blockType);else if(FG(i))lJ(n,e.blockType);else if(jG(i))uJ(n,e.blockType);else if(zG(i))cJ(n,e.blockType);else if(HG(i))n.dispatchCommand(Mt,"strikethrough");else if(UG(i))console.log("isLowercase"),n.dispatchCommand(Mt,"lowercase");else if(KG(i))console.log("isUppercase"),n.dispatchCommand(Mt,"uppercase");else if(WG(i))n.dispatchCommand(Mt,"capitalize");else if(YG(i))n.dispatchCommand(Bi,void 0);else if(ZG(i))n.dispatchCommand(ls,void 0);else if(GG(i))n.dispatchCommand(as,"center");else if(JG(i))n.dispatchCommand(as,"left");else if(QG(i))n.dispatchCommand(as,"right");else if(VG(i))n.dispatchCommand(as,"justify");else if(XG(i))n.dispatchCommand(Mt,"subscript");else if(qG(i))n.dispatchCommand(Mt,"superscript");else if($G(i))n.dispatchCommand(Mt,"code");else if(eJ(i))jk(n,Oy.increment,e.fontSizeInputValue);else if(tJ(i))jk(n,Oy.decrement,e.fontSizeInputValue);else if(nJ(i))dJ(n);else if(rJ(i)){const o=e.isLink?null:rl("https://");t(!e.isLink),n.dispatchCommand(ys,o)}else if(iJ(i))n.dispatchCommand(zw,void 0);else return!1;return i.preventDefault(),!0};return n.registerCommand(Pl,r,Ai)},[n,e.isLink,e.blockType,e.fontSizeInputValue,t]),null}const hJ=1,gJ=100;let LM=0,zk=!1;function pJ(){window.addEventListener("keydown",n=>{n.key==="Tab"&&(n.preventDefault(),LM=n.timeStamp)},!0)}function mJ(){const[n]=Me();return E.useEffect(()=>(zk||(pJ(),zk=!0),n.registerCommand(Os,t=>{const e=J();return Y(e)&&LM+gJ>t.timeStamp&&Ve(e.clone()),!1},hJ)),[n]),null}function AJ(n,t){const e=n.anchor,r=n.focus,o=(r.isBefore(e)?r:e).getNode(),s=oc(o);if(!t&&s.__prev===null)return!0;s instanceof vn&&!s.__opened&&s.setOpened(!0);const l=c=>{const u=c.getNextSibling(),d=u==null?void 0:u.getFirstChild();(d==null?void 0:d.__type)==="list"&&d.getChildren().forEach(g=>{g instanceof vn&&(l(g),g.setIndent(Math.max(0,g.getIndent()-1)))})};return t&&l(s),!1}function yJ(n){return n.registerCommand(nc,t=>{const e=J();if(!Y(e))return!1;try{if(AJ(e,t.shiftKey))return!1;t.preventDefault();const i=t.shiftKey?ls:Bi;return n.dispatchCommand(i,void 0)}catch{return!1}},Ke)}function bJ(){const[n]=Me();return E.useEffect(()=>yJ(n)),null}function Uk(n){let t=1;for(;n;)t*=Number(window.getComputedStyle(n).getPropertyValue("zoom")),n=n.parentElement;return t}const wJ=33,CJ=50;function vJ({editor:n}){const t=E.useRef(null),e=E.useRef(null),r=E.useRef(null),[i,o]=E.useState(null),[s,l]=E.useState(null),[c,u]=E.useState(!1),[d,h]=E.useState(null),[g,p]=E.useState({right:!1,bottom:!1});E.useEffect(()=>n.registerCommand(Gr,T=>{const k=J(),M=bt(k);return c!==M&&u(M),!1},bo));const m=E.useCallback(()=>{l(null),h(null),r.current=null,e.current=null,p({right:!1,bottom:!1})},[]);E.useEffect(()=>{const T=k=>{setTimeout(()=>{const M=k.target;if(d){o({x:k.clientX,y:k.clientY});return}if(t.current&&t.current.contains(M))return;const I=5;let R=null,B=null,U=1/0,j=null;if(s&&(j=s.elem.closest("table")),!j&&M instanceof HTMLElement){const K=Ah(M);K?j=K.elem.closest("table"):j=M.closest("table")}if(j&&j.querySelectorAll("td, th").forEach(V=>{const ue=V.getBoundingClientRect(),fe=Ah(V);if(!fe)return;const ie=Math.abs(k.clientX-ue.right),le=k.clientY>=ue.top-I&&k.clientY<=ue.bottom+I;ie<=I&&le&&ie<U&&(U=ie,R=fe,B="right");const te=Math.abs(k.clientY-ue.bottom),H=k.clientX>=ue.left-I&&k.clientX<=ue.right+I;te<=I&&H&&te<U&&(U=te,R=fe,B="bottom")}),R&&B)p({right:B==="right",bottom:B==="bottom"}),s!==R&&n.update(()=>{const K=Fe(R.elem);if(!K)return;const V=ds(K),ue=n.getElementByKey(V.getKey());ue&&(e.current=ue.children[0].getBoundingClientRect(),l(R))});else{if(s){const K=s.elem.getBoundingClientRect(),V=Math.abs(k.clientX-K.right),ue=Math.abs(k.clientY-K.bottom),fe=Math.abs(k.clientY-K.top),ie=Math.abs(k.clientX-K.left),le=Math.min(V,ue,fe,ie);p({right:V<=I&&V===le,bottom:ue<=I&&ue===le})}else p({right:!1,bottom:!1});s&&!j&&m()}},0)};return document.addEventListener("mousemove",T),()=>{document.removeEventListener("mousemove",T)}},[s,d,n,m]);const y=T=>T==="bottom",w=E.useCallback(T=>{if(!s)throw new Error("TableCellResizer: Expected active cell.");n.update(()=>{const k=Fe(s.elem);if(!Le(k))throw new Error("TableCellResizer: Table cell node not found.");const M=ds(k),I=pg(k),R=M.getChildren();if(I>=R.length||I<0)throw new Error("Expected table cell to be inside of table row.");const B=R[I];if(!cn(B))throw new Error("Expected table row");B.setHeight(T)})},[s,n]),v=E.useCallback((T,k)=>{if(!s)throw new Error("TableCellResizer: Expected active cell.");n.update(()=>{const M=Fe(s.elem);if(!Le(M))throw new Error("TableCellResizer: Table cell node not found.");const I=ds(M),R=mg(M),B=I.getChildren();for(let U=0;U<B.length;U++){const j=B[U];if(!cn(j))throw new Error("Expected table row");const K=j.getChildren(),fe=K.map(le=>le.getColSpan()).reduce((le,te)=>{const H=le[le.length-1]??0;return le.push(H+te),le},[]).findIndex(le=>le>R);if(fe>=K.length||fe<0)throw new Error("Expected table cell to be inside of table row.");const ie=K[fe];if(!Le(ie))throw new Error("Expected table cell");ie.setWidth(T)}})},[s,n]),C=E.useCallback(T=>{const k=M=>{if(M.preventDefault(),M.stopPropagation(),n.dispatchCommand(_o,!0),!s)throw new Error("TableCellResizer: Expected active cell.");if(r.current){const{x:I,y:R}=r.current;if(s===null)return;const B=Uk(M.target);if(y(T)){const U=s.elem.getBoundingClientRect().height,j=Math.abs(M.clientY-R)/B,K=T==="bottom"&&R>M.clientY;w(Math.max(K?U-j:j+U,wJ))}else{const U=getComputedStyle(s.elem);let j=s.elem.clientWidth;j-=parseFloat(U.paddingLeft)+parseFloat(U.paddingRight);const K=Math.abs(M.clientX-I)/B,V=T==="right"&&I>M.clientX;v(Math.max(V?j-K:K+j,CJ),j),n.update(()=>{Ve(null)})}m(),document.removeEventListener("mouseup",k)}};return k},[s,m,v,w]),x=E.useCallback(T=>k=>{const M=n.getRootElement();if(M&&M.contains(document.activeElement)&&bh(n),k.preventDefault(),k.stopPropagation(),n.dispatchCommand(_o,!0),!s)throw new Error("TableCellResizer: Expected active cell.");r.current={x:k.clientX,y:k.clientY},o(r.current),h(T),document.addEventListener("mouseup",C(T))},[s,C]),N=E.useCallback(()=>{if(s){const{height:T,width:k,top:M,left:I,right:R}=s.elem.getBoundingClientRect(),{right:B}=n._rootElement.getBoundingClientRect(),U=Uk(s.elem),j=R>B?R-B+20:0,K={bottom:{backgroundColor:"transparent",cursor:"row-resize",height:"10px",left:`${I+5}px`,top:`${M+T-5}px`,width:`${k-j}px`,opacity:d==="bottom"||g.bottom?1:0,pointerEvents:d==="bottom"||g.bottom?"auto":"none"},right:{backgroundColor:"transparent",cursor:"col-resize",height:`${T-7}px`,left:`${I+k-5}px`,display:j?"none":"block",top:`${M+7}px`,width:"12px",opacity:d==="right"||g.right?1:0,pointerEvents:d==="right"||g.right?"auto":"none"}},V=e.current;return d&&i&&V&&(y(d)?(K[d].left=`${V.left}px`,K[d].top=`${i.y/U}px`,K[d].height="3px",K[d].width=`${V.width}px`):(K[d].top=`${V.top}px`,K[d].left=`${i.x/U}px`,K[d].width="3px",K[d].height=`${V.height}px`),K[d].backgroundColor="#adf"),K}return{bottom:null,left:null,right:null,top:null}},[s,d,i,g])();return A.jsx("div",{ref:t,children:s!=null&&!c&&A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:N.right||void 0,onMouseDown:x("right")}),A.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:N.bottom||void 0,onMouseDown:x("bottom")})]})})}function xJ({}){var r,i;const[n]=Me(),t=Sw(),e=((i=(r=n.getRootElement())==null?void 0:r.ownerDocument)==null?void 0:i.body)||document.body;return E.useMemo(()=>t?yr.createPortal(A.jsx(vJ,{editor:n}),e):null,[n,t,e])}function SJ(n,t){if(!n)throw new Error("Internal Lexical error: invariant() is meant to be replaced at compile time. There is no runtime version. Error: "+t)}function Ff(n){const t=n.getShape();return{columns:t.toX-t.fromX+1,rows:t.toY-t.fromY+1}}function EJ(n){const t=n.getNodes(),e=[];let r=null,i=null,o=0;for(let s=0;s<t.length;s++){const l=t[s];if(Le(l)){const c=l.getParentOrThrow();if(SJ(cn(c),"Expected CellNode to have a RowNode parent"),r!==c){if(i!==null&&o!==i)return!1;r!==null&&(i=o),r=c,o=0}const u=l.__colSpan;for(let d=0;d<u;d++)e[o+d]===void 0&&(e[o+d]=0),e[o+d]+=l.__rowSpan;o+=u}}return(i===null||o===i)&&e.every(s=>s===e[0])}function kJ(){const n=J();if(Y(n)&&!n.isCollapsed()||bt(n)&&!n.anchor.is(n.focus)||!Y(n)&&!bt(n))return!1;const[t]=Kn(n.anchor);return t.__colSpan>1||t.__rowSpan>1}function Kk(n){if(n.getChildrenSize()!==1)return!1;const t=n.getFirstChildOrThrow();return!(!mn(t)||!t.isEmpty())}function TJ(n){const t=n.getLastDescendant();Wn(t)?t.select():G(t)?t.selectEnd():t!==null&&t.selectNext()}function _J(n){return n.getEditorState().read(()=>{const t=J();if(Y(t)||bt(t)){const[e]=Kn(t.anchor);if(Le(e))return e.getBackgroundColor()}return null})}function NJ(n,t){const e=t.querySelectorAll("tr");let r=!1;return Array.from(e).forEach((i,o)=>{o&&i.children[0].tagName==="TH"&&(r=!0)}),r}function IJ(n){const t=n.querySelector("tr");let e=!1;return t&&Array.from(t.children).forEach((r,i)=>{i&&r.tagName==="TH"&&(e=!0)}),e}const MJ=({tableCellNode:n,setIsMenuOpen:t,contextRef:e,cellMerge:r,isMenuOpen:i,selectionBeforeMenuOpenedRef:o,currentIndexColumn:s,currentIndexRow:l,tableDom:c})=>{const[u]=Me(),d=E.useRef(null),[h,g]=E.useState(n),[p,m]=E.useState({columns:1,rows:1}),[y,w]=E.useState(!1),[v,C]=E.useState(!1),[x,_]=E.useState(""),{t:N}=pt.useTranslation();E.useEffect(()=>u.registerMutationListener(gi,le=>{le.get(h.getKey())==="updated"&&(u.getEditorState().read(()=>{g(h.getLatest())}),_(_J(u)||""))}),[u,h]),E.useEffect(()=>{i?u.getEditorState().read(()=>{const le=o.current;if(le&&bt(le)){const te=Ff(le);m(Ff(le)),w(EJ(le)&&(te.columns>1||te.rows>1))}try{C(kJ())}catch{}}):u.update(()=>{J()!==null&&setTimeout(()=>{w(!1),o.current=null,m({columns:1,rows:1});try{h.getParent(),T()}catch{}},200)})},[i]),E.useEffect(()=>{const le=e.current,te=d.current,H=u.getRootElement();if(le!=null&&te!=null&&H!=null){const W=H.getBoundingClientRect(),Q=le.getBoundingClientRect();te.style.opacity="1";const re=te.getBoundingClientRect(),ce=5;let me=Q.right+ce;if(me+re.width>window.innerWidth||me+re.width>W.right){const ne=Q.left-re.width-ce;me=(ne<0?ce:ne)+window.pageXOffset}te.style.left=`${me+window.pageXOffset}px`;let X=Q.top;if(X+re.height>window.innerHeight){const ne=Q.bottom-re.height;X=(ne<0?ce:ne)+window.pageYOffset}te.style.top=`${X+ +window.pageYOffset}px`}},[e,d,u]),E.useEffect(()=>{function le(te){d.current!=null&&e.current!=null&&!d.current.contains(te.target)&&!e.current.contains(te.target)&&t(!1)}return window.addEventListener("click",le),()=>window.removeEventListener("click",le)},[t,e]);const T=E.useCallback(()=>{u.update(()=>{if(h.isAttached()){const te=ds(h),H=u.getElementByKey(te.getKey());if(!H)throw new Error("Expected to find tableElement in DOM");const W=rw(H);W!==null&&W.clearHighlight(),te.markDirty(),g(h.getLatest())}Re().selectStart()})},[u,h]),k=()=>{u.update(()=>{const le=o.current;if(bt(le)){const{columns:te,rows:H}=Ff(le),W=le.getNodes();let Q=null;for(let re=0;re<W.length;re++){const ce=W[re];if(Le(ce))if(Q===null){ce.setColSpan(te).setRowSpan(H),Q=ce;const me=Kk(ce);let X;me&&mn(X=ce.getFirstChild())&&X.remove()}else Le(Q)&&(Kk(ce)||Q.append(...ce.getChildren()),ce.remove())}Q!==null&&(Q.getChildrenSize()===0&&Q.append(Ee()),TJ(Q))}})},M=()=>{u.update(()=>{p8()})},I=E.useCallback(le=>{u.update(()=>{for(let te=0;te<p.rows;te++)mh(le)})},[u,p.rows]),R=E.useCallback(le=>{u.update(()=>{for(let te=0;te<p.columns;te++)QA(le)})},[u,p.columns]),B=E.useCallback(()=>{u.update(()=>{h8()})},[u]),U=E.useCallback(()=>{u.update(()=>{ds(n).remove(),T()})},[u,n,T]),j=E.useCallback(()=>{u.update(()=>{g8()})},[u]),K=E.useCallback(()=>{u.update(()=>{const le=ds(h),te=pg(h),H=le.getChildren();if(te>=H.length||te<0)throw new Error("Expected table cell to be inside of table row.");const W=H[te];if(!cn(W))throw new Error("Expected table row");const Q=h.getHeaderStyles()^pn.ROW;W.getChildren().forEach(re=>{if(!Le(re))throw new Error("Expected table cell");re.getBackgroundColor()==="rgb(242, 243, 245)"&&re.setBackgroundColor(null),re.setHeaderStyles(Q,pn.ROW)}),T()})},[u,h,T]),V=E.useCallback(le=>{u.update(()=>{const te=ds(h),H=mg(h),W=te.getChildren(),Q=Math.max(...W.map(ce=>ce.getChildren().length));if(H>=Q||H<0)throw new Error("Expected table cell to be inside of table row.");const re=h.getHeaderStyles()^pn.COLUMN;for(let ce=0;ce<W.length;ce++){const me=W[ce];if(!cn(me))throw new Error("Expected table row");const X=me.getChildren();if(H>=X.length)continue;const ne=X[H];if(!Le(ne))throw new Error("Expected table cell");le?(ne.getBackgroundColor()==="rgb(242, 243, 245)"&&ne.setBackgroundColor(null),ne.setHeaderStyles(0,3)):ne.setHeaderStyles(re,pn.COLUMN)}T()})},[u,h,T]),ue=E.useCallback(le=>{u.update(()=>{const te=o.current;if(Y(te)||bt(te)){const[H]=Kn(te.anchor);if(Le(H)&&H.setBackgroundColor(le),bt(te)){const W=te.getNodes();for(let Q=0;Q<W.length;Q++){const re=W[Q];Le(re)&&re.setBackgroundColor(le)}}}})},[u]),fe=l===0&&IJ(c),ie=s===0&&NJ(s||0,c);return A.jsxs(A.Fragment,{children:[r&&A.jsxs(A.Fragment,{children:[y&&A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{name:"layers-union"}),"data-test-id":"table-merge-cells",onClick:()=>k(),children:N("editor.table.menu.mergeCells")}),v&&A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{name:"layers-substract"}),"data-test-id":"table-unmerge-cells",onClick:()=>M(),children:N("editor.table.menu.disconnectCells")})]}),A.jsx(jt.NewColorPicker,{modes:["background"],value:{background:x},onChange:le=>ue(le.value),menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:10,alignmentAxis:-5},closeDelay:2e4},target:A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{name:"color-picker"}),rightSection:A.jsx(xe,{name:"chevron-right"}),"data-test-id":"table-background-color",children:N("editor.table.background",{count:p.columns>1||p.rows>1?2:1})})}),A.jsx(L.Menu.Divider,{}),!fe&&A.jsxs(L.Menu.Item,{leftSection:A.jsx(xe,{name:"row-insert-top"}),"data-test-id":"table-insert-row-above",onClick:()=>I(!1),children:[N("editor.table.menu.insertRow",{count:p.rows})," ",N("editor.table.menu.above")]}),A.jsxs(L.Menu.Item,{leftSection:A.jsx(xe,{name:"row-insert-bottom"}),"data-test-id":"table-insert-row-below",onClick:()=>I(!0),children:[N("editor.table.menu.insertRow",{count:p.rows})," ",N("editor.table.menu.below")]}),!ie&&A.jsxs(L.Menu.Item,{leftSection:A.jsx(xe,{name:"column-insert-left"}),"data-test-id":"table-insert-column-before",onClick:()=>R(!0),children:[N("editor.table.menu.insertCol",{count:p.columns})," ",N("editor.table.menu.right")]}),A.jsxs(L.Menu.Item,{leftSection:A.jsx(xe,{name:"column-insert-right"}),onClick:()=>R(!1),"data-test-id":"table-insert-column-after",children:[N("editor.table.menu.insertCol",{count:p.columns})," ",N("editor.table.menu.left")]}),A.jsx(L.Menu.Divider,{}),A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{name:"container-off"}),"data-test-id":"table-delete-columns",onClick:()=>j(),children:N("editor.table.menu.deleteCol",{count:p.columns})}),A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{name:"container-off",iconStyle:{transform:"rotate(90deg)"}}),"data-test-id":"table-delete-rows",onClick:()=>B(),children:N("editor.table.menu.deleteRow",{count:p.rows})}),A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{name:"table-off"}),onClick:()=>U(),children:N("editor.table.menu.deleteTable")}),(!l||!s)&&A.jsx(L.Menu.Divider,{}),l===0&&A.jsx(L.Menu.Item,{onClick:()=>K(),"data-test-id":"table-row-header",children:N("editor.table.menu.headTable_row",{value:N(fe?"editor.contextMenu.delete":"editor.contextMenu.add")})}),s===0&&A.jsx(L.Menu.Item,{onClick:()=>V(ie),"data-test-id":"table-column-header",children:N("editor.table.menu.headTable_col",{value:N(ie?"editor.contextMenu.delete":"editor.contextMenu.add")})})]})},DJ=({tableCellNode:n,setIsMenuOpen:t,contextRef:e,cellMerge:r,children:i,tableDom:o,isMenuOpen:s})=>{const[l]=Me(),c=E.useRef(null),u=E.useRef(null),d=E.useRef(null),h=()=>{t(!0),l.read(()=>{const g=mg(n),p=pg(n);u.current=g,d.current=p;const m=J();if(bt(m)){const{columns:y,rows:w}=Ff(m);(y>1||w>1)&&(c.current=m)}else tH(n,l),setTimeout(()=>{l.read(()=>{const y=J();c.current=y})},200)})};return A.jsxs(L.Menu,{onOpen:h,onClose:()=>t(!1),shadow:"md",position:"right",opened:s,transitionProps:$i,children:[A.jsx(L.Menu.Target,{children:i}),A.jsx(L.Menu.Dropdown,{children:A.jsx(MJ,{isMenuOpen:s,contextRef:e,tableCellNode:n,cellMerge:r,setIsMenuOpen:t,tableDom:o,currentIndexColumn:u.current,currentIndexRow:d.current,selectionBeforeMenuOpenedRef:c})})]})},LJ=(n,t)=>{window.matchMedia("(pointer: coarse)").matches&&t&&setTimeout(()=>{t.scrollBy({left:n+25,behavior:"smooth"})},100)},go=12;function OJ({anchorElem:n,isShowTableOptions:t,cellMerge:e}){var le,te;const[r]=Me(),[i,o]=E.useState(!1),[s,l]=E.useState({}),[c,u]=E.useState({}),[d,h]=E.useState({}),[g,p]=E.useState({}),[m,y]=E.useState({}),[w,v]=E.useState({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!1}),[C,x]=E.useState(!1),_=E.useRef(null),N=E.useRef(new Set),T=E.useRef(null),k=E.useRef(null),M=E.useRef(null),I=E.useRef(null),R=E.useRef(null),{t:B}=pt.useTranslation(),U=wg(H=>{const{isOutside:W,tableDOMNode:Q}=RJ(H,r,w.row),re=H.target;if(re!=null&&re.closest(".table-cell-add-container")||re!=null&&re.closest(".table-row-add-container"))return;if(W&&(w.top||w.bottom||w.left||w.right||w.column||w.row)){v({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!1}),R.current=null,x(!1);return}if(!Q)return;k.current=Q;let ce=null,me=null,X=null;r.update(()=>{var oe,pe,ke,Pe,Ce;const ne=Fe(Q),Ae=Q==null?void 0:Q.getAttribute("data-show-button-near-table");if(((oe=R.current)==null?void 0:oe.__key)!==(ne==null?void 0:ne.__key)&&(v({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!1}),R.current=ne,Le(ne))){const We=Te(ne,Oe=>Ct(Oe));if(!Ct(We))return;if(X=r.getElementByKey(We==null?void 0:We.getKey()),X){const Oe=We.getChildrenSize(),Se=(pe=We.getChildAtIndex(0))==null?void 0:pe.getChildrenSize(),Je=pg(ne),ut=mg(ne);M.current=(ke=X.firstChild)==null?void 0:ke.childNodes[Je+1].firstChild,I.current=(Ce=(Pe=X.firstChild)==null?void 0:Pe.childNodes[1])==null?void 0:Ce.childNodes[ut],setTimeout(()=>{Ae==="bottom"?(ce=ne,R.current=null,v({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!0,options:!1})):Ae==="right"?(me=ne,R.current=null,v({top:!1,bottom:!1,left:!1,right:!1,column:!0,row:!1,options:!1})):Je===Oe-1&&ut===Se-1?(ce=ne,me=ne,v({top:!1,bottom:!1,left:!1,right:!1,column:!0,row:!0,options:!0})):!Je&&!ut?v({top:!1,bottom:!0,left:!1,right:!0,column:!1,row:!1,options:!0}):ut&&!Je&&ut!==Se-1?v({top:!1,bottom:!1,left:!0,right:!0,column:!1,row:!1,options:!0}):!ut&&Je&&Je!==Oe-1?v({top:!0,bottom:!0,left:!1,right:!1,column:!1,row:!1,options:!0}):!ut&&Je===Oe-1?(ce=ne,v({top:!0,bottom:!1,left:!1,right:!1,column:!1,row:!0,options:!0})):!Je&&ut===Se-1?(me=ne,v({top:!1,bottom:!1,left:!0,right:!1,column:!0,row:!1,options:!0})):!ut&&Je&&Je!==Oe-1?v({top:!0,bottom:!0,left:!1,right:!0,column:!1,row:!1,options:!0}):Je===Oe-1?(ce=ne,v({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!0,options:!0})):ut===Se-1?(me=ne,v({top:!1,bottom:!1,left:!1,right:!1,column:!0,row:!1,options:!0})):v({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!0})},100)}}}),setTimeout(()=>{var ne,Ae,oe,pe,ke;if(X){const{width:Pe,y:Ce,left:We,right:Oe,bottom:Se,height:Je}=X.getBoundingClientRect(),{y:ut,left:lt}=n.getBoundingClientRect();if(R.current){const nt=r.getElementByKey(R.current.getKey());if(nt!=null){const dt=nt.getBoundingClientRect(),ht=X.getBoundingClientRect().left+X.clientWidth,et=dt.top-ut+6;let $t=dt.right-lt-20;$t>ht-lt&&($t=ht-lt-20),C||y({top:et,left:$t})}}if(I.current){const{top:nt,width:dt,left:kt,right:ht}=I.current.getBoundingClientRect(),et=go,$t=kt-lt-et/2,Kt=nt-ut-et/2;let lr=dt+et+2;ht>Oe&&(lr=lr-(ht-Oe)),h({width:lr,height:et,top:Kt,left:$t})}if(M.current){const{top:nt,height:dt}=M.current.getBoundingClientRect(),kt=go,ht=We-lt-kt/2,et=nt-ut-kt/2;p({height:dt+kt+2,top:et,left:ht})}const Zt=(ne=X.parentElement)!=null&&ne.classList.contains("dsd__theme__callout-container")&&document.documentElement.getAttribute("data-mantine-color-scheme")==="light"?"rgba(173, 181, 189, 0.7)":"";if(ce){const nt=Se-ut+3,dt=((Ae=X.firstElementChild)==null?void 0:Ae.clientWidth)||0;l({left:We-lt,top:nt,width:Pe>dt?dt-2:Pe,padding:0,backgroundColor:Zt})}const{right:Sn}=(oe=X.firstElementChild)==null?void 0:oe.getBoundingClientRect(),je=Oe>Sn?Sn:Oe;me&&(LJ(Oe,(ke=(pe=r._rootElement)==null?void 0:pe.parentElement)==null?void 0:ke.parentElement),u({height:Je,left:je-lt+3,top:Ce-ut,padding:0,backgroundColor:Zt}))}},100)},50,150),j=()=>{v({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!1}),R.current=null,x(!1)},K=(te=(le=M.current)==null?void 0:le.parentElement)==null?void 0:te.parentElement;E.useEffect(()=>{var H;K&&((H=K.parentElement)==null||H.addEventListener("scroll",()=>{j()}))},[K]),E.useEffect(()=>{if(i)return document.addEventListener("mousemove",U),()=>{j(),U.cancel(),document.removeEventListener("mousemove",U)}},[i,U]),E.useEffect(()=>r.registerCommand(_o,H=>(H&&j(),!1),Ne),[]),E.useEffect(()=>tt(r.registerMutationListener(mi,H=>{r.getEditorState().read(()=>{for(const[W,Q]of H)switch(Q){case"created":N.current.add(W),T.current=r.getElementByKey(W),o(N.current.size>0);break;case"destroyed":N.current.delete(W),o(N.current.size>0);break;case"updated":o(!0);const re=r.getElementByKey(W);T.current=re;break}})})),[r]);const V=H=>{r.update(()=>{if(k.current){const W=Fe(k.current);H?(W==null||W.selectNext(),mh(),j()):(W==null||W.selectEnd(),QA(),j())}})},ue=E.useCallback(H=>{r.update(()=>{const W=M.current;if(W){const Q=Fe(W);Q==null||Q.selectEnd(),mh(H),j()}})},[r]),fe=E.useCallback(H=>{r.update(()=>{const W=I.current;if(W){const Q=Fe(W);Q==null||Q.selectEnd(),QA(H),j()}})},[r]),ie=window.matchMedia("(pointer: coarse)").matches;return A.jsxs(A.Fragment,{children:[A.jsx(L.Transition,{mounted:!!(R.current&&w.options&&!ie),transition:"fade",duration:300,timingFunction:"ease",children:H=>A.jsx("div",{className:"table-cell-action-button-container",style:{...H,...m},children:R.current&&A.jsx(DJ,{isMenuOpen:C,contextRef:_,tableCellNode:R.current,cellMerge:e,setIsMenuOpen:x,tableDom:T.current,children:A.jsx(L.Tooltip,{label:B("editor.table.settings"),children:A.jsx(L.ActionIcon,{tabIndex:-1,className:"table-cell-action-button",ref:_,size:go,color:"gray",variant:"light",children:A.jsx(xe,{style:{width:"100%",height:"100%"},name:"chevron-down"})})})})})}),A.jsx(L.Transition,{mounted:w.row,transition:"fade",duration:300,timingFunction:"ease",children:H=>A.jsx(L.Tooltip,{label:B("editor.table.menu.addRowBelow"),position:"bottom",children:A.jsx(L.Button,{className:"dsd__theme__tableAddRows",style:{...H,...s},onClick:()=>V(!0),variant:"light",size:"xs",color:"gray",radius:"sm",h:23,children:A.jsx(ee.IconPlus,{size:go,className:"dsd__theme__tableAddRows-icon",stroke:1})})})}),A.jsx(L.Transition,{mounted:w.column,transition:"fade",duration:300,timingFunction:"ease",children:H=>A.jsx(L.Tooltip,{label:B("editor.table.menu.addColAfter"),position:"right",children:A.jsx(L.Button,{className:"dsd__theme__tableAddColumns",style:{...H,...c},onClick:()=>V(!1),variant:"light",justify:"center",size:"xs",color:"gray",w:23,radius:"sm",children:A.jsx(ee.IconPlus,{className:"dsd__theme__tableAddColumns-icon",size:go,stroke:1})})})}),A.jsx(L.Transition,{mounted:M.current!=null&&(w.top||w.bottom)&&!ie,transition:"fade",duration:300,timingFunction:"ease",children:H=>A.jsx("div",{className:"table-row-add-container",style:{...H,...g},children:M.current&&A.jsxs(L.Stack,{align:"stretch",justify:"space-between",h:"100%",children:[A.jsx(L.Tooltip,{label:B("editor.table.menu.addRowAbove"),children:A.jsx(L.ActionIcon,{onClick:()=>ue(!1),size:go,variant:"light",radius:"xl","aria-label":"Settings",color:"gray",style:{opacity:w.top?1:0,pointerEvents:w.top?"auto":"none"},children:A.jsx(ee.IconPlus,{size:10,stroke:1})})}),A.jsx(L.Tooltip,{label:B("editor.table.menu.addRowBelow"),children:A.jsx(L.ActionIcon,{onClick:()=>ue(!0),size:go,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",style:{opacity:w.bottom?1:0,pointerEvents:w.bottom?"auto":"none"},children:A.jsx(ee.IconPlus,{size:10,stroke:1})})})]})})}),A.jsx(L.Transition,{mounted:I.current!=null&&(w.left||w.right),transition:"fade",duration:300,timingFunction:"ease",keepMounted:!0,children:H=>A.jsx("div",{className:"table-cell-add-container",style:{...H,...d},children:A.jsxs(L.Group,{justify:w.left?"space-between":"flex-end",children:[A.jsx(A.Fragment,{children:w.left&&A.jsx(L.Tooltip,{label:B("editor.table.menu.addColBefore"),children:A.jsx(L.ActionIcon,{onClick:()=>fe(!1),size:go,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",children:A.jsx(ee.IconPlus,{size:10,stroke:1})})})}),A.jsx(A.Fragment,{children:w.right&&A.jsx(L.Tooltip,{label:B("editor.table.menu.addColAfter"),children:A.jsx(L.ActionIcon,{onClick:()=>fe(!0),size:go,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",children:A.jsx(ee.IconPlus,{size:10,stroke:1})})})})]})})})]})}function RJ(n,t,e){const r=n.target;let i="";const o=document.querySelector("div.new-paragraph");if(t.read(()=>{const s=Re().getLastChild();Ct(s)&&!e&&o&&(i="editor",o.style.visibility="hidden")}),r&&(r instanceof HTMLElement||r instanceof SVGElement)){const s="td.dsd__theme__tableCell, th.dsd__theme__tableCell";let l=r.closest(s);if(l==null||l.setAttribute("data-show-button-near-table",""),r.className==="ContentEditable__root"||r.className==="ContentEditable__root focused"||r.className==="dsd__theme__table-scrollable-wrapper"||r.className==="dsd__theme__callout-wrapper"||r.className==="dsd__theme__layoutItem"||r.className==="dsd__theme__callout-container"||r.className===i){const h=document.elementFromPoint(n.x-40,n.y),g=document.elementFromPoint(n.x,n.y-40);if(h||g){const p=h==null?void 0:h.closest(s),m=g==null?void 0:g.closest(s);p&&r.className!=="dsd__theme__layoutItem"&&(l=p,l.setAttribute("data-show-button-near-table","right")),m&&(l=m,l.setAttribute("data-show-button-near-table","bottom"))}}let c=r.closest(".dsd__theme__tableAddRows")||r.closest(".table-cell-action-button-container")||r.closest(".dsd__theme__tableAddColumns");const u=r.closest(".mantine-Menu-dropdown"),d=!(l||c||u||r.closest("div.TableCellResizer__resizer"));return d&&!e&&(o==null?void 0:o.style.visibility)==="hidden"&&(o.style.visibility=""),{isOutside:d,tableDOMNode:l}}else return{isOutside:!0,tableDOMNode:null}}function PJ({anchorElem:n=document.body,cellMerge:t=!1}){return yr.createPortal(A.jsx(OJ,{isShowTableOptions:!1,cellMerge:t,anchorElem:n}),n)}function Jw(n){return[n.getKey(),n.getTextContent(),n.getTag()]}function BJ(n,t,e){if(t===null)return e;const r=Jw(t);let i=[];if(n===null){if(e.length>0&&e[0][0]===t.__key)return e;i=[r,...e]}else for(let o=0;o<e.length;o++){const s=e[o][0];if(i.push(e[o]),s===n.getKey()&&s!==t.getKey()){if(o+1<e.length&&e[o+1][0]===t.__key)return e;i.push(r)}}return i}function FJ(n,t){const e=[];for(const r of t)r[0]!==n&&e.push(r);return e}function jJ(n,t){const e=[];for(const r of t)r[0]===n.getKey()?e.push(Jw(n)):e.push(r);return e}function Wk(n,t,e){const r=[],i=Jw(t);n||r.push(i);for(const o of e)o[0]!==t.getKey()&&(r.push(o),n&&o[0]===n.getKey()&&r.push(i));return r}function Gm(n){let t=Sx(n);for(;t!==null&&!Ui(t);)t=Sx(t);return t}function zJ({children:n}){const[t,e]=E.useState([]),[r]=Me();return E.useEffect(()=>{let i=[];r.getEditorState().read(()=>{const c=u=>{for(const d of u.getChildren())Ui(d)?i.push([d.getKey(),d.getTextContent(),d.getTag()]):G(d)&&c(d)};c(Re()),e(i)});const o=r.registerUpdateListener(({editorState:c,dirtyElements:u})=>{c.read(()=>{const d=h=>{for(const g of h.getChildren())if(Ui(g)){const p=Gm(g);i=Wk(p,g,i),e(i)}else G(g)&&d(g)};Re().getChildren().forEach(h=>{G(h)&&u.get(h.__key)&&d(h)})})}),s=r.registerMutationListener($u,c=>{r.getEditorState().read(()=>{for(const[u,d]of c)if(d==="created"){const h=ve(u);if(h!==null){const g=Gm(h);i=BJ(g,h,i)}}else if(d==="destroyed")i=FJ(u,i);else if(d==="updated"){const h=ve(u);if(h!==null){const g=Gm(h);i=Wk(g,h,i)}}e(i)})},{skipInitialization:!0}),l=r.registerMutationListener(Ln,c=>{r.getEditorState().read(()=>{for(const[u,d]of c)if(d==="updated"){const h=ve(u);if(h!==null){const g=h.getParentOrThrow();Ui(g)&&(i=jJ(g,i),e(i))}}})},{skipInitialization:!0});return()=>{s(),l(),o()}},[r]),n(t,r)}const Dh=624,OM=9;function UJ(n,t,e){return n||`${e("editor.heading.name")} ${t.split("")[1]}`}function KJ(n){var e;const t=(e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y;return t>=Dh&&t<=Dh+OM}function Ef(n){var e;return((e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y)<Dh}function Jm(n){var e;return((e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y)>=Dh+OM}function WJ({tableOfContents:n}){const[t,e]=E.useState(""),r=E.useRef(0),[i]=Me(),{t:o}=pt.useTranslation(),[s,l]=E.useState(!1);function c(u,d){i.getEditorState().read(()=>{const h=i.getElementByKey(u);h!==null&&(h.classList.add("ScrollToBlock"),h.scrollIntoView({behavior:"smooth",block:"center"}),e(u),r.current=d,setTimeout(()=>{h.classList.remove("ScrollToBlock")},2e3))})}return E.useEffect(()=>{function u(){if(n.length>0&&r.current<n.length-1){let p=i.getElementByKey(n[r.current][0]);if(p!==null){if(Jm(p)){for(;p!==null&&Jm(p)&&r.current>0;){const y=i.getElementByKey(n[r.current-1][0]);y!==null&&(Ef(y)||Jm(y))&&r.current--,p=y}const m=n[r.current][0];e(m)}else if(Ef(p)){for(;p!==null&&Ef(p)&&r.current<n.length-1;){const y=i.getElementByKey(n[r.current+1][0]);y!==null&&(KJ(y)||Ef(y))&&r.current++,p=y}const m=n[r.current][0];e(m)}}}else r.current=0}let d;function h(p,m){clearTimeout(d),d=setTimeout(p,m)}function g(){h(u,10)}return document.addEventListener("scroll",g),()=>document.removeEventListener("scroll",g)},[n,i]),n.length<2?A.jsx(A.Fragment,{}):A.jsxs(L.Popover,{opened:s,onClose:()=>l(!1),width:300,position:"left",offset:-55,transitionProps:{transition:{in:{opacity:1,transform:"translateX(0px)"},out:{opacity:0,transform:"translateX(25px)"},transitionProperty:"transform, opacity"},duration:100,exitDelay:50,exitDuration:200},children:[A.jsx(L.Popover.Target,{children:A.jsx(L.Box,{className:"table-of-contents-container",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:A.jsx(L.Box,{className:"table-of-contents",children:A.jsx(L.Stack,{gap:12,style:{alignItems:"flex-end",transition:"all 0.7s"},children:n.map(([u,,d],h)=>A.jsx(L.Box,{onClick:()=>c(u,h),style:{height:4,borderRadius:"4px",cursor:"pointer",backgroundColor:t===u?"light-dark(var(--mantine-color-dark-2), var(--mantine-color-dark-3))":"light-dark(var(--mantine-color-dark-0), var(--mantine-color-dark-2))",width:d==="h1"?"38px":d==="h2"?"25px":"15px",transition:"all 0.7s"}},u))})})})}),A.jsxs(L.Popover.Dropdown,{onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),style:{boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.1)",overflowY:"auto",maxHeight:"400px"},children:[A.jsx(L.Text,{size:"xs",children:o("editor.content")}),n.map(([u,d,h],g)=>A.jsx(L.Text,{className:"table-of-contents-item",lineClamp:2,onClick:()=>c(u,g),style:{fontSize:h==="h1"?"1.25rem":h==="h2"?"1rem":"0.875rem",marginLeft:h==="h1"?"0.25rem":h==="h2"?"0.75rem":"2.25rem",color:t===u?"light-dark(var(--mantine-color-blue-6), var(--mantine-color-dark-3))":"light-dark(var(--mantine-color-dark-8), var(--mantine-color-dark-2))"},children:UJ(d,h,o)},u))]})]})}function Ry(){return A.jsx(zJ,{children:n=>A.jsx(WJ,{tableOfContents:n})})}function HJ({hasCellMerge:n=!0,hasCellBackgroundColor:t=!0,hasTabHandler:e=!0,hasHorizontalScroll:r=!0}){const[i]=Me();return E.useEffect(()=>{M8(i,r)},[i,r]),E.useEffect(()=>(i.hasNodes([mi,gi,dc])||ze(!1,"TablePlugin: TableNode, TableCellNode or TableRowNode not registered on editor"),tt(i.registerCommand(hg,({columns:o,rows:s,includeHeaders:l})=>{const c=d8(Number(s),Number(o),l),u=zt();u&&u.replace(c);const d=c.getFirstDescendant();return Wn(d)&&d.select(),!0},Ke),i.registerNodeTransform(mi,o=>{const[s]=YN(o,null,null),l=s.reduce((u,d)=>Math.max(u,d.length),0),c=o.getChildren();for(let u=0;u<s.length;++u){const d=c[u];if(!d)continue;const h=s[u].reduce((g,p)=>p?1+g:g,0);if(h!==l)for(let g=h;g<l;++g){const p=pi(0);p.append(Ee()),d.append(p)}}}))),[i]),E.useEffect(()=>{const o=new Map,s=(c,u,d)=>{const h=Il(c,d),g=b8(c,h,i,e);o.set(u,[g,h])},l=i.registerMutationListener(mi,c=>{i.getEditorState().read(()=>{for(const[u,d]of c){const h=o.get(u);if(d==="created"||d==="updated"){const{tableNode:g,tableElement:p}=ZN(u);h===void 0?s(g,u,p):p!==h[1]&&(h[0].removeListeners(),o.delete(u),s(g,u,p))}else d==="destroyed"&&h!==void 0&&(h[0].removeListeners(),o.delete(u))}},{editor:i})},{skipInitialization:!1});return()=>{l();for(const[,[c]]of o)c.removeListeners()}},[i,e]),E.useEffect(()=>{if(!n)return i.registerNodeTransform(gi,o=>{if(o.getColSpan()>1||o.getRowSpan()>1){const[,,s]=Kn(o),[l]=$r(s,o,o),c=l.length,u=l[0].length;let d=s.getFirstChild();ze(cn(d),"Expected TableNode first child to be a RowNode");const h=[];for(let g=0;g<c;g++){g!==0&&(d=d.getNextSibling(),ze(cn(d),"Expected TableNode first child to be a RowNode"));let p=null;for(let m=0;m<u;m++){const y=l[g][m],w=y.cell;if(y.startRow===g&&y.startColumn===m)p=w,h.push(w);else if(w.getColSpan()>1||w.getRowSpan()>1){ze(Le(w),"Expected TableNode cell to be a TableCellNode");const v=pi(w.__headerState);p!==null?p.insertAfter(v):cz(d,v)}}}for(const g of h)g.setColSpan(1),g.setRowSpan(1)}})},[i,n]),E.useEffect(()=>{if(!t)return i.registerNodeTransform(gi,o=>{o.getBackgroundColor()!==null&&o.setBackgroundColor(null)})},[i,t,n]),null}function Hk(n){return(n==null?void 0:n.tagName)==="TABLE"}const YJ=n=>{const t=J();if(Y(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=Te(e,Ct),i=Te(e,Le);return Ig(n,r,i)}return!0};function ZJ(n){const{floatingAnchorElem:t,isSmallWidthViewport:e}=n,[r]=Me(),{settings:{tableCellMerge:i,showTableOfContents:o,tableCellBackgroundColor:s}}=kw();return E.useEffect(()=>tt(r.registerCommand(Ol,l=>{var h,g;try{const p=l.clipboardData||window.clipboardData;if(!p)return!1;const m=p.getData("text/html"),y=document.createElement("div");y.innerHTML=m;let w=null;y.childNodes.length===1&&Hk(y.firstChild)&&(w=y.firstChild),y.childNodes.length===2&&Hk(y.childNodes[1])&&(w=y.childNodes[1]);const v=XA?1:2;if(y.childNodes.length===(XA?2:5)&&((h=y.childNodes[v].className)!=null&&h.includes("table-scrollable-wrapper"))&&(w=y.childNodes[v].firstChild),w){l.preventDefault();const C=zt();if(C){const x=Te(C,Le),_=Te(C,cn),N=Te(C,Ct);if(!N||!_||!x)return!1;const T=w.querySelectorAll("tr"),k=T[0].childNodes,M=N.getChildren();let I=null,R=0;for(let j=0;j<N.getChildren().length;j++)if(N.getChildren()[j].__key===(_==null?void 0:_.__key)&&(R=j,j+T.length>M.length)){let V=j+T.length-M.length;(g=N==null?void 0:N.getLastChild())==null||g.selectStart();for(let ue=0;ue<V;ue++)mh(!0);break}let B=0;N.getChildren().forEach((j,K)=>{if(K>=R&&T[B]){let V=0;j.getChildren().forEach((fe,ie)=>{var le,te;if(Le(fe)&&(fe.__key===(x==null?void 0:x.__key)&&(I=ie,fe==null||fe.selectStart()),I!==null&&ie>=I&&ie<k.length+I)){const H=((te=(le=T[B])==null?void 0:le.childNodes[V])==null?void 0:te.innerText)||"";fe.clear();const W=Ee(),Q=Ro(H||"");W.append(Q),fe.append(W),V++}}),B++}})}return!0}}catch(p){console.error("TABLE PASTE",p)}const c=J(),u=c==null?void 0:c.getNodes();return Le(u[1])&&r.update(()=>{u.forEach(p=>{Ct(p)&&p.remove()})}),!1},Ne)),[r]),A.jsxs(A.Fragment,{children:[A.jsx(HJ,{hasCellMerge:i,hasCellBackgroundColor:s,hasTabHandler:!0,hasHorizontalScroll:!0}),A.jsx(xJ,{}),t&&A.jsxs(A.Fragment,{children:[A.jsx(PJ,{anchorElem:t,cellMerge:!0}),A.jsx("div",{children:o&&A.jsx(Ry,{})})]})]})}const GJ=n=>({center:{icon:"align-center",iconRTL:"center-align",name:n("editor.toolbar.center")},end:{icon:"align-end",iconRTL:"left-align",name:"End Align"},justify:{icon:"align-justify",iconRTL:"justify-align",name:n("editor.toolbar.justify")},left:{icon:"align-left",iconRTL:"left-align",name:n("editor.toolbar.left")},right:{icon:"align-right",iconRTL:"left-align",name:n("editor.toolbar.right")},start:{icon:"align-start",iconRTL:"right-align",name:"Start Align"}});function JJ({editor:n,value:t,disabled:e=!1,setElementFormat:r}){const{t:i,i18n:o}=pt.useTranslation(),s=E.useMemo(()=>GJ(i),[o.language]),l=E.useMemo(()=>t==="start"||t==="end"?s.left:s[t||"left"],[t,o.language]),c=u=>{r(u),n.dispatchCommand(as,u)};return A.jsxs(L.Menu,{transitionProps:$i,shadow:"md",styles:{dropdown:{zIndex:1e3}},children:[A.jsx(L.Menu.Target,{children:A.jsx(L.Tooltip,{label:i("editor.toolbar.align"),children:A.jsxs("button",{disabled:e,className:"toolbar-item spaced alignment","aria-label":"Formatting options for text alignment",type:"button","data-test-id":"toolbar-align-menu",children:[A.jsx(xe,{size:18,name:l.icon}),A.jsxs(L.Text,{mx:5,size:"sm",children:[" ",l.name]}),A.jsx(xe,{name:"chevron-down"})]})})}),A.jsxs(L.Menu.Dropdown,{onMouseDown:u=>{u.preventDefault()},children:[A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{size:18,name:"align-left"}),rightSection:t==="left"&&A.jsx(xe,{name:"check-mark"}),onClick:()=>c("left"),"data-test-id":"toolbar-align-left",children:s.left.name}),A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{size:18,name:"align-center"}),rightSection:t==="center"&&A.jsx(xe,{name:"check-mark"}),onClick:()=>c("center"),"data-test-id":"toolbar-align-center",children:s.center.name}),A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{size:18,name:"align-right"}),rightSection:t==="right"&&A.jsx(xe,{name:"check-mark"}),onClick:()=>c("right"),"data-test-id":"toolbar-align-right",children:s.right.name}),A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{size:18,name:"align-justify"}),rightSection:t==="justify"&&A.jsx(xe,{name:"check-mark"}),onClick:()=>c("justify"),"data-test-id":"toolbar-align-justify",children:s.justify.name})]})]})}const QJ=(n,t,e,r)=>{n.update(()=>{if(Y(e)){const i=yt(t);e.insertNodes([i]),r()}})},VJ=(n,t,e,r)=>{n.update(()=>{if(Y(e)){const i=yt(t);e.insertNodes([]);const o=i.getParent()??e.focus.getNode().getParent();if(o){const s=e.focus.getNode().getNextSibling();s?s.insertBefore(i):o.append(i),r()}}})},XJ=(n,t="",e,r)=>{n.update(()=>{if(!Y(e))return;const o=e.anchor.getNode().getTopLevelElementOrThrow(),s=Ee();t&&s.append(yt(t)),o.insertAfter(s),r()})},qJ=(n,t)=>{n.update(()=>{const e=J();if(Y(e)){const r=e.getTextContent();t(r)}})},$J=({editor:n,response:t,onSubmit:e,setTypeMenu:r,onClose:i,t:o,selection:s})=>A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Item,{leftSection:A.jsx(ee.IconArrowNarrowLeft,{size:14}),onClick:()=>r("main"),children:o("editor.ai.back")}),A.jsx(L.Menu.Item,{onClick:()=>{QJ(n,t,s,i)},leftSection:A.jsx(ee.IconReplace,{size:14}),children:o("editor.ai.menu.answer.replaceSelection")}),A.jsx(L.Menu.Item,{onClick:()=>{VJ(n,` ${t}`,s,i)},leftSection:A.jsx(ee.IconTextPlus,{size:14}),children:o("editor.ai.menu.answer.addTextInline")}),A.jsx(L.Menu.Item,{onClick:()=>{XJ(n,t,s,i),i()},leftSection:A.jsx(ee.IconIndentIncrease,{size:14}),children:o("editor.ai.menu.answer.addBelowParagraph")}),A.jsx(L.Menu.Divider,{}),A.jsx(L.Menu.Label,{children:o("editor.ai.menu.answer.modifyFurther")}),A.jsx(L.Menu.Item,{onClick:()=>{e(`Start with this text and continue. Output this text at the start: "${t}"`,!1)},leftSection:A.jsx(ee.IconPlayerPlay,{size:14}),children:o("editor.ai.menu.answer.continueWriting")}),A.jsx(L.Menu.Item,{onClick:()=>{e("Regenerate this text with another way: ")},leftSection:A.jsx(ee.IconReload,{size:14}),children:o("editor.ai.menu.answer.regenerate")}),A.jsx(L.Menu.Item,{onClick:i,leftSection:A.jsx(ee.IconTrash,{size:14}),children:o("editor.ai.menu.answer.discard")})]}),eQ=["arabic","bengali","chinese","dutch","english","french","german","hindi","japanese","korean","nepali","portuguese","spanish"],tQ=["professional","straightforward","friendly","poetic","passiveAggressive","pirate"],nQ=[{title:"modifySelection",options:[{title:"improveWriting",prompt:"Improve the quality of the text",icon:A.jsx(ee.IconWand,{size:14})},{title:"fixMistakes",prompt:"Fix any typos or general errors in the text",icon:A.jsx(ee.IconTextSpellcheck,{size:14})},{title:"simplify",prompt:"Shorten the text, simplifying it",icon:A.jsx(ee.IconSortAscending,{size:14})},{title:"addMoreDetail",prompt:"Lengthen the text, going into more detail",icon:A.jsx(ee.IconSortDescending,{size:14})}]},{title:"generate",options:[{title:"summarise",prompt:"Summarise the text",icon:A.jsx(ee.IconNotes,{size:14})},{title:"translate",icon:A.jsx(ee.IconLanguage,{size:14}),type:"language"},{title:"changeStyle",icon:A.jsx(ee.IconScript,{size:14}),type:"style"},{title:"explain",prompt:"Explain what the text is about",icon:A.jsx(ee.IconHelpOctagon,{size:14})}]}],rQ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Item,{leftSection:A.jsx(ee.IconArrowNarrowLeft,{size:14}),onClick:()=>n("main"),children:e("editor.ai.back")}),eQ.map(r=>A.jsx(L.Menu.Item,{onClick:()=>{t(`Translate text into the ${r} language`)},children:e(`editor.ai.menu.languages.${r}`)},r))]}),iQ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsx(A.Fragment,{children:nQ.map(r=>A.jsxs("div",{children:[A.jsx(L.Menu.Label,{children:e(`editor.ai.menu.main.${r.title}`)}),r.options.map(i=>A.jsx(L.Menu.Item,{onClick:()=>{if(i.type){n(i.type);return}t(i.prompt||"")},leftSection:i.icon,children:e(`editor.ai.menu.main.${i.title}`)},i.title))]},r.title))}),oQ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Item,{leftSection:A.jsx(ee.IconArrowNarrowLeft,{size:14}),onClick:()=>n("main"),children:e("editor.ai.back")}),tQ.map(r=>A.jsx(L.Menu.Item,{onClick:()=>{t(`Change text into ${r} style`)},children:e(`editor.ai.menu.style.${r}`)},r))]}),sQ=({keyType:n,setTypeMenu:t,editor:e,onSubmit:r,response:i,onClose:o,t:s,selection:l})=>{switch(n){case"main":return A.jsx(iQ,{t:s,setTypeMenu:t,onSubmit:r});case"answer":return A.jsx($J,{t:s,onSubmit:r,editor:e,response:i,setTypeMenu:t,onClose:o,selection:l});case"language":return A.jsx(rQ,{t:s,onSubmit:r,setTypeMenu:t});case"style":return A.jsx(oQ,{t:s,onSubmit:r,setTypeMenu:t});default:return null}};function lQ(n,t=40){const[e,r]=E.useState(""),i=E.useRef(0),o=E.useRef(null),s=E.useRef(null);return E.useEffect(()=>{if(o.current&&clearInterval(o.current),r(""),i.current=0,!!n)return o.current=setInterval(()=>{r(l=>{const c=n[i.current];return i.current+=1,i.current>=n.length&&clearInterval(o.current),l+(c||"")})},t),()=>{o.current&&clearInterval(o.current)}},[n,t]),E.useEffect(()=>{s.current&&(s.current.scrollTop=s.current.scrollHeight)},[e]),{displayedText:e,containerRef:s}}const aQ=()=>{var U;const[n,t]=E.useState({top:"0px",bottom:"auto"}),[e,r]=E.useState(!1),[i,o]=E.useState(!1),[s]=Me(),[l,c]=E.useState("main"),[u,d]=E.useState(""),[h,g]=E.useState(""),[p,m]=E.useState(""),[y,w]=E.useState(null),[v,C]=E.useState(!1),{fetchPromptResult:x}=E.useContext(Ot),{t:_}=pt.useTranslation(),[N,T]=za.useResizeObserver(),k=()=>{r(!1),o(!1),m(""),c("main"),setTimeout(()=>{t({top:"0px",bottom:"auto"})},200)},M=za.useClickOutside(()=>{k()});E.useEffect(()=>{e?(qJ(s,g),document.documentElement.style.overflow="hidden",s.update(()=>{const j=J();j&&w(j)})):(c("main"),document.documentElement.style.overflow="auto",m(""))},[e]);const{displayedText:I,containerRef:R}=lQ(p,10),B=(j,K=!0)=>{const V=j+` "${K?h:""}"Only return the modified text. Do not include any explanations, introductions, or formatting.`;C(!0),x&&x(V,ue=>{m(ue),C(!1),c("answer"),d("")},()=>{C(!1)})};return E.useEffect(()=>{var K,V,ue;const{bottom:j}=((K=N.current)==null?void 0:K.getBoundingClientRect())||{bottom:0};if(j>window.innerHeight){const fe=(((ue=(V=s._rootElement)==null?void 0:V.getBoundingClientRect())==null?void 0:ue.bottom)||0)-window.innerHeight;t({...n,top:"auto",bottom:`${fe}px`})}},[T.height,e,N.current]),(U=s._rootElement)!=null&&U.parentElement?A.jsxs(A.Fragment,{children:[n.top?yr.createPortal(A.jsx(L.Transition,{mounted:!!e,transition:"scale-x",duration:300,timingFunction:"ease",children:j=>A.jsx(L.Box,{ref:M,style:{position:"absolute",...n,...j},className:"ai-editor-menu",children:A.jsxs(L.Menu,{opened:!!i,closeOnItemClick:!1,position:"bottom-start",zIndex:99,transitionProps:{transition:"fade",duration:300},styles:{dropdown:{overflow:"auto"}},offset:8,middlewares:{flip:!0,size:{apply({availableHeight:K,elements:V}){requestAnimationFrame(()=>{Object.assign(V.floating.style,{maxHeight:`${K>=425?425:K}px`})})}}},disabled:v,children:[A.jsx(L.Menu.Target,{children:A.jsxs(L.Paper,{withBorder:!0,ref:N,shadow:"lg",radius:"md",p:"0",px:"xs",children:[p&&A.jsxs(A.Fragment,{children:[A.jsxs(L.Group,{gap:3,align:"flex-start",style:{overflowY:"auto"},mah:120,ref:R,children:[A.jsx(L.Box,{style:{flex:1},w:"auto",py:"xs",children:I}),A.jsx(L.Box,{w:"auto",mt:"xs",children:A.jsx(L.CopyButton,{value:p,timeout:2e3,children:({copied:K,copy:V})=>A.jsx(L.Tooltip,{label:K?"Copied":"Copy",withArrow:!0,position:"right",children:A.jsx(L.ActionIcon,{color:K?"teal":"gray",variant:"subtle",onClick:V,children:K?A.jsx(ee.IconCheck,{size:16}):A.jsx(ee.IconCopy,{size:16})})})})})]}),A.jsx(L.Divider,{my:"0"})]}),A.jsx(L.Box,{children:A.jsx(L.Input,{size:"md",placeholder:_("editor.ai.placeholder"),rightSectionPointerEvents:"all",variant:"unstyled",value:u,onKeyDown:K=>{if(K.key==="Enter"){if(v)return;B(u)}},onChange:K=>{d(K.target.value)},rightSection:A.jsx(A.Fragment,{children:v?A.jsx(L.Loader,{color:"violet",size:"16",mr:"xs"}):A.jsx(L.ActionIcon,{color:"violet",disabled:!u,variant:"subtle",onClick:()=>{B(u)},children:A.jsx(ee.IconSparkles,{size:16})})})})})]})}),A.jsx(L.Menu.Dropdown,{className:"menu-dropdown-ai",onMouseDown:K=>{K.stopPropagation()},children:A.jsx(sQ,{keyType:l,setTypeMenu:c,editor:s,onSubmit:B,response:p,onClose:k,t:_,selection:y})})]})})}),s._rootElement.parentElement):null,A.jsxs("button",{disabled:!1,className:"toolbar-item spaced alignment","aria-label":"Formatting options for text alignment",type:"button","data-test-id":"toolbar-ai",onClick:()=>{const j=document.querySelector(".floating-text-format-popup");if(j.style.opacity="0",j.style.transform="translate(-10000px, -10000px)",j!=null&&j.style){const K=window.getSelection();if((K==null?void 0:K.rangeCount)===0)return null;if(K){const ue=K.getRangeAt(0).getBoundingClientRect(),fe=document.querySelector(".content-editable-wrapper"),ie=fe.getBoundingClientRect(),le=ue.top-ie.top+fe.scrollTop+ue.height+"px";t({top:le,bottom:"auto"}),setTimeout(()=>{r(!0)},0),setTimeout(()=>{o(!0)},100)}}},children:[A.jsx(ee.IconSparkles,{color:"#7950f2",size:18}),A.jsx(ee.IconAi,{size:21,color:"#7950f2"})]})]}):null},RM=({children:n,...t})=>{const{imagePickerSettings:e,maxFileSize:r}=E.useContext(Ot),{t:i}=pt.useTranslation("ui"),{giphyToken:o,unsplashClientId:s,link:l,download:c,maxUploadFiles:u}=e,d=E.useMemo(()=>[{key:"gallery",enabled:!0},{key:"giphy",enabled:o},{key:"unsplash",enabled:s},{key:"link",enabled:l===void 0?!0:l},{key:"upload",enabled:c===void 0?!0:c}].filter(g=>g.enabled).map(g=>g.key),[e]);return A.jsx(jt.FilePicker,{showTabs:d,dropZoneProps:{maxFiles:u||1,maxSize:r*1024*1024},giphyToken:o,unsplashClientId:s,locales:{gallery:i("changeCover.gallery"),link:i("changeCover.link"),search:i("changeCover.searchImage"),upload:i("changeCover.upload"),uploadFile:i("changeCover.uploadFile"),change:i("changeCover.change"),remove:i("remove"),error:i("errorMessage"),dragOrClickToChoose:i("changeCover.dragOrClickToChoose"),maxFileSize:i("changeCover.maxFileSize",{maxSize:r}),pasteLink:i("changeCover.pasteLink"),submitLink:i("changeCover.submitLink"),worksWithAnyImage:i("changeCover.worksWithAnyImage"),noImages:i("changeCover.noResult"),errors:{typeIsNotAllowed:"This file type is not supported",shouldNotExceed:i("changeCover.maxFileSize",{maxSize:r}),doNotUploadMoreThanSingleFile:i("dropZone.errors.doNotUploadMoreThanSingleFile"),invalidLink:i("changeCover.invalidLink")}},...t,children:n})},cQ=({editor:n,isEditable:t,t:e})=>{const{fetchUploadMedia:r,imperativeHandleRef:i}=E.useContext(Ot),[o,s]=E.useState(!1);return r?A.jsx(RM,{popoverProps:{opened:o,position:"bottom",onChange:s},onUpload:l=>{var c,u;!r||!l.length||(s(!1),(c=i==null?void 0:i.current)!=null&&c.insertImages&&((u=i.current)==null||u.insertImages(l)))},onChange:l=>{n.dispatchCommand(vh,{altText:"",src:l}),s(!1)},children:A.jsx(L.Tooltip,{label:e("editor.image.add_photo"),children:A.jsx("button",{disabled:!t,type:"button",onClick:()=>s(l=>!l),className:"toolbar-item spaced","data-test-id":"toolbar-insert-image",children:A.jsx(xe,{name:"photo"})})})}):null},uQ={bullet:"Маркированный список",check:"Чек-лист",code:"Кодовый блок",h1:"Заголовок 1",h2:"Заголовок 2",h3:"Заголовок 3",h4:"Заголовок 4",h5:"Заголовок 5",h6:"Заголовок 6",number:"Нумерованный список",paragraph:"Параграф",quote:"Цитата"};function kf(){return A.jsx("div",{className:"divider"})}function Yk({mode:n,isFloating:t}){const[e]=Me(),[r,i]=E.useState(e),[o,s]=E.useState("paragraph"),[l,c]=E.useState("root"),[u,d]=E.useState(null),[h,g]=E.useState("#000"),[p,m]=E.useState("#fff"),[y,w]=E.useState("left"),[v,C]=E.useState(!1),[x,_]=E.useState(!1),[N,T]=E.useState(!1),[k,M]=E.useState(!1),[I,R]=E.useState(!1),[B,U]=E.useState(!1),[j,K]=E.useState(!1),[V,ue]=E.useState(!1),[fe,ie]=E.useState(!1),[le,te]=E.useState(!1),[H]=Ng(),[W,Q]=E.useState(!1),[re,ce]=E.useState(!0),[me,X]=E.useState(!0),[ne,Ae]=E.useState(0),[oe,pe]=E.useState(()=>e.isEditable()),ke=n||"default",{excludeNodes:Pe,fetchUploadMedia:Ce,fetchPromptResult:We,commentOptions:Oe}=E.useContext(Ot),{t:Se}=pt.useTranslation(),Je=E.useCallback(()=>{const je=J();if(Y(je)){const nt=je.anchor.getNode(),dt=je.focus.getNode(),kt=Yt(nt)?null:nt.getTopLevelElementOrThrow(),ht=Yt(dt)?null:dt.getTopLevelElementOrThrow();let et=nt.getKey()==="root"?nt:Te(nt,ar=>{const Jo=ar.getParent();return Jo!==null&&qn(Jo)});je.getNodes().length===1?ce(!0):ce(!1),et===null&&(et=nt.getTopLevelElementOrThrow());const Kt=et.getKey(),lr=r.getElementByKey(Kt);e.update(()=>{_(je.hasFormat("bold")),T(je.hasFormat("italic")),M(je.hasFormat("underline")),R(je.hasFormat("strikethrough")),U(je.hasFormat("subscript")),K(je.hasFormat("superscript")),ue(je.hasFormat("code"))});const Bn=ja(je),eo=Bn.getParent();Nn(eo)||Nn(Bn)?C(!0):C(!1),g(eh(je,"color","inherit")),m(eh(je,"background-color","inherit"));let Ps;Nn(eo)&&(Ps=Te(Bn,ar=>G(ar)&&!ar.isInline())),w(G(Ps)?Ps.getFormatType():G(Bn)?Bn.getFormatType():(eo==null?void 0:eo.getFormatType())||"left");const Ac=Te(Bn,Ct);if(Ct(Ac)?c("table"):c("root"),lr!==null&&(kt==null?void 0:kt.getKey())===(ht==null?void 0:ht.getKey()))if(d(Kt),Qe(et)){const ar=hb(nt,wr),Jo=ar?ar.getListType():et.getListType();s(Jo)}else{const ar=Ui(et)?et.getTag():et.getType();ar in uQ&&s(ar)}else s("")}},[r,ce]);E.useEffect(()=>e.registerCommand(Gr,(je,nt)=>(Je(),i(nt),!1),bn),[e,Je]),E.useEffect(()=>tt(e.registerEditableListener(je=>{pe(je)}),r.registerUpdateListener(({editorState:je})=>{je.read(()=>{Je()})}),r.registerCommand(Ta,je=>(ie(je),!1),bn),r.registerCommand(ka,je=>(te(je),!1),bn)),[Je,r,e]),E.useEffect(()=>tt(r.registerCommand(xT,je=>{const nt=je,{code:dt,metaKey:kt}=nt;if(dt==="KeyK"&&kt){nt.preventDefault();let ht;return v?ht=null:ht=rl("https://"),r.dispatchCommand(ys,ht)}return!1},Ai),r.registerCommand(jo,()=>{const je=J();if(Y(je)){const nt=je.getNodes(),dt=nt.length>0&&nt.every(kt=>Bo(kt)||Ct(kt)||Mr(kt)?!1:G(kt)||ae(kt));X(!dt)}return!1},Ai)),[r,v]),E.useCallback((je,nt)=>{r.update(()=>{const dt=J();dt!==null&&$f(dt,je)},nt?{tag:"historic"}:{})},[r]);const ut=E.useCallback(()=>{setTimeout(()=>{r.dispatchCommand(Mt,"")}),r.update(()=>{const je=J();if(Y(je)){const nt=je.anchor,dt=je.focus,kt=je.getNodes(),ht=je.extract();if(nt.key===dt.key&&nt.offset===dt.offset)return;kt.forEach((et,$t)=>{if(Wn(et)){let Kt=et;$t===0&&nt.offset!==0&&(Kt=Kt.splitText(nt.offset)[1]||Kt),$t===kt.length-1&&(Kt=Kt.splitText(dt.offset)[0]||Kt);const lr=ht[0];kt.length===1&&Wn(lr)&&(Kt=lr),Kt.__style!==""&&Kt.setStyle(""),Kt.__format!==0&&Kt.setFormat(0);const Bn=oc(Kt);Bn.__format!==0&&Bn.setFormat(""),Bn.__indent!==0&&Bn.setIndent(0),et=Kt}else Ui(et)||_l(et)?et.replace(Ee(),!0):dh(et)&&et.setFormat("")})}})},[r]),lt=je=>{g(je.color),m(je["background-color"]),r.update(()=>{const nt=J();nt!==null&&$f(nt,je)})},Zt=E.useCallback(()=>{e.dispatchCommand(hw,"create"),setTimeout(()=>{pe(!0)},1e3)},[e]),Sn=()=>{e.dispatchCommand(zw,void 0),Ae(je=>je+1)};return A.jsx("div",{className:"toolbar-wrapper",tabIndex:-1,children:A.jsxs("div",{className:"toolbar",children:[A.jsxs(A.Fragment,{children:[A.jsx(hM,{disabled:me,blockType:o,rootType:l,editor:e,mode:ke,fetchUploadMedia:Ce,excludeNodes:Pe}),A.jsx(kf,{})]}),n==="editor"&&!0&&We&&A.jsxs(A.Fragment,{children:[A.jsx(E.Suspense,{fallback:null,children:A.jsx(aQ,{})}),A.jsx(kf,{})]}),A.jsxs(A.Fragment,{children:[A.jsx(L.Tooltip,{label:Se("editor.toolbar.bold"),children:A.jsx("button",{disabled:!oe,onClick:()=>{r.dispatchCommand(Mt,"bold")},className:"toolbar-item spaced "+(x?"active":""),type:"button","data-test-id":"toolbar-bold",children:A.jsx(xe,{name:"bold"})})}),A.jsx(L.Tooltip,{label:Se("editor.toolbar.italic"),children:A.jsx("button",{disabled:!oe,onClick:()=>{r.dispatchCommand(Mt,"italic")},className:"toolbar-item spaced "+(N?"active":""),type:"button","data-test-id":"toolbar-italic",children:A.jsx(xe,{name:"italic"})})}),A.jsx(L.Tooltip,{label:Se("editor.toolbar.underline"),children:A.jsx("button",{disabled:!oe,"data-test-id":"toolbar-underline",onClick:()=>{r.dispatchCommand(Mt,"underline")},className:"toolbar-item spaced "+(k?"active":""),type:"button",children:A.jsx(xe,{name:"underline"})})}),A.jsx(L.Tooltip,{label:Se("editor.toolbar.strike"),children:A.jsx("button",{disabled:!oe,className:"toolbar-item spaced "+(I?"active":""),"data-test-id":"toolbar-strikethrough",onClick:()=>{r.dispatchCommand(Mt,"strikethrough")},children:A.jsx(xe,{name:"strikethrough"})})}),A.jsx(L.Tooltip,{label:Se("editor.toolbar.code"),children:A.jsx("button",{disabled:!oe,onClick:()=>{r.dispatchCommand(Mt,"code")},className:"toolbar-item spaced "+(V?"active":""),type:"button","data-test-id":"toolbar-code",children:A.jsx(xe,{name:"code"})})}),A.jsx(L.Tooltip,{label:Se("editor.toolbar.clear"),children:A.jsx("button",{disabled:!oe,className:"toolbar-item",onClick:ut,"data-test-id":"toolbar-clear-format",children:A.jsx(xe,{name:"сlear-format"})})}),A.jsx(L.Tooltip,{disabled:!oe,label:Se("editor.toolbar.link"),children:A.jsx("button",{onClick:Zt,className:"toolbar-item spaced "+(v?"active":""),onMouseDown:()=>{pe(!1)},type:"button","data-test-id":"toolbar-link",children:A.jsx(xe,{name:"link"})})}),Oe&&n==="editor"&&A.jsx(L.Tooltip,{label:Se("editor.toolbar.comment"),children:A.jsx("button",{onClick:Sn,className:"toolbar-item spaced "+(v?"active":""),type:"button","data-test-id":"toolbar-comment",children:A.jsx(xe,{name:"message"})})},ne),A.jsx(jt.NewColorPicker,{value:{color:h,background:p},menuProps:{closeOnItemClick:!0},onChange:je=>{lt({color:h,"background-color":p,[je.mode==="color"?"color":"background-color"]:je.value})},disabled:!oe,modes:["color","background"]})]}),A.jsx(kf,{}),A.jsx(JJ,{disabled:!oe,value:y,editor:e,isRTL:W,setElementFormat:w}),n==="default"&&A.jsxs(A.Fragment,{children:[A.jsx(kf,{}),A.jsx(cQ,{editor:e,t:Se,isEditable:oe})]}),H]})})}const PM=Object.freeze({" ":"\\t","\n":"\\n"}),Zk=new RegExp(Object.keys(PM).join("|"),"g"),Di=Object.freeze({ancestorHasNextSibling:"|",ancestorIsLastChild:" ",hasNextSibling:"├",isLastChild:"└",selectedChar:"^",selectedLine:">"}),dQ=[n=>n.hasFormat("bold")&&"Bold",n=>n.hasFormat("code")&&"Code",n=>n.hasFormat("italic")&&"Italic",n=>n.hasFormat("strikethrough")&&"Strikethrough",n=>n.hasFormat("subscript")&&"Subscript",n=>n.hasFormat("superscript")&&"Superscript",n=>n.hasFormat("underline")&&"Underline",n=>n.hasFormat("highlight")&&"Highlight"],fQ=[n=>n.hasTextFormat("bold")&&"Bold",n=>n.hasTextFormat("code")&&"Code",n=>n.hasTextFormat("italic")&&"Italic",n=>n.hasTextFormat("strikethrough")&&"Strikethrough",n=>n.hasTextFormat("subscript")&&"Subscript",n=>n.hasTextFormat("superscript")&&"Superscript",n=>n.hasTextFormat("underline")&&"Underline",n=>n.hasTextFormat("highlight")&&"Highlight"],hQ=[n=>n.isDirectionless()&&"Directionless",n=>n.isUnmergeable()&&"Unmergeable"],gQ=[n=>n.isToken()&&"Token",n=>n.isSegmented()&&"Segmented"];function pQ(n,t,e,r,i=!1){const o=n.getEditorState(),s=n._config,l=n._compositionKey,c=n._editable;if(e){let g="";return o.read(()=>{g=(function(p){const m=document.createElement("div");return m.innerHTML=p.trim(),FM(m,0).innerHTML})(th(n))}),g}let u=` root
167
- `;const d=o.read(()=>{const g=J();return BM(Re(),(p,m)=>{const y=`(${p.getKey()})`,w=p.getType()||"",v=p.isSelected();u+=`${v?Di.selectedLine:" "} ${m.join(" ")} ${y} ${w} ${(function(C,x,_=!1){const N=x?x(C,_):void 0;if(N!==void 0&&N.length>0)return N;if(ae(C)){const T=C.getTextContent(),k=T.length===0?"(empty)":`"${Gk(T,_)}"`,M=(function(I){return[Jk(I),mQ(I),AQ(I),Qk(I)].filter(Boolean).join(", ")})(C);return[k,M.length!==0?`{ ${M} }`:null].filter(Boolean).join(" ").trim()}if(Nn(C)){const T=C.getURL(),k=T.length===0?"(empty)":`"${Gk(T,_)}"`,M=(function(I){return[yQ(I),bQ(I),wQ(I),Qk(I)].filter(Boolean).join(", ")})(C);return[k,M.length!==0?`{ ${M} }`:null].filter(Boolean).join(" ").trim()}if(fh(C))return`ids: [ ${C.getIDs().join(", ")} ]`;if(mn(C)){const T=(function(M){let I=fQ.map(R=>R(M)).filter(Boolean).join(", ").toLocaleLowerCase();return I!==""&&(I="format: "+I),I})(C);let k=T!==""?`{ ${T} }`:"";return k+=C.__style?`(${C.__style})`:"",k}return""})(p,r,i)}
168
- `,u+=(function({indent:C,isSelected:x,node:_,nodeKeyDisplay:N,selection:T,typeDisplay:k}){if(!ae(_)||!Y(T)||!x||G(_))return"";const M=T.anchor,I=T.focus;if(_.getTextContent()===""||M.getNode()===T.focus.getNode()&&M.offset===I.offset)return"";const[R,B]=(function(ie,le){const te=le.getStartEndPoints();if(Vt(le)||te===null)return[-1,-1];const[H,W]=te,Q=ie.getTextContent(),re=Q.length;let ce=-1,me=-1;if(H.type==="text"&&W.type==="text"){const Ae=H.getNode(),oe=W.getNode();Ae===oe&&ie===Ae&&H.offset!==W.offset?[ce,me]=H.offset<W.offset?[H.offset,W.offset]:[W.offset,H.offset]:[ce,me]=ie===Ae?Ae.isBefore(oe)?[H.offset,re]:[0,H.offset]:ie===oe?oe.isBefore(Ae)?[W.offset,re]:[0,W.offset]:[0,re]}const X=(Q.slice(0,ce).match(Zk)||[]).length,ne=(Q.slice(ce,me).match(Zk)||[]).length;return[ce+X,me+X+ne]})(_,T);if(R===B)return"";const U=C[C.length-1]===Di.hasNextSibling?Di.ancestorHasNextSibling:Di.ancestorIsLastChild,j=[...C.slice(0,C.length-1),U],K=Array(R+1).fill(" "),V=Array(B-R).fill(Di.selectedChar),ue=k.length+2,fe=Array(N.length+ue).fill(" ");return[Di.selectedLine,j.join(" "),[...fe,...K,...V].join("")].join(" ")+`
169
- `})({indent:m,isSelected:v,node:p,nodeKeyDisplay:y,selection:g,typeDisplay:w})}),g===null?": null":Y(g)?(function(p){let m="";const y=Jk(p);m+=`: range ${y!==""?`{ ${y} }`:""} ${p.style!==""?`{ style: ${p.style} } `:""}`;const w=p.anchor,v=p.focus,C=w.offset,x=v.offset;return m+=`
170
- ├ anchor { key: ${w.key}, offset: ${C===null?"null":C}, type: ${w.type} }`,m+=`
171
- └ focus { key: ${v.key}, offset: ${x===null?"null":x}, type: ${v.type} }`,m})(g):Rw(g)?(function(p){return`: table
172
- └ { table: ${p.tableKey}, anchorCell: ${p.anchor.key}, focusCell: ${p.focus.key} }`})(g):(function(p){return Vt(p)?`: node
173
- └ [${Array.from(p._nodes).join(", ")}]`:""})(g)});if(u+=`
174
- selection`+d,u+=`
175
-
176
- commands:`,t.length)for(const{index:g,type:p,payload:m}of t)u+=`
177
- └ ${g}. { type: ${p}, payload: ${m instanceof Event?m.constructor.name:m} }`;else u+=`
178
- └ None dispatched.`;const{version:h}=n.constructor;return u+=`
179
-
180
- editor${h?` (v${h})`:""}:`,u+=`
181
- └ namespace ${s.namespace}`,l!==null&&(u+=`
182
- └ compositionKey ${l}`),u+=`
183
- └ editable ${String(c)}`,u}function BM(n,t,e=[]){const r=n.getChildren(),i=r.length;r.forEach((o,s)=>{t(o,e.concat(s===i-1?Di.isLastChild:Di.hasNextSibling)),G(o)&&BM(o,t,e.concat(s===i-1?Di.ancestorIsLastChild:Di.ancestorHasNextSibling))})}function Gk(n,t=!1){const e=Object.entries(PM).reduce((r,[i,o])=>r.replace(new RegExp(i,"g"),String(o)),n);return t?e.replace(/[^\s]/g,"*"):e}function mQ(n){let t=hQ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="detail: "+t),t}function AQ(n){let t=gQ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="mode: "+t),t}function Jk(n){let t=dQ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="format: "+t),t}function yQ(n){let t=n.getTarget();return t!=null&&(t="target: "+t),t}function bQ(n){let t=n.getRel();return t!=null&&(t="rel: "+t),t}function wQ(n){let t=n.getTitle();return t!=null&&(t="title: "+t),t}function Qk(n){if(!n.__state)return!1;const t=[];for(const[r,i]of n.__state.knownState.entries()){if(r.isEqual(i,r.defaultValue))continue;const o=JSON.stringify(r.unparse(i));t.push(`[${r.key}: ${o}]`)}let e=t.join(",");return e!==""&&(e="state: "+e),e}function FM(n,t){const e=new Array(1+t++).join(" "),r=new Array(t-1).join(" ");let i;for(let o=0;o<n.children.length;o++)i=document.createTextNode(`
184
- `+e),n.insertBefore(i,n.children[o]),FM(n.children[o],t),n.lastElementChild===n.children[o]&&(i=document.createTextNode(`
185
- `+r),n.appendChild(i));return n}const CQ=E.forwardRef(function({treeTypeButtonClassName:n,timeTravelButtonClassName:t,timeTravelPanelSliderClassName:e,timeTravelPanelButtonClassName:r,viewClassName:i,timeTravelPanelClassName:o,editorState:s,setEditorState:l,setEditorReadOnly:c,generateContent:u,commandsLog:d=[]},h){const[g,p]=E.useState([]),[m,y]=E.useState(""),[w,v]=E.useState(!1),[C,x]=E.useState(!1),_=E.useRef(0),N=E.useRef(null),[T,k]=E.useState(!1),[M,I]=E.useState(!1),[R,B]=E.useState(!1),U=E.useRef(null),j=E.useRef([]),K=E.useRef(0),V=E.useCallback(fe=>{const ie=++K.current;u(fe).then(le=>{ie===K.current&&y(le)}).catch(le=>{ie===K.current&&y(`Error rendering tree: ${le.message}
186
-
187
- Stack:
188
- ${le.stack}`)})},[u]);E.useEffect(()=>{if(!(!R&&s._nodeMap.size>1e3&&(I(!0),!R))&&(U.current!==s||j.current!==d)){const fe=U.current!==s;U.current=s,j.current=d,V(C),!w&&fe&&p(ie=>[...ie,[Date.now(),s]])}},[s,V,C,R,w,d]);const ue=g.length;return E.useEffect(()=>{if(T){let fe;const ie=()=>{const le=_.current;if(le===ue-1)return void k(!1);const te=g[le][0],H=g[le+1][0];fe=setTimeout(()=>{_.current++;const W=_.current,Q=N.current;Q!==null&&(Q.value=String(W)),l(g[W][1]),ie()},H-te)};return ie(),()=>{clearTimeout(fe)}}},[g,T,ue,l]),A.jsxs("div",{className:i,children:[!R&&M?A.jsxs("div",{style:{padding:20},children:[A.jsx("span",{style:{marginRight:20},children:"Detected large EditorState, this can impact debugging performance."}),A.jsx("button",{onClick:()=>{B(!0)},style:{background:"transparent",border:"1px solid white",color:"white",cursor:"pointer",padding:5},children:"Show full tree"})]}):null,R?null:A.jsx("button",{onClick:()=>(V(!C),void x(!C)),className:n,type:"button",children:C?"Tree":"Export DOM"}),!w&&(R||!M)&&ue>2&&A.jsx("button",{onClick:()=>{c(!0),_.current=ue-1,v(!0)},className:t,type:"button",children:"Time Travel"}),(R||!M)&&A.jsx("pre",{ref:h,children:m}),w&&(R||!M)&&A.jsxs("div",{className:o,children:[A.jsx("button",{className:r,onClick:()=>{_.current===ue-1&&(_.current=1),k(!T)},type:"button",children:T?"Pause":"Play"}),A.jsx("input",{className:e,ref:N,onChange:fe=>{const ie=Number(fe.target.value),le=g[ie];le&&(_.current=ie,l(le[1]))},type:"range",min:"1",max:ue-1}),A.jsx("button",{className:r,onClick:()=>{c(!1);const fe=g.length-1,ie=g[fe];l(ie[1]);const le=N.current;le!==null&&(le.value=String(fe)),v(!1),k(!1)},type:"button",children:"Exit"})]})]})});function vQ(n,t){const e=new Set;let r=0;for(const[i]of n._commands)e.add(n.registerCommand(i,o=>(t(s=>{r+=1;const l=[...s];return l.push({index:r,payload:o,type:i.type?i.type:"UNKNOWN"}),l.length>10&&l.shift(),l}),!1),bn));return()=>e.forEach(i=>i())}function xQ(n){const[t,e]=E.useState([]);return E.useEffect(()=>vQ(n,e),[n]),E.useMemo(()=>t,[t])}function SQ({treeTypeButtonClassName:n,timeTravelButtonClassName:t,timeTravelPanelSliderClassName:e,timeTravelPanelButtonClassName:r,timeTravelPanelClassName:i,viewClassName:o,editor:s,customPrintNode:l}){const c=nT.createRef(),[u,d]=E.useState(s.getEditorState()),h=xQ(s);return E.useEffect(()=>tt(s.registerUpdateListener(({editorState:g})=>{d(g)}),s.registerEditableListener(()=>{d(s.getEditorState())})),[s]),E.useEffect(()=>{const g=c.current;if(g!==null)return g.__lexicalEditor=s,()=>{g.__lexicalEditor=null}},[s,c]),A.jsx(CQ,{treeTypeButtonClassName:n,timeTravelButtonClassName:t,timeTravelPanelSliderClassName:e,timeTravelPanelButtonClassName:r,viewClassName:o,timeTravelPanelClassName:i,setEditorReadOnly:g=>{const p=s.getRootElement();p!=null&&(p.contentEditable=g?"false":"true")},editorState:u,setEditorState:g=>s.setEditorState(g),generateContent:async function(g){return pQ(s,h,g,l)},ref:c,commandsLog:h})}function Vk(n){let t=0;const e=[];return n.split(/(<[^>]+>)/g).filter(Boolean).forEach(i=>{i.startsWith("</")?(t=Math.max(0,t-2),e.push(" ".repeat(t)+i)):i.startsWith("<")?(e.push(" ".repeat(t)+i),!i.endsWith("/>")&&!i.match(/<(br|img|hr|input)[^>]*>/)&&(t+=2)):i.trim()&&e.push(" ".repeat(t)+i)}),e.join(`
189
- `)}function EQ(){const[n]=Me(),[t,e]=E.useState("tree"),[r,i]=E.useState(""),[o,s]=E.useState(!1);E.useEffect(()=>{if(t==="dom"){const c=()=>{const u=n.getRootElement();u&&i(u.innerHTML)};return c(),n.registerUpdateListener(c)}},[t,n]);const l=async(c=!1)=>{try{const u=c?Vk(r):r;await navigator.clipboard.writeText(u),s(!0),setTimeout(()=>s(!1),2e3)}catch(u){console.error("Failed to copy:",u)}};return A.jsxs("div",{className:"tree-view-output",children:[A.jsxs("div",{style:{display:"flex",gap:"4px",padding:"8px",borderBottom:"1px solid #333",background:"#1e1e1e"},children:[A.jsx("button",{onClick:()=>e("tree"),style:{padding:"6px 12px",background:t==="tree"?"#0078d4":"#2d2d2d",color:"#fff",border:"none",borderRadius:"4px",cursor:"pointer",fontSize:"12px",fontWeight:t==="tree"?"bold":"normal"},children:"Tree View"}),A.jsx("button",{onClick:()=>e("dom"),style:{padding:"6px 12px",background:t==="dom"?"#0078d4":"#2d2d2d",color:"#fff",border:"none",borderRadius:"4px",cursor:"pointer",fontSize:"12px",fontWeight:t==="dom"?"bold":"normal"},children:"DOM HTML"})]}),t==="tree"&&A.jsx(SQ,{viewClassName:"tree-view-output",treeTypeButtonClassName:"debug-treetype-button",timeTravelPanelClassName:"debug-timetravel-panel",timeTravelButtonClassName:"debug-timetravel-button",timeTravelPanelSliderClassName:"debug-timetravel-panel-slider",timeTravelPanelButtonClassName:"debug-timetravel-panel-button",editor:n}),t==="dom"&&A.jsxs("div",{style:{padding:"16px",background:"#1e1e1e",height:"100%",overflow:"auto"},children:[A.jsx("div",{style:{display:"flex",gap:"8px",marginBottom:"16px",position:"sticky",top:0,background:"#1e1e1e",paddingBottom:"8px",zIndex:10},children:A.jsx("button",{onClick:()=>l(!0),style:{padding:"6px 12px",background:o?"#28a745":"#6c757d",color:"#fff",border:"none",borderRadius:"4px",cursor:"pointer",fontSize:"11px",fontWeight:"bold"},children:o?"✓ Copied!":"Copy Formatted"})}),A.jsx("div",{style:{padding:"12px",background:"#252526",borderRadius:"4px",border:"1px solid #3e3e42"},children:A.jsx("pre",{style:{margin:0,whiteSpace:"pre",color:"#9cdcfe",fontFamily:"monospace",fontSize:"11px",lineHeight:"1.4"},children:Vk(r)})})]})]})}const jM=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function kQ({editor:n,ariaActiveDescendant:t,ariaAutoComplete:e,ariaControls:r,ariaDescribedBy:i,ariaErrorMessage:o,ariaExpanded:s,ariaInvalid:l,ariaLabel:c,ariaLabelledBy:u,ariaMultiline:d,ariaOwns:h,ariaRequired:g,autoCapitalize:p,className:m,id:y,role:w="textbox",spellCheck:v=!0,style:C,tabIndex:x,"data-testid":_,...N},T){const[k,M]=E.useState(n.isEditable()),I=E.useCallback(B=>{B&&B.ownerDocument&&B.ownerDocument.defaultView?n.setRootElement(B):n.setRootElement(null)},[n]),R=E.useMemo(()=>(function(...B){return U=>{for(const j of B)typeof j=="function"?j(U):j!=null&&(j.current=U)}})(T,I),[I,T]);return jM(()=>(M(n.isEditable()),n.registerEditableListener(B=>{M(B)})),[n]),A.jsx("div",{"aria-activedescendant":k?t:void 0,"aria-autocomplete":k?e:"none","aria-controls":k?r:void 0,"aria-describedby":i,...o!=null?{"aria-errormessage":o}:{},"aria-expanded":k&&w==="combobox"?!!s:void 0,...l!=null?{"aria-invalid":l}:{},"aria-label":c,"aria-labelledby":u,"aria-multiline":d,"aria-owns":k?h:void 0,"aria-readonly":!k||void 0,"aria-required":g,autoCapitalize:p,className:m,contentEditable:k,"data-testid":_,id:y,ref:R,role:w,spellCheck:v,style:C,tabIndex:x,...N})}const TQ=E.forwardRef(kQ);function Xk(n){return n.getEditorState().read(TN(n.isComposing()))}const _Q=E.forwardRef(NQ);function NQ(n,t){const{placeholder:e,...r}=n,[i]=Me();return A.jsxs(A.Fragment,{children:[A.jsx(TQ,{editor:i,...r,ref:t}),e!=null&&A.jsx(IQ,{editor:i,content:e})]})}function IQ({content:n,editor:t}){const e=(function(s){const[l,c]=E.useState(()=>Xk(s));return jM(()=>{function u(){const d=Xk(s);c(d)}return u(),tt(s.registerUpdateListener(()=>{u()}),s.registerEditableListener(()=>{u()}))},[s]),l})(t),[r,i]=E.useState(t.isEditable());if(E.useLayoutEffect(()=>(i(t.isEditable()),t.registerEditableListener(s=>{i(s)})),[t]),!e)return null;let o=null;return typeof n=="function"?o=n(r):n!==null&&(o=n),o===null?null:A.jsx("div",{"aria-hidden":!0,children:o})}function Py({className:n}){return A.jsx(_Q,{contentEditable:!1,className:n||"ContentEditable__root"})}const MQ="_listContainer_1d88b_1",DQ="_list_1d88b_1",LQ="_text_1d88b_28",Qm={listContainer:MQ,list:DQ,text:LQ},OQ=({editor:n})=>{var u;const[t,e]=E.useState(!1),{t:r,i18n:i}=pt.useTranslation(),{excludeNodes:o}=E.useContext(Ot),s=d=>{const h=document.querySelector(".editor-container");if(d){h.classList.add("empty-editor");return}h.classList.remove("empty-editor")};E.useEffect(()=>{n.update(()=>{ry()&&(e(!0),s(!0))}),tt(n.registerCommand(jh,()=>{const d=!!ry();return e(d),s(d),!1},Ne),n.registerCommand(Os,()=>(e(!1),s(!1),!1),Ne))},[]);const l=(d,h)=>{d==null||d.update(()=>{d.focus();const p=Re().getFirstChild();p&&h&&(h(p),e(!1))})},c=E.useMemo(()=>[{title:r("editor.emptyPageOptions.heading"),icon:A.jsx(ee.IconH1,{stroke:2,size:18}),onSelect:()=>l(n,d=>{d.replace(xo("h1"))})},{title:r("editor.emptyPageOptions.grid"),icon:A.jsx(ee.IconColumns2,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(Kw,mw)})}},{title:r("editor.emptyPageOptions.list"),icon:A.jsx(ee.IconListNumbers,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(fg,void 0)})}},{title:r("editor.emptyPageOptions.code"),icon:A.jsx(ee.IconCode,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(mM,void 0)})}},{title:r("editor.menu.media.excalidraw.hint.description"),icon:A.jsx(ee.IconPalette,{stroke:2,size:18}),onSelect:()=>{Promise.resolve().then(()=>require("./layers.oZKOhPNd.js")).then(({INSERT_EXCALIDRAW_COMMAND:d})=>{l(n,()=>{n.dispatchCommand(d,void 0)})})}},o.template?{title:r("editor.emptyPageOptions.template"),icon:A.jsx(ee.IconTemplate,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(tI,void 0)})}}:null,{title:r("editor.emptyPageOptions.callout"),icon:A.jsx(ee.IconBaseline,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(fw,"success")})})}},{title:r("editor.emptyPageOptions.table"),icon:A.jsx(ee.IconTable,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(hg,{columns:"4",includeHeaders:!1,rows:"3"})})})}},{title:r("editor.emptyPageOptions.integrations"),icon:A.jsx(ee.IconApps,{stroke:2,size:18}),onSelect:()=>{}}],[i.language]);return t?A.jsx(L.Portal,{target:((u=n==null?void 0:n._rootElement)==null?void 0:u.parentElement)||document.body,children:A.jsx("ul",{className:`${Qm.listContainer} empty-page-options`,children:c.map((d,h)=>d?A.jsxs(L.Menu,{disabled:h!==c.length-1,position:"bottom-start",shadow:"md",styles:{dropdown:{overflow:"auto",zIndex:1e3}},middlewares:lM,width:200,transitionProps:$i,children:[A.jsx(L.Menu.Target,{children:A.jsxs("li",{className:Qm.list,onClick:d.onSelect,children:[d.icon," ",A.jsx("span",{className:Qm.text,children:d.title})]})}),A.jsx(L.Menu.Dropdown,{children:hc.map(g=>A.jsx(L.Menu.Item,{className:"item "+sM(g.key==="1"),leftSection:g.icon,style:{borderRadius:"var(--mantine-radius-sm)"},onClick:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(Uw,""),e(!1)})})},children:g.name},g.name))})]},d.title):null)})}):null};function RQ({editor:n,outputFormat:t,debounceMs:e=500,onChange:r,onBlur:i,isCommentVariant:o,checkIsEmpty:s,onChangeCommand:l}){const c=za.useDebouncedCallback(h=>{l&&h.dispatchCommand(l,!0)},100),u=za.useDebouncedCallback((h,g)=>{if(t==="html")h.read(()=>{let m=th(g,null);const y=Re();y&&(s()&&(m=""),y.getChildrenSize()===0&&(g.update(()=>{y.append(Ee())}),m=""));const w=Re().getTextContent();r(m,w)});else{const p=h.toJSON();r(p)}},e),d=(h,g)=>{if(i)if(t==="html")g.update(()=>{const p=th(g,null);i(p)});else{const p=h.toJSON();i(p)}};return E.useEffect(()=>n.registerCommand(Ol,g=>{if(!o)return!1;try{const p=g.clipboardData||window.clipboardData;if(!p||!p.getData("application/x-lexical-editor"))return!1;const y=p.getData("text/html");if(!y)return!1;const v=new DOMParser().parseFromString(y,"text/html"),C=Jh(n,v);return Bu(C),!0}catch{return!1}},Ne),[n,o]),{triggerOnChangeCommand:c,onChangeValue:u,onBlurValue:d}}const PQ={toolbar:{comment:!1,default:!0,editor:!1},componentPicker:{comment:!0,default:!0,editor:!0},floatingTextToolbar:{comment:!0,default:!0,editor:!0},floatingLinkEditor:{comment:!0,default:!0,editor:!0},actionMenu:{comment:!1,default:!0,editor:!0},mediaActions:{comment:!1,default:!0,editor:!0},richText:{comment:!0,default:!0,editor:!0},history:{comment:!1,default:!0,editor:!0},treeView:{comment:!1,default:!0,editor:!0},actionsInspector:{comment:!1,default:!0,editor:!0},onChange:{comment:!0,default:!0,editor:!0},blur:{comment:!0,default:!0,editor:!0},focus:{comment:!0,default:!0,editor:!0},autoFocus:{comment:!0,default:!0,editor:!0},placeholder:{comment:!0,default:!0,editor:!0},clearEditor:{comment:!0,default:!1,editor:!1},maxLength:{comment:!1,default:!0,editor:!0},emoji:{comment:!0,default:!0,editor:!0},hashtag:{comment:!1,default:!0,editor:!0},markdownShortcut:{comment:!1,default:!0,editor:!0},extendCode:{comment:!1,default:!0,editor:!0},codeHighlight:{comment:!1,default:!0,editor:!0},list:{comment:!0,default:!0,editor:!0},checkList:{comment:!0,default:!0,editor:!0},listMaxIndent:{comment:!0,default:!0,editor:!0},link:{comment:!0,default:!0,editor:!0},clickableLink:{comment:!0,default:!0,editor:!0},horizontalRule:{comment:!1,default:!0,editor:!0},tabFocus:{comment:!0,default:!0,editor:!0},tabIndentation:{comment:!0,default:!0,editor:!0},collapsible:{comment:!1,default:!0,editor:!0},callout:{comment:!1,default:!0,editor:!0},layout:{comment:!1,default:!0,editor:!0},table:{comment:!1,default:!0,editor:!0},draggableBlock:{comment:!1,default:!0,editor:!0},newParagraph:{comment:!0,default:!0,editor:!0},tableOfContents:{comment:!1,default:!0,editor:!0},embed:{comment:!1,default:!0,editor:!0},swagger:{comment:!1,default:!0,editor:!0},images:{comment:!1,default:!0,editor:!0},video:{comment:!1,default:!0,editor:!0},audio:{comment:!1,default:!0,editor:!0},file:{comment:!1,default:!0,editor:!0},excalidraw:{comment:!1,default:!0,editor:!0},childDocs:{comment:!1,default:!0,editor:!0},comment:{comment:!1,default:!0,editor:!0},form:{comment:!1,default:!0,editor:!0},select:{comment:!1,default:!0,editor:!0},shortcuts:{comment:!1,default:!0,editor:!0}},qk=E.lazy(()=>Promise.resolve().then(()=>require("./layers.oZKOhPNd.js")));function Ge(n,t){const e=PQ[n];return e?e[t]:!0}function BQ(n){const{onRef:t,floatingAnchorElem:e,isSmallWidthViewport:r,maxHeight:i,showTextToolbar:o,mode:s,isLoading:l,editor:c,onBlur:u,onFocus:d,onChange:h,outputFormat:g,debounceMs:p}=n,m=s==="editor",y=s==="comment",[w,v]=E.useState(!1),{excludeNodes:C}=E.useContext(Ot),{settings:{isRichText:x,showTreeView:_,isMaxLength:N}}=kw(),{historyState:T}=Tw(),{triggerOnChangeCommand:k,onChangeValue:M,onBlurValue:I}=RQ({editor:c,outputFormat:g,debounceMs:p,onChange:h,onBlur:u,isCommentVariant:y,checkIsEmpty:ry,onChangeCommand:_o});let R={};i?R={maxHeight:i}:m&&(R={overflowY:"hidden"});const B=m?A.jsx("div",{className:"editor-scroller",style:R,children:A.jsx("div",{className:"editor",ref:t,children:A.jsx("div",{className:"content-editable-wrapper",children:A.jsx("div",{children:A.jsx(Py,{})})})})}):A.jsx("div",{className:"editor-scroller",style:R,children:A.jsx("div",{className:"editor",ref:t,children:A.jsx(Py,{})})});return A.jsxs(A.Fragment,{children:[Ge("toolbar",s)&&!m&&A.jsx(Yk,{mode:s}),Ge("componentPicker",s)&&A.jsx(XY,{mode:s,opened:w,setOpenedMenu:v}),Ge("history",s)&&A.jsx(dN,{externalHistoryState:T}),Ge("floatingTextToolbar",s)&&e&&!r&&(m?A.jsx(by,{anchorElem:e,component:A.jsx(Yk,{mode:s,isFloating:!0})}):A.jsx(by,{anchorElem:e})),A.jsxs("div",{className:`editor-container ${x?"":"plain-text"}`,children:[Ge("placeholder",s)&&A.jsx(rZ,{}),Ge("autoFocus",s)&&A.jsx(qY,{isLoading:l}),Ge("emoji",s)&&A.jsx(kZ,{}),Ge("hashtag",s)&&A.jsx(JH,{}),Ge("clearEditor",s)&&A.jsx(WH,{}),Ge("richText",s)&&A.jsx(xI,{contentEditable:B,ErrorBoundary:vI}),Ge("markdownShortcut",s)&&A.jsx($Z,{}),Ge("shortcuts",s)&&A.jsx(fJ,{editor:c,setIsLinkEditMode:()=>{}}),Ge("extendCode",s)&&A.jsx(_Z,{}),Ge("codeHighlight",s)&&A.jsx(z9,{}),Ge("list",s)&&A.jsx(VZ,{}),Ge("checkList",s)&&A.jsx(F9,{}),Ge("listMaxIndent",s)&&A.jsx(JZ,{maxDepth:7}),Ge("link",s)&&A.jsx(AM,{}),Ge("comment",s)&&A.jsx(fY,{}),qk&&Ge("excalidraw",s)&&A.jsx(E.Suspense,{children:A.jsx(qk,{})}),Ge("swagger",s)&&A.jsx(EY,{}),Ge("childDocs",s)&&A.jsx(j9,{}),Ge("newParagraph",s)&&!_&&A.jsx(t7,{}),Ge("form",s)&&A.jsx(WZ,{}),Ge("video",s)&&!C.video&&A.jsx(OH,{}),Ge("audio",s)&&!C.audio&&A.jsx(EH,{}),Ge("file",s)&&!C.file&&A.jsx(BH,{}),Ge("embed",s)&&A.jsx(wY,{}),Ge("images",s)&&!C.photo&&A.jsx(PH,{}),Ge("onChange",s)&&A.jsx(XH,{ignoreSelectionChange:!0,onChange:(U,j)=>{M(U,j),k(j)}}),Ge("maxLength",s)&&N&&A.jsx(e7,{maxLength:30}),Ge("blur",s)&&A.jsx(D9,{onBlur:I}),Ge("focus",s)&&A.jsx(UZ,{onFocus:d}),Ge("treeView",s)&&_&&A.jsx(EQ,{}),Ge("actionsInspector",s)&&_&&A.jsx(N9,{isRichText:!0,shouldPreserveNewLinesInMarkdown:!0}),Ge("select",s)&&A.jsx(IG,{editor:c}),Ge("clickableLink",s)&&A.jsx(HH,{}),Ge("horizontalRule",s)&&A.jsx(QH,{}),Ge("tabFocus",s)&&A.jsx(mJ,{}),Ge("tabIndentation",s)&&A.jsx(bJ,{}),Ge("collapsible",s)&&A.jsx(iY,{}),Ge("callout",s)&&A.jsx(R9,{}),Ge("layout",s)&&A.jsx(xY,{}),Ge("table",s)&&e&&(m||!r)&&A.jsx(ZJ,{floatingAnchorElem:e,isSmallWidthViewport:r}),Ge("draggableBlock",s)&&e&&!r&&A.jsx(yZ,{isShowAddButton:!0,anchorElem:e}),e&&A.jsxs(A.Fragment,{children:[Ge("floatingLinkEditor",s)&&A.jsx(RZ,{anchorElem:e,showTextToolbar:o}),Ge("actionMenu",s)&&A.jsx(cH,{anchorElem:e}),Ge("mediaActions",s)&&A.jsx(h5,{anchorElem:e})]})]}),Ge("tableOfContents",s)&&(m?C.contents&&A.jsx(Ry,{}):(C.contents||C.contents===void 0)&&A.jsx(Ry,{})),Ge("emptyPage",s)&&m&&A.jsx(OQ,{editor:c})]})}const FQ=n=>{const t=J(),e=zt(),r=e==null?void 0:e.getParent(),i=r==null?void 0:r.getParent();if(e){if(Fw())return Re().clear(),t.insertParagraph(),!0;if(i instanceof Po||i instanceof _s)return eY();if(r instanceof Dr)return TZ()}return!1},jQ=(n,t)=>{var e,r,i,o,s,l;if(n.dataTransfer){const c=Object.values(n.dataTransfer.files);if(c&&c.length)return n.preventDefault(),n.target instanceof HTMLElement&&((e=t.current)!=null&&e.insertImages)&&((r=Fe(n.target))==null||r.selectEnd(),c[0].type.includes("video")&&((i=t.current)!=null&&i.insertVideos)?t.current.insertVideos(c):c[0].type.includes("image")&&((o=t.current)!=null&&o.insertImages)?t.current.insertImages(c):c[0].type.includes("audio")&&((s=t.current)!=null&&s.insertMusics)?t.current.insertMusics(c):(l=t.current)!=null&&l.insertFiles&&(t==null||t.current.insertFiles(c))),!0}return!1},$k=()=>{const n=zt(),t=n==null?void 0:n.getParent();return n&&Tu(t)?nY():!1},eT=()=>{const n=zt(),t=n==null?void 0:n.getParent();return n&&ul(t)?tY():!1},zQ=n=>{const t=J();if(!Y(t)||!t.isCollapsed())return!1;const e=t.anchor.getNode();if(e.getPreviousSibling()===null&&t.anchor.offset===0){const r=e.getParent();if(r){const i=Ee();return i.append(...r.getChildren()),r.replace(i),n.preventDefault(),!0}}return!1};function UQ(n){if(!n)return null;const e=new DOMParser().parseFromString(n,"text/html").body,r=Array.from(e.children);if(r.length!==1)return null;const i=r[0];return i.tagName!=="IMG"||e.textContent&&e.textContent.trim().length>0?null:i.getAttribute("src")||""||null}const KQ=(n,t,e)=>{var o,s;const r=zt(),i=r==null?void 0:r.getParent();if(r){if(ul(i))return rY(n);if(bg(i))(s=(o=e.current)==null?void 0:o.onDeleteCallout)==null||s.call(o,t);else{if(Ri(i))return vY(n);if(wt(i))return zQ(t)}}return!1},WQ=(n,t)=>{const e=t.ctrlKey||t.metaKey,r=t.shiftKey,i=t.code==="KeyZ";return e&&r&&i?(t.preventDefault(),n.dispatchCommand(Rl,void 0),!0):!1},HQ=(n,t,e,r,i)=>{var l,c;if(i)return r.preventDefault(),r.key==="Enter"&&r.shiftKey&&t.insertParagraph(),!0;const o=zt(),s=o==null?void 0:o.getParent();if(o){if(s instanceof Lr)return CY(n);if(s instanceof Po)return $9(n);if(s instanceof Vl)return O9(n);if(s instanceof gi)return YJ(n);if(s instanceof wr||Lr)return P9()}return(c=(l=e.current)==null?void 0:l.decoratorEnterAction)==null||c.call(l),!1};function YQ(n,t){var e,r,i,o,s,l,c,u;if("dataTransfer"in n&&((r=(e=n.dataTransfer)==null?void 0:e.files)!=null&&r.length)){const d=Array.from(n.dataTransfer.files),h=d[0];return h.type.includes("video")&&((i=t.current)!=null&&i.insertVideos)?t.current.insertVideos(d):h.type.includes("image")&&((o=t.current)!=null&&o.insertImages)?t.current.insertImages(d):h.type.includes("audio")&&((s=t.current)!=null&&s.insertMusics)?t.current.insertMusics(d):(l=t.current)!=null&&l.insertFiles&&t.current.insertFiles(d),!0}if("clipboardData"in n){const d=(u=(c=n.clipboardData)==null?void 0:c.getData("text/html"))==null?void 0:u.trim();if(UQ(d))return!0}return!1}function ZQ(n){if(!n||n.classList.contains("video-container")||n.classList.contains("resizable-container")||n.classList.contains("editor-image"))return null;if(n.closest("ol, ul"))return n;let t=n;for(;t&&!t.classList.contains("ContentEditable__root");)t=t.parentElement;if(t!=null&&t.classList.contains("ContentEditable__root")){let e=n;for(;e&&e.parentElement!==t;)e=e.parentElement;return e}return null}function GQ(n){const{mode:t,maxHeight:e,disable:r,isErrorWs:i,content:o,isLoading:s,imperativeHandleRef:l,editorRef:c,onBlur:u,onFocus:d,onChange:h,outputFormat:g,debounceMs:p}=n,[m,y]=E.useState(null),[w,v]=E.useState(!1),C=E.useRef(!1),[x,..._]=Me(),{shiftEnterInsertNewLine:N}=E.useContext(Ot);UH({editor:x}),E.useEffect(()=>{x&&(x.setEditable(!r),c&&(c.current=x),i&&x.update(()=>{if(typeof o=="string"){Re().clear();const R=new DOMParser().parseFromString(o,"text/html"),B=Jh(x,R);Re().select(),Bu(B)}else{const M=x.parseEditorState(JSON.stringify(o));x.setEditorState(M)}}))},[i]),E.useEffect(()=>{function M(){x.dispatchCommand(ey,!0)}function I(B){const U=B.target,K=(U.tagName.toLowerCase()==="img"?U.closest("div.resizable-container__inner"):null)||ZQ(U);if(!K||U.classList.contains("dsd__theme__table-scrollable-wrapper"))return;(K.classList.contains("selected-block")||K.querySelector(".selected-block"))&&(B.preventDefault(),x.dispatchCommand(nI,{x:B.clientX,y:B.clientY,target:K}))}window.addEventListener("scroll",M);const R=x.getRootElement();return R==null||R.addEventListener("contextmenu",I),()=>{window.removeEventListener("scroll",M),R==null||R.removeEventListener("contextmenu",I)}},[x]);const T=M=>{M!==null&&y(M)};E.useEffect(()=>{const M=I=>{const R=navigator.platform.toUpperCase().includes("MAC"),B=R&&I.metaKey&&!I.shiftKey&&I.code==="KeyZ"||!R&&I.ctrlKey&&!I.shiftKey&&I.code==="KeyZ",U=R&&I.metaKey&&I.shiftKey&&I.code==="KeyZ"||!R&&I.ctrlKey&&I.shiftKey&&I.code==="KeyZ";B&&(I.preventDefault(),x.dispatchCommand($a,void 0)),U&&(I.preventDefault(),x.dispatchCommand(Rl,void 0))};return tt(x.registerCommand(jh,()=>(window.addEventListener("keydown",M),!1),Ne),x.registerCommand(Os,()=>(window.removeEventListener("keydown",M),!1),Ne))},[x]),E.useEffect(()=>{const M=()=>{const I=uc&&window.matchMedia("(max-width: 600px)").matches;I!==w&&v(I)};return M(),window.addEventListener("resize",M),()=>{window.removeEventListener("resize",M)}},[w]),E.useEffect(()=>tt(x.registerCommand(pl,M=>{const I=J();return HQ(x,I,l,M,N)},Ne),x.registerCommand(Pi,()=>FQ(),Ne),x.registerCommand(ec,M=>J()?(x.blur(),Ve(null),wo(M),!0):!1,Ne),x.registerCommand(Pl,M=>WQ(x,M),Ne),x.registerCommand(Hi,()=>eT(),Ne),x.registerCommand(Bh,()=>eT(),Ne),x.registerCommand(Cs,()=>$k(),Ne),x.registerCommand(Ol,M=>YQ(M,l),Ne),x.registerCommand(zy,M=>jQ(M,l),bo),x.registerCommand(Ph,()=>$k(),Ne),x.registerCommand(Io,()=>{const M=J();M.format=0,M.setStyle("");const I=M.insertParagraph();return I&&(I.__format=0),!0},Ne),x.registerCommand(Bl,M=>KQ(x,M,l),bo)),[x]);const k={onRef:T,floatingAnchorElem:m,isSmallWidthViewport:w,maxHeight:e,showTextToolbar:C,mode:t,isLoading:s,editor:x,onBlur:u,onFocus:d,onChange:h,outputFormat:g,debounceMs:p};return A.jsx(BQ,{...k})}const zM=[{replace:Ln,with:n=>new bi(n.getTextContent()),withKlass:bi},{replace:To,with:n=>new Dr(!1),withKlass:Dr},{replace:Xu,with:n=>new pr(n.__ids),withKlass:pr}],JQ=[$u,wr,vn,dg,mi,gi,dc,lg,ag,Gl,ON,Go,bi,Eg,yg,xg,cg,Xl,gc,ed,Xu,Ml,Po,_s,td,ei,Lr,wi,Qa,Is,Vl,pr,Ns,Dr,Tl,nd,pc,ql,Ms,...zM.map(n=>n)],QQ=n=>n==="comment"?[wr,vn,ag,Gl,ON,Go,bi,Dr,Tl,...zM.map(t=>t)]:JQ,VQ=E.createContext({cellEditorConfig:null,cellEditorPlugins:null,set:()=>{}});function XQ({children:n}){const[t,e]=E.useState({cellEditorConfig:null,cellEditorPlugins:null});return A.jsx(VQ.Provider,{value:E.useMemo(()=>({cellEditorConfig:t.cellEditorConfig,cellEditorPlugins:t.cellEditorPlugins,set:(r,i)=>{e({cellEditorConfig:r,cellEditorPlugins:i})}}),[t.cellEditorConfig,t.cellEditorPlugins]),children:n})}function qQ(n){const t=new URL(n),e=`${t.origin}${t.pathname}`,r=t.searchParams.get("token");return{baseUrl:e,token:r}}function $Q(n,t,e="http://localhost"){const r=eV(n,t),{baseUrl:i,token:o}=qQ(e);let s={};return o&&(s={params:{token:o}}),new wN(i,n,r,{connect:!1,...s})}function eV(n,t){let e=t.get(n);return e===void 0?(e=new Zi,t.set(n,e)):e.load(),e}const tV=XA?"":"os-windows",UM=({children:n})=>A.jsx("div",{className:`doc-space-styles-provider ${tV}`,children:n}),Ot=E.createContext({maxFileSize:5,disable:!1,excludeNodes:{},imagePickerSettings:{},pages:[]}),nV=[],By=({initialContent:n,onChange:t,outputFormat:e,mode:r,maxHeight:i,onBlur:o,onFocus:s,fetchUploadMedia:l,fetchPromptResult:c,fetchDeleteMedia:u,fetchRestoreMedia:d,currentUser:h,commentOptions:g,workspaceMembers:p=nV,maxFileSize:m,contentModalUploadImage:y,maxImageSizeError:w,debounce:v,disable:C,ws:x,excludeNodes:_={},imagePickerSettings:N={},childPages:T,language:k,shiftEnterInsertNewLine:M,editorRef:I})=>{const R=r||"default",B=n||"<p></p>";let U=!!(x!=null&&x.url);const{historyState:j}=Tw(),K=E.useRef({}),V=E.useRef(null),[ue,fe]=E.useState("initial"),[ie,le]=E.useState(null),te=E.useCallback(X=>{X.update(()=>{if(typeof B=="string"){const Ae=new DOMParser().parseFromString(B,"text/html"),oe=Jh(X,Ae);Re().select(),Bu(oe)}})},[]),H=E.useMemo(()=>(window.editorAppVersion=`version @layers-app/editor:${m3.version}`,R==="comment"&&document.body.setAttribute("mode","true"),{editorState:null,namespace:"layers",nodes:QQ(R),onError:X=>{throw X},theme:UW(R)}),[]);E.useEffect(()=>{k&&zA.changeLanguage(k)},[k]);const W=()=>typeof B=="string"?te:JSON.stringify(B),Q=E.useCallback((X,ne)=>{const Ae=$Q(X,ne,x==null?void 0:x.url);return Ae.on("status",oe=>{oe.status==="connecting"&&fe(oe.status)}),setTimeout(()=>le(Ae),0),Ae},[]),re=E.useCallback(()=>{var oe;const X=ie.awareness,Ae=Array.from(X.getStates().entries()).map(([pe,ke])=>({id:String(pe),userId:pe,name:ke.name,color:ke.color,awarenessData:ke.awarenessData})).filter((pe,ke,Pe)=>ke===Pe.findIndex(Ce=>Ce.name===pe.name));(oe=x==null?void 0:x.getActiveUsers)==null||oe.call(x,Ae)},[ie]);E.useEffect(()=>{if(ie!=null)return ie.awareness.on("update",re),()=>ie.awareness.off("update",re)},[ie,re]),E.useEffect(()=>{if(ie!=null&&ie.ws){const X=ie.ws;let ne=0;X?(X.addEventListener("message",Ae=>{if(typeof Ae.data!="string"){ne===1&&fe("connected"),ne++;return}const oe=JSON.parse(Ae.data);oe["active-users"]&&console.log("message",oe["active-users"]),oe.error&&(oe.error==="Unauthorized"?(console.error("Connection unauthorized: You are not authorized to access this WebSocket."),ie.disconnect()):oe.error==="No token provided"?(console.error("No token provided: You must provide a token."),ie.disconnect()):(console.error("Unknown error:",oe.error),ie.disconnect()),fe("error"))}),X.addEventListener("close",Ae=>{console.error("WebSocket connection closed:",Ae),fe("error")})):console.error("WebSocket is not initialized yet.")}},[ie==null?void 0:ie.ws]),E.useEffect(()=>()=>{ie instanceof wN&&(ie.destroy(),ie.disconnect())},[ie]),U||(H.editorState=W());const ce=ue==="connecting"&&U,me=E.useMemo(()=>{const X={..._};return l||(X.photo=!0,X.video=!0,X.audio=!0,X.file=!0),r!=="editor"&&(X.childDocs=!0),{fetchDeleteMedia:u,fetchUploadMedia:l,fetchRestoreMedia:d,fetchPromptResult:c,currentUser:h,maxFileSize:m||5,contentModalUploadImage:y,maxImageSizeError:w,commentOptions:g,shiftEnterInsertNewLine:M,workspaceMembers:p,disable:C||!1,mode:R,excludeNodes:X,imagePickerSettings:N,imperativeHandleRef:K,maxHeight:i,pages:T||[]}},[h,g,T]);return A.jsx(Ot.Provider,{value:me,children:A.jsx(pt.I18nextProvider,{i18n:zA,children:A.jsx(UM,{children:A.jsxs(X5,{children:[A.jsx("div",{ref:V}),A.jsxs("div",{className:`doc-space-editor-wrapper ${R}`,children:[A.jsx(L.LoadingOverlay,{visible:ce,overlayProps:{radius:"sm",blur:2}}),A.jsx(u5,{children:A.jsx(pz,{children:A.jsxs(P4,{initialConfig:H,children:[x&&ue!=="error"?A.jsx(D4,{id:x.id,providerFactory:Q,username:x.user.name,cursorColor:x.user.color,awarenessData:x.user.awarenessData,shouldBootstrap:!0,cursorsContainerRef:V,initialEditorState:W()}):A.jsx(dN,{externalHistoryState:j}),A.jsx(d5,{children:A.jsx(XQ,{children:A.jsx(DG,{children:A.jsx(j8,{children:A.jsx("div",{className:"editor-shell",children:A.jsx(GQ,{editorRef:I,maxHeight:i,mode:R,disable:C||!1,isErrorWs:ue==="error",content:B,isLoading:ce,imperativeHandleRef:K,onBlur:o,onFocus:s,onChange:t,outputFormat:e,debounceMs:v})})})})})})]})})})]})]})})})})};function rV(n,t=!1){n.focus(),n.update(()=>{var r,i;const e=Re();t?(e.selectStart(),(r=e.getFirstChild())==null||r.selectEnd()):(e.selectEnd(),(i=e.getLastChild())==null||i.selectEnd())})}exports.$createExcalidrawNode=sI;exports.$createNewParagraph=cI;exports.$isExcalidrawNode=$6;exports.$isImageNode=Xa;exports.$isInlineImageNode=AH;exports.AlignmentImage=Cw;exports.Button=fy;exports.CREATE_TEMPLATE=tI;exports.Context=Ot;exports.Editor=By;exports.Ee=ec;exports.EmptyNodeButton=fc;exports.ExcalidrawNode=Ms;exports.FloatingTextFormatToolbarPlugin=by;exports.Icon=xe;exports.Ie=Uy;exports.ImagePicker=RM;exports.Je=Fh;exports.Ki=Ke;exports.L=xI;exports.LexicalContentEditable=Py;exports.LinkPlugin=AM;exports.Lr=J;exports.Ne=pl;exports.Oe=tc;exports.ResizableContainer=gw;exports.StylesProvider=UM;exports.U=tt;exports.UPLOAD_IMAGE_COMMAND=wI;exports.Ve=Os;exports.Xi=Wh;exports.a=Sw;exports.at=pT;exports.commonjsGlobal=$s;exports.deleteNode=Aw;exports.focusEditor=rV;exports.getCurrentElement=zt;exports.getDefaultExportFromCjs=Y3;exports.ie=Gr;exports.ji=ZT;exports.l=gb;exports.mediaMap=Kr;exports.n=vI;exports.o=Me;exports.parseContainerSize=yh;exports.r=pb;exports.re=we;exports.se=jo;exports.t=L1;exports.toggleLockScroll=Dl;exports.u=ig;exports.useCancelUpload=og;exports.useModal=Ng;exports.useSettings=kw;exports.useSharedHistoryContext=Tw;exports.we=Bl;exports.wo=Ve;exports.xo=ve;exports.xr=Vt;exports.zi=Ne;