@layers-app/editor 0.5.2 → 0.5.3

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 (211) hide show
  1. package/dist/index.cjs +2 -2
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +2 -2
  4. package/dist/{layers.B_rZy9ZE.js → layers.-R5PibOa.js} +1 -1
  5. package/dist/{layers.2RmTpOSe.js → layers.-mkaUFzn.js} +2 -2
  6. package/dist/{layers.68ma6K6f.js → layers.1XpBjqYP.js} +1 -1
  7. package/dist/{layers.BXYVnzZo.js → layers.2Ibk-yAi.js} +1 -1
  8. package/dist/{layers.DLNMmOF6.js → layers.3DsBPqy5.js} +1 -1
  9. package/dist/{layers.B_C8Ox8-.js → layers.4OVSS-76.js} +2 -2
  10. package/dist/{layers.D92dwfZm.js → layers.9Su9jHuK.js} +1 -1
  11. package/dist/{layers.BBu8KTxD.js → layers.9rNftyw-.js} +1 -1
  12. package/dist/{layers.DyVeJ5nq.js → layers.B-6jN1Zn.js} +1 -1
  13. package/dist/{layers.CNAp0agL.js → layers.B0JnuQf0.js} +1 -1
  14. package/dist/{layers.DTEtUQ-N.js → layers.B0dbAkLw.js} +1 -1
  15. package/dist/{layers.BocrFl_z.js → layers.B19MhDZN.js} +2 -2
  16. package/dist/{layers.Bz8CGnnD.js → layers.B1IDMpWZ.js} +1 -1
  17. package/dist/{layers.B5o5YNLY.js → layers.B1VK1Umd.js} +1 -1
  18. package/dist/{layers.0aivjg14.js → layers.B2IHCuq4.js} +4 -4
  19. package/dist/{layers.hMr_bHrn.js → layers.B2OBW6d_.js} +1 -1
  20. package/dist/{layers.Dn0j_OK5.js → layers.B2RJoL8j.js} +1 -1
  21. package/dist/{layers.CildyhOW.js → layers.B66ctuSP.js} +1 -1
  22. package/dist/{layers.C8d9V9GQ.js → layers.B9uP5ibo.js} +1 -1
  23. package/dist/{layers.CAAtHbGC.js → layers.BDlQMLta.js} +1 -1
  24. package/dist/{layers.YUbPYUxB.js → layers.BFlW1eUA.js} +3 -3
  25. package/dist/{layers.BufbpNF2.js → layers.BIRU7ZCl.js} +1 -1
  26. package/dist/{layers.CtASemAs.js → layers.BJOHTiQN.js} +1 -1
  27. package/dist/{layers.YejPlmok.js → layers.BKLAyg9f.js} +1 -1
  28. package/dist/{layers.-TbWEgSf.js → layers.BKktUt3V.js} +1 -1
  29. package/dist/{layers.CvCe_XZO.js → layers.BLZg3-j8.js} +1 -1
  30. package/dist/{layers.o8uxn2z6.js → layers.BPHDdk7q.js} +1 -1
  31. package/dist/{layers.DtjaV33P.js → layers.BQYTL9KT.js} +1 -1
  32. package/dist/{layers.k5zSy7kx.js → layers.BUbQisBD.js} +1 -1
  33. package/dist/{layers.BzfTuld3.js → layers.BY5MS01o.js} +1 -1
  34. package/dist/{layers.DtwPvqvM.js → layers.BY5x-OCj.js} +4 -4
  35. package/dist/{layers.4q_x5roN.js → layers.BZYqdVEt.js} +1 -1
  36. package/dist/{layers.BQGV7_aP.js → layers.B_blLMys.js} +1 -1
  37. package/dist/{layers.B7QKbjTP.js → layers.Bau1Nn-R.js} +1 -1
  38. package/dist/{layers.CvF4WyAB.js → layers.BdC79PeD.js} +1 -1
  39. package/dist/{layers.CPdjh9hT.js → layers.BeQxuBmo.js} +3 -3
  40. package/dist/layers.BhoEY-tV.js +1 -0
  41. package/dist/{layers.D176Y7Vo.js → layers.BipydXP9.js} +3 -3
  42. package/dist/{layers.BLomL8Y1.js → layers.BjNcxnlF.js} +1 -1
  43. package/dist/{layers.D_qBxnuW.js → layers.BjkZnui0.js} +1 -1
  44. package/dist/layers.BjlXrUqq.js +1 -0
  45. package/dist/{layers.DZ4rueAA.js → layers.BmEnHWGn.js} +1 -1
  46. package/dist/{layers.gAwY5NlW.js → layers.Bm_lyqCL.js} +1 -1
  47. package/dist/{layers.DbCde96z.js → layers.Bo0o9BXc.js} +1 -1
  48. package/dist/{layers.N7uLiJJF.js → layers.Bowu41KP.js} +5 -5
  49. package/dist/{layers.CfjCZzg8.js → layers.BpVuHPkZ.js} +1 -1
  50. package/dist/{layers.CCGTXI7t.js → layers.BptubpVI.js} +1 -1
  51. package/dist/{layers.hJXmn9h9.js → layers.Bq8EFsFh.js} +1 -1
  52. package/dist/{layers.D1TLKJdE.js → layers.Brr7ESXx.js} +1 -1
  53. package/dist/{layers.DZAc2rlA.js → layers.BsTKIt_N.js} +4 -4
  54. package/dist/layers.BshQq6Az.js +189 -0
  55. package/dist/{layers.DwGEUGi4.js → layers.BsuVfEWr.js} +1 -1
  56. package/dist/{layers.DAUiVpfA.js → layers.Bwphu0_-.js} +1 -1
  57. package/dist/{layers.DnohNr8z.js → layers.BxBoiyiz.js} +1 -1
  58. package/dist/{layers.DJJF7QHv.js → layers.BxqlTEGI.js} +1 -1
  59. package/dist/{layers.B2wb1BnV.js → layers.BznUuBVb.js} +1 -1
  60. package/dist/{layers.BJWQnQ1b.js → layers.C24uY6Fe.js} +3 -3
  61. package/dist/{layers.Dwf-cmfl.js → layers.C2fRZH80.js} +1 -1
  62. package/dist/{layers.BAx1rxXM.js → layers.C3KcBscd.js} +1 -1
  63. package/dist/{layers.Bv6t74Ng.js → layers.C4CXznF_.js} +1 -1
  64. package/dist/{layers.qKFGZSrv.js → layers.C7M6CfP5.js} +1 -1
  65. package/dist/{layers.g6KGAlYG.js → layers.C7eXel2I.js} +1 -1
  66. package/dist/{layers.mcrEJ5IL.js → layers.CAm5BKM7.js} +1 -1
  67. package/dist/{layers.tehvhFRL.js → layers.CBUXk-09.js} +1 -1
  68. package/dist/{layers.CvgnifSj.js → layers.CDEWhNHi.js} +1 -1
  69. package/dist/{layers.Dz5Fekdu.js → layers.CDL3opya.js} +1 -1
  70. package/dist/{layers.n8BNeBDu.js → layers.CE4FK9O5.js} +1 -1
  71. package/dist/{layers.BYxlPasW.js → layers.CF-302Fh.js} +1 -1
  72. package/dist/{layers.BKcOrB7G.js → layers.CHmvLyW1.js} +1 -1
  73. package/dist/{layers.DGKHsEgL.js → layers.CJUngdl8.js} +1 -1
  74. package/dist/{layers.B3QZKSP7.js → layers.CLAvgOJP.js} +1 -1
  75. package/dist/{layers.BPpqQ2zl.js → layers.CLgsvcu7.js} +1 -1
  76. package/dist/{layers.CF0jHwg8.js → layers.CM9lYwoQ.js} +1 -1
  77. package/dist/{layers.BWwCeuKP.js → layers.CMMTUOh6.js} +1 -1
  78. package/dist/{layers.GGg0Uela.js → layers.COYYECPe.js} +6 -6
  79. package/dist/{layers.COsJBDU8.js → layers.CQ6g1bgB.js} +1 -1
  80. package/dist/{layers.CLG-12Ft.js → layers.CR1i6QWh.js} +2 -2
  81. package/dist/{layers.BOGcxS4S.js → layers.CRKrzT-Y.js} +1 -1
  82. package/dist/layers.CSNKiqFe.js +8 -0
  83. package/dist/{layers.mkPf05Ff.js → layers.CSYpl3YM.js} +1 -1
  84. package/dist/{layers.cXShihLV.js → layers.CTK5IBtb.js} +3 -3
  85. package/dist/{layers.DzWUGmmi.js → layers.CVUgbWcY.js} +8 -8
  86. package/dist/{layers.BRVeeDcH.js → layers.CXg7Sg55.js} +4 -4
  87. package/dist/{layers.DXM-M_t4.js → layers.C_RheIIS.js} +3 -3
  88. package/dist/{layers.CDnEPiFS.js → layers.C_eoPPmk.js} +1 -1
  89. package/dist/{layers.B-MfAaIy.js → layers.Ccvu-Dlo.js} +1 -1
  90. package/dist/{layers.DGIvTJgm.js → layers.CdGfvF7V.js} +1 -1
  91. package/dist/{layers.DAgjLyi0.js → layers.Cf9fVqKx.js} +4 -4
  92. package/dist/{layers.6HZckrJk.js → layers.Cisk2RXM.js} +1 -1
  93. package/dist/{layers.T5F5IY6f.js → layers.CkXqIRYC.js} +1 -1
  94. package/dist/{layers.Ce_CBSin.js → layers.ClJd7I1M.js} +1 -1
  95. package/dist/{layers.BhaSD27u.js → layers.ClxhzI7j.js} +1 -1
  96. package/dist/{layers.D-4uOpUj.js → layers.CmqoZAnC.js} +4 -4
  97. package/dist/{layers.DRi0nv8t.js → layers.CnrBP_N5.js} +3 -3
  98. package/dist/{layers.dBCFbDUQ.js → layers.Cob5vYhh.js} +1 -1
  99. package/dist/{layers.C9KUAI3S.js → layers.Coygwekn.js} +1 -1
  100. package/dist/{layers.BIXkxpJg.js → layers.Cp5JhAmO.js} +1 -1
  101. package/dist/{layers.B1970UjZ.js → layers.CtHBfow6.js} +2 -2
  102. package/dist/{layers.HISmbvvZ.js → layers.CuoaVZrW.js} +1 -1
  103. package/dist/{layers.DZAwluRX.js → layers.D-7S1Qn6.js} +1 -1
  104. package/dist/{layers.DG5nJvev.js → layers.D-cAGd4i.js} +1 -1
  105. package/dist/{layers.CIBiA4cp.js → layers.D-v-3mtK.js} +1 -1
  106. package/dist/{layers.CjZ_56YO.js → layers.D0MGpeyX.js} +1 -1
  107. package/dist/{layers.CfsQNfbN.js → layers.D0lTyC6R.js} +1 -1
  108. package/dist/{layers.BuJFmhxG.js → layers.D33cj9e8.js} +1 -1
  109. package/dist/{layers.CNAZOY0z.js → layers.D3A8IuMw.js} +1 -1
  110. package/dist/{layers.D__Ge0jR.js → layers.D40oNXih.js} +3 -3
  111. package/dist/{layers.Bsxy-Zmv.js → layers.D4ydcUW5.js} +1 -1
  112. package/dist/{layers.Jy2BJnrD.js → layers.DByfn15F.js} +1 -1
  113. package/dist/{layers.nesKhKqv.js → layers.DCrkhQnl.js} +1 -1
  114. package/dist/{layers.BekArbNQ.js → layers.DDVf9_XJ.js} +3 -3
  115. package/dist/{layers.UBsT16id.js → layers.DFF0tKf2.js} +1 -1
  116. package/dist/{layers.jS5D2j9k.js → layers.DGB6f2fp.js} +4 -4
  117. package/dist/{layers.B17DijoR.js → layers.DGF-imcj.js} +1 -1
  118. package/dist/{layers.CeNyh2LV.js → layers.DGlLGCMd.js} +1 -1
  119. package/dist/{layers.dsZSDggl.js → layers.DH7bTclZ.js} +1 -1
  120. package/dist/{layers.B5fhqRqQ.js → layers.DHrdv4EX.js} +1 -1
  121. package/dist/{layers.DuQS64hQ.js → layers.DIs-8Ynj.js} +1 -1
  122. package/dist/{layers.KNG61fVD.js → layers.DIuulfCg.js} +1 -1
  123. package/dist/{layers.CNNAjKqx.js → layers.DJS98Zvr.js} +1 -1
  124. package/dist/{layers.Bu9go6nF.js → layers.DMh-zb88.js} +1 -1
  125. package/dist/{layers.C9Qm4iyY.js → layers.DNray0Kg.js} +1 -1
  126. package/dist/{layers.P0mMn9V6.js → layers.DO8Lq71I.js} +1 -1
  127. package/dist/{layers.CSFyrYzY.js → layers.DPg8YVWZ.js} +1 -1
  128. package/dist/{layers.BrhJtZkc.js → layers.DRRAWjJ-.js} +1 -1
  129. package/dist/{layers.DLK9DV2V.js → layers.DSnpK9v9.js} +1 -1
  130. package/dist/{layers.BrBnUsI5.js → layers.DT-qahkC.js} +1 -1
  131. package/dist/{layers.BKA3G4tE.js → layers.DT4gw4t8.js} +1 -1
  132. package/dist/{layers.CzqAzeMM.js → layers.DVjOEkHq.js} +1 -1
  133. package/dist/{layers.Deuxf8WS.js → layers.DW9Z4dLd.js} +1 -1
  134. package/dist/{layers.dzPD2Tq6.js → layers.DWIf8ql6.js} +1 -1
  135. package/dist/{layers.BIRO82v2.js → layers.DWynlv5x.js} +1 -1
  136. package/dist/{layers.D4SM8Ihn.js → layers.DXKXZPx3.js} +1 -1
  137. package/dist/{layers.BEsDNARG.js → layers.DXnKtB68.js} +1 -1
  138. package/dist/{layers.D9oxm2Q3.js → layers.DXr2kWj5.js} +1 -1
  139. package/dist/{layers.37cL7YbN.js → layers.D_MRmmCY.js} +1 -1
  140. package/dist/{layers.yaVCGcoo.js → layers.D_Q80AXV.js} +1 -1
  141. package/dist/{layers.fdHV7i_n.js → layers.D_i2rLsg.js} +24899 -25580
  142. package/dist/layers.D_nCsZyv.js +6 -0
  143. package/dist/{layers.B1IP0xF5.js → layers.Da1VjmYH.js} +1 -1
  144. package/dist/{layers.DG5DkMsX.js → layers.DaLcxrnP.js} +1 -1
  145. package/dist/{layers.B9gDt0mt.js → layers.DeIaMdiM.js} +1 -1
  146. package/dist/{layers.A7FX8Cpf.js → layers.Df5Qb1Ul.js} +4 -4
  147. package/dist/{layers.CjBfNqWg.js → layers.DfXjhAWm.js} +1 -1
  148. package/dist/{layers.D-0DKizI.js → layers.Dfev0R1t.js} +1 -1
  149. package/dist/{layers.B4cctrKy.js → layers.Dfw_b3vF.js} +3 -3
  150. package/dist/{layers.C0xLKPSB.js → layers.Dh45zDPj.js} +1 -1
  151. package/dist/{layers.CgqehJlq.js → layers.Di7HIxcn.js} +4 -4
  152. package/dist/{layers.D-z4IZwp.js → layers.DilKJOqa.js} +1 -1
  153. package/dist/{layers.B1TVCKFc.js → layers.DlWfA7qx.js} +1 -1
  154. package/dist/{layers.CBTk7340.js → layers.Dlp5s5ci.js} +1 -1
  155. package/dist/{layers.8xliMm_4.js → layers.Dne14exG.js} +2 -2
  156. package/dist/{layers.DvcL-c1J.js → layers.DqpBjyTk.js} +1 -1
  157. package/dist/{layers.B5eIpqUm.js → layers.DrD0W7B3.js} +1 -1
  158. package/dist/{layers.J-SBicA2.js → layers.DvdRZk6P.js} +1 -1
  159. package/dist/{layers.RY1Pc_vI.js → layers.DxIjFIXA.js} +1 -1
  160. package/dist/{layers.BSB9eX8_.js → layers.DxzveV49.js} +3 -3
  161. package/dist/{layers.BSDp4pjf.js → layers.ETa5WiKT.js} +1 -1
  162. package/dist/{layers.Bw7AFM_C.js → layers.G9Ka5gtG.js} +1 -1
  163. package/dist/{layers.1kchl9Fg.js → layers.H0NAWny8.js} +1 -1
  164. package/dist/{layers.C-f2Ts9u.js → layers.J8OYHqDO.js} +1 -1
  165. package/dist/{layers.DO3jf13r.js → layers.MNsWD8fy.js} +1 -1
  166. package/dist/{layers.B7R5e9nb.js → layers.MbNt5pO7.js} +1 -1
  167. package/dist/{layers.DizdRJDv.js → layers.MsLi1AaR.js} +1 -1
  168. package/dist/{layers.g0MJEmgM.js → layers.NzblQjNP.js} +1 -1
  169. package/dist/{layers.Ct7y2KbU.js → layers.PaRWxJTx.js} +1 -1
  170. package/dist/{layers.D-P1auk3.js → layers.Pfqcm_x1.js} +1 -1
  171. package/dist/{layers.DneF9QFl.js → layers.QUgQojU2.js} +1 -1
  172. package/dist/{layers.CFpY72SE.js → layers.QeRtN6Gq.js} +1 -1
  173. package/dist/{layers.B9H_VqGH.js → layers.Rhe5fmYG.js} +1 -1
  174. package/dist/{layers.CJ5oFhK5.js → layers.SuFOjX9h.js} +1 -1
  175. package/dist/{layers.DgQ6wjQ6.js → layers.UA4MYWds.js} +1 -1
  176. package/dist/{layers.CLQVPEWO.js → layers.X8WQJwc7.js} +1 -1
  177. package/dist/{layers.DxuaZtRi.js → layers.XOnoorb1.js} +1 -1
  178. package/dist/{layers.ku7sc5w7.js → layers.YS67QCmr.js} +1 -1
  179. package/dist/{layers.ifrGR0tH.js → layers.YfvGPzEu.js} +1 -1
  180. package/dist/{layers.Da7N3t0o.js → layers.ZAlzzwQR.js} +2 -2
  181. package/dist/{layers.CO0NalVl.js → layers.Zh3IN_BW.js} +5 -5
  182. package/dist/{layers.CyGuH0wW.js → layers.akd0joBp.js} +1 -1
  183. package/dist/{layers.COTtcXWr.js → layers.bfGibH2F.js} +1 -1
  184. package/dist/{layers.KZKDnGbd.js → layers.chFbbZh9.js} +24 -24
  185. package/dist/{layers.CG-pQKxy.js → layers.e7K9sNTy.js} +1 -1
  186. package/dist/{layers.DzTjTsrg.js → layers.eOMmuyRq.js} +1 -1
  187. package/dist/{layers.BIFfWqjp.js → layers.f5SObLpT.js} +1 -1
  188. package/dist/{layers.Ww9bBIaA.js → layers.ftDLkcXk.js} +1 -1
  189. package/dist/{layers.BuNBio9d.js → layers.gdeLIrFt.js} +1 -1
  190. package/dist/{layers.DzWSztoe.js → layers.hGSxVR0w.js} +1 -1
  191. package/dist/{layers.LG7pZboq.js → layers.hMduvmS1.js} +1 -1
  192. package/dist/{layers.Dhs3Sikn.js → layers.hYSHj9J1.js} +7 -7
  193. package/dist/{layers.DJINSxsc.js → layers.i3cprua-.js} +1 -1
  194. package/dist/{layers.Becl7PvM.js → layers.pN-YTLfe.js} +1 -1
  195. package/dist/{layers.BQvMgKOV.js → layers.puGhbMne.js} +1 -1
  196. package/dist/{layers.DkRaFpYI.js → layers.rPpIRTrs.js} +1 -1
  197. package/dist/{layers.ByEhw12k.js → layers.rfeShEsx.js} +1 -1
  198. package/dist/{layers.BhZmc2PE.js → layers.sf1uvSch.js} +1 -1
  199. package/dist/{layers.YsjMDe1Z.js → layers.t3fpEPMO.js} +1 -1
  200. package/dist/{layers.l0OsrJxT.js → layers.v4_WldHC.js} +1 -1
  201. package/dist/{layers.Fv2UzX_J.js → layers.vHrsDWns.js} +1 -1
  202. package/dist/{layers.Bm7EN78W.js → layers.yIm62nh0.js} +1 -1
  203. package/dist/{layers.CX_ayh7E.js → layers.z72AWJJl.js} +1 -1
  204. package/dist/{layers.D819V-1U.js → layers.zj3cbd1g.js} +1 -1
  205. package/dist/{layers.Cz_HcKZR.js → layers.zysZLChz.js} +1 -1
  206. package/package.json +1 -1
  207. package/dist/layers.BC0UHUHZ.js +0 -6
  208. package/dist/layers.CFEmW02q.js +0 -189
  209. package/dist/layers.CzZCiNn3.js +0 -1
  210. package/dist/layers.Kcxw1ZN5.js +0 -8
  211. package/dist/layers._IMfh4Om.js +0 -1
@@ -0,0 +1,189 @@
1
+ "use strict";var sF=Object.defineProperty;var lF=(n,t,e)=>t in n?sF(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var F=(n,t,e)=>lF(n,typeof t!="symbol"?t+"":t,e);require("@mantine/dropzone");const A=require("react/jsx-runtime"),E=require("react"),pt=require("react-i18next"),mr=require("react-dom"),L=require("@mantine/core"),aF=require("i18next"),te=require("@tabler/icons-react"),Ft=require("@layers-app/shared"),cF=require("react-dom/server"),ls=require("lodash-es"),Oa=require("@mantine/hooks");function uF(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 Fk=uF(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 jk(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 Ai=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,dF=Ai&&"documentMode"in document?document.documentMode:null,si=Ai&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),ol=Ai&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Of=!(!Ai||!("InputEvent"in window)||dF)&&"getTargetRanges"in new window.InputEvent("input"),iu=Ai&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),Ra=Ai&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,fF=Ai&&/Android/.test(navigator.userAgent),zk=Ai&&/^(?=.*Chrome).*/i.test(navigator.userAgent),u0=Ai&&fF&&zk,ou=Ai&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&si&&!zk;function Uk(...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 hF=0,gF=1,pF=2,Kk=128,mF=1,AF=2,yF=3,bF=4,wF=5,CF=6,Sh=iu||Ra||ou?" ":"​",hs=`
2
+
3
+ `,vF=ol?" ":Sh,Wk="֑-߿יִ-﷽ﹰ-ﻼ",Hk="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",xF=new RegExp("^[^"+Hk+"]*["+Wk+"]"),SF=new RegExp("^[^"+Wk+"]*["+Hk+"]"),ko={bold:1,capitalize:1024,code:16,highlight:Kk,italic:2,lowercase:256,strikethrough:4,subscript:32,superscript:64,underline:8,uppercase:512},EF={directionless:1,unmergeable:2},d0={center:2,end:6,justify:4,left:1,right:3,start:5},kF={[AF]:"center",[CF]:"end",[bF]:"justify",[mF]:"left",[yF]:"right",[wF]:"start"},TF={normal:0,segmented:2,token:1},_F={[hF]:"normal",[pF]:"segmented",[gF]:"token"},f0="$config";function Yk(n,t,e,r,i,o){let s=n.getFirstChild();for(;s!==null;){const l=s.__key;s.__parent===t&&(Y(s)&&Yk(s,l,e,r,i,o),e.has(l)||o.delete(l),i.push(l)),s=s.getNextSibling()}}let Um=!1,Ny=0;function NF(n){Ny=n.timeStamp}function jp(n,t,e){const r=n.nodeName==="BR",i=t.__lexicalLineBreak;return i&&(n===i||r&&n.previousSibling===i)||r&&Fh(n,e)!==void 0}function IF(n,t,e){const r=$r(qr(e));let i=null,o=null;r!==null&&r.anchorNode===n&&(i=r.anchorOffset,o=r.focusOffset);const s=n.nodeValue;s!==null&&Hy(t,s,i,o,!1)}function MF(n,t,e){if(H(n)){const r=n.anchor.getNode();if(r.is(e)&&n.format!==r.getFormat())return!1}return zo(t)&&e.isAttached()}function DF(n,t,e,r){for(let i=n;i&&!mj(i);i=Bu(i)){const o=Fh(i,t);if(o!==void 0){const s=Se(o,e);if(s)return ot(s)||!Et(i)?void 0:[i,s]}else if(i===r)return[r,RT(e)]}}function Zk(n,t,e){Um=!0;const r=performance.now()-Ny>100;try{Er(n,()=>{const i=G()||(function(g){return g.getEditorState().read(()=>{const p=G();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,b=p.target,w=DF(b,n,l,s);if(!w)continue;const[v,C]=w;if(m==="characterData")r&&ae(C)&&zo(b)&&MF(i,b,C)&&IF(b,C,n);else if(m==="childList"){u=!0;const x=p.addedNodes;for(let k=0;k<x.length;k++){const _=x[k],M=LT(_),I=_.parentNode;if(I!=null&&_!==c&&M===null&&!jp(_,I,n)){if(ol){const R=(Et(_)?_.innerText:null)||_.nodeValue;R&&(d+=R)}I.removeChild(_)}}const N=p.removedNodes,T=N.length;if(T>0){let k=0;for(let _=0;_<T;_++){const M=N[_];(jp(M,b,n)||c===M)&&(b.appendChild(M),k++)}T!==k&&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,b=p.target;for(let w=0;w<m.length;w++){const v=m[w],C=v.parentNode;C==null||v.nodeName!=="BR"||jp(v,b,n)||C.removeChild(v)}}e.takeRecords()}i!==null&&(u&&Qe(i),ol&&UT(n)&&i.insertRawText(d))})}finally{Um=!1}}function Gk(n){const t=n._observer;t!==null&&Zk(n,t.takeRecords(),t)}function Jk(n){(function(t){Ny===0&&qr(t).addEventListener("textInput",NF,!0)})(n),n._observer=new MutationObserver((t,e)=>{Zk(n,t,e)})}let LF=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||RF).bind(e),this.isEqual=(e.isEqual||Object.is).bind(e),this.defaultValue=this.parse(void 0)}};function Vk(n,t){return new LF(n,t)}function Qk(n,t,e="latest"){const r=(e==="latest"?n.getLatest():n).__state;return r?r.getValue(t):t.defaultValue}function zp(n,t,e){let r;if(_n(),typeof e=="function"){const o=n.getLatest(),s=Qk(o,t);if(r=e(s),t.isEqual(s,r))return o}else r=e;const i=n.getWritable();return Eh(i).updateFromKnown(t,r),i}function Xk(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}=zh(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 OF=class qk{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 h0(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 qk(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=h0(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 Eh(n){const t=n.getWritable(),e=t.__state?t.__state.getWritable(t):new OF(t,$k(t));return t.__state=e,e}function $k(n){return n.__state?n.__state.sharedNodeState:NT(Rl(),n.getType()).sharedNodeState}function h0(n){if(n)for(const t in n)return n}function RF(n){return n}function g0(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 p0(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 m0(n,t){const e=n.__state;return e&&e.node===n?e.getWritable(t):e}function A0(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&&g0(g,d,h)||h&&g0(g,h,d)||d&&p0(g,d,h)||h&&p0(g,h,d))})(c,u))}function y0(n,t){const e=n.mergeWithSibling(t),r=Qt()._normalizedNodes;return r.add(n.__key),r.add(t.__key),e}function b0(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(A0(t,r)){r=y0(t,r);break}break}t.remove()}for(;(e=r.getNextSibling())!==null&&ae(e)&&e.isSimpleText()&&!e.isUnmergeable();){if(e.__text!==""){if(A0(r,e)){r=y0(r,e);break}break}e.remove()}}else r.remove()}function gs(n){return w0(n.anchor),w0(n.focus),n}function w0(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(!Y(r))break;n.set(r.__key,i?r.getChildrenSize():0,"element",!0)}}let sl,Jn,su,kh,Km,Wm,ll,ci,Hm,lu,yn="",vi=null,xi="",fo="",da=!1,Rf=!1;function Pf(n,t){const e=ll.get(n);if(t!==null){const r=Jm(n);r.parentNode===t&&t.removeChild(r)}if(ci.has(n)||Jn._keyToDOMMap.delete(n),Y(e)){const r=Ff(e,ll);Ym(r,0,r.length-1,null)}e!==void 0&&Yy(lu,su,kh,e,"destroyed")}function Ym(n,t,e,r){let i=t;for(;i<=e;++i){const o=n[i];o!==void 0&&Pf(o,r)}}function zs(n,t){n.setProperty("text-align",t)}const PF="40px";function eT(n,t){const e=sl.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")||PF;n.style.setProperty("padding-inline-start",t===0?"":`calc(${t} * ${r})`)}function tT(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 Zm(n,t){const e=(function(r){const i=r.__dir;if(i!==null)return i;if(Wt(r))return null;const o=r.getParentOrThrow();return Wt(o)&&o.__dir===null?"auto":null})(t);e!==null?n.dir=e:n.removeAttribute("dir")}function Bf(n,t){const e=ci.get(n);e===void 0&&be(60);const r=e.createDOM(sl,Jn);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,Jn),ae(e)?r.setAttribute("data-lexical-text","true"):ot(e)&&r.setAttribute("data-lexical-decorator","true"),Y(e)){const i=e.__indent,o=e.__size;if(Zm(r,e),i!==0&&eT(r,i),o!==0){const l=o-1;Gm(Ff(e,ci),e,0,l,e.getDOMSlot(r))}const s=e.__format;s!==0&&tT(r,s),e.isInline()||nT(null,e,r),jh(e)&&(yn+=hs,fo+=hs)}else{const i=e.getTextContent();if(ot(e)){const o=e.decorate(Jn,sl);o!==null&&rT(n,o),r.contentEditable="false"}yn+=i,fo+=i}return t!==null&&t.insertChild(r),Yy(lu,su,kh,e,"created"),r}function Gm(n,t,e,r,i){const o=yn;yn="";let s=e;for(;s<=r;++s){Bf(n[s],i);const l=ci.get(n[s]);l!==null&&ae(l)&&(vi===null&&(vi=l.getFormat()),xi===""&&(xi=l.getStyle()))}jh(t)&&(yn+=hs),i.element.__lexicalTextContent=yn,yn=o+yn}function C0(n,t){if(n){const e=n.__last;if(e){const r=t.get(e);if(r)return Mt(r)?"line-break":ot(r)&&r.isInline()?"decorator":null}return"empty"}return null}function nT(n,t,e){const r=C0(n,ll),i=C0(t,ci);r!==i&&t.getDOMSlot(e).setManagedLineBreak(i)}function BF(n,t,e){var r;vi=null,xi="",(function(i,o,s){const l=yn,c=i.__size,u=o.__size;yn="";const d=s.element;if(c===1&&u===1){const h=i.__first,g=o.__first;if(h===g)Rc(h,d);else{const m=Jm(h),b=Bf(g,null);try{d.replaceChild(b,m)}catch(w){if(typeof w=="object"&&w!=null){const v=`${w.toString()} Parent: ${d.tagName}, new child: {tag: ${b.tagName} key: ${g}}, old child: {tag: ${m.tagName}, key: ${h}}.`;throw new Error(v)}throw w}Pf(h,null)}const p=ci.get(g);ae(p)&&(vi===null&&(vi=p.getFormat()),xi===""&&(xi=p.getStyle()))}else{const h=Ff(i,ll),g=Ff(o,ci);if(h.length!==c&&be(227),g.length!==u&&be(228),c===0)u!==0&&Gm(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;Ym(h,0,c-1,p?null:d),p&&(d.textContent="")}}else(function(p,m,b,w,v,C){const x=w-1,N=v-1;let T,k,_=C.getFirstChild(),M=0,I=0;for(;M<=x&&I<=N;){const U=m[M],j=b[I];if(U===j)_=Up(Rc(j,C.element)),M++,I++;else{T===void 0&&(T=new Set(m)),k===void 0&&(k=new Set(b));const ee=k.has(U),ue=T.has(j);if(ee)if(ue){const fe=fl(Jn,j);fe===_?_=Up(Rc(j,C.element)):(C.withBefore(_).insertChild(fe),Rc(j,C.element)),M++,I++}else Bf(j,C.withBefore(_)),I++;else _=Up(Jm(U)),Pf(U,C.element),M++}const K=ci.get(j);K!==null&&ae(K)&&(vi===null&&(vi=K.getFormat()),xi===""&&(xi=K.getStyle()))}const R=M>x,B=I>N;if(R&&!B){const U=b[N+1],j=U===void 0?null:Jn.getElementByKey(U);Gm(b,p,I,N,C.withBefore(j))}else B&&!R&&Ym(m,M,x,C.element)})(o,h,g,c,u,s)}jh(o)&&(yn+=hs),d.__lexicalTextContent=yn,yn=l+yn})(n,t,t.getDOMSlot(e)),r=t,vi==null||vi===r.__textFormat||Rf||r.setTextFormat(vi),(function(i){xi===""||xi===i.__textStyle||Rf||i.setTextStyle(xi)})(t)}function Ff(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 Rc(n,t){const e=ll.get(n);let r=ci.get(n);e!==void 0&&r!==void 0||be(61);const i=da||Wm.has(n)||Km.has(n),o=fl(Jn,n);if(e===r&&!i){if(Y(e)){const s=o.__lexicalTextContent;s!==void 0&&(yn+=s,fo+=s)}else{const s=e.getTextContent();fo+=s,yn+=s}return o}if(e!==r&&i&&Yy(lu,su,kh,r,"updated"),r.updateDOM(e,o,sl)){const s=Bf(n,null);return t===null&&be(62),t.replaceChild(s,o),Pf(n,null),s}if(Y(e)&&Y(r)){const s=r.__indent;(da||s!==e.__indent)&&eT(o,s);const l=r.__format;if((da||l!==e.__format)&&tT(o,l),i&&(BF(e,r,o),Wt(r)||r.isInline()||nT(e,r,o)),jh(r)&&(yn+=hs,fo+=hs),(da||r.__dir!==e.__dir)&&(Zm(o,r),Wt(r)&&!da))for(const c of r.getChildren())Y(c)&&Zm(fl(Jn,c.getKey()),c)}else{const s=r.getTextContent();if(ot(r)){const l=r.decorate(Jn,sl);l!==null&&rT(n,l)}yn+=s,fo+=s}if(!Rf&&Wt(r)&&r.__cachedText!==fo){const s=r.getWritable();s.__cachedText=fo,r=s}return o}function rT(n,t){let e=Jn._pendingDecorators;const r=Jn._decorators;if(e===null){if(r[n]===t)return;e=OT(Jn)}e[n]=t}function Up(n){let t=n.nextSibling;return t!==null&&t===Jn._blockCursorElement&&(t=t.nextSibling),t}function FF(n,t,e,r,i,o){yn="",fo="",da=r===2,Jn=e,sl=e._config,su=e._nodes,kh=Jn._listeners.mutation,Km=i,Wm=o,ll=n._nodeMap,ci=t._nodeMap,Rf=t._readOnly,Hm=new Map(e._keyToDOMMap);const s=new Map;return lu=s,Rc("root",null),Jn=void 0,su=void 0,Km=void 0,Wm=void 0,ll=void 0,ci=void 0,sl=void 0,Hm=void 0,lu=void 0,s}function Jm(n){const t=Hm.get(n);return t===void 0&&be(75,n),t}function ve(n){return{type:n}}const Yr=ve("SELECTION_CHANGE_COMMAND"),iT=ve("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"),Po=ve("CLICK_COMMAND"),Li=ve("DELETE_CHARACTER_COMMAND"),qs=ve("INSERT_LINE_BREAK_COMMAND"),To=ve("INSERT_PARAGRAPH_COMMAND"),as=ve("CONTROLLED_TEXT_INSERTION_COMMAND"),kl=ve("PASTE_COMMAND"),Vm=ve("REMOVE_TEXT_COMMAND"),Pa=ve("DELETE_WORD_COMMAND"),al=ve("DELETE_LINE_COMMAND"),$t=ve("FORMAT_TEXT_COMMAND"),Ja=ve("UNDO_COMMAND"),Tl=ve("REDO_COMMAND"),Va=ve("KEYDOWN_COMMAND"),Th=ve("KEY_ARROW_RIGHT_COMMAND"),Qm=ve("MOVE_TO_END"),_h=ve("KEY_ARROW_LEFT_COMMAND"),jf=ve("MOVE_TO_START"),ji=ve("KEY_ARROW_UP_COMMAND"),ps=ve("KEY_ARROW_DOWN_COMMAND"),cl=ve("KEY_ENTER_COMMAND"),Iy=ve("KEY_SPACE_COMMAND"),_l=ve("KEY_BACKSPACE_COMMAND"),Qa=ve("KEY_ESCAPE_COMMAND"),Xa=ve("KEY_DELETE_COMMAND"),qa=ve("KEY_TAB_COMMAND"),Xm=ve("INSERT_TAB_COMMAND"),wo=ve("INDENT_CONTENT_COMMAND"),Zs=ve("OUTDENT_CONTENT_COMMAND"),My=ve("DROP_COMMAND"),Nh=ve("FORMAT_ELEMENT_COMMAND"),Dy=ve("DRAGSTART_COMMAND"),Ly=ve("DRAGOVER_COMMAND"),jF=ve("DRAGEND_COMMAND"),Nl=ve("COPY_COMMAND"),Iu=ve("CUT_COMMAND"),qm=ve("SELECT_ALL_COMMAND"),Ih=ve("CLEAR_EDITOR_COMMAND"),Oy=ve("CLEAR_HISTORY_COMMAND"),Aa=ve("CAN_REDO_COMMAND"),ya=ve("CAN_UNDO_COMMAND"),_s=ve("FOCUS_COMMAND"),Mh=ve("BLUR_COMMAND"),oT=ve("KEY_MODIFIER_COMMAND"),so=Object.freeze({}),$m=[["keydown",function(n,t){if(Hc=n.timeStamp,sT=n.key,!t.isComposing()&&!Me(t,Va,n)&&n.key!=null){if(Kp&&Q0(n))return Er(t,()=>{Yd(t,Wp)}),Kp=!1,void(Wp="");if((function(e){return Nt(e,"ArrowRight",{shiftKey:"any"})})(n))Me(t,Th,n);else if((function(e){return Nt(e,"ArrowRight",uo)})(n))Me(t,Qm,n);else if((function(e){return Nt(e,"ArrowLeft",{shiftKey:"any"})})(n))Me(t,_h,n);else if((function(e){return Nt(e,"ArrowLeft",uo)})(n))Me(t,jf,n);else if((function(e){return Nt(e,"ArrowUp",{altKey:"any",shiftKey:"any"})})(n))Me(t,ji,n);else if((function(e){return Nt(e,"ArrowDown",{altKey:"any",shiftKey:"any"})})(n))Me(t,ps,n);else if((function(e){return Nt(e,"Enter",{altKey:"any",ctrlKey:"any",metaKey:"any",shiftKey:!0})})(n))Yc=!0,Me(t,cl,n);else if((function(e){return e.key===" "})(n))Me(t,Iy,n);else if((function(e){return si&&Nt(e,"o",{ctrlKey:!0})})(n))n.preventDefault(),Yc=!0,Me(t,qs,!0);else if((function(e){return Nt(e,"Enter",{altKey:"any",ctrlKey:"any",metaKey:"any"})})(n))Yc=!1,Me(t,cl,n);else if((function(e){return Nt(e,"Backspace",{shiftKey:"any"})||si&&Nt(e,"h",{ctrlKey:!0})})(n))Q0(n)?Me(t,_l,n):(n.preventDefault(),Me(t,Li,!0));else if((function(e){return e.key==="Escape"})(n))Me(t,Qa,n);else if((function(e){return Nt(e,"Delete",{})||si&&Nt(e,"d",{ctrlKey:!0})})(n))(function(e){return e.key==="Delete"})(n)?Me(t,Xa,n):(n.preventDefault(),Me(t,Li,!1));else if((function(e){return Nt(e,"Backspace",V0)})(n))n.preventDefault(),Me(t,Pa,!0);else if((function(e){return Nt(e,"Delete",V0)})(n))n.preventDefault(),Me(t,Pa,!1);else if((function(e){return si&&Nt(e,"Backspace",{metaKey:!0})})(n))n.preventDefault(),Me(t,al,!0);else if((function(e){return si&&(Nt(e,"Delete",{metaKey:!0})||Nt(e,"k",{ctrlKey:!0}))})(n))n.preventDefault(),Me(t,al,!1);else if((function(e){return Nt(e,"b",uo)})(n))n.preventDefault(),Me(t,$t,"bold");else if((function(e){return Nt(e,"u",uo)})(n))n.preventDefault(),Me(t,$t,"underline");else if((function(e){return Nt(e,"i",uo)})(n))n.preventDefault(),Me(t,$t,"italic");else if((function(e){return Nt(e,"Tab",{shiftKey:"any"})})(n))Me(t,qa,n);else if((function(e){return Nt(e,"z",uo)})(n))n.preventDefault(),Me(t,Ja,void 0);else if((function(e){return si?Nt(e,"z",{metaKey:!0,shiftKey:!0}):Nt(e,"y",{ctrlKey:!0})||Nt(e,"z",{ctrlKey:!0,shiftKey:!0})})(n))n.preventDefault(),Me(t,Tl,void 0);else{const e=t._editorState._selection;e===null||H(e)?X0(n)&&(n.preventDefault(),Me(t,qm,n)):(function(r){return Nt(r,"c",uo)})(n)?(n.preventDefault(),Me(t,Nl,n)):(function(r){return Nt(r,"x",uo)})(n)?(n.preventDefault(),Me(t,Iu,n)):X0(n)&&(n.preventDefault(),Me(t,qm,n))}(function(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey})(n)&&Me(t,oT,n)}}],["pointerdown",function(n,t){const e=n.target,r=n.pointerType;Ol(e)&&r!=="touch"&&r!=="pen"&&n.button===0&&Er(t,()=>{Z0(e)||(nA=!0)})}],["compositionstart",function(n,t){Er(t,()=>{const e=G();if(H(e)&&!t.isComposing()){const r=e.anchor,i=e.anchor.getNode();Fn(r.key),(n.timeStamp<Hc+30||r.type==="element"||!e.isCollapsed()||i.getFormat()!==e.format||ae(i)&&i.getStyle()!==e.style)&&Me(t,as,vF)}})}],["compositionend",function(n,t){ol?_c=!0:Ra||!iu&&!ou?Er(t,()=>{Yd(t,n.data)}):(Kp=!0,Wp=n.data)}],["input",function(n,t){n.stopPropagation(),Er(t,()=>{if(Et(n.target)&&Z0(n.target))return;const e=G(),r=n.data,i=dT(n);if(r!=null&&H(e)&&cT(e,i,r,n.timeStamp,!1)){_c&&(Yd(t,r),_c=!1);const o=e.anchor.getNode(),s=$r(qr(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;Of&&!e.isCollapsed()&&ae(o)&&s.anchorNode!==null&&o.getTextContent().slice(0,c)+r+o.getTextContent().slice(c+u)===FT(s.anchorNode)||Me(t,as,r);const d=r.length;ol&&d>1&&n.inputType==="insertCompositionText"&&!t.isComposing()&&(e.anchor.offset-=d),iu||Ra||ou||!t.isComposing()||(Hc=0,Fn(null))}else Wy(!1,t,r!==null?r:void 0),_c&&(Yd(t,r||void 0),_c=!1);(function(){_n();const o=Qt();Gk(o)})()},{event:n}),fa=null}],["click",function(n,t){Er(t,()=>{const e=G(),r=$r(qr(t)),i=Bo();if(r){if(H(e)){const o=e.anchor,s=o.getNode();if(o.type==="element"&&o.offset===0&&e.isCollapsed()&&!Wt(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=>Y(c)&&!c.isInline());Y(l)&&l.select(0)}}else if(n.pointerType==="touch"||n.pointerType==="pen"){const o=r.anchorNode;(Et(o)||zo(o))&&Qe(Oh(i,r,t,n))}}Me(t,Po,n)})}],["cut",so],["copy",so],["dragstart",so],["dragover",so],["dragend",so],["paste",so],["focus",so],["blur",so],["drop",so]];Of&&$m.push(["beforeinput",(n,t)=>(function(e,r){const i=e.inputType,o=dT(e);i==="deleteCompositionText"||ol&&UT(r)||i!=="insertCompositionText"&&Er(r,()=>{const s=G();if(i==="deleteContentBackward"){if(s===null){const p=Bo();if(!H(p))return;Qe(p.clone())}if(H(s)){const p=s.anchor.key===s.focus.key;if(l=e.timeStamp,sT==="MediaLast"&&l<Hc+30&&r.isComposing()&&p){if(Fn(null),Hc=0,setTimeout(()=>{Er(r,()=>{Fn(null)})},30),H(s)){const m=s.anchor.getNode();m.markDirty(),ae(m)||be(142),uT(s,m)}}else{Fn(null),e.preventDefault();const m=s.anchor.getNode(),b=m.getTextContent(),w=m.canInsertTextAfter(),v=s.anchor.offset===0&&s.focus.offset===b.length;let C=u0&&p&&!v&&w;if(C&&s.isCollapsed()&&(C=!ot(lA(s.anchor,!0))),!C){Me(r,Li,!0);const x=G();u0&&H(x)&&x.isCollapsed()&&(Ys=x,setTimeout(()=>Ys=null))}}return}}var l;if(!H(s))return;const c=e.data;fa!==null&&Wy(!1,r,fa),s.dirty&&fa===null||!s.isCollapsed()||Wt(s.anchor.getNode())||o===null||s.applyDOMRange(o),fa=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":Me(r,as,e);break;case"insertFromComposition":Fn(null),Me(r,as,e);break;case"insertLineBreak":Fn(null),Me(r,qs,!1);break;case"insertParagraph":Fn(null),Yc&&!Ra?(Yc=!1,Me(r,qs,!1)):Me(r,To,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":Me(r,kl,e);break;case"deleteByComposition":(function(p,m){return p!==m||Y(p)||Y(m)||!$s(p)||!$s(m)})(h,g)&&Me(r,Vm,e);break;case"deleteByDrag":case"deleteByCut":Me(r,Vm,e);break;case"deleteContent":Me(r,Li,!1);break;case"deleteWordBackward":Me(r,Pa,!0);break;case"deleteWordForward":Me(r,Pa,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":Me(r,al,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":Me(r,al,!1);break;case"formatStrikeThrough":Me(r,$t,"strikethrough");break;case"formatBold":Me(r,$t,"bold");break;case"formatItalic":Me(r,$t,"italic");break;case"formatUnderline":Me(r,$t,"underline");break;case"historyUndo":Me(r,Ja,void 0);break;case"historyRedo":Me(r,Tl,void 0)}else{if(c===`
4
+ `)e.preventDefault(),Me(r,qs,!1);else if(c===hs)e.preventDefault(),Me(r,To,void 0);else if(c==null&&e.dataTransfer){const p=e.dataTransfer.getData("text/plain");e.preventDefault(),s.insertRawText(p)}else c!=null&&cT(s,o,c,e.timeStamp,!0)?(e.preventDefault(),Me(r,as,c)):fa=c;lT=e.timeStamp}})})(n,t)]);let Hc=0,sT=null,lT=0,fa=null;const eA=new WeakMap,zf=new WeakMap;let tA=!1,nA=!1,Yc=!1,_c=!1,Kp=!1,Wp="",Ys=null,aT=[0,"",0,"root",0];function cT(n,t,e,r,i){const o=n.anchor,s=n.focus,l=o.getNode(),c=Qt(),u=$r(qr(c)),d=u!==null?u.anchorNode:null,h=o.key,g=c.getElementByKey(h),p=e.length;return h!==s.key||!ae(l)||(!i&&(!Of||lT<r+50)||l.isDirty()&&p<2||PT(e))&&o.offset!==s.offset&&!l.isComposing()||Si(l)||l.isDirty()&&p>1||(i||!Of)&&g!==null&&!l.isComposing()&&d!==Ba(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,b){if(b.isSegmented())return!0;if(!m.isCollapsed())return!1;const w=m.anchor.offset,v=b.getParentOrThrow(),C=$s(b);return w===0?!b.canInsertTextBefore()||!v.canInsertTextBefore()&&!b.isComposing()||C||(function(x){const N=x.getPreviousSibling();return(ae(N)||Y(N)&&N.isInline())&&!N.canInsertTextAfter()})(b):w===b.getTextContentSize()&&(!b.canInsertTextAfter()||!v.canInsertTextAfter()&&!b.isComposing()||C)})(n,l)}function v0(n,t){return zo(n)&&n.nodeValue!==null&&t!==0&&t!==n.nodeValue.length}function x0(n,t,e){const{anchorNode:r,anchorOffset:i,focusNode:o,focusOffset:s}=n;tA&&(tA=!1,v0(r,i)&&v0(o,s)&&!Ys)||Er(t,()=>{if(!e)return void Qe(null);if(!Ru(t,r,o))return;let l=G();if(Ys&&H(l)&&l.isCollapsed()){const c=l.anchor,u=Ys.anchor;(c.key===u.key&&c.offset===u.offset+1||c.offset===1&&u.getNode().is(c.getNode().getPreviousSibling()))&&(l=Ys.clone(),Qe(l))}if(Ys=null,H(l)){const c=l.anchor,u=c.getNode();if(l.isCollapsed()){n.type==="Range"&&n.anchorNode===n.focusNode&&(l.dirty=!0);const d=qr(t).event,h=d?d.timeStamp:performance.now(),[g,p,m,b,w]=aT,v=Re(),C=t.isComposing()===!1&&v.getTextContent()==="";if(h<w+200&&c.offset===m&&c.key===b)vf(l,g,p);else if(c.type==="text")ae(u)||be(141),uT(l,u);else if(c.type==="element"&&!C){Y(u)||be(259);const x=c.getNode();x.isEmpty()?(function(N,T){const k=T.getTextFormat(),_=T.getTextStyle();vf(N,k,_)})(l,x):vf(l,0,"")}}else{const d=c.key,h=l.focus.key,g=l.getNodes(),p=g.length,m=l.isBackward(),b=m?s:i,w=m?i:s,v=m?h:d,C=m?d:h;let x=2047,N=!1;for(let T=0;T<p;T++){const k=g[T],_=k.getTextContentSize();if(ae(k)&&_!==0&&!(T===0&&k.__key===v&&b===_||T===p-1&&k.__key===C&&w===0)&&(N=!0,x&=k.getFormat(),x===0))break}l.format=N?x:0}}Me(t,Yr,void 0)})}function vf(n,t,e){n.format===t&&n.style===e||(n.format=t,n.style=e,n.dirty=!0)}function uT(n,t){vf(n,t.getFormat(),t.getStyle())}function dT(n){if(!n.getTargetRanges)return null;const t=n.getTargetRanges();return t.length===0?null:t[0]}function Yd(n,t){const e=n._compositionKey;if(Fn(null),e!==null&&t!=null){if(t===""){const r=Se(e),i=Ba(n.getElementByKey(e));return void(i!==null&&i.nodeValue!==null&&ae(r)&&Hy(r,i.nodeValue,null,null,!0))}if(t[t.length-1]===`
5
+ `){const r=G();if(H(r)){const i=r.focus;return r.anchor.set(i.key,i.offset,i.type),void Me(n,cl,null)}}}Wy(!0,n,t)}function fT(n){let t=n.__lexicalEventHandles;return t===void 0&&(t=[],n.__lexicalEventHandles=t),t}const Ta=new Map;function hT(n){const t=hj(n.target);if(t===null)return;const e=Pu(t.anchorNode);if(e===null)return;nA&&(nA=!1,Er(e,()=>{const c=Bo(),u=t.anchorNode;(Et(u)||zo(u))&&Qe(Oh(c,t,e,n))}));const r=Ky(e),i=r[r.length-1],o=i._key,s=Ta.get(o),l=s||i;l!==e&&x0(t,l,!1),x0(t,e,!0),e!==i?Ta.set(o,e):s&&Ta.delete(o)}function S0(n){n._lexicalHandled=!0}function E0(n){return n._lexicalHandled===!0}function zF(n){const t=eA.get(n);if(t===void 0)return;const e=zf.get(t);if(e===void 0)return;const r=e-1;r>=0||be(164),eA.delete(n),zf.set(t,r),r===0&&t.removeEventListener("selectionchange",hT);const i=Bh(n);Uy(i)?((function(s){if(s._parentEditor!==null){const l=Ky(s),c=l[l.length-1]._key;Ta.get(c)===s&&Ta.delete(c)}else Ta.delete(s._key)})(i),n.__lexicalEditor=null):i&&be(198);const o=fT(n);for(let s=0;s<o.length;s++)o[s]();n.__lexicalEventHandles=[]}function rA(n,t,e){_n();const r=n.__key,i=n.getParent();if(i===null)return;const o=(function(l){const c=G();if(!H(c)||!Y(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(H(o)&&t){const l=o.anchor,c=o.focus;l.key===r&&(Wf(l,n,i,n.getPreviousSibling(),n.getNextSibling()),s=!0),c.key===r&&(Wf(c,n,i,n.getPreviousSibling(),n.getNextSibling()),s=!0)}else Jt(o)&&t&&n.isSelected()&&n.selectPrevious();if(H(o)&&t&&!s){const l=n.getIndexWithinParent();Co(n),Kf(o,i,l,-1)}else Co(n);e||Qn(i)||i.canBeEmpty()||!i.isEmpty()||rA(i,t),t&&o&&Wt(i)&&i.isEmpty()&&i.selectEnd()}const gT=Symbol.for("ephemeral");function Uf(n){return n[gT]||!1}class ui{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}),DT(this,t)}static getType(){const{ownNodeType:t}=zh(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=Se(t);if(e===null)break;t=e.__parent}return!1}isSelected(t){const e=t||G();if(e==null)return!1;const r=e.getNodes().some(i=>i.__key===this.__key);if(ae(this))return r;if(H(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:Se(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 Y(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:Se(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:Se(t)}getNextSiblings(){const t=[];let e=this.getNextSibling();for(;e!==null;)t.push(e),e=e.getNextSibling();return t}getCommonAncestor(t){const e=Y(this)?this:this.getParent(),r=Y(t)?t:t.getParent(),i=e&&r?Sf(e,r):null;return i?i.commonAncestor:null}is(t){return t!=null&&this.__key===t.__key}isBefore(t){const e=Sf(this,t);return e!==null&&(e.type==="descendant"||(e.type==="branch"?VT(e)===-1:(e.type!=="same"&&e.type!=="ancestor"&&be(279),!1)))}isParentOf(t){const e=Sf(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=Y(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(Uf(this))return this;const t=Se(this.__key);return t===null&&be(113),t}getWritable(){if(Uf(this))return this;_n();const t=Fo(),e=Qt(),r=t._nodeMap,i=this.__key,o=this.getLatest(),s=e._cloneNotNeeded,l=G();if(l!==null&&l.setCachedNodes(null),s.has(i))return Yf(o),o;const c=Jy(o);return s.add(i),Yf(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 $k(i).flatKeys)l in r&&(s!==void 0&&s!==o||(s={...o}),s[l]=r[l]);return(i.__state||s)&&Eh(e).updateFromJSON(s),i})(this,t)}static transform(){return null}remove(t){rA(this,!0,t)}replace(t,e){_n();let r=G();r!==null&&(r=r.clone()),Vp(this,t);const i=this.getLatest(),o=this.__key,s=t.__key,l=t.getWritable(),c=this.getParentOrThrow().getWritable(),u=c.__size;Co(l);const d=i.getPreviousSibling(),h=i.getNextSibling(),g=i.__prev,p=i.__next,m=i.__parent;if(rA(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&&(Y(this)&&Y(l)||be(139),this.getChildren().forEach(b=>{l.append(b)})),H(r)){Qe(r);const b=r.anchor,w=r.focus;b.key===o&&I0(b,l),w.key===o&&I0(w,l)}return rs()===o&&Fn(s),l}insertAfter(t,e=!0){_n(),Vp(this,t);const r=this.getWritable(),i=t.getWritable(),o=i.getParent(),s=G();let l=!1,c=!1;if(o!==null){const p=t.getIndexWithinParent();if(Co(i),H(s)){const m=o.__key,b=s.anchor,w=s.focus;l=b.type==="element"&&b.key===m&&b.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&&H(s)){const p=this.getIndexWithinParent();Kf(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){_n(),Vp(this,t);const r=this.getWritable(),i=t.getWritable(),o=i.__key;Co(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=G();return e&&H(d)&&Kf(d,this.getParentOrThrow(),u),t}isParentRequired(){return!1}createParentElementNode(){return _e()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(t,e){_n();const r=this.getPreviousSibling(),i=this.getParentOrThrow();if(r===null)return i.select(0,0);if(Y(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){_n();const r=this.getNextSibling(),i=this.getParentOrThrow();if(r===null)return i.select();if(Y(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(ui,"importDOM");const ul="historic",UF="history-push",Zr="history-merge",KF="paste",Mu="collaboration",k0="skip-collab",pT="skip-scroll-into-view",WF="skip-dom-selection",HF="skip-selection-focus";class $a extends ui{static getType(){return"linebreak"}static clone(t){return new $a(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&&Zf(r)){const i=r.firstChild;if(i===e||i.nextSibling===e&&Zd(i)){const o=r.lastChild;if(o===e||o.previousSibling===e&&Zd(o))return!0}}return!1})(t)||(function(e){const r=e.parentElement;if(r!==null&&Zf(r)){const i=r.firstChild;if(i===e||i.nextSibling===e&&Zd(i))return!1;const o=r.lastChild;if(o===e||o.previousSibling===e&&Zd(o))return!0}return!1})(t)?null:{conversion:YF,priority:0}}}static importJSON(t){return ir().updateFromJSON(t)}}function YF(n){return{node:ir()}}function ir(){return Dt(new $a)}function Mt(n){return n instanceof $a}function Zd(n){return zo(n)&&/^( |\t|\r?\n)+$/.test(n.textContent||"")}function Hp(n,t){return 16&t?"code":t&Kk?"mark":32&t?"sub":64&t?"sup":null}function Yp(n,t){return 1&t?"strong":2&t?"em":"span"}function mT(n,t,e,r,i){const o=r.classList;let s=_a(i,"base");s!==void 0&&o.add(...s),s=_a(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 ko){const d=ko[u];if(s=_a(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 AT(n,t,e){const r=t.firstChild,i=e.isComposing(),o=n+(i?Sh:"");if(r==null)t.textContent=o;else{const s=r.nodeValue;if(s!==o)if(i||ol){const[l,c,u]=(function(d,h){const g=d.length,p=h.length;let m=0,b=0;for(;m<g&&m<p&&d[m]===h[m];)m++;for(;b+m<g&&b+m<p&&d[g-b-1]===h[p-b-1];)b++;return[m,g-m-b,h.slice(m,p-b)]})(s,o);c!==0&&r.deleteData(l,c),r.insertData(l,u)}else r.nodeValue=o}}function T0(n,t,e,r,i,o){AT(i,n,t);const s=o.theme.text;s!==void 0&&mT(0,0,r,n,s)}function Gd(n,t){const e=document.createElement(t);return e.appendChild(n),e}class Mn extends ui{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 Mn(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 _F[e.__mode]}getStyle(){return this.getLatest().__style}isToken(){return this.getLatest().__mode===1}isComposing(){return this.__key===rs()}isSegmented(){return this.getLatest().__mode===2}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){const r=ko[e];return(this.getFormat()&r)!==0}isSimpleText(){return this.__type==="text"&&this.__mode===0}getTextContent(){return this.getLatest().__text}getFormatFlags(e,r){return Hf(this.getLatest().__format,e,r)}canHaveFormat(){return!0}isInline(){return!0}createDOM(e,r){const i=this.__format,o=Hp(0,i),s=Yp(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)),T0(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=Hp(0,s),u=Hp(0,l),d=Yp(0,s),h=Yp(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 T0(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)),AT(o,g,this);const p=i.theme.text;p!==void 0&&s!==l&&mT(0,s,l,g,p);const m=e.__style,b=this.__style;return m!==b&&(r.style.cssText=b),!1}static importDOM(){return{"#text":()=>({conversion:VF,priority:0}),b:()=>({conversion:GF,priority:0}),code:()=>({conversion:lo,priority:0}),em:()=>({conversion:lo,priority:0}),i:()=>({conversion:lo,priority:0}),mark:()=>({conversion:lo,priority:0}),s:()=>({conversion:lo,priority:0}),span:()=>({conversion:ZF,priority:0}),strong:()=>({conversion:lo,priority:0}),sub:()=>({conversion:lo,priority:0}),sup:()=>({conversion:lo,priority:0}),u:()=>({conversion:lo,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=Gd(r,"b")),this.hasFormat("italic")&&(r=Gd(r,"i")),this.hasFormat("strikethrough")&&(r=Gd(r,"s")),this.hasFormat("underline")&&(r=Gd(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"?ko[e]:e,r}setDetail(e){const r=this.getWritable();return r.__detail=typeof e=="string"?EF[e]:e,r}setStyle(e){const r=this.getWritable();return r.__style=e,r}toggleFormat(e){const r=Hf(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=TF[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){_n();let i=e,o=r;const s=G(),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(!H(s))return wT(c,i,c,o,"text","text");{const u=rs();u!==s.anchor.key&&u!==s.focus.key||Fn(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=G();if(o&&H(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){_n();const r=this.getLatest(),i=r.getTextContent();if(i==="")return[];const o=r.__key,s=rs(),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(),b=r.getStyle(),w=r.__detail;let v=!1,C=null,x=null;const N=G();if(H(N)){const[I,R]=N.isBackward()?[N.focus,N.anchor]:[N.anchor,N.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=b,p.__detail=w,p.__state=m0(r,p),v=!0):p=r.setTextContent(h);const T=[p];for(let I=1;I<d;I++){const R=yt(c[I]);R.__format=m,R.__style=b,R.__detail=w,R.__state=m0(r,R);const B=R.__key;s===o&&Fn(B),T.push(R)}const k=C?C.offset:null,_=x?x.offset:null;let M=0;for(const I of T){if(!C&&!x)break;const R=M+I.getTextContentSize();if(C!==null&&k!==null&&k<=R&&k>=M&&(C.set(I.getKey(),k-M,"text"),k<R&&(C=null)),x!==null&&_!==null&&_<=R&&_>=M){x.set(I.getKey(),_-M,"text");break}M=R}if(g!==null){(function(B){const U=B.getPreviousSibling(),j=B.getNextSibling();U!==null&&Yf(U),j!==null&&Yf(j)})(this);const I=g.getWritable(),R=this.getIndexWithinParent();v?(I.splice(R,0,T),this.remove()):I.splice(R,1,T),H(N)&&Kf(N,g,R,d-1)}return T}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;rs()===o&&Fn(i);const c=G();if(H(c)){const g=c.anchor,p=c.focus;g!==null&&g.key===o&&B0(g,r,i,e,l),p!==null&&p.key===o&&B0(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 ZF(n){return{forChild:Ry(n.style),node:null}}function GF(n){const t=n,e=t.style.fontWeight==="normal";return{forChild:Ry(t.style,e?void 0:"bold"),node:null}}const _0=new WeakMap;function JF(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 VF(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=_0.get(o))===void 0&&!JF(o);)s.push(o),o=o.parentNode;const l=i===void 0?o:i;for(let c=0;c<s.length;c++)_0.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(ir()):l===" "?i.push(Jr()):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=N0(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=N0(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 N0(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===""&&!fA(e)||o!==""&&!o.startsWith("inline"))return null}let i=e;for(;(i=t?e.firstChild:e.lastChild)!==null;)e=i;if(zo(e))return e;if(e.nodeName==="BR")return null}}const QF={code:"code",em:"italic",i:"italic",mark:"highlight",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function lo(n){const t=QF[n.nodeName.toLowerCase()];return t===void 0?{node:null}:{forChild:Ry(n.style,t),node:null}}function yt(n=""){return Dt(new Mn(n))}function ae(n){return n instanceof Mn}function Ry(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 ec extends Mn{static getType(){return"tab"}static clone(t){return new ec(t.__key)}constructor(t){super(" ",t),this.__detail=2}static importDOM(){return null}createDOM(t){const e=super.createDOM(t),r=_a(t.theme,"tab");return r!==void 0&&e.classList.add(...r),e}static importJSON(t){return Jr().updateFromJSON(t)}setTextContent(t){return t!==" "&&t!==""&&jk(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 Jr(){return Dt(new ec)}function jn(n){return n instanceof ec}class XF{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:JT(Gr(Ui(this,"next")),Gr(Ui(t,"next")))<0}getNode(){const t=Se(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,Dl()||(rs()===s&&Fn(t),o!==null&&(o.setCachedNodes(null),o.dirty=!0)))}}function Ln(n,t,e){return new XF(n,t,e)}function Zp(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(!Y(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 I0(n,t){if(Y(t)){const e=t.getLastDescendant();Y(e)||ae(e)?Zp(n,e):Zp(n,t)}else Zp(n,t)}class Dh{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(!Jt(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 Dh(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=Se(i);o!==null&&r.push(o)}return Dl()||(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((G()||Bo())===this&&t[0]){const e=en(t[0],"next");tb(_o(e,e))}for(const e of t)e.remove()}}function H(n){return n instanceof Il}class Il{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!!H(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(Vr(u)){const{origin:d}=u;i.length===0?l.add(d):(c.add(d),i.push(d))}else{const{origin:d}=u;Y(d)&&c.has(d)||i.push(d)}if(s&&i.push(s.caret.origin),pl(r.focus)&&Y(r.focus.origin)&&r.focus.getNodeAtCaret()===null)for(let u=ei(r.focus.origin,"previous");Vr(u)&&l.has(u.origin)&&!u.origin.isEmpty()&&u.origin.is(i[i.length-1]);u=Fa(u))l.delete(u.origin),i.pop();for(;i.length>1;){const u=i[i.length-1];if(!Y(u)||c.has(u)||u.isEmpty()||l.has(u))break;i.pop()}if(i.length===0&&r.isCollapsed()){const u=Gr(r.anchor),d=Gr(r.anchor.getFlipped()),h=p=>Oi(p)?p.origin:p.getNodeAtCaret(),g=h(u)||h(d)||(r.anchor.getNodeAtCaret()?u.origin:d.origin);i.push(g)}return i})(nb(gA(this),"next"));return Dl()||(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]=iA(this);let u="",d=!0;for(let h=0;h<t.length;h++){const g=t[h];if(Y(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)&&!Mt(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),gs(this)}clone(){const t=this.anchor,e=this.focus;return new Il(Ln(t.key,t.offset,t.type),Ln(e.key,e.offset,e.type),this.format,this.style)}toggleFormat(t){this.format=Hf(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=ko[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(ir()):s===" "?r.push(Jr()):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 N=w.getNode(),T=N.getChildAtIndex(w.offset),k=yt();if(k.setFormat(C),k.setStyle(x),gn(T))T.splice(0,0,[k]);else{const _=Wt(N)?_e().append(k):k;T===null?N.append(_):T.insertBefore(_)}w.is(v)&&v.set(k.__key,0,"text"),w.set(k.__key,0,"text")})(s,l,i,o),l.type==="element"&&cu(l,Gr(Ui(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 b=d[h-1];if(h===1&&l.type==="element"&&(u=p,l.set(s.key,u,"text")),this.isCollapsed()&&c===p&&(Si(g)||!g.canInsertTextAfter()||!m.canInsertTextAfter()&&g.getNextSibling()===null)){let w=g.getNextSibling();if(ae(w)&&w.canInsertTextBefore()&&!Si(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&&(Si(g)||!g.canInsertTextBefore()||!m.canInsertTextBefore()&&g.getPreviousSibling()===null)){let w=g.getPreviousSibling();if(ae(w)&&!Si(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=b.getParent();if(!m.canInsertTextBefore()||!m.canInsertTextAfter()||Y(w)&&(!w.canInsertTextBefore()||!w.canInsertTextAfter()))return this.insertText(""),yT(this.anchor,this.focus,null),void this.insertText(t)}if(h===1){if($s(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(jn(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[N]=g.splitText(c);N.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(),...b.getParentKeys()]),v=Y(g)?g:g.getParentOrThrow();let C=Y(b)?b:b.getParentOrThrow(),x=b;if(!v.is(C)&&C.isInline())do x=C,C=C.getParentOrThrow();while(C.isInline());if(l.type==="text"&&(u!==0||b.getTextContent()==="")||l.type==="element"&&b.getIndexWithinParent()<u)if(ae(b)&&!$s(b)&&u!==b.getTextContentSize()){if(b.isSegmented()){const M=yt(b.getTextContent());b.replace(M),b=M}Wt(l.getNode())||l.type!=="text"||(b=b.spliceText(0,u,"")),w.add(b.__key)}else{const M=b.getParentOrThrow();M.canBeEmpty()||M.getChildrenSize()!==1?b.remove():M.remove()}else w.add(b.__key);const N=C.getChildren(),T=new Set(d),k=v.is(C),_=v.isInline()&&g.getNextSibling()===null?v:g;for(let M=N.length-1;M>=0;M--){const I=N[M];if(I.is(g)||Y(I)&&I.isParentOf(g))break;I.isAttached()&&(!T.has(I)||I.is(x)?k||_.insertAfter(I,!1):I.remove())}if(!k){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($s(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=G()===this;Ef(this,xj(gA(this))),t&&G()!==this&&Qe(this)}formatText(t,e=null){if(this.isCollapsed())return this.toggleFormat(t),void Fn(null);const r=this.getNodes(),i=[];for(const N of r)ae(N)&&i.push(N);const o=N=>{r.forEach(T=>{if(Y(T)){const k=T.getFormatFlags(t,N);T.setTextFormat(k)}})},s=i.length;if(s===0)return this.toggleFormat(t),Fn(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 b=p.getFormatFlags(t,e);o(b);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(Si(p)||m===0&&C===p.getTextContentSize())p.setFormat(b);else{const N=p.splitText(m,C),T=m===0?N[0]:N[1];T.setFormat(b),d.type==="text"&&d.set(T.__key,0,"text"),h.type==="text"&&h.set(T.__key,C-m,"text")}return void(this.format=b)}m===0||Si(p)||([,p]=p.splitText(m),m=0),p.setFormat(b);const x=v.getFormatFlags(t,b);C>0&&(C===v.getTextContentSize()||Si(v)||([v]=v.splitText(C)),v.setFormat(x));for(let N=g+1;N<w;N++){const T=i[N],k=T.getFormatFlags(t,x);T.setFormat(k)}d.type==="text"&&d.set(p.__key,m,"text"),h.type==="text"&&h.set(v.__key,C,"text"),this.format=b|x}insertNodes(t){if(t.length===0)return;if(this.isCollapsed()||this.removeText(),this.anchor.key==="root"){this.insertParagraph();const m=G();return H(m)||be(134),m.insertNodes(t)}const e=(this.isBackward()?this.focus:this.anchor).getNode(),r=Te(e,Ur),i=t[t.length-1];if(Y(r)&&"__language"in r){if("__language"in t[0])this.insertText(t[0].getTextContent());else{const m=Gp(this);r.splice(m,0,t),i.selectEnd()}return}if(!t.some(m=>(Y(m)||ot(m))&&!m.isInline())){Y(r)||be(211,e.constructor.name,e.getType());const m=Gp(this);return r.splice(m,0,t),void i.selectEnd()}const o=(function(m){const b=_e();let w=null;for(let v=0;v<m.length;v++){const C=m[v],x=Mt(C);if(x||ot(C)&&C.isInline()||Y(C)&&C.isInline()||ae(C)||C.isParentRequired()){if(w===null&&(w=C.createParentElementNode(),b.append(w),x))continue;w!==null&&w.append(C)}else b.append(C),w=null}return b})(t),s=o.getLastDescendant(),l=o.getChildren(),c=!Y(r)||!r.isEmpty()?this.insertParagraph():null,u=l[l.length-1];let d=l[0];var h;Y(h=d)&&Ur(h)&&!h.isEmpty()&&Y(r)&&(!r.isEmpty()||r.canMergeWhenEmpty())&&(Y(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,b){const w=b.getParentOrThrow().getLastChild();let v=b;const C=[b];for(;v!==w;)v.getNextSibling()||be(140),v=v.getNextSibling(),C.push(v);let x=m;for(const N of C)x=x.insertAfter(N)})(r,d));const g=Te(s,Ur);c&&Y(g)&&(c.canMergeWhenEmpty()||Ur(u))&&(g.append(...c.getChildren()),c.remove()),Y(r)&&r.isEmpty()&&r.remove(),s.selectEnd();const p=Y(r)?r.getLastChild():null;Mt(p)&&g!==r&&p.remove()}insertParagraph(){if(this.anchor.key==="root"){const s=_e();return Re().splice(this.anchor.offset,0,[s]),s.select(),s}const t=Gp(this),e=Te(this.anchor.getNode(),Ur);Y(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=ir();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]=iA(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(F0(this,t,e,r))return;const i=t==="move",o=Qt(),s=$r(qr(o));if(!s)return;const l=o._blockCursorElement,c=o._rootElement,u=this.focus.getNode();if(c===null||l===null||!Y(u)||u.isInline()||u.canBeEmpty()||uA(l,o,c),this.dirty){let d=fl(o,this.anchor.key),h=fl(o,this.focus.key);this.anchor.type==="text"&&(d=Ba(d)),this.focus.type==="text"&&(h=Ba(h)),d&&h&&CT(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=Wt(h)?h:fj(h);if(this.applyDOMRange(d),this.dirty=!0,!i){const p=this.getNodes(),m=[];let b=!1;for(let w=0;w<p.length;w++){const v=p[w];aA(v,g)?m.push(v):b=!0}if(b&&m.length>0)if(e){const w=m[0];Y(w)?w.selectStart():w.getParentOrThrow().selectStart()}else{const w=m[m.length-1];Y(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,N=C.offset,T=C.type;C.set(v.key,v.offset,v.type,!0),v.set(x,N,T,!0)})(this)}}r==="lineboundary"&&F0(this,t,e,r,"decorators")}forwardDeletion(t,e,r){if(!r&&(t.type==="element"&&Y(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(Y(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=$y(Ui(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(Vr(c)){if(!c.origin.isInline()){if(c.origin.isShadowRoot()){if(l.type==="merge-block")break;if(Y(o.anchor.origin)&&o.anchor.origin.isEmpty()){const u=Gr(c);Ef(this,_o(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(pl(c)){if(Y(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())&&Y(o.anchor.origin)&&o.anchor.origin.isEmpty()){o.anchor.origin.remove();const u=Lh();u.add(c.origin.getKey()),Qe(u)}else c.origin.remove();return}break}}if(l.type==="merge-block"){const{caret:c,block:u}=l;return Ef(this,_o(!c.origin.isEmpty()&&u.isEmpty()?Fu(en(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&&D0(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 L0(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 L0(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,b=h.offset,w=m<b,v=w?m:b,C=w?b:m,x=C-1;v!==x&&(function(N){return!(PT(N)||qF(N))})(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()&&Wt(r.getParent())&&r.getPreviousSibling()===null&&D0(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 Jt(n){return n instanceof Dh}function M0(n){const t=n.offset;if(n.type==="text")return t;const e=n.getNode();return t===e.getChildrenSize()?e.getTextContent().length:0}function iA(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]:[M0(e),M0(r)]}function D0(n,t){for(let e=t;e;e=e.getParent()){if(Y(e)){if(e.collapseAtStart(n))return!0;if(Qn(e))break}if(e.getPreviousSibling())break}return!1}const qF=(()=>{try{const n=new RegExp("\\p{Emoji}","u"),t=n.test.bind(n);if(t("❤️")&&t("#️⃣")&&t("👍"))return t}catch{}return()=>!1})();function L0(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 O0(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=ba(d),ae(i))o=Ri(i,s?"next":"previous");else{let g=ba(n);if(g===null)return null;if(Y(g)){const p=r.getElementByKey(g.getKey());p===null&&be(214),[g,o]=g.getDOMSlot(p).resolveChildIndex(g,p,n,t),Y(g)||be(215),s&&o>=g.getChildrenSize()&&(o=Math.max(0,g.getChildrenSize()-1));let b=g.getChildAtIndex(o);if(Y(b)&&(function(w,v,C){const x=w.getParent();return C===null||x===null||!x.canBeEmpty()||x!==C.getNode()})(b,0,e)){const w=s?b.getLastDescendant():b.getFirstDescendant();w===null?g=b:(b=w,g=Y(b)?b:b.getParentOrThrow()),o=0}ae(b)?(i=b,g=null,o=Ri(b,s?"next":"previous")):b!==g&&s&&!h&&(Y(g)||be(216),o=Math.min(g.getChildrenSize(),o+1))}else{const p=g.getIndexWithinParent();o=t===0&&ot(g)&&ba(n)===g?p:p+1,g=g.getParentOrThrow()}if(Y(g))return Ln(g.__key,o,"element")}}else i=ba(n);return ae(i)?Ln(i.__key,Ri(i,o,"clamp"),"text"):null}function R0(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&&Y(s)&&s.isInline()){const l=s.getPreviousSibling();ae(l)&&n.set(l.__key,l.getTextContent().length,"text")}}else Y(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&&Y(o)&&o.isInline())n.set(o.__key,0,"element");else if((e||t)&&o===null&&Y(s)&&s.isInline()&&!s.canInsertTextAfter()){const l=s.getNextSibling();ae(l)&&n.set(l.__key,0,"text")}}}function yT(n,t,e){if(n.type==="text"&&t.type==="text"){const r=n.isBefore(t),i=n.is(t);R0(n,r,i),R0(t,!r,i),i&&t.set(n.key,n.offset,n.type);const o=Qt();if(o.isComposing()&&o._compositionKey!==n.key&&H(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||!Ru(i,n,e))return null;const s=O0(n,t,H(o)?o.anchor:null,i);if(s===null)return null;const l=O0(e,r,H(o)?o.focus:null,i);if(l===null)return null;if(s.type==="element"&&l.type==="element"){const c=ba(n),u=ba(e);if(ot(c)&&ot(u))return null}return yT(s,l,o),[s,l]}function oA(n){return Y(n)&&!n.isInline()}function wT(n,t,e,r,i,o){const s=Fo(),l=new Il(Ln(n,t,i),Ln(e,r,o),0,"");return l.dirty=!0,s._selection=l,l}function Ml(){const n=Ln("root",0,"element"),t=Ln("root",0,"element");return new Il(n,t,0,"")}function Lh(){return new Dh(new Set)}function $F(n,t){return Oh(null,n,t,null)}function Oh(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=!Um&&(l||s==="beforeinput"||s==="compositionstart"||s==="compositionend"||s==="click"&&o&&o.detail===3||s==="drop"||s===void 0);let u,d,h,g;if(H(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)&&H(n)&&!Ru(e,u,d))return n.clone();const p=bT(u,h,d,g,e,n);if(p===null)return null;const[m,b]=p;return new Il(m,b,H(n)?n.format:0,H(n)?n.style:"")}function G(){return Fo()._selection}function Bo(){return Qt()._editorState._selection}function Kf(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"),P0(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")}}P0(n)}function P0(n){const t=n.anchor,e=t.offset,r=n.focus,i=r.offset,o=t.getNode(),s=r.getNode();if(n.isCollapsed()){if(!Y(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(Y(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(Y(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 Wf(n,t,e,r,i){let o=null,s=0,l=null;r!==null?(o=r.__key,ae(r)?(s=r.getTextContentSize(),l="text"):Y(r)&&(s=r.getChildrenSize(),l="element")):i!==null&&(o=i.__key,ae(i)?l="text":Y(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 B0(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 CT(n,t,e,r,i){try{n.setBaseAndExtent(t,e,r,i)}catch{}}function ej(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(Mu)&&h!==o||h!==null&&zy(h))return;if(!H(t))return void(n!==null&&Ru(e,l,c)&&r.removeAllRanges());const g=t.anchor,p=t.focus,m=g.key,b=p.key,w=fl(e,m),v=fl(e,b),C=g.offset,x=p.offset,N=t.format,T=t.style,k=t.isCollapsed();let _=w,M=v,I=!1;if(g.type==="text"){_=Ba(w);const ee=g.getNode();I=ee.getFormat()!==N||ee.getStyle()!==T}else H(n)&&n.anchor.type==="text"&&(I=!0);var R,B,U,j,K;if(p.type==="text"&&(M=Ba(v)),_!==null&&M!==null&&(k&&(n===null||I||H(n)&&(n.format!==N||n.style!==T))&&(R=N,B=T,U=C,j=m,K=performance.now(),aT=[R,B,U,j,K]),u!==C||d!==x||l!==_||c!==M||r.type==="Range"&&k||(h!==null&&o.contains(h)||i.has(HF)||o.focus({preventScroll:!0}),g.type==="element"))){if(CT(r,_,C,M,x),!i.has(pT)&&t.isCollapsed()&&o!==null&&o===document.activeElement){const ee=H(t)&&t.anchor.type==="element"?_.childNodes[C]||null:r.rangeCount>0?r.getRangeAt(0):null;if(ee!==null){let ue;if(ee instanceof Text){const fe=document.createRange();fe.selectNode(ee),ue=fe.getBoundingClientRect()}else ue=ee.getBoundingClientRect();(function(fe,ie,V){const re=KT(V),J=Zy(re);if(re===null||J===null)return;let{top:Z,bottom:X}=ie,le=0,de=0,me=V;for(;me!==null;){const q=me===re.body;if(q)le=0,de=qr(fe).innerHeight;else{const Ae=me.getBoundingClientRect();le=Ae.top,de=Ae.bottom}let ne=0;if(Z<le?ne=-(le-Z):X>de&&(ne=X-de),ne!==0)if(q)J.scrollBy(0,ne);else{const Ae=me.scrollTop;me.scrollTop+=ne;const oe=me.scrollTop-Ae;Z-=oe,X-=oe}if(q)break;me=Bu(me)}})(e,ue,o)}}tA=!0}}function Du(n){let t=G()||Bo();t===null&&(t=Re().selectEnd()),t.insertNodes(n)}function Gp(n){let t=n;n.isCollapsed()||t.removeText();const e=G();H(e)&&(t=e),H(t)||be(161);const r=t.anchor;let i=r.getNode(),o=r.offset;for(;!Ur(i);){const s=i;if([i,o]=tj(i,o),s.is(i))break}return o}function tj(n,t){const e=n.getParent();if(!e){const i=_e();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(!Y(n)||t===0)return[e,n.getIndexWithinParent()];const r=n.getChildAtIndex(t);if(r){const i=new Il(Ln(n.__key,t,"element"),Ln(n.__key,t,"element"),0,""),o=n.insertNewAfter(i);o&&o.append(r,...r.getNextSiblings())}return[e,n.getIndexWithinParent()+1]}function F0(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=Ui(n.focus,e?"previous":"next"),s=r==="lineboundary",l=t==="move";let c=o,u=i==="decorators-and-blocks";if(!QT(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 $y(o).iterNodeCarets(t==="extend"?"shadowRoot":"root")){if(Vr(d))d.origin.isInline()||(c=d);else{if(Y(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=Lh();return d.add(c.origin.getKey()),Qe(d),!0}return c=Gr(c),l&&cu(n.anchor,c),cu(n.focus,c),u||!s}let Nn=null,In=null,gr=!1,Jp=!1,xf=0;const j0={characterData:!0,childList:!0,subtree:!0};function Dl(){return gr||Nn!==null&&Nn._readOnly}function _n(){gr&&be(13)}function vT(){xf>99&&be(14)}function Fo(){return Nn===null&&be(195,xT()),Nn}function Qt(){return In===null&&be(196,xT()),In}function xT(){let n=0;const t=new Set,e=dl.version;if(typeof window<"u")for(const i of document.querySelectorAll("[contenteditable]")){const o=Bh(i);if(Uy(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 nj(){return In}function z0(n,t,e){const r=t.__type,i=NT(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 U0(n,t){return n!==void 0&&n.__key!==t&&n.isAttached()}function ST(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 rj(n){return Py(n,Qt()._nodes)}function Py(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(Y(o)&&Array.isArray(s))for(let l=0;l<s.length;l++){const c=Py(s[l],t);o.append(c)}return o}function K0(n,t,e){const r=Nn,i=gr,o=In;Nn=t,gr=!0,In=n;try{return e()}finally{Nn=r,gr=i,In=o}}function go(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=Nn,d=gr,h=In,g=n._updating,p=n._observer;let m=null;if(n._pendingEditorState=null,n._editorState=e,!i&&c&&p!==null){In=n,Nn=e,gr=!1,n._updating=!0;try{const k=n._dirtyType,_=n._dirtyElements,M=n._dirtyLeaves;p.disconnect(),m=FF(o,e,n,k,_,M)}catch(k){if(k instanceof Error&&n._onError(k),Jp)throw k;return TT(n,null,r,e),Jk(n),n._dirtyType=2,Jp=!0,go(n,o),void(Jp=!1)}finally{p.observe(r,j0),n._updating=g,Nn=u,gr=d,In=h}}e._readOnly||(e._readOnly=!0);const b=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(k,_){const M=k._decorators;let I=k._pendingDecorators||M;const R=_._nodeMap;let B;for(B in I)R.has(B)||(I===M&&(I=OT(k)),delete I[B])})(n,e);const N=i?null:$r(qr(n));if(n._editable&&N!==null&&(c||l===null||l.dirty||!l.is(s))&&r!==null&&!C.has(WF)){In=n,Nn=e;try{if(p!==null&&p.disconnect(),c||l===null||l.dirty){const k=n._blockCursorElement;k!==null&&uA(k,n,r),ej(s,l,n,N,C,r)}(function(k,_,M){let I=k._blockCursorElement;if(H(M)&&M.isCollapsed()&&M.anchor.type==="element"&&_.contains(document.activeElement)){const R=M.anchor,B=R.getNode(),U=R.offset;let j=!1,K=null;if(U===B.getChildrenSize())Qp(B.getChildAtIndex(U-1))&&(j=!0);else{const ee=B.getChildAtIndex(U);if(ee!==null&&Qp(ee)){const ue=ee.getPreviousSibling();(ue===null||Qp(ue))&&(j=!0,K=k.getElementByKey(ee.__key))}}if(j){const ee=k.getElementByKey(B.__key);return I===null&&(k._blockCursorElement=I=(function(ue){const fe=ue.theme,ie=document.createElement("div");ie.contentEditable="false",ie.setAttribute("data-lexical-cursor","true");let V=fe.blockCursor;if(V!==void 0){if(typeof V=="string"){const re=Uk(V);V=fe.blockCursor=re}V!==void 0&&ie.classList.add(...V)}return ie})(k._config)),_.style.caretColor="transparent",void(K===null?ee.appendChild(I):ee.insertBefore(I,K))}}I!==null&&uA(I,k,_)})(n,r,l)}finally{p!==null&&p.observe(r,j0),In=h,Nn=u}}m!==null&&(function(k,_,M,I,R){const B=Array.from(k._listeners.mutation),U=B.length;for(let j=0;j<U;j++){const[K,ee]=B[j];for(const ue of ee){const fe=_.get(ue);fe!==void 0&&K(fe,{dirtyLeaves:I,prevEditorState:R,updateTags:M})}}})(n,m,C,b,o),H(l)||l===null||s!==null&&s.is(l)||n.dispatchCommand(Yr,void 0);const T=n._pendingDecorators;T!==null&&(n._decorators=T,n._pendingDecorators=null,Zc("decorator",n,!0,T)),(function(k,_,M){const I=G0(_),R=G0(M);I!==R&&Zc("textcontent",k,!0,R)})(n,t||o,e),Zc("update",n,!0,{dirtyElements:w,dirtyLeaves:b,editorState:e,mutatedNodes:m,normalizedNodes:v,prevEditorState:t||o,tags:C}),(function(k,_){if(k._deferred=[],_.length!==0){const M=k._updating;k._updating=!0;try{for(let I=0;I<_.length;I++)_[I]()}finally{k._updating=M}}})(n,x),(function(k){const _=k._updates;if(_.length!==0){const M=_.shift();if(M){const[I,R]=M;Rh(k,I,R)}}})(n)}function Zc(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 W0(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),ST(n,s.tag)),l==null?Rh(n,o,s):o()}}return r}function Rh(n,t,e){const r=n._updateTags;let i,o=!1,s=!1;e!==void 0&&(i=e.onUpdate,ST(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=ET(c||l),u=!0),c._flushSync=s;const d=Nn,h=gr,g=In,p=n._updating;Nn=c,gr=!1,n._updating=!0,In=n;const m=n._headless||n.getRootElement()===null;jy(null);try{u&&(m?l._selection!==null&&(c._selection=l._selection.clone()):c._selection=(function(C,x){const N=C.getEditorState()._selection,T=$r(qr(C));return H(N)||N==null?Oh(N,T,C,x):N.clone()})(n,e&&e.event||null));const w=n._compositionKey;t(),o=W0(n,o),(function(C,x){const N=x.getEditorState()._selection,T=C._selection;if(H(T)){const k=T.anchor,_=T.focus;let M;if(k.type==="text"&&(M=k.getNode(),M.selectionTransform(N,T)),_.type==="text"){const I=_.getNode();M!==I&&I.selectionTransform(N,T)}}})(c,n),n._dirtyType!==0&&(o?(function(C,x){const N=x._dirtyLeaves,T=C._nodeMap;for(const k of N){const _=T.get(k);ae(_)&&_.isAttached()&&_.isSimpleText()&&!_.isUnmergeable()&&b0(_)}})(c,n):(function(C,x){const N=x._dirtyLeaves,T=x._dirtyElements,k=C._nodeMap,_=rs(),M=new Map;let I=N,R=I.size,B=T,U=B.size;for(;R>0||U>0;){if(R>0){x._dirtyLeaves=new Set;for(const j of I){const K=k.get(j);ae(K)&&K.isAttached()&&K.isSimpleText()&&!K.isUnmergeable()&&b0(K),K!==void 0&&U0(K,_)&&z0(x,K,M),N.add(j)}if(I=x._dirtyLeaves,R=I.size,R>0){xf++;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],ee=j[1];if(T.set(K,ee),!ee)continue;const ue=k.get(K);ue!==void 0&&U0(ue,_)&&z0(x,ue,M)}I=x._dirtyLeaves,R=I.size,B=x._dirtyElements,U=B.size,xf++}x._dirtyLeaves=N,x._dirtyElements=T})(c,n),W0(n),(function(C,x,N,T){const k=C._nodeMap,_=x._nodeMap,M=[];for(const[I]of T){const R=_.get(I);R!==void 0&&(R.isAttached()||(Y(R)&&Yk(R,I,k,_,M,T),k.has(I)||T.delete(I),M.push(I)))}for(const I of M)_.delete(I);for(const I of N){const R=_.get(I);R===void 0||R.isAttached()||(k.has(I)||N.delete(I),_.delete(I))}})(l,c,n._dirtyLeaves,n._dirtyElements)),w!==n._compositionKey&&(c._flushSync=!0);const v=c._selection;if(H(v)){const C=c._nodeMap,x=v.anchor.key,N=v.focus.key;C.get(x)!==void 0&&C.get(N)!==void 0||be(19)}else Jt(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 go(n)}finally{Nn=d,gr=h,In=g,n._updating=p,xf=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,go(n)):u&&lj(()=>{go(n)}):(c._flushSync=!1,u&&(r.clear(),n._deferred=[],n._pendingEditorState=null))}function Er(n,t,e){In===n&&e===void 0?t():Rh(n,t,e)}class Gc{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 Gc(this.element,t,this.after)}withAfter(t){return new Gc(this.element,this.before,t)}withElement(t){return this.element===t?this:new Gc(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"&&(ou||Ra||iu);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=H0(e,r);o.push(i);const s=H0(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 H0(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 ui{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 kF[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),Y(r)){const i=r.getAllTextNodes();e.push(...i)}r=r.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;Y(e);){const r=e.getFirstChild();if(r===null)break;e=r}return e}getLastDescendant(){let e=this.getLastChild();for(;Y(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 Y(s)&&s.getLastDescendant()||s||null}const o=r[e];return Y(o)&&o.getFirstDescendant()||o||null}getFirstChild(){const e=this.getLatest().__first;return e===null?null:Se(e)}getFirstChildOrThrow(){const e=this.getFirstChild();return e===null&&be(45,this.__key),e}getLastChild(){const e=this.getLatest().__last;return e===null?null:Se(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(),Y(s)&&o!==i-1&&!s.isInline()&&(e+=hs)}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(),Y(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=d0[e];return(this.getFormat()&r)!==0}return!1}hasTextFormat(e){const r=ko[e];return(this.getTextFormat()&r)!==0}getFormatFlags(e,r){return Hf(this.getLatest().__textFormat,e,r)}getTextStyle(){return this.getLatest().__textStyle}select(e,r){_n();const i=G();let o=e,s=r;const l=this.getChildrenSize();if(!this.canBeEmpty()){if(e===0&&r===0){const u=this.getFirstChild();if(ae(u)||Y(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)||Y(u))return u.select()}}o===void 0&&(o=l),s===void 0&&(s=l);const c=this.__key;return H(i)?(i.anchor.set(c,o,"element"),i.focus.set(c,s,"element"),i.dirty=!0,i):wT(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!==""?d0[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){Uf(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 b=0;b<r;b++){m===null&&be(100);const w=m.getNextSibling(),v=m.__key;Co(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 b=m.getWritable();b.__parent===l&&g--,Co(b);const w=m.__key;if(p===null)s.__first=w,b.__prev=null;else{const v=p.getWritable();v.__next=w,b.__prev=v.__key}m.__key===l&&be(76),b.__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 b=p.getWritable();m.__prev=p.__key,b.__next=d.__key}else m.__prev=null}if(s.__size=g,u.length){const m=G();if(H(m)){const b=new Set(u),w=new Set(c),{anchor:v,focus:C}=m;Y0(v,b,w)&&Wf(v,v.getNode(),this,h,d),Y0(C,b,w)&&Wf(C,C.getNode(),this,h,d),g!==0||this.canBeEmpty()||Qn(this)||this.remove()}}return s}getDOMSlot(e){return new Gc(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 Y(n){return n instanceof At}function Y0(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 Zi extends ui{decorate(t,e){return null}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function ot(n){return n instanceof Zi}class Ll extends At{constructor(){super("root");F(this,"__cachedText");this.__cachedText=null}static getType(){return"root"}static clone(){return new Ll}getTopLevelElementOrThrow(){be(51)}getTextContent(){const e=this.__cachedText;return!Dl()&&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)Y(o)||ot(o)||be(282);return super.splice(e,r,i)}static importJSON(e){return Re().updateFromJSON(e)}collapseAtStart(){return!0}}function Wt(n){return n instanceof Ll}function ET(n){return new Lu(new Map(n._nodeMap))}function By(){return new Lu(new Map([["root",new Ll]]))}function kT(n){const t=n.exportJSON(),e=n.constructor;if(t.type!==e.getType()&&be(130,e.name),Y(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=kT(i[o]);r.push(s)}}return t}function ij(n){return n instanceof Lu}class Lu{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 K0(e&&e.editor||null,this,t)}clone(t){const e=new Lu(this._nodeMap,t===void 0?this._selection:t);return e._readOnly=!0,e}toJSON(){return K0(null,this,()=>({root:kT(Re())}))}}class Fy extends At{static getType(){return"artificial"}createDOM(t){return document.createElement("div")}}class jo extends At{static getType(){return"paragraph"}static clone(t){return new jo(t.__key)}createDOM(t){const e=document.createElement("p"),r=_a(t.theme,"paragraph");return r!==void 0&&e.classList.add(...r),e}updateDOM(t,e,r){return!1}static importDOM(){return{p:t=>({conversion:oj,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 _e().updateFromJSON(t)}exportJSON(){return{...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle()}}insertNewAfter(t,e){const r=_e();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 oj(n){const t=_e();return n.style&&(t.setFormat(n.style.textAlign),Vy(n,t)),{node:t}}function _e(){return Dt(new jo)}function gn(n){return n instanceof jo}const Ke=0,Ne=1,zi=2,po=3,An=4;function TT(n,t,e,r){const i=n._keyToDOMMap;i.clear(),n._editorState=By(),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 _T(n){const t=new Set,e=new Set;let r=n;for(;r;){const{ownNodeConfig:i}=zh(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 ui&&s!==ui?s:void 0}}return t}function Ou(n){const t=n||{},e=nj(),r=t.theme||{},i=n===void 0?e:t.parentEditor||null,o=t.disableEvents||!1,s=By(),l=t.namespace||(i!==null?i._config.namespace:BT()),c=t.editorState,u=[Ll,Mn,$a,ec,jo,Fy,...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 b=0;b<u.length;b++){let w=u[b],v=null,C=null;if(typeof w!="function"){const T=w;w=T.replace,v=T.with,C=T.withKlass||null}zh(w);const x=w.getType(),N=_T(w);p.set(x,{exportDOM:h&&h.export?h.export.get(w):void 0,klass:w,replace:v,replaceWithKlass:C,sharedNodeState:Xk(u[b]),transforms:N})}}const m=new dl(s,i,p,{disableEvents:o,namespace:l,theme:r},d||console.error,(function(b,w){const v=new Map,C=new Set,x=N=>{Object.keys(N).forEach(T=>{let k=v.get(T);k===void 0&&(k=[],v.set(T,k)),k.push(N[T])})};return b.forEach(N=>{const T=N.klass.importDOM;if(T==null||C.has(T))return;C.add(T);const k=T.call(N.klass);k!==null&&x(k)}),w&&x(w),v})(p,h?h.import:void 0),g,n);return c!==void 0&&(m._pendingEditorState=c,m._dirtyType=2),m}class dl{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=BT(),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=hA(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=hA(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=Se(h);g&&g.markDirty()}},s._pendingEditorState===null?{tag:Zr}: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 Me(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=_a(this._config.theme,"root"),i=this._pendingEditorState||this._editorState;if(this._rootElement=t,TT(this,e,t,i),e!==null&&(this._config.disableEvents||zF(e),r!=null&&e.classList.remove(...r)),t!==null){const o=Zy(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,Jk(this),this._updateTags.add(Zr),go(this),this._config.disableEvents||(function(l,c){const u=l.ownerDocument;eA.set(l,u);const d=zf.get(u)??0;d<1&&u.addEventListener("selectionchange",hT),zf.set(u,d+1),l.__lexicalEditor=c;const h=fT(l);for(let g=0;g<$m.length;g++){const[p,m]=$m[g],b=typeof m=="function"?w=>{E0(w)||(S0(w),(c.isEditable()||p==="click")&&m(w,c))}:w=>{if(E0(w))return;S0(w);const v=c.isEditable();switch(p){case"cut":return v&&Me(c,Iu,w);case"copy":return Me(c,Nl,w);case"paste":return v&&Me(c,kl,w);case"dragstart":return v&&Me(c,Dy,w);case"dragover":return v&&Me(c,Ly,w);case"dragend":return v&&Me(c,jF,w);case"focus":return v&&Me(c,_s,w);case"blur":return v&&Me(c,Mh,w);case"drop":return v&&Me(c,My,w)}};l.addEventListener(p,b),h.push(()=>{l.removeEventListener(p,b)})}})(t,this),r!=null&&t.classList.add(...r)}else this._window=null,this._updateTags.add(Zr),go(this);Zc("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=ET(t),r._selection=t._selection?t._selection.clone():null),Gk(this);const i=this._pendingEditorState,o=this._updateTags,s=e!==void 0?e.tag:null;i===null||i.isEmpty()||(s!=null&&o.add(s),go(this)),this._pendingEditorState=r,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,s!=null&&o.add(s),this._updating||go(this)}parseEditorState(t,e){return(function(r,i,o){const s=By(),l=Nn,c=gr,u=In,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,Nn=s,gr=!1,In=i,jy(null);try{const m=i._nodes;Py(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,Nn=l,gr=c,In=u}return s})(typeof t=="string"?JSON.parse(t):t,this,e)}read(t){return go(this),this.getEditorState().read(t,{editor:this})}update(t,e){(function(r,i,o){r._updating?r._updates.push([i,o]):Rh(r,i,o)})(this,t,e)}focus(t,e={}){const r=this._rootElement;r!==null&&(r.setAttribute("autocapitalize","off"),Er(this,()=>{const i=G(),o=Re();i!==null?i.dirty||Qe(i.clone()):o.getChildrenSize()!==0&&(e.defaultSelection==="rootStart"?o.selectStart():o.selectEnd()),WT("focus"),uj(()=>{r.removeAttribute("autocapitalize"),t&&t()})}),this._pendingEditorState===null&&r.removeAttribute("autocapitalize"))}blur(){const t=this._rootElement;t!==null&&t.blur();const e=$r(this._window);e!==null&&e.removeAllRanges()}isEditable(){return this._editable}setEditable(t){this._editable!==t&&(this._editable=t,Zc("editable",this,!0,t))}toJSON(){return{editorState:this._editorState.toJSON()}}}F(dl,"version");dl.version="0.38.2+prod.esm";let sA=null;function jy(n){sA=n}let sj=1;function NT(n,t){const e=Ph(n,t);return e===void 0&&be(30,t),e}function Ph(n,t){return n._nodes.get(t)}const lj=typeof queueMicrotask=="function"?queueMicrotask:n=>{Promise.resolve().then(n)};function Z0(n){return ot(Be(n))}function zy(n){const t=document.activeElement;if(!Et(t))return!1;const e=t.nodeName;return ot(Be(n))&&(e==="INPUT"||e==="TEXTAREA"||t.contentEditable==="true"&&Bh(t)==null)}function Ru(n,t,e){const r=n.getRootElement();try{return r!==null&&r.contains(t)&&r.contains(e)&&t!==null&&!zy(t)&&Pu(t)===n}catch{return!1}}function Uy(n){return n instanceof dl}function Pu(n){let t=n;for(;t!=null;){const e=Bh(t);if(Uy(e))return e;t=Bu(t)}return null}function Bh(n){return n?n.__lexicalEditor:null}function aj(n){return xF.test(n)?"rtl":SF.test(n)?"ltr":null}function $s(n){return jn(n)||n.isToken()}function Si(n){return $s(n)||n.isSegmented()}function zo(n){return Ol(n)&&n.nodeType===3}function IT(n){return Ol(n)&&n.nodeType===9}function Ba(n){let t=n;for(;t!=null;){if(zo(t))return t;t=t.firstChild}return null}function Hf(n,t,e){const r=ko[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 MT(n){return ae(n)||Mt(n)||ot(n)}function DT(n,t){const e=(function(){const s=sA;return sA=null,s})();if((t=t||e&&e.__key)!=null)return void(n.__key=t);_n(),vT();const r=Qt(),i=Fo(),o=""+sj++;i._nodeMap.set(o,n),Y(n)?r._dirtyElements.set(o,!0):r._dirtyLeaves.add(o),r._cloneNotNeeded.add(o),r._dirtyType=1,n.__key=o}function Co(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 Yf(n){vT(),Uf(n)&&be(323,n.__key,n.__type);const t=n.getLatest(),e=t.__parent,r=Fo(),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,Y(n)?s.set(l,!0):i._dirtyLeaves.add(l)}function Fn(n){_n();const t=Qt(),e=t._compositionKey;if(n!==e){if(t._compositionKey=n,e!==null){const r=Se(e);r!==null&&r.getWritable()}if(n!==null){const r=Se(n);r!==null&&r.getWritable()}}}function rs(){return Dl()?null:Qt()._compositionKey}function Se(n,t){const e=(t||Fo())._nodeMap.get(n);return e===void 0?null:e}function LT(n,t){const e=Fh(n,Qt());return e!==void 0?Se(e,t):null}function Fh(n,t){return n[`__lexicalKey_${t._key}`]}function Be(n,t){let e=n;for(;e!=null;){const r=LT(e,t);if(r!==null)return r;e=Bu(e)}return null}function OT(n){const t=n._decorators,e=Object.assign({},t);return n._pendingDecorators=e,e}function G0(n){return n.read(()=>Re().getTextContent())}function Re(){return RT(Fo())}function RT(n){return n._nodeMap.get("root")}function Qe(n){_n();const t=Fo();n!==null&&(n.dirty=!0,n.setCachedNodes(null)),t._selection=n}function ba(n){const t=Qt(),e=(function(r,i){let o=r;for(;o!=null;){const s=Fh(o,i);if(s!==void 0)return s;o=Bu(o)}return null})(n,t);return e===null?n===t.getRootElement()?Se("root"):null:Se(e)}function PT(n){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(n)}function Ky(n){const t=[];let e=n;for(;e!==null;)t.push(e),e=e._parentEditor;return t}function BT(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,5)}function FT(n){return zo(n)?n.nodeValue:null}function Wy(n,t,e){const r=$r(qr(t));if(r===null)return;const i=r.anchorNode;let{anchorOffset:o,focusOffset:s}=r;if(i!==null){let l=FT(i);const c=Be(i);if(l!==null&&ae(c)){if(l===Sh&&e){const u=e.length;l=e,o=u,s=u}l!==null&&Hy(c,l,o,s,n)}}}function Hy(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]===Sh&&(l=t.slice(0,-1));const c=o.getTextContent();if(i||l!==c){if(l===""){if(Fn(null),iu||Ra||ou)o.remove();else{const b=Qt();setTimeout(()=>{b.update(()=>{o.isAttached()&&o.remove()})},20)}return}const u=o.getParent(),d=Bo(),h=o.getTextContentSize(),g=rs(),p=o.getKey();if(o.isToken()||g!==null&&p===g&&!s||H(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=G();if(!H(m)||e===null||r===null)return void J0(o,l,m);if(m.setTextNodeRange(o,e,o,r),o.isSegmented()){const b=yt(o.getTextContent());o.replace(b),o=b}J0(o,l,m)}}}function J0(n,t,e){if(n.setTextContent(t),H(e)){const r=n.getKey();for(const i of["anchor","focus"]){const o=e[i];o.type==="text"&&o.key===r&&(o.offset=Ri(n,o.offset,"clamp"))}}}function Jd(n,t,e){const r=t[e]||!1;return r==="any"||r===n[e]}function cj(n,t){return Jd(n,t,"altKey")&&Jd(n,t,"ctrlKey")&&Jd(n,t,"shiftKey")&&Jd(n,t,"metaKey")}function Nt(n,t,e){return cj(n,e)&&n.key.toLowerCase()===t.toLowerCase()}const uo={ctrlKey:!si,metaKey:si},V0={altKey:si,ctrlKey:!si};function Q0(n){return n.key==="Backspace"}function X0(n){return Nt(n,"a",uo)}function jT(n){const t=Re();if(H(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"),gs(n),n}{const e=t.select(0,t.getChildrenSize());return Qe(gs(e)),e}}function _a(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=Uk(i);return e[t]=o,o}return i}function Yy(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 zT(n){const t=n.getType(),e=Fo();if(e._readOnly){const o=hA(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 q0(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 lA(n,t){const e=n.offset;if(n.type==="element")return q0(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?q0(r.getParentOrThrow(),t,r.getIndexWithinParent()+(t?0:1)):i}}return null}function UT(n){const t=qr(n).event,e=t&&t.inputType;return e==="insertFromPaste"||e==="insertFromPasteAsQuotation"}function Me(n,t,e){return(function(r,i,o){const s=Ky(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(Er(u,()=>{for(let b=0;b<p;b++)if(g[b](o,r))return void(m=!0)}),m)return m}}}return!1})(n,t,e)}function jh(n){return!Wt(n)&&!n.isLastChild()&&!n.isInline()}function fl(n,t){const e=n._keyToDOMMap.get(t);return e===void 0&&be(75,t),e}function Bu(n){const t=n.assignedSlot||n.parentElement;return dA(t)?t.host:t}function KT(n){return IT(n)?n:Et(n)?n.ownerDocument:null}function WT(n){_n(),Qt()._updateTags.add(n)}function uj(n){_n(),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 Zy(n){const t=KT(n);return t?t.defaultView:null}function qr(n){const t=n._window;return t===null&&be(78),t}function dj(n){return Y(n)&&n.isInline()||ot(n)&&n.isInline()}function fj(n){let t=n.getParentOrThrow();for(;t!==null;){if(Qn(t))return t;t=t.getParentOrThrow()}return t}function Qn(n){return Wt(n)||Y(n)&&n.isShadowRoot()}function cA(n){const t=n.constructor.clone(n);return DT(t,null),t.afterCloneFrom(n),t}function Dt(n){const t=Qt(),e=n.getType(),r=Ph(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 Vp(n,t){!Wt(n.getParent())||Y(t)||ot(t)||be(99)}function ha(n){const t=Se(n);return t===null&&be(63,n),t}function Qp(n){return(ot(n)||Y(n)&&!n.canBeEmpty())&&!n.isInline()}function uA(n,t,e){e.style.removeProperty("caret-color"),t._blockCursorElement=null;const r=n.parentElement;r!==null&&r.removeChild(n)}function $r(n){return Ai?(n||window).getSelection():null}function hj(n){const t=Zy(n);return t?t.getSelection():null}function Gy(n){return Et(n)&&n.tagName==="A"}function Et(n){return Ol(n)&&n.nodeType===1}function Ol(n){return typeof n=="object"&&n!==null&&"nodeType"in n&&typeof n.nodeType=="number"}function dA(n){return Ol(n)&&n.nodeType===11}function fA(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 Zf(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 Ur(n){if(ot(n)&&!n.isInline())return!0;if(!Y(n)||Qn(n))return!1;const t=n.getFirstChild(),e=t===null||Mt(t)||ae(t)||t.isInline();return!n.isInline()&&n.canBeEmpty()!==!1&&e}function Rl(){return Qt()}const $0=new WeakMap,gj=new Map;function hA(n){if(!n._readOnly&&n.isEmpty())return gj;n._readOnly||be(192);let t=$0.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),$0.set(n,t)),t}function Jy(n){const t=n.constructor.clone(n);return t.afterCloneFrom(n),t}function pj(n){return(t=Jy(n))[gT]=!0,t;var t}function Vy(n,t){const e=parseInt(n.style.paddingInlineStart,10)||0,r=Math.round(e/40);t.setIndent(r)}function HT(n){n.__lexicalUnmanaged=!0}function mj(n){return n.__lexicalUnmanaged===!0}function Nc(n,t){return(function(e,r){return Object.prototype.hasOwnProperty.call(e,r)})(n,t)&&n[t]!==ui[t]}function zh(n){const t=f0 in n.prototype?n.prototype[f0]():void 0,e=(function(s){if(!(s===ui||s.prototype instanceof ui)){let l="<unknown>",c="<unknown>";try{l=s.getType()}catch{}try{dl.version&&(c=JSON.parse(dl.version))}catch{}be(290,s.name,l,c)}return s===Zi||s===At||s===ui})(n),r=!e&&Nc(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&&(Nc(n,"getType")||(n.getType=()=>o),Nc(n,"clone")||(n.clone=s=>(jy(s),new n)),Nc(n,"importJSON")||(n.importJSON=i&&i.$importJSON||(s=>new n().updateFromJSON(s))),!Nc(n,"importDOM")&&i)){const{importDOM:s}=i;s&&(n.importDOM=()=>s)}return{ownNodeConfig:i,ownNodeType:o}}function YT(n){const t=Rl();return _n(),new(t.resolveRegisteredNodeAfterReplacements(t.getRegisteredNode(n))).klass}const Te=(n,t)=>{let e=n;for(;e!=null&&!Wt(e);){if(t(e))return e;e=e.getParent()}return null},Aj={next:"previous",previous:"next"};class Qy{constructor(t){F(this,"origin");this.origin=t}[Symbol.iterator](){return eb({hasNext:pl,initial:this.getAdjacentCaret(),map:t=>t,step:t=>t.getAdjacentCaret()})}getAdjacentCaret(){return en(this.getNodeAtCaret(),this.direction)}getSiblingCaret(){return en(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=en(c,this.direction)}for(const c of l.values())c.remove();return this}}class au extends Qy{constructor(){super(...arguments);F(this,"type","child")}getLatest(){const e=this.origin.getLatest();return e===this.origin?this:ei(e,this.direction)}getParentCaret(e="root"){return en(Xy(this.getParentAtCaret(),e),this.direction)}getFlipped(){const e=Pl(this.direction);return en(this.getNodeAtCaret(),e)||ei(this.origin,e)}getParentAtCaret(){return this.origin}getChildCaret(){return this}isSameNodeCaret(e){return e instanceof au&&this.direction===e.direction&&this.origin.is(e.origin)}isSamePointCaret(e){return this.isSameNodeCaret(e)}}const yj={root:Wt,shadowRoot:Qn};function Pl(n){return Aj[n]}function Xy(n,t="root"){return yj[t](n)?null:n}class hl extends Qy{constructor(){super(...arguments);F(this,"type","sibling")}getLatest(){const e=this.origin.getLatest();return e===this.origin?this:en(e,this.direction)}getSiblingCaret(){return this}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return Y(this.origin)?ei(this.origin,this.direction):null}getParentCaret(e="root"){return en(Xy(this.getParentAtCaret(),e),this.direction)}getFlipped(){const e=Pl(this.direction);return en(this.getNodeAtCaret(),e)||ei(this.origin.getParentOrThrow(),e)}isSamePointCaret(e){return e instanceof hl&&this.direction===e.direction&&this.origin.is(e.origin)}isSameNodeCaret(e){return(e instanceof hl||e instanceof gl)&&this.direction===e.direction&&this.origin.is(e.origin)}}class gl extends Qy{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:ms(e,this.direction,this.offset)}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return null}getParentCaret(e="root"){return en(Xy(this.getParentAtCaret(),e),this.direction)}getFlipped(){return ms(this.origin,Pl(this.direction),this.offset)}isSamePointCaret(e){return e instanceof gl&&this.direction===e.direction&&this.origin.is(e.origin)&&this.offset===e.offset}isSameNodeCaret(e){return(e instanceof hl||e instanceof gl)&&this.direction===e.direction&&this.origin.is(e.origin)}getSiblingCaret(){return en(this.origin,this.direction)}}function Oi(n){return n instanceof gl}function pl(n){return n instanceof hl}function Vr(n){return n instanceof au}const bj={next:class extends gl{constructor(){super(...arguments);F(this,"direction","next")}getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends gl{constructor(){super(...arguments);F(this,"direction","previous")}getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},wj={next:class extends hl{constructor(){super(...arguments);F(this,"direction","next")}getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends hl{constructor(){super(...arguments);F(this,"direction","previous")}getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},Cj={next:class extends au{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 au{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 en(n,t){return n?new wj[t](n):null}function ms(n,t,e){return n?new bj[t](n,Ri(n,e)):null}function Ri(n,t,e="error"){const r=n.getTextContentSize();let i=t==="next"?r:t==="previous"?0:t;return(i<0||i>r)&&(e!=="clamp"&&jk(284,String(t),String(r),n.getKey()),i=i<0?0:r),i}function ex(n,t){return new vj(n,t)}function ei(n,t){return Y(n)?new Cj[t](n):null}function ZT(n){return n&&n.getChildCaret()||n}function Fa(n){return n&&ZT(n.getAdjacentCaret())}class qy{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 qy(t,e,this.direction)}isCollapsed(){return this.anchor.isSamePointCaret(this.focus)}getTextSlices(){const t=i=>{const o=this[i].getLatest();return Oi(o)?(function(s,l){const{direction:c,origin:u}=s,d=Ri(u,l==="focus"?Pl(c):c);return ex(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[ex(i,o.offset-i.offset),null]}return[e,r]}iterNodeCarets(t="root"){const e=Oi(this.anchor)?this.anchor.getSiblingCaret():this.anchor.getLatest(),r=this.focus.getLatest(),i=Oi(r),o=s=>s.isSameNodeCaret(r)?null:Fa(s)||s.getParentCaret(t);return eb({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 vj{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 ms(t.setTextContent(o.slice(0,r)+o.slice(i)),e,r)}}function $y(n){return _o(n,en(Re(),n.direction))}function GT(n){return _o(n,n)}function _o(n,t){return n.direction!==t.direction&&be(265),new qy(n,t,n.direction)}function eb(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 JT(n,t){const e=Sf(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 VT(e)}}function VT(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 Vd(n,t){return t.is(n)}function tx(n){return Y(n)?[n.getLatest(),null]:[n.getParent(),n.getLatest()]}function Sf(n,t){if(n.is(t))return{commonAncestor:n,type:"same"};const e=new Map;for(let[r,i]=tx(n);r;i=r,r=r.getParent())e.set(r,i);for(let[r,i]=tx(t);r;i=r,r=r.getParent()){const o=e.get(r);if(o!==void 0)return o===null?(Vd(n,r)||be(276),{commonAncestor:r,type:"ancestor"}):i===null?(Vd(t,r)||be(277),{commonAncestor:r,type:"descendant"}):((Y(o)||Vd(n,o))&&(Y(i)||Vd(t,i))&&r.is(o.getParent())&&r.is(i.getParent())||be(278),{a:o,b:i,commonAncestor:r,type:"branch"})}return null}function Ui(n,t){const{type:e,key:r,offset:i}=n,o=ha(n.key);return e==="text"?(ae(o)||be(266,o.getType(),r),ms(o,t,i)):(Y(o)||be(267,o.getType(),r),Sj(o,n.offset,t))}function cu(n,t){const{origin:e,direction:r}=t,i=r==="next";Oi(t)?n.set(e.getKey(),t.offset,"text"):pl(t)?ae(e)?n.set(e.getKey(),Ri(e,r),"text"):n.set(e.getParentOrThrow().getKey(),e.getIndexWithinParent()+(i?1:0),"element"):(Vr(t)&&Y(e)||be(268),n.set(e.getKey(),i?0:e.getChildrenSize(),"element"))}function tb(n){const t=G(),e=H(t)?t:Ml();return Ef(e,n),Qe(e),e}function Ef(n,t){cu(n.anchor,t.anchor),cu(n.focus,t.focus)}function gA(n){const{anchor:t,focus:e}=n,r=Ui(t,"next"),i=Ui(e,"next"),o=JT(r,i)<=0?"next":"previous";return _o(No(r,o),No(i,o))}function Fu(n){const{direction:t,origin:e}=n,r=en(e,Pl(t)).getNodeAtCaret();return r?en(r,t):ei(e.getParentOrThrow(),t)}function nx(n,t="root"){const e=[n];for(let r=Vr(n)?n.getParentCaret(t):n.getSiblingCaret();r!==null;r=r.getParentCaret(t))e.push(Fu(r));return e}function Xp(n){return!!n&&n.origin.isAttached()}function xj(n,t="removeEmptySlices"){if(n.isCollapsed())return n;const e="root",r="next";let i=t;const o=nb(n,r),s=nx(o.anchor,e),l=nx(o.focus.getFlipped(),e),c=new Set,u=[];for(const m of o.iterNodeCarets(e))if(Vr(m))c.add(m.origin.getKey());else if(pl(m)){const{origin:b}=m;Y(b)&&!c.has(b.getKey())||u.push(b)}for(const m of u)m.remove();for(const m of o.getTextSlices()){if(!m)continue;const{origin:b}=m.caret,w=b.getTextContentSize(),v=Fu(en(b,r)),C=b.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 N=m.caret.origin;if(C==="segmented"){const T=x.origin,k=yt(T.getTextContent()).setStyle(T.getStyle()).setFormat(T.getFormat());v.replaceOrInsert(k),x=ms(k,r,x.offset)}N.is(s[0].origin)&&(s[0]=x),N.is(l[0].origin)&&(l[0]=x.getFlipped())}}let d,h;for(const m of s)if(Xp(m)){d=Gr(m);break}for(const m of l)if(Xp(m)){h=Gr(m);break}const g=(function(m,b,w){if(!m||!b)return null;const v=m.getParentAtCaret(),C=b.getParentAtCaret();if(!v||!C)return null;const x=v.getParents().reverse();x.push(v);const N=C.getParents().reverse();N.push(C);const T=Math.min(x.length,N.length);let k;for(k=0;k<T&&x[k]===N[k];k++);const _=(R,B)=>{let U;for(let j=k;j<R.length;j++){const K=R[j];if(Qn(K))return;!U&&B(K)&&(U=K)}return U},M=_(x,Ur),I=M&&_(N,R=>w.has(R.getKey())&&Ur(R));return M&&I?[M,I]:null})(d,h,c);if(g){const[m,b]=g;ei(m,"previous").splice(0,b.getChildren()),b.remove()}const p=[d,h,...s,...l].find(Xp);if(p)return GT(No(Gr(p),n.direction));be(269,JSON.stringify(s.map(m=>m.origin.__key)))}function Gr(n){const t=(function(i){let o=i;for(;Vr(o);){const s=Fa(o);if(!Vr(s))break;o=s}return o})(n.getLatest()),{direction:e}=t;if(ae(t.origin))return Oi(t)?t:ms(t.origin,e,e);const r=t.getAdjacentCaret();return pl(r)&&ae(r.origin)?ms(r.origin,e,Pl(e)):t}function QT(n){return Oi(n)&&n.offset!==Ri(n.origin,n.direction)}function No(n,t){return n.direction===t?n:n.getFlipped()}function nb(n,t){return n.direction===t?n:_o(No(n.focus,t),No(n.anchor,t))}function Sj(n,t,e){let r=ei(n,"next");for(let i=0;i<t;i++){const o=r.getAdjacentCaret();if(o===null)break;r=o}return No(r,e)}function Ej(n,t="root"){let e=0,r=n,i=Fa(r);for(;i===null;){if(e--,i=r.getParentCaret(t),!i)return null;r=i,i=Fa(r)}return i&&[i,e]}function kj(n){const{origin:t,offset:e,direction:r}=n;if(e===Ri(t,r))return n.getSiblingCaret();if(e===Ri(t,Pl(r)))return Fu(n.getSiblingCaret());const[i]=t.splitText(e);return ae(i)||be(281),No(en(i,"next"),r)}function Tj(n,t){return!0}function _j(n,{$copyElementNode:t=cA,$splitTextPointCaretNext:e=kj,rootMode:r="shadowRoot",$shouldSplit:i=Tj}={}){if(Oi(n))return e(n);const o=n.getParentCaret(r);if(o){const{origin:s}=o;if(Vr(n)&&(!s.canBeEmpty()||!i(s,"first")))return Fu(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 Nj(...n){return n}function Ij(n,t){if(!t||n===t)return n;for(const e in t)if(n[e]!==t[e])return{...n,...t};return n}function XT(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 Gf=new Map;function rx(n){let t=n;for(;t!=null;){if(t.nodeType===Node.TEXT_NODE)return t;t=t.firstChild}return null}function ix(n){const t=n.parentNode;if(t==null)throw new Error("Should never happen");return[t,Array.from(t.childNodes).indexOf(n)]}function qT(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=rx(c)),ae(r)&&(u=rx(u)),t===void 0||r===void 0||c===null||u===null)return null;c.nodeName==="BR"&&([c,d]=ix(c)),u.nodeName==="BR"&&([u,h]=ix(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 $T(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 e1(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 uu(n){let t=Gf.get(n);return t===void 0&&(t=e1(n),Gf.set(n,t)),t}function Mj(n){let t="";for(const e in n)e&&(t+=`${e}: ${n[e]};`);return t}function t1(n){const t=Rl().getElementByKey(n.getKey());if(t===null)return null;const e=t.ownerDocument.defaultView;return e===null?null:e.getComputedStyle(t)}function n1(n){return t1(Wt(n)?n:n.getParentOrThrow())}function ox(n){const t=n1(n);return t!==null&&t.direction==="rtl"}function r1(n,t,e="self"){const r=n.getStartEndPoints();if(t.isSelected(n)&&!Si(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]=iA(n),p=l.is(c),m=t.is(s?c:l),b=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):b&&(v=0,w=s?h:g);const C=t.__text.slice(v,w);C!==t.__text&&(e==="clone"&&(t=pj(t)),t.__text=C)}}return t}function sx(n){if(n.type==="text")return n.offset===n.getNode().getTextContentSize();const t=n.getNode();return Y(t)||XT(177),n.offset===t.getChildrenSize()}function Dj(n,t,e){let r=t.getNode(),i=e;if(Y(r)){const o=r.getDescendantByIndex(t.offset);o!==null&&(r=o)}for(;i>0&&r!==null;){if(Y(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===""&&Y(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||Wt(u)||u.remove(),i-=c+s,r=o}else{const u=r.getKey(),d=n.getEditorState().read(()=>{const p=Se(u);return ae(p)&&p.isSimpleText()?p.getTextContent():null}),h=c-i,g=l.slice(0,h);if(d!==null&&d!==l){const p=Bo();let m=r;if(r.isSimpleText())r.setTextContent(d);else{const b=yt(d);r.replace(b),m=b}if(H(p)&&p.isCollapsed()){const b=p.anchor.offset;m.select(b,b)}}else if(r.isSimpleText()){const p=t.key===u;let m=t.offset;m<i&&(m=c);const b=p?m-i:0,w=p?m:h;if(p&&b===0){const[v]=r.splitText(b,w);v.remove()}else{const[,v]=r.splitText(b,w);v.remove()}}else{const p=yt(g);r.replace(p)}i=0}}}function Lj(n){const t=n.getStyle(),e=e1(t);Gf.set(t,e)}function qp(n,t){(H(n)?n.isCollapsed():ae(n)||Y(n))||XT(280);const e=uu(H(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=Mj(r);H(n)||ae(n)?n.setStyle(i):n.setTextStyle(i),Gf.set(i,r)}function lx(n,t){if(H(n)&&n.isCollapsed()){qp(n,t);const e=n.anchor.getNode();Y(e)&&e.isEmpty()&&qp(e,t)}Oj(e=>{qp(e,t)})}function Oj(n){const t=G();if(!t)return;const e=new Map,r=o=>e.get(o.getKey())||[0,o.getTextContentSize()];if(H(t))for(const o of gA(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&&(Si(o)||s===0&&l===o.getTextContentSize()?n(o):n(o.splitText(s,l)[s===0?0:1]))}H(t)&&t.anchor.type==="text"&&t.focus.type==="text"&&t.anchor.key===t.focus.key&&Rj(t)}function Rj(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 Pj(n,t){const e=n.getFormatType(),r=n.getIndent();e!==t.getFormatType()&&t.setFormat(e),r!==t.getIndent()&&t.setIndent(r)}function Qd(n,t,e=Pj){if(n===null)return;const r=n.getStartEndPoints(),i=new Map;let o=null;if(r){const[s,l]=r;o=Ml(),o.anchor.set(s.key,s.offset,s.type),o.focus.set(l.key,l.offset,l.type);const c=Te(s.getNode(),Ur),u=Te(l.getNode(),Ur);Y(c)&&i.set(c.getKey(),c),Y(u)&&i.set(u.getKey(),u)}for(const s of n.getNodes())if(Y(s)&&Ur(s))i.set(s.getKey(),s);else if(r===null){const l=Te(s,Ur);Y(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(G())&&Qe(o)}function i1(n){const t=o1(n);return t!==null&&t.writingMode==="vertical-rl"}function o1(n){const t=n.anchor.getNode();return Y(t)?t1(t):n1(t)}function ax(n,t){let e=i1(n)?!t:t;s1(n)&&(e=!e);const r=Ui(n.focus,e?"previous":"next");if(QT(r))return!1;for(const i of $y(r)){if(Vr(i))return!i.origin.isInline();if(!Y(i.origin)){if(ot(i.origin))return!0;break}}return!1}function Bj(n,t,e,r){n.modify(t?"extend":"move",e,r)}function s1(n){const t=o1(n);return t!==null&&t.direction==="rtl"}function cx(n,t,e){const r=s1(n);let i;i=i1(n)||r?!e:e,Bj(n,t,i,"character")}function Fj(n,t,e){const r=uu(n.getStyle());return r!==null&&r[t]||e}function Jf(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(H(n)&&n.isCollapsed()&&n.style!==""){const d=uu(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=Fj(h,t,e);if(r===null)r=g;else if(r!==g){r="";break}}}return r===null?e:r}const jj=Dj;function l1(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 Uh=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,zj=Uh&&"documentMode"in document?document.documentMode:null,Uj=Uh&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);!(!Uh||!("InputEvent"in window)||zj)&&"getTargetRanges"in new window.InputEvent("input");function a1(...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 et(...n){return()=>{for(let t=n.length-1;t>=0;t--)n[t]();n.length=0}}const Kj=Uh,Wj=Uj;function ct(n,...t){const e=a1(...t);e.length>0&&n.classList.add(...e)}function kr(n,...t){const e=a1(...t);e.length>0&&n.classList.remove(...e)}function Hj(n){return n?n.getAdjacentCaret():null}function ux(n){const t=ZT(en(n,"previous")),e=Ej(t,"root");return e&&e[0].origin}function rb(n,t){let e=n;for(;e!=null;){if(e instanceof t)return e;e=e.getParent()}return null}function ju(n){const t=Te(n,e=>Y(e)&&!e.isInline());return Y(t)||l1(4,n.__key),t}function Yj(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 Zj(n,t){const e=new Map,r=n._pendingEditorState;for(const[o,s]of t._nodeMap)e.set(o,Jy(s));r&&(r._nodeMap=e),n._dirtyType=2;const i=t._selection;Qe(i===null?null:i.clone())}function c1(n){const t=G()||Bo();let e;if(H(t))e=Ui(t.focus,"next");else{if(t!=null){const s=t.getNodes(),l=s[s.length-1];l&&(e=en(l,"next"))}e=e||ei(Re(),"previous").getFlipped().insert(_e())}const r=Gj(n,e),i=Fa(r),o=Vr(i)?Gr(i):r;return tb(GT(o)),n.getLatest()}function Gj(n,t,e){let r=No(t,"next");for(let i=r;i;i=_j(i,e))r=i;return Oi(r)&&l1(283),r.insert(n.isInline()?_e().append(n):n),No(en(n.getLatest(),"next"),t.direction)}function yo(n,t){return n!==null&&Object.getPrototypeOf(n).constructor.name===t.name}function Jj(n,t){ei(n,"next").insert(t)}let $p=!(Wj||!Kj)&&void 0;function Vj(n){let t=1;if((function(){if($p===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"),$p=e.getBoundingClientRect().width===r.width,document.body.removeChild(e)}return $p})())for(;n;)t*=Number(window.getComputedStyle(n).getPropertyValue("zoom")),n=n.parentElement;return t}function u1(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(Y(i))for(const o of Qj(i))r.push(o);return e}function Qj(n){return Xj(ei(n,"previous"))}function Xj(n){return eb({hasNext:pl,initial:n.getAdjacentCaret(),map:t=>t.origin.getLatest(),step:t=>t.getAdjacentCaret()})}function Kh(n,t){const e=IT(t)?t.body.childNodes:t.childNodes;let r=[];const i=[];for(const o of e)if(!f1.has(o.nodeName)){const s=h1(o,n,i,!1);s!==null&&(r=r.concat(s))}return(function(o){for(const s of o)s.getNextSibling()instanceof Fy&&s.insertAfter(ir());for(const s of o){const l=s.getChildren();for(const c of l)s.insertBefore(c);s.remove()}})(i),r}function Vf(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++)d1(n,r[i],e,t);return e.innerHTML}function d1(n,t,e,r=null){let i=r===null||t.isSelected(r);const o=Y(t)&&t.excludeFromCopy("html");let s=t;r!==null&&ae(t)&&(s=r1(r,t,"clone"));const l=Y(s)?s.getChildren():[],c=Ph(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],b=d1(n,m,g,r);!i&&Y(t)&&b&&t.extractWithChild(m,r,"html")&&(i=!0)}if(i&&!o){if((Et(d)||dA(d))&&d.append(g),e.append(d),h){const p=h.call(s,d);p&&(dA(d)?d.replaceChildren(p):d.replaceWith(p))}}else e.append(g);return i}const f1=new Set(["STYLE","SCRIPT"]);function h1(n,t,e,r,i=new Map,o){let s=[];if(f1.has(n.nodeName))return s;let l=null;const c=(function(m,b){const{nodeName:w}=m,v=b._htmlConversions.get(w.toLowerCase());let C=null;if(v!==void 0)for(const x of v){const N=x(m);N!==null&&(C===null||(C.priority||0)<=(N.priority||0))&&(C=N)}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[,b]of i)if(l=b(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&&oA(l)||r);for(let m=0;m<h.length;m++)g.push(...h1(h[m],t,e,p,new Map(i),l));return d!=null&&(g=d(g)),Zf(n)&&(g=qj(n,g,p?()=>{const m=new Fy;return e.push(m),m}:_e)),l==null?g.length>0?s=s.concat(g):Zf(n)&&(function(m){return m.nextSibling==null||m.previousSibling==null?!1:fA(m.nextSibling)&&fA(m.previousSibling)})(n)&&(s=s.concat(ir())):Y(l)&&l.append(...g),s}function qj(n,t,e){const r=n.style.textAlign,i=[];let o=[];for(let s=0;s<t.length;s++){const l=t[s];if(oA(l))r&&!l.getFormat()&&l.setFormat(r),i.push(l);else if(o.push(l),s===t.length-1||s<t.length-1&&oA(t[s+1])){const c=e();c.setFormat(r),c.append(...o),i.push(c),o=[]}}return i}const dx=[["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)"]],fx=dx[Math.floor(Math.random()*dx.length)],g1=E.createContext(null);function $j(){return{color:fx[1],isCollabActive:!1,name:fx[0],yjsDocMap:new Map}}const ez=$j();function tz(n,t){let e=E.useContext(g1);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??ez,n!=null&&(e.name=n),t!=null&&(e.color=t),e}const ib=E.createContext(null);function p1(n,t){let e=null;return n!=null&&(e=n[1]),{getTheme:function(){return t??(e!=null?e.getTheme():null)}}}function De(){const n=E.useContext(ib);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 pr=()=>new Map,pA=n=>{const t=pr();return n.forEach((e,r)=>{t.set(r,e)}),t},Gi=(n,t,e)=>{let r=n.get(t);return r===void 0&&n.set(t,r=e()),r},nz=(n,t)=>{const e=[];for(const[r,i]of n)e.push(t(i,r));return e},rz=(n,t)=>{for(const[e,r]of n)if(t(r,e))return!0;return!1},As=()=>new Set,em=n=>n[n.length-1],iz=(n,t)=>{for(let e=0;e<t.length;e++)n.push(t[e])},Io=Array.from,oz=(n,t)=>{for(let e=0;e<n.length;e++)if(t(n[e],e,n))return!0;return!1},mA=Array.isArray;class m1{constructor(){this._observers=pr()}on(t,e){return Gi(this._observers,t,As).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 Io((this._observers.get(t)||pr()).values()).forEach(r=>r(...e))}destroy(){this._observers=pr()}}class A1{constructor(){this._observers=pr()}on(t,e){Gi(this._observers,t,As).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 Io((this._observers.get(t)||pr()).values()).forEach(r=>r(...e))}destroy(){this._observers=pr()}}const Mo=Math.floor,kf=Math.abs,ob=(n,t)=>n<t?n:t,Bl=(n,t)=>n>t?n:t,sz=Math.pow,y1=n=>n!==0?n<0:1/n<0,hx=1,gx=2,tm=4,nm=8,du=32,vo=64,Tr=128,Wh=31,AA=63,el=127,lz=2147483647,b1=Number.MAX_SAFE_INTEGER,az=Number.isInteger||(n=>typeof n=="number"&&isFinite(n)&&Mo(n)===n),cz=String.fromCharCode,uz=n=>n.toLowerCase(),dz=/^\s*/g,fz=n=>n.replace(dz,""),hz=/([A-Z])/g,px=(n,t)=>fz(n.replace(hz,e=>`${t}${uz(e)}`)),gz=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},fu=typeof TextEncoder<"u"?new TextEncoder:null,pz=n=>fu.encode(n),mz=fu?pz:gz;let Jc=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});Jc&&Jc.decode(new Uint8Array).length===1&&(Jc=null);class zu{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const Zn=()=>new zu,sb=n=>{let t=n.cpos;for(let e=0;e<n.bufs.length;e++)t+=n.bufs[e].length;return t},Vt=n=>{const t=new Uint8Array(sb(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},Az=(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(Bl(e,t)*2),n.cpos=0)},kn=(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},yA=kn,ze=(n,t)=>{for(;t>el;)kn(n,Tr|el&t),t=Mo(t/128);kn(n,el&t)},lb=(n,t)=>{const e=y1(t);for(e&&(t=-t),kn(n,(t>AA?Tr:0)|(e?vo:0)|AA&t),t=Mo(t/64);t>0;)kn(n,(t>el?Tr:0)|el&t),t=Mo(t/128)},bA=new Uint8Array(3e4),yz=bA.length/3,bz=(n,t)=>{if(t.length<yz){const e=fu.encodeInto(t,bA).written||0;ze(n,e);for(let r=0;r<e;r++)kn(n,bA[r])}else on(n,mz(t))},wz=(n,t)=>{const e=unescape(encodeURIComponent(t)),r=e.length;ze(n,r);for(let i=0;i<r;i++)kn(n,e.codePointAt(i))},tl=fu&&fu.encodeInto?bz:wz,Hh=(n,t)=>{const e=n.cbuf.length,r=n.cpos,i=ob(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(Bl(e*2,o)),n.cbuf.set(t.subarray(i)),n.cpos=o)},on=(n,t)=>{ze(n,t.byteLength),Hh(n,t)},ab=(n,t)=>{Az(n,t);const e=new DataView(n.cbuf.buffer,n.cpos,t);return n.cpos+=t,e},Cz=(n,t)=>ab(n,4).setFloat32(0,t,!1),vz=(n,t)=>ab(n,8).setFloat64(0,t,!1),xz=(n,t)=>ab(n,8).setBigInt64(0,t,!1),mx=new DataView(new ArrayBuffer(4)),Sz=n=>(mx.setFloat32(0,n),mx.getFloat32(0)===n),hu=(n,t)=>{switch(typeof t){case"string":kn(n,119),tl(n,t);break;case"number":az(t)&&kf(t)<=lz?(kn(n,125),lb(n,t)):Sz(t)?(kn(n,124),Cz(n,t)):(kn(n,123),vz(n,t));break;case"bigint":kn(n,122),xz(n,t);break;case"object":if(t===null)kn(n,126);else if(mA(t)){kn(n,117),ze(n,t.length);for(let e=0;e<t.length;e++)hu(n,t[e])}else if(t instanceof Uint8Array)kn(n,116),on(n,t);else{kn(n,118);const e=Object.keys(t);ze(n,e.length);for(let r=0;r<e.length;r++){const i=e[r];tl(n,i),hu(n,t[i])}}break;case"boolean":kn(n,t?120:121);break;default:kn(n,127)}};class Ax extends zu{constructor(t){super(),this.w=t,this.s=null,this.count=0}write(t){this.s===t?this.count++:(this.count>0&&ze(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}}const yx=n=>{n.count>0&&(lb(n.encoder,n.count===1?n.s:-n.s),n.count>1&&ze(n.encoder,n.count-2))};class Tf{constructor(){this.encoder=new zu,this.s=0,this.count=0}write(t){this.s===t?this.count++:(yx(this),this.count=1,this.s=t)}toUint8Array(){return yx(this),Vt(this.encoder)}}const bx=n=>{if(n.count>0){const t=n.diff*2+(n.count===1?0:1);lb(n.encoder,t),n.count>1&&ze(n.encoder,n.count-2)}};class rm{constructor(){this.encoder=new zu,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(bx(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return bx(this),Vt(this.encoder)}}class Ez{constructor(){this.sarr=[],this.s="",this.lensE=new Tf}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 zu;return this.sarr.push(this.s),this.s="",tl(t,this.sarr.join("")),Hh(t,this.lensE.toUint8Array()),Vt(t)}}const ys=n=>new Error(n),Pi=()=>{throw ys("Method unimplemented")},gi=()=>{throw ys("Unexpected case")},w1=ys("Unexpected end of array"),C1=ys("Integer out of Range");class Yh{constructor(t){this.arr=t,this.pos=0}}const Ns=n=>new Yh(n),kz=n=>n.pos!==n.arr.length,Tz=(n,t)=>{const e=new Uint8Array(n.arr.buffer,n.pos+n.arr.byteOffset,t);return n.pos+=t,e},Yn=n=>Tz(n,Je(n)),ja=n=>n.arr[n.pos++],Je=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&el)*e,e*=128,i<Tr)return t;if(t>b1)throw C1}throw w1},cb=n=>{let t=n.arr[n.pos++],e=t&AA,r=64;const i=(t&vo)>0?-1:1;if((t&Tr)===0)return i*e;const o=n.arr.length;for(;n.pos<o;){if(t=n.arr[n.pos++],e=e+(t&el)*r,r*=128,t<Tr)return i*e;if(e>b1)throw C1}throw w1},_z=n=>{let t=Je(n);if(t===0)return"";{let e=String.fromCodePoint(ja(n));if(--t<100)for(;t--;)e+=String.fromCodePoint(ja(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))}},Nz=n=>Jc.decode(Yn(n)),cs=Jc?Nz:_z,ub=(n,t)=>{const e=new DataView(n.arr.buffer,n.arr.byteOffset+n.pos,t);return n.pos+=t,e},Iz=n=>ub(n,4).getFloat32(0,!1),Mz=n=>ub(n,8).getFloat64(0,!1),Dz=n=>ub(n,8).getBigInt64(0,!1),Lz=[n=>{},n=>null,cb,Iz,Mz,Dz,n=>!1,n=>!0,cs,n=>{const t=Je(n),e={};for(let r=0;r<t;r++){const i=cs(n);e[i]=gu(n)}return e},n=>{const t=Je(n),e=[];for(let r=0;r<t;r++)e.push(gu(n));return e},Yn],gu=n=>Lz[127-ja(n)](n);class wx extends Yh{constructor(t,e){super(t),this.reader=e,this.s=null,this.count=0}read(){return this.count===0&&(this.s=this.reader(this),kz(this)?this.count=Je(this)+1:this.count=-1),this.count--,this.s}}class _f extends Yh{constructor(t){super(t),this.s=0,this.count=0}read(){if(this.count===0){this.s=cb(this);const t=y1(this.s);this.count=1,t&&(this.s=-this.s,this.count=Je(this)+2)}return this.count--,this.s}}class im extends Yh{constructor(t){super(t),this.s=0,this.count=0,this.diff=0}read(){if(this.count===0){const t=cb(this),e=t&1;this.diff=Mo(t/2),this.count=1,e&&(this.count=Je(this)+2)}return this.s+=this.diff,this.count--,this.s}}class Oz{constructor(t){this.decoder=new _f(t),this.str=cs(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 Rz=crypto.getRandomValues.bind(crypto),v1=()=>Rz(new Uint32Array(1))[0],Pz="10000000-1000-4000-8000"+-1e11,Bz=()=>Pz.replace(/[018]/g,n=>(n^v1()&15>>n/4).toString(16)),bs=Date.now,Cx=n=>new Promise(n);Promise.all.bind(Promise);const vx=n=>n===void 0?null:n;class Fz{constructor(){this.map=new Map}setItem(t,e){this.map.set(t,e)}getItem(t){return this.map.get(t)}}let x1=new Fz,db=!0;try{typeof localStorage<"u"&&localStorage&&(x1=localStorage,db=!1)}catch{}const S1=x1,jz=n=>db||addEventListener("storage",n),zz=n=>db||removeEventListener("storage",n),Uz=Object.assign,E1=Object.keys,Kz=(n,t)=>{for(const e in n)t(n[e],e)},Wz=(n,t)=>{const e=[];for(const r in n)e.push(t(n[r],r));return e},xx=n=>E1(n).length,Sx=n=>E1(n).length,Hz=n=>{for(const t in n)return!1;return!0},Yz=(n,t)=>{for(const e in n)if(!t(n[e],e))return!1;return!0},k1=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),Zz=(n,t)=>n===t||Sx(n)===Sx(t)&&Yz(n,(e,r)=>(e!==void 0||k1(t,r))&&t[r]===e),Gz=Object.freeze,T1=n=>{for(const t in n){const e=n[t];(typeof e=="object"||typeof e=="function")&&T1(n[t])}return Gz(n)},Ex=Symbol("Equality"),fb=(n,t,e=0)=>{try{for(;e<n.length;e++)n[e](...t)}finally{e<n.length&&fb(n,t,e+1)}},Jz=n=>n,Vc=(n,t)=>{if(n===t)return!0;if(n==null||t==null||n.constructor!==t.constructor)return!1;if(n[Ex]!=null)return n[Ex](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)||!Vc(n.get(e),t.get(e)))return!1;break}case Object:if(xx(n)!==xx(t))return!1;for(const e in n)if(!k1(n,e)||!Vc(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(!Vc(n[e],t[e]))return!1;break;default:return!1}return!0},Vz=(n,t)=>t.includes(n),ws=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]",_1=typeof window<"u"&&typeof document<"u"&&!ws;let Ci;const Qz=()=>{if(Ci===void 0)if(ws){Ci=pr();const n=process.argv;let t=null;for(let e=0;e<n.length;e++){const r=n[e];r[0]==="-"?(t!==null&&Ci.set(t,""),t=r):t!==null&&(Ci.set(t,r),t=null)}t!==null&&Ci.set(t,"")}else typeof location=="object"?(Ci=pr(),(location.search||"?").slice(1).split("&").forEach(n=>{if(n.length!==0){const[t,e]=n.split("=");Ci.set(`--${px(t,"-")}`,e),Ci.set(`-${px(t,"-")}`,e)}})):Ci=pr();return Ci},wA=n=>Qz().has(n),Qf=n=>vx(ws?process.env[n.toUpperCase().replaceAll("-","_")]:S1.getItem(n)),N1=n=>wA("--"+n)||Qf(n)!==null;N1("production");const Xz=ws&&Vz(process.env.FORCE_COLOR,["true","1","2"]),qz=Xz||!wA("--no-colors")&&!N1("no-color")&&(!ws||process.stdout.isTTY)&&(!ws||wA("--color")||Qf("COLORTERM")!==null||(Qf("TERM")||"").includes("color")),I1=n=>new Uint8Array(n),$z=(n,t,e)=>new Uint8Array(n,t,e),eU=n=>new Uint8Array(n),tU=n=>{let t="";for(let e=0;e<n.byteLength;e++)t+=cz(n[e]);return btoa(t)},nU=n=>Buffer.from(n.buffer,n.byteOffset,n.byteLength).toString("base64"),rU=n=>{const t=atob(n),e=I1(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e},iU=n=>{const t=Buffer.from(n,"base64");return $z(t.buffer,t.byteOffset,t.byteLength)},oU=_1?tU:nU,sU=_1?rU:iU,lU=n=>{const t=I1(n.byteLength);return t.set(n),t};class aU{constructor(t,e){this.left=t,this.right=e}}const ao=(n,t)=>new aU(n,t);typeof DOMParser<"u"&&new DOMParser;const cU=n=>nz(n,(t,e)=>`${e}:${t};`).join(""),Uo=Symbol,M1=Uo(),D1=Uo(),uU=Uo(),dU=Uo(),fU=Uo(),L1=Uo(),hU=Uo(),hb=Uo(),gU=Uo(),pU=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={[M1]:ao("font-weight","bold"),[D1]:ao("font-weight","normal"),[uU]:ao("color","blue"),[fU]:ao("color","green"),[dU]:ao("color","grey"),[L1]:ao("color","red"),[hU]:ao("color","purple"),[hb]:ao("color","orange"),[gU]:ao("color","black")},AU=n=>{var s;n.length===1&&((s=n[0])==null?void 0:s.constructor)===Function&&(n=n[0]());const t=[],e=[],r=pr();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=cU(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},O1=qz?AU:pU,yU=(...n)=>{console.log(...O1(n)),P1.forEach(t=>t.print(n))},R1=(...n)=>{console.warn(...O1(n)),n.unshift(hb),P1.forEach(t=>t.print(n))},P1=As(),B1=n=>({[Symbol.iterator](){return this},next:n}),bU=(n,t)=>B1(()=>{let e;do e=n.next();while(!e.done&&!t(e.value));return e}),om=(n,t)=>B1(()=>{const{done:e,value:r}=n.next();return{done:e,value:e?void 0:t(r)}});class gb{constructor(t,e){this.clock=t,this.len=e}}class tc{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])Q1(n,o,u.clock,u.len,e)}}),wU=(n,t)=>{let e=0,r=n.length-1;for(;e<=r;){const i=Mo((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},Uu=(n,t)=>{const e=n.clients.get(t.client);return e!==void 0&&wU(e,t.clock)!==null},pb=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=Bl(i.len,o.clock+o.len-i.clock):(r<e&&(t[r]=o),r++)}t.length=r})},CA=n=>{const t=new tc;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++)iz(o,n[s].clients.get(i)||[]);t.clients.set(i,o)}});return pb(t),t},pu=(n,t,e,r)=>{Gi(n.clients,t,()=>[]).push(new gb(e,r))},CU=()=>new tc,vU=n=>{const t=CU();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 gb(l,c))}}i.length>0&&t.clients.set(r,i)}),t},nc=(n,t)=>{ze(n.restEncoder,t.clients.size),Io(t.clients.entries()).sort((e,r)=>r[0]-e[0]).forEach(([e,r])=>{n.resetDsCurVal(),ze(n.restEncoder,e);const i=r.length;ze(n.restEncoder,i);for(let o=0;o<i;o++){const s=r[o];n.writeDsClock(s.clock),n.writeDsLen(s.len)}})},mb=n=>{const t=new tc,e=Je(n.restDecoder);for(let r=0;r<e;r++){n.resetDsCurVal();const i=Je(n.restDecoder),o=Je(n.restDecoder);if(o>0){const s=Gi(t.clients,i,()=>[]);for(let l=0;l<o;l++)s.push(new gb(n.readDsClock(),n.readDsLen()))}}return t},kx=(n,t,e)=>{const r=new tc,i=Je(n.restDecoder);for(let o=0;o<i;o++){n.resetDsCurVal();const s=Je(n.restDecoder),l=Je(n.restDecoder),c=e.clients.get(s)||[],u=ln(e,s);for(let d=0;d<l;d++){const h=n.readDsClock(),g=h+n.readDsLen();if(h<u){u<g&&pu(r,s,u,g-u);let p=Wi(c,h),m=c[p];for(!m.deleted&&m.id.clock<h&&(c.splice(p+1,0,rh(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,rh(t,m,g-m.id.clock)),m.delete(t))}else pu(r,s,h,g-h)}}if(r.clients.size>0){const o=new ml;return ze(o.restEncoder,0),nc(o,r),o.toUint8Array()}return null},F1=v1;class Ki extends m1{constructor({guid:t=Bz(),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=F1(),this.guid=t,this.collectionid=e,this.share=new Map,this.store=new J1,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=Cx(u=>{this.on("load",()=>{this.isLoaded=!0,u(this)})});const c=()=>Cx(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&&Pt(t.parent.doc,e=>{e.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Io(this.subdocs).map(t=>t.guid))}transact(t,e=null){return Pt(this,t,e)}get(t,e=Dn){const r=Gi(this.share,t,()=>{const o=new e;return o._integrate(this,null),o}),i=r.constructor;if(e!==Dn&&i!==e)if(i===Dn){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,us)}getText(t=""){return this.get(t,Ka)}getMap(t=""){return this.get(t,On)}getXmlElement(t=""){return this.get(t,ti)}getXmlFragment(t=""){return this.get(t,Al)}toJSON(){const t={};return this.share.forEach((e,r)=>{t[r]=e.toJSON()}),t}destroy(){this.isDestroyed=!0,Io(this.subdocs).forEach(e=>e.destroy());const t=this._item;if(t!==null){this._item=null;const e=t.content;e.doc=new Ki({guid:this.guid,...e.opts,shouldLoad:!1}),e.doc._item=t,Pt(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 j1{constructor(t){this.restDecoder=t}resetDsCurVal(){}readDsClock(){return Je(this.restDecoder)}readDsLen(){return Je(this.restDecoder)}}class z1 extends j1{readLeftID(){return st(Je(this.restDecoder),Je(this.restDecoder))}readRightID(){return st(Je(this.restDecoder),Je(this.restDecoder))}readClient(){return Je(this.restDecoder)}readInfo(){return ja(this.restDecoder)}readString(){return cs(this.restDecoder)}readParentInfo(){return Je(this.restDecoder)===1}readTypeRef(){return Je(this.restDecoder)}readLen(){return Je(this.restDecoder)}readAny(){return gu(this.restDecoder)}readBuf(){return lU(Yn(this.restDecoder))}readJSON(){return JSON.parse(cs(this.restDecoder))}readKey(){return cs(this.restDecoder)}}class xU{constructor(t){this.dsCurrVal=0,this.restDecoder=t}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=Je(this.restDecoder),this.dsCurrVal}readDsLen(){const t=Je(this.restDecoder)+1;return this.dsCurrVal+=t,t}}class Ua extends xU{constructor(t){super(t),this.keys=[],Je(t),this.keyClockDecoder=new im(Yn(t)),this.clientDecoder=new _f(Yn(t)),this.leftClockDecoder=new im(Yn(t)),this.rightClockDecoder=new im(Yn(t)),this.infoDecoder=new wx(Yn(t),ja),this.stringDecoder=new Oz(Yn(t)),this.parentInfoDecoder=new wx(Yn(t),ja),this.typeRefDecoder=new _f(Yn(t)),this.lenDecoder=new _f(Yn(t))}readLeftID(){return new Na(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new Na(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 gu(this.restDecoder)}readBuf(){return Yn(this.restDecoder)}readJSON(){return gu(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 U1{constructor(){this.restEncoder=Zn()}toUint8Array(){return Vt(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){ze(this.restEncoder,t)}writeDsLen(t){ze(this.restEncoder,t)}}class Ku extends U1{writeLeftID(t){ze(this.restEncoder,t.client),ze(this.restEncoder,t.clock)}writeRightID(t){ze(this.restEncoder,t.client),ze(this.restEncoder,t.clock)}writeClient(t){ze(this.restEncoder,t)}writeInfo(t){yA(this.restEncoder,t)}writeString(t){tl(this.restEncoder,t)}writeParentInfo(t){ze(this.restEncoder,t?1:0)}writeTypeRef(t){ze(this.restEncoder,t)}writeLen(t){ze(this.restEncoder,t)}writeAny(t){hu(this.restEncoder,t)}writeBuf(t){on(this.restEncoder,t)}writeJSON(t){tl(this.restEncoder,JSON.stringify(t))}writeKey(t){tl(this.restEncoder,t)}}class K1{constructor(){this.restEncoder=Zn(),this.dsCurrVal=0}toUint8Array(){return Vt(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){const e=t-this.dsCurrVal;this.dsCurrVal=t,ze(this.restEncoder,e)}writeDsLen(t){t===0&&gi(),ze(this.restEncoder,t-1),this.dsCurrVal+=t}}class ml extends K1{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new rm,this.clientEncoder=new Tf,this.leftClockEncoder=new rm,this.rightClockEncoder=new rm,this.infoEncoder=new Ax(yA),this.stringEncoder=new Ez,this.parentInfoEncoder=new Ax(yA),this.typeRefEncoder=new Tf,this.lenEncoder=new Tf}toUint8Array(){const t=Zn();return ze(t,0),on(t,this.keyClockEncoder.toUint8Array()),on(t,this.clientEncoder.toUint8Array()),on(t,this.leftClockEncoder.toUint8Array()),on(t,this.rightClockEncoder.toUint8Array()),on(t,Vt(this.infoEncoder)),on(t,this.stringEncoder.toUint8Array()),on(t,Vt(this.parentInfoEncoder)),on(t,this.typeRefEncoder.toUint8Array()),on(t,this.lenEncoder.toUint8Array()),Hh(t,Vt(this.restEncoder)),Vt(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){hu(this.restEncoder,t)}writeBuf(t){on(this.restEncoder,t)}writeJSON(t){hu(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 SU=(n,t,e,r)=>{r=Bl(r,t[0].id.clock);const i=Wi(t,r);ze(n.restEncoder,t.length-i),n.writeClient(e),ze(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)},Ab=(n,t,e)=>{const r=new Map;e.forEach((i,o)=>{ln(t,o)>i&&r.set(o,i)}),Zh(t).forEach((i,o)=>{e.has(o)||r.set(o,0)}),ze(n.restEncoder,r.size),Io(r.entries()).sort((i,o)=>o[0]-i[0]).forEach(([i,o])=>{SU(n,t.clients.get(i),i,o)})},EU=(n,t)=>{const e=pr(),r=Je(n.restDecoder);for(let i=0;i<r;i++){const o=Je(n.restDecoder),s=new Array(o),l=n.readClient();let c=Je(n.restDecoder);e.set(l,{i:0,refs:s});for(let u=0;u<o;u++){const d=n.readInfo();switch(Wh&d){case 0:{const h=n.readLen();s[u]=new Kr(st(l,c),h),c+=h;break}case 10:{const h=Je(n.restDecoder);s[u]=new Wr(st(l,c),h),c+=h;break}default:{const h=(d&(vo|Tr))===0,g=new Bt(st(l,c),null,(d&Tr)===Tr?n.readLeftID():null,null,(d&vo)===vo?n.readRightID():null,h?n.readParentInfo()?t.get(n.readString()):n.readLeftID():null,h&&(d&du)===du?n.readString():null,w_(n,d));s[u]=g,c+=g.length}}}}return e},kU=(n,t,e)=>{const r=[];let i=Io(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 J1,c=new Map,u=(p,m)=>{const b=c.get(p);(b==null||b>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,b=e.get(m);b?(b.i--,l.clients.set(m,b.refs.slice(b.i)),e.delete(m),b.i=0,b.refs=[]):l.clients.set(m,[p]),i=i.filter(w=>w!==m)}r.length=0};for(;;){if(d.constructor!==Wr){const m=Gi(h,d.id.client,()=>ln(t,d.id.client))-d.id.clock;if(m<0)r.push(d),u(d.id.client,d.id.clock-1),g();else{const b=d.getMissing(n,t);if(b!==null){r.push(d);const w=e.get(b)||{refs:[],i:0};if(w.refs.length===w.i)u(b,ln(t,b)),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 ml;return Ab(p,l,new Map),ze(p.restEncoder,0),{missing:c,update:p.toUint8Array()}}return null},TU=(n,t)=>Ab(n,t.doc.store,t.beforeState),_U=(n,t,e,r=new Ua(n))=>Pt(t,i=>{i.local=!1;let o=!1;const s=i.doc,l=s.store,c=EU(r,s),u=kU(i,l,c),d=l.pendingStructs;if(d){for(const[g,p]of d.missing)if(p<ln(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=qf([d.update,u.update])}}else l.pendingStructs=u;const h=kx(r,i,l);if(l.pendingDs){const g=new Ua(Ns(l.pendingDs));Je(g.restDecoder);const p=kx(g,i,l);h&&p?l.pendingDs=qf([h,p]):l.pendingDs=h||p}else l.pendingDs=h;if(o){const g=l.pendingStructs.update;l.pendingStructs=null,W1(i.doc,g)}},e,!1),W1=(n,t,e,r=Ua)=>{const i=Ns(t);_U(i,n,e,new r(i))},NU=(n,t,e)=>W1(n,t,e,z1),IU=(n,t,e=new Map)=>{Ab(n,t.store,e),nc(n,vU(t.store))},MU=(n,t=new Uint8Array([0]),e=new ml)=>{const r=H1(t);IU(e,n,r);const i=[e.toUint8Array()];if(n.store.pendingDs&&i.push(n.store.pendingDs),n.store.pendingStructs&&i.push($U(n.store.pendingStructs.update,t)),i.length>1){if(e.constructor===Ku)return XU(i.map((o,s)=>s===0?o:tK(o)));if(e.constructor===ml)return qf(i)}return i[0]},DU=(n,t)=>MU(n,t,new Ku),LU=n=>{const t=new Map,e=Je(n.restDecoder);for(let r=0;r<e;r++){const i=Je(n.restDecoder),o=Je(n.restDecoder);t.set(i,o)}return t},H1=n=>LU(new j1(Ns(n))),Y1=(n,t)=>(ze(n.restEncoder,t.size),Io(t.entries()).sort((e,r)=>r[0]-e[0]).forEach(([e,r])=>{ze(n.restEncoder,e),ze(n.restEncoder,r)}),n),OU=(n,t)=>Y1(n,Zh(t.store)),RU=(n,t=new K1)=>(n instanceof Map?Y1(t,n):OU(t,n),t.toUint8Array()),PU=n=>RU(n,new U1);class BU{constructor(){this.l=[]}}const Tx=()=>new BU,_x=(n,t)=>n.l.push(t),Nx=(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.")},Z1=(n,t,e)=>fb(n.l,[t,e]);class Na{constructor(t,e){this.client=t,this.clock=e}}const wa=(n,t)=>n===t||n!==null&&t!==null&&n.client===t.client&&n.clock===t.clock,st=(n,t)=>new Na(n,t),G1=n=>{for(const[t,e]of n.doc.share.entries())if(e===n)return t;throw gi()},Xf=(n,t)=>{for(;t!==null;){if(t.parent===n)return!0;t=t.parent._item}return!1};class FU{constructor(t,e,r,i=0){this.type=t,this.tname=e,this.item=r,this.assoc=i}}class jU{constructor(t,e,r=0){this.type=t,this.index=e,this.assoc=r}}const zU=(n,t,e=0)=>new jU(n,t,e),Xd=(n,t,e)=>{let r=null,i=null;return n._item===null?i=G1(n):r=st(n._item.id.client,n._item.id.clock),new FU(r,i,t,e)},vA=(n,t,e=0)=>{let r=n._start;if(e<0){if(t===0)return Xd(n,null,e);t--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>t)return Xd(n,st(r.id.client,r.id.clock+t),e);t-=r.length}if(r.right===null&&e<0)return Xd(n,r.lastId,e);r=r.right}return Xd(n,null,e)},UU=(n,t)=>{const e=Ia(n,t),r=t.clock-e.id.clock;return{item:e,diff:r}},KU=(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(ln(r,i.client)<=i.clock)return null;const d=e?TA(r,i):UU(r,i),h=d.item;if(!(h instanceof Bt))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(ln(r,o.client)<=o.clock)return null;const{item:d}=e?TA(r,o):{item:Ia(r,o)};if(d instanceof Bt&&d.content instanceof Ji)c=d.content.type;else return null}else throw gi();l>=0?u=c._length:u=0}return zU(c,u,n.assoc)},WU=(n,t)=>n===t||n!==null&&t!==null&&n.tname===t.tname&&wa(n.item,t.item)&&wa(n.type,t.type)&&n.assoc===t.assoc,ga=(n,t)=>t===void 0?!n.deleted:t.sv.has(n.id.client)&&(t.sv.get(n.id.client)||0)>n.id.clock&&!Uu(t.ds,n.id),xA=(n,t)=>{const e=Gi(n.meta,xA,As),r=n.doc.store;e.has(t)||(t.sv.forEach((i,o)=>{i<ln(r,o)&&fr(n,st(o,i))}),za(n,t.ds,i=>{}),e.add(t))};class J1{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const Zh=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},ln=(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},V1=(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 gi()}e.push(t)},Wi=(n,t)=>{let e=0,r=n.length-1,i=n[r],o=i.id.clock;if(o===t)return r;let s=Mo(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=Mo((e+r)/2)}throw gi()},HU=(n,t)=>{const e=n.clients.get(t.client);return e[Wi(e,t.clock)]},Ia=HU,SA=(n,t,e)=>{const r=Wi(t,e),i=t[r];return i.id.clock<e&&i instanceof Bt?(t.splice(r+1,0,rh(n,i,e-i.id.clock)),r+1):r},fr=(n,t)=>{const e=n.doc.store.clients.get(t.client);return e[SA(n,e,t.clock)]},Ix=(n,t,e)=>{const r=t.clients.get(e.client),i=Wi(r,e.clock),o=r[i];return e.clock!==o.id.clock+o.length-1&&o.constructor!==Kr&&r.splice(i+1,0,rh(n,o,e.clock-o.id.clock+1)),o},YU=(n,t,e)=>{const r=n.clients.get(t.id.client);r[Wi(r,t.id.clock)]=e},Q1=(n,t,e,r,i)=>{if(r===0)return;const o=e+r;let s=SA(n,t,e),l;do l=t[s++],o<l.id.clock+l.length&&SA(n,t,o),i(l);while(s<t.length&&t[s].id.clock<o)};class ZU{constructor(t,e,r){this.doc=t,this.deleteSet=new tc,this.beforeState=Zh(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 Mx=(n,t)=>t.deleteSet.clients.size===0&&!rz(t.afterState,(e,r)=>t.beforeState.get(r)!==e)?!1:(pb(t.deleteSet),TU(n,t),nc(n,t.deleteSet),!0),Dx=(n,t,e)=>{const r=t._item;(r===null||r.id.clock<(n.beforeState.get(r.id.client)||0)&&!r.deleted)&&Gi(n.changed,t,As).add(e)},Nf=(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 Bt&&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},GU=(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=Wi(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 Bt&&h.deleted&&!h.keep&&e(h)&&h.gc(t,!1)}}}},JU=(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=ob(i.length-1,1+Wi(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+Nf(i,c)}})},X1=(n,t)=>{if(t<n.length){const e=n[t],r=e.doc,i=r.store,o=e.deleteSet,s=e._mergeStructs;try{pb(o),e.afterState=Zh(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),Z1(u._dEH,c,e))})}),l.push(()=>r.emit("afterTransaction",[e,r])),fb(l,[]),e._needFormattingCleanup&&hK(e)}finally{r.gc&&GU(o,i,r.gcFilter),JU(o,i),e.afterState.forEach((d,h)=>{const g=e.beforeState.get(h)||0;if(g!==d){const p=i.clients.get(h),m=Bl(Wi(p,g),1);for(let b=p.length-1;b>=m;)b-=1+Nf(p,b)}});for(let d=s.length-1;d>=0;d--){const{client:h,clock:g}=s[d].id,p=i.clients.get(h),m=Wi(p,g);m+1<p.length&&Nf(p,m+1)>1||m>0&&Nf(p,m)}if(!e.local&&e.afterState.get(r.clientID)!==e.beforeState.get(r.clientID)&&(yU(hb,M1,"[yjs] ",D1,L1,"Changed the client-id because another client seems to be using it."),r.clientID=F1()),r.emit("afterTransactionCleanup",[e,r]),r._observers.has("update")){const d=new Ku;Mx(d,e)&&r.emit("update",[d.toUint8Array(),e.origin,r,e])}if(r._observers.has("updateV2")){const d=new ml;Mx(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])):X1(n,t+1)}}},Pt=(n,t,e=null,r=!0)=>{const i=n._transactionCleanups;let o=!1,s=null;n._transaction===null&&(o=!0,n._transaction=new ZU(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&&X1(i,0)}}return s};class VU{constructor(t,e){this.insertions=e,this.deletions=t,this.meta=new Map}}const Lx=(n,t,e)=>{za(n,e.deletions,r=>{r instanceof Bt&&t.scope.some(i=>i===n.doc||Xf(i,r))&&Eb(r,!1)})},Ox=(n,t,e)=>{let r=null;const i=n.doc,o=n.scope;Pt(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 Bt){if(p.redone!==null){let{item:m,diff:b}=TA(c,p.id);b>0&&(m=fr(l,st(m.id.client,m.id.clock+b))),p=m}!p.deleted&&o.some(m=>m===l.doc||Xf(m,p))&&h.push(p)}}),za(l,u.deletions,p=>{p instanceof Bt&&o.some(m=>m===l.doc||Xf(m,p))&&!Uu(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 q1 extends m1{constructor(t,{captureTimeout:e=500,captureTransaction:r=c=>!0,deleteFilter:i=()=>!0,trackedOrigins:o=new Set([null]),ignoreRemoteMapChanges:s=!1,doc:l=mA(t)?t[0].doc:t instanceof Ki?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 tc;c.afterState.forEach((w,v)=>{const C=c.beforeState.get(v)||0,x=w-C;x>0&&pu(g,v,C,x)});const p=bs();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=CA([w.deletions,c.deleteSet]),w.insertions=CA([w.insertions,g])}else h.push(new VU(c.deleteSet,g)),m=!0;!u&&!d&&(this.lastChange=p),za(c,c.deleteSet,w=>{w instanceof Bt&&this.scope.some(v=>v===c.doc||Xf(v,w))&&Eb(w,!0)});const b=[{stackItem:h[h.length-1],origin:c.origin,type:u?"redo":"undo",changedParentTypes:c.changedParentTypes},this];m?this.emit("stack-item-added",b):this.emit("stack-item-updated",b)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(t){const e=new Set(this.scope);t=mA(t)?t:[t],t.forEach(r=>{e.has(r)||(e.add(r),(r instanceof Dn?r.doc!==this.doc:r!==this.doc)&&R1("[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=>Lx(r,this,i)),this.undoStack=[]),e&&(this.redoStack.forEach(i=>Lx(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=Ox(this,this.undoStack,"undo")}finally{this.undoing=!1}return t}redo(){this.redoing=!0;let t;try{t=Ox(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*QU(n){const t=Je(n.restDecoder);for(let e=0;e<t;e++){const r=Je(n.restDecoder),i=n.readClient();let o=Je(n.restDecoder);for(let s=0;s<r;s++){const l=n.readInfo();if(l===10){const c=Je(n.restDecoder);yield new Wr(st(i,o),c),o+=c}else if((Wh&l)!==0){const c=(l&(vo|Tr))===0,u=new Bt(st(i,o),null,(l&Tr)===Tr?n.readLeftID():null,null,(l&vo)===vo?n.readRightID():null,c?n.readParentInfo()?n.readString():n.readLeftID():null,c&&(l&du)===du?n.readString():null,w_(n,l));yield u,o+=u.length}else{const c=n.readLen();yield new Kr(st(i,o),c),o+=c}}}}class yb{constructor(t,e){this.gen=QU(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===Wr);return this.curr}}class bb{constructor(t){this.currClient=0,this.startClock=0,this.written=0,this.encoder=t,this.clientStructs=[]}}const XU=n=>qf(n,z1,Ku),qU=(n,t)=>{if(n.constructor===Kr){const{client:e,clock:r}=n.id;return new Kr(st(e,r+t),n.length-t)}else if(n.constructor===Wr){const{client:e,clock:r}=n.id;return new Wr(st(e,r+t),n.length-t)}else{const e=n,{client:r,clock:i}=e.id;return new Bt(st(r,i+t),null,st(r,i+t-1),null,e.rightOrigin,e.parent,e.parentSub,e.content.splice(t))}},qf=(n,t=Ua,e=ml)=>{if(n.length===1)return n[0];const r=n.map(d=>new t(Ns(d)));let i=r.map(d=>new yb(d,!0)),o=null;const s=new e,l=new bb(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===Wr?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)ts(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===Wr)o.struct.length=g.id.clock+g.length-o.struct.id.clock;else{ts(l,o.struct,o.offset);const m=g.id.clock-o.struct.id.clock-o.struct.length;o={struct:new Wr(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===Wr?o.struct.length-=m:g=qU(g,m)),o.struct.mergeWith(g)||(ts(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!==Wr;g=d.next())ts(l,o.struct,o.offset),o={struct:g,offset:0}}o!==null&&(ts(l,o.struct,o.offset),o=null),wb(l);const c=r.map(d=>mb(d)),u=CA(c);return nc(s,u),s.toUint8Array()},$U=(n,t,e=Ua,r=ml)=>{const i=H1(t),o=new r,s=new bb(o),l=new e(Ns(n)),c=new yb(l,!1);for(;c.curr;){const d=c.curr,h=d.id.client,g=i.get(h)||0;if(c.curr.constructor===Wr){c.next();continue}if(d.id.clock+d.length>g)for(ts(s,d,Bl(g-d.id.clock,0)),c.next();c.curr&&c.curr.id.client===h;)ts(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()}wb(s);const u=mb(l);return nc(o,u),o.toUint8Array()},$1=n=>{n.written>0&&(n.clientStructs.push({written:n.written,restEncoder:Vt(n.encoder.restEncoder)}),n.encoder.restEncoder=Zn(),n.written=0)},ts=(n,t,e)=>{n.written>0&&n.currClient!==t.id.client&&$1(n),n.written===0&&(n.currClient=t.id.client,n.encoder.writeClient(t.id.client),ze(n.encoder.restEncoder,t.id.clock+e)),t.write(n.encoder,e),n.written++},wb=n=>{$1(n);const t=n.encoder.restEncoder;ze(t,n.clientStructs.length);for(let e=0;e<n.clientStructs.length;e++){const r=n.clientStructs[e];ze(t,r.written),Hh(t,r.restEncoder)}},eK=(n,t,e,r)=>{const i=new e(Ns(n)),o=new yb(i,!1),s=new r,l=new bb(s);for(let u=o.curr;u!==null;u=o.next())ts(l,t(u),0);wb(l);const c=mb(i);return nc(s,c),s.toUint8Array()},tK=n=>eK(n,Jz,Ua,Ku),Rx="You must not compute changes after the event-handler fired.";class Gh{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=nK(this.currentTarget,this.target))}deletes(t){return Uu(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw ys(Rx);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=em(c.content.getContent());else return;else c!==null&&this.deletes(c)?(s="update",l=em(c.content.getContent())):(s="add",l=void 0)}else if(this.deletes(o))s="delete",l=em(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 ys(Rx);const e=this.target,r=As(),i=As(),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 nK=(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},Vn=()=>{R1("Invalid access: Add Yjs type to a document before reading data.")},e_=80;let Cb=0;class rK{constructor(t,e){t.marker=!0,this.p=t,this.index=e,this.timestamp=Cb++}}const iK=n=>{n.timestamp=Cb++},t_=(n,t,e)=>{n.p.marker=!1,n.p=t,t.marker=!0,n.index=e,n.timestamp=Cb++},oK=(n,t,e)=>{if(n.length>=e_){const r=n.reduce((i,o)=>i.timestamp<o.timestamp?i:o);return t_(r,t,e),r}else{const r=new rK(t,e);return n.push(r),r}},Jh=(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)=>kf(t-o.index)<kf(t-s.index)?o:s);let r=n._start,i=0;for(e!==null&&(r=e.p,i=e.index,iK(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&&kf(e.index-i)<r.parent.length/e_?(t_(e,r,i),e):oK(n._searchMarker,r,i)},mu=(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=Bl(t,i.index+e))}},Vh=(n,t,e)=>{const r=n,i=t.changedParentTypes;for(;Gi(i,n,()=>[]).push(e),n._item!==null;)n=n._item.parent;Z1(r._eH,e,t)};class Dn{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=Tx(),this._dEH=Tx(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,e){this.doc=t,this._item=e}_copy(){throw Pi()}clone(){throw Pi()}_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){_x(this._eH,t)}observeDeep(t){_x(this._dEH,t)}unobserve(t){Nx(this._eH,t)}unobserveDeep(t){Nx(this._dEH,t)}toJSON(){}}const n_=(n,t,e)=>{n.doc??Vn(),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},r_=n=>{n.doc??Vn();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},Au=(n,t)=>{let e=0,r=n._start;for(n.doc??Vn();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}},i_=(n,t)=>{const e=[];return Au(n,(r,i)=>{e.push(t(r,i,n))}),e},sK=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}}}},o_=(n,t)=>{n.doc??Vn();const e=Jh(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}},$f=(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 Bt(st(s,ln(l,s)),i,i&&i.lastId,c,c&&c.id,t,null,new yl(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 Bt(st(s,ln(l,s)),i,i&&i.lastId,c,c&&c.id,t,null,new Wu(new Uint8Array(h))),i.integrate(n,0);break;case Ki:i=new Bt(st(s,ln(l,s)),i,i&&i.lastId,c,c&&c.id,t,null,new Hu(h)),i.integrate(n,0);break;default:if(h instanceof Dn)i=new Bt(st(s,ln(l,s)),i,i&&i.lastId,c,c&&c.id,t,null,new Ji(h)),i.integrate(n,0);else throw new Error("Unexpected content type in insert operation")}}}),d()},s_=()=>ys("Length exceeded!"),l_=(n,t,e,r)=>{if(e>t._length)throw s_();if(e===0)return t._searchMarker&&mu(t._searchMarker,e,r.length),$f(n,t,null,r);const i=e,o=Jh(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&&fr(n,st(s.id.client,s.id.clock+e));break}e-=s.length}return t._searchMarker&&mu(t._searchMarker,i,r.length),$f(n,t,s,r)},lK=(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 $f(n,t,i,e)},a_=(n,t,e,r)=>{if(r===0)return;const i=e,o=r,s=Jh(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&&fr(n,st(l.id.client,l.id.clock+e)),e-=l.length);for(;r>0&&l!==null;)l.deleted||(r<l.length&&fr(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&&mu(t._searchMarker,i,-o+r)},eh=(n,t,e)=>{const r=t._map.get(e);r!==void 0&&r.delete(n)},vb=(n,t,e,r)=>{const i=t._map.get(e)||null,o=n.doc,s=o.clientID;let l;if(r==null)l=new yl([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:case Date:case BigInt:l=new yl([r]);break;case Uint8Array:l=new Wu(r);break;case Ki:l=new Hu(r);break;default:if(r instanceof Dn)l=new Ji(r);else throw new Error("Unexpected content type")}new Bt(st(s,ln(o.store,s)),i,i&&i.lastId,null,null,t,e,l).integrate(n,0)},xb=(n,t)=>{n.doc??Vn();const e=n._map.get(t);return e!==void 0&&!e.deleted?e.content.getContent()[e.length-1]:void 0},c_=n=>{const t={};return n.doc??Vn(),n._map.forEach((e,r)=>{e.deleted||(t[r]=e.content.getContent()[e.length-1])}),t},u_=(n,t)=>{n.doc??Vn();const e=n._map.get(t);return e!==void 0&&!e.deleted},aK=(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&&ga(o,t)&&(e[i]=o.content.getContent()[o.length-1])}),e},qd=n=>(n.doc??Vn(),bU(n._map.entries(),t=>!t[1].deleted));class d_ extends Gh{}class us extends Dn{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const e=new us;return e.push(t),e}_integrate(t,e){super._integrate(t,e),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new us}clone(){const t=new us;return t.insert(0,this.toArray().map(e=>e instanceof Dn?e.clone():e)),t}get length(){return this.doc??Vn(),this._length}_callObserver(t,e){super._callObserver(t,e),Vh(this,t,new d_(this,t))}insert(t,e){this.doc!==null?Pt(this.doc,r=>{l_(r,this,t,e)}):this._prelimContent.splice(t,0,...e)}push(t){this.doc!==null?Pt(this.doc,e=>{lK(e,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,e=1){this.doc!==null?Pt(this.doc,r=>{a_(r,this,t,e)}):this._prelimContent.splice(t,e)}get(t){return o_(this,t)}toArray(){return r_(this)}slice(t=0,e=this.length){return n_(this,t,e)}toJSON(){return this.map(t=>t instanceof Dn?t.toJSON():t)}map(t){return i_(this,t)}forEach(t){Au(this,t)}[Symbol.iterator](){return sK(this)}_write(t){t.writeTypeRef(IK)}}const cK=n=>new us;class EA extends Gh{constructor(t,e,r){super(t,e),this.keysChanged=r}}class On extends Dn{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 On}clone(){const t=new On;return this.forEach((e,r)=>{t.set(r,e instanceof Dn?e.clone():e)}),t}_callObserver(t,e){Vh(this,t,new EA(this,t,e))}toJSON(){this.doc??Vn();const t={};return this._map.forEach((e,r)=>{if(!e.deleted){const i=e.content.getContent()[e.length-1];t[r]=i instanceof Dn?i.toJSON():i}}),t}get size(){return[...qd(this)].length}keys(){return om(qd(this),t=>t[0])}values(){return om(qd(this),t=>t[1].content.getContent()[t[1].length-1])}entries(){return om(qd(this),t=>[t[0],t[1].content.getContent()[t[1].length-1]])}forEach(t){this.doc??Vn(),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?Pt(this.doc,e=>{eh(e,this,t)}):this._prelimContent.delete(t)}set(t,e){return this.doc!==null?Pt(this.doc,r=>{vb(r,this,t,e)}):this._prelimContent.set(t,e),e}get(t){return xb(this,t)}has(t){return u_(this,t)}clear(){this.doc!==null?Pt(this.doc,t=>{this.forEach(function(e,r,i){eh(t,i,r)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(MK)}}const uK=n=>new On,is=(n,t)=>n===t||typeof n=="object"&&typeof t=="object"&&n&&t&&Zz(n,t);class kA{constructor(t,e,r,i){this.left=t,this.right=e,this.index=r,this.currentAttributes=i}forward(){switch(this.right===null&&gi(),this.right.content.constructor){case Cn:this.right.deleted||rc(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 Px=(n,t,e)=>{for(;t.right!==null&&e>0;){switch(t.right.content.constructor){case Cn:t.right.deleted||rc(t.currentAttributes,t.right.content);break;default:t.right.deleted||(e<t.right.length&&fr(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},$d=(n,t,e,r)=>{const i=new Map,o=r?Jh(t,e):null;if(o){const s=new kA(o.p.left,o.p,o.index,i);return Px(n,s,e-o.index)}else{const s=new kA(null,t._start,0,i);return Px(n,s,e)}},f_=(n,t,e,r)=>{for(;e.right!==null&&(e.right.deleted===!0||e.right.content.constructor===Cn&&is(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 Bt(st(o,ln(i.store,o)),c,c&&c.lastId,u,u&&u.id,t,null,new Cn(l,s));d.integrate(n,0),e.right=d,e.forward()})},rc=(n,t)=>{const{key:e,value:r}=t;r===null?n.delete(e):n.set(e,r)},h_=(n,t)=>{for(;n.right!==null;){if(!(n.right.deleted||n.right.content.constructor===Cn&&is(t[n.right.content.key]??null,n.right.content.value)))break;n.forward()}},g_=(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(!is(u,c)){s.set(l,u);const{left:d,right:h}=e;e.right=new Bt(st(o,ln(i.store,o)),d,d&&d.lastId,h,h&&h.id,t,null,new Cn(l,c)),e.right.integrate(n,0),e.forward()}}return s},sm=(n,t,e,r,i)=>{e.currentAttributes.forEach((g,p)=>{i[p]===void 0&&(i[p]=null)});const o=n.doc,s=o.clientID;h_(e,i);const l=g_(n,t,e,i),c=r.constructor===String?new Yi(r):r instanceof Dn?new Ji(r):new Fl(r);let{left:u,right:d,index:h}=e;t._searchMarker&&mu(t._searchMarker,e.index,c.getLength()),d=new Bt(st(s,ln(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(),f_(n,t,e,l)},Bx=(n,t,e,r,i)=>{const o=n.doc,s=o.clientID;h_(e,i);const l=g_(n,t,e,i);e:for(;e.right!==null&&(r>0||l.size>0&&(e.right.deleted||e.right.content.constructor===Cn));){if(!e.right.deleted)switch(e.right.content.constructor){case Cn:{const{key:c,value:u}=e.right.content,d=i[c];if(d!==void 0){if(is(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&&fr(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 Bt(st(s,ln(o.store,s)),e.left,e.left&&e.left.lastId,e.right,e.right&&e.right.id,t,null,new Yi(c)),e.right.integrate(n,0),e.forward()}f_(n,t,e,l)},p_=(n,t,e,r,i)=>{let o=t;const s=pr();for(;o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===Cn){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 Cn:{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&&rc(i,u);break}}}t=t.right}return l},dK=(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===Cn){const r=t.content.key;e.has(r)?t.delete(n):e.add(r)}t=t.left}},fK=n=>{let t=0;return Pt(n.doc,e=>{let r=n._start,i=n._start,o=pr();const s=pA(o);for(;i;){if(i.deleted===!1)switch(i.content.constructor){case Cn:rc(s,i.content);break;default:t+=p_(e,r,i,o,s),o=pA(s),r=i;break}i=i.right}}),t},hK=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&&Q1(n,e.store.clients.get(r),o,i,s=>{!s.deleted&&s.content.constructor===Cn&&s.constructor!==Kr&&t.add(s.parent)})}Pt(e,r=>{za(n,n.deleteSet,i=>{if(i instanceof Kr||!i.parent._hasFormatting||t.has(i.parent))return;const o=i.parent;i.content.constructor===Cn?t.add(o):dK(r,i)});for(const i of t)fK(i)})},Fx=(n,t,e)=>{const r=e,i=pA(t.currentAttributes),o=t.right;for(;e>0&&t.right!==null;){if(t.right.deleted===!1)switch(t.right.content.constructor){case Ji:case Fl:case Yi:e<t.right.length&&fr(n,st(t.right.id.client,t.right.id.clock+e)),e-=t.right.length,t.right.delete(n);break}t.forward()}o&&p_(n,o,t.right,i,t.currentAttributes);const s=(t.left||t.right).parent;return s._searchMarker&&mu(s._searchMarker,t.index,-r+e),t};class m_ extends Gh{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=[];Pt(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,b)=>{m!==null&&(p.attributes[b]=m)}))),u="";break;case"retain":d>0&&(p={retain:d},Hz(c)||(p.attributes=Uz({},c))),d=0;break}p&&e.push(p),l=null}};for(;s!==null;){switch(s.content.constructor){case Ji:case Fl: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 Yi: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 Cn:{const{key:p,value:m}=s.content;if(this.adds(s)){if(!this.deletes(s)){const b=i.get(p)??null;is(b,m)?m!==null&&s.delete(r):(l==="retain"&&g(),is(m,o.get(p)??null)?delete c[p]:c[p]=m)}}else if(this.deletes(s)){o.set(p,m);const b=i.get(p)??null;is(b,m)||(l==="retain"&&g(),c[p]=b)}else if(!s.deleted){o.set(p,m);const b=c[p];b!==void 0&&(is(b,m)?b!==null&&s.delete(r):(l==="retain"&&g(),m===null?delete c[p]:c[p]=m))}s.deleted||(l==="insert"&&g(),rc(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 Ka extends Dn{constructor(t){super(),this._pending=t!==void 0?[()=>this.insert(0,t)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??Vn(),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 Ka}clone(){const t=new Ka;return t.applyDelta(this.toDelta()),t}_callObserver(t,e){super._callObserver(t,e);const r=new m_(this,t,e);Vh(this,t,r),!t.local&&this._hasFormatting&&(t._needFormattingCleanup=!0)}toString(){this.doc??Vn();let t="",e=this._start;for(;e!==null;)!e.deleted&&e.countable&&e.content.constructor===Yi&&(t+=e.content.str),e=e.right;return t}toJSON(){return this.toString()}applyDelta(t,{sanitize:e=!0}={}){this.doc!==null?Pt(this.doc,r=>{const i=new kA(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)&&sm(r,this,i,l,s.attributes||{})}else s.retain!==void 0?Bx(r,this,i,s.retain,s.attributes||{}):s.delete!==void 0&&Fx(r,i,s.delete)}}):this._pending.push(()=>this.applyDelta(t))}toDelta(t,e,r){this.doc??Vn();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,b)=>{g=!0,h[b]=m});const p={insert:l};g&&(p.attributes=h),i.push(p),l=""}}const d=()=>{for(;c!==null;){if(ga(c,t)||e!==void 0&&ga(c,e))switch(c.content.constructor){case Yi:{const h=o.get("ychange");t!==void 0&&!ga(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&&!ga(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 Ji:case Fl:{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 Cn:ga(c,t)&&(u(),rc(o,c.content));break}c=c.right}u()};return t||e?Pt(s,h=>{t&&xA(h,t),e&&xA(h,e),d()},"cleanup"):d(),i}insert(t,e,r){if(e.length<=0)return;const i=this.doc;i!==null?Pt(i,o=>{const s=$d(o,this,t,!r);r||(r={},s.currentAttributes.forEach((l,c)=>{r[c]=l})),sm(o,this,s,e,r)}):this._pending.push(()=>this.insert(t,e,r))}insertEmbed(t,e,r){const i=this.doc;i!==null?Pt(i,o=>{const s=$d(o,this,t,!r);sm(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?Pt(r,i=>{Fx(i,$d(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?Pt(i,o=>{const s=$d(o,this,t,!1);s.right!==null&&Bx(o,this,s,e,r)}):this._pending.push(()=>this.format(t,e,r))}removeAttribute(t){this.doc!==null?Pt(this.doc,e=>{eh(e,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,e){this.doc!==null?Pt(this.doc,r=>{vb(r,this,t,e)}):this._pending.push(()=>this.setAttribute(t,e))}getAttribute(t){return xb(this,t)}getAttributes(){return c_(this)}_write(t){t.writeTypeRef(DK)}}const gK=n=>new Ka;class lm{constructor(t,e=()=>!0){this._filter=e,this._root=t,this._currentNode=t._start,this._firstCall=!0,t.doc??Vn()}[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===ti||e.constructor===Al)&&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 Al extends Dn{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 Al}clone(){const t=new Al;return t.insert(0,this.toArray().map(e=>e instanceof Dn?e.clone():e)),t}get length(){return this.doc??Vn(),this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(t){return new lm(this,t)}querySelector(t){t=t.toUpperCase();const r=new lm(this,i=>i.nodeName&&i.nodeName.toUpperCase()===t).next();return r.done?null:r.value}querySelectorAll(t){return t=t.toUpperCase(),Io(new lm(this,e=>e.nodeName&&e.nodeName.toUpperCase()===t))}_callObserver(t,e){Vh(this,t,new A_(this,e,t))}toString(){return i_(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),Au(this,o=>{i.insertBefore(o.toDOM(t,e,r),null)}),i}insert(t,e){this.doc!==null?Pt(this.doc,r=>{l_(r,this,t,e)}):this._prelimContent.splice(t,0,...e)}insertAfter(t,e){if(this.doc!==null)Pt(this.doc,r=>{const i=t&&t instanceof Dn?t._item:t;$f(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 ys("Reference item not found");r.splice(i,0,...e)}}delete(t,e=1){this.doc!==null?Pt(this.doc,r=>{a_(r,this,t,e)}):this._prelimContent.splice(t,e)}toArray(){return r_(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return o_(this,t)}slice(t=0,e=this.length){return n_(this,t,e)}forEach(t){Au(this,t)}_write(t){t.writeTypeRef(OK)}}const pK=n=>new Al;class ti extends Al{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 ti(this.nodeName)}clone(){const t=new ti(this.nodeName),e=this.getAttributes();return Kz(e,(r,i)=>{typeof r=="string"&&t.setAttribute(i,r)}),t.insert(0,this.toArray().map(r=>r instanceof Dn?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?Pt(this.doc,e=>{eh(e,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,e){this.doc!==null?Pt(this.doc,r=>{vb(r,this,t,e)}):this._prelimAttrs.set(t,e)}getAttribute(t){return xb(this,t)}hasAttribute(t){return u_(this,t)}getAttributes(t){return t?aK(this,t):c_(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 Au(this,s=>{i.appendChild(s.toDOM(t,e,r))}),r!==void 0&&r._createAssociation(i,this),i}_write(t){t.writeTypeRef(LK),t.writeKey(this.nodeName)}}const mK=n=>new ti(n.readKey());class A_ extends Gh{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 th extends On{constructor(t){super(),this.hookName=t}_copy(){return new th(this.hookName)}clone(){const t=new th(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(RK),t.writeKey(this.hookName)}}const AK=n=>new th(n.readKey());class Hi extends Ka{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 Hi}clone(){const t=new Hi;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(PK)}}const yK=n=>new Hi;class Sb{constructor(t,e){this.id=t,this.length=e}get deleted(){throw Pi()}mergeWith(t){return!1}write(t,e,r){throw Pi()}integrate(t,e){throw Pi()}}const bK=0;class Kr extends Sb{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),V1(t.doc.store,this)}write(t,e){t.writeInfo(bK),t.writeLen(this.length-e)}getMissing(t,e){return null}}class Wu{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new Wu(this.content)}splice(t){throw Pi()}mergeWith(t){return!1}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeBuf(this.content)}getRef(){return 3}}const wK=n=>new Wu(n.readBuf());class yu{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new yu(this.len)}splice(t){const e=new yu(this.len-t);return this.len=t,e}mergeWith(t){return this.len+=t.len,!0}integrate(t,e){pu(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 CK=n=>new yu(n.readLen()),y_=(n,t)=>new Ki({guid:n,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class Hu{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 Hu(y_(this.doc.guid,this.opts))}splice(t){throw Pi()}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 vK=n=>new Hu(y_(n.readString(),n.readAny()));class Fl{constructor(t){this.embed=t}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new Fl(this.embed)}splice(t){throw Pi()}mergeWith(t){return!1}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeJSON(this.embed)}getRef(){return 5}}const xK=n=>new Fl(n.readJSON());class Cn{constructor(t,e){this.key=t,this.value=e}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new Cn(this.key,this.value)}splice(t){throw Pi()}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 SK=n=>new Cn(n.readKey(),n.readJSON());class nh{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new nh(this.arr)}splice(t){const e=new nh(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 EK=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 nh(e)},kK=Qf("node_env")==="development";class yl{constructor(t){this.arr=t,kK&&T1(t)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new yl(this.arr)}splice(t){const e=new yl(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 TK=n=>{const t=n.readLen(),e=[];for(let r=0;r<t;r++)e.push(n.readAny());return new yl(e)};class Yi{constructor(t){this.str=t}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new Yi(this.str)}splice(t){const e=new Yi(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 _K=n=>new Yi(n.readString()),NK=[cK,uK,gK,mK,pK,AK,yK],IK=0,MK=1,DK=2,LK=3,OK=4,RK=5,PK=6;class Ji{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new Ji(this.type._copy())}splice(t){throw Pi()}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 BK=n=>new Ji(NK[n.readTypeRef()](n)),TA=(n,t)=>{let e=t,r=0,i;do r>0&&(e=st(e.client,e.clock+r)),i=Ia(n,e),r=e.clock-i.id.clock,e=i.redone;while(e!==null&&i instanceof Bt);return{item:i,diff:r}},Eb=(n,t)=>{for(;n!==null&&n.keep!==t;)n.keep=t,n=n.parent._item},rh=(n,t,e)=>{const{client:r,clock:i}=t.id,o=new Bt(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},jx=(n,t)=>oz(n,e=>Uu(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 fr(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=fr(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:fr(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:fr(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||Uu(r,h.right.id)||jx(o.undoStack,h.right.id)||jx(o.redoStack,h.right.id));)for(h=h.right;h.redone;)h=fr(n,h.redone);if(h&&h.right!==null)return null}else h=p._map.get(t.parentSub)||null;const m=ln(l,c),b=st(c,m),w=new Bt(b,h,h&&h.lastId,g,g&&g.id,p,t.parentSub,t.content.copy());return t.redone=b,Eb(w,!0),w.integrate(n,0),w};class Bt extends Sb{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()?gx:0}set marker(t){(this.info&nm)>0!==t&&(this.info^=nm)}get marker(){return(this.info&nm)>0}get keep(){return(this.info&hx)>0}set keep(t){this.keep!==t&&(this.info^=hx)}get countable(){return(this.info&gx)>0}get deleted(){return(this.info&tm)>0}set deleted(t){this.deleted!==t&&(this.info^=tm)}markDeleted(){this.info|=tm}getMissing(t,e){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=ln(e,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=ln(e,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===Na&&this.id.client!==this.parent.client&&this.parent.clock>=ln(e,this.parent.client))return this.parent.client;if(this.origin&&(this.left=Ix(t,e,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=fr(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Kr||this.right&&this.right.constructor===Kr)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===Bt?(this.parent=this.left.parent,this.parentSub=this.left.parentSub):this.right&&this.right.constructor===Bt&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===Na){const r=Ia(e,this.parent);r.constructor===Kr?this.parent=null:this.parent=r.content.type}return null}integrate(t,e){if(e>0&&(this.id.clock+=e,this.left=Ix(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),wa(this.origin,i.origin)){if(i.id.client<this.id.client)r=i,o.clear();else if(wa(this.rightOrigin,i.rightOrigin))break}else if(i.origin!==null&&s.has(Ia(t.doc.store,i.origin)))o.has(Ia(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),V1(t.doc.store,this),this.content.integrate(t,this),Dx(t,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(t)}else new Kr(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&&wa(t.origin,this.lastId)&&this.right===t&&wa(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(),pu(t.deleteSet,this.id.client,this.id.clock,this.length),Dx(t,e,this.parentSub),this.content.delete(t)}}gc(t,e){if(!this.deleted)throw gi();this.content.gc(t),e?YU(t,this,new Kr(this.id,this.length)):this.content=new yu(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()&Wh|(r===null?0:Tr)|(i===null?0:vo)|(o===null?0:du);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=G1(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===Na?(t.writeParentInfo(!1),t.writeLeftID(l)):gi();o!==null&&t.writeString(o)}this.content.write(t,e)}}const w_=(n,t)=>FK[t&Wh](n),FK=[()=>{gi()},CK,EK,wK,_K,xK,SK,BK,TK,vK,()=>{gi()}],jK=10;class Wr extends Sb{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor!==t.constructor?!1:(this.length+=t.length,!0)}integrate(t,e){gi()}write(t,e){t.writeInfo(jK),ze(t.restEncoder,this.length-e)}getMissing(t,e){return null}}const C_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},v_="__ $YJS$ __";C_[v_]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");C_[v_]=!0;function zK(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 am(n,t){const e=[];let r=n.__first;for(;r!==null;){const i=t===null?Se(r):t.get(r);i==null&&zK(174),e.push(r),r=i.__next}return e}function sn(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 UK(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 ns=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=Se(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);Nb(t,this._xmlElem,i,e)}syncPropertiesFromYjs(t,e){const r=this.getNode();r===null&&sn(83),_b(t,this._xmlElem,r,e)}destroy(t){const e=t.collabNodeMap;e.get(this._key)===this&&e.delete(this._key)}};function x_(n,t,e){const r=new ns(n,t,e);return n._collabNode=r,r}let Pc=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=Se(this._key);return Mt(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 S_(n,t){const e=new Pc(n,t);return n._collabNode=e,e}class tr{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=Se(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(Nb(t,this._map,i,e),i!==null){const s=i.__text;s!==o&&((function(l,c,u,d){const h=G();let g=d.length;if(H(h)&&h.isCollapsed()){const m=h.anchor;m.key===c&&(g=m.offset)}const p=UK(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&&sn(84),_b(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 E_(n,t,e,r){const i=new tr(n,t,e,r);return n._collabNode=i,i}class Hr{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 Y(e)?e:null}getNode(){const t=Se(this._key);return Y(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&&sn(90),t.getChildOffset(this)}syncPropertiesFromYjs(t,e){const r=this.getNode();r===null&&sn(91),_b(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}=If(this,i,!1);if(h instanceof Hr||h instanceof Pc||h instanceof ns)r.splice(g,1),d-=1;else{if(!(h instanceof tr))break;{const b=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=Ic(h._text,p,b-1,"");C.length>0&&(w instanceof tr?w._text+=C:this._xmlText.delete(p,C.length))}else h._text=Ic(h._text,p,b,"");d-=b}}}}else{if(c==null)throw new Error("Unexpected delta format");if(typeof c=="string"){const{node:d,offset:h}=If(this,i,!0);d instanceof tr?d._text=Ic(d._text,h,0,c):this._xmlText.delete(h,c.length),i+=c.length}else{const d=c,{node:h,nodeIndex:g,length:p}=If(this,i,!1),m=ih(t,d,this);if(h instanceof tr&&p>0&&p<h._text.length){const b=h._text,w=b.length-p;h._text=Ic(b,w,p,""),r.splice(g+1,0,m),o=Ic(b,0,w,"")}else r.splice(g,0,m);o!==null&&m instanceof tr&&(m._text=o+m._text,o=null),i+=1}}}}syncChildrenFromYjs(t){const e=this.getNode();e===null&&sn(92);const r=e.__key,i=am(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 b=i[g],w=s[m],v=w.getNode(),C=w._key;if(v!==null&&b===C){const x=ae(v);if(u.add(b),x)if(w._key=b,w instanceof Hr){const N=w._xmlText;w.syncPropertiesFromYjs(t,null),w.applyChildrenYjsDelta(t,N.toDelta()),w.syncChildrenFromYjs(t)}else w instanceof tr?w.syncPropertiesAndTextFromYjs(t,null):w instanceof ns?w.syncPropertiesFromYjs(t,null):w instanceof Pc||sn(93);p=v,g++}else{if(d===void 0){d=new Set;for(let T=0;T<l;T++){const k=s[T]._key;k!==""&&d.add(k)}}if(v!==null&&b!==void 0&&!d.has(b)){const T=ha(b);Co(T),m--,g++;continue}h=e.getWritable();const x=VK(t,w,r),N=x.__key;if(c.set(N,w),p===null){const T=h.getFirstChild();if(h.__first=N,T!==null){const k=T.getWritable();k.__prev=N,x.__next=k.__key}}else{const T=p.getWritable(),k=p.getNextSibling();if(T.__next=N,x.__prev=p.__key,k!==null){const _=k.getWritable();_.__prev=N,x.__next=_.__key}}m===l-1&&(h.__last=N),h.__size++,p=x}}for(let m=0;m<o;m++){const b=i[m];if(!u.has(b)){const w=ha(b),v=t.collabNodeMap.get(b);v!==void 0&&v.destroy(t),Co(w)}}}syncPropertiesFromLexical(t,e,r){Nb(t,this._xmlText,this.getPrevNode(r),e)}_syncChildFromLexical(t,e,r,i,o,s){const l=this._children[e],c=ha(r);l instanceof Hr&&Y(c)?(l.syncPropertiesFromLexical(t,c,i),l.syncChildrenFromLexical(t,c,i,o,s)):l instanceof tr&&ae(c)?l.syncPropertiesAndTextFromLexical(t,c,i):l instanceof ns&&ot(c)&&l.syncPropertiesFromLexical(t,c,i)}syncChildrenFromLexical(t,e,r,i,o){const s=this.getPrevNode(r),l=s===null?[]:am(s,r),c=am(e,null),u=l.length-1,d=c.length-1,h=t.collabNodeMap;let g,p,m=0,b=0;for(;m<=u&&b<=d;){const C=l[m],x=c[b];if(C===x)this._syncChildFromLexical(t,b,x,r,i,o),m++,b++;else{g===void 0&&(g=new Set(l)),p===void 0&&(p=new Set(c));const N=p.has(C),T=g.has(x);if(N){const k=zx(t,ha(x),this);h.set(x,k),T?(this.splice(t,b,1,k),m++,b++):(this.splice(t,b,0,k),b++)}else this.splice(t,b,1),m++}}const w=m>u,v=b>d;if(w&&!v)for(;b<=d;++b){const C=c[b],x=zx(t,ha(C),this);this.append(x),h.set(C,x)}else if(v&&!w)for(let C=this._children.length-1;C>=b;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 Hr)e.insertEmbed(o,t._xmlText);else if(t instanceof tr){const s=t._map;s.parent===null&&e.insertEmbed(o,s),e.insert(o+1,t._text)}else t instanceof Pc?e.insertEmbed(o,t._map):t instanceof ns&&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&&sn(94),void this.append(i);const l=s.getOffset();l===-1&&sn(95);const c=this._xmlText;if(r!==0&&c.delete(l,s.getSize()),i instanceof Hr)c.insertEmbed(l,i._xmlText);else if(i instanceof tr){const u=i._map;u.parent===null&&c.insertEmbed(l,u),c.insert(l+1,i._text)}else i instanceof Pc?c.insertEmbed(l,i._map):i instanceof ns&&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 kb(n,t,e){const r=new Hr(n,t,e);return n._collabNode=r,r}function KK(n,t,e,r,i){e==null&&sn(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))k_(g,d,s)||(h[g]=p);c.set(d.__type,Object.freeze(h))})})})(o),o}function WK(n,t,e,r,i,o){r==null&&sn(81);const s=kb(r.get("root",Hi),null,"root");return s._key="root",{...KK(n,e,r,i,o),collabNodeMap:new Map,root:s}}function Tb(n){return Object.hasOwn(n,"collabNodeMap")}const HK=new Set(["__key","__parent","__next","__prev","__state"]),YK=new Set(["__first","__last","__size"]),ZK=new Set(["__cachedText"]),GK=new Set(["__text"]);function k_(n,t,e){if(HK.has(n)||typeof t[n]=="function")return!0;if(ae(t)){if(GK.has(n))return!0}else if(Y(t)&&(YK.has(n)||Wt(t)&&ZK.has(n)))return!0;const r=t.constructor,i=e.excludedProperties.get(r);return i!=null&&i.has(n)}function JK(n,t){const e=n.__type,{nodeProperties:r}=t,i=r.get(e);return i===void 0&&sn(330,e),i}function zx(n,t,e){const r=t.__type;let i;if(Y(t))i=kb(new Hi,e,r),i.syncPropertiesFromLexical(n,t,null),i.syncChildrenFromLexical(n,t,null,null,null);else if(ae(t))i=E_(new On,t.__text,e,r),i.syncPropertiesAndTextFromLexical(n,t,null);else if(Mt(t)){const o=new On;o.set("__type","linebreak"),i=S_(o,e)}else ot(t)?(i=x_(new ti,e,r),i.syncPropertiesFromLexical(n,t,null)):sn(86);return i._key=t.__key,i}function T_(n){const t=Qh(n,"__type");return typeof t!="string"&&t!==void 0&&sn(87),t}function ih(n,t,e){const r=t._collabNode;if(r===void 0){const i=n.editor._nodes,o=T_(t);typeof o!="string"&&sn(87),i.get(o)===void 0&&sn(88,o);const s=t.parent,l=e===void 0&&s!==null?ih(n,s):e||null;if(l instanceof Hr||sn(89),t instanceof Hi)return kb(t,l,o);if(t instanceof On)return o==="linebreak"?S_(t,l):E_(t,"",l,o);if(t instanceof ti)return x_(t,l,o)}return r}function VK(n,t,e){const r=t.getType(),i=n.editor._nodes.get(r);i===void 0&&sn(88,r);const o=new i.klass;if(o.__parent=e,t._key=o.__key,t instanceof Hr){const s=t._xmlText;t.syncPropertiesFromYjs(n,null),t.applyChildrenYjsDelta(n,s.toDelta()),t.syncChildrenFromYjs(n)}else t instanceof tr?t.syncPropertiesAndTextFromYjs(n,null):t instanceof ns&&t.syncPropertiesFromYjs(n,null);return n.collabNodeMap.set(o.__key,t),o}function _b(n,t,e,r){const i=r===null?t instanceof On?Array.from(t.keys()):t instanceof Hi||t instanceof ti?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(k_(l,e,n)){l==="__state"&&Tb(n)&&(o||(o=e.getWritable()),QK(t,o));continue}const c=e[l];let u=Qh(t,l);if(c!==u){if(u instanceof Ki){const d=n.docMap;c instanceof Ki&&d.delete(c.guid);const h=Ou(),g=u.guid;h._key=g,d.set(g,u),u=h}o===void 0&&(o=e.getWritable()),o[l]=u}}}function Qh(n,t){return n instanceof On?n.get(t):n instanceof Hi||n instanceof ti?n.getAttribute(t):n[t]}function Ux(n,t,e){n instanceof On?n.set(t,e):n.setAttribute(t,e)}function QK(n,t){const e=Qh(n,"__state");e instanceof On&&Eh(t).updateFromJSON(e.toJSON())}function Nb(n,t,e,r){const i=Object.keys(JK(r,n)),o=n.editor.constructor;(function(s,l,c,u){const d=u.__state,h=Qh(l,"__state");if(!d)return;const[g,p]=d.getInternalState(),m=c&&c.__state,b=h instanceof On?h:new On;if(m===d)return;const[w,v]=m&&b.doc?m.getInternalState():[void 0,new Map];if(g)for(const[C,x]of Object.entries(g))w&&x!==w[C]&&b.set(C,x);for(const[C,x]of p)v.get(C)!==x&&b.set(C.key,C.unparse(x));h||Ux(l,"__state",b)})(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 Ki,p=g.guid;u._key=p,d.set(p,g),u=g,n.editor.update(()=>{r.markDirty()})}Ux(t,l,u)}}}function Ic(n,t,e,r){return n.slice(0,t)+r+n.slice(t+e)}function If(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 tr){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 Kx(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 XK(n,t){n.doc.transact(t,n)}function __(n,t){const e=t._nodeMap.get(n);if(!e)return void Re().selectStart();const r=e.__prev;let i=null;r&&(i=Se(r)),i===null&&e.__parent!==null&&(i=Se(e.__parent)),i!==null?i!==null&&i.isAttached()?i.selectEnd():__(i.__key,t):Re().selectStart()}Vk("ychange",{isEqual:(n,t)=>n===t,parse:n=>n??null});function Wx(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 tr){i=e._parent._xmlText;const o=e.getOffset();if(o===-1)return null;r=o+1+r}else if(e instanceof Hr&&n.type==="element"){const o=n.getNode();Y(o)||sn(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 vA(i,r)}function Hx(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)||sn(326);let s=i.getPreviousSibling(),l=r;for(;ae(s);)l+=s.getTextContentSize(),s=s.getPreviousSibling();return vA(o,l)}if(n.type==="element"){Y(i)||sn(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 vA(o,s)}return null}function Yx(n,t){return KU(n,t.doc)}function Zx(n,t){if(n==null){if(t!=null)return!0}else if(t==null||!WU(n,t))return!0;return!1}function qK(n,t){return{color:t,name:n,selection:null}}function N_(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 $K(n,t){const e=t.selection;e!==null&&N_(n,e)}function e4(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 t4(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 N_(n,u));t.selection=e;const d=e.caret,h=e.color,g=e.selections,p=e.anchor,m=e.focus,b=p.key,w=m.key,v=r.get(b),C=r.get(w);if(v==null||C==null)return;let x;if(v===C&&Mt(v))x=[i.getElementByKey(b).getBoundingClientRect()];else{const k=qT(i,v,p.offset,C,m.offset);if(k===null)return;x=$T(i,k)}const N=g.length,T=x.length;for(let k=0;k<T;k++){const _=x[k];let M=g[k];if(M===void 0){M=document.createElement("span"),g[k]=M;const R=document.createElement("span");M.appendChild(R),s.appendChild(M)}const I=`position:absolute;top:${_.top-c.top}px;left:${_.left-c.left}px;height:${_.height}px;width:${_.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;`,k===T-1&&d.parentNode!==M&&M.appendChild(d)}for(let k=N-1;k>=T;k--){const _=g[k];s.removeChild(_),g.pop()}}function I_(n,t){const{anchorPos:e,focusPos:r}=t,i=e?Yx(e,n):null,o=r?Yx(r,n):null;if(i===null||o===null)return{anchorKey:null,anchorOffset:0,focusKey:null,focusOffset:0};if(Tb(n)){const[d,h]=Vx(i.type,i.index),[g,p]=Vx(o.type,o.index);return{anchorKey:d!==null?d.getKey():null,anchorOffset:h,focusKey:g!==null?g.getKey():null,focusOffset:p}}let[s,l]=Qx(n.mapping,i),[c,u]=Qx(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 Gx(n,t){const e=t.awareness.getLocalState();if(e===null)return;const{anchorKey:r,anchorOffset:i,focusKey:o,focusOffset:s}=I_(n,e);if(r!==null&&o!==null){const l=G();if(!H(l))return;Jx(l.anchor,r,i),Jx(l.focus,o,s)}}function Jx(n,t,e){if(n.key!==t||n.offset!==e){let r=Se(t);if(r!==null&&!Y(r)&&!ae(r)){const i=r.getParentOrThrow();t=i.getKey(),e=r.getIndexWithinParent(),r=i}n.set(t,e,Y(r)?"element":"text")}}function Vx(n,t){const e=n._collabNode;if(e===void 0)return[null,0];if(e instanceof Hr){const{node:r,offset:i}=If(e,t,!0);return r===null?[e,0]:[r,i]}return[null,0]}function Qx(n,t){const e=t.type,r=t.index;if(e instanceof ti){const i=n.get(e);if(i===void 0)return[null,0];if(!Y(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 n4(n,t){return t.awareness.getStates()}function Ib(n,t,e){const{getAwarenessStates:r=n4}=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:b,color:w,focusing:v}=m;let C=null,x=s.get(p);if(x===void 0&&(x=qK(b,w),s.set(p,x)),v){const{anchorKey:N,anchorOffset:T,focusKey:k,focusOffset:_}=l.read(()=>I_(n,m));if(N!==null&&k!==null)if(C=x.selection,C===null)C=e4(x,N,T,k,_);else{const M=C.anchor,I=C.focus;M.key=N,M.offset=T,I.key=k,I.offset=_}}t4(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&&($K(n,p),s.delete(g))}}}function M_(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)&&(H(r)&&(Tb(n)?(g=Wx(r.anchor,n),p=Wx(r.focus,n)):(g=Hx(r.anchor,n),p=Hx(r.focus,n))),(Zx(s,g)||Zx(l,p))&&i.setLocalState({...o,anchorPos:g,awarenessData:h,color:u,focusPos:p,focusing:d,name:c}))}function r4(n,t){if(t instanceof EA&&(function(i,o){const{target:s}=o;if(!s._item||s._item.parentSub!=="__state"||T_(s)!==void 0||!(s.parent instanceof Hi||s.parent instanceof ti||s.parent instanceof On))return!1;const l=ih(i,s.parent).getNode();if(l){const c=Eh(l.getWritable());for(const u of o.keysChanged)c.updateFromUnknown(u,s.get(u))}return!0})(n,t))return;const{target:e}=t,r=ih(n,e);if(r instanceof Hr&&t instanceof m_){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 tr&&t instanceof EA){const{keysChanged:i}=t;i.size>0&&r.syncPropertiesAndTextFromYjs(n,i)}else if(r instanceof ns&&t instanceof A_){const{attributesChanged:i}=t;i.size>0&&r.syncPropertiesFromYjs(n,i)}else sn(82)}function i4(n,t,e,r,i=Ib){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];r4(n,c)}o4(s,n,t),r||WT(pT)},{onUpdate:()=>{i(n,t),o.update(()=>s4())},skipTransforms:!0,tag:r?ul:Mu})}function o4(n,t,e){const r=G();if(H(r))if(Kx(r)){const i=n._selection;H(i)&&(Gx(t,e),Kx(r))&&__(r.anchor.key,n),M_(t,e,i,G())}else Gx(t,e)}function s4(){Re().getChildrenSize()===0&&Re().append(_e())}function l4(n,t,e,r,i,o,s,l){XK(n,()=>{r.read(()=>{if(l.has(Mu)||l.has(ul))return void(s.size>0&&(function(d,h){const g=Array.from(h),p=d.collabNodeMap,m=[],b=[];for(let w=0;w<g.length;w++){const v=g[w],C=Se(v),x=p.get(v);if(x instanceof tr)if(ae(C))m.push([x,C.__text]);else{const N=x.getOffset();if(N===-1)continue;const T=x._parent;x._normalized=!0,T._xmlText.delete(N,1),b.push(x)}}for(let w=0;w<b.length;w++){const v=b[w],C=v.getKey();p.delete(C);const x=v._parent._children,N=x.indexOf(v);x.splice(N,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=G(),u=e._selection;M_(n,t,u,c)})})}const D_=ve("CONNECTED_COMMAND"),L_=ve("TOGGLE_CONNECT_COMMAND");function a4(n,t){return new q1(t,{trackedOrigins:new Set([n,null])})}function c4(n,t,e,r,i){n.awareness.setLocalState({anchorPos:null,awarenessData:i,color:e,focusPos:null,focusing:r,name:t})}function Xx(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 u4(n,t,e,r,i,o,s,l,c,u,d,h,g=Ib){const p=E.useRef(!1),m=E.useCallback(()=>{const{root:b}=l;s&&b.isEmpty()&&b._xmlText._length===0&&m4(n,d)},[l,n,d,s]);return E.useEffect(()=>{const{root:b}=l,w=(C,x)=>{const N=x.origin;N!==l&&i4(l,e,C,N instanceof q1,g)};b.getSharedType().observeDeep(w);const v=n.registerUpdateListener(({prevEditorState:C,editorState:x,dirtyLeaves:N,dirtyElements:T,normalizedNodes:k,tags:_})=>{_.has(k0)||l4(l,e,C,x,T,N,k,_)});return()=>{b.getSharedType().unobserveDeep(w),v()}},[l,e,n,c,r,t,g]),E.useEffect(()=>{const b=v=>{(function(C,x){if(C.update(()=>{const _=Re();_.clear(),_.select()},{tag:k0}),x.cursors==null)return;const N=x.cursors;if(N==null)return;const T=x.cursorsContainer;if(T==null)return;const k=Array.from(N.values());for(let _=0;_<k.length;_++){const M=k[_].selection;if(M&&M.selections!=null){const I=M.selections;for(let R=0;R<I.length;R++)T.removeChild(I[_])}}})(n,l),c(v),r.set(t,v),p.current=!0},w=()=>{p.current=!1};return e.on("reload",b),e.on("sync",w),()=>{e.off("reload",b),e.off("sync",w)}},[l,e,n,c,r,t]),d4(n,e,i,o,p,h,m),f4(l,e),h4(l,u)}function d4(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(D_,g==="connected")},d=g=>{g&&i.current===!1&&s&&s()};c4(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(L_,u=>(u?(console.log("Collaboration connected!"),l()):(console.log("Collaboration disconnected!"),c()),!0),Ke),[l,c,n])}function f4(n,t){E.useEffect(()=>{const{awareness:e}=t,r=()=>{Ib(n,t)};return e.on("update",r),()=>{e.off("update",r)}},[n,t])}function h4(n,t){return E.useMemo(()=>mr.createPortal(A.jsx("div",{ref:e=>{n.cursorsContainer=e}}),t&&t.current||document.body),[n,t])}function g4(n,t,e,r,i){E.useEffect(()=>et(n.registerCommand(_s,()=>(Xx(t,e,r,!0,i||{}),!1),Ke),n.registerCommand(Mh,()=>(Xx(t,e,r,!1,i||{}),!1),Ke)),[r,n,e,t,i])}function p4(n,t){E.useEffect(()=>et(n.registerCommand(Ja,()=>(t.undo(),!0),Ke),n.registerCommand(Tl,()=>(t.redo(),!0),Ke)));const e=E.useCallback(()=>{t.clear()},[t]);return Fk.useEffect(()=>{const r=()=>{n.dispatchCommand(ya,t.undoStack.length>0),n.dispatchCommand(Aa,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:Zr});break}case"object":n.setEditorState(t,{tag:Zr});break;case"function":n.update(()=>{Re().isEmpty()&&t(n)},{tag:Zr})}else{const r=_e();e.append(r);const{activeElement:i}=document;(G()!==null||i!==null&&i===n.getRootElement())&&r.select()}},{tag:Zr})}function A4({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=tz(r,i),{yjsDocMap:p,name:m,color:b}=g,[w]=De();b4(g,w);const[v,C]=E.useState(),[x,N]=E.useState();E.useEffect(()=>{if(h.current)return;h.current=!0;const _=t(n,p);return C(_),N(p.get(n)),()=>{_.disconnect()}},[n,t,p]);const[T,k]=E.useState();return E.useEffect(()=>{if(!v||d.current)return;d.current=!0;const _=WK(w,v,n,x||p.get(n),p,l);return k(_),()=>{_.root.destroy(_)}},[w,v,n,p,x,l]),v&&T?A.jsx(y4,{awarenessData:c,binding:T,collabContext:g,color:b,cursorsContainerRef:o,editor:w,id:n,initialEditorState:s,name:m,provider:v,setDoc:N,shouldBootstrap:e,yjsDocMap:p,syncCursorPositionsFn:u}):A.jsx(A.Fragment,{})}function y4({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=u4(n,t,e,r,i,o,s,h,g,l,c,u,p);return(function(b,w){p4(b,E.useMemo(()=>a4(w,w.root.getSharedType()),[w]))})(n,h),g4(n,e,i,o,u),m}const b4=(n,t)=>{E.useEffect(()=>(n.isCollabActive=!0,()=>{t._parentEditor==null&&(n.isCollabActive=!1)}),[n,t])},O_=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,w4=O_?E.useLayoutEffect:E.useEffect,ef={tag:Zr};function C4({initialConfig:n,children:t}){const e=E.useMemo(()=>{const{theme:r,namespace:i,nodes:o,onError:s,editorState:l,html:c}=n,u=p1(null,r),d=Ou({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=_e();p.append(m);const b=O_?document.activeElement:null;(G()!==null||b!==null&&b===h.getRootElement())&&m.select()}},ef);else if(g!==null)switch(typeof g){case"string":{const p=h.parseEditorState(g);h.setEditorState(p,ef);break}case"object":h.setEditorState(g,ef);break;case"function":h.update(()=>{Re().isEmpty()&&g(h)},ef)}}})(d,l),[d,u]},[]);return w4(()=>{const r=n.editable,[i]=e;i.setEditable(r===void 0||r)},[]),A.jsx(ib.Provider,{value:e,children:t})}const v4=Symbol.for("preact-signals");function Xh(){if(ds>1)return void ds--;let n,t=!1;for(;Qc!==void 0;){let e=Qc;for(Qc=void 0,_A++;e!==void 0;){const r=e.o;if(e.o=void 0,e.f&=-3,!(8&e.f)&&R_(e))try{e.c()}catch(i){t||(n=i,t=!0)}e=r}}if(_A=0,ds--,t)throw n}function x4(n){if(ds>0)return n();ds++;try{return n()}finally{Xh()}}let St,Qc;function qx(n){const t=St;St=void 0;try{return n()}finally{St=t}}let ds=0,_A=0,Mf=0;function $x(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 er(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 S4(n,t){return new er(n,t)}function R_(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 eS(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 P_(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 oa(n,t){er.call(this,void 0),this.x=n,this.s=void 0,this.g=Mf-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 B_(n){const t=n.u;if(n.u=void 0,typeof t=="function"){ds++;const e=St;St=void 0;try{t()}catch(r){throw n.f&=-2,n.f|=8,Mb(n),r}finally{St=e,Xh()}}}function Mb(n){for(let t=n.s;t!==void 0;t=t.n)t.S.U(t);n.x=void 0,n.s=void 0,B_(n)}function E4(n){if(St!==this)throw new Error("Out-of-order effect");P_(this),St=n,this.f&=-2,8&this.f&&Mb(this),Xh()}function pa(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 bu(n,t){const e=new pa(n,t);try{e.c()}catch(i){throw e.d(),i}const r=e.d.bind(e);return r[Symbol.dispose]=r,r}function Db(n,t={}){const e={};for(const r in n){const i=t[r],o=S4(i===void 0?n[r]:i);e[r]=o}return e}er.prototype.brand=v4,er.prototype.h=function(){return!0},er.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:qx(()=>{var e;(e=this.W)==null||e.call(this)}))},er.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&&qx(()=>{var r;(r=this.Z)==null||r.call(this)}))}},er.prototype.subscribe=function(n){return bu(()=>{const t=this.value,e=St;St=void 0;try{n(t)}finally{St=e}},{name:"sub"})},er.prototype.valueOf=function(){return this.value},er.prototype.toString=function(){return this.value+""},er.prototype.toJSON=function(){return this.value},er.prototype.peek=function(){const n=St;St=void 0;try{return this.value}finally{St=n}},Object.defineProperty(er.prototype,"value",{get(){const n=$x(this);return n!==void 0&&(n.i=this.i),this.v},set(n){if(n!==this.v){if(_A>100)throw new Error("Cycle detected");this.v=n,this.i++,Mf++,ds++;try{for(let t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Xh()}}}}),oa.prototype=new er,oa.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Mf))return!0;if(this.g=Mf,this.f|=1,this.i>0&&!R_(this))return this.f&=-2,!0;const n=St;try{eS(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,P_(this),this.f&=-2,!0},oa.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)}er.prototype.S.call(this,n)},oa.prototype.U=function(n){if(this.t!==void 0&&(er.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)}},oa.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(oa.prototype,"value",{get(){if(1&this.f)throw new Error("Cycle detected");const n=$x(this);if(this.h(),n!==void 0&&(n.i=this.i),16&this.f)throw this.v;return this.v}}),pa.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()}},pa.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,B_(this),eS(this),ds++;const n=St;return St=this,E4.bind(this,n)},pa.prototype.N=function(){2&this.f||(this.f|=2,this.o=Qc,Qc=this)},pa.prototype.d=function(){this.f|=8,1&this.f||Mb(this)},pa.prototype.dispose=function(){this.d()};function k4(){const n=Re(),t=G(),e=_e();n.clear(),n.append(e),t!==null&&e.select(),H(t)&&(t.format=0)}function T4(n,t=k4){return n.registerCommand(Ih,e=>(n.update(t),!0),Ke)}function _4(n){return(typeof n.nodes=="function"?n.nodes():n.nodes)||[]}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);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 F_(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]=F_(e[i],r[i]);return n}return t}const Lb=0,NA=1,j_=2,cm=3,tf=4,sa=5,um=6,Mc=7;function dm(n){return n.id===Lb}function z_(n){return n.id===j_}function N4(n){return(function(t){return t.id===NA})(n)||Rt(305,String(n.id),String(NA)),Object.assign(n,{id:j_})}const I4=new Set;let M4=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:Lb}}mergeConfigs(){let t=this.extension.config||{};const e=this.extension.mergeConfig?this.extension.mergeConfig.bind(this.extension):Ij;for(const r of this.configs)t=e(t,r);return t}init(t){const e=this.state;z_(e)||Rt(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:cm,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:tf,initResult:c,registerState:u})})(o,s,i)}build(t){const e=this.state;let r;e.id!==tf&&Rt(307,String(e.id),String(sa)),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:sa,output:s,registerState:l})})(e,r,i)}register(t,e){this._signal=e;const r=this.state;r.id!==sa&&Rt(308,String(r.id),String(sa));const i=this.extension.register&&this.extension.register(t,r.config,r.registerState);return this.state=(function(o){return Object.assign(o,{id:um})})(r),()=>{const o=this.state;o.id!==Mc&&Rt(309,String(r.id),String(Mc)),this.state=(function(s){return Object.assign(s,{id:sa})})(o),i&&i()}}afterRegistration(t){const e=this.state;let r;return e.id!==um&&Rt(310,String(e.id),String(um)),this.extension.afterRegistration&&(r=this.extension.afterRegistration(t,e.config,e.registerState)),this.state=(function(i){return Object.assign(i,{id:Mc})})(e),r}getSignal(){return this._signal===void 0&&Rt(311),this._signal}getInitResult(){this.extension.init===void 0&&Rt(312,this.extension.name);const t=this.state;return(function(e){return e.id>=tf})(t)||Rt(313,String(t.id),String(tf)),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>=cm})(t)||Rt(314,String(t.id),String(cm)),{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&&Rt(315,this.extension.name,t.name),e.getExtensionInitDependency()}getDependency(t){const e=this.builder.getExtensionRep(t);return e===void 0&&Rt(315,this.extension.name,t.name),e.getExtensionDependency()}getState(){const t=this.state;return(function(e){return e.id>=Mc})(t)||Rt(316,String(t.id),String(Mc)),t}getDirectDependentNames(){return this.builder.incomingEdges.get(this.extension.name)||I4}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>=sa})(t)||Rt(317,this.extension.name),this._dependency={config:t.config,init:t.initResult,output:t.output}}return this._dependency}};const tS={tag:Zr};function D4(){const n=Re();n.isEmpty()&&n.append(_e())}const L4={config:{setOptions:tS,updateOptions:tS},init:({$initialEditorState:n=D4})=>({$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(ij(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:[Ll,Mn,$a,ec,jo]},nS=Symbol.for("@lexical/extension/LexicalBuilder");function rS(){}function O4(n){throw n}function nf(n){return Array.isArray(n)?n:[n]}const fm="0.38.2+prod.esm";let U_=class Df{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=fm,this.roots=t;for(const e of t)this.addExtension(e)}static fromExtensions(t){const e=[nf(L4)];for(const r of t)e.push(nf(r));return new Df(e)}static maybeFromEditor(t){const e=t[nS];return e&&(e.PACKAGE_VERSION!==fm&&Rt(292,e.PACKAGE_VERSION,fm),e instanceof Df||Rt(293)),e}static fromEditor(t){const e=Df.maybeFromEditor(t);return e===void 0&&Rt(294),e}constructEditor(){const{$initialEditorState:t,onError:e,...r}=this.buildCreateEditorArgs(),i=Object.assign(Ou({...r,...e?{onError:o=>{e(o,i)}}:{}}),{[nS]:this});for(const o of this.sortedExtensionReps())o.build(i);return i}buildEditor(){let t=rS;function e(){try{t()}finally{t=rS}}const r=Object.assign(this.constructEditor(),{dispose:e,[Symbol.dispose]:e});return t=et(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&&Rt(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&&Rt(296);const e=nf(t),[r]=e;typeof r.name!="string"&&Rt(297,typeof r.name);let i=this.extensionNameMap.get(r.name);if(i!==void 0&&i.extension!==r&&Rt(298,r.name),!i){i=new M4(this,r),this.extensionNameMap.set(r.name,i);const o=this.conflicts.get(r.name);typeof o=="string"&&Rt(299,r.name,o);for(const s of r.conflictsWith||[])this.extensionNameMap.has(s)&&Rt(299,r.name,s),this.conflicts.set(s,r.name);for(const s of r.dependencies||[]){const l=nf(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(z_(o))return;const s=r.extension.name;var l;dm(o)||Rt(300,s,i||"[unknown]"),dm(l=o)||Rt(304,String(l.id),String(Lb)),o=Object.assign(l,{id:NA}),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=N4(o),r.state=o,t.push(r)};for(const r of this.extensionNameMap.values())dm(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&&Rt(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 et(...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 _4(h)){if(typeof g!="function"){const p=r.get(g.replace);p&&Rt(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&&F_(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=O4),t}};function R4(n,t){const e=U_.fromEditor(n).extensionNameMap.get(t);return e?e.getExtensionDependency():void 0}const K_=ve("INSERT_HORIZONTAL_RULE_COMMAND");let Ob=class W_ extends Zi{static getType(){return"horizontalrule"}static clone(t){return new W_(t.__key)}static importJSON(t){return H_().updateFromJSON(t)}static importDOM(){return{hr:()=>({conversion:P4,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 P4(){return{node:H_()}}function H_(){return YT(Ob)}function Y_(n){return n instanceof Ob}function B4(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(!(H(o)&&H(s)&&s.isCollapsed()&&o.isCollapsed()))return 0;const l=(function(v,C,x){const N=v._nodeMap,T=[];for(const k of C){const _=N.get(k);_!==void 0&&T.push(_)}for(const[k,_]of x){if(!_)continue;const M=N.get(k);M===void 0||Wt(M)||T.push(M)}return T})(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,b=p.offset,w=h.length-d.length;return w===1&&b===m-1?2:w===-1&&b===m+1?3:w===-1&&b===m?4:0}function F4(n,t){let e=Date.now(),r=0;return(i,o,s,l,c,u)=>{const d=Date.now();if(u.has(ul))return r=0,e=d,2;const h=B4(i,o,l,c,n.isComposing()),g=(()=>{const p=s===null||s.editor===n,m=u.has(UF);if(!m&&p&&u.has(Zr))return 0;if(i===null)return 1;const b=o._selection;if(!(l.size>0||c.size>0))return b!==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 N=C._nodeMap.get(v),T=x._nodeMap.get(v),k=C._selection,_=x._selection;return!(H(k)&&H(_)&&k.anchor.type==="element"&&k.focus.type==="element"&&_.anchor.type==="text"&&_.focus.type==="text"||!ae(N)||!ae(T)||N.__parent!==T.__parent)&&JSON.stringify(C.read(()=>N.exportJSON()))===JSON.stringify(x.read(()=>T.exportJSON()))})(Array.from(l)[0],i,o)?0:1})();return e=d,r=h,g}}function iS(n){n.undoStack=[],n.redoStack=[],n.current=null}function Z_(n,t,e){const r=F4(n,e);return et(n.registerCommand(Ja,()=>((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(Aa,!0)),c.length===0&&o.dispatchCommand(ya,!1),s.current=d||null,d&&d.editor.setEditorState(d.editorState,{tag:ul})}})(n,t),!0),Ke),n.registerCommand(Tl,()=>((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(ya,!0));const d=l.pop();l.length===0&&o.dispatchCommand(Aa,!1),s.current=d||null,d&&d.editor.setEditorState(d.editorState,{tag:ul})}})(n,t),!0),Ke),n.registerCommand(Ih,()=>(iS(t),!1),Ke),n.registerCommand(Oy,()=>(iS(t),n.dispatchCommand(Aa,!1),n.dispatchCommand(ya,!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(Aa,!1)),d!==null&&(g.push({...d}),n.dispatchCommand(ya,!0));else if(m===2)return;t.current={editor:n,editorState:o}}))}function Rb(){return{current:null,redoStack:[],undoStack:[]}}const hm={build:(n,{delay:t,createInitialHistoryState:e,disabled:r})=>Db({delay:t,disabled:r,historyState:e(n)}),config:{createInitialHistoryState:Rb,delay:300,disabled:typeof window>"u"},name:"@lexical/history/History",register:(n,t,e)=>{const r=e.getOutput();return bu(()=>r.disabled.value?void 0:Z_(n,r.historyState.value,r.delay))}};Nj(hm,{createInitialHistoryState:()=>{throw new Error("SharedHistory did not inherit parent history")},disabled:!0});function G_({delay:n,externalHistoryState:t}){const[e]=De();return(function(r,i,o=1e3){const s=E.useMemo(()=>i||Rb(),[i]);E.useEffect(()=>Z_(r,s,o),[o,r,s])})(e,t,n),null}const J_=new Map;class j4{constructor(t){this.room=t,this.onmessage=null,this._onChange=e=>e.key===t&&this.onmessage!==null&&this.onmessage({data:sU(e.newValue||"")}),jz(this._onChange)}postMessage(t){S1.setItem(this.room,oU(eU(t)))}close(){zz(this._onChange)}}const z4=typeof BroadcastChannel>"u"?j4:BroadcastChannel,Pb=n=>Gi(J_,n,()=>{const t=As(),e=new z4(n);return e.onmessage=r=>t.forEach(i=>i(r.data,"broadcastchannel")),{bc:e,subs:t}}),U4=(n,t)=>(Pb(n).subs.add(t),t),K4=(n,t)=>{const e=Pb(n),r=e.subs.delete(t);return r&&e.subs.size===0&&(e.bc.close(),J_.delete(n)),r},ma=(n,t,e=null)=>{const r=Pb(n);r.bc.postMessage(t),r.subs.forEach(i=>i(t,e))},V_=0,Bb=1,Q_=2,IA=(n,t)=>{ze(n,V_);const e=PU(t);on(n,e)},X_=(n,t,e)=>{ze(n,Bb),on(n,DU(t,e))},W4=(n,t,e)=>X_(t,e,Yn(n)),q_=(n,t,e)=>{try{NU(t,Yn(n),e)}catch(r){console.error("Caught error while handling a Yjs update",r)}},H4=(n,t)=>{ze(n,Q_),on(n,t)},Y4=q_,Z4=(n,t,e,r)=>{const i=Je(n);switch(i){case V_:W4(n,t,e);break;case Bb:q_(n,e,r);break;case Q_:Y4(n,e,r);break;default:throw new Error("Unknown message type")}return i},G4=0,J4=(n,t,e)=>{switch(Je(n)){case G4:e(t,cs(n))}},gm=3e4;class V4 extends A1{constructor(t){super(),this.doc=t,this.clientID=t.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=>{const e=bs();this.getLocalState()!==null&&gm/2<=e-this.meta.get(this.clientID).lastUpdated&&this.setLocalState(this.getLocalState());const r=[];this.meta.forEach((i,o)=>{o!==this.clientID&&gm<=e-i.lastUpdated&&this.states.has(o)&&r.push(o)}),r.length>0&&Fb(this,r,"timeout")},Mo(gm/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:bs()});const s=[],l=[],c=[],u=[];t===null?u.push(e):o==null?t!=null&&s.push(e):(l.push(e),Vc(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 Fb=(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:bs()})}r.push(o)}}r.length>0&&(n.emit("change",[{added:[],updated:[],removed:r},e]),n.emit("update",[{added:[],updated:[],removed:r},e]))},Xc=(n,t,e=n.states)=>{const r=t.length,i=Zn();ze(i,r);for(let o=0;o<r;o++){const s=t[o],l=e.get(s)||null,c=n.meta.get(s).clock;ze(i,s),ze(i,c),tl(i,JSON.stringify(l))}return Vt(i)},Q4=(n,t,e)=>{const r=Ns(t),i=bs(),o=[],s=[],l=[],c=[],u=Je(r);for(let d=0;d<u;d++){const h=Je(r);let g=Je(r);const p=JSON.parse(cs(r)),m=n.meta.get(h),b=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&&(Vc(p,b)||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])},X4=n=>Wz(n,(t,e)=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&"),Gs=0,$_=3,Ma=1,q4=2,Yu=[];Yu[Gs]=(n,t,e,r,i)=>{ze(n,Gs);const o=Z4(t,n,e.doc,e);r&&o===Bb&&!e.synced&&(e.synced=!0)};Yu[$_]=(n,t,e,r,i)=>{ze(n,Ma),on(n,Xc(e.awareness,Array.from(e.awareness.getStates().keys())))};Yu[Ma]=(n,t,e,r,i)=>{Q4(e.awareness,Yn(t),e)};Yu[q4]=(n,t,e,r,i)=>{J4(t,e.doc,(o,s)=>$4(e,s))};const oS=3e4,$4=(n,t)=>console.warn(`Permission denied to access ${n.url}.
17
+ ${t}`),eN=(n,t,e)=>{const r=Ns(t),i=Zn(),o=Je(r),s=n.messageHandlers[o];return s?s(i,r,n,e,o):console.error("Unable to compute message"),i},tN=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=bs();const r=eN(n,new Uint8Array(e.data),!0);sb(r)>1&&t.send(Vt(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,Fb(n.awareness,Array.from(n.awareness.getStates().keys()).filter(r=>r!==n.doc.clientID),n),n.emit("status",[{status:"disconnected"}])):n.wsUnsuccessfulReconnects++,setTimeout(tN,ob(sz(2,n.wsUnsuccessfulReconnects)*100,n.maxBackoffTime),n)},t.onopen=()=>{n.wsLastMessageReceived=bs(),n.wsconnecting=!1,n.wsconnected=!0,n.wsUnsuccessfulReconnects=0,n.emit("status",[{status:"connected"}]);const e=Zn();if(ze(e,Gs),IA(e,n.doc),t.send(Vt(e)),n.awareness.getLocalState()!==null){const r=Zn();ze(r,Ma),on(r,Xc(n.awareness,[n.doc.clientID])),t.send(Vt(r))}},n.emit("status",[{status:"connecting"}])}},pm=(n,t)=>{const e=n.ws;n.wsconnected&&e&&e.readyState===e.OPEN&&e.send(t),n.bcconnected&&ma(n.bcChannel,t,n)};class nN extends A1{constructor(t,e,r,{connect:i=!0,awareness:o=new V4(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=X4(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=Yu.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=Zn();ze(g,Gs),IA(g,r),this.ws.send(Vt(g))}},c)),this._bcSubscriber=(g,p)=>{if(p!==this){const m=eN(this,new Uint8Array(g),!1);sb(m)>1&&ma(this.bcChannel,Vt(m),this)}},this._updateHandler=(g,p)=>{if(p!==this){const m=Zn();ze(m,Gs),H4(m,g),pm(this,Vt(m))}},this.doc.on("update",this._updateHandler),this._awarenessUpdateHandler=({added:g,updated:p,removed:m},b)=>{const w=g.concat(p).concat(m),v=Zn();ze(v,Ma),on(v,Xc(o,w)),pm(this,Vt(v))},this._exitHandler=()=>{Fb(this.awareness,[r.clientID],"app closed")},ws&&typeof process<"u"&&process.on("exit",this._exitHandler),o.on("update",this._awarenessUpdateHandler),this._checkInterval=setInterval(()=>{this.wsconnected&&oS<bs()-this.wsLastMessageReceived&&this.ws.close()},oS/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(),ws&&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||(U4(this.bcChannel,this._bcSubscriber),this.bcconnected=!0);const t=Zn();ze(t,Gs),IA(t,this.doc),ma(this.bcChannel,Vt(t),this);const e=Zn();ze(e,Gs),X_(e,this.doc),ma(this.bcChannel,Vt(e),this);const r=Zn();ze(r,$_),ma(this.bcChannel,Vt(r),this);const i=Zn();ze(i,Ma),on(i,Xc(this.awareness,[this.doc.clientID])),ma(this.bcChannel,Vt(i),this)}disconnectBc(){const t=Zn();ze(t,Ma),on(t,Xc(this.awareness,[this.doc.clientID],new Map)),pm(this,Vt(t)),this.bcconnected&&(K4(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&&(tN(this),this.connectBc())}}const e3="0.5.3",t3={version:e3},n3=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"}`),r3={editor:n3},i3=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"}`),o3={editor:i3},s3=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":"Отменить"}`),l3={editor:s3},a3={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"}},c3={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"},u3={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"}},d3={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"}},f3={save:"Save"},h3={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"}},g3="Emojis",p3="Remove",m3="Search",A3="No category",y3={colorPicker:a3,changeCover:c3,dropZone:u3,comments:d3,customDrawer:f3,emojiPicker:h3,emojis:g3,remove:p3,search:m3,noCat:A3},b3={color:"Color",background:"Fondo",colors:{standard:"Estándar",gray:"Gris",brown:"Marrón",orange:"Naranja",yellow:"Amarillo",green:"Verde",blue:"Azul",purple:"Morado",pink:"Rosa",red:"Rojo"}},w3={gallery:"Galería",upload:"Subir",uploadFile:"Subir archivo",maxFileSize:"Tamaño máximo del archivo - {{maxSize}}MB",link:"Enlace",pasteLink:"Pegar enlace de imagen...",pasteVideoLink:"Pegar enlace de video...",pasteAudioLink:"Pegar enlace de audio...",pasteFileLink:"Pegar enlace de archivo...",submitLink:"Aplicar",worksWithAnyImage:"Funciona con cualquier imagen de Internet",worksWithAnyFile:"Funciona con cualquier archivo de Internet",worksWithAnyVideo:"Funciona con archivos MP4, así como con YouTube, VK Video y RuTube",worksWithAnyAudio:"Funciona con archivos de audio MP3",searchImage:"Buscar imagen...",noResult:"No se encontraron imágenes para tu búsqueda",change:"Cambiar portada",invalidLink:"Enlace inválido",loadMore:"Cargar más",dragOrClickToChoose:"Suelta el archivo aquí o haz clic para seleccionarlo",notSupported:"Este tipo de archivo no es compatible"},C3={gallery:"Galería",link:"Enlace",search:"Buscar",upload:"Subir",uploadFile:"Subir archivo",change:"Cambiar",remove:"Eliminar",error:"Error",dragOrClickToChoose:"Arrastra el archivo aquí o haz clic para seleccionarlo",maxFileSize:"El tamaño máximo del archivo es {{maxSize}} MB",pasteLink:"Pegar enlace de imagen...",submitLink:"Aplicar",worksWithAnyImage:"Funciona con cualquier imagen de Internet",noImages:"No hay imágenes",errors:{typeIsNotAllowed:"Este tipo de archivo no es compatible",shouldNotExceed:"El archivo no debe exceder de {{maxSize}} MB.",doNotUploadMoreThanSingleFile:"Por favor, sube solo un archivo.",invalidLink:"Enlace inválido"}},v3={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"}},x3={save:"Guardar"},S3={searchResults:"Resultados de búsqueda",icons:"Iconos",searchNoResults:"No se encontraron resultados",categories:{activity:"Actividades",custom:"Personalizado",flags:"Banderas",foods:"Comida y bebidas",frequent:"Usados frecuentemente",nature:"Animales y naturaleza",objects:"Objetos",people:"Emociones y personas",places:"Viajes y lugares",symbols:"Símbolos"}},E3="Emojis",k3="Eliminar",T3="Buscar",_3="Sin categoría",N3={colorPicker:b3,changeCover:w3,dropZone:C3,comments:v3,customDrawer:x3,emojiPicker:S3,emojis:E3,remove:k3,search:T3,noCat:_3},I3={color:"Цвет",background:"Подложка",colors:{standard:"Стандартный",gray:"Серый",brown:"Коричневый",orange:"Оранжевый",yellow:"Желтый",green:"Зеленый",blue:"Синий",purple:"Фиолетовый",pink:"Розовый",red:"Красный"}},M3={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:"Этот тип файла не поддерживается"},D3={gallery:"Галерея",link:"Ссылка",search:"Поиск",upload:"Загрузить",uploadFile:"Загрузить файл",change:"Изменить",remove:"Удалить",error:"Ошибка",dragOrClickToChoose:"Перетащите файл сюда или кликните, чтобы выбрать",maxFileSize:"Максимальный размер файла — {{maxSize}} МБ",pasteLink:"Вставьте ссылку на изображение...",submitLink:"Применить",worksWithAnyImage:"Работает с любым изображением из Интернета",noImages:"Нет изображений",errors:{typeIsNotAllowed:"Этот тип файла не поддерживается",shouldNotExceed:"Размер файла не должен превышать {{maxSize}} МБ.",doNotUploadMoreThanSingleFile:"Пожалуйста, загружайте не более одного файла.",invalidLink:"Недопустимая ссылка"}},L3={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:"По выбранному пользователю комментариев не найдено"}},O3={save:"Сохранить"},R3={searchResults:"Результаты поиска",searchNoResults:"Результаты не найдены",icons:"Иконки",categories:{activity:"Активности",custom:"Свои",flags:"Флаги",foods:"Еда и напитки",frequent:"Часто используемые",nature:"Животные и природа",objects:"Предметы",people:"Эмоции и люди",places:"Путешествия и места",symbols:"Символы"}},P3="Эмодзи",B3="Удалить",F3="Поиск",j3="Нет категории",z3={colorPicker:I3,changeCover:M3,dropZone:D3,comments:L3,customDrawer:O3,emojiPicker:R3,emojis:P3,remove:B3,search:F3,noCat:j3},MA=aF.createInstance();MA.use(pt.initReactI18next).init({resources:{en:{translation:r3,ui:y3},ru:{translation:l3,ui:z3},es:{translation:o3,ui:N3}},lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}}).then(()=>{}).catch(n=>{});let Ko=class extends Zi{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 DA(n){return n instanceof Ko}function sS(n,t){return n.getEditorState().read(()=>{const e=Se(t);return e!==null&&e.isSelected()})}function qh(n){const[t]=De(),[e,r]=E.useState(()=>sS(t,n));return E.useEffect(()=>{let i=!0;const o=t.registerUpdateListener(()=>{i&&r(sS(t,n))});return()=>{i=!1,o()}},[t,n]),[e,E.useCallback(i=>{t.update(()=>{let o=G();Jt(o)||(o=Lh(),Qe(o)),Jt(o)&&(i?o.add(n):o.delete(n))})},[t,n]),E.useCallback(()=>{t.update(()=>{const i=G();Jt(i)&&i.clear()})},[t])]}function bl({children:n,format:t,nodeKey:e,className:r}){const[i]=De(),[o,s,l]=qh(e),c=E.useRef(null);return E.useEffect(()=>et(i.registerCommand(Nh,u=>{if(o){const d=G();if(Jt(d)){const h=Se(e);DA(h)&&h.setFormat(u)}else if(H(d)){const h=d.getNodes();for(const g of h)DA(g)?g.setFormat(u):ju(g).setFormat(u)}return!0}return!1},Ne),i.registerCommand(Po,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 $h(){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 U3(){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 Js=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function K3(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var mm={exports:{}},lS;function W3(){return lS||(lS=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,N){N=N||{};var T,k;switch(l.util.type(x)){case"Object":if(k=l.util.objId(x),N[k])return N[k];T={},N[k]=T;for(var _ in x)x.hasOwnProperty(_)&&(T[_]=C(x[_],N));return T;case"Array":return k=l.util.objId(x),N[k]?N[k]:(T=[],N[k]=T,x.forEach(function(M,I){T[I]=C(M,N)}),T);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(T){var C=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(T.stack)||[])[1];if(C){var x=document.getElementsByTagName("script");for(var N in x)if(x[N].src==C)return x[N]}return null}},isActive:function(C,x,N){for(var T="no-"+x;C;){var k=C.classList;if(k.contains(x))return!0;if(k.contains(T))return!1;C=C.parentElement}return!!N}},languages:{plain:s,plaintext:s,text:s,txt:s,extend:function(C,x){var N=l.util.clone(l.languages[C]);for(var T in x)N[T]=x[T];return N},insertBefore:function(C,x,N,T){T=T||l.languages;var k=T[C],_={};for(var M in k)if(k.hasOwnProperty(M)){if(M==x)for(var I in N)N.hasOwnProperty(I)&&(_[I]=N[I]);N.hasOwnProperty(M)||(_[M]=k[M])}var R=T[C];return T[C]=_,l.languages.DFS(l.languages,function(B,U){U===R&&B!=C&&(this[B]=_)}),_},DFS:function C(x,N,T,k){k=k||{};var _=l.util.objId;for(var M in x)if(x.hasOwnProperty(M)){N.call(x,M,x[M],T||M);var I=x[M],R=l.util.type(I);R==="Object"&&!k[_(I)]?(k[_(I)]=!0,C(I,N,null,k)):R==="Array"&&!k[_(I)]&&(k[_(I)]=!0,C(I,N,M,k))}}},plugins:{},highlightAll:function(C,x){l.highlightAllUnder(document,C,x)},highlightAllUnder:function(C,x,N){var T={callback:N,container:C,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",T),T.elements=Array.prototype.slice.apply(T.container.querySelectorAll(T.selector)),l.hooks.run("before-all-elements-highlight",T);for(var k=0,_;_=T.elements[k++];)l.highlightElement(_,x===!0,T.callback)},highlightElement:function(C,x,N){var T=l.util.getLanguage(C),k=l.languages[T];l.util.setLanguage(C,T);var _=C.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(_,T);var M=C.textContent,I={element:C,language:T,grammar:k,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),N&&N.call(I.element)}if(l.hooks.run("before-sanity-check",I),_=I.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!I.code){l.hooks.run("complete",I),N&&N.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,N){var T={code:C,grammar:x,language:N};if(l.hooks.run("before-tokenize",T),!T.grammar)throw new Error('The language "'+T.language+'" has no grammar.');return T.tokens=l.tokenize(T.code,T.grammar),l.hooks.run("after-tokenize",T),c.stringify(l.util.encode(T.tokens),T.language)},tokenize:function(C,x){var N=x.rest;if(N){for(var T in N)x[T]=N[T];delete x.rest}var k=new h;return g(k,k.head,C),d(C,k,x,k.head,0),m(k)},hooks:{all:{},add:function(C,x){var N=l.hooks.all;N[C]=N[C]||[],N[C].push(x)},run:function(C,x){var N=l.hooks.all[C];if(!(!N||!N.length))for(var T=0,k;k=N[T++];)k(x)}},Token:c};r.Prism=l;function c(C,x,N,T){this.type=C,this.content=x,this.alias=N,this.length=(T||"").length|0}c.stringify=function C(x,N){if(typeof x=="string")return x;if(Array.isArray(x)){var T="";return x.forEach(function(R){T+=C(R,N)}),T}var k={type:x.type,content:C(x.content,N),tag:"span",classes:["token",x.type],attributes:{},language:N},_=x.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(k.classes,_):k.classes.push(_)),l.hooks.run("wrap",k);var M="";for(var I in k.attributes)M+=" "+I+'="'+(k.attributes[I]||"").replace(/"/g,"&quot;")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+M+">"+k.content+"</"+k.tag+">"};function u(C,x,N,T){C.lastIndex=x;var k=C.exec(N);if(k&&T&&k[1]){var _=k[1].length;k.index+=_,k[0]=k[0].slice(_)}return k}function d(C,x,N,T,k,_){for(var M in N)if(!(!N.hasOwnProperty(M)||!N[M])){var I=N[M];I=Array.isArray(I)?I:[I];for(var R=0;R<I.length;++R){if(_&&_.cause==M+","+R)return;var B=I[R],U=B.inside,j=!!B.lookbehind,K=!!B.greedy,ee=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=T.next,V=k;ie!==x.tail&&!(_&&V>=_.reach);V+=ie.value.length,ie=ie.next){var re=ie.value;if(x.length>C.length)return;if(!(re instanceof c)){var J=1,Z;if(K){if(Z=u(fe,V,C,j),!Z||Z.index>=C.length)break;var me=Z.index,X=Z.index+Z[0].length,le=V;for(le+=ie.value.length;me>=le;)ie=ie.next,le+=ie.value.length;if(le-=ie.value.length,V=le,ie.value instanceof c)continue;for(var de=ie;de!==x.tail&&(le<X||typeof de.value=="string");de=de.next)J++,le+=de.value.length;J--,re=C.slice(V,le),Z.index-=V}else if(Z=u(fe,0,re,j),!Z)continue;var me=Z.index,q=Z[0],ne=re.slice(0,me),Ae=re.slice(me+q.length),oe=V+re.length;_&&oe>_.reach&&(_.reach=oe);var pe=ie.prev;ne&&(pe=g(x,pe,ne),V+=ne.length),p(x,pe,J);var Ee=new c(M,U?l.tokenize(q,U):q,ee,q);if(ie=g(x,pe,Ee),Ae&&g(x,ie,Ae),J>1){var Ce={cause:M+","+R,reach:oe};d(C,x,N,ie.prev,V,Ce),_&&Ce.reach>_.reach&&(_.reach=Ce.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,N){var T=x.next,k={value:N,prev:x,next:T};return x.next=k,T.prev=k,C.length++,k}function p(C,x,N){for(var T=x.next,k=0;k<N&&T!==C.tail;k++)T=T.next;x.next=T,T.prev=x,C.length-=k}function m(C){for(var x=[],N=C.head.next;N!==C.tail;)x.push(N.value),N=N.next;return x}if(!r.document)return r.addEventListener&&(l.disableWorkerMessageHandler||r.addEventListener("message",function(C){var x=JSON.parse(C.data),N=x.language,T=x.code,k=x.immediateClose;r.postMessage(l.highlight(T,l.languages[N],N)),k&&r.close()},!1)),l;var b=l.util.currentScript();b&&(l.filename=b.src,b.hasAttribute("data-manual")&&(l.manual=!0));function w(){l.manual||l.highlightAll()}if(!l.manual){var v=document.readyState;v==="loading"||v==="interactive"&&b&&b.defer?document.addEventListener("DOMContentLoaded",w):window.requestAnimationFrame?window.requestAnimationFrame(w):window.setTimeout(w,16)}return l})(t);n.exports&&(n.exports=e),typeof Js<"u"&&(Js.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(b,w){return"✖ Error "+b+" 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(b,w,v){var C=new XMLHttpRequest;C.open("GET",b,!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(b){var w=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b||"");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(b){b.selector+=", "+h}),e.hooks.add("before-sanity-check",function(b){var w=b.element;if(w.matches(h)){b.code="",w.setAttribute(l,c);var v=w.appendChild(document.createElement("CODE"));v.textContent=r;var C=w.getAttribute("data-src"),x=b.language;if(x==="none"){var N=(/\.(\w+)$/.exec(C)||[,"none"])[1];x=s[N]||N}e.util.setLanguage(v,x),e.util.setLanguage(w,x);var T=e.plugins.autoloader;T&&T.loadLanguages(x),g(C,function(k){w.setAttribute(l,u);var _=p(w.getAttribute("data-range"));if(_){var M=k.split(/\r\n?|\n/g),I=_[0],R=_[1]==null?M.length:_[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)),k=M.slice(I,R).join(`
25
+ `),w.hasAttribute("data-start")||w.setAttribute("data-start",String(I+1))}v.textContent=k,e.highlightElement(v)},function(k){w.setAttribute(l,d),v.textContent=k})}}),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)}})()})(mm)),mm.exports}W3();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 b=g[p];if(b.type!=="code"){h(b.content);continue}var w=b.content[1],v=b.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],b=/language-(.+)/.exec(m);if(b){h=b[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 b=l[p];return b||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 aS={},cS;function H3(){return cS||(cS=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),aS}H3();var uS={},dS;function Y3(){return dS||(dS=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)),uS}Y3();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 fS={},hS;function Z3(){return hS||(hS=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)),fS}Z3();var gS={},pS;function G3(){return pS||(pS=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)),gS}G3();var mS={},AS;function J3(){return AS||(AS=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}J3();function eg(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 V3="javascript";function rN(n,t){for(const e of n.childNodes){if(Et(e)&&e.tagName===t)return!0;rN(e,t)}return!1}const Bc="data-language",Dc="data-highlight-language",rf="data-theme";let xo=class iN 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 iN(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(Bc,i),this.getIsSyntaxHighlightSupported()&&r.setAttribute(Dc,i));const o=this.getTheme();o&&r.setAttribute(rf,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(Bc,o):s&&r.removeAttribute(Bc);const l=this.__isSyntaxHighlightSupported;e.__isSyntaxHighlightSupported&&s?l&&o?o!==s&&r.setAttribute(Dc,o):r.removeAttribute(Dc):l&&o&&r.setAttribute(Dc,o);const c=this.__theme,u=e.__theme;c?c!==u&&r.setAttribute(rf,c):u&&r.removeAttribute(rf);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(Bc,i),this.getIsSyntaxHighlightSupported()&&r.setAttribute(Dc,i));const o=this.getTheme();o&&r.setAttribute(rf,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)||rN(e,"BR"))?{conversion:yS,priority:1}:null,div:()=>({conversion:Q3,priority:1}),pre:()=>({conversion:yS,priority:0}),table:e=>Am(e)?{conversion:X3,priority:3}:null,td:e=>{const r=e,i=r.closest("table");return r.classList.contains("js-file-line")||i&&Am(i)?{conversion:bS,priority:3}:null},tr:e=>{const r=e.closest("table");return r&&Am(r)?{conversion:bS,priority:3}:null}}}static importJSON(e){return Mi().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=_e();return this.insertAfter(u,r),u}const{anchor:s,focus:l}=e,c=(s.isBefore(l)?s:l).getNode();if(ae(c)){let u=nl(c);const d=[];for(;;)if(jn(u))d.push(Jr()),u=u.getNextSibling();else{if(!Zt(u))break;{let v=0;const C=u.getTextContent(),x=u.getTextContentSize();for(;v<x&&C[v]===" ";)v++;if(v!==0&&d.push(jb(" ".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(),b=[ir(),...d];m.splice(p,0,b);const w=d[d.length-1];w?w.select():s.offset===0?h.selectPrevious():h.getNextSibling().selectNext(0,0)}if(_r(c)){const{offset:u}=e.anchor;c.splice(u,0,[ir()]),c.select(u+1,u+1)}return null}canIndent(){return!1}collapseAtStart(){const e=_e();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 Mi(n,t){return YT(xo).setLanguage(n).setTheme(t)}function _r(n){return n instanceof xo}function yS(n){return{node:Mi(n.getAttribute(Bc))}}function Q3(n){const t=n,e=wS(t);return e||(function(r){let i=r.parentElement;for(;i!==null;){if(wS(i))return!0;i=i.parentElement}return!1})(t)?{node:e?Mi():null}:{node:null}}function X3(){return{node:Mi()}}function bS(){return{node:null}}function wS(n){return n.style.fontFamily.match("monospace")!==null}function Am(n){return n.classList.contains("js-file-line-container")}let wl=class oN extends Mn{constructor(e="",r,i){super(e,i);F(this,"__highlightType");this.__highlightType=r}static getType(){return"code-highlight"}static clone(e){return new oN(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=ym(e.theme,this.__highlightType);return ct(r,i),r}updateDOM(e,r,i){const o=super.updateDOM(e,r,i),s=ym(i.theme,e.__highlightType),l=ym(i.theme,this.__highlightType);return s!==l&&(s&&kr(r,s),l&&ct(r,l)),o}static importJSON(e){return jb().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 Mi()}};function ym(n,t){return t&&n&&n.codeHighlight&&n.codeHighlight[t]}function jb(n="",t){return Dt(new wl(n,t))}function Zt(n){return n instanceof wl}function sN(n,t){let e=n;for(let r=en(n,t);r&&(Zt(r.origin)||jn(r.origin));r=Hj(r))e=r.origin;return e}function nl(n){return sN(n,"previous")}function Da(n){return sN(n,"next")}function q3(n){const t=nl(n),e=Da(n);let r=t;for(;r!==null;){if(Zt(r)){const o=aj(r.getTextContent());if(o!==null)return o}if(r===e)break;r=r.getNextSibling()}const i=t.getParent();if(Y(i)){const o=i.getDirection();if(o==="ltr"||o==="rtl")return o}return null}function $3(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(Zt(i)||jn(i)||Mt(i)||eg(167),Mt(i)){e={node:i,offset:1};break}o=Math.max(0,i.getTextContentSize()-1),s=i.getTextContent()}else o--;const c=s[o];Zt(i)&&c!==" "&&(r={node:i,offset:o})}if(r!==null)return r;let l=null;if(t<n.getTextContentSize())Zt(n)&&(l=n.getTextContent()[t]);else{const c=n.getNextSibling();Zt(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(!Zt(h)||g===m){if(h=h.getNextSibling(),h===null||Mt(h))return null;Zt(h)&&(g=0,p=h.getTextContent(),m=h.getTextContentSize())}if(Zt(h)){if(p[g]!==" ")return{node:h,offset:g};g++}}})(n,t);return c!==null?c:e}}function eW(n){const t=Da(n);return Mt(t)&&eg(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 Ei=globalThis.Prism||window.Prism,tW={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"},CS={cpp:"cpp",java:"java",javascript:"js",md:"markdown",plaintext:"plain",python:"py",text:"plain",ts:"typescript"};function LA(n){return typeof n=="string"?n:Array.isArray(n)?n.map(LA).join(""):LA(n.content)}function nW(n,t){const e=/^diff-([\w-]+)/i.exec(t),r=n.getTextContent();let i=Ei.tokenize(r,Ei.languages[e?"diff":t]);return e&&(i=(function(o,s){const l=s,c=Ei.languages[l],u={tokens:o},d=Ei.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 Ei.Token("prefix",d[g],g.replace(/^(\w+).*/,"$1"))),b=h.content.filter(T=>typeof T=="string"||T.type!=="prefix"),w=h.content.length-b.length,v=Ei.tokenize(LA(b),c);v.unshift(m());const C=/\r\n|\n/g,x=T=>{const k=[];C.lastIndex=0;let _,M=0;for(;p<w&&(_=C.exec(T));){const I=_.index+_[0].length;k.push(T.slice(M,I)),M=I,k.push(m())}if(k.length!==0)return M<T.length&&k.push(T.slice(M)),k},N=T=>{for(let k=0;k<T.length&&p<w;k++){const _=T[k];if(typeof _=="string"){const M=x(_);M&&(T.splice(k,1,...M),k+=M.length-1)}else if(typeof _.content=="string"){const M=x(_.content);M&&(_.content=M)}else Array.isArray(_.content)?N(_.content):N([_.content])}};N(v),p<w&&v.push(m()),h.content=v}return u.tokens})(i,e[1])),OA(i)}function OA(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(ir()):l===" "?e.push(Jr()):l.length>0&&e.push(jb(l,t))}}else{const{content:i,alias:o}=r;typeof i=="string"?e.push(...OA([i],r.type==="prefix"&&typeof o=="string"?o:r.type)):Array.isArray(i)&&e.push(...OA(i,r.type==="unchanged"?void 0:r.type))}return e}const rW={$tokenize(n,t){return nW(n,t||this.defaultLanguage)},defaultLanguage:V3,tokenize(n,t){return Ei.tokenize(n,Ei.languages[t||""]||Ei.languages[this.defaultLanguage])}};function vS(n,t,e){const r=n.getParent();_r(r)?lN(r,t,e):Zt(n)&&n.replace(yt(n.__text))}function iW(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++)Mt(r[l])&&(o+=`
32
+ `+ ++s);e.setAttribute("data-gutter",o)}const bm=new Set;function lN(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&&Ei.languages.hasOwnProperty(l)}catch{return!1}})(i))return n.getIsSyntaxHighlightSupported()&&n.setIsSyntaxHighlightSupported(!1),void(async function(){})();n.getIsSyntaxHighlightSupported()||n.setIsSyntaxHighlightSupported(!0),bm.has(r)||(bm.add(r),t.update(()=>{(function(o,s){const l=Se(o);if(!_r(l)||!l.isAttached())return;const c=G();if(!H(c))return void s();const u=c.anchor,d=u.offset,h=u.type==="element"&&Mt(l.getChildAtIndex(u.offset-1));let g=0;if(!h){const p=u.getNode();g=d+p.getPreviousSiblings().reduce((m,b)=>m+b.getTextContentSize(),0)}if(s()){if(h)return void u.getNode().select(d,d);l.getChildren().some(p=>{const m=ae(p);if(m||Mt(p)){const b=p.getTextContentSize();if(m&&b>=g)return p.select(g,g),!0;g-=b}return!1})}})(r,()=>{const o=Se(r);if(!_r(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&&xS(g[m],p[m]);)m++;const b=g.length,w=p.length,v=Math.min(b,w)-m;let C=0;for(;C<v;)if(C++,!xS(g[b-C],p[w-C])){C--;break}const x=m,N=b-C,T=p.slice(m,w-C);return{from:x,nodesForReplacement:T,to:N}})(o.getChildren(),l),{from:u,to:d,nodesForReplacement:h}=c;return!(u===d&&!h.length)&&(n.splice(u,d-u,h),!0)})},{onUpdate:()=>{bm.delete(r)},skipTransforms:!0}))}function xS(n,t){return Zt(n)&&Zt(t)&&n.__text===t.__text&&n.__highlightType===t.__highlightType||jn(n)&&jn(t)||Mt(n)&&Mt(t)}function Vs(n){if(!H(n))return!1;const t=n.anchor.getNode(),e=_r(t)?t:t.getParent(),r=n.focus.getNode(),i=_r(r)?r:r.getParent();return _r(e)&&e.is(i)}function aN(n){const t=n.getNodes(),e=[];if(t.length===1&&_r(t[0]))return e;let r=[];for(let i=0;i<t.length;i++){const o=t[i];Zt(o)||jn(o)||Mt(o)||eg(169),Mt(o)?r.length>0&&(e.push(r),r=[]):r.push(o)}if(r.length>0){const i=n.isBackward()?n.anchor:n.focus,o=Ln(r[0].getKey(),0,"text");i.is(o)||e.push(r)}return e}function SS(n){const t=G();if(!H(t)||!Vs(t))return!1;const e=aN(t),r=e.length;if(r===0&&t.isCollapsed())return n===wo&&t.insertNodes([Jr()]),!0;if(r===0&&n===wo&&t.getTextContent()===`
33
+ `){const i=Jr(),o=ir(),s=t.isBackward()?"previous":"next";return t.insertNodes([i,o]),tb(nb(_o(ms(i,"next",0),Gr(en(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=nl(s)),n===wo){const l=Jr();if(s.insertBefore(l),i===0){const c=t.isBackward()?"focus":"anchor",u=Ln(s.getKey(),0,"text");t[c].is(u)&&t[c].set(l.getKey(),0,"text")}}else jn(s)&&s.remove()}}return!0}function ES(n,t){const e=G();if(!H(e))return!1;const{anchor:r,focus:i}=e,o=r.offset,s=i.offset,l=r.getNode(),c=i.getNode(),u=n===ji;if(!Vs(e)||!Zt(l)&&!jn(l)||!Zt(c)&&!jn(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=nl(l),h=Da(c)):(d=nl(c),h=Da(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(!Zt(C)&&!jn(C)&&!Mt(C))return!1}t.preventDefault(),t.stopPropagation();const p=u?d.getPreviousSibling():h.getNextSibling();if(!Mt(p))return!0;const m=u?p.getPreviousSibling():p.getNextSibling();if(m==null)return!0;const b=Zt(m)||jn(m)||Mt(m)?u?nl(m):Da(m):null;let w=b??m;return p.remove(),g.forEach(v=>v.remove()),n===ji?(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 kS(n,t){const e=G();if(!H(e))return!1;const{anchor:r,focus:i}=e,o=r.getNode(),s=i.getNode(),l=n===jf;if(!Vs(e)||!Zt(o)&&!jn(o)||!Zt(s)&&!jn(s))return!1;const c=s;if(q3(c)==="rtl"?!l:l){const u=$3(c,i.offset);if(u!==null){const{node:d,offset:h}=u;Mt(d)?d.selectNext(0,0):e.setTextNodeRange(d,h,d,h)}else c.getParentOrThrow().selectStart()}else eW(c).select();return t.preventDefault(),t.stopPropagation(),!0}function oW(n,t){if(!n.hasNodes([xo,wl]))throw new Error("CodeHighlightPlugin: CodeNode or CodeHighlightNode not registered on editor");t==null&&(t=rW);const e=[];return n._headless!==!0&&e.push(n.registerMutationListener(xo,r=>{n.getEditorState().read(()=>{for(const[i,o]of r)if(o!=="destroyed"){const s=Se(i);s!==null&&iW(s,n)}})},{skipInitialization:!1})),e.push(n.registerNodeTransform(xo,r=>lN(r,n,t)),n.registerNodeTransform(Mn,r=>vS(r,n,t)),n.registerNodeTransform(wl,r=>vS(r,n,t)),n.registerCommand(qa,r=>{const i=(function(o){const s=G();if(!H(s)||!Vs(s))return null;const l=o?Zs:wo,c=o?Zs:Xm,u=s.anchor,d=s.focus;if(u.is(d))return c;const h=aN(s);if(h.length!==1)return l;const g=h[0];let p,m;g.length===0&&eg(285),s.isBackward()?(p=d,m=u):(p=u,m=d);const b=nl(g[0]),w=Da(g[0]),v=Ln(b.getKey(),0,"text"),C=Ln(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(Xm,()=>!!Vs(G())&&(Du([Jr()]),!0),Ne),n.registerCommand(wo,r=>SS(wo),Ne),n.registerCommand(Zs,r=>SS(Zs),Ne),n.registerCommand(ji,r=>{const i=G();if(!H(i))return!1;const{anchor:o}=i,s=o.getNode();return!!Vs(i)&&(i.isCollapsed()&&o.offset===0&&s.getPreviousSibling()===null&&_r(s.getParentOrThrow())?(r.preventDefault(),!0):ES(ji,r))},Ne),n.registerCommand(ps,r=>{const i=G();if(!H(i))return!1;const{anchor:o}=i,s=o.getNode();return!!Vs(i)&&(i.isCollapsed()&&o.offset===s.getTextContentSize()&&s.getNextSibling()===null&&_r(s.getParentOrThrow())?(r.preventDefault(),!0):ES(ps,r))},Ne),n.registerCommand(jf,r=>kS(jf,r),Ne),n.registerCommand(Qm,r=>kS(Qm,r),Ne)),et(...e)}function sW(){return Re().getTextContent()}function lW(n,t=!0){if(n)return!1;let e=sW();return t&&(e=e.trim()),e===""}function aW(n){if(!lW(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(Y(i)){if(!gn(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 cN(n){return()=>aW(n)}function cW(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 uW(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(Mn,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 b=g+u.slice(0,m);if(c.select(),c.setTextContent(b),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 b=d.getNextSibling();if(ae(b)){p=d.getTextContent()+b.getTextContent();const w=t(p);if(w===null)return void(i(b)?o(b):b.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&&cW(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 tg=class uN extends Mn{static getType(){return"hashtag"}static clone(t){return new uN(t.__text,t.__key)}createDOM(t){const e=super.createDOM(t);return ct(e,t.theme.hashtag),e}static importJSON(t){return dN().updateFromJSON(t)}canInsertTextBefore(){return!1}isTextEntity(){return!0}};function dN(n=""){return Dt(new tg(n))}const dW=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"),fW={getHashtagMatch:function(n){const t=dW.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 hW(n,t=fW){return et(...uW(n,t.getHashtagMatch,tg,e=>dN(e.getTextContent())))}const gW=new Set(["http:","https:","mailto:","sms:","tel:"]);let jl=class fN 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 fN(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(Gy(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:pW,priority:1})}}static importJSON(e){return fs().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=NS(e);try{const r=new URL(NS(e));if(!gW.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=fs(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(!H(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 pW(n){let t=null;if(Gy(n)){const e=n.textContent;(e!==null&&e!==""||n.children.length>0)&&(t=fs(n.getAttribute("href")||"",{rel:n.getAttribute("rel"),target:n.getAttribute("target"),title:n.getAttribute("title")}))}return{node:t}}function fs(n="",t){return Dt(new jl(n,t))}function Tn(n){return n instanceof jl}let ng=class hN extends jl{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 hN(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 TS().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(Y(i)){const o=TS(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return i.append(o),o}return null}};function TS(n="",t){return Dt(new ng(n,t))}function Qs(n){return n instanceof ng}const rl=ve("TOGGLE_LINK_COMMAND");function _S(n,t){if(n.type==="element"){const e=n.getNode();return Y(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 wm(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=G();if(s===null||!H(s)&&!Jt(s))return;if(Jt(s)){const d=s.getNodes();return d.length===0?void 0:void d.forEach(h=>{if(e===null){const g=Te(h,p=>!Qs(p)&&Tn(p));g&&(g.insertBefore(h),g.getChildren().length===0&&g.remove())}else{const g=Te(h,p=>!Qs(p)&&Tn(p));if(g)g.setURL(e),r!==void 0&&g.setTarget(r),o!==void 0&&g.setRel(o);else{const p=fs(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(Tn(g)&&!Qs(g)){const p=g.getKey();if(d.has(p))return;(function(m,b){const w=new Set(b.filter(_=>m.isParentOf(_)).map(_=>_.getKey())),v=m.getChildren(),C=v.filter(_=>w.has(_.getKey()));if(C.length===v.length)return v.forEach(_=>m.insertBefore(_)),void m.remove();const x=v.findIndex(_=>w.has(_.getKey())),N=v.findLastIndex(_=>w.has(_.getKey())),T=x===0,k=N===v.length-1;if(T)C.forEach(_=>m.insertBefore(_));else if(k)for(let _=C.length-1;_>=0;_--)m.insertAfter(C[_]);else{for(let M=C.length-1;M>=0;M--)m.insertAfter(C[M]);const _=v.slice(N+1);if(_.length>0){const M=fs(m.getURL(),{rel:m.getRel(),target:m.getTarget(),title:m.getTitle()});C[C.length-1].insertAfter(M),_.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,Tn);if(h!==null)return u(h)}(function(d){const h=G();if(!H(h))return d();const g=gs(h),p=g.isBackward(),m=_S(g.anchor,p?-1:0),b=_S(g.focus,p?0:-1);if(d(),m||b){const w=G();if(H(w)){const v=w.clone();if(m){const C=m.getParent();C&&v.anchor.set(C.getKey(),m.getIndexWithinParent()+(p?1:0),"element")}if(b){const C=b.getParent();C&&v.focus.set(C.getKey(),b.getIndexWithinParent()+(p?0:1),"element")}Qe(gs(v))}}})(()=>{let d=null;for(const h of l){if(!h.isAttached())continue;const g=Te(h,Tn);if(g){u(g);continue}if(Y(h)){if(!h.isInline())continue;if(Tn(h)){if(!(Qs(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();Tn(p)&&p.is(d)?p.append(h):(d=fs(e,{rel:o,target:r,title:i}),h.insertAfter(d),d.append(h))}})}const mW=/^\+?[0-9\s()-]{5,}$/;function NS(n){return n.match(/^[a-z][a-z0-9+.-]*:/i)||n.match(/^[/#.]/)?n:n.includes("@")?`mailto:${n}`:mW.test(n)?`tel:${n}`:`https://${n}`}function AW(n,t){return et(bu(()=>n.registerCommand(rl,e=>{const r=t.validateUrl.peek(),i=t.attributes.peek();if(e===null)return wm(null),!0;if(typeof e=="string")return!(r!==void 0&&!r(e))&&(wm(e,i),!0);{const{url:o,target:s,rel:l,title:c}=e;return wm(o,{...i,rel:l,target:s,title:c}),!0}},Ne)),bu(()=>{const e=t.validateUrl.value;if(!e)return;const r=t.attributes.value;return n.registerCommand(kl,i=>{const o=G();if(!H(o)||o.isCollapsed()||!yo(i,ClipboardEvent)||i.clipboardData===null)return!1;const s=i.clipboardData.getData("text");return!!e(s)&&!o.getNodes().some(l=>Y(l))&&(n.dispatchCommand(rl,{...r,url:s}),i.preventDefault(),!0)},Ne)}))}function yW(n,t,e={}){const r=o=>{const s=o.target;if(!Ol(s))return;const l=Pu(s);if(l===null)return;let c=null,u=null;if(l.update(()=>{const g=Be(s);if(g!==null){const p=Te(g,Y);if(!t.disabled.peek())if(Tn(p))c=p.sanitizeUrl(p.getURL()),u=p.getTarget();else{const m=(function(b,w){let v=b;for(;v!=null;){if(w(v))return v;v=v.parentNode}return null})(s,Gy);m!==null&&(c=m.href,u=m.target)}}}),c===null||c==="")return;const d=n.getEditorState().read(G);if(H(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 gN=[];let Zu=class pN extends At{constructor(e=gN,r){super(r);F(this,"__ids");this.__ids=e}static getType(){return"mark"}static clone(e){return new pN(e.__ids,e.__key)}static importDOM(){return null}static importJSON(e){return RA().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&&kr(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=RA(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(!H(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 RA(n=gN){return Dt(new Zu(n))}function oh(n){return n instanceof Zu}function bW(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 wW(n,t,e,r){const i=Ml(),[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(Y(c)&&c.isParentOf(d))continue;let h=null;if(ae(d))h=d;else{if(oh(d))continue;(Y(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||RA)([e]),h.insertBefore(c)),c.append(h)}else l=void 0,c=void 0}Y(c)&&(t?c.selectStart():c.selectEnd())}function CW(n,t){let e=n;for(;e!==null;){if(oh(e))return e.getIDs();if(ae(e)&&t===e.getTextContentSize()){const r=e.getNextSibling();if(oh(r))return r.getIDs()}e=e.getParent()}return null}let mN=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 vW({nodeKey:n}){const[t]=De(),[e,r,i]=qh(n);return E.useEffect(()=>et(t.registerCommand(Po,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):kr(o,s))},[t,e,n]),null}let rg=class AN extends Ob{static getType(){return"horizontalrule"}static clone(t){return new AN(t.__key)}static importJSON(t){return ic().updateFromJSON(t)}static importDOM(){return{hr:()=>({conversion:xW,priority:0})}}decorate(){return A.jsx(vW,{nodeKey:this.__key})}};function xW(){return{node:ic()}}function ic(){return Dt(new rg)}function sh(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 SW(n,t=G()){return t==null&&sh(166),H(t)&&t.isCollapsed()||t.getNodes().length===0?"":Vf(n,t)}function EW(n,t=G()){return t==null&&sh(166),H(t)&&t.isCollapsed()||t.getNodes().length===0?null:JSON.stringify(kW(n,t))}function IS(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 MS(e,TW(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 MS(e,Kh(e,l),t)}catch(l){console.error(l)}const s=o||n.getData("text/uri-list");if(s!=null)if(H(t)){const l=s.split(/(\r?\n|\t)/);l[l.length-1]===""&&l.pop();for(let c=0;c<l.length;c++){const u=G();if(H(u)){const d=l[c];d===`
34
+ `||d===`\r
35
+ `?u.insertParagraph():d===" "?u.insertNodes([Jr()]):u.insertText(d)}}}else t.insertRawText(s)}function MS(n,t,e){n.dispatchCommand(iT,{nodes:t,selection:e})||(e.insertNodes(t),(function(r){if(H(r)&&r.isCollapsed()){const i=r.anchor;let o=null;const s=Ui(i,"previous");if(s)if(Oi(s))o=s.origin;else{const l=_o(s,ei(Re(),"next").getFlipped());for(const c of l){if(ae(c.origin)){o=c.origin;break}if(Y(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 yN(n,t,e,r=[]){let i=t===null||e.isSelected(t);const o=Y(e)&&e.excludeFromCopy("html");let s=e;t!==null&&ae(s)&&(s=r1(t,s,"clone"));const l=Y(s)?s.getChildren():[],c=(function(u){const d=u.exportJSON(),h=u.constructor;if(d.type!==h.getType()&&sh(58,h.name),Y(u)){const g=d.children;Array.isArray(g)||sh(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=yN(n,t,d,c.children);!i&&Y(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 kW(n,t){const e=[],r=Re().getChildren();for(let i=0;i<r.length;i++)yN(n,t,r[i],e);return{namespace:n._config.namespace,nodes:e}}function TW(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e],i=rj(r);ae(i)&&Lj(i),t.push(i)}return t}let la=null;async function PA(n,t,e){if(la!==null)return!1;if(t!==null)return new Promise((u,d)=>{n.update(()=>{u(DS(n,t,e))})});const r=n.getRootElement(),i=n._window||window,o=i.document,s=$r(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(Nl,g=>(yo(g,ClipboardEvent)&&(h(),la!==null&&(i.clearTimeout(la),la=null),u(DS(n,g,e))),!0),An);la=i.setTimeout(()=>{h(),la=null,u(!1)},50),o.execCommand("copy"),l.remove()})}function DS(n,t,e){if(e===void 0){const i=$r(n._window),o=G();if(!o||o.isCollapsed()||!i)return!1;const s=i.anchorNode,l=i.focusNode;if(s!==null&&l!==null&&!Ru(n,s,l))return!1;e=ig(o)}t.preventDefault();const r=t.clipboardData;return r!==null&&(_W(r,e),!0)}const bN=[["text/html",SW],["application/x-lexical-editor",EW]];function ig(n=G()){const t={"text/plain":n?n.getTextContent():""};if(n){const e=Rl();for(const[r,i]of bN){const o=i(e,n);o!==null&&(t[r]=o)}}return t}function _W(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 NW(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=G();if(H(m)){const b=m.anchor;let w=b.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=b.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 LS(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 zl=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,IW=zl&&"documentMode"in document?document.documentMode:null,MW=zl&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),DW=!(!zl||!("InputEvent"in window)||IW)&&"getTargetRanges"in new window.InputEvent("input"),LW=zl&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),OS=zl&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,OW=zl&&/^(?=.*Chrome).*/i.test(navigator.userAgent),RW=zl&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&MW&&!OW,RS=ve("DRAG_DROP_PASTE_FILE");let og=class wN extends At{static getType(){return"quote"}static clone(t){return new wN(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:PW,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 sg().updateFromJSON(t)}insertNewAfter(t,e){const r=_e(),i=this.getDirection();return r.setDirection(i),this.insertAfter(r,e),r}collapseAtStart(){const t=_e();return this.getChildren().forEach(e=>t.append(e)),this.replace(t),!0}canMergeWhenEmpty(){return!0}};function sg(){return Dt(new og)}function Wa(n){return n instanceof og}let Gu=class CN extends At{constructor(e,r){super(r);F(this,"__tag");this.__tag=e}static getType(){return"heading"}static clone(e){return new CN(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&&PS(r)?{conversion:()=>({node:null}),priority:3}:null},span:e=>PS(e)?{conversion:r=>({node:os("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 os(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?_e():os(this.getTag()),l=this.getDirection();if(s.setDirection(l),this.insertAfter(s,r),i===0&&!this.isEmpty()&&e){const c=_e();c.select(),this.replace(c,!0)}return s}collapseAtStart(){const e=this.isEmpty()?_e():os(this.getTag());return this.getChildren().forEach(r=>e.append(r)),this.replace(e),!0}extractWithChild(){return!0}};function PS(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=os(t),n.style!==null&&(Vy(n,e),e.setFormat(n.style.textAlign))),{node:e}}function PW(n){const t=sg();return n.style!==null&&(t.setFormat(n.style.textAlign),Vy(n,t)),{node:t}}function os(n="h1"){return Dt(new Gu(n))}function So(n){return n instanceof Gu}function Ca(n){let t=null;if(yo(n,DragEvent)?t=n.dataTransfer:yo(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 BS(n){const t=G();if(!H(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=>Y(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 FS(n){const t=Be(n);return ot(t)}function Cm(n){for(const t of["lowercase","uppercase","capitalize"])n.hasFormat(t)&&n.toggleFormat(t)}function BW(n){return et(n.registerCommand(Po,t=>{const e=G();return!!Jt(e)&&(e.clear(),!0)},Ke),n.registerCommand(Li,t=>{const e=G();return H(e)?(e.deleteCharacter(t),!0):!!Jt(e)&&(e.deleteNodes(),!0)},Ke),n.registerCommand(Pa,t=>{const e=G();return!!H(e)&&(e.deleteWord(t),!0)},Ke),n.registerCommand(al,t=>{const e=G();return!!H(e)&&(e.deleteLine(t),!0)},Ke),n.registerCommand(as,t=>{const e=G();if(typeof t=="string")e!==null&&e.insertText(t);else{if(e===null)return!1;const r=t.dataTransfer;if(r!=null)IS(r,e,n);else if(H(e)){const i=t.data;return i&&e.insertText(i),!0}}return!0},Ke),n.registerCommand(Vm,()=>{const t=G();return!!H(t)&&(t.removeText(),!0)},Ke),n.registerCommand($t,t=>{const e=G();return!!H(e)&&(e.formatText(t),!0)},Ke),n.registerCommand(Nh,t=>{const e=G();if(!H(e)&&!Jt(e))return!1;const r=e.getNodes();for(const i of r){const o=Te(i,s=>Y(s)&&!s.isInline());o!==null&&o.setFormat(t)}return!0},Ke),n.registerCommand(qs,t=>{const e=G();return!!H(e)&&(e.insertLineBreak(t),!0)},Ke),n.registerCommand(To,()=>{const t=G();return!!H(t)&&(t.insertParagraph(),!0)},Ke),n.registerCommand(Xm,()=>(Du([Jr()]),!0),Ke),n.registerCommand(wo,()=>BS(t=>{const e=t.getIndent();t.setIndent(e+1)}),Ke),n.registerCommand(Zs,()=>BS(t=>{const e=t.getIndent();e>0&&t.setIndent(Math.max(0,e-1))}),Ke),n.registerCommand(ji,t=>{const e=G();if(Jt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),r[0].selectPrevious(),!0}else if(H(e)){const r=lA(e.focus,!0);if(!t.shiftKey&&ot(r)&&!r.isIsolated()&&!r.isInline())return r.selectPrevious(),t.preventDefault(),!0}return!1},Ke),n.registerCommand(ps,t=>{const e=G();if(Jt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),r[0].selectNext(0,0),!0}else if(H(e)){if((function(i){const o=i.focus;return o.key==="root"&&o.offset===Re().getChildrenSize()})(e))return t.preventDefault(),!0;const r=lA(e.focus,!1);if(!t.shiftKey&&ot(r)&&!r.isIsolated()&&!r.isInline())return r.selectNext(),t.preventDefault(),!0}return!1},Ke),n.registerCommand(_h,t=>{const e=G();if(Jt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),ox(r[0])?r[0].selectNext(0,0):r[0].selectPrevious(),!0}if(!H(e))return!1;if(ax(e,!0)){const r=t.shiftKey;return t.preventDefault(),cx(e,r,!0),!0}return!1},Ke),n.registerCommand(Th,t=>{const e=G();if(Jt(e)){const i=e.getNodes();if(i.length>0)return t.preventDefault(),ox(i[0])?i[0].selectPrevious():i[0].selectNext(0,0),!0}if(!H(e))return!1;const r=t.shiftKey;return!!ax(e,!1)&&(t.preventDefault(),cx(e,r,!1),!0)},Ke),n.registerCommand(_l,t=>{if(FS(t.target))return!1;const e=G();if(H(e)){if((function(r){if(!r.isCollapsed())return!1;const{anchor:i}=r;if(i.offset!==0)return!1;const o=i.getNode();if(Wt(o))return!1;const s=ju(o);return s.getIndent()>0&&(s.is(o)||o.is(s.getFirstDescendant()))})(e))return t.preventDefault(),n.dispatchCommand(Zs,void 0);if(OS&&navigator.language==="ko-KR")return!1}else if(!Jt(e))return!1;return t.preventDefault(),n.dispatchCommand(Li,!0)},Ke),n.registerCommand(Xa,t=>{if(FS(t.target))return!1;const e=G();return!(!H(e)&&!Jt(e))&&(t.preventDefault(),n.dispatchCommand(Li,!1))},Ke),n.registerCommand(cl,t=>{const e=G();if(!H(e))return!1;if(Cm(e),t!==null){if((OS||LW||RW)&&DW)return!1;if(t.preventDefault(),t.shiftKey)return n.dispatchCommand(qs,!1)}return n.dispatchCommand(To,void 0)},Ke),n.registerCommand(Qa,()=>{const t=G();return!!H(t)&&(n.blur(),!0)},Ke),n.registerCommand(My,t=>{const[,e]=Ca(t);if(e.length>0){const i=LS(t.clientX,t.clientY);if(i!==null){const{offset:o,node:s}=i,l=Be(s);if(l!==null){const c=Ml();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=gs(c);Qe(u)}n.dispatchCommand(RS,e)}return t.preventDefault(),!0}const r=G();return!!H(r)},Ke),n.registerCommand(Dy,t=>{const[e]=Ca(t),r=G();return!(e&&!H(r))},Ke),n.registerCommand(Ly,t=>{const[e]=Ca(t),r=G();if(e&&!H(r))return!1;const i=LS(t.clientX,t.clientY);if(i!==null){const o=Be(i.node);ot(o)&&t.preventDefault()}return!0},Ke),n.registerCommand(qm,()=>(jT(),!0),Ke),n.registerCommand(Nl,t=>(PA(n,yo(t,ClipboardEvent)?t:null),!0),Ke),n.registerCommand(Iu,t=>((async function(e,r){await PA(r,yo(e,ClipboardEvent)?e:null),r.update(()=>{const i=G();H(i)?i.removeText():Jt(i)&&i.getNodes().forEach(o=>o.remove())})})(t,n),!0),Ke),n.registerCommand(kl,t=>{const[,e,r]=Ca(t);return e.length>0&&!r?(n.dispatchCommand(RS,e),!0):Ol(t.target)&&zy(t.target)?!1:G()!==null&&((function(i,o){i.preventDefault(),o.update(()=>{const s=G(),l=yo(i,InputEvent)||yo(i,KeyboardEvent)?null:i.clipboardData;l!=null&&s!==null&&IS(l,s,o)},{tag:KF})})(t,n),!0)},Ke),n.registerCommand(Iy,t=>{const e=G();return H(e)&&Cm(e),!1},Ke),n.registerCommand(qa,t=>{const e=G();return H(e)&&Cm(e),!1},Ke))}function je(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 lh(...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 Cs={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",code:"dsd__theme__textCode",italic:"dsd__theme__textItalic",strikethrough:"dsd__theme__textStrikethrough",subscript:"dsd__theme__textSubscript",superscript:"dsd__theme__textSuperscript",underline:"dsd__theme__textUnderline",underlineStrikethrough:"dsd__theme__textUnderlineStrikethrough"}},FW=n=>{const t={...Cs,text:{...Cs.text}};return n==="comment"&&t.text&&(delete t.text.strikethrough,delete t.text.underlineStrikethrough),t};function BA(n){let t=1,e=n.getParent();for(;e!=null;){if(vt(e)){const r=e.getParent();if(Ve(r)){t++,e=r.getParent();continue}je(!1,"A ListItemNode must have a ListNode for a parent.")}return t}return t}function FA(n){let t=n.getParent();Ve(t)||je(!1,"A ListItemNode must have a ListNode for a parent.");let e=t;for(;e!==null;)e=e.getParent(),Ve(e)&&(t=e);return t}function vN(n){let t=[];const e=n.getChildren().filter(vt);for(let r=0;r<e.length;r++){const i=e[r],o=i.getFirstChild();Ve(o)?t=t.concat(vN(o)):t.push(i)}return t}function Ni(n){return vt(n)&&Ve(n.getFirstChild())}function jW(n){let t=n;for(;t.getNextSibling()==null&&t.getPreviousSibling()==null;){const e=t.getParent();if(e==null||!(vt(t)||Ve(t)))break;t=e}t.remove()}function jS(n){return Ar().append(n)}function xN(n,t){return vt(n)&&(t.length===0||t.length===1&&n.is(t[0])&&n.getChildrenSize()===0)}function jA(n,t){n.update(()=>{const e=G();if(e!==null){const r=e.getNodes();if(H(e)){const o=e.getStartEndPoints();je(o!==null,"insertList: anchor should be defined");const[s]=o,l=s.getNode(),c=l.getParent();if(xN(l,r)){const u=rr(t);if(Qn(c)){l.replace(u);const d=Ar();Y(l)&&(d.setFormat(l.getFormatType()),d.setIndent(l.getIndent())),u.append(d)}else if(vt(l)){const d=l.getParentOrThrow();Cl(u,d.getChildren()),d.replace(u)}return}}const i=new Set;for(let o=0;o<r.length;o++){const s=r[o];if(Y(s)&&s.isEmpty()&&!vt(s)&&!i.has(s.getKey())){zS(s,t);continue}if(MT(s)){let l=s.getParent();for(;l!=null;){const c=l.getKey();if(Ve(l)){if(!i.has(c)){const u=rr(t);Cl(u,l.getChildren()),l.replace(u),i.add(c)}break}else{const u=l.getParent();if(Qn(u)&&!i.has(c)){i.add(c),zS(l,t);break}l=u}}}}}})}function Cl(n,t){n.splice(n.getChildrenSize(),0,t)}function zS(n,t){if(Ve(n))return n;const e=n.getPreviousSibling(),r=n.getNextSibling(),i=Ar();if(i.setFormat(n.getFormatType()),i.setIndent(n.getIndent()),Cl(i,n.getChildren()),Ve(e)&&t===e.getListType())return e.append(i),n.remove(),Ve(r)&&t===r.getListType()&&(Cl(e,r.getChildren()),r.remove()),e;if(Ve(r)&&t===r.getListType())return r.getFirstChildOrThrow().insertBefore(i),n.remove(),r;{const o=rr(t);return o.append(i),n.replace(o),o}}function zb(n,t){const e=n.getLastChild(),r=t.getFirstChild();e&&r&&Ni(e)&&Ni(r)&&(zb(e.getFirstChild(),r.getFirstChild()),r.remove());const i=t.getChildren();i.length>0&&n.append(...i),t.remove()}function zW(n){n.update(()=>{const t=G();if(H(t)){const e=new Set,r=t.getNodes(),i=t.anchor.getNode();if(xN(i,r))e.add(FA(i));else for(let o=0;o<r.length;o++){const s=r[o];if(MT(s)){const l=rb(s,wn);l!=null&&e.add(FA(l))}}for(const o of e){let s=o;const l=vN(o);for(const c of l){const u=_e();Cl(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 UW(n){const t=n.getListType()!=="check";let e=n.getStart();for(const r of n.getChildren())vt(r)&&(r.getValue()!==e&&r.setValue(e),t&&r.getLatest().__checked!=null&&r.setChecked(void 0),Ve(r.getFirstChild())||e++)}function KW(n){const t=n.getNextSibling();Ve(t)&&n.getListType()===t.getListType()&&zb(n,t)}function WW(n){const t=new Set;if(Ni(n)||t.has(n.getKey()))return;const e=n.getParent(),r=n.getNextSibling(),i=n.getPreviousSibling();if(Ni(r)&&Ni(i)){const o=i.getFirstChild();if(Ve(o)){o.append(n);const s=r.getFirstChild();if(Ve(s)){const l=s.getChildren();Cl(o,l),r.remove(),t.add(r.getKey())}}}else if(Ni(r)){const o=r.getFirstChild();if(Ve(o)){const s=o.getFirstChild();s!==null&&s.insertBefore(n)}}else if(Ni(i)){const o=i.getFirstChild();Ve(o)&&o.append(n)}else if(Ve(e)){const o=Ar(),s=rr(e.getListType());o.append(s),s.append(n),i?i.insertAfter(o):r?r.insertBefore(o):e.append(o)}}function HW(n){if(Ni(n))return;const t=n.getParent(),e=t?t.getParent():void 0,r=e?e.getParent():void 0;if(Ve(r)&&vt(e)&&Ve(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=Ar(),c=rr(s);l.append(c),n.getPreviousSiblings().forEach(h=>c.append(h));const u=Ar(),d=rr(s);u.append(d),Cl(d,n.getNextSiblings()),e.insertBefore(l),e.insertAfter(u),e.replace(n)}}}function YW(){const n=G();if(!H(n)||!n.isCollapsed())return!1;const t=n.anchor.getNode();if(!vt(t)||t.getChildrenSize()!==0)return!1;const e=FA(t),r=t.getParent();je(Ve(r),"A ListItemNode must have a ListNode for a parent.");const i=r.getParent();let o;if(Qn(i))o=_e(),e.insertAfter(o);else if(vt(i))o=Ar(),i.insertAfter(o);else return!1;o.select();const s=t.getNextSiblings();if(s.length>0){const l=rr(r.getListType());if(gn(o))o.insertAfter(l);else{const c=Ar();c.append(l),o.insertAfter(c)}s.forEach(c=>{c.remove(),l.append(c)})}return jW(t),!0}class wn 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 wn(e.__value,e.__checked,e.__opened,e.__isIndeterminate,e.__key)}createDOM(e){const r=document.createElement("li"),i=this.getParent();return Ve(i)&&i.getListType()==="check"&&KS(r,this,null),r.value=this.__value,US(r,e.theme,this),r}updateDOM(e,r,i){const o=this.getParent();return Ve(o)&&o.getListType()==="check"&&KS(r,this,e),r.value=this.__value,US(r,i.theme,this),!1}static transform(){return e=>{if(je(vt(e),"node is not a ListItemNode"),e.__checked==null)return;const r=e.getParent();Ve(r)&&r.getListType()!=="check"&&e.getChecked()!=null&&e.setChecked(void 0)}}static importDOM(){return{li:()=>({conversion:ZW,priority:0})}}static importJSON(e){const r=Ar(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(Y(i)&&this.canMergeWith(i)){const o=i.getChildren();this.append(...o),i.remove()}else super.append(i)}return this}replace(e,r){if(vt(e))return super.replace(e);this.setIndent(0);const i=this.getParentOrThrow();if(!Ve(i))return e;if(i.__first===this.getKey())i.insertBefore(e);else if(i.__last===this.getKey())i.insertAfter(e);else{const o=rr(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&&(je(Y(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(Ve(i)||je(!1,"insertAfter: list node is not parent of list item node"),vt(e))return super.insertAfter(e,r);const o=this.getNextSiblings();if(i.insertAfter(e,r),o.length!==0){const s=rr(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&&Ni(r)&&Ni(i)&&(zb(r.getFirstChild(),i.getFirstChild()),i.remove())}insertNewAfter(e,r=!0){const i=Ar(this.__checked==null?void 0:!1);return this.insertAfter(i,r),i}collapseAtStart(e){const r=_e();this.getChildren().forEach(c=>r.append(c));const o=this.getParentOrThrow(),s=o.getParentOrThrow(),l=vt(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 Ve(i)&&(r=i.getListType()),r==="check"?!!e.__checked:void 0}getOpened(){const e=this.getLatest();let r;const i=this.getParent();return Ve(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(;vt(r);)r=r.getParentOrThrow().getParentOrThrow(),i++;return i}setIndent(e){je(typeof e=="number","Invalid indent value."),e=Math.floor(e),je(e>=0,"Indent value must be non-negative.");let r=this.getIndent();for(;r!==e;)r<e?(WW(this),r++):(HW(this),r--);return this}canInsertAfter(e){return vt(e)}canReplaceWith(e){return vt(e)}canMergeWith(e){return gn(e)||vt(e)}extractWithChild(e,r){if(!H(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 rr("bullet")}canMergeWhenEmpty(){return!0}}function US(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(...lh(s)),o){const c=e.getParent(),u=Ve(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=lh(l);e.getChildren().some(u=>Ve(u))?r.push(...c):i.push(...c)}e.__isIndeterminate?r=[...r,Cs.listitemIndeterminate]:i=[...i,Cs.listitemIndeterminate],i.length>0&&kr(n,...i),r.length>0&&ct(n,...r)}function KS(n,t,e,r){Ve(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 ZW(n){if(n.classList.contains("task-list-item")){for(const l of n.children)if(l.tagName==="INPUT")return GW(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(Cs.listitemIndeterminate);return{node:Ar(i,o,s)}}function GW(n){if(!(n.getAttribute("type")==="checkbox"))return{node:null};const e=n.hasAttribute("checked");return{node:Ar(e,!1,!0)}}function Ar(n,t,e){return Dt(new wn(void 0,n,t,e))}function vt(n){return n instanceof wn}class pi extends Mn{constructor(t,e){super(t,e)}static getType(){return"extended-text"}static clone(t){return new pi(t.__text,t.__key)}static importDOM(){const t=Mn.importDOM(),e=document.body.getAttribute("mode")?{code:()=>({conversion:es(t==null?void 0:t.span),priority:1}),s:()=>({conversion:es(t==null?void 0:t.span),priority:1})}:{code:()=>({conversion:es(t==null?void 0:t.code),priority:1})};return{...t,...e,em:()=>({conversion:es(t==null?void 0:t.em),priority:1}),span:()=>({conversion:es(t==null?void 0:t.span),priority:1}),strong:()=>({conversion:es(t==null?void 0:t.strong),priority:1}),sub:()=>({conversion:es(t==null?void 0:t.sub),priority:1}),sup:()=>({conversion:es(t==null?void 0:t.sup),priority:1})}}static importJSON(t){return Mn.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 Do(n=""){return Dt(new pi(n))}function Un(n){return n instanceof pi}function es(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(Un(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 yr extends At{constructor(e,r,i){super(i);F(this,"__tag");F(this,"__start");F(this,"__listType");const o=YS[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||YS[e.__tag];return new yr(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,WS(o,e.theme,this),o}updateDOM(e,r,i){return e.__tag!==this.__tag?!0:(WS(r,i.theme,this),!1)}static transform(){return e=>{je(Ve(e),"node is not a ListNode"),KW(e),UW(e)}}static importDOM(){return{ol:()=>({conversion:HS,priority:0}),ul:()=>({conversion:HS,priority:0})}}static importJSON(e){const r=rr(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(vt(i))super.append(i);else{const o=Ar();if(Ve(i))o.append(i);else if(Y(i)){const s=Do(i.getTextContent());o.append(s)}else o.append(i);super.append(o)}}return this}extractWithChild(e){return vt(e)}}function WS(n,t,e){const r=[],i=[],o=t.list;if(o!==void 0){const s=o[`${e.__tag}Depth`]||[],l=BA(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(...lh(u));for(let m=0;m<s.length;m++)m!==c&&i.push(e.__tag+m)}if(h!==void 0){const m=lh(h);l>1?r.push(...m):i.push(...m)}}i.length>0&&kr(n,...i),r.length>0&&ct(n,...r)}function JW(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e];if(vt(r)){t.push(r);const i=r.getChildren();i.length>1&&i.forEach(o=>{Ve(o)&&t.push(jS(o))})}else t.push(jS(r))}return t}function VW(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 HS(n){const t=n.nodeName.toLowerCase();let e=null;if(t==="ol"){const r=n.start;e=rr("number",r)}else t==="ul"&&(VW(n)?e=rr("check"):e=rr("bullet"));return{after:JW,node:e}}const YS={ol:"number",ul:"bullet"};function rr(n,t=1){return Dt(new yr(n,t))}function Ve(n){return n instanceof yr}const SN=ve("INSERT_UNORDERED_LIST_COMMAND"),Ub=ve("INSERT_ORDERED_LIST_COMMAND"),EN=ve("INSERT_CHECK_LIST_COMMAND"),QW=ve("REMOVE_LIST_COMMAND");function XW(n){return et(n.registerCommand(Ub,()=>(jA(n,"number"),!0),Ne),n.registerCommand(SN,()=>(jA(n,"bullet"),!0),Ne),n.registerCommand(QW,()=>(zW(n),!0),Ne),n.registerCommand(To,()=>!!YW(),Ne))}const ah=/^(\d+(?:\.\d+)?)px$/,hn={BOTH:3,COLUMN:2,NO_STATUS:0,ROW:1};class di extends At{constructor(e=hn.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 di(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:ZS,priority:0}),th:e=>({conversion:ZS,priority:0})}}static importJSON(e){const r=e.colSpan||1,i=e.rowSpan||1;return fi(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=hn.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!==hn.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 ZS(n){const t=n,e=n.nodeName.toLowerCase();let r;(ah.test(t.style.minWidth)||ah.test(t.style.maxWidth))&&(r=parseFloat(t.style.minWidth));const i=fi(e==="th"?hn.ROW:hn.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(_e()),g),forChild:(g,p)=>{if(Oe(p)&&!Y(g)){const m=_e();return Mt(g)&&g.getTextContent()===`
36
+ `?null:(Un(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 fi(n,t=1,e){return Dt(new di(n,t,e))}function Oe(n){return n instanceof di}const lg=ve("INSERT_TABLE_COMMAND");function kN(n,t){if(t.add(n.getKey()),Y(n))for(const e of n.getChildren())kN(e,t)}const ag=[".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"],zA=[...ag,"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)"],qW=[...ag,"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"],$W=[...ag,"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"],e8=[...ag,"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"],TN=n=>{const t=document.querySelectorAll(".selected-block");if(t.length===0)return;setTimeout(()=>{n.update(()=>{const r=Lh();t.forEach(i=>{const o=Be(i);o&&kN(o,r)}),Qe(r)})},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=>{Ju(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})})},t8={container:document.body,getScrollPosition:()=>[document.documentElement.scrollLeft,document.documentElement.scrollTop],throttleTime:30,threshold:0},GS=(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")||Qe(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)}))},Kb=(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=GS(i,s,n);document.body.addEventListener("mousedown",l),document.addEventListener("keydown",l)}}else{const i="selected-all-document",o=GS(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")}},Ju=n=>{n.classList.remove("selected-block"),n.classList.add("selected-block-hidden")},vm=n=>{n.querySelectorAll(".selected-block").forEach(e=>{Ju(e)})},n8=(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=_N(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:r8(c,d)}),setTimeout(()=>{i==null||i.findSelectableTargets(),i==null||i.setSelectedTargets(n.selected)})}}else!e.depth&&n.added.length&&(r({depth:999,targets:qW}),setTimeout(()=>{i==null||i.findSelectableTargets(),i==null||i.setSelectedTargets(n.selected)}));n.added.forEach(s=>{Kb(t,{block:s,isCreateEventListener:!1})}),n.removed.forEach(s=>{Ju(s)})},va=()=>{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}},JS=(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 r8(n,t){if(n<1)throw new Error("Depth must be >= 1");const e=[];if(e.push(JS(t,n,!1)),e.push(JS(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[...$W,...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[...e8,...e]}return[...zA,...e]}function _N(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")?_N(e)??e:e}const oc=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function mo(n){n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation()}class sc extends At{constructor(e,r){super(r);F(this,"__height");this.__height=e}static getType(){return"tablerow"}static clone(e){return new sc(e.__height,e.__key)}static importDOM(){return{tr:e=>({conversion:i8,priority:0})}}static importJSON(e){return wu(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 i8(n){const t=n;let e;return ah.test(t.style.height)&&(e=parseFloat(t.style.height)),{node:wu(e)}}function wu(n){return Dt(new sc(n))}function an(n){return n instanceof sc}function o8(n,t,e=!0){const r=Gb();for(let i=0;i<n;i++){const o=wu();for(let s=0;s<t;s++){let l=hn.NO_STATUS;typeof e=="object"?(i===0&&e.rows&&(l|=hn.ROW),s===0&&e.columns&&(l|=hn.COLUMN)):e&&(i===0&&(l|=hn.ROW),s===0&&(l|=hn.COLUMN));const c=fi(l),u=_e();u.append(Do()),c.append(u),o.append(c)}r.append(o)}return r}function NN(n){const t=Te(n,e=>an(e));if(an(t))return t;throw new Error("Expected table cell to be inside of table row.")}function ss(n){const t=Te(n,e=>wt(e));if(wt(t))return t;throw new Error("Expected table cell to be inside of table.")}function cg(n){const t=NN(n);return ss(t).getChildren().findIndex(r=>r.is(t))}function ug(n){return NN(n).getChildren().findIndex(e=>e.is(n))}const s8=(n,t)=>n===hn.BOTH||n===t?t:hn.NO_STATUS;function ch(n=!0){const t=G();je(H(t)||bt(t),"Expected a RangeSelection or TableSelection");const e=t.focus.getNode(),[r,,i]=zn(e),[o,s]=Qr(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=wu();for(let m=0;m<l;m++){const{cell:b,startRow:w}=h[m];if(w+b.__rowSpan-1<=d){const C=h[m].cell.__headerState;g.append(fi(C).append(_e()))}else b.setRowSpan(b.__rowSpan+1)}const p=i.getChildAtIndex(d);je(an(p),"focusEndRow is not a TableRowNode"),p.insertAfter(g),u=g}else{const d=o[c],h=wu();for(let p=0;p<l;p++){const{cell:m,startRow:b}=d[p];if(b===c){const v=d[p].cell.__headerState;h.append(fi(v).append(_e()))}else m.setRowSpan(m.__rowSpan+1)}const g=i.getChildAtIndex(c);je(an(g),"focusEndRow is not a TableRowNode"),g.insertBefore(h),u=h}return u}function UA(n=!0){const t=G();je(H(t)||bt(t),"Expected a RangeSelection or TableSelection");const e=t.anchor.getNode(),r=t.focus.getNode(),[i]=zn(e),[o,,s]=zn(r),[l,c,u]=Qr(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();je(an(p),"Expected firstTable child to be a row");let m=null;function b(C=hn.NO_STATUS){const x=fi(C).append(_e());return m===null&&(m=x),x}let w=p;e:for(let C=0;C<d;C++){if(C!==0){const I=w.getNextSibling();je(an(I),"Expected row nextSibling to be a row"),w=I}const x=l[C],N=x[g<0?0:g].cell.__headerState,T=s8(N,hn.ROW);if(g<0){Wb(w,b(T));continue}const{cell:k,startColumn:_,startRow:M}=x[g];if(_+k.__colSpan-1<=g){let I=k,R=M,B=g;for(;R!==C&&I.__rowSpan>1;)if(B-=k.__colSpan,B>=0){const{cell:j,startRow:K}=x[B];I=j,R=K}else{w.append(b(T));continue e}const U=C?0:T;I.insertAfter(b(U))}else k.setColSpan(k.__colSpan+1)}m!==null&&Cu(m);const v=s.getColWidths();if(v){const C=[...v],x=g<0?0:g,N=C[x];C.splice(x,0,N),s.setColWidths(C)}return m}function l8(){const n=G();je(H(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]=zn(t),[o]=zn(e),[s,l,c]=Qr(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 b=h;b>=u;b--){for(let v=g-1;v>=0;v--){const{cell:C,startRow:x,startColumn:N}=s[b][v];if(N===v&&(b===u&&x<u&&C.setRowSpan(C.__rowSpan-(x-u)),x>=u&&x+C.__rowSpan-1>h))if(C.setRowSpan(C.__rowSpan-(h-x+1)),je(m!==null,"Expected nextRowNode not to be null"),v===0)Wb(m,C);else{const{cell:T}=p[v-1];T.insertAfter(C)}}const w=i.getChildAtIndex(b);je(an(w),"Expected TableNode childAtIndex(%s) to be RowNode",String(b)),w.remove()}if(p!==void 0){const{cell:b}=p[0];Cu(b)}else{const b=s[u-1],{cell:w}=b[0];Cu(w)}}function a8(){const n=G();je(H(n)||bt(n),"Expected a RangeSelection or TableSelection");const t=n.anchor.getNode(),e=n.focus.getNode(),[r,,i]=zn(t),[o]=zn(e),[s,l,c]=Qr(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 N=0;N<w;N++)for(let T=g;T<=p;T++){const{cell:k,startColumn:_}=s[N][T];if(_<g){if(T===g){const M=g-_;k.setColSpan(k.__colSpan-Math.min(m,k.__colSpan-M))}}else if(_+k.__colSpan-1>p){if(T===p){const M=p-_+1;k.setColSpan(k.__colSpan-M)}}else k.remove()}const v=s[d],C=u>h?v[u+r.__colSpan]:v[h+o.__colSpan];if(C!==void 0){const{cell:N}=C;Cu(N)}else{const N=h<u?v[h-1]:v[u-1],{cell:T}=N;Cu(T)}const x=i.getColWidths();if(x){const N=[...x];N.splice(g,m),i.setColWidths(N)}}function Cu(n){const t=n.getFirstDescendant();t==null?n.selectStart():t.getParentOrThrow().selectStart()}function Wb(n,t){const e=n.getFirstChild();e!==null?e.insertBefore(t):n.append(t)}function c8(){const n=G();je(H(n)||bt(n),"Expected a RangeSelection or TableSelection");const t=n.anchor.getNode(),[e,r,i]=zn(t),o=e.__colSpan,s=e.__rowSpan;if(o===1&&s===1)return;const[l,c]=Qr(i,e,e),{startColumn:u,startRow:d}=c,h=e.__headerState&hn.COLUMN,g=Array.from({length:o},(b,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&hn.ROW,m=Array.from({length:s},(b,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 b=1;b<o;b++)e.insertAfter(fi(g[b]|m[0]).append(_e()));e.setColSpan(1)}if(s>1){let b;for(let w=1;w<s;w++){const v=d+w,C=l[v];b=(b||r).getNextSibling(),je(an(b),"Expected row next sibling to be a row");let x=null;for(let N=0;N<u;N++){const T=C[N],k=T.cell;T.startRow===v&&(x=k),k.__colSpan>1&&(N+=k.__colSpan-1)}if(x===null)for(let N=o-1;N>=0;N--)Wb(b,fi(g[N]|m[w]).append(_e()));else for(let N=o-1;N>=0;N--)x.insertAfter(fi(g[N]|m[w]).append(_e()))}e.setRowSpan(1)}}function Qr(n,t,e){const[r,i,o]=IN(n,t,e);return je(i!==null,"Anchor not found in Table"),je(o!==null,"Focus not found in Table"),[r,i,o]}function IN(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];je(an(u),"Expected TableNode children to be TableRowNode");for(let d=u.getFirstChild(),h=0;d!=null;d=d.getNextSibling()){je(Oe(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:b}=d;for(let w=0;w<m&&!(c+w>=l.length);w++){const v=s(c+w);for(let C=0;C<b;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 zn(n){let t;if(n instanceof di)t=n;else if("__type"in n){const i=Te(n,Oe);je(Oe(i),"Expected to find a parent TableCellNode"),t=i}else{const i=Te(n.getNode(),Oe);je(Oe(i),"Expected to find a parent TableCellNode"),t=i}const e=t.getParent();je(an(e),"Expected TableCellNode to have a parent TableRowNode");const r=e.getParent();return je(wt(r),"Expected TableRowNode to have a parent TableNode"),[t,e,r]}function VS(n){const[t,,e]=zn(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 b=0;b<p;b++)for(let w=0;w<m;w++)s[l+b][d+w]=g;if(t===g)return{colSpan:m,columnIndex:d,rowIndex:l,rowSpan:p};d+=m}}return null}class dg{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 dg(this.tableKey,this.anchor,this.focus)}isCollapsed(){return!1}extract(){return this.getNodes()}insertRawText(t){}insertText(){}hasFormat(t){let e=0;this.getNodes().filter(Oe).forEach(o=>{const s=o.getFirstChild();gn(s)&&(e|=s.getTextFormat())});const i=ko[t];return(e&i)!==0}insertNodes(t){const e=this.focus.getNode();je(Y(e),"Expected TableSelection focus to be an ElementNode"),gs(e.select(0,e.getChildrenSize())).insertNodes(t)}getShape(){const t=Se(this.anchor.key);je(Oe(t),"Expected TableSelection anchor to be (or a child of) TableCellNode");const e=VS(t);je(e!==null,"getCellRect: expected to find AnchorNode");const r=Se(this.focus.key);je(Oe(r),"Expected TableSelection focus to be (or a child of) TableCellNode");const i=VS(r);je(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,Oe),o=Te(r,Oe);je(Oe(i),"Expected TableSelection anchor to be (or a child of) TableCellNode"),je(Oe(o),"Expected TableSelection focus to be (or a child of) TableCellNode");const s=i.getParent();je(an(s),"Expected anchorCell to have a parent TableRowNode");const l=s.getParent();je(wt(l),"Expected tableNode to have a parent TableNode");const c=o.getParents()[1];if(c!==l){if(l.isParentOf(o)){const M=c.getParent();je(M!=null,"Expected focusCellParent to have a parent"),this.set(this.tableKey,o.getKey(),M.getKey())}else{const M=l.getParent();je(M!=null,"Expected gridParent to have a parent"),this.set(this.tableKey,M.getKey(),o.getKey())}return this.getNodes()}const[u,d,h]=Qr(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),b=Math.max(d.startRow+d.cell.__rowSpan-1,h.startRow+h.cell.__rowSpan-1),w=g,v=p,C=g,x=p;function N(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),b=Math.max(b,B+I.__rowSpan-1)}for(;g<w||p<v||m>C||b>x;){if(g<w){const M=x-v,I=w-1;for(let R=0;R<=M;R++)N(u[v+R][I]);w=I}if(p<v){const M=C-w,I=v-1;for(let R=0;R<=M;R++)N(u[I][w+R]);v=I}if(m>C){const M=x-v,I=C+1;for(let R=0;R<=M;R++)N(u[v+R][I]);C=I}if(b>x){const M=C-w,I=x+1;for(let R=0;R<=M;R++)N(u[I][w+R]);x=I}}const T=new Map([[l.getKey(),l]]);let k=null;for(let M=p;M<=b;M++)for(let I=g;I<=m;I++){const{cell:R}=u[M][I],B=R.getParent();je(an(B),"Expected TableCellNode parent to be a TableRowNode"),B!==k&&T.set(B.getKey(),B),T.set(R.getKey(),R);for(const U of u8(R))T.set(U.getKey(),U);k=B}const _=Array.from(T.values());return Dl()||(this._cachedNodes=_),_}getTextContent(){const t=this.getNodes().filter(r=>Oe(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 dg}function QS(){const n=Ln("root",0,"element"),t=Ln("root",0,"element");return new dg("root",n,t)}function u8(n){const t=[],e=[n];for(;e.length>0;){const r=e.pop();je(r!==void 0,"Stack.length > 0; can't be undefined"),Y(r)&&e.unshift(...r.getChildren()),r!==n&&t.push(r)}return t}function MN(n,t=Rl()){const e=Se(n);je(wt(e),"TableObserver: Expected tableNodeKey %s to be a TableNode",n);const r=vl(e,t.getElementByKey(n));return je(r!==null,"TableObserver: Expected to find TableElement in DOM for key %s",n),{tableElement:r,tableNode:e}}class d8{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 MN(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=qc(i,o)}catch{}},{editor:this.editor})});this.editor.getEditorState().read(()=>{const{tableNode:e,tableElement:r}=this.$lookup();this.table=qc(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=qc(e,r);of(t,i,null),Qe(null),t.dispatchCommand(Yr,void 0)})}enableHighlightStyle(){const t=this.editor;t.getEditorState().read(()=>{const{tableElement:e}=this.$lookup();kr(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(),of(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=DN(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=Be(t.elem);if(this.tableSelection!=null&&this.anchorCellNodeKey!=null&&Oe(l)&&i.is(xa(l))){const c=l.getKey();this.tableSelection=this.tableSelection.clone()||QS(),this.focusCellNodeKey=c,this.tableSelection.set(this.tableNodeKey,this.anchorCellNodeKey,this.focusCellNodeKey),Qe(this.tableSelection),r.dispatchCommand(Yr,void 0),of(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=Be(t.elem);if(Oe(e)){const r=e.getKey();this.tableSelection=this.tableSelection!=null?this.tableSelection.clone():QS(),this.anchorCellNodeKey=r}})}formatCells(t){this.editor.update(()=>{const e=G();bt(e)||je(!1,"Expected grid selection");const r=Ml(),i=r.anchor,o=r.focus,s=e.getNodes().filter(Oe),l=s[0].getFirstChild(),c=gn(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)}),Qe(e),this.editor.dispatchCommand(Yr,void 0)})}clearText(){const t=this.editor;t.update(()=>{const e=Se(this.tableNodeKey);if(!wt(e))throw new Error("Expected TableNode.");const r=G();bt(r)||je(!1,"Expected grid selection");const i=r.getNodes().filter(Oe);if(i.length===this.table.columns*this.table.rows){e.selectPrevious(),e.remove(),Re().selectStart();return}i.forEach(o=>{if(Y(o)){const s=_e(),l=Do();s.append(l),o.append(s),o.getChildren().forEach(c=>{c!==s&&c.remove()})}}),of(t,this.table,null),Qe(null),t.dispatchCommand(Yr,void 0)})}}const Hb="__lexicalTableSelection",DN=n=>oc?(n||window).getSelection():null,f8=n=>(n.buttons&1)===1;function vl(n,t){if(!t)return t;const e=t.nodeName==="TABLE"?t:n.getDOMSlot(t).element;return je(e.nodeName==="TABLE","getTableElement: Expecting table in as DOM node for TableNode, not %s",t.nodeName),e}function h8(n,t,e,r){const i=e.getRootElement();if(i===null)throw new Error("No root element.");const o=new d8(e,n.getKey()),s=e._window||window,l=vl(n,t);p8(l,o),o.listenersToRemove.add(()=>g8(l,o));const c=()=>{const m=()=>{o.isSelecting=!1,s.removeEventListener("mouseup",m),s.removeEventListener("mousemove",b)},b=ls.debounce(w=>{setTimeout(()=>{if(!f8(w)&&o.isSelecting){o.isSelecting=!1,s.removeEventListener("mouseup",m),s.removeEventListener("mousemove",b);return}const v=KA(w.target);v!==null&&(o.anchorX!==v.x||o.anchorY!==v.y)&&(w.preventDefault(),o.setFocusCellForSelection(v))},0)},20);return{onMouseMove:b,onMouseUp:m}},u=m=>{setTimeout(()=>{if(m.button!==0||!s)return;const b=KA(m.target);b!==null&&(mo(m),o.setAnchorCellForSelection(b));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 b=G(),w=m.target;bt(b)&&b.tableKey===o.tableNodeKey&&i.contains(w)&&o.clearHighlight()})};s.addEventListener("mousedown",d,o.listenerOptions),o.listenersToRemove.add(e.registerCommand(ps,m=>Fc(e,m,"down",n,o),po)),o.listenersToRemove.add(e.registerCommand(ji,m=>Fc(e,m,"up",n,o),po)),o.listenersToRemove.add(e.registerCommand(_h,m=>Fc(e,m,"backward",n,o),po)),o.listenersToRemove.add(e.registerCommand(Th,m=>Fc(e,m,"forward",n,o),po));const h=m=>()=>{const b=G();if(!Ks(b,n))return!1;if(bt(b))return o.clearText(),!0;if(H(b)){const w=Te(b.anchor.getNode(),M=>Oe(M));if(!Oe(w))return!1;const v=b.anchor.getNode(),C=b.focus.getNode(),x=n.isParentOf(v),N=n.isParentOf(C);if(x&&!N||N&&!x)return o.clearText(),!0;const k=Te(b.anchor.getNode(),M=>Y(M)),_=k&&Te(k,M=>Y(M)&&Oe(M.getParent()));if(!Y(_)||!Y(k))return!1;if(m===al&&_.getPreviousSibling()===null)return!0}return!1};[Pa,al,Li].forEach(m=>{o.listenersToRemove.add(e.registerCommand(m,h(m),An))});const g=m=>{const b=G();if(!(bt(b)||H(b)))return!1;const w=n.isParentOf(b.anchor.getNode()),v=n.isParentOf(b.focus.getNode());if(w!==v){const C=w?"anchor":"focus",x=w?"focus":"anchor",{key:N,offset:T,type:k}=b[x];return n[b[C].isBefore(b[x])?"selectPrevious":"selectNext"]()[x].set(N,T,k),!1}return bt(b)?(m&&(m.preventDefault(),m.stopPropagation()),o.clearText(),!0):!1};o.listenersToRemove.add(e.registerCommand(_l,g,An)),o.listenersToRemove.add(e.registerCommand(Xa,g,An)),o.listenersToRemove.add(e.registerCommand(Iu,m=>{const b=G();if(b){if(!(bt(b)||H(b)))return!1;PA(e,yo(m,ClipboardEvent)?m:null,ig(b));const w=g(m);return H(b)?(b.removeText(),!0):w}return!1},An)),o.listenersToRemove.add(e.registerCommand($t,m=>{const b=G();if(!Ks(b,n))return!1;if(bt(b))return o.formatCells(m),!0;if(H(b)){const w=Te(b.anchor.getNode(),v=>Oe(v));if(!Oe(w))return!1}return!1},An)),o.listenersToRemove.add(e.registerCommand(Nh,m=>{const b=G();if(!bt(b)||!Ks(b,n))return!1;const w=b.anchor.getNode(),v=b.focus.getNode();if(!Oe(w)||!Oe(v))return!1;const[C,x,N]=Qr(n,w,v),T=Math.max(x.startRow,N.startRow),k=Math.max(x.startColumn,N.startColumn),_=Math.min(x.startRow,N.startRow),M=Math.min(x.startColumn,N.startColumn);for(let I=_;I<=T;I++)for(let R=M;R<=k;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];Y(K)&&!K.isInline()&&K.setFormat(m)}}return!0},An)),o.listenersToRemove.add(e.registerCommand(as,m=>{const b=G(),w=b==null?void 0:b.getNodes(),v=Oe(w[1]),C=Re(),x=e._keyToDOMMap.size-1===(b==null?void 0:b.getNodes().length);if(v&&e.update(()=>{const N=_e(),T=Do(m);N.append(T),w.forEach(k=>{if(!wt(k))return;const _=k.getPreviousSibling(),M=k.getNextSibling();_?_.insertAfter(N,!0):M&&M.insertBefore(N).selectEnd(),k.remove()}),x&&(C.clear(),b.insertText(m))}),!Ks(b,n))return!1;if(bt(b))return o.clearHighlight(),!1;if(H(b)){const N=Te(b.anchor.getNode(),T=>Oe(T));if(!Oe(N))return!1;if(typeof m=="string"){const T=$S(e,b,n);if(T)return qS(T,n,[Do(m)]),!0}}return!1},An)),r&&o.listenersToRemove.add(e.registerCommand(qa,m=>{const b=G();if(!H(b)||!b.isCollapsed()||!Ks(b,n))return!1;const w=lf(b.anchor.getNode());if(w===null)return!1;mo(m);const v=n.getCordsFromCellNode(w,o.table);return LN(o,n,v.x,v.y,m.shiftKey?"backward":"forward"),!0},An)),o.listenersToRemove.add(e.registerCommand(_s,m=>n.isSelected(),po));function p(m){const b=n.getCordsFromCellNode(m,o.table);return n.getDOMCellFromCordsOrThrow(b.x,b.y,o.table)}return o.listenersToRemove.add(e.registerCommand(iT,m=>{const{nodes:b,selection:w}=m,v=w.focus.getNode().getParent();return Oe(v)?(b[0].getFirstChildOrThrow().getChildrenSize(),!0):!1},An)),o.listenersToRemove.add(e.registerCommand(Yr,()=>{const m=G(),b=Bo();if(o.getAndClearShouldCheckSelection()&&H(b)&&H(m)&&m.isCollapsed()){const C=m.anchor.getNode(),x=n.getFirstChild(),N=lf(C);if(N!==null&&an(x)){const T=x.getFirstChild();if(Oe(T)&&!Te(N,k=>k.is(T)))return T.selectStart(),!0}}const{hasSelectedBlock:w,selectedAllDocument:v}=va();if(H(m)){const{anchor:C,focus:x}=m,N=C.getNode(),T=x.getNode(),k=lf(N),_=lf(T),M=!!(k&&n.is(xa(k))),I=!!(_&&n.is(xa(_))),R=M!==I,B=M&&I,U=m.isBackward();if(R){const j=m.clone();if(I){const[K]=Qr(n,_,_),ee=K[0][0].cell,ue=K[K.length-1].at(-1).cell;j.focus.set(U?ee.getKey():ue.getKey(),U?ee.getChildrenSize():ue.getChildrenSize(),"element")}else if(M){const[K]=Qr(n,k,k),ee=K[0][0].cell,ue=K[K.length-1].at(-1).cell;j.anchor.set(U?ue.getKey():ee.getKey(),U?ue.getChildrenSize():0,"element")}Qe(j),!w&&!v&&XS(e,o)}else B&&(k.is(_)||(o.setAnchorCellForSelection(p(k)),o.setFocusCellForSelection(p(_),!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(b)&&m.tableKey===n.getKey()){const C=DN(e._window);if(C&&C.anchorNode&&C.focusNode){const x=Be(C.focusNode),N=x&&!n.is(xa(x)),T=Be(C.anchorNode),k=T&&n.is(xa(T));if(N&&k&&C.rangeCount>0){const _=$F(C,e);_&&(_.anchor.set(n.getKey(),m.isBackward()?n.getChildrenSize():0,"element"),C.removeAllRanges(),Qe(_))}}}return m&&!m.is(b)&&(bt(m)||bt(b))&&o.tableSelection&&!o.tableSelection.is(b)?(bt(m)&&m.tableKey===o.tableNodeKey?o.updateTableTableSelection(m):!bt(m)&&bt(b)&&b.tableKey===o.tableNodeKey&&o.updateTableTableSelection(null),!1):(o.hasHijackedSelectionStyles&&!n.isSelected()?m8(e,o):!o.hasHijackedSelectionStyles&&n.isSelected()&&!w&&!v&&XS(e,o),!1)},An)),o.listenersToRemove.add(e.registerCommand(To,()=>{const m=G();if(!H(m)||!m.isCollapsed()||!Ks(m,n))return!1;const b=$S(e,m,n);return b?(qS(b,n),!0):!1},An)),o}function g8(n,t){Yb(n)===t&&delete n[Hb]}function p8(n,t){je(Yb(n)===null,"tableElement already has an attached TableObserver"),n[Hb]=t}function Yb(n){return n[Hb]||null}function KA(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 qc(n,t){const e=vl(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 of(n,t,e){const r=new Set(e?e.getNodes():[]);Zb(t,(i,o)=>{const s=i.elem;r.has(o)?(i.highlighted=!0,ON(n,i)):(i.highlighted=!1,RN(n,i),s.getAttribute("style")||s.removeAttribute("style"))})}function Zb(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=Be(s.elem);l!==null&&t(s,l,{x:o,y:r})}}}function XS(n,t){t.disableHighlightStyle(),Zb(t.table,e=>{e.highlighted=!0,ON(n,e)})}function m8(n,t){t.enableHighlightStyle(),Zb(t.table,e=>{const r=e.elem;e.highlighted=!1,RN(n,e),r.getAttribute("style")||r.removeAttribute("style")})}const LN=(n,t,e,r,i)=>{const o=i==="forward";switch(i){case"backward":case"forward":return e!==(o?n.table.columns-1:0)?sf(t.getCellNodeFromCordsOrThrow(e+(o?1:-1),r,n.table),o):r!==(o?n.table.rows-1:0)?sf(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?sf(t.getCellNodeFromCordsOrThrow(e,r-1,n.table),!1):t.selectPrevious(),!0;case"down":return r!==n.table.rows-1?sf(t.getCellNodeFromCordsOrThrow(e,r+1,n.table),!0):t.selectNext(),!0;default:return!1}},A8=(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 Ks(n,t){if(H(n)||bt(n)){const e=t.isParentOf(n.anchor.getNode()),r=t.isParentOf(n.focus.getNode());return e&&r}return!1}function sf(n,t){t?n.selectStart():n.selectEnd()}const xm="172,206,247";function ON(n,t){const e=t.elem,r=Be(e);je(Oe(r),"Expected to find LexicalNode from Table Cell DOMNode"),r.getBackgroundColor()===null?e.style.setProperty("background-color",`rgb(${xm})`):e.style.setProperty("background-image",`linear-gradient(to right, rgba(${xm},0.85), rgba(${xm},0.85))`),e.style.setProperty("caret-color","transparent")}function RN(n,t){const e=t.elem,r=Be(e);je(Oe(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 lf(n){const t=Te(n,Oe);return Oe(t)?t:null}function xa(n){const t=Te(n,wt);return wt(t)?t:null}function Fc(n,t,e,r,i){if((e==="up"||e==="down")&&y8(n))return!1;const o=G();if(!Ks(o,r)){if(H(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=>Y(h)&&!h.isInline());if(!u)return!1;const d=u.getPreviousSibling();return!d||!wt(d)?!1:(mo(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=>wt(p));if(Oe(c)&&(c=Te(c,wt)),c!==r||!c)return!1;const u=e==="down"?c.getNextSibling():c.getPreviousSibling();if(!u)return!1;let d=0;e==="up"&&Y(u)&&(d=u.getChildrenSize());let h=u;if(e==="up"&&Y(u)){const p=u.getLastChild();h=p||u,d=Un(h)?h.getTextContentSize():0}const g=o.clone();return g.focus.set(h.getKey(),d,Un(h)?"text":"element"),Qe(g),mo(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,Oe);if(u&&r.isParentOf(u)){const d=r.getFirstDescendant(),h=r.getLastDescendant();if(!d||!h)return!1;const[g]=zn(d),[p]=zn(h),m=r.getCordsFromCellNode(g,i.table),b=r.getCordsFromCellNode(p,i.table),w=r.getDOMCellFromCordsOrThrow(m.x,m.y,i.table),v=r.getDOMCellFromCordsOrThrow(b.x,b.y,i.table);return i.setAnchorCellForSelection(w),i.setFocusCellForSelection(v,!0),!0}}return!1}else{let c=Te(s,d=>Y(d)&&!d.isInline());if(Oe(c)&&(c=Te(c,wt)),!c)return!1;const u=e==="down"?c.getNextSibling():c.getPreviousSibling();if(wt(u)&&i.tableNodeKey===u.getKey()){const d=u.getFirstDescendant(),h=u.getLastDescendant();if(!d||!h)return!1;const[g]=zn(d),[p]=zn(h),m=o.clone();return m.focus.set((e==="up"?g:p).getKey(),e==="up"?0:p.getChildrenSize(),"element"),mo(t),Qe(m),!0}}}}return e==="down"&&PN(n)&&i.setShouldCheckSelection(),!1}if(H(o)&&o.isCollapsed()){const{anchor:s,focus:l}=o,c=Te(s.getNode(),Oe),u=Te(l.getNode(),Oe);if(!Oe(c)||!c.is(u))return!1;const d=xa(c);if(d!==r&&d!=null){const C=vl(d,n.getElementByKey(d.getKey()));if(C!=null)return i.table=qc(d,C),Fc(n,t,e,d,i)}if(e==="backward"||e==="forward"){const C=s.type,x=s.offset,N=s.getNode();if(!N)return!1;const T=o.getNodes();return T.length===1&&ot(T[0])?!1:b8(C,x,N,e)?v8(t,N,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 b=n.getElementByKey(m.__key);if(b==null)return!1;const w=b.getBoundingClientRect();if(e==="up"?w.top>p.top-p.height:p.bottom+p.height>w.bottom){mo(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 LN(i,r,C.x,C.y,e);return!0}}else if(bt(o)){const{anchor:s,focus:l}=o,c=Te(s.getNode(),Oe),u=Te(l.getNode(),Oe),[d]=o.getNodes();je(wt(d),"$handleArrowKey: TableSelection.getNodes()[0] expected to be TableNode");const h=vl(d,n.getElementByKey(d.getKey()));if(!Oe(c)||!Oe(u)||!wt(d)||h==null)return!1;i.updateTableTableSelection(o);const g=qc(d,h),p=r.getCordsFromCellNode(c,g),m=r.getDOMCellFromCordsOrThrow(p.x,p.y,g);if(i.setAnchorCellForSelection(m),mo(t),t.shiftKey){const b=r.getCordsFromCellNode(u,g);return A8(i,d,b.x,b.y,e)}else u.selectEnd();return!0}return!1}function y8(n){const t=n.getRootElement();return t?t.hasAttribute("aria-controls")&&t.getAttribute("aria-controls")==="typeahead-menu":!1}function b8(n,t,e,r){return w8(n,e,r)||C8(n,t,e,r)}function w8(n,t,e){return n==="element"&&(e==="backward"?t.getPreviousSibling()===null:t.getNextSibling()===null)}function C8(n,t,e,r){const i=Te(e,s=>Y(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 v8(n,t,e,r){const i=Te(t,Oe);if(!Oe(i))return!1;const[o,s]=Qr(e,i,i);if(!x8(o,s,r))return!1;const l=S8(t,r,e);return!l||wt(l)?!1:(mo(n),r==="backward"?l.selectEnd():l.selectStart(),!0)}function x8(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 S8(n,t,e){const r=Te(n,o=>Y(o)&&!o.isInline());if(!r)return;const i=t==="backward"?r.getPreviousSibling():r.getNextSibling();return i&&wt(i)?i:t==="backward"?e.getPreviousSibling():e.getNextSibling()}function qS(n,t,e){const r=_e();n==="first"?t.insertBefore(r):t.insertAfter(r),r.append(...e||[]),r.selectEnd()}function $S(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=vl(e,n.getElementByKey(e.getKey()));if(!o||!s||!l||!s.contains(o)||l.contains(o))return;const c=Te(t.anchor.getNode(),C=>Oe(C));if(!c)return;const u=Te(c,C=>wt(C));if(!wt(u)||!u.is(e))return;const[d,h]=Qr(e,c,c),g=d[0][0],p=d[d.length-1][d[0].length-1],{startRow:m,startColumn:b}=h,w=m===g.startRow&&b===g.startColumn,v=m===p.startRow&&b===p.startColumn;return w?"first":v?"last":void 0}function eE(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 tE(n,t,e){e?(ct(n,t.theme.tableRowStriping),n.setAttribute("data-lexical-row-striping","true")):(kr(n,t.theme.tableRowStriping),n.removeAttribute("data-lexical-row-striping"))}const WA=new WeakSet;function PN(n=Rl()){return WA.has(n)}function E8(n,t){t?(n._config.theme.tableScrollableWrapper||console.warn("TableNode: hasHorizontalScroll is active but theme.tableScrollableWrapper is not defined."),WA.add(n)):WA.delete(n)}class hi 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 hi(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__colWidths=e.__colWidths,this.__rowStriping=e.__rowStriping}static importDOM(){return{table:e=>({conversion:k8,priority:1})}}static importJSON(e){const r=Gb();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 je(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),eE(i,e,this.getColumnCount(),this.getColWidths()),HT(o),ct(i,e.theme.table),this.__rowStriping&&tE(i,e,!0),PN(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&&tE(r,i,this.__rowStriping),eE(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 Be(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=Be(o.elem);return Oe(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=>{Oe(i)&&(r+=i.getColSpan())}),r}}function k8(n){const t=Gb();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||!ah.test(o)){r=void 0;break}r.push(parseFloat(o))}r&&t.setColWidths(r)}return{node:t}}function Gb(){return Dt(new hi)}function wt(n){return n instanceof hi}function T8(n){var i;const t=n.getAttribute("open");return((i=n.firstElementChild)==null?void 0:i.tagName)==="SPAN"?{node:null}:{node:Jb(t!==null)}}class xl extends At{constructor(e,r){super(r);F(this,"__open");this.__open=e}static getType(){return"collapsible-container"}static clone(e){return new xl(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:T8,priority:1})}}static importJSON(e){return Jb(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 Jb(n){return new xl(n)}function Nr(n){return n instanceof xl}function _8(n){return{node:Vb()}}class Lo extends At{static getType(){return"collapsible-content"}static clone(t){return new Lo(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:_8,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 Vb()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"collapsible-content",version:1}}}function Vb(){return new Lo}function vu(n){return n instanceof Lo}const N8=oc&&"documentMode"in document?document.documentMode:null;var Bk;const I8=(Bk=navigator.userAgentData)==null?void 0:Bk.platform,HA=oc&&/macOS|iPod|iPhone|iPad/.test(I8);oc&&"InputEvent"in window&&!N8&&"getTargetRanges"in new window.InputEvent("input");const M8=oc&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent);function D8(n){return{node:Qb()}}class vs extends At{static getType(){return"collapsible-title"}static clone(t){return new vs(t.__key)}createDOM(t,e){const r=document.createElement("summary");return r.classList.add("Collapsible__title"),M8&&(r.style.cursor="pointer"),r}updateDOM(t,e){return!1}static importDOM(){return{summary:t=>({conversion:D8,priority:1})}}static importJSON(t){return Qb()}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(!Nr(r))throw new Error("CollapsibleTitleNode expects to be child of CollapsibleContainerNode");if(r.getOpen()){const i=this.getNextSibling();if(!vu(i))throw new Error("CollapsibleTitleNode expects to have CollapsibleContentNode sibling");const o=i.getFirstChild();if(Y(o))return o;{const s=_e();return i.append(s),s}}else{const i=_e();return r.insertAfter(i,e),i}}}function Qb(){return new vs}function il(n){return n instanceof vs}const BN=E.createContext([n=>()=>{},n=>{}]),L8=({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(BN.Provider,{value:t,children:n})},O8=()=>{const[n,t]=E.useContext(BN),[e,r]=E.useState(null);return E.useEffect(()=>n(i=>{r(i)}),[n]),[e,t]},R8=Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5);class fg extends Zi{constructor(e,r){super(r);F(this,"__uuid");this.__uuid=e}static clone(e){return new fg(e.__uuid,e.__key)}static getType(){return"autocomplete"}static importJSON(e){return P8(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!==R8?null:A.jsx(B8,{})}}function P8(n){return new fg(n)}function B8(){const[n]=O8(),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 YA={...Cs};function F8(){return{node:Xb()}}class Ul extends At{static getType(){return"callout"}static clone(t){return new Ul(t.__key)}constructor(t){super(t)}createDOM(t){const e=document.createElement("div");return typeof t.theme.callout=="string"&&ct(e,YA.callout),e}updateDOM(){return!1}isShadowRoot(){return!0}static importDOM(){return{div:t=>t.className!==YA.callout?null:{conversion:F8,priority:2}}}static importJSON(){return Xb()}exportJSON(){return{...super.exportJSON(),type:"callout",version:1}}}function Xb(){return new Ul}function hg(n){return n instanceof Ul}const Vi={transition:"fade",duration:400},j8=({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=Se(t),s=((c=(l=i.current)==null?void 0:l.firstChild)==null?void 0:c.outerHTML)||"";o instanceof xs&&o.setRef(s)})},[e]),A.jsx("div",{ref:i,children:A.jsx(Ft.EmojiPicker,{value:e,onChange:o=>{n.update(()=>{var l;const s=Se(t);s instanceof xs&&((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:Vi},children:A.jsx(L.ActionIcon,{size:28,variant:"subtle",children:A.jsx(Ft.ProjectIcon,{size:27,fz:27,icon:e,fallback:A.jsx(te.IconFile,{size:"1em"})})})})})};function z8(n){const t=n.getAttribute("data-emoji");return{node:qb(t||"","")}}const nE=new Map;class xs extends Ko{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 xs(e.__emojiCode,e.__refElem,e.__format,e.__key)}static importJSON(e){return qb(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=nE.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){nE.set(this.__key,e)}decorate(e,r){return A.jsx(j8,{emoji:this.__emojiCode,editor:e,keyNode:this.__key})}}function qb(n,t){return new xs(n||"",t||"")}function U8(n){const t=n.getAttribute("data-type"),e=n.style.backgroundColor;return{node:$b(e,t||"default")}}class Ss 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 Ss(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!==YA.calloutWrapper?null:{conversion:U8,priority:2}}}static importJSON(e){return $b(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 $b(n="#f3f3f4",t="default"){return new Ss(n,t)}function Oo(n){return n instanceof Ss}const rE={bullet:te.IconList,check:te.IconListCheck,"check-mark":te.IconCheck,code:te.IconCode,h1:te.IconH1,h2:te.IconH2,h3:te.IconH3,number:te.IconListNumbers,paragraph:te.IconIndentIncrease,quote:te.IconQuote,fontFamily:te.IconLetterT,undo:te.IconArrowBackUp,redo:te.IconArrowForwardUp,bold:te.IconBold,italic:te.IconItalic,underline:te.IconUnderline,link:te.IconLink,"color-picker":te.IconColorPicker,background:te.IconBucketDroplet,photo:te.IconPhoto,"photo-check":te.IconPhotoCheck,"align-left":te.IconAlignLeft,"align-end":te.IconAlignLeft,"align-start":te.IconAlignLeft,"align-right":te.IconAlignRight,"align-center":te.IconAlignCenter,"align-justify":te.IconAlignJustified,"horizontal-rule":te.IconFlipHorizontal,strikethrough:te.IconStrikethrough,subscript:te.IconSubscript,superscript:te.IconSuperscript,minus:te.IconMinus,plus:te.IconPlus,"chevron-down":te.IconChevronDown,"chevron-right":te.IconChevronRight,grip:te.IconGripVertical,"circle-check":te.IconCircleCheck,"circle-x":te.IconCircleX,pencil:te.IconPencil,trash:te.IconTrash,table:te.IconTable,"caret-right":te.IconCaretRight,grid:te.IconColumns3,"dots-vertical":te.IconDotsVertical,copy:te.IconCopy,clipboard:te.IconClipboard,cut:te.IconCut,"arrow-bar-to-up":te.IconArrowBarToUp,"arrow-bar-to-down":te.IconArrowBarToDown,"arrow-bar-to-left":te.IconArrowBarToLeft,"arrow-bar-to-right":te.IconArrowBarToRight,"column-insert-left":te.IconColumnInsertLeft,"column-insert-right":te.IconColumnInsertRight,"row-insert-top":te.IconRowInsertTop,"row-insert-bottom":te.IconRowInsertBottom,"container-off":te.IconContainerOff,"table-off":te.IconTableOff,"layers-union":te.IconLayersUnion,"layers-substract":te.IconLayersSubtract,"сlear-format":te.IconDropletOff,form:te.IconCheckupList,youtube:te.IconBrandYoutube,emoji:te.IconMoodSmile,file:te.IconFile,success:te.IconCheck,warning:te.IconAlertTriangle,alert:te.IconExclamationCircle,defaultOff:te.IconBaseline,embed:te.IconCodeCircle,at:te.IconAt,paperclip:te.IconPaperclip,close:te.IconX,api:te.IconApi,music:te.IconMusic,message:te.IconMessage,reply:te.IconArrowBackUp,filter:te.IconFilter,messages:te.IconMessages,"shield-check":te.IconShieldCheckFilled,reOpen:te.IconReload,send:te.IconSend,expandSidebar:te.IconLayoutSidebarLeftExpand,palette:te.IconPalette},xe=({name:n,iconStyle:t,...e})=>{const r=rE[n]||rE.bullet;return A.jsx(L.Flex,{gap:0,justify:"center",align:"center",...e,children:A.jsx(r,{size:18,stroke:2,style:t,...e})})},lc=({icon:n,title:t,pointerEvents:e="auto",isLoading:r,progress:i,nodeKey:o,onAfterCancel:s,...l})=>{const[c]=De(),{t:u}=pt.useTranslation(),{fetchUploadMedia:d}=E.useContext(Lt),h=((d==null?void 0:d.length)??0)>=5,g=()=>{c.update(()=>{const m=Se(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})]})},K8="_title_81iwv_1",W8="_icon_81iwv_11",H8="_link_81iwv_20",Sm={title:K8,icon:W8,link:H8},Y8=({page:n})=>{const{t}=pt.useTranslation();return A.jsxs("div",{className:Sm.link,onClick:n.onClick,children:[A.jsx("div",{className:Sm.icon,children:n.icon?A.jsx(Ft.ProjectIcon,{size:16,fz:16,icon:n.icon,fallback:A.jsx(te.IconFile,{size:"1em"})}):A.jsx(te.IconFile,{size:16})}),A.jsx(L.Tooltip,{label:n.title,disabled:!n.title,openDelay:400,children:A.jsx(L.Text,{truncate:!0,className:Sm.title,"data-empty":!n.title,children:n.title||t("editor.noTitle")})})]})},Z8=E.memo,G8=Z8(Y8),FN=({page:n})=>A.jsxs("div",{className:"docs-item",children:[A.jsx(G8,{page:n}),n.children&&n.children.length>0&&A.jsx(A.Fragment,{children:n.children.map(t=>A.jsx(FN,{page:t},t.id))})]});function J8({nodeKey:n}){const{pages:t}=E.useContext(Lt),{t:e}=pt.useTranslation();return t.length===0?A.jsx("p",{style:{margin:0},children:A.jsx(lc,{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(FN,{page:r},r.id))})}function V8(n){return n.getAttribute("data-child-docs")?{node:jN()}:null}class Ha extends Ko{static getType(){return"childDocs"}static clone(t){return new Ha(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(J8,{nodeKey:this.__key})}static importJSON(t){const{format:e,key:r}=t;return new Ha(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:V8,priority:2}:null}}}function jN(){return new Ha(void 0)}const Q8=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"]},Eo=ve(),ZA=ve(),ew=ve(),GA=ve(),tw=ve(),zN=ve(),UN=ve(),KN=ve(),JA=(()=>{var t;const n=(t=window.navigator)==null?void 0:t.userAgentData;return n!==void 0?n.mobile:window.innerWidth<=800&&window.innerHeight<=600})(),X8={center:-8,right:2,left:-18},q8=(n,t,e,r)=>{const o=n.width/2,s=n.height/2,l=r==null?void 0:r.classList[1],c=X8[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)}}},$8=(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"},af=32,cf=(n,t)=>n&&typeof n=="number"?Math.min(n/t*100,95.5):95.5;function e6(n){const e=100-4e3/n;return{minResizePercent:Math.max(5,9792/n),maxWidthPercent:e}}const nw=({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,b]=E.useState(30),[w,v]=E.useState("default"),[C,x]=E.useState(!1),{imperativeHandleRef:N}=E.useContext(Lt),[T,k]=E.useState(null),_=E.useMemo(()=>Q8(u)||["e-resize"],[u]),M=_.length===1&&_[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=(J,Z=95.5)=>{var le;const X=(le=n._window)==null?void 0:le.innerWidth;if(X){let de=100;d&&(de=250);const me=de/X*100;return J<me?me:J>Z?Z:J}else return J<20?20:J>100?100:J},j=(J,Z)=>{const X=Math.min(J,Z);return 15+(Math.max(200,Math.min(800,X))-100)/500*15},K=(J,Z,X)=>{if(v("default"),!C)return;let le=w;le=$8(J,Z,X,_),B.current.isResizing&&(le=w),v(le),b(m),p(de=>q8(J,le,d||!1,I.current)||de)},ee=J=>{var de;if(JA)return;J.preventDefault();const Z=(de=I.current)==null?void 0:de.getBoundingClientRect();if(!Z)return;const X=J.clientX-Z.left,le=J.clientY-Z.top;B.current.isResizing||K(Z,X,le)},ue=(J,Z=12,X=95.5,le=B.current.rootWidth)=>{const de=I.current,me=B.current;if(!de||J.button===2||!(me!=null&&me.isResizing))return;const q=de.getBoundingClientRect(),ne=J.clientX-q.left,Ae=J.clientY-q.top;K(q,ne,Ae);const oe=.17,pe=u==="right",Ee=u==="center",Ce=me.isLeft,we=me.isTop,Ue=me.isBottom,tt=me.direction==="y",Ie=me.isRight,qe=Math.floor(pe?q.right-J.clientX-(q.right-me.startX):J.clientX-me.startX),ut=Math.floor(J.clientY-me.startY);let lt=0;Ce||Ie?lt=qe/le*100:(we||Ue||Ee)&&(lt=ut*oe),(Ce||we)&&(!pe||tt&&!Ce)&&(!Ue||Ee)&&(lt=-lt),(we&&Ie||Ue&&Ie)&&(lt=qe/le*100),lt=Math.max(-100,Math.min(100,lt));const Ht=me.startWidthPercent+lt,vn=me.startHeightPercent+lt;me.currentWidthPercent=U(Math.max(Z,Ht),X),me.currentHeightPercent=U(Math.max(Z,vn),X),de.style.width=`${me.currentWidthPercent}%`,de.style.height=`${me.currentHeightPercent}%`},fe=J=>{var de,me;const Z=B.current;if(Z.isResizing=!1,(de=I.current)==null||de.classList.remove("is-resizing"),(me=I.current)==null||me.releasePointerCapture(J.pointerId),c(Z.currentWidthPercent+"%",Z.currentHeightPercent+"%"),document.removeEventListener("pointermove",ue),!I.current)return;const X=I.current.getBoundingClientRect(),le=j(X.width,X.height);b(le)},ie=J=>{var kt,ht;if(J.button===2||!C){J.preventDefault(),J.stopPropagation();return}if(!I.current)return;I.current.classList.add("is-resizing");const Z=n.getRootElement();if(!Z)return;const X=Z.getBoundingClientRect();if(!n.isEditable()||w==="default")return;const le=R.current;if(le===null)return;const de=(kt=I.current)==null?void 0:kt.getBoundingClientRect();if(!le.getBoundingClientRect()||!de)return;const{width:q,height:ne,top:Ae,left:oe}=de,pe=J.clientX-oe,Ee=J.clientY-Ae,Ce=Ee<=af,we=Ee>=ne-af,Ue=pe<=af,tt=pe>=q-af,Ie=B.current,qe=window.getComputedStyle(Z),ut=parseFloat(qe.paddingTop),lt=parseFloat(qe.paddingBottom),Ht=parseFloat(qe.paddingLeft),vn=parseFloat(qe.paddingRight);Ie.rootHeight=X.height-ut-lt||0,Ie.rootWidth=X.width-Ht-vn||0,Ie.ratio=q/ne,Ie.currentWidth=Ie.currentWidth||q,Ie.currentWidthPercent=+I.current.style.width.replace("%",""),Ie.currentHeight=Ie.currentHeight||ne,Ie.currentHeightPercent=+I.current.style.height.replace("%",""),Ie.startX=J.clientX,Ie.startY=J.clientY,Ie.startWidth=Ie.currentWidth||q,Ie.startWidthPercent=Ie.currentWidthPercent,Ie.startHeight=Ie.currentHeight||ne,Ie.startHeightPercent=Ie.currentHeightPercent,Ie.isResizing=!0,Ie.isTop=Ce,Ie.isBottom=we,Ie.isLeft=Ue,Ie.isRight=tt,Ie.direction=we||Ce?"y":"x",s&&s(),I.current.setPointerCapture(J.pointerId);const Fe=((ht=I.current.parentElement)==null?void 0:ht.offsetWidth)??Ie.rootWidth,{maxWidthPercent:nt,minResizePercent:dt}=e6(Fe);document.addEventListener("pointermove",$e=>{var Xt,zt;return ue($e,h==="video"?40:dt,nt,(zt=(Xt=I.current)==null?void 0:Xt.parentElement)==null?void 0:zt.offsetWidth)}),document.addEventListener("pointerup",fe,{capture:!0,once:!0})};E.useEffect(()=>{var de;const J=I.current;if(!J)return;if(typeof t=="number"&&typeof e=="number"){J.style.width=`${U(t)}%`,J.style.height=`${U(e)}%`;return}const Z=(de=J.parentElement)==null?void 0:de.getBoundingClientRect();if(!Z)return;const X=cf(r,Z.height),le=cf(i,Z.width);J.style.width=`${le}%`,J.style.height=`${X}%`},[t,e,i,r]),E.useEffect(()=>{var le;if(!I.current)return;const J=I.current.getBoundingClientRect(),Z=(le=I.current.parentElement)==null?void 0:le.getBoundingClientRect(),X=j(J.width,J.height);if(b(X),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(Z){const de=cf(r,Z.height),me=cf(i,Z.width);requestAnimationFrame(()=>{I.current&&(I.current.style.height=`${de}%`,I.current.style.width=`${me}%`)}),B.current.currentWidthPercent=me,B.current.currentHeightPercent=de}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 V=J=>{const X=J.target.closest("[data-lexical-decorator]");return X?n.update(()=>{const le=Be(X);le&&le instanceof Zi&&k(le)}):k(null),!1},re=()=>(T&&setTimeout(()=>{n.update(()=>(T.insertAfter(_e()).selectStart(),k(null),!0))}),!1);return N!=null&&N.current&&(N.current.decoratorEnterAction=re),E.useEffect(()=>{const J=n.registerCommand(Po,V,zi);return()=>{J()}},[T]),JA?o:A.jsxs("div",{ref:I,className:`resizable-container ${u||""} ${M?"hide-padding":""}`,style:{cursor:w},onMouseMove:ee,onMouseEnter:()=>x(!0),onMouseLeave:()=>{x(!1),v("default")},onMouseUp:()=>{n.dispatchCommand(Eo,"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 ${(_==null?void 0:_.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})]})},uh=n=>typeof n=="string"&&n.includes("%")?parseFloat(n):n;function Sl(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 t6(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 WN(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 n6(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 r6(n){if(n)return n.includes("lookerstudio")?n6(n):n.includes("maps")?WN(n):!t6(n,{requireHostname:!1})&&!n.startsWith("/")&&!n.startsWith("#")&&!n.startsWith("mailto:")&&!n.startsWith("sms:")&&!n.startsWith("fax:")&&!n.startsWith("tel:")?`https://${n}`:n}const i6=28,El=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),b=!!(e||r),w=E.useMemo(()=>{var x;return(s?parseFloat(String(s)):((x=g.current)==null?void 0:x.scrollHeight)||0)+i6},[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 ${b?"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:r6(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(te.IconExternalLink,{size:16}),A.jsx(L.Text,{children:"Open"})]})})]})]})}),o6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAACglBMVEUAAAAktvjtMET/w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X2K1TajjP25eCls4kJeHA/o0enbh4O4BcPS+I/SQziN4wr9jTKBrYFugnek6eVmxBRxvyhaidjGcy0hh/RtAEiaWLbdAXwh1t6aF+ppxcfl/GD6NurIGm8AAAAAASUVORK5CYII=",v6="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",x6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAn1BMVEUAAAD3jR3zhhT1hxTthxb3dwD3jR34jR74jR33jR33ihf4jB33jB34jR33jRz4jBz3jBz4ixv4iRn3hgD3jR33jRz3jB34ixf5iBb3jRz3jR33jR33jB33jB32jBz4jBz4jBz4jBn4jR33jR33jRz3jBz3ixv4jR33jR33jBz3jB34jRz4jR33jRz4jRv3jRz2jBr3jRr5jBr4jRz3jR5wb2LMAAAANHRSTlMA/AwPCAPo+fWvIovN8pxLNi4TBu3GchkW496qgnhWUEUd2JdlYEDSwbSloblrXH07MyeRXwFKAQAABC1JREFUaN7t2ulymzAQAOD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Joq2Aw/5KYnFntMCbd635LcTrNuLSIvcJdosVfcdDl1OM7x2b5MsWQpr65H11eWuFewL4epnVvbSzPg5ND2eZnc3PGvxOy8ilrhITRPvolcPImOnYu8uNoZ3I+H+C9Yd6ZxyF9La9sw2mOzbFNara8bNu9S8BideF27sprMr0oKOj9Ec8TsNKfq7hOnG3iUcKSB+j1PTuo3Gtnc+Yz473e7h7vw+X2mGJV+P4/siVuy8Ae9ff0wouNpoXU2Is2lSXI+tmpoXdBLu0wbiPdqaFa8rXS/O7mdO6xVIsmMZscMiCWMoNfmvQDOWZuYJb89/DMu2kyTbBHHschDuXZEmfhrSNgQCyyH1iVgkKo0JED/+HEz4IvDCcezrp36UJ1X5ThGlikSGDfBO4vDxOo5rzwfKoqtfOPYGuTUjMj4BNv860O6n0nzXSGruiknflX4vxaH9ODLxIlmrZtUMH1zolZ6udiEVMrHjpTjcGSsxWpKNxRkUONUcvPMHQDB/BA/9FdC+FSC0BtTC9FI/rwDhvUod9gci2UPYhkmlqMH3QFqlyAZ+onrvIp+e+v9+1d2Lv4munAAAAABJRU5ErkJggg==",T6="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",_6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA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/PndVopf6Pvflzej336v35yecXbD7o/O1kBaAvVZe64TtZyRlSqYLSrkmXy709Kej9PBmSFWkSV2H+DyyQ+axcpVrZAAAAAElFTkSuQmCC",M6="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+OV469Ae9bunTpEt13p06dUkBo6jV37tz379+b3OwfF8zQpjUZI/WG1TZs2PDx40fjFmytuGmK/WzXWplJ47lz53jx1BAaDhdlUVFRc3OzzUs68uXLF5SNjY083c3n2mx55cqVVIc/5I/k4K/C7DywQrOTKFevXo0TR44c6XZlhL1ZWVkMlp89e2Z+pORJ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zxVc5qyIK7m70hgl5LCAVx4uiwf4JfFQQgALgitKiMZtLc4Ml7nZUqEdlGGPCZgXlOCoMM9XUIaejFP64TmnS12d85s702IB8xyUwopxU1jGEJqqUE0rcCbXL14F7F9LdXcu+YrKgKf2VGtCWNDgD1pTWmFiM5xSkz0zW6S1JiywfvTJrlQOwAN9boIQ1BxpvoAlgYbs1xlQzU0QgjgjSU9hES9v5zGbmCHtZpGBKyTFIaxkTRU7tlZkzGoV1uomUo5SsscXutIBrDZMpHxN6V09VZ7VxG3qvgqEzCErnZuwGk8UpChk9SwPCV4JG2QRkgpOPSVDQrO+0tP7Bc+C6EuHBG1cugYPNOnRZV6R0AewiUXXus3gi4LcD6cMNsk6pNwtyTPV9TlsInykeAP8qSQTdlLYyPDkjnZO9kR7cNjIiuW2dcUm3iy3yh5SZ3tGFkZpBWzFfSZxm+ENtYpdC9iu9JBSchjxs04m3KiwXXpHykk8Xx/s/ROGsEWKG45xjYiRW/om4AVqzebfw3gaK0gmHMBLCn12hvC00VDiO7xe0CMpzmbjsrsFrxkaJCmdCcCNibioF/CirEOa3oUiiDWkdQJexGsFSUyP80hBWh/CywoPaUxx2VQ1SnhdEOFqNYfXWTGuFZuwA3FiuI49wC5qHVfREg67KK64hlKrsI/UWRW3DWEn6o2tiOuksJtcvsksGq8In2wys30B+xnuTDKuV6uwI94qKMXNM9hV5aEM/RHCvtJeKu7Jgp2JRqLW2hh3P5X79sFBC3uGC9oMdrH217TOhLdI52vNagFv0jCcplUc3sXQZ+ZkwuF9pu4hTHMMDm+UXSfGc2fBeyUulW7kq/Bu9ZfIin0yOLydyO0/qtz4JnyC6jvaGPba+iF8iDByx2U/ahxfkhA+SDWK+vKo/SRV4dOEaarHv+APh8PhcDj8ezj8Hd8AxYE9wZItsP4AAAAASUVORK5CYII=";function L6({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(El,{...t,src:t.attrs.href,icon:A.jsx(L.Image,{src:HN,alt:"Diagrams.net",width:16,height:16}),canonicalUrl:t.attrs.href,title:o})}function O6(n){return n.endsWith(".pibb")?n:`${n}.pibb`}function R6(n){const t=O6(n.attrs.href);return A.jsx(El,{...n,src:t,canonicalUrl:t,width:"100%",title:"GitHub Gist"})}function P6({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(El,{...t,disableOutline:!0,width:"100%",height:`${i}px`,src:`https://open.spotify.com/embed${r}`,title:"Spotify Embed",allow:"encrypted-media"})}function B6({matches:n,...t}){const e=n[2];return n[1]==="c"?A.jsx(El,{...t,width:"316px",height:"141px",src:`https://trello.com/embed/card?id=${e}`,title:`Trello Card (${e})`}):A.jsx(El,{...t,width:"248px",height:"185px",src:`https://trello.com/embed/board?id=${e}`,title:`Trello Board (${e})`})}function F6({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(El,{...t,src:i,canonicalUrl:i,title:`Vimeo Embed (${e})`,height:"412px",referrerPolicy:"origin"})}const j6={github:"GitHub Gist",figma:"Figma",vimeo:"Vimeo Embed"},ac=[{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:k6}),name:"Spotify",component:P6},{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:c6}),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:o6}),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:s6}),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:l6}),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:HN}),name:"Diagrams.net",component:L6},{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:a6}),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:u6}),name:"GitHub Gist",component:R6},{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:A6}),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:h6}),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:g6}),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:f6}),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:y6}),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:b6,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:d6,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:p6,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:m6,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:w6,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:C6,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:v6,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:x6,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:S6,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:E6,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:T6,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:_6,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:N6,alt:"Trello"}),component:B6,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:I6,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:M6,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:D6,alt:"Vimeo"}),name:"Vimeo",component:F6}];function _t({w:n=34,h:t=34,...e}){return A.jsx(L.Image,{w:n,h:t,...e})}const VA=(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 ac){const e=VA(n,t.regexMatches);if(e)return{embed:t,matches:e}}}function U6(n){var r;let t=null;const e=ac.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 K6(n,t){var r;const e=ac.find(i=>i.platform===n);return e?((r=e==null?void 0:e.getIframeUrl)==null?void 0:r.call(e,t))||"valid":""}const W6=({height:n,width:t,id:e,platform:r,src:i})=>{const o=j6[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 H6({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(),b=E.useMemo(()=>ac.find(k=>k.platform===e),[e]);E.useEffect(()=>{const k=document.documentElement;Sl(g,k)},[g]);const w=E.useMemo(()=>z6(c),[c]),v=k=>{o.update(()=>{const _=Se(s);return Em(_)&&_.setMinHeight(k),!0})},C=k=>{const _=Se(s),M=VA(c,(w==null?void 0:w.embed.regexMatches)||[]);if(Em(_)&&M){const I=c.includes("maps");if(k&&!I){_.setSrc(k);return}_.setPlatform(w==null?void 0:w.embed.platform),_.setId(c),I?_.setSrc(WN(c)):w!=null&&w.embed.transformMatch?_.setSrc(w==null?void 0:w.embed.transformMatch(w==null?void 0:w.matches)):_.setSrc(c)}},x=(k,_)=>{o.update(()=>{Qe(null);const M=Se(s);return Em(M)&&M.setWidthAndHeight(k,_),!0})},N=k=>{if(k.preventDefault(),!VA(c,(w==null?void 0:w.embed.regexMatches)||[])&&!(w!=null&&w.embed.platform)){h(!0);return}o.update(()=>{const M=Se(s);if(!M)return;C(),p(!1);const I=M.getNextSibling();I&&Qe(I.selectNext())}),h(!1)},T=()=>{if(w!=null&&w.embed.transformMatch){const k=w==null?void 0:w.embed.transformMatch(w==null?void 0:w.matches);return A.jsx(El,{src:k,width:"100%",height:"400px",canonicalUrl:c,title:b==null?void 0:b.name,allow:"encrypted-media",saveUrl:C,editor:o,updateMinHeight:v})}return b!=null&&b.component?b.component({saveUrl:C,attrs:{href:c},matches:w==null?void 0:w.matches,isSelected:!1,isEditable:!1,embed:b,editor:o,updateMinHeight:v}):A.jsx("div",{})};return E.useEffect(()=>{l&&p(!0)},[l]),r?w?A.jsx(nw,{editor:o,width:uh(i),isIcon:!1,isEmbed:!0,height:400,onResizeEnd:x,children:A.jsx("div",{className:"media-wrapper",children:A.jsx(bl,{className:n,format:t,nodeKey:s,children:T()})})}):null:A.jsxs(L.Popover,{width:400,position:"bottom",shadow:"md",opened:g,trapFocus:!0,onChange:k=>{p(k),k||(u(""),h(!1))},withinPortal:!0,children:[A.jsx(L.Popover.Target,{children:A.jsx(L.Flex,{w:"100%",children:A.jsx(bl,{className:n,format:t,nodeKey:s,children:A.jsx(lc,{title:m("editor.embed.addEmbed"),icon:"embed",onClick:()=>p(k=>!k),nodeKey:s})})})}),A.jsx(L.Popover.Dropdown,{children:A.jsx("form",{onSubmit:N,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:k=>{u(k.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 Y6(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=rw(e,i,o,r,!1,t);return l.setMinHeight(parseFloat(s)),{node:l}}return{node:null}}class cc extends Ko{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 cc(e.__platform,e.__id,e.__format,e.__width,e.__height,e.__key,e.__create,e.__src,e.__minHeight)}static importJSON(e){const r=rw(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:Y6,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=cF.renderToString(A.jsx(W6,{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(H6,{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 K6(this.__platform,this.__id)}setWidthAndHeight(e,r){const i=this.getWritable();i.__width=e,i.__height=r}}function rw(n,t,e,r,i,o){let s=o||"unknown";if(!o){const{platform:l}=U6(n||"");s=l||"unknown"}return new cc(s,r,void 0,t,e,void 0,i,n)}function Em(n){return n instanceof cc}const iE=E.lazy(()=>Promise.resolve().then(()=>require("./layers.CdGfvF7V.js")));function Z6(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:YN(t,s,o,i)}:null}class Es extends Zi{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 Es(e.__data,e.__width,e.__height,e.__alignment,e.__key)}static importJSON(e){return new Es(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:Z6,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 iE?A.jsx(E.Suspense,{fallback:null,children:A.jsx(iE,{nodeKey:this.getKey(),data:this.__data,width:this.__width,height:this.__height,alignment:this.__alignment})}):A.jsx("div",{})}}function YN(n="[]",t="inherit",e="inherit",r="left"){return new Es(n,t,e,r)}function G6(n){return n instanceof Es}const ZN=[{name:"alert",color:"rgb(250, 82, 82)",icon:A.jsx(te.IconExclamationCircle,{size:16}),emoji:"❗"},{name:"success",color:"rgb(18, 184, 134)",icon:A.jsx(te.IconCheck,{size:16}),emoji:"✅"},{name:"warning",color:"rgb(242, 188, 57)",icon:A.jsx(te.IconAlertTriangle,{size:16}),emoji:"⚠️"}],GN=n=>n.mode==="callout",iw="calc(50% - 25px) calc(50% - 25px)";function jt(n){const t=G();if(H(t)){const r=t.anchor.getNode();if(r!==null){const i=r.getParent();return n?i:r}}return null}function J6(n){n.update(()=>{const t=G();if(H(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=G();H(o)&&(r.isAttached()&&i.isAttached()?Un(r)&&Un(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 ow=(n,t)=>{n.update(()=>{if(typeof t=="string"){const e=Se(t);e&&e.remove();return}t&&t.remove()})};function V6(n,t){t.update(()=>{let e=Ml();n.getParent()&&(e.anchor.set(n.getKey(),0,"element"),e.focus.set(n.getKey(),0,"element"),Qe(e))})}function Q6(){const n=G();if(H(n)){const t=n.anchor,e=n.focus,r=e.getNode(),i=bo(r)?r.__size:r.getTextContentSize(),o=t.offset===0,s=e.offset===i;if(o&&s)return!0}return!1}function $c(n,t){const e=cA(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(Y(l)&&Y(c)){const u=l.getChildren();for(const d of u){if(t&&d.is(t))continue;const h=cA(d);Un(d)&&Un(h)&&(h.setFormat(d.__format),h.setStyle(d.__style)),c.append(h),r.push([d,h])}}}}return e}function X6(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 Ya(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=X6(o,hg);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:Be(d)}}return{htmlElement:s,lexicalNode:n}}return Ya(o,t,r)}return{htmlElement:null,lexicalNode:null}}function oE(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=Be(c||document.body);return u?Ya(u,t,e):{htmlElement:null,lexicalNode:null}}else return Ya(n,t,e);return{htmlElement:null,lexicalNode:null}}const Sa=n=>{n.update(()=>{G()!==null&&Qe(null)})},QA=()=>{const n=Re(),t=n==null?void 0:n.getFirstChild();return n.getChildren().length>1?!1:t&&Y(t)&&t.isEmpty()&&!bo(t)},JN=n=>{n.update(()=>{const t=Re(),e=_e(),r=G();H(r)&&(r.format=0,r.setStyle("")),t.append(e).selectEnd()})},VN=(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}},q6=({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(te.IconChevronDown,{style:{width:14,height:14,marginLeft:2}}),maxDropdownHeight:400,variant:"default",styles:{dropdown:{overflow:"auto",zIndex:1e3}}}));function $6({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(te.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(q6,{setIsMenuOpen:u,codeLanguage:n,onCodeLanguageSelect:e,CODE_LANGUAGE_OPTIONS:t})}),A.jsx(L.Menu.Item,{rightSection:A.jsx(te.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(te.IconArrowsDiagonal,{size:14}):A.jsx(te.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 QN({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 eH={copy:te.IconCopy,success:te.IconCheck,loader:te.IconCircleDashed};function tH({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=eH[e];return A.jsxs(QN,{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 gg(n,t,e){const r=E.useRef(null);return r.current=n,E.useMemo(()=>ls.debounce((...i)=>{r.current&&r.current(...i)},t,{maxWait:e}),[t,e])}const XN={json:"JSON",...tW};function nH({anchorElem:n}){var B,U;const[t]=De(),{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),b=(B=N())==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=T();function N(){return m.current}function T(){const j=[];for(const[K,ee]of Object.entries(XN))j.push([K,ee]);return j.sort(([K],[ee])=>K.localeCompare(ee)),j}const k=gg(j=>{const{lexicalDOMNode:K,isOutside:ee}=VN(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(ee){s(!1);return}if(!K)return;m.current=K;let ue=null,fe="";if(t.update(()=>{const ie=Be(K);ie&&c(ie.__key),bo(ie)?(ue=ie,fe=ue.getLanguage()||"",i(fe?CS[fe]||fe:"Выберите форматирование"),d(ue.__isCollapsed)):Oo(ie)&&(ue=ie)}),ue){const{y:ie,right:V,left:re}=n.getBoundingClientRect(),{y:J,right:Z,left:X}=K.getBoundingClientRect();s(!0),p.current&&(p.current.style.visibility="visible");const le=J-ie,de=V-Z,me=X-re;g(()=>({right:`${de}px`,left:`${me}px`,top:`${le}px`}))}},50,500);E.useEffect(()=>et(t.registerMutationListener(xo,j=>{t.getEditorState().read(()=>{for(const[K,ee]of j)ee==="destroyed"&&s(!1)})}),t.registerUpdateListener(({dirtyElements:j,dirtyLeaves:K})=>{o&&(j.size>0||K.size>0)&&t.getEditorState().read(()=>{const ee=jt();(ee==null?void 0:ee.__type)!=="extend-code"&&(ee==null?void 0:ee.__type)!=="code-highlight"&&p.current&&(p.current.style.visibility="hidden")})})),[t,o]),E.useEffect(()=>(document.addEventListener("mousemove",k),()=>{s(!1),k.cancel(),document.removeEventListener("mousemove",k)}),[k]);const _=E.useCallback(()=>{d(j=>!j),t.update(()=>{if(l!==null){const j=Se(l);bo(j)&&j.toggleCodeState()}})},[t,l]),M=E.useCallback(j=>{t.update(()=>{if(l!==null){const K=Se(l);if(bo(K)){K.setLanguage(j),K.selectStart();const ee=K.getLanguage()||"";i(ee?CS[ee]||ee:"")}}})},[t,l]),I=j=>{t.update(()=>{const K=Se(l);Oo(K)&&t.update(()=>{const ee=GN(j);K.setType(ee?j.meta.type:void 0),K.setBackgroundColor(j.value),s(!1)})})};async function R(){const j=N();if(!j)return!1;let K="";t.update(()=>{const ee=Be(j);bo(ee)&&(K=ee.getTextContent());const ue=G();Qe(ue)});try{return await navigator.clipboard.writeText(K),!0}catch(ee){return console.error("Failed to copy: ",ee),!1}}return b?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(Ft.NewColorPicker,{data:{callout:{label:e("editor.colors.theme"),filled:!0,palette:ZN.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(te.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(tH,{pointerEvents:C,copyToClipboard:R}),v?A.jsx(QN,{style:{pointerEvents:C},onClick:_,ariaLabel:"expand",children:u?A.jsx(L.Tooltip,{label:e("editor.menu.main.code.collapsible.hidden"),children:A.jsx(te.IconArrowsDiagonal,{size:14})}):A.jsx(L.Tooltip,{label:e("editor.menu.main.code.collapsible.expand"),children:A.jsx(te.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($6,{onCodeLanguageSelect:M,CODE_LANGUAGE_OPTIONS:x,codeLanguage:r,onCollapsibleCode:_,copyToClipboard:R,pointerEvents:C,showExpandButton:v,isCollapsed:u})]})}function rH({anchorElem:n=document.body}){return mr.createPortal(A.jsx(nH,{anchorElem:n}),n)}const km=new Map;class Ir extends xo{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 Ir(e.__isCollapsed,e.getLanguage(),e.__key)}static importJSON(e){const{isCollapsed:r=!0,language:i=null}=e,o=new Ir(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(()=>{km.set(this.__key,i.getAttribute("data-gutter")||"")},0),i}updateDOM(e,r,i){return this.__isCollapsed!==e.__isCollapsed?(this.__isCollapsed?(r.classList.add(Cs.codeCollapsed),r.setAttribute("data-collapsed","true")):(r.classList.remove(Cs.codeCollapsed),r.setAttribute("data-collapsed","false")),!1):(setTimeout(()=>{km.set(this.__key,r.getAttribute("data-gutter")||"")},0),super.updateDOM(e,r,i))}exportDOM(e){var o;const r=document.createElement("pre");ct(r,e._config.theme.code,(o=e._config.theme.ltr)==null?void 0:o[0]),r.setAttribute("spellcheck","false"),r.setAttribute("data-language",String(this.__language)||"plain"),r.setAttribute("data-highlight-language",String(this.__language)||"plain"),r.setAttribute("data-name-language",String(XN[this.__language||"plain"])),r.setAttribute("data-collapsed",String(this.__isCollapsed)),this.__isCollapsed&&r.classList.add(e._config.theme.codeCollapsed);const i=km.get(this.__key);return r.setAttribute("data-gutter",i||"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 Ir(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=iH(l);const u=[];for(;;)if(jn(c))u.push(Jr()),c=c.getNextSibling();else if(Zt(c)){let w=0;const v=c.getTextContent(),C=c.getTextContentSize();for(;w<C&&v[w]===" ";)w++;if(w!==0&&u.push(Dt(new wl(" ".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=[ir(),...u];p.splice(g,0,m);const b=u[u.length-1];b?b.select():i.offset===0?d.selectPrevious():d.getNextSibling().selectNext(0,0)}if(bo(l)){const{offset:c}=e.anchor;l.splice(c,0,[ir()]),l.select(c+1,c+1)}return null}}function qN(n=!1){return Dt(new Ir(n))}function bo(n){return n instanceof Ir}function iH(n){let t=n,e=n;for(;Zt(e)||jn(e);)t=e,e=e.getPreviousSibling();return t}function oH({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(bl,{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(G()){const l=Se(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 sH(n){const t=n.getAttribute("data-form");return t?{node:sw(t)}:null}class Vu extends Ko{constructor(e,r,i){super(r,i);F(this,"__id");this.__id=e}static getType(){return"form"}static clone(e){return new Vu(e.__id,e.__format,e.__key)}static importJSON(e){const r=sw(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:sH,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(oH,{className:o,format:this.__format,nodeKey:this.getKey(),formID:this.__id,editor:e})}}function sw(n){return new Vu(n)}const lH=E.lazy(()=>Promise.resolve().then(()=>require("./layers.Bau1Nn-R.js")));function aH(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:pg({altText:e,height:l!=null&&l.includes("%")?l:o,src:u,width:c!=null&&c.includes("%")?c:i,id:String(s),alignment:d})}}class Wo extends Zi{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||Ou(),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 Wo(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=pg({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:aH,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(lH,{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 pg({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 Dt(new Wo(i,n,e,o,t,s,l,r,c,u,d,h))}function Za(n){return n instanceof Wo}const cH=E.lazy(()=>Promise.resolve().then(()=>require("./layers.QeRtN6Gq.js")));function uH(n){if(n instanceof HTMLImageElement){const{alt:t,src:e,width:r,height:i}=n;return{node:$N({altText:t,height:i,src:e,width:r})}}return null}class mg extends Zi{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||Ou(),this.__position=i}static getType(){return"inline-image"}static clone(e){return new mg(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=$N({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:uH,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(cH,{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 $N({altText:n,position:t,height:e,src:r,width:i,showCaption:o,caption:s,key:l}){return Dt(new mg(r,n,t,i,e,o,s,l))}function dH(n){return n instanceof mg}class Ag extends Mn{static getType(){return"keyword"}static clone(t){return new Ag(t.__text,t.__key)}static importJSON(t){const e=fH(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 fH(n){return new Ag(n)}function hH(n){const t=n.style.gridTemplateColumns;return t?{node:yg(t)}:null}class Xr extends At{constructor(e,r){super(r);F(this,"__templateColumns");this.__templateColumns=e}static getType(){return"layout-container"}static clone(e){return new Xr(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:hH,priority:2}:null}}static importJSON(e){return yg(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 yg(n){return new Xr(n)}function dh(n){return n instanceof Xr}function gH(n){var e;const t=li();return(e=n.parentElement)!=null&&e.classList.contains("dsd__theme__layoutItem")?{node:t}:null}class mi extends At{static getType(){return"layout-divider"}static clone(t){return new mi(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:gH,priority:2}}}static importJSON(){return li()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"layout-divider",version:1}}}function li(){return new mi}function pH(n){return n instanceof mi}function mH(n){const t=n.style.backgroundColor||"transparent";return{node:ki(t)}}class Mr extends At{constructor(e,r){super(r);F(this,"__backgroundColor");this.__backgroundColor=e}static getType(){return"layout-item"}static clone(e){return new Mr(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:mH,priority:2}}}static importJSON(){return ki()}isShadowRoot(){return!1}setLayoutBackground(e){this.getWritable().__backgroundColor=e}exportJSON(){return{...super.exportJSON(),type:"layout-item",backgroundColor:this.__backgroundColor,version:1}}}function ki(n="transparent"){return new Mr(n)}function Di(n){return n instanceof Mr}function AH(n){const t=n.textContent;return t!==null?{node:eI(t)}:null}const yH="background-color: rgba(24, 119, 232, 0.2)";class bg extends Mn{constructor(e,r,i){super(r??e,i);F(this,"__mention");this.__mention=e}static getType(){return"mention"}static clone(e){return new bg(e.__mention,e.__text,e.__key)}static importJSON(e){const r=eI(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=yH,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:AH,priority:1}:null}}isTextEntity(){return!0}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function eI(n){const t=new bg(n);return t.setMode("segmented").toggleDirectionless(),Dt(t)}const XA=ve("INSERT_MUSIC_COMMAND"),tI=ve("UPLOAD_MUSIC_COMMAND");function bH(){const[n]=De(),{t}=pt.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=E.useContext(Lt);return E.useEffect(()=>{if(!n.hasNodes([uc]))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){Ft.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(s[0].size>r*1024*1024){Ft.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(XA,"upload"),setTimeout(()=>{n.dispatchCommand(tI,o)})};return e!=null&&e.current&&(e.current.insertMusics=i),n.registerCommand(XA,o=>{const l=lw(o==="upload"?"":o,o!=="upload");return wg(l),!1},Ne)},[n]),null}function wH({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}=$h(),[m,b]=E.useState(0),{fetchUploadMedia:w,maxFileSize:v}=E.useContext(Lt);E.useEffect(()=>{o&&h(!0)},[o]),E.useEffect(()=>{const T=document.documentElement;Sl(d,T)},[d]);const C=E.useMemo(()=>[{key:"link",enabled:!0},{key:"upload",enabled:!0}].filter(k=>k.enabled).map(k=>k.key),[]);E.useEffect(()=>r.registerCommand(tI,T=>!1,Ne),[]);const x=T=>{r.update(()=>{const k=Se(i);if(!k)return;fh(k)&&(h(!1),k.setSrc(T));const _=k.getNextSibling();_&&Qe(_.selectNext())})},N=T=>{r.update(()=>{u(!0),h(!1);const k=g();w&&w(T[0],(_,M,I)=>{const{originalFileName:R}=I,B=new URLSearchParams({originalFileName:R}),U=`${_}?${B.toString()}`;x(U),b(0),u(!1)},()=>{b(0),u(!1)},k,_=>{b(_)})})};return e?A.jsx("audio",{src:e,controls:!0}):A.jsx(Ft.FilePicker,{showTabs:C,uploading:!1,type:"audio",dropZoneProps:{multiple:!1,maxSize:v*1024*1024,accept:{"audio/*":[]}},onUpload:N,onChange:T=>{x(T)},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(bl,{className:n,format:t,nodeKey:i,children:A.jsx(lc,{isLoading:c,title:s("editor.audio.add_audio"),icon:"music",onClick:()=>h(T=>!T),nodeKey:i,progress:m,onAfterCancel:()=>{p(),u(!1)}})})})})}function CH(n){const t=n.getAttribute("data-src");return{node:lw(t||"")}}class uc extends Ko{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 uc(e.__src,e.__format,e.__key,e.__create)}static importJSON(e){const r=lw(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:CH,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(wH,{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 lw(n,t){return new uc(n,void 0,void 0,t)}function fh(n){return n instanceof uc}function vH({nodeKey:n}){const[t]=De(),[e,r,i]=qh(n),o=E.useCallback(s=>{if(s.preventDefault(),e&&Jt(G())){const l=Se(n);if(SH(l))return l.remove(),!0}return!1},[e,n]);return E.useEffect(()=>et(t.registerCommand(Po,s=>{const l=t.getElementByKey(n);return s.target===l?(s.shiftKey||i(),r(!e),!0):!1},Ne),t.registerCommand(Xa,o,Ne),t.registerCommand(_l,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 Qu extends Zi{static getType(){return"page-break"}static clone(t){return new Qu(t.__key)}static importJSON(){return nI()}static importDOM(){return{figure:t=>t.getAttribute("type")!==this.getType()?null:{conversion:xH,priority:po}}}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(vH,{nodeKey:this.__key})}}function xH(){return{node:nI()}}function nI(){return new Qu}function SH(n){return n instanceof Qu}function EH(n){const t=n.getAttribute("data-src"),e=n.getAttribute("data-json");return{node:aw(t||"",e||"",!1)}}class Xu extends Ko{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 Xu(e.__src,e.__json,!1,e.__format,e.__key)}static importJSON(e){const r=aw(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:EH,priority:1}:null}}decorate(e,r){return(r.theme.embedBlock||{}).base,A.jsx("div",{})}}function aw(n,t,e){return new Xu(n,t,e)}function rI(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 xu(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 kH(n,t){const e=xu(n,t);return e.startsWith("http://")||e.startsWith("https://")?{src:e}:{attachmentId:e}}function TH(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 qA=ve("INSERT_VIDEO_COMMAND"),iI=ve("UPLOAD_VIDEO_COMMAND");function _H(){const[n]=De(),{t}=pt.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=E.useContext(Lt);return E.useEffect(()=>{if(!n.hasNodes([Kl]))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){Ft.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(s[0].size>r*1024*1024){Ft.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(qA,"upload"),setTimeout(()=>{n.dispatchCommand(iI,o)})};return e!=null&&e.current&&(e.current.insertVideos=i),n.registerCommand(qA,o=>{const s=uw(o,"100%","100%","left",o!=="upload");return wg(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=Se(t);(u instanceof Wo||u instanceof Kl||u instanceof Es)&&(u.setAlignment(c),u.getPreviousSibling()?u.selectPrevious():u.selectStart(),o&&o(!1))})};return A.jsxs(L.Menu,{opened:e,shadow:"md",onChange:r,transitionProps:Vi,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 NH({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),[b,w]=E.useState(!1),[v,C]=E.useState(!1),{start:x,cancel:N}=$h(),[T,k]=E.useState(0),{fetchUploadMedia:_,maxFileSize:M}=E.useContext(Lt),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 ee=document.documentElement;Sl(b,ee)},[b]),E.useEffect(()=>i.registerCommand(iI,ee=>(e==="upload"&&K(ee),!1),Ne),[e]);const R=(ee,ue=!1)=>{const{platform:fe,id:ie}=rI(ee,ue);if(!ie){m(!0);return}i.update(()=>{const V=Se(o);if(!V)return;Su(V)&&(w(!1),V.setPlatform(fe),V.setId(ie));const re=V.getNextSibling();re&&Qe(re.selectNext())})},B=(ee,ue)=>{i.update(()=>{Qe(null);const fe=Se(o);return Su(fe)&&fe.setWidthAndHeight(ee,ue),!0})},U=()=>{i.update(()=>{const ee=Se(o);return ee&&ee.remove(),!1})},j=ee=>{ee.stopPropagation(),U()},K=ee=>{i.update(()=>{p(!0),w(!1);const ue=x();_&&_(ee[0],(fe,ie)=>{R(fe),p(!1),k(0)},()=>{p(!1),k(0)},ue,fe=>{k(fe)})})};return!r||e==="upload"?A.jsx(Ft.FilePicker,{showTabs:I,uploading:!1,type:"video",dropZoneProps:{multiple:!1,maxSize:M*1024*1024,accept:{"video/*":[]}},isValidMediaUrl:TH,onUpload:K,onChange:ee=>{R(ee,!0)},popoverProps:{opened:b,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(bl,{className:n,format:t,nodeKey:o,children:A.jsx(lc,{isLoading:g,title:d("editor.video.add_video"),icon:"youtube",onClick:()=>w(ee=>!ee),nodeKey:o,progress:T,onAfterCancel:()=>{N(),p(!1)}})})}):A.jsx(nw,{editor:i,isIcon:!1,isEmbed:!0,width:uh(l),height:uh(c),onResizeEnd:B,alignment:u,type:"video",children:A.jsx("div",{className:"media-wrapper",children:A.jsxs(bl,{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(Ft.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,...kH(e,r)})})}):A.jsx("iframe",{src:xu(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 sE(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:uw(xu(t,e),r,i,o)}:{node:null}}class Kl extends Ko{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 Kl(e.__platform,e.__id,e.__format,e.__width,e.__height,e.__key,e.__alignment)}static importJSON(e){const r=uw(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:sE,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:sE,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=xu(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(NH,{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 xu(this.__platform,this.__id)}setWidthAndHeight(e,r){const i=this.getWritable();i.__width=e,i.__height=r}}function uw(n,t,e,r,i){const o=n.startsWith("https")||n.startsWith("http"),{platform:s,id:l}=rI(n,o);return new Kl(s,l||"",void 0,t,e,void 0,r,i)}function Su(n){return n instanceof Kl}const hh=ve("INSERT_IMAGE_COMMAND"),oI=ve("UPLOAD_IMAGE_COMMAND");function IH(){const[n]=De(),{t}=pt.useTranslation(),{imperativeHandleRef:e}=E.useContext(Lt),{maxFileSize:r}=E.useContext(Lt);return E.useEffect(()=>{if(!n.hasNodes([Wo]))throw new Error("ImageOlugin: FileNode not registered on editor");const i=o=>{if(o.length>1){Ft.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(o[0].size>r*1024*1024){Ft.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(hh,{src:"upload",create:!1,altText:""}),setTimeout(()=>{n.dispatchCommand(oI,o)},100)};return e!=null&&e.current&&(e.current.insertImages=i),n.registerCommand(hh,o=>{const s=pg(o);return wg(s),!1},Ne)},[n]),null}const wg=n=>{var s;const t=jt();if(Wt(t))return t.append(n),!0;let e=t==null?void 0:t.getParent();const r=e instanceof jo||e instanceof wn||e instanceof yr,i=t instanceof pi&&!!t.__text,o=Y(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 mi?((s=t.getPreviousSibling())==null||s.replace(n),!0):(t==null||t.replace(n),!0);if(!t)return Re().append(n),!0},$A=ve("INSERT_FILE_COMMAND"),sI=ve("UPLOAD_FILE_COMMAND");function MH(){const[n]=De(),{t}=pt.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=E.useContext(Lt);return E.useEffect(()=>{if(!n.hasNodes([Wl]))throw new Error("FilePlugin: FileNode not registered on editor");const i=o=>{if(o.length>1){Ft.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(o[0].size>r*1024*1024){Ft.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand($A,"upload"),setTimeout(()=>{n.dispatchCommand(sI,o)})};return e!=null&&e.current&&(e.current.insertFiles=i),n.registerCommand($A,o=>{const s=dw(o,"100%","100%","left",o!=="upload");return wg(s),!1},Ne)},[n]),null}function DH(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 LH({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:b,maxFileSize:w}=E.useContext(Lt),{startLoading:v,stopLoading:C}=U3(),{start:x,cancel:N}=$h();E.useEffect(()=>{r.update(()=>{var j,K;const B=Se(i),U=((K=(j=m.current)==null?void 0:j.firstChild)==null?void 0:K.outerHTML)||"";B instanceof Wl&&e&&B.setRef(U)})},[e]),E.useEffect(()=>{o&&h(!0)},[o]);const{fileSize:T,fileName:k}=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]),_=E.useMemo(()=>[{key:"link",enabled:!0},{key:"upload",enabled:!0}].filter(U=>U.enabled).map(U=>U.key),[]);E.useEffect(()=>{const B=document.documentElement;Sl(d,B)},[d]),E.useEffect(()=>r.registerCommand(sI,B=>(e==="upload"&&I(B),!1),Ne),[e]);const M=B=>{r.update(()=>{const U=Se(i);if(!U)return;ey(U)&&(h(!1),U.setSrc(B));const j=U.getNextSibling();j&&Qe(j.selectNext())})},I=B=>{r.update(()=>{u(!0),h(!1),v();const U=x();b&&b(B[0],(j,K,ee)=>{const{contentType:ue,fileSize:fe,originalFileName:ie}=ee,V=new URLSearchParams({contentType:ue,fileSize:fe,originalFileName:ie}),re=j.includes("?")?`${j}&${V.toString()}`:`${j}?${V.toString()}`;M(re),C(),u(!1),p(0)},j=>{j&&!U.aborted&&Ft.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=Se(i);U&&U.remove()})};return!e||e==="upload"?A.jsx(Ft.FilePicker,{showTabs:_,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(bl,{className:n,format:t,nodeKey:i,children:A.jsx(lc,{isLoading:c,title:s("editor.file.add_file"),icon:"file",progress:g,onClick:()=>h(B=>!B),onAfterCancel:()=>{N(),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(te.IconFile,{}),rightSection:A.jsx(te.IconX,{onClick:R}),variant:"light",color:"gray",justify:"left",m:0,children:[k," ",DH(Number(T),2)]})})})}const lE=new Map;function OH(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:dw(t||"",e,r,i)}}class Wl extends Ko{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 Wl(e.__src,e.__format,e.__width,e.__height,e.__key,e.__alignment)}static importJSON(e){const r=dw(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:OH,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=lE.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(LH,{editor:e,nodeKey:this.getKey(),format:this.__format,className:o,src:this.__src,create:this.__create})}setRef(e){lE.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 dw(n,t,e,r,i){return new Wl(n,void 0,t,e,void 0,r,i)}function ey(n){return n instanceof Wl}function uf(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 aE(n,t,e){n.update(()=>{const r=Se(t);Za(r)||fh(r)?r.setSrc(e):Su(r)&&e.trim()&&r.setId(e)},{tag:"historic"})}const zr=new Map;function RH({editor:n}){const{fetchDeleteMedia:t,fetchRestoreMedia:e,commentOptions:r}=E.useContext(Lt),{pageId:i}=r||{pageId:null};return E.useEffect(()=>()=>{zr.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=Za(h)||Su(h)||ey(h)||fh(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"))&&uf(m)){const b=s.get(m)||[],w=b.includes(c)?b:[...b,c];s.set(m,w)}}for(const[c,u]of s.entries())zr.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=Su(g)||Za(g)||ey(g)||fh(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 b=s.get(m)||[];!b.includes(u)&&uf(h==null?void 0:h.src)&&s.set(m,[...b,u])}for(const[u,d]of zr.entries()){const h=s.get(u);if(Array.isArray(d.mediaNodeKeys)&&d.mediaNodeKeys.length>0&&(!h||h.length===0)){const g=uf(u);if(g&&t){const p=n.registerCommand(Ja,()=>!0,zi);t(g,()=>{p()}),zr.set(u,{mediaNodeKeys:[]})}}}for(const[u]of zr.entries())s.has(u)||zr.set(u,{mediaNodeKeys:[]});if(zr.size>0)for(const[u,d]of s.entries()){const h=zr.get(u);if(h&&Array.isArray(h.mediaNodeKeys)&&h.mediaNodeKeys.length===0&&d.length>0){aE(n,d[0]," "),l=!0;const g=uf(u);if(zr.set(u,{mediaNodeKeys:d}),g&&e){const p=n.registerCommand(Tl,()=>!0,zi);e(g,()=>{p(),aE(n,d[0],u)})}}}if(!l)for(const[u,d]of s.entries())zr.set(u,{mediaNodeKeys:d})})},[n,e,t]),zr}const PH=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function BH({onClear:n}){const[t]=De();return PH(()=>T4(t,n),[t,n]),null}function FH({newTab:n=!0,disabled:t=!1}){const[e]=De();return E.useEffect(()=>yW(e,Db({disabled:t,newTab:n})),[e,n,t]),null}const jH=E.createContext(null),Tm={didCatch:!1,error:null};class zH extends E.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Tm}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(Tm)}}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&&UH(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(Tm)}}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(jH.Provider,{value:{didCatch:o,error:s,resetErrorBoundary:this.resetErrorBoundary}},l)}}function UH(){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 lI({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 KH(){const[n]=De();return E.useEffect(()=>{if(!n.hasNodes([tg]))throw new Error("HashtagPlugin: HashtagNode not registered on editor");return hW(n)},[n]),null}function WH(){const[n]=De();return E.useEffect(()=>n.registerCommand(K_,t=>{const e=G();if(!H(e))return!1;if(e.focus.getNode()!==null){const r=ic();c1(r)}return!0},Ke),[n]),null}const HH=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function YH({ignoreHistoryMergeTagChange:n=!0,ignoreSelectionChange:t=!1,onChange:e}){const[r]=De();return HH(()=>{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(Zr)||l.isEmpty()||e(i,r,c)})},[r,n,t,e]),null}const ZH=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function GH(n){return{initialValueFn:()=>n.isEditable(),subscribe:t=>n.registerEditableListener(t)}}function fw(){return(function(n){const[t]=De(),e=E.useMemo(()=>n(t),[t,n]),[r,i]=E.useState(()=>e.initialValueFn()),o=E.useRef(r);return ZH(()=>{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})(GH)}const JH={name:"@lexical/react/ReactProvider"};function VH(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 hw=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function QH({editor:n,ErrorBoundary:t}){return(function(e,r){const[i,o]=E.useState(()=>e.getDecorators());return hw(()=>e.registerDecoratorListener(s=>{mr.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(mr.createPortal(d,h,u))}return s},[r,i,e])})(n,t)}function XH({editor:n,ErrorBoundary:t}){return(function(e){const r=U_.maybeFromEditor(e);if(r&&r.hasExtensionByName(JH.name)){for(const i of["@lexical/plain-text","@lexical/rich-text"])r.hasExtensionByName(i)&&VH(320,i);return!0}return!1})(n)?null:A.jsx(QH,{editor:n,ErrorBoundary:t})}function cE(n){return n.getEditorState().read(cN(n.isComposing()))}function aI({contentEditable:n,placeholder:t=null,ErrorBoundary:e}){const[r]=De();return(function(i){hw(()=>et(BW(i),NW(i)),[i])})(r),A.jsxs(A.Fragment,{children:[n,A.jsx(qH,{content:t}),A.jsx(XH,{editor:r,ErrorBoundary:e})]})}function qH({content:n}){const[t]=De(),e=(function(i){const[o,s]=E.useState(()=>cE(i));return hw(()=>{function l(){const c=cE(i);s(c)}return l(),et(i.registerUpdateListener(()=>{l()}),i.registerEditableListener(()=>{l()}))},[i]),o})(t),r=fw();return e?typeof n=="function"?n(r):n:null}const uE=window.location.hostname,$H=uE!=="playground.lexical.dev"&&uE!=="lexical-playground.vercel.app",e5=new URLSearchParams(window.location.search),dE=n=>e5.get(n)==="true",{isShowTreeView:t5,isMaxLength:n5}={isShowTreeView:dE("showTreeView"),isMaxLength:dE("isMaxLength")},Eu={disableBeforeInput:!1,emptyEditor:$H,isAutocomplete:!1,isCharLimit:!1,isCharLimitUtf8:!1,isCollab:!1,isMaxLength:n5,isRichText:!0,measureTypingPerf:!1,shouldUseLexicalContextMenu:!1,showNestedEditorTreeView:!1,showTableOfContents:!1,showTreeView:t5,tableCellBackgroundColor:!0,tableCellMerge:!0},fE={...Eu},cI=E.createContext({setOption:(n,t)=>{},settings:Eu});function r5(){const n={},t=new URLSearchParams(window.location.search);for(const e of Object.keys(Eu)){const r=t.get(e);r!==null&&(n[e]=r==="true")}return n}const i5=({children:n})=>{const[t,e]=E.useState(()=>({...Eu,...r5()})),r=E.useCallback((o,s)=>{e(l=>({...l,[o]:s})),Eu[o]===s?hE(o,null):hE(o,s)},[]),i=E.useMemo(()=>({setOption:r,settings:t}),[r,t]);return A.jsx(cI.Provider,{value:i,children:n})},gw=()=>E.useContext(cI);function hE(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 uI=E.createContext({}),o5=({children:n})=>{const t=E.useMemo(()=>({historyState:Rb()}),[]);return A.jsx(uI.Provider,{value:t,children:n})},pw=()=>E.useContext(uI),s5=({t:n,src:t,isShown:e,setShown:r,id:i})=>{const[o,{open:s,close:l}]=Oa.useDisclosure(!1),c=()=>{},u=E.useMemo(()=>[{id:!i||i==="0"?"":i,Url:t??"",contentType:""}],[t,i]),d=h=>{h?s():l()};return A.jsxs(A.Fragment,{children:[A.jsx(Ft.AttachmentsGalleryModal,{showAttach:u[0],setShowAttach:c,opened:o,onOpenChange:d,attachments:u,translation:{download:n("editor.gallery.download"),close:n("editor.gallery.close"),errorFile:n("editor.gallery.errorFile")}}),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"})})})]})},gE=8,l5=({anchorElem:n=document.body})=>{var b;const[t]=De(),[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=gg(w=>{if(w.target instanceof HTMLElement&&w.target.clientWidth<100)return;const{lexicalDOMNode:C,isOutside:x}=VN(w,"img",["div.media-actions"]);if(x){o(!1);return}if(c.current=C,C){t.update(()=>{const R=Be(C);R&&l({key:R.__key,src:R.__src})});const{y:N,right:T}=n.getBoundingClientRect(),{y:k,right:_}=C.getBoundingClientRect();o(!0);const M=k-N+gE,I=T-_+gE;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 mr.createPortal(A.jsxs("div",{className:`media-actions ${i?"visible":""}`,style:{right:u.right,top:u.top,pointerEvents:m},children:[!JA&&A.jsx(cw,{opened:e,setOpened:r,t:h,editor:t,nodeKey:s==null?void 0:s.key,setShown:o,isShown:i}),A.jsx(s5,{setShown:o,isShown:i,t:h,src:s==null?void 0:s.src,id:(b=c.current)==null?void 0:b.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=Se(s==null?void 0:s.key);Za(v)&&(v.getPreviousSibling()?v.remove():v.replace(_e()),t.dispatchCommand(Eo,"hide_menu"),o(!1))}return!1})})},variant:"default",children:A.jsx(xe,{size:"14",name:"trash"})})})]}),n)};function dI(n,t=Object.freeze({})){return{editorState:n.toJSON(),lastSaved:t.lastSaved||Date.now(),source:t.source||"Lexical",version:"0.38.2"}}function fI(n,t){const e=typeof t=="string"?JSON.parse(t):t;return n.parseEditorState(e.editorState)}function a5(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(fI(n,t)),n.dispatchCommand(Oy,void 0)})}function c5(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()})(dI(n.getEditorState(),{...t,lastSaved:e.getTime()}),`${t.fileName||e.toISOString()}.lexical`)}function jc(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 u5(n){let t=1,e=n.getParent();for(;e!=null;){if(Gn(e)){const r=e.getParent();if(It(r)){t++,e=r.getParent();continue}jc(40)}return t}return t}function Ii(n){return Gn(n)&&It(n.getFirstChild())}function pE(n){return Ro().append(n)}function hI(n,t){n.splice(n.getChildrenSize(),0,t)}function mw(n,t){const e=n.getLastChild(),r=t.getFirstChild();e&&r&&Ii(e)&&Ii(r)&&(mw(e.getFirstChild(),r.getFirstChild()),r.remove());const i=t.getChildren();i.length>0&&n.append(...i),t.remove()}function d5(n){const t=n.getListType()!=="check";let e=n.getStart();for(const r of n.getChildren())Gn(r)&&(r.getValue()!==e&&r.setValue(e),t&&r.getLatest().__checked!=null&&r.setChecked(void 0),It(r.getFirstChild())||e++)}function f5(n){const t=new Set;if(Ii(n)||t.has(n.getKey()))return;const e=n.getParent(),r=n.getNextSibling(),i=n.getPreviousSibling();if(Ii(r)&&Ii(i)){const o=i.getFirstChild();if(It(o)){o.append(n);const s=r.getFirstChild();It(s)&&(hI(o,s.getChildren()),r.remove(),t.add(r.getKey()))}}else if(Ii(r)){const o=r.getFirstChild();if(It(o)){const s=o.getFirstChild();s!==null&&s.insertBefore(n)}}else if(Ii(i)){const o=i.getFirstChild();It(o)&&o.append(n)}else if(It(e)){const o=Ro().setTextFormat(n.getTextFormat()).setTextStyle(n.getTextStyle()),s=Bi(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 h5(n){if(Ii(n))return;const t=n.getParent(),e=t?t.getParent():void 0;if(It(e?e.getParent():void 0)&&Gn(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=Ro(),l=Bi(o);s.append(l),n.getPreviousSiblings().forEach(d=>l.append(d));const c=Ro(),u=Bi(o);c.append(u),hI(u,n.getNextSiblings()),e.insertBefore(s),e.insertAfter(c),e.replace(n)}}}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}let qu=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:g5,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(...gh(p)),g){const b=u.getParent(),w=It(b)&&b.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 b=gh(m);u.getChildren().some(w=>It(w))?d.push(...b):h.push(...b)}h.length>0&&kr(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=uu(c.__textStyle);for(const h in d)l.style.setProperty(`--listitem-marker-${h}`,d[h]);if(u)for(const h in uu(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(Y(i)&&this.canMergeWith(i)){const o=i.getChildren();this.append(...o),i.remove()}else super.append(i)}return this}replace(e,r){if(Gn(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=Bi(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&&(Y(e)||jc(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)||jc(39),Gn(e))return super.insertAfter(e,r);const o=this.getNextSiblings();if(i.insertAfter(e,r),o.length!==0){const s=Bi(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&&Ii(r)&&Ii(i)&&(mw(r.getFirstChild(),i.getFirstChild()),i.remove())}insertNewAfter(e,r=!0){const i=Ro().updateFromJSON(this.exportJSON()).setChecked(!this.getChecked()&&void 0);return this.insertAfter(i,r),i}collapseAtStart(e){const r=_e();this.getChildren().forEach(l=>r.append(l));const i=this.getParentOrThrow(),o=i.getParentOrThrow(),s=Gn(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(;Gn(r);)r=r.getParentOrThrow().getParentOrThrow(),i++;return i}setIndent(e){typeof e!="number"&&jc(117),(e=Math.floor(e))>=0||jc(199);let r=this.getIndent();for(;r!==e;)r<e?(f5(this),r++):(h5(this),r--);return this}canInsertAfter(e){return Gn(e)}canReplaceWith(e){return Gn(e)}canMergeWith(e){return Gn(e)||gn(e)}extractWithChild(e,r){if(!H(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 Bi("bullet")}canMergeWhenEmpty(){return!0}};function g5(n){if(n.classList.contains("task-list-item")){for(const e of n.children)if(e.tagName==="INPUT")return mE(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 mE(e.children[0])}const t=n.getAttribute("aria-checked");return{node:Ro(t==="true"||t!=="false"&&void 0)}}function mE(n){return n.getAttribute("type")!=="checkbox"?{node:null}:{node:Ro(n.hasAttribute("checked"))}}function Ro(n){return Dt(new qu(void 0,n))}function Gn(n){return n instanceof qu}let $u=class extends At{constructor(e="number",r=1,i){super(i);F(this,"__tag");F(this,"__start");F(this,"__listType");const o=m5[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()&&mw(r,i)})(e),d5(e)},extends:At,importDOM:{ol:()=>({conversion:yE,priority:0}),ul:()=>({conversion:yE,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,AE(o,e.theme,this),o}updateDOM(e,r,i){return e.__tag!==this.__tag||e.__listType!==this.__listType||(AE(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];Gn(l)||(o===i&&(o=[...i]),o[s]=Ro().append(!Y(l)||It(l)||l.isInline()?l:yt(l.getTextContent())))}return super.splice(e,r,o)}extractWithChild(e){return Gn(e)}};function AE(n,t,e){const r=[],i=[],o=t.list;if(o!==void 0){const s=o[`${e.__tag}Depth`]||[],l=u5(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&&kr(n,...i),r.length>0&&ct(n,...r)}function p5(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e];if(Gn(r)){t.push(r);const i=r.getChildren();i.length>1&&i.forEach(o=>{It(o)&&t.push(pE(o))})}else t.push(pE(r))}return t}function yE(n){const t=n.nodeName.toLowerCase();let e=null;return t==="ol"?e=Bi("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)?Bi("check"):Bi("bullet")),{after:p5,node:e}}const m5={ol:"number",ul:"bullet"};function Bi(n="number",t=1){return Dt(new $u(n,t))}function It(n){return n instanceof $u}function ty(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 Aw(n){const t=ty(n,e=>e.type);return{element:t.element||[],multilineElement:t["multiline-element"]||[],textFormat:t["text-format"]||[],textMatch:t["text-match"]||[]}}const ph=/[!-/:-@[-`{-~\s]/,A5=/^\s{0,3}$/;function ny(n){if(!gn(n))return!1;const t=n.getFirstChild();return t==null||n.getChildrenSize()===1&&ae(t)&&A5.test(t.getTextContent())}function y5(n,t,e,r){for(const i of t){if(!i.export)continue;const o=i.export(n,s=>mh(s,e,r));if(o!=null)return o}return Y(n)?mh(n,e,r):ot(n)?n.getTextContent():null}function mh(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=>mh(d,t,e,r,[...i,...r]),(d,h)=>bE(d,h,t,r,i));if(u!=null){o.push(u);continue e}}Mt(l)?o.push(`
44
+ `):ae(l)?o.push(bE(l,l.getTextContent(),t,r,i)):Y(l)?o.push(mh(l,t,e,r,i)):ot(l)&&o.push(l.getTextContent())}return o.join("")}function bE(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=wE(n,!0),d=wE(n,!1),h=new Set;for(const g of e){const p=g.format[0],m=g.tag;df(n,p)&&!h.has(p)&&(h.add(p),df(u,p)&&r.find(b=>b.tag===m)||(r.push({format:p,tag:m}),s+=m))}for(let g=0;g<r.length;g++){const p=df(n,r[g].format),m=df(d,r[g].format);if(p&&m)continue;const b=[...r];for(;b.length>g;){const w=b.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 wE(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(Y(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(!Y(e))return null}return null}function df(n,t){return ae(n)&&n.hasFormat(t)}function b5(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||ph.test(p))&&(!m||ph.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 Ws(n){return ae(n)&&!n.hasFormat("code")}function Hs(n,t,e){let r=b5(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 b=m.index||0,w=p.getEndIndex?p.getEndIndex(c,m):b+m[0].length;w!==!1&&(u===void 0||d===void 0||b<u&&(w>d||w<=u))&&(u=b,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,b;if(h[0]===g?p=l:c===0?[p,m]=l.splitText(u):[b,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:b,transformedNode:p}})(n,r.startIndex,r.endIndex,r.transformer,r.match);Ws(s.nodeAfter)&&Hs(s.nodeAfter,t,e),Ws(s.nodeBefore)&&Hs(s.nodeBefore,t,e),Ws(s.transformedNode)&&Hs(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;Ws(s.nodeAfter)&&Hs(s.nodeAfter,t,e),Ws(s.nodeBefore)&&Hs(s.nodeBefore,t,e),Ws(s.transformedNode)&&Hs(s.transformedNode,t,e)}const o=n.getTextContent().replace(/\\([*_`~\\])/g,"$1").replace(/&#(\d+);/g,(s,l)=>String.fromCodePoint(l));n.setTextContent(o)}function w5(n,t=!1){const e=Aw(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]=C5(s,d,e.multilineElement,c);g?d=p:v5(h,c,e.element,r,e.textMatch,t)}const u=c.getChildren();for(const d of u)!t&&ny(d)&&c.getChildrenSize()>1&&d.remove();G()!==null&&c.selectStart()}}function C5(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 b=[];if(m&&t===g)b.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);b.push(v)}else if(w===g&&m){const v=n[w].slice(0,-m[0].length);b.push(v)}else b.push(n[w]);if(c(r,null,u,m,b,!0)!==!1)return[!0,g];break}}return[!1,t]}function v5(n,t,e,r,i,o){const s=yt(n),l=_e();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(Hs(s,r,i),l.isAttached()&&n.length>0){const c=l.getPreviousSibling();if(!o&&(gn(c)||Wa(c)||It(c))){let u=c;if(It(c)){const d=c.getLastDescendant();u=d==null?null:Te(d,Gn)}u!=null&&u.getTextContentSize()>0&&(u.splice(u.getChildrenSize(),0,[ir(),...l.getChildren()]),l.remove())}}}function x5(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 gI=/^(\s*)(\d{1,})\.\s/,pI=/^(\s*)[-*+]\s/,mI=/^(\s*)(?:[-*+]\s)?\s?(\[(\s|x)?\])\s/i,ry=/^(#{1,6})\s/,AI=/^>\s/,yI=/^[ \t]*```([\w-]+)?/,iy=/[ \t]*```$/,S5=/^[ \t]*```[^`]+(?:(?:`{1,2}|`{4,})[^`]+)*```(?:[^`]|$)/,E5=/^(?:\|)(.+)(?:\|)\s?$/,k5=/^(\| ?:?-*:? ?)+\|\s?$/,CE=/^<[a-z_][\w-]*(?:\s[^<>]*)?\/?>/i,vE=/^<\/[a-z_][\w-]*\s*>/i,xE=n=>new RegExp(`(?:${n.source})$`,n.flags),zc=Vk("mdListMarker",{parse:n=>typeof n=="string"&&/^[-*+]$/.test(n)?n:"-"}),bI=n=>(t,e,r,i)=>{const o=n(r);o.append(...e),t.replace(o),i||o.select(0,0)},yw=n=>(t,e,r,i)=>{const o=t.getPreviousSibling(),s=t.getNextSibling(),l=Ro(n==="check"?r[3]==="x":void 0),c=r[0].trim()[0],u=n!=="bullet"&&n!=="check"||c!==zc.parse(c)?void 0:c;if(It(s)&&s.getListType()===n){u&&zp(s,zc,u);const h=s.getFirstChild();h!==null?h.insertBefore(l):s.append(l),t.remove()}else if(It(o)&&o.getListType()===n)u&&zp(o,zc,u),o.append(l),t.remove();else{const h=Bi(n,n==="number"?Number(r[2]):void 0);u&&zp(h,zc,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)},Cg=(n,t,e)=>{const r=[],i=n.getChildren();let o=0;for(const s of i)if(Gn(s)){if(s.getChildrenSize()===1){const h=s.getFirstChild();if(It(h)){r.push(Cg(h,t,e+1));continue}}const l=" ".repeat(4*e),c=n.getListType(),u=Qk(n,zc),d=c==="number"?`${n.getStart()+o}. `:c==="check"?`${u} [${s.getChecked()?"x":" "}] `:u+" ";r.push(l+d+t(s)),o++}return r.join(`
46
+ `)},wI={dependencies:[Gu],export:(n,t)=>{if(!So(n))return null;const e=Number(n.getTag().slice(1));return"#".repeat(e)+" "+t(n)},regExp:ry,replace:bI(n=>{const t="h"+n[1].length;return os(t)}),type:"element"},CI={dependencies:[og],export:(n,t)=>{if(!Wa(n))return null;const e=t(n).split(`
47
+ `),r=[];for(const i of e)r.push("> "+i);return r.join(`
48
+ `)},regExp:AI,replace:(n,t,e,r)=>{if(r){const o=n.getPreviousSibling();if(Wa(o))return o.splice(o.getChildrenSize(),0,[ir(),...t]),void n.remove()}const i=sg();i.append(...t),n.replace(i),r||i.select(0,0)},type:"element"},T5={dependencies:[xo],export:n=>{if(!_r(n))return null;const t=n.getTextContent();return"```"+(n.getLanguage()||"")+(t?`
49
+ `+t:"")+"\n```"},regExpEnd:{optional:!0,regExp:iy},regExpStart:yI,replace:(n,t,e,r,i,o)=>{let s,l;if(!t&&i){if(i.length===1)r?(s=Mi(),l=e[1]+i[0]):(s=Mi(e[1]),l=i[0].startsWith(" ")?i[0].slice(1):i[0]);else{if(s=Mi(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&&bI(c=>Mi(c?c[1]:void 0))(n,t,e,o)},type:"multiline-element"},_5={dependencies:[$u,qu],export:(n,t)=>It(n)?Cg(n,t,0):null,regExp:pI,replace:yw("bullet"),type:"element"},N5={dependencies:[$u,qu],export:(n,t)=>It(n)?Cg(n,t,0):null,regExp:mI,replace:yw("check"),type:"element"},I5={dependencies:[$u,qu],export:(n,t)=>It(n)?Cg(n,t,0):null,regExp:gI,replace:yw("number"),type:"element"},M5={format:["code"],tag:"`",type:"text-format"},D5={format:["highlight"],tag:"==",type:"text-format"},L5={format:["bold","italic"],tag:"***",type:"text-format"},O5={format:["bold","italic"],intraword:!1,tag:"___",type:"text-format"},R5={format:["bold"],tag:"**",type:"text-format"},P5={format:["bold"],intraword:!1,tag:"__",type:"text-format"},B5={format:["strikethrough"],tag:"~~",type:"text-format"},F5={format:["italic"],tag:"*",type:"text-format"},j5={format:["italic"],intraword:!1,tag:"_",type:"text-format"},z5={dependencies:[jl],export:(n,t,e)=>{if(!Tn(n)||Qs(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=fs(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"},U5=[wI,CI,_5,I5],vI=[T5],xI=[M5,L5,O5,R5,P5,D5,F5,j5,B5],SI=[z5],vg=[...U5,...vI,...xI,...SI];function SE(n,t,e){const r=e.length;for(let i=t;i>=r;i--){const o=i-r;if(EI(n,o,e,0,r)&&n[o+r]!==" ")return o}return-1}function EI(n,t,e,r,i){for(let o=0;o<i;o++)if(n[t+o]!==e[r+o])return!1;return!0}function K5(n,t=vg){const e=Aw(t),r=ty(e.textFormat,({tag:s})=>s[s.length-1]),i=ty(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)||x5(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:b,replace:w}of g){const v=m.match(b);if(v&&v[0].length===(v[0].endsWith(" ")?h:h-1)){const C=d.getNextSiblings(),[x,N]=d.splitText(h);if(w(u,N?[N,...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:b,replace:w,regExpEnd:v}of g){if(v&&!("optional"in v)||v&&"optional"in v&&!v.optional)continue;const C=m.match(b);if(C&&C[0].length===(C[0].endsWith(" ")?h:h-1)){const x=d.getNextSiblings(),[N,T]=d.splitText(h);if(w(u,T?[T,...x]:x,C,null,null,!1)!==!1)return N.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 b=g.match(m.regExp);if(b===null)continue;const w=b.index||0,v=w+b[0].length;let C;return w===0?[C]=u.splitText(v):[,C]=u.splitText(w,v),C.selectNext(0,0),m.replace(C,b),!0}return!1})(l,c,i)||(function(u,d,h){const g=u.getTextContent(),p=d-1,m=g[p],b=h[m];if(!b)return!1;for(const w of b){const{tag:v}=w,C=v.length,x=p-C+1;if(C>1&&!EI(g,x,v,0,C)||g[x-1]===" ")continue;const N=g[p+1];if(w.intraword===!1&&N&&!ph.test(N))continue;const T=u;let k=T,_=SE(g,x,v),M=k;for(;_<0&&(M=M.getPreviousSibling())&&!Mt(M);)if(ae(M)){if(M.hasFormat("code"))continue;const fe=M.getTextContent();k=M,_=SE(fe,fe.length,v)}if(_<0||k===T&&_+C===x)continue;const I=k.getTextContent();if(_>0&&I[_-1]===m)continue;const R=I[_-1];if(w.intraword===!1&&R&&!ph.test(R))continue;const B=T.getTextContent(),U=B.slice(0,x)+B.slice(p+1);T.setTextContent(U);const j=k===T?U:I;k.setTextContent(j.slice(0,_)+j.slice(_+C));const K=G(),ee=Ml();Qe(ee);const ue=p-C*(k===T?2:1)+1;ee.anchor.set(k.__key,_,"text"),ee.focus.set(T.__key,ue,"text");for(const fe of w.format)ee.hasFormat(fe)||ee.formatText(fe);ee.anchor.set(ee.focus.key,ee.focus.offset,ee.focus.type);for(const fe of w.format)ee.hasFormat(fe)&&ee.toggleFormat(fe);return H(K)&&(ee.format=K.format),!0}})(l,c,r)};return n.registerUpdateListener(({tags:s,dirtyLeaves:l,editorState:c,prevEditorState:u})=>{if(s.has(Mu)||s.has(ul)||n.isComposing())return;const d=c.read(G),h=u.read(G);if(!H(h)||!H(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(!Ws(m))return;const b=m.getParent();b===null||_r(b)||o(b,m,d.anchor.offset)})})}function kI(n,t=vg,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];S5.test(g)?d.push(g):yI.test(g)||iy.test(g)?(u=!u,d.push(g)):u||g===""||p===""||!p||ry.test(p)||ry.test(g)||AI.test(g)||gI.test(g)||pI.test(g)||mI.test(g)||E5.test(g)||k5.test(g)||!l||CE.test(g)||vE.test(g)||xE(vE).test(p)||xE(CE).test(p)||iy.test(p)?d.push(g):d[d.length-1]=p+" "+g.trimStart()}return d.join(`
52
+ `)})(n,i);return w5(t,r)(o,e)}function TI(n=vg,t,e=!1){return(function(i,o=!1){const s=Aw(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],b=y5(m,l,u,s.textMatch);b!=null&&h.push(c&&p>0&&!ny(m)&&!ny(g[p-1])?`
53
+ `.concat(b):b)}return h.join(`
54
+ `)}})(n,e)(t)}function W5({children:n}){return mr.createPortal(A.jsx("div",{className:"FlashMessage__overlay",role:"dialog",children:A.jsx("p",{className:"FlashMessage__alert",role:"alert",children:n})}),document.body)}const _I=E.createContext(void 0),_m={},H5=1e3,Y5=({children:n})=>{const[t,e]=E.useState(_m),r=E.useCallback((i,o)=>e(i?{duration:o,message:i}:_m),[]);return E.useEffect(()=>{if(t.message){const i=setTimeout(()=>e(_m),t.duration??H5);return()=>clearTimeout(i)}},[t]),A.jsxs(_I.Provider,{value:r,children:[n,t.message&&A.jsx(W5,{children:t.message})]})},Z5=()=>{const n=E.useContext(_I);if(console.log("ctx",n),!n)throw new Error("Missing FlashMessageContext");return n};function G5(){return Z5()}function J5({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 xg(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(J5,{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 oy({"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*NI(n){let t=!1;for(;!t;){const e=await n.read(),{value:r}=e;r!==void 0&&(yield r),t=e.done}}async function V5(n){const t=[];for await(const r of NI(n))for(let i=0;i<r.length;i+=32768)t.push(String.fromCharCode(...r.subarray(i,i+32768)));return t.join("")}async function Q5(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()),V5(t.readable.getReader())]);return`#doc=${btoa(r).replace(/\//g,"_").replace(/\+/g,"-").replace(/=+$/,"")}`}async function X5(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 NI(e.readable.pipeThrough(new TextDecoderStream).getReader()))l.push(c);return await s,JSON.parse(l.join(""))}const bw=/^(\d+(?:\.\d+)?)px$/,Fi={BOTH:3,NO_STATUS:0,ROW:1};class dc extends At{constructor(e=Fi.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 dc(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:EE,priority:0}),th:e=>({conversion:EE,priority:0})}}static importJSON(e){return ww().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),sy(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(),...sy(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=Fi.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!==Fi.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 sy(n){return n==="middle"||n==="bottom"}function EE(n){const t=n,e=n.nodeName.toLowerCase();let r;bw.test(t.style.width)&&(r=parseFloat(t.style.width));const i=ww(e==="th"?Fi.ROW:Fi.NO_STATUS,t.colSpan,r);i.__rowSpan=t.rowSpan;const o=t.style.backgroundColor;o!==""&&(i.__backgroundColor=o);const s=t.style.verticalAlign;sy(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 b=null;const w=()=>{if(b){const v=b.getFirstChild();Mt(v)&&b.getChildrenSize()===1&&v.remove()}};for(const v of p)dj(v)||ae(v)||Mt(v)?(ae(v)&&(u&&v.toggleFormat("bold"),d&&v.toggleFormat("strikethrough"),h&&v.toggleFormat("italic"),g&&v.toggleFormat("underline")),b?b.append(v):(b=_e().append(v),m.push(b))):(m.push(v),w(),b=null);return w(),m.length===0&&m.push(_e()),m},node:i}}function ww(n=Fi.NO_STATUS,t=1,e){return Dt(new dc(n,t,e))}function nr(n){return n instanceof dc}function bn(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 ed extends At{constructor(e,r){super(r);F(this,"__height");this.__height=e}static getType(){return"tablerow"}static clone(e){return new ed(e.__height,e.__key)}static importDOM(){return{tr:e=>({conversion:q5,priority:0})}}static importJSON(e){return Cw().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 q5(n){const t=n;let e;return bw.test(t.style.height)&&(e=parseFloat(t.style.height)),{after:r=>u1(r,nr),node:Cw(e)}}function Cw(n){return Dt(new ed(n))}function ks(n){return n instanceof ed}const II=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,$5=II&&"documentMode"in document?document.documentMode:null;II&&"InputEvent"in window&&!$5&&new window.InputEvent("input");function e9(n,t,e){const[r,i,o]=MI(n,t,e);return i===null&&bn(207),o===null&&bn(208),[r,i,o]}function MI(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];ks(u)||bn(209);const d=s(c);for(let h=u.getFirstChild(),g=0;h!=null;h=h.getNextSibling()){for(nr(h)||bn(147);d[g]!==void 0;)g++;const p={cell:h,startColumn:g,startRow:c},{__rowSpan:m,__colSpan:b}=h;for(let w=0;w<m&&!(c+w>=l.length);w++){const v=s(c+w);for(let C=0;C<b;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 t9(n){let t;if(n instanceof dc)t=n;else if("__type"in n){const i=Te(n,nr);nr(i)||bn(148),t=i}else{const i=Te(n.getNode(),nr);nr(i)||bn(148),t=i}const e=t.getParent();ks(e)||bn(149);const r=e.getParent();return eu(r)||bn(210),[t,e,r]}function n9(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 b=Math.min(i,d.startColumn),w=Math.max(s,h),v=Math.min(o,d.startRow),C=Math.max(l,g);b===i&&w===s&&v===o&&C===l||(i=b,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]=t9(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 b=0;b<p;b++)s[l+m][u+b]=h;if(t===h)return{colSpan:p,columnIndex:u,rowIndex:l,rowSpan:g};u+=p}}return null}function TE(n){const[[t,e,r,i],[o,s,l,c]]=["anchor","focus"].map(u=>{const d=n[u].getNode(),h=Te(d,nr);nr(h)||bn(238,u,d.getKey(),d.getType());const g=h.getParent();ks(g)||bn(239,u);const p=g.getParent();return eu(p)||bn(240,u),[d,h,g,p]});return i.is(c)||bn(241),{anchorCell:e,anchorNode:t,anchorRow:r,anchorTable:i,focusCell:s,focusNode:o,focusRow:l,focusTable:c}}class vw{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=Se(this.tableKey),e=Se(this.anchor.key),r=Se(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 DI(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 vw(this.tableKey,Ln(this.anchor.key,this.anchor.offset,this.anchor.type),Ln(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(nr).forEach(i=>{const o=i.getFirstChild();gn(o)&&(e|=o.getTextFormat())});const r=ko[t];return(e&r)!==0}insertNodes(t){const e=this.focus.getNode();Y(e)||bn(151),gs(e.select(0,e.getChildrenSize())).insertNodes(t)}getShape(){const{anchorCell:t,focusCell:e}=TE(this),r=kE(t);r===null&&bn(153);const i=kE(e);i===null&&bn(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}=TE(this),o=i.getParents()[1];if(o!==e){if(e.isParentOf(i)){const w=o.getParent();w==null&&bn(159),this.set(this.tableKey,i.getKey(),w.getKey())}else{const w=e.getParent();w==null&&bn(158),this.set(this.tableKey,w.getKey(),i.getKey())}return this.getNodes()}const[s,l,c]=e9(e,r,i),{minColumn:u,maxColumn:d,minRow:h,maxRow:g}=n9(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();ks(x)||bn(160),x!==m&&(p.set(x.getKey(),x),m=x),p.has(C.getKey())||r9(C,N=>{p.set(N.getKey(),N)})}const b=Array.from(p.values());return Dl()||(this._cachedNodes=b),b}getTextContent(){const t=this.getNodes().filter(r=>nr(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 DI(n){return n instanceof vw}function r9(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&&Y(i)&&e.push(i.getChildren())}}function Lc(n){return Et(n)&&n.nodeName==="TABLE"}function i9(n,t){for(let e=t,r=null;e!==null;e=e.getParent()){if(n.is(e))return r;nr(e)&&(r=e)}return null}function o9(n,t,e){return i9(n,Be(t,e))}function _E(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)}kr(n,...r),ct(n,...i)}const s9=new WeakSet;function NE(n=Rl()){return s9.has(n)}class td 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 td(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:l9,priority:1})}}static importJSON(e){return xw().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=Lc(e)?e:e.querySelector("table");return Lc(r)||bn(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),HT(o),ct(i,e.theme.table),this.updateTableElement(null,i,e),NE(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")):(kr(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")):(kr(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")):(kr(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()),_E(r,i,this.getFormatType())}updateDOM(e,r,i){const o=this.getDOMSlot(r).element;return r===o===NE()||(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)),!Lc(o)&&Et(o)&&(o=o.querySelector("table")),!Lc(o))return null;_E(o,e._config,this.getFormatType());const[s]=MI(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:!Lc(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=o9(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=Be(o.elem);return nr(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=>{nr(i)&&(r+=i.getColSpan())}),r}}function l9(n){const t=xw();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(!bw.test(o)&&(o=i.getAttribute("width")||"",!/^\d+$/.test(o))){r=void 0;break}r.push(parseFloat(o))}r&&t.setColWidths(r)}return{after:r=>u1(r,ks),node:t}}function xw(){return Dt(new td)}function eu(n){return n instanceof td}const LI=4,a9={dependencies:[rg],export:n=>Y_(n)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(n,t,e,r)=>{const i=ic();r||n.getNextSibling()!=null?n.replace(i):n.insertBefore(i),i.selectNext()},type:"element"},c9={dependencies:[Wo],export:n=>Za(n)?`![${n.getAltText()}](${n.getSrc()})`:null,importRegExp:/!(?:\[([^[]*)\])(?:\(([^(]+)\))/,regExp:/!(?:\[([^[]*)\])(?:\(([^(]+)\))$/,replace:(n,t)=>{const[,e,r]=t,i=pg({altText:e,maxWidth:800,src:r});n.replace(i)},trigger:")",type:"text-match"};function u9(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/LI)),r}const OI=n=>(t,e,r)=>{const i=t.getPreviousSibling(),o=t.getNextSibling(),s=Ar(n==="check"?r[3]==="x":void 0);if(Ve(o)&&o.getListType()===n){const c=o.getFirstChild();c!==null?c.insertBefore(s):o.append(s),t.remove()}else if(Ve(i)&&i.getListType()===n)i.append(s),t.remove();else{const c=rr(n,n==="number"?Number(r[2]):void 0);c.append(s),t.replace(c)}s.append(...e),s.select(0,0);const l=u9(r[1]);l&&s.setIndent(l)},Sw=(n,t,e)=>{const r=[],i=n.getChildren();let o=0;for(const s of i)if(vt(s)){if(s.getChildrenSize()===1){const d=s.getFirstChild();if(Ve(d)){r.push(Sw(d,t,e+1));continue}}const l=" ".repeat(e*LI),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
+ `)},d9=/^(\s*)(\d{1,})\.\s/,f9=/^(\s*)[-*+]\s/,h9={dependencies:[yr,wn],export:(n,t)=>Ve(n)?Sw(n,t,0):null,regExp:d9,replace:OI("number"),type:"element"},g9={dependencies:[yr,wn],export:(n,t)=>Ve(n)?Sw(n,t,0):null,regExp:f9,replace:OI("bullet"),type:"element"},RI=/^(?:\|)(.+)(?:\|)\s?$/,p9=/^(\| ?:?-*:? ?)+\|\s?$/,m9={dependencies:[td,ed,dc],export:n=>{if(!eu(n))return null;const t=[];for(const e of n.getChildren()){const r=[];if(!ks(e))continue;let i=!1;for(const o of e.getChildren())nr(o)&&(r.push(TI(ku,o).replace(/\n/g,"\\n")),o.__headerState===Fi.ROW&&(i=!0));t.push(`| ${r.join(" | ")} |`),i&&t.push(`| ${r.map(o=>"---").join(" | ")} |`)}return t.join(`
57
+ `)},regExp:RI,replace:(n,t,e)=>{if(p9.test(e[0])){const u=n.getPreviousSibling();if(!u||!eu(u))return;const d=u.getChildren(),h=d[d.length-1];if(!h||!ks(h))return;h.getChildren().forEach(g=>{nr(g)&&g.setHeaderStyles(Fi.ROW,Fi.ROW)}),n.remove();return}const r=IE(e[0]);if(r==null)return;const i=[r];let o=n.getPreviousSibling(),s=r.length;for(;o&&!(!gn(o)||o.getChildrenSize()!==1);){const u=o.getFirstChild();if(!Un(u))break;const d=IE(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=xw();for(const u of i){const d=Cw();l.append(d);for(let h=0;h<s;h++)d.append(h<u.length?u[h]:PI(""))}const c=n.getPreviousSibling();eu(c)&&A9(c)===s?(c.append(...l.getChildren()),n.remove()):n.replace(l),l.selectEnd()},type:"element"};function A9(n){const t=n.getFirstChild();return ks(t)?t.getChildrenSize():0}const PI=n=>{n=n.replace(/\\n/g,`
58
+ `);const t=ww(Fi.NO_STATUS);return kI(n,ku,t),t},IE=n=>{const t=n.match(RI);return!t||!t[1]?null:t[1].split("|").map(e=>PI(e))},ku=[m9,a9,c9,N5,wI,CI,g9,h9,...vI,...xI,...SI],y9=ve("SPEECH_TO_TEXT_COMMAND"),b9="SpeechRecognition"in window||"webkitSpeechRecognition"in window;async function w9(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 C9(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 v9(n){const t=new URL(window.location.toString());t.hash=await Q5(n);const e=t.toString();window.history.replaceState({},"",e),await window.navigator.clipboard.writeText(e)}function x9({isRichText:n,shouldPreserveNewLinesInMarkdown:t}){const[e]=De(),[r,i]=E.useState(()=>e.isEditable()),[o,s]=E.useState(!1),[l,c]=E.useState(!1),[u,d]=E.useState(!0),[h,g]=xg(),p=G5(),m=!1;E.useEffect(()=>{fE.isCollab||X5(window.location.hash).then(w=>{w&&w.source==="Playground"&&(e.setEditorState(fI(e,w)),e.dispatchCommand(Oy,void 0))})},[e]),E.useEffect(()=>et(e.registerEditableListener(w=>{i(w)}),e.registerCommand(D_,w=>(c(w),!1),Ke)),[e]),E.useEffect(()=>e.registerUpdateListener(({dirtyElements:w,prevEditorState:v,tags:C})=>{!r&&w.size>0&&!C.has(ul)&&!C.has(Mu)&&C9(e),e.getEditorState().read(()=>{const N=Re().getChildren();if(N.length>1)d(!1);else if(gn(N[0])){const T=N[0].getChildren();d(T.length===0)}else d(!1)})}),[e,r]);const b=E.useCallback(()=>{e.update(()=>{const w=Re(),v=w.getFirstChild();if(_r(v)&&v.getLanguage()==="markdown")kI(v.getTextContent(),ku,void 0,t);else{const C=TI(ku,void 0,t),x=Mi("markdown");x.append(yt(C)),w.clear().append(x),C.length===0&&x.select()}})},[e,t]);return A.jsxs("div",{className:"actions",children:[b9&&A.jsx("button",{onClick:()=>{e.dispatchCommand(y9,!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:()=>a5(e),title:"Import","aria-label":"Import editor state from JSON",children:A.jsx("i",{className:"import"})}),A.jsx("button",{className:"action-button export",onClick:()=>c5(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:fE.isCollab,onClick:()=>v9(dI(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(S9,{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&&w9(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:b,title:"Convert From Markdown","aria-label":"Convert from markdown",children:A.jsx("i",{className:"markdown"})}),m,h]})}function S9({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(oy,{onClick:()=>{n.dispatchCommand(Ih,void 0),n.focus(),t()},children:"Clear"})," ",A.jsx(oy,{onClick:()=>{n.focus(),t()},children:"Cancel"})]})]})}const E9=[".toolbar",'[role="menu"]',".floating-text-format-popup"],k9=({onBlur:n})=>{const[t]=De();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&&E9.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;Qe(null),t.dispatchCommand(Yr,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},Ew=()=>!!document.querySelector(".selected-all-document"),Sg=(n,t,e)=>{var i,o,s,l,c;const r=G();if(H(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 jo&&!u.getTextContent()&&h&&!((c=u.getPreviousSibling())!=null&&c.getTextContent())&&g&&!p){const b=n.registerCommand(To,()=>(b(),!0),zi);return n.update(()=>{var v;if(e){let C=e.getChildren();const x=e.getLastChild();pH(x)&&(C=C.slice(0,-1)),C.length===2?C.slice(-1).forEach(N=>N.remove()):C.slice(-2).forEach(N=>N.remove())}const w=t==null?void 0:t.getNextSibling();if(gn(w)&&w.getTextContent()==="")(v=t==null?void 0:t.getNextSibling())==null||v.selectEnd();else{const C=t==null?void 0:t.insertAfter(_e());C==null||C.selectStart()}}),!0}}return!1},ME=n=>{for(;n;){if(Oo(n))return n;const t=n.getParent();if(!t)break;n=t}return null},T9=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:""}}},DE=n=>n.replace(/\s+/g," ").trim(),_9=n=>{const t=jt();if(t){const e=Te(t,hg);if((e==null?void 0:e.__type)==="callout"){const r=G();if(H(r)&&r.isCollapsed()){const i=r.anchor.getNode(),o=Te(i,Oo);return Sg(n,o,e)}}}return!0};function N9(){const[n]=De(),{imperativeHandleRef:t}=E.useContext(Lt),e=E.useCallback(r=>{const i=jt(),{lexicalNode:o}=Ya(i,n,{"callout-wrapper":!0});return o&&Y(o)&&o.getChildren().length===1&&n.update(()=>{const s=_e();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([Ul,Ss,xs]))throw new Error("CalloutPlugin: CalloutNode not registered on editor");return et(n.registerMutationListener(xs,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=Se(l);if(c&&Oo(c)){const u=c.getChildren();for(const d of u)c==null||c.insertBefore(d);c.remove()}},{tag:Zr})}})}),n.registerCommand(ew,r=>{var m;const{emoji:i,backgroundColor:o,calloutType:s}=T9(r),l=jt(),c=l!=null&&l.getTextContent()?(m=l==null?void 0:l.getParent())==null?void 0:m.getTextContent():l==null?void 0:l.getTextContent(),u=Do(c||""),d=$b(o,s),h=qb(i),g=Xb().append(_e().append(u));d.append(h),d.append(g);const p=l==null?void 0:l.getParent();return l&&Wa(p)?(d.selectEnd(),p.replace(d)):l==null||l.replace(d),!0},Ke),n.registerCommand(Xa,e,Ne),n.registerCommand(as,()=>Ew()&&n._keyToDOMMap.size>2,Ne),n.registerCommand(Nl,r=>{if(!r.clipboardData)return!1;const i=G();if(!H(i))return!1;const o=ME(i.anchor.getNode()),s=ME(i.focus.getNode());if(!o||!s||o.__key!==s.__key)return!1;const{hasSelectedBlock:l,selectedAllDocument:c}=va(),u=DE(i.getTextContent()),d=DE(o.getTextContent());if(!(u===d&&(l||c)))return!1;r.preventDefault();const m=o.__calloutType??"default",b=ig(i)["text/html"],w=o.getTextContent(),v=`<div class="dsd__theme__callout-wrapper" style="background-color: ${o.__backgroundColor}" data-type="${m}">${b}</div>`;return r.clipboardData.setData("text/html",v),r.clipboardData.setData("text/plain",w),!0},Ne))},[n]),null}let kw=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=Be(i);u instanceof wn&&(u.setChecked(!1),u.setIndeterminate(!0))}if(!s&&!l){const u=Be(i);u instanceof wn&&(u.setChecked(!1),u.setIndeterminate(!1))}if(l){const u=Be(i);u instanceof wn&&(u.setChecked(!0),u.setIndeterminate(!1))}}),s=!1,l=!0}},0),null}return kw(n.parentElement,t)};const I9=()=>{const n=jt();if(!n)return!1;try{const t=ju(n);t instanceof wn&&!t.__opened&&t.setOpened(!0)}catch{return!1}return!1},M9=ls.debounce((n,t)=>{const e=t.getElementByKey(n);kw(e,t)},100);function D9(){const[n]=De();return E.useEffect(()=>{const t=n.registerMutationListener(yr,e=>{for(const[r,i]of e)i==="updated"&&M9(r,n)},{skipInitialization:!0});return()=>{t()}},[n]),E.useEffect(()=>et(n.registerCommand(EN,()=>(jA(n,"check"),!0),Ne),n.registerRootListener((t,e)=>{t!==null&&(t.addEventListener("click",LE),t.addEventListener("pointerdown",OE)),e!==null&&(e.removeEventListener("click",LE),e.removeEventListener("pointerdown",OE))})),[n]),null}function BI(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/Vj(r);if(o&&l>s.right){if(e){t();return}if(n.target instanceof HTMLElement){const c=Pu(o);c!=null&&c.isEditable()&&c.update(()=>{const u=Be(o);vt(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 LE(n){BI(n,()=>{if(n.target instanceof HTMLElement){const t=n.target,e=Pu(t);e!=null&&e.isEditable()&&(e.update(()=>{const r=Be(t);if(vt(r)&&(t.focus(),r.toggleChecked()),t.getAttribute("data-list")&&t.getAttribute("aria-checked")==="false"&&t.nextElementSibling){Array.from(t.nextElementSibling.querySelectorAll("[aria-checked]")).forEach(i=>{const o=Be(i);o instanceof wn&&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=Be(i);o instanceof wn&&o.setChecked(!1)});return}}),kw(t,e))}})}function OE(n){BI(n,()=>{n.preventDefault()},!0)}const FI=ve("INSERT_CHILD_DOCUMENTS_COMMAND");function L9(){const[n]=De();return E.useEffect(()=>{if(!n.hasNodes([Ha]))throw new Error("ChildDocsPlugin: ChildDocsNode not registered on editor");return n.registerCommand(FI,t=>{const e=jN(),r=jt();return r==null||r.replace(e),!0},Ke)},[n]),null}function O9(){const[n]=De();return E.useEffect(()=>oW(n),[n]),null}const R9=4,P9=2,B9="draggable-block-menu",F9=16,RE="application/x-lexical-drag-block",Eg=n=>n?n.match(/(\d*\.?\d+)%/g):[],ly=n=>n<0?0:n>100?100:n,jI=(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=Eg(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,${ly(u)}%)`}else s[c]=`minmax(100px,${s[c]})`;t.setTemplateColumns(s.join(" "))})},ay=(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(" "))})},Tu=(n,t)=>(n!=null&&n.children?Array.from(n.children):[]).indexOf(t);function j9(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 Xr&&(u=e),e instanceof mi||e instanceof Xr){const d=u==null?void 0:u.getChildren();let h=r instanceof mi;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?ay(t,u,Number(l),g):jI(t,u,g);let p=null;g!==void 0&&t.update(()=>{if(p=u.getChildren()[g],h)e instanceof Xr?p.insertAfter(r.getParent()):p.insertBefore(r.getParent());else if(o)p.insertAfter(ki().append(r).append(li()));else{const b=r.getParent(),w=b==null?void 0:b.getParent();Di(b)&&(b==null?void 0:b.getChildrenSize())===2&&Di(b)&&dh(w)&&Ga(t,b,w),p.insertBefore(ki().append(r).append(li()))}})})}else t.update(()=>{const d=yg(iw);let h;if(Oo(e)||Nr(e)){const g=r.getParent(),p=g==null?void 0:g.getParent();if(Di(g)&&(g==null?void 0:g.getChildrenSize())===2&&dh(p)){const b=p.getParent(),w=b==null?void 0:b.getParent(),v=p.getChildren(),x=v.findIndex(T=>T===g)===0?1:0,N=v[x];if(Di(N)){const T=N.getChildren()[0];Oo(w)&&(w.append(T),p.remove(),h=$c(w))}}else h=$c(e,r)}else h=$c(e);h&&(i?(d.append(ki().append(r).append(li())),d.append(ki().append(h).append(li()))):(d.append(ki().append(h).append(li())),d.append(ki().append(r).append(li()))),e.insertAfter(d),e.remove(),h.selectStart())});return!0}return!1}function z9(n,t,e="right",r=!1){n.update(()=>{const i=Be(t),o=i==null?void 0:i.getParent();if(o){if(Eg(o.__templateColumns).length===4)return;let l=Tu(t.parentElement,t);e==="right"&&(l=l+1),jI(n,o,l)}const s=ki().append(_e()).append(li());i&&(e==="right"?r?(i.insertBefore($c(i)),i.selectStart()):(i.insertAfter(s),s==null||s.selectStart()):(i.insertBefore(s),s.selectStart()))})}const zI=(n,t)=>{const e=t==null?void 0:t.getParent();let r=Eg(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(" "))},U9=n=>n.className.includes("editor-image")||n.className.includes("video-container")?n:n.className.includes("editor-excalidraw")?n.firstChild:null,UI=(n,t)=>t!=null&&t.__key&&n!==t.__key?UI(n,t==null?void 0:t.getParent()):n===(t==null?void 0:t.__key),PE=(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 Xr){const u=n.getElementByKey(i.getKey()),d=n.getElementByKey(r.getKey()),h=Tu(d,u);i&&r&&o&&(e==="right"&&(ay(n,r,h+1,h),o.insertAfter(i)),e==="left"&&(ay(n,r,h,h+1),o.insertBefore(i)))}})};function K9(n){n&&(n.style.display="none")}function BE({blockElement:n,editor:t,isTop:e,isClickedBlockRef:r,setDraggableBlockElem:i}){n&&(r.current=!0,t.update(()=>{const o=Be(n);if(o){const s=_e();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 W9(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 H9(n){return!!n.closest(`.${B9}`)}function FE(n,t,e,r){if(!n){t.style.opacity="0";return}t.style.display="block";let i=null;const o=U9(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),N=parseFloat(C.fontSize);u=Math.ceil(N+(x-N)/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 b=!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,b=b-1),o&&(b=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)")&&(b=h-d.top+27),i.top<0&&(b=b+-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, ${b}px)`)}function jE(n,t){const{transform:e}=t.style;t.style.transform="translateZ(0)",n.setDragImage(t,0,0),setTimeout(()=>{t.style.transform=e})}function Y9(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 Z9(n,t,e,r,i,o,s){var k;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:b}=W9(t);let w=l;e>=l?(s.current.isBottom=!0,w+=c+b/2):(s.current.isBottom=!1,w-=m/2);const v=w-h-P9,C=F9-R9,N=o.target.closest(".dsd__theme__layoutDivider");n.setAttribute("data-index",""),n.style.background="deepskyblue";const T=d-g-C;if(r<=d&&!N){if(t.closest(".dsd__theme__layoutItem"))return;n.style.transform=`translate(${T}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-T&&!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-T}px, ${l-h}px)`,n.style.width="4px",n.style.height=`${c}px`,n.style.opacity=".4",n.setAttribute("data-direction","right");else if(N){o.preventDefault();const _=(k=N.parentNode)==null?void 0:k.parentNode;(_==null?void 0:_.children.length)===4&&(n.style.background="red");const M=N.parentNode,I=Tu(_,M),R=I?N.getBoundingClientRect().left-g:T+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(${T}px, ${v}px)`,n.style.width=`${u+C}px`,n.style.opacity=".4",n.style.height="4px",n.setAttribute("data-direction","")}function zE(n){n&&(n.style.opacity="0",n.style.transform="translate(-10000px, -10000px)")}const Ga=(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)){zI(n,c),ow(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(Li,()=>(i(),!0),zi);return!0},KI=ve(),G9=n=>{const t=G();if(H(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=Te(e,vu),i=Te(e,Nr);return Sg(n,i,r)&&vu(r)}return!0},J9=()=>{const n=G();if(!H(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!Nr(r)||r.getOpen()?!1:(r.setOpen(!0),!0)},V9=()=>{var t;const n=G();if(H(n)&&n.isCollapsed()&&n.anchor.offset===0){const e=Te(n.anchor.getNode(),Nr);if(Nr(e)){const r=e.getParent();r!==null&&r.getFirstChild()===e&&n.anchor.key===((t=e.getFirstDescendant())==null?void 0:t.getKey())&&e.insertBefore(_e())}}return!1},Q9=()=>{const n=G();if(H(n)&&n.isCollapsed()){const t=Te(n.anchor.getNode(),Nr);if(Nr(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(_e())}}}return!1},X9=n=>{const t=G();if(H(t)&&t.isCollapsed()){const e=t.focus.getNode().getParent(),r=e==null?void 0:e.getParent();return Ga(n,e,r)}return!1};function q9(){const[n]=De();return E.useEffect(()=>{if(!n.hasNodes([xl,vs,Lo]))throw new Error("CollapsiblePlugin: CollapsibleContainerNode, CollapsibleTitleNode, or CollapsibleContentNode not registered on editor");return et(n.registerNodeTransform(Lo,t=>{const e=t.getParent();if(!Nr(e)){const r=t.getChildren();for(const i of r)t.insertBefore(i);t.remove()}}),n.registerNodeTransform(vs,t=>{const e=t.getParent();if(!Nr(e)){t.replace(_e().append(...t.getChildren()));return}}),n.registerNodeTransform(xl,t=>{const e=t.getChildren();if(e.length!==2||!il(e[0])||!vu(e[1])){for(const r of e)t.insertBefore(r);t.remove()}}),n.registerCommand(To,()=>{var e;const t=G();if(H(t)){const r=Te(t.anchor.getNode(),i=>il(i));if(il(r)){const i=r.getParent();if(i&&Nr(i))return i.getOpen()||i.toggleOpen(),(e=r.getNextSibling())==null||e.selectEnd(),!0}}return!1},Ne),n.registerCommand(KI,()=>(n.update(()=>{const t=Qb(),e=_e(),r=jt(),i=Jb(!1).append(t.append(e),Vb().append(_e()));r==null||r.replace(i),e.select()}),!0),Ne))},[n]),null}class hr extends Zu{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 hr(e.__extendIds,e.__resolve,e.__key)}static importJSON(e){return new hr(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:WI(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 WI(n,t=null){return Dt(new hr(n,t))}function ca(n){return n instanceof hr}function UE(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 $9(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 eY=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 KE(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 WE=n=>{if(!n)return;const t=document.querySelector(`li[data-id="${n}"]`);t&&t.scrollIntoView({behavior:"smooth",block:"center"})},cy=n=>{const t=n.type.startsWith("image/");return{id:n.id,file:n,isImage:t,src:t?URL.createObjectURL(n):""}};function HE(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 tY(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=>cy(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(N=>cy(N));return{...nY(w),files:x,reactions:v}})),b={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"?{...b,type:"general",quote:r}:d?{...b,type:"thread",quote:d}:null});return(await Promise.all(s)).filter(Boolean)}function nY(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 Hn(n){const t=n._changeListeners;for(const e of t)e()}class rY{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=HE(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,Hn(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=zT(hr).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,Hn(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=HE(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,Hn(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=KE(c.files,s,l);return{...c,text:t,edited:!0,files:u}})};if(o.id===r){const c=KE(o.files,s,l);return{...o,text:t,edited:!0,files:c}}return o}),Hn(this)}updateCurrentQuote(t,e){this._comments=this._comments.map(r=>r.id===e?{...r,quote:t}:r),Hn(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}),Hn(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),Hn(this)}async initializeComments(t,e,r,i,o,s,l){const c=await tY(t,e,r,i,o,s);this._comments=c.flat(),l(!1),Hn(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",us):null}_createCollabSharedMap(t){const e=new On,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 us;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),Hn(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),Hn(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}),Hn(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),Hn(this)}registerCollaboration(t){this._collabProvider=t;const e=this._getCollabComments(),r=()=>{t.connect()},i=()=>{try{t.disconnect()}catch{}},o=this._editor.registerCommand(L_,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 d_){const h=d.target,g=d.delta;let p=0;for(let m=0;m<g.length;m++){const b=g[m],w=b.insert,v=b.retain,C=b.delete,x=h.parent,N=h===e?void 0:x instanceof On&&this._comments.find(T=>T.id===x.get("id"));if(Array.isArray(w))w.slice().reverse().forEach(T=>{const k=T.get("id"),M=T.get("type")==="thread"?$9(T.get("quote"),T.get("author"),T.get("comments").toArray().map(I=>UE(I.get("content"),I.get("author"),I.get("id"),[],I.get("timeStamp"),I.get("deleted"))),k):UE(T.get("content"),T.get("author"),k,[],T.get("timeStamp"),T.get("deleted"));this._withLocalTransaction(()=>{this.addComment(M,N,p)})});else if(typeof v=="number")p+=v;else if(typeof C=="number")for(let T=0;T<C;T++){const k=N===void 0||N===!1?this._comments[p]:N.children[p];this._withLocalTransaction(()=>{this.deleteCommentOrThread(k,N)}),p++}}}}};return e===null?()=>null:(e.observeDeep(s),r(),()=>{e.unobserveDeep(s),o(),this._collabProvider=null})}}function iY(n){const[t,e]=E.useState(n.getComments());return E.useEffect(()=>n.registerOnChange(()=>{e(n.getComments())}),[n]),t}const HI=ve("INSERT_INLINE_COMMAND");function oY(n,t){for(const[e,r]of n.entries())if(r.has(t))return e;return null}function sY(){const[n]=De(),t=E.useMemo(()=>new rY(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,b=p.getResourceBundle(m,"translation"),[w,v]=E.useState({resolved:"not-resolved",feedback:!1,filteredUsers:[]}),{currentUser:C,commentOptions:x,workspaceMembers:N}=E.useContext(Lt)??{},T=(x==null?void 0:x.pageId)??"",k=(x==null?void 0:x.workspaceInfo)??{title:"",icon:""},_=(x==null?void 0:x.showComments)??!1,M=(x==null?void 0:x.setShowComments)??(()=>{}),I=(x==null?void 0:x.commentActions)??{},R=iY(t),B=E.useMemo(()=>new Map,[]);E.useEffect(()=>(typeof(I==null?void 0:I.fetchCommentsApi)=="function"&&(d(!0),setTimeout(()=>{I.fetchCommentsApi({pageId:T,onSuccess:async q=>{await t.initializeComments(q,B,n,JSON.stringify(k),I==null?void 0:I.getReactionsApi,I==null?void 0:I.getPhotosApi,d)}})},100)),()=>{M(!1)}),[]),E.useEffect(()=>{const q=setTimeout(()=>{R.forEach(ne=>{ne.type==="general"&&t.updateCurrentQuote(JSON.stringify(x==null?void 0:x.workspaceInfo),ne.id)})},300);return()=>clearTimeout(q)},[x==null?void 0:x.workspaceInfo]);const U=E.useCallback(()=>{n.update(()=>{const q=G();q!==null&&(q.dirty=!0)}),c(!1),s({value:"",files:[]})},[n]),j=E.useCallback(async q=>{const ne=q.resolution!=="ACCEPTED"?"ACCEPTED":"REJECTED",Ae=JSON.parse(JSON.stringify(t._comments));n.update(()=>{zT(hr).filter(pe=>pe.__extendIds[0]===q.id).forEach(pe=>{"resolveThreat"in pe&&pe.resolveThreat(ne)})}),t.resolveThreat(q,ne),await(I==null?void 0:I.resolveCommentApi({threatId:q.id,resolveValue:ne,onSuccess:()=>{},onError:()=>{t._comments=Ae,Hn(t)}}))},[t,n,B]),K=E.useCallback(async(q,ne,Ae)=>{const oe=JSON.parse(JSON.stringify(t._comments)),pe="temp-"+Date.now()+"-"+Math.random().toString(36).substring(2,9),Ee=encodeURIComponent(q),Ce={id:pe,commentId:ne.id,userId:(C==null?void 0:C.id)??"",reaction:q,createdAt:new Date().toISOString(),deletedAt:"1970-01-01T00:00:00.000+00:00",version:0,parentType:"COMMENT",parentId:ne.id,deleted:!1};t.addReaction(Ce,ne,Ae);try{await(I==null?void 0:I.commentReactionApi({commentId:ne.id,author:(C==null?void 0:C.id)??"",emojiValue:Ee,onSuccess:async we=>{t.replaceReaction(Ce.id,we,ne,Ae)},onError:()=>{t._comments=oe,Hn(t)}}))}catch(we){console.error("Unexpected error:",we)}},[t,C,I]),ee=E.useCallback(async(q,ne,Ae)=>{const oe=JSON.parse(JSON.stringify(t._comments));t.removeImageOrPhoto("reactions",q,ne.id,Ae==null?void 0:Ae.id);try{await(I==null?void 0:I.deleteReactionApi({reactionId:q,onSuccess:async()=>{},onError:()=>{t._comments=oe,Hn(t)}}))}catch(pe){console.log(pe)}},[t,n,B]),ue=ls.debounce((q,ne)=>{t.updateCurrentQuote(q,ne)},500),fe=E.useCallback(async(q,ne)=>{const Ae=q.id;try{await(I==null?void 0:I.deleteCommentApi({deleteCommentId:Ae,onSuccess:async()=>{if(q.type==="comment"&&ne){const oe=t.deleteCommentOrThread(q,ne);if(g.current=[{comments:q,id:ne.id},...g.current],!oe)return;const{markedComment:pe,index:Ee}=oe;t.addComment(pe,ne,Ee)}else{t.deleteCommentOrThread(q);const oe=ne!==void 0?ne.id:q.id,pe=B.get(oe);pe!==void 0&&setTimeout(()=>{n.update(()=>{for(const Ee of pe){const Ce=Se(Ee);ca(Ce)&&(Ce.deleteID(oe),Ce.getIDs().length===0&&bW(Ce))}})})}}}))}catch(oe){console.log(oe)}},[t,n,B]);function ie(q,ne,Ae,oe,pe,Ee){t.updateThreadId(n,q,ne,Ae,oe,pe,Ee)}const V=E.useCallback((q,ne,Ae,oe)=>{t.addComment(q,Ae,void 0),ne&&(n.update(()=>{if(H(oe)){const pe=oe.isBackward(),Ee=q.id;wW(oe,pe,Ee,Ce=>{const we=new hr(Ce,null);return _||q.type==="thread"&&setTimeout(()=>{n.update(()=>{we.selectStart()})},300),we})}}),c(!1)),w.resolved==="resolved"&&v({...w,resolved:"not-resolved"})},[t,n,w.resolved]);E.useEffect(()=>{const q=[];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 Ee=n.getElementByKey(pe);if(Ee!==null){Ee.classList.add("selected"),q.push(Ee);const Ce=Ee.getAttribute("data-key");if(Ce){if(_){const we=h.current,Ue=we.length!==r.length||we.some((tt,Ie)=>tt!==r[Ie]);r.length===1&&Ue&&WE(Ce)}else setTimeout(()=>{WE(Ce)},500);M(!0)}}}}return h.current=[...r],()=>{for(let ne=0;ne<q.length;ne++)q[ne].classList.remove("selected")}}},[r,n,B]);const re=async(q,ne,Ae,oe)=>{const pe=Ae,Ee=JSON.parse(JSON.stringify(t._comments));t.updateCurrentContent(q.value,ne,Ae,oe),ne.deletedFile.map(Ue=>Ue.id?J(Ue.id,Ae,oe):Promise.resolve());const we=(await eY(pe,ne.newFiles,I==null?void 0:I.uploadCommentFileApi)).map(Ue=>cy(Ue));if(t.replaceOptimisticPhotos(we,Ae,oe),q.restore)try{await(I==null?void 0:I.updateCommentTextApi({commentId:pe,textValue:q.value,onSuccess:()=>{},onError:()=>{t._comments=Ee,Hn(t)}}))}catch(Ue){console.error(Ue)}},J=async(q,ne,Ae)=>{try{await(I==null?void 0:I.deleteCommentImageApi({photoToRemove:q,onSuccess:()=>t.removeImageOrPhoto("files",q,ne,Ae)}))}catch(oe){console.log(oe)}},Z=async(q,ne)=>{try{await(I==null?void 0:I.restoreCommentApi({commentId:q,onSuccess:()=>{t.restoreLastDeletedComment(q,ne)}}))}catch(Ae){console.log(Ae)}};E.useEffect(()=>{if(!_)return;const q=ne=>{ne.key==="Escape"&&M(!1)};return document.addEventListener("keydown",q),()=>{document.removeEventListener("keydown",q)}},[_]),E.useEffect(()=>{const q=new Map;return et(Yj(n,hr,ne=>WI(ne.getIDs()),(ne,Ae)=>{ne.getIDs().forEach(pe=>{Ae.addID(pe)})}),n.registerMutationListener(hr,ne=>{n.getEditorState().read(()=>{for(const[Ae,oe]of ne){const pe=Se(Ae);let Ee=[];const Ce=oY(B,Ae);oe==="destroyed"?Ee=q.get(Ae)||[]:ca(pe)&&(Ee=pe.getIDs()),oe==="created"&&Ce&&setTimeout(()=>{const we=t.getComments().find(Ue=>Ue.id===(pe==null?void 0:pe.__extendIds[0]));we&&we.deleted&&Z(we.id)},500);for(let we=0;we<Ee.length;we++){const Ue=Ee[we];let tt=B.get(Ue);if(q.set(Ae,Ee),oe==="destroyed"){let Ie=!1;for(const[qe,ut]of ne)if(ut==="created"){const lt=Se(qe);ca(lt)&&lt.getIDs().some(Ht=>Ee.includes(Ht))&&(Ie=!0)}if(!Ie){tt!==void 0&&(tt.delete(Ae),tt.size===0&&B.delete(Ue));const qe=t.getComments().find(ut=>ut.tempId===Ce||ut.id===Ce);qe&&!qe.deleted&&fe(qe)}}else tt===void 0&&(tt=new Set,B.set(Ue,tt)),tt.has(Ae)||tt.add(Ae)}}})},{skipInitialization:!1}),n.registerUpdateListener(({editorState:ne})=>{ne.read(()=>{const Ae=G();let oe=!1;if(H(Ae)){const pe=Ae.anchor.getNode();if(Un(pe)){const Ee=CW(pe,Ae.anchor.offset);if(Ee!==null){i(we=>we[0]===Ee[0]?we:Ee),oe=!0;const Ce=B.get(Ee[0]);n.update(()=>{if(!Ce)return;let we="",Ue=null;for(const tt of Ce){const Ie=Se(tt);Ie instanceof hr&&(we&&(we+=`
60
+ `),we+=Ie.getTextContent(),Ue||(Ue=Ie.__extendIds[0]))}we&&Ue&&ue(we,Ue)})}}}oe||i(pe=>pe.length===0?pe:[])})}),n.registerCommand(HI,()=>{const ne=window.getSelection();return ne!==null&&ne.removeAllRanges(),c(!0),!0},Ke),n.registerCommand(Nl,ne=>{if(!(ne!=null&&ne.clipboardData))return!1;ne.preventDefault();const Ae=G();if(!Ae||!Ae.getNodes().some(Ce=>ca(Ce)||ca(Ce.getParent())))return!1;const Ee=Ae.getTextContent();return ne.clipboardData.setData("text/plain",Ee),!0},Ne))},[n,B]);const X=E.useCallback((q,ne,Ae)=>{n.getEditorState().read(()=>{const oe=G();if(H(oe)){ne.current=oe.clone();const pe=oe.anchor,Ee=oe.focus,Ce=qT(n,pe.getNode(),pe.offset,Ee.getNode(),Ee.offset);if(Ce!==null&&q!==null){const{left:we,bottom:Ue,top:tt,width:Ie}=Ce.getBoundingClientRect(),qe=$T(n,Ce),ut=q.offsetHeight||200,lt=window.pageYOffset||document.documentElement.scrollTop,Ht=window.innerHeight-Ue>ut+20;let vn=qe.length===1?we+Ie/2-125:we-125;vn<10&&(vn=10),q.style.left=`${vn}px`,q.style.top=Ht?`${Ue+10+lt}px`:`${tt-ut-55+lt}px`;const Fe=qe.length,{container:nt,elements:dt}=Ae,kt=dt.length;for(let ht=0;ht<Fe;ht++){const $e=qe[ht];let Xt=dt[ht];Xt===void 0&&(Xt=document.createElement("span"),dt[ht]=Xt,nt.appendChild(Xt));const or=document.body.scrollHeight>window.innerHeight?0:8,Rn="255, 212, 0";Xt.style.cssText=`position:absolute;top:${$e.top+lt}px;left:${$e.left+or}px;height:${$e.height}px;width:${$e.width}px;background-color:rgba(${Rn}, 0.3);pointer-events:none;z-index:5;`}for(let ht=kt-1;ht>=Fe;ht--){const $e=dt[ht];nt.removeChild($e),dt.pop()}}}})},[n]),le=(q,ne)=>{n.update(()=>{const oe=Array.from(q).filter(Ee=>!!Se(Ee))[0],pe=Se(oe);ca(pe)&&pe.selectStart()},{onUpdate(){ne&&ne.focus()}})},de=q=>n.getEditorState().read(()=>q?q.getTextContent():"")??"",me={currentUser:C,workspaceMembers:N,commentOptions:x,selectMarkNode:le};return A.jsxs(A.Fragment,{children:[l&&mr.createPortal(A.jsx(Ft.CommentComposer,{updateLocation:X,setCommentValue:s,commentValue:o,handleBlur:U,submitAddComment:V,getSelectionText:de,updateThreadId:ie,providedUser:C,provideCommentOptions:x,composerLocales:b.editor.comments,children:({editorRef:q})=>A.jsx(_y,{initialContent:"",outputFormat:"html",debounce:1,editorRef:q,mode:"comment",shiftEnterInsertNewLine:!0,onChange:ne=>{typeof ne=="string"&&s(Ae=>({...Ae,value:ne}))}})}),document.body),_&&mr.createPortal(A.jsx(Ft.CommentsPanel,{comments:R,submitAddComment:V,isLoading:u,deleteCommentOrThread:fe,activeIDs:r,restoreComment:Z,deleteCommentImage:J,commentsFilter:w,setCommentsFilter:v,markNodeMap:B,locales:b.editor,listRef:e,addCommentReaction:K,updateCommentTextOrImage:re,resolveThreat:j,removeCommentReactions:ee,updateThreadId:ie,storeOptions:me,getEditor:({setCommentValue:q,initialContent:ne="",editorRef:Ae})=>A.jsx(_y,{initialContent:ne,outputFormat:"html",debounce:1,mode:"comment",shiftEnterInsertNewLine:!0,editorRef:Ae,onChange:oe=>{q==null||q(pe=>({...pe,value:oe}))}})}),document.body)]})}const YE="startTransition",uy=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,lY=uy?E.useLayoutEffect:E.useEffect;class aY{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 ZE=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 GE(n,t){const e=n.getBoundingClientRect(),r=t.getBoundingClientRect();return e.top>=r.top-6&&e.top<=r.bottom+6}function cY(n,t,e,r){const[i]=De();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 b=h;b=b.parentElement;)if(g=getComputedStyle(b),(!p||g.position!=="static")&&m.test(g.overflow+g.overflowY+g.overflowX))return b;return document.body})(o):document.body;let l=!1,c=GE(t,s);const u=function(){l||(window.requestAnimationFrame(function(){e(),l=!1}),l=!0);const h=GE(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 JE=ve("SCROLL_TYPEAHEAD_OPTION_INTO_VIEW_COMMAND");function uY({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=G();if(!H(x)||!x.isCollapsed())return null;const N=x.anchor;if(N.type!=="text")return null;const T=N.getNode();if(!T.isSimpleText())return null;const k=N.offset,_=T.getTextContent().slice(0,k),M=C.replaceableString.length,I=k-(function(B,U,j){let K=j;for(let ee=K;ee<=U.length;ee++)B.slice(-ee)===U.substring(0,ee)&&(K=ee);return K})(_,C.matchingString,M);if(I<0)return null;let R;return I===0?[R]=T.splitText(k):[,R]=T.splitText(I,k),R})(r.match):null;s(w,v,n,r.match?r.match.matchingString:"")})},[t,l,r.match,s,n]),b=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]),lY(()=>{i===null?h(null):g===null&&u&&b(0)},[i,g,b,u]),E.useEffect(()=>et(t.registerCommand(JE,({option:w})=>!(!w.ref||w.ref.current==null)&&(ZE(w.ref.current),!0),c)),[t,b,c]),E.useEffect(()=>et(t.registerCommand(ps,w=>{const v=w;if(i!==null&&i.length){const C=g===null?0:g!==i.length-1?g+1:0;b(C);const x=i[C];if(!x)return b(-1),v.preventDefault(),v.stopImmediatePropagation(),!0;x.ref&&x.ref.current&&t.dispatchCommand(JE,{index:C,option:x}),v.preventDefault(),v.stopImmediatePropagation()}return!0},c),t.registerCommand(ji,w=>{const v=w;if(i!==null&&i.length){const C=g===null?i.length-1:g!==0?g-1:i.length-1;b(C);const x=i[C];if(!x)return b(-1),v.preventDefault(),v.stopImmediatePropagation(),!0;x.ref&&x.ref.current&&ZE(x.ref.current),v.preventDefault(),v.stopImmediatePropagation()}return!0},c),t.registerCommand(Qa,w=>{const v=w;return v.preventDefault(),v.stopImmediatePropagation(),n(),!0},c),t.registerCommand(qa,w=>{const v=w;return i!==null&&g!==null&&i[g]!=null&&(v.preventDefault(),v.stopImmediatePropagation(),m(i[g]),!0)},c),t.registerCommand(cl,w=>i!==null&&g!==null&&i[g]!=null&&(w!==null&&(w.preventDefault(),w.stopImmediatePropagation()),m(i[g]),!0),c)),[m,n,t,i,g,b,c]),o(e,E.useMemo(()=>({options:i,selectOptionAndCleanUp:m,selectedIndex:g,setHighlightedIndex:h}),[m,g,i]),r.match?r.match.matchingString:"")}function VE(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 dY=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`;function fY(n,{minLength:t=1,maxLength:e=75,punctuation:r=dY,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 YI({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]=De(),[p,m]=E.useState(null),b=(function(C,x,N,T=uy?document.body:void 0,k=!0){const[_]=De(),M=uy?document.createElement("div"):null,I=E.useRef(M),R=E.useCallback(()=>{if(I.current===null||T===void 0)return;I.current.style.top=I.current.style.bottom;const U=_.getRootElement(),j=I.current,K=j.firstChild;if(U!==null&&C!==null){const{left:ee,top:ue,width:fe,height:ie}=C.getRect(),V=I.current.offsetHeight;if(j.style.top=`${ue+V+3+(k?window.pageYOffset:0)}px`,j.style.left=`${ee+window.pageXOffset}px`,j.style.height=`${ie}px`,j.style.width=`${fe}px`,K!==null){K.style.top=`${ue}`;const re=K.getBoundingClientRect(),J=re.height,Z=re.width,X=U.getBoundingClientRect();ee+Z>X.right&&(j.style.left=`${X.right-Z+window.pageXOffset}px`),(ue+J>window.innerHeight||ue+J>X.bottom)&&ue-X.top>J+ie&&(j.style.top=`${ue-J-ie+(k?window.pageYOffset:0)}px`)}j.isConnected||(VE(j,N),T.append(j)),j.setAttribute("id","typeahead-menu"),U.setAttribute("aria-controls","typeahead-menu")}},[_,C,k,N,T]);E.useEffect(()=>{const U=_.getRootElement();return C!==null&&R(),()=>{U!==null&&U.removeAttribute("aria-controls");const j=I.current;j!==null&&j.isConnected&&(j.remove(),j.removeAttribute("id"))}},[_,R,C]);const B=E.useCallback(U=>{C!==null&&(U||x(null))},[C,x]);return cY(C,I.current,R,B),M!=null&&M===I.current&&(VE(M,N),T!=null&&T.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,N=x.document.createRange(),T=G(),k=(function(I){let R=null;return I.getEditorState().read(()=>{const B=G();H(B)&&(R=(function(U){const j=U.anchor;if(j.type!=="text")return null;const K=j.getNode();if(!K.isSimpleText())return null;const ee=j.offset;return K.getTextContent().slice(0,ee)})(B))}),R})(g);if(!H(T)||!T.isCollapsed()||k===null||N===null)return void w();const _=s(k,g);if(t(_?_.matchingString:null),_!==null&&(h||!(function(I,R){return R===0&&I.getEditorState().read(()=>{const B=G();if(H(B)){const U=B.anchor.getNode().getPreviousSibling();return ae(U)&&U.isTextEntity()}return!1})})(g,_.leadOffset))&&(function(R,B,U){const j=$r(U);if(j===null||!j.isCollapsed)return!1;const K=j.anchorNode,ee=R,ue=j.anchorOffset;if(K==null||ue==null)return!1;try{B.setStart(K,ee),B.setEnd(K,ue)}catch{return!1}return!0})(_.leadOffset,N,x)!==null)return M=()=>v({getRect:()=>N.getBoundingClientRect(),match:_}),void(YE in E?E[YE](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||b.current===null?null:A.jsx(uY,{close:w,resolution:p,editor:g,anchorElementRef:b,options:n,menuRenderFn:o,shouldSplitNodeWithQuery:!0,onSelectOption:e,commandPriority:c,preselectFirstItem:d})}const QE=(n,t,e)=>{if(!n)return null;let r=null;return e.read(()=>{const i=Be(n);r=i&&rb(i,t)}),r},hY=ve("INSERT_EMBED_COMMAND"),Tw=ve("INSERT_EMBED_INTEGRATION_COMMAND ");function gY(){const[n]=De();return E.useEffect(()=>{if(!n.hasNodes([cc]))throw new Error("EmbedPlugin: EmbedNode not registered on editor");return n.registerCommand(Tw,t=>{const e=rw(t,"100%","100%","",!0,"unknown"),r=jt();return r&&r.getParent()&&(r==null||r.replace(e)),!0},Ke)},[n]),null}const _w=ve(),pY=n=>{const t=G();if(H(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=Te(e,dh),i=Te(e,Di),{lexicalNode:o}=Ya(e,n,{"layout-item":!0});if(o&&!o.getTextContent()&&r)return Sg(n,r,i)&&Di(o)}return!0},mY=n=>{const t=G();if(H(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
+ `&&(gn(e==null?void 0:e.getChildren()[0])||gn(e==null?void 0:e.getChildren()[1])))return Ga(n,e,r)}return!1};function AY(){const[n]=De();return E.useEffect(()=>{if(!n.hasNodes([Xr,Mr,mi]))throw new Error("LayoutPlugin: LayoutContainerNode, or LayoutItemNode not registered on editor");return et(n.registerCommand(_w,t=>(n.update(()=>{const e=yg(t),r=yY(t);for(let o=0;o<r;o++)e.append(ki().append(_e()).append(li()));const i=jt();i&&(i==null||i.replace(e),e.selectStart())}),!0),Ke),n.registerCommand(_l,()=>{var o,s;const t=G();if(!H(t))return!1;const e=(o=t.focus)==null?void 0:o.getNode(),r=(s=Te(e,Di))==null?void 0:s.getKey(),i=e==null?void 0:e.getPreviousSibling();return setTimeout(()=>{n.update(()=>{if(i instanceof Xr){const c=li(),u=i.getLastChild();u==null||u.append(c)}const l=r?Se(r):null;if(l!=null&&l.getChildren&&l.getChildren().length===1){const c=_e();l.append(c),c.selectStart()}})},50),!1},An),n.registerNodeTransform(Mr,t=>{const e=t.getParent();if(!dh(e)){const r=t.getChildren();for(const i of r)t.insertBefore(i);t.remove()}}),n.registerNodeTransform(Xr,t=>{const e=t.getChildren();if(!e.every(Di)){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=Be(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),b=w=>{e=!1,n.dispatchCommand(GA,"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(()=>{Be(v).setTemplateColumns(v.style.gridTemplateColumns)}),document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",m),document.addEventListener("mouseup",b)}function l(c,u,d){if(!e)return;n.dispatchCommand(GA,"move");const h=c.clientX-r;if(Math.abs(h)<4||!u)return;const p=i[0]+h,m=i[1]-h;let b=u;const{columnGap:w,gap:v}=getComputedStyle(o),C=parseFloat(w||v||"0")||0,x=o.clientWidth-C*Math.max(0,d.length-1),N=b===1?50:100,T=100,k=Math.max(N,p),_=Math.max(T,m),M=k/x*100,I=_/x*100,R=Array.from(d).map((U,j)=>{const K=j?100:50;if(j===b-1)return`minmax(${K}px,${ly(M)}%)`;if(j===b)return`minmax(${K}px, ${ly(I)}%)`;const ee=Eg(o.style.gridTemplateColumns)[j];return`minmax(${K}px,${ee})`}),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 yY(n){return n.replace(/\(([^)]+)\)/g,e=>e.replace(/\s+/g,"")).trim().split(/\s+/).length}const ZI=ve("INSERT_SWAGGER_COMMAND");function bY(){const[n]=De();return E.useEffect(()=>{if(!n.hasNodes([Xu]))throw new Error("SwaggerPlugin: SwaggerPlugin not registered on editor");return n.registerCommand(ZI,t=>{const e=jt();if(e&&e.getParent()){const r=aw(t,"",!0);e==null||e.replace(r)}return!0},Ke)},[n]),null}const wY="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAACWCAYAAAAff3ceAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGPRSURBVHgB7b1LyG1RUucZcfJW01iZp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jER1ZsrKyn1JZWUz4mbKyn9pmZnsvZuPIzOmdcTLMzBGudEafIREWNiaZ8J2I06IIjRHUiI8fGmZbnqzJpspmbKy2GuYiPyTscx2INER246n4xERERERERERERERERH7RGmbKZmZ7M9j3H1LGxsbHuzM7fgzMzMz5iIixsYjTLNzM2Usz8iIiOhERERG2dvZ+jZWUzMzNlZWUzs0eZ6keBnbM7ZZnQRERsiPuz9GZmfAREbPaRGiIiLGxsbGwiNMzNlM2UzPVmZmfwWZmZmZmZ06erP2I8LMzM/wrMz/AAZERERER4yOyz+E2VlMzMzMzP3Ieg6CxmfwCIiIiI0d2WymZmeiaNcd2fUREbI6ER8OIsWPC+oufqzMzPxZmZ6ERERGyPMRcQ/IiIiIiIiIjZFjEWNjERER1IiIiPzGfERYxpn+HZ+LMzM/hY2NjY2P8T//2Q==",fn={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(te.IconTriangleFilled,{size:8,className:"rotate-90deg"}),fz:"sm",children:n("editor.menu.main.collapse.hint.firstItemEmpty")}),A.jsx(L.List.Item,{icon:A.jsx(te.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(te.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(te.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(te.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(te.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:CY,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:SY,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:EY,w:"100%",h:"100%"}),A.jsx(L.Box,{w:274,style:{display:"flex",justifyContent:"center",alignItems:"center",position:"absolute"},children:A.jsx(te.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:wY,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:vY,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:xY,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 Ti(n,t,e){return e.filter(r=>n(r)).map(r=>t(r))}const kY=["editor.menu.lists.bulletList.keywords.bulletsAlt1","editor.menu.lists.bulletList.keywords.bulletsAlt2"],TY=["editor.menu.main.quote.keywords.quote","editor.menu.main.quote.keywords.mark","editor.menu.main.quote.keywords.citation"],_Y=["editor.menu.main.collapse.keywords.collapsibleList","editor.menu.main.collapse.keywords.expandList","editor.menu.main.collapse.keywords.hideList","editor.menu.main.collapse.keywords.turnList"],NY=["editor.menu.main.horizontalRule.keywords.divider","editor.menu.main.horizontalRule.keywords.horizontalLine","editor.menu.main.horizontalRule.keywords.border"],IY=["editor.menu.main.table.keywords.table"],MY=["editor.menu.main.grid.keywords.net","editor.menu.main.grid.keywords.grid","editor.menu.main.grid.keywords.columns"],DY=["editor.menu.main.code.keywords.code","editor.menu.main.code.keywords.snippet"],LY=["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"],OY=["editor.menu.media.form.keywords"],RY=["editor.menu.media.video.keywords.video"],XE=(n,t,e)=>{const r=l=>e?Ti(e,t,l):[],i=r(kY),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)},Us=(n,t,e)=>{const r=e?Ti(e,t,TY):[],i=e?Ti(e,t,_Y):[],o=e?Ti(e,t,NY):[],s=e?Ti(e,t,IY):[],l=e?Ti(e,t,MY):[],c=e?Ti(e,t,DY):[];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)}},ua=(n,t,e)=>{const r=e?Ti(e,t,LY):[],i=e?Ti(e,t,OY):[],o=e?Ti(e,t,RY):[];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)}},Sn={size:18},PY=[{type:"number",command:Ub,name:"editor.menu.lists.numberList.name",iconName:"number",hint:fn.ol,description:"editor.menu.lists.numberList.subtitle"},{type:"bullet",command:SN,name:"editor.menu.lists.bulletList.name",iconName:"bullet",hint:fn.ul,description:"editor.menu.lists.bulletList.subtitle"},{type:"check",command:EN,name:"editor.menu.lists.checkList.name",iconName:"check",hint:fn.checkList,description:"editor.menu.lists.checkList.subtitle"}],BY=[{type:"default",command:"default",name:"editor.menu.callout.default.name",iconName:"defaultOff",hint:fn.type("🙂","","default"),description:"editor.menu.callout.default.subtitle"},{type:"alert",command:"alert",name:"editor.menu.callout.alert.name",iconName:"alert",hint:fn.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:fn.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:fn.type("⚠️","rgba(254, 247, 230)","warning"),description:"editor.menu.callout.warning.subtitle"}],FY=n=>({1:n("editor.menu.heading.h1.subtitle"),2:n("editor.menu.heading.h2.subtitle"),3:n("editor.menu.heading.h3.subtitle")}),En=(n,t,e)=>{n.update(()=>{let r=jt();if(!e&&((r==null?void 0:r.__type)==="text"||(r==null?void 0:r.__type)==="listitem")){const i=_e(),{lexicalNode:o}=Ya(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 GI(n){return n?"active dropdown-item-active":""}const JI={flip:!0,size:{padding:8,apply({availableHeight:n,elements:t,y:e,placement:r}){requestAnimationFrame(()=>{Object.assign(t.floating.style,{maxHeight:`${n>=425?425:n}px`})})}}};function jY(n,t){return n==="swagger"?!0:t}function VI({editor:n,isToolbar:t,excludeNodes:e,t:r,exists:i}){const o=FY(r),s=l=>{switch(l){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")]}};return[{key:"heading",name:r("editor.menu.heading.title").toUpperCase(),blocks:[1,2,3].map(l=>({parentKey:"heading",name:`${r("editor.heading.name")} ${l}`,description:o[l]||"Добавите заголовок",hint:fn.header(r,l),keywords:[`${s(l)}`,`${r(`editor.menu.heading.h${l}.keywords.header${l}`)}`,`${r(`editor.menu.heading.h${l}.keywords.heading`)}`,`${r(`editor.menu.heading.h${l}.keywords.h${l}`)}`],icon:A.jsx(xe,{...Sn,radius:"xs",name:`h${l}`}),key:`${l}`,hide:e[`${l}`],"data-test-id":`block-type-h${l}`,onSelect:()=>{En(n,()=>{const c=G();Qd(c,()=>os(`h${l}`))},t)}}))},{key:"list",name:r("editor.menu.lists.title").toUpperCase(),blocks:PY.map(({type:l,command:c,iconName:u,hint:d,description:h,name:g})=>({parentKey:"list",name:r(g),description:r(h),icon:A.jsx(xe,{...Sn,name:u}),keywords:[`${XE(l,r,i)}`],key:l,hint:d(r),hide:e[l],onSelect:()=>En(n,()=>{n.dispatchCommand(c,void 0)},t)}))},{key:"main",name:r("editor.menu.main.title").toUpperCase(),blocks:[{parentKey:"main",name:r("editor.menu.main.paragraph.name"),description:r("editor.menu.main.paragraph.subtitle"),icon:A.jsx(xe,{...Sn,name:"paragraph"}),keywords:[`${Us("paragraph",r,i)}`],key:"paragraph",hint:fn.paragraph(r),hide:e.paragraph||!t,onSelect:()=>En(n,()=>{const l=G();Qd(l,()=>_e())},t)},{parentKey:"main",name:r("editor.menu.main.quote.name"),description:r("editor.menu.main.quote.subtitle"),icon:A.jsx(xe,{...Sn,name:"quote"}),keywords:[`${Us("quote",r,i)}`],key:"quote",hint:fn.quote(r),hide:e.quote,"data-test-id":"block-type-quote",onSelect:()=>En(n,()=>{const l=G();Qd(l,()=>sg())},t)},{parentKey:"main",name:r("editor.menu.main.collapse.name"),description:r("editor.menu.main.collapse.subtitle"),icon:A.jsx(xe,{...Sn,name:"caret-right"}),keywords:[`${Us("collapse",r,i)}`],key:"caret-right",hint:fn.collapse(r),hide:t||e["caret-right"],"data-test-id":"block-type-collapse",onSelect:()=>En(n,()=>{n.dispatchCommand(KI,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,{...Sn,name:"horizontal-rule"}),keywords:[`${Us("horizontal-rule",r,i)}`],hint:fn.divider(r),hide:t||e["horizontal-rule"],key:"horizontal-rule","data-test-id":"block-type-horizontal-rule",onSelect:()=>{En(n,l=>{const c=l==null?void 0:l.getParent();if(Di(c)){const u=ic(),d=l==null?void 0:l.replace(u);d==null||d.insertAfter(_e())}else n.dispatchCommand(K_,void 0);!(l!=null&&l.getTextContent())&&!hg(l==null?void 0:l.getParent())&&(l==null||l.remove())},t)}},{parentKey:"main",name:r("editor.menu.main.table.name"),description:r("editor.menu.main.table.subtitle"),icon:A.jsx(xe,{...Sn,name:"table"}),keywords:[`${Us("table",r,i)}`],key:"table",hint:fn.table(r),hide:t||e.table,"data-test-id":"block-type-table",onSelect:()=>En(n,()=>{n.dispatchCommand(lg,{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,{...Sn,name:"grid"}),keywords:[`${Us("grid",r,i)}`],hide:t||e.grid,hint:fn.grid(r),key:"grid","data-test-id":"block-type-grid",onSelect:()=>En(n,()=>{n.dispatchCommand(_w,iw)},t)},{parentKey:"main",name:r("editor.menu.main.code.name"),description:r("editor.menu.main.code.subtitle"),icon:A.jsx(xe,{...Sn,name:"code"}),keywords:[`${Us("code",r,i)}`],key:"code",hint:fn.code(r),hide:e.code,"data-test-id":"block-type-code",onSelect:()=>En(n,()=>{const l=G();Qd(l,()=>qN())},t)}]},{key:"callout",name:r("editor.menu.callout.title").toUpperCase(),blocks:BY.map(({type:l,command:c,iconName:u,hint:d,description:h,name:g})=>({parentKey:"callout",name:r(g),description:r(h),icon:A.jsx(xe,{...Sn,name:u}),keywords:[`${XE(l,r,i)}`,`${r(`editor.menu.callout.${l}.keywords.heading`)}`,`${r(`editor.menu.callout.${l}.keywords.headingList`)}`,`${r(`editor.menu.callout.${l}.keywords.markers`)}`],key:l,hint:d(r),hide:e[l],"data-test-id":`block-type-${l}`,onSelect:()=>{En(n,()=>{n.dispatchCommand(ew,c)},t)}}))},{key:"media",name:r("editor.menu.media.title").toUpperCase(),blocks:[{parentKey:"media",name:r("editor.menu.media.photo.name"),description:r("editor.menu.media.photo.subtitle"),icon:A.jsx(xe,{...Sn,name:"photo"}),keywords:[`${ua("photo",r,i)}`],hide:t||e.photo,hint:fn.image(r),key:"photo",onSelect:()=>{En(n,()=>{n.dispatchCommand(hh,{altText:"new-image",src:"",create:!0})},t)}},{parentKey:"media",name:r("editor.menu.media.form.name"),description:r("editor.menu.media.form.subtitle"),keywords:[`${ua("form",r,i)}`],icon:A.jsx(xe,{...Sn,name:"form"}),hide:t||e.form,key:"form",onSelect:()=>{En(n,()=>{n.dispatchCommand(hY,"dudoc-form")},t)}},{parentKey:"media",name:r("editor.menu.media.video.name"),description:r("editor.menu.media.video.subtitle"),hint:fn.video(r),keywords:[`${ua("video",r,i)}`],icon:A.jsx(xe,{...Sn,name:"youtube"}),key:"video",hide:t||e.video,onSelect:()=>{En(n,()=>{n.dispatchCommand(qA,"")},t)}},{parentKey:"media",name:r("editor.menu.media.audio.name"),description:r("editor.menu.media.audio.subtitle"),hint:fn.audio(r),keywords:[`${ua("audio",r,i)}`],icon:A.jsx(xe,{...Sn,name:"music"}),key:"audio",hide:t||e.audio,onSelect:()=>{En(n,()=>{n.dispatchCommand(XA,"")},t)}},{parentKey:"media",name:r("editor.menu.media.file.name"),description:r("editor.menu.media.file.subtitle"),hint:fn.file(r),keywords:[`${ua("file",r,i)}`],icon:A.jsx(xe,{...Sn,name:"file"}),key:"file",hide:t||e.file,onSelect:()=>{En(n,()=>{n.dispatchCommand($A,"")},t)}},{parentKey:"media",name:r("editor.menu.media.excalidraw.name"),description:r("editor.menu.media.excalidraw.subtitle"),hint:fn.excalidraw(r),keywords:[`${ua("excalidraw",r,i)}`,"media"],icon:A.jsx(xe,{...Sn,name:"palette"}),key:"excalidraw",hide:t||e.excalidraw,onSelect:()=>{e.excalidraw||Promise.resolve().then(()=>require("./layers.B66ctuSP.js")).then(({INSERT_EXCALIDRAW_COMMAND:l})=>{En(n,()=>{n.dispatchCommand(l,void 0)},t)})}}]},{key:"other",name:r("editor.menu.other.title").toUpperCase(),blocks:[{parentKey:"other",name:r("editor.menu.other.documents.name"),description:r("editor.menu.other.documents.subtitle"),icon:A.jsx(xe,{...Sn,name:"book2"}),keywords:["page","document","child"],hide:t||e.childDocs,key:"childDocuments",onSelect:()=>{En(n,()=>{n.dispatchCommand(FI,void 0)},t)}},{parentKey:"other",name:r("editor.menu.other.emoji.name"),description:r("editor.menu.other.emoji.subtitle"),icon:A.jsx(xe,{...Sn,name:"emoji"}),keywords:["emoji","smile"],key:"emoji",hide:t||e.emoji,onSelect:()=>{n.focus(),n.dispatchCommand(KN,void 0)}}]},{key:"integrations",name:r("editor.menu.integrations.title").toUpperCase(),blocks:[...ac.map(l=>({...l,keywords:["iframe",...l.keywords],"data-test-id":`block-type-${l.platform}`,onSelect:()=>{En(n,()=>{l.platform==="swagger"?n.dispatchCommand(ZI,""):n.dispatchCommand(Tw,"")},t)},hide:jY(l.platform,t)}))]}]}const zY=(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,il)||Te(t,wt)||((r=Te(t,vt))==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 QI extends aY{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 UY({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 KY(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 QI("table",`${i}x${s} Table`,"",!1,"heading",{icon:A.jsx("i",{className:"icon table"}),keywords:["table"],onSelect:()=>n.dispatchCommand(lg,{columns:s,rows:i})})))}return e}function WY({editor:n,excludeNodes:t,t:e}){const r=VI({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 QI(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 HY({mode:n,setOpenedMenu:t,opened:e}){const[r]=De(),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(Lt),p=fY("/",{minLength:0}),{options:m,groupOptions:b,groupedInitialOptions:w}=E.useMemo(()=>{const{groupedOptions:T,baseOptions:k}=WY({editor:r,excludeNodes:g,t:u}),_=R=>{const B=R.reduce((U,j,K)=>{const ee=j.parentKey;return U[ee]||(U[ee]=[]),U[ee].push({...j,index:K}),U},{});return Object.entries(B).map(([U,j])=>({name:U,items:j}))};if(!o)return{options:k,groupOptions:_(k),groupedInitialOptions:T};const M=new RegExp(o,"i"),I=[...KY(r,o),...k.filter(R=>M.test(R.title)||R.keywords.some(B=>M.test(B)))];return{options:I,groupOptions:_(I),groupedInitialOptions:T}},[r,h,n,o]),v=E.useCallback((T,k,_,M)=>{r.update(()=>{k==null||k.remove(),T.onSelect(M),_()})},[r]),C=T=>{const k=T.target;if(QE(k,hi,r)){c(100),t(!1);return}(!(k!=null&&k.closest(".editor-scroller"))||k instanceof HTMLButtonElement)&&(t(!1),document.removeEventListener("click",C))};E.useEffect(()=>(e&&document.addEventListener("click",C),()=>{document.removeEventListener("click",C)}),[e]);const x=T=>{var R;if(!T){setTimeout(()=>{t(!0),c(B=>B+1)},50);return}const{x:k,y:_}=((R=T.getRect)==null?void 0:R.call(T))??{},M=document.elementFromPoint(k+1,_+1);!M||QE(M,hi,r)||setTimeout(()=>{t(!0),c(B=>B+1)},50)},N=(T,k)=>{if(T.substring(0,1)!=="/")return p(T,k);const M=jt();if(!M)return p(T,k);const I=zY(T,M,i);return x(),p(I,k)};return A.jsx(A.Fragment,{children:A.jsx(YI,{onQueryChange:s,onSelectOption:v,triggerFn:N,options:m,onOpen:x,anchorClassName:"reset-anchor",onClose:()=>{t(!1)},menuRenderFn:(T,{selectedIndex:k,selectOptionAndCleanUp:_,setHighlightedIndex:M})=>A.jsx(A.Fragment,{children:T.current&&A.jsx(L.Portal,{target:T.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:Vi,children:[A.jsx(L.Menu.Target,{children:A.jsx("span",{})},l),A.jsx(L.Menu.Dropdown,{className:"typeahead-popover component-picker-menu",children:b.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(UY,{index:B.index,isSelected:k===B.index,onClick:()=>{M(B.index),_(B)},onMouseEnter:()=>{M(B.index)},option:B},B.key))})]},R)})})]},d)})})})})}function YY({isLoading:n}){const[t]=De();return E.useEffect(()=>{t.update(()=>{Re().getFirstChild()&&setTimeout(()=>{var i;(i=t._rootElement)==null||i.setAttribute("contenteditable","true")},0)})},[t,n]),null}const ZY=n=>n.getEditorState().read(()=>Re().getChildrenKeys()).map(e=>({key:e,node:Se(e),htmlElement:n.getElementByKey(e)})),XI=(n,t)=>{let e;if(So(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,wt),i=Te(n,il);return gn(n)&&!r&&!i&&(e=t("editor.placeholder")),e},Nm="node-placeholder";let ff=null;const GY=n=>n instanceof HTMLHeadingElement,JY=({selection:n,editor:t,t:e})=>{var s,l;const r=ZY(t);if(r[0]&&r.length===0&&r[0].htmlElement&&!GY(r[0].htmlElement)){const c=t.getElementByKey(n.anchor.getNode().__key);(s=c==null?void 0:c.classList)==null||s.remove(Nm),c==null||c.removeAttribute("data-placeholder");return}const i=n.anchor,o=XI(i.getNode(),e);if(o){const c=t.getElementByKey(i.key);if(c==null||c.classList.add(Nm),c==null||c.setAttribute("data-placeholder",o),ff&&ff!==i.key){const u=t.getElementByKey(ff);(l=u==null?void 0:u.classList)==null||l.remove(Nm),u==null||u.removeAttribute("data-placeholder")}ff=i.key}},VY=(n,t)=>{n.getEditorState().read(()=>{const e=G();H(e)&&JY({selection:e,editor:n,t})})},QY=()=>{const[n]=De(),{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=XI(i,t);s&&l&&(s.classList.add("node-placeholder"),s.setAttribute("data-placeholder",l))})})}}),n.registerUpdateListener(()=>{VY(n,t)})),[n]),null};function hf(n){return n instanceof HTMLElement}function Ah(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 qI(){document.addEventListener("wheel",Ah,{passive:!1}),document.addEventListener("touchmove",Ah,{passive:!1})}function $I(){document.removeEventListener("wheel",Ah),document.removeEventListener("touchmove",Ah)}const XY=({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(te.IconPlus,{}):A.jsx(te.IconMinus,{})})})}),qY=({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(te.IconPlus,{}):A.jsx(te.IconMinus,{})})})}),Im=({label:n,icon:t})=>A.jsxs("div",{className:"custom-menu-item",children:[A.jsxs("div",{children:[t,A.jsx("span",{children:n})]}),A.jsx(xe,{name:"chevron-right"})]}),$Y={bullet:"Маркированный список",check:"Чек-лист",code:"Кодовый блок",h1:"Заголовок 1",h2:"Заголовок 2",h3:"Заголовок 3",h4:"Заголовок 4",h5:"Заголовок 5",h6:"Заголовок 6",number:"Нумерованный список",paragraph:"Параграф",quote:"Цитата"};function eM({editor:n,blockType:t,disabled:e=!1,mode:r,fetchUploadMedia:i,excludeNodes:o,children:s,menuProps:l,onChange:c}){const[u,d]=xg(),{t:h,i18n:g}=pt.useTranslation(),p=E.useMemo(()=>VI({editor:n,isToolbar:!0,excludeNodes:o,t:h}).map(m=>({...m,blocks:m.blocks.filter(b=>!b.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:JI,position:"bottom-start",transitionProps:Vi,...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:$Y[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(b=>A.jsx(E.Fragment,{children:A.jsx(L.Menu.Item,{className:"item "+GI(b.key==="1"),leftSection:b.icon,onClick:()=>{b.onSelect(),c&&c()},"data-test-id":b["data-test-id"],children:b.name})},b.key))]},m.key))})]})]})}function tM(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(Y(t)){const l=r??document.createElement("div"),c=((s=t.getChildren)==null?void 0:s.call(t))??[];for(const u of c){const d=tM(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 qE(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=>Be(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=tM(n,c);t==="cut"&&c.remove(),u&&l.appendChild(u)}),o=l.innerHTML})}),(i||o)&&await eZ(i,o)}async function eZ(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 $E=(n,t,e,r)=>{if(e)if(r==="layout"){const i=e.getParent(),o=i.getParent();Ga(n,i,o),t("delete")}else{const i=e==null?void 0:e.getParent();if(i instanceof Mr&&i.getChildren().length===2){const o=i,s=i.getParent();if(e.__type==="image"){o.append(_e());return}Ga(n,o,s)}ow(n,e),t("delete")}},ek=n=>{const t=n._rootElement;return Array.from(t.querySelectorAll(".selected-block"))},dy=(n,t,e,r=!1)=>{t&&n.update(()=>{const i=n.getElementByKey(t.getParent().getKey());z9(n,i,e,r)})},tZ=(n,t,e,r)=>{if(r==="layout")dy(n,e,"right",!0);else{const i=n._rootElement,o=Array.from(i.querySelectorAll(".selected-block")).reverse();o.length&&(n.update(()=>{const s=Be(o[0]);o.forEach(l=>{let c=Be(l);c&&(s==null||s.insertAfter($c(c))),Ju(l)})}),t())}},nZ=({editor:n,onChange:t,currentEditorNode:e,textBlock:r,t:i,isDisabledAddColumnButton:o,disabledMoveColumnButtons:s})=>{const{fetchUploadMedia:l,excludeNodes:c}=E.useContext(Lt),[u,d]=E.useState("inherit"),[h,g]=E.useState("inherit"),[p,m]=E.useState("inherit"),[b,w]=E.useState("");E.useEffect(()=>{const k=e==null?void 0:e.__type;n.read(()=>{var _;((_=e==null?void 0:e.getParent())==null?void 0:_.__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)=>{const[I,R]=M.split(":").map(B=>B.trim());return I&&R&&(_[I]=R),_},{}),C=k=>Object.entries(k).map(([_,M])=>`${_}: ${M}`).join("; "),x=E.useCallback(k=>{n.update(()=>{const _=ek(n).map(I=>Be(I)).filter(Boolean),M=I=>{if(typeof I.getStyle=="function"&&typeof I.setStyle=="function"){const R=v(I.getStyle());R.color=k.color,R["background-color"]=k.bgColor,I.setStyle(C(R)),d(k.bgColor),m(k.color)}};_.forEach(I=>{if(I instanceof yr){I.getChildren().forEach(R=>{const B=R.getFirstChild();B instanceof pi&&M(B)});return}if(I instanceof At){const R=I.getFirstChild();R instanceof pi&&M(R)}})})},[d,m]),N=(k,_)=>{const M=_||b;M==="callout-wrapper"&&e instanceof Ss?n.update(()=>{const I=GN(k);e.setType(I?k.meta.type:void 0),e.setBackgroundColor(k.value)}):M==="layout-color"?n.update(()=>{const I=e==null?void 0:e.getParent(),R=k.value===h?"inherit":k.value;I instanceof Mr&&I.setLayoutBackground(R)}):x({color:p,bgColor:u,[k.mode==="background"?"bgColor":k.mode]:k.value})},T=k=>{const _=ek(n);_.length?_.forEach(M=>{n.update(()=>{let I=Be(M);I&&$E(n,t,I,k)})}):n.update(()=>{let M=Be(_[0]);$E(n,t,M,k)})};return E.useEffect(()=>{setTimeout(()=>{n.read(()=>{if(b==="callout-wrapper"&&e instanceof Ss){d(e.__backgroundColor);return}const k=e==null?void 0:e.getParent();k instanceof Mr&&g(k.__backgroundColor);const _=G();H(_)&&(m(Jf(_,"color","inherit")),d(Jf(_,"background-color","inherit")))})})},[]),A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Item,{onMouseDown:k=>{k.preventDefault(),qE(n,"copy"),t("copy")},leftSection:A.jsx(te.IconClipboard,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.link.copy")}),A.jsx(L.Menu.Item,{onMouseDown:k=>{k.preventDefault(),qE(n,"cut"),t("cut")},leftSection:A.jsx(te.IconCut,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.contextMenu.cut")}),A.jsx(L.Menu.Item,{onClick:()=>T(""),leftSection:A.jsx(te.IconTrash,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.contextMenu.delete")}),A.jsx(L.Menu.Item,{disabled:b==="layout"&&o,onClick:()=>tZ(n,t,e,b),leftSection:A.jsx(te.IconCopy,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.contextMenu.duplicate")}),r==="text"&&b!=="callout-wrapper"&&A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Divider,{}),A.jsx(eM,{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(Im,{label:i("editor.toolbar.turnInto"),icon:A.jsx(te.IconArrowsRightLeft,{style:{width:L.rem(14),height:L.rem(14)}})})})})]}),(r==="text"||b=="callout-wrapper")&&A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Divider,{}),A.jsx(Ft.NewColorPicker,{data:{callout:{label:i("editor.colors.theme"),filled:!0,palette:ZN.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:b==="callout-wrapper"?["callout","background"]:["color","background"],value:{color:p,background:u,callout:u},onChange:k=>{N(k),t(),Sa(n)},hideInherit:!0,target:A.jsx("div",{children:A.jsx(Im,{label:i(b==="callout-wrapper"?"editor.contextMenu.appearance":"editor.toolbar.color"),icon:A.jsx(te.IconPaint,{size:14})})}),menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}}})]}),b==="layout"&&A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Divider,{}),A.jsx(Ft.NewColorPicker,{modes:["background"],value:{background:h},onChange:k=>{N(k,"layout-color"),t(),Sa(n)},hideInherit:!0,target:A.jsx("div",{children:A.jsx(Im,{label:i("editor.column.changeColor"),icon:A.jsx(te.IconPaint,{size:14})})}),menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}}}),A.jsx(L.Menu.Item,{disabled:o,onClick:()=>{dy(n,e,"left")},leftSection:A.jsx(te.IconColumnInsertLeft,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.addLeft")}),A.jsx(L.Menu.Item,{disabled:o,onClick:()=>{dy(n,e,"right")},leftSection:A.jsx(te.IconColumnInsertRight,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.addRight")}),A.jsx(L.Menu.Item,{disabled:s.left,onClick:()=>{PE(n,e,"left"),Sa(n)},leftSection:A.jsx(te.IconColumnInsertRight,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.moveLeft")}),A.jsx(L.Menu.Item,{disabled:s.right,onClick:()=>{PE(n,e,"right"),Sa(n)},leftSection:A.jsx(te.IconColumnInsertRight,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.moveRight")}),A.jsx(L.Menu.Item,{onClick:()=>T("layout"),leftSection:A.jsx(te.IconTrash,{style:{width:L.rem(14),height:L.rem(14)}}),children:i("editor.column.deleteColumn")})]})]})};var Uc={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 rZ=Uc.exports,tk;function iZ(){return tk||(tk=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,b=2,w=1,v=2,C=4,x=8,N=16,T=32,k=64,_=128,M=256,I=512,R=30,B="...",U=800,j=16,K=1,ee=2,ue=3,fe=1/0,ie=9007199254740991,V=17976931348623157e292,re=NaN,J=4294967295,Z=J-1,X=J>>>1,le=[["ary",_],["bind",w],["bindKey",v],["curry",x],["curryRight",N],["flip",I],["partial",T],["partialRight",k],["rearg",M]],de="[object Arguments]",me="[object Array]",q="[object AsyncFunction]",ne="[object Boolean]",Ae="[object Date]",oe="[object DOMException]",pe="[object Error]",Ee="[object Function]",Ce="[object GeneratorFunction]",we="[object Map]",Ue="[object Number]",tt="[object Null]",Ie="[object Object]",qe="[object Promise]",ut="[object Proxy]",lt="[object RegExp]",Ht="[object Set]",vn="[object String]",Fe="[object Symbol]",nt="[object Undefined]",dt="[object WeakMap]",kt="[object WeakSet]",ht="[object ArrayBuffer]",$e="[object DataView]",Xt="[object Float32Array]",zt="[object Float64Array]",or="[object Int8Array]",Rn="[object Int16Array]",Qi="[object Int32Array]",Is="[object Uint8Array]",fc="[object Uint8ClampedArray]",sr="[object Uint16Array]",Ho="[object Uint32Array]",TM=/\b__p \+= '';/g,_M=/\b(__p \+=) '' \+/g,NM=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Rw=/&(?:amp|lt|gt|quot|#39);/g,Pw=/[&<>"']/g,IM=RegExp(Rw.source),MM=RegExp(Pw.source),DM=/<%-([\s\S]+?)%>/g,LM=/<%([\s\S]+?)%>/g,Bw=/<%=([\s\S]+?)%>/g,OM=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,RM=/^\w*$/,PM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tg=/[\\^$.*+?()[\]{}|]/g,BM=RegExp(Tg.source),_g=/^\s+/,FM=/\s/,jM=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zM=/\{\n\/\* \[wrapped with (.+)\] \*/,UM=/,? & /,KM=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,WM=/[()=,{}\[\]\/\s]/,HM=/\\(\\)?/g,YM=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fw=/\w*$/,ZM=/^[-+]0x[0-9a-f]+$/i,GM=/^0b[01]+$/i,JM=/^\[object .+?Constructor\]$/,VM=/^0o[0-7]+$/i,QM=/^(?:0|[1-9]\d*)$/,XM=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rd=/($^)/,qM=/['\n\r\u2028\u2029\\]/g,id="\\ud800-\\udfff",$M="\\u0300-\\u036f",eD="\\ufe20-\\ufe2f",tD="\\u20d0-\\u20ff",jw=$M+eD+tD,zw="\\u2700-\\u27bf",Uw="a-z\\xdf-\\xf6\\xf8-\\xff",nD="\\xac\\xb1\\xd7\\xf7",rD="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",iD="\\u2000-\\u206f",oD=" \\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",Kw="A-Z\\xc0-\\xd6\\xd8-\\xde",Ww="\\ufe0e\\ufe0f",Hw=nD+rD+iD+oD,Ng="['’]",sD="["+id+"]",Yw="["+Hw+"]",od="["+jw+"]",Zw="\\d+",lD="["+zw+"]",Gw="["+Uw+"]",Jw="[^"+id+Hw+Zw+zw+Uw+Kw+"]",Ig="\\ud83c[\\udffb-\\udfff]",aD="(?:"+od+"|"+Ig+")",Vw="[^"+id+"]",Mg="(?:\\ud83c[\\udde6-\\uddff]){2}",Dg="[\\ud800-\\udbff][\\udc00-\\udfff]",Yl="["+Kw+"]",Qw="\\u200d",Xw="(?:"+Gw+"|"+Jw+")",cD="(?:"+Yl+"|"+Jw+")",qw="(?:"+Ng+"(?:d|ll|m|re|s|t|ve))?",$w="(?:"+Ng+"(?:D|LL|M|RE|S|T|VE))?",eC=aD+"?",tC="["+Ww+"]?",uD="(?:"+Qw+"(?:"+[Vw,Mg,Dg].join("|")+")"+tC+eC+")*",dD="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",fD="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",nC=tC+eC+uD,hD="(?:"+[lD,Mg,Dg].join("|")+")"+nC,gD="(?:"+[Vw+od+"?",od,Mg,Dg,sD].join("|")+")",pD=RegExp(Ng,"g"),mD=RegExp(od,"g"),Lg=RegExp(Ig+"(?="+Ig+")|"+gD+nC,"g"),AD=RegExp([Yl+"?"+Gw+"+"+qw+"(?="+[Yw,Yl,"$"].join("|")+")",cD+"+"+$w+"(?="+[Yw,Yl+Xw,"$"].join("|")+")",Yl+"?"+Xw+"+"+qw,Yl+"+"+$w,fD,dD,Zw,hD].join("|"),"g"),yD=RegExp("["+Qw+id+jw+Ww+"]"),bD=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,wD=["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"],CD=-1,Kt={};Kt[Xt]=Kt[zt]=Kt[or]=Kt[Rn]=Kt[Qi]=Kt[Is]=Kt[fc]=Kt[sr]=Kt[Ho]=!0,Kt[de]=Kt[me]=Kt[ht]=Kt[ne]=Kt[$e]=Kt[Ae]=Kt[pe]=Kt[Ee]=Kt[we]=Kt[Ue]=Kt[Ie]=Kt[lt]=Kt[Ht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:"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"},xD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},SD={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ED={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kD=parseFloat,TD=parseInt,rC=typeof Js=="object"&&Js&&Js.Object===Object&&Js,_D=typeof self=="object"&&self&&self.Object===Object&&self,Pn=rC||_D||Function("return this")(),Og=t&&!t.nodeType&&t,Ms=Og&&!0&&n&&!n.nodeType&&n,iC=Ms&&Ms.exports===Og,Rg=iC&&rC.process,Dr=(function(){try{var Q=Ms&&Ms.require&&Ms.require("util").types;return Q||Rg&&Rg.binding&&Rg.binding("util")}catch{}})(),oC=Dr&&Dr.isArrayBuffer,sC=Dr&&Dr.isDate,lC=Dr&&Dr.isMap,aC=Dr&&Dr.isRegExp,cC=Dr&&Dr.isSet,uC=Dr&&Dr.isTypedArray;function br(Q,ce,se){switch(se.length){case 0:return Q.call(ce);case 1:return Q.call(ce,se[0]);case 2:return Q.call(ce,se[0],se[1]);case 3:return Q.call(ce,se[0],se[1],se[2])}return Q.apply(ce,se)}function ND(Q,ce,se,Le){for(var Ge=-1,Ct=Q==null?0:Q.length;++Ge<Ct;){var pn=Q[Ge];ce(Le,pn,se(pn),Q)}return Le}function Lr(Q,ce){for(var se=-1,Le=Q==null?0:Q.length;++se<Le&&ce(Q[se],se,Q)!==!1;);return Q}function ID(Q,ce){for(var se=Q==null?0:Q.length;se--&&ce(Q[se],se,Q)!==!1;);return Q}function dC(Q,ce){for(var se=-1,Le=Q==null?0:Q.length;++se<Le;)if(!ce(Q[se],se,Q))return!1;return!0}function Yo(Q,ce){for(var se=-1,Le=Q==null?0:Q.length,Ge=0,Ct=[];++se<Le;){var pn=Q[se];ce(pn,se,Q)&&(Ct[Ge++]=pn)}return Ct}function sd(Q,ce){var se=Q==null?0:Q.length;return!!se&&Zl(Q,ce,0)>-1}function Pg(Q,ce,se){for(var Le=-1,Ge=Q==null?0:Q.length;++Le<Ge;)if(se(ce,Q[Le]))return!0;return!1}function Yt(Q,ce){for(var se=-1,Le=Q==null?0:Q.length,Ge=Array(Le);++se<Le;)Ge[se]=ce(Q[se],se,Q);return Ge}function Zo(Q,ce){for(var se=-1,Le=ce.length,Ge=Q.length;++se<Le;)Q[Ge+se]=ce[se];return Q}function Bg(Q,ce,se,Le){var Ge=-1,Ct=Q==null?0:Q.length;for(Le&&Ct&&(se=Q[++Ge]);++Ge<Ct;)se=ce(se,Q[Ge],Ge,Q);return se}function MD(Q,ce,se,Le){var Ge=Q==null?0:Q.length;for(Le&&Ge&&(se=Q[--Ge]);Ge--;)se=ce(se,Q[Ge],Ge,Q);return se}function Fg(Q,ce){for(var se=-1,Le=Q==null?0:Q.length;++se<Le;)if(ce(Q[se],se,Q))return!0;return!1}var DD=jg("length");function LD(Q){return Q.split("")}function OD(Q){return Q.match(KM)||[]}function fC(Q,ce,se){var Le;return se(Q,function(Ge,Ct,pn){if(ce(Ge,Ct,pn))return Le=Ct,!1}),Le}function ld(Q,ce,se,Le){for(var Ge=Q.length,Ct=se+(Le?1:-1);Le?Ct--:++Ct<Ge;)if(ce(Q[Ct],Ct,Q))return Ct;return-1}function Zl(Q,ce,se){return ce===ce?ZD(Q,ce,se):ld(Q,hC,se)}function RD(Q,ce,se,Le){for(var Ge=se-1,Ct=Q.length;++Ge<Ct;)if(Le(Q[Ge],ce))return Ge;return-1}function hC(Q){return Q!==Q}function gC(Q,ce){var se=Q==null?0:Q.length;return se?Ug(Q,ce)/se:re}function jg(Q){return function(ce){return ce==null?e:ce[Q]}}function zg(Q){return function(ce){return Q==null?e:Q[ce]}}function pC(Q,ce,se,Le,Ge){return Ge(Q,function(Ct,pn,Ot){se=Le?(Le=!1,Ct):ce(se,Ct,pn,Ot)}),se}function PD(Q,ce){var se=Q.length;for(Q.sort(ce);se--;)Q[se]=Q[se].value;return Q}function Ug(Q,ce){for(var se,Le=-1,Ge=Q.length;++Le<Ge;){var Ct=ce(Q[Le]);Ct!==e&&(se=se===e?Ct:se+Ct)}return se}function Kg(Q,ce){for(var se=-1,Le=Array(Q);++se<Q;)Le[se]=ce(se);return Le}function BD(Q,ce){return Yt(ce,function(se){return[se,Q[se]]})}function mC(Q){return Q&&Q.slice(0,wC(Q)+1).replace(_g,"")}function wr(Q){return function(ce){return Q(ce)}}function Wg(Q,ce){return Yt(ce,function(se){return Q[se]})}function hc(Q,ce){return Q.has(ce)}function AC(Q,ce){for(var se=-1,Le=Q.length;++se<Le&&Zl(ce,Q[se],0)>-1;);return se}function yC(Q,ce){for(var se=Q.length;se--&&Zl(ce,Q[se],0)>-1;);return se}function FD(Q,ce){for(var se=Q.length,Le=0;se--;)Q[se]===ce&&++Le;return Le}var jD=zg(vD),zD=zg(xD);function UD(Q){return"\\"+ED[Q]}function KD(Q,ce){return Q==null?e:Q[ce]}function Gl(Q){return yD.test(Q)}function WD(Q){return bD.test(Q)}function HD(Q){for(var ce,se=[];!(ce=Q.next()).done;)se.push(ce.value);return se}function Hg(Q){var ce=-1,se=Array(Q.size);return Q.forEach(function(Le,Ge){se[++ce]=[Ge,Le]}),se}function bC(Q,ce){return function(se){return Q(ce(se))}}function Go(Q,ce){for(var se=-1,Le=Q.length,Ge=0,Ct=[];++se<Le;){var pn=Q[se];(pn===ce||pn===d)&&(Q[se]=d,Ct[Ge++]=se)}return Ct}function ad(Q){var ce=-1,se=Array(Q.size);return Q.forEach(function(Le){se[++ce]=Le}),se}function YD(Q){var ce=-1,se=Array(Q.size);return Q.forEach(function(Le){se[++ce]=[Le,Le]}),se}function ZD(Q,ce,se){for(var Le=se-1,Ge=Q.length;++Le<Ge;)if(Q[Le]===ce)return Le;return-1}function GD(Q,ce,se){for(var Le=se+1;Le--;)if(Q[Le]===ce)return Le;return Le}function Jl(Q){return Gl(Q)?VD(Q):DD(Q)}function ni(Q){return Gl(Q)?QD(Q):LD(Q)}function wC(Q){for(var ce=Q.length;ce--&&FM.test(Q.charAt(ce)););return ce}var JD=zg(SD);function VD(Q){for(var ce=Lg.lastIndex=0;Lg.test(Q);)++ce;return ce}function QD(Q){return Q.match(Lg)||[]}function XD(Q){return Q.match(AD)||[]}var qD=(function Q(ce){ce=ce==null?Pn:Vl.defaults(Pn.Object(),ce,Vl.pick(Pn,wD));var se=ce.Array,Le=ce.Date,Ge=ce.Error,Ct=ce.Function,pn=ce.Math,Ot=ce.Object,Yg=ce.RegExp,$D=ce.String,Or=ce.TypeError,cd=se.prototype,eL=Ct.prototype,Ql=Ot.prototype,ud=ce["__core-js_shared__"],dd=eL.toString,Tt=Ql.hasOwnProperty,tL=0,CC=(function(){var a=/[^.]+$/.exec(ud&&ud.keys&&ud.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})(),fd=Ql.toString,nL=dd.call(Ot),rL=Pn._,iL=Yg("^"+dd.call(Tt).replace(Tg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hd=iC?ce.Buffer:e,Jo=ce.Symbol,gd=ce.Uint8Array,vC=hd?hd.allocUnsafe:e,pd=bC(Ot.getPrototypeOf,Ot),xC=Ot.create,SC=Ql.propertyIsEnumerable,md=cd.splice,EC=Jo?Jo.isConcatSpreadable:e,gc=Jo?Jo.iterator:e,Ds=Jo?Jo.toStringTag:e,Ad=(function(){try{var a=Bs(Ot,"defineProperty");return a({},"",{}),a}catch{}})(),oL=ce.clearTimeout!==Pn.clearTimeout&&ce.clearTimeout,sL=Le&&Le.now!==Pn.Date.now&&Le.now,lL=ce.setTimeout!==Pn.setTimeout&&ce.setTimeout,yd=pn.ceil,bd=pn.floor,Zg=Ot.getOwnPropertySymbols,aL=hd?hd.isBuffer:e,kC=ce.isFinite,cL=cd.join,uL=bC(Ot.keys,Ot),mn=pn.max,Kn=pn.min,dL=Le.now,fL=ce.parseInt,TC=pn.random,hL=cd.reverse,Gg=Bs(ce,"DataView"),pc=Bs(ce,"Map"),Jg=Bs(ce,"Promise"),Xl=Bs(ce,"Set"),mc=Bs(ce,"WeakMap"),Ac=Bs(Ot,"create"),wd=mc&&new mc,ql={},gL=Fs(Gg),pL=Fs(pc),mL=Fs(Jg),AL=Fs(Xl),yL=Fs(mc),Cd=Jo?Jo.prototype:e,yc=Cd?Cd.valueOf:e,_C=Cd?Cd.toString:e;function O(a){if(qt(a)&&!Xe(a)&&!(a instanceof gt)){if(a instanceof Rr)return a;if(Tt.call(a,"__wrapped__"))return Nv(a)}return new Rr(a)}var $l=(function(){function a(){}return function(f){if(!Gt(f))return{};if(xC)return xC(f);a.prototype=f;var y=new a;return a.prototype=e,y}})();function vd(){}function Rr(a,f){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!f,this.__index__=0,this.__values__=e}O.templateSettings={escape:DM,evaluate:LM,interpolate:Bw,variable:"",imports:{_:O}},O.prototype=vd.prototype,O.prototype.constructor=O,Rr.prototype=$l(vd.prototype),Rr.prototype.constructor=Rr;function gt(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=J,this.__views__=[]}function bL(){var a=new gt(this.__wrapped__);return a.__actions__=lr(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=lr(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=lr(this.__views__),a}function wL(){if(this.__filtered__){var a=new gt(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function CL(){var a=this.__wrapped__.value(),f=this.__dir__,y=Xe(a),S=f<0,D=y?a.length:0,P=LO(0,D,this.__views__),z=P.start,W=P.end,$=W-z,he=S?W:z-1,ge=this.__iteratees__,ye=ge.length,ke=0,Pe=Kn($,this.__takeCount__);if(!y||!S&&D==$&&Pe==$)return qC(a,this.__actions__);var He=[];e:for(;$--&&ke<Pe;){he+=f;for(var it=-1,Ye=a[he];++it<ye;){var ft=ge[it],mt=ft.iteratee,xr=ft.type,$n=mt(Ye);if(xr==ee)Ye=$n;else if(!$n){if(xr==K)continue e;break e}}He[ke++]=Ye}return He}gt.prototype=$l(vd.prototype),gt.prototype.constructor=gt;function Ls(a){var f=-1,y=a==null?0:a.length;for(this.clear();++f<y;){var S=a[f];this.set(S[0],S[1])}}function vL(){this.__data__=Ac?Ac(null):{},this.size=0}function xL(a){var f=this.has(a)&&delete this.__data__[a];return this.size-=f?1:0,f}function SL(a){var f=this.__data__;if(Ac){var y=f[a];return y===c?e:y}return Tt.call(f,a)?f[a]:e}function EL(a){var f=this.__data__;return Ac?f[a]!==e:Tt.call(f,a)}function kL(a,f){var y=this.__data__;return this.size+=this.has(a)?0:1,y[a]=Ac&&f===e?c:f,this}Ls.prototype.clear=vL,Ls.prototype.delete=xL,Ls.prototype.get=SL,Ls.prototype.has=EL,Ls.prototype.set=kL;function Xi(a){var f=-1,y=a==null?0:a.length;for(this.clear();++f<y;){var S=a[f];this.set(S[0],S[1])}}function TL(){this.__data__=[],this.size=0}function _L(a){var f=this.__data__,y=xd(f,a);if(y<0)return!1;var S=f.length-1;return y==S?f.pop():md.call(f,y,1),--this.size,!0}function NL(a){var f=this.__data__,y=xd(f,a);return y<0?e:f[y][1]}function IL(a){return xd(this.__data__,a)>-1}function ML(a,f){var y=this.__data__,S=xd(y,a);return S<0?(++this.size,y.push([a,f])):y[S][1]=f,this}Xi.prototype.clear=TL,Xi.prototype.delete=_L,Xi.prototype.get=NL,Xi.prototype.has=IL,Xi.prototype.set=ML;function qi(a){var f=-1,y=a==null?0:a.length;for(this.clear();++f<y;){var S=a[f];this.set(S[0],S[1])}}function DL(){this.size=0,this.__data__={hash:new Ls,map:new(pc||Xi),string:new Ls}}function LL(a){var f=Rd(this,a).delete(a);return this.size-=f?1:0,f}function OL(a){return Rd(this,a).get(a)}function RL(a){return Rd(this,a).has(a)}function PL(a,f){var y=Rd(this,a),S=y.size;return y.set(a,f),this.size+=y.size==S?0:1,this}qi.prototype.clear=DL,qi.prototype.delete=LL,qi.prototype.get=OL,qi.prototype.has=RL,qi.prototype.set=PL;function Os(a){var f=-1,y=a==null?0:a.length;for(this.__data__=new qi;++f<y;)this.add(a[f])}function BL(a){return this.__data__.set(a,c),this}function FL(a){return this.__data__.has(a)}Os.prototype.add=Os.prototype.push=BL,Os.prototype.has=FL;function ri(a){var f=this.__data__=new Xi(a);this.size=f.size}function jL(){this.__data__=new Xi,this.size=0}function zL(a){var f=this.__data__,y=f.delete(a);return this.size=f.size,y}function UL(a){return this.__data__.get(a)}function KL(a){return this.__data__.has(a)}function WL(a,f){var y=this.__data__;if(y instanceof Xi){var S=y.__data__;if(!pc||S.length<i-1)return S.push([a,f]),this.size=++y.size,this;y=this.__data__=new qi(S)}return y.set(a,f),this.size=y.size,this}ri.prototype.clear=jL,ri.prototype.delete=zL,ri.prototype.get=UL,ri.prototype.has=KL,ri.prototype.set=WL;function NC(a,f){var y=Xe(a),S=!y&&js(a),D=!y&&!S&&$o(a),P=!y&&!S&&!D&&ra(a),z=y||S||D||P,W=z?Kg(a.length,$D):[],$=W.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")||no(he,$)))&&W.push(he);return W}function IC(a){var f=a.length;return f?a[op(0,f-1)]:e}function HL(a,f){return Pd(lr(a),Rs(f,0,a.length))}function YL(a){return Pd(lr(a))}function Vg(a,f,y){(y!==e&&!ii(a[f],y)||y===e&&!(f in a))&&$i(a,f,y)}function bc(a,f,y){var S=a[f];(!(Tt.call(a,f)&&ii(S,y))||y===e&&!(f in a))&&$i(a,f,y)}function xd(a,f){for(var y=a.length;y--;)if(ii(a[y][0],f))return y;return-1}function ZL(a,f,y,S){return Vo(a,function(D,P,z){f(S,D,y(D),z)}),S}function MC(a,f){return a&&bi(f,xn(f),a)}function GL(a,f){return a&&bi(f,cr(f),a)}function $i(a,f,y){f=="__proto__"&&Ad?Ad(a,f,{configurable:!0,enumerable:!0,value:y,writable:!0}):a[f]=y}function Qg(a,f){for(var y=-1,S=f.length,D=se(S),P=a==null;++y<S;)D[y]=P?e:Ip(a,f[y]);return D}function Rs(a,f,y){return a===a&&(y!==e&&(a=a<=y?a:y),f!==e&&(a=a>=f?a:f)),a}function Pr(a,f,y,S,D,P){var z,W=f&h,$=f&g,he=f&p;if(y&&(z=D?y(a,S,D,P):y(a)),z!==e)return z;if(!Gt(a))return a;var ge=Xe(a);if(ge){if(z=RO(a),!W)return lr(a,z)}else{var ye=Wn(a),ke=ye==Ee||ye==Ce;if($o(a))return tv(a,W);if(ye==Ie||ye==de||ke&&!D){if(z=$||ke?{}:wv(a),!W)return $?SO(a,GL(z,a)):xO(a,MC(z,a))}else{if(!Ut[ye])return D?a:{};z=PO(a,ye,W)}}P||(P=new ri);var Pe=P.get(a);if(Pe)return Pe;P.set(a,z),Vv(a)?a.forEach(function(Ye){z.add(Pr(Ye,f,y,Ye,a,P))}):Gv(a)&&a.forEach(function(Ye,ft){z.set(ft,Pr(Ye,f,y,ft,a,P))});var He=he?$?mp:pp:$?cr:xn,it=ge?e:He(a);return Lr(it||a,function(Ye,ft){it&&(ft=Ye,Ye=a[ft]),bc(z,ft,Pr(Ye,f,y,ft,a,P))}),z}function JL(a){var f=xn(a);return function(y){return DC(y,a,f)}}function DC(a,f,y){var S=y.length;if(a==null)return!S;for(a=Ot(a);S--;){var D=y[S],P=f[D],z=a[D];if(z===e&&!(D in a)||!P(z))return!1}return!0}function LC(a,f,y){if(typeof a!="function")throw new Or(s);return kc(function(){a.apply(e,y)},f)}function wc(a,f,y,S){var D=-1,P=sd,z=!0,W=a.length,$=[],he=f.length;if(!W)return $;y&&(f=Yt(f,wr(y))),S?(P=Pg,z=!1):f.length>=i&&(P=hc,z=!1,f=new Os(f));e:for(;++D<W;){var ge=a[D],ye=y==null?ge:y(ge);if(ge=S||ge!==0?ge:0,z&&ye===ye){for(var ke=he;ke--;)if(f[ke]===ye)continue e;$.push(ge)}else P(f,ye,S)||$.push(ge)}return $}var Vo=sv(yi),OC=sv(qg,!0);function VL(a,f){var y=!0;return Vo(a,function(S,D,P){return y=!!f(S,D,P),y}),y}function Sd(a,f,y){for(var S=-1,D=a.length;++S<D;){var P=a[S],z=f(P);if(z!=null&&(W===e?z===z&&!vr(z):y(z,W)))var W=z,$=P}return $}function QL(a,f,y,S){var D=a.length;for(y=rt(y),y<0&&(y=-y>D?0:D+y),S=S===e||S>D?D:rt(S),S<0&&(S+=D),S=y>S?0:Xv(S);y<S;)a[y++]=f;return a}function RC(a,f){var y=[];return Vo(a,function(S,D,P){f(S,D,P)&&y.push(S)}),y}function Bn(a,f,y,S,D){var P=-1,z=a.length;for(y||(y=FO),D||(D=[]);++P<z;){var W=a[P];f>0&&y(W)?f>1?Bn(W,f-1,y,S,D):Zo(D,W):S||(D[D.length]=W)}return D}var Xg=lv(),PC=lv(!0);function yi(a,f){return a&&Xg(a,f,xn)}function qg(a,f){return a&&PC(a,f,xn)}function Ed(a,f){return Yo(f,function(y){return ro(a[y])})}function Ps(a,f){f=Xo(f,a);for(var y=0,S=f.length;a!=null&&y<S;)a=a[wi(f[y++])];return y&&y==S?a:e}function BC(a,f,y){var S=f(a);return Xe(a)?S:Zo(S,y(a))}function Xn(a){return a==null?a===e?nt:tt:Ds&&Ds in Ot(a)?DO(a):YO(a)}function $g(a,f){return a>f}function XL(a,f){return a!=null&&Tt.call(a,f)}function qL(a,f){return a!=null&&f in Ot(a)}function $L(a,f,y){return a>=Kn(f,y)&&a<mn(f,y)}function ep(a,f,y){for(var S=y?Pg:sd,D=a[0].length,P=a.length,z=P,W=se(P),$=1/0,he=[];z--;){var ge=a[z];z&&f&&(ge=Yt(ge,wr(f))),$=Kn(ge.length,$),W[z]=!y&&(f||D>=120&&ge.length>=120)?new Os(z&&ge):e}ge=a[0];var ye=-1,ke=W[0];e:for(;++ye<D&&he.length<$;){var Pe=ge[ye],He=f?f(Pe):Pe;if(Pe=y||Pe!==0?Pe:0,!(ke?hc(ke,He):S(he,He,y))){for(z=P;--z;){var it=W[z];if(!(it?hc(it,He):S(a[z],He,y)))continue e}ke&&ke.push(He),he.push(Pe)}}return he}function eO(a,f,y,S){return yi(a,function(D,P,z){f(S,y(D),P,z)}),S}function Cc(a,f,y){f=Xo(f,a),a=Sv(a,f);var S=a==null?a:a[wi(Fr(f))];return S==null?e:br(S,a,y)}function FC(a){return qt(a)&&Xn(a)==de}function tO(a){return qt(a)&&Xn(a)==ht}function nO(a){return qt(a)&&Xn(a)==Ae}function vc(a,f,y,S,D){return a===f?!0:a==null||f==null||!qt(a)&&!qt(f)?a!==a&&f!==f:rO(a,f,y,S,vc,D)}function rO(a,f,y,S,D,P){var z=Xe(a),W=Xe(f),$=z?me:Wn(a),he=W?me:Wn(f);$=$==de?Ie:$,he=he==de?Ie:he;var ge=$==Ie,ye=he==Ie,ke=$==he;if(ke&&$o(a)){if(!$o(f))return!1;z=!0,ge=!1}if(ke&&!ge)return P||(P=new ri),z||ra(a)?Av(a,f,y,S,D,P):IO(a,f,$,y,S,D,P);if(!(y&m)){var Pe=ge&&Tt.call(a,"__wrapped__"),He=ye&&Tt.call(f,"__wrapped__");if(Pe||He){var it=Pe?a.value():a,Ye=He?f.value():f;return P||(P=new ri),D(it,Ye,y,S,P)}}return ke?(P||(P=new ri),MO(a,f,y,S,D,P)):!1}function iO(a){return qt(a)&&Wn(a)==we}function tp(a,f,y,S){var D=y.length,P=D,z=!S;if(a==null)return!P;for(a=Ot(a);D--;){var W=y[D];if(z&&W[2]?W[1]!==a[W[0]]:!(W[0]in a))return!1}for(;++D<P;){W=y[D];var $=W[0],he=a[$],ge=W[1];if(z&&W[2]){if(he===e&&!($ in a))return!1}else{var ye=new ri;if(S)var ke=S(he,ge,$,a,f,ye);if(!(ke===e?vc(ge,he,m|b,S,ye):ke))return!1}}return!0}function jC(a){if(!Gt(a)||zO(a))return!1;var f=ro(a)?iL:JM;return f.test(Fs(a))}function oO(a){return qt(a)&&Xn(a)==lt}function sO(a){return qt(a)&&Wn(a)==Ht}function lO(a){return qt(a)&&Kd(a.length)&&!!Kt[Xn(a)]}function zC(a){return typeof a=="function"?a:a==null?ur:typeof a=="object"?Xe(a)?WC(a[0],a[1]):KC(a):a0(a)}function np(a){if(!Ec(a))return uL(a);var f=[];for(var y in Ot(a))Tt.call(a,y)&&y!="constructor"&&f.push(y);return f}function aO(a){if(!Gt(a))return HO(a);var f=Ec(a),y=[];for(var S in a)S=="constructor"&&(f||!Tt.call(a,S))||y.push(S);return y}function rp(a,f){return a<f}function UC(a,f){var y=-1,S=ar(a)?se(a.length):[];return Vo(a,function(D,P,z){S[++y]=f(D,P,z)}),S}function KC(a){var f=yp(a);return f.length==1&&f[0][2]?vv(f[0][0],f[0][1]):function(y){return y===a||tp(y,a,f)}}function WC(a,f){return wp(a)&&Cv(f)?vv(wi(a),f):function(y){var S=Ip(y,a);return S===e&&S===f?Mp(y,a):vc(f,S,m|b)}}function kd(a,f,y,S,D){a!==f&&Xg(f,function(P,z){if(D||(D=new ri),Gt(P))cO(a,f,z,y,kd,S,D);else{var W=S?S(vp(a,z),P,z+"",a,f,D):e;W===e&&(W=P),Vg(a,z,W)}},cr)}function cO(a,f,y,S,D,P,z){var W=vp(a,y),$=vp(f,y),he=z.get($);if(he){Vg(a,y,he);return}var ge=P?P(W,$,y+"",a,f,z):e,ye=ge===e;if(ye){var ke=Xe($),Pe=!ke&&$o($),He=!ke&&!Pe&&ra($);ge=$,ke||Pe||He?Xe(W)?ge=W:tn(W)?ge=lr(W):Pe?(ye=!1,ge=tv($,!0)):He?(ye=!1,ge=nv($,!0)):ge=[]:Tc($)||js($)?(ge=W,js(W)?ge=qv(W):(!Gt(W)||ro(W))&&(ge=wv($))):ye=!1}ye&&(z.set($,ge),D(ge,$,S,P,z),z.delete($)),Vg(a,y,ge)}function HC(a,f){var y=a.length;if(y)return f+=f<0?y:0,no(f,y)?a[f]:e}function YC(a,f,y){f.length?f=Yt(f,function(P){return Xe(P)?function(z){return Ps(z,P.length===1?P[0]:P)}:P}):f=[ur];var S=-1;f=Yt(f,wr(We()));var D=UC(a,function(P,z,W){var $=Yt(f,function(he){return he(P)});return{criteria:$,index:++S,value:P}});return PD(D,function(P,z){return vO(P,z,y)})}function uO(a,f){return ZC(a,f,function(y,S){return Mp(a,S)})}function ZC(a,f,y){for(var S=-1,D=f.length,P={};++S<D;){var z=f[S],W=Ps(a,z);y(W,z)&&xc(P,Xo(z,a),W)}return P}function dO(a){return function(f){return Ps(f,a)}}function ip(a,f,y,S){var D=S?RD:Zl,P=-1,z=f.length,W=a;for(a===f&&(f=lr(f)),y&&(W=Yt(a,wr(y)));++P<z;)for(var $=0,he=f[P],ge=y?y(he):he;($=D(W,ge,$,S))>-1;)W!==a&&md.call(W,$,1),md.call(a,$,1);return a}function GC(a,f){for(var y=a?f.length:0,S=y-1;y--;){var D=f[y];if(y==S||D!==P){var P=D;no(D)?md.call(a,D,1):ap(a,D)}}return a}function op(a,f){return a+bd(TC()*(f-a+1))}function fO(a,f,y,S){for(var D=-1,P=mn(yd((f-a)/(y||1)),0),z=se(P);P--;)z[S?P:++D]=a,a+=y;return z}function sp(a,f){var y="";if(!a||f<1||f>ie)return y;do f%2&&(y+=a),f=bd(f/2),f&&(a+=a);while(f);return y}function at(a,f){return xp(xv(a,f,ur),a+"")}function hO(a){return IC(ia(a))}function gO(a,f){var y=ia(a);return Pd(y,Rs(f,0,y.length))}function xc(a,f,y,S){if(!Gt(a))return a;f=Xo(f,a);for(var D=-1,P=f.length,z=P-1,W=a;W!=null&&++D<P;){var $=wi(f[D]),he=y;if($==="__proto__"||$==="constructor"||$==="prototype")return a;if(D!=z){var ge=W[$];he=S?S(ge,$,W):e,he===e&&(he=Gt(ge)?ge:no(f[D+1])?[]:{})}bc(W,$,he),W=W[$]}return a}var JC=wd?function(a,f){return wd.set(a,f),a}:ur,pO=Ad?function(a,f){return Ad(a,"toString",{configurable:!0,enumerable:!1,value:Lp(f),writable:!0})}:ur;function mO(a){return Pd(ia(a))}function Br(a,f,y){var S=-1,D=a.length;f<0&&(f=-f>D?0:D+f),y=y>D?D:y,y<0&&(y+=D),D=f>y?0:y-f>>>0,f>>>=0;for(var P=se(D);++S<D;)P[S]=a[S+f];return P}function AO(a,f){var y;return Vo(a,function(S,D,P){return y=f(S,D,P),!y}),!!y}function Td(a,f,y){var S=0,D=a==null?S:a.length;if(typeof f=="number"&&f===f&&D<=X){for(;S<D;){var P=S+D>>>1,z=a[P];z!==null&&!vr(z)&&(y?z<=f:z<f)?S=P+1:D=P}return D}return lp(a,f,ur,y)}function lp(a,f,y,S){var D=0,P=a==null?0:a.length;if(P===0)return 0;f=y(f);for(var z=f!==f,W=f===null,$=vr(f),he=f===e;D<P;){var ge=bd((D+P)/2),ye=y(a[ge]),ke=ye!==e,Pe=ye===null,He=ye===ye,it=vr(ye);if(z)var Ye=S||He;else he?Ye=He&&(S||ke):W?Ye=He&&ke&&(S||!Pe):$?Ye=He&&ke&&!Pe&&(S||!it):Pe||it?Ye=!1:Ye=S?ye<=f:ye<f;Ye?D=ge+1:P=ge}return Kn(P,Z)}function VC(a,f){for(var y=-1,S=a.length,D=0,P=[];++y<S;){var z=a[y],W=f?f(z):z;if(!y||!ii(W,$)){var $=W;P[D++]=z===0?0:z}}return P}function QC(a){return typeof a=="number"?a:vr(a)?re:+a}function Cr(a){if(typeof a=="string")return a;if(Xe(a))return Yt(a,Cr)+"";if(vr(a))return _C?_C.call(a):"";var f=a+"";return f=="0"&&1/a==-fe?"-0":f}function Qo(a,f,y){var S=-1,D=sd,P=a.length,z=!0,W=[],$=W;if(y)z=!1,D=Pg;else if(P>=i){var he=f?null:_O(a);if(he)return ad(he);z=!1,D=hc,$=new Os}else $=f?[]:W;e:for(;++S<P;){var ge=a[S],ye=f?f(ge):ge;if(ge=y||ge!==0?ge:0,z&&ye===ye){for(var ke=$.length;ke--;)if($[ke]===ye)continue e;f&&$.push(ye),W.push(ge)}else D($,ye,y)||($!==W&&$.push(ye),W.push(ge))}return W}function ap(a,f){return f=Xo(f,a),a=Sv(a,f),a==null||delete a[wi(Fr(f))]}function XC(a,f,y,S){return xc(a,f,y(Ps(a,f)),S)}function _d(a,f,y,S){for(var D=a.length,P=S?D:-1;(S?P--:++P<D)&&f(a[P],P,a););return y?Br(a,S?0:P,S?P+1:D):Br(a,S?P+1:0,S?D:P)}function qC(a,f){var y=a;return y instanceof gt&&(y=y.value()),Bg(f,function(S,D){return D.func.apply(D.thisArg,Zo([S],D.args))},y)}function cp(a,f,y){var S=a.length;if(S<2)return S?Qo(a[0]):[];for(var D=-1,P=se(S);++D<S;)for(var z=a[D],W=-1;++W<S;)W!=D&&(P[D]=wc(P[D]||z,a[W],f,y));return Qo(Bn(P,1),f,y)}function $C(a,f,y){for(var S=-1,D=a.length,P=f.length,z={};++S<D;){var W=S<P?f[S]:e;y(z,a[S],W)}return z}function up(a){return tn(a)?a:[]}function dp(a){return typeof a=="function"?a:ur}function Xo(a,f){return Xe(a)?a:wp(a,f)?[a]:_v(xt(a))}var yO=at;function qo(a,f,y){var S=a.length;return y=y===e?S:y,!f&&y>=S?a:Br(a,f,y)}var ev=oL||function(a){return Pn.clearTimeout(a)};function tv(a,f){if(f)return a.slice();var y=a.length,S=vC?vC(y):new a.constructor(y);return a.copy(S),S}function fp(a){var f=new a.constructor(a.byteLength);return new gd(f).set(new gd(a)),f}function bO(a,f){var y=f?fp(a.buffer):a.buffer;return new a.constructor(y,a.byteOffset,a.byteLength)}function wO(a){var f=new a.constructor(a.source,Fw.exec(a));return f.lastIndex=a.lastIndex,f}function CO(a){return yc?Ot(yc.call(a)):{}}function nv(a,f){var y=f?fp(a.buffer):a.buffer;return new a.constructor(y,a.byteOffset,a.length)}function rv(a,f){if(a!==f){var y=a!==e,S=a===null,D=a===a,P=vr(a),z=f!==e,W=f===null,$=f===f,he=vr(f);if(!W&&!he&&!P&&a>f||P&&z&&$&&!W&&!he||S&&z&&$||!y&&$||!D)return 1;if(!S&&!P&&!he&&a<f||he&&y&&D&&!S&&!P||W&&y&&D||!z&&D||!$)return-1}return 0}function vO(a,f,y){for(var S=-1,D=a.criteria,P=f.criteria,z=D.length,W=y.length;++S<z;){var $=rv(D[S],P[S]);if($){if(S>=W)return $;var he=y[S];return $*(he=="desc"?-1:1)}}return a.index-f.index}function iv(a,f,y,S){for(var D=-1,P=a.length,z=y.length,W=-1,$=f.length,he=mn(P-z,0),ge=se($+he),ye=!S;++W<$;)ge[W]=f[W];for(;++D<z;)(ye||D<P)&&(ge[y[D]]=a[D]);for(;he--;)ge[W++]=a[D++];return ge}function ov(a,f,y,S){for(var D=-1,P=a.length,z=-1,W=y.length,$=-1,he=f.length,ge=mn(P-W,0),ye=se(ge+he),ke=!S;++D<ge;)ye[D]=a[D];for(var Pe=D;++$<he;)ye[Pe+$]=f[$];for(;++z<W;)(ke||D<P)&&(ye[Pe+y[z]]=a[D++]);return ye}function lr(a,f){var y=-1,S=a.length;for(f||(f=se(S));++y<S;)f[y]=a[y];return f}function bi(a,f,y,S){var D=!y;y||(y={});for(var P=-1,z=f.length;++P<z;){var W=f[P],$=S?S(y[W],a[W],W,y,a):e;$===e&&($=a[W]),D?$i(y,W,$):bc(y,W,$)}return y}function xO(a,f){return bi(a,bp(a),f)}function SO(a,f){return bi(a,yv(a),f)}function Nd(a,f){return function(y,S){var D=Xe(y)?ND:ZL,P=f?f():{};return D(y,a,We(S,2),P)}}function ea(a){return at(function(f,y){var S=-1,D=y.length,P=D>1?y[D-1]:e,z=D>2?y[2]:e;for(P=a.length>3&&typeof P=="function"?(D--,P):e,z&&qn(y[0],y[1],z)&&(P=D<3?e:P,D=1),f=Ot(f);++S<D;){var W=y[S];W&&a(f,W,S,P)}return f})}function sv(a,f){return function(y,S){if(y==null)return y;if(!ar(y))return a(y,S);for(var D=y.length,P=f?D:-1,z=Ot(y);(f?P--:++P<D)&&S(z[P],P,z)!==!1;);return y}}function lv(a){return function(f,y,S){for(var D=-1,P=Ot(f),z=S(f),W=z.length;W--;){var $=z[a?W:++D];if(y(P[$],$,P)===!1)break}return f}}function EO(a,f,y){var S=f&w,D=Sc(a);function P(){var z=this&&this!==Pn&&this instanceof P?D:a;return z.apply(S?y:this,arguments)}return P}function av(a){return function(f){f=xt(f);var y=Gl(f)?ni(f):e,S=y?y[0]:f.charAt(0),D=y?qo(y,1).join(""):f.slice(1);return S[a]()+D}}function ta(a){return function(f){return Bg(s0(o0(f).replace(pD,"")),a,"")}}function Sc(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 y=$l(a.prototype),S=a.apply(y,f);return Gt(S)?S:y}}function kO(a,f,y){var S=Sc(a);function D(){for(var P=arguments.length,z=se(P),W=P,$=na(D);W--;)z[W]=arguments[W];var he=P<3&&z[0]!==$&&z[P-1]!==$?[]:Go(z,$);if(P-=he.length,P<y)return hv(a,f,Id,D.placeholder,e,z,he,e,e,y-P);var ge=this&&this!==Pn&&this instanceof D?S:a;return br(ge,this,z)}return D}function cv(a){return function(f,y,S){var D=Ot(f);if(!ar(f)){var P=We(y,3);f=xn(f),y=function(W){return P(D[W],W,D)}}var z=a(f,y,S);return z>-1?D[P?f[z]:z]:e}}function uv(a){return to(function(f){var y=f.length,S=y,D=Rr.prototype.thru;for(a&&f.reverse();S--;){var P=f[S];if(typeof P!="function")throw new Or(s);if(D&&!z&&Od(P)=="wrapper")var z=new Rr([],!0)}for(S=z?S:y;++S<y;){P=f[S];var W=Od(P),$=W=="wrapper"?Ap(P):e;$&&Cp($[0])&&$[1]==(_|x|T|M)&&!$[4].length&&$[9]==1?z=z[Od($[0])].apply(z,$[3]):z=P.length==1&&Cp(P)?z[W]():z.thru(P)}return function(){var he=arguments,ge=he[0];if(z&&he.length==1&&Xe(ge))return z.plant(ge).value();for(var ye=0,ke=y?f[ye].apply(this,he):ge;++ye<y;)ke=f[ye].call(this,ke);return ke}})}function Id(a,f,y,S,D,P,z,W,$,he){var ge=f&_,ye=f&w,ke=f&v,Pe=f&(x|N),He=f&I,it=ke?e:Sc(a);function Ye(){for(var ft=arguments.length,mt=se(ft),xr=ft;xr--;)mt[xr]=arguments[xr];if(Pe)var $n=na(Ye),Sr=FD(mt,$n);if(S&&(mt=iv(mt,S,D,Pe)),P&&(mt=ov(mt,P,z,Pe)),ft-=Sr,Pe&&ft<he){var nn=Go(mt,$n);return hv(a,f,Id,Ye.placeholder,y,mt,nn,W,$,he-ft)}var oi=ye?y:this,oo=ke?oi[a]:a;return ft=mt.length,W?mt=ZO(mt,W):He&&ft>1&&mt.reverse(),ge&&$<ft&&(mt.length=$),this&&this!==Pn&&this instanceof Ye&&(oo=it||Sc(oo)),oo.apply(oi,mt)}return Ye}function dv(a,f){return function(y,S){return eO(y,a,f(S),{})}}function Md(a,f){return function(y,S){var D;if(y===e&&S===e)return f;if(y!==e&&(D=y),S!==e){if(D===e)return S;typeof y=="string"||typeof S=="string"?(y=Cr(y),S=Cr(S)):(y=QC(y),S=QC(S)),D=a(y,S)}return D}}function hp(a){return to(function(f){return f=Yt(f,wr(We())),at(function(y){var S=this;return a(f,function(D){return br(D,S,y)})})})}function Dd(a,f){f=f===e?" ":Cr(f);var y=f.length;if(y<2)return y?sp(f,a):f;var S=sp(f,yd(a/Jl(f)));return Gl(f)?qo(ni(S),0,a).join(""):S.slice(0,a)}function TO(a,f,y,S){var D=f&w,P=Sc(a);function z(){for(var W=-1,$=arguments.length,he=-1,ge=S.length,ye=se(ge+$),ke=this&&this!==Pn&&this instanceof z?P:a;++he<ge;)ye[he]=S[he];for(;$--;)ye[he++]=arguments[++W];return br(ke,D?y:this,ye)}return z}function fv(a){return function(f,y,S){return S&&typeof S!="number"&&qn(f,y,S)&&(y=S=e),f=io(f),y===e?(y=f,f=0):y=io(y),S=S===e?f<y?1:-1:io(S),fO(f,y,S,a)}}function Ld(a){return function(f,y){return typeof f=="string"&&typeof y=="string"||(f=jr(f),y=jr(y)),a(f,y)}}function hv(a,f,y,S,D,P,z,W,$,he){var ge=f&x,ye=ge?z:e,ke=ge?e:z,Pe=ge?P:e,He=ge?e:P;f|=ge?T:k,f&=~(ge?k:T),f&C||(f&=-4);var it=[a,f,D,Pe,ye,He,ke,W,$,he],Ye=y.apply(e,it);return Cp(a)&&Ev(Ye,it),Ye.placeholder=S,kv(Ye,a,f)}function gp(a){var f=pn[a];return function(y,S){if(y=jr(y),S=S==null?0:Kn(rt(S),292),S&&kC(y)){var D=(xt(y)+"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(y)}}var _O=Xl&&1/ad(new Xl([,-0]))[1]==fe?function(a){return new Xl(a)}:Pp;function gv(a){return function(f){var y=Wn(f);return y==we?Hg(f):y==Ht?YD(f):BD(f,a(f))}}function eo(a,f,y,S,D,P,z,W){var $=f&v;if(!$&&typeof a!="function")throw new Or(s);var he=S?S.length:0;if(he||(f&=-97,S=D=e),z=z===e?z:mn(rt(z),0),W=W===e?W:rt(W),he-=D?D.length:0,f&k){var ge=S,ye=D;S=D=e}var ke=$?e:Ap(a),Pe=[a,f,y,S,D,ge,ye,P,z,W];if(ke&&WO(Pe,ke),a=Pe[0],f=Pe[1],y=Pe[2],S=Pe[3],D=Pe[4],W=Pe[9]=Pe[9]===e?$?0:a.length:mn(Pe[9]-he,0),!W&&f&(x|N)&&(f&=-25),!f||f==w)var He=EO(a,f,y);else f==x||f==N?He=kO(a,f,W):(f==T||f==(w|T))&&!D.length?He=TO(a,f,y,S):He=Id.apply(e,Pe);var it=ke?JC:Ev;return kv(it(He,Pe),a,f)}function pv(a,f,y,S){return a===e||ii(a,Ql[y])&&!Tt.call(S,y)?f:a}function mv(a,f,y,S,D,P){return Gt(a)&&Gt(f)&&(P.set(f,a),kd(a,f,e,mv,P),P.delete(f)),a}function NO(a){return Tc(a)?e:a}function Av(a,f,y,S,D,P){var z=y&m,W=a.length,$=f.length;if(W!=$&&!(z&&$>W))return!1;var he=P.get(a),ge=P.get(f);if(he&&ge)return he==f&&ge==a;var ye=-1,ke=!0,Pe=y&b?new Os:e;for(P.set(a,f),P.set(f,a);++ye<W;){var He=a[ye],it=f[ye];if(S)var Ye=z?S(it,He,ye,f,a,P):S(He,it,ye,a,f,P);if(Ye!==e){if(Ye)continue;ke=!1;break}if(Pe){if(!Fg(f,function(ft,mt){if(!hc(Pe,mt)&&(He===ft||D(He,ft,y,S,P)))return Pe.push(mt)})){ke=!1;break}}else if(!(He===it||D(He,it,y,S,P))){ke=!1;break}}return P.delete(a),P.delete(f),ke}function IO(a,f,y,S,D,P,z){switch(y){case $e: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 gd(a),new gd(f)));case ne:case Ae:case Ue:return ii(+a,+f);case pe:return a.name==f.name&&a.message==f.message;case lt:case vn:return a==f+"";case we:var W=Hg;case Ht:var $=S&m;if(W||(W=ad),a.size!=f.size&&!$)return!1;var he=z.get(a);if(he)return he==f;S|=b,z.set(a,f);var ge=Av(W(a),W(f),S,D,P,z);return z.delete(a),ge;case Fe:if(yc)return yc.call(a)==yc.call(f)}return!1}function MO(a,f,y,S,D,P){var z=y&m,W=pp(a),$=W.length,he=pp(f),ge=he.length;if($!=ge&&!z)return!1;for(var ye=$;ye--;){var ke=W[ye];if(!(z?ke in f:Tt.call(f,ke)))return!1}var Pe=P.get(a),He=P.get(f);if(Pe&&He)return Pe==f&&He==a;var it=!0;P.set(a,f),P.set(f,a);for(var Ye=z;++ye<$;){ke=W[ye];var ft=a[ke],mt=f[ke];if(S)var xr=z?S(mt,ft,ke,f,a,P):S(ft,mt,ke,a,f,P);if(!(xr===e?ft===mt||D(ft,mt,y,S,P):xr)){it=!1;break}Ye||(Ye=ke=="constructor")}if(it&&!Ye){var $n=a.constructor,Sr=f.constructor;$n!=Sr&&"constructor"in a&&"constructor"in f&&!(typeof $n=="function"&&$n instanceof $n&&typeof Sr=="function"&&Sr instanceof Sr)&&(it=!1)}return P.delete(a),P.delete(f),it}function to(a){return xp(xv(a,e,Dv),a+"")}function pp(a){return BC(a,xn,bp)}function mp(a){return BC(a,cr,yv)}var Ap=wd?function(a){return wd.get(a)}:Pp;function Od(a){for(var f=a.name+"",y=ql[f],S=Tt.call(ql,f)?y.length:0;S--;){var D=y[S],P=D.func;if(P==null||P==a)return D.name}return f}function na(a){var f=Tt.call(O,"placeholder")?O:a;return f.placeholder}function We(){var a=O.iteratee||Op;return a=a===Op?zC:a,arguments.length?a(arguments[0],arguments[1]):a}function Rd(a,f){var y=a.__data__;return jO(f)?y[typeof f=="string"?"string":"hash"]:y.map}function yp(a){for(var f=xn(a),y=f.length;y--;){var S=f[y],D=a[S];f[y]=[S,D,Cv(D)]}return f}function Bs(a,f){var y=KD(a,f);return jC(y)?y:e}function DO(a){var f=Tt.call(a,Ds),y=a[Ds];try{a[Ds]=e;var S=!0}catch{}var D=fd.call(a);return S&&(f?a[Ds]=y:delete a[Ds]),D}var bp=Zg?function(a){return a==null?[]:(a=Ot(a),Yo(Zg(a),function(f){return SC.call(a,f)}))}:Bp,yv=Zg?function(a){for(var f=[];a;)Zo(f,bp(a)),a=pd(a);return f}:Bp,Wn=Xn;(Gg&&Wn(new Gg(new ArrayBuffer(1)))!=$e||pc&&Wn(new pc)!=we||Jg&&Wn(Jg.resolve())!=qe||Xl&&Wn(new Xl)!=Ht||mc&&Wn(new mc)!=dt)&&(Wn=function(a){var f=Xn(a),y=f==Ie?a.constructor:e,S=y?Fs(y):"";if(S)switch(S){case gL:return $e;case pL:return we;case mL:return qe;case AL:return Ht;case yL:return dt}return f});function LO(a,f,y){for(var S=-1,D=y.length;++S<D;){var P=y[S],z=P.size;switch(P.type){case"drop":a+=z;break;case"dropRight":f-=z;break;case"take":f=Kn(f,a+z);break;case"takeRight":a=mn(a,f-z);break}}return{start:a,end:f}}function OO(a){var f=a.match(zM);return f?f[1].split(UM):[]}function bv(a,f,y){f=Xo(f,a);for(var S=-1,D=f.length,P=!1;++S<D;){var z=wi(f[S]);if(!(P=a!=null&&y(a,z)))break;a=a[z]}return P||++S!=D?P:(D=a==null?0:a.length,!!D&&Kd(D)&&no(z,D)&&(Xe(a)||js(a)))}function RO(a){var f=a.length,y=new a.constructor(f);return f&&typeof a[0]=="string"&&Tt.call(a,"index")&&(y.index=a.index,y.input=a.input),y}function wv(a){return typeof a.constructor=="function"&&!Ec(a)?$l(pd(a)):{}}function PO(a,f,y){var S=a.constructor;switch(f){case ht:return fp(a);case ne:case Ae:return new S(+a);case $e:return bO(a,y);case Xt:case zt:case or:case Rn:case Qi:case Is:case fc:case sr:case Ho:return nv(a,y);case we:return new S;case Ue:case vn:return new S(a);case lt:return wO(a);case Ht:return new S;case Fe:return CO(a)}}function BO(a,f){var y=f.length;if(!y)return a;var S=y-1;return f[S]=(y>1?"& ":"")+f[S],f=f.join(y>2?", ":" "),a.replace(jM,`{
71
+ /* [wrapped with `+f+`] */
72
+ `)}function FO(a){return Xe(a)||js(a)||!!(EC&&a&&a[EC])}function no(a,f){var y=typeof a;return f=f??ie,!!f&&(y=="number"||y!="symbol"&&QM.test(a))&&a>-1&&a%1==0&&a<f}function qn(a,f,y){if(!Gt(y))return!1;var S=typeof f;return(S=="number"?ar(y)&&no(f,y.length):S=="string"&&f in y)?ii(y[f],a):!1}function wp(a,f){if(Xe(a))return!1;var y=typeof a;return y=="number"||y=="symbol"||y=="boolean"||a==null||vr(a)?!0:RM.test(a)||!OM.test(a)||f!=null&&a in Ot(f)}function jO(a){var f=typeof a;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?a!=="__proto__":a===null}function Cp(a){var f=Od(a),y=O[f];if(typeof y!="function"||!(f in gt.prototype))return!1;if(a===y)return!0;var S=Ap(y);return!!S&&a===S[0]}function zO(a){return!!CC&&CC in a}var UO=ud?ro:Fp;function Ec(a){var f=a&&a.constructor,y=typeof f=="function"&&f.prototype||Ql;return a===y}function Cv(a){return a===a&&!Gt(a)}function vv(a,f){return function(y){return y==null?!1:y[a]===f&&(f!==e||a in Ot(y))}}function KO(a){var f=zd(a,function(S){return y.size===u&&y.clear(),S}),y=f.cache;return f}function WO(a,f){var y=a[1],S=f[1],D=y|S,P=D<(w|v|_),z=S==_&&y==x||S==_&&y==M&&a[7].length<=f[8]||S==(_|M)&&f[7].length<=f[8]&&y==x;if(!(P||z))return a;S&w&&(a[2]=f[2],D|=y&w?0:C);var W=f[3];if(W){var $=a[3];a[3]=$?iv($,W,f[4]):W,a[4]=$?Go(a[3],d):f[4]}return W=f[5],W&&($=a[5],a[5]=$?ov($,W,f[6]):W,a[6]=$?Go(a[5],d):f[6]),W=f[7],W&&(a[7]=W),S&_&&(a[8]=a[8]==null?f[8]:Kn(a[8],f[8])),a[9]==null&&(a[9]=f[9]),a[0]=f[0],a[1]=D,a}function HO(a){var f=[];if(a!=null)for(var y in Ot(a))f.push(y);return f}function YO(a){return fd.call(a)}function xv(a,f,y){return f=mn(f===e?a.length-1:f,0),function(){for(var S=arguments,D=-1,P=mn(S.length-f,0),z=se(P);++D<P;)z[D]=S[f+D];D=-1;for(var W=se(f+1);++D<f;)W[D]=S[D];return W[f]=y(z),br(a,this,W)}}function Sv(a,f){return f.length<2?a:Ps(a,Br(f,0,-1))}function ZO(a,f){for(var y=a.length,S=Kn(f.length,y),D=lr(a);S--;){var P=f[S];a[S]=no(P,y)?D[P]:e}return a}function vp(a,f){if(!(f==="constructor"&&typeof a[f]=="function")&&f!="__proto__")return a[f]}var Ev=Tv(JC),kc=lL||function(a,f){return Pn.setTimeout(a,f)},xp=Tv(pO);function kv(a,f,y){var S=f+"";return xp(a,BO(S,GO(OO(S),y)))}function Tv(a){var f=0,y=0;return function(){var S=dL(),D=j-(S-y);if(y=S,D>0){if(++f>=U)return arguments[0]}else f=0;return a.apply(e,arguments)}}function Pd(a,f){var y=-1,S=a.length,D=S-1;for(f=f===e?S:f;++y<f;){var P=op(y,D),z=a[P];a[P]=a[y],a[y]=z}return a.length=f,a}var _v=KO(function(a){var f=[];return a.charCodeAt(0)===46&&f.push(""),a.replace(PM,function(y,S,D,P){f.push(D?P.replace(HM,"$1"):S||y)}),f});function wi(a){if(typeof a=="string"||vr(a))return a;var f=a+"";return f=="0"&&1/a==-fe?"-0":f}function Fs(a){if(a!=null){try{return dd.call(a)}catch{}try{return a+""}catch{}}return""}function GO(a,f){return Lr(le,function(y){var S="_."+y[0];f&y[1]&&!sd(a,S)&&a.push(S)}),a.sort()}function Nv(a){if(a instanceof gt)return a.clone();var f=new Rr(a.__wrapped__,a.__chain__);return f.__actions__=lr(a.__actions__),f.__index__=a.__index__,f.__values__=a.__values__,f}function JO(a,f,y){(y?qn(a,f,y):f===e)?f=1:f=mn(rt(f),0);var S=a==null?0:a.length;if(!S||f<1)return[];for(var D=0,P=0,z=se(yd(S/f));D<S;)z[P++]=Br(a,D,D+=f);return z}function VO(a){for(var f=-1,y=a==null?0:a.length,S=0,D=[];++f<y;){var P=a[f];P&&(D[S++]=P)}return D}function QO(){var a=arguments.length;if(!a)return[];for(var f=se(a-1),y=arguments[0],S=a;S--;)f[S-1]=arguments[S];return Zo(Xe(y)?lr(y):[y],Bn(f,1))}var XO=at(function(a,f){return tn(a)?wc(a,Bn(f,1,tn,!0)):[]}),qO=at(function(a,f){var y=Fr(f);return tn(y)&&(y=e),tn(a)?wc(a,Bn(f,1,tn,!0),We(y,2)):[]}),$O=at(function(a,f){var y=Fr(f);return tn(y)&&(y=e),tn(a)?wc(a,Bn(f,1,tn,!0),e,y):[]});function eR(a,f,y){var S=a==null?0:a.length;return S?(f=y||f===e?1:rt(f),Br(a,f<0?0:f,S)):[]}function tR(a,f,y){var S=a==null?0:a.length;return S?(f=y||f===e?1:rt(f),f=S-f,Br(a,0,f<0?0:f)):[]}function nR(a,f){return a&&a.length?_d(a,We(f,3),!0,!0):[]}function rR(a,f){return a&&a.length?_d(a,We(f,3),!0):[]}function iR(a,f,y,S){var D=a==null?0:a.length;return D?(y&&typeof y!="number"&&qn(a,f,y)&&(y=0,S=D),QL(a,f,y,S)):[]}function Iv(a,f,y){var S=a==null?0:a.length;if(!S)return-1;var D=y==null?0:rt(y);return D<0&&(D=mn(S+D,0)),ld(a,We(f,3),D)}function Mv(a,f,y){var S=a==null?0:a.length;if(!S)return-1;var D=S-1;return y!==e&&(D=rt(y),D=y<0?mn(S+D,0):Kn(D,S-1)),ld(a,We(f,3),D,!0)}function Dv(a){var f=a==null?0:a.length;return f?Bn(a,1):[]}function oR(a){var f=a==null?0:a.length;return f?Bn(a,fe):[]}function sR(a,f){var y=a==null?0:a.length;return y?(f=f===e?1:rt(f),Bn(a,f)):[]}function lR(a){for(var f=-1,y=a==null?0:a.length,S={};++f<y;){var D=a[f];S[D[0]]=D[1]}return S}function Lv(a){return a&&a.length?a[0]:e}function aR(a,f,y){var S=a==null?0:a.length;if(!S)return-1;var D=y==null?0:rt(y);return D<0&&(D=mn(S+D,0)),Zl(a,f,D)}function cR(a){var f=a==null?0:a.length;return f?Br(a,0,-1):[]}var uR=at(function(a){var f=Yt(a,up);return f.length&&f[0]===a[0]?ep(f):[]}),dR=at(function(a){var f=Fr(a),y=Yt(a,up);return f===Fr(y)?f=e:y.pop(),y.length&&y[0]===a[0]?ep(y,We(f,2)):[]}),fR=at(function(a){var f=Fr(a),y=Yt(a,up);return f=typeof f=="function"?f:e,f&&y.pop(),y.length&&y[0]===a[0]?ep(y,e,f):[]});function hR(a,f){return a==null?"":cL.call(a,f)}function Fr(a){var f=a==null?0:a.length;return f?a[f-1]:e}function gR(a,f,y){var S=a==null?0:a.length;if(!S)return-1;var D=S;return y!==e&&(D=rt(y),D=D<0?mn(S+D,0):Kn(D,S-1)),f===f?GD(a,f,D):ld(a,hC,D,!0)}function pR(a,f){return a&&a.length?HC(a,rt(f)):e}var mR=at(Ov);function Ov(a,f){return a&&a.length&&f&&f.length?ip(a,f):a}function AR(a,f,y){return a&&a.length&&f&&f.length?ip(a,f,We(y,2)):a}function yR(a,f,y){return a&&a.length&&f&&f.length?ip(a,f,e,y):a}var bR=to(function(a,f){var y=a==null?0:a.length,S=Qg(a,f);return GC(a,Yt(f,function(D){return no(D,y)?+D:D}).sort(rv)),S});function wR(a,f){var y=[];if(!(a&&a.length))return y;var S=-1,D=[],P=a.length;for(f=We(f,3);++S<P;){var z=a[S];f(z,S,a)&&(y.push(z),D.push(S))}return GC(a,D),y}function Sp(a){return a==null?a:hL.call(a)}function CR(a,f,y){var S=a==null?0:a.length;return S?(y&&typeof y!="number"&&qn(a,f,y)?(f=0,y=S):(f=f==null?0:rt(f),y=y===e?S:rt(y)),Br(a,f,y)):[]}function vR(a,f){return Td(a,f)}function xR(a,f,y){return lp(a,f,We(y,2))}function SR(a,f){var y=a==null?0:a.length;if(y){var S=Td(a,f);if(S<y&&ii(a[S],f))return S}return-1}function ER(a,f){return Td(a,f,!0)}function kR(a,f,y){return lp(a,f,We(y,2),!0)}function TR(a,f){var y=a==null?0:a.length;if(y){var S=Td(a,f,!0)-1;if(ii(a[S],f))return S}return-1}function _R(a){return a&&a.length?VC(a):[]}function NR(a,f){return a&&a.length?VC(a,We(f,2)):[]}function IR(a){var f=a==null?0:a.length;return f?Br(a,1,f):[]}function MR(a,f,y){return a&&a.length?(f=y||f===e?1:rt(f),Br(a,0,f<0?0:f)):[]}function DR(a,f,y){var S=a==null?0:a.length;return S?(f=y||f===e?1:rt(f),f=S-f,Br(a,f<0?0:f,S)):[]}function LR(a,f){return a&&a.length?_d(a,We(f,3),!1,!0):[]}function OR(a,f){return a&&a.length?_d(a,We(f,3)):[]}var RR=at(function(a){return Qo(Bn(a,1,tn,!0))}),PR=at(function(a){var f=Fr(a);return tn(f)&&(f=e),Qo(Bn(a,1,tn,!0),We(f,2))}),BR=at(function(a){var f=Fr(a);return f=typeof f=="function"?f:e,Qo(Bn(a,1,tn,!0),e,f)});function FR(a){return a&&a.length?Qo(a):[]}function jR(a,f){return a&&a.length?Qo(a,We(f,2)):[]}function zR(a,f){return f=typeof f=="function"?f:e,a&&a.length?Qo(a,e,f):[]}function Ep(a){if(!(a&&a.length))return[];var f=0;return a=Yo(a,function(y){if(tn(y))return f=mn(y.length,f),!0}),Kg(f,function(y){return Yt(a,jg(y))})}function Rv(a,f){if(!(a&&a.length))return[];var y=Ep(a);return f==null?y:Yt(y,function(S){return br(f,e,S)})}var UR=at(function(a,f){return tn(a)?wc(a,f):[]}),KR=at(function(a){return cp(Yo(a,tn))}),WR=at(function(a){var f=Fr(a);return tn(f)&&(f=e),cp(Yo(a,tn),We(f,2))}),HR=at(function(a){var f=Fr(a);return f=typeof f=="function"?f:e,cp(Yo(a,tn),e,f)}),YR=at(Ep);function ZR(a,f){return $C(a||[],f||[],bc)}function GR(a,f){return $C(a||[],f||[],xc)}var JR=at(function(a){var f=a.length,y=f>1?a[f-1]:e;return y=typeof y=="function"?(a.pop(),y):e,Rv(a,y)});function Pv(a){var f=O(a);return f.__chain__=!0,f}function VR(a,f){return f(a),a}function Bd(a,f){return f(a)}var QR=to(function(a){var f=a.length,y=f?a[0]:0,S=this.__wrapped__,D=function(P){return Qg(P,a)};return f>1||this.__actions__.length||!(S instanceof gt)||!no(y)?this.thru(D):(S=S.slice(y,+y+(f?1:0)),S.__actions__.push({func:Bd,args:[D],thisArg:e}),new Rr(S,this.__chain__).thru(function(P){return f&&!P.length&&P.push(e),P}))});function XR(){return Pv(this)}function qR(){return new Rr(this.value(),this.__chain__)}function $R(){this.__values__===e&&(this.__values__=Qv(this.value()));var a=this.__index__>=this.__values__.length,f=a?e:this.__values__[this.__index__++];return{done:a,value:f}}function e2(){return this}function t2(a){for(var f,y=this;y instanceof vd;){var S=Nv(y);S.__index__=0,S.__values__=e,f?D.__wrapped__=S:f=S;var D=S;y=y.__wrapped__}return D.__wrapped__=a,f}function n2(){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:Bd,args:[Sp],thisArg:e}),new Rr(f,this.__chain__)}return this.thru(Sp)}function r2(){return qC(this.__wrapped__,this.__actions__)}var i2=Nd(function(a,f,y){Tt.call(a,y)?++a[y]:$i(a,y,1)});function o2(a,f,y){var S=Xe(a)?dC:VL;return y&&qn(a,f,y)&&(f=e),S(a,We(f,3))}function s2(a,f){var y=Xe(a)?Yo:RC;return y(a,We(f,3))}var l2=cv(Iv),a2=cv(Mv);function c2(a,f){return Bn(Fd(a,f),1)}function u2(a,f){return Bn(Fd(a,f),fe)}function d2(a,f,y){return y=y===e?1:rt(y),Bn(Fd(a,f),y)}function Bv(a,f){var y=Xe(a)?Lr:Vo;return y(a,We(f,3))}function Fv(a,f){var y=Xe(a)?ID:OC;return y(a,We(f,3))}var f2=Nd(function(a,f,y){Tt.call(a,y)?a[y].push(f):$i(a,y,[f])});function h2(a,f,y,S){a=ar(a)?a:ia(a),y=y&&!S?rt(y):0;var D=a.length;return y<0&&(y=mn(D+y,0)),Wd(a)?y<=D&&a.indexOf(f,y)>-1:!!D&&Zl(a,f,y)>-1}var g2=at(function(a,f,y){var S=-1,D=typeof f=="function",P=ar(a)?se(a.length):[];return Vo(a,function(z){P[++S]=D?br(f,z,y):Cc(z,f,y)}),P}),p2=Nd(function(a,f,y){$i(a,y,f)});function Fd(a,f){var y=Xe(a)?Yt:UC;return y(a,We(f,3))}function m2(a,f,y,S){return a==null?[]:(Xe(f)||(f=f==null?[]:[f]),y=S?e:y,Xe(y)||(y=y==null?[]:[y]),YC(a,f,y))}var A2=Nd(function(a,f,y){a[y?0:1].push(f)},function(){return[[],[]]});function y2(a,f,y){var S=Xe(a)?Bg:pC,D=arguments.length<3;return S(a,We(f,4),y,D,Vo)}function b2(a,f,y){var S=Xe(a)?MD:pC,D=arguments.length<3;return S(a,We(f,4),y,D,OC)}function w2(a,f){var y=Xe(a)?Yo:RC;return y(a,Ud(We(f,3)))}function C2(a){var f=Xe(a)?IC:hO;return f(a)}function v2(a,f,y){(y?qn(a,f,y):f===e)?f=1:f=rt(f);var S=Xe(a)?HL:gO;return S(a,f)}function x2(a){var f=Xe(a)?YL:mO;return f(a)}function S2(a){if(a==null)return 0;if(ar(a))return Wd(a)?Jl(a):a.length;var f=Wn(a);return f==we||f==Ht?a.size:np(a).length}function E2(a,f,y){var S=Xe(a)?Fg:AO;return y&&qn(a,f,y)&&(f=e),S(a,We(f,3))}var k2=at(function(a,f){if(a==null)return[];var y=f.length;return y>1&&qn(a,f[0],f[1])?f=[]:y>2&&qn(f[0],f[1],f[2])&&(f=[f[0]]),YC(a,Bn(f,1),[])}),jd=sL||function(){return Pn.Date.now()};function T2(a,f){if(typeof f!="function")throw new Or(s);return a=rt(a),function(){if(--a<1)return f.apply(this,arguments)}}function jv(a,f,y){return f=y?e:f,f=a&&f==null?a.length:f,eo(a,_,e,e,e,e,f)}function zv(a,f){var y;if(typeof f!="function")throw new Or(s);return a=rt(a),function(){return--a>0&&(y=f.apply(this,arguments)),a<=1&&(f=e),y}}var kp=at(function(a,f,y){var S=w;if(y.length){var D=Go(y,na(kp));S|=T}return eo(a,S,f,y,D)}),Uv=at(function(a,f,y){var S=w|v;if(y.length){var D=Go(y,na(Uv));S|=T}return eo(f,S,a,y,D)});function Kv(a,f,y){f=y?e:f;var S=eo(a,x,e,e,e,e,e,f);return S.placeholder=Kv.placeholder,S}function Wv(a,f,y){f=y?e:f;var S=eo(a,N,e,e,e,e,e,f);return S.placeholder=Wv.placeholder,S}function Hv(a,f,y){var S,D,P,z,W,$,he=0,ge=!1,ye=!1,ke=!0;if(typeof a!="function")throw new Or(s);f=jr(f)||0,Gt(y)&&(ge=!!y.leading,ye="maxWait"in y,P=ye?mn(jr(y.maxWait)||0,f):P,ke="trailing"in y?!!y.trailing:ke);function Pe(nn){var oi=S,oo=D;return S=D=e,he=nn,z=a.apply(oo,oi),z}function He(nn){return he=nn,W=kc(ft,f),ge?Pe(nn):z}function it(nn){var oi=nn-$,oo=nn-he,c0=f-oi;return ye?Kn(c0,P-oo):c0}function Ye(nn){var oi=nn-$,oo=nn-he;return $===e||oi>=f||oi<0||ye&&oo>=P}function ft(){var nn=jd();if(Ye(nn))return mt(nn);W=kc(ft,it(nn))}function mt(nn){return W=e,ke&&S?Pe(nn):(S=D=e,z)}function xr(){W!==e&&ev(W),he=0,S=$=D=W=e}function $n(){return W===e?z:mt(jd())}function Sr(){var nn=jd(),oi=Ye(nn);if(S=arguments,D=this,$=nn,oi){if(W===e)return He($);if(ye)return ev(W),W=kc(ft,f),Pe($)}return W===e&&(W=kc(ft,f)),z}return Sr.cancel=xr,Sr.flush=$n,Sr}var _2=at(function(a,f){return LC(a,1,f)}),N2=at(function(a,f,y){return LC(a,jr(f)||0,y)});function I2(a){return eo(a,I)}function zd(a,f){if(typeof a!="function"||f!=null&&typeof f!="function")throw new Or(s);var y=function(){var S=arguments,D=f?f.apply(this,S):S[0],P=y.cache;if(P.has(D))return P.get(D);var z=a.apply(this,S);return y.cache=P.set(D,z)||P,z};return y.cache=new(zd.Cache||qi),y}zd.Cache=qi;function Ud(a){if(typeof a!="function")throw new Or(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 M2(a){return zv(2,a)}var D2=yO(function(a,f){f=f.length==1&&Xe(f[0])?Yt(f[0],wr(We())):Yt(Bn(f,1),wr(We()));var y=f.length;return at(function(S){for(var D=-1,P=Kn(S.length,y);++D<P;)S[D]=f[D].call(this,S[D]);return br(a,this,S)})}),Tp=at(function(a,f){var y=Go(f,na(Tp));return eo(a,T,e,f,y)}),Yv=at(function(a,f){var y=Go(f,na(Yv));return eo(a,k,e,f,y)}),L2=to(function(a,f){return eo(a,M,e,e,e,f)});function O2(a,f){if(typeof a!="function")throw new Or(s);return f=f===e?f:rt(f),at(a,f)}function R2(a,f){if(typeof a!="function")throw new Or(s);return f=f==null?0:mn(rt(f),0),at(function(y){var S=y[f],D=qo(y,0,f);return S&&Zo(D,S),br(a,this,D)})}function P2(a,f,y){var S=!0,D=!0;if(typeof a!="function")throw new Or(s);return Gt(y)&&(S="leading"in y?!!y.leading:S,D="trailing"in y?!!y.trailing:D),Hv(a,f,{leading:S,maxWait:f,trailing:D})}function B2(a){return jv(a,1)}function F2(a,f){return Tp(dp(f),a)}function j2(){if(!arguments.length)return[];var a=arguments[0];return Xe(a)?a:[a]}function z2(a){return Pr(a,p)}function U2(a,f){return f=typeof f=="function"?f:e,Pr(a,p,f)}function K2(a){return Pr(a,h|p)}function W2(a,f){return f=typeof f=="function"?f:e,Pr(a,h|p,f)}function H2(a,f){return f==null||DC(a,f,xn(f))}function ii(a,f){return a===f||a!==a&&f!==f}var Y2=Ld($g),Z2=Ld(function(a,f){return a>=f}),js=FC((function(){return arguments})())?FC:function(a){return qt(a)&&Tt.call(a,"callee")&&!SC.call(a,"callee")},Xe=se.isArray,G2=oC?wr(oC):tO;function ar(a){return a!=null&&Kd(a.length)&&!ro(a)}function tn(a){return qt(a)&&ar(a)}function J2(a){return a===!0||a===!1||qt(a)&&Xn(a)==ne}var $o=aL||Fp,V2=sC?wr(sC):nO;function Q2(a){return qt(a)&&a.nodeType===1&&!Tc(a)}function X2(a){if(a==null)return!0;if(ar(a)&&(Xe(a)||typeof a=="string"||typeof a.splice=="function"||$o(a)||ra(a)||js(a)))return!a.length;var f=Wn(a);if(f==we||f==Ht)return!a.size;if(Ec(a))return!np(a).length;for(var y in a)if(Tt.call(a,y))return!1;return!0}function q2(a,f){return vc(a,f)}function $2(a,f,y){y=typeof y=="function"?y:e;var S=y?y(a,f):e;return S===e?vc(a,f,e,y):!!S}function _p(a){if(!qt(a))return!1;var f=Xn(a);return f==pe||f==oe||typeof a.message=="string"&&typeof a.name=="string"&&!Tc(a)}function eP(a){return typeof a=="number"&&kC(a)}function ro(a){if(!Gt(a))return!1;var f=Xn(a);return f==Ee||f==Ce||f==q||f==ut}function Zv(a){return typeof a=="number"&&a==rt(a)}function Kd(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ie}function Gt(a){var f=typeof a;return a!=null&&(f=="object"||f=="function")}function qt(a){return a!=null&&typeof a=="object"}var Gv=lC?wr(lC):iO;function tP(a,f){return a===f||tp(a,f,yp(f))}function nP(a,f,y){return y=typeof y=="function"?y:e,tp(a,f,yp(f),y)}function rP(a){return Jv(a)&&a!=+a}function iP(a){if(UO(a))throw new Ge(o);return jC(a)}function oP(a){return a===null}function sP(a){return a==null}function Jv(a){return typeof a=="number"||qt(a)&&Xn(a)==Ue}function Tc(a){if(!qt(a)||Xn(a)!=Ie)return!1;var f=pd(a);if(f===null)return!0;var y=Tt.call(f,"constructor")&&f.constructor;return typeof y=="function"&&y instanceof y&&dd.call(y)==nL}var Np=aC?wr(aC):oO;function lP(a){return Zv(a)&&a>=-ie&&a<=ie}var Vv=cC?wr(cC):sO;function Wd(a){return typeof a=="string"||!Xe(a)&&qt(a)&&Xn(a)==vn}function vr(a){return typeof a=="symbol"||qt(a)&&Xn(a)==Fe}var ra=uC?wr(uC):lO;function aP(a){return a===e}function cP(a){return qt(a)&&Wn(a)==dt}function uP(a){return qt(a)&&Xn(a)==kt}var dP=Ld(rp),fP=Ld(function(a,f){return a<=f});function Qv(a){if(!a)return[];if(ar(a))return Wd(a)?ni(a):lr(a);if(gc&&a[gc])return HD(a[gc]());var f=Wn(a),y=f==we?Hg:f==Ht?ad:ia;return y(a)}function io(a){if(!a)return a===0?a:0;if(a=jr(a),a===fe||a===-fe){var f=a<0?-1:1;return f*V}return a===a?a:0}function rt(a){var f=io(a),y=f%1;return f===f?y?f-y:f:0}function Xv(a){return a?Rs(rt(a),0,J):0}function jr(a){if(typeof a=="number")return a;if(vr(a))return re;if(Gt(a)){var f=typeof a.valueOf=="function"?a.valueOf():a;a=Gt(f)?f+"":f}if(typeof a!="string")return a===0?a:+a;a=mC(a);var y=GM.test(a);return y||VM.test(a)?TD(a.slice(2),y?2:8):ZM.test(a)?re:+a}function qv(a){return bi(a,cr(a))}function hP(a){return a?Rs(rt(a),-ie,ie):a===0?a:0}function xt(a){return a==null?"":Cr(a)}var gP=ea(function(a,f){if(Ec(f)||ar(f)){bi(f,xn(f),a);return}for(var y in f)Tt.call(f,y)&&bc(a,y,f[y])}),$v=ea(function(a,f){bi(f,cr(f),a)}),Hd=ea(function(a,f,y,S){bi(f,cr(f),a,S)}),pP=ea(function(a,f,y,S){bi(f,xn(f),a,S)}),mP=to(Qg);function AP(a,f){var y=$l(a);return f==null?y:MC(y,f)}var yP=at(function(a,f){a=Ot(a);var y=-1,S=f.length,D=S>2?f[2]:e;for(D&&qn(f[0],f[1],D)&&(S=1);++y<S;)for(var P=f[y],z=cr(P),W=-1,$=z.length;++W<$;){var he=z[W],ge=a[he];(ge===e||ii(ge,Ql[he])&&!Tt.call(a,he))&&(a[he]=P[he])}return a}),bP=at(function(a){return a.push(e,mv),br(e0,e,a)});function wP(a,f){return fC(a,We(f,3),yi)}function CP(a,f){return fC(a,We(f,3),qg)}function vP(a,f){return a==null?a:Xg(a,We(f,3),cr)}function xP(a,f){return a==null?a:PC(a,We(f,3),cr)}function SP(a,f){return a&&yi(a,We(f,3))}function EP(a,f){return a&&qg(a,We(f,3))}function kP(a){return a==null?[]:Ed(a,xn(a))}function TP(a){return a==null?[]:Ed(a,cr(a))}function Ip(a,f,y){var S=a==null?e:Ps(a,f);return S===e?y:S}function _P(a,f){return a!=null&&bv(a,f,XL)}function Mp(a,f){return a!=null&&bv(a,f,qL)}var NP=dv(function(a,f,y){f!=null&&typeof f.toString!="function"&&(f=fd.call(f)),a[f]=y},Lp(ur)),IP=dv(function(a,f,y){f!=null&&typeof f.toString!="function"&&(f=fd.call(f)),Tt.call(a,f)?a[f].push(y):a[f]=[y]},We),MP=at(Cc);function xn(a){return ar(a)?NC(a):np(a)}function cr(a){return ar(a)?NC(a,!0):aO(a)}function DP(a,f){var y={};return f=We(f,3),yi(a,function(S,D,P){$i(y,f(S,D,P),S)}),y}function LP(a,f){var y={};return f=We(f,3),yi(a,function(S,D,P){$i(y,D,f(S,D,P))}),y}var OP=ea(function(a,f,y){kd(a,f,y)}),e0=ea(function(a,f,y,S){kd(a,f,y,S)}),RP=to(function(a,f){var y={};if(a==null)return y;var S=!1;f=Yt(f,function(P){return P=Xo(P,a),S||(S=P.length>1),P}),bi(a,mp(a),y),S&&(y=Pr(y,h|g|p,NO));for(var D=f.length;D--;)ap(y,f[D]);return y});function PP(a,f){return t0(a,Ud(We(f)))}var BP=to(function(a,f){return a==null?{}:uO(a,f)});function t0(a,f){if(a==null)return{};var y=Yt(mp(a),function(S){return[S]});return f=We(f),ZC(a,y,function(S,D){return f(S,D[0])})}function FP(a,f,y){f=Xo(f,a);var S=-1,D=f.length;for(D||(D=1,a=e);++S<D;){var P=a==null?e:a[wi(f[S])];P===e&&(S=D,P=y),a=ro(P)?P.call(a):P}return a}function jP(a,f,y){return a==null?a:xc(a,f,y)}function zP(a,f,y,S){return S=typeof S=="function"?S:e,a==null?a:xc(a,f,y,S)}var n0=gv(xn),r0=gv(cr);function UP(a,f,y){var S=Xe(a),D=S||$o(a)||ra(a);if(f=We(f,4),y==null){var P=a&&a.constructor;D?y=S?new P:[]:Gt(a)?y=ro(P)?$l(pd(a)):{}:y={}}return(D?Lr:yi)(a,function(z,W,$){return f(y,z,W,$)}),y}function KP(a,f){return a==null?!0:ap(a,f)}function WP(a,f,y){return a==null?a:XC(a,f,dp(y))}function HP(a,f,y,S){return S=typeof S=="function"?S:e,a==null?a:XC(a,f,dp(y),S)}function ia(a){return a==null?[]:Wg(a,xn(a))}function YP(a){return a==null?[]:Wg(a,cr(a))}function ZP(a,f,y){return y===e&&(y=f,f=e),y!==e&&(y=jr(y),y=y===y?y:0),f!==e&&(f=jr(f),f=f===f?f:0),Rs(jr(a),f,y)}function GP(a,f,y){return f=io(f),y===e?(y=f,f=0):y=io(y),a=jr(a),$L(a,f,y)}function JP(a,f,y){if(y&&typeof y!="boolean"&&qn(a,f,y)&&(f=y=e),y===e&&(typeof f=="boolean"?(y=f,f=e):typeof a=="boolean"&&(y=a,a=e)),a===e&&f===e?(a=0,f=1):(a=io(a),f===e?(f=a,a=0):f=io(f)),a>f){var S=a;a=f,f=S}if(y||a%1||f%1){var D=TC();return Kn(a+D*(f-a+kD("1e-"+((D+"").length-1))),f)}return op(a,f)}var VP=ta(function(a,f,y){return f=f.toLowerCase(),a+(y?i0(f):f)});function i0(a){return Dp(xt(a).toLowerCase())}function o0(a){return a=xt(a),a&&a.replace(XM,jD).replace(mD,"")}function QP(a,f,y){a=xt(a),f=Cr(f);var S=a.length;y=y===e?S:Rs(rt(y),0,S);var D=y;return y-=f.length,y>=0&&a.slice(y,D)==f}function XP(a){return a=xt(a),a&&MM.test(a)?a.replace(Pw,zD):a}function qP(a){return a=xt(a),a&&BM.test(a)?a.replace(Tg,"\\$&"):a}var $P=ta(function(a,f,y){return a+(y?"-":"")+f.toLowerCase()}),eB=ta(function(a,f,y){return a+(y?" ":"")+f.toLowerCase()}),tB=av("toLowerCase");function nB(a,f,y){a=xt(a),f=rt(f);var S=f?Jl(a):0;if(!f||S>=f)return a;var D=(f-S)/2;return Dd(bd(D),y)+a+Dd(yd(D),y)}function rB(a,f,y){a=xt(a),f=rt(f);var S=f?Jl(a):0;return f&&S<f?a+Dd(f-S,y):a}function iB(a,f,y){a=xt(a),f=rt(f);var S=f?Jl(a):0;return f&&S<f?Dd(f-S,y)+a:a}function oB(a,f,y){return y||f==null?f=0:f&&(f=+f),fL(xt(a).replace(_g,""),f||0)}function sB(a,f,y){return(y?qn(a,f,y):f===e)?f=1:f=rt(f),sp(xt(a),f)}function lB(){var a=arguments,f=xt(a[0]);return a.length<3?f:f.replace(a[1],a[2])}var aB=ta(function(a,f,y){return a+(y?"_":"")+f.toLowerCase()});function cB(a,f,y){return y&&typeof y!="number"&&qn(a,f,y)&&(f=y=e),y=y===e?J:y>>>0,y?(a=xt(a),a&&(typeof f=="string"||f!=null&&!Np(f))&&(f=Cr(f),!f&&Gl(a))?qo(ni(a),0,y):a.split(f,y)):[]}var uB=ta(function(a,f,y){return a+(y?" ":"")+Dp(f)});function dB(a,f,y){return a=xt(a),y=y==null?0:Rs(rt(y),0,a.length),f=Cr(f),a.slice(y,y+f.length)==f}function fB(a,f,y){var S=O.templateSettings;y&&qn(a,f,y)&&(f=e),a=xt(a),f=Hd({},f,S,pv);var D=Hd({},f.imports,S.imports,pv),P=xn(D),z=Wg(D,P),W,$,he=0,ge=f.interpolate||rd,ye="__p += '",ke=Yg((f.escape||rd).source+"|"+ge.source+"|"+(ge===Bw?YM:rd).source+"|"+(f.evaluate||rd).source+"|$","g"),Pe="//# sourceURL="+(Tt.call(f,"sourceURL")?(f.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++CD+"]")+`
73
+ `;a.replace(ke,function(Ye,ft,mt,xr,$n,Sr){return mt||(mt=xr),ye+=a.slice(he,Sr).replace(qM,UD),ft&&(W=!0,ye+=`' +
74
+ __e(`+ft+`) +
75
+ '`),$n&&($=!0,ye+=`';
76
+ `+$n+`;
77
+ __p += '`),mt&&(ye+=`' +
78
+ ((__t = (`+mt+`)) == null ? '' : __t) +
79
+ '`),he=Sr+Ye.length,Ye}),ye+=`';
80
+ `;var He=Tt.call(f,"variable")&&f.variable;if(!He)ye=`with (obj) {
81
+ `+ye+`
82
+ }
83
+ `;else if(WM.test(He))throw new Ge(l);ye=($?ye.replace(TM,""):ye).replace(_M,"$1").replace(NM,"$1;"),ye="function("+(He||"obj")+`) {
84
+ `+(He?"":`obj || (obj = {});
85
+ `)+"var __t, __p = ''"+(W?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
86
+ function print() { __p += __j.call(arguments, '') }
87
+ `:`;
88
+ `)+ye+`return __p
89
+ }`;var it=l0(function(){return Ct(P,Pe+"return "+ye).apply(e,z)});if(it.source=ye,_p(it))throw it;return it}function hB(a){return xt(a).toLowerCase()}function gB(a){return xt(a).toUpperCase()}function pB(a,f,y){if(a=xt(a),a&&(y||f===e))return mC(a);if(!a||!(f=Cr(f)))return a;var S=ni(a),D=ni(f),P=AC(S,D),z=yC(S,D)+1;return qo(S,P,z).join("")}function mB(a,f,y){if(a=xt(a),a&&(y||f===e))return a.slice(0,wC(a)+1);if(!a||!(f=Cr(f)))return a;var S=ni(a),D=yC(S,ni(f))+1;return qo(S,0,D).join("")}function AB(a,f,y){if(a=xt(a),a&&(y||f===e))return a.replace(_g,"");if(!a||!(f=Cr(f)))return a;var S=ni(a),D=AC(S,ni(f));return qo(S,D).join("")}function yB(a,f){var y=R,S=B;if(Gt(f)){var D="separator"in f?f.separator:D;y="length"in f?rt(f.length):y,S="omission"in f?Cr(f.omission):S}a=xt(a);var P=a.length;if(Gl(a)){var z=ni(a);P=z.length}if(y>=P)return a;var W=y-Jl(S);if(W<1)return S;var $=z?qo(z,0,W).join(""):a.slice(0,W);if(D===e)return $+S;if(z&&(W+=$.length-W),Np(D)){if(a.slice(W).search(D)){var he,ge=$;for(D.global||(D=Yg(D.source,xt(Fw.exec(D))+"g")),D.lastIndex=0;he=D.exec(ge);)var ye=he.index;$=$.slice(0,ye===e?W:ye)}}else if(a.indexOf(Cr(D),W)!=W){var ke=$.lastIndexOf(D);ke>-1&&($=$.slice(0,ke))}return $+S}function bB(a){return a=xt(a),a&&IM.test(a)?a.replace(Rw,JD):a}var wB=ta(function(a,f,y){return a+(y?" ":"")+f.toUpperCase()}),Dp=av("toUpperCase");function s0(a,f,y){return a=xt(a),f=y?e:f,f===e?WD(a)?XD(a):OD(a):a.match(f)||[]}var l0=at(function(a,f){try{return br(a,e,f)}catch(y){return _p(y)?y:new Ge(y)}}),CB=to(function(a,f){return Lr(f,function(y){y=wi(y),$i(a,y,kp(a[y],a))}),a});function vB(a){var f=a==null?0:a.length,y=We();return a=f?Yt(a,function(S){if(typeof S[1]!="function")throw new Or(s);return[y(S[0]),S[1]]}):[],at(function(S){for(var D=-1;++D<f;){var P=a[D];if(br(P[0],this,S))return br(P[1],this,S)}})}function xB(a){return JL(Pr(a,h))}function Lp(a){return function(){return a}}function SB(a,f){return a==null||a!==a?f:a}var EB=uv(),kB=uv(!0);function ur(a){return a}function Op(a){return zC(typeof a=="function"?a:Pr(a,h))}function TB(a){return KC(Pr(a,h))}function _B(a,f){return WC(a,Pr(f,h))}var NB=at(function(a,f){return function(y){return Cc(y,a,f)}}),IB=at(function(a,f){return function(y){return Cc(a,y,f)}});function Rp(a,f,y){var S=xn(f),D=Ed(f,S);y==null&&!(Gt(f)&&(D.length||!S.length))&&(y=f,f=a,a=this,D=Ed(f,xn(f)));var P=!(Gt(y)&&"chain"in y)||!!y.chain,z=ro(a);return Lr(D,function(W){var $=f[W];a[W]=$,z&&(a.prototype[W]=function(){var he=this.__chain__;if(P||he){var ge=a(this.__wrapped__),ye=ge.__actions__=lr(this.__actions__);return ye.push({func:$,args:arguments,thisArg:a}),ge.__chain__=he,ge}return $.apply(a,Zo([this.value()],arguments))})}),a}function MB(){return Pn._===this&&(Pn._=rL),this}function Pp(){}function DB(a){return a=rt(a),at(function(f){return HC(f,a)})}var LB=hp(Yt),OB=hp(dC),RB=hp(Fg);function a0(a){return wp(a)?jg(wi(a)):dO(a)}function PB(a){return function(f){return a==null?e:Ps(a,f)}}var BB=fv(),FB=fv(!0);function Bp(){return[]}function Fp(){return!1}function jB(){return{}}function zB(){return""}function UB(){return!0}function KB(a,f){if(a=rt(a),a<1||a>ie)return[];var y=J,S=Kn(a,J);f=We(f),a-=J;for(var D=Kg(S,f);++y<a;)f(y);return D}function WB(a){return Xe(a)?Yt(a,wi):vr(a)?[a]:lr(_v(xt(a)))}function HB(a){var f=++tL;return xt(a)+f}var YB=Md(function(a,f){return a+f},0),ZB=gp("ceil"),GB=Md(function(a,f){return a/f},1),JB=gp("floor");function VB(a){return a&&a.length?Sd(a,ur,$g):e}function QB(a,f){return a&&a.length?Sd(a,We(f,2),$g):e}function XB(a){return gC(a,ur)}function qB(a,f){return gC(a,We(f,2))}function $B(a){return a&&a.length?Sd(a,ur,rp):e}function eF(a,f){return a&&a.length?Sd(a,We(f,2),rp):e}var tF=Md(function(a,f){return a*f},1),nF=gp("round"),rF=Md(function(a,f){return a-f},0);function iF(a){return a&&a.length?Ug(a,ur):0}function oF(a,f){return a&&a.length?Ug(a,We(f,2)):0}return O.after=T2,O.ary=jv,O.assign=gP,O.assignIn=$v,O.assignInWith=Hd,O.assignWith=pP,O.at=mP,O.before=zv,O.bind=kp,O.bindAll=CB,O.bindKey=Uv,O.castArray=j2,O.chain=Pv,O.chunk=JO,O.compact=VO,O.concat=QO,O.cond=vB,O.conforms=xB,O.constant=Lp,O.countBy=i2,O.create=AP,O.curry=Kv,O.curryRight=Wv,O.debounce=Hv,O.defaults=yP,O.defaultsDeep=bP,O.defer=_2,O.delay=N2,O.difference=XO,O.differenceBy=qO,O.differenceWith=$O,O.drop=eR,O.dropRight=tR,O.dropRightWhile=nR,O.dropWhile=rR,O.fill=iR,O.filter=s2,O.flatMap=c2,O.flatMapDeep=u2,O.flatMapDepth=d2,O.flatten=Dv,O.flattenDeep=oR,O.flattenDepth=sR,O.flip=I2,O.flow=EB,O.flowRight=kB,O.fromPairs=lR,O.functions=kP,O.functionsIn=TP,O.groupBy=f2,O.initial=cR,O.intersection=uR,O.intersectionBy=dR,O.intersectionWith=fR,O.invert=NP,O.invertBy=IP,O.invokeMap=g2,O.iteratee=Op,O.keyBy=p2,O.keys=xn,O.keysIn=cr,O.map=Fd,O.mapKeys=DP,O.mapValues=LP,O.matches=TB,O.matchesProperty=_B,O.memoize=zd,O.merge=OP,O.mergeWith=e0,O.method=NB,O.methodOf=IB,O.mixin=Rp,O.negate=Ud,O.nthArg=DB,O.omit=RP,O.omitBy=PP,O.once=M2,O.orderBy=m2,O.over=LB,O.overArgs=D2,O.overEvery=OB,O.overSome=RB,O.partial=Tp,O.partialRight=Yv,O.partition=A2,O.pick=BP,O.pickBy=t0,O.property=a0,O.propertyOf=PB,O.pull=mR,O.pullAll=Ov,O.pullAllBy=AR,O.pullAllWith=yR,O.pullAt=bR,O.range=BB,O.rangeRight=FB,O.rearg=L2,O.reject=w2,O.remove=wR,O.rest=O2,O.reverse=Sp,O.sampleSize=v2,O.set=jP,O.setWith=zP,O.shuffle=x2,O.slice=CR,O.sortBy=k2,O.sortedUniq=_R,O.sortedUniqBy=NR,O.split=cB,O.spread=R2,O.tail=IR,O.take=MR,O.takeRight=DR,O.takeRightWhile=LR,O.takeWhile=OR,O.tap=VR,O.throttle=P2,O.thru=Bd,O.toArray=Qv,O.toPairs=n0,O.toPairsIn=r0,O.toPath=WB,O.toPlainObject=qv,O.transform=UP,O.unary=B2,O.union=RR,O.unionBy=PR,O.unionWith=BR,O.uniq=FR,O.uniqBy=jR,O.uniqWith=zR,O.unset=KP,O.unzip=Ep,O.unzipWith=Rv,O.update=WP,O.updateWith=HP,O.values=ia,O.valuesIn=YP,O.without=UR,O.words=s0,O.wrap=F2,O.xor=KR,O.xorBy=WR,O.xorWith=HR,O.zip=YR,O.zipObject=ZR,O.zipObjectDeep=GR,O.zipWith=JR,O.entries=n0,O.entriesIn=r0,O.extend=$v,O.extendWith=Hd,Rp(O,O),O.add=YB,O.attempt=l0,O.camelCase=VP,O.capitalize=i0,O.ceil=ZB,O.clamp=ZP,O.clone=z2,O.cloneDeep=K2,O.cloneDeepWith=W2,O.cloneWith=U2,O.conformsTo=H2,O.deburr=o0,O.defaultTo=SB,O.divide=GB,O.endsWith=QP,O.eq=ii,O.escape=XP,O.escapeRegExp=qP,O.every=o2,O.find=l2,O.findIndex=Iv,O.findKey=wP,O.findLast=a2,O.findLastIndex=Mv,O.findLastKey=CP,O.floor=JB,O.forEach=Bv,O.forEachRight=Fv,O.forIn=vP,O.forInRight=xP,O.forOwn=SP,O.forOwnRight=EP,O.get=Ip,O.gt=Y2,O.gte=Z2,O.has=_P,O.hasIn=Mp,O.head=Lv,O.identity=ur,O.includes=h2,O.indexOf=aR,O.inRange=GP,O.invoke=MP,O.isArguments=js,O.isArray=Xe,O.isArrayBuffer=G2,O.isArrayLike=ar,O.isArrayLikeObject=tn,O.isBoolean=J2,O.isBuffer=$o,O.isDate=V2,O.isElement=Q2,O.isEmpty=X2,O.isEqual=q2,O.isEqualWith=$2,O.isError=_p,O.isFinite=eP,O.isFunction=ro,O.isInteger=Zv,O.isLength=Kd,O.isMap=Gv,O.isMatch=tP,O.isMatchWith=nP,O.isNaN=rP,O.isNative=iP,O.isNil=sP,O.isNull=oP,O.isNumber=Jv,O.isObject=Gt,O.isObjectLike=qt,O.isPlainObject=Tc,O.isRegExp=Np,O.isSafeInteger=lP,O.isSet=Vv,O.isString=Wd,O.isSymbol=vr,O.isTypedArray=ra,O.isUndefined=aP,O.isWeakMap=cP,O.isWeakSet=uP,O.join=hR,O.kebabCase=$P,O.last=Fr,O.lastIndexOf=gR,O.lowerCase=eB,O.lowerFirst=tB,O.lt=dP,O.lte=fP,O.max=VB,O.maxBy=QB,O.mean=XB,O.meanBy=qB,O.min=$B,O.minBy=eF,O.stubArray=Bp,O.stubFalse=Fp,O.stubObject=jB,O.stubString=zB,O.stubTrue=UB,O.multiply=tF,O.nth=pR,O.noConflict=MB,O.noop=Pp,O.now=jd,O.pad=nB,O.padEnd=rB,O.padStart=iB,O.parseInt=oB,O.random=JP,O.reduce=y2,O.reduceRight=b2,O.repeat=sB,O.replace=lB,O.result=FP,O.round=nF,O.runInContext=Q,O.sample=C2,O.size=S2,O.snakeCase=aB,O.some=E2,O.sortedIndex=vR,O.sortedIndexBy=xR,O.sortedIndexOf=SR,O.sortedLastIndex=ER,O.sortedLastIndexBy=kR,O.sortedLastIndexOf=TR,O.startCase=uB,O.startsWith=dB,O.subtract=rF,O.sum=iF,O.sumBy=oF,O.template=fB,O.times=KB,O.toFinite=io,O.toInteger=rt,O.toLength=Xv,O.toLower=hB,O.toNumber=jr,O.toSafeInteger=hP,O.toString=xt,O.toUpper=gB,O.trim=pB,O.trimEnd=mB,O.trimStart=AB,O.truncate=yB,O.unescape=bB,O.uniqueId=HB,O.upperCase=wB,O.upperFirst=Dp,O.each=Bv,O.eachRight=Fv,O.first=Lv,Rp(O,(function(){var a={};return yi(O,function(f,y){Tt.call(O.prototype,y)||(a[y]=f)}),a})(),{chain:!1}),O.VERSION=r,Lr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){O[a].placeholder=O}),Lr(["drop","take"],function(a,f){gt.prototype[a]=function(y){y=y===e?1:mn(rt(y),0);var S=this.__filtered__&&!f?new gt(this):this.clone();return S.__filtered__?S.__takeCount__=Kn(y,S.__takeCount__):S.__views__.push({size:Kn(y,J),type:a+(S.__dir__<0?"Right":"")}),S},gt.prototype[a+"Right"]=function(y){return this.reverse()[a](y).reverse()}}),Lr(["filter","map","takeWhile"],function(a,f){var y=f+1,S=y==K||y==ue;gt.prototype[a]=function(D){var P=this.clone();return P.__iteratees__.push({iteratee:We(D,3),type:y}),P.__filtered__=P.__filtered__||S,P}}),Lr(["head","last"],function(a,f){var y="take"+(f?"Right":"");gt.prototype[a]=function(){return this[y](1).value()[0]}}),Lr(["initial","tail"],function(a,f){var y="drop"+(f?"":"Right");gt.prototype[a]=function(){return this.__filtered__?new gt(this):this[y](1)}}),gt.prototype.compact=function(){return this.filter(ur)},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(y){return Cc(y,a,f)})}),gt.prototype.reject=function(a){return this.filter(Ud(We(a)))},gt.prototype.slice=function(a,f){a=rt(a);var y=this;return y.__filtered__&&(a>0||f<0)?new gt(y):(a<0?y=y.takeRight(-a):a&&(y=y.drop(a)),f!==e&&(f=rt(f),y=f<0?y.dropRight(-f):y.take(f-a)),y)},gt.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},gt.prototype.toArray=function(){return this.take(J)},yi(gt.prototype,function(a,f){var y=/^(?: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__,W=S?[1]:arguments,$=z instanceof gt,he=W[0],ge=$||Xe(z),ye=function(ft){var mt=D.apply(O,Zo([ft],W));return S&&ke?mt[0]:mt};ge&&y&&typeof he=="function"&&he.length!=1&&($=ge=!1);var ke=this.__chain__,Pe=!!this.__actions__.length,He=P&&!ke,it=$&&!Pe;if(!P&&ge){z=it?z:new gt(this);var Ye=a.apply(z,W);return Ye.__actions__.push({func:Bd,args:[ye],thisArg:e}),new Rr(Ye,ke)}return He&&it?a.apply(this,W):(Ye=this.thru(ye),He?S?Ye.value()[0]:Ye.value():Ye)})}),Lr(["pop","push","shift","sort","splice","unshift"],function(a){var f=cd[a],y=/^(?: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(Xe(P)?P:[],D)}return this[y](function(z){return f.apply(Xe(z)?z:[],D)})}}),yi(gt.prototype,function(a,f){var y=O[f];if(y){var S=y.name+"";Tt.call(ql,S)||(ql[S]=[]),ql[S].push({name:f,func:y})}}),ql[Id(e,v).name]=[{name:"wrapper",func:e}],gt.prototype.clone=bL,gt.prototype.reverse=wL,gt.prototype.value=CL,O.prototype.at=QR,O.prototype.chain=XR,O.prototype.commit=qR,O.prototype.next=$R,O.prototype.plant=t2,O.prototype.reverse=n2,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=r2,O.prototype.first=O.prototype.head,gc&&(O.prototype[gc]=e2),O}),Vl=qD();Ms?((Ms.exports=Vl)._=Vl,Og._=Vl):Pn._=Vl}).call(rZ)})(Uc,Uc.exports)),Uc.exports}var oZ=iZ();function sZ(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 lZ(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 aZ=oZ.throttle((n,t)=>{n.preventDefault(),lZ(n,t)},16);let gf=null;function cZ(n){return n?n.classList.contains("dsd__theme__table-scrollable-wrapper")?n.firstElementChild:n:null}function uZ(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(Lt),[g,p]=E.useState(!1),[m,b]=E.useState({opened:!1}),[w,v]=E.useState(""),[C,x]=E.useState(null),[N,T]=E.useState(!1),[k,_]=E.useState({left:!1,right:!1}),[M,I]=E.useState(null),{t:R}=pt.useTranslation(),B=gg(Z=>{const X=Z.target;s.current||hf(X)&&(H9(X)||n.read(()=>{var ne;const le=X.className.includes("content-editable-wrapper"),de=le?Re():Be(X),{htmlElement:me,lexicalNode:q}=oE(de,n,{root:!0,"layout-container":!0,"layout-item":!0,callout:!0,"collapsible-content":!0},Z);if((q==null?void 0:q.__type)==="callout"||(q==null?void 0:q.__type)==="callout-image"||((ne=q==null?void 0:q.getParent())==null?void 0:ne.__type)==="callout"&&(q==null?void 0:q.getPreviousSibling())===null){d(null);return}if(!(le&&q instanceof mi||le&&!q)&&q!=null&&q.__key){if(q.__type==="layout-container"||q.__type==="layout-item"||q.__type==="collapsible-content"){d(null);return}me&&(l.current.htmlElement=me,l.current.lexicalNode=q),(q==null?void 0:q.__type)==="collapsible-title"&&(l.current.htmlElement=(me==null?void 0:me.parentElement)||me,l.current.lexicalNode=q.getParent()),x(null),d(l.current.htmlElement)}}))},20,50);E.useEffect(()=>()=>{gf=null},[]),E.useEffect(()=>{function Z(){s.current||d(null)}function X(de){if(!o.current)return!1;const[me]=Ca(de);if(me)return!1;const{target:q,dataTransfer:ne}=de,Ae=(ne==null?void 0:ne.getData(RE))||"";n.update(()=>{var qe;let oe=Se(Ae);if(!oe||!(hf(q)||q.closest(".resizable-container")))return!1;const{htmlElement:pe,lexicalNode:Ee,isBottom:Ce}=l.current;let we=Ee,Ue=null;if(we!=null&&we.__key&&(Ue=pe),!Ue||!we)return!1;if(we===oe)return!0;if(i.current&&j9(i.current,n,we,oe))return!1;if(oe.__type==="layout-divider"){if(oe=oe.getParent(),Ee&&(oe!=null&&oe.isParentOf(Ee)))return!1;zI(n,oe)}if(oe.getParent()instanceof Mr&&((qe=oe.getParent())==null?void 0:qe.getChildren().length)===2){const ut=oe.getParent(),lt=ut.getParent();Ga(n,ut,lt)}if(pe!=null&&pe.classList.contains("selected-block"))return;let tt;const Ie=n._rootElement;Ce?tt=Array.from(Ie.querySelectorAll(".selected-block")).reverse():tt=Array.from(Ie.querySelectorAll(".selected-block")),tt.length?tt.forEach(ut=>{let lt=Be(ut);Ce?we==null||we.insertAfter(lt):we==null||we.insertBefore(lt)}):Ce?we.insertAfter(oe):we.insertBefore(oe),d(null)})}function le(de){const{target:me}=de;hf(me)&&me.className==="ContentEditable__root"&&zE(i.current)}return t==null||t.addEventListener("mousemove",B),t==null||t.addEventListener("drop",X),t==null||t.addEventListener("mouseleave",Z),t==null||t.addEventListener("dragleave",le),()=>{t==null||t.removeEventListener("mousemove",B),t==null||t.addEventListener("drop",X),t==null||t.removeEventListener("mouseleave",Z),t==null||t.removeEventListener("dragleave",le)}},[t,n]),E.useEffect(()=>{if(r.current){if(s.current||m.opened)return;FE(u,r.current,t,m.opened)}},[t,u,s.current,m.opened]),E.useEffect(()=>{function Z(X){var Ce,we;const{clientY:le,target:de,pageX:me}=X;if(!o.current)return!1;const[q]=Ca(X);if(q||!hf(de))return!1;const ne=Be(de)||Re(),{htmlElement:Ae,lexicalNode:oe}=oE(ne,n,{root:!0,"layout-container":!0,"layout-item":!0,"callout-wrapper":!0,callout:!0,"collapsible-content":!0,"collapsible-container":!0},X);if(X.preventDefault(),(oe==null?void 0:oe.__type)==="callout"||(oe==null?void 0:oe.__type)==="collapsible-content"||UI(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=(Ce=pe.parentElement)==null?void 0:Ce.parentElement,l.current.htmlElement=pe,l.current.lexicalNode=(we=oe.getParent())==null?void 0:we.getParent()));const Ee=i.current;return!pe&&Ee?(Ee.style.background="transparent",!1):pe===null||Ee===null||pe!=null&&pe.classList.contains("selected-block")?!1:(Z9(Ee,pe,le,me,t,X,l),!0)}return et(n.registerCommand(Eo,X=>X==="hide_menu"?(K9(r.current),setTimeout(()=>{s.current=!0},0),!1):X==="show_menu"?(s.current=!1,!1):(X===!0&&!s.current&&d(null),s.current=!1,!1),Ne),n.registerCommand(UN,X=>((X==null?void 0:X.target)instanceof HTMLElement&&r.current instanceof HTMLElement&&(ee(X),FE(X.target,r.current,t,m.opened)),!1),Ne),n.registerCommand(Ly,X=>(gf||(gf=sZ(X.target)),aZ(X,gf),Z(X)),Ne),n.registerCommand(ps,()=>(n.dispatchCommand(Eo,!0),!1),Ne),n.registerCommand(ji,()=>(n.dispatchCommand(Eo,!0),!1),Ne))},[t,n]);function U(Z){var q;const X=Z.dataTransfer;(q=i.current)==null||q.setAttribute("data-index-start","");const le=u||l.current.htmlElement;if(!X||!le)return;const de=n._rootElement;if(le!=null&&le.classList.contains("selected-block")){const ne=n._rootElement,Ae=Array.from(ne.querySelectorAll(".selected-block"));Y9(Z.dataTransfer,Ae)}else vm(de),le.className.includes("_layoutDivider")&&le.parentElement?jE(X,le.parentElement):jE(X,le);let me="";n.read(()=>{var Ae,oe;const ne=Be(le);if(ne&&(me=ne.getKey()),ne instanceof mi){const pe=Tu((Ae=le.parentElement)==null?void 0:Ae.parentElement,le.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,X.setData(RE,me)}function j(){o.current=!1,zE(i.current),p(!1)}if(h)return A.jsx("div",{});function K(){var le;const Z=l.current.htmlElement,X=(le=Z==null?void 0:Z.parentElement)==null?void 0:le.parentElement;if(X!=null&&X.classList.contains("dsd__theme__layoutContainer")&&(X.children.length===4?T(!0):T(!1),Z!=null&&Z.parentElement)){const de=Tu(X,Z==null?void 0:Z.parentElement);de?de===X.children.length-1?_({left:!1,right:!0}):_({left:!1,right:!1}):_({left:!0,right:!1})}}function ee(Z){s.current=!0;const X=cZ((Z==null?void 0:Z.target)??l.current.htmlElement);if(!X)return;const le=n._rootElement;K(),X.classList.contains("selected-block")||vm(le),n.update(()=>{const me=G(),ne=((me==null?void 0:me.getNodes())??[]).filter(Ce=>!ae(Ce)&&!Ve(Ce)&&Ce.__parent==="root"),Ae=ne.map(Ce=>{const we=n.getElementByKey(Ce.getKey());return Ce.getType()==="table"?we==null?void 0:we.firstElementChild:we}).filter(Ce=>Ce!==null),oe=ne.length&&Ae.includes(X)?Ae:[X];if(oe.length===1){const Ce=Be(X);if(!Ce)return;Ce.selectStart(),I(Ce)}else I(null);oe.forEach(Ce=>{Kb(n,{block:Ce,isCreateEventListener:!1})});const pe=Array.from(document.querySelectorAll(".selected-block")).reduce((Ce,we)=>{const Ue=Be(we);return Ue&&Ce.push(Ue),Ce},[]),Ee=pe.length>0&&pe.every(Ce=>Oo(Ce)||wt(Ce)||Nr(Ce)?!1:Y(Ce)||ae(Ce));v(Ee?"text":"block")}),qI();const de=Number(Z==null?void 0:Z.y)+240>window.innerHeight?Number(Z==null?void 0:Z.y)-200:Z==null?void 0:Z.y;b({opened:!0,x:(Z==null?void 0:Z.x)??0,y:de??0}),n.dispatchCommand(ZA,!0)}const ue=()=>{n.update(()=>{const Z=jt();if(s.current=!1,b(X=>({opened:!1,x:X.x,y:X.y})),(Z==null?void 0:Z.__key)==="root"){const X=_e();Z.append(X)}})},fe=e?"hide-add-button":"",ie=m.x!==0?{position:"fixed",top:0,left:0,transform:`translate(${m.x}px, ${m.y}px)`}:{},V=()=>{ue(),$I(),TN(n),vm(n._rootElement)},re=(Z=!1)=>{Z?n.update(()=>{const X=G();let le=null;H(X)&&(le=X.anchor.getNode().getParent()),V(),setTimeout(()=>{n.update(()=>{le==null||le.selectEnd()})},100)}):V()},J=E.useCallback(Z=>{const X=document.querySelector(".draggable-menu");if(!m&&Z.button!==2)return;const le=Z.target;if(le.closest(".mantine-Menu-dropdown"))return;!((X==null?void 0:X.contains(le))&&le.closest("div.custom-menu-item"))&&Z.button!==2&&m.opened&&(Z.stopPropagation(),Z.preventDefault())},[n,m]);return E.useEffect(()=>(m.opened?document.addEventListener("mousedown",J):document.removeEventListener("mousedown",J),()=>{document.removeEventListener("mousedown",J)}),[m.opened,J]),mr.createPortal(A.jsxs(A.Fragment,{children:[A.jsxs("div",{className:`draggable-block-container ${fe} ${u?"visible":""}`,ref:r,onMouseEnter:()=>{var Z;m||x("both"),(Z=r.current)!=null&&Z.style&&(r.current.style.opacity="1")},onMouseLeave:()=>{x(null)},children:[A.jsx(qY,{hoveredButton:C,insertNewParagraph:BE,currentDraggableBlockRef:l,setHoveredButton:x,isClickedBlockRef:s,setDraggableBlockElem:d,editor:n,t:R}),A.jsxs(L.Menu,{onOpen:ee,opened:m.opened,styles:{dropdown:ie},position:"left-start",width:320,shadow:"md",withinPortal:!0,onClose:()=>{re()},transitionProps:Vi,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(te.IconGripVertical,{size:20})})})})}),A.jsx(XY,{hoveredButton:C,insertNewParagraph:BE,currentDraggableBlockRef:l,setHoveredButton:x,isClickedBlockRef:s,setDraggableBlockElem:d,editor:n,t:R}),A.jsx(L.Menu.Dropdown,{className:"draggable-menu",children:A.jsx(nZ,{onChange:()=>{re(!0),Sa(n)},t:R,textBlock:w,currentEditorNode:M,editor:n,isDisabledAddColumnButton:N,disabledMoveColumnButtons:k})})]})]}),A.jsx("div",{className:"draggable-block-target-line",ref:i})]}),t)}function dZ({anchorElem:n=document.body,isShowAddButton:t=!1}){const[e]=De();return uZ(e,n,t)}const nM=/(^|\s):([a-z0-9_+-]+)$/i,fZ=/(^|\s)(:\)|:-\)|:d|:-d|;\)|;-\)|:\(|:-\(|:\*|<3)$/i,hZ=/(^|\s):$/,gZ=new Set(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","PageUp","PageDown","Escape","Enter","Tab"]);function pZ(n,t){return{leadOffset:t.index+t[1].length,matchingString:"",replaceableString:":"}}const mZ=n=>gZ.has(n),AZ=n=>n.key.length===1&&!n.ctrlKey&&!n.metaKey&&!n.altKey&&!n.isComposing;function yZ(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 nk(n,t){const e=t.index+t[1].length,r=t[0].slice(t[1].length),i=t===n.match(nM)?t[2]??"":r;return{leadOffset:e,matchingString:i,replaceableString:r}}function bZ(){const[n]=De(),{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(hZ);if(g)return pZ(h,g);const p=h.match(nM);if(p)return nk(h,p);const m=h.match(fZ);return m?nk(h,m):null};E.useEffect(()=>n.registerCommand(KN,()=>(n.update(()=>{let h=G();if(!H(h)&&(Re().selectEnd(),h=G(),!H(h)))return!1;let g=h.anchor.getNode();if(Y(g)){const T=yt("");g.append(T),T.select(),g=T}const p=h.anchor.getNode();if(!Un(p))return;const m=p.getTextContent(),b=h.anchor.offset,w=b>0?m[b-1]:"",C=(b>0&&!/\s/.test(w)?" ":"")+":",x=m.slice(0,b)+C+m.slice(b);p.setTextContent(x);const N=b+C.length;h.anchor.set(p.getKey(),N,"text"),h.focus.set(p.getKey(),N,"text"),c.current={nodeKey:p.getKey(),colonOffset:N-1,expectNextAt:N,active:!0,ts:Date.now()},s.current=":",e&&r(!1)}),!1),Ne),[n,e]),E.useEffect(()=>n.registerUpdateListener(({editorState:h})=>{h.read(()=>{const g=G();if(H(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(!H(g)||!g.isCollapsed()){e&&r(!1),c.current.active=!1;return}const p=g.anchor.getNode().getKey(),m=g.anchor.offset,b=l.current;b.key!==null&&(p!==b.key||b.offset!==null&&Math.abs(m-b.offset)>1)&&(e&&r(!1),c.current.active=!1)})}),[n,e]),E.useEffect(()=>n.registerCommand(Po,()=>(e&&r(!1),c.current.active=!1,!1),Ne),[n,e]),E.useEffect(()=>n.registerCommand(Va,h=>mZ(h.key)?(h.key==="Escape"&&e&&r(!1),c.current.active=!1,!1):(AZ(h)&&n.getEditorState().read(()=>{const g=G();if(!H(g)||!g.isCollapsed()){c.current.active=!1;return}const p=g.anchor.getNode(),m=p.getKey(),b=g.anchor.offset;if(h.key===":"){c.current={nodeKey:m,colonOffset:b,expectNextAt:b+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}=yZ(w,b);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=G();if(!H(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],N=C>0?w[C-1]:null;if(N&&!/\s/.test(N))return;const T=w.slice(C),k=/^(?:\:\)|\:\-\)|\:d|\:\-d|\;\)|\;\-\)|\:\(|\:\-\(|\:\*|<3)/i;let _=C,M=null;const I=T.match(k);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=T.match(/^(?:\;\)|\;\-\))/);if(U)M=C+U[0].length;else return}else if(x==="<"){const U=T.match(/^(?:<3)/);if(U)M=C+U[0].length;else return}if(M==null)return;const R=w.slice(0,_)+h+w.slice(M);p.setTextContent(R);const B=_+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(YI,{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=jt();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(Ft.EmojiPicker,{onChange:h=>{var g;d(((g=Ft.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:Vi,withinPortal:!0,onClose:()=>{e&&r(!1),c.current.active=!1}},children:A.jsx(A.Fragment,{})})})})})}const rM=ve("INSERT_CODE_COMMAND"),wZ=()=>{var l;const n=G(),t=n.anchor,e=n.focus,r=t.getNode(),i=e.getNode(),o=(l=r.getParent())==null?void 0:l.getIndexWithinParent();return(i instanceof Ir||i.getParent()instanceof Ir)&&(o===0||o||-1)&&t.key!==e.key?(n.removeText(),!0):!1};function CZ(){const[n]=De();return E.useEffect(()=>et(n.registerCommand(rM,()=>(n.update(()=>{const t=jt(),e=Re();if(t){const r=qN().append(Do(t.getTextContent()||""));t.replace(r),e.getChildrenSize()===1&&r.insertAfter(_e())}}),!0),Ne),n.registerCommand(Va,t=>{const e=G();let r=null;if(t.shiftKey&&t.code==="Enter"&&H(e)&&(bo(e.anchor.getNode())?r=e.anchor.getNode():Zt(e.anchor.getNode())&&(r=e.anchor.getNode().getParent()),r)){const i=n.registerCommand(qs,()=>(i(),!0),zi);return n.update(()=>{const o=r==null?void 0:r.getNextSibling();o instanceof jo&&!o.getTextContent()?o==null||o.selectStart():r.insertAfter(_e()).selectStart()}),!0}return!1},0),n.registerCommand(Nl,t=>{var c;if(!(t!=null&&t.target)||!(t!=null&&t.clipboardData))return!1;t.preventDefault();const e=G(),i=ig(e)["text/plain"],o=Object.values(t.target)[0],s=(c=Se(o))==null?void 0:c.getParent(),l=(s==null?void 0:s.getTextContent())===i;if(bo(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 La(n){const t=n.anchor,e=n.focus,r=n.anchor.getNode(),i=n.focus.getNode();return r===i?r:n.isBackward()?sx(e)?r:i:sx(t)?r:i}const vZ=new Set(["http:","https:","mailto:","sms:","tel:"]);function Ea(n){try{const t=new URL(n);if(!vZ.has(t.protocol))return"about:blank"}catch{return n}return n}const rk={PASTE:"paste",SPACE:"space"};function xZ(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 SZ({onChange:n}){const[t]=De(),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(Iy,()=>(t.update(()=>{const s=G();if(!H(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,rk.SPACE);const m=fs(h,{rel:"noopener noreferrer",target:"_blank"}),b=yt(h);m.append(b);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=G();H(C)&&(C.anchor.set(m.getKey(),h.length,"element"),C.focus.set(m.getKey(),h.length,"element")),m.selectEnd()}}}}),!1),An),[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,rk.PASTE),xZ(t,u.length),t.dispatchCommand(rl,Ea(u)),t.update(()=>{const g=jt();G()&&Qe(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 EZ({onChange:n}){return A.jsx(SZ,{onChange:n})}function kZ({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,u]=E.useState(""),[d,h]=E.useState(""),[g,p]=E.useState(!0),[m,b]=E.useState(!1),[w,v]=E.useState(!1),[C,x]=E.useState("delete"),[N,T]=E.useState({top:0,left:0}),{t:k}=pt.useTranslation(),_=()=>{setTimeout(()=>{o.current=!1,x("delete"),u(""),b(!1),v(!1),T({top:0,left:-999}),s.current=null,Sl(!1,document.documentElement)})},M=Oa.useClickOutside(()=>{_()}),I=E.useCallback(V=>{const re=G();if(V==="create"&&(x("create"),o.current=!0),H(re)){const Z=La(re),X=Te(Z,Tn);X?u(X.getURL()):Tn(Z)?u(Z.getURL()):u("https://")}const J=window.getSelection();if(J&&re&&J.rangeCount>0){const X=J.getRangeAt(0).getBoundingClientRect();T({top:X.y,left:X.x})}return v(!0),!0},[t,n,C,c]),R=E.useCallback(ls.debounce(V=>{if(!V||!V.closest(".doc-space-editor-wrapper")||o.current)return;const J=V.closest(".dsd__theme__link");if(J){const Z=n.getRootElement();if(!(Z!=null&&Z.contains(J)))return;const X=J.getAttribute("href"),le=J.getBoundingClientRect();T({top:le.y,left:le.x+le.width/2}),u(X??""),v(!0),s.current=J}else _(),T({top:0,left:0})},300),[]);r.current&&(r.current.updateLinkEditor=()=>{const V=window.getSelection();if(V&&V.rangeCount>0){const J=V.getRangeAt(0).startContainer.parentElement;o.current=!1,R(J),setTimeout(()=>{o.current=!0,x("edit")},300)}}),E.useEffect(()=>{const V=ls.debounce(re=>{if(e.current)return;const J=re.target;J instanceof HTMLElement&&R(J)},150);return document.body.addEventListener("mouseover",V),()=>{document.body.removeEventListener("mouseover",V),V.cancel()}},[R]),E.useEffect(()=>{const V=ls.debounce(re=>{const J=re.target;if(!(J instanceof HTMLElement))return;const Z=J.closest(".doc-space-editor-wrapper"),X=J.closest('[data-portal="true"]');!Z&&!X&&(_(),T({top:0,left:0}))},150);return document.addEventListener("mousemove",V),()=>{document.removeEventListener("mousemove",V),V.cancel()}},[]),E.useEffect(()=>et(n.registerCommand(tw,V=>(I(V),!0),Ne)),[n]),E.useEffect(()=>{setTimeout(()=>{C&&i.current&&(i.current.focus(),setTimeout(()=>{i.current&&i.current.select()}),n.read(()=>{const V=G();if(H(V)){l.current=jt();const re=La(V);Te(re,Tn)&&re&&h(re.getTextContent())}}))})},[C]);const B=V=>{V.key==="Enter"?(V.preventDefault(),K()):V.key==="Escape"&&V.preventDefault()},U=V=>{try{const re=new URL(V);return["http:","https:"].includes(re.protocol)}catch{return!1}},j=()=>{let V=G();if(H(V))return!0;const re=l.current;if(!re)return!1;if(ae(re))return re.select(0,re.getTextContentSize()),!0;if(Y(re)){const J=re.getFirstDescendant();if(ae(J))return J.select(0,J.getTextContentSize()),!0}return!1},K=()=>{if(U(c)&&c)b(!1);else{b(!0);return}n.update(()=>{if(!j())return;const V=G();if(!H(V))return;const re=La(V),J=re?re.getParent():null,Z=(Qs(re)?re:null)??(Qs(J)?J:null);if(!Z)n.dispatchCommand(rl,Ea(c)),C==="edit"&&re&&Un(re)&&(re.setTextContent(d),re.selectEnd());else{const X=yt(d),le=Z.getParent();le&&(Z.remove(),le.append(X),n.dispatchCommand(rl,Ea(c)),X.selectEnd())}}),setTimeout(()=>{_()})},ee=(V=!1)=>{var re;if(s.current){const J=s.current;if(J!=null&&J.childNodes){const Z=document.createRange(),X=window.getSelection();Z.setStart(J,Number(V)),Z.collapse(!0),X&&(X.removeAllRanges(),X.addRange(Z))}return(re=J.textContent)==null?void 0:re.length}};function ue(V){const re=document.createRange(),J=window.getSelection();if(J&&J.rangeCount>0){const Z=J.getRangeAt(0);let X=Z.startContainer,le=Z.startOffset,de=le+V;if(X.nodeType===Node.TEXT_NODE){const me=X.length;de=Math.min(de,me),re.setStart(X,de),re.setEnd(X,de)}else{const me=X.childNodes[le];if(me&&me.nodeType===Node.TEXT_NODE){const q=me.length;de=Math.min(V,q),re.setStart(me,de),re.setEnd(me,de)}}re.collapse(!0),J.removeAllRanges(),J.addRange(re)}}async function fe(V){try{p(!1),await navigator.clipboard.writeText(V),setTimeout(()=>{p(!0)},300)}catch(re){console.error("Failed to copy text: ",re)}}const ie=C==="edit";return A.jsx(A.Fragment,{children:A.jsxs(L.Popover,{width:320,opened:w,position:"bottom",offset:10,transitionProps:Vi,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:M,children:C!=="delete"?A.jsx(A.Fragment,{children:A.jsxs(L.Stack,{w:"100%",align:"left",gap:0,children:[ie&&A.jsx(L.Input.Wrapper,{label:k("editor.link.linkName"),px:"4",children:A.jsx(L.Input,{ref:i,value:d,error:m,size:"sm",leftSection:A.jsx(te.IconCursorText,{size:16}),onChange:V=>{h(V.target.value)},onKeyDown:V=>{B(V)}})}),A.jsx(L.Input.Wrapper,{label:ie?k("editor.link.link"):"",error:m&&k("editor.form.url"),px:"4",mb:3,children:A.jsx(L.Input,{ref:ie?null:i,value:c,error:m,type:"url",size:"sm",leftSection:A.jsx(te.IconLink,{size:16}),onChange:V=>{const re=U(V.target.value);m&&re&&b(!1),m&&!re&&b(!0),u(V.target.value)},onKeyDown:V=>{B(V)}})}),A.jsx(L.Button,{tabIndex:0,onMouseDown:V=>V.preventDefault(),onClick:K,leftSection:A.jsx(te.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:c,zIndex:1e3,openDelay:500,children:A.jsx(L.Anchor,{href:Ea(c),target:"_blank",rel:"noopener noreferrer",truncate:!0,w:300,children:c})})]}),A.jsx(L.Button,{tabIndex:0,onMouseDown:V=>V.preventDefault(),onClick:()=>{setTimeout(()=>{ee(),x("edit"),Sl(!0,document.documentElement),o.current=!0},100)},leftSection:A.jsx(xe,{name:"pencil"}),justify:"left",size:"sm",color:"#000",style:{border:0},variant:"default",children:k("editor.link.edit")}),A.jsx(L.Button,{tabIndex:0,onMouseDown:V=>V.preventDefault(),onClick:()=>{fe(Ea(c)||"")},leftSection:A.jsx(xe,{size:16,name:g?"copy":"check-mark"}),justify:"left",size:"sm",color:"#000",variant:"default",style:{border:0},children:k("editor.link.copy")}),A.jsx(L.Button,{tabIndex:0,onMouseDown:V=>V.preventDefault(),onClick:()=>{const V=ee()||0;setTimeout(()=>{n.dispatchCommand(rl,null),_(),setTimeout(()=>{ue(V)})})},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 TZ(n,t,e){const[r,i]=E.useState(n),o=E.useRef({updateLinkEditor:()=>{}}),s=ls.debounce(()=>{n.update(()=>{o.current.updateLinkEditor()})},200);return A.jsxs(A.Fragment,{children:[A.jsx(EZ,{onChange:(...l)=>{l[1]==="paste"&&s()}}),mr.createPortal(A.jsx(kZ,{editor:r,anchorElem:t,showTextToolbar:e,updateLink:o}),document.body)]})}function _Z({anchorElem:n=document.body,showTextToolbar:t}){const[e]=De();return TZ(e,n,t)}function NZ(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 ik=()=>{var e;const n=(e=window.getSelection())==null?void 0:e.toString().trim();return n==null?void 0:n.replace(/\s+/g,"")},IZ=10,MZ=5;function Oc(n,t,e,r=!1,i=IZ,o=MZ){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)",$I();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",qI()}function DZ({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),b=E.useCallback(()=>{n.dispatchCommand(tw,"create")},[n,e]);function w(){var C,x;g.current&&(p.current=!0,Oc(((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=ik();if(!h&&!(C!=null&&C.length)){let x=function(_){return _ instanceof HTMLElement};const N=g.current,T=window.getSelection();let k=!1;T!=null&&T.anchorNode&&x(T.anchorNode)&&T.anchorNode.className==="toolbar"&&(k=!0),N&&!k&&(m.current={rect:null,floatingElem:N,anchorElem:t,isLink:e},Oc(null,N,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(Va,C=>{var x;return(C.metaKey||C.ctrlKey)&&C.code==="KeyA"?(C.preventDefault(),J6(n),jt(!0)&&(Q6()&&(g!=null&&g.current)?(Oc(null,g==null?void 0:g.current,t,(x=m.current)==null?void 0:x.isLink),jT(),Kb(n)):setTimeout(()=>{w()})),!0):!1},Ne),n.registerCommand(ZA,()=>(setTimeout(()=>{var C;g!=null&&g.current&&Oc(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=G(),x=g.current,N=window.getSelection();if(x===null)return;const T=n.getRootElement();let k=!1;const _=ik();if(_&&_.length>0&&(k=!0),C!==null&&N!==null&&!N.isCollapsed&&T!==null&&T.contains(N.anchorNode)&&k){const M=NZ(N,T);if(m.current={rect:M,floatingElem:x,anchorElem:t,isLink:e},H(C)){const R=La(C).getParent(),B=R==null?void 0:R.getFormatType();p.current&&B&&g&&n.registerCommand(ZA,U=>(U||setTimeout(()=>{var j,K;Oc(((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()}),et(n.registerUpdateListener(({editorState:C})=>{C.read(()=>{v()})}),n.registerCommand(Yr,()=>(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($t,"bold")},className:"popup-item spaced "+(r?"active":""),children:A.jsx(xe,{name:"bold",stroke:r?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand($t,"italic")},className:"popup-item spaced "+(i?"active":""),children:A.jsx(xe,{name:"italic",stroke:i?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand($t,"underline")},className:"popup-item spaced "+(o?"active":""),children:A.jsx(xe,{name:"underline",stroke:o?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand($t,"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($t,"subscript")},className:"popup-item spaced "+(c?"active":""),children:A.jsx(xe,{name:"subscript",stroke:c?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand($t,"superscript")},className:"popup-item spaced "+(u?"active":""),children:A.jsx(xe,{name:"superscript",stroke:u?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand($t,"code")},className:"popup-item spaced "+(s?"active":""),children:A.jsx(xe,{name:"code"})}),A.jsx("button",{type:"button",onClick:b,className:"popup-item spaced "+(e?"active":""),children:A.jsx(xe,{name:"link"})})]}))})})}function LZ(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),[b,w]=E.useState(!1),[v,C]=E.useState(!1),[x,N]=E.useState(!1),T=Ew(),{disable:k}=E.useContext(Lt),_=E.useCallback(()=>{n.getEditorState().read(()=>{var ue,fe,ie;if(n.isComposing())return;const M=G(),I=window.getSelection(),R=n.getRootElement();if(I!==null&&(!H(M)||R===null||!R.contains(I.anchorNode))){i(!1);return}if(!H(M))return;const B=La(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")),N(M.hasFormat("code"));const U=B.getParent();Tn(U)||Tn(B)?s(!0):s(!1);const j=Zt(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(Un(B)||gn(B)||So(B)||Wa(B)||vt(B)):i(!1);const ee=M.getTextContent().replace(/\n/g,"");if(!M.isCollapsed()&&ee===""){i(!1);return}})},[n]);return E.useEffect(()=>(document.addEventListener("selectionchange",_),()=>{document.removeEventListener("selectionchange",_)}),[_]),E.useEffect(()=>et(n.registerUpdateListener(()=>{_()}),n.registerRootListener(()=>{n.getRootElement()===null&&i(!1)})),[n,_]),k?null:mr.createPortal(A.jsx(DZ,{editor:n,anchorElem:t,isLink:o,isBold:l,isItalic:u,isStrikethrough:p,isSubscript:b,isSuperscript:v,isUnderline:h,isCode:x,component:e,isText:r&&!T}),document.body)}function fy({anchorElem:n=document.body,component:t}){const[e]=De();return LZ(e,n,t)}const OZ=({onFocus:n})=>{const[t]=De();return E.useEffect(()=>{t.registerCommand(_s,e=>{var r;return(r=t._rootElement)==null||r.classList.add("focused"),!e.relatedTarget&&n&&n(),!1},Ne)},[]),null},RZ=ve("INSERT_FORM_COMMAND");function PZ(){const[n]=De();return E.useEffect(()=>{if(!n.hasNodes([Vu]))throw new Error("FormPlugin: FormNode not registered on editor");return n.registerCommand(RZ,t=>{const e=sw(t);return c1(e),!0},Ke)},[n]),null}function BZ({validateUrl:n,attributes:t}){const[e]=De();return E.useEffect(()=>{if(!e.hasNodes([jl]))throw new Error("LinkPlugin: LinkNode not registered on editor")}),E.useEffect(()=>AW(e,Db({attributes:t,validateUrl:n})),[e,n,t]),null}function iM(){return A.jsx(BZ,{attributes:{target:null,rel:"noreferrer"}})}const FZ=" ";function jZ(n){const t=n.getNodes();return t.length===0?new Set([n.anchor.getNode().getParentOrThrow(),n.focus.getNode().getParentOrThrow()]):new Set(t.map(e=>Y(e)?e:e.getParentOrThrow()))}function zZ(n){const t=G();if(!H(t))return!1;const e=t.focus.getNode();if(!(Ve(e)||vt(e)||vt(e.getParent())))return t.insertText(FZ),!1;const i=jZ(t);let o=0;for(const s of i)if(Ve(s))o=Math.max(BA(s)+1,o);else if(vt(s)){const l=s.getParent();if(!Ve(l))throw new Error("ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent.");o=Math.max(BA(l)+1,o)}return o<=n}function UZ({maxDepth:n}){const[t]=De();return E.useEffect(()=>et(t.registerCommand(wo,()=>!zZ(n??7),An)),[t,n]),null}function KZ(n){E.useEffect(()=>XW(n),[n])}function WZ(){const[n]=De();return E.useEffect(()=>{if(!n.hasNodes([yr,wn]))throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[n]),KZ(n),null}const HZ=[{dependencies:[rg],export:n=>Y_(n)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(n,t,e,r)=>{const i=ic();r||n.getNextSibling()!=null?n.replace(i):n.insertBefore(i),i.selectNext()},type:"element"},...vg];function YZ({transformers:n=HZ}){const[t]=De();return E.useEffect(()=>K5(t,n),[t,n]),null}function ZZ(){return A.jsx(YZ,{transformers:ku})}function GZ({maxLength:n}){const[t]=De();return E.useEffect(()=>{let e=null;return t.registerNodeTransform(Ll,r=>{const i=G();if(!H(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,Zj(t,o)):jj(t,u,c))}})},[t,n]),null}function JZ(){const[n]=De(),{maxHeight:t}=E.useContext(Lt),e=()=>{JN(n)};return t?null:A.jsx("div",{className:"new-paragraph",onClick:e})}var VZ="function",QZ="object",XZ="string",qZ="undefined",$Z=typeof document!==qZ&&document,e7=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],ai=1e-7,pf={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 t7(){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 Ts(n){return n&&typeof n===QZ}function yh(n){return Array.isArray(n)}function _u(n){return typeof n===XZ}function Nw(n){return typeof n===VZ}function n7(n,t){var e=n===""||n==" ",r=t===""||t==" ";return r&&e||n===t}function oM(n,t,e,r,i){var o=Iw(n,t,e);return o?e:r7(n,t,e+1,r,i)}function Iw(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 r7(n,t,e,r,i){for(var o=function(u){var d=t[u].trim();if(d===n.close&&!Iw(n,t,u))return{value:u};var h=u,g=Nu(i,function(p){var m=p.open;return m===d});if(g&&(h=oM(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 Mw(n,t){var e=_u(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?e7:u,h=d.map(function(_){var M=_.open,I=_.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(_){return _&&_!=="undefined"}),b=m.length,w=[],v=[];function C(){return v.length?(w.push(v.join("")),v=[],!0):!1}for(var x=function(_){var M=m[_].trim(),I=_,R=Nu(d,function(j){var K=j.open;return K===M}),B=Nu(d,function(j){var K=j.close;return K===M});if(R){if(I=oM(R,m,_,b,d),I!==-1&&c)return C()&&o||(w.push(m.slice(_,I+1).join("")),_=I,o)?(N=_,"break"):(N=_,"continue")}else if(B&&!Iw(B,m,_)){var U=t7(d);return U.splice(d.indexOf(B),1),{value:Mw(n,{separator:i,isSeparateFirst:o,isSeparateOnlyOpenClose:s,isSeparateOpenClose:c,openCloseCharacters:U})}}else if(n7(M,i)&&!s)return C(),o?(N=_,"break"):(N=_,"continue");I===-1&&(I=b-1),v.push(m.slice(_,I+1).join("")),_=I,N=_},N,T=0;T<b;++T){var k=x(T);if(T=N,typeof k=="object")return k.value;if(k==="break")break}return v.length&&w.push(v.join("")),w}function i7(n){return Mw(n,"")}function Kc(n){return Mw(n,",")}function o7(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 bh(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 hy(n){return n.replace(/[\s-_]+([^\s-_])/g,function(t,e){return e.toUpperCase()})}function gy(){return Date.now?Date.now():new Date().getTime()}function wh(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 Nu(n,t,e){var r=wh(n,t);return r>-1?n[r]:e}function ok(n,t){var e=bh(n),r=e.value,i=e.unit;if(Ts(t)){var o=t[i];if(o){if(Nw(o))return o(r);if(pf[i])return pf[i](r,o)}}else if(i==="%")return r*t/100;return pf[i]?pf[i](r):r}function sM(n,t,e){return Math.max(t,Math.min(n,e))}function sk(n,t,e,r){return r===void 0&&(r=n[0]/n[1]),[[Ao(t[0],ai),Ao(t[0]/r,ai)],[Ao(t[1]*r,ai),Ao(t[1],ai)]].filter(function(i){return i.every(function(o,s){var l=t[s],c=Ao(l,ai);return e?o<=l||o<=c:o>=l||o>=c})})[0]||n}function s7(n,t,e,r){if(!r)return n.map(function(p,m){return sM(p,t[m],e[m])});var i=n[0],o=n[1],s=r===!0?i/o:r,l=sk(n,t,!1,s),c=l[0],u=l[1],d=sk(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 l7(n){for(var t=n.length,e=0,r=t-1;r>=0;--r)e+=n[r];return e}function a7(n){for(var t=n.length,e=0,r=t-1;r>=0;--r)e+=n[r];return t?e/t:0}function lk(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 c7(n){return[0,1].map(function(t){return a7(n.map(function(e){return e[t]}))})}function ak(n){var t=c7(n),e=lk(t,n[0]),r=lk(t,n[1]);return e<r&&r-e<Math.PI||e>r&&r-e<-Math.PI?1:-1}function py(n,t){return Math.sqrt(Math.pow((t?t[0]:0)-n[0],2)+Math.pow((t?t[1]:0)-n[1],2))}function Ao(n,t){var e=1/t;return Math.round(n/t)/e}function u7(n,t){return n.classList?n.classList.contains(t):!!n.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function d7(n,t){n.classList?n.classList.add(t):n.className+=" "+t}function dn(n,t,e,r){n.addEventListener(t,e,r)}function rn(n,t,e,r){n.removeEventListener(t,e,r)}function ho(n){return(n==null?void 0:n.ownerDocument)||$Z}function Xs(n){var t;return((t=n==null?void 0:n.ownerDocument)===null||t===void 0?void 0:t.defaultView)||window}function f7(n){return n&&"postMessage"in n&&"blur"in n&&"self"in n}function ck(n){return Ts(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 my=function(){return my=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},my.apply(this,arguments)};function h7(){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 kg=(function(){function n(){this._events={}}var t=n.prototype;return t.on=function(e,r){if(Ts(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(Ts(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=wh(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,h7(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(my({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 Ay=function(n,t){return Ay=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])},Ay(n,t)};function g7(n,t){Ay(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var cn=function(){return cn=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},cn.apply(this,arguments)};function p7(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 Mm(n){return p7([n[0].clientX,n[0].clientY],[n[1].clientX,n[1].clientY])/Math.PI*180}function m7(n){return n.touches&&n.touches.length>=2}function mf(n){return n?n.touches?y7(n.touches):[lM(n)]:[]}function A7(n){return n&&(n.type.indexOf("mouse")>-1||"button"in n)}function uk(n,t,e){var r=e.length,i=tu(n,r),o=i.clientX,s=i.clientY,l=i.originalClientX,c=i.originalClientY,u=tu(t,r),d=u.clientX,h=u.clientY,g=tu(e,r),p=g.clientX,m=g.clientY,b=o-d,w=s-h,v=o-p,C=s-m;return{clientX:l,clientY:c,deltaX:b,deltaY:w,distX:v,distY:C}}function Dm(n){return Math.sqrt(Math.pow(n[0].clientX-n[1].clientX,2)+Math.pow(n[0].clientY-n[1].clientY,2))}function y7(n){for(var t=Math.min(n.length,2),e=[],r=0;r<t;++r)e.push(lM(n[r]));return e}function lM(n){return{clientX:n.clientX,clientY:n.clientY}}function tu(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 Lm=(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),Mm(t)},n.prototype.getRotation=function(t){return t===void 0&&(t=this.prevClients),Mm(t)-Mm(this.startClients)},n.prototype.getPosition=function(t,e){t===void 0&&(t=this.prevClients);var r=uk(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]=uk([t[s]],[e[s]],[r[s]]);return o},n.prototype.getMovement=function(t){var e=this.movement;if(!t)return e;var r=tu(t,this.length),i=tu(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),Dm(t)},n.prototype.getScale=function(t){return t===void 0&&(t=this.prevClients),Dm(t)/Dm(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})(),dk=["textarea","input"],b7=(function(n){g7(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 b=i.options,w=b.container,v=b.pinchOutside,C=b.preventWheelClick,x=b.preventRightClick,N=b.preventDefault,T=b.checkInput,k=b.dragFocusedInput,_=b.preventClickEventOnDragStart,M=b.preventClickEventOnDrag,I=b.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(),ee=dk.indexOf(K)>-1,ue=j.isContentEditable;if(ee||ue){if(T||!k&&U===j)return!1;if(U&&(U===j||ue&&U.isContentEditable&&U.contains(j)))if(k)j.blur();else return!1}else if((N||g.type==="touchstart")&&U){var fe=U.tagName.toLowerCase();(U.isContentEditable||dk.indexOf(fe)>-1)&&U.blur()}(_||M||I)&&dn(i._window,"click",i._onClick,!0)}i.clientStores=[new Lm(mf(g))],i._isIdle=!1,i.flag=!0,i.isDrag=!1,i._isTrusted=p,i._dragFlag=!0,i._prevInputEvent=g,i.data={},i.doubleFlag=gy()-i.prevTime<200,i._isMouseEvent=A7(g),!i._isMouseEvent&&i._preventMouseEvent&&i._allowMouseEvent();var ie=i._preventMouseEvent||i.emit("dragStart",cn(cn({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&&N&&g.preventDefault()}if(!i.flag)return!1;var V=0;if(B?(i._attchDragEvent(),R&&v&&(V=setTimeout(function(){dn(w,"touchstart",i.onDragStart,{passive:!1})}))):R&&v&&rn(w,"touchstart",i.onDragStart),i.flag&&m7(g)){if(clearTimeout(V),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 b=mf(g),w=i.moveClients(b,g,!1);if(i._dragFlag){if(i.pinchFlag||w.deltaX||w.deltaY){var v=i._preventMouseEvent||i.emit("drag",cn(cn({},w),{isScroll:!!p,inputEvent:g}));if(v===!1){i.stop();return}}i.pinchFlag&&i.onPinch(g,b)}i.getCurrentStore().getPosition(b,!0)}},i.onDragEnd=function(g){if(i.flag){var p=i.options,m=p.pinchOutside,b=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&&rn(b,"touchstart",i.onDragStart),i.pinchFlag&&i.onPinchEnd(g);var N=g!=null&&g.touches?mf(g):[],T=N.length;T===0||!i.options.keepDragging?i.flag=!1:i._addStore(new Lm(N));var k=i._getPosition(),_=gy(),M=!x&&i.doubleFlag;i._prevInputEvent=null,i.prevTime=x||M?0:_,i.flag||(i._dettachDragEvent(),i._preventMouseEvent||i.emit("dragEnd",cn({data:i.data,datas:i.data,isDouble:M,isDrag:x,isClick:!x,isMouseEvent:i._isMouseEvent,isSecondaryButton:i._isSecondaryButton,inputEvent:g,isTrusted:i._isTrusted},k)),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(){rn(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=f7(s)?s:Xs(s),i.options=cn({checkInput:!1,container:s&&!("document"in s)?Xs(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){dn(g,"dragstart",i.onDragStart)}),i._useMouse&&(o.forEach(function(g){dn(g,"mousedown",i.onDragStart),dn(g,"mousemove",i._passCallback)}),dn(c,"contextmenu",i._onContextMenu)),d&&dn(Xs(),"blur",i.onBlur),i._useTouch){var h={passive:!1};o.forEach(function(g){dn(g,"touchstart",i.onDragStart,h),dn(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),cn(cn({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(),rn(this._window,"blur",this.onBlur),this._useDrag&&r.forEach(function(o){rn(o,"dragstart",e.onDragStart)}),this._useMouse&&(r.forEach(function(o){rn(o,"mousedown",e.onDragStart)}),rn(i,"contextmenu",this._onContextMenu)),this._useTouch&&(r.forEach(function(o){rn(o,"touchstart",e.onDragStart)}),rn(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 Lm(mf(e));this.pinchFlag=!0,this._addStore(o);var s=this.emit("pinchStart",cn(cn({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",cn(cn({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",cn(cn({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),cn(cn({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 cn(cn({},o),{distX:l,distY:c})},t.prototype._attchDragEvent=function(){var e=this._window,r=this.options.container,i={passive:!1};this._isDragAPI&&(dn(r,"dragover",this.onDrag,i),dn(e,"dragend",this.onDragEnd)),this._useMouse&&(dn(r,"mousemove",this.onDrag),dn(e,"mouseup",this.onDragEnd)),this._useTouch&&(dn(r,"touchmove",this.onDrag,i),dn(e,"touchend",this.onDragEnd,i),dn(e,"touchcancel",this.onDragEnd,i))},t.prototype._dettachDragEvent=function(){var e=this._window,r=this.options.container;this._isDragAPI&&(rn(r,"dragover",this.onDrag),rn(e,"dragend",this.onDragEnd)),this._useMouse&&(rn(r,"mousemove",this.onDrag),rn(e,"mouseup",this.onDragEnd)),this._useTouch&&(rn(r,"touchstart",this.onDragStart),rn(r,"touchmove",this.onDrag),rn(e,"touchend",this.onDragEnd),rn(e,"touchcancel",this.onDragEnd))},t.prototype._allowMouseEvent=function(){this._preventMouseEvent=!1,clearTimeout(this._preventMouseEventId)},t})(kg);function w7(n,t){return function(e){e&&(n[t]=e)}}function C7(n,t){return function(e){var r=e.prototype;n.forEach(function(i){t(r,i)})}}function v7(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 x7=(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})(),S7=(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})(),E7=typeof Map=="function",k7=(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 T7(n,t){var e=[],r=[];return n.forEach(function(i){var o=i[0],s=i[1],l=new k7;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 _7=(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=T7(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 N7(n,t,e){var r=E7?Map:e?S7:x7,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={},b=[],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 N=h.get(C);typeof N>"u"?(++v,s.push(x)):m[N]=v}),u.forEach(function(C,x){var N=d.get(C);typeof N>"u"?(o.push(x),++w):(l.push([N,x]),v=m[x]||0,g.push([N-v,x-w]),p.push(x===N),N!==x&&b.push([N,x]))}),s.reverse(),new _7(n,t,o,s,b,l,g,p)}var I7=typeof Map=="function"?void 0:(function(){var n=0;return function(t){return t.__DIFF_KEY__||(t.__DIFF_KEY__=++n)}})();function Wc(n,t){return N7(n,t,I7)}/*! *****************************************************************************
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 yy=function(n,t){return yy=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])},yy(n,t)};function M7(n,t){yy(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var ka=function(){return ka=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},ka.apply(this,arguments)};function D7(n){var t=n.container;return t===document.body?[t.scrollLeft||document.documentElement.scrollLeft,t.scrollTop||document.documentElement.scrollTop]:[t.scrollLeft,t.scrollTop]}function fk(n,t){return n.addEventListener("scroll",t),function(){n.removeEventListener("scroll",t)}}function Af(n){if(n){if(_u(n))return document.querySelector(n)}else return null;if(Nw(n))return n();if(n instanceof Element)return n;if("current"in n)return n.current;if("value"in n)return n.value}var L7=(function(n){M7(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=Af(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(ka(ka({},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],b=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:b[0]?p:0,offsetY:b[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?D7:s;return l({container:Af(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=gy(),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 b={container:Af(s),direction:l,inputEvent:h};return(o=r.requestScroll)===null||o===void 0||o.call(r,b),this.emit("scroll",b),this._isWait=!1,u||this.checkScroll(ka(ka({},r),{prevScrollPos:m,direction:l,inputEvent:h}))}},e._registerScrollEvent=function(r){this._unregisterScrollEvent();var i=r.checkScrollEvent;if(i){var o=i===!0?fk:i,s=Af(r.container);i===!0&&(s===document.body||s===document.documentElement)?this._unregister=fk(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})(kg),by=function(n,t){return by=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])},by(n,t)};function O7(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");by(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function R7(n,t){return t={exports:{}},n(t,t.exports),t.exports}var nd=R7(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]});nd.code;nd.codes;nd.aliases;var P7=nd.names;nd.title;var hk={"+":"plus","left command":"meta","right command":"meta"},gk={shift:1,ctrl:2,alt:3,meta:4};function aM(n,t){var e=(P7[n]||t||"").toLowerCase();for(var r in hk)e=e.replace(r,hk[r]);return e.replace(/\s/g,"")}function cM(n,t){t===void 0&&(t=aM(n.keyCode,n.key));var e=B7(n);return e.indexOf(t)===-1&&e.push(t),e.filter(Boolean)}function B7(n){var t=[n.shiftKey&&"shift",n.ctrlKey&&"ctrl",n.altKey&&"alt",n.metaKey&&"meta"];return t.filter(Boolean)}function pk(n){var t=n.slice();return t.sort(function(e,r){var i=gk[e]||5,o=gk[r]||5;return i-o}),t}var mk,F7=(function(n){O7(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")},dn(r,"blur",i.blur),dn(r,"keydown",i.keydownEvent),dn(r,"keyup",i.keyupEvent),i}var e=t.prototype;return Object.defineProperty(t,"global",{get:function(){return mk||(mk=new t)},enumerable:!1,configurable:!0}),t.setGlobal=function(){return this.global},e.destroy=function(){var r=this.container;this.clear(),this.off(),rn(r,"blur",this.blur),rn(r,"keydown",this.keydownEvent),rn(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 yh(i)?this.on("".concat(r,".").concat(pk(i).join(".")),o):_u(i)?this.on("".concat(r,".").concat(i),o):this.on(r,i),this},e.removeEvent=function(r,i,o){return yh(i)?this.off("".concat(r,".").concat(pk(i).join(".")),o):_u(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=aM(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=cM(i,o);c.length>1&&this.trigger("".concat(r,".").concat(c.join(".")),l)},t})(kg);/*! *****************************************************************************
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 j7(){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 dr(n){return Ao(n,ai)}function z7(n,t){return n.every(function(e,r){return dr(e-t[r])===0})}function U7(n,t){return!dr(n[0]-t[0])&&!dr(n[1]-t[1])}function Om(n){return n.length<3?0:Math.abs(l7(n.map(function(t,e){var r=n[e+1]||n[0];return t[0]*r[1]-r[0]*t[1]})))/2}function K7(n,t){var e=t.width,r=t.height,i=t.left,o=t.top,s=uM(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 uM(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 wy(n,t,e){var r=n[0],i=n[1],o=uM(t),s=o.minX,l=o.maxX,c=[[s,i],[l,i]],u=Ch(c[0],c[1]),d=Cy(t),h=[];if(d.forEach(function(m){var b=Ch(m[0],m[1]),w=m[0];if(z7(u,b))h.push({pos:n,line:m,type:"line"});else{var v=fM(dM(u,b),[c,m]);v.forEach(function(C){m.some(function(x){return U7(x,C)})?h.push({pos:C,line:m,type:"point"}):dr(w[1]-i)!==0&&h.push({pos:C,line:m,type:"intersection"})})}}),Nu(h,function(m){return m[0]===r}))return!0;var g=0,p={};return h.forEach(function(m){var b=m.pos,w=m.type,v=m.line;if(!(b[0]>r))if(w==="intersection")++g;else{if(w==="line")return;if(w==="point"){var C=Nu(v,function(T){return T[1]!==i}),x=p[b[0]],N=C[1]>i?1:-1;x?x!==N&&++g:p[b[0]]=N}}}),g%2===1}function Ch(n,t){var e=n[0],r=n[1],i=t[0],o=t[1],s=i-e,l=o-r;Math.abs(s)<ai&&(s=0),Math.abs(l)<ai&&(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 dM(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 b=-i/r,w=-(s*b+l)/o;d=[[w,b]]}else if(o===0){var b=-l/s,w=-(r*b+i)/e;d=[[w,b]]}else if(r===0){var w=-i/e,b=-(o*w+l)/s;d=[[w,b]]}else if(s===0){var w=-l/o,b=-(e*w+i)/r;d=[[w,b]]}else{var w=(r*l-s*i)/(s*e-r*o),b=-(e*w+i)/r;d=[[w,b]]}return d.map(function(v){return[v[0],v[1]]})}function fM(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(dr(o-n[1][0])){if(!dr(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(dr(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(dr(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<=dr(g-m[0][0])&&0<=dr(m[0][1]-g)&&0<=dr(p-m[1][0])&&0<=dr(m[1][1]-p)})})),r.map(function(h){return[dr(h[0]),dr(h[1])]})}function Cy(n){return j7(n.slice(1),[n[0]]).map(function(t,e){return[n[e],t]})}function W7(n,t){var e=n.slice(),r=t.slice();ak(e)===-1&&e.reverse(),ak(r)===-1&&r.reverse();var i=Cy(e),o=Cy(r),s=i.map(function(d){return Ch(d[0],d[1])}),l=o.map(function(d){return Ch(d[0],d[1])}),c=[];s.forEach(function(d,h){var g=i[h],p=[];l.forEach(function(m,b){var w=dM(d,m),v=fM(w,[g,o[b]]);p.push.apply(p,v.map(function(C){return{index1:h,index2:b,pos:C,type:"intersection"}}))}),p.sort(function(m,b){return py(g[0],m.pos)-py(g[0],b.pos)}),c.push.apply(c,p),wy(g[1],r)&&c.push({index1:h,index2:-1,pos:g[1],type:"inside"})}),o.forEach(function(d,h){if(wy(d[1],e)){var g=!1,p=wh(c,function(m){var b=m.index2;return b===h?(g=!0,!1):!!g});p===-1&&(g=!1,p=wh(c,function(m){var b=m.index1,w=m.index2;return b===-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 Ak(n,t){var e=W7(n,t);return e.map(function(r){var i=r.pos;return i})}function H7(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 Y7(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 Z7(n,t,e,r,i){for(var o=0;o<r;++o){var s=e+o*r;n[s]/=i,t[s]/=i}}function G7(n,t){for(var e=n.slice(),r=hM(t),i=0;i<t;++i){var o=t*i+i;if(!Ao(e[o],ai)){for(var s=i+1;s<t;++s)if(e[t*i+s]){Y7(e,r,i,s,t);break}}if(!Ao(e[o],ai))return[];Z7(e,r,i,t,e[o]);for(var s=0;s<t;++s){var l=s,c=s+i*t,u=e[c];!Ao(u,ai)||i===s||H7(e,r,l,i,t,-u)}}return r}function Hl(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 J7(n,t,e){var r=Hl(n,t,e),i=r[e-1];return r.map(function(o){return o/i})}function V7(n,t){return Hl(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 Q7(n,t){return Hl(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 X7(n,t){return Hl(n,q7(t,4))}function yf(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 Hl(n,[r,0,0,0,0,o,0,0,0,0,l,0,0,0,0,1],4)}function Rm(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 Hl(n,[1,0,0,0,0,1,0,0,0,0,1,0,r,o,l,1],4)}function vy(n,t){return Hl(n,t,4)}function q7(n,t){var e=Math.cos(n),r=Math.sin(n),i=hM(t);return i[0]=e,i[1]=r,i[t]=-r,i[t+1]=e,i}function hM(n){for(var t=n*n,e=[],r=0;r<t;++r)e[r]=r%(n+1)?0:1;return e}var nu=function(){return nu=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},nu.apply(this,arguments)};function Dw(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function $7(n,t){return t===void 0&&(t=0),tG(nG(n,t))}function Pm(n,t){var e=J7(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 eG(n,t){t===void 0&&(t=document.body);for(var e=n,r=Dw();e;){var i=getComputedStyle(e).transform;if(r=vy($7(i),r),e===t)break;e=e.parentElement}return r=G7(r,4),r[12]=0,r[13]=0,r[14]=0,r}function tG(n){var t=Dw();return n.forEach(function(e){var r=e.matrixFunction,i=e.functionValue;r&&(t=r(t,i))}),t}function nG(n,t){t===void 0&&(t=0);var e=yh(n)?n:i7(n);return e.map(function(r){var i=o7(r),o=i.prefix,s=i.value,l=null,c=o,u="";if(o==="translate"||o==="translateX"||o==="translate3d"){var d=Ts(t)?nu(nu({},t),{"o%":t["%"]}):{"%":t,"o%":t},h=Kc(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%"],ok(j,d)}),g=h[0],p=h[1],m=p===void 0?0:p,b=h[2],w=b===void 0?0:b;l=Rm,u=[g,m,w]}else if(o==="translateY"){var v=Ts(t)?nu({"%":t["y%"]},t):{"%":t},m=ok(s,v);l=Rm,u=[0,m,0]}else if(o==="translateZ"){var w=parseFloat(s);l=Rm,u=[0,0,w]}else if(o==="scale"||o==="scale3d"){var C=Kc(s).map(function(j){return parseFloat(j)}),x=C[0],N=C[1],T=N===void 0?x:N,k=C[2],_=k===void 0?1:k;l=yf,u=[x,T,_]}else if(o==="scaleX"){var x=parseFloat(s);l=yf,u=[x,1,1]}else if(o==="scaleY"){var T=parseFloat(s);l=yf,u=[1,T,1]}else if(o==="scaleZ"){var _=parseFloat(s);l=yf,u=[1,1,_]}else if(o==="rotate"||o==="rotateZ"||o==="rotateX"||o==="rotateY"){var M=bh(s),I=M.unit,R=M.value,B=I==="rad"?R:R*Math.PI/180;o==="rotate"||o==="rotateZ"?(c="rotateZ",l=X7):o==="rotateX"?l=V7:o==="rotateY"&&(l=Q7),u=B}else if(o==="matrix3d")l=vy,u=Kc(s).map(function(j){return parseFloat(j)});else if(o==="matrix"){var U=Kc(s).map(function(j){return parseFloat(j)});l=vy,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 rG(n){for(var t=5381,e=n.length;e;)t=t*33^n.charCodeAt(--e);return t>>>0}var iG=rG;function oG(n){return iG(n).toString(36)}function sG(n){if(n&&n.getRootNode){var t=n.getRootNode();if(t.nodeType===11)return t}}function lG(n,t,e){return e.original?t:t.replace(/([^};{\s}][^};{]*|^\s*){/mg,function(r,i){var o=i.trim();return(o?Kc(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 aG(n,t,e,r,i){var o=ho(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=lG(n,t,e),(i||o.head||o.body).appendChild(s),s}function cG(n){var t="rCS"+oG(n);return{className:t,inject:function(e,r){r===void 0&&(r={});var i=sG(e),o=(i||e.ownerDocument||document).querySelector('style[data-styled-id="'.concat(t,'"]'));if(!o)o=aG(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 xy=function(n,t){return xy=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])},xy(n,t)};function gM(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");xy(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var un=function(){return un=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},un.apply(this,arguments)};function uG(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 dG(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 ru(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 fG(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 hG(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 gG(n,t,e){var r=ho(n);return r.elementFromPoint&&r.elementFromPoint(t,e)||null}function pM(n,t,e){var r=n.tag,i=n.children,o=n.attributes,s=n.className,l=n.style,c=t||ho(e).createElement(r);for(var u in o)c.setAttribute(u,o[u]);var d=c.children;if(i.forEach(function(g,p){pM(g,d[p],c)}),s&&s.split(/\s+/g).forEach(function(g){g&&!u7(c,g)&&d7(c,g)}),l){var h=c.style;for(var u in l)h[u]=l[u]}return!t&&e&&e.appendChild(c),c}function pG(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=uG(i,["className","style"]);return{tag:n,className:s,style:c,attributes:u,children:e}}function Bm(n,t,e){n!==t&&e(n,t)}function yk(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),b=o<0?u-e.left:e.right-u,w=l<0?d-e.top:e.bottom-d;r=s7([p,m],[0,0],[b,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,N=d+C;return{left:x,top:N,right:x+p,bottom:N+m,width:p,height:m}}function bf(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 bk(n,t,e){var r=Wc(n,t),i=r.list,o=r.prevList,s=r.added,l=r.removed,c=r.maintained;return ru(ru(ru([],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 wk(n){for(var t=0,e=n.length,r=1;r<e;++r)t=Math.max(py(n[r],n[r-1]),t);return t}var mM=cG(`
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
+ `),Sy="selecto-selection ".concat(mM.className),Lw=["className","boundContainer","selectableTargets","selectByClick","selectFromInside","continueSelect","continueSelectWithoutDeselect","toggleContinueSelect","toggleContinueSelectWithoutDeselect","keyContainer","hitRate","scrollOptions","checkInput","preventDefault","ratio","getElementRect","preventDragFromInside","rootContainer","dragCondition","clickBySelectEnd","checkOverflow","innerScrollOptions"],mG=ru(["dragContainer","cspNonce","preventClickEventOnDrag","preventClickEventOnDragStart","preventRightClick"],Lw),AM=["dragStart","drag","dragEnd","selectStart","select","selectEnd","keydown","keyup","scroll","innerScroll"],AG=["clickTarget","getSelectableElements","setSelectedTargets","getElementPoints","getSelectedTargets","findSelectableTargets","triggerDragStart","checkScroll","selectTargetsByPoints","setSelectedTargetsByPoints"],yG=(function(n){gM(t,n);function t(r){r===void 0&&(r={});var i=n.call(this)||this;i.selectedTargets=[],i.dragScroll=new L7,i._onDragStart=function(l,c){var u=l.data,d=l.clientX,h=l.clientY,g=l.inputEvent,p=i.options,m=p.selectFromInside,b=p.selectByClick,w=p.rootContainer,v=p.boundContainer,C=p.preventDragFromInside,x=C===void 0?!0:C,N=p.clickBySelectEnd,T=p.dragCondition;if(T&&!T(l)){l.stop();return}u.data={};var k=Xs(i.container);u.innerWidth=k.innerWidth,u.innerHeight=k.innerHeight,i.findSelectableTargets(u),u.startSelectedTargets=i.selectedTargets,u.scaleMatrix=Dw(),u.containerX=0,u.containerY=0;var _=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=eG(i.container,w)}if(v){var R=Ts(v)&&"element"in v?un({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){_u(B)?U=ho(_).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},ee=[],ue=b&&!N,fe=!1;if(!m||ue){var ie=i._findElement(c||g.target,u.selectableTargets);fe=!!ie,ue&&(ee=ie?[ie]:[])}var V=!m&&fe;if(V&&!b)return l.stop(),!1;var re=g.type,J=re==="mousedown"||re==="touchstart",Z=!l.isClick&&J?i.emit("dragStart",un(un({},l),{data:u.data})):!0;if(!Z)return l.stop(),!1;if(i.continueSelect?(ee=bk(i.selectedTargets,ee,i.continueSelectWithoutDeselect),u.startPassedTargets=i.selectedTargets):u.startPassedTargets=[],i._select(ee,K,l,!0,V&&b&&!N&&x),u.startX=d,u.startY=h,u.selectFlag=!1,u.preventDragFromInside=!1,g.target){var X=Pm(u.scaleMatrix,[d-u.containerX,h-u.containerY]);i.target.style.cssText+="position: ".concat(w?"absolute":"fixed",";")+"left:0px;top:0px;"+"transform: translate(".concat(X[0],"px, ").concat(X[1],"px)")}if(V&&b&&!N)g.preventDefault(),x&&(i._selectEnd(u.startSelectedTargets,u.startPassedTargets,K,l,!0),u.preventDragFromInside=!0);else{u.selectFlag=!0;var le=i.options,de=le.scrollOptions,me=le.innerScrollOptions,q=!1;if(me){for(var ne=l.inputEvent,Ae=ne.target,oe=null,pe=Ae;pe&&pe!==ho(_).body;){var Ee=getComputedStyle(pe).overflow!=="visible";if(Ee){oe=pe;break}pe=pe.parentElement}oe&&(u.innerScrollOptions=un({container:oe,checkScrollEvent:!0},me===!0?{}:me),i.dragScroll.dragStart(l,u.innerScrollOptions),q=!0)}!q&&de&&de.container&&i.dragScroll.dragStart(l,de),V&&b&&N&&(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=yk(l,i.options.ratio),h=c.selectFlag,g=i.container;if(u&&i.emit("dragEnd",un(un({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)||gG(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=ho(i.container);if(i.gesto.isFlag()){var u=i.dragContainer;u===Xs(i.container)&&(u=c.documentElement);var d=ck(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=un({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:bf,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=Wc(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 un(un({},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(),rn(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||bf,o=i(r),s=[o.pos1,o.pos2,o.pos4,o.pos3];if(i!==bf){var l=r.getBoundingClientRect();return K7(s,l)}return s},e.getSelectableElements=function(){var r=this.container,i=[];return this.options.selectableTargets.forEach(function(o){if(Nw(o)){var s=o();s&&i.push.apply(i,[].slice.call(s))}else if(ck(o))i.push(o);else if(Ts(o))i.push(o.value||o.current);else{var l=[].slice.call(ho(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(un({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=ho(this.container);if(c){var d=new Map;r.selectableInnerScrollParentMap=d,r.selectableInnerScrollPathsList=o.map(function(h,g){for(var p=h.parentElement,m=[],b=[],w=function(){var v=d.get(p);if(!v){var C=getComputedStyle(p).overflow!=="visible";if(C){var x=bf(p);v={parentElement:p,indexes:[],points:[x.pos1,x.pos2,x.pos4,x.pos3],paths:ru([],b)},m.push(p),m.forEach(function(N){d.set(N,v)}),m=[]}}v?(p=v.parentElement,d.get(p).indexes.push(g),b.push(p)):m.push(p),p=p.parentElement};p&&p!==u.body;)w();return b})}return l.checkOverflow||(r.selectableInners=o.map(function(){return!0})),this._refreshGroups(r),o},e.clickTarget=function(r,i){var o=fG(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 F7(i||Xs(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(Sy," ").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;Bm(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;Bm(o.toggleContinueSelect,r,function(){o.toggleContinueSelect=r,i.setKeyEvent()})},e.setToggleContinueSelectWithoutDeselect=function(r){var i=this,o=this.options;Bm(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=pM(pG("div",{className:"".concat(Sy," ").concat(g||"")}),this.target,p);var m=this.target;this.dragContainer=typeof i=="string"?[].slice.call(ho(p).querySelectorAll(i)):i||this.target.parentNode,this.gesto=new b7(this.dragContainer,{checkWindowBlur:!0,container:Xs(p),checkInput:o,preventDefault:s,preventClickEventOnDragStart:l,preventClickEventOnDrag:c,preventClickEventByCondition:u,preventRightClick:h}).on({dragStart:this._onDragStart,drag:this._onDrag,dragEnd:this._onDragEnd}),dn(document,"selectstart",this._onDocumentSelectStart),this.injectResult=mM.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,b=i.innerWidth,w=i.innerHeight,v=s==null?void 0:s.clientX,C=s==null?void 0:s.clientY,x=i.ignoreClick,N=[[d,h],[g,h],[g,p],[d,p]],T=function(ie,V){var re=bh(typeof c=="function"?"".concat(c(V)):"".concat(c)),J=x?!1:wy([v,C],ie);if(!o&&u&&J)return!0;var Z=Ak(N,ie);if(!Z.length)return!1;var X=Om(Z),le=0;if(X===0&&Om(ie)===0?(le=wk(ie),X=wk(Z)):le=Om(ie),re.unit==="px")return X>=re.value;var de=sM(Math.round(X/le*100),0,100);return de>=Math.min(100,re.value)},k=i.selectableTargets,_=i.selectablePoints,M=i.selectableInners;if(!m)return k.filter(function(ie,V){return M[V]?T(_[V],k[V]):!1});for(var I=[],R=Math.floor(d/b),B=Math.floor(g/b),U=Math.floor(h/w),j=Math.floor(p/w),K=R;K<=B;++K){var ee=m[K];if(ee)for(var ue=U;ue<=j;++ue){var fe=ee[ue];fe&&fe.forEach(function(ie){var V=_[ie],re=M[ie],J=k[ie];re&&T(V,J)&&I.push(J)})}}return hG(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,b=m.get(g);b&&(b.paths.forEach(function(w){var v=m.get(w);v.points.forEach(function(C){C[0]-=o,C[1]-=s})}),b.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=Wc(u.startSelectedTargets,r),g=h.added,p=h.removed,m=h.prevList,b=h.list,w={startSelected:m,startAdded:g.map(function(v){return b[v]}),startRemoved:p.map(function(v){return m[v]})};s&&this.emit("selectStart",un(un(un({},d),w),{rect:i,inputEvent:c,data:u.data,isTrusted:o.isTrusted,isDragStartEnd:l})),(d.added.length||d.removed.length)&&this.emit("select",un(un(un({},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=Wc(r,this.selectedTargets),m=p.added,b=p.removed,w=p.prevList,v=p.list,C=Wc(i,this.selectedTargets),x=C.added,N=C.removed,T=C.prevList,k=C.list;this.emit("selectEnd",{startSelected:r,beforeSelected:i,selected:this.selectedTargets,added:m.map(function(_){return v[_]}),removed:b.map(function(_){return w[_]}),afterAdded:x.map(function(_){return k[_]}),afterRemoved:N.map(function(_){return T[_]}),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=yk(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=Pm(p,[l-h,s-g]),b=Pm(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(b[0],"px;height:").concat(b[1],"px;");var v=this.hitTest(i,o,!0,r);w=bk(o.startPassedTargets,v,this.continueSelect&&this.continueSelectWithoutDeselect)}var C=this.emit("drag",un(un({},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=cM(r.inputEvent,r.key),l=[].concat(i),c=yh(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 b=!1;return p.every(function(w){if(b)return!0;if(w===c)return b=!0,!0;var v=u.get(w);if(v){var C=l[m],x=v.points,N=Ak(C,x);if(!N.length)return!1}return!0})})}if(!o||!s)r.innerGroups=null;else{var h=r.selectablePoints,g={};h.forEach(function(p,m){var b=1/0,w=-1/0,v=1/0,C=-1/0;p.forEach(function(T){var k=Math.floor(T[0]/o),_=Math.floor(T[1]/s);b=Math.min(k,b),w=Math.max(k,w),v=Math.min(_,v),C=Math.max(_,C)});for(var x=b;x<=w;++x)for(var N=v;N<=C;++N)g[x]=g[x]||{},g[x][N]=g[x][N]||[],g[x][N].push(m)}),r.innerGroups=g}},t=dG([C7(Lw,function(r,i){var o={enumerable:!0,configurable:!0,get:function(){return this.options[i]}},s=hy("get ".concat(i));r[s]?o.get=function(){return this[s]()}:o.get=function(){return this.options[i]};var l=hy("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})(kg),bG=(function(n){gM(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t})(yG),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)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},Ey(n,t)};function wG(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ey(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var vh=function(){return vh=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},vh.apply(this,arguments)};function CG(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 Ck=AM.map(function(n){return hy("on ".concat(n))}),vG=(function(n){wG(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:Sy,ref:w7(this,"selectionElement")})},e.componentDidMount=function(){var r=this,i=this.props,o={};mG.forEach(function(s){s in i&&(o[s]=i[s])}),this.selecto=new bG(vh(vh({},o),{portalContainer:this.selectionElement})),AM.forEach(function(s,l){r.selecto.on(s,function(c){var u=r.props,d=u[Ck[l]]&&u[Ck[l]](c);d===!1&&c.stop()})})},e.componentDidUpdate=function(r){var i=this.props,o=this.selecto;Lw.forEach(function(s){r[s]!==i[s]&&(o[s]=i[s])})},e.componentWillUnmount=function(){this.selecto.destroy()},CG([v7(AG)],t.prototype,"selecto",void 0),t})(E.PureComponent);const xG=({editor:n})=>{const t=E.useRef(null),[e,r]=E.useState({depth:0,targets:zA});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=et(n.registerCommand(Qa,()=>{var h;const c=((h=t.current)==null?void 0:h.getSelectedTargets())||[],{hasSelectedBlock:u,selectedAllDocument:d}=va();if(u)c.forEach(g=>Ju(g));else if(d){const g=document.querySelector("div.ContentEditable__root");g==null||g.classList.remove("selected-all-document")}return!1},zi),n.registerCommand(Va,c=>{const{hasSelectedBlock:u,selectedAllDocument:d}=va(),h=c.ctrlKey||c.metaKey||c.altKey;return c.key.length===1&&!h&&n.update(()=>{var b;const p=_e(),m=Do();if(p.append(m),u)(((b=t.current)==null?void 0:b.getSelectedTargets())||[]).forEach((v,C)=>{const x=Be(v);x&&(C===0?x.replace(p).selectEnd():x.remove())});else if(d){const w=document.querySelector("div.ContentEditable__root");w==null||w.classList.remove("selected-all-document");const v=Re();v.clear(),v.append(p).selectEnd()}},{tag:"historic"}),!1},Ne),n.registerCommand(Iu,()=>{const{selectedAllDocument:c}=va();if(c){const u=document.querySelector("div.ContentEditable__root");u==null||u.classList.remove("selected-all-document")}return!1},zi))},s=n.registerUpdateListener(()=>{const{hasSelectedBlock:c,selectedAllDocument:u}=va(),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(vG,{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:()=>{TN(n),r({targets:zA,depth:0})},onSelect:i=>n8(i,n,e,r,t.current),scrollOptions:t8,onScroll:i=>{document.documentElement.scrollBy(i.direction[0]*10,i.direction[1]*10)}})},SG=1,EG=100;let yM=0,vk=!1;function kG(){window.addEventListener("keydown",n=>{n.key==="Tab"&&(n.preventDefault(),yM=n.timeStamp)},!0)}function TG(){const[n]=De();return E.useEffect(()=>(vk||(kG(),vk=!0),n.registerCommand(_s,t=>{const e=G();return H(e)&&yM+EG>t.timeStamp&&Qe(e.clone()),!1},SG)),[n]),null}function _G(n,t){const e=n.anchor,r=n.focus,o=(r.isBefore(e)?r:e).getNode(),s=ju(o);if(!t&&s.__prev===null)return!0;s instanceof wn&&!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 wn&&(l(g),g.setIndent(Math.max(0,g.getIndent()-1)))})};return t&&l(s),!1}function NG(n){return n.registerCommand(qa,t=>{const e=G();if(!H(e))return!1;try{if(_G(e,t.shiftKey))return!1;t.preventDefault();const i=t.shiftKey?Zs:wo;return n.dispatchCommand(i,void 0)}catch{return!1}},Ke)}function IG(){const[n]=De();return E.useEffect(()=>NG(n)),null}function xk(n){let t=1;for(;n;)t*=Number(window.getComputedStyle(n).getPropertyValue("zoom")),n=n.parentElement;return t}const MG=33,DG=50;function LG({editor:n}){const t=E.useRef(null),e=E.useRef(null),r=E.useRef(null),i=E.useRef(null),[o,s]=E.useState(null),[l,c]=E.useState(null),[u,d]=E.useState(!1),[h,g]=E.useState(null);E.useEffect(()=>n.registerCommand(Yr,T=>{const k=G(),_=bt(k);return u!==_&&d(_),!1},po));const p=E.useCallback(()=>{c(null),t.current=null,g(null),i.current=null,r.current=null},[]);E.useEffect(()=>{const T=k=>{setTimeout(()=>{const _=k.target;if(h){s({x:k.clientX,y:k.clientY});return}if(!(e.current&&e.current.contains(_))&&t.current!==_&&_ instanceof HTMLElement){const M=_.getBoundingClientRect(),I=k.clientX-M.left,R=M.width/3,B=I<R?10:0,U=k.clientX-B,j=document.elementFromPoint(U,k.clientY);t.current=j;const K=KA(j);K&&l!==K?n.update(()=>{const ee=Be(K.elem);if(!ee)throw new Error("TableCellResizer: Table cell node not found.");const ue=ss(ee),fe=n.getElementByKey(ue.getKey());if(!fe)throw new Error("TableCellResizer: Table element not found.");t.current=_,r.current=fe.getBoundingClientRect(),c(K)}):K==null&&p()}},0)};return document.addEventListener("mousemove",T),()=>{document.removeEventListener("mousemove",T)}},[l,h,n,p]);const m=T=>T==="bottom",b=E.useCallback(T=>{if(!l)throw new Error("TableCellResizer: Expected active cell.");n.update(()=>{const k=Be(l.elem);if(!Oe(k))throw new Error("TableCellResizer: Table cell node not found.");const _=ss(k),M=cg(k),I=_.getChildren();if(M>=I.length||M<0)throw new Error("Expected table cell to be inside of table row.");const R=I[M];if(!an(R))throw new Error("Expected table row");R.setHeight(T)})},[l,n]),w=E.useCallback((T,k)=>{if(!l)throw new Error("TableCellResizer: Expected active cell.");n.update(()=>{const _=Be(l.elem);if(!Oe(_))throw new Error("TableCellResizer: Table cell node not found.");const M=ss(_),I=ug(_),R=M.getChildren();for(let B=0;B<R.length;B++){const U=R[B];if(!an(U))throw new Error("Expected table row");const j=U.getChildren(),ue=j.map(ie=>ie.getColSpan()).reduce((ie,V)=>{const re=ie[ie.length-1]??0;return ie.push(re+V),ie},[]).findIndex(ie=>ie>I);if(ue>=j.length||ue<0)throw new Error("Expected table cell to be inside of table row.");const fe=j[ue];if(!Oe(fe))throw new Error("Expected table cell");fe.setWidth(T)}})},[l,n]),v=E.useCallback(T=>{const k=_=>{if(_.preventDefault(),_.stopPropagation(),n.dispatchCommand(Eo,!0),!l)throw new Error("TableCellResizer: Expected active cell.");if(i.current){const{x:M,y:I}=i.current;if(l===null)return;const R=xk(_.target);if(m(T)){const B=l.elem.getBoundingClientRect().height,U=Math.abs(_.clientY-I)/R,j=T==="bottom"&&I>_.clientY;b(Math.max(j?B-U:U+B,MG))}else{const B=getComputedStyle(l.elem);let U=l.elem.clientWidth;U-=parseFloat(B.paddingLeft)+parseFloat(B.paddingRight);const j=Math.abs(_.clientX-M)/R,K=T==="right"&&M>_.clientX;w(Math.max(K?U-j:j+U,DG),U),n.update(()=>{Qe(null)})}p(),document.removeEventListener("mouseup",k)}};return k},[l,p,w,b]),C=E.useCallback(T=>k=>{const _=n.getRootElement();if(_&&_.contains(document.activeElement)&&Sa(n),k.preventDefault(),k.stopPropagation(),n.dispatchCommand(Eo,!0),!l)throw new Error("TableCellResizer: Expected active cell.");i.current={x:k.clientX,y:k.clientY},s(i.current),g(T),document.addEventListener("mouseup",v(T))},[l,v]),N=E.useCallback(()=>{if(l){const{height:T,width:k,top:_,left:M,right:I}=l.elem.getBoundingClientRect(),{right:R}=n._rootElement.getBoundingClientRect(),B=xk(l.elem),U=I>R?I-R+20:0,j={bottom:{backgroundColor:"transparent",cursor:"row-resize",height:"10px",left:`${window.pageXOffset+M+5}px`,top:`${window.pageYOffset+_+T-5}px`,width:`${k-U}px`},right:{backgroundColor:"transparent",cursor:"col-resize",height:`${T-7}px`,left:`${window.pageXOffset+M+k-5}px`,display:U?"none":"block",top:`${window.pageYOffset+_+7}px`,width:"12px"}},K=r.current;return h&&o&&K&&(m(h)?(j[h].left=`${window.pageXOffset+K.left}px`,j[h].top=`${window.pageYOffset+o.y/B}px`,j[h].height="3px",j[h].width=`${K.width}px`):(j[h].top=`${window.pageYOffset+K.top}px`,j[h].left=`${window.pageXOffset+o.x/B}px`,j[h].width="3px",j[h].height=`${K.height}px`),j[h].backgroundColor="#adf"),j}return{bottom:null,left:null,right:null,top:null}},[l,h,o])();return A.jsx("div",{ref:e,children:l!=null&&!u&&A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:N.right||void 0,onMouseDown:C("right")}),A.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:N.bottom||void 0,onMouseDown:C("bottom")})]})})}function OG({}){const[n]=De(),t=fw();return E.useMemo(()=>t?mr.createPortal(A.jsx(LG,{editor:n}),document.body):null,[n,t])}function RG(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 Lf(n){const t=n.getShape();return{columns:t.toX-t.fromX+1,rows:t.toY-t.fromY+1}}function PG(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(Oe(l)){const c=l.getParentOrThrow();if(RG(an(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 BG(){const n=G();if(H(n)&&!n.isCollapsed()||bt(n)&&!n.anchor.is(n.focus)||!H(n)&&!bt(n))return!1;const[t]=zn(n.anchor);return t.__colSpan>1||t.__rowSpan>1}function Sk(n){if(n.getChildrenSize()!==1)return!1;const t=n.getFirstChildOrThrow();return!(!gn(t)||!t.isEmpty())}function FG(n){const t=n.getLastDescendant();Un(t)?t.select():Y(t)?t.selectEnd():t!==null&&t.selectNext()}function jG(n){return n.getEditorState().read(()=>{const t=G();if(H(t)||bt(t)){const[e]=zn(t.anchor);if(Oe(e))return e.getBackgroundColor()}return null})}function zG(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 UG(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 KG=({tableCellNode:n,setIsMenuOpen:t,contextRef:e,cellMerge:r,isMenuOpen:i,selectionBeforeMenuOpenedRef:o,currentIndexColumn:s,currentIndexRow:l,tableDom:c})=>{const[u]=De(),d=E.useRef(null),[h,g]=E.useState(n),[p,m]=E.useState({columns:1,rows:1}),[b,w]=E.useState(!1),[v,C]=E.useState(!1),[x,N]=E.useState(""),{t:T}=pt.useTranslation();E.useEffect(()=>u.registerMutationListener(di,V=>{V.get(h.getKey())==="updated"&&(u.getEditorState().read(()=>{g(h.getLatest())}),N(jG(u)||""))}),[u,h]),E.useEffect(()=>{i?u.getEditorState().read(()=>{const V=o.current;if(V&&bt(V)){const re=Lf(V);m(Lf(V)),w(PG(V)&&(re.columns>1||re.rows>1))}try{C(BG())}catch{}}):u.update(()=>{G()!==null&&setTimeout(()=>{w(!1),o.current=null,m({columns:1,rows:1});try{h.getParent(),k()}catch{}},200)})},[i]),E.useEffect(()=>{const V=e.current,re=d.current,J=u.getRootElement();if(V!=null&&re!=null&&J!=null){const Z=J.getBoundingClientRect(),X=V.getBoundingClientRect();re.style.opacity="1";const le=re.getBoundingClientRect(),de=5;let me=X.right+de;if(me+le.width>window.innerWidth||me+le.width>Z.right){const ne=X.left-le.width-de;me=(ne<0?de:ne)+window.pageXOffset}re.style.left=`${me+window.pageXOffset}px`;let q=X.top;if(q+le.height>window.innerHeight){const ne=X.bottom-le.height;q=(ne<0?de:ne)+window.pageYOffset}re.style.top=`${q+ +window.pageYOffset}px`}},[e,d,u]),E.useEffect(()=>{function V(re){d.current!=null&&e.current!=null&&!d.current.contains(re.target)&&!e.current.contains(re.target)&&t(!1)}return window.addEventListener("click",V),()=>window.removeEventListener("click",V)},[t,e]);const k=E.useCallback(()=>{u.update(()=>{if(h.isAttached()){const re=ss(h),J=u.getElementByKey(re.getKey());if(!J)throw new Error("Expected to find tableElement in DOM");const Z=Yb(J);Z!==null&&Z.clearHighlight(),re.markDirty(),g(h.getLatest())}Re().selectStart()})},[u,h]),_=()=>{u.update(()=>{const V=o.current;if(bt(V)){const{columns:re,rows:J}=Lf(V),Z=V.getNodes();let X=null;for(let le=0;le<Z.length;le++){const de=Z[le];if(Oe(de))if(X===null){de.setColSpan(re).setRowSpan(J),X=de;const me=Sk(de);let q;me&&gn(q=de.getFirstChild())&&q.remove()}else Oe(X)&&(Sk(de)||X.append(...de.getChildren()),de.remove())}X!==null&&(X.getChildrenSize()===0&&X.append(_e()),FG(X))}})},M=()=>{u.update(()=>{c8()})},I=E.useCallback(V=>{u.update(()=>{for(let re=0;re<p.rows;re++)ch(V)})},[u,p.rows]),R=E.useCallback(V=>{u.update(()=>{for(let re=0;re<p.columns;re++)UA(V)})},[u,p.columns]),B=E.useCallback(()=>{u.update(()=>{l8()})},[u]),U=E.useCallback(()=>{u.update(()=>{ss(n).remove(),k()})},[u,n,k]),j=E.useCallback(()=>{u.update(()=>{a8()})},[u]),K=E.useCallback(()=>{u.update(()=>{const V=ss(h),re=cg(h),J=V.getChildren();if(re>=J.length||re<0)throw new Error("Expected table cell to be inside of table row.");const Z=J[re];if(!an(Z))throw new Error("Expected table row");const X=h.getHeaderStyles()^hn.ROW;Z.getChildren().forEach(le=>{if(!Oe(le))throw new Error("Expected table cell");le.getBackgroundColor()==="rgb(242, 243, 245)"&&le.setBackgroundColor(null),le.setHeaderStyles(X,hn.ROW)}),k()})},[u,h,k]),ee=E.useCallback(V=>{u.update(()=>{const re=ss(h),J=ug(h),Z=re.getChildren(),X=Math.max(...Z.map(de=>de.getChildren().length));if(J>=X||J<0)throw new Error("Expected table cell to be inside of table row.");const le=h.getHeaderStyles()^hn.COLUMN;for(let de=0;de<Z.length;de++){const me=Z[de];if(!an(me))throw new Error("Expected table row");const q=me.getChildren();if(J>=q.length)continue;const ne=q[J];if(!Oe(ne))throw new Error("Expected table cell");V?(ne.getBackgroundColor()==="rgb(242, 243, 245)"&&ne.setBackgroundColor(null),ne.setHeaderStyles(0,3)):ne.setHeaderStyles(le,hn.COLUMN)}k()})},[u,h,k]),ue=E.useCallback(V=>{u.update(()=>{const re=o.current;if(H(re)||bt(re)){const[J]=zn(re.anchor);if(Oe(J)&&J.setBackgroundColor(V),bt(re)){const Z=re.getNodes();for(let X=0;X<Z.length;X++){const le=Z[X];Oe(le)&&le.setBackgroundColor(V)}}}})},[u]),fe=l===0&&UG(c),ie=s===0&&zG(s||0,c);return A.jsxs(A.Fragment,{children:[r&&A.jsxs(A.Fragment,{children:[b&&A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{name:"layers-union"}),"data-test-id":"table-merge-cells",onClick:()=>_(),children:T("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:T("editor.table.menu.disconnectCells")})]}),A.jsx(Ft.NewColorPicker,{modes:["background"],value:{background:x},onChange:V=>ue(V.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:T("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:[T("editor.table.menu.insertRow",{count:p.rows})," ",T("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:[T("editor.table.menu.insertRow",{count:p.rows})," ",T("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:[T("editor.table.menu.insertCol",{count:p.columns})," ",T("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:[T("editor.table.menu.insertCol",{count:p.columns})," ",T("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:T("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:T("editor.table.menu.deleteRow",{count:p.rows})}),A.jsx(L.Menu.Item,{leftSection:A.jsx(xe,{name:"table-off"}),onClick:()=>U(),children:T("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:T("editor.table.menu.headTable_row",{value:T(fe?"editor.contextMenu.delete":"editor.contextMenu.add")})}),s===0&&A.jsx(L.Menu.Item,{onClick:()=>ee(ie),"data-test-id":"table-column-header",children:T("editor.table.menu.headTable_col",{value:T(ie?"editor.contextMenu.delete":"editor.contextMenu.add")})})]})},WG=({tableCellNode:n,setIsMenuOpen:t,contextRef:e,cellMerge:r,children:i,tableDom:o,isMenuOpen:s})=>{const[l]=De(),c=E.useRef(null),u=E.useRef(null),d=E.useRef(null),h=()=>{t(!0),l.read(()=>{const g=ug(n),p=cg(n);u.current=g,d.current=p;const m=G();if(bt(m)){const{columns:b,rows:w}=Lf(m);(b>1||w>1)&&(c.current=m)}else V6(n,l),setTimeout(()=>{l.read(()=>{const b=G();c.current=b})},200)})};return A.jsxs(L.Menu,{onOpen:h,onClose:()=>t(!1),shadow:"md",position:"right",opened:s,transitionProps:Vi,children:[A.jsx(L.Menu.Target,{children:i}),A.jsx(L.Menu.Dropdown,{children:A.jsx(KG,{isMenuOpen:s,contextRef:e,tableCellNode:n,cellMerge:r,setIsMenuOpen:t,tableDom:o,currentIndexColumn:u.current,currentIndexRow:d.current,selectionBeforeMenuOpenedRef:c})})]})},HG=(n,t)=>{window.matchMedia("(pointer: coarse)").matches&&t&&setTimeout(()=>{t.scrollBy({left:n+25,behavior:"smooth"})},100)},co=12;function YG({anchorElem:n,isShowTableOptions:t,cellMerge:e}){var V,re;const[r]=De(),[i,o]=E.useState(!1),[s,l]=E.useState({}),[c,u]=E.useState({}),[d,h]=E.useState({}),[g,p]=E.useState({}),[m,b]=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),N=E.useRef(null),T=E.useRef(new Set),k=E.useRef(null),_=E.useRef(null),M=E.useRef(null),I=E.useRef(null),R=E.useRef(null),{t:B}=pt.useTranslation(),U=gg(J=>{const{isOutside:Z,tableDOMNode:X}=ZG(J,r,w.row),le=J.target;if(le!=null&&le.closest(".table-cell-add-container")||le!=null&&le.closest(".table-row-add-container"))return;if(Z&&(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(!X)return;_.current=X;let de=null,me=null,q=null;r.update(()=>{var oe,pe,Ee,Ce,we;const ne=Be(X),Ae=X==null?void 0:X.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,Oe(ne))){const Ue=Te(ne,tt=>wt(tt));if(!wt(Ue))return;if(q=r.getElementByKey(Ue==null?void 0:Ue.getKey()),q){const tt=Ue.getChildrenSize(),Ie=(pe=Ue.getChildAtIndex(0))==null?void 0:pe.getChildrenSize(),qe=cg(ne),ut=ug(ne);M.current=(Ee=q.firstChild)==null?void 0:Ee.childNodes[qe+1].firstChild,I.current=(we=(Ce=q.firstChild)==null?void 0:Ce.childNodes[1])==null?void 0:we.childNodes[ut],setTimeout(()=>{Ae==="bottom"?(de=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})):qe===tt-1&&ut===Ie-1?(de=ne,me=ne,v({top:!1,bottom:!1,left:!1,right:!1,column:!0,row:!0,options:!0})):!qe&&!ut?v({top:!1,bottom:!0,left:!1,right:!0,column:!1,row:!1,options:!0}):ut&&!qe&&ut!==Ie-1?v({top:!1,bottom:!1,left:!0,right:!0,column:!1,row:!1,options:!0}):!ut&&qe&&qe!==tt-1?v({top:!0,bottom:!0,left:!1,right:!1,column:!1,row:!1,options:!0}):!ut&&qe===tt-1?(de=ne,v({top:!0,bottom:!1,left:!1,right:!1,column:!1,row:!0,options:!0})):!qe&&ut===Ie-1?(me=ne,v({top:!1,bottom:!1,left:!0,right:!1,column:!0,row:!1,options:!0})):!ut&&qe&&qe!==tt-1?v({top:!0,bottom:!0,left:!1,right:!0,column:!1,row:!1,options:!0}):qe===tt-1?(de=ne,v({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!0,options:!0})):ut===Ie-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,Ee;if(q){const{width:Ce,y:we,left:Ue,right:tt,bottom:Ie,height:qe}=q.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=q.getBoundingClientRect().left+q.clientWidth,$e=dt.top-ut+6;let Xt=dt.right-lt-20;Xt>ht-lt&&(Xt=ht-lt-20),C||b({top:$e,left:Xt})}}if(I.current){const{top:nt,width:dt,left:kt,right:ht}=I.current.getBoundingClientRect(),$e=co,Xt=kt-lt-$e/2,zt=nt-ut-$e/2;let or=dt+$e+2;ht>tt&&(or=or-(ht-tt)),h({width:or,height:$e,top:zt,left:Xt})}if(M.current){const{top:nt,height:dt}=M.current.getBoundingClientRect(),kt=co,ht=Ue-lt-kt/2,$e=nt-ut-kt/2;p({height:dt+kt+2,top:$e,left:ht})}const Ht=(ne=q.parentElement)!=null&&ne.classList.contains("dsd__theme__callout-container")&&document.documentElement.getAttribute("data-mantine-color-scheme")==="light"?"rgba(173, 181, 189, 0.7)":"";if(de){const nt=Ie-ut+3,dt=((Ae=q.firstElementChild)==null?void 0:Ae.clientWidth)||0;l({left:Ue-lt,top:nt,width:Ce>dt?dt-2:Ce,padding:0,backgroundColor:Ht})}const{right:vn}=(oe=q.firstElementChild)==null?void 0:oe.getBoundingClientRect(),Fe=tt>vn?vn:tt;me&&(HG(tt,(Ee=(pe=r._rootElement)==null?void 0:pe.parentElement)==null?void 0:Ee.parentElement),u({height:qe,left:Fe-lt+3,top:we-ut,padding:0,backgroundColor:Ht}))}},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=(re=(V=M.current)==null?void 0:V.parentElement)==null?void 0:re.parentElement;E.useEffect(()=>{var J;K&&((J=K.parentElement)==null||J.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(Eo,J=>(J&&j(),!1),Ne),[]),E.useEffect(()=>et(r.registerMutationListener(hi,J=>{r.getEditorState().read(()=>{for(const[Z,X]of J)switch(X){case"created":T.current.add(Z),k.current=r.getElementByKey(Z),o(T.current.size>0);break;case"destroyed":T.current.delete(Z),o(T.current.size>0);break;case"updated":o(!0);const le=r.getElementByKey(Z);k.current=le;break}})})),[r]);const ee=J=>{r.update(()=>{if(_.current){const Z=Be(_.current);J?(Z==null||Z.selectNext(),ch(),j()):(Z==null||Z.selectEnd(),UA(),j())}})},ue=E.useCallback(J=>{r.update(()=>{const Z=M.current;if(Z){const X=Be(Z);X==null||X.selectEnd(),ch(J),j()}})},[r]),fe=E.useCallback(J=>{r.update(()=>{const Z=I.current;if(Z){const X=Be(Z);X==null||X.selectEnd(),UA(J),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:J=>A.jsx("div",{className:"table-cell-action-button-container",style:{...J,...m},children:R.current&&A.jsx(WG,{isMenuOpen:C,contextRef:N,tableCellNode:R.current,cellMerge:e,setIsMenuOpen:x,tableDom:k.current,children:A.jsx(L.Tooltip,{label:B("editor.table.settings"),children:A.jsx(L.ActionIcon,{tabIndex:-1,className:"table-cell-action-button",ref:N,size:co,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:J=>A.jsx(L.Tooltip,{label:B("editor.table.menu.addRowBelow"),position:"bottom",children:A.jsx(L.Button,{className:"dsd__theme__tableAddRows",style:{...J,...s},onClick:()=>ee(!0),variant:"light",size:"xs",color:"gray",radius:"sm",h:23,children:A.jsx(te.IconPlus,{size:co,className:"dsd__theme__tableAddRows-icon",stroke:1})})})}),A.jsx(L.Transition,{mounted:w.column,transition:"fade",duration:300,timingFunction:"ease",children:J=>A.jsx(L.Tooltip,{label:B("editor.table.menu.addColAfter"),position:"right",children:A.jsx(L.Button,{className:"dsd__theme__tableAddColumns",style:{...J,...c},onClick:()=>ee(!1),variant:"light",justify:"center",size:"xs",color:"gray",w:23,radius:"sm",children:A.jsx(te.IconPlus,{className:"dsd__theme__tableAddColumns-icon",size:co,stroke:1})})})}),A.jsx(L.Transition,{mounted:M.current!=null&&(w.top||w.bottom)&&!ie,transition:"fade",duration:300,timingFunction:"ease",children:J=>A.jsx("div",{className:"table-row-add-container",style:{...J,...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:co,variant:"light",radius:"xl","aria-label":"Settings",color:"gray",style:{opacity:w.top?1:0,pointerEvents:w.top?"auto":"none"},children:A.jsx(te.IconPlus,{size:10,stroke:1})})}),A.jsx(L.Tooltip,{label:B("editor.table.menu.addRowBelow"),children:A.jsx(L.ActionIcon,{onClick:()=>ue(!0),size:co,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",style:{opacity:w.bottom?1:0,pointerEvents:w.bottom?"auto":"none"},children:A.jsx(te.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:J=>A.jsx("div",{className:"table-cell-add-container",style:{...J,...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:co,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",children:A.jsx(te.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:co,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",children:A.jsx(te.IconPlus,{size:10,stroke:1})})})})]})})})]})}function ZG(n,t,e){const r=n.target;let i="";const o=document.querySelector("div.new-paragraph");if(t.read(()=>{const s=Re().getLastChild();wt(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 GG({anchorElem:n=document.body,cellMerge:t=!1}){return mr.createPortal(A.jsx(YG,{isShowTableOptions:!1,cellMerge:t,anchorElem:n}),n)}function Ow(n){return[n.getKey(),n.getTextContent(),n.getTag()]}function JG(n,t,e){if(t===null)return e;const r=Ow(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 VG(n,t){const e=[];for(const r of t)r[0]!==n&&e.push(r);return e}function QG(n,t){const e=[];for(const r of t)r[0]===n.getKey()?e.push(Ow(n)):e.push(r);return e}function Ek(n,t,e){const r=[],i=Ow(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 Fm(n){let t=ux(n);for(;t!==null&&!So(t);)t=ux(t);return t}function XG({children:n}){const[t,e]=E.useState([]),[r]=De();return E.useEffect(()=>{let i=[];r.getEditorState().read(()=>{const c=u=>{for(const d of u.getChildren())So(d)?i.push([d.getKey(),d.getTextContent(),d.getTag()]):Y(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(So(g)){const p=Fm(g);i=Ek(p,g,i),e(i)}else Y(g)&&d(g)};Re().getChildren().forEach(h=>{Y(h)&&u.get(h.__key)&&d(h)})})}),s=r.registerMutationListener(Gu,c=>{r.getEditorState().read(()=>{for(const[u,d]of c)if(d==="created"){const h=Se(u);if(h!==null){const g=Fm(h);i=JG(g,h,i)}}else if(d==="destroyed")i=VG(u,i);else if(d==="updated"){const h=Se(u);if(h!==null){const g=Fm(h);i=Ek(g,h,i)}}e(i)})},{skipInitialization:!0}),l=r.registerMutationListener(Mn,c=>{r.getEditorState().read(()=>{for(const[u,d]of c)if(d==="updated"){const h=Se(u);if(h!==null){const g=h.getParentOrThrow();So(g)&&(i=QG(g,i),e(i))}}})},{skipInitialization:!0});return()=>{s(),l(),o()}},[r]),n(t,r)}const xh=624,bM=9;function qG(n,t,e){return n||`${e("editor.heading.name")} ${t.split("")[1]}`}function $G(n){var e;const t=(e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y;return t>=xh&&t<=xh+bM}function wf(n){var e;return((e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y)<xh}function jm(n){var e;return((e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y)>=xh+bM}function eJ({tableOfContents:n}){const[t,e]=E.useState(""),r=E.useRef(0),[i]=De(),{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 b=i.getElementByKey(n[r.current-1][0]);b!==null&&(wf(b)||jm(b))&&r.current--,p=b}const m=n[r.current][0];e(m)}else if(wf(p)){for(;p!==null&&wf(p)&&r.current<n.length-1;){const b=i.getElementByKey(n[r.current+1][0]);b!==null&&($G(b)||wf(b))&&r.current++,p=b}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:qG(d,h,o)},u))]})]})}function ky(){return A.jsx(XG,{children:n=>A.jsx(eJ,{tableOfContents:n})})}function tJ({hasCellMerge:n=!0,hasCellBackgroundColor:t=!0,hasTabHandler:e=!0,hasHorizontalScroll:r=!0}){const[i]=De();return E.useEffect(()=>{E8(i,r)},[i,r]),E.useEffect(()=>(i.hasNodes([hi,di,sc])||je(!1,"TablePlugin: TableNode, TableCellNode or TableRowNode not registered on editor"),et(i.registerCommand(lg,({columns:o,rows:s,includeHeaders:l})=>{const c=o8(Number(s),Number(o),l),u=jt();u&&u.replace(c);const d=c.getFirstDescendant();return Un(d)&&d.select(),!0},Ke),i.registerNodeTransform(hi,o=>{const[s]=IN(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=fi(0);p.append(_e()),d.append(p)}}}))),[i]),E.useEffect(()=>{const o=new Map,s=(c,u,d)=>{const h=vl(c,d),g=h8(c,h,i,e);o.set(u,[g,h])},l=i.registerMutationListener(hi,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}=MN(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(di,o=>{if(o.getColSpan()>1||o.getRowSpan()>1){const[,,s]=zn(o),[l]=Qr(s,o,o),c=l.length,u=l[0].length;let d=s.getFirstChild();je(an(d),"Expected TableNode first child to be a RowNode");const h=[];for(let g=0;g<c;g++){g!==0&&(d=d.getNextSibling(),je(an(d),"Expected TableNode first child to be a RowNode"));let p=null;for(let m=0;m<u;m++){const b=l[g][m],w=b.cell;if(b.startRow===g&&b.startColumn===m)p=w,h.push(w);else if(w.getColSpan()>1||w.getRowSpan()>1){je(Oe(w),"Expected TableNode cell to be a TableCellNode");const v=fi(w.__headerState);p!==null?p.insertAfter(v):Jj(d,v)}}}for(const g of h)g.setColSpan(1),g.setRowSpan(1)}})},[i,n]),E.useEffect(()=>{if(!t)return i.registerNodeTransform(di,o=>{o.getBackgroundColor()!==null&&o.setBackgroundColor(null)})},[i,t,n]),null}function kk(n){return(n==null?void 0:n.tagName)==="TABLE"}const nJ=n=>{const t=G();if(H(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=Te(e,wt),i=Te(e,Oe);return Sg(n,r,i)}return!0};function rJ(n){const{floatingAnchorElem:t,isSmallWidthViewport:e}=n,[r]=De(),{settings:{tableCellMerge:i,showTableOfContents:o,tableCellBackgroundColor:s}}=gw();return E.useEffect(()=>et(r.registerCommand(kl,l=>{var h,g;try{const p=l.clipboardData||window.clipboardData;if(!p)return!1;const m=p.getData("text/html"),b=document.createElement("div");b.innerHTML=m;let w=null;b.childNodes.length===1&&kk(b.firstChild)&&(w=b.firstChild),b.childNodes.length===2&&kk(b.childNodes[1])&&(w=b.childNodes[1]);const v=HA?1:2;if(b.childNodes.length===(HA?2:5)&&((h=b.childNodes[v].className)!=null&&h.includes("table-scrollable-wrapper"))&&(w=b.childNodes[v].firstChild),w){l.preventDefault();const C=jt();if(C){const x=Te(C,Oe),N=Te(C,an),T=Te(C,wt);if(!T||!N||!x)return!1;const k=w.querySelectorAll("tr"),_=k[0].childNodes,M=T.getChildren();let I=null,R=0;for(let j=0;j<T.getChildren().length;j++)if(T.getChildren()[j].__key===(N==null?void 0:N.__key)&&(R=j,j+k.length>M.length)){let ee=j+k.length-M.length;(g=T==null?void 0:T.getLastChild())==null||g.selectStart();for(let ue=0;ue<ee;ue++)ch(!0);break}let B=0;T.getChildren().forEach((j,K)=>{if(K>=R&&k[B]){let ee=0;j.getChildren().forEach((fe,ie)=>{var V,re;if(Oe(fe)&&(fe.__key===(x==null?void 0:x.__key)&&(I=ie,fe==null||fe.selectStart()),I!==null&&ie>=I&&ie<_.length+I)){const J=((re=(V=k[B])==null?void 0:V.childNodes[ee])==null?void 0:re.innerText)||"";fe.clear();const Z=_e(),X=Do(J||"");Z.append(X),fe.append(Z),ee++}}),B++}})}return!0}}catch(p){console.error("TABLE PASTE",p)}const c=G(),u=c==null?void 0:c.getNodes();return Oe(u[1])&&r.update(()=>{u.forEach(p=>{wt(p)&&p.remove()})}),!1},Ne)),[r]),A.jsxs(A.Fragment,{children:[A.jsx(tJ,{hasCellMerge:i,hasCellBackgroundColor:s,hasTabHandler:!0,hasHorizontalScroll:!0}),A.jsx(OG,{}),t&&A.jsxs(A.Fragment,{children:[A.jsx(GG,{anchorElem:t,cellMerge:!0}),A.jsx("div",{children:o&&A.jsx(ky,{})})]})]})}const iJ=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 oJ({editor:n,value:t,disabled:e=!1,setElementFormat:r}){const{t:i,i18n:o}=pt.useTranslation(),s=E.useMemo(()=>iJ(i),[o.language]),l=E.useMemo(()=>t==="start"||t==="end"?s.left:s[t||"left"],[t,o.language]),c=u=>{r(u),n.dispatchCommand(Nh,u)};return A.jsxs(L.Menu,{transitionProps:Vi,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",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"),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"),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"),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"),children:s.justify.name})]})]})}const sJ=(n,t,e,r)=>{n.update(()=>{if(H(e)){const i=yt(t);e.insertNodes([i]),r()}})},lJ=(n,t,e,r)=>{n.update(()=>{if(H(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()}}})},aJ=(n,t="",e,r)=>{n.update(()=>{if(!H(e))return;const o=e.anchor.getNode().getTopLevelElementOrThrow(),s=_e();t&&s.append(yt(t)),o.insertAfter(s),r()})},cJ=(n,t)=>{n.update(()=>{const e=G();if(H(e)){const r=e.getTextContent();t(r)}})},uJ=({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(te.IconArrowNarrowLeft,{size:14}),onClick:()=>r("main"),children:o("editor.ai.back")}),A.jsx(L.Menu.Item,{onClick:()=>{sJ(n,t,s,i)},leftSection:A.jsx(te.IconReplace,{size:14}),children:o("editor.ai.menu.answer.replaceSelection")}),A.jsx(L.Menu.Item,{onClick:()=>{lJ(n,` ${t}`,s,i)},leftSection:A.jsx(te.IconTextPlus,{size:14}),children:o("editor.ai.menu.answer.addTextInline")}),A.jsx(L.Menu.Item,{onClick:()=>{aJ(n,t,s,i),i()},leftSection:A.jsx(te.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(te.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(te.IconReload,{size:14}),children:o("editor.ai.menu.answer.regenerate")}),A.jsx(L.Menu.Item,{onClick:i,leftSection:A.jsx(te.IconTrash,{size:14}),children:o("editor.ai.menu.answer.discard")})]}),dJ=["arabic","bengali","chinese","dutch","english","french","german","hindi","japanese","korean","nepali","portuguese","spanish"],fJ=["professional","straightforward","friendly","poetic","passiveAggressive","pirate"],hJ=[{title:"modifySelection",options:[{title:"improveWriting",prompt:"Improve the quality of the text",icon:A.jsx(te.IconWand,{size:14})},{title:"fixMistakes",prompt:"Fix any typos or general errors in the text",icon:A.jsx(te.IconTextSpellcheck,{size:14})},{title:"simplify",prompt:"Shorten the text, simplifying it",icon:A.jsx(te.IconSortAscending,{size:14})},{title:"addMoreDetail",prompt:"Lengthen the text, going into more detail",icon:A.jsx(te.IconSortDescending,{size:14})}]},{title:"generate",options:[{title:"summarise",prompt:"Summarise the text",icon:A.jsx(te.IconNotes,{size:14})},{title:"translate",icon:A.jsx(te.IconLanguage,{size:14}),type:"language"},{title:"changeStyle",icon:A.jsx(te.IconScript,{size:14}),type:"style"},{title:"explain",prompt:"Explain what the text is about",icon:A.jsx(te.IconHelpOctagon,{size:14})}]}],gJ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Item,{leftSection:A.jsx(te.IconArrowNarrowLeft,{size:14}),onClick:()=>n("main"),children:e("editor.ai.back")}),dJ.map(r=>A.jsx(L.Menu.Item,{onClick:()=>{t(`Translate text into the ${r} language`)},children:e(`editor.ai.menu.languages.${r}`)},r))]}),pJ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsx(A.Fragment,{children:hJ.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))}),mJ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsxs(A.Fragment,{children:[A.jsx(L.Menu.Item,{leftSection:A.jsx(te.IconArrowNarrowLeft,{size:14}),onClick:()=>n("main"),children:e("editor.ai.back")}),fJ.map(r=>A.jsx(L.Menu.Item,{onClick:()=>{t(`Change text into ${r} style`)},children:e(`editor.ai.menu.style.${r}`)},r))]}),AJ=({keyType:n,setTypeMenu:t,editor:e,onSubmit:r,response:i,onClose:o,t:s,selection:l})=>{switch(n){case"main":return A.jsx(pJ,{t:s,setTypeMenu:t,onSubmit:r});case"answer":return A.jsx(uJ,{t:s,onSubmit:r,editor:e,response:i,setTypeMenu:t,onClose:o,selection:l});case"language":return A.jsx(gJ,{t:s,onSubmit:r,setTypeMenu:t});case"style":return A.jsx(mJ,{t:s,onSubmit:r,setTypeMenu:t});default:return null}};function yJ(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 bJ=()=>{var U;const[n,t]=E.useState({top:"0px",bottom:"auto"}),[e,r]=E.useState(!1),[i,o]=E.useState(!1),[s]=De(),[l,c]=E.useState("main"),[u,d]=E.useState(""),[h,g]=E.useState(""),[p,m]=E.useState(""),[b,w]=E.useState(null),[v,C]=E.useState(!1),{fetchPromptResult:x}=E.useContext(Lt),{t:N}=pt.useTranslation(),[T,k]=Oa.useResizeObserver(),_=()=>{r(!1),o(!1),m(""),c("main"),setTimeout(()=>{t({top:"0px",bottom:"auto"})},200)},M=Oa.useClickOutside(()=>{_()});E.useEffect(()=>{e?(cJ(s,g),document.documentElement.style.overflow="hidden",s.update(()=>{const j=G();j&&w(j)})):(c("main"),document.documentElement.style.overflow="auto",m(""))},[e]);const{displayedText:I,containerRef:R}=yJ(p,10),B=(j,K=!0)=>{const ee=j+` "${K?h:""}"Only return the modified text. Do not include any explanations, introductions, or formatting.`;C(!0),x&&x(ee,ue=>{m(ue),C(!1),c("answer"),d("")},()=>{C(!1)})};return E.useEffect(()=>{var K,ee,ue;const{bottom:j}=((K=T.current)==null?void 0:K.getBoundingClientRect())||{bottom:0};if(j>window.innerHeight){const fe=(((ue=(ee=s._rootElement)==null?void 0:ee.getBoundingClientRect())==null?void 0:ue.bottom)||0)-window.innerHeight;t({...n,top:"auto",bottom:`${fe}px`})}},[k.height,e,T.current]),(U=s._rootElement)!=null&&U.parentElement?A.jsxs(A.Fragment,{children:[n.top?mr.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:ee}){requestAnimationFrame(()=>{Object.assign(ee.floating.style,{maxHeight:`${K>=425?425:K}px`})})}}},disabled:v,children:[A.jsx(L.Menu.Target,{children:A.jsxs(L.Paper,{withBorder:!0,ref:T,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:ee})=>A.jsx(L.Tooltip,{label:K?"Copied":"Copy",withArrow:!0,position:"right",children:A.jsx(L.ActionIcon,{color:K?"teal":"gray",variant:"subtle",onClick:ee,children:K?A.jsx(te.IconCheck,{size:16}):A.jsx(te.IconCopy,{size:16})})})})})]}),A.jsx(L.Divider,{my:"0"})]}),A.jsx(L.Box,{children:A.jsx(L.Input,{size:"md",placeholder:N("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(te.IconSparkles,{size:16})})})})})]})}),A.jsx(L.Menu.Dropdown,{className:"menu-dropdown-ai",onMouseDown:K=>{K.stopPropagation()},children:A.jsx(AJ,{keyType:l,setTypeMenu:c,editor:s,onSubmit:B,response:p,onClose:_,t:N,selection:b})})]})})}),s._rootElement.parentElement):null,A.jsxs("button",{disabled:!1,className:"toolbar-item spaced alignment","aria-label":"Formatting options for text alignment",type:"button",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(),V=ue.top-ie.top+fe.scrollTop+ue.height+"px";t({top:V,bottom:"auto"}),setTimeout(()=>{r(!0)},0),setTimeout(()=>{o(!0)},100)}}},children:[A.jsx(te.IconSparkles,{color:"#7950f2",size:18}),A.jsx(te.IconAi,{size:21,color:"#7950f2"})]})]}):null},wM=({children:n,...t})=>{const{imagePickerSettings:e,maxFileSize:r}=E.useContext(Lt),{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(Ft.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})},wJ=({editor:n,isEditable:t,t:e})=>{const{fetchUploadMedia:r,imperativeHandleRef:i}=E.useContext(Lt),[o,s]=E.useState(!1);return r?A.jsx(wM,{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(hh,{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",children:A.jsx(xe,{name:"photo"})})})}):null},CJ={bullet:"Маркированный список",check:"Чек-лист",code:"Кодовый блок",h1:"Заголовок 1",h2:"Заголовок 2",h3:"Заголовок 3",h4:"Заголовок 4",h5:"Заголовок 5",h6:"Заголовок 6",number:"Нумерованный список",paragraph:"Параграф",quote:"Цитата"};function Cf(){return A.jsx("div",{className:"divider"})}function Tk({mode:n,isFloating:t}){const[e]=De(),[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"),[b,w]=E.useState("left"),[v,C]=E.useState(!1),[x,N]=E.useState(!1),[T,k]=E.useState(!1),[_,M]=E.useState(!1),[I,R]=E.useState(!1),[B,U]=E.useState(!1),[j,K]=E.useState(!1),[ee,ue]=E.useState(!1),[fe,ie]=E.useState(!1),[V,re]=E.useState(!1),[J]=xg(),[Z,X]=E.useState(!1),[le,de]=E.useState(!0),[me,q]=E.useState(!0),[ne,Ae]=E.useState(0),[oe,pe]=E.useState(()=>e.isEditable()),Ee=n||"default",{excludeNodes:Ce,fetchUploadMedia:we,fetchPromptResult:Ue,commentOptions:tt}=E.useContext(Lt),{t:Ie}=pt.useTranslation(),qe=E.useCallback(()=>{const Fe=G();if(H(Fe)){const nt=Fe.anchor.getNode(),dt=Fe.focus.getNode(),kt=Wt(nt)?null:nt.getTopLevelElementOrThrow(),ht=Wt(dt)?null:dt.getTopLevelElementOrThrow();let $e=nt.getKey()==="root"?nt:Te(nt,sr=>{const Ho=sr.getParent();return Ho!==null&&Qn(Ho)});Fe.getNodes().length===1?de(!0):de(!1),$e===null&&($e=nt.getTopLevelElementOrThrow());const zt=$e.getKey(),or=r.getElementByKey(zt);e.update(()=>{N(Fe.hasFormat("bold")),k(Fe.hasFormat("italic")),M(Fe.hasFormat("underline")),R(Fe.hasFormat("strikethrough")),U(Fe.hasFormat("subscript")),K(Fe.hasFormat("superscript")),ue(Fe.hasFormat("code"))});const Rn=La(Fe),Qi=Rn.getParent();Tn(Qi)||Tn(Rn)?C(!0):C(!1),g(Jf(Fe,"color","inherit")),m(Jf(Fe,"background-color","inherit"));let Is;Tn(Qi)&&(Is=Te(Rn,sr=>Y(sr)&&!sr.isInline())),w(Y(Is)?Is.getFormatType():Y(Rn)?Rn.getFormatType():(Qi==null?void 0:Qi.getFormatType())||"left");const fc=Te(Rn,wt);if(wt(fc)?c("table"):c("root"),or!==null&&(kt==null?void 0:kt.getKey())===(ht==null?void 0:ht.getKey()))if(d(zt),Ve($e)){const sr=rb(nt,yr),Ho=sr?sr.getListType():$e.getListType();s(Ho)}else{const sr=So($e)?$e.getTag():$e.getType();sr in CJ&&s(sr)}else s("")}},[r,de]);E.useEffect(()=>e.registerCommand(Yr,(Fe,nt)=>(qe(),i(nt),!1),An),[e,qe]),E.useEffect(()=>et(e.registerEditableListener(Fe=>{pe(Fe)}),r.registerUpdateListener(({editorState:Fe})=>{Fe.read(()=>{qe()})}),r.registerCommand(ya,Fe=>(ie(Fe),!1),An),r.registerCommand(Aa,Fe=>(re(Fe),!1),An)),[qe,r,e]),E.useEffect(()=>et(r.registerCommand(oT,Fe=>{const nt=Fe,{code:dt,metaKey:kt}=nt;if(dt==="KeyK"&&kt){nt.preventDefault();let ht;return v?ht=null:ht=Ea("https://"),r.dispatchCommand(rl,ht)}return!1},zi),r.registerCommand(Po,()=>{const Fe=G();if(H(Fe)){const nt=Fe.getNodes(),dt=nt.length>0&&nt.every(kt=>Oo(kt)||wt(kt)||Nr(kt)?!1:Y(kt)||ae(kt));q(!dt)}return!1},zi)),[r,v]),E.useCallback((Fe,nt)=>{r.update(()=>{const dt=G();dt!==null&&lx(dt,Fe)},nt?{tag:"historic"}:{})},[r]);const ut=E.useCallback(()=>{setTimeout(()=>{r.dispatchCommand($t,"")}),r.update(()=>{const Fe=G();if(H(Fe)){const nt=Fe.anchor,dt=Fe.focus,kt=Fe.getNodes(),ht=Fe.extract();if(nt.key===dt.key&&nt.offset===dt.offset)return;kt.forEach(($e,Xt)=>{if(Un($e)){let zt=$e;Xt===0&&nt.offset!==0&&(zt=zt.splitText(nt.offset)[1]||zt),Xt===kt.length-1&&(zt=zt.splitText(dt.offset)[0]||zt);const or=ht[0];kt.length===1&&Un(or)&&(zt=or),zt.__style!==""&&zt.setStyle(""),zt.__format!==0&&zt.setFormat(0);const Rn=ju(zt);Rn.__format!==0&&Rn.setFormat(""),Rn.__indent!==0&&Rn.setIndent(0),$e=zt}else So($e)||Wa($e)?$e.replace(_e(),!0):DA($e)&&$e.setFormat("")})}})},[r]),lt=Fe=>{g(Fe.color),m(Fe["background-color"]),r.update(()=>{const nt=G();nt!==null&&lx(nt,Fe)})},Ht=E.useCallback(()=>{e.dispatchCommand(tw,"create"),setTimeout(()=>{pe(!0)},1e3)},[e]),vn=()=>{e.dispatchCommand(HI,void 0),Ae(Fe=>Fe+1)};return A.jsx("div",{className:"toolbar-wrapper",tabIndex:-1,children:A.jsxs("div",{className:"toolbar",children:[A.jsxs(A.Fragment,{children:[A.jsx(eM,{disabled:me,blockType:o,rootType:l,editor:e,mode:Ee,fetchUploadMedia:we,excludeNodes:Ce}),A.jsx(Cf,{})]}),n==="editor"&&!0&&Ue&&A.jsxs(A.Fragment,{children:[A.jsx(E.Suspense,{fallback:null,children:A.jsx(bJ,{})}),A.jsx(Cf,{})]}),A.jsxs(A.Fragment,{children:[A.jsx(L.Tooltip,{label:Ie("editor.toolbar.bold"),children:A.jsx("button",{disabled:!oe,onClick:()=>{r.dispatchCommand($t,"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:Ie("editor.toolbar.italic"),children:A.jsx("button",{disabled:!oe,onClick:()=>{r.dispatchCommand($t,"italic")},className:"toolbar-item spaced "+(T?"active":""),type:"button","data-test-id":"toolbar-italic",children:A.jsx(xe,{name:"italic"})})}),A.jsx(L.Tooltip,{label:Ie("editor.toolbar.underline"),children:A.jsx("button",{disabled:!oe,"data-test-id":"toolbar-underline",onClick:()=>{r.dispatchCommand($t,"underline")},className:"toolbar-item spaced "+(_?"active":""),type:"button",children:A.jsx(xe,{name:"underline"})})}),A.jsx(L.Tooltip,{label:Ie("editor.toolbar.strike"),children:A.jsx("button",{disabled:!oe,className:"toolbar-item spaced "+(I?"active":""),"data-test-id":"toolbar-strikethrough",onClick:()=>{r.dispatchCommand($t,"strikethrough")},children:A.jsx(xe,{name:"strikethrough"})})}),A.jsx(L.Tooltip,{label:Ie("editor.toolbar.code"),children:A.jsx("button",{disabled:!oe,onClick:()=>{r.dispatchCommand($t,"code")},className:"toolbar-item spaced "+(ee?"active":""),type:"button","data-test-id":"toolbar-code",children:A.jsx(xe,{name:"code"})})}),A.jsx(L.Tooltip,{label:Ie("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:Ie("editor.toolbar.link"),children:A.jsx("button",{onClick:Ht,className:"toolbar-item spaced "+(v?"active":""),onMouseDown:()=>{pe(!1)},type:"button","data-test-id":"toolbar-link",children:A.jsx(xe,{name:"link"})})}),tt&&n==="editor"&&A.jsx(L.Tooltip,{label:Ie("editor.toolbar.comment"),children:A.jsx("button",{onClick:vn,className:"toolbar-item spaced "+(v?"active":""),type:"button","data-test-id":"toolbar-comment",children:A.jsx(xe,{name:"message"})})},ne),A.jsx(Ft.NewColorPicker,{value:{color:h,background:p},menuProps:{closeOnItemClick:!0},onChange:Fe=>{lt({color:h,"background-color":p,[Fe.mode==="color"?"color":"background-color"]:Fe.value})},disabled:!oe,modes:["color","background"]})]}),A.jsx(Cf,{}),A.jsx(oJ,{disabled:!oe,value:b,editor:e,isRTL:Z,setElementFormat:w}),n==="default"&&A.jsxs(A.Fragment,{children:[A.jsx(Cf,{}),A.jsx(wJ,{editor:e,t:Ie,isEditable:oe})]}),J]})})}const CM=Object.freeze({" ":"\\t","\n":"\\n"}),_k=new RegExp(Object.keys(CM).join("|"),"g"),_i=Object.freeze({ancestorHasNextSibling:"|",ancestorIsLastChild:" ",hasNextSibling:"├",isLastChild:"└",selectedChar:"^",selectedLine:">"}),vJ=[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"],xJ=[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"],SJ=[n=>n.isDirectionless()&&"Directionless",n=>n.isUnmergeable()&&"Unmergeable"],EJ=[n=>n.isToken()&&"Token",n=>n.isSegmented()&&"Segmented"];function kJ(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(),xM(m,0).innerHTML})(Vf(n))}),g}let u=` root
167
+ `;const d=o.read(()=>{const g=G();return vM(Re(),(p,m)=>{const b=`(${p.getKey()})`,w=p.getType()||"",v=p.isSelected();u+=`${v?_i.selectedLine:" "} ${m.join(" ")} ${b} ${w} ${(function(C,x,N=!1){const T=x?x(C,N):void 0;if(T!==void 0&&T.length>0)return T;if(ae(C)){const k=C.getTextContent(),_=k.length===0?"(empty)":`"${Nk(k,N)}"`,M=(function(I){return[Ik(I),TJ(I),_J(I),Mk(I)].filter(Boolean).join(", ")})(C);return[_,M.length!==0?`{ ${M} }`:null].filter(Boolean).join(" ").trim()}if(Tn(C)){const k=C.getURL(),_=k.length===0?"(empty)":`"${Nk(k,N)}"`,M=(function(I){return[NJ(I),IJ(I),MJ(I),Mk(I)].filter(Boolean).join(", ")})(C);return[_,M.length!==0?`{ ${M} }`:null].filter(Boolean).join(" ").trim()}if(oh(C))return`ids: [ ${C.getIDs().join(", ")} ]`;if(gn(C)){const k=(function(M){let I=xJ.map(R=>R(M)).filter(Boolean).join(", ").toLocaleLowerCase();return I!==""&&(I="format: "+I),I})(C);let _=k!==""?`{ ${k} }`:"";return _+=C.__style?`(${C.__style})`:"",_}return""})(p,r,i)}
168
+ `,u+=(function({indent:C,isSelected:x,node:N,nodeKeyDisplay:T,selection:k,typeDisplay:_}){if(!ae(N)||!H(k)||!x||Y(N))return"";const M=k.anchor,I=k.focus;if(N.getTextContent()===""||M.getNode()===k.focus.getNode()&&M.offset===I.offset)return"";const[R,B]=(function(ie,V){const re=V.getStartEndPoints();if(Jt(V)||re===null)return[-1,-1];const[J,Z]=re,X=ie.getTextContent(),le=X.length;let de=-1,me=-1;if(J.type==="text"&&Z.type==="text"){const Ae=J.getNode(),oe=Z.getNode();Ae===oe&&ie===Ae&&J.offset!==Z.offset?[de,me]=J.offset<Z.offset?[J.offset,Z.offset]:[Z.offset,J.offset]:[de,me]=ie===Ae?Ae.isBefore(oe)?[J.offset,le]:[0,J.offset]:ie===oe?oe.isBefore(Ae)?[Z.offset,le]:[0,Z.offset]:[0,le]}const q=(X.slice(0,de).match(_k)||[]).length,ne=(X.slice(de,me).match(_k)||[]).length;return[de+q,me+q+ne]})(N,k);if(R===B)return"";const U=C[C.length-1]===_i.hasNextSibling?_i.ancestorHasNextSibling:_i.ancestorIsLastChild,j=[...C.slice(0,C.length-1),U],K=Array(R+1).fill(" "),ee=Array(B-R).fill(_i.selectedChar),ue=_.length+2,fe=Array(T.length+ue).fill(" ");return[_i.selectedLine,j.join(" "),[...fe,...K,...ee].join("")].join(" ")+`
169
+ `})({indent:m,isSelected:v,node:p,nodeKeyDisplay:b,selection:g,typeDisplay:w})}),g===null?": null":H(g)?(function(p){let m="";const b=Ik(p);m+=`: range ${b!==""?`{ ${b} }`:""} ${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):DI(g)?(function(p){return`: table
172
+ └ { table: ${p.tableKey}, anchorCell: ${p.anchor.key}, focusCell: ${p.focus.key} }`})(g):(function(p){return Jt(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 vM(n,t,e=[]){const r=n.getChildren(),i=r.length;r.forEach((o,s)=>{t(o,e.concat(s===i-1?_i.isLastChild:_i.hasNextSibling)),Y(o)&&vM(o,t,e.concat(s===i-1?_i.ancestorIsLastChild:_i.ancestorHasNextSibling))})}function Nk(n,t=!1){const e=Object.entries(CM).reduce((r,[i,o])=>r.replace(new RegExp(i,"g"),String(o)),n);return t?e.replace(/[^\s]/g,"*"):e}function TJ(n){let t=SJ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="detail: "+t),t}function _J(n){let t=EJ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="mode: "+t),t}function Ik(n){let t=vJ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="format: "+t),t}function NJ(n){let t=n.getTarget();return t!=null&&(t="target: "+t),t}function IJ(n){let t=n.getRel();return t!=null&&(t="rel: "+t),t}function MJ(n){let t=n.getTitle();return t!=null&&(t="title: "+t),t}function Mk(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 xM(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]),xM(n.children[o],t),n.lastElementChild===n.children[o]&&(i=document.createTextNode(`
185
+ `+r),n.appendChild(i));return n}const DJ=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,b]=E.useState(""),[w,v]=E.useState(!1),[C,x]=E.useState(!1),N=E.useRef(0),T=E.useRef(null),[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),ee=E.useCallback(fe=>{const ie=++K.current;u(fe).then(V=>{ie===K.current&&b(V)}).catch(V=>{ie===K.current&&b(`Error rendering tree: ${V.message}
186
+
187
+ Stack:
188
+ ${V.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,ee(C),!w&&fe&&p(ie=>[...ie,[Date.now(),s]])}},[s,ee,C,R,w,d]);const ue=g.length;return E.useEffect(()=>{if(k){let fe;const ie=()=>{const V=N.current;if(V===ue-1)return void _(!1);const re=g[V][0],J=g[V+1][0];fe=setTimeout(()=>{N.current++;const Z=N.current,X=T.current;X!==null&&(X.value=String(Z)),l(g[Z][1]),ie()},J-re)};return ie(),()=>{clearTimeout(fe)}}},[g,k,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:()=>(ee(!C),void x(!C)),className:n,type:"button",children:C?"Tree":"Export DOM"}),!w&&(R||!M)&&ue>2&&A.jsx("button",{onClick:()=>{c(!0),N.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:()=>{N.current===ue-1&&(N.current=1),_(!k)},type:"button",children:k?"Pause":"Play"}),A.jsx("input",{className:e,ref:T,onChange:fe=>{const ie=Number(fe.target.value),V=g[ie];V&&(N.current=ie,l(V[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 V=T.current;V!==null&&(V.value=String(fe)),v(!1),_(!1)},type:"button",children:"Exit"})]})]})});function LJ(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),An));return()=>e.forEach(i=>i())}function OJ(n){const[t,e]=E.useState([]);return E.useEffect(()=>LJ(n,e),[n]),E.useMemo(()=>t,[t])}function RJ({treeTypeButtonClassName:n,timeTravelButtonClassName:t,timeTravelPanelSliderClassName:e,timeTravelPanelButtonClassName:r,timeTravelPanelClassName:i,viewClassName:o,editor:s,customPrintNode:l}){const c=Fk.createRef(),[u,d]=E.useState(s.getEditorState()),h=OJ(s);return E.useEffect(()=>et(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(DJ,{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 kJ(s,h,g,l)},ref:c,commandsLog:h})}function Dk(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 PJ(){const[n]=De(),[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?Dk(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(RJ,{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:Dk(r)})})]})]})}const SM=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?E.useLayoutEffect:E.useEffect;function BJ({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:b,role:w="textbox",spellCheck:v=!0,style:C,tabIndex:x,"data-testid":N,...T},k){const[_,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)}})(k,I),[I,k]);return SM(()=>(M(n.isEditable()),n.registerEditableListener(B=>{M(B)})),[n]),A.jsx("div",{"aria-activedescendant":_?t:void 0,"aria-autocomplete":_?e:"none","aria-controls":_?r:void 0,"aria-describedby":i,...o!=null?{"aria-errormessage":o}:{},"aria-expanded":_&&w==="combobox"?!!s:void 0,...l!=null?{"aria-invalid":l}:{},"aria-label":c,"aria-labelledby":u,"aria-multiline":d,"aria-owns":_?h:void 0,"aria-readonly":!_||void 0,"aria-required":g,autoCapitalize:p,className:m,contentEditable:_,"data-testid":N,id:b,ref:R,role:w,spellCheck:v,style:C,tabIndex:x,...T})}const FJ=E.forwardRef(BJ);function Lk(n){return n.getEditorState().read(cN(n.isComposing()))}const jJ=E.forwardRef(zJ);function zJ(n,t){const{placeholder:e,...r}=n,[i]=De();return A.jsxs(A.Fragment,{children:[A.jsx(FJ,{editor:i,...r,ref:t}),e!=null&&A.jsx(UJ,{editor:i,content:e})]})}function UJ({content:n,editor:t}){const e=(function(s){const[l,c]=E.useState(()=>Lk(s));return SM(()=>{function u(){const d=Lk(s);c(d)}return u(),et(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 Ty({className:n}){return A.jsx(jJ,{contentEditable:!1,className:n||"ContentEditable__root"})}const KJ="_listContainer_1d88b_1",WJ="_list_1d88b_1",HJ="_text_1d88b_28",zm={listContainer:KJ,list:WJ,text:HJ},YJ=({editor:n})=>{var u;const[t,e]=E.useState(!1),{t:r,i18n:i}=pt.useTranslation(),{excludeNodes:o}=E.useContext(Lt),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(()=>{QA()&&(e(!0),s(!0))}),et(n.registerCommand(Mh,()=>{const d=!!QA();return e(d),s(d),!1},Ne),n.registerCommand(_s,()=>(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(te.IconH1,{stroke:2,size:18}),onSelect:()=>l(n,d=>{d.replace(os("h1"))})},{title:r("editor.emptyPageOptions.grid"),icon:A.jsx(te.IconColumns2,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(_w,iw)})}},{title:r("editor.emptyPageOptions.list"),icon:A.jsx(te.IconListNumbers,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(Ub,void 0)})}},{title:r("editor.emptyPageOptions.code"),icon:A.jsx(te.IconCode,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(rM,void 0)})}},{title:r("editor.menu.media.excalidraw.hint.description"),icon:A.jsx(te.IconPalette,{stroke:2,size:18}),onSelect:()=>{Promise.resolve().then(()=>require("./layers.B66ctuSP.js")).then(({INSERT_EXCALIDRAW_COMMAND:d})=>{l(n,()=>{n.dispatchCommand(d,void 0)})})}},o.template?{title:r("editor.emptyPageOptions.template"),icon:A.jsx(te.IconTemplate,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(zN,void 0)})}}:null,{title:r("editor.emptyPageOptions.callout"),icon:A.jsx(te.IconBaseline,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(ew,"success")})})}},{title:r("editor.emptyPageOptions.table"),icon:A.jsx(te.IconTable,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(lg,{columns:"4",includeHeaders:!1,rows:"3"})})})}},{title:r("editor.emptyPageOptions.integrations"),icon:A.jsx(te.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:`${zm.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:JI,width:200,transitionProps:Vi,children:[A.jsx(L.Menu.Target,{children:A.jsxs("li",{className:zm.list,onClick:d.onSelect,children:[d.icon," ",A.jsx("span",{className:zm.text,children:d.title})]})}),A.jsx(L.Menu.Dropdown,{children:ac.map(g=>A.jsx(L.Menu.Item,{className:"item "+GI(g.key==="1"),leftSection:g.icon,style:{borderRadius:"var(--mantine-radius-sm)"},onClick:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(Tw,""),e(!1)})})},children:g.name},g.name))})]},d.title):null)})}):null};function ZJ({editor:n,outputFormat:t,debounceMs:e=500,onChange:r,onBlur:i,isCommentVariant:o,checkIsEmpty:s,onChangeCommand:l}){const c=Oa.useDebouncedCallback(h=>{l&&h.dispatchCommand(l,!0)},100),u=Oa.useDebouncedCallback((h,g)=>{if(t==="html")h.read(()=>{let m=Vf(g,null);const b=Re();b&&(s()&&(m=""),b.getChildrenSize()===0&&(g.update(()=>{b.append(_e())}),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=Vf(g,null);i(p)});else{const p=h.toJSON();i(p)}};return E.useEffect(()=>n.registerCommand(kl,g=>{if(!o)return!1;try{const p=g.clipboardData||window.clipboardData;if(!p||!p.getData("application/x-lexical-editor"))return!1;const b=p.getData("text/html");if(!b)return!1;const v=new DOMParser().parseFromString(b,"text/html"),C=Kh(n,v);return Du(C),!0}catch{return!1}},Ne),[n,o]),{triggerOnChangeCommand:c,onChangeValue:u,onBlurValue:d}}const GJ={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}},Ok=E.lazy(()=>Promise.resolve().then(()=>require("./layers.B66ctuSP.js")));function Ze(n,t){const e=GJ[n];return e?e[t]:!0}function JJ(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",b=s==="comment",[w,v]=E.useState(!1),{excludeNodes:C}=E.useContext(Lt),{settings:{isRichText:x,showTreeView:N,isMaxLength:T}}=gw(),{historyState:k}=pw(),{triggerOnChangeCommand:_,onChangeValue:M,onBlurValue:I}=ZJ({editor:c,outputFormat:g,debounceMs:p,onChange:h,onBlur:u,isCommentVariant:b,checkIsEmpty:QA,onChangeCommand:Eo});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(Ty,{})})})})}):A.jsx("div",{className:"editor-scroller",style:R,children:A.jsx("div",{className:"editor",ref:t,children:A.jsx(Ty,{})})});return A.jsxs(A.Fragment,{children:[Ze("toolbar",s)&&!m&&A.jsx(Tk,{mode:s}),Ze("componentPicker",s)&&A.jsx(HY,{mode:s,opened:w,setOpenedMenu:v}),Ze("history",s)&&A.jsx(G_,{externalHistoryState:k}),Ze("floatingTextToolbar",s)&&e&&!r&&(m?A.jsx(fy,{anchorElem:e,component:A.jsx(Tk,{mode:s,isFloating:!0})}):A.jsx(fy,{anchorElem:e})),A.jsxs("div",{className:`editor-container ${x?"":"plain-text"}`,children:[Ze("placeholder",s)&&A.jsx(QY,{}),Ze("autoFocus",s)&&A.jsx(YY,{isLoading:l}),Ze("emoji",s)&&A.jsx(bZ,{}),Ze("hashtag",s)&&A.jsx(KH,{}),Ze("clearEditor",s)&&A.jsx(BH,{}),Ze("richText",s)&&A.jsx(aI,{contentEditable:B,ErrorBoundary:lI}),Ze("markdownShortcut",s)&&A.jsx(ZZ,{}),Ze("extendCode",s)&&A.jsx(CZ,{}),Ze("codeHighlight",s)&&A.jsx(O9,{}),Ze("list",s)&&A.jsx(WZ,{}),Ze("checkList",s)&&A.jsx(D9,{}),Ze("listMaxIndent",s)&&A.jsx(UZ,{maxDepth:7}),Ze("link",s)&&A.jsx(iM,{}),Ze("comment",s)&&A.jsx(sY,{}),Ok&&Ze("excalidraw",s)&&A.jsx(E.Suspense,{children:A.jsx(Ok,{})}),Ze("swagger",s)&&A.jsx(bY,{}),Ze("childDocs",s)&&A.jsx(L9,{}),Ze("newParagraph",s)&&A.jsx(JZ,{}),Ze("form",s)&&A.jsx(PZ,{}),Ze("video",s)&&!C.video&&A.jsx(_H,{}),Ze("audio",s)&&!C.audio&&A.jsx(bH,{}),Ze("file",s)&&!C.file&&A.jsx(MH,{}),Ze("embed",s)&&A.jsx(gY,{}),Ze("images",s)&&!C.photo&&A.jsx(IH,{}),Ze("onChange",s)&&A.jsx(YH,{ignoreSelectionChange:!0,onChange:(U,j)=>{M(U,j),_(j)}}),Ze("maxLength",s)&&T&&A.jsx(GZ,{maxLength:30}),Ze("blur",s)&&A.jsx(k9,{onBlur:I}),Ze("focus",s)&&A.jsx(OZ,{onFocus:d}),Ze("treeView",s)&&N&&A.jsx(PJ,{}),Ze("actionsInspector",s)&&N&&A.jsx(x9,{isRichText:!0,shouldPreserveNewLinesInMarkdown:!0}),Ze("select",s)&&A.jsx(xG,{editor:c}),Ze("clickableLink",s)&&A.jsx(FH,{}),Ze("horizontalRule",s)&&A.jsx(WH,{}),Ze("tabFocus",s)&&A.jsx(TG,{}),Ze("tabIndentation",s)&&A.jsx(IG,{}),Ze("collapsible",s)&&A.jsx(q9,{}),Ze("callout",s)&&A.jsx(N9,{}),Ze("layout",s)&&A.jsx(AY,{}),Ze("table",s)&&e&&(m||!r)&&A.jsx(rJ,{floatingAnchorElem:e,isSmallWidthViewport:r}),Ze("draggableBlock",s)&&e&&!r&&A.jsx(dZ,{isShowAddButton:!0,anchorElem:e}),e&&A.jsxs(A.Fragment,{children:[Ze("floatingLinkEditor",s)&&A.jsx(_Z,{anchorElem:e,showTextToolbar:o}),Ze("actionMenu",s)&&A.jsx(rH,{anchorElem:e}),Ze("mediaActions",s)&&A.jsx(l5,{anchorElem:e})]})]}),Ze("tableOfContents",s)&&(m?C.contents&&A.jsx(ky,{}):(C.contents||C.contents===void 0)&&A.jsx(ky,{})),Ze("emptyPage",s)&&m&&A.jsx(YJ,{editor:c})]})}const VJ=n=>{const t=G(),e=jt(),r=e==null?void 0:e.getParent(),i=r==null?void 0:r.getParent();if(e){if(Ew())return Re().clear(),t.insertParagraph(),!0;if(i instanceof Lo||i instanceof vs)return J9();if(r instanceof Ir)return wZ()}return!1},QJ=(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=Be(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},Rk=()=>{const n=jt(),t=n==null?void 0:n.getParent();return n&&vu(t)?Q9():!1},Pk=()=>{const n=jt(),t=n==null?void 0:n.getParent();return n&&il(t)?V9():!1},XJ=n=>{const t=G();if(!H(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=_e();return i.append(...r.getChildren()),r.replace(i),n.preventDefault(),!0}}return!1};function qJ(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 $J=(n,t,e)=>{var o,s;const r=jt(),i=r==null?void 0:r.getParent();if(r){if(il(i))return X9(n);if(hg(i))(s=(o=e.current)==null?void 0:o.onDeleteCallout)==null||s.call(o,t);else{if(Di(i))return mY(n);if(vt(i))return XJ(t)}}return!1},eV=(n,t)=>{const e=t.ctrlKey||t.metaKey,r=t.shiftKey,i=t.code==="KeyZ";return e&&r&&i?(t.preventDefault(),n.dispatchCommand(Tl,void 0),!0):!1},tV=(n,t,e,r,i)=>{var l,c;if(i)return r.preventDefault(),r.key==="Enter"&&r.shiftKey&&t.insertParagraph(),!0;const o=jt(),s=o==null?void 0:o.getParent();if(o){if(s instanceof Mr)return pY(n);if(s instanceof Lo)return G9(n);if(s instanceof Ul)return _9(n);if(s instanceof di)return nJ(n);if(s instanceof yr||Mr)return I9()}return(c=(l=e.current)==null?void 0:l.decoratorEnterAction)==null||c.call(l),!1};function nV(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(qJ(d))return!0}return!1}function rV(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 iV(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,b]=E.useState(null),[w,v]=E.useState(!1),C=E.useRef(!1),[x,...N]=De(),{shiftEnterInsertNewLine:T}=E.useContext(Lt);RH({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=Kh(x,R);Re().select(),Du(B)}else{const M=x.parseEditorState(JSON.stringify(o));x.setEditorState(M)}}))},[i]),E.useEffect(()=>{function M(){x.dispatchCommand(GA,!0)}function I(B){const U=B.target,K=(U.tagName.toLowerCase()==="img"?U.closest("div.resizable-container__inner"):null)||rV(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(UN,{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 k=M=>{M!==null&&b(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(Ja,void 0)),U&&(I.preventDefault(),x.dispatchCommand(Tl,void 0))};return et(x.registerCommand(Mh,()=>(window.addEventListener("keydown",M),!1),Ne),x.registerCommand(_s,()=>(window.removeEventListener("keydown",M),!1),Ne))},[x]),E.useEffect(()=>{const M=()=>{const I=oc&&window.matchMedia("(max-width: 600px)").matches;I!==w&&v(I)};return M(),window.addEventListener("resize",M),()=>{window.removeEventListener("resize",M)}},[w]),E.useEffect(()=>et(x.registerCommand(cl,M=>{const I=G();return tV(x,I,l,M,T)},Ne),x.registerCommand(Li,()=>VJ(),Ne),x.registerCommand(Qa,M=>G()?(x.blur(),Qe(null),mo(M),!0):!1,Ne),x.registerCommand(Va,M=>eV(x,M),Ne),x.registerCommand(ji,()=>Pk(),Ne),x.registerCommand(_h,()=>Pk(),Ne),x.registerCommand(ps,()=>Rk(),Ne),x.registerCommand(kl,M=>nV(M,l),Ne),x.registerCommand(My,M=>QJ(M,l),po),x.registerCommand(Th,()=>Rk(),Ne),x.registerCommand(To,()=>{const M=G();M.format=0,M.setStyle("");const I=M.insertParagraph();return I&&(I.__format=0),!0},Ne),x.registerCommand(_l,M=>$J(x,M,l),po)),[x]);const _={onRef:k,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(JJ,{..._})}const EM=[{replace:Mn,with:n=>new pi(n.getTextContent()),withKlass:pi},{replace:xo,with:n=>new Ir(!1),withKlass:Ir},{replace:Zu,with:n=>new hr(n.__ids),withKlass:hr}],oV=[Gu,yr,wn,og,hi,di,sc,tg,ng,jl,mN,Wo,pi,bg,fg,Ag,rg,Kl,cc,Vu,Zu,xl,Lo,vs,Qu,Xr,Mr,mi,Ha,Ss,Ul,hr,xs,Ir,wl,Xu,uc,Wl,Es,...EM.map(n=>n)],sV=n=>n==="comment"?[yr,wn,ng,jl,mN,Wo,pi,Ir,wl,...EM.map(t=>t)]:oV,lV=E.createContext({cellEditorConfig:null,cellEditorPlugins:null,set:()=>{}});function aV({children:n}){const[t,e]=E.useState({cellEditorConfig:null,cellEditorPlugins:null});return A.jsx(lV.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 cV(n){const t=new URL(n),e=`${t.origin}${t.pathname}`,r=t.searchParams.get("token");return{baseUrl:e,token:r}}function uV(n,t,e="http://localhost"){const r=dV(n,t),{baseUrl:i,token:o}=cV(e);let s={};return o&&(s={params:{token:o}}),new nN(i,n,r,{connect:!1,...s})}function dV(n,t){let e=t.get(n);return e===void 0?(e=new Ki,t.set(n,e)):e.load(),e}const fV=HA?"":"os-windows",kM=({children:n})=>A.jsx("div",{className:`doc-space-styles-provider ${fV}`,children:n}),Lt=E.createContext({maxFileSize:5,disable:!1,excludeNodes:{},imagePickerSettings:{},pages:[]}),hV=[],_y=({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=hV,maxFileSize:m,contentModalUploadImage:b,maxImageSizeError:w,debounce:v,disable:C,ws:x,excludeNodes:N={},imagePickerSettings:T={},childPages:k,language:_,shiftEnterInsertNewLine:M,editorRef:I})=>{const R=r||"default",B=n||"<p></p>";let U=!!(x!=null&&x.url);const{historyState:j}=pw(),K=E.useRef({}),ee=E.useRef(null),[ue,fe]=E.useState("initial"),[ie,V]=E.useState(null),re=E.useCallback(q=>{q.update(()=>{if(typeof B=="string"){const Ae=new DOMParser().parseFromString(B,"text/html"),oe=Kh(q,Ae);Re().select(),Du(oe)}})},[]),J=E.useMemo(()=>(window.editorAppVersion=`version @layers-app/editor:${t3.version}`,R==="comment"&&document.body.setAttribute("mode","true"),{editorState:null,namespace:"layers",nodes:sV(R),onError:q=>{throw q},theme:FW(R)}),[]);E.useEffect(()=>{_&&MA.changeLanguage(_)},[_]);const Z=()=>typeof B=="string"?re:JSON.stringify(B),X=E.useCallback((q,ne)=>{const Ae=uV(q,ne,x==null?void 0:x.url);return Ae.on("status",oe=>{oe.status==="connecting"&&fe(oe.status)}),setTimeout(()=>V(Ae),0),Ae},[]),le=E.useCallback(()=>{var oe;const q=ie.awareness,Ae=Array.from(q.getStates().entries()).map(([pe,Ee])=>({id:String(pe),userId:pe,name:Ee.name,color:Ee.color,awarenessData:Ee.awarenessData})).filter((pe,Ee,Ce)=>Ee===Ce.findIndex(we=>we.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",le),()=>ie.awareness.off("update",le)},[ie,le]),E.useEffect(()=>{if(ie!=null&&ie.ws){const q=ie.ws;let ne=0;q?(q.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"))}),q.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 nN&&(ie.destroy(),ie.disconnect())},[ie]),U||(J.editorState=Z());const de=ue==="connecting"&&U,me=E.useMemo(()=>{const q={...N};return l||(q.photo=!0,q.video=!0,q.audio=!0,q.file=!0),r!=="editor"&&(q.childDocs=!0),{fetchDeleteMedia:u,fetchUploadMedia:l,fetchRestoreMedia:d,fetchPromptResult:c,currentUser:h,maxFileSize:m||5,contentModalUploadImage:b,maxImageSizeError:w,commentOptions:g,shiftEnterInsertNewLine:M,workspaceMembers:p,disable:C||!1,mode:R,excludeNodes:q,imagePickerSettings:T,imperativeHandleRef:K,maxHeight:i,pages:k||[]}},[h,g,k]);return A.jsx(Lt.Provider,{value:me,children:A.jsx(pt.I18nextProvider,{i18n:MA,children:A.jsx(kM,{children:A.jsxs(Y5,{children:[A.jsx("div",{ref:ee}),A.jsxs("div",{className:`doc-space-editor-wrapper ${R}`,children:[A.jsx(L.LoadingOverlay,{visible:de,overlayProps:{radius:"sm",blur:2}}),A.jsx(i5,{children:A.jsxs(C4,{initialConfig:J,children:[x&&ue!=="error"?A.jsx(A4,{id:x.id,providerFactory:X,username:x.user.name,cursorColor:x.user.color,awarenessData:x.user.awarenessData,shouldBootstrap:!0,cursorsContainerRef:ee,initialEditorState:Z()}):A.jsx(G_,{externalHistoryState:j}),A.jsx(o5,{children:A.jsx(aV,{children:A.jsx(L8,{children:A.jsx("div",{className:"editor-shell",children:A.jsx(iV,{editorRef:I,maxHeight:i,mode:R,disable:C||!1,isErrorWs:ue==="error",content:B,isLoading:de,imperativeHandleRef:K,onBlur:o,onFocus:s,onChange:t,outputFormat:e,debounceMs:v})})})})})]})})]})]})})})})};function gV(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=YN;exports.$createNewParagraph=JN;exports.$isExcalidrawNode=G6;exports.$isImageNode=Za;exports.$isInlineImageNode=dH;exports.AlignmentImage=cw;exports.Button=oy;exports.CREATE_TEMPLATE=zN;exports.Context=Lt;exports.Editor=_y;exports.Ee=Qa;exports.EmptyNodeButton=lc;exports.ExcalidrawNode=Es;exports.FloatingTextFormatToolbarPlugin=fy;exports.Icon=xe;exports.Ie=Dy;exports.ImagePicker=wM;exports.Je=Ih;exports.Ki=Ke;exports.L=aI;exports.LexicalContentEditable=Ty;exports.LinkPlugin=iM;exports.Lr=G;exports.Ne=cl;exports.Oe=Xa;exports.ResizableContainer=nw;exports.StylesProvider=kM;exports.U=et;exports.UPLOAD_IMAGE_COMMAND=oI;exports.Ve=_s;exports.Xi=Ph;exports.a=fw;exports.at=Xk;exports.commonjsGlobal=Js;exports.deleteNode=ow;exports.focusEditor=gV;exports.getCurrentElement=jt;exports.getDefaultExportFromCjs=K3;exports.ie=Yr;exports.ji=_T;exports.l=g1;exports.mediaMap=zr;exports.n=lI;exports.o=De;exports.parseContainerSize=uh;exports.r=ib;exports.re=ve;exports.se=Po;exports.t=p1;exports.toggleLockScroll=Sl;exports.u=qh;exports.useCancelUpload=$h;exports.useModal=xg;exports.useSettings=gw;exports.useSharedHistoryContext=pw;exports.we=_l;exports.wo=Qe;exports.xo=Se;exports.xr=Jt;exports.zi=Ne;