@layers-app/editor 0.7.11 → 0.7.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +5 -78
- package/dist/index.js +8 -13
- package/dist/{layers.gx4fCFJw.js → layers.-tk2dEG5.js} +1 -1
- package/dist/{layers.DHwV5i_T.js → layers.0jeFbne3.js} +3 -3
- package/dist/{layers.BNsSKOpN.js → layers.2BbrZdbs.js} +1 -1
- package/dist/{layers.B4sZNz4G.js → layers.2Xx4Ptrc.js} +1 -1
- package/dist/{layers.CcXOLswE.js → layers.34oa2AhL.js} +3 -3
- package/dist/{layers.e91edirM.js → layers.4EBFqzk1.js} +1 -1
- package/dist/{layers.BZUJwXrg.js → layers.5raTjveQ.js} +5 -5
- package/dist/{layers.BQMzR7f1.js → layers.8U4vGexK.js} +1 -1
- package/dist/{layers.B82CDq4x.js → layers.B0UuBgdP.js} +1 -1
- package/dist/{layers.BapzDoWG.js → layers.B2x6oWRo.js} +1 -1
- package/dist/{layers.DzPDfOIF.js → layers.B3eIeZLO.js} +7 -7
- package/dist/{layers.BbfrzqgU.js → layers.B4qlbanf.js} +1 -1
- package/dist/{layers.D_82vNPb.js → layers.B5BLWNo4.js} +1 -1
- package/dist/{layers.BqX90-_Y.js → layers.B5S1sGRN.js} +5 -5
- package/dist/{layers.R7LWgMQM.js → layers.B6CA-Qsd.js} +1 -1
- package/dist/{layers.DGYwbj9Z.js → layers.B6D2_8QO.js} +1 -1
- package/dist/{layers.Dc2FUhjK.js → layers.B7JaPn44.js} +1 -1
- package/dist/{layers.CBU5W9xy.js → layers.B8BKFh1A.js} +1 -1
- package/dist/{layers.Cbmc9_2c.js → layers.B9Sm89EF.js} +1 -1
- package/dist/{layers.CYmNdxDH.js → layers.BA1mzrbX.js} +3 -3
- package/dist/{layers.t0MPi6sA.js → layers.BDZwDLa4.js} +1 -1
- package/dist/{layers.CVMSurj1.js → layers.BDsx0tsA.js} +1 -1
- package/dist/{layers.BQn-CzLV.js → layers.BEtVz1ea.js} +1 -1
- package/dist/{layers.wb3dvd10.js → layers.BGyNnr6g.js} +1 -1
- package/dist/{layers.D95Y7iFw.js → layers.BHwDJVOo.js} +1 -1
- package/dist/{layers.BX9N7qxY.js → layers.BIOUTShS.js} +1 -1
- package/dist/{layers.C1IOL83k.js → layers.BJ6xTPR-.js} +1 -1
- package/dist/{layers.DHhyENTf.js → layers.BJAa9qr1.js} +1 -1
- package/dist/{layers.3HlmFFfV.js → layers.BNkkAVJj.js} +1 -1
- package/dist/{layers.3qQFHgQt.js → layers.BQTXwhkc.js} +1 -1
- package/dist/{layers.DOkTbAhQ.js → layers.BQozXky0.js} +1 -1
- package/dist/{layers.CiVJh5OH.js → layers.BQzEUF3A.js} +1 -1
- package/dist/{layers.BtpXSg1i.js → layers.BR2scSXY.js} +1 -1
- package/dist/{layers.DynV2VNi.js → layers.BUtDZmC4.js} +1 -1
- package/dist/{layers.ZpL-90tT.js → layers.BWNcDEXk.js} +3 -3
- package/dist/{layers.BeKRn20q.js → layers.BXmbbtWU.js} +1 -1
- package/dist/{layers.ClxNvyDa.js → layers.BXxWFxtK.js} +1 -1
- package/dist/{layers.DIbB5017.js → layers.BYRaWVXf.js} +1 -1
- package/dist/{layers.C-MRoLaE.js → layers.BYVbSJmu.js} +1 -1
- package/dist/{layers.DBaQV0jq.js → layers.B_B0t2WV.js} +1 -1
- package/dist/{layers.DHdnuuXd.js → layers.BbsMQwXc.js} +1 -1
- package/dist/{layers.BF1u8K4v.js → layers.BdooYEI-.js} +1 -1
- package/dist/{layers.CQ78eYgx.js → layers.Be0gDKTP.js} +3 -3
- package/dist/{layers.ByvFJuRa.js → layers.BeF53J3x.js} +1 -1
- package/dist/{layers.B_2MYEZq.js → layers.Ber4edmW.js} +1 -1
- package/dist/{layers.DmaWdnVa.js → layers.BfeS3c_e.js} +2 -2
- package/dist/{layers.CYBauZry.js → layers.BgXp3AMj.js} +3 -3
- package/dist/{layers.C_FMqSMJ.js → layers.Bihhffk2.js} +1 -1
- package/dist/{layers.DMuudaJR.js → layers.BipanEF5.js} +1 -1
- package/dist/{layers.BlqHWfD5.js → layers.Bk7dfl2N.js} +4 -4
- package/dist/{layers.ACXMXOOU.js → layers.BnbF8ROq.js} +1 -1
- package/dist/{layers.C8fatn0l.js → layers.BngIPklP.js} +1 -1
- package/dist/{layers.gUlmlJH8.js → layers.BpYK8W46.js} +1 -1
- package/dist/{layers.DaAPS5mg.js → layers.BrIPyIKg.js} +1 -1
- package/dist/{layers.DIOuWQNf.js → layers.BrT9223I.js} +2 -2
- package/dist/{layers.Pbp11Pig.js → layers.BrWR5xtJ.js} +1 -1
- package/dist/{layers.CczjTSeB.js → layers.BuxARUV_.js} +1 -1
- package/dist/{layers.BHPxpFLI.js → layers.Bw7lygS-.js} +1 -1
- package/dist/{layers.ShnyC1zX.js → layers.Bwp63qu8.js} +4 -4
- package/dist/{layers.Cl_zTTmw.js → layers.Bws0qEWj.js} +1 -1
- package/dist/{layers.DcyrQ5gF.js → layers.C05uex7i.js} +1 -1
- package/dist/{layers.BUM1O3DC.js → layers.C1HvrvFv.js} +1 -1
- package/dist/{layers.CfB2G5IP.js → layers.C28j8xOi.js} +1 -1
- package/dist/{layers.DgiJs_-N.js → layers.C2dgEGb1.js} +1 -1
- package/dist/{layers.CbT3UZe2.js → layers.C3t0LHU8.js} +1 -1
- package/dist/{layers.CqLhbT7-.js → layers.C4INR_AW.js} +1 -1
- package/dist/{layers.DG_Xq2Xm.js → layers.C4m14GJN.js} +1 -1
- package/dist/{layers.BHKV3Zhm.js → layers.C5Ay3ndK.js} +1 -1
- package/dist/{layers.KxCpT5nf.js → layers.C61Nl0dK.js} +1 -1
- package/dist/{layers.DjmNkWxS.js → layers.C6fU0lzV.js} +1 -1
- package/dist/{layers.CN9_lGea.js → layers.C9-0f_8U.js} +4 -4
- package/dist/{layers.CWWzun_U.js → layers.CBhyDwTv.js} +1 -1
- package/dist/{layers.BxiNoJh0.js → layers.CBpvEgkm.js} +1 -1
- package/dist/{layers.CiYHD_SK.js → layers.CDHkGggn.js} +1 -1
- package/dist/{layers.DYHMsBhp.js → layers.CDPhWBpt.js} +1 -1
- package/dist/{layers.B9KiM8sp.js → layers.CDUgnqss.js} +1 -1
- package/dist/{layers.Bdg9HCrr.js → layers.CFrj8_ex.js} +1 -1
- package/dist/{layers.BIjfRAXY.js → layers.CJ0_Wy6Y.js} +3 -3
- package/dist/{layers.BUbq8aU2.js → layers.CJGAbEF3.js} +1 -1
- package/dist/{layers.DQv7a5Vn.js → layers.CKsAdkyU.js} +1 -1
- package/dist/{layers.uMqRPfB1.js → layers.CKtXsXzp.js} +1 -1
- package/dist/{layers.BQoy45j7.js → layers.CNGiZFQ1.js} +1 -1
- package/dist/{layers.DdX4vbys.js → layers.CNX09co6.js} +4 -4
- package/dist/{layers.DQu2e-xx.js → layers.COPZy_Ut.js} +1 -1
- package/dist/{layers.hrQRLla5.js → layers.CQ9QiH8G.js} +1 -1
- package/dist/{layers.BLgbCqNq.js → layers.CQmmD05A.js} +1 -1
- package/dist/{layers.Cjp3Q4SV.js → layers.CSlreXZv.js} +1 -1
- package/dist/{layers.BhttsYZ9.js → layers.CX08sAPb.js} +1 -1
- package/dist/{layers.6W-7O1lQ.js → layers.CXOlnVRw.js} +1 -1
- package/dist/{layers.CnCpBJut.js → layers.CYY0zy_L.js} +1 -1
- package/dist/{layers.CtRDHv0z.js → layers.CZBYyJbx.js} +4 -4
- package/dist/{layers.CY0ytRu0.js → layers.C_LG5EJ9.js} +1 -1
- package/dist/{layers.CQRNAHtE.js → layers.C_OqQKUO.js} +1 -1
- package/dist/{layers.Bwsjqvk4.js → layers.Ca50eh4M.js} +1 -1
- package/dist/{layers.CwPD0-K-.js → layers.CbWw4L08.js} +1 -1
- package/dist/{layers.DiIr4wyM.js → layers.CbhS6HfN.js} +15910 -14892
- package/dist/{layers.CrIzp_xF.js → layers.CdL0Tfwa.js} +1 -1
- package/dist/{layers.6mI2VDb7.js → layers.CecfoeLZ.js} +1 -1
- package/dist/{layers.D0cQxHmB.js → layers.Ceo45tT6.js} +1 -1
- package/dist/{layers.DN1egjls.js → layers.CfvA4usV.js} +1 -1
- package/dist/{layers.CQcGtP1V.js → layers.ChWWjhWZ.js} +1 -1
- package/dist/{layers.CZYbopNP.js → layers.Ciixf3B-.js} +1 -1
- package/dist/{layers.-SRm-MXb.js → layers.CkNQyU_d.js} +3 -3
- package/dist/{layers.BPGuh7uH.js → layers.ClB174e8.js} +1 -1
- package/dist/{layers.Y5AYmJ2N.js → layers.CljzESul.js} +1 -1
- package/dist/{layers.toKUG58F.js → layers.CmLBI7Rm.js} +1 -1
- package/dist/{layers.79Jf6NDu.js → layers.Cn0Umd_A.js} +1 -1
- package/dist/layers.CnJUy-S6.js +198 -0
- package/dist/{layers.DkhDLQeI.js → layers.CoBh7hAo.js} +1 -1
- package/dist/{layers.B3QZ6o-w.js → layers.Cqgrug1t.js} +1 -1
- package/dist/{layers.fTgFFTpy.js → layers.CqwZKzaH.js} +1 -1
- package/dist/{layers.z_31LeAt.js → layers.Cr8ngfrL.js} +1 -1
- package/dist/{layers.fO6NdWSB.js → layers.CwT2iRTY.js} +1 -1
- package/dist/{layers.OHNFI0BG.js → layers.Cx85UoM4.js} +1 -1
- package/dist/{layers.C06of_MH.js → layers.CzTW6bXd.js} +1 -1
- package/dist/{layers.DYXz8sML.js → layers.CzqWKvkw.js} +1 -1
- package/dist/{layers.03xb93yO.js → layers.D0J9yIPY.js} +1 -1
- package/dist/{layers.CIpl5yQU.js → layers.D1cL65yX.js} +1 -1
- package/dist/{layers.BMUXxghd.js → layers.D1u2-4Z1.js} +1 -1
- package/dist/{layers.BlCCrCAP.js → layers.D2EcYeEp.js} +1 -1
- package/dist/{layers.DKW7h4yJ.js → layers.D2YVu5gH.js} +24 -24
- package/dist/{layers.BJbY96Lb.js → layers.D3Q_G1nb.js} +1 -1
- package/dist/{layers.DGlF2OSY.js → layers.D3pbt-kN.js} +1 -1
- package/dist/{layers.CIp-hEmN.js → layers.D4HP9Q0D.js} +1 -1
- package/dist/{layers.BAGmNXl0.js → layers.D8j1o701.js} +1 -1
- package/dist/{layers.DL4Sz354.js → layers.D9dJGPqa.js} +1 -1
- package/dist/{layers.DJC0l879.js → layers.DDBaLgOn.js} +1 -1
- package/dist/{layers.Cj9Qcb-s.js → layers.DDP17kfi.js} +1 -1
- package/dist/{layers.C0tQHANp.js → layers.DEF2ABJt.js} +2 -2
- package/dist/{layers.CNDMUIBz.js → layers.DGZgv6y1.js} +1 -1
- package/dist/{layers.gjP10WON.js → layers.DM91pJph.js} +1 -1
- package/dist/{layers.Bz3vHga5.js → layers.DMixPvat.js} +1 -1
- package/dist/{layers.DfMDJHD7.js → layers.DMzCSR2q.js} +1 -1
- package/dist/{layers.Dcf5LYl_.js → layers.DNyxZ9_n.js} +4 -4
- package/dist/{layers.DCkXywBT.js → layers.DOCzvMF0.js} +1 -1
- package/dist/{layers.BCM-OTcq.js → layers.DP87nHjx.js} +1 -1
- package/dist/{layers.DrpBS3VP.js → layers.DRSUeFoQ.js} +1 -1
- package/dist/{layers.h7FOCAM8.js → layers.DRrTpIo5.js} +3 -3
- package/dist/{layers.CYwvjwai.js → layers.DS3mszIP.js} +1 -1
- package/dist/{layers.Cs8AYZ0S.js → layers.DSrphkdX.js} +1 -1
- package/dist/{layers.CnKXnj1n.js → layers.DU5IY0Do.js} +1 -1
- package/dist/{layers.Ce8FqrRj.js → layers.DW6o3QlA.js} +1 -1
- package/dist/{layers.DbLBri4E.js → layers.DWxa3J4O.js} +1 -1
- package/dist/{layers.Cc64uz2H.js → layers.DXNC-YpE.js} +1 -1
- package/dist/layers.DYJLJd1u.js +6 -0
- package/dist/{layers.Dr9sUKeL.js → layers.DZE2k-M6.js} +3 -3
- package/dist/{layers.BeXT5ueO.js → layers.D_jMWg3M.js} +1 -1
- package/dist/layers.Da0o-e9H.js +1 -0
- package/dist/{layers.BkoIlUKr.js → layers.DcnaI5x_.js} +2 -2
- package/dist/{layers.DpszcL2q.js → layers.Deh-ARoN.js} +4 -4
- package/dist/{layers.CfM7d3O3.js → layers.Dgycuahc.js} +1 -1
- package/dist/{layers.BG69beMU.js → layers.Dh9U41T7.js} +1 -1
- package/dist/{layers.BVIPNDSV.js → layers.DhGJmQ7p.js} +1 -1
- package/dist/{layers.Dflv4xRQ.js → layers.DhHrLQSJ.js} +1 -1
- package/dist/{layers.ClOaiEgo.js → layers.DhSt8asU.js} +2 -2
- package/dist/{layers.BSDEbUS4.js → layers.DjPSFNDV.js} +1 -1
- package/dist/{layers.DIdVs4nP.js → layers.DpjUAJSN.js} +4 -4
- package/dist/{layers.CINyaWYG.js → layers.DpnE22aV.js} +1 -1
- package/dist/{layers.Cds8k0qk.js → layers.Dpx8iC8H.js} +1 -1
- package/dist/{layers.CCONA6oe.js → layers.DrFBBjo0.js} +1 -1
- package/dist/{layers.CtJmy5ik.js → layers.DrO5T5VR.js} +1 -1
- package/dist/{layers.BaTj2bsE.js → layers.DxucExvX.js} +1 -1
- package/dist/{layers.5mNGerLr.js → layers.DxwoNe-o.js} +8 -8
- package/dist/{layers.A1N05Gax.js → layers.J9AAbKxC.js} +1 -1
- package/dist/{layers.D4aRdrCe.js → layers.J_bky7NI.js} +1 -1
- package/dist/layers.JuHXMTGM.js +8 -0
- package/dist/{layers.C3aO0hiV.js → layers.KHxOJVSr.js} +1 -1
- package/dist/{layers.BbxhJW2W.js → layers.KyB1sD4M.js} +1 -1
- package/dist/{layers.DHS6YsOd.js → layers.LBt1fzwd.js} +1 -1
- package/dist/{layers.BqwHNsyh.js → layers.LEo58gQW.js} +1 -1
- package/dist/{layers.Ds-sGuKg.js → layers.LtHsbaVL.js} +1 -1
- package/dist/{layers.B2NZigxc.js → layers.MMVZa5rU.js} +1 -1
- package/dist/{layers.czR19agV.js → layers.NFYrL9Y3.js} +1 -1
- package/dist/{layers.d54Gj2ZF.js → layers.OT9-RFqo.js} +1 -1
- package/dist/{layers.CZOwYIYg.js → layers.PClQf4_D.js} +1 -1
- package/dist/{layers.CzK_FffN.js → layers.PbUSTlam.js} +8 -8
- package/dist/{layers.B3UJ2yor.js → layers.QUcN-pwY.js} +3 -3
- package/dist/{layers.QQ9hKnRH.js → layers.RW690fEH.js} +1 -1
- package/dist/{layers.BfX_Njxp.js → layers.RYZHHExo.js} +1 -1
- package/dist/{layers.BuzJGmQC.js → layers.W2bpl5Fu.js} +1 -1
- package/dist/{layers.tVJu5zYV.js → layers.WFAhuLxl.js} +4 -4
- package/dist/{layers.5I9K0rVe.js → layers._OGYEurx.js} +1 -1
- package/dist/{layers.RQcdDSSI.js → layers.a-ywAN8S.js} +1 -1
- package/dist/{layers.CKmzZRkb.js → layers.anT7acGt.js} +1 -1
- package/dist/{layers.GH6zpcXI.js → layers.b4uBpBrq.js} +1 -1
- package/dist/{layers.DnZ2Rb-K.js → layers.b8bdyU5v.js} +1 -1
- package/dist/{layers.CHmYPQfP.js → layers.cGuiQjw5.js} +1 -1
- package/dist/{layers.B-tAffD_.js → layers.cKuOtr9g.js} +6 -6
- package/dist/{layers.Cz8a95Q8.js → layers.cNmH6mSu.js} +1 -1
- package/dist/{layers.DfMGj-oO.js → layers.eHJwcKuP.js} +2 -2
- package/dist/{layers.DIGYJqDF.js → layers.hMnhhfHM.js} +1 -1
- package/dist/{layers.DAcYSwOQ.js → layers.hhhs4lA1.js} +1 -1
- package/dist/{layers.CJVHUT4X.js → layers.hxWvKfSX.js} +1 -1
- package/dist/{layers.CkwTOBGZ.js → layers.ijZy8Wxo.js} +1 -1
- package/dist/{layers.Btbh6ald.js → layers.jcsiYX8-.js} +3 -3
- package/dist/{layers.CsIf8iTJ.js → layers.jdDyJ9ex.js} +6 -6
- package/dist/{layers.btw8P8Kh.js → layers.osvVBlLW.js} +1 -1
- package/dist/{layers.DY4Y9CvJ.js → layers.p50cA8ge.js} +1 -1
- package/dist/layers.sKV9088o.js +1 -0
- package/dist/{layers.kayFGfHR.js → layers.tq__7pIM.js} +1 -1
- package/dist/{layers.CV5D7cEA.js → layers.vRXy5ZnT.js} +1 -1
- package/dist/{layers.BwOP8jmi.js → layers.vzvmu6Q2.js} +1 -1
- package/dist/{layers.CFJs-jCc.js → layers.xdee2IB6.js} +1 -1
- package/dist/{layers.BNqgQzyz.js → layers.zPm8He-S.js} +1 -1
- package/package.json +23 -23
- package/dist/layers.BWJP6-CH.js +0 -198
- package/dist/layers.BvndpJUd.js +0 -8
- package/dist/layers.Dq8jsmGW.js +0 -6
- package/dist/layers.Dtrl-K1L.js +0 -1
- package/dist/layers.fG1TL3pM.js +0 -1
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
"use strict";var EF=Object.defineProperty;var TF=(n,t,e)=>t in n?EF(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var j=(n,t,e)=>TF(n,typeof t!="symbol"?t+"":t,e);require("@mantine/dropzone");const A=require("react/jsx-runtime"),k=require("react"),ot=require("react-i18next"),Dr=require("react-dom"),D=require("@mantine/core"),_F=require("i18next"),bt=require("@layers-app/shared"),$=require("@tabler/icons-react"),NF=require("react-dom/server"),ul=require("lodash-es"),Za=require("@mantine/hooks");function IF(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 WE=IF(k);function me(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 HE(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 _s=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,MF=_s&&"documentMode"in document?document.documentMode:null,gs=_s&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),Al=_s&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),rh=!(!_s||!("InputEvent"in window)||MF)&&"getTargetRanges"in new window.InputEvent("input"),xu=_s&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),Ga=_s&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,LF=_s&&/Android/.test(navigator.userAgent),YE=_s&&/^(?=.*Chrome).*/i.test(navigator.userAgent),hv=_s&&LF&&YE,vu=_s&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&gs&&!YE;function ZE(...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 DF=0,OF=1,RF=2,GE=128,BF=1,PF=2,jF=3,FF=4,zF=5,UF=6,rg=xu||Ga||vu?" ":"",ki=`
|
|
2
|
+
|
|
3
|
+
`,KF=Al?" ":rg,JE="֑-߿יִ-﷽ﹰ-ﻼ",VE="A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--",WF=new RegExp("^[^"+VE+"]*["+JE+"]"),HF=new RegExp("^[^"+JE+"]*["+VE+"]"),Bo={bold:1,capitalize:1024,code:16,highlight:GE,italic:2,lowercase:256,strikethrough:4,subscript:32,superscript:64,underline:8,uppercase:512},YF={directionless:1,unmergeable:2},gv={center:2,end:6,justify:4,left:1,right:3,start:5},ZF={[PF]:"center",[UF]:"end",[FF]:"justify",[BF]:"left",[jF]:"right",[zF]:"start"},GF={normal:0,segmented:2,token:1},JF={[DF]:"normal",[RF]:"segmented",[OF]:"token"},pv="$config";function QE(n,t,e,r,s,o){let i=n.getFirstChild();for(;i!==null;){const l=i.__key;i.__parent===t&&(Y(i)&&QE(i,l,e,r,s,o),e.has(l)||o.delete(l),s.push(l)),i=i.getNextSibling()}}let RA=!1,xb=0;function VF(n){xb=n.timeStamp}function Em(n,t,e){const r=n.nodeName==="BR",s=t.__lexicalLineBreak;return s&&(n===s||r&&n.previousSibling===s)||r&&mg(n,e)!==void 0}function QF(n,t,e){const r=is(os(e));let s=null,o=null;r!==null&&r.anchorNode===n&&(s=r.anchorOffset,o=r.focusOffset);const i=n.nodeValue;i!==null&&Pb(t,i,s,o,!1)}function XF(n,t,e){if(W(n)){const r=n.anchor.getNode();if(r.is(e)&&n.format!==r.getFormat())return!1}return Qo(t)&&e.isAttached()}function qF(n,t,e,r){for(let s=n;s&&!R4(s);s=rd(s)){const o=mg(s,t);if(o!==void 0){const i=be(o,e);if(i)return tt(i)||!St(s)?void 0:[s,i]}else if(s===r)return[r,zT(e)]}}function XE(n,t,e){RA=!0;const r=performance.now()-xb>100;try{_r(n,()=>{const s=Z()||(function(g){return g.getEditorState().read(()=>{const p=Z();return p!==null?p.clone():null})})(n),o=new Map,i=n.getRootElement(),l=n._editorState,c=n._blockCursorElement;let u=!1,d="";for(let g=0;g<t.length;g++){const p=t[g],m=p.type,y=p.target,w=qF(y,n,l,i);if(!w)continue;const[x,C]=w;if(m==="characterData")r&&oe(C)&&Qo(y)&&XF(s,y,C)&&QF(y,C,n);else if(m==="childList"){u=!0;const v=p.addedNodes;for(let E=0;E<v.length;E++){const T=v[E],I=jT(T),M=T.parentNode;if(M!=null&&T!==c&&I===null&&!Em(T,M,n)){if(Al){const O=(St(T)?T.innerText:null)||T.nodeValue;O&&(d+=O)}M.removeChild(T)}}const _=p.removedNodes,N=_.length;if(N>0){let E=0;for(let T=0;T<N;T++){const I=_[T];(Em(I,y,n)||c===I)&&(y.appendChild(I),E++)}N!==E&&o.set(x,C)}}}if(o.size>0)for(const[g,p]of o)p.reconcileObservedMutation(g,n);const h=e.takeRecords();if(h.length>0){for(let g=0;g<h.length;g++){const p=h[g],m=p.addedNodes,y=p.target;for(let w=0;w<m.length;w++){const x=m[w],C=x.parentNode;C==null||x.nodeName!=="BR"||Em(x,y,n)||C.removeChild(x)}}e.takeRecords()}s!==null&&(u&&Ze(s),Al&&YT(n)&&s.insertRawText(d))})}finally{RA=!1}}function qE(n){const t=n._observer;t!==null&&XE(n,t.takeRecords(),t)}function $E(n){(function(t){xb===0&&os(t).addEventListener("textInput",VF,!0)})(n),n._observer=new MutationObserver((t,e)=>{XE(n,t,e)})}let $F=class{constructor(t,e){j(this,"key");j(this,"parse");j(this,"unparse");j(this,"isEqual");j(this,"defaultValue");this.key=t,this.parse=e.parse.bind(e),this.unparse=(e.unparse||t4).bind(e),this.isEqual=(e.isEqual||Object.is).bind(e),this.defaultValue=this.parse(void 0)}};function eT(n,t){return new $F(n,t)}function tT(n,t,e="latest"){const r=(e==="latest"?n.getLatest():n).__state;return r?r.getValue(t):t.defaultValue}function Tm(n,t,e){let r;if(_n(),typeof e=="function"){const o=n.getLatest(),i=tT(o,t);if(r=e(i),t.isEqual(i,r))return o}else r=e;const s=n.getWritable();return sg(s).updateFromKnown(t,r),s}function nT(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:s}=yg(r);if(s&&s.stateConfigs)for(const o of s.stateConfigs){let i;"stateConfig"in o?(i=o.stateConfig,o.flat&&e.add(i.key)):i=o,t.set(i.key,i)}}return{flatKeys:e,sharedConfigMap:t}}let e4=class rT{constructor(t,e,r=void 0,s=new Map,o=void 0){j(this,"node");j(this,"knownState");j(this,"unknownState");j(this,"sharedNodeState");j(this,"size");this.node=t,this.sharedNodeState=e,this.unknownState=r,this.knownState=s;const{sharedConfigMap:i}=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})(i,r,s);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 s=this.unknownState[t.key];s!==void 0&&(r=t.parse(s)),this.updateFromKnown(t,r)}return r}getInternalState(){return[this.unknownState,this.knownState]}toJSON(){const t={...this.unknownState},e={};for(const[r,s]of this.knownState)r.isEqual(s,r.defaultValue)?delete t[r.key]:t[r.key]=r.unparse(s);for(const r of this.sharedNodeState.flatKeys)r in t&&(e[r]=t[r],delete t[r]);return mv(t)&&(e.$=t),e}getWritable(t){if(this.node===t)return this;const{sharedNodeState:e,unknownState:r}=this,s=new Map(this.knownState);return new rT(t,e,(function(o,i,l){let c;if(l)for(const[u,d]of Object.entries(l)){const h=o.get(u);h?i.has(h)||i.set(h,h.parse(d)):(c=c||{},c[u]=d)}return c})(e.sharedConfigMap,s,r),s,this.size)}updateFromKnown(t,e){const r=t.key;this.sharedNodeState.sharedConfigMap.set(r,t);const{knownState:s,unknownState:o}=this;s.has(t)||o&&r in o||(o&&(delete o[r],this.unknownState=mv(o)),this.size++),s.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,s]of Object.entries(t))this.updateFromUnknown(r,s)}};function sg(n){const t=n.getWritable(),e=t.__state?t.__state.getWritable(t):new e4(t,sT(t));return t.__state=e,e}function sT(n){return n.__state?n.__state.sharedNodeState:OT(Zl(),n.getType()).sharedNodeState}function mv(n){if(n)for(const t in n)return n}function t4(n){return n}function Av(n,t,e){for(const[r,s]of t.knownState){if(n.has(r.key))continue;n.add(r.key);const o=e?e.getValue(r):r.defaultValue;if(o!==s&&!r.isEqual(o,s))return!0}return!1}function yv(n,t,e){const{unknownState:r}=t,s=e?e.unknownState:void 0;if(r){for(const[o,i]of Object.entries(r))if(!n.has(o)&&(n.add(o),i!==(s?s[o]:void 0)))return!0}return!1}function bv(n,t){const e=n.__state;return e&&e.node===n?e.getWritable(t):e}function wv(n,t){const e=n.__mode,r=n.__format,s=n.__style,o=t.__mode,i=t.__format,l=t.__style,c=n.__state,u=t.__state;return(e===null||e===o)&&(r===null||r===i)&&(s===null||s===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&&Av(g,d,h)||h&&Av(g,h,d)||d&&yv(g,d,h)||h&&yv(g,h,d))})(c,u))}function Cv(n,t){const e=n.mergeWithSibling(t),r=qt()._normalizedNodes;return r.add(n.__key),r.add(t.__key),e}function xv(n){let t,e,r=n;if(r.__text!==""||!r.isSimpleText()||r.isUnmergeable()){for(;(t=r.getPreviousSibling())!==null&&oe(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(t.__text!==""){if(wv(t,r)){r=Cv(t,r);break}break}t.remove()}for(;(e=r.getNextSibling())!==null&&oe(e)&&e.isSimpleText()&&!e.isUnmergeable();){if(e.__text!==""){if(wv(r,e)){r=Cv(r,e);break}break}e.remove()}}else r.remove()}function Ei(n){return vv(n.anchor),vv(n.focus),n}function vv(n){for(;n.type==="element";){const t=n.getNode(),e=n.offset;let r,s;if(e===t.getChildrenSize()?(r=t.getChildAtIndex(e-1),s=!0):(r=t.getChildAtIndex(e),s=!1),oe(r)){n.set(r.__key,s?r.getTextContentSize():0,"text",!0);break}if(!Y(r))break;n.set(r.__key,s?r.getChildrenSize():0,"element",!0)}}let yl,Vn,Su,og,BA,PA,bl,As,jA,ku,wn="",Ds=null,Os="",ko="",va=!1,sh=!1;function oh(n,t){const e=bl.get(n);if(t!==null){const r=KA(n);r.parentNode===t&&t.removeChild(r)}if(As.has(n)||Vn._keyToDOMMap.delete(n),Y(e)){const r=lh(e,bl);FA(r,0,r.length-1,null)}e!==void 0&&jb(ku,Su,og,e,"destroyed")}function FA(n,t,e,r){let s=t;for(;s<=e;++s){const o=n[s];o!==void 0&&oh(o,r)}}function qi(n,t){n.setProperty("text-align",t)}const n4="40px";function oT(n,t){const e=yl.theme.indent;if(typeof e=="string"){const s=n.classList.contains(e);t>0&&!s?n.classList.add(e):t<1&&s&&n.classList.remove(e)}const r=getComputedStyle(n).getPropertyValue("--lexical-indent-base-value")||n4;n.style.setProperty("padding-inline-start",t===0?"":`calc(${t} * ${r})`)}function iT(n,t){const e=n.style;t===0?qi(e,""):t===1?qi(e,"left"):t===2?qi(e,"center"):t===3?qi(e,"right"):t===4?qi(e,"justify"):t===5?qi(e,"start"):t===6&&qi(e,"end")}function zA(n,t){const e=(function(r){const s=r.__dir;if(s!==null)return s;if(Yt(r))return null;const o=r.getParentOrThrow();return Yt(o)&&o.__dir===null?"auto":null})(t);e!==null?n.dir=e:n.removeAttribute("dir")}function ih(n,t){const e=As.get(n);e===void 0&&me(60);const r=e.createDOM(yl,Vn);if((function(s,o,i){const l=i._keyToDOMMap;(function(c,u,d){const h=`__lexicalKey_${u._key}`;c[h]=d})(o,i,s),l.set(s,o)})(n,r,Vn),oe(e)?r.setAttribute("data-lexical-text","true"):tt(e)&&r.setAttribute("data-lexical-decorator","true"),Y(e)){const s=e.__indent,o=e.__size;if(zA(r,e),s!==0&&oT(r,s),o!==0){const l=o-1;UA(lh(e,As),e,0,l,e.getDOMSlot(r))}const i=e.__format;i!==0&&iT(r,i),e.isInline()||lT(null,e,r),Ag(e)&&(wn+=ki,ko+=ki)}else{const s=e.getTextContent();if(tt(e)){const o=e.decorate(Vn,yl);o!==null&&aT(n,o),r.contentEditable="false"}wn+=s,ko+=s}return t!==null&&t.insertChild(r),jb(ku,Su,og,e,"created"),r}function UA(n,t,e,r,s){const o=wn;wn="";let i=e;for(;i<=r;++i){ih(n[i],s);const l=As.get(n[i]);l!==null&&oe(l)&&(Ds===null&&(Ds=l.getFormat()),Os===""&&(Os=l.getStyle()))}Ag(t)&&(wn+=ki),s.element.__lexicalTextContent=wn,wn=o+wn}function Sv(n,t){if(n){const e=n.__last;if(e){const r=t.get(e);if(r)return It(r)?"line-break":tt(r)&&r.isInline()?"decorator":null}return"empty"}return null}function lT(n,t,e){const r=Sv(n,bl),s=Sv(t,As);r!==s&&t.getDOMSlot(e).setManagedLineBreak(s)}function r4(n,t,e){var r;Ds=null,Os="",(function(s,o,i){const l=wn,c=s.__size,u=o.__size;wn="";const d=i.element;if(c===1&&u===1){const h=s.__first,g=o.__first;if(h===g)$c(h,d);else{const m=KA(h),y=ih(g,null);try{d.replaceChild(y,m)}catch(w){if(typeof w=="object"&&w!=null){const x=`${w.toString()} Parent: ${d.tagName}, new child: {tag: ${y.tagName} key: ${g}}, old child: {tag: ${m.tagName}, key: ${h}}.`;throw new Error(x)}throw w}oh(h,null)}const p=As.get(g);oe(p)&&(Ds===null&&(Ds=p.getFormat()),Os===""&&(Os=p.getStyle()))}else{const h=lh(s,bl),g=lh(o,As);if(h.length!==c&&me(227),g.length!==u&&me(228),c===0)u!==0&&UA(g,o,0,u-1,i);else if(u===0){if(c!==0){const p=i.after==null&&i.before==null&&i.element.__lexicalLineBreak==null;FA(h,0,c-1,p?null:d),p&&(d.textContent="")}}else(function(p,m,y,w,x,C){const v=w-1,_=x-1;let N,E,T=C.getFirstChild(),I=0,M=0;for(;I<=v&&M<=_;){const F=m[I],z=y[M];if(F===z)T=_m($c(z,C.element)),I++,M++;else{N===void 0&&(N=new Set(m)),E===void 0&&(E=new Set(y));const te=E.has(F),le=N.has(z);if(te)if(le){const ce=Sl(Vn,z);ce===T?T=_m($c(z,C.element)):(C.withBefore(T).insertChild(ce),$c(z,C.element)),I++,M++}else ih(z,C.withBefore(T)),M++;else T=_m(KA(F)),oh(F,C.element),I++}const H=As.get(z);H!==null&&oe(H)&&(Ds===null&&(Ds=H.getFormat()),Os===""&&(Os=H.getStyle()))}const O=I>v,P=M>_;if(O&&!P){const F=y[_+1],z=F===void 0?null:Vn.getElementByKey(F);UA(y,p,M,_,C.withBefore(z))}else P&&!O&&FA(m,I,v,C.element)})(o,h,g,c,u,i)}Ag(o)&&(wn+=ki),d.__lexicalTextContent=wn,wn=l+wn})(n,t,t.getDOMSlot(e)),r=t,Ds==null||Ds===r.__textFormat||sh||r.setTextFormat(Ds),(function(s){Os===""||Os===s.__textStyle||sh||s.setTextStyle(Os)})(t)}function lh(n,t){const e=[];let r=n.__first;for(;r!==null;){const s=t.get(r);s===void 0&&me(101),e.push(r),r=s.__next}return e}function $c(n,t){const e=bl.get(n);let r=As.get(n);e!==void 0&&r!==void 0||me(61);const s=va||PA.has(n)||BA.has(n),o=Sl(Vn,n);if(e===r&&!s){if(Y(e)){const i=o.__lexicalTextContent;i!==void 0&&(wn+=i,ko+=i)}else{const i=e.getTextContent();ko+=i,wn+=i}return o}if(e!==r&&s&&jb(ku,Su,og,r,"updated"),r.updateDOM(e,o,yl)){const i=ih(n,null);return t===null&&me(62),t.replaceChild(i,o),oh(n,null),i}if(Y(e)&&Y(r)){const i=r.__indent;(va||i!==e.__indent)&&oT(o,i);const l=r.__format;if((va||l!==e.__format)&&iT(o,l),s&&(r4(e,r,o),Yt(r)||r.isInline()||lT(e,r,o)),Ag(r)&&(wn+=ki,ko+=ki),(va||r.__dir!==e.__dir)&&(zA(o,r),Yt(r)&&!va))for(const c of r.getChildren())Y(c)&&zA(Sl(Vn,c.getKey()),c)}else{const i=r.getTextContent();if(tt(r)){const l=r.decorate(Vn,yl);l!==null&&aT(n,l)}wn+=i,ko+=i}if(!sh&&Yt(r)&&r.__cachedText!==ko){const i=r.getWritable();i.__cachedText=ko,r=i}return o}function aT(n,t){let e=Vn._pendingDecorators;const r=Vn._decorators;if(e===null){if(r[n]===t)return;e=FT(Vn)}e[n]=t}function _m(n){let t=n.nextSibling;return t!==null&&t===Vn._blockCursorElement&&(t=t.nextSibling),t}function s4(n,t,e,r,s,o){wn="",ko="",va=r===2,Vn=e,yl=e._config,Su=e._nodes,og=Vn._listeners.mutation,BA=s,PA=o,bl=n._nodeMap,As=t._nodeMap,sh=t._readOnly,jA=new Map(e._keyToDOMMap);const i=new Map;return ku=i,$c("root",null),Vn=void 0,Su=void 0,BA=void 0,PA=void 0,bl=void 0,As=void 0,yl=void 0,jA=void 0,ku=void 0,i}function KA(n){const t=jA.get(n);return t===void 0&&me(75,n),t}function ye(n){return{type:n}}const Qr=ye("SELECTION_CHANGE_COMMAND"),cT=ye("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"),Zo=ye("CLICK_COMMAND"),Ws=ye("DELETE_CHARACTER_COMMAND"),dl=ye("INSERT_LINE_BREAK_COMMAND"),Po=ye("INSERT_PARAGRAPH_COMMAND"),yi=ye("CONTROLLED_TEXT_INSERTION_COMMAND"),Pl=ye("PASTE_COMMAND"),WA=ye("REMOVE_TEXT_COMMAND"),Ja=ye("DELETE_WORD_COMMAND"),wl=ye("DELETE_LINE_COMMAND"),Nt=ye("FORMAT_TEXT_COMMAND"),ac=ye("UNDO_COMMAND"),jl=ye("REDO_COMMAND"),Fl=ye("KEYDOWN_COMMAND"),ig=ye("KEY_ARROW_RIGHT_COMMAND"),HA=ye("MOVE_TO_END"),lg=ye("KEY_ARROW_LEFT_COMMAND"),ah=ye("MOVE_TO_START"),Xs=ye("KEY_ARROW_UP_COMMAND"),Ti=ye("KEY_ARROW_DOWN_COMMAND"),Cl=ye("KEY_ENTER_COMMAND"),vb=ye("KEY_SPACE_COMMAND"),zl=ye("KEY_BACKSPACE_COMMAND"),cc=ye("KEY_ESCAPE_COMMAND"),uc=ye("KEY_DELETE_COMMAND"),dc=ye("KEY_TAB_COMMAND"),YA=ye("INSERT_TAB_COMMAND"),Hs=ye("INDENT_CONTENT_COMMAND"),fi=ye("OUTDENT_CONTENT_COMMAND"),Sb=ye("DROP_COMMAND"),hi=ye("FORMAT_ELEMENT_COMMAND"),kb=ye("DRAGSTART_COMMAND"),Eb=ye("DRAGOVER_COMMAND"),o4=ye("DRAGEND_COMMAND"),Ul=ye("COPY_COMMAND"),Qu=ye("CUT_COMMAND"),ZA=ye("SELECT_ALL_COMMAND"),ag=ye("CLEAR_EDITOR_COMMAND"),Tb=ye("CLEAR_HISTORY_COMMAND"),Na=ye("CAN_REDO_COMMAND"),Ia=ye("CAN_UNDO_COMMAND"),ji=ye("FOCUS_COMMAND"),cg=ye("BLUR_COMMAND"),uT=ye("KEY_MODIFIER_COMMAND"),wo=Object.freeze({}),GA=[["keydown",function(n,t){if(au=n.timeStamp,dT=n.key,!t.isComposing()&&!ke(t,Fl,n)&&n.key!=null){if(Nm&&$v(n))return _r(t,()=>{gf(t,Im)}),Nm=!1,void(Im="");if((function(e){return Tt(e,"ArrowRight",{shiftKey:"any"})})(n))ke(t,ig,n);else if((function(e){return Tt(e,"ArrowRight",So)})(n))ke(t,HA,n);else if((function(e){return Tt(e,"ArrowLeft",{shiftKey:"any"})})(n))ke(t,lg,n);else if((function(e){return Tt(e,"ArrowLeft",So)})(n))ke(t,ah,n);else if((function(e){return Tt(e,"ArrowUp",{altKey:"any",shiftKey:"any"})})(n))ke(t,Xs,n);else if((function(e){return Tt(e,"ArrowDown",{altKey:"any",shiftKey:"any"})})(n))ke(t,Ti,n);else if((function(e){return Tt(e,"Enter",{altKey:"any",ctrlKey:"any",metaKey:"any",shiftKey:!0})})(n))cu=!0,ke(t,Cl,n);else if((function(e){return e.key===" "})(n))ke(t,vb,n);else if((function(e){return gs&&Tt(e,"o",{ctrlKey:!0})})(n))n.preventDefault(),cu=!0,ke(t,dl,!0);else if((function(e){return Tt(e,"Enter",{altKey:"any",ctrlKey:"any",metaKey:"any"})})(n))cu=!1,ke(t,Cl,n);else if((function(e){return Tt(e,"Backspace",{shiftKey:"any"})||gs&&Tt(e,"h",{ctrlKey:!0})})(n))$v(n)?ke(t,zl,n):(n.preventDefault(),ke(t,Ws,!0));else if((function(e){return e.key==="Escape"})(n))ke(t,cc,n);else if((function(e){return Tt(e,"Delete",{})||gs&&Tt(e,"d",{ctrlKey:!0})})(n))(function(e){return e.key==="Delete"})(n)?ke(t,uc,n):(n.preventDefault(),ke(t,Ws,!1));else if((function(e){return Tt(e,"Backspace",qv)})(n))n.preventDefault(),ke(t,Ja,!0);else if((function(e){return Tt(e,"Delete",qv)})(n))n.preventDefault(),ke(t,Ja,!1);else if((function(e){return gs&&Tt(e,"Backspace",{metaKey:!0})})(n))n.preventDefault(),ke(t,wl,!0);else if((function(e){return gs&&(Tt(e,"Delete",{metaKey:!0})||Tt(e,"k",{ctrlKey:!0}))})(n))n.preventDefault(),ke(t,wl,!1);else if((function(e){return Tt(e,"b",So)})(n))n.preventDefault(),ke(t,Nt,"bold");else if((function(e){return Tt(e,"u",So)})(n))n.preventDefault(),ke(t,Nt,"underline");else if((function(e){return Tt(e,"i",So)})(n))n.preventDefault(),ke(t,Nt,"italic");else if((function(e){return Tt(e,"Tab",{shiftKey:"any"})})(n))ke(t,dc,n);else if((function(e){return Tt(e,"z",So)})(n))n.preventDefault(),ke(t,ac,void 0);else if((function(e){return gs?Tt(e,"z",{metaKey:!0,shiftKey:!0}):Tt(e,"y",{ctrlKey:!0})||Tt(e,"z",{ctrlKey:!0,shiftKey:!0})})(n))n.preventDefault(),ke(t,jl,void 0);else{const e=t._editorState._selection;e===null||W(e)?eS(n)&&(n.preventDefault(),ke(t,ZA,n)):(function(r){return Tt(r,"c",So)})(n)?(n.preventDefault(),ke(t,Ul,n)):(function(r){return Tt(r,"x",So)})(n)?(n.preventDefault(),ke(t,Qu,n)):eS(n)&&(n.preventDefault(),ke(t,ZA,n))}(function(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey})(n)&&ke(t,uT,n)}}],["pointerdown",function(n,t){const e=n.target,r=n.pointerType;Yl(e)&&r!=="touch"&&r!=="pen"&&n.button===0&&_r(t,()=>{Vv(e)||(QA=!0)})}],["compositionstart",function(n,t){_r(t,()=>{const e=Z();if(W(e)&&!t.isComposing()){const r=e.anchor,s=e.anchor.getNode();Fn(r.key),(n.timeStamp<au+30||r.type==="element"||!e.isCollapsed()||s.getFormat()!==e.format||oe(s)&&s.getStyle()!==e.style)&&ke(t,yi,KF)}})}],["compositionend",function(n,t){Al?Yc=!0:Ga||!xu&&!vu?_r(t,()=>{gf(t,n.data)}):(Nm=!0,Im=n.data)}],["input",function(n,t){n.stopPropagation(),_r(t,()=>{if(St(n.target)&&Vv(n.target))return;const e=Z(),r=n.data,s=mT(n);if(r!=null&&W(e)&&gT(e,s,r,n.timeStamp,!1)){Yc&&(gf(t,r),Yc=!1);const o=e.anchor.getNode(),i=is(os(t));if(i===null)return;const l=e.isBackward(),c=l?e.anchor.offset:e.focus.offset,u=l?e.focus.offset:e.anchor.offset;rh&&!e.isCollapsed()&&oe(o)&&i.anchorNode!==null&&o.getTextContent().slice(0,c)+r+o.getTextContent().slice(c+u)===WT(i.anchorNode)||ke(t,yi,r);const d=r.length;Al&&d>1&&n.inputType==="insertCompositionText"&&!t.isComposing()&&(e.anchor.offset-=d),xu||Ga||vu||!t.isComposing()||(au=0,Fn(null))}else Bb(!1,t,r!==null?r:void 0),Yc&&(gf(t,r||void 0),Yc=!1);(function(){_n();const o=qt();qE(o)})()},{event:n}),Sa=null}],["click",function(n,t){_r(t,()=>{const e=Z(),r=is(os(t)),s=Jo();if(r){if(W(e)){const o=e.anchor,i=o.getNode();if(o.type==="element"&&o.offset===0&&e.isCollapsed()&&!Yt(i)&&Me().getChildrenSize()===1&&i.getTopLevelElementOrThrow().isEmpty()&&s!==null&&e.is(s))r.removeAllRanges(),e.dirty=!0;else if(n.detail===3&&!e.isCollapsed()&&i!==e.focus.getNode()){const l=ve(i,c=>Y(c)&&!c.isInline());Y(l)&&l.select(0)}}else if(n.pointerType==="touch"||n.pointerType==="pen"){const o=r.anchorNode;(St(o)||Qo(o))&&Ze(fg(s,r,t,n))}}ke(t,Zo,n)})}],["cut",wo],["copy",wo],["dragstart",wo],["dragover",wo],["dragend",wo],["paste",wo],["focus",wo],["blur",wo],["drop",wo]];rh&&GA.push(["beforeinput",(n,t)=>(function(e,r){const s=e.inputType,o=mT(e);s==="deleteCompositionText"||Al&&YT(r)||s!=="insertCompositionText"&&_r(r,()=>{const i=Z();if(s==="deleteContentBackward"){if(i===null){const p=Jo();if(!W(p))return;Ze(p.clone())}if(W(i)){const p=i.anchor.key===i.focus.key;if(l=e.timeStamp,dT==="MediaLast"&&l<au+30&&r.isComposing()&&p){if(Fn(null),au=0,setTimeout(()=>{_r(r,()=>{Fn(null)})},30),W(i)){const m=i.anchor.getNode();m.markDirty(),oe(m)||me(142),pT(i,m)}}else{Fn(null),e.preventDefault();const m=i.anchor.getNode(),y=m.getTextContent(),w=m.canInsertTextAfter(),x=i.anchor.offset===0&&i.focus.offset===y.length;let C=hv&&p&&!x&&w;if(C&&i.isCollapsed()&&(C=!tt(ty(i.anchor,!0))),!C){ke(r,Ws,!0);const v=Z();hv&&W(v)&&v.isCollapsed()&&(rl=v,setTimeout(()=>rl=null))}}return}}var l;if(!W(i))return;const c=e.data;Sa!==null&&Bb(!1,r,Sa),i.dirty&&Sa===null||!i.isCollapsed()||Yt(i.anchor.getNode())||o===null||i.applyDOMRange(o),Sa=null;const u=i.anchor,d=i.focus,h=u.getNode(),g=d.getNode();if(s!=="insertText"&&s!=="insertTranspose")switch(e.preventDefault(),s){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":ke(r,yi,e);break;case"insertFromComposition":Fn(null),ke(r,yi,e);break;case"insertLineBreak":Fn(null),ke(r,dl,!1);break;case"insertParagraph":Fn(null),cu&&!Ga?(cu=!1,ke(r,dl,!1)):ke(r,Po,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":ke(r,Pl,e);break;case"deleteByComposition":(function(p,m){return p!==m||Y(p)||Y(m)||!fl(p)||!fl(m)})(h,g)&&ke(r,WA,e);break;case"deleteByDrag":case"deleteByCut":ke(r,WA,e);break;case"deleteContent":ke(r,Ws,!1);break;case"deleteWordBackward":ke(r,Ja,!0);break;case"deleteWordForward":ke(r,Ja,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":ke(r,wl,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":ke(r,wl,!1);break;case"formatStrikeThrough":ke(r,Nt,"strikethrough");break;case"formatBold":ke(r,Nt,"bold");break;case"formatItalic":ke(r,Nt,"italic");break;case"formatUnderline":ke(r,Nt,"underline");break;case"historyUndo":ke(r,ac,void 0);break;case"historyRedo":ke(r,jl,void 0)}else{if(c===`
|
|
4
|
+
`)e.preventDefault(),ke(r,dl,!1);else if(c===ki)e.preventDefault(),ke(r,Po,void 0);else if(c==null&&e.dataTransfer){const p=e.dataTransfer.getData("text/plain");e.preventDefault(),i.insertRawText(p)}else c!=null&&gT(i,o,c,e.timeStamp,!0)?(e.preventDefault(),ke(r,yi,c)):Sa=c;fT=e.timeStamp}})})(n,t)]);let au=0,dT=null,fT=0,Sa=null;const JA=new WeakMap,ch=new WeakMap;let VA=!1,QA=!1,cu=!1,Yc=!1,Nm=!1,Im="",rl=null,hT=[0,"",0,"root",0];function gT(n,t,e,r,s){const o=n.anchor,i=n.focus,l=o.getNode(),c=qt(),u=is(os(c)),d=u!==null?u.anchorNode:null,h=o.key,g=c.getElementByKey(h),p=e.length;return h!==i.key||!oe(l)||(!s&&(!rh||fT<r+50)||l.isDirty()&&p<2||UT(e))&&o.offset!==i.offset&&!l.isComposing()||Rs(l)||l.isDirty()&&p>1||(s||!rh)&&g!==null&&!l.isComposing()&&d!==Va(g)||u!==null&&t!==null&&(!t.collapsed||t.startContainer!==u.anchorNode||t.startOffset!==u.anchorOffset)||l.getFormat()!==n.format||l.getStyle()!==n.style||(function(m,y){if(y.isSegmented())return!0;if(!m.isCollapsed())return!1;const w=m.anchor.offset,x=y.getParentOrThrow(),C=fl(y);return w===0?!y.canInsertTextBefore()||!x.canInsertTextBefore()&&!y.isComposing()||C||(function(v){const _=v.getPreviousSibling();return(oe(_)||Y(_)&&_.isInline())&&!_.canInsertTextAfter()})(y):w===y.getTextContentSize()&&(!y.canInsertTextAfter()||!x.canInsertTextAfter()&&!y.isComposing()||C)})(n,l)}function kv(n,t){return Qo(n)&&n.nodeValue!==null&&t!==0&&t!==n.nodeValue.length}function Ev(n,t,e){const{anchorNode:r,anchorOffset:s,focusNode:o,focusOffset:i}=n;VA&&(VA=!1,kv(r,s)&&kv(o,i)&&!rl)||_r(t,()=>{if(!e)return void Ze(null);if(!td(t,r,o))return;let l=Z();if(rl&&W(l)&&l.isCollapsed()){const c=l.anchor,u=rl.anchor;(c.key===u.key&&c.offset===u.offset+1||c.offset===1&&u.getNode().is(c.getNode().getPreviousSibling()))&&(l=rl.clone(),Ze(l))}if(rl=null,W(l)){const c=l.anchor,u=c.getNode();if(l.isCollapsed()){n.type==="Range"&&n.anchorNode===n.focusNode&&(l.dirty=!0);const d=os(t).event,h=d?d.timeStamp:performance.now(),[g,p,m,y,w]=hT,x=Me(),C=t.isComposing()===!1&&x.getTextContent()==="";if(h<w+200&&c.offset===m&&c.key===y)Hf(l,g,p);else if(c.type==="text")oe(u)||me(141),pT(l,u);else if(c.type==="element"&&!C){Y(u)||me(259);const v=c.getNode();v.isEmpty()?(function(_,N){const E=N.getTextFormat(),T=N.getTextStyle();Hf(_,E,T)})(l,v):Hf(l,0,"")}}else{const d=c.key,h=l.focus.key,g=l.getNodes(),p=g.length,m=l.isBackward(),y=m?i:s,w=m?s:i,x=m?h:d,C=m?d:h;let v=2047,_=!1;for(let N=0;N<p;N++){const E=g[N],T=E.getTextContentSize();if(oe(E)&&T!==0&&!(N===0&&E.__key===x&&y===T||N===p-1&&E.__key===C&&w===0)&&(_=!0,v&=E.getFormat(),v===0))break}l.format=_?v:0}}ke(t,Qr,void 0)})}function Hf(n,t,e){n.format===t&&n.style===e||(n.format=t,n.style=e,n.dirty=!0)}function pT(n,t){Hf(n,t.getFormat(),t.getStyle())}function mT(n){if(!n.getTargetRanges)return null;const t=n.getTargetRanges();return t.length===0?null:t[0]}function gf(n,t){const e=n._compositionKey;if(Fn(null),e!==null&&t!=null){if(t===""){const r=be(e),s=Va(n.getElementByKey(e));return void(s!==null&&s.nodeValue!==null&&oe(r)&&Pb(r,s.nodeValue,null,null,!0))}if(t[t.length-1]===`
|
|
5
|
+
`){const r=Z();if(W(r)){const s=r.focus;return r.anchor.set(s.key,s.offset,s.type),void ke(n,Cl,null)}}}Bb(!0,n,t)}function AT(n){let t=n.__lexicalEventHandles;return t===void 0&&(t=[],n.__lexicalEventHandles=t),t}const Ba=new Map;function yT(n){const t=L4(n.target);if(t===null)return;const e=nd(t.anchorNode);if(e===null)return;QA&&(QA=!1,_r(e,()=>{const c=Jo(),u=t.anchorNode;(St(u)||Qo(u))&&Ze(fg(c,t,e,n))}));const r=Rb(e),s=r[r.length-1],o=s._key,i=Ba.get(o),l=i||s;l!==e&&Ev(t,l,!1),Ev(t,e,!0),e!==s?Ba.set(o,e):i&&Ba.delete(o)}function Tv(n){n._lexicalHandled=!0}function _v(n){return n._lexicalHandled===!0}function i4(n){const t=JA.get(n);if(t===void 0)return;const e=ch.get(t);if(e===void 0)return;const r=e-1;r>=0||me(164),JA.delete(n),ch.set(t,r),r===0&&t.removeEventListener("selectionchange",yT);const s=pg(n);Ob(s)?((function(i){if(i._parentEditor!==null){const l=Rb(i),c=l[l.length-1]._key;Ba.get(c)===i&&Ba.delete(c)}else Ba.delete(i._key)})(s),n.__lexicalEditor=null):s&&me(198);const o=AT(n);for(let i=0;i<o.length;i++)o[i]();n.__lexicalEventHandles=[]}function XA(n,t,e){_n();const r=n.__key,s=n.getParent();if(s===null)return;const o=(function(l){const c=Z();if(!W(c)||!Y(l))return c;const{anchor:u,focus:d}=c,h=u.getNode(),g=d.getNode();return ny(h,l)&&u.set(l.__key,0,"element"),ny(g,l)&&d.set(l.__key,0,"element"),c})(n);let i=!1;if(W(o)&&t){const l=o.anchor,c=o.focus;l.key===r&&(fh(l,n,s,n.getPreviousSibling(),n.getNextSibling()),i=!0),c.key===r&&(fh(c,n,s,n.getPreviousSibling(),n.getNextSibling()),i=!0)}else Kt(o)&&t&&n.isSelected()&&n.selectPrevious();if(W(o)&&t&&!i){const l=n.getIndexWithinParent();Do(n),dh(o,s,l,-1)}else Do(n);e||Xn(s)||s.canBeEmpty()||!s.isEmpty()||XA(s,t),t&&o&&Yt(s)&&s.isEmpty()&&s.selectEnd()}const bT=Symbol.for("ephemeral");function uh(n){return n[bT]||!1}class ys{constructor(t){j(this,"__type");j(this,"__key");j(this,"__parent");j(this,"__prev");j(this,"__next");j(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}),PT(this,t)}static getType(){const{ownNodeType:t}=yg(this);return t===void 0&&me(64,this.name),t}static clone(t){me(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(){me(137,this.constructor.name)}isAttached(){let t=this.__key;for(;t!==null;){if(t==="root")return!0;const e=be(t);if(e===null)break;t=e.__parent}return!1}isSelected(t){const e=t||Z();if(e==null)return!1;const r=e.getNodes().some(s=>s.__key===this.__key);if(oe(this))return r;if(W(e)&&e.anchor.type==="element"&&e.focus.type==="element"){if(e.isCollapsed())return!1;const s=this.getParent();if(tt(this)&&this.isInline()&&s){const o=e.isBackward()?e.focus:e.anchor;if(s.is(o.getNode())&&o.offset===s.getChildrenSize()&&this.is(s.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:be(t)}getParentOrThrow(){const t=this.getParent();return t===null&&me(66,this.__key),t}getTopLevelElement(){let t=this;for(;t!==null;){const e=t.getParent();if(Xn(e))return Y(t)||t===this&&tt(t)||me(194),t;t=e}return null}getTopLevelElementOrThrow(){const t=this.getTopLevelElement();return t===null&&me(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:be(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:be(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(),s=e&&r?Zf(e,r):null;return s?s.commonAncestor:null}is(t){return t!=null&&this.__key===t.__key}isBefore(t){const e=Zf(this,t);return e!==null&&(e.type==="descendant"||(e.type==="branch"?$T(e)===-1:(e.type!=="same"&&e.type!=="ancestor"&&me(279),!1)))}isParentOf(t){const e=Zf(this,t);return e!==null&&e.type==="ancestor"}getNodesBetween(t){const e=this.isBefore(t),r=[],s=new Set;let o=this;for(;o!==null;){const i=o.__key;if(s.has(i)||(s.add(i),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(s.has(u.__key)||r.push(u),u===t)break;let d=null,h=u;do{if(h===null&&me(68),d=e?h.getNextSibling():h.getPreviousSibling(),h=h.getParent(),h===null)break;d!==null||s.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(uh(this))return this;const t=be(this.__key);return t===null&&me(113),t}getWritable(){if(uh(this))return this;_n();const t=Fi(),e=qt(),r=t._nodeMap,s=this.__key,o=this.getLatest(),i=e._cloneNotNeeded,l=Z();if(l!==null&&l.setCachedNodes(null),i.has(s))return gh(o),o;const c=Ub(o);return i.add(s),gh(c),r.set(s,c),c}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(t,e){me(70)}updateDOM(t,e,r){me(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){me(18,this.name)}updateFromJSON(t){return(function(e,r){const s=e.getWritable(),o=r.$;let i=o;for(const l of sT(s).flatKeys)l in r&&(i!==void 0&&i!==o||(i={...o}),i[l]=r[l]);return(s.__state||i)&&sg(e).updateFromJSON(i),s})(this,t)}static transform(){return null}remove(t){XA(this,!0,t)}replace(t,e){_n();let r=Z();r!==null&&(r=r.clone()),Bm(this,t);const s=this.getLatest(),o=this.__key,i=t.__key,l=t.getWritable(),c=this.getParentOrThrow().getWritable(),u=c.__size;Do(l);const d=s.getPreviousSibling(),h=s.getNextSibling(),g=s.__prev,p=s.__next,m=s.__parent;if(XA(s,!1,!0),d===null?c.__first=i:d.getWritable().__next=i,l.__prev=g,h===null?c.__last=i:h.getWritable().__prev=i,l.__next=p,l.__parent=m,c.__size=u,e&&(Y(this)&&Y(l)||me(139),this.getChildren().forEach(y=>{l.append(y)})),W(r)){Ze(r);const y=r.anchor,w=r.focus;y.key===o&&Dv(y,l),w.key===o&&Dv(w,l)}return gi()===o&&Fn(i),l}insertAfter(t,e=!0){_n(),Bm(this,t);const r=this.getWritable(),s=t.getWritable(),o=s.getParent(),i=Z();let l=!1,c=!1;if(o!==null){const p=t.getIndexWithinParent();if(Do(s),W(i)){const m=o.__key,y=i.anchor,w=i.focus;l=y.type==="element"&&y.key===m&&y.offset===p+1,c=w.type==="element"&&w.key===m&&w.offset===p+1}}const u=this.getNextSibling(),d=this.getParentOrThrow().getWritable(),h=s.__key,g=r.__next;if(u===null?d.__last=h:u.getWritable().__prev=h,d.__size++,r.__next=h,s.__next=g,s.__prev=r.__key,s.__parent=r.__parent,e&&W(i)){const p=this.getIndexWithinParent();dh(i,d,p+1);const m=d.__key;l&&i.anchor.set(m,p+2,"element"),c&&i.focus.set(m,p+2,"element")}return t}insertBefore(t,e=!0){_n(),Bm(this,t);const r=this.getWritable(),s=t.getWritable(),o=s.__key;Do(s);const i=this.getPreviousSibling(),l=this.getParentOrThrow().getWritable(),c=r.__prev,u=this.getIndexWithinParent();i===null?l.__first=o:i.getWritable().__next=o,l.__size++,r.__prev=o,s.__prev=c,s.__next=r.__key,s.__parent=r.__parent;const d=Z();return e&&W(d)&&dh(d,this.getParentOrThrow(),u),t}isParentRequired(){return!1}createParentElementNode(){return Ce()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(t,e){_n();const r=this.getPreviousSibling(),s=this.getParentOrThrow();if(r===null)return s.select(0,0);if(Y(r))return r.select();if(!oe(r)){const o=r.getIndexWithinParent()+1;return s.select(o,o)}return r.select(t,e)}selectNext(t,e){_n();const r=this.getNextSibling(),s=this.getParentOrThrow();if(r===null)return s.select();if(Y(r))return r.select(0,0);if(!oe(r)){const o=r.getIndexWithinParent();return s.select(o,o)}return r.select(t,e)}markDirty(){this.getWritable()}reconcileObservedMutation(t,e){this.markDirty()}}j(ys,"importDOM");const xl="historic",l4="history-push",Xr="history-merge",a4="paste",Xu="collaboration",Nv="skip-collab",wT="skip-scroll-into-view",c4="skip-dom-selection",u4="skip-selection-focus";class fc extends ys{static getType(){return"linebreak"}static clone(t){return new fc(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&&ph(r)){const s=r.firstChild;if(s===e||s.nextSibling===e&&pf(s)){const o=r.lastChild;if(o===e||o.previousSibling===e&&pf(o))return!0}}return!1})(t)||(function(e){const r=e.parentElement;if(r!==null&&ph(r)){const s=r.firstChild;if(s===e||s.nextSibling===e&&pf(s))return!1;const o=r.lastChild;if(o===e||o.previousSibling===e&&pf(o))return!0}return!1})(t)?null:{conversion:d4,priority:0}}}static importJSON(t){return cr().updateFromJSON(t)}}function d4(n){return{node:cr()}}function cr(){return Lt(new fc)}function It(n){return n instanceof fc}function pf(n){return Qo(n)&&/^( |\t|\r?\n)+$/.test(n.textContent||"")}function Mm(n,t){return 16&t?"code":t&GE?"mark":32&t?"sub":64&t?"sup":null}function Lm(n,t){return 1&t?"strong":2&t?"em":"span"}function CT(n,t,e,r,s){const o=r.classList;let i=Pa(s,"base");i!==void 0&&o.add(...i),i=Pa(s,"underlineStrikethrough");let l=!1;const c=8&t&&4&t;i!==void 0&&(8&e&&4&e?(l=!0,c||o.add(...i)):c&&o.remove(...i));for(const u in Bo){const d=Bo[u];if(i=Pa(s,u),i!==void 0)if(e&d){if(l&&(u==="underline"||u==="strikethrough")){t&d&&o.remove(...i);continue}((t&d)===0||c&&u==="underline"||u==="strikethrough")&&o.add(...i)}else t&d&&o.remove(...i)}}function xT(n,t,e){const r=t.firstChild,s=e.isComposing(),o=n+(s?rg:"");if(r==null)t.textContent=o;else{const i=r.nodeValue;if(i!==o)if(s||Al){const[l,c,u]=(function(d,h){const g=d.length,p=h.length;let m=0,y=0;for(;m<g&&m<p&&d[m]===h[m];)m++;for(;y+m<g&&y+m<p&&d[g-y-1]===h[p-y-1];)y++;return[m,g-m-y,h.slice(m,p-y)]})(i,o);c!==0&&r.deleteData(l,c),r.insertData(l,u)}else r.nodeValue=o}}function Iv(n,t,e,r,s,o){xT(s,n,t);const i=o.theme.text;i!==void 0&&CT(0,0,r,n,i)}function mf(n,t){const e=document.createElement(t);return e.appendChild(n),e}class Mn extends ys{constructor(e="",r){super(r);j(this,"__text");j(this,"__format");j(this,"__style");j(this,"__mode");j(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 JF[e.__mode]}getStyle(){return this.getLatest().__style}isToken(){return this.getLatest().__mode===1}isComposing(){return this.__key===gi()}isSegmented(){return this.getLatest().__mode===2}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){const r=Bo[e];return(this.getFormat()&r)!==0}isSimpleText(){return this.__type==="text"&&this.__mode===0}getTextContent(){return this.getLatest().__text}getFormatFlags(e,r){return hh(this.getLatest().__format,e,r)}canHaveFormat(){return!0}isInline(){return!0}createDOM(e,r){const s=this.__format,o=Mm(0,s),i=Lm(0,s),l=o===null?i:o,c=document.createElement(l);let u=c;this.hasFormat("code")&&c.setAttribute("spellcheck","false"),o!==null&&(u=document.createElement(i),c.appendChild(u)),Iv(u,this,0,s,this.__text,e);const d=this.__style;return d!==""&&(c.style.cssText=d),c}updateDOM(e,r,s){const o=this.__text,i=e.__format,l=this.__format,c=Mm(0,i),u=Mm(0,l),d=Lm(0,i),h=Lm(0,l);if((c===null?d:c)!==(u===null?h:u))return!0;if(c===u&&d!==h){const w=r.firstChild;w==null&&me(48);const x=document.createElement(h);return Iv(x,this,0,l,o,s),r.replaceChild(x,w),!1}let g=r;u!==null&&c!==null&&(g=r.firstChild,g==null&&me(49)),xT(o,g,this);const p=s.theme.text;p!==void 0&&i!==l&&CT(0,i,l,g,p);const m=e.__style,y=this.__style;return m!==y&&(r.style.cssText=y),!1}static importDOM(){return{"#text":()=>({conversion:p4,priority:0}),b:()=>({conversion:h4,priority:0}),code:()=>({conversion:Co,priority:0}),em:()=>({conversion:Co,priority:0}),i:()=>({conversion:Co,priority:0}),mark:()=>({conversion:Co,priority:0}),s:()=>({conversion:Co,priority:0}),span:()=>({conversion:f4,priority:0}),strong:()=>({conversion:Co,priority:0}),sub:()=>({conversion:Co,priority:0}),sup:()=>({conversion:Co,priority:0}),u:()=>({conversion:Co,priority:0})}}static importJSON(e){return ht().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 St(r)||me(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=mf(r,"b")),this.hasFormat("italic")&&(r=mf(r,"i")),this.hasFormat("strikethrough")&&(r=mf(r,"s")),this.hasFormat("underline")&&(r=mf(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"?Bo[e]:e,r}setDetail(e){const r=this.getWritable();return r.__detail=typeof e=="string"?YF[e]:e,r}setStyle(e){const r=this.getWritable();return r.__style=e,r}toggleFormat(e){const r=hh(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=GF[e];if(this.__mode===r)return this;const s=this.getWritable();return s.__mode=r,s}setTextContent(e){if(this.__text===e)return this;const r=this.getWritable();return r.__text=e,r}select(e,r){_n();let s=e,o=r;const i=Z(),l=this.getTextContent(),c=this.__key;if(typeof l=="string"){const u=l.length;s===void 0&&(s=u),o===void 0&&(o=u)}else s=0,o=0;if(!W(i))return kT(c,s,c,o,"text","text");{const u=gi();u!==i.anchor.key&&u!==i.focus.key||Fn(c),i.setTextNodeRange(this,s,this,o)}return i}selectStart(){return this.select(0,0)}selectEnd(){const e=this.getTextContentSize();return this.select(e,e)}spliceText(e,r,s,o){const i=this.getWritable(),l=i.__text,c=s.length;let u=e;u<0&&(u=c+u,u<0&&(u=0));const d=Z();if(o&&W(d)){const g=e+c;d.setTextNodeRange(i,g,i,g)}const h=l.slice(0,u)+s+l.slice(u+r);return i.__text=h,i}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){_n();const r=this.getLatest(),s=r.getTextContent();if(s==="")return[];const o=r.__key,i=gi(),l=s.length;e.sort((M,O)=>M-O),e.push(l);const c=[],u=e.length;for(let M=0,O=0;M<l&&O<=u;O++){const P=e[O];P>M&&(c.push(s.slice(M,P)),M=P)}const d=c.length;if(d===1)return[r];const h=c[0],g=r.getParent();let p;const m=r.getFormat(),y=r.getStyle(),w=r.__detail;let x=!1,C=null,v=null;const _=Z();if(W(_)){const[M,O]=_.isBackward()?[_.focus,_.anchor]:[_.anchor,_.focus];M.type==="text"&&M.key===o&&(C=M),O.type==="text"&&O.key===o&&(v=O)}r.isSegmented()?(p=ht(h),p.__format=m,p.__style=y,p.__detail=w,p.__state=bv(r,p),x=!0):p=r.setTextContent(h);const N=[p];for(let M=1;M<d;M++){const O=ht(c[M]);O.__format=m,O.__style=y,O.__detail=w,O.__state=bv(r,O);const P=O.__key;i===o&&Fn(P),N.push(O)}const E=C?C.offset:null,T=v?v.offset:null;let I=0;for(const M of N){if(!C&&!v)break;const O=I+M.getTextContentSize();if(C!==null&&E!==null&&E<=O&&E>=I&&(C.set(M.getKey(),E-I,"text"),E<O&&(C=null)),v!==null&&T!==null&&T<=O&&T>=I){v.set(M.getKey(),T-I,"text");break}I=O}if(g!==null){(function(P){const F=P.getPreviousSibling(),z=P.getNextSibling();F!==null&&gh(F),z!==null&&gh(z)})(this);const M=g.getWritable(),O=this.getIndexWithinParent();x?(M.splice(O,0,N),this.remove()):M.splice(O,1,N),W(_)&&dh(_,g,O,d-1)}return N}mergeWithSibling(e){const r=e===this.getPreviousSibling();r||e===this.getNextSibling()||me(50);const s=this.__key,o=e.__key,i=this.__text,l=i.length;gi()===o&&Fn(s);const c=Z();if(W(c)){const g=c.anchor,p=c.focus;g!==null&&g.key===o&&zv(g,r,s,e,l),p!==null&&p.key===o&&zv(p,r,s,e,l)}const u=e.__text,d=r?u+i:i+u;this.setTextContent(d);const h=this.getWritable();return e.remove(),h}isTextEntity(){return!1}}function f4(n){return{forChild:_b(n.style),node:null}}function h4(n){const t=n,e=t.style.fontWeight==="normal";return{forChild:_b(t.style,e?void 0:"bold"),node:null}}const Mv=new WeakMap;function g4(n){if(!St(n))return!1;if(n.nodeName==="PRE")return!0;const t=n.style.whiteSpace;return typeof t=="string"&&t.startsWith("pre")}function p4(n){const t=n;n.parentElement===null&&me(129);let e=t.textContent||"";if((function(r){let s,o=r.parentNode;const i=[r];for(;o!==null&&(s=Mv.get(o))===void 0&&!g4(o);)i.push(o),o=o.parentNode;const l=s===void 0?o:s;for(let c=0;c<i.length;c++)Mv.set(i[c],l);return l})(t)!==null){const r=e.split(/(\r?\n|\t)/),s=[],o=r.length;for(let i=0;i<o;i++){const l=r[i];l===`
|
|
7
|
+
`||l===`\r
|
|
8
|
+
`?s.push(cr()):l===" "?s.push(ts()):l!==""&&s.push(ht(l))}return{node:s}}if(e=e.replace(/\r/g,"").replace(/[ \t\n]+/g," "),e==="")return{node:null};if(e[0]===" "){let r=t,s=!0;for(;r!==null&&(r=Lv(r,!1))!==null;){const o=r.textContent||"";if(o.length>0){/[ \t\n]$/.test(o)&&(e=e.slice(1)),s=!1;break}}s&&(e=e.slice(1))}if(e[e.length-1]===" "){let r=t,s=!0;for(;r!==null&&(r=Lv(r,!0))!==null;)if((r.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){s=!1;break}s&&(e=e.slice(0,e.length-1))}return e===""?{node:null}:{node:ht(e)}}function Lv(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,St(e)){const o=e.style.display;if(o===""&&!iy(e)||o!==""&&!o.startsWith("inline"))return null}let s=e;for(;(s=t?e.firstChild:e.lastChild)!==null;)e=s;if(Qo(e))return e;if(e.nodeName==="BR")return null}}const m4={code:"code",em:"italic",i:"italic",mark:"highlight",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function Co(n){const t=m4[n.nodeName.toLowerCase()];return t===void 0?{node:null}:{forChild:_b(n.style,t),node:null}}function ht(n=""){return Lt(new Mn(n))}function oe(n){return n instanceof Mn}function _b(n,t){const e=n.fontWeight,r=n.textDecoration.split(" "),s=e==="700"||e==="bold",o=r.includes("line-through"),i=n.fontStyle==="italic",l=r.includes("underline"),c=n.verticalAlign;return u=>(oe(u)&&(s&&!u.hasFormat("bold")&&u.toggleFormat("bold"),o&&!u.hasFormat("strikethrough")&&u.toggleFormat("strikethrough"),i&&!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 hc extends Mn{static getType(){return"tab"}static clone(t){return new hc(t.__key)}constructor(t){super(" ",t),this.__detail=2}static importDOM(){return null}createDOM(t){const e=super.createDOM(t),r=Pa(t.theme,"tab");return r!==void 0&&e.classList.add(...r),e}static importJSON(t){return ts().updateFromJSON(t)}setTextContent(t){return t!==" "&&t!==""&&HE(126),super.setTextContent(" ")}spliceText(t,e,r,s){return r===""&&e===0||r===" "&&e===1||me(286),this}setDetail(t){return t!==2&&me(127),this}setMode(t){return t!=="normal"&&me(128),this}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function ts(){return Lt(new hc)}function zn(n){return n instanceof hc}class A4{constructor(t,e,r){j(this,"key");j(this,"offset");j(this,"type");j(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:qT(qr(qs(this,"next")),qr(qs(t,"next")))<0}getNode(){const t=be(this.key);return t===null&&me(20),t}set(t,e,r,s){const o=this._selection,i=this.key;s&&this.key===t&&this.offset===e&&this.type===r||(this.key=t,this.offset=e,this.type=r,Wl()||(gi()===i&&Fn(t),o!==null&&(o.setCachedNodes(null),o.dirty=!0)))}}function Dn(n,t,e){return new A4(n,t,e)}function Dm(n,t){let e=t.__key,r=n.offset,s="element";if(oe(t)){s="text";const o=t.getTextContentSize();r>o&&(r=o)}else if(!Y(t)){const o=t.getNextSibling();if(oe(o))e=o.__key,r=0,s="text";else{const i=t.getParent();i&&(e=i.__key,r=t.getIndexWithinParent()+1)}}n.set(e,r,s)}function Dv(n,t){if(Y(t)){const e=t.getLastDescendant();Y(e)||oe(e)?Dm(n,e):Dm(n,t)}else Dm(n,t)}class ug{constructor(t){j(this,"_nodes");j(this,"_cachedNodes");j(this,"dirty");this._cachedNodes=null,this._nodes=t,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t}is(t){if(!Kt(t))return!1;const e=this._nodes,r=t._nodes;return e.size===r.size&&Array.from(e).every(s=>r.has(s))}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 ug(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(t){}insertText(){}insertNodes(t){const e=this.getNodes(),r=e.length,s=e[r-1];let o;if(oe(s))o=s.select();else{const i=s.getIndexWithinParent()+1;o=s.getParentOrThrow().select(i,i)}o.insertNodes(t);for(let i=0;i<r;i++)e[i].remove()}getNodes(){const t=this._cachedNodes;if(t!==null)return t;const e=this._nodes,r=[];for(const s of e){const o=be(s);o!==null&&r.push(o)}return Wl()||(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((Z()||Jo())===this&&t[0]){const e=en(t[0],"next");Jb(jo(e,e))}for(const e of t)e.remove()}}function W(n){return n instanceof Kl}class Kl{constructor(t,e,r,s){j(this,"format");j(this,"style");j(this,"anchor");j(this,"focus");j(this,"_cachedNodes");j(this,"dirty");this.anchor=t,this.focus=e,t._selection=this,e._selection=this,this._cachedNodes=null,this.format=r,this.style=s,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t}is(t){return!!W(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 s=[],[o,i]=r.getTextSlices();o&&s.push(o.caret.origin);const l=new Set,c=new Set;for(const u of r)if(ns(u)){const{origin:d}=u;s.length===0?l.add(d):(c.add(d),s.push(d))}else{const{origin:d}=u;Y(d)&&c.has(d)||s.push(d)}if(i&&s.push(i.caret.origin),Tl(r.focus)&&Y(r.focus.origin)&&r.focus.getNodeAtCaret()===null)for(let u=ls(r.focus.origin,"previous");ns(u)&&l.has(u.origin)&&!u.origin.isEmpty()&&u.origin.is(s[s.length-1]);u=Qa(u))l.delete(u.origin),s.pop();for(;s.length>1;){const u=s[s.length-1];if(!Y(u)||c.has(u)||u.isEmpty()||l.has(u))break;s.pop()}if(s.length===0&&r.isCollapsed()){const u=qr(r.anchor),d=qr(r.anchor.getFlipped()),h=p=>Ys(p)?p.origin:p.getNodeAtCaret(),g=h(u)||h(d)||(r.anchor.getNodeAtCaret()?u.origin:d.origin);s.push(g)}return s})(Vb(ly(this),"next"));return Wl()||(this._cachedNodes=e),e}setTextNodeRange(t,e,r,s){this.anchor.set(t.__key,e,"text"),this.focus.set(r.__key,s,"text")}getTextContent(){const t=this.getNodes();if(t.length===0)return"";const e=t[0],r=t[t.length-1],s=this.anchor,o=this.focus,i=s.isBefore(o),[l,c]=qA(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,oe(g)){let p=g.getTextContent();g===e?g===r?s.type==="element"&&o.type==="element"&&o.offset!==s.offset||(p=l<c?p.slice(l,c):p.slice(c,l)):p=i?p.slice(l):p.slice(c):g===r&&(p=i?p.slice(0,c):p.slice(0,l)),u+=p}else!tt(g)&&!It(g)||g===r&&this.isCollapsed()||(u+=g.getTextContent())}return u}applyDOMRange(t){const e=qt(),r=e.getEditorState()._selection,s=ST(t.startContainer,t.startOffset,t.endContainer,t.endOffset,e,r);if(s===null)return;const[o,i]=s;this.anchor.set(o.key,o.offset,o.type,!0),this.focus.set(i.key,i.offset,i.type,!0),Ei(this)}clone(){const t=this.anchor,e=this.focus;return new Kl(Dn(t.key,t.offset,t.type),Dn(e.key,e.offset,e.type),this.format,this.style)}toggleFormat(t){this.format=hh(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=Bo[t];return(this.format&e)!==0}insertRawText(t){const e=t.split(/(\r?\n|\t)/),r=[],s=e.length;for(let o=0;o<s;o++){const i=e[o];i===`
|
|
10
|
+
`||i===`\r
|
|
11
|
+
`?r.push(cr()):i===" "?r.push(ts()):r.push(ht(i))}this.insertNodes(r)}insertText(t){const e=this.anchor,r=this.focus,s=this.format,o=this.style;let i=e,l=r;!this.isCollapsed()&&r.isBefore(e)&&(i=r,l=e),i.type==="element"&&(function(w,x,C,v){const _=w.getNode(),N=_.getChildAtIndex(w.offset),E=ht();if(E.setFormat(C),E.setStyle(v),an(N))N.splice(0,0,[E]);else{const T=Yt(_)?Ce().append(E):E;N===null?_.append(T):N.insertBefore(T)}w.is(x)&&x.set(E.__key,0,"text"),w.set(E.__key,0,"text")})(i,l,s,o),l.type==="element"&&Tu(l,qr(qs(l,"next")));const c=i.offset;let u=l.offset;const d=this.getNodes(),h=d.length;let g=d[0];oe(g)||me(26);const p=g.getTextContent().length,m=g.getParentOrThrow();let y=d[h-1];if(h===1&&l.type==="element"&&(u=p,l.set(i.key,u,"text")),this.isCollapsed()&&c===p&&(Rs(g)||!g.canInsertTextAfter()||!m.canInsertTextAfter()&&g.getNextSibling()===null)){let w=g.getNextSibling();if(oe(w)&&w.canInsertTextBefore()&&!Rs(w)||(w=ht(),w.setFormat(s),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&&(Rs(g)||!g.canInsertTextBefore()||!m.canInsertTextBefore()&&g.getPreviousSibling()===null)){let w=g.getPreviousSibling();if(oe(w)&&!Rs(w)||(w=ht(),w.setFormat(s),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=ht(g.getTextContent());w.setFormat(s),g.replace(w),g=w}else if(!this.isCollapsed()&&t!==""){const w=y.getParent();if(!m.canInsertTextBefore()||!m.canInsertTextAfter()||Y(w)&&(!w.canInsertTextBefore()||!w.canInsertTextAfter()))return this.insertText(""),vT(this.anchor,this.focus,null),void this.insertText(t)}if(h===1){if(fl(g)){const v=ht(t);return v.select(),void g.replace(v)}const w=g.getFormat(),x=g.getStyle();if(c!==u||w===s&&x===o){if(zn(g)){const v=ht(t);return v.setFormat(s),v.setStyle(o),v.select(),void g.replace(v)}}else{if(g.getTextContent()!==""){const v=ht(t);if(v.setFormat(s),v.setStyle(o),v.select(),c===0)g.insertBefore(v,!1);else{const[_]=g.splitText(c);_.insertAfter(v,!1)}return void(v.isComposing()&&this.anchor.type==="text"&&(this.anchor.offset-=t.length))}g.setFormat(s),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=x))}else{const w=new Set([...g.getParentKeys(),...y.getParentKeys()]),x=Y(g)?g:g.getParentOrThrow();let C=Y(y)?y:y.getParentOrThrow(),v=y;if(!x.is(C)&&C.isInline())do v=C,C=C.getParentOrThrow();while(C.isInline());if(l.type==="text"&&(u!==0||y.getTextContent()==="")||l.type==="element"&&y.getIndexWithinParent()<u)if(oe(y)&&!fl(y)&&u!==y.getTextContentSize()){if(y.isSegmented()){const I=ht(y.getTextContent());y.replace(I),y=I}Yt(l.getNode())||l.type!=="text"||(y=y.spliceText(0,u,"")),w.add(y.__key)}else{const I=y.getParentOrThrow();I.canBeEmpty()||I.getChildrenSize()!==1?y.remove():I.remove()}else w.add(y.__key);const _=C.getChildren(),N=new Set(d),E=x.is(C),T=x.isInline()&&g.getNextSibling()===null?x:g;for(let I=_.length-1;I>=0;I--){const M=_[I];if(M.is(g)||Y(M)&&M.isParentOf(g))break;M.isAttached()&&(!N.has(M)||M.is(v)?E||T.insertAfter(M,!1):M.remove())}if(!E){let I=C,M=null;for(;I!==null;){const O=I.getChildren(),P=O.length;(P===0||O[P-1].is(M))&&(w.delete(I.__key),M=I),I=I.getParent()}}if(fl(g))if(c===p)g.select();else{const I=ht(t);I.select(),g.replace(I)}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 I=1;I<h;I++){const M=d[I],O=M.__key;w.has(O)||M.remove()}}}removeText(){const t=Z()===this;Gf(this,K4(ly(this))),t&&Z()!==this&&Ze(this)}formatText(t,e=null){if(this.isCollapsed())return this.toggleFormat(t),void Fn(null);const r=this.getNodes(),s=[];for(const _ of r)oe(_)&&s.push(_);const o=_=>{r.forEach(N=>{if(Y(N)){const E=N.getFormatFlags(t,_);N.setTextFormat(E)}})},i=s.length;if(i===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=s[0],m=d.type==="element"?0:d.offset;if(d.type==="text"&&m===p.getTextContentSize()&&(g=1,p=s[1],m=0),p==null)return;const y=p.getFormatFlags(t,e);o(y);const w=i-1;let x=s[w];const C=h.type==="text"?h.offset:x.getTextContentSize();if(p.is(x)){if(m===C)return;if(Rs(p)||m===0&&C===p.getTextContentSize())p.setFormat(y);else{const _=p.splitText(m,C),N=m===0?_[0]:_[1];N.setFormat(y),d.type==="text"&&d.set(N.__key,0,"text"),h.type==="text"&&h.set(N.__key,C-m,"text")}return void(this.format=y)}m===0||Rs(p)||([,p]=p.splitText(m),m=0),p.setFormat(y);const v=x.getFormatFlags(t,y);C>0&&(C===x.getTextContentSize()||Rs(x)||([x]=x.splitText(C)),x.setFormat(v));for(let _=g+1;_<w;_++){const N=s[_],E=N.getFormatFlags(t,v);N.setFormat(E)}d.type==="text"&&d.set(p.__key,m,"text"),h.type==="text"&&h.set(x.__key,C,"text"),this.format=y|v}insertNodes(t){if(t.length===0)return;if(this.isCollapsed()||this.removeText(),this.anchor.key==="root"){this.insertParagraph();const m=Z();return W(m)||me(134),m.insertNodes(t)}const e=(this.isBackward()?this.focus:this.anchor).getNode(),r=ve(e,Zr),s=t[t.length-1];if(Y(r)&&"__language"in r){if("__language"in t[0])this.insertText(t[0].getTextContent());else{const m=Om(this);r.splice(m,0,t),s.selectEnd()}return}if(!t.some(m=>(Y(m)||tt(m))&&!m.isInline())){Y(r)||me(211,e.constructor.name,e.getType());const m=Om(this);return r.splice(m,0,t),void s.selectEnd()}const o=(function(m){const y=Ce();let w=null;for(let x=0;x<m.length;x++){const C=m[x],v=It(C);if(v||tt(C)&&C.isInline()||Y(C)&&C.isInline()||oe(C)||C.isParentRequired()){if(w===null&&(w=C.createParentElementNode(),y.append(w),v))continue;w!==null&&w.append(C)}else y.append(C),w=null}return y})(t),i=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)&&Zr(h)&&!h.isEmpty()&&Y(r)&&(!r.isEmpty()||r.canMergeWhenEmpty())&&(Y(r)||me(211,e.constructor.name,e.getType()),r.append(...d.getChildren()),d=l[1]),d&&(r===null&&me(212,e.constructor.name,e.getType()),(function(m,y){const w=y.getParentOrThrow().getLastChild();let x=y;const C=[y];for(;x!==w;)x.getNextSibling()||me(140),x=x.getNextSibling(),C.push(x);let v=m;for(const _ of C)v=v.insertAfter(_)})(r,d));const g=ve(i,Zr);c&&Y(g)&&(c.canMergeWhenEmpty()||Zr(u))&&(g.append(...c.getChildren()),c.remove()),Y(r)&&r.isEmpty()&&r.remove(),i.selectEnd();const p=Y(r)?r.getLastChild():null;It(p)&&g!==r&&p.remove()}insertParagraph(){if(this.anchor.key==="root"){const i=Ce();return Me().splice(this.anchor.offset,0,[i]),i.select(),i}const t=Om(this),e=ve(this.anchor.getNode(),Zr);Y(e)||me(213);const r=e.getChildAtIndex(t),s=r?[r,...r.getNextSiblings()]:[],o=e.insertNewAfter(this,!1);return o?(o.append(...s),o.selectStart(),o):null}insertLineBreak(t){const e=cr();if(this.insertNodes([e]),t){const r=e.getParentOrThrow(),s=e.getIndexWithinParent();r.select(s,s)}}extract(){const t=[...this.getNodes()],e=t.length;let r=t[0],s=t[e-1];const[o,i]=qA(this),l=this.isBackward(),[c,u]=l?[this.focus,this.anchor]:[this.anchor,this.focus],[d,h]=l?[i,o]:[o,i];if(e===0)return[];if(e===1){if(oe(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(oe(r)&&(d===r.getTextContentSize()?t.shift():d!==0&&([,r]=r.splitText(d),t[0]=r,c.set(r.getKey(),0,"text"))),oe(s)){const g=s.getTextContent().length;h===0?t.pop():h!==g&&([s]=s.splitText(h),t[t.length-1]=s,u.set(s.getKey(),s.getTextContentSize(),"text"))}return t}modify(t,e,r){if(Uv(this,t,e,r))return;const s=t==="move",o=qt(),i=is(os(o));if(!i)return;const l=o._blockCursorElement,c=o._rootElement,u=this.focus.getNode();if(c===null||l===null||!Y(u)||u.isInline()||u.canBeEmpty()||sy(l,o,c),this.dirty){let d=Sl(o,this.anchor.key),h=Sl(o,this.focus.key);this.anchor.type==="text"&&(d=Va(d)),this.focus.type==="text"&&(h=Va(h)),d&&h&&ET(i,d,this.anchor.offset,h,this.focus.offset)}if((function(d,h,g,p){d.modify(h,g,p)})(i,t,e?"backward":"forward",r),i.rangeCount>0){const d=i.getRangeAt(0),h=this.anchor.getNode(),g=Yt(h)?h:M4(h);if(this.applyDOMRange(d),this.dirty=!0,!s){const p=this.getNodes(),m=[];let y=!1;for(let w=0;w<p.length;w++){const x=p[w];ny(x,g)?m.push(x):y=!0}if(y&&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()}i.anchorNode===d.startContainer&&i.anchorOffset===d.startOffset||(function(w){const x=w.focus,C=w.anchor,v=C.key,_=C.offset,N=C.type;C.set(x.key,x.offset,x.type,!0),x.set(v,_,N,!0)})(this)}}r==="lineboundary"&&Uv(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 s=e.getParent(),o=e.getNextSibling()||(s===null?null:s.getNextSibling());if(Y(o)&&o.isShadowRoot())return!0}return!1}deleteCharacter(t){const e=this.isCollapsed();if(this.isCollapsed()){const r=this.anchor;let s=r.getNode();if(this.forwardDeletion(r,s,t))return;const o=Zb(qs(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(ns(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=qr(c);Gf(this,jo(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(Tl(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(tt(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=dg();u.add(c.origin.getKey()),Ze(u)}else c.origin.remove();return}break}}if(l.type==="merge-block"){const{caret:c,block:u}=l;return Gf(this,jo(!c.origin.isEmpty()&&u.isEmpty()?sd(en(u,c.direction)):o.anchor,c)),this.removeText()}}const i=this.focus;if(this.modify("extend",t,"character"),this.isCollapsed()){if(t&&r.offset===0&&Rv(this,r.getNode()))return}else{const l=i.type==="text"?i.getNode():null;if(s=r.type==="text"?r.getNode():null,l!==null&&l.isSegmented()){const c=i.offset,u=l.getTextContentSize();if(l.is(s)||t&&c!==u||!t&&c!==0)return void Bv(l,t,c)}else if(s!==null&&s.isSegmented()){const c=r.offset,u=s.getTextContentSize();if(s.is(l)||t&&c!==0||!t&&c!==u)return void Bv(s,t,c)}(function(c,u){const d=c.anchor,h=c.focus,g=d.getNode(),p=h.getNode();if(g===p&&d.type==="text"&&h.type==="text"){const m=d.offset,y=h.offset,w=m<y,x=w?m:y,C=w?y:m,v=C-1;x!==v&&(function(_){return!(UT(_)||y4(_))})(g.getTextContent().slice(x,C))&&(u?h.set(h.key,v,h.type):d.set(d.key,v,d.type))}})(this,t)}}if(this.removeText(),t&&!e&&this.isCollapsed()&&this.anchor.type==="element"&&this.anchor.offset===0){const r=this.anchor.getNode();r.isEmpty()&&Yt(r.getParent())&&r.getPreviousSibling()===null&&Rv(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 Kt(n){return n instanceof ug}function Ov(n){const t=n.offset;if(n.type==="text")return t;const e=n.getNode();return t===e.getChildrenSize()?e.getTextContent().length:0}function qA(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]:[Ov(e),Ov(r)]}function Rv(n,t){for(let e=t;e;e=e.getParent()){if(Y(e)){if(e.collapseAtStart(n))return!0;if(Xn(e))break}if(e.getPreviousSibling())break}return!1}const y4=(()=>{try{const n=new RegExp("\\p{Emoji}","u"),t=n.test.bind(n);if(t("❤️")&&t("#️⃣")&&t("👍"))return t}catch{}return()=>!1})();function Bv(n,t,e){const r=n,s=r.getTextContent().split(/(?=\s)/g),o=s.length;let i=0,l=0;for(let u=0;u<o;u++){const d=u===o-1;if(l=i,i+=s[u].length,t&&i===e||i>e||d){s.splice(u,1),d&&(l=void 0);break}}const c=s.join("").trim();c===""?r.remove():(r.setTextContent(c),r.select(l,l))}function Pv(n,t,e,r){let s,o=t;if(St(n)){let i=!1;const l=n.childNodes,c=l.length,u=r._blockCursorElement;o===c&&(i=!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(s=Ma(d),oe(s))o=Zs(s,i?"next":"previous");else{let g=Ma(n);if(g===null)return null;if(Y(g)){const p=r.getElementByKey(g.getKey());p===null&&me(214),[g,o]=g.getDOMSlot(p).resolveChildIndex(g,p,n,t),Y(g)||me(215),i&&o>=g.getChildrenSize()&&(o=Math.max(0,g.getChildrenSize()-1));let y=g.getChildAtIndex(o);if(Y(y)&&(function(w,x,C){const v=w.getParent();return C===null||v===null||!v.canBeEmpty()||v!==C.getNode()})(y,0,e)){const w=i?y.getLastDescendant():y.getFirstDescendant();w===null?g=y:(y=w,g=Y(y)?y:y.getParentOrThrow()),o=0}oe(y)?(s=y,g=null,o=Zs(y,i?"next":"previous")):y!==g&&i&&!h&&(Y(g)||me(216),o=Math.min(g.getChildrenSize(),o+1))}else{const p=g.getIndexWithinParent();o=t===0&&tt(g)&&Ma(n)===g?p:p+1,g=g.getParentOrThrow()}if(Y(g))return Dn(g.__key,o,"element")}}else s=Ma(n);return oe(s)?Dn(s.__key,Zs(s,o,"clamp"),"text"):null}function jv(n,t,e){const r=n.offset,s=n.getNode();if(r===0){const o=s.getPreviousSibling(),i=s.getParent();if(t){if((e||!t)&&o===null&&Y(i)&&i.isInline()){const l=i.getPreviousSibling();oe(l)&&n.set(l.__key,l.getTextContent().length,"text")}}else Y(o)&&!e&&o.isInline()?n.set(o.__key,o.getChildrenSize(),"element"):oe(o)&&n.set(o.__key,o.getTextContent().length,"text")}else if(r===s.getTextContent().length){const o=s.getNextSibling(),i=s.getParent();if(t&&Y(o)&&o.isInline())n.set(o.__key,0,"element");else if((e||t)&&o===null&&Y(i)&&i.isInline()&&!i.canInsertTextAfter()){const l=i.getNextSibling();oe(l)&&n.set(l.__key,0,"text")}}}function vT(n,t,e){if(n.type==="text"&&t.type==="text"){const r=n.isBefore(t),s=n.is(t);jv(n,r,s),jv(t,!r,s),s&&t.set(n.key,n.offset,n.type);const o=qt();if(o.isComposing()&&o._compositionKey!==n.key&&W(e)){const i=e.anchor,l=e.focus;n.set(i.key,i.offset,i.type,!0),t.set(l.key,l.offset,l.type,!0)}}}function ST(n,t,e,r,s,o){if(n===null||e===null||!td(s,n,e))return null;const i=Pv(n,t,W(o)?o.anchor:null,s);if(i===null)return null;const l=Pv(e,r,W(o)?o.focus:null,s);if(l===null)return null;if(i.type==="element"&&l.type==="element"){const c=Ma(n),u=Ma(e);if(tt(c)&&tt(u))return null}return vT(i,l,o),[i,l]}function $A(n){return Y(n)&&!n.isInline()}function kT(n,t,e,r,s,o){const i=Fi(),l=new Kl(Dn(n,t,s),Dn(e,r,o),0,"");return l.dirty=!0,i._selection=l,l}function Go(){const n=Dn("root",0,"element"),t=Dn("root",0,"element");return new Kl(n,t,0,"")}function dg(){return new ug(new Set)}function b4(n,t){return fg(null,n,t,null)}function fg(n,t,e,r){const s=e._window;if(s===null)return null;const o=r||s.event,i=o?o.type:void 0,l=i==="selectionchange",c=!RA&&(l||i==="beforeinput"||i==="compositionstart"||i==="compositionend"||i==="click"&&o&&o.detail===3||i==="drop"||i===void 0);let u,d,h,g;if(W(n)&&!c)return n.clone();if(t===null)return null;if(u=t.anchorNode,d=t.focusNode,h=t.anchorOffset,g=t.focusOffset,(l||i===void 0)&&W(n)&&!td(e,u,d))return n.clone();const p=ST(u,h,d,g,e,n);if(p===null)return null;const[m,y]=p;return new Kl(m,y,W(n)?n.format:0,W(n)?n.style:"")}function Z(){return Fi()._selection}function Jo(){return qt()._editorState._selection}function dh(n,t,e,r=1){const s=n.anchor,o=n.focus,i=s.getNode(),l=o.getNode();if(!t.is(i)&&!t.is(l))return;const c=t.__key;if(n.isCollapsed()){const u=s.offset;if(e<=u&&r>0||e<u&&r<0){const d=Math.max(0,u+r);s.set(c,d,"element"),o.set(c,d,"element"),Fv(n)}}else{const u=n.isBackward(),d=u?o:s,h=d.getNode(),g=u?s: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")}}Fv(n)}function Fv(n){const t=n.anchor,e=t.offset,r=n.focus,s=r.offset,o=t.getNode(),i=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(oe(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(oe(u)){let d=0;c&&(d=u.getTextContentSize()),t.set(u.__key,d,"text")}}if(Y(i)){const l=i.getChildrenSize(),c=s>=l,u=c?i.getChildAtIndex(l-1):i.getChildAtIndex(s);if(oe(u)){let d=0;c&&(d=u.getTextContentSize()),r.set(u.__key,d,"text")}}}function fh(n,t,e,r,s){let o=null,i=0,l=null;r!==null?(o=r.__key,oe(r)?(i=r.getTextContentSize(),l="text"):Y(r)&&(i=r.getChildrenSize(),l="element")):s!==null&&(o=s.__key,oe(s)?l="text":Y(s)&&(l="element")),o!==null&&l!==null?n.set(o,i,l):(i=t.getIndexWithinParent(),i===-1&&(i=e.getChildrenSize()),n.set(e.__key,i,"element"))}function zv(n,t,e,r,s){n.type==="text"?n.set(e,n.offset+(t?0:s),"text"):n.offset>r.getIndexWithinParent()&&n.set(n.key,n.offset-1,"element")}function ET(n,t,e,r,s){try{n.setBaseAndExtent(t,e,r,s)}catch{}}function w4(n,t,e,r,s,o,i){const l=r.anchorNode,c=r.focusNode,u=r.anchorOffset,d=r.focusOffset,h=document.activeElement;if(s.has(Xu)&&h!==o||h!==null&&Db(h))return;if(!W(t))return void(n!==null&&td(e,l,c)&&r.removeAllRanges());const g=t.anchor,p=t.focus,m=g.key,y=p.key,w=Sl(e,m),x=Sl(e,y),C=g.offset,v=p.offset,_=t.format,N=t.style,E=t.isCollapsed();let T=w,I=x,M=!1;if(g.type==="text"){T=Va(w);const te=g.getNode();M=te.getFormat()!==_||te.getStyle()!==N}else W(n)&&n.anchor.type==="text"&&(M=!0);var O,P,F,z,H;if(p.type==="text"&&(I=Va(x)),T!==null&&I!==null&&(E&&(n===null||M||W(n)&&(n.format!==_||n.style!==N))&&(O=_,P=N,F=C,z=m,H=performance.now(),hT=[O,P,F,z,H]),u!==C||d!==v||l!==T||c!==I||r.type==="Range"&&E||(h!==null&&o.contains(h)||s.has(u4)||o.focus({preventScroll:!0}),g.type==="element"))){if(ET(r,T,C,I,v),!s.has(wT)&&t.isCollapsed()&&o!==null&&o===document.activeElement){const te=W(t)&&t.anchor.type==="element"?T.childNodes[C]||null:r.rangeCount>0?r.getRangeAt(0):null;if(te!==null){let le;if(te instanceof Text){const ce=document.createRange();ce.selectNode(te),le=ce.getBoundingClientRect()}else le=te.getBoundingClientRect();(function(ce,ne,X){const he=ZT(X),q=Fb(he);if(he===null||q===null)return;let{top:K,bottom:J}=ne,ee=0,ie=0,ue=X;for(;ue!==null;){const se=ue===he.body;if(se)ee=0,ie=os(ce).innerHeight;else{const Ne=ue.getBoundingClientRect();ee=Ne.top,ie=Ne.bottom}let Ae=0;if(K<ee?Ae=-(ee-K):J>ie&&(Ae=J-ie),Ae!==0)if(se)q.scrollBy(0,Ae);else{const Ne=ue.scrollTop;ue.scrollTop+=Ae;const pe=ue.scrollTop-Ne;K-=pe,J-=pe}if(se)break;ue=rd(ue)}})(e,le,o)}}VA=!0}}function qu(n){let t=Z()||Jo();t===null&&(t=Me().selectEnd()),t.insertNodes(n)}function Om(n){let t=n;n.isCollapsed()||t.removeText();const e=Z();W(e)&&(t=e),W(t)||me(161);const r=t.anchor;let s=r.getNode(),o=r.offset;for(;!Zr(s);){const i=s;if([s,o]=C4(s,o),i.is(s))break}return o}function C4(n,t){const e=n.getParent();if(!e){const s=Ce();return Me().append(s),s.select(),[Me(),0]}if(oe(n)){const s=n.splitText(t);if(s.length===0)return[e,n.getIndexWithinParent()];const o=t===0?0:1;return[e,s[0].getIndexWithinParent()+o]}if(!Y(n)||t===0)return[e,n.getIndexWithinParent()];const r=n.getChildAtIndex(t);if(r){const s=new Kl(Dn(n.__key,t,"element"),Dn(n.__key,t,"element"),0,""),o=n.insertNewAfter(s);o&&o.append(r,...r.getNextSiblings())}return[e,n.getIndexWithinParent()+1]}function Uv(n,t,e,r,s="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=qs(n.focus,e?"previous":"next"),i=r==="lineboundary",l=t==="move";let c=o,u=s==="decorators-and-blocks";if(!e_(c)){for(const d of c){u=!1;const{origin:h}=d;if(!tt(h)||h.isIsolated()||(c=d,!i||!h.isInline()))break}if(u)for(const d of Zb(o).iterNodeCarets(t==="extend"?"shadowRoot":"root")){if(ns(d))d.origin.isInline()||(c=d);else{if(Y(d.origin))continue;tt(d.origin)&&!d.origin.isInline()&&(c=d)}break}}if(c===o)return!1;if(l&&!i&&tt(c.origin)&&c.origin.isKeyboardSelectable()){const d=dg();return d.add(c.origin.getKey()),Ze(d),!0}return c=qr(c),l&&Tu(n.anchor,c),Tu(n.focus,c),u||!i}let Nn=null,In=null,yr=!1,Rm=!1,Yf=0;const Kv={characterData:!0,childList:!0,subtree:!0};function Wl(){return yr||Nn!==null&&Nn._readOnly}function _n(){yr&&me(13)}function TT(){Yf>99&&me(14)}function Fi(){return Nn===null&&me(195,_T()),Nn}function qt(){return In===null&&me(196,_T()),In}function _T(){let n=0;const t=new Set,e=vl.version;if(typeof window<"u")for(const s of document.querySelectorAll("[contenteditable]")){const o=pg(s);if(Ob(o))n++;else if(o){let i=String(o.constructor.version||"<0.17.1");i===e&&(i+=" (separately built, likely a bundler configuration issue)"),t.add(i)}}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 x4(){return In}function Wv(n,t,e){const r=t.__type,s=OT(n,r);let o=e.get(r);o===void 0&&(o=Array.from(s.transforms),e.set(r,o));const i=o.length;for(let l=0;l<i&&(o[l](t),t.isAttached());l++);}function Hv(n,t){return n!==void 0&&n.__key!==t&&n.isAttached()}function NT(n,t){if(!t)return;const e=n._updateTags;let r=t;Array.isArray(t)||(r=[t]);for(const s of r)e.add(s)}function v4(n){return Nb(n,qt()._nodes)}function Nb(n,t){const e=n.type,r=t.get(e);r===void 0&&me(17,e);const s=r.klass;n.type!==s.getType()&&me(18,s.name);const o=s.importJSON(n),i=n.children;if(Y(o)&&Array.isArray(i))for(let l=0;l<i.length;l++){const c=Nb(i[l],t);o.append(c)}return o}function Yv(n,t,e){const r=Nn,s=yr,o=In;Nn=t,yr=!0,In=n;try{return e()}finally{Nn=r,yr=s,In=o}}function To(n,t){const e=n._pendingEditorState,r=n._rootElement,s=n._headless||r===null;if(e===null)return;const o=n._editorState,i=o._selection,l=e._selection,c=n._dirtyType!==0,u=Nn,d=yr,h=In,g=n._updating,p=n._observer;let m=null;if(n._pendingEditorState=null,n._editorState=e,!s&&c&&p!==null){In=n,Nn=e,yr=!1,n._updating=!0;try{const E=n._dirtyType,T=n._dirtyElements,I=n._dirtyLeaves;p.disconnect(),m=s4(o,e,n,E,T,I)}catch(E){if(E instanceof Error&&n._onError(E),Rm)throw E;return LT(n,null,r,e),$E(n),n._dirtyType=2,Rm=!0,To(n,o),void(Rm=!1)}finally{p.observe(r,Kv),n._updating=g,Nn=u,yr=d,In=h}}e._readOnly||(e._readOnly=!0);const y=n._dirtyLeaves,w=n._dirtyElements,x=n._normalizedNodes,C=n._updateTags,v=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(E,T){const I=E._decorators;let M=E._pendingDecorators||I;const O=T._nodeMap;let P;for(P in M)O.has(P)||(M===I&&(M=FT(E)),delete M[P])})(n,e);const _=s?null:is(os(n));if(n._editable&&_!==null&&(c||l===null||l.dirty||!l.is(i))&&r!==null&&!C.has(c4)){In=n,Nn=e;try{if(p!==null&&p.disconnect(),c||l===null||l.dirty){const E=n._blockCursorElement;E!==null&&sy(E,n,r),w4(i,l,n,_,C,r)}(function(E,T,I){let M=E._blockCursorElement;if(W(I)&&I.isCollapsed()&&I.anchor.type==="element"&&T.contains(document.activeElement)){const O=I.anchor,P=O.getNode(),F=O.offset;let z=!1,H=null;if(F===P.getChildrenSize())Pm(P.getChildAtIndex(F-1))&&(z=!0);else{const te=P.getChildAtIndex(F);if(te!==null&&Pm(te)){const le=te.getPreviousSibling();(le===null||Pm(le))&&(z=!0,H=E.getElementByKey(te.__key))}}if(z){const te=E.getElementByKey(P.__key);return M===null&&(E._blockCursorElement=M=(function(le){const ce=le.theme,ne=document.createElement("div");ne.contentEditable="false",ne.setAttribute("data-lexical-cursor","true");let X=ce.blockCursor;if(X!==void 0){if(typeof X=="string"){const he=ZE(X);X=ce.blockCursor=he}X!==void 0&&ne.classList.add(...X)}return ne})(E._config)),T.style.caretColor="transparent",void(H===null?te.appendChild(M):te.insertBefore(M,H))}}M!==null&&sy(M,E,T)})(n,r,l)}finally{p!==null&&p.observe(r,Kv),In=h,Nn=u}}m!==null&&(function(E,T,I,M,O){const P=Array.from(E._listeners.mutation),F=P.length;for(let z=0;z<F;z++){const[H,te]=P[z];for(const le of te){const ce=T.get(le);ce!==void 0&&H(ce,{dirtyLeaves:M,prevEditorState:O,updateTags:I})}}})(n,m,C,y,o),W(l)||l===null||i!==null&&i.is(l)||n.dispatchCommand(Qr,void 0);const N=n._pendingDecorators;N!==null&&(n._decorators=N,n._pendingDecorators=null,uu("decorator",n,!0,N)),(function(E,T,I){const M=Qv(T),O=Qv(I);M!==O&&uu("textcontent",E,!0,O)})(n,t||o,e),uu("update",n,!0,{dirtyElements:w,dirtyLeaves:y,editorState:e,mutatedNodes:m,normalizedNodes:x,prevEditorState:t||o,tags:C}),(function(E,T){if(E._deferred=[],T.length!==0){const I=E._updating;E._updating=!0;try{for(let M=0;M<T.length;M++)T[M]()}finally{E._updating=I}}})(n,v),(function(E){const T=E._updates;if(T.length!==0){const I=T.shift();if(I){const[M,O]=I;hg(E,M,O)}}})(n)}function uu(n,t,e,...r){const s=t._updating;t._updating=e;try{const o=Array.from(t._listeners[n]);for(let i=0;i<o.length;i++)o[i].apply(null,r)}finally{t._updating=s}}function Zv(n,t){const e=n._updates;let r=t||!1;for(;e.length!==0;){const s=e.shift();if(s){const[o,i]=s,l=n._pendingEditorState;let c;i!==void 0&&(c=i.onUpdate,i.skipTransforms&&(r=!0),i.discrete&&(l===null&&me(191),l._flushSync=!0),c&&n._deferred.push(c),NT(n,i.tag)),l==null?hg(n,o,i):o()}}return r}function hg(n,t,e){const r=n._updateTags;let s,o=!1,i=!1;e!==void 0&&(s=e.onUpdate,NT(n,e.tag),o=e.skipTransforms||!1,i=e.discrete||!1),s&&n._deferred.push(s);const l=n._editorState;let c=n._pendingEditorState,u=!1;(c===null||c._readOnly)&&(c=n._pendingEditorState=IT(c||l),u=!0),c._flushSync=i;const d=Nn,h=yr,g=In,p=n._updating;Nn=c,yr=!1,n._updating=!0,In=n;const m=n._headless||n.getRootElement()===null;Lb(null);try{u&&(m?l._selection!==null&&(c._selection=l._selection.clone()):c._selection=(function(C,v){const _=C.getEditorState()._selection,N=is(os(C));return W(_)||_==null?fg(_,N,C,v):_.clone()})(n,e&&e.event||null));const w=n._compositionKey;t(),o=Zv(n,o),(function(C,v){const _=v.getEditorState()._selection,N=C._selection;if(W(N)){const E=N.anchor,T=N.focus;let I;if(E.type==="text"&&(I=E.getNode(),I.selectionTransform(_,N)),T.type==="text"){const M=T.getNode();I!==M&&M.selectionTransform(_,N)}}})(c,n),n._dirtyType!==0&&(o?(function(C,v){const _=v._dirtyLeaves,N=C._nodeMap;for(const E of _){const T=N.get(E);oe(T)&&T.isAttached()&&T.isSimpleText()&&!T.isUnmergeable()&&xv(T)}})(c,n):(function(C,v){const _=v._dirtyLeaves,N=v._dirtyElements,E=C._nodeMap,T=gi(),I=new Map;let M=_,O=M.size,P=N,F=P.size;for(;O>0||F>0;){if(O>0){v._dirtyLeaves=new Set;for(const z of M){const H=E.get(z);oe(H)&&H.isAttached()&&H.isSimpleText()&&!H.isUnmergeable()&&xv(H),H!==void 0&&Hv(H,T)&&Wv(v,H,I),_.add(z)}if(M=v._dirtyLeaves,O=M.size,O>0){Yf++;continue}}v._dirtyLeaves=new Set,v._dirtyElements=new Map,P.delete("root")&&P.set("root",!0);for(const z of P){const H=z[0],te=z[1];if(N.set(H,te),!te)continue;const le=E.get(H);le!==void 0&&Hv(le,T)&&Wv(v,le,I)}M=v._dirtyLeaves,O=M.size,P=v._dirtyElements,F=P.size,Yf++}v._dirtyLeaves=_,v._dirtyElements=N})(c,n),Zv(n),(function(C,v,_,N){const E=C._nodeMap,T=v._nodeMap,I=[];for(const[M]of N){const O=T.get(M);O!==void 0&&(O.isAttached()||(Y(O)&&QE(O,M,E,T,I,N),E.has(M)||N.delete(M),I.push(M)))}for(const M of I)T.delete(M);for(const M of _){const O=T.get(M);O===void 0||O.isAttached()||(E.has(M)||_.delete(M),T.delete(M))}})(l,c,n._dirtyLeaves,n._dirtyElements)),w!==n._compositionKey&&(c._flushSync=!0);const x=c._selection;if(W(x)){const C=c._nodeMap,v=x.anchor.key,_=x.focus.key;C.get(v)!==void 0&&C.get(_)!==void 0||me(19)}else Kt(x)&&x._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 To(n)}finally{Nn=d,yr=h,In=g,n._updating=p,Yf=0}n._dirtyType!==0||n._deferred.length>0||(function(w,x){const C=x.getEditorState()._selection,v=w._selection;if(v!==null){if(v.dirty||!v.is(C))return!0}else if(C!==null)return!0;return!1})(c,n)?c._flushSync?(c._flushSync=!1,To(n)):u&&T4(()=>{To(n)}):(c._flushSync=!1,u&&(r.clear(),n._deferred=[],n._pendingEditorState=null))}function _r(n,t,e){In===n&&e===void 0?t():hg(n,t,e)}class du{constructor(t,e,r){j(this,"element");j(this,"before");j(this,"after");this.element=t,this.before=e||null,this.after=r||null}withBefore(t){return new du(this.element,t,this.after)}withAfter(t){return new du(this.element,this.before,t)}withElement(t){return this.element===t?this:new du(t,this.before,this.after)}insertChild(t){const e=this.before||this.getManagedLineBreak();return e!==null&&e.parentElement!==this.element&&me(222),this.element.insertBefore(t,e),this}removeChild(t){return t.parentElement!==this.element&&me(223),this.element.removeChild(t),this}replaceChild(t,e){return e.parentElement!==this.element&&me(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"&&(vu||Ga||xu);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,s=this.before,o=document.createElement("br");if(r.insertBefore(o,s),t){const i=document.createElement("img");i.setAttribute("data-lexical-linebreak","true"),i.style.cssText="display: inline !important; border: 0px !important; margin: 0px !important;",i.alt="",r.insertBefore(i,o),r.__lexicalLineBreak=i}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,s){if(r===this.element){const c=this.getFirstChildOffset();return[t,Math.min(c+t.getChildrenSize(),Math.max(c,s))]}const o=Gv(e,r);o.push(s);const i=Gv(e,this.element);let l=t.getIndexWithinParent();for(let c=0;c<i.length;c++){const u=o[c],d=i[c];if(u===void 0||u<d)break;if(u>d){l+=1;break}}return[t.getParentOrThrow(),l]}}function Gv(n,t){const e=[];let r=t;for(;r!==n&&r!==null;r=r.parentNode){let s=0;for(let o=r.previousSibling;o!==null;o=o.previousSibling)s++;e.push(s)}return r!==n&&me(225),e.reverse()}class ft extends ys{constructor(e){super(e);j(this,"__first");j(this,"__last");j(this,"__size");j(this,"__format");j(this,"__style");j(this,"__indent");j(this,"__dir");j(this,"__textFormat");j(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 ZF[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(oe(r)&&e.push(r),Y(r)){const s=r.getAllTextNodes();e.push(...s)}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(),s=r.length;if(e>=s){const i=r[s-1];return Y(i)&&i.getLastDescendant()||i||null}const o=r[e];return Y(o)&&o.getFirstDescendant()||o||null}getFirstChild(){const e=this.getLatest().__first;return e===null?null:be(e)}getFirstChildOrThrow(){const e=this.getFirstChild();return e===null&&me(45,this.__key),e}getLastChild(){const e=this.getLatest().__last;return e===null?null:be(e)}getLastChildOrThrow(){const e=this.getLastChild();return e===null&&me(96,this.__key),e}getChildAtIndex(e){const r=this.getChildrenSize();let s,o;if(e<r/2){for(s=this.getFirstChild(),o=0;s!==null&&o<=e;){if(o===e)return s;s=s.getNextSibling(),o++}return null}for(s=this.getLastChild(),o=r-1;s!==null&&o>=e;){if(o===e)return s;s=s.getPreviousSibling(),o--}return null}getTextContent(){let e="";const r=this.getChildren(),s=r.length;for(let o=0;o<s;o++){const i=r[o];e+=i.getTextContent(),Y(i)&&o!==s-1&&!i.isInline()&&(e+=ki)}return e}getTextContentSize(){let e=0;const r=this.getChildren(),s=r.length;for(let o=0;o<s;o++){const i=r[o];e+=i.getTextContentSize(),Y(i)&&o!==s-1&&!i.isInline()&&(e+=2)}return e}getDirection(){return this.getLatest().__dir}getTextFormat(){return this.getLatest().__textFormat}hasFormat(e){if(e!==""){const r=gv[e];return(this.getFormat()&r)!==0}return!1}hasTextFormat(e){const r=Bo[e];return(this.getTextFormat()&r)!==0}getFormatFlags(e,r){return hh(this.getLatest().__textFormat,e,r)}getTextStyle(){return this.getLatest().__textStyle}select(e,r){_n();const s=Z();let o=e,i=r;const l=this.getChildrenSize();if(!this.canBeEmpty()){if(e===0&&r===0){const u=this.getFirstChild();if(oe(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(oe(u)||Y(u))return u.select()}}o===void 0&&(o=l),i===void 0&&(i=l);const c=this.__key;return W(s)?(s.anchor.set(c,o,"element"),s.focus.set(c,i,"element"),s.dirty=!0,s):kT(c,o,c,i,"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!==""?gv[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,s){uh(this)&&me(324,this.__key,this.__type);const o=this.getChildrenSize(),i=this.getWritable();e+r<=o||me(226,String(e),String(r),String(o));const l=i.__key,c=[],u=[],d=this.getChildAtIndex(e+r);let h=null,g=o-r+s.length;if(e!==0)if(e===o)h=this.getLastChild();else{const m=this.getChildAtIndex(e);m!==null&&(h=m.getPreviousSibling())}if(r>0){let m=h===null?this.getFirstChild():h.getNextSibling();for(let y=0;y<r;y++){m===null&&me(100);const w=m.getNextSibling(),x=m.__key;Do(m.getWritable()),u.push(x),m=w}}let p=h;for(const m of s){p!==null&&m.is(p)&&(h=p=p.getPreviousSibling());const y=m.getWritable();y.__parent===l&&g--,Do(y);const w=m.__key;if(p===null)i.__first=w,y.__prev=null;else{const x=p.getWritable();x.__next=w,y.__prev=x.__key}m.__key===l&&me(76),y.__parent=l,c.push(w),p=m}if(e+r===o)p!==null&&(p.getWritable().__next=null,i.__last=p.__key);else if(d!==null){const m=d.getWritable();if(p!==null){const y=p.getWritable();m.__prev=p.__key,y.__next=d.__key}else m.__prev=null}if(i.__size=g,u.length){const m=Z();if(W(m)){const y=new Set(u),w=new Set(c),{anchor:x,focus:C}=m;Jv(x,y,w)&&fh(x,x.getNode(),this,h,d),Jv(C,y,w)&&fh(C,C.getNode(),this,h,d),g!==0||this.canBeEmpty()||Xn(this)||this.remove()}}return i}getDOMSlot(e){return new du(e)}exportDOM(e){const{element:r}=super.exportDOM(e);if(St(r)){const s=this.getIndent();s>0&&(r.style.paddingInlineStart=40*s+"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(),s=this.getTextStyle();return r!==0&&(e.textFormat=r),s!==""&&(e.textStyle=s),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,s){return!1}canMergeWhenEmpty(){return!1}reconcileObservedMutation(e,r){const s=this.getDOMSlot(e);let o=s.getFirstChild();for(let i=this.getFirstChild();i;i=i.getNextSibling()){const l=r.getElementByKey(i.getKey());l!==null&&(o==null?(s.insertChild(l),o=l):o!==l&&s.replaceChild(l,o),o=o.nextSibling)}}}function Y(n){return n instanceof ft}function Jv(n,t,e){let r=n.getNode();for(;r;){const s=r.__key;if(t.has(s)&&!e.has(s))return!0;r=r.getParent()}return!1}class so extends ys{decorate(t,e){return null}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function tt(n){return n instanceof so}class Hl extends ft{constructor(){super("root");j(this,"__cachedText");this.__cachedText=null}static getType(){return"root"}static clone(){return new Hl}getTopLevelElementOrThrow(){me(51)}getTextContent(){const e=this.__cachedText;return!Wl()&&qt()._dirtyType!==0||e===null?super.getTextContent():e}remove(){me(52)}replace(e){me(53)}insertBefore(e){me(54)}insertAfter(e){me(55)}updateDOM(e,r){return!1}splice(e,r,s){for(const o of s)Y(o)||tt(o)||me(282);return super.splice(e,r,s)}static importJSON(e){return Me().updateFromJSON(e)}collapseAtStart(){return!0}}function Yt(n){return n instanceof Hl}function IT(n){return new $u(new Map(n._nodeMap))}function Ib(){return new $u(new Map([["root",new Hl]]))}function MT(n){const t=n.exportJSON(),e=n.constructor;if(t.type!==e.getType()&&me(130,e.name),Y(n)){const r=t.children;Array.isArray(r)||me(59,e.name);const s=n.getChildren();for(let o=0;o<s.length;o++){const i=MT(s[o]);r.push(i)}}return t}function S4(n){return n instanceof $u}class $u{constructor(t,e){j(this,"_nodeMap");j(this,"_selection");j(this,"_flushSync");j(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 Yv(e&&e.editor||null,this,t)}clone(t){const e=new $u(this._nodeMap,t===void 0?this._selection:t);return e._readOnly=!0,e}toJSON(){return Yv(null,this,()=>({root:MT(Me())}))}}class Mb extends ft{static getType(){return"artificial"}createDOM(t){return document.createElement("div")}}class Vo extends ft{static getType(){return"paragraph"}static clone(t){return new Vo(t.__key)}createDOM(t){const e=document.createElement("p"),r=Pa(t.theme,"paragraph");return r!==void 0&&e.classList.add(...r),e}updateDOM(t,e,r){return!1}static importDOM(){return{p:t=>({conversion:k4,priority:0})}}exportDOM(t){const{element:e}=super.exportDOM(t);if(St(e)){this.isEmpty()&&e.append(document.createElement("br"));const r=this.getFormatType();r&&(e.style.textAlign=r)}return{element:e}}static importJSON(t){return Ce().updateFromJSON(t)}exportJSON(){return{...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle()}}insertNewAfter(t,e){const r=Ce();r.setTextFormat(t.format),r.setTextStyle(t.style);const s=this.getDirection();return r.setDirection(s),r.setFormat(this.getFormatType()),r.setStyle(this.getStyle()),this.insertAfter(r,e),r}collapseAtStart(){const t=this.getChildren();if(t.length===0||oe(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 k4(n){const t=Ce();return n.style&&(t.setFormat(n.style.textAlign),Kb(n,t)),{node:t}}function Ce(){return Lt(new Vo)}function an(n){return n instanceof Vo}const Fe=0,Se=1,Ss=2,_o=3,bn=4;function LT(n,t,e,r){const s=n._keyToDOMMap;s.clear(),n._editorState=Ib(),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="",s.set("root",e))}function DT(n){const t=new Set,e=new Set;let r=n;for(;r;){const{ownNodeConfig:s}=yg(r),o=r.transform;if(!e.has(o)){e.add(o);const i=r.transform();i&&t.add(i)}if(s){const i=s.$transform;i&&t.add(i),r=s.extends}else{const i=Object.getPrototypeOf(r);r=i.prototype instanceof ys&&i!==ys?i:void 0}}return t}function ed(n){const t=n||{},e=x4(),r=t.theme||{},s=n===void 0?e:t.parentEditor||null,o=t.disableEvents||!1,i=Ib(),l=t.namespace||(s!==null?s._config.namespace:KT()),c=t.editorState,u=[Hl,Mn,fc,hc,Vo,Mb,...t.nodes||[]],{onError:d,html:h}=t,g=t.editable===void 0||t.editable;let p;if(n===void 0&&e!==null)p=e._nodes;else{p=new Map;for(let y=0;y<u.length;y++){let w=u[y],x=null,C=null;if(typeof w!="function"){const N=w;w=N.replace,x=N.with,C=N.withKlass||null}yg(w);const v=w.getType(),_=DT(w);p.set(v,{exportDOM:h&&h.export?h.export.get(w):void 0,klass:w,replace:x,replaceWithKlass:C,sharedNodeState:nT(u[y]),transforms:_})}}const m=new vl(i,s,p,{disableEvents:o,namespace:l,theme:r},d||console.error,(function(y,w){const x=new Map,C=new Set,v=_=>{Object.keys(_).forEach(N=>{let E=x.get(N);E===void 0&&(E=[],x.set(N,E)),E.push(_[N])})};return y.forEach(_=>{const N=_.klass.importDOM;if(N==null||C.has(N))return;C.add(N);const E=N.call(_.klass);E!==null&&v(E)}),w&&v(w),x})(p,h?h.import:void 0),g,n);return c!==void 0&&(m._pendingEditorState=c,m._dirtyType=2),m}class vl{constructor(t,e,r,s,o,i,l,c){j(this,"_headless");j(this,"_parentEditor");j(this,"_rootElement");j(this,"_editorState");j(this,"_pendingEditorState");j(this,"_compositionKey");j(this,"_deferred");j(this,"_keyToDOMMap");j(this,"_updates");j(this,"_updating");j(this,"_listeners");j(this,"_commands");j(this,"_nodes");j(this,"_decorators");j(this,"_pendingDecorators");j(this,"_config");j(this,"_dirtyType");j(this,"_cloneNotNeeded");j(this,"_dirtyLeaves");j(this,"_dirtyElements");j(this,"_normalizedNodes");j(this,"_updateTags");j(this,"_observer");j(this,"_key");j(this,"_onError");j(this,"_htmlConversions");j(this,"_window");j(this,"_editable");j(this,"_blockCursorElement");j(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=s,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=KT(),this._onError=o,this._htmlConversions=i,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&&me(35);const s=this._commands;s.has(t)||s.set(t,[new Set,new Set,new Set,new Set,new Set]);const o=s.get(t);o===void 0&&me(36,String(t));const i=o[r];return i.add(e),()=>{i.delete(e),o.every(l=>l.size===0)&&s.delete(t)}}registerMutationListener(t,e,r){const s=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(t)).klass,o=this._listeners.mutation;let i=o.get(e);i===void 0&&(i=new Set,o.set(e,i)),i.add(s);const l=r&&r.skipInitialization;return l!==void 0&&l||this.initializeMutationListener(e,s),()=>{i.delete(s),i.size===0&&o.delete(e)}}getRegisteredNode(t){const e=this._nodes.get(t.getType());return e===void 0&&me(37,t.name),e}resolveRegisteredNodeAfterReplacements(t){for(;t.replaceWithKlass;)t=this.getRegisteredNode(t.replaceWithKlass);return t}initializeMutationListener(t,e){const r=this._editorState,s=rS(r).get(e.getType());if(!s)return;const o=new Map;for(const i of s.keys())o.set(i,"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),s=[r],o=r.replaceWithKlass;if(o!=null){const i=this.registerNodeTransformToKlass(o,e);s.push(i)}return(function(i,l){const c=rS(i.getEditorState()),u=[];for(const d of l){const h=c.get(d);h&&u.push(h)}u.length!==0&&i.update(()=>{for(const d of u)for(const h of d.keys()){const g=be(h);g&&g.markDirty()}},i._pendingEditorState===null?{tag:Xr}:void 0)})(this,s.map(i=>i.klass.getType())),()=>{s.forEach(i=>i.transforms.delete(e))}}hasNode(t){return this._nodes.has(t.getType())}hasNodes(t){return t.every(this.hasNode.bind(this))}dispatchCommand(t,e){return ke(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=Pa(this._config.theme,"root"),s=this._pendingEditorState||this._editorState;if(this._rootElement=t,LT(this,e,t,s),e!==null&&(this._config.disableEvents||i4(e),r!=null&&e.classList.remove(...r)),t!==null){const o=Fb(t),i=t.style;i.userSelect="text",i.whiteSpace="pre-wrap",i.wordBreak="break-word",t.setAttribute("data-lexical-editor","true"),this._window=o,this._dirtyType=2,$E(this),this._updateTags.add(Xr),To(this),this._config.disableEvents||(function(l,c){const u=l.ownerDocument;JA.set(l,u);const d=ch.get(u)??0;d<1&&u.addEventListener("selectionchange",yT),ch.set(u,d+1),l.__lexicalEditor=c;const h=AT(l);for(let g=0;g<GA.length;g++){const[p,m]=GA[g],y=typeof m=="function"?w=>{_v(w)||(Tv(w),(c.isEditable()||p==="click")&&m(w,c))}:w=>{if(_v(w))return;Tv(w);const x=c.isEditable();switch(p){case"cut":return x&&ke(c,Qu,w);case"copy":return ke(c,Ul,w);case"paste":return x&&ke(c,Pl,w);case"dragstart":return x&&ke(c,kb,w);case"dragover":return x&&ke(c,Eb,w);case"dragend":return x&&ke(c,o4,w);case"focus":return x&&ke(c,ji,w);case"blur":return x&&ke(c,cg,w);case"drop":return x&&ke(c,Sb,w)}};l.addEventListener(p,y),h.push(()=>{l.removeEventListener(p,y)})}})(t,this),r!=null&&t.classList.add(...r)}else this._window=null,this._updateTags.add(Xr),To(this);uu("root",this,!1,t,e)}}getElementByKey(t){return this._keyToDOMMap.get(t)||null}getEditorState(){return this._editorState}setEditorState(t,e){t.isEmpty()&&me(38);let r=t;r._readOnly&&(r=IT(t),r._selection=t._selection?t._selection.clone():null),qE(this);const s=this._pendingEditorState,o=this._updateTags,i=e!==void 0?e.tag:null;s===null||s.isEmpty()||(i!=null&&o.add(i),To(this)),this._pendingEditorState=r,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,i!=null&&o.add(i),this._updating||To(this)}parseEditorState(t,e){return(function(r,s,o){const i=Ib(),l=Nn,c=yr,u=In,d=s._dirtyElements,h=s._dirtyLeaves,g=s._cloneNotNeeded,p=s._dirtyType;s._dirtyElements=new Map,s._dirtyLeaves=new Set,s._cloneNotNeeded=new Set,s._dirtyType=0,Nn=i,yr=!1,In=s,Lb(null);try{const m=s._nodes;Nb(r.root,m),o&&o(),i._readOnly=!0}catch(m){m instanceof Error&&s._onError(m)}finally{s._dirtyElements=d,s._dirtyLeaves=h,s._cloneNotNeeded=g,s._dirtyType=p,Nn=l,yr=c,In=u}return i})(typeof t=="string"?JSON.parse(t):t,this,e)}read(t){return To(this),this.getEditorState().read(t,{editor:this})}update(t,e){(function(r,s,o){r._updating?r._updates.push([s,o]):hg(r,s,o)})(this,t,e)}focus(t,e={}){const r=this._rootElement;r!==null&&(r.setAttribute("autocapitalize","off"),_r(this,()=>{const s=Z(),o=Me();s!==null?s.dirty||Ze(s.clone()):o.getChildrenSize()!==0&&(e.defaultSelection==="rootStart"?o.selectStart():o.selectEnd()),GT("focus"),N4(()=>{r.removeAttribute("autocapitalize"),t&&t()})}),this._pendingEditorState===null&&r.removeAttribute("autocapitalize"))}blur(){const t=this._rootElement;t!==null&&t.blur();const e=is(this._window);e!==null&&e.removeAllRanges()}isEditable(){return this._editable}setEditable(t){this._editable!==t&&(this._editable=t,uu("editable",this,!0,t))}toJSON(){return{editorState:this._editorState.toJSON()}}}j(vl,"version");vl.version="0.38.2+prod.esm";let ey=null;function Lb(n){ey=n}let E4=1;function OT(n,t){const e=gg(n,t);return e===void 0&&me(30,t),e}function gg(n,t){return n._nodes.get(t)}const T4=typeof queueMicrotask=="function"?queueMicrotask:n=>{Promise.resolve().then(n)};function Vv(n){return tt(Re(n))}function Db(n){const t=document.activeElement;if(!St(t))return!1;const e=t.nodeName;return tt(Re(n))&&(e==="INPUT"||e==="TEXTAREA"||t.contentEditable==="true"&&pg(t)==null)}function td(n,t,e){const r=n.getRootElement();try{return r!==null&&r.contains(t)&&r.contains(e)&&t!==null&&!Db(t)&&nd(t)===n}catch{return!1}}function Ob(n){return n instanceof vl}function nd(n){let t=n;for(;t!=null;){const e=pg(t);if(Ob(e))return e;t=rd(t)}return null}function pg(n){return n?n.__lexicalEditor:null}function _4(n){return WF.test(n)?"rtl":HF.test(n)?"ltr":null}function fl(n){return zn(n)||n.isToken()}function Rs(n){return fl(n)||n.isSegmented()}function Qo(n){return Yl(n)&&n.nodeType===3}function RT(n){return Yl(n)&&n.nodeType===9}function Va(n){let t=n;for(;t!=null;){if(Qo(t))return t;t=t.firstChild}return null}function hh(n,t,e){const r=Bo[t];if(e!==null&&(n&r)===(e&r))return n;let s=n^r;return t==="subscript"?s&=-65:t==="superscript"?s&=-33:t==="lowercase"?(s&=-513,s&=-1025):t==="uppercase"?(s&=-257,s&=-1025):t==="capitalize"&&(s&=-257,s&=-513),s}function BT(n){return oe(n)||It(n)||tt(n)}function PT(n,t){const e=(function(){const i=ey;return ey=null,i})();if((t=t||e&&e.__key)!=null)return void(n.__key=t);_n(),TT();const r=qt(),s=Fi(),o=""+E4++;s._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 Do(n){const t=n.getParent();if(t!==null){const e=n.getWritable(),r=t.getWritable(),s=n.getPreviousSibling(),o=n.getNextSibling(),i=o!==null?o.__key:null,l=s!==null?s.__key:null,c=s!==null?s.getWritable():null,u=o!==null?o.getWritable():null;s===null&&(r.__first=i),o===null&&(r.__last=l),c!==null&&(c.__next=i),u!==null&&(u.__prev=l),e.__prev=null,e.__next=null,e.__parent=null,r.__size--}}function gh(n){TT(),uh(n)&&me(323,n.__key,n.__type);const t=n.getLatest(),e=t.__parent,r=Fi(),s=qt(),o=r._nodeMap,i=s._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,i);const l=t.__key;s._dirtyType=1,Y(n)?i.set(l,!0):s._dirtyLeaves.add(l)}function Fn(n){_n();const t=qt(),e=t._compositionKey;if(n!==e){if(t._compositionKey=n,e!==null){const r=be(e);r!==null&&r.getWritable()}if(n!==null){const r=be(n);r!==null&&r.getWritable()}}}function gi(){return Wl()?null:qt()._compositionKey}function be(n,t){const e=(t||Fi())._nodeMap.get(n);return e===void 0?null:e}function jT(n,t){const e=mg(n,qt());return e!==void 0?be(e,t):null}function mg(n,t){return n[`__lexicalKey_${t._key}`]}function Re(n,t){let e=n;for(;e!=null;){const r=jT(e,t);if(r!==null)return r;e=rd(e)}return null}function FT(n){const t=n._decorators,e=Object.assign({},t);return n._pendingDecorators=e,e}function Qv(n){return n.read(()=>Me().getTextContent())}function Me(){return zT(Fi())}function zT(n){return n._nodeMap.get("root")}function Ze(n){_n();const t=Fi();n!==null&&(n.dirty=!0,n.setCachedNodes(null)),t._selection=n}function Ma(n){const t=qt(),e=(function(r,s){let o=r;for(;o!=null;){const i=mg(o,s);if(i!==void 0)return i;o=rd(o)}return null})(n,t);return e===null?n===t.getRootElement()?be("root"):null:be(e)}function UT(n){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(n)}function Rb(n){const t=[];let e=n;for(;e!==null;)t.push(e),e=e._parentEditor;return t}function KT(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,5)}function WT(n){return Qo(n)?n.nodeValue:null}function Bb(n,t,e){const r=is(os(t));if(r===null)return;const s=r.anchorNode;let{anchorOffset:o,focusOffset:i}=r;if(s!==null){let l=WT(s);const c=Re(s);if(l!==null&&oe(c)){if(l===rg&&e){const u=e.length;l=e,o=u,i=u}l!==null&&Pb(c,l,o,i,n)}}}function Pb(n,t,e,r,s){let o=n;if(o.isAttached()&&(s||!o.isDirty())){const i=o.isComposing();let l=t;(i||s)&&t[t.length-1]===rg&&(l=t.slice(0,-1));const c=o.getTextContent();if(s||l!==c){if(l===""){if(Fn(null),xu||Ga||vu)o.remove();else{const y=qt();setTimeout(()=>{y.update(()=>{o.isAttached()&&o.remove()})},20)}return}const u=o.getParent(),d=Jo(),h=o.getTextContentSize(),g=gi(),p=o.getKey();if(o.isToken()||g!==null&&p===g&&!i||W(d)&&(u!==null&&!u.canInsertTextBefore()&&d.anchor.offset===0||d.anchor.key===n.__key&&d.anchor.offset===0&&!o.canInsertTextBefore()&&!i||d.focus.key===n.__key&&d.focus.offset===h&&!o.canInsertTextAfter()&&!i))return void o.markDirty();const m=Z();if(!W(m)||e===null||r===null)return void Xv(o,l,m);if(m.setTextNodeRange(o,e,o,r),o.isSegmented()){const y=ht(o.getTextContent());o.replace(y),o=y}Xv(o,l,m)}}}function Xv(n,t,e){if(n.setTextContent(t),W(e)){const r=n.getKey();for(const s of["anchor","focus"]){const o=e[s];o.type==="text"&&o.key===r&&(o.offset=Zs(n,o.offset,"clamp"))}}}function Af(n,t,e){const r=t[e]||!1;return r==="any"||r===n[e]}function jt(n,t){return Af(n,t,"altKey")&&Af(n,t,"ctrlKey")&&Af(n,t,"shiftKey")&&Af(n,t,"metaKey")}function Tt(n,t,e){return jt(n,e)&&n.key.toLowerCase()===t.toLowerCase()}const So={ctrlKey:!gs,metaKey:gs},qv={altKey:gs,ctrlKey:!gs};function $v(n){return n.key==="Backspace"}function eS(n){return Tt(n,"a",So)}function HT(n){const t=Me();if(W(n)){const e=n.anchor,r=n.focus,s=e.getNode().getTopLevelElementOrThrow().getParentOrThrow();return e.set(s.getKey(),0,"element"),r.set(s.getKey(),s.getChildrenSize(),"element"),Ei(n),n}{const e=t.select(0,t.getChildrenSize());return Ze(Ei(e)),e}}function Pa(n,t){n.__lexicalClassNameCache===void 0&&(n.__lexicalClassNameCache={});const e=n.__lexicalClassNameCache,r=e[t];if(r!==void 0)return r;const s=n[t];if(typeof s=="string"){const o=ZE(s);return e[t]=o,o}return s}function jb(n,t,e,r,s){if(e.size===0)return;const o=r.__type,i=r.__key,l=t.get(o);l===void 0&&me(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(i),h=d==="destroyed"&&s==="created";(d===void 0||h)&&u.set(i,h?"updated":s)}function tS(n,t,e){const r=n.getParent();let s=e,o=n;return r!==null&&(t&&e===0?(s=o.getIndexWithinParent(),o=r):t||e!==o.getChildrenSize()||(s=o.getIndexWithinParent()+1,o=r)),o.getChildAtIndex(t?s-1:s)}function ty(n,t){const e=n.offset;if(n.type==="element")return tS(n.getNode(),t,e);{const r=n.getNode();if(t&&e===0||!t&&e===r.getTextContentSize()){const s=t?r.getPreviousSibling():r.getNextSibling();return s===null?tS(r.getParentOrThrow(),t,r.getIndexWithinParent()+(t?0:1)):s}}return null}function YT(n){const t=os(n).event,e=t&&t.inputType;return e==="insertFromPaste"||e==="insertFromPasteAsQuotation"}function ke(n,t,e){return(function(r,s,o){const i=Rb(r);for(let l=4;l>=0;l--)for(let c=0;c<i.length;c++){const u=i[c],d=u._commands.get(s);if(d!==void 0){const h=d[l];if(h!==void 0){const g=Array.from(h),p=g.length;let m=!1;if(_r(u,()=>{for(let y=0;y<p;y++)if(g[y](o,r))return void(m=!0)}),m)return m}}}return!1})(n,t,e)}function Ag(n){return!Yt(n)&&!n.isLastChild()&&!n.isInline()}function Sl(n,t){const e=n._keyToDOMMap.get(t);return e===void 0&&me(75,t),e}function rd(n){const t=n.assignedSlot||n.parentElement;return oy(t)?t.host:t}function ZT(n){return RT(n)?n:St(n)?n.ownerDocument:null}function GT(n){_n(),qt()._updateTags.add(n)}function N4(n){_n(),qt()._deferred.push(n)}function ny(n,t){let e=n.getParent();for(;e!==null;){if(e.is(t))return!0;e=e.getParent()}return!1}function Fb(n){const t=ZT(n);return t?t.defaultView:null}function os(n){const t=n._window;return t===null&&me(78),t}function I4(n){return Y(n)&&n.isInline()||tt(n)&&n.isInline()}function M4(n){let t=n.getParentOrThrow();for(;t!==null;){if(Xn(t))return t;t=t.getParentOrThrow()}return t}function Xn(n){return Yt(n)||Y(n)&&n.isShadowRoot()}function ry(n){const t=n.constructor.clone(n);return PT(t,null),t.afterCloneFrom(n),t}function Lt(n){const t=qt(),e=n.getType(),r=gg(t,e);r===void 0&&me(200,n.constructor.name,e);const{replace:s,replaceWithKlass:o}=r;if(s!==null){const i=s(n),l=i.constructor;return o!==null?i instanceof o||me(201,o.name,o.getType(),l.name,l.getType(),n.constructor.name,e):i instanceof n.constructor&&l!==n.constructor||me(202,l.name,l.getType(),n.constructor.name,e),i.__key===n.__key&&me(203,n.constructor.name,e,l.name,l.getType()),i}return n}function Bm(n,t){!Yt(n.getParent())||Y(t)||tt(t)||me(99)}function ka(n){const t=be(n);return t===null&&me(63,n),t}function Pm(n){return(tt(n)||Y(n)&&!n.canBeEmpty())&&!n.isInline()}function sy(n,t,e){e.style.removeProperty("caret-color"),t._blockCursorElement=null;const r=n.parentElement;r!==null&&r.removeChild(n)}function is(n){return _s?(n||window).getSelection():null}function L4(n){const t=Fb(n);return t?t.getSelection():null}function zb(n){return St(n)&&n.tagName==="A"}function St(n){return Yl(n)&&n.nodeType===1}function Yl(n){return typeof n=="object"&&n!==null&&"nodeType"in n&&typeof n.nodeType=="number"}function oy(n){return Yl(n)&&n.nodeType===11}function iy(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 ph(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 Zr(n){if(tt(n)&&!n.isInline())return!0;if(!Y(n)||Xn(n))return!1;const t=n.getFirstChild(),e=t===null||It(t)||oe(t)||t.isInline();return!n.isInline()&&n.canBeEmpty()!==!1&&e}function Zl(){return qt()}const nS=new WeakMap,D4=new Map;function rS(n){if(!n._readOnly&&n.isEmpty())return D4;n._readOnly||me(192);let t=nS.get(n);return t||(t=(function(e){const r=new Map;for(const[s,o]of e._nodeMap){const i=o.__type;let l=r.get(i);l||(l=new Map,r.set(i,l)),l.set(s,o)}return r})(n),nS.set(n,t)),t}function Ub(n){const t=n.constructor.clone(n);return t.afterCloneFrom(n),t}function O4(n){return(t=Ub(n))[bT]=!0,t;var t}function Kb(n,t){const e=parseInt(n.style.paddingInlineStart,10)||0,r=Math.round(e/40);t.setIndent(r)}function JT(n){n.__lexicalUnmanaged=!0}function R4(n){return n.__lexicalUnmanaged===!0}function Zc(n,t){return(function(e,r){return Object.prototype.hasOwnProperty.call(e,r)})(n,t)&&n[t]!==ys[t]}function yg(n){const t=pv in n.prototype?n.prototype[pv]():void 0,e=(function(i){if(!(i===ys||i.prototype instanceof ys)){let l="<unknown>",c="<unknown>";try{l=i.getType()}catch{}try{vl.version&&(c=JSON.parse(vl.version))}catch{}me(290,i.name,l,c)}return i===so||i===ft||i===ys})(n),r=!e&&Zc(n,"getType")?n.getType():void 0;let s,o=r;if(t)if(r)s=t[r];else for(const[i,l]of Object.entries(t))o=i,s=l;if(!e&&o&&(Zc(n,"getType")||(n.getType=()=>o),Zc(n,"clone")||(n.clone=i=>(Lb(i),new n)),Zc(n,"importJSON")||(n.importJSON=s&&s.$importJSON||(i=>new n().updateFromJSON(i))),!Zc(n,"importDOM")&&s)){const{importDOM:i}=s;i&&(n.importDOM=()=>i)}return{ownNodeConfig:s,ownNodeType:o}}function VT(n){const t=Zl();return _n(),new(t.resolveRegisteredNodeAfterReplacements(t.getRegisteredNode(n))).klass}const ve=(n,t)=>{let e=n;for(;e!=null&&!Yt(e);){if(t(e))return e;e=e.getParent()}return null},B4={next:"previous",previous:"next"};class Wb{constructor(t){j(this,"origin");this.origin=t}[Symbol.iterator](){return Gb({hasNext:Tl,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 s=r===this.direction?e:Array.from(e).reverse();let o=this;const i=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 s){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(i)&&c.remove(),u.replace(c)}}else u===null&&me(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 Eu extends Wb{constructor(){super(...arguments);j(this,"type","child")}getLatest(){const e=this.origin.getLatest();return e===this.origin?this:ls(e,this.direction)}getParentCaret(e="root"){return en(Hb(this.getParentAtCaret(),e),this.direction)}getFlipped(){const e=Gl(this.direction);return en(this.getNodeAtCaret(),e)||ls(this.origin,e)}getParentAtCaret(){return this.origin}getChildCaret(){return this}isSameNodeCaret(e){return e instanceof Eu&&this.direction===e.direction&&this.origin.is(e.origin)}isSamePointCaret(e){return this.isSameNodeCaret(e)}}const P4={root:Yt,shadowRoot:Xn};function Gl(n){return B4[n]}function Hb(n,t="root"){return P4[t](n)?null:n}class kl extends Wb{constructor(){super(...arguments);j(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)?ls(this.origin,this.direction):null}getParentCaret(e="root"){return en(Hb(this.getParentAtCaret(),e),this.direction)}getFlipped(){const e=Gl(this.direction);return en(this.getNodeAtCaret(),e)||ls(this.origin.getParentOrThrow(),e)}isSamePointCaret(e){return e instanceof kl&&this.direction===e.direction&&this.origin.is(e.origin)}isSameNodeCaret(e){return(e instanceof kl||e instanceof El)&&this.direction===e.direction&&this.origin.is(e.origin)}}class El extends Wb{constructor(e,r){super(e);j(this,"type","text");j(this,"offset");this.offset=r}getLatest(){const e=this.origin.getLatest();return e===this.origin?this:_i(e,this.direction,this.offset)}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return null}getParentCaret(e="root"){return en(Hb(this.getParentAtCaret(),e),this.direction)}getFlipped(){return _i(this.origin,Gl(this.direction),this.offset)}isSamePointCaret(e){return e instanceof El&&this.direction===e.direction&&this.origin.is(e.origin)&&this.offset===e.offset}isSameNodeCaret(e){return(e instanceof kl||e instanceof El)&&this.direction===e.direction&&this.origin.is(e.origin)}getSiblingCaret(){return en(this.origin,this.direction)}}function Ys(n){return n instanceof El}function Tl(n){return n instanceof kl}function ns(n){return n instanceof Eu}const j4={next:class extends El{constructor(){super(...arguments);j(this,"direction","next")}getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends El{constructor(){super(...arguments);j(this,"direction","previous")}getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},F4={next:class extends kl{constructor(){super(...arguments);j(this,"direction","next")}getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends kl{constructor(){super(...arguments);j(this,"direction","previous")}getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},z4={next:class extends Eu{constructor(){super(...arguments);j(this,"direction","next")}getNodeAtCaret(){return this.origin.getFirstChild()}insert(t){return this.origin.splice(0,0,[t]),this}},previous:class extends Eu{constructor(){super(...arguments);j(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 F4[t](n):null}function _i(n,t,e){return n?new j4[t](n,Zs(n,e)):null}function Zs(n,t,e="error"){const r=n.getTextContentSize();let s=t==="next"?r:t==="previous"?0:t;return(s<0||s>r)&&(e!=="clamp"&&HE(284,String(t),String(r),n.getKey()),s=s<0?0:r),s}function sS(n,t){return new U4(n,t)}function ls(n,t){return Y(n)?new z4[t](n):null}function QT(n){return n&&n.getChildCaret()||n}function Qa(n){return n&&QT(n.getAdjacentCaret())}class Yb{constructor(t,e,r){j(this,"type","node-caret-range");j(this,"direction");j(this,"anchor");j(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 Yb(t,e,this.direction)}isCollapsed(){return this.anchor.isSamePointCaret(this.focus)}getTextSlices(){const t=s=>{const o=this[s].getLatest();return Ys(o)?(function(i,l){const{direction:c,origin:u}=i,d=Zs(u,l==="focus"?Gl(c):c);return sS(i,d-i.offset)})(o,s):null},e=t("anchor"),r=t("focus");if(e&&r){const{caret:s}=e,{caret:o}=r;if(s.isSameNodeCaret(o))return[sS(s,o.offset-s.offset),null]}return[e,r]}iterNodeCarets(t="root"){const e=Ys(this.anchor)?this.anchor.getSiblingCaret():this.anchor.getLatest(),r=this.focus.getLatest(),s=Ys(r),o=i=>i.isSameNodeCaret(r)?null:Qa(i)||i.getParentCaret(t);return Gb({hasNext:i=>i!==null&&!(s&&r.isSameNodeCaret(i)),initial:e.isSameNodeCaret(r)?null:o(e),map:i=>i,step:o})}[Symbol.iterator](){return this.iterNodeCarets("root")}}class U4{constructor(t,e){j(this,"type","slice");j(this,"caret");j(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,s]=this.getSliceIndices(),o=t.getTextContent();return _i(t.setTextContent(o.slice(0,r)+o.slice(s)),e,r)}}function Zb(n){return jo(n,en(Me(),n.direction))}function XT(n){return jo(n,n)}function jo(n,t){return n.direction!==t.direction&&me(265),new Yb(n,t,n.direction)}function Gb(n){const{initial:t,hasNext:e,step:r,map:s}=n;let o=t;return{[Symbol.iterator](){return this},next(){if(!e(o))return{done:!0,value:void 0};const i={done:!1,value:s(o)};return o=r(o),i}}}function qT(n,t){const e=Zf(n.origin,t.origin);switch(e===null&&me(275,n.origin.getKey(),t.origin.getKey()),e.type){case"same":{const r=n.type==="text",s=t.type==="text";return r&&s?(function(o,i){return Math.sign(o-i)})(n.offset,t.offset):n.type===t.type?0:r?-1:s?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 $T(e)}}function $T(n){const{a:t,b:e}=n,r=t.__key,s=e.__key;let o=t,i=e;for(;o&&i;o=o.getNextSibling(),i=i.getNextSibling()){if(o.__key===s)return-1;if(i.__key===r)return 1}return o===null?1:-1}function yf(n,t){return t.is(n)}function oS(n){return Y(n)?[n.getLatest(),null]:[n.getParent(),n.getLatest()]}function Zf(n,t){if(n.is(t))return{commonAncestor:n,type:"same"};const e=new Map;for(let[r,s]=oS(n);r;s=r,r=r.getParent())e.set(r,s);for(let[r,s]=oS(t);r;s=r,r=r.getParent()){const o=e.get(r);if(o!==void 0)return o===null?(yf(n,r)||me(276),{commonAncestor:r,type:"ancestor"}):s===null?(yf(t,r)||me(277),{commonAncestor:r,type:"descendant"}):((Y(o)||yf(n,o))&&(Y(s)||yf(t,s))&&r.is(o.getParent())&&r.is(s.getParent())||me(278),{a:o,b:s,commonAncestor:r,type:"branch"})}return null}function qs(n,t){const{type:e,key:r,offset:s}=n,o=ka(n.key);return e==="text"?(oe(o)||me(266,o.getType(),r),_i(o,t,s)):(Y(o)||me(267,o.getType(),r),W4(o,n.offset,t))}function Tu(n,t){const{origin:e,direction:r}=t,s=r==="next";Ys(t)?n.set(e.getKey(),t.offset,"text"):Tl(t)?oe(e)?n.set(e.getKey(),Zs(e,r),"text"):n.set(e.getParentOrThrow().getKey(),e.getIndexWithinParent()+(s?1:0),"element"):(ns(t)&&Y(e)||me(268),n.set(e.getKey(),s?0:e.getChildrenSize(),"element"))}function Jb(n){const t=Z(),e=W(t)?t:Go();return Gf(e,n),Ze(e),e}function Gf(n,t){Tu(n.anchor,t.anchor),Tu(n.focus,t.focus)}function ly(n){const{anchor:t,focus:e}=n,r=qs(t,"next"),s=qs(e,"next"),o=qT(r,s)<=0?"next":"previous";return jo(Fo(r,o),Fo(s,o))}function sd(n){const{direction:t,origin:e}=n,r=en(e,Gl(t)).getNodeAtCaret();return r?en(r,t):ls(e.getParentOrThrow(),t)}function iS(n,t="root"){const e=[n];for(let r=ns(n)?n.getParentCaret(t):n.getSiblingCaret();r!==null;r=r.getParentCaret(t))e.push(sd(r));return e}function jm(n){return!!n&&n.origin.isAttached()}function K4(n,t="removeEmptySlices"){if(n.isCollapsed())return n;const e="root",r="next";let s=t;const o=Vb(n,r),i=iS(o.anchor,e),l=iS(o.focus.getFlipped(),e),c=new Set,u=[];for(const m of o.iterNodeCarets(e))if(ns(m))c.add(m.origin.getKey());else if(Tl(m)){const{origin:y}=m;Y(y)&&!c.has(y.getKey())||u.push(y)}for(const m of u)m.remove();for(const m of o.getTextSlices()){if(!m)continue;const{origin:y}=m.caret,w=y.getTextContentSize(),x=sd(en(y,r)),C=y.getMode();if(Math.abs(m.distance)===w&&s==="removeEmptySlices"||C==="token"&&m.distance!==0)x.remove();else if(m.distance!==0){s="removeEmptySlices";let v=m.removeTextSlice();const _=m.caret.origin;if(C==="segmented"){const N=v.origin,E=ht(N.getTextContent()).setStyle(N.getStyle()).setFormat(N.getFormat());x.replaceOrInsert(E),v=_i(E,r,v.offset)}_.is(i[0].origin)&&(i[0]=v),_.is(l[0].origin)&&(l[0]=v.getFlipped())}}let d,h;for(const m of i)if(jm(m)){d=qr(m);break}for(const m of l)if(jm(m)){h=qr(m);break}const g=(function(m,y,w){if(!m||!y)return null;const x=m.getParentAtCaret(),C=y.getParentAtCaret();if(!x||!C)return null;const v=x.getParents().reverse();v.push(x);const _=C.getParents().reverse();_.push(C);const N=Math.min(v.length,_.length);let E;for(E=0;E<N&&v[E]===_[E];E++);const T=(O,P)=>{let F;for(let z=E;z<O.length;z++){const H=O[z];if(Xn(H))return;!F&&P(H)&&(F=H)}return F},I=T(v,Zr),M=I&&T(_,O=>w.has(O.getKey())&&Zr(O));return I&&M?[I,M]:null})(d,h,c);if(g){const[m,y]=g;ls(m,"previous").splice(0,y.getChildren()),y.remove()}const p=[d,h,...i,...l].find(jm);if(p)return XT(Fo(qr(p),n.direction));me(269,JSON.stringify(i.map(m=>m.origin.__key)))}function qr(n){const t=(function(s){let o=s;for(;ns(o);){const i=Qa(o);if(!ns(i))break;o=i}return o})(n.getLatest()),{direction:e}=t;if(oe(t.origin))return Ys(t)?t:_i(t.origin,e,e);const r=t.getAdjacentCaret();return Tl(r)&&oe(r.origin)?_i(r.origin,e,Gl(e)):t}function e_(n){return Ys(n)&&n.offset!==Zs(n.origin,n.direction)}function Fo(n,t){return n.direction===t?n:n.getFlipped()}function Vb(n,t){return n.direction===t?n:jo(Fo(n.focus,t),Fo(n.anchor,t))}function W4(n,t,e){let r=ls(n,"next");for(let s=0;s<t;s++){const o=r.getAdjacentCaret();if(o===null)break;r=o}return Fo(r,e)}function H4(n,t="root"){let e=0,r=n,s=Qa(r);for(;s===null;){if(e--,s=r.getParentCaret(t),!s)return null;r=s,s=Qa(r)}return s&&[s,e]}function Y4(n){const{origin:t,offset:e,direction:r}=n;if(e===Zs(t,r))return n.getSiblingCaret();if(e===Zs(t,Gl(r)))return sd(n.getSiblingCaret());const[s]=t.splitText(e);return oe(s)||me(281),Fo(en(s,"next"),r)}function Z4(n,t){return!0}function G4(n,{$copyElementNode:t=ry,$splitTextPointCaretNext:e=Y4,rootMode:r="shadowRoot",$shouldSplit:s=Z4}={}){if(Ys(n))return e(n);const o=n.getParentCaret(r);if(o){const{origin:i}=o;if(ns(n)&&(!i.canBeEmpty()||!s(i,"first")))return sd(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||i.canBeEmpty()&&s(i,"last"))&&o.insert(t(i).splice(0,0,l))}return o}function J4(...n){return n}function V4(n,t){if(!t||n===t)return n;for(const e in t)if(n[e]!==t[e])return{...n,...t};return n}function t_(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 mh=new Map;function lS(n){let t=n;for(;t!=null;){if(t.nodeType===Node.TEXT_NODE)return t;t=t.firstChild}return null}function aS(n){const t=n.parentNode;if(t==null)throw new Error("Should never happen");return[t,Array.from(t.childNodes).indexOf(n)]}function n_(n,t,e,r,s){const o=t.getKey(),i=r.getKey(),l=document.createRange();let c=n.getElementByKey(o),u=n.getElementByKey(i),d=e,h=s;if(oe(t)&&(c=lS(c)),oe(r)&&(u=lS(u)),t===void 0||r===void 0||c===null||u===null)return null;c.nodeName==="BR"&&([c,d]=aS(c)),u.nodeName==="BR"&&([u,h]=aS(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===i||(l.setStart(u,h),l.setEnd(c,d)),l}function r_(n,t){const e=n.getRootElement();if(e===null)return[];const r=e.getBoundingClientRect(),s=getComputedStyle(e),o=parseFloat(s.paddingLeft)+parseFloat(s.paddingRight),i=Array.from(t.getClientRects());let l,c=i.length;i.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=i[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?(i.splice(u--,1),c--):l=d}return i}function s_(n){const t={};if(!n)return t;const e=n.split(";");for(const r of e)if(r!==""){const[s,o]=r.split(/:([^]+)/);s&&o&&(t[s.trim()]=o.trim())}return t}function _u(n){let t=mh.get(n);return t===void 0&&(t=s_(n),mh.set(n,t)),t}function Q4(n){let t="";for(const e in n)e&&(t+=`${e}: ${n[e]};`);return t}function o_(n){const t=Zl().getElementByKey(n.getKey());if(t===null)return null;const e=t.ownerDocument.defaultView;return e===null?null:e.getComputedStyle(t)}function i_(n){return o_(Yt(n)?n:n.getParentOrThrow())}function cS(n){const t=i_(n);return t!==null&&t.direction==="rtl"}function l_(n,t,e="self"){const r=n.getStartEndPoints();if(t.isSelected(n)&&!Rs(t)&&r!==null){const[s,o]=r,i=n.isBackward(),l=s.getNode(),c=o.getNode(),u=t.is(l),d=t.is(c);if(u||d){const[h,g]=qA(n),p=l.is(c),m=t.is(i?c:l),y=t.is(i?l:c);let w,x=0;p?(x=h>g?g:h,w=h>g?h:g):m?(x=i?g:h,w=void 0):y&&(x=0,w=i?h:g);const C=t.__text.slice(x,w);C!==t.__text&&(e==="clone"&&(t=O4(t)),t.__text=C)}}return t}function uS(n){if(n.type==="text")return n.offset===n.getNode().getTextContentSize();const t=n.getNode();return Y(t)||t_(177),n.offset===t.getChildrenSize()}function X4(n,t,e){let r=t.getNode(),s=e;if(Y(r)){const o=r.getDescendantByIndex(t.offset);o!==null&&(r=o)}for(;s>0&&r!==null;){if(Y(r)){const u=r.getLastDescendant();u!==null&&(r=u)}let o=r.getPreviousSibling(),i=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&&(i=u.isInline()?0:2,o=d)}let l=r.getTextContent();l===""&&Y(r)&&!r.isInline()&&(l=`
|
|
12
|
+
|
|
13
|
+
`);const c=l.length;if(!oe(r)||s>=c){const u=r.getParent();r.remove(),u==null||u.getChildrenSize()!==0||Yt(u)||u.remove(),s-=c+i,r=o}else{const u=r.getKey(),d=n.getEditorState().read(()=>{const p=be(u);return oe(p)&&p.isSimpleText()?p.getTextContent():null}),h=c-s,g=l.slice(0,h);if(d!==null&&d!==l){const p=Jo();let m=r;if(r.isSimpleText())r.setTextContent(d);else{const y=ht(d);r.replace(y),m=y}if(W(p)&&p.isCollapsed()){const y=p.anchor.offset;m.select(y,y)}}else if(r.isSimpleText()){const p=t.key===u;let m=t.offset;m<s&&(m=c);const y=p?m-s:0,w=p?m:h;if(p&&y===0){const[x]=r.splitText(y,w);x.remove()}else{const[,x]=r.splitText(y,w);x.remove()}}else{const p=ht(g);r.replace(p)}s=0}}}function q4(n){const t=n.getStyle(),e=s_(t);mh.set(t,e)}function Fm(n,t){(W(n)?n.isCollapsed():oe(n)||Y(n))||t_(280);const e=_u(W(n)?n.style:oe(n)?n.getStyle():n.getTextStyle()),r=Object.entries(t).reduce((o,[i,l])=>(typeof l=="function"?o[i]=l(e[i],n):l===null?delete o[i]:o[i]=l,o),{...e}),s=Q4(r);W(n)||oe(n)?n.setStyle(s):n.setTextStyle(s),mh.set(s,r)}function Ah(n,t){if(W(n)&&n.isCollapsed()){Fm(n,t);const e=n.anchor.getNode();Y(e)&&e.isEmpty()&&Fm(e,t)}$4(e=>{Fm(e,t)})}function $4(n){const t=Z();if(!t)return;const e=new Map,r=o=>e.get(o.getKey())||[0,o.getTextContentSize()];if(W(t))for(const o of ly(t).getTextSlices())o&&e.set(o.caret.origin.getKey(),o.getSliceIndices());const s=t.getNodes();for(const o of s){if(!oe(o)||!o.canHaveFormat())continue;const[i,l]=r(o);l!==i&&(Rs(o)||i===0&&l===o.getTextContentSize()?n(o):n(o.splitText(i,l)[i===0?0:1]))}W(t)&&t.anchor.type==="text"&&t.focus.type==="text"&&t.anchor.key===t.focus.key&&e3(t)}function e3(n){if(n.isBackward()){const{anchor:t,focus:e}=n,{key:r,offset:s,type:o}=t;t.set(e.key,e.offset,e.type),e.set(r,s,o)}}function t3(n,t){const e=n.getFormatType(),r=n.getIndent();e!==t.getFormatType()&&t.setFormat(e),r!==t.getIndent()&&t.setIndent(r)}function Jl(n,t,e=t3){if(n===null)return;const r=n.getStartEndPoints(),s=new Map;let o=null;if(r){const[i,l]=r;o=Go(),o.anchor.set(i.key,i.offset,i.type),o.focus.set(l.key,l.offset,l.type);const c=ve(i.getNode(),Zr),u=ve(l.getNode(),Zr);Y(c)&&s.set(c.getKey(),c),Y(u)&&s.set(u.getKey(),u)}for(const i of n.getNodes())if(Y(i)&&Zr(i))s.set(i.getKey(),i);else if(r===null){const l=ve(i,Zr);Y(l)&&s.set(l.getKey(),l)}for(const[i,l]of s){const c=t();e(l,c),l.replace(c,!0),o&&(i===o.anchor.key&&o.anchor.set(c.getKey(),o.anchor.offset,o.anchor.type),i===o.focus.key&&o.focus.set(c.getKey(),o.focus.offset,o.focus.type))}o&&n.is(Z())&&Ze(o)}function a_(n){const t=c_(n);return t!==null&&t.writingMode==="vertical-rl"}function c_(n){const t=n.anchor.getNode();return Y(t)?o_(t):i_(t)}function dS(n,t){let e=a_(n)?!t:t;u_(n)&&(e=!e);const r=qs(n.focus,e?"previous":"next");if(e_(r))return!1;for(const s of Zb(r)){if(ns(s))return!s.origin.isInline();if(!Y(s.origin)){if(tt(s.origin))return!0;break}}return!1}function n3(n,t,e,r){n.modify(t?"extend":"move",e,r)}function u_(n){const t=c_(n);return t!==null&&t.direction==="rtl"}function fS(n,t,e){const r=u_(n);let s;s=a_(n)||r?!e:e,n3(n,t,s,"character")}function r3(n,t,e){const r=_u(n.getStyle());return r!==null&&r[t]||e}function yh(n,t,e=""){let r=null;const s=n.getNodes(),o=n.anchor,i=n.focus,l=n.isBackward(),c=l?i.offset:o.offset,u=l?i.getNode():o.getNode();if(W(n)&&n.isCollapsed()&&n.style!==""){const d=_u(n.style);if(d!==null&&t in d)return d[t]}for(let d=0;d<s.length;d++){const h=s[d];if((d===0||c!==0||!h.is(u))&&oe(h)){const g=r3(h,t,e);if(r===null)r=g;else if(r!==g){r="";break}}}return r===null?e:r}const s3=X4;function d_(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 od=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,o3=od&&"documentMode"in document?document.documentMode:null,i3=od&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),l3=od&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);!(!od||!("InputEvent"in window)||o3)&&"getTargetRanges"in new window.InputEvent("input");function f_(...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 Xe(...n){return()=>{for(let t=n.length-1;t>=0;t--)n[t]();n.length=0}}const a3=od,hS=i3,c3=l3;function Qe(n,...t){const e=f_(...t);e.length>0&&n.classList.add(...e)}function Nr(n,...t){const e=f_(...t);e.length>0&&n.classList.remove(...e)}function u3(n){return n?n.getAdjacentCaret():null}function gS(n){const t=QT(en(n,"previous")),e=H4(t,"root");return e&&e[0].origin}function Qb(n,t){let e=n;for(;e!=null;){if(e instanceof t)return e;e=e.getParent()}return null}function gc(n){const t=ve(n,e=>Y(e)&&!e.isInline());return Y(t)||d_(4,n.__key),t}function d3(n,t,e,r){const s=o=>o instanceof t;return n.registerNodeTransform(t,o=>{const i=(l=>{const c=l.getChildren();for(let h=0;h<c.length;h++){const g=c[h];if(s(g))return null}let u=l,d=l;for(;u!==null;)if(d=u,u=u.getParent(),s(u))return{child:d,parent:u};return null})(o);if(i!==null){const{child:l,parent:c}=i;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 f3(n,t){const e=new Map,r=n._pendingEditorState;for(const[o,i]of t._nodeMap)e.set(o,Ub(i));r&&(r._nodeMap=e),n._dirtyType=2;const s=t._selection;Ze(s===null?null:s.clone())}function h_(n){const t=Z()||Jo();let e;if(W(t))e=qs(t.focus,"next");else{if(t!=null){const i=t.getNodes(),l=i[i.length-1];l&&(e=en(l,"next"))}e=e||ls(Me(),"previous").getFlipped().insert(Ce())}const r=h3(n,e),s=Qa(r),o=ns(s)?qr(s):r;return Jb(XT(o)),n.getLatest()}function h3(n,t,e){let r=Fo(t,"next");for(let s=r;s;s=G4(s,e))r=s;return Ys(r)&&d_(283),r.insert(n.isInline()?Ce().append(n):n),Fo(en(n.getLatest(),"next"),t.direction)}function Mo(n,t){return n!==null&&Object.getPrototypeOf(n).constructor.name===t.name}function g3(n,t){ls(n,"next").insert(t)}let zm=!(c3||!a3)&&void 0;function p3(n){let t=1;if((function(){if(zm===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"),zm=e.getBoundingClientRect().width===r.width,document.body.removeChild(e)}return zm})())for(;n;)t*=Number(window.getComputedStyle(n).getPropertyValue("zoom")),n=n.parentElement;return t}function g_(n,t){const e=[],r=Array.from(n).reverse();for(let s=r.pop();s!==void 0;s=r.pop())if(t(s))e.push(s);else if(Y(s))for(const o of m3(s))r.push(o);return e}function m3(n){return A3(ls(n,"previous"))}function A3(n){return Gb({hasNext:Tl,initial:n.getAdjacentCaret(),map:t=>t.origin.getLatest(),step:t=>t.getAdjacentCaret()})}function bg(n,t){const e=RT(t)?t.body.childNodes:t.childNodes;let r=[];const s=[];for(const o of e)if(!m_.has(o.nodeName)){const i=A_(o,n,s,!1);i!==null&&(r=r.concat(i))}return(function(o){for(const i of o)i.getNextSibling()instanceof Mb&&i.insertAfter(cr());for(const i of o){const l=i.getChildren();for(const c of l)i.insertBefore(c);i.remove()}})(s),r}function bh(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=Me().getChildren();for(let s=0;s<r.length;s++)p_(n,r[s],e,t);return e.innerHTML}function p_(n,t,e,r=null){let s=r===null||t.isSelected(r);const o=Y(t)&&t.excludeFromCopy("html");let i=t;r!==null&&oe(t)&&(i=l_(r,t,"clone"));const l=Y(i)?i.getChildren():[],c=gg(n,i.getType());let u;u=c&&c.exportDOM!==void 0?c.exportDOM(n,i):i.exportDOM(n);const{element:d,after:h}=u;if(!d)return!1;const g=document.createDocumentFragment();for(let p=0;p<l.length;p++){const m=l[p],y=p_(n,m,g,r);!s&&Y(t)&&y&&t.extractWithChild(m,r,"html")&&(s=!0)}if(s&&!o){if((St(d)||oy(d))&&d.append(g),e.append(d),h){const p=h.call(i,d);p&&(oy(d)?d.replaceChildren(p):d.replaceWith(p))}}else e.append(g);return s}const m_=new Set(["STYLE","SCRIPT"]);function A_(n,t,e,r,s=new Map,o){let i=[];if(m_.has(n.nodeName))return i;let l=null;const c=(function(m,y){const{nodeName:w}=m,x=y._htmlConversions.get(w.toLowerCase());let C=null;if(x!==void 0)for(const v of x){const _=v(m);_!==null&&(C===null||(C.priority||0)<=(_.priority||0))&&(C=_)}return C!==null?C.conversion:null})(n,t),u=c?c(n):null;let d=null;if(u!==null){d=u.after;const m=u.node;if(l=Array.isArray(m)?m[m.length-1]:m,l!==null){for(const[,y]of s)if(l=y(l,o),!l)break;l&&i.push(...Array.isArray(m)?m:[l])}u.forChild!=null&&s.set(n.nodeName,u.forChild)}const h=n.childNodes;let g=[];const p=(l==null||!Xn(l))&&(l!=null&&$A(l)||r);for(let m=0;m<h.length;m++)g.push(...A_(h[m],t,e,p,new Map(s),l));return d!=null&&(g=d(g)),ph(n)&&(g=y3(n,g,p?()=>{const m=new Mb;return e.push(m),m}:Ce)),l==null?g.length>0?i=i.concat(g):ph(n)&&(function(m){return m.nextSibling==null||m.previousSibling==null?!1:iy(m.nextSibling)&&iy(m.previousSibling)})(n)&&(i=i.concat(cr())):Y(l)&&l.append(...g),i}function y3(n,t,e){const r=n.style.textAlign,s=[];let o=[];for(let i=0;i<t.length;i++){const l=t[i];if($A(l))r&&!l.getFormat()&&l.setFormat(r),s.push(l);else if(o.push(l),i===t.length-1||i<t.length-1&&$A(t[i+1])){const c=e();c.setFormat(r),c.append(...o),s.push(c),o=[]}}return s}const pS=[["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)"]],mS=pS[Math.floor(Math.random()*pS.length)],Xb=k.createContext(null);function y_(){return{color:mS[1],isCollabActive:!1,name:mS[0],yjsDocMap:new Map}}const b3=y_();function w3({children:n}){const t=k.useMemo(()=>y_(),[]);return A.jsx(Xb.Provider,{value:t,children:n})}function C3(n,t){let e=k.useContext(Xb);return e==null&&(function(r,...s){const o=new URL("https://lexical.dev/docs/error"),i=new URLSearchParams;i.append("code",r);for(const l of s)i.append("v",l);o.search=i.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??b3,n!=null&&(e.name=n),t!=null&&(e.color=t),e}const qb=k.createContext(null);function b_(n,t){let e=null;return n!=null&&(e=n[1]),{getTheme:function(){return t??(e!=null?e.getTheme():null)}}}function Ee(){const n=k.useContext(qb);return n==null&&(function(t,...e){const r=new URL("https://lexical.dev/docs/error"),s=new URLSearchParams;s.append("code",t);for(const o of e)s.append("v",o);throw r.search=s.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 br=()=>new Map,ay=n=>{const t=br();return n.forEach((e,r)=>{t.set(r,e)}),t},oo=(n,t,e)=>{let r=n.get(t);return r===void 0&&n.set(t,r=e()),r},x3=(n,t)=>{const e=[];for(const[r,s]of n)e.push(t(s,r));return e},v3=(n,t)=>{for(const[e,r]of n)if(t(r,e))return!0;return!1},Ni=()=>new Set,Um=n=>n[n.length-1],S3=(n,t)=>{for(let e=0;e<t.length;e++)n.push(t[e])},zo=Array.from,$b=(n,t)=>{for(let e=0;e<n.length;e++)if(!t(n[e],e,n))return!1;return!0},e0=(n,t)=>{for(let e=0;e<n.length;e++)if(t(n[e],e,n))return!0;return!1},k3=(n,t)=>{const e=new Array(n);for(let r=0;r<n;r++)e[r]=t(r,e);return e},Xa=Array.isArray;class w_{constructor(){this._observers=br()}on(t,e){return oo(this._observers,t,Ni).add(e),e}once(t,e){const r=(...s)=>{this.off(t,r),e(...s)};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 zo((this._observers.get(t)||br()).values()).forEach(r=>r(...e))}destroy(){this._observers=br()}}class C_{constructor(){this._observers=br()}on(t,e){oo(this._observers,t,Ni).add(e)}once(t,e){const r=(...s)=>{this.off(t,r),e(...s)};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 zo((this._observers.get(t)||br()).values()).forEach(r=>r(...e))}destroy(){this._observers=br()}}const ks=Math.floor,Jf=Math.abs,t0=(n,t)=>n<t?n:t,Vl=(n,t)=>n>t?n:t,E3=Math.pow,x_=n=>n!==0?n<0:1/n<0,AS=1,yS=2,Km=4,Wm=8,Nu=32,Oo=64,Ir=128,wg=31,cy=63,hl=127,T3=2147483647,wh=Number.MAX_SAFE_INTEGER,bS=Number.MIN_SAFE_INTEGER,_3=Number.isInteger||(n=>typeof n=="number"&&isFinite(n)&&ks(n)===n),v_=String.fromCharCode,N3=n=>n.toLowerCase(),I3=/^\s*/g,M3=n=>n.replace(I3,""),L3=/([A-Z])/g,wS=(n,t)=>M3(n.replace(L3,e=>`${t}${N3(e)}`)),D3=n=>{const t=unescape(encodeURIComponent(n)),e=t.length,r=new Uint8Array(e);for(let s=0;s<e;s++)r[s]=t.codePointAt(s);return r},Iu=typeof TextEncoder<"u"?new TextEncoder:null,O3=n=>Iu.encode(n),R3=Iu?O3:D3;let fu=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});fu&&fu.decode(new Uint8Array).length===1&&(fu=null);const B3=(n,t)=>k3(t,()=>n).join("");class id{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const Zn=()=>new id,n0=n=>{let t=n.cpos;for(let e=0;e<n.bufs.length;e++)t+=n.bufs[e].length;return t},Xt=n=>{const t=new Uint8Array(n0(n));let e=0;for(let r=0;r<n.bufs.length;r++){const s=n.bufs[r];t.set(s,e),e+=s.length}return t.set(new Uint8Array(n.cbuf.buffer,0,n.cpos),e),t},P3=(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(Vl(e,t)*2),n.cpos=0)},En=(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},uy=En,je=(n,t)=>{for(;t>hl;)En(n,Ir|hl&t),t=ks(t/128);En(n,hl&t)},r0=(n,t)=>{const e=x_(t);for(e&&(t=-t),En(n,(t>cy?Ir:0)|(e?Oo:0)|cy&t),t=ks(t/64);t>0;)En(n,(t>hl?Ir:0)|hl&t),t=ks(t/128)},dy=new Uint8Array(3e4),j3=dy.length/3,F3=(n,t)=>{if(t.length<j3){const e=Iu.encodeInto(t,dy).written||0;je(n,e);for(let r=0;r<e;r++)En(n,dy[r])}else sn(n,R3(t))},z3=(n,t)=>{const e=unescape(encodeURIComponent(t)),r=e.length;je(n,r);for(let s=0;s<r;s++)En(n,e.codePointAt(s))},gl=Iu&&Iu.encodeInto?F3:z3,Cg=(n,t)=>{const e=n.cbuf.length,r=n.cpos,s=t0(e-r,t.length),o=t.length-s;n.cbuf.set(t.subarray(0,s),r),n.cpos+=s,o>0&&(n.bufs.push(n.cbuf),n.cbuf=new Uint8Array(Vl(e*2,o)),n.cbuf.set(t.subarray(s)),n.cpos=o)},sn=(n,t)=>{je(n,t.byteLength),Cg(n,t)},s0=(n,t)=>{P3(n,t);const e=new DataView(n.cbuf.buffer,n.cpos,t);return n.cpos+=t,e},U3=(n,t)=>s0(n,4).setFloat32(0,t,!1),K3=(n,t)=>s0(n,8).setFloat64(0,t,!1),W3=(n,t)=>s0(n,8).setBigInt64(0,t,!1),CS=new DataView(new ArrayBuffer(4)),H3=n=>(CS.setFloat32(0,n),CS.getFloat32(0)===n),Mu=(n,t)=>{switch(typeof t){case"string":En(n,119),gl(n,t);break;case"number":_3(t)&&Jf(t)<=T3?(En(n,125),r0(n,t)):H3(t)?(En(n,124),U3(n,t)):(En(n,123),K3(n,t));break;case"bigint":En(n,122),W3(n,t);break;case"object":if(t===null)En(n,126);else if(Xa(t)){En(n,117),je(n,t.length);for(let e=0;e<t.length;e++)Mu(n,t[e])}else if(t instanceof Uint8Array)En(n,116),sn(n,t);else{En(n,118);const e=Object.keys(t);je(n,e.length);for(let r=0;r<e.length;r++){const s=e[r];gl(n,s),Mu(n,t[s])}}break;case"boolean":En(n,t?120:121);break;default:En(n,127)}};class xS extends id{constructor(t){super(),this.w=t,this.s=null,this.count=0}write(t){this.s===t?this.count++:(this.count>0&&je(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}}const vS=n=>{n.count>0&&(r0(n.encoder,n.count===1?n.s:-n.s),n.count>1&&je(n.encoder,n.count-2))};class Vf{constructor(){this.encoder=new id,this.s=0,this.count=0}write(t){this.s===t?this.count++:(vS(this),this.count=1,this.s=t)}toUint8Array(){return vS(this),Xt(this.encoder)}}const SS=n=>{if(n.count>0){const t=n.diff*2+(n.count===1?0:1);r0(n.encoder,t),n.count>1&&je(n.encoder,n.count-2)}};class Hm{constructor(){this.encoder=new id,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(SS(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return SS(this),Xt(this.encoder)}}class Y3{constructor(){this.sarr=[],this.s="",this.lensE=new Vf}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 id;return this.sarr.push(this.s),this.s="",gl(t,this.sarr.join("")),Cg(t,this.lensE.toUint8Array()),Xt(t)}}const $s=n=>new Error(n),bs=()=>{throw $s("Method unimplemented")},Or=()=>{throw $s("Unexpected case")},S_=$s("Unexpected end of array"),k_=$s("Integer out of Range");class xg{constructor(t){this.arr=t,this.pos=0}}const zi=n=>new xg(n),Z3=n=>n.pos!==n.arr.length,G3=(n,t)=>{const e=new Uint8Array(n.arr.buffer,n.pos+n.arr.byteOffset,t);return n.pos+=t,e},Yn=n=>G3(n,Je(n)),qa=n=>n.arr[n.pos++],Je=n=>{let t=0,e=1;const r=n.arr.length;for(;n.pos<r;){const s=n.arr[n.pos++];if(t=t+(s&hl)*e,e*=128,s<Ir)return t;if(t>wh)throw k_}throw S_},o0=n=>{let t=n.arr[n.pos++],e=t&cy,r=64;const s=(t&Oo)>0?-1:1;if((t&Ir)===0)return s*e;const o=n.arr.length;for(;n.pos<o;){if(t=n.arr[n.pos++],e=e+(t&hl)*r,r*=128,t<Ir)return s*e;if(e>wh)throw k_}throw S_},J3=n=>{let t=Je(n);if(t===0)return"";{let e=String.fromCodePoint(qa(n));if(--t<100)for(;t--;)e+=String.fromCodePoint(qa(n));else for(;t>0;){const r=t<1e4?t:1e4,s=n.arr.subarray(n.pos,n.pos+r);n.pos+=r,e+=String.fromCodePoint.apply(null,s),t-=r}return decodeURIComponent(escape(e))}},V3=n=>fu.decode(Yn(n)),bi=fu?V3:J3,i0=(n,t)=>{const e=new DataView(n.arr.buffer,n.arr.byteOffset+n.pos,t);return n.pos+=t,e},Q3=n=>i0(n,4).getFloat32(0,!1),X3=n=>i0(n,8).getFloat64(0,!1),q3=n=>i0(n,8).getBigInt64(0,!1),$3=[n=>{},n=>null,o0,Q3,X3,q3,n=>!1,n=>!0,bi,n=>{const t=Je(n),e={};for(let r=0;r<t;r++){const s=bi(n);e[s]=Lu(n)}return e},n=>{const t=Je(n),e=[];for(let r=0;r<t;r++)e.push(Lu(n));return e},Yn],Lu=n=>$3[127-qa(n)](n);class kS extends xg{constructor(t,e){super(t),this.reader=e,this.s=null,this.count=0}read(){return this.count===0&&(this.s=this.reader(this),Z3(this)?this.count=Je(this)+1:this.count=-1),this.count--,this.s}}class Qf extends xg{constructor(t){super(t),this.s=0,this.count=0}read(){if(this.count===0){this.s=o0(this);const t=x_(this.s);this.count=1,t&&(this.s=-this.s,this.count=Je(this)+2)}return this.count--,this.s}}class Ym extends xg{constructor(t){super(t),this.s=0,this.count=0,this.diff=0}read(){if(this.count===0){const t=o0(this),e=t&1;this.diff=ks(t/2),this.count=1,e&&(this.count=Je(this)+2)}return this.s+=this.diff,this.count--,this.s}}class e5{constructor(t){this.decoder=new Qf(t),this.str=bi(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 t5=crypto.getRandomValues.bind(crypto),E_=()=>t5(new Uint32Array(1))[0],n5="10000000-1000-4000-8000"+-1e11,r5=()=>n5.replace(/[018]/g,n=>(n^E_()&15>>n/4).toString(16)),Ii=Date.now,ES=n=>new Promise(n);Promise.all.bind(Promise);const TS=n=>n===void 0?null:n;class s5{constructor(){this.map=new Map}setItem(t,e){this.map.set(t,e)}getItem(t){return this.map.get(t)}}let T_=new s5,l0=!0;try{typeof localStorage<"u"&&localStorage&&(T_=localStorage,l0=!1)}catch{}const __=T_,o5=n=>l0||addEventListener("storage",n),i5=n=>l0||removeEventListener("storage",n),Du=Symbol("Equality"),N_=(n,t)=>{var e;return n===t||!!((e=n==null?void 0:n[Du])!=null&&e.call(n,t))||!1},l5=n=>typeof n=="object",a5=Object.assign,c5=Object.keys,u5=(n,t)=>{for(const e in n)t(n[e],e)},d5=(n,t)=>{const e=[];for(const r in n)e.push(t(n[r],r));return e},Ch=n=>c5(n).length,f5=n=>{for(const t in n)return!1;return!0},ld=(n,t)=>{for(const e in n)if(!t(n[e],e))return!1;return!0},a0=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),h5=(n,t)=>n===t||Ch(n)===Ch(t)&&ld(n,(e,r)=>(e!==void 0||a0(t,r))&&N_(t[r],e)),g5=Object.freeze,I_=n=>{for(const t in n){const e=n[t];(typeof e=="object"||typeof e=="function")&&I_(n[t])}return g5(n)},c0=(n,t,e=0)=>{try{for(;e<n.length;e++)n[e](...t)}finally{e<n.length&&c0(n,t,e+1)}},p5=n=>n,ja=(n,t)=>{if(n===t)return!0;if(n==null||t==null||n.constructor!==t.constructor&&(n.constructor||Object)!==(t.constructor||Object))return!1;if(n[Du]!=null)return n[Du](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)||!ja(n.get(e),t.get(e)))return!1;break}case void 0:case Object:if(Ch(n)!==Ch(t))return!1;for(const e in n)if(!a0(n,e)||!ja(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(!ja(n[e],t[e]))return!1;break;default:return!1}return!0},m5=(n,t)=>t.includes(n),Mi=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]",M_=typeof window<"u"&&typeof document<"u"&&!Mi;let Ls;const A5=()=>{if(Ls===void 0)if(Mi){Ls=br();const n=process.argv;let t=null;for(let e=0;e<n.length;e++){const r=n[e];r[0]==="-"?(t!==null&&Ls.set(t,""),t=r):t!==null&&(Ls.set(t,r),t=null)}t!==null&&Ls.set(t,"")}else typeof location=="object"?(Ls=br(),(location.search||"?").slice(1).split("&").forEach(n=>{if(n.length!==0){const[t,e]=n.split("=");Ls.set(`--${wS(t,"-")}`,e),Ls.set(`-${wS(t,"-")}`,e)}})):Ls=br();return Ls},fy=n=>A5().has(n),xh=n=>TS(Mi?process.env[n.toUpperCase().replaceAll("-","_")]:__.getItem(n)),L_=n=>fy("--"+n)||xh(n)!==null,y5=L_("production"),b5=Mi&&m5(process.env.FORCE_COLOR,["true","1","2"]),w5=b5||!fy("--no-colors")&&!L_("no-color")&&(!Mi||process.stdout.isTTY)&&(!Mi||fy("--color")||xh("COLORTERM")!==null||(xh("TERM")||"").includes("color")),D_=n=>new Uint8Array(n),C5=(n,t,e)=>new Uint8Array(n,t,e),x5=n=>new Uint8Array(n),v5=n=>{let t="";for(let e=0;e<n.byteLength;e++)t+=v_(n[e]);return btoa(t)},S5=n=>Buffer.from(n.buffer,n.byteOffset,n.byteLength).toString("base64"),k5=n=>{const t=atob(n),e=D_(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e},E5=n=>{const t=Buffer.from(n,"base64");return C5(t.buffer,t.byteOffset,t.byteLength)},T5=M_?v5:S5,_5=M_?k5:E5,N5=n=>{const t=D_(n.byteLength);return t.set(n),t};class I5{constructor(t,e){this.left=t,this.right=e}}const xo=(n,t)=>new I5(n,t),_S=n=>n.next()>=.5,Zm=(n,t,e)=>ks(n.next()*(e+1-t)+t),O_=(n,t,e)=>ks(n.next()*(e+1-t)+t),u0=(n,t,e)=>O_(n,t,e),M5=n=>v_(u0(n,97,122)),L5=(n,t=0,e=20)=>{const r=u0(n,t,e);let s="";for(let o=0;o<r;o++)s+=M5(n);return s},Gm=(n,t)=>t[u0(n,0,t.length-1)],D5=Symbol("0schema");class O5{constructor(){this._rerrs=[]}extend(t,e,r,s=null){this._rerrs.push({path:t,expected:e,has:r,message:s})}toString(){const t=[];for(let e=this._rerrs.length-1;e>0;e--){const r=this._rerrs[e];t.push(B3(" ",(this._rerrs.length-e)*2)+`${r.path!=null?`[${r.path}] `:""}${r.has} doesn't match ${r.expected}. ${r.message}`)}return t.join(`
|
|
14
|
+
`)}}const hy=(n,t)=>n===t?!0:n==null||t==null||n.constructor!==t.constructor?!1:n[Du]?N_(n,t):Xa(n)?$b(n,e=>e0(t,r=>hy(e,r))):l5(n)?ld(n,(e,r)=>hy(e,t[r])):!1;class $n{extends(t){let[e,r]=[this.shape,t.shape];return this.constructor._dilutes&&([r,e]=[e,r]),hy(e,r)}equals(t){return this.constructor===t.constructor&&ja(this.shape,t.shape)}[D5](){return!0}[Du](t){return this.equals(t)}validate(t){return this.check(t)}check(t,e){bs()}get nullable(){return pc(this,Tg)}get optional(){return new P_(this)}cast(t){return NS(t,this),t}expect(t){return NS(t,this),t}}j($n,"_dilutes",!1);class d0 extends $n{constructor(t,e){super(),this.shape=t,this._c=e}check(t,e=void 0){const r=(t==null?void 0:t.constructor)===this.shape&&(this._c==null||this._c(t));return!r&&(e==null||e.extend(null,this.shape.name,t==null?void 0:t.constructor.name,(t==null?void 0:t.constructor)!==this.shape?"Constructor match failed":"Check failed")),r}}const mn=(n,t=null)=>new d0(n,t);mn(d0);class f0 extends $n{constructor(t){super(),this.shape=t}check(t,e){const r=this.shape(t);return!r&&(e==null||e.extend(null,"custom prop",t==null?void 0:t.constructor.name,"failed to check custom prop")),r}}const On=n=>new f0(n);mn(f0);class vg extends $n{constructor(t){super(),this.shape=t}check(t,e){const r=this.shape.some(s=>s===t);return!r&&(e==null||e.extend(null,this.shape.join(" | "),t.toString())),r}}const Sg=(...n)=>new vg(n),R_=mn(vg),R5=RegExp.escape||(n=>n.replace(/[().|&,$^[\]]/g,t=>"\\"+t)),B_=n=>{if($a.check(n))return[R5(n)];if(R_.check(n))return n.shape.map(t=>t+"");if(Z_.check(n))return["[+-]?\\d+.?\\d*"];if(G_.check(n))return[".*"];if(Sh.check(n))return n.shape.map(B_).flat(1);Or()};class B5 extends $n{constructor(t){super(),this.shape=t,this._r=new RegExp("^"+t.map(B_).map(e=>`(${e.join("|")})`).join("")+"$")}check(t,e){const r=this._r.exec(t)!=null;return!r&&(e==null||e.extend(null,this._r.toString(),t.toString(),"String doesn't match string template.")),r}}mn(B5);const P5=Symbol("optional");class P_ extends $n{constructor(t){super(),this.shape=t}check(t,e){const r=t===void 0||this.shape.check(t);return!r&&(e==null||e.extend(null,"undefined (optional)","()")),r}get[P5](){return!0}}const j5=mn(P_);class F5 extends $n{check(t,e){return e==null||e.extend(null,"never",typeof t),!1}}mn(F5);const ng=class ng extends $n{constructor(t,e=!1){super(),this.shape=t,this._isPartial=e}get partial(){return new ng(this.shape,!0)}check(t,e){return t==null?(e==null||e.extend(null,"object","null"),!1):ld(this.shape,(r,s)=>{const o=this._isPartial&&!a0(t,s)||r.check(t[s],e);return!o&&(e==null||e.extend(s.toString(),r.toString(),typeof t[s],"Object property does not match")),o})}};j(ng,"_dilutes",!0);let vh=ng;const z5=n=>new vh(n),U5=mn(vh),K5=On(n=>n!=null&&(n.constructor===Object||n.constructor==null));class j_ extends $n{constructor(t,e){super(),this.shape={keys:t,values:e}}check(t,e){return t!=null&&ld(t,(r,s)=>{const o=this.shape.keys.check(s,e);return!o&&(e==null||e.extend(s+"","Record",typeof t,o?"Key doesn't match schema":"Value doesn't match value")),o&&this.shape.values.check(r,e)})}}const F_=(n,t)=>new j_(n,t),W5=mn(j_);class z_ extends $n{constructor(t){super(),this.shape=t}check(t,e){return t!=null&&ld(this.shape,(r,s)=>{const o=r.check(t[s],e);return!o&&(e==null||e.extend(s.toString(),"Tuple",typeof r)),o})}}const H5=(...n)=>new z_(n);mn(z_);class U_ extends $n{constructor(t){super(),this.shape=t.length===1?t[0]:new kg(t)}check(t,e){const r=Xa(t)&&$b(t,s=>this.shape.check(s));return!r&&(e==null||e.extend(null,"Array","")),r}}const K_=(...n)=>new U_(n),Y5=mn(U_),Z5=On(n=>Xa(n));class W_ extends $n{constructor(t,e){super(),this.shape=t,this._c=e}check(t,e){const r=t instanceof this.shape&&(this._c==null||this._c(t));return!r&&(e==null||e.extend(null,this.shape.name,t==null?void 0:t.constructor.name)),r}}const G5=(n,t=null)=>new W_(n,t);mn(W_);const J5=G5($n);class V5 extends $n{constructor(t){super(),this.len=t.length-1,this.args=H5(...t.slice(-1)),this.res=t[this.len]}check(t,e){const r=t.constructor===Function&&t.length<=this.len;return!r&&(e==null||e.extend(null,"function",typeof t)),r}}const Q5=mn(V5),X5=On(n=>typeof n=="function");class q5 extends $n{constructor(t){super(),this.shape=t}check(t,e){const r=$b(this.shape,s=>s.check(t,e));return!r&&(e==null||e.extend(null,"Intersectinon",typeof t)),r}}mn(q5,n=>n.shape.length>0);class kg extends $n{constructor(t){super(),this.shape=t}check(t,e){const r=e0(this.shape,s=>s.check(t,e));return e==null||e.extend(null,"Union",typeof t),r}}j(kg,"_dilutes",!0);const pc=(...n)=>n.findIndex(t=>Sh.check(t))>=0?pc(...n.map(t=>Ou(t)).map(t=>Sh.check(t)?t.shape:[t]).flat(1)):n.length===1?n[0]:new kg(n),Sh=mn(kg),H_=()=>!0,kh=On(H_),$5=mn(f0,n=>n.shape===H_),h0=On(n=>typeof n=="bigint"),ez=On(n=>n===h0),Y_=On(n=>typeof n=="symbol");On(n=>n===Y_);const Fa=On(n=>typeof n=="number"),Z_=On(n=>n===Fa),$a=On(n=>typeof n=="string"),G_=On(n=>n===$a),Eg=On(n=>typeof n=="boolean"),tz=On(n=>n===Eg),J_=Sg(void 0);mn(vg,n=>n.shape.length===1&&n.shape[0]===void 0);Sg(void 0);const Tg=Sg(null),nz=mn(vg,n=>n.shape.length===1&&n.shape[0]===null);mn(Uint8Array);mn(d0,n=>n.shape===Uint8Array);const rz=pc(Fa,$a,Tg,J_,h0,Eg,Y_);(()=>{const n=K_(kh),t=F_($a,kh),e=pc(Fa,$a,Tg,Eg,n,t);return n.shape=e,t.shape.values=e,e})();const Ou=n=>{if(J5.check(n))return n;if(K5.check(n)){const t={};for(const e in n)t[e]=Ou(n[e]);return z5(t)}else{if(Z5.check(n))return pc(...n.map(Ou));if(rz.check(n))return Sg(n);if(X5.check(n))return mn(n)}Or()},NS=y5?()=>{}:(n,t)=>{const e=new O5;if(!t.check(n,e))throw $s(`Expected value to be of type ${t.constructor.name}.
|
|
15
|
+
${e.toString()}`)};class sz{constructor(t){this.patterns=[],this.$state=t}if(t,e){return this.patterns.push({if:Ou(t),h:e}),this}else(t){return this.if(kh,t)}done(){return(t,e)=>{for(let r=0;r<this.patterns.length;r++){const s=this.patterns[r];if(s.if.check(t))return s.h(t,e)}throw $s("Unhandled pattern")}}}const oz=n=>new sz(n),V_=oz(kh).if(Z_,(n,t)=>Zm(t,bS,wh)).if(G_,(n,t)=>L5(t)).if(tz,(n,t)=>_S(t)).if(ez,(n,t)=>BigInt(Zm(t,bS,wh))).if(Sh,(n,t)=>Aa(t,Gm(t,n.shape))).if(U5,(n,t)=>{const e={};for(const r in n.shape){let s=n.shape[r];if(j5.check(s)){if(_S(t))continue;s=s.shape}e[r]=V_(s,t)}return e}).if(Y5,(n,t)=>{const e=[],r=O_(t,0,42);for(let s=0;s<r;s++)e.push(Aa(t,n.shape));return e}).if(R_,(n,t)=>Gm(t,n.shape)).if(nz,(n,t)=>null).if(Q5,(n,t)=>{const e=Aa(t,n.res);return()=>e}).if($5,(n,t)=>Aa(t,Gm(t,[Fa,$a,Tg,J_,h0,Eg,K_(Fa),F_(pc("a","b","c"),Fa)]))).if(W5,(n,t)=>{const e={},r=Zm(t,0,3);for(let s=0;s<r;s++){const o=Aa(t,n.shape.keys),i=Aa(t,n.shape.values);e[o]=i}return e}).done(),Aa=(n,t)=>V_(Ou(t),n),_g=typeof document<"u"?document:{};On(n=>n.nodeType===uz);typeof DOMParser<"u"&&new DOMParser;On(n=>n.nodeType===lz);On(n=>n.nodeType===az);const iz=n=>x3(n,(t,e)=>`${e}:${t};`).join(""),lz=_g.ELEMENT_NODE,az=_g.TEXT_NODE,cz=_g.DOCUMENT_NODE,uz=_g.DOCUMENT_FRAGMENT_NODE;On(n=>n.nodeType===cz);const Xo=Symbol,Q_=Xo(),X_=Xo(),dz=Xo(),fz=Xo(),hz=Xo(),q_=Xo(),gz=Xo(),g0=Xo(),pz=Xo(),mz=n=>{var s;n.length===1&&((s=n[0])==null?void 0:s.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},Az={[Q_]:xo("font-weight","bold"),[X_]:xo("font-weight","normal"),[dz]:xo("color","blue"),[hz]:xo("color","green"),[fz]:xo("color","grey"),[q_]:xo("color","red"),[gz]:xo("color","purple"),[g0]:xo("color","orange"),[pz]:xo("color","black")},yz=n=>{var i;n.length===1&&((i=n[0])==null?void 0:i.constructor)===Function&&(n=n[0]());const t=[],e=[],r=br();let s=[],o=0;for(;o<n.length;o++){const l=n[o],c=Az[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=iz(r);o>0||u.length>0?(t.push("%c"+l),e.push(u)):t.push(l)}else break}}for(o>0&&(s=e,s.unshift(t.join("")));o<n.length;o++){const l=n[o];l instanceof Symbol||s.push(l)}return s},$_=w5?yz:mz,bz=(...n)=>{console.log(...$_(n)),tN.forEach(t=>t.print(n))},eN=(...n)=>{console.warn(...$_(n)),n.unshift(g0),tN.forEach(t=>t.print(n))},tN=Ni(),nN=n=>({[Symbol.iterator](){return this},next:n}),wz=(n,t)=>nN(()=>{let e;do e=n.next();while(!e.done&&!t(e.value));return e}),Jm=(n,t)=>nN(()=>{const{done:e,value:r}=n.next();return{done:e,value:e?void 0:t(r)}});class p0{constructor(t,e){this.clock=t,this.len=e}}class mc{constructor(){this.clients=new Map}}const ec=(n,t,e)=>t.clients.forEach((r,s)=>{const o=n.doc.store.clients.get(s);if(o!=null){const i=o[o.length-1],l=i.id.clock+i.length;for(let c=0,u=r[c];c<r.length&&u.clock<l;u=r[++c])pN(n,o,u.clock,u.len,e)}}),Cz=(n,t)=>{let e=0,r=n.length-1;for(;e<=r;){const s=ks((e+r)/2),o=n[s],i=o.clock;if(i<=t){if(t<i+o.len)return s;e=s+1}else r=s-1}return null},ad=(n,t)=>{const e=n.clients.get(t.client);return e!==void 0&&Cz(e,t.clock)!==null},m0=n=>{n.clients.forEach(t=>{t.sort((s,o)=>s.clock-o.clock);let e,r;for(e=1,r=1;e<t.length;e++){const s=t[r-1],o=t[e];s.clock+s.len>=o.clock?s.len=Vl(s.len,o.clock+o.len-s.clock):(r<e&&(t[r]=o),r++)}t.length=r})},gy=n=>{const t=new mc;for(let e=0;e<n.length;e++)n[e].clients.forEach((r,s)=>{if(!t.clients.has(s)){const o=r.slice();for(let i=e+1;i<n.length;i++)S3(o,n[i].clients.get(s)||[]);t.clients.set(s,o)}});return m0(t),t},Ru=(n,t,e,r)=>{oo(n.clients,t,()=>[]).push(new p0(e,r))},xz=()=>new mc,vz=n=>{const t=xz();return n.clients.forEach((e,r)=>{const s=[];for(let o=0;o<e.length;o++){const i=e[o];if(i.deleted){const l=i.id.clock;let c=i.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;s.push(new p0(l,c))}}s.length>0&&t.clients.set(r,s)}),t},Ac=(n,t)=>{je(n.restEncoder,t.clients.size),zo(t.clients.entries()).sort((e,r)=>r[0]-e[0]).forEach(([e,r])=>{n.resetDsCurVal(),je(n.restEncoder,e);const s=r.length;je(n.restEncoder,s);for(let o=0;o<s;o++){const i=r[o];n.writeDsClock(i.clock),n.writeDsLen(i.len)}})},A0=n=>{const t=new mc,e=Je(n.restDecoder);for(let r=0;r<e;r++){n.resetDsCurVal();const s=Je(n.restDecoder),o=Je(n.restDecoder);if(o>0){const i=oo(t.clients,s,()=>[]);for(let l=0;l<o;l++)i.push(new p0(n.readDsClock(),n.readDsLen()))}}return t},IS=(n,t,e)=>{const r=new mc,s=Je(n.restDecoder);for(let o=0;o<s;o++){n.resetDsCurVal();const i=Je(n.restDecoder),l=Je(n.restDecoder),c=e.clients.get(i)||[],u=ln(e,i);for(let d=0;d<l;d++){const h=n.readDsClock(),g=h+n.readDsLen();if(h<u){u<g&&Ru(r,i,u,g-u);let p=to(c,h),m=c[p];for(!m.deleted&&m.id.clock<h&&(c.splice(p+1,0,Lh(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,Lh(t,m,g-m.id.clock)),m.delete(t))}else Ru(r,i,h,g-h)}}if(r.clients.size>0){const o=new _l;return je(o.restEncoder,0),Ac(o,r),o.toUint8Array()}return null},rN=E_;class eo extends w_{constructor({guid:t=r5(),collectionid:e=null,gc:r=!0,gcFilter:s=()=>!0,meta:o=null,autoLoad:i=!1,shouldLoad:l=!0}={}){super(),this.gc=r,this.gcFilter=s,this.clientID=rN(),this.guid=t,this.collectionid=e,this.share=new Map,this.store=new hN,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=l,this.autoLoad=i,this.meta=o,this.isLoaded=!1,this.isSynced=!1,this.isDestroyed=!1,this.whenLoaded=ES(u=>{this.on("load",()=>{this.isLoaded=!0,u(this)})});const c=()=>ES(u=>{const d=h=>{(h===void 0||h===!0)&&(this.off("sync",d),u())};this.on("sync",d)});this.on("sync",u=>{u===!1&&this.isSynced&&(this.whenSynced=c()),this.isSynced=u===void 0||u===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=c()}load(){const t=this._item;t!==null&&!this.shouldLoad&&Bt(t.parent.doc,e=>{e.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(zo(this.subdocs).map(t=>t.guid))}transact(t,e=null){return Bt(this,t,e)}get(t,e=Ln){const r=oo(this.share,t,()=>{const o=new e;return o._integrate(this,null),o}),s=r.constructor;if(e!==Ln&&s!==e)if(s===Ln){const o=new e;o._map=r._map,r._map.forEach(i=>{for(;i!==null;i=i.left)i.parent=o}),o._start=r._start;for(let i=o._start;i!==null;i=i.right)i.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,Ka)}getText(t=""){return this.get(t,nc)}getMap(t=""){return this.get(t,qn)}getXmlElement(t=""){return this.get(t,as)}getXmlFragment(t=""){return this.get(t,Nl)}toJSON(){const t={};return this.share.forEach((e,r)=>{t[r]=e.toJSON()}),t}destroy(){this.isDestroyed=!0,zo(this.subdocs).forEach(e=>e.destroy());const t=this._item;if(t!==null){this._item=null;const e=t.content;e.doc=new eo({guid:this.guid,...e.opts,shouldLoad:!1}),e.doc._item=t,Bt(t.parent.doc,r=>{const s=e.doc;t.deleted||r.subdocsAdded.add(s),r.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}}class sN{constructor(t){this.restDecoder=t}resetDsCurVal(){}readDsClock(){return Je(this.restDecoder)}readDsLen(){return Je(this.restDecoder)}}class oN extends sN{readLeftID(){return nt(Je(this.restDecoder),Je(this.restDecoder))}readRightID(){return nt(Je(this.restDecoder),Je(this.restDecoder))}readClient(){return Je(this.restDecoder)}readInfo(){return qa(this.restDecoder)}readString(){return bi(this.restDecoder)}readParentInfo(){return Je(this.restDecoder)===1}readTypeRef(){return Je(this.restDecoder)}readLen(){return Je(this.restDecoder)}readAny(){return Lu(this.restDecoder)}readBuf(){return N5(Yn(this.restDecoder))}readJSON(){return JSON.parse(bi(this.restDecoder))}readKey(){return bi(this.restDecoder)}}class Sz{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 tc extends Sz{constructor(t){super(t),this.keys=[],Je(t),this.keyClockDecoder=new Ym(Yn(t)),this.clientDecoder=new Qf(Yn(t)),this.leftClockDecoder=new Ym(Yn(t)),this.rightClockDecoder=new Ym(Yn(t)),this.infoDecoder=new kS(Yn(t),qa),this.stringDecoder=new e5(Yn(t)),this.parentInfoDecoder=new kS(Yn(t),qa),this.typeRefDecoder=new Qf(Yn(t)),this.lenDecoder=new Qf(Yn(t))}readLeftID(){return new za(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new za(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 Lu(this.restDecoder)}readBuf(){return Yn(this.restDecoder)}readJSON(){return Lu(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 iN{constructor(){this.restEncoder=Zn()}toUint8Array(){return Xt(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){je(this.restEncoder,t)}writeDsLen(t){je(this.restEncoder,t)}}class cd extends iN{writeLeftID(t){je(this.restEncoder,t.client),je(this.restEncoder,t.clock)}writeRightID(t){je(this.restEncoder,t.client),je(this.restEncoder,t.clock)}writeClient(t){je(this.restEncoder,t)}writeInfo(t){uy(this.restEncoder,t)}writeString(t){gl(this.restEncoder,t)}writeParentInfo(t){je(this.restEncoder,t?1:0)}writeTypeRef(t){je(this.restEncoder,t)}writeLen(t){je(this.restEncoder,t)}writeAny(t){Mu(this.restEncoder,t)}writeBuf(t){sn(this.restEncoder,t)}writeJSON(t){gl(this.restEncoder,JSON.stringify(t))}writeKey(t){gl(this.restEncoder,t)}}class lN{constructor(){this.restEncoder=Zn(),this.dsCurrVal=0}toUint8Array(){return Xt(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){const e=t-this.dsCurrVal;this.dsCurrVal=t,je(this.restEncoder,e)}writeDsLen(t){t===0&&Or(),je(this.restEncoder,t-1),this.dsCurrVal+=t}}class _l extends lN{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new Hm,this.clientEncoder=new Vf,this.leftClockEncoder=new Hm,this.rightClockEncoder=new Hm,this.infoEncoder=new xS(uy),this.stringEncoder=new Y3,this.parentInfoEncoder=new xS(uy),this.typeRefEncoder=new Vf,this.lenEncoder=new Vf}toUint8Array(){const t=Zn();return je(t,0),sn(t,this.keyClockEncoder.toUint8Array()),sn(t,this.clientEncoder.toUint8Array()),sn(t,this.leftClockEncoder.toUint8Array()),sn(t,this.rightClockEncoder.toUint8Array()),sn(t,Xt(this.infoEncoder)),sn(t,this.stringEncoder.toUint8Array()),sn(t,Xt(this.parentInfoEncoder)),sn(t,this.typeRefEncoder.toUint8Array()),sn(t,this.lenEncoder.toUint8Array()),Cg(t,Xt(this.restEncoder)),Xt(t)}writeLeftID(t){this.clientEncoder.write(t.client),this.leftClockEncoder.write(t.clock)}writeRightID(t){this.clientEncoder.write(t.client),this.rightClockEncoder.write(t.clock)}writeClient(t){this.clientEncoder.write(t)}writeInfo(t){this.infoEncoder.write(t)}writeString(t){this.stringEncoder.write(t)}writeParentInfo(t){this.parentInfoEncoder.write(t?1:0)}writeTypeRef(t){this.typeRefEncoder.write(t)}writeLen(t){this.lenEncoder.write(t)}writeAny(t){Mu(this.restEncoder,t)}writeBuf(t){sn(this.restEncoder,t)}writeJSON(t){Mu(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 kz=(n,t,e,r)=>{r=Vl(r,t[0].id.clock);const s=to(t,r);je(n.restEncoder,t.length-s),n.writeClient(e),je(n.restEncoder,r);const o=t[s];o.write(n,r-o.id.clock);for(let i=s+1;i<t.length;i++)t[i].write(n,0)},y0=(n,t,e)=>{const r=new Map;e.forEach((s,o)=>{ln(t,o)>s&&r.set(o,s)}),Ng(t).forEach((s,o)=>{e.has(o)||r.set(o,0)}),je(n.restEncoder,r.size),zo(r.entries()).sort((s,o)=>o[0]-s[0]).forEach(([s,o])=>{kz(n,t.clients.get(s),s,o)})},Ez=(n,t)=>{const e=br(),r=Je(n.restDecoder);for(let s=0;s<r;s++){const o=Je(n.restDecoder),i=new Array(o),l=n.readClient();let c=Je(n.restDecoder);e.set(l,{i:0,refs:i});for(let u=0;u<o;u++){const d=n.readInfo();switch(wg&d){case 0:{const h=n.readLen();i[u]=new Gr(nt(l,c),h),c+=h;break}case 10:{const h=Je(n.restDecoder);i[u]=new Jr(nt(l,c),h),c+=h;break}default:{const h=(d&(Oo|Ir))===0,g=new Pt(nt(l,c),null,(d&Ir)===Ir?n.readLeftID():null,null,(d&Oo)===Oo?n.readRightID():null,h?n.readParentInfo()?t.get(n.readString()):n.readLeftID():null,h&&(d&Nu)===Nu?n.readString():null,jN(n,d));i[u]=g,c+=g.length}}}}return e},Tz=(n,t,e)=>{const r=[];let s=zo(e.keys()).sort((p,m)=>p-m);if(s.length===0)return null;const o=()=>{if(s.length===0)return null;let p=e.get(s[s.length-1]);for(;p.refs.length===p.i;)if(s.pop(),s.length>0)p=e.get(s[s.length-1]);else return null;return p};let i=o();if(i===null)return null;const l=new hN,c=new Map,u=(p,m)=>{const y=c.get(p);(y==null||y>m)&&c.set(p,m)};let d=i.refs[i.i++];const h=new Map,g=()=>{for(const p of r){const m=p.id.client,y=e.get(m);y?(y.i--,l.clients.set(m,y.refs.slice(y.i)),e.delete(m),y.i=0,y.refs=[]):l.clients.set(m,[p]),s=s.filter(w=>w!==m)}r.length=0};for(;;){if(d.constructor!==Jr){const m=oo(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 y=d.getMissing(n,t);if(y!==null){r.push(d);const w=e.get(y)||{refs:[],i:0};if(w.refs.length===w.i)u(y,ln(t,y)),g();else{d=w.refs[w.i++];continue}}else(m===0||m<d.length)&&(d.integrate(n,m),h.set(d.id.client,d.id.clock+d.length))}}if(r.length>0)d=r.pop();else if(i!==null&&i.i<i.refs.length)d=i.refs[i.i++];else{if(i=o(),i===null)break;d=i.refs[i.i++]}}if(l.clients.size>0){const p=new _l;return y0(p,l,new Map),je(p.restEncoder,0),{missing:c,update:p.toUint8Array()}}return null},_z=(n,t)=>y0(n,t.doc.store,t.beforeState),Nz=(n,t,e,r=new tc(n))=>Bt(t,s=>{s.local=!1;let o=!1;const i=s.doc,l=i.store,c=Ez(r,i),u=Tz(s,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=Th([d.update,u.update])}}else l.pendingStructs=u;const h=IS(r,s,l);if(l.pendingDs){const g=new tc(zi(l.pendingDs));Je(g.restDecoder);const p=IS(g,s,l);h&&p?l.pendingDs=Th([h,p]):l.pendingDs=h||p}else l.pendingDs=h;if(o){const g=l.pendingStructs.update;l.pendingStructs=null,aN(s.doc,g)}},e,!1),aN=(n,t,e,r=tc)=>{const s=zi(t);Nz(s,n,e,new r(s))},Iz=(n,t,e)=>aN(n,t,e,oN),Mz=(n,t,e=new Map)=>{y0(n,t.store,e),Ac(n,vz(t.store))},Lz=(n,t=new Uint8Array([0]),e=new _l)=>{const r=cN(t);Mz(e,n,r);const s=[e.toUint8Array()];if(n.store.pendingDs&&s.push(n.store.pendingDs),n.store.pendingStructs&&s.push(e8(n.store.pendingStructs.update,t)),s.length>1){if(e.constructor===cd)return qz(s.map((o,i)=>i===0?o:n8(o)));if(e.constructor===_l)return Th(s)}return s[0]},Dz=(n,t)=>Lz(n,t,new cd),Oz=n=>{const t=new Map,e=Je(n.restDecoder);for(let r=0;r<e;r++){const s=Je(n.restDecoder),o=Je(n.restDecoder);t.set(s,o)}return t},cN=n=>Oz(new sN(zi(n))),uN=(n,t)=>(je(n.restEncoder,t.size),zo(t.entries()).sort((e,r)=>r[0]-e[0]).forEach(([e,r])=>{je(n.restEncoder,e),je(n.restEncoder,r)}),n),Rz=(n,t)=>uN(n,Ng(t.store)),Bz=(n,t=new lN)=>(n instanceof Map?uN(t,n):Rz(t,n),t.toUint8Array()),Pz=n=>Bz(n,new iN);class jz{constructor(){this.l=[]}}const MS=()=>new jz,LS=(n,t)=>n.l.push(t),DS=(n,t)=>{const e=n.l,r=e.length;n.l=e.filter(s=>t!==s),r===n.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},dN=(n,t,e)=>c0(n.l,[t,e]);class za{constructor(t,e){this.client=t,this.clock=e}}const La=(n,t)=>n===t||n!==null&&t!==null&&n.client===t.client&&n.clock===t.clock,nt=(n,t)=>new za(n,t),fN=n=>{for(const[t,e]of n.doc.share.entries())if(e===n)return t;throw Or()},Eh=(n,t)=>{for(;t!==null;){if(t.parent===n)return!0;t=t.parent._item}return!1};class Fz{constructor(t,e,r,s=0){this.type=t,this.tname=e,this.item=r,this.assoc=s}}class zz{constructor(t,e,r=0){this.type=t,this.index=e,this.assoc=r}}const Uz=(n,t,e=0)=>new zz(n,t,e),bf=(n,t,e)=>{let r=null,s=null;return n._item===null?s=fN(n):r=nt(n._item.id.client,n._item.id.clock),new Fz(r,s,t,e)},py=(n,t,e=0)=>{let r=n._start;if(e<0){if(t===0)return bf(n,null,e);t--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>t)return bf(n,nt(r.id.client,r.id.clock+t),e);t-=r.length}if(r.right===null&&e<0)return bf(n,r.lastId,e);r=r.right}return bf(n,null,e)},Kz=(n,t)=>{const e=Ua(n,t),r=t.clock-e.id.clock;return{item:e,diff:r}},Wz=(n,t,e=!0)=>{const r=t.store,s=n.item,o=n.type,i=n.tname,l=n.assoc;let c=null,u=0;if(s!==null){if(ln(r,s.client)<=s.clock)return null;const d=e?wy(r,s):Kz(r,s),h=d.item;if(!(h instanceof Pt))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(i!==null)c=t.get(i);else if(o!==null){if(ln(r,o.client)<=o.clock)return null;const{item:d}=e?wy(r,o):{item:Ua(r,o)};if(d instanceof Pt&&d.content instanceof io)c=d.content.type;else return null}else throw Or();l>=0?u=c._length:u=0}return Uz(c,u,n.assoc)},Hz=(n,t)=>n===t||n!==null&&t!==null&&n.tname===t.tname&&La(n.item,t.item)&&La(n.type,t.type)&&n.assoc===t.assoc,Ea=(n,t)=>t===void 0?!n.deleted:t.sv.has(n.id.client)&&(t.sv.get(n.id.client)||0)>n.id.clock&&!ad(t.ds,n.id),my=(n,t)=>{const e=oo(n.meta,my,Ni),r=n.doc.store;e.has(t)||(t.sv.forEach((s,o)=>{s<ln(r,o)&&Ar(n,nt(o,s))}),ec(n,t.ds,s=>{}),e.add(t))};class hN{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const Ng=n=>{const t=new Map;return n.clients.forEach((e,r)=>{const s=e[e.length-1];t.set(r,s.id.clock+s.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},gN=(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 Or()}e.push(t)},to=(n,t)=>{let e=0,r=n.length-1,s=n[r],o=s.id.clock;if(o===t)return r;let i=ks(t/(o+s.length-1)*r);for(;e<=r;){if(s=n[i],o=s.id.clock,o<=t){if(t<o+s.length)return i;e=i+1}else r=i-1;i=ks((e+r)/2)}throw Or()},Yz=(n,t)=>{const e=n.clients.get(t.client);return e[to(e,t.clock)]},Ua=Yz,Ay=(n,t,e)=>{const r=to(t,e),s=t[r];return s.id.clock<e&&s instanceof Pt?(t.splice(r+1,0,Lh(n,s,e-s.id.clock)),r+1):r},Ar=(n,t)=>{const e=n.doc.store.clients.get(t.client);return e[Ay(n,e,t.clock)]},OS=(n,t,e)=>{const r=t.clients.get(e.client),s=to(r,e.clock),o=r[s];return e.clock!==o.id.clock+o.length-1&&o.constructor!==Gr&&r.splice(s+1,0,Lh(n,o,e.clock-o.id.clock+1)),o},Zz=(n,t,e)=>{const r=n.clients.get(t.id.client);r[to(r,t.id.clock)]=e},pN=(n,t,e,r,s)=>{if(r===0)return;const o=e+r;let i=Ay(n,t,e),l;do l=t[i++],o<l.id.clock+l.length&&Ay(n,t,o),s(l);while(i<t.length&&t[i].id.clock<o)};class Gz{constructor(t,e,r){this.doc=t,this.deleteSet=new mc,this.beforeState=Ng(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 RS=(n,t)=>t.deleteSet.clients.size===0&&!v3(t.afterState,(e,r)=>t.beforeState.get(r)!==e)?!1:(m0(t.deleteSet),_z(n,t),Ac(n,t.deleteSet),!0),BS=(n,t,e)=>{const r=t._item;(r===null||r.id.clock<(n.beforeState.get(r.id.client)||0)&&!r.deleted)&&oo(n.changed,t,Ni).add(e)},Xf=(n,t)=>{let e=n[t],r=n[t-1],s=t;for(;s>0;e=r,r=n[--s-1]){if(r.deleted===e.deleted&&r.constructor===e.constructor&&r.mergeWith(e)){e instanceof Pt&&e.parentSub!==null&&e.parent._map.get(e.parentSub)===e&&e.parent._map.set(e.parentSub,r);continue}break}const o=t-s;return o&&n.splice(t+1-o,o),o},Jz=(n,t,e)=>{for(const[r,s]of n.clients.entries()){const o=t.clients.get(r);for(let i=s.length-1;i>=0;i--){const l=s[i],c=l.clock+l.len;for(let u=to(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 Pt&&h.deleted&&!h.keep&&e(h)&&h.gc(t,!1)}}}},Vz=(n,t)=>{n.clients.forEach((e,r)=>{const s=t.clients.get(r);for(let o=e.length-1;o>=0;o--){const i=e[o],l=t0(s.length-1,1+to(s,i.clock+i.len-1));for(let c=l,u=s[c];c>0&&u.id.clock>=i.clock;u=s[c])c-=1+Xf(s,c)}})},mN=(n,t)=>{if(t<n.length){const e=n[t],r=e.doc,s=r.store,o=e.deleteSet,i=e._mergeStructs;try{m0(o),e.afterState=Ng(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),dN(u._dEH,c,e))})}),l.push(()=>r.emit("afterTransaction",[e,r])),c0(l,[]),e._needFormattingCleanup&&p8(e)}finally{r.gc&&Jz(o,s,r.gcFilter),Vz(o,s),e.afterState.forEach((d,h)=>{const g=e.beforeState.get(h)||0;if(g!==d){const p=s.clients.get(h),m=Vl(to(p,g),1);for(let y=p.length-1;y>=m;)y-=1+Xf(p,y)}});for(let d=i.length-1;d>=0;d--){const{client:h,clock:g}=i[d].id,p=s.clients.get(h),m=to(p,g);m+1<p.length&&Xf(p,m+1)>1||m>0&&Xf(p,m)}if(!e.local&&e.afterState.get(r.clientID)!==e.beforeState.get(r.clientID)&&(bz(g0,Q_,"[yjs] ",X_,q_,"Changed the client-id because another client seems to be using it."),r.clientID=rN()),r.emit("afterTransactionCleanup",[e,r]),r._observers.has("update")){const d=new cd;RS(d,e)&&r.emit("update",[d.toUint8Array(),e.origin,r,e])}if(r._observers.has("updateV2")){const d=new _l;RS(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])):mN(n,t+1)}}},Bt=(n,t,e=null,r=!0)=>{const s=n._transactionCleanups;let o=!1,i=null;n._transaction===null&&(o=!0,n._transaction=new Gz(n,e,r),s.push(n._transaction),s.length===1&&n.emit("beforeAllTransactions",[n]),n.emit("beforeTransaction",[n._transaction,n]));try{i=t(n._transaction)}finally{if(o){const l=n._transaction===s[0];n._transaction=null,l&&mN(s,0)}}return i};class Qz{constructor(t,e){this.insertions=e,this.deletions=t,this.meta=new Map}}const PS=(n,t,e)=>{ec(n,e.deletions,r=>{r instanceof Pt&&t.scope.some(s=>s===n.doc||Eh(s,r))&&E0(r,!1)})},jS=(n,t,e)=>{let r=null;const s=n.doc,o=n.scope;Bt(s,l=>{for(;t.length>0&&n.currStackItem===null;){const c=s.store,u=t.pop(),d=new Set,h=[];let g=!1;ec(l,u.insertions,p=>{if(p instanceof Pt){if(p.redone!==null){let{item:m,diff:y}=wy(c,p.id);y>0&&(m=Ar(l,nt(m.id.client,m.id.clock+y))),p=m}!p.deleted&&o.some(m=>m===l.doc||Eh(m,p))&&h.push(p)}}),ec(l,u.deletions,p=>{p instanceof Pt&&o.some(m=>m===l.doc||Eh(m,p))&&!ad(u.insertions,p.id)&&d.add(p)}),d.forEach(p=>{g=PN(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 i=n.currStackItem;if(i!=null){const l=r.changedParentTypes;n.emit("stack-item-popped",[{stackItem:i,type:e,changedParentTypes:l,origin:n},n]),n.currStackItem=null}return i};class AN extends w_{constructor(t,{captureTimeout:e=500,captureTransaction:r=c=>!0,deleteFilter:s=()=>!0,trackedOrigins:o=new Set([null]),ignoreRemoteMapChanges:i=!1,doc:l=Xa(t)?t[0].doc:t instanceof eo?t:t.doc}={}){super(),this.scope=[],this.doc=l,this.addToScope(t),this.deleteFilter=s,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=i,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 mc;c.afterState.forEach((w,x)=>{const C=c.beforeState.get(x)||0,v=w-C;v>0&&Ru(g,x,C,v)});const p=Ii();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=gy([w.deletions,c.deleteSet]),w.insertions=gy([w.insertions,g])}else h.push(new Qz(c.deleteSet,g)),m=!0;!u&&!d&&(this.lastChange=p),ec(c,c.deleteSet,w=>{w instanceof Pt&&this.scope.some(x=>x===c.doc||Eh(x,w))&&E0(w,!0)});const y=[{stackItem:h[h.length-1],origin:c.origin,type:u?"redo":"undo",changedParentTypes:c.changedParentTypes},this];m?this.emit("stack-item-added",y):this.emit("stack-item-updated",y)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(t){const e=new Set(this.scope);t=Xa(t)?t:[t],t.forEach(r=>{e.has(r)||(e.add(r),(r instanceof Ln?r.doc!==this.doc:r!==this.doc)&&eN("[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(s=>PS(r,this,s)),this.undoStack=[]),e&&(this.redoStack.forEach(s=>PS(r,this,s)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:t,redoStackCleared:e}])})}stopCapturing(){this.lastChange=0}undo(){this.undoing=!0;let t;try{t=jS(this,this.undoStack,"undo")}finally{this.undoing=!1}return t}redo(){this.redoing=!0;let t;try{t=jS(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*Xz(n){const t=Je(n.restDecoder);for(let e=0;e<t;e++){const r=Je(n.restDecoder),s=n.readClient();let o=Je(n.restDecoder);for(let i=0;i<r;i++){const l=n.readInfo();if(l===10){const c=Je(n.restDecoder);yield new Jr(nt(s,o),c),o+=c}else if((wg&l)!==0){const c=(l&(Oo|Ir))===0,u=new Pt(nt(s,o),null,(l&Ir)===Ir?n.readLeftID():null,null,(l&Oo)===Oo?n.readRightID():null,c?n.readParentInfo()?n.readString():n.readLeftID():null,c&&(l&Nu)===Nu?n.readString():null,jN(n,l));yield u,o+=u.length}else{const c=n.readLen();yield new Gr(nt(s,o),c),o+=c}}}}class b0{constructor(t,e){this.gen=Xz(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===Jr);return this.curr}}class w0{constructor(t){this.currClient=0,this.startClock=0,this.written=0,this.encoder=t,this.clientStructs=[]}}const qz=n=>Th(n,oN,cd),$z=(n,t)=>{if(n.constructor===Gr){const{client:e,clock:r}=n.id;return new Gr(nt(e,r+t),n.length-t)}else if(n.constructor===Jr){const{client:e,clock:r}=n.id;return new Jr(nt(e,r+t),n.length-t)}else{const e=n,{client:r,clock:s}=e.id;return new Pt(nt(r,s+t),null,nt(r,s+t-1),null,e.rightOrigin,e.parent,e.parentSub,e.content.splice(t))}},Th=(n,t=tc,e=_l)=>{if(n.length===1)return n[0];const r=n.map(d=>new t(zi(d)));let s=r.map(d=>new b0(d,!0)),o=null;const i=new e,l=new w0(i);for(;s=s.filter(g=>g.curr!==null),s.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===Jr?1:-1:m}else return p.curr.id.client-g.curr.id.client}),s.length!==0;){const d=s[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)ui(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===Jr)o.struct.length=g.id.clock+g.length-o.struct.id.clock;else{ui(l,o.struct,o.offset);const m=g.id.clock-o.struct.id.clock-o.struct.length;o={struct:new Jr(nt(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===Jr?o.struct.length-=m:g=$z(g,m)),o.struct.mergeWith(g)||(ui(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!==Jr;g=d.next())ui(l,o.struct,o.offset),o={struct:g,offset:0}}o!==null&&(ui(l,o.struct,o.offset),o=null),C0(l);const c=r.map(d=>A0(d)),u=gy(c);return Ac(i,u),i.toUint8Array()},e8=(n,t,e=tc,r=_l)=>{const s=cN(t),o=new r,i=new w0(o),l=new e(zi(n)),c=new b0(l,!1);for(;c.curr;){const d=c.curr,h=d.id.client,g=s.get(h)||0;if(c.curr.constructor===Jr){c.next();continue}if(d.id.clock+d.length>g)for(ui(i,d,Vl(g-d.id.clock,0)),c.next();c.curr&&c.curr.id.client===h;)ui(i,c.curr,0),c.next();else for(;c.curr&&c.curr.id.client===h&&c.curr.id.clock+c.curr.length<=g;)c.next()}C0(i);const u=A0(l);return Ac(o,u),o.toUint8Array()},yN=n=>{n.written>0&&(n.clientStructs.push({written:n.written,restEncoder:Xt(n.encoder.restEncoder)}),n.encoder.restEncoder=Zn(),n.written=0)},ui=(n,t,e)=>{n.written>0&&n.currClient!==t.id.client&&yN(n),n.written===0&&(n.currClient=t.id.client,n.encoder.writeClient(t.id.client),je(n.encoder.restEncoder,t.id.clock+e)),t.write(n.encoder,e),n.written++},C0=n=>{yN(n);const t=n.encoder.restEncoder;je(t,n.clientStructs.length);for(let e=0;e<n.clientStructs.length;e++){const r=n.clientStructs[e];je(t,r.written),Cg(t,r.restEncoder)}},t8=(n,t,e,r)=>{const s=new e(zi(n)),o=new b0(s,!1),i=new r,l=new w0(i);for(let u=o.curr;u!==null;u=o.next())ui(l,t(u),0);C0(l);const c=A0(s);return Ac(i,c),i.toUint8Array()},n8=n=>t8(n,p5,tc,cd),FS="You must not compute changes after the event-handler fired.";class Ig{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=r8(this.currentTarget,this.target))}deletes(t){return ad(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw $s(FS);const t=new Map,e=this.target;this.transaction.changed.get(e).forEach(s=>{if(s!==null){const o=e._map.get(s);let i,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))i="delete",l=Um(c.content.getContent());else return;else c!==null&&this.deletes(c)?(i="update",l=Um(c.content.getContent())):(i="add",l=void 0)}else if(this.deletes(o))i="delete",l=Um(o.content.getContent());else return;t.set(s,{action:i,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 $s(FS);const e=this.target,r=Ni(),s=Ni(),o=[];if(t={added:r,deleted:s,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,s.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 r8=(n,t)=>{const e=[];for(;t._item!==null&&t!==n;){if(t._item.parentSub!==null)e.unshift(t._item.parentSub);else{let r=0,s=t._item.parent._start;for(;s!==t._item&&s!==null;)!s.deleted&&s.countable&&(r+=s.length),s=s.right;e.unshift(r)}t=t._item.parent}return e},Qn=()=>{eN("Invalid access: Add Yjs type to a document before reading data.")},bN=80;let x0=0;class s8{constructor(t,e){t.marker=!0,this.p=t,this.index=e,this.timestamp=x0++}}const o8=n=>{n.timestamp=x0++},wN=(n,t,e)=>{n.p.marker=!1,n.p=t,t.marker=!0,n.index=e,n.timestamp=x0++},i8=(n,t,e)=>{if(n.length>=bN){const r=n.reduce((s,o)=>s.timestamp<o.timestamp?s:o);return wN(r,t,e),r}else{const r=new s8(t,e);return n.push(r),r}},Mg=(n,t)=>{if(n._start===null||t===0||n._searchMarker===null)return null;const e=n._searchMarker.length===0?null:n._searchMarker.reduce((o,i)=>Jf(t-o.index)<Jf(t-i.index)?o:i);let r=n._start,s=0;for(e!==null&&(r=e.p,s=e.index,o8(e));r.right!==null&&s<t;){if(!r.deleted&&r.countable){if(t<s+r.length)break;s+=r.length}r=r.right}for(;r.left!==null&&s>t;)r=r.left,!r.deleted&&r.countable&&(s-=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&&(s-=r.length);return e!==null&&Jf(e.index-s)<r.parent.length/bN?(wN(e,r,s),e):i8(n._searchMarker,r,s)},Bu=(n,t,e)=>{for(let r=n.length-1;r>=0;r--){const s=n[r];if(e>0){let o=s.p;for(o.marker=!1;o&&(o.deleted||!o.countable);)o=o.left,o&&!o.deleted&&o.countable&&(s.index-=o.length);if(o===null||o.marker===!0){n.splice(r,1);continue}s.p=o,o.marker=!0}(t<s.index||e>0&&t===s.index)&&(s.index=Vl(t,s.index+e))}},Lg=(n,t,e)=>{const r=n,s=t.changedParentTypes;for(;oo(s,n,()=>[]).push(e),n._item!==null;)n=n._item.parent;dN(r._eH,e,t)};class Ln{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=MS(),this._dEH=MS(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,e){this.doc=t,this._item=e}_copy(){throw bs()}clone(){throw bs()}_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){LS(this._eH,t)}observeDeep(t){LS(this._dEH,t)}unobserve(t){DS(this._eH,t)}unobserveDeep(t){DS(this._dEH,t)}toJSON(){}}const CN=(n,t,e)=>{n.doc??Qn(),t<0&&(t=n._length+t),e<0&&(e=n._length+e);let r=e-t;const s=[];let o=n._start;for(;o!==null&&r>0;){if(o.countable&&!o.deleted){const i=o.content.getContent();if(i.length<=t)t-=i.length;else{for(let l=t;l<i.length&&r>0;l++)s.push(i[l]),r--;t=0}}o=o.right}return s},xN=n=>{n.doc??Qn();const t=[];let e=n._start;for(;e!==null;){if(e.countable&&!e.deleted){const r=e.content.getContent();for(let s=0;s<r.length;s++)t.push(r[s])}e=e.right}return t},Pu=(n,t)=>{let e=0,r=n._start;for(n.doc??Qn();r!==null;){if(r.countable&&!r.deleted){const s=r.content.getContent();for(let o=0;o<s.length;o++)t(s[o],e++,n)}r=r.right}},vN=(n,t)=>{const e=[];return Pu(n,(r,s)=>{e.push(t(r,s,n))}),e},l8=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 s=e[r++];return e.length<=r&&(e=null),{done:!1,value:s}}}},SN=(n,t)=>{n.doc??Qn();const e=Mg(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}},_h=(n,t,e,r)=>{let s=e;const o=n.doc,i=o.clientID,l=o.store,c=e===null?t._start:e.right;let u=[];const d=()=>{u.length>0&&(s=new Pt(nt(i,ln(l,i)),s,s&&s.lastId,c,c&&c.id,t,null,new Il(u)),s.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:s=new Pt(nt(i,ln(l,i)),s,s&&s.lastId,c,c&&c.id,t,null,new ud(new Uint8Array(h))),s.integrate(n,0);break;case eo:s=new Pt(nt(i,ln(l,i)),s,s&&s.lastId,c,c&&c.id,t,null,new dd(h)),s.integrate(n,0);break;default:if(h instanceof Ln)s=new Pt(nt(i,ln(l,i)),s,s&&s.lastId,c,c&&c.id,t,null,new io(h)),s.integrate(n,0);else throw new Error("Unexpected content type in insert operation")}}}),d()},kN=()=>$s("Length exceeded!"),EN=(n,t,e,r)=>{if(e>t._length)throw kN();if(e===0)return t._searchMarker&&Bu(t._searchMarker,e,r.length),_h(n,t,null,r);const s=e,o=Mg(t,e);let i=t._start;for(o!==null&&(i=o.p,e-=o.index,e===0&&(i=i.prev,e+=i&&i.countable&&!i.deleted?i.length:0));i!==null;i=i.right)if(!i.deleted&&i.countable){if(e<=i.length){e<i.length&&Ar(n,nt(i.id.client,i.id.clock+e));break}e-=i.length}return t._searchMarker&&Bu(t._searchMarker,s,r.length),_h(n,t,i,r)},a8=(n,t,e)=>{let s=(t._searchMarker||[]).reduce((o,i)=>i.index>o.index?i:o,{index:0,p:t._start}).p;if(s)for(;s.right;)s=s.right;return _h(n,t,s,e)},TN=(n,t,e,r)=>{if(r===0)return;const s=e,o=r,i=Mg(t,e);let l=t._start;for(i!==null&&(l=i.p,e-=i.index);l!==null&&e>0;l=l.right)!l.deleted&&l.countable&&(e<l.length&&Ar(n,nt(l.id.client,l.id.clock+e)),e-=l.length);for(;r>0&&l!==null;)l.deleted||(r<l.length&&Ar(n,nt(l.id.client,l.id.clock+r)),l.delete(n),r-=l.length),l=l.right;if(r>0)throw kN();t._searchMarker&&Bu(t._searchMarker,s,-o+r)},Nh=(n,t,e)=>{const r=t._map.get(e);r!==void 0&&r.delete(n)},v0=(n,t,e,r)=>{const s=t._map.get(e)||null,o=n.doc,i=o.clientID;let l;if(r==null)l=new Il([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:case Date:case BigInt:l=new Il([r]);break;case Uint8Array:l=new ud(r);break;case eo:l=new dd(r);break;default:if(r instanceof Ln)l=new io(r);else throw new Error("Unexpected content type")}new Pt(nt(i,ln(o.store,i)),s,s&&s.lastId,null,null,t,e,l).integrate(n,0)},S0=(n,t)=>{n.doc??Qn();const e=n._map.get(t);return e!==void 0&&!e.deleted?e.content.getContent()[e.length-1]:void 0},_N=n=>{const t={};return n.doc??Qn(),n._map.forEach((e,r)=>{e.deleted||(t[r]=e.content.getContent()[e.length-1])}),t},NN=(n,t)=>{n.doc??Qn();const e=n._map.get(t);return e!==void 0&&!e.deleted},c8=(n,t)=>{const e={};return n._map.forEach((r,s)=>{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&&Ea(o,t)&&(e[s]=o.content.getContent()[o.length-1])}),e},wf=n=>(n.doc??Qn(),wz(n._map.entries(),t=>!t[1].deleted));class u8 extends Ig{}class Ka extends Ln{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const e=new Ka;return e.push(t),e}_integrate(t,e){super._integrate(t,e),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Ka}clone(){const t=new Ka;return t.insert(0,this.toArray().map(e=>e instanceof Ln?e.clone():e)),t}get length(){return this.doc??Qn(),this._length}_callObserver(t,e){super._callObserver(t,e),Lg(this,t,new u8(this,t))}insert(t,e){this.doc!==null?Bt(this.doc,r=>{EN(r,this,t,e)}):this._prelimContent.splice(t,0,...e)}push(t){this.doc!==null?Bt(this.doc,e=>{a8(e,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,e=1){this.doc!==null?Bt(this.doc,r=>{TN(r,this,t,e)}):this._prelimContent.splice(t,e)}get(t){return SN(this,t)}toArray(){return xN(this)}slice(t=0,e=this.length){return CN(this,t,e)}toJSON(){return this.map(t=>t instanceof Ln?t.toJSON():t)}map(t){return vN(this,t)}forEach(t){Pu(this,t)}[Symbol.iterator](){return l8(this)}_write(t){t.writeTypeRef(L8)}}const d8=n=>new Ka;class yy extends Ig{constructor(t,e,r){super(t,e),this.keysChanged=r}}class qn extends Ln{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,s)=>{this.set(s,r)}),this._prelimContent=null}_copy(){return new qn}clone(){const t=new qn;return this.forEach((e,r)=>{t.set(r,e instanceof Ln?e.clone():e)}),t}_callObserver(t,e){Lg(this,t,new yy(this,t,e))}toJSON(){this.doc??Qn();const t={};return this._map.forEach((e,r)=>{if(!e.deleted){const s=e.content.getContent()[e.length-1];t[r]=s instanceof Ln?s.toJSON():s}}),t}get size(){return[...wf(this)].length}keys(){return Jm(wf(this),t=>t[0])}values(){return Jm(wf(this),t=>t[1].content.getContent()[t[1].length-1])}entries(){return Jm(wf(this),t=>[t[0],t[1].content.getContent()[t[1].length-1]])}forEach(t){this.doc??Qn(),this._map.forEach((e,r)=>{e.deleted||t(e.content.getContent()[e.length-1],r,this)})}[Symbol.iterator](){return this.entries()}delete(t){this.doc!==null?Bt(this.doc,e=>{Nh(e,this,t)}):this._prelimContent.delete(t)}set(t,e){return this.doc!==null?Bt(this.doc,r=>{v0(r,this,t,e)}):this._prelimContent.set(t,e),e}get(t){return S0(this,t)}has(t){return NN(this,t)}clear(){this.doc!==null?Bt(this.doc,t=>{this.forEach(function(e,r,s){Nh(t,s,r)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(D8)}}const f8=n=>new qn,pi=(n,t)=>n===t||typeof n=="object"&&typeof t=="object"&&n&&t&&h5(n,t);class by{constructor(t,e,r,s){this.left=t,this.right=e,this.index=r,this.currentAttributes=s}forward(){switch(this.right===null&&Or(),this.right.content.constructor){case Sn:this.right.deleted||yc(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 zS=(n,t,e)=>{for(;t.right!==null&&e>0;){switch(t.right.content.constructor){case Sn:t.right.deleted||yc(t.currentAttributes,t.right.content);break;default:t.right.deleted||(e<t.right.length&&Ar(n,nt(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},Cf=(n,t,e,r)=>{const s=new Map,o=r?Mg(t,e):null;if(o){const i=new by(o.p.left,o.p,o.index,s);return zS(n,i,e-o.index)}else{const i=new by(null,t._start,0,s);return zS(n,i,e)}},IN=(n,t,e,r)=>{for(;e.right!==null&&(e.right.deleted===!0||e.right.content.constructor===Sn&&pi(r.get(e.right.content.key),e.right.content.value));)e.right.deleted||r.delete(e.right.content.key),e.forward();const s=n.doc,o=s.clientID;r.forEach((i,l)=>{const c=e.left,u=e.right,d=new Pt(nt(o,ln(s.store,o)),c,c&&c.lastId,u,u&&u.id,t,null,new Sn(l,i));d.integrate(n,0),e.right=d,e.forward()})},yc=(n,t)=>{const{key:e,value:r}=t;r===null?n.delete(e):n.set(e,r)},MN=(n,t)=>{for(;n.right!==null;){if(!(n.right.deleted||n.right.content.constructor===Sn&&pi(t[n.right.content.key]??null,n.right.content.value)))break;n.forward()}},LN=(n,t,e,r)=>{const s=n.doc,o=s.clientID,i=new Map;for(const l in r){const c=r[l],u=e.currentAttributes.get(l)??null;if(!pi(u,c)){i.set(l,u);const{left:d,right:h}=e;e.right=new Pt(nt(o,ln(s.store,o)),d,d&&d.lastId,h,h&&h.id,t,null,new Sn(l,c)),e.right.integrate(n,0),e.forward()}}return i},Vm=(n,t,e,r,s)=>{e.currentAttributes.forEach((g,p)=>{s[p]===void 0&&(s[p]=null)});const o=n.doc,i=o.clientID;MN(e,s);const l=LN(n,t,e,s),c=r.constructor===String?new ro(r):r instanceof Ln?new io(r):new Ql(r);let{left:u,right:d,index:h}=e;t._searchMarker&&Bu(t._searchMarker,e.index,c.getLength()),d=new Pt(nt(i,ln(o.store,i)),u,u&&u.lastId,d,d&&d.id,t,null,c),d.integrate(n,0),e.right=d,e.index=h,e.forward(),IN(n,t,e,l)},US=(n,t,e,r,s)=>{const o=n.doc,i=o.clientID;MN(e,s);const l=LN(n,t,e,s);e:for(;e.right!==null&&(r>0||l.size>0&&(e.right.deleted||e.right.content.constructor===Sn));){if(!e.right.deleted)switch(e.right.content.constructor){case Sn:{const{key:c,value:u}=e.right.content,d=s[c];if(d!==void 0){if(pi(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&&Ar(n,nt(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+=`
|
|
16
|
+
`;e.right=new Pt(nt(i,ln(o.store,i)),e.left,e.left&&e.left.lastId,e.right,e.right&&e.right.id,t,null,new ro(c)),e.right.integrate(n,0),e.forward()}IN(n,t,e,l)},DN=(n,t,e,r,s)=>{let o=t;const i=br();for(;o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===Sn){const u=o.content;i.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 Sn:{const{key:d,value:h}=u,g=r.get(d)??null;(i.get(d)!==u||g===h)&&(t.delete(n),l++,!c&&(s.get(d)??null)===h&&g!==h&&(g===null?s.delete(d):s.set(d,g))),!c&&!t.deleted&&yc(s,u);break}}}t=t.right}return l},h8=(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===Sn){const r=t.content.key;e.has(r)?t.delete(n):e.add(r)}t=t.left}},g8=n=>{let t=0;return Bt(n.doc,e=>{let r=n._start,s=n._start,o=br();const i=ay(o);for(;s;){if(s.deleted===!1)switch(s.content.constructor){case Sn:yc(i,s.content);break;default:t+=DN(e,r,s,o,i),o=ay(i),r=s;break}s=s.right}}),t},p8=n=>{const t=new Set,e=n.doc;for(const[r,s]of n.afterState.entries()){const o=n.beforeState.get(r)||0;s!==o&&pN(n,e.store.clients.get(r),o,s,i=>{!i.deleted&&i.content.constructor===Sn&&i.constructor!==Gr&&t.add(i.parent)})}Bt(e,r=>{ec(n,n.deleteSet,s=>{if(s instanceof Gr||!s.parent._hasFormatting||t.has(s.parent))return;const o=s.parent;s.content.constructor===Sn?t.add(o):h8(r,s)});for(const s of t)g8(s)})},KS=(n,t,e)=>{const r=e,s=ay(t.currentAttributes),o=t.right;for(;e>0&&t.right!==null;){if(t.right.deleted===!1)switch(t.right.content.constructor){case io:case Ql:case ro:e<t.right.length&&Ar(n,nt(t.right.id.client,t.right.id.clock+e)),e-=t.right.length,t.right.delete(n);break}t.forward()}o&&DN(n,o,t.right,s,t.currentAttributes);const i=(t.left||t.right).parent;return i._searchMarker&&Bu(i._searchMarker,t.index,-r+e),t};class ON extends Ig{constructor(t,e,r){super(t,e),this.childListChanged=!1,this.keysChanged=new Set,r.forEach(s=>{s===null?this.childListChanged=!0:this.keysChanged.add(s)})}get changes(){if(this._changes===null){const t={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=t}return this._changes}get delta(){if(this._delta===null){const t=this.target.doc,e=[];Bt(t,r=>{const s=new Map,o=new Map;let i=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},s.size>0&&(p.attributes={},s.forEach((m,y)=>{m!==null&&(p.attributes[y]=m)}))),u="";break;case"retain":d>0&&(p={retain:d},f5(c)||(p.attributes=a5({},c))),d=0;break}p&&e.push(p),l=null}};for(;i!==null;){switch(i.content.constructor){case io:case Ql:this.adds(i)?this.deletes(i)||(g(),l="insert",u=i.content.getContent()[0],g()):this.deletes(i)?(l!=="delete"&&(g(),l="delete"),h+=1):i.deleted||(l!=="retain"&&(g(),l="retain"),d+=1);break;case ro:this.adds(i)?this.deletes(i)||(l!=="insert"&&(g(),l="insert"),u+=i.content.str):this.deletes(i)?(l!=="delete"&&(g(),l="delete"),h+=i.length):i.deleted||(l!=="retain"&&(g(),l="retain"),d+=i.length);break;case Sn:{const{key:p,value:m}=i.content;if(this.adds(i)){if(!this.deletes(i)){const y=s.get(p)??null;pi(y,m)?m!==null&&i.delete(r):(l==="retain"&&g(),pi(m,o.get(p)??null)?delete c[p]:c[p]=m)}}else if(this.deletes(i)){o.set(p,m);const y=s.get(p)??null;pi(y,m)||(l==="retain"&&g(),c[p]=y)}else if(!i.deleted){o.set(p,m);const y=c[p];y!==void 0&&(pi(y,m)?y!==null&&i.delete(r):(l==="retain"&&g(),m===null?delete c[p]:c[p]=m))}i.deleted||(l==="insert"&&g(),yc(s,i.content));break}}i=i.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 nc extends Ln{constructor(t){super(),this._pending=t!==void 0?[()=>this.insert(0,t)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??Qn(),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 nc}clone(){const t=new nc;return t.applyDelta(this.toDelta()),t}_callObserver(t,e){super._callObserver(t,e);const r=new ON(this,t,e);Lg(this,t,r),!t.local&&this._hasFormatting&&(t._needFormattingCleanup=!0)}toString(){this.doc??Qn();let t="",e=this._start;for(;e!==null;)!e.deleted&&e.countable&&e.content.constructor===ro&&(t+=e.content.str),e=e.right;return t}toJSON(){return this.toString()}applyDelta(t,{sanitize:e=!0}={}){this.doc!==null?Bt(this.doc,r=>{const s=new by(null,this._start,0,new Map);for(let o=0;o<t.length;o++){const i=t[o];if(i.insert!==void 0){const l=!e&&typeof i.insert=="string"&&o===t.length-1&&s.right===null&&i.insert.slice(-1)===`
|
|
17
|
+
`?i.insert.slice(0,-1):i.insert;(typeof l!="string"||l.length>0)&&Vm(r,this,s,l,i.attributes||{})}else i.retain!==void 0?US(r,this,s,i.retain,i.attributes||{}):i.delete!==void 0&&KS(r,s,i.delete)}}):this._pending.push(()=>this.applyDelta(t))}toDelta(t,e,r){this.doc??Qn();const s=[],o=new Map,i=this.doc;let l="",c=this._start;function u(){if(l.length>0){const h={};let g=!1;o.forEach((m,y)=>{g=!0,h[y]=m});const p={insert:l};g&&(p.attributes=h),s.push(p),l=""}}const d=()=>{for(;c!==null;){if(Ea(c,t)||e!==void 0&&Ea(c,e))switch(c.content.constructor){case ro:{const h=o.get("ychange");t!==void 0&&!Ea(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&&!Ea(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 io:case Ql:{u();const h={insert:c.content.getContent()[0]};if(o.size>0){const g={};h.attributes=g,o.forEach((p,m)=>{g[m]=p})}s.push(h);break}case Sn:Ea(c,t)&&(u(),yc(o,c.content));break}c=c.right}u()};return t||e?Bt(i,h=>{t&&my(h,t),e&&my(h,e),d()},"cleanup"):d(),s}insert(t,e,r){if(e.length<=0)return;const s=this.doc;s!==null?Bt(s,o=>{const i=Cf(o,this,t,!r);r||(r={},i.currentAttributes.forEach((l,c)=>{r[c]=l})),Vm(o,this,i,e,r)}):this._pending.push(()=>this.insert(t,e,r))}insertEmbed(t,e,r){const s=this.doc;s!==null?Bt(s,o=>{const i=Cf(o,this,t,!r);Vm(o,this,i,e,r||{})}):this._pending.push(()=>this.insertEmbed(t,e,r||{}))}delete(t,e){if(e===0)return;const r=this.doc;r!==null?Bt(r,s=>{KS(s,Cf(s,this,t,!0),e)}):this._pending.push(()=>this.delete(t,e))}format(t,e,r){if(e===0)return;const s=this.doc;s!==null?Bt(s,o=>{const i=Cf(o,this,t,!1);i.right!==null&&US(o,this,i,e,r)}):this._pending.push(()=>this.format(t,e,r))}removeAttribute(t){this.doc!==null?Bt(this.doc,e=>{Nh(e,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,e){this.doc!==null?Bt(this.doc,r=>{v0(r,this,t,e)}):this._pending.push(()=>this.setAttribute(t,e))}getAttribute(t){return S0(this,t)}getAttributes(){return _N(this)}_write(t){t.writeTypeRef(O8)}}const m8=n=>new nc;class Qm{constructor(t,e=()=>!0){this._filter=e,this._root=t,this._currentNode=t._start,this._firstCall=!0,t.doc??Qn()}[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===as||e.constructor===Nl)&&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 Nl extends Ln{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 Nl}clone(){const t=new Nl;return t.insert(0,this.toArray().map(e=>e instanceof Ln?e.clone():e)),t}get length(){return this.doc??Qn(),this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(t){return new Qm(this,t)}querySelector(t){t=t.toUpperCase();const r=new Qm(this,s=>s.nodeName&&s.nodeName.toUpperCase()===t).next();return r.done?null:r.value}querySelectorAll(t){return t=t.toUpperCase(),zo(new Qm(this,e=>e.nodeName&&e.nodeName.toUpperCase()===t))}_callObserver(t,e){Lg(this,t,new RN(this,e,t))}toString(){return vN(this,t=>t.toString()).join("")}toJSON(){return this.toString()}toDOM(t=document,e={},r){const s=t.createDocumentFragment();return r!==void 0&&r._createAssociation(s,this),Pu(this,o=>{s.insertBefore(o.toDOM(t,e,r),null)}),s}insert(t,e){this.doc!==null?Bt(this.doc,r=>{EN(r,this,t,e)}):this._prelimContent.splice(t,0,...e)}insertAfter(t,e){if(this.doc!==null)Bt(this.doc,r=>{const s=t&&t instanceof Ln?t._item:t;_h(r,this,s,e)});else{const r=this._prelimContent,s=t===null?0:r.findIndex(o=>o===t)+1;if(s===0&&t!==null)throw $s("Reference item not found");r.splice(s,0,...e)}}delete(t,e=1){this.doc!==null?Bt(this.doc,r=>{TN(r,this,t,e)}):this._prelimContent.splice(t,e)}toArray(){return xN(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return SN(this,t)}slice(t=0,e=this.length){return CN(this,t,e)}forEach(t){Pu(this,t)}_write(t){t.writeTypeRef(B8)}}const A8=n=>new Nl;class as extends Nl{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,s)=>{this.setAttribute(s,r)}),this._prelimAttrs=null}_copy(){return new as(this.nodeName)}clone(){const t=new as(this.nodeName),e=this.getAttributes();return u5(e,(r,s)=>{t.setAttribute(s,r)}),t.insert(0,this.toArray().map(r=>r instanceof Ln?r.clone():r)),t}toString(){const t=this.getAttributes(),e=[],r=[];for(const l in t)r.push(l);r.sort();const s=r.length;for(let l=0;l<s;l++){const c=r[l];e.push(c+'="'+t[c]+'"')}const o=this.nodeName.toLocaleLowerCase(),i=e.length>0?" "+e.join(" "):"";return`<${o}${i}>${super.toString()}</${o}>`}removeAttribute(t){this.doc!==null?Bt(this.doc,e=>{Nh(e,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,e){this.doc!==null?Bt(this.doc,r=>{v0(r,this,t,e)}):this._prelimAttrs.set(t,e)}getAttribute(t){return S0(this,t)}hasAttribute(t){return NN(this,t)}getAttributes(t){return t?c8(this,t):_N(this)}toDOM(t=document,e={},r){const s=t.createElement(this.nodeName),o=this.getAttributes();for(const i in o){const l=o[i];typeof l=="string"&&s.setAttribute(i,l)}return Pu(this,i=>{s.appendChild(i.toDOM(t,e,r))}),r!==void 0&&r._createAssociation(s,this),s}_write(t){t.writeTypeRef(R8),t.writeKey(this.nodeName)}}const y8=n=>new as(n.readKey());class RN extends Ig{constructor(t,e,r){super(t,r),this.childListChanged=!1,this.attributesChanged=new Set,e.forEach(s=>{s===null?this.childListChanged=!0:this.attributesChanged.add(s)})}}class Ih extends qn{constructor(t){super(),this.hookName=t}_copy(){return new Ih(this.hookName)}clone(){const t=new Ih(this.hookName);return this.forEach((e,r)=>{t.set(r,e)}),t}toDOM(t=document,e={},r){const s=e[this.hookName];let o;return s!==void 0?o=s.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(P8),t.writeKey(this.hookName)}}const b8=n=>new Ih(n.readKey());class no extends nc{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 no}clone(){const t=new no;return t.applyDelta(this.toDelta()),t}toDOM(t=document,e,r){const s=t.createTextNode(this.toString());return r!==void 0&&r._createAssociation(s,this),s}toString(){return this.toDelta().map(t=>{const e=[];for(const s in t.attributes){const o=[];for(const i in t.attributes[s])o.push({key:i,value:t.attributes[s][i]});o.sort((i,l)=>i.key<l.key?-1:1),e.push({nodeName:s,attrs:o})}e.sort((s,o)=>s.nodeName<o.nodeName?-1:1);let r="";for(let s=0;s<e.length;s++){const o=e[s];r+=`<${o.nodeName}`;for(let i=0;i<o.attrs.length;i++){const l=o.attrs[i];r+=` ${l.key}="${l.value}"`}r+=">"}r+=t.insert;for(let s=e.length-1;s>=0;s--)r+=`</${e[s].nodeName}>`;return r}).join("")}toJSON(){return this.toString()}_write(t){t.writeTypeRef(j8)}}const w8=n=>new no;class k0{constructor(t,e){this.id=t,this.length=e}get deleted(){throw bs()}mergeWith(t){return!1}write(t,e,r){throw bs()}integrate(t,e){throw bs()}}const C8=0;class Gr extends k0{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),gN(t.doc.store,this)}write(t,e){t.writeInfo(C8),t.writeLen(this.length-e)}getMissing(t,e){return null}}class ud{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new ud(this.content)}splice(t){throw bs()}mergeWith(t){return!1}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeBuf(this.content)}getRef(){return 3}}const x8=n=>new ud(n.readBuf());class ju{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new ju(this.len)}splice(t){const e=new ju(this.len-t);return this.len=t,e}mergeWith(t){return this.len+=t.len,!0}integrate(t,e){Ru(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 v8=n=>new ju(n.readLen()),BN=(n,t)=>new eo({guid:n,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class dd{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 dd(BN(this.doc.guid,this.opts))}splice(t){throw bs()}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 S8=n=>new dd(BN(n.readString(),n.readAny()));class Ql{constructor(t){this.embed=t}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new Ql(this.embed)}splice(t){throw bs()}mergeWith(t){return!1}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeJSON(this.embed)}getRef(){return 5}}const k8=n=>new Ql(n.readJSON());class Sn{constructor(t,e){this.key=t,this.value=e}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new Sn(this.key,this.value)}splice(t){throw bs()}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 E8=n=>new Sn(n.readKey(),n.readJSON());class Mh{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new Mh(this.arr)}splice(t){const e=new Mh(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 s=e;s<r;s++){const o=this.arr[s];t.writeString(o===void 0?"undefined":JSON.stringify(o))}}getRef(){return 2}}const T8=n=>{const t=n.readLen(),e=[];for(let r=0;r<t;r++){const s=n.readString();s==="undefined"?e.push(void 0):e.push(JSON.parse(s))}return new Mh(e)},_8=xh("node_env")==="development";class Il{constructor(t){this.arr=t,_8&&I_(t)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new Il(this.arr)}splice(t){const e=new Il(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 s=e;s<r;s++){const o=this.arr[s];t.writeAny(o)}}getRef(){return 8}}const N8=n=>{const t=n.readLen(),e=[];for(let r=0;r<t;r++)e.push(n.readAny());return new Il(e)};class ro{constructor(t){this.str=t}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new ro(this.str)}splice(t){const e=new ro(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 I8=n=>new ro(n.readString()),M8=[d8,f8,m8,y8,A8,b8,w8],L8=0,D8=1,O8=2,R8=3,B8=4,P8=5,j8=6;class io{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new io(this.type._copy())}splice(t){throw bs()}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 F8=n=>new io(M8[n.readTypeRef()](n)),wy=(n,t)=>{let e=t,r=0,s;do r>0&&(e=nt(e.client,e.clock+r)),s=Ua(n,e),r=e.clock-s.id.clock,e=s.redone;while(e!==null&&s instanceof Pt);return{item:s,diff:r}},E0=(n,t)=>{for(;n!==null&&n.keep!==t;)n.keep=t,n=n.parent._item},Lh=(n,t,e)=>{const{client:r,clock:s}=t.id,o=new Pt(nt(r,s+e),t,nt(r,s+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=nt(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},WS=(n,t)=>e0(n,e=>ad(e.deletions,t)),PN=(n,t,e,r,s,o)=>{const i=n.doc,l=i.store,c=i.clientID,u=t.redone;if(u!==null)return Ar(n,u);let d=t.parent._item,h=null,g;if(d!==null&&d.deleted===!0){if(d.redone===null&&(!e.has(d)||PN(n,d,e,r,s,o)===null))return null;for(;d.redone!==null;)d=Ar(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 x=h;for(;x!==null&&x.parent._item!==d;)x=x.redone===null?null:Ar(n,x.redone);if(x!==null&&x.parent._item===d){h=x;break}h=h.left}for(;g!==null;){let x=g;for(;x!==null&&x.parent._item!==d;)x=x.redone===null?null:Ar(n,x.redone);if(x!==null&&x.parent._item===d){g=x;break}g=g.right}}else if(g=null,t.right&&!s){for(h=t;h!==null&&h.right!==null&&(h.right.redone||ad(r,h.right.id)||WS(o.undoStack,h.right.id)||WS(o.redoStack,h.right.id));)for(h=h.right;h.redone;)h=Ar(n,h.redone);if(h&&h.right!==null)return null}else h=p._map.get(t.parentSub)||null;const m=ln(l,c),y=nt(c,m),w=new Pt(y,h,h&&h.lastId,g,g&&g.id,p,t.parentSub,t.content.copy());return t.redone=y,E0(w,!0),w.integrate(n,0),w};class Pt extends k0{constructor(t,e,r,s,o,i,l,c){super(t,c.getLength()),this.origin=r,this.left=e,this.right=s,this.rightOrigin=o,this.parent=i,this.parentSub=l,this.redone=null,this.content=c,this.info=this.content.isCountable()?yS:0}set marker(t){(this.info&Wm)>0!==t&&(this.info^=Wm)}get marker(){return(this.info&Wm)>0}get keep(){return(this.info&AS)>0}set keep(t){this.keep!==t&&(this.info^=AS)}get countable(){return(this.info&yS)>0}get deleted(){return(this.info&Km)>0}set deleted(t){this.deleted!==t&&(this.info^=Km)}markDeleted(){this.info|=Km}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===za&&this.id.client!==this.parent.client&&this.parent.clock>=ln(e,this.parent.client))return this.parent.client;if(this.origin&&(this.left=OS(t,e,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=Ar(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Gr||this.right&&this.right.constructor===Gr)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===Pt?(this.parent=this.left.parent,this.parentSub=this.left.parentSub):this.right&&this.right.constructor===Pt&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===za){const r=Ua(e,this.parent);r.constructor===Gr?this.parent=null:this.parent=r.content.type}return null}integrate(t,e){if(e>0&&(this.id.clock+=e,this.left=OS(t,t.doc.store,nt(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,s;if(r!==null)s=r.right;else if(this.parentSub!==null)for(s=this.parent._map.get(this.parentSub)||null;s!==null&&s.left!==null;)s=s.left;else s=this.parent._start;const o=new Set,i=new Set;for(;s!==null&&s!==this.right;){if(i.add(s),o.add(s),La(this.origin,s.origin)){if(s.id.client<this.id.client)r=s,o.clear();else if(La(this.rightOrigin,s.rightOrigin))break}else if(s.origin!==null&&i.has(Ua(t.doc.store,s.origin)))o.has(Ua(t.doc.store,s.origin))||(r=s,o.clear());else break;s=s.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),gN(t.doc.store,this),this.content.integrate(t,this),BS(t,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(t)}else new Gr(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:nt(this.id.client,this.id.clock+this.length-1)}mergeWith(t){if(this.constructor===t.constructor&&La(t.origin,this.lastId)&&this.right===t&&La(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(),Ru(t.deleteSet,this.id.client,this.id.clock,this.length),BS(t,e,this.parentSub),this.content.delete(t)}}gc(t,e){if(!this.deleted)throw Or();this.content.gc(t),e?Zz(t,this,new Gr(this.id,this.length)):this.content=new ju(this.length)}write(t,e){const r=e>0?nt(this.id.client,this.id.clock+e-1):this.origin,s=this.rightOrigin,o=this.parentSub,i=this.content.getRef()&wg|(r===null?0:Ir)|(s===null?0:Oo)|(o===null?0:Nu);if(t.writeInfo(i),r!==null&&t.writeLeftID(r),s!==null&&t.writeRightID(s),r===null&&s===null){const l=this.parent;if(l._item!==void 0){const c=l._item;if(c===null){const u=fN(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===za?(t.writeParentInfo(!1),t.writeLeftID(l)):Or();o!==null&&t.writeString(o)}this.content.write(t,e)}}const jN=(n,t)=>z8[t&wg](n),z8=[()=>{Or()},v8,T8,x8,I8,k8,E8,F8,N8,S8,()=>{Or()}],U8=10;class Jr extends k0{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor!==t.constructor?!1:(this.length+=t.length,!0)}integrate(t,e){Or()}write(t,e){t.writeInfo(U8),je(t.restEncoder,this.length-e)}getMissing(t,e){return null}}const FN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},zN="__ $YJS$ __";FN[zN]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");FN[zN]=!0;function K8(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 Xm(n,t){const e=[];let r=n.__first;for(;r!==null;){const s=t===null?be(r):t.get(r);s==null&&K8(174),e.push(r),r=s.__next}return e}function on(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 W8(n,t,e){const r=n.length,s=t.length;let o=0,i=0;for(;o<r&&o<s&&n[o]===t[o]&&o<e;)o++;for(;i+o<r&&i+o<s&&n[r-i-1]===t[s-i-1];)i++;for(;i+o<r&&i+o<s&&n[o]===t[o];)o++;return{index:o,insert:t.slice(o,s-i),remove:r-o-i}}let di=class{constructor(t,e,r){j(this,"_xmlElem");j(this,"_key");j(this,"_parent");j(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 tt(e)?e:null}getNode(){const t=be(this._key);return tt(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 s=this.getPrevNode(r);I0(t,this._xmlElem,s,e)}syncPropertiesFromYjs(t,e){const r=this.getNode();r===null&&on(83),N0(t,this._xmlElem,r,e)}destroy(t){const e=t.collabNodeMap;e.get(this._key)===this&&e.delete(this._key)}};function UN(n,t,e){const r=new di(n,t,e);return n._collabNode=r,r}let eu=class{constructor(t,e){j(this,"_map");j(this,"_key");j(this,"_parent");j(this,"_type");this._key="",this._map=t,this._parent=e,this._type="linebreak"}getNode(){const t=be(this._key);return It(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 KN(n,t){const e=new eu(n,t);return n._collabNode=e,e}class lr{constructor(t,e,r,s){j(this,"_map");j(this,"_key");j(this,"_parent");j(this,"_text");j(this,"_type");j(this,"_normalized");this._key="",this._map=t,this._parent=r,this._text=e,this._type=s,this._normalized=!1}getPrevNode(t){if(t===null)return null;const e=t.get(this._key);return oe(e)?e:null}getNode(){const t=be(this._key);return oe(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 s=this._parent._xmlText,o=this.getOffset()+1+t;e!==0&&s.delete(o,e),r!==""&&s.insert(o,r)}syncPropertiesAndTextFromLexical(t,e,r){const s=this.getPrevNode(r),o=e.__text;if(I0(t,this._map,s,e),s!==null){const i=s.__text;i!==o&&((function(l,c,u,d){const h=Z();let g=d.length;if(W(h)&&h.isCollapsed()){const m=h.anchor;m.key===c&&(g=m.offset)}const p=W8(u,d,g);l.spliceText(p.index,p.remove,p.insert)})(this,e.__key,i,o),this._text=o)}}syncPropertiesAndTextFromYjs(t,e){const r=this.getNode();r===null&&on(84),N0(t,this._map,r,e);const s=this._text;r.__text!==s&&r.setTextContent(s)}destroy(t){const e=t.collabNodeMap;e.get(this._key)===this&&e.delete(this._key)}}function WN(n,t,e,r){const s=new lr(n,t,e,r);return n._collabNode=s,s}class Vr{constructor(t,e,r){j(this,"_key");j(this,"_children");j(this,"_xmlText");j(this,"_type");j(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=be(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&&on(90),t.getChildOffset(this)}syncPropertiesFromYjs(t,e){const r=this.getNode();r===null&&on(91),N0(t,this._xmlText,r,e)}applyChildrenYjsDelta(t,e){const r=this._children;let s=0,o=null;for(let i=0;i<e.length;i++){const l=e[i],c=l.insert,u=l.delete;if(l.retain!=null)s+=l.retain;else if(typeof u=="number"){let d=u;for(;d>0;){const{node:h,nodeIndex:g,offset:p,length:m}=qf(this,s,!1);if(h instanceof Vr||h instanceof eu||h instanceof di)r.splice(g,1),d-=1;else{if(!(h instanceof lr))break;{const y=Math.min(d,m),w=g!==0?r[g-1]:null,x=h.getSize();if(p===0&&m===x){r.splice(g,1);const C=Gc(h._text,p,y-1,"");C.length>0&&(w instanceof lr?w._text+=C:this._xmlText.delete(p,C.length))}else h._text=Gc(h._text,p,y,"");d-=y}}}}else{if(c==null)throw new Error("Unexpected delta format");if(typeof c=="string"){const{node:d,offset:h}=qf(this,s,!0);d instanceof lr?d._text=Gc(d._text,h,0,c):this._xmlText.delete(h,c.length),s+=c.length}else{const d=c,{node:h,nodeIndex:g,length:p}=qf(this,s,!1),m=Dh(t,d,this);if(h instanceof lr&&p>0&&p<h._text.length){const y=h._text,w=y.length-p;h._text=Gc(y,w,p,""),r.splice(g+1,0,m),o=Gc(y,0,w,"")}else r.splice(g,0,m);o!==null&&m instanceof lr&&(m._text=o+m._text,o=null),s+=1}}}}syncChildrenFromYjs(t){const e=this.getNode();e===null&&on(92);const r=e.__key,s=Xm(e,null),o=s.length,i=this._children,l=i.length,c=t.collabNodeMap,u=new Set;let d,h,g=0,p=null;l!==o&&(h=e.getWritable());for(let m=0;m<l;m++){const y=s[g],w=i[m],x=w.getNode(),C=w._key;if(x!==null&&y===C){const v=oe(x);if(u.add(y),v)if(w._key=y,w instanceof Vr){const _=w._xmlText;w.syncPropertiesFromYjs(t,null),w.applyChildrenYjsDelta(t,_.toDelta()),w.syncChildrenFromYjs(t)}else w instanceof lr?w.syncPropertiesAndTextFromYjs(t,null):w instanceof di?w.syncPropertiesFromYjs(t,null):w instanceof eu||on(93);p=x,g++}else{if(d===void 0){d=new Set;for(let N=0;N<l;N++){const E=i[N]._key;E!==""&&d.add(E)}}if(x!==null&&y!==void 0&&!d.has(y)){const N=ka(y);Do(N),m--,g++;continue}h=e.getWritable();const v=X8(t,w,r),_=v.__key;if(c.set(_,w),p===null){const N=h.getFirstChild();if(h.__first=_,N!==null){const E=N.getWritable();E.__prev=_,v.__next=E.__key}}else{const N=p.getWritable(),E=p.getNextSibling();if(N.__next=_,v.__prev=p.__key,E!==null){const T=E.getWritable();T.__prev=_,v.__next=T.__key}}m===l-1&&(h.__last=_),h.__size++,p=v}}for(let m=0;m<o;m++){const y=s[m];if(!u.has(y)){const w=ka(y),x=t.collabNodeMap.get(y);x!==void 0&&x.destroy(t),Do(w)}}}syncPropertiesFromLexical(t,e,r){I0(t,this._xmlText,this.getPrevNode(r),e)}_syncChildFromLexical(t,e,r,s,o,i){const l=this._children[e],c=ka(r);l instanceof Vr&&Y(c)?(l.syncPropertiesFromLexical(t,c,s),l.syncChildrenFromLexical(t,c,s,o,i)):l instanceof lr&&oe(c)?l.syncPropertiesAndTextFromLexical(t,c,s):l instanceof di&&tt(c)&&l.syncPropertiesFromLexical(t,c,s)}syncChildrenFromLexical(t,e,r,s,o){const i=this.getPrevNode(r),l=i===null?[]:Xm(i,r),c=Xm(e,null),u=l.length-1,d=c.length-1,h=t.collabNodeMap;let g,p,m=0,y=0;for(;m<=u&&y<=d;){const C=l[m],v=c[y];if(C===v)this._syncChildFromLexical(t,y,v,r,s,o),m++,y++;else{g===void 0&&(g=new Set(l)),p===void 0&&(p=new Set(c));const _=p.has(C),N=g.has(v);if(_){const E=HS(t,ka(v),this);h.set(v,E),N?(this.splice(t,y,1,E),m++,y++):(this.splice(t,y,0,E),y++)}else this.splice(t,y,1),m++}}const w=m>u,x=y>d;if(w&&!x)for(;y<=d;++y){const C=c[y],v=HS(t,ka(C),this);this.append(v),h.set(C,v)}else if(x&&!w)for(let C=this._children.length-1;C>=y;C--)this.splice(t,C,1)}append(t){const e=this._xmlText,r=this._children,s=r[r.length-1],o=s!==void 0?s.getOffset()+s.getSize():0;if(t instanceof Vr)e.insertEmbed(o,t._xmlText);else if(t instanceof lr){const i=t._map;i.parent===null&&e.insertEmbed(o,i),e.insert(o+1,t._text)}else t instanceof eu?e.insertEmbed(o,t._map):t instanceof di&&e.insertEmbed(o,t._xmlElem);this._children.push(t)}splice(t,e,r,s){const o=this._children,i=o[e];if(i===void 0)return s===void 0&&on(94),void this.append(s);const l=i.getOffset();l===-1&&on(95);const c=this._xmlText;if(r!==0&&c.delete(l,i.getSize()),s instanceof Vr)c.insertEmbed(l,s._xmlText);else if(s instanceof lr){const u=s._map;u.parent===null&&c.insertEmbed(l,u),c.insert(l+1,s._text)}else s instanceof eu?c.insertEmbed(l,s._map):s instanceof di&&c.insertEmbed(l,s._xmlElem);if(r!==0){const u=o.slice(e,e+r);for(let d=0;d<u.length;d++)u[d].destroy(t)}s!==void 0?o.splice(e,r,s):o.splice(e,r)}getChildOffset(t){let e=0;const r=this._children;for(let s=0;s<r.length;s++){const o=r[s];if(o===t)return e;e+=o.getSize()}return-1}destroy(t){const e=t.collabNodeMap,r=this._children;for(let s=0;s<r.length;s++)r[s].destroy(t);e.get(this._key)===this&&e.delete(this._key)}}function T0(n,t,e){const r=new Vr(n,t,e);return n._collabNode=r,r}function H8(n,t,e,r,s){e==null&&on(81);const o={clientID:e.clientID,cursors:new Map,cursorsContainer:null,doc:e,docMap:r,editor:n,excludedProperties:s||new Map,id:t,nodeProperties:new Map};return(function(i){const{editor:l,nodeProperties:c}=i;l.update(()=>{l._nodes.forEach(u=>{const d=new u.klass,h={};for(const[g,p]of Object.entries(d))HN(g,d,i)||(h[g]=p);c.set(d.__type,Object.freeze(h))})})})(o),o}function Y8(n,t,e,r,s,o){r==null&&on(81);const i=T0(r.get("root",no),null,"root");return i._key="root",{...H8(n,e,r,s,o),collabNodeMap:new Map,root:i}}function _0(n){return Object.hasOwn(n,"collabNodeMap")}const Z8=new Set(["__key","__parent","__next","__prev","__state"]),G8=new Set(["__first","__last","__size"]),J8=new Set(["__cachedText"]),V8=new Set(["__text"]);function HN(n,t,e){if(Z8.has(n)||typeof t[n]=="function")return!0;if(oe(t)){if(V8.has(n))return!0}else if(Y(t)&&(G8.has(n)||Yt(t)&&J8.has(n)))return!0;const r=t.constructor,s=e.excludedProperties.get(r);return s!=null&&s.has(n)}function Q8(n,t){const e=n.__type,{nodeProperties:r}=t,s=r.get(e);return s===void 0&&on(330,e),s}function HS(n,t,e){const r=t.__type;let s;if(Y(t))s=T0(new no,e,r),s.syncPropertiesFromLexical(n,t,null),s.syncChildrenFromLexical(n,t,null,null,null);else if(oe(t))s=WN(new qn,t.__text,e,r),s.syncPropertiesAndTextFromLexical(n,t,null);else if(It(t)){const o=new qn;o.set("__type","linebreak"),s=KN(o,e)}else tt(t)?(s=UN(new as,e,r),s.syncPropertiesFromLexical(n,t,null)):on(86);return s._key=t.__key,s}function YN(n){const t=Dg(n,"__type");return typeof t!="string"&&t!==void 0&&on(87),t}function Dh(n,t,e){const r=t._collabNode;if(r===void 0){const s=n.editor._nodes,o=YN(t);typeof o!="string"&&on(87),s.get(o)===void 0&&on(88,o);const i=t.parent,l=e===void 0&&i!==null?Dh(n,i):e||null;if(l instanceof Vr||on(89),t instanceof no)return T0(t,l,o);if(t instanceof qn)return o==="linebreak"?KN(t,l):WN(t,"",l,o);if(t instanceof as)return UN(t,l,o)}return r}function X8(n,t,e){const r=t.getType(),s=n.editor._nodes.get(r);s===void 0&&on(88,r);const o=new s.klass;if(o.__parent=e,t._key=o.__key,t instanceof Vr){const i=t._xmlText;t.syncPropertiesFromYjs(n,null),t.applyChildrenYjsDelta(n,i.toDelta()),t.syncChildrenFromYjs(n)}else t instanceof lr?t.syncPropertiesAndTextFromYjs(n,null):t instanceof di&&t.syncPropertiesFromYjs(n,null);return n.collabNodeMap.set(o.__key,t),o}function N0(n,t,e,r){const s=r===null?t instanceof qn?Array.from(t.keys()):t instanceof no||t instanceof as?Object.keys(t.getAttributes()):Object.keys(t):Array.from(r);let o;for(let i=0;i<s.length;i++){const l=s[i];if(HN(l,e,n)){l==="__state"&&_0(n)&&(o||(o=e.getWritable()),q8(t,o));continue}const c=e[l];let u=Dg(t,l);if(c!==u){if(u instanceof eo){const d=n.docMap;c instanceof eo&&d.delete(c.guid);const h=ed(),g=u.guid;h._key=g,d.set(g,u),u=h}o===void 0&&(o=e.getWritable()),o[l]=u}}}function Dg(n,t){return n instanceof qn?n.get(t):n instanceof no||n instanceof as?n.getAttribute(t):n[t]}function YS(n,t,e){n instanceof qn?n.set(t,e):n.setAttribute(t,e)}function q8(n,t){const e=Dg(n,"__state");e instanceof qn&&sg(t).updateFromJSON(e.toJSON())}function I0(n,t,e,r){const s=Object.keys(Q8(r,n)),o=n.editor.constructor;(function(i,l,c,u){const d=u.__state,h=Dg(l,"__state");if(!d)return;const[g,p]=d.getInternalState(),m=c&&c.__state,y=h instanceof qn?h:new qn;if(m===d)return;const[w,x]=m&&y.doc?m.getInternalState():[void 0,new Map];if(g)for(const[C,v]of Object.entries(g))w&&v!==w[C]&&y.set(C,v);for(const[C,v]of p)x.get(C)!==v&&y.set(C.key,C.unparse(v));h||YS(l,"__state",y)})(0,t,e,r);for(let i=0;i<s.length;i++){const l=s[i],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 eo,p=g.guid;u._key=p,d.set(p,g),u=g,n.editor.update(()=>{r.markDirty()})}YS(t,l,u)}}}function Gc(n,t,e,r){return n.slice(0,t)+r+n.slice(t+e)}function qf(n,t,e){let r=0,s=0;const o=n._children,i=o.length;for(;s<i;s++){const l=o[s],c=r;if(r+=l.getSize(),(e?r>=t:r>t)&&l instanceof lr){let u=t-c-1;return u<0&&(u=0),{length:r-t,node:l,nodeIndex:s,offset:u}}if(r>t)return{length:0,node:l,nodeIndex:s,offset:c};if(s===i-1)return{length:0,node:null,nodeIndex:s+1,offset:c+1}}return{length:0,node:null,nodeIndex:0,offset:0}}function ZS(n){const t=n.anchor,e=n.focus;let r=!1;try{const s=t.getNode(),o=e.getNode();(!s.isAttached()||!o.isAttached()||oe(s)&&t.offset>s.getTextContentSize()||oe(o)&&e.offset>o.getTextContentSize())&&(r=!0)}catch{r=!0}return r}function $8(n,t){n.doc.transact(t,n)}function ZN(n,t){const e=t._nodeMap.get(n);if(!e)return void Me().selectStart();const r=e.__prev;let s=null;r&&(s=be(r)),s===null&&e.__parent!==null&&(s=be(e.__parent)),s!==null?s!==null&&s.isAttached()?s.selectEnd():ZN(s.__key,t):Me().selectStart()}eT("ychange",{isEqual:(n,t)=>n===t,parse:n=>n??null});function GS(n,t){const e=t.collabNodeMap.get(n.key);if(e===void 0)return null;let r=n.offset,s=e.getSharedType();if(e instanceof lr){s=e._parent._xmlText;const o=e.getOffset();if(o===-1)return null;r=o+1+r}else if(e instanceof Vr&&n.type==="element"){const o=n.getNode();Y(o)||on(184);let i=0,l=0,c=o.getFirstChild();for(;c!==null&&l++<r;)oe(c)?i+=c.getTextContentSize()+1:i++,c=c.getNextSibling();r=i}return py(s,r)}function JS(n,t){const{mapping:e}=t,{offset:r}=n,s=n.getNode(),o=e.getSharedType(s);if(o===void 0)return null;if(n.type==="text"){oe(s)||on(326);let i=s.getPreviousSibling(),l=r;for(;oe(i);)l+=i.getTextContentSize(),i=i.getPreviousSibling();return py(o,l)}if(n.type==="element"){Y(s)||on(184);let i=0,l=s.getFirstChild();for(;l!==null&&i<r;){if(oe(l)){let c=l.getNextSibling();for(;oe(c);)c=c.getNextSibling()}i++,l=l.getNextSibling()}return py(o,i)}return null}function VS(n,t){return Wz(n,t.doc)}function QS(n,t){if(n==null){if(t!=null)return!0}else if(t==null||!Hz(n,t))return!0;return!1}function e6(n,t){return{color:t,name:n,selection:null}}function GN(n,t){const e=n.cursorsContainer;if(e!==null){const r=t.selections,s=r.length;for(let o=0;o<s;o++)e.removeChild(r[o])}}function t6(n,t){const e=t.selection;e!==null&&GN(n,e)}function n6(n,t,e,r,s){const o=n.color,i=document.createElement("span");i.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;`,i.appendChild(l),{anchor:{key:t,offset:e},caret:i,color:o,focus:{key:r,offset:s},name:l,selections:[]}}function r6(n,t,e,r){const s=n.editor,o=s.getRootElement(),i=n.cursorsContainer;if(i===null||o===null)return;const l=i.offsetParent;if(l===null)return;const c=l.getBoundingClientRect(),u=t.selection;if(e===null)return u===null?void 0:(t.selection=null,void GN(n,u));t.selection=e;const d=e.caret,h=e.color,g=e.selections,p=e.anchor,m=e.focus,y=p.key,w=m.key,x=r.get(y),C=r.get(w);if(x==null||C==null)return;let v;if(x===C&&It(x))v=[s.getElementByKey(y).getBoundingClientRect()];else{const E=n_(s,x,p.offset,C,m.offset);if(E===null)return;v=r_(s,E)}const _=g.length,N=v.length;for(let E=0;E<N;E++){const T=v[E];let I=g[E];if(I===void 0){I=document.createElement("span"),g[E]=I;const O=document.createElement("span");I.appendChild(O),i.appendChild(I)}const M=`position:absolute;top:${T.top-c.top}px;left:${T.left-c.left}px;height:${T.height}px;width:${T.width}px;pointer-events:none;z-index:5;`;I.style.cssText=M,I.firstChild.style.cssText=`${M}left:0;top:0;background-color:${h};opacity:0.3;`,E===N-1&&d.parentNode!==I&&I.appendChild(d)}for(let E=_-1;E>=N;E--){const T=g[E];i.removeChild(T),g.pop()}}function JN(n,t){const{anchorPos:e,focusPos:r}=t,s=e?VS(e,n):null,o=r?VS(r,n):null;if(s===null||o===null)return{anchorKey:null,anchorOffset:0,focusKey:null,focusOffset:0};if(_0(n)){const[d,h]=$S(s.type,s.index),[g,p]=$S(o.type,o.index);return{anchorKey:d!==null?d.getKey():null,anchorOffset:h,focusKey:g!==null?g.getKey():null,focusOffset:p}}let[i,l]=e1(n.mapping,s),[c,u]=e1(n.mapping,o);if(c&&i&&(c!==i||u!==l)){const d=c.isBefore(i),h=d?c:i,g=d?u:l;oe(h)&&oe(h.getNextSibling())&&g===h.getTextContentSize()&&(d?(c=h.getNextSibling(),u=0):(i=h.getNextSibling(),l=0))}return{anchorKey:i!==null?i.getKey():null,anchorOffset:l,focusKey:c!==null?c.getKey():null,focusOffset:u}}function XS(n,t){const e=t.awareness.getLocalState();if(e===null)return;const{anchorKey:r,anchorOffset:s,focusKey:o,focusOffset:i}=JN(n,e);if(r!==null&&o!==null){const l=Z();if(!W(l))return;qS(l.anchor,r,s),qS(l.focus,o,i)}}function qS(n,t,e){if(n.key!==t||n.offset!==e){let r=be(t);if(r!==null&&!Y(r)&&!oe(r)){const s=r.getParentOrThrow();t=s.getKey(),e=r.getIndexWithinParent(),r=s}n.set(t,e,Y(r)?"element":"text")}}function $S(n,t){const e=n._collabNode;if(e===void 0)return[null,0];if(e instanceof Vr){const{node:r,offset:s}=qf(e,t,!0);return r===null?[e,0]:[r,s]}return[null,0]}function e1(n,t){const e=t.type,r=t.index;if(e instanceof as){const s=n.get(e);if(s===void 0)return[null,0];if(!Y(s))return[s,r];let o=r,i=0;const l=s.getChildren();for(;o>0&&i<l.length;){const c=l[i];if(o-=1,i+=1,oe(c))for(;i<l.length&&oe(l[i]);)i+=1}return[s,i]}{const s=n.get(e);if(s===void 0)return[null,0];let o=0,i=r;for(;i>s[o].getTextContentSize()&&o+1<s.length;)i-=s[o].getTextContentSize(),o++;const l=s[o];return[l,Math.min(i,l.getTextContentSize())]}}function s6(n,t){return t.awareness.getStates()}function M0(n,t,e){const{getAwarenessStates:r=s6}=e??{},s=Array.from(r(n,t)),o=n.clientID,i=n.cursors,l=n.editor,c=l._editorState._nodeMap,u=new Set;for(let h=0;h<s.length;h++){const g=s[h],[p,m]=g;if(p!==0&&p!==o){u.add(p);const{name:y,color:w,focusing:x}=m;let C=null,v=i.get(p);if(v===void 0&&(v=e6(y,w),i.set(p,v)),x){const{anchorKey:_,anchorOffset:N,focusKey:E,focusOffset:T}=l.read(()=>JN(n,m));if(_!==null&&E!==null)if(C=v.selection,C===null)C=n6(v,_,N,E,T);else{const I=C.anchor,M=C.focus;I.key=_,I.offset=N,M.key=E,M.offset=T}}r6(n,v,C,c)}}const d=Array.from(i.keys());for(let h=0;h<d.length;h++){const g=d[h];if(!u.has(g)){const p=i.get(g);p!==void 0&&(t6(n,p),i.delete(g))}}}function VN(n,t,e,r){const s=t.awareness,o=s.getLocalState();if(o===null)return;const{anchorPos:i,focusPos:l,name:c,color:u,focusing:d,awarenessData:h}=o;let g=null,p=null;(r!==null&&(i===null||r.is(e))||e!==null)&&(W(r)&&(_0(n)?(g=GS(r.anchor,n),p=GS(r.focus,n)):(g=JS(r.anchor,n),p=JS(r.focus,n))),(QS(i,g)||QS(l,p))&&s.setLocalState({...o,anchorPos:g,awarenessData:h,color:u,focusPos:p,focusing:d,name:c}))}function o6(n,t){if(t instanceof yy&&(function(s,o){const{target:i}=o;if(!i._item||i._item.parentSub!=="__state"||YN(i)!==void 0||!(i.parent instanceof no||i.parent instanceof as||i.parent instanceof qn))return!1;const l=Dh(s,i.parent).getNode();if(l){const c=sg(l.getWritable());for(const u of o.keysChanged)c.updateFromUnknown(u,i.get(u))}return!0})(n,t))return;const{target:e}=t,r=Dh(n,e);if(r instanceof Vr&&t instanceof ON){const{keysChanged:s,childListChanged:o,delta:i}=t;s.size>0&&r.syncPropertiesFromYjs(n,s),o&&(r.applyChildrenYjsDelta(n,i),r.syncChildrenFromYjs(n))}else if(r instanceof lr&&t instanceof yy){const{keysChanged:s}=t;s.size>0&&r.syncPropertiesAndTextFromYjs(n,s)}else if(r instanceof di&&t instanceof RN){const{attributesChanged:s}=t;s.size>0&&r.syncPropertiesFromYjs(n,s)}else on(82)}function i6(n,t,e,r,s=M0){const o=n.editor,i=o._editorState;e.forEach(l=>l.delta),o.update(()=>{for(let l=0;l<e.length;l++){const c=e[l];o6(n,c)}l6(i,n,t),r||GT(wT)},{onUpdate:()=>{s(n,t),o.update(()=>a6())},skipTransforms:!0,tag:r?xl:Xu})}function l6(n,t,e){const r=Z();if(W(r))if(ZS(r)){const s=n._selection;W(s)&&(XS(t,e),ZS(r))&&ZN(r.anchor.key,n),VN(t,e,s,Z())}else XS(t,e)}function a6(){Me().getChildrenSize()===0&&Me().append(Ce())}function c6(n,t,e,r,s,o,i,l){$8(n,()=>{r.read(()=>{if(l.has(Xu)||l.has(xl))return void(i.size>0&&(function(d,h){const g=Array.from(h),p=d.collabNodeMap,m=[],y=[];for(let w=0;w<g.length;w++){const x=g[w],C=be(x),v=p.get(x);if(v instanceof lr)if(oe(C))m.push([v,C.__text]);else{const _=v.getOffset();if(_===-1)continue;const N=v._parent;v._normalized=!0,N._xmlText.delete(_,1),y.push(v)}}for(let w=0;w<y.length;w++){const x=y[w],C=x.getKey();p.delete(C);const v=x._parent._children,_=v.indexOf(x);v.splice(_,1)}for(let w=0;w<m.length;w++){const[x,C]=m[w];x._text=C}})(n,i));if(s.has("root")){const d=e._nodeMap,h=Me(),g=n.root;g.syncPropertiesFromLexical(n,h,d),g.syncChildrenFromLexical(n,h,d,s,o)}const c=Z(),u=e._selection;VN(n,t,u,c)})})}const QN=ye("CONNECTED_COMMAND"),u6=ye("TOGGLE_CONNECT_COMMAND");function d6(n,t){return new AN(t,{trackedOrigins:new Set([n,null])})}function f6(n,t,e,r,s){n.awareness.setLocalState({anchorPos:null,awarenessData:s,color:e,focusPos:null,focusing:r,name:t})}function t1(n,t,e,r,s){const{awareness:o}=n;let i=o.getLocalState();i===null&&(i={anchorPos:null,awarenessData:s,color:e,focusPos:null,focusing:r,name:t}),i.focusing=r,o.setLocalState(i)}function h6(n,t,e,r,s,o,i,l,c,u,d,h,g=M0){const p=k.useRef(!1),m=k.useCallback(()=>{const{root:y}=l;i&&y.isEmpty()&&y._xmlText._length===0&&b6(n,d)},[l,n,d,i]);return k.useEffect(()=>{const{root:y}=l,w=(C,v)=>{const _=v.origin;_!==l&&i6(l,e,C,_ instanceof AN,g)};y.getSharedType().observeDeep(w);const x=n.registerUpdateListener(({prevEditorState:C,editorState:v,dirtyLeaves:_,dirtyElements:N,normalizedNodes:E,tags:T})=>{T.has(Nv)||c6(l,e,C,v,N,_,E,T)});return()=>{y.getSharedType().unobserveDeep(w),x()}},[l,e,n,c,r,t,g]),k.useEffect(()=>{const y=x=>{(function(C,v){if(C.update(()=>{const T=Me();T.clear(),T.select()},{tag:Nv}),v.cursors==null)return;const _=v.cursors;if(_==null)return;const N=v.cursorsContainer;if(N==null)return;const E=Array.from(_.values());for(let T=0;T<E.length;T++){const I=E[T].selection;if(I&&I.selections!=null){const M=I.selections;for(let O=0;O<M.length;O++)N.removeChild(M[T])}}})(n,l),c(x),r.set(t,x),p.current=!0},w=()=>{p.current=!1};return e.on("reload",y),e.on("sync",w),()=>{e.off("reload",y),e.off("sync",w)}},[l,e,n,c,r,t]),g6(n,e,s,o,p,h,m),p6(l,e),m6(l,u)}function g6(n,t,e,r,s,o,i){const l=k.useCallback(()=>t.connect(),[t]),c=k.useCallback(()=>{try{t.disconnect()}catch{}},[t]);k.useEffect(()=>{const u=({status:g})=>{n.dispatchCommand(QN,g==="connected")},d=g=>{g&&s.current===!1&&i&&i()};f6(t,e,r,document.activeElement===n.getRootElement(),o||{}),t.on("status",u),t.on("sync",d);const h=l();return()=>{s.current===!1&&(h?h.then(c):c()),t.off("sync",d),t.off("status",u)}},[n,t,e,r,s,o,i,l,c]),k.useEffect(()=>n.registerCommand(u6,u=>(u?(console.log("Collaboration connected!"),l()):(console.log("Collaboration disconnected!"),c()),!0),Fe),[l,c,n])}function p6(n,t){k.useEffect(()=>{const{awareness:e}=t,r=()=>{M0(n,t)};return e.on("update",r),()=>{e.off("update",r)}},[n,t])}function m6(n,t){return k.useMemo(()=>Dr.createPortal(A.jsx("div",{ref:e=>{n.cursorsContainer=e}}),t&&t.current||document.body),[n,t])}function A6(n,t,e,r,s){k.useEffect(()=>Xe(n.registerCommand(ji,()=>(t1(t,e,r,!0,s||{}),!1),Fe),n.registerCommand(cg,()=>(t1(t,e,r,!1,s||{}),!1),Fe)),[r,n,e,t,s])}function y6(n,t){k.useEffect(()=>Xe(n.registerCommand(ac,()=>(t.undo(),!0),Fe),n.registerCommand(jl,()=>(t.redo(),!0),Fe)));const e=k.useCallback(()=>{t.clear()},[t]);return WE.useEffect(()=>{const r=()=>{n.dispatchCommand(Ia,t.undoStack.length>0),n.dispatchCommand(Na,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 b6(n,t){n.update(()=>{const e=Me();if(e.isEmpty())if(t)switch(typeof t){case"string":{const r=n.parseEditorState(t);n.setEditorState(r,{tag:Xr});break}case"object":n.setEditorState(t,{tag:Xr});break;case"function":n.update(()=>{Me().isEmpty()&&t(n)},{tag:Xr})}else{const r=Ce();e.append(r);const{activeElement:s}=document;(Z()!==null||s!==null&&s===n.getRootElement())&&r.select()}},{tag:Xr})}function w6({id:n,providerFactory:t,shouldBootstrap:e,username:r,cursorColor:s,cursorsContainerRef:o,initialEditorState:i,excludedProperties:l,awarenessData:c,syncCursorPositionsFn:u}){const d=k.useRef(!1),h=k.useRef(!1),g=C3(r,s),{yjsDocMap:p,name:m,color:y}=g,[w]=Ee();x6(g,w);const[x,C]=k.useState(),[v,_]=k.useState();k.useEffect(()=>{if(h.current)return;h.current=!0;const T=t(n,p);return C(T),_(p.get(n)),()=>{T.disconnect()}},[n,t,p]);const[N,E]=k.useState();return k.useEffect(()=>{if(!x||d.current)return;d.current=!0;const T=Y8(w,x,n,v||p.get(n),p,l);return E(T),()=>{T.root.destroy(T)}},[w,x,n,p,v,l]),x&&N?A.jsx(C6,{awarenessData:c,binding:N,collabContext:g,color:y,cursorsContainerRef:o,editor:w,id:n,initialEditorState:i,name:m,provider:x,setDoc:_,shouldBootstrap:e,yjsDocMap:p,syncCursorPositionsFn:u}):A.jsx(A.Fragment,{})}function C6({editor:n,id:t,provider:e,yjsDocMap:r,name:s,color:o,shouldBootstrap:i,cursorsContainerRef:l,initialEditorState:c,awarenessData:u,collabContext:d,binding:h,setDoc:g,syncCursorPositionsFn:p}){const m=h6(n,t,e,r,s,o,i,h,g,l,c,u,p);return(function(y,w){y6(y,k.useMemo(()=>d6(w,w.root.getSharedType()),[w]))})(n,h),A6(n,e,s,o,u),m}const x6=(n,t)=>{k.useEffect(()=>(n.isCollabActive=!0,()=>{t._parentEditor==null&&(n.isCollabActive=!1)}),[n,t])},XN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,v6=XN?k.useLayoutEffect:k.useEffect,xf={tag:Xr};function S6({initialConfig:n,children:t}){const e=k.useMemo(()=>{const{theme:r,namespace:s,nodes:o,onError:i,editorState:l,html:c}=n,u=b_(null,r),d=ed({editable:n.editable,html:c,namespace:s,nodes:o,onError:h=>i(h,d),theme:r});return(function(h,g){if(g!==null){if(g===void 0)h.update(()=>{const p=Me();if(p.isEmpty()){const m=Ce();p.append(m);const y=XN?document.activeElement:null;(Z()!==null||y!==null&&y===h.getRootElement())&&m.select()}},xf);else if(g!==null)switch(typeof g){case"string":{const p=h.parseEditorState(g);h.setEditorState(p,xf);break}case"object":h.setEditorState(g,xf);break;case"function":h.update(()=>{Me().isEmpty()&&g(h)},xf)}}})(d,l),[d,u]},[]);return v6(()=>{const r=n.editable,[s]=e;s.setEditable(r===void 0||r)},[]),A.jsx(qb.Provider,{value:e,children:t})}const k6=Symbol.for("preact-signals");function Og(){if(wi>1)return void wi--;let n,t=!1;for(;hu!==void 0;){let e=hu;for(hu=void 0,Cy++;e!==void 0;){const r=e.o;if(e.o=void 0,e.f&=-3,!(8&e.f)&&qN(e))try{e.c()}catch(s){t||(n=s,t=!0)}e=r}}if(Cy=0,wi--,t)throw n}function E6(n){if(wi>0)return n();wi++;try{return n()}finally{Og()}}let vt,hu;function n1(n){const t=vt;vt=void 0;try{return n()}finally{vt=t}}let wi=0,Cy=0,$f=0;function r1(n){if(vt===void 0)return;let t=n.n;return t===void 0||t.t!==vt?(t={i:0,S:n,p:vt.s,n:void 0,t:vt,e:void 0,x:void 0,r:t},vt.s!==void 0&&(vt.s.n=t),vt.s=t,n.n=t,32&vt.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=vt.s,t.n=void 0,vt.s.n=t,vt.s=t),t):void 0}function ir(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 T6(n,t){return new ir(n,t)}function qN(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 s1(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 $N(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 ya(n,t){ir.call(this,void 0),this.x=n,this.s=void 0,this.g=$f-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 e2(n){const t=n.u;if(n.u=void 0,typeof t=="function"){wi++;const e=vt;vt=void 0;try{t()}catch(r){throw n.f&=-2,n.f|=8,L0(n),r}finally{vt=e,Og()}}}function L0(n){for(let t=n.s;t!==void 0;t=t.n)t.S.U(t);n.x=void 0,n.s=void 0,e2(n)}function _6(n){if(vt!==this)throw new Error("Out-of-order effect");$N(this),vt=n,this.f&=-2,8&this.f&&L0(this),Og()}function Ta(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 Fu(n,t){const e=new Ta(n,t);try{e.c()}catch(s){throw e.d(),s}const r=e.d.bind(e);return r[Symbol.dispose]=r,r}function D0(n,t={}){const e={};for(const r in n){const s=t[r],o=T6(s===void 0?n[r]:s);e[r]=o}return e}ir.prototype.brand=k6,ir.prototype.h=function(){return!0},ir.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:n1(()=>{var e;(e=this.W)==null||e.call(this)}))},ir.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&&n1(()=>{var r;(r=this.Z)==null||r.call(this)}))}},ir.prototype.subscribe=function(n){return Fu(()=>{const t=this.value,e=vt;vt=void 0;try{n(t)}finally{vt=e}},{name:"sub"})},ir.prototype.valueOf=function(){return this.value},ir.prototype.toString=function(){return this.value+""},ir.prototype.toJSON=function(){return this.value},ir.prototype.peek=function(){const n=vt;vt=void 0;try{return this.value}finally{vt=n}},Object.defineProperty(ir.prototype,"value",{get(){const n=r1(this);return n!==void 0&&(n.i=this.i),this.v},set(n){if(n!==this.v){if(Cy>100)throw new Error("Cycle detected");this.v=n,this.i++,$f++,wi++;try{for(let t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Og()}}}}),ya.prototype=new ir,ya.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===$f))return!0;if(this.g=$f,this.f|=1,this.i>0&&!qN(this))return this.f&=-2,!0;const n=vt;try{s1(this),vt=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 vt=n,$N(this),this.f&=-2,!0},ya.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)}ir.prototype.S.call(this,n)},ya.prototype.U=function(n){if(this.t!==void 0&&(ir.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)}},ya.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(ya.prototype,"value",{get(){if(1&this.f)throw new Error("Cycle detected");const n=r1(this);if(this.h(),n!==void 0&&(n.i=this.i),16&this.f)throw this.v;return this.v}}),Ta.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()}},Ta.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,e2(this),s1(this),wi++;const n=vt;return vt=this,_6.bind(this,n)},Ta.prototype.N=function(){2&this.f||(this.f|=2,this.o=hu,hu=this)},Ta.prototype.d=function(){this.f|=8,1&this.f||L0(this)},Ta.prototype.dispose=function(){this.d()};function N6(){const n=Me(),t=Z(),e=Ce();n.clear(),n.append(e),t!==null&&e.select(),W(t)&&(t.format=0)}function I6(n,t=N6){return n.registerCommand(ag,e=>(n.update(t),!0),Fe)}function M6(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 s of t)r.append("v",s);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 t2(n,t){if(n&&t&&!Array.isArray(t)&&typeof n=="object"&&typeof t=="object"){const e=n,r=t;for(const s in r)e[s]=t2(e[s],r[s]);return n}return t}const O0=0,xy=1,n2=2,qm=3,vf=4,ba=5,$m=6,Jc=7;function eA(n){return n.id===O0}function r2(n){return n.id===n2}function L6(n){return(function(t){return t.id===xy})(n)||Rt(305,String(n.id),String(xy)),Object.assign(n,{id:n2})}const D6=new Set;let O6=class{constructor(t,e){j(this,"builder");j(this,"configs");j(this,"_dependency");j(this,"_peerNameSet");j(this,"extension");j(this,"state");j(this,"_signal");this.builder=t,this.extension=e,this.configs=new Set,this.state={id:O0}}mergeConfigs(){let t=this.extension.config||{};const e=this.extension.mergeConfig?this.extension.mergeConfig.bind(this.extension):V4;for(const r of this.configs)t=e(t,r);return t}init(t){const e=this.state;r2(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)},s={...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:qm,registerState:u})})(e,this.mergeConfigs(),r);let i;this.state=o,this.extension.init&&(i=this.extension.init(t,o.config,r)),this.state=(function(l,c,u){return Object.assign(l,{id:vf,initResult:c,registerState:u})})(o,i,s)}build(t){const e=this.state;let r;e.id!==vf&&Rt(307,String(e.id),String(ba)),this.extension.build&&(r=this.extension.build(t,e.config,e.registerState));const s={...e.registerState,getOutput:()=>r,getSignal:this.getSignal.bind(this)};this.state=(function(o,i,l){return Object.assign(o,{id:ba,output:i,registerState:l})})(e,r,s)}register(t,e){this._signal=e;const r=this.state;r.id!==ba&&Rt(308,String(r.id),String(ba));const s=this.extension.register&&this.extension.register(t,r.config,r.registerState);return this.state=(function(o){return Object.assign(o,{id:$m})})(r),()=>{const o=this.state;o.id!==Jc&&Rt(309,String(r.id),String(Jc)),this.state=(function(i){return Object.assign(i,{id:ba})})(o),s&&s()}}afterRegistration(t){const e=this.state;let r;return e.id!==$m&&Rt(310,String(e.id),String($m)),this.extension.afterRegistration&&(r=this.extension.afterRegistration(t,e.config,e.registerState)),this.state=(function(s){return Object.assign(s,{id:Jc})})(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>=vf})(t)||Rt(313,String(t.id),String(vf)),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>=qm})(t)||Rt(314,String(t.id),String(qm)),{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>=Jc})(t)||Rt(316,String(t.id),String(Jc)),t}getDirectDependentNames(){return this.builder.incomingEdges.get(this.extension.name)||D6}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>=ba})(t)||Rt(317,this.extension.name),this._dependency={config:t.config,init:t.initResult,output:t.output}}return this._dependency}};const o1={tag:Xr};function R6(){const n=Me();n.isEmpty()&&n.append(Ce())}const B6={config:{setOptions:o1,updateOptions:o1},init:({$initialEditorState:n=R6})=>({$initialEditorState:n,initialized:!1}),afterRegistration(n,{updateOptions:t,setOptions:e},r){const s=r.getInitResult();if(!s.initialized){s.initialized=!0;const{$initialEditorState:o}=s;if(S4(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 i=n.parseEditorState(o);n.setEditorState(i,e)}}return()=>{}},name:"@lexical/extension/InitialState",nodes:[Hl,Mn,fc,hc,Vo]},i1=Symbol.for("@lexical/extension/LexicalBuilder");function l1(){}function P6(n){throw n}function Sf(n){return Array.isArray(n)?n:[n]}const tA="0.38.2+prod.esm";let s2=class eh{constructor(t){j(this,"roots");j(this,"extensionNameMap");j(this,"outgoingConfigEdges");j(this,"incomingEdges");j(this,"conflicts");j(this,"_sortedExtensionReps");j(this,"PACKAGE_VERSION");this.outgoingConfigEdges=new Map,this.incomingEdges=new Map,this.extensionNameMap=new Map,this.conflicts=new Map,this.PACKAGE_VERSION=tA,this.roots=t;for(const e of t)this.addExtension(e)}static fromExtensions(t){const e=[Sf(B6)];for(const r of t)e.push(Sf(r));return new eh(e)}static maybeFromEditor(t){const e=t[i1];return e&&(e.PACKAGE_VERSION!==tA&&Rt(292,e.PACKAGE_VERSION,tA),e instanceof eh||Rt(293)),e}static fromEditor(t){const e=eh.maybeFromEditor(t);return e===void 0&&Rt(294),e}constructEditor(){const{$initialEditorState:t,onError:e,...r}=this.buildCreateEditorArgs(),s=Object.assign(ed({...r,...e?{onError:o=>{e(o,s)}}:{}}),{[i1]:this});for(const o of this.sortedExtensionReps())o.build(s);return s}buildEditor(){let t=l1;function e(){try{t()}finally{t=l1}}const r=Object.assign(this.constructEditor(),{dispose:e,[Symbol.dispose]:e});return t=Xe(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 s=this.outgoingConfigEdges.get(t);s?s.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=Sf(t),[r]=e;typeof r.name!="string"&&Rt(297,typeof r.name);let s=this.extensionNameMap.get(r.name);if(s!==void 0&&s.extension!==r&&Rt(298,r.name),!s){s=new O6(this,r),this.extensionNameMap.set(r.name,s);const o=this.conflicts.get(r.name);typeof o=="string"&&Rt(299,r.name,o);for(const i of r.conflictsWith||[])this.extensionNameMap.has(i)&&Rt(299,r.name,i),this.conflicts.set(i,r.name);for(const i of r.dependencies||[]){const l=Sf(i);this.addEdge(r.name,l[0].name,l.slice(1)),this.addExtension(l)}for(const[i,l]of r.peerDependencies||[])this.addEdge(r.name,i,l?[l]:[])}}sortedExtensionReps(){if(this._sortedExtensionReps)return this._sortedExtensionReps;const t=[],e=(r,s)=>{let o=r.state;if(r2(o))return;const i=r.extension.name;var l;eA(o)||Rt(300,i,s||"[unknown]"),eA(l=o)||Rt(304,String(l.id),String(O0)),o=Object.assign(l,{id:xy}),r.state=o;const c=this.outgoingConfigEdges.get(i);if(c)for(const u of c.keys()){const d=this.extensionNameMap.get(u);d&&e(d,i)}o=L6(o),r.state=o,t.push(r)};for(const r of this.extensionNameMap.values())eA(r.state)&&e(r);for(const r of t)for(const[s,o]of this.outgoingConfigEdges.get(r.extension.name)||[])if(o.length>0){const i=this.extensionNameMap.get(s);if(i)for(const l of o)i.configs.add(l)}for(const[r,...s]of this.roots)if(s.length>0){const o=this.extensionNameMap.get(r.name);o===void 0&&Rt(301,r.name);for(const i of s)o.configs.add(i)}return this._sortedExtensionReps=t,this._sortedExtensionReps}registerEditor(t){const e=this.sortedExtensionReps(),r=new AbortController,s=[()=>r.abort()],o=r.signal;for(const i of e){const l=i.register(t,o);l&&s.push(l)}for(const i of e){const l=i.afterRegistration(t);l&&s.push(l)}return Xe(...s)}buildCreateEditorArgs(){const t={},e=new Set,r=new Map,s=new Map,o={},i={},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 M6(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())s.set(g,p);h.html.import&&Object.assign(o,h.html.import)}h.theme&&t2(i,h.theme)}Object.keys(i).length>0&&(t.theme=i),e.size&&(t.nodes=[...e]);const c=Object.keys(o).length>0,u=s.size>0;(c||u)&&(t.html={},c&&(t.html.import=o),u&&(t.html.export=s));for(const d of l)d.init(t);return t.onError||(t.onError=P6),t}};function j6(n,t){const e=s2.fromEditor(n).extensionNameMap.get(t);return e?e.getExtensionDependency():void 0}const o2=ye("INSERT_HORIZONTAL_RULE_COMMAND");let R0=class i2 extends so{static getType(){return"horizontalrule"}static clone(t){return new i2(t.__key)}static importJSON(t){return l2().updateFromJSON(t)}static importDOM(){return{hr:()=>({conversion:F6,priority:0})}}exportDOM(){return{element:document.createElement("hr")}}createDOM(t){const e=document.createElement("hr");return Qe(e,t.theme.hr),e}getTextContent(){return`
|
|
18
|
+
`}isInline(){return!1}updateDOM(){return!1}};function F6(){return{node:l2()}}function l2(){return VT(R0)}function a2(n){return n instanceof R0}function z6(n,t,e,r,s){if(n===null||e.size===0&&r.size===0&&!s)return 0;const o=t._selection,i=n._selection;if(s)return 1;if(!(W(o)&&W(i)&&i.isCollapsed()&&o.isCollapsed()))return 0;const l=(function(x,C,v){const _=x._nodeMap,N=[];for(const E of C){const T=_.get(E);T!==void 0&&N.push(T)}for(const[E,T]of v){if(!T)continue;const I=_.get(E);I===void 0||Yt(I)||N.push(I)}return N})(t,e,r);if(l.length===0)return 0;if(l.length>1){const x=t._nodeMap,C=x.get(o.anchor.key),v=x.get(i.anchor.key);return C&&v&&!n._nodeMap.has(C.__key)&&oe(C)&&C.__text.length===1&&o.anchor.offset===1?2:0}const c=l[0],u=n._nodeMap.get(c.__key);if(!oe(u)||!oe(c)||u.__mode!==c.__mode)return 0;const d=u.__text,h=c.__text;if(d===h)return 0;const g=o.anchor,p=i.anchor;if(g.key!==p.key||g.type!=="text")return 0;const m=g.offset,y=p.offset,w=h.length-d.length;return w===1&&y===m-1?2:w===-1&&y===m+1?3:w===-1&&y===m?4:0}function U6(n,t){let e=Date.now(),r=0;return(s,o,i,l,c,u)=>{const d=Date.now();if(u.has(xl))return r=0,e=d,2;const h=z6(s,o,l,c,n.isComposing()),g=(()=>{const p=i===null||i.editor===n,m=u.has(l4);if(!m&&p&&u.has(Xr))return 0;if(s===null)return 1;const y=o._selection;if(!(l.size>0||c.size>0))return y!==null?0:2;const w=typeof t=="number"?t:t.peek();return m===!1&&h!==0&&h===r&&d<e+w&&p||l.size===1&&(function(x,C,v){const _=C._nodeMap.get(x),N=v._nodeMap.get(x),E=C._selection,T=v._selection;return!(W(E)&&W(T)&&E.anchor.type==="element"&&E.focus.type==="element"&&T.anchor.type==="text"&&T.focus.type==="text"||!oe(_)||!oe(N)||_.__parent!==N.__parent)&&JSON.stringify(C.read(()=>_.exportJSON()))===JSON.stringify(v.read(()=>N.exportJSON()))})(Array.from(l)[0],s,o)?0:1})();return e=d,r=h,g}}function a1(n){n.undoStack=[],n.redoStack=[],n.current=null}function c2(n,t,e){const r=U6(n,e);return Xe(n.registerCommand(ac,()=>((function(o,i){const l=i.redoStack,c=i.undoStack;if(c.length!==0){const u=i.current,d=c.pop();u!==null&&(l.push(u),o.dispatchCommand(Na,!0)),c.length===0&&o.dispatchCommand(Ia,!1),i.current=d||null,d&&d.editor.setEditorState(d.editorState,{tag:xl})}})(n,t),!0),Fe),n.registerCommand(jl,()=>((function(o,i){const l=i.redoStack,c=i.undoStack;if(l.length!==0){const u=i.current;u!==null&&(c.push(u),o.dispatchCommand(Ia,!0));const d=l.pop();l.length===0&&o.dispatchCommand(Na,!1),i.current=d||null,d&&d.editor.setEditorState(d.editorState,{tag:xl})}})(n,t),!0),Fe),n.registerCommand(ag,()=>(a1(t),!1),Fe),n.registerCommand(Tb,()=>(a1(t),n.dispatchCommand(Na,!1),n.dispatchCommand(Ia,!1),!0),Fe),n.registerUpdateListener(({editorState:o,prevEditorState:i,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(i,o,d,l,c,u);if(m===1)h.length!==0&&(t.redoStack=[],n.dispatchCommand(Na,!1)),d!==null&&(g.push({...d}),n.dispatchCommand(Ia,!0));else if(m===2)return;t.current={editor:n,editorState:o}}))}function B0(){return{current:null,redoStack:[],undoStack:[]}}const nA={build:(n,{delay:t,createInitialHistoryState:e,disabled:r})=>D0({delay:t,disabled:r,historyState:e(n)}),config:{createInitialHistoryState:B0,delay:300,disabled:typeof window>"u"},name:"@lexical/history/History",register:(n,t,e)=>{const r=e.getOutput();return Fu(()=>r.disabled.value?void 0:c2(n,r.historyState.value,r.delay))}};J4(nA,{createInitialHistoryState:()=>{throw new Error("SharedHistory did not inherit parent history")},disabled:!0});function u2({delay:n,externalHistoryState:t}){const[e]=Ee();return(function(r,s,o=1e3){const i=k.useMemo(()=>s||B0(),[s]);k.useEffect(()=>c2(r,i,o),[o,r,i])})(e,t,n),null}const d2=new Map;class K6{constructor(t){this.room=t,this.onmessage=null,this._onChange=e=>e.key===t&&this.onmessage!==null&&this.onmessage({data:_5(e.newValue||"")}),o5(this._onChange)}postMessage(t){__.setItem(this.room,T5(x5(t)))}close(){i5(this._onChange)}}const W6=typeof BroadcastChannel>"u"?K6:BroadcastChannel,P0=n=>oo(d2,n,()=>{const t=Ni(),e=new W6(n);return e.onmessage=r=>t.forEach(s=>s(r.data,"broadcastchannel")),{bc:e,subs:t}}),H6=(n,t)=>(P0(n).subs.add(t),t),Y6=(n,t)=>{const e=P0(n),r=e.subs.delete(t);return r&&e.subs.size===0&&(e.bc.close(),d2.delete(n)),r},_a=(n,t,e=null)=>{const r=P0(n);r.bc.postMessage(t),r.subs.forEach(s=>s(t,e))},f2=0,j0=1,h2=2,vy=(n,t)=>{je(n,f2);const e=Pz(t);sn(n,e)},g2=(n,t,e)=>{je(n,j0),sn(n,Dz(t,e))},Z6=(n,t,e)=>g2(t,e,Yn(n)),p2=(n,t,e,r)=>{try{Iz(t,Yn(n),e)}catch(s){r!=null&&r(s),console.error("Caught error while handling a Yjs update",s)}},G6=(n,t)=>{je(n,h2),sn(n,t)},J6=p2,V6=(n,t,e,r,s)=>{const o=Je(n);switch(o){case f2:Z6(n,t,e);break;case j0:p2(n,e,r,s);break;case h2:J6(n,e,r,s);break;default:throw new Error("Unknown message type")}return o},Q6=0,X6=(n,t,e)=>{switch(Je(n)){case Q6:e(t,bi(n))}},rA=3e4;class q6 extends C_{constructor(t){super(),this.doc=t,this.clientID=t.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=>{const e=Ii();this.getLocalState()!==null&&rA/2<=e-this.meta.get(this.clientID).lastUpdated&&this.setLocalState(this.getLocalState());const r=[];this.meta.forEach((s,o)=>{o!==this.clientID&&rA<=e-s.lastUpdated&&this.states.has(o)&&r.push(o)}),r.length>0&&F0(this,r,"timeout")},ks(rA/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),s=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:s,lastUpdated:Ii()});const i=[],l=[],c=[],u=[];t===null?u.push(e):o==null?t!=null&&i.push(e):(l.push(e),ja(o,t)||c.push(e)),(i.length>0||c.length>0||u.length>0)&&this.emit("change",[{added:i,updated:c,removed:u},"local"]),this.emit("update",[{added:i,updated:l,removed:u},"local"])}setLocalStateField(t,e){const r=this.getLocalState();r!==null&&this.setLocalState({...r,[t]:e})}getStates(){return this.states}}const F0=(n,t,e)=>{const r=[];for(let s=0;s<t.length;s++){const o=t[s];if(n.states.has(o)){if(n.states.delete(o),o===n.clientID){const i=n.meta.get(o);n.meta.set(o,{clock:i.clock+1,lastUpdated:Ii()})}r.push(o)}}r.length>0&&(n.emit("change",[{added:[],updated:[],removed:r},e]),n.emit("update",[{added:[],updated:[],removed:r},e]))},gu=(n,t,e=n.states)=>{const r=t.length,s=Zn();je(s,r);for(let o=0;o<r;o++){const i=t[o],l=e.get(i)||null,c=n.meta.get(i).clock;je(s,i),je(s,c),gl(s,JSON.stringify(l))}return Xt(s)},$6=(n,t,e)=>{const r=zi(t),s=Ii(),o=[],i=[],l=[],c=[],u=Je(r);for(let d=0;d<u;d++){const h=Je(r);let g=Je(r);const p=JSON.parse(bi(r)),m=n.meta.get(h),y=n.states.get(h),w=m===void 0?0:m.clock;(w<g||w===g&&p===null&&n.states.has(h))&&(p===null?h===n.clientID&&n.getLocalState()!=null?g++:n.states.delete(h):n.states.set(h,p),n.meta.set(h,{clock:g,lastUpdated:s}),m===void 0&&p!==null?o.push(h):m!==void 0&&p===null?c.push(h):p!==null&&(ja(p,y)||l.push(h),i.push(h)))}(o.length>0||l.length>0||c.length>0)&&n.emit("change",[{added:o,updated:l,removed:c},e]),(o.length>0||i.length>0||c.length>0)&&n.emit("update",[{added:o,updated:i,removed:c},e])},eU=n=>d5(n,(t,e)=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&"),sl=0,m2=3,Wa=1,tU=2,fd=[];fd[sl]=(n,t,e,r,s)=>{je(n,sl);const o=V6(t,n,e.doc,e);r&&o===j0&&!e.synced&&(e.synced=!0)};fd[m2]=(n,t,e,r,s)=>{je(n,Wa),sn(n,gu(e.awareness,Array.from(e.awareness.getStates().keys())))};fd[Wa]=(n,t,e,r,s)=>{$6(e.awareness,Yn(t),e)};fd[tU]=(n,t,e,r,s)=>{X6(t,e.doc,(o,i)=>nU(e,i))};const c1=3e4,nU=(n,t)=>console.warn(`Permission denied to access ${n.url}.
|
|
19
|
+
${t}`),A2=(n,t,e)=>{const r=zi(t),s=Zn(),o=Je(r),i=n.messageHandlers[o];return i?i(s,r,n,e,o):console.error("Unable to compute message"),s},y2=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=Ii();const r=A2(n,new Uint8Array(e.data),!0);n0(r)>1&&t.send(Xt(r))},t.onerror=e=>{n.emit("connection-error",[e,n])},t.onclose=e=>{n.emit("connection-close",[e,n]),n.ws=null,n.wsconnecting=!1,n.wsconnected?(n.wsconnected=!1,n.synced=!1,F0(n.awareness,Array.from(n.awareness.getStates().keys()).filter(r=>r!==n.doc.clientID),n),n.emit("status",[{status:"disconnected"}])):n.wsUnsuccessfulReconnects++,setTimeout(y2,t0(E3(2,n.wsUnsuccessfulReconnects)*100,n.maxBackoffTime),n)},t.onopen=()=>{n.wsLastMessageReceived=Ii(),n.wsconnecting=!1,n.wsconnected=!0,n.wsUnsuccessfulReconnects=0,n.emit("status",[{status:"connected"}]);const e=Zn();if(je(e,sl),vy(e,n.doc),t.send(Xt(e)),n.awareness.getLocalState()!==null){const r=Zn();je(r,Wa),sn(r,gu(n.awareness,[n.doc.clientID])),t.send(Xt(r))}},n.emit("status",[{status:"connecting"}])}},sA=(n,t)=>{const e=n.ws;n.wsconnected&&e&&e.readyState===e.OPEN&&e.send(t),n.bcconnected&&_a(n.bcChannel,t,n)};class b2 extends C_{constructor(t,e,r,{connect:s=!0,awareness:o=new q6(r),params:i={},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=eU(i);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=fd.slice(),this._synced=!1,this.ws=null,this.wsLastMessageReceived=0,this.shouldConnect=s,this._resyncInterval=0,c>0&&(this._resyncInterval=setInterval(()=>{if(this.ws&&this.ws.readyState===WebSocket.OPEN){const g=Zn();je(g,sl),vy(g,r),this.ws.send(Xt(g))}},c)),this._bcSubscriber=(g,p)=>{if(p!==this){const m=A2(this,new Uint8Array(g),!1);n0(m)>1&&_a(this.bcChannel,Xt(m),this)}},this._updateHandler=(g,p)=>{if(p!==this){const m=Zn();je(m,sl),G6(m,g),sA(this,Xt(m))}},this.doc.on("update",this._updateHandler),this._awarenessUpdateHandler=({added:g,updated:p,removed:m},y)=>{const w=g.concat(p).concat(m),x=Zn();je(x,Wa),sn(x,gu(o,w)),sA(this,Xt(x))},this._exitHandler=()=>{F0(this.awareness,[r.clientID],"app closed")},Mi&&typeof process<"u"&&process.on("exit",this._exitHandler),o.on("update",this._awarenessUpdateHandler),this._checkInterval=setInterval(()=>{this.wsconnected&&c1<Ii()-this.wsLastMessageReceived&&this.ws.close()},c1/10),s&&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(),Mi&&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||(H6(this.bcChannel,this._bcSubscriber),this.bcconnected=!0);const t=Zn();je(t,sl),vy(t,this.doc),_a(this.bcChannel,Xt(t),this);const e=Zn();je(e,sl),g2(e,this.doc),_a(this.bcChannel,Xt(e),this);const r=Zn();je(r,m2),_a(this.bcChannel,Xt(r),this);const s=Zn();je(s,Wa),sn(s,gu(this.awareness,[this.doc.clientID])),_a(this.bcChannel,Xt(s),this)}disconnectBc(){const t=Zn();je(t,Wa),sn(t,gu(this.awareness,[this.doc.clientID],new Map)),sA(this,Xt(t)),this.bcconnected&&(Y6(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&&(y2(this),this.connectBc())}}const rU="0.7.13",sU={version:rU},oU=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","languageSearchPlaceholder":"Search for a language...","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","tools":{"frameTool":"Frame tool","webEmbed":"Web Embed","generate":"Generate"}}},"other":{"title":"Other","documents":{"empty":"You have no nested documents","loading":"Loading 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","name":"Name","save":"Save","remove":"Remove","edit":"Edit","copy":"Copy","type":{"web":"Web link","phone":"Phone number","email":"Email address","sms":"SMS message"}},"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"},"composer":{"discardCommentTitle":"Close without saving?","discardCommentDescription":"Your entered content will be lost.","discardConfirm":"Close","cancel":"Continue","replaceComment":{"title":"Comment already exists","description":"You have selected text that already contains a comment.\\nThe previous comment will be removed.","confirm":"Replace","cancel":"Cancel"},"uploadErrors":{"fileTooLarge":"The file is too large — the maximum size is 5 MB.","tooManyFiles":"You cannot upload more than 10 files."},"placeholder":"Add comment"},"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"}`),iU={editor:oU},lU=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","languageSearchPlaceholder":"Buscar un idioma...","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","tools":{"frameTool":"Herramienta de marco","webEmbed":"Incrustación web","generate":"Generar"}}},"other":{"title":"Otros","documents":{"empty":"No tienes documentos anidados","loading":"Cargando documentos...","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","name":"Nombre","save":"Guardar","remove":"Eliminar","edit":"Editar","copy":"Copiar","type":{"web":"Enlace web","phone":"Número de teléfono","email":"Dirección de correo electrónico","sms":"Mensaje SMS"}},"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"},"composer":{"discardCommentTitle":"¿Cerrar sin guardar?","discardCommentDescription":"Tu contenido ingresado se perderá.","discardConfirm":"Cerrar","cancel":"Continuar","replaceComment":{"title":"El comentario ya existe","description":"Has seleccionado un texto que ya contiene un comentario.\\nEl comentario anterior será eliminado.","confirm":"Reemplazar","cancel":"Cancelar"},"uploadErrors":{"fileTooLarge":"El archivo es demasiado grande — el tamaño máximo es de 5 MB.","tooManyFiles":"No puedes subir más de 10 archivos."},"placeholder":"Agregar comentario"},"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"}`),aU={editor:lU},cU=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 чтобы выйти из блока кода","languageSearchPlaceholder":"Найти язык...","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":"Работайте с векторной графикой","tools":{"frameTool":"Инструмент рамки","webEmbed":"Веб-встраивание","generate":"Генерировать"}}},"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":"У вас нет вложенных документов","loading":"Загрузка документов...","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":"Ссылка","name":"Название","save":"Сохранить","remove":"Удалить","edit":"Редактировать","copy":"Копировать","type":{"web":"Веб-ссылка","phone":"Номер телефона","email":"Адрес почты","sms":"SMS сообщение"}},"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":"Множество интеграций от сторонних сервисов"},"composer":{"discardCommentTitle":"Закрыть без сохранения?","discardCommentDescription":"Ваш введённый контент будет утерян.","discardConfirm":"Закрыть","cancel":"Продолжить","replaceComment":{"title":"Комментарий уже существует","description":"Вы выделили текст, который уже содержит комментарий.\\nПредыдущий комментарий будет удалён.","confirm":"Заменить","cancel":"Отмена"},"uploadErrors":{"fileTooLarge":"Файл слишком большой — максимальный размер 5 МБ.","tooManyFiles":"Нельзя загружать больше 10 файлов."},"placeholder":"Добавить комментарий"},"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":"Отменить"}`),uU={editor:cU},Sy=_F.createInstance();Sy.use(ot.initReactI18next).init({resources:{en:{translation:iU,ui:bt.enUI},ru:{translation:uU,ui:bt.ruUI},es:{translation:aU,ui:bt.esUI}},lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}}).then(()=>{}).catch(n=>{});let lo=class extends so{constructor(e,r){super(r);j(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 Oh(n){return n instanceof lo}function u1(n,t){return n.getEditorState().read(()=>{const e=be(t);return e!==null&&e.isSelected()})}function Rg(n){const[t]=Ee(),[e,r]=k.useState(()=>u1(t,n));return k.useEffect(()=>{let s=!0;const o=t.registerUpdateListener(()=>{s&&r(u1(t,n))});return()=>{s=!1,o()}},[t,n]),[e,k.useCallback(s=>{t.update(()=>{let o=Z();Kt(o)||(o=dg(),Ze(o)),Kt(o)&&(s?o.add(n):o.delete(n))})},[t,n]),k.useCallback(()=>{t.update(()=>{const s=Z();Kt(s)&&s.clear()})},[t])]}function Ml({children:n,format:t,nodeKey:e,className:r}){const[s]=Ee(),[o,i,l]=Rg(e),c=k.useRef(null);return k.useEffect(()=>Xe(s.registerCommand(hi,u=>{if(o){const d=Z();if(Kt(d)){const h=be(e);Oh(h)&&h.setFormat(u)}else if(W(d)){const h=d.getNodes();for(const g of h)Oh(g)?g.setFormat(u):gc(g).setFormat(u)}return!0}return!1},Se),s.registerCommand(Zo,u=>u.target===c.current&&(u.preventDefault(),u.shiftKey||l(),i(!o),!0),Se)),[l,s,o,e,i]),A.jsx("div",{className:[r.base,o?r.focus:null].filter(Boolean).join(" "),ref:c,style:{textAlign:t||void 0},children:n})}function Bg(){const n=k.useRef(null),t=k.useCallback(()=>{var r;return(r=n.current)==null||r.abort(),n.current=new AbortController,n.current.signal},[]),e=k.useCallback(()=>{var r;(r=n.current)==null||r.abort(),n.current=null},[]);return{start:t,cancel:e}}function dU(){const[n,t]=k.useState(!1),e=()=>t(!0),r=()=>t(!1);return k.useEffect(()=>{const s=o=>{n&&(o.preventDefault(),o.returnValue="")};return n&&window.addEventListener("beforeunload",s),()=>{n&&window.removeEventListener("beforeunload",s)}},[n]),{startLoading:e,stopLoading:r}}var ol=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fU(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var oA={exports:{}},d1;function hU(){return d1||(d1=1,(function(n){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
20
|
+
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
21
|
+
*
|
|
22
|
+
* @license MIT <https://opensource.org/licenses/MIT>
|
|
23
|
+
* @author Lea Verou <https://lea.verou.me>
|
|
24
|
+
* @namespace
|
|
25
|
+
* @public
|
|
26
|
+
*/var e=(function(r){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,i={},l={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function C(v){return v instanceof c?new c(v.type,C(v.content),v.alias):Array.isArray(v)?v.map(C):v.replace(/&/g,"&").replace(/</g,"<").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(v,_){_=_||{};var N,E;switch(l.util.type(v)){case"Object":if(E=l.util.objId(v),_[E])return _[E];N={},_[E]=N;for(var T in v)v.hasOwnProperty(T)&&(N[T]=C(v[T],_));return N;case"Array":return E=l.util.objId(v),_[E]?_[E]:(N=[],_[E]=N,v.forEach(function(I,M){N[M]=C(I,_)}),N);default:return v}},getLanguage:function(C){for(;C;){var v=s.exec(C.className);if(v)return v[1].toLowerCase();C=C.parentElement}return"none"},setLanguage:function(C,v){C.className=C.className.replace(RegExp(s,"gi"),""),C.classList.add("language-"+v)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(N){var C=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(N.stack)||[])[1];if(C){var v=document.getElementsByTagName("script");for(var _ in v)if(v[_].src==C)return v[_]}return null}},isActive:function(C,v,_){for(var N="no-"+v;C;){var E=C.classList;if(E.contains(v))return!0;if(E.contains(N))return!1;C=C.parentElement}return!!_}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(C,v){var _=l.util.clone(l.languages[C]);for(var N in v)_[N]=v[N];return _},insertBefore:function(C,v,_,N){N=N||l.languages;var E=N[C],T={};for(var I in E)if(E.hasOwnProperty(I)){if(I==v)for(var M in _)_.hasOwnProperty(M)&&(T[M]=_[M]);_.hasOwnProperty(I)||(T[I]=E[I])}var O=N[C];return N[C]=T,l.languages.DFS(l.languages,function(P,F){F===O&&P!=C&&(this[P]=T)}),T},DFS:function C(v,_,N,E){E=E||{};var T=l.util.objId;for(var I in v)if(v.hasOwnProperty(I)){_.call(v,I,v[I],N||I);var M=v[I],O=l.util.type(M);O==="Object"&&!E[T(M)]?(E[T(M)]=!0,C(M,_,null,E)):O==="Array"&&!E[T(M)]&&(E[T(M)]=!0,C(M,_,I,E))}}},plugins:{},highlightAll:function(C,v){l.highlightAllUnder(document,C,v)},highlightAllUnder:function(C,v,_){var N={callback:_,container:C,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",N),N.elements=Array.prototype.slice.apply(N.container.querySelectorAll(N.selector)),l.hooks.run("before-all-elements-highlight",N);for(var E=0,T;T=N.elements[E++];)l.highlightElement(T,v===!0,N.callback)},highlightElement:function(C,v,_){var N=l.util.getLanguage(C),E=l.languages[N];l.util.setLanguage(C,N);var T=C.parentElement;T&&T.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(T,N);var I=C.textContent,M={element:C,language:N,grammar:E,code:I};function O(F){M.highlightedCode=F,l.hooks.run("before-insert",M),M.element.innerHTML=M.highlightedCode,l.hooks.run("after-highlight",M),l.hooks.run("complete",M),_&&_.call(M.element)}if(l.hooks.run("before-sanity-check",M),T=M.element.parentElement,T&&T.nodeName.toLowerCase()==="pre"&&!T.hasAttribute("tabindex")&&T.setAttribute("tabindex","0"),!M.code){l.hooks.run("complete",M),_&&_.call(M.element);return}if(l.hooks.run("before-highlight",M),!M.grammar){O(l.util.encode(M.code));return}if(v&&r.Worker){var P=new Worker(l.filename);P.onmessage=function(F){O(F.data)},P.postMessage(JSON.stringify({language:M.language,code:M.code,immediateClose:!0}))}else O(l.highlight(M.code,M.grammar,M.language))},highlight:function(C,v,_){var N={code:C,grammar:v,language:_};if(l.hooks.run("before-tokenize",N),!N.grammar)throw new Error('The language "'+N.language+'" has no grammar.');return N.tokens=l.tokenize(N.code,N.grammar),l.hooks.run("after-tokenize",N),c.stringify(l.util.encode(N.tokens),N.language)},tokenize:function(C,v){var _=v.rest;if(_){for(var N in _)v[N]=_[N];delete v.rest}var E=new h;return g(E,E.head,C),d(C,E,v,E.head,0),m(E)},hooks:{all:{},add:function(C,v){var _=l.hooks.all;_[C]=_[C]||[],_[C].push(v)},run:function(C,v){var _=l.hooks.all[C];if(!(!_||!_.length))for(var N=0,E;E=_[N++];)E(v)}},Token:c};r.Prism=l;function c(C,v,_,N){this.type=C,this.content=v,this.alias=_,this.length=(N||"").length|0}c.stringify=function C(v,_){if(typeof v=="string")return v;if(Array.isArray(v)){var N="";return v.forEach(function(O){N+=C(O,_)}),N}var E={type:v.type,content:C(v.content,_),tag:"span",classes:["token",v.type],attributes:{},language:_},T=v.alias;T&&(Array.isArray(T)?Array.prototype.push.apply(E.classes,T):E.classes.push(T)),l.hooks.run("wrap",E);var I="";for(var M in E.attributes)I+=" "+M+'="'+(E.attributes[M]||"").replace(/"/g,""")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+I+">"+E.content+"</"+E.tag+">"};function u(C,v,_,N){C.lastIndex=v;var E=C.exec(_);if(E&&N&&E[1]){var T=E[1].length;E.index+=T,E[0]=E[0].slice(T)}return E}function d(C,v,_,N,E,T){for(var I in _)if(!(!_.hasOwnProperty(I)||!_[I])){var M=_[I];M=Array.isArray(M)?M:[M];for(var O=0;O<M.length;++O){if(T&&T.cause==I+","+O)return;var P=M[O],F=P.inside,z=!!P.lookbehind,H=!!P.greedy,te=P.alias;if(H&&!P.pattern.global){var le=P.pattern.toString().match(/[imsuy]*$/)[0];P.pattern=RegExp(P.pattern.source,le+"g")}for(var ce=P.pattern||P,ne=N.next,X=E;ne!==v.tail&&!(T&&X>=T.reach);X+=ne.value.length,ne=ne.next){var he=ne.value;if(v.length>C.length)return;if(!(he instanceof c)){var q=1,K;if(H){if(K=u(ce,X,C,z),!K||K.index>=C.length)break;var ue=K.index,J=K.index+K[0].length,ee=X;for(ee+=ne.value.length;ue>=ee;)ne=ne.next,ee+=ne.value.length;if(ee-=ne.value.length,X=ee,ne.value instanceof c)continue;for(var ie=ne;ie!==v.tail&&(ee<J||typeof ie.value=="string");ie=ie.next)q++,ee+=ie.value.length;q--,he=C.slice(X,ee),K.index-=X}else if(K=u(ce,0,he,z),!K)continue;var ue=K.index,se=K[0],Ae=he.slice(0,ue),Ne=he.slice(ue+se.length),pe=X+he.length;T&&pe>T.reach&&(T.reach=pe);var Ie=ne.prev;Ae&&(Ie=g(v,Ie,Ae),X+=Ae.length),p(v,Ie,q);var $e=new c(I,F?l.tokenize(se,F):se,te,se);if(ne=g(v,Ie,$e),Ne&&g(v,ne,Ne),q>1){var pt={cause:I+","+O,reach:pe};d(C,v,_,ne.prev,X,pt),T&&pt.reach>T.reach&&(T.reach=pt.reach)}}}}}}function h(){var C={value:null,prev:null,next:null},v={value:null,prev:C,next:null};C.next=v,this.head=C,this.tail=v,this.length=0}function g(C,v,_){var N=v.next,E={value:_,prev:v,next:N};return v.next=E,N.prev=E,C.length++,E}function p(C,v,_){for(var N=v.next,E=0;E<_&&N!==C.tail;E++)N=N.next;v.next=N,N.prev=v,C.length-=E}function m(C){for(var v=[],_=C.head.next;_!==C.tail;)v.push(_.value),_=_.next;return v}if(!r.document)return r.addEventListener&&(l.disableWorkerMessageHandler||r.addEventListener("message",function(C){var v=JSON.parse(C.data),_=v.language,N=v.code,E=v.immediateClose;r.postMessage(l.highlight(N,l.languages[_],_)),E&&r.close()},!1)),l;var y=l.util.currentScript();y&&(l.filename=y.src,y.hasAttribute("data-manual")&&(l.manual=!0));function w(){l.manual||l.highlightAll()}if(!l.manual){var x=document.readyState;x==="loading"||x==="interactive"&&y&&y.defer?document.addEventListener("DOMContentLoaded",w):window.requestAnimationFrame?window.requestAnimationFrame(w):window.setTimeout(w,16)}return l})(t);n.exports&&(n.exports=e),typeof ol<"u"&&(ol.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(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(s,o){var i={};i["language-"+o]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[o]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var l={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};l["language-"+o]={pattern:/[\s\S]+/,inside:e.languages[o]};var c={};c[s]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return s}),"i"),lookbehind:!0,greedy:!0,inside:l},e.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(r,s){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:[s,"language-"+s],inside:e.languages[s]},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 s=/(?:"(?:\\(?:\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+"|"+s.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\\((?:"+s.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+s.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:s,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…",s=function(y,w){return"✖ Error "+y+" while fetching file: "+w},o="✖ Error: File does not exist or is empty",i={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},l="data-src-status",c="loading",u="loaded",d="failed",h="pre[data-src]:not(["+l+'="'+u+'"]):not(['+l+'="'+c+'"])';function g(y,w,x){var C=new XMLHttpRequest;C.open("GET",y,!0),C.onreadystatechange=function(){C.readyState==4&&(C.status<400&&C.responseText?w(C.responseText):C.status>=400?x(s(C.status,C.statusText)):x(o))},C.send(null)}function p(y){var w=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y||"");if(w){var x=Number(w[1]),C=w[2],v=w[3];return C?v?[x,Number(v)]:[x,void 0]:[x,x]}}e.hooks.add("before-highlightall",function(y){y.selector+=", "+h}),e.hooks.add("before-sanity-check",function(y){var w=y.element;if(w.matches(h)){y.code="",w.setAttribute(l,c);var x=w.appendChild(document.createElement("CODE"));x.textContent=r;var C=w.getAttribute("data-src"),v=y.language;if(v==="none"){var _=(/\.(\w+)$/.exec(C)||[,"none"])[1];v=i[_]||_}e.util.setLanguage(x,v),e.util.setLanguage(w,v);var N=e.plugins.autoloader;N&&N.loadLanguages(v),g(C,function(E){w.setAttribute(l,u);var T=p(w.getAttribute("data-range"));if(T){var I=E.split(/\r\n?|\n/g),M=T[0],O=T[1]==null?I.length:T[1];M<0&&(M+=I.length),M=Math.max(0,Math.min(M-1,I.length)),O<0&&(O+=I.length),O=Math.max(0,Math.min(O,I.length)),E=I.slice(M,O).join(`
|
|
27
|
+
`),w.hasAttribute("data-start")||w.setAttribute("data-start",String(M+1))}x.textContent=E,e.highlightElement(x)},function(E){w.setAttribute(l,d),x.textContent=E})}}),e.plugins.fileHighlight={highlight:function(w){for(var x=(w||document).querySelectorAll(h),C=0,v;v=x[C++];)e.highlightElement(v)}};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)}})()})(oA)),oA.exports}hU();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(/&/,"&"))});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 s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};s["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:s},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,s=/\|?__(?:\|__)+\|?(?:(?:\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("^"+s+o+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+o+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:e(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:e(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:e(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:e(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(d){["url","bold","italic","strike","code-snippet"].forEach(function(h){d!==h&&(n.languages.markdown[d].inside.content.inside[h]=n.languages.markdown[h])})}),n.hooks.add("after-tokenize",function(d){if(d.language!=="markdown"&&d.language!=="md")return;function h(g){if(!(!g||typeof g=="string"))for(var p=0,m=g.length;p<m;p++){var y=g[p];if(y.type!=="code"){h(y.content);continue}var w=y.content[1],x=y.content[3];if(w&&x&&w.type==="code-language"&&x.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 v="language-"+C;x.alias?typeof x.alias=="string"?x.alias=[x.alias,v]:x.alias.push(v):x.alias=[v]}}}h(d.tokens)}),n.hooks.add("wrap",function(d){if(d.type==="code-block"){for(var h="",g=0,p=d.classes.length;g<p;g++){var m=d.classes[g],y=/language-(.+)/.exec(m);if(y){h=y[1];break}}var w=n.languages[h];if(w)d.content=n.highlight(u(d.content),w,h);else if(h&&h!=="none"&&n.plugins.autoloader){var x="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);d.attributes.id=x,n.plugins.autoloader.loadLanguages(h,function(){var C=document.getElementById(x);C&&(C.innerHTML=n.highlight(C.textContent,n.languages[h],h))})}}});var i=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(i,"");return h=h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(g,p){if(p=p.toLowerCase(),p[0]==="#"){var m;return p[1]==="x"?m=parseInt(p.slice(2),16):m=Number(p.slice(1)),c(m)}else{var y=l[p];return y||g}}),h}n.languages.md=n.languages.markdown})(Prism);Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/});Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}});Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}});Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/});delete Prism.languages.c.boolean;(function(n){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var e=n.languages.markup;e&&(e.tag.addInlined("style","css"),e.tag.addAttribute("style","css"))})(Prism);Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/});delete Prism.languages.objectivec["class-name"];Prism.languages.objc=Prism.languages.objectivec;Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(n){var t=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}})(Prism);var f1={},h1;function gU(){return h1||(h1=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://,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),f1}gU();var g1={},p1;function pU(){return p1||(p1=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)),g1}pU();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 m1={},A1;function mU(){return A1||(A1=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)),m1}mU();var y1={},b1;function AU(){return b1||(b1=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)),y1}AU();var w1={},C1;function yU(){return C1||(C1=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)),w1}yU();function Pg(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 bU="javascript";function w2(n,t){for(const e of n.childNodes){if(St(e)&&e.tagName===t)return!0;w2(e,t)}return!1}const tu="data-language",Vc="data-highlight-language",kf="data-theme";let Ci=class C2 extends ft{constructor(e,r){super(r);j(this,"__language");j(this,"__theme");j(this,"__isSyntaxHighlightSupported");this.__language=e||void 0,this.__isSyntaxHighlightSupported=!1,this.__theme=void 0}static getType(){return"code"}static clone(e){return new C2(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");Qe(r,e.theme.code),r.setAttribute("spellcheck","false");const s=this.getLanguage();s&&(r.setAttribute(tu,s),this.getIsSyntaxHighlightSupported()&&r.setAttribute(Vc,s));const o=this.getTheme();o&&r.setAttribute(kf,o);const i=this.getStyle();return i&&r.setAttribute("style",i),r}updateDOM(e,r,s){const o=this.__language,i=e.__language;o?o!==i&&r.setAttribute(tu,o):i&&r.removeAttribute(tu);const l=this.__isSyntaxHighlightSupported;e.__isSyntaxHighlightSupported&&i?l&&o?o!==i&&r.setAttribute(Vc,o):r.removeAttribute(Vc):l&&o&&r.setAttribute(Vc,o);const c=this.__theme,u=e.__theme;c?c!==u&&r.setAttribute(kf,c):u&&r.removeAttribute(kf);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");Qe(r,e._config.theme.code),r.setAttribute("spellcheck","false");const s=this.getLanguage();s&&(r.setAttribute(tu,s),this.getIsSyntaxHighlightSupported()&&r.setAttribute(Vc,s));const o=this.getTheme();o&&r.setAttribute(kf,o);const i=this.getStyle();return i&&r.setAttribute("style",i),{element:r}}static importDOM(){return{code:e=>e.textContent!=null&&(/\r?\n/.test(e.textContent)||w2(e,"BR"))?{conversion:x1,priority:1}:null,div:()=>({conversion:wU,priority:1}),pre:()=>({conversion:x1,priority:0}),table:e=>iA(e)?{conversion:CU,priority:3}:null,td:e=>{const r=e,s=r.closest("table");return r.classList.contains("js-file-line")||s&&iA(s)?{conversion:v1,priority:3}:null},tr:e=>{const r=e.closest("table");return r&&iA(r)?{conversion:v1,priority:3}:null}}}static importJSON(e){return $r().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 s=this.getChildren(),o=s.length;if(o>=2&&s[o-1].getTextContent()===`
|
|
28
|
+
`&&s[o-2].getTextContent()===`
|
|
29
|
+
`&&e.isCollapsed()&&e.anchor.key===this.__key&&e.anchor.offset===o){s[o-1].remove(),s[o-2].remove();const u=Ce();return this.insertAfter(u,r),u}const{anchor:i,focus:l}=e,c=(i.isBefore(l)?i:l).getNode();if(oe(c)){let u=pl(c);const d=[];for(;;)if(zn(u))d.push(ts()),u=u.getNextSibling();else{if(!Vt(u))break;{let x=0;const C=u.getTextContent(),v=u.getTextContentSize();for(;x<v&&C[x]===" ";)x++;if(x!==0&&d.push(z0(" ".repeat(x))),x!==v)break;u=u.getNextSibling()}}const h=c.splitText(i.offset)[0],g=i.offset===0?0:1,p=h.getIndexWithinParent()+g,m=c.getParentOrThrow(),y=[cr(),...d];m.splice(p,0,y);const w=d[d.length-1];w?w.select():i.offset===0?h.selectPrevious():h.getNextSibling().selectNext(0,0)}if(Mr(c)){const{offset:u}=e.anchor;c.splice(u,0,[cr()]),c.select(u+1,u+1)}return null}canIndent(){return!1}collapseAtStart(){const e=Ce();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 $r(n,t){return VT(Ci).setLanguage(n).setTheme(t)}function Mr(n){return n instanceof Ci}function x1(n){return{node:$r(n.getAttribute(tu))}}function wU(n){const t=n,e=S1(t);return e||(function(r){let s=r.parentElement;for(;s!==null;){if(S1(s))return!0;s=s.parentElement}return!1})(t)?{node:e?$r():null}:{node:null}}function CU(){return{node:$r()}}function v1(){return{node:null}}function S1(n){return n.style.fontFamily.match("monospace")!==null}function iA(n){return n.classList.contains("js-file-line-container")}let Ll=class x2 extends Mn{constructor(e="",r,s){super(e,s);j(this,"__highlightType");this.__highlightType=r}static getType(){return"code-highlight"}static clone(e){return new x2(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),s=lA(e.theme,this.__highlightType);return Qe(r,s),r}updateDOM(e,r,s){const o=super.updateDOM(e,r,s),i=lA(s.theme,e.__highlightType),l=lA(s.theme,this.__highlightType);return i!==l&&(i&&Nr(r,i),l&&Qe(r,l)),o}static importJSON(e){return z0().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 $r()}};function lA(n,t){return t&&n&&n.codeHighlight&&n.codeHighlight[t]}function z0(n="",t){return Lt(new Ll(n,t))}function Vt(n){return n instanceof Ll}function v2(n,t){let e=n;for(let r=en(n,t);r&&(Vt(r.origin)||zn(r.origin));r=u3(r))e=r.origin;return e}function pl(n){return v2(n,"previous")}function Ha(n){return v2(n,"next")}function xU(n){const t=pl(n),e=Ha(n);let r=t;for(;r!==null;){if(Vt(r)){const o=_4(r.getTextContent());if(o!==null)return o}if(r===e)break;r=r.getNextSibling()}const s=t.getParent();if(Y(s)){const o=s.getDirection();if(o==="ltr"||o==="rtl")return o}return null}function vU(n,t){let e=null,r=null,s=n,o=t,i=n.getTextContent();for(;;){if(o===0){if(s=s.getPreviousSibling(),s===null)break;if(Vt(s)||zn(s)||It(s)||Pg(167),It(s)){e={node:s,offset:1};break}o=Math.max(0,s.getTextContentSize()-1),i=s.getTextContent()}else o--;const c=i[o];Vt(s)&&c!==" "&&(r={node:s,offset:o})}if(r!==null)return r;let l=null;if(t<n.getTextContentSize())Vt(n)&&(l=n.getTextContent()[t]);else{const c=n.getNextSibling();Vt(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(!Vt(h)||g===m){if(h=h.getNextSibling(),h===null||It(h))return null;Vt(h)&&(g=0,p=h.getTextContent(),m=h.getTextContentSize())}if(Vt(h)){if(p[g]!==" ")return{node:h,offset:g};g++}}})(n,t);return c!==null?c:e}}function SU(n){const t=Ha(n);return It(t)&&Pg(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],s=[];/^\w+$/.test(e)||s.push(/\w+/.exec(e)[0]),e==="diff"&&s.push("bold"),n.languages.diff[e]={pattern:RegExp("^(?:["+r+`].*(?:\r
|
|
30
|
+
?|
|
|
31
|
+
|(?![\\s\\S])))+`,"m"),alias:s,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 Bs=globalThis.Prism||window.Prism,kU={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"},k1={cpp:"cpp",java:"java",javascript:"js",md:"markdown",plaintext:"plain",python:"py",text:"plain",ts:"typescript"};function ky(n){return typeof n=="string"?n:Array.isArray(n)?n.map(ky).join(""):ky(n.content)}function EU(n,t){const e=/^diff-([\w-]+)/i.exec(t),r=n.getTextContent();let s=Bs.tokenize(r,Bs.languages[e?"diff":t]);return e&&(s=(function(o,i){const l=i,c=Bs.languages[l],u={tokens:o},d=Bs.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 Bs.Token("prefix",d[g],g.replace(/^(\w+).*/,"$1"))),y=h.content.filter(N=>typeof N=="string"||N.type!=="prefix"),w=h.content.length-y.length,x=Bs.tokenize(ky(y),c);x.unshift(m());const C=/\r\n|\n/g,v=N=>{const E=[];C.lastIndex=0;let T,I=0;for(;p<w&&(T=C.exec(N));){const M=T.index+T[0].length;E.push(N.slice(I,M)),I=M,E.push(m())}if(E.length!==0)return I<N.length&&E.push(N.slice(I)),E},_=N=>{for(let E=0;E<N.length&&p<w;E++){const T=N[E];if(typeof T=="string"){const I=v(T);I&&(N.splice(E,1,...I),E+=I.length-1)}else if(typeof T.content=="string"){const I=v(T.content);I&&(T.content=I)}else Array.isArray(T.content)?_(T.content):_([T.content])}};_(x),p<w&&x.push(m()),h.content=x}return u.tokens})(s,e[1])),Ey(s)}function Ey(n,t){const e=[];for(const r of n)if(typeof r=="string"){const s=r.split(/(\n|\t)/),o=s.length;for(let i=0;i<o;i++){const l=s[i];l===`
|
|
32
|
+
`||l===`\r
|
|
33
|
+
`?e.push(cr()):l===" "?e.push(ts()):l.length>0&&e.push(z0(l,t))}}else{const{content:s,alias:o}=r;typeof s=="string"?e.push(...Ey([s],r.type==="prefix"&&typeof o=="string"?o:r.type)):Array.isArray(s)&&e.push(...Ey(s,r.type==="unchanged"?void 0:r.type))}return e}const TU={$tokenize(n,t){return EU(n,t||this.defaultLanguage)},defaultLanguage:bU,tokenize(n,t){return Bs.tokenize(n,Bs.languages[t||""]||Bs.languages[this.defaultLanguage])}};function E1(n,t,e){const r=n.getParent();Mr(r)?S2(r,t,e):Vt(n)&&n.replace(ht(n.__text))}function _U(n,t){const e=t.getElementByKey(n.getKey());if(e===null)return;const r=n.getChildren(),s=r.length;if(s===e.__cachedChildrenLength)return;e.__cachedChildrenLength=s;let o="1",i=1;for(let l=0;l<s;l++)It(r[l])&&(o+=`
|
|
34
|
+
`+ ++i);e.setAttribute("data-gutter",o)}const aA=new Set;function S2(n,t,e){const r=n.getKey();n.getLanguage()===void 0&&n.setLanguage(e.defaultLanguage);const s=n.getLanguage()||e.defaultLanguage;if(!(function(o){const i=(function(c){const u=/^diff-([\w-]+)/i.exec(c);return u?u[1]:null})(o),l=i||o;try{return!!l&&Bs.languages.hasOwnProperty(l)}catch{return!1}})(s))return n.getIsSyntaxHighlightSupported()&&n.setIsSyntaxHighlightSupported(!1),void(async function(){})();n.getIsSyntaxHighlightSupported()||n.setIsSyntaxHighlightSupported(!0),aA.has(r)||(aA.add(r),t.update(()=>{(function(o,i){const l=be(o);if(!Mr(l)||!l.isAttached())return;const c=Z();if(!W(c))return void i();const u=c.anchor,d=u.offset,h=u.type==="element"&&It(l.getChildAtIndex(u.offset-1));let g=0;if(!h){const p=u.getNode();g=d+p.getPreviousSiblings().reduce((m,y)=>m+y.getTextContentSize(),0)}if(i()){if(h)return void u.getNode().select(d,d);l.getChildren().some(p=>{const m=oe(p);if(m||It(p)){const y=p.getTextContentSize();if(m&&y>=g)return p.select(g,g),!0;g-=y}return!1})}})(r,()=>{const o=be(r);if(!Mr(o)||!o.isAttached())return!1;const i=o.getLanguage()||e.defaultLanguage,l=e.$tokenize(o,i),c=(function(g,p){let m=0;for(;m<g.length&&T1(g[m],p[m]);)m++;const y=g.length,w=p.length,x=Math.min(y,w)-m;let C=0;for(;C<x;)if(C++,!T1(g[y-C],p[w-C])){C--;break}const v=m,_=y-C,N=p.slice(m,w-C);return{from:v,nodesForReplacement:N,to:_}})(o.getChildren(),l),{from:u,to:d,nodesForReplacement:h}=c;return!(u===d&&!h.length)&&(n.splice(u,d-u,h),!0)})},{onUpdate:()=>{aA.delete(r)},skipTransforms:!0}))}function T1(n,t){return Vt(n)&&Vt(t)&&n.__text===t.__text&&n.__highlightType===t.__highlightType||zn(n)&&zn(t)||It(n)&&It(t)}function il(n){if(!W(n))return!1;const t=n.anchor.getNode(),e=Mr(t)?t:t.getParent(),r=n.focus.getNode(),s=Mr(r)?r:r.getParent();return Mr(e)&&e.is(s)}function k2(n){const t=n.getNodes(),e=[];if(t.length===1&&Mr(t[0]))return e;let r=[];for(let s=0;s<t.length;s++){const o=t[s];Vt(o)||zn(o)||It(o)||Pg(169),It(o)?r.length>0&&(e.push(r),r=[]):r.push(o)}if(r.length>0){const s=n.isBackward()?n.anchor:n.focus,o=Dn(r[0].getKey(),0,"text");s.is(o)||e.push(r)}return e}function _1(n){const t=Z();if(!W(t)||!il(t))return!1;const e=k2(t),r=e.length;if(r===0&&t.isCollapsed())return n===Hs&&t.insertNodes([ts()]),!0;if(r===0&&n===Hs&&t.getTextContent()===`
|
|
35
|
+
`){const s=ts(),o=cr(),i=t.isBackward()?"previous":"next";return t.insertNodes([s,o]),Jb(Vb(jo(_i(s,"next",0),qr(en(o,"next"))),i)),!0}for(let s=0;s<r;s++){const o=e[s];if(o.length>0){let i=o[0];if(s===0&&(i=pl(i)),n===Hs){const l=ts();if(i.insertBefore(l),s===0){const c=t.isBackward()?"focus":"anchor",u=Dn(i.getKey(),0,"text");t[c].is(u)&&t[c].set(l.getKey(),0,"text")}}else zn(i)&&i.remove()}}return!0}function N1(n,t){const e=Z();if(!W(e))return!1;const{anchor:r,focus:s}=e,o=r.offset,i=s.offset,l=r.getNode(),c=s.getNode(),u=n===Xs;if(!il(e)||!Vt(l)&&!zn(l)||!Vt(c)&&!zn(c))return!1;if(!t.altKey){if(e.isCollapsed()){const x=l.getParentOrThrow();if(u&&o===0&&l.getPreviousSibling()===null){if(x.getPreviousSibling()===null)return x.selectPrevious(),t.preventDefault(),!0}else if(!u&&o===l.getTextContentSize()&&l.getNextSibling()===null&&x.getNextSibling()===null)return x.selectNext(),t.preventDefault(),!0}return!1}let d,h;if(l.isBefore(c)?(d=pl(l),h=Ha(c)):(d=pl(c),h=Ha(l)),d==null||h==null)return!1;const g=d.getNodesBetween(h);for(let x=0;x<g.length;x++){const C=g[x];if(!Vt(C)&&!zn(C)&&!It(C))return!1}t.preventDefault(),t.stopPropagation();const p=u?d.getPreviousSibling():h.getNextSibling();if(!It(p))return!0;const m=u?p.getPreviousSibling():p.getNextSibling();if(m==null)return!0;const y=Vt(m)||zn(m)||It(m)?u?pl(m):Ha(m):null;let w=y??m;return p.remove(),g.forEach(x=>x.remove()),n===Xs?(g.forEach(x=>w.insertBefore(x)),w.insertBefore(p)):(w.insertAfter(p),w=p,g.forEach(x=>{w.insertAfter(x),w=x})),e.setTextNodeRange(l,o,c,i),!0}function I1(n,t){const e=Z();if(!W(e))return!1;const{anchor:r,focus:s}=e,o=r.getNode(),i=s.getNode(),l=n===ah;if(!il(e)||!Vt(o)&&!zn(o)||!Vt(i)&&!zn(i))return!1;const c=i;if(xU(c)==="rtl"?!l:l){const u=vU(c,s.offset);if(u!==null){const{node:d,offset:h}=u;It(d)?d.selectNext(0,0):e.setTextNodeRange(d,h,d,h)}else c.getParentOrThrow().selectStart()}else SU(c).select();return t.preventDefault(),t.stopPropagation(),!0}function NU(n,t){if(!n.hasNodes([Ci,Ll]))throw new Error("CodeHighlightPlugin: CodeNode or CodeHighlightNode not registered on editor");t==null&&(t=TU);const e=[];return n._headless!==!0&&e.push(n.registerMutationListener(Ci,r=>{n.getEditorState().read(()=>{for(const[s,o]of r)if(o!=="destroyed"){const i=be(s);i!==null&&_U(i,n)}})},{skipInitialization:!1})),e.push(n.registerNodeTransform(Ci,r=>S2(r,n,t)),n.registerNodeTransform(Mn,r=>E1(r,n,t)),n.registerNodeTransform(Ll,r=>E1(r,n,t)),n.registerCommand(dc,r=>{const s=(function(o){const i=Z();if(!W(i)||!il(i))return null;const l=o?fi:Hs,c=o?fi:YA,u=i.anchor,d=i.focus;if(u.is(d))return c;const h=k2(i);if(h.length!==1)return l;const g=h[0];let p,m;g.length===0&&Pg(285),i.isBackward()?(p=d,m=u):(p=u,m=d);const y=pl(g[0]),w=Ha(g[0]),x=Dn(y.getKey(),0,"text"),C=Dn(w.getKey(),w.getTextContentSize(),"text");return p.isBefore(x)||C.isBefore(m)?l:x.isBefore(p)||m.isBefore(C)?c:l})(r.shiftKey);return s!==null&&(r.preventDefault(),n.dispatchCommand(s,void 0),!0)},Se),n.registerCommand(YA,()=>!!il(Z())&&(qu([ts()]),!0),Se),n.registerCommand(Hs,r=>_1(Hs),Se),n.registerCommand(fi,r=>_1(fi),Se),n.registerCommand(Xs,r=>{const s=Z();if(!W(s))return!1;const{anchor:o}=s,i=o.getNode();return!!il(s)&&(s.isCollapsed()&&o.offset===0&&i.getPreviousSibling()===null&&Mr(i.getParentOrThrow())?(r.preventDefault(),!0):N1(Xs,r))},Se),n.registerCommand(Ti,r=>{const s=Z();if(!W(s))return!1;const{anchor:o}=s,i=o.getNode();return!!il(s)&&(s.isCollapsed()&&o.offset===i.getTextContentSize()&&i.getNextSibling()===null&&Mr(i.getParentOrThrow())?(r.preventDefault(),!0):N1(Ti,r))},Se),n.registerCommand(ah,r=>I1(ah,r),Se),n.registerCommand(HA,r=>I1(HA,r),Se)),Xe(...e)}function IU(){return Me().getTextContent()}function MU(n,t=!0){if(n)return!1;let e=IU();return t&&(e=e.trim()),e===""}function LU(n){if(!MU(n,!1))return!1;const t=Me().getChildren(),e=t.length;if(e>1)return!1;for(let r=0;r<e;r++){const s=t[r];if(tt(s))return!1;if(Y(s)){if(!an(s)||s.__indent!==0)return!1;const o=s.getChildren(),i=o.length;for(let l=0;l<i;l++){const c=o[r];if(!oe(c))return!1}}}return!0}function E2(n){return()=>LU(n)}function DU(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 OU(n,t,e,r){const s=i=>i instanceof e,o=i=>{const l=ht(i.getTextContent());l.setFormat(i.getFormat()),i.replace(l)};return[n.registerNodeTransform(Mn,i=>{if(!i.isSimpleText())return;let l,c=i.getPreviousSibling(),u=i.getTextContent(),d=i;if(oe(c)){const g=c.getTextContent(),p=t(g+u);if(s(c)){if(p===null||(m=>m.getLatest().__mode)(c)!==0)return void o(c);{const m=p.end-g.length;if(m>0){const y=g+u.slice(0,m);if(c.select(),c.setTextContent(y),m===u.length)i.remove();else{const w=u.slice(m);i.setTextContent(w)}return}}}else if(p===null||p.start<g.length)return}let h=0;for(;;){l=t(u);let g,p=l===null?"":u.slice(l.end);if(u=p,p===""){const y=d.getNextSibling();if(oe(y)){p=d.getTextContent()+y.getTextContent();const w=t(p);if(w===null)return void(s(y)?o(y):y.markDirty());if(w.start!==0)return}}if(l===null)return;if(l.start===0&&oe(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&&DU(165,"nodeToReplace");const m=r(g);if(m.setFormat(g.getFormat()),g.replace(m),d==null)return;h=0,c=m}}),n.registerNodeTransform(e,i=>{const l=i.getTextContent(),c=t(l);if(c===null||c.start!==0)return void o(i);if(l.length>c.end)return void i.splitText(c.end);const u=i.getPreviousSibling();oe(u)&&u.isTextEntity()&&(o(u),o(i));const d=i.getNextSibling();oe(d)&&d.isTextEntity()&&(o(d),s(i)&&o(i))})]}let jg=class T2 extends Mn{static getType(){return"hashtag"}static clone(t){return new T2(t.__text,t.__key)}createDOM(t){const e=super.createDOM(t);return Qe(e,t.theme.hashtag),e}static importJSON(t){return _2().updateFromJSON(t)}canInsertTextBefore(){return!1}isTextEntity(){return!0}};function _2(n=""){return Lt(new jg(n))}const RU=new RegExp((function(){const{alpha:n,alphanumeric:t,hashChars:e}=(function(){const s=String.fromCharCode,o="A-Za-zªµºÀ-ÖØ-öø-Ɂɐ-ˁˆ-ˑˠ-ˤˮͺΆΈ-ΊΌΎ-ΡΣ-ώϐ-ϵϷ-ҁҊ-ӎӐ-ӹԀ-ԏԱ-Ֆՙա-ևא-תװ-ײء-غـ-يٮ-ٯٱ-ۓەۥ-ۦۮ-ۯۺ-ۼۿܐܒ-ܯݍ-ݭހ-ޥޱऄ-हऽॐक़-ॡॽঅ-ঌএ-ঐও-নপ-রলশ-হঽৎড়-ঢ়য়-ৡৰ-ৱਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽૐૠ-ૡଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽଡ଼-ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹఅ-ఌఎ-ఐఒ-నప-ళవ-హౠ-ౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠ-ೡഅ-ഌഎ-ഐഒ-നപ-ഹൠ-ൡඅ-ඖක-නඳ-රලව-ෆก-ะา-ำเ-ๆກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆໜ-ໝༀཀ-ཇཉ-ཪྈ-ྋက-အဣ-ဧဩ-ဪၐ-ၕႠ-Ⴥა-ჺჼᄀ-ᅙᅟ-ᆢᆨ-ᇹሀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙶᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦩᧁ-ᧇᨀ-ᨖᴀ-ᶿḀ-ẛẠ-ỹἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₔℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℱℳ-ℹℼ-ℿⅅ-ⅉⰀ-Ⱞⰰ-ⱞⲀ-ⳤⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〆〱-〵〻-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄬㄱ-ㆎㆠ-ㆷㇰ-ㇿ㐀-䶵一-龻ꀀ-ꒌꠀ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢ가-힣豈-鶴侮-頻並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵÀ-ÖØ-öø-ÿĀ-ɏɓ-ɔɖ-ɗəɛɣɨɯɲʉʋʻ̀-ͯḀ-ỿЀ-ӿԀ-ԧⷠ-ⷿꙀ-֑ꚟ-ֿׁ-ׂׄ-ׇׅא-תװ-״-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏؐ-ؚؠ-ٟٮ-ۓە-ۜ۞-۪ۨ-ۯۺ-ۼۿݐ-ݿࢠࢢ-ࢬࣤ-ࣾﭐ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼ-ก-ฺเ-๎ᄀ-ᇿ-ㆅꥠ-가-ힰ-ᄀ-ᅵァ-ヺー-ヾヲ-゚0-9A-Za-zぁ-ゖ゙-ゞ㐀-䶿一-鿿"+s(173824)+"-"+s(177983)+s(177984)+"-"+s(178207)+s(194560)+"-"+s(195103)+"〃々〻";return{alpha:o,alphanumeric:o+"̀-ͯ҃-֑҆-ֹֻ-ֽֿׁ-ׂׄ-ׇׅؐ-ًؕ-ٰٞۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ްँ-ः़ा-्॑-॔ॢ-ॣঁ-ঃ়া-ৄে-ৈো-্ৗৢ-ৣਁ-ਃ਼ਾ-ੂੇ-ੈੋ-੍ੰ-ੱઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣଁ-ଃ଼ା-ୃେ-ୈୋ-୍ୖ-ୗஂா-ூெ-ைொ-்ௗఁ-ఃా-ౄె-ైొ-్ౕ-ౖಂ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕ-ೖം-ഃാ-ൃെ-ൈൊ-്ൗං-ඃ්ා-ුූෘ-ෟෲ-ෳัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-༹༙༵༷༾-༿ཱ-྄྆-྇ྐ-ྗྙ-ྼ࿆ာ-ဲံ-္ၖ-ၙ፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳា-៓៝᠋-᠍ᢩᤠ-ᤫᤰ-᤻ᦰ-ᧀᧈ-ᧉᨗ-ᨛ᷀-᷃⃐-⃥⃜⃡-⃫〪-゙〯-゚ꠂ꠆ꠋꠣ-ꠧﬞ︀-️︠-︣0-9٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩၀-၉០-៩᠐-᠙᥆-᥏᧐-᧙0-9_",hashChars:"#\\uFF03"}})(),r="["+t+"]";return"("+("^|$|[^&/"+t+"]")+")("+("["+e+"]")+")("+r+"*"+("["+n+"]")+r+"*)"})(),"i"),BU={getHashtagMatch:function(n){const t=RU.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 PU(n,t=BU){return Xe(...OU(n,t.getHashtagMatch,jg,e=>_2(e.getTextContent())))}const jU=new Set(["http:","https:","mailto:","sms:","tel:"]);let Xl=class N2 extends ft{constructor(e="",r={},s){super(s);j(this,"__url");j(this,"__target");j(this,"__rel");j(this,"__title");const{target:o=null,rel:i=null,title:l=null}=r;this.__url=e,this.__target=o,this.__rel=i,this.__title=l}static getType(){return"link"}static clone(e){return new N2(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),Qe(r,e.theme.link),r}updateLinkDOM(e,r,s){if(zb(r)){e&&e.__url===this.__url||(r.href=this.sanitizeUrl(this.__url));for(const o of["target","rel","title"]){const i=`__${o}`,l=this[i];e&&e[i]===l||(l?r[o]=l:r.removeAttribute(o))}}}updateDOM(e,r,s){return this.updateLinkDOM(e,r,s),!1}static importDOM(){return{a:e=>({conversion:FU,priority:1})}}static importJSON(e){return xi().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=D1(e);try{const r=new URL(D1(e));if(!jU.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 s=xi(this.__url,{rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(s,r),s}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,r,s){if(!W(r))return!1;const o=r.anchor.getNode(),i=r.focus.getNode();return this.isParentOf(o)&&this.isParentOf(i)&&r.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}};function FU(n){let t=null;if(zb(n)){const e=n.textContent;(e!==null&&e!==""||n.children.length>0)&&(t=xi(n.getAttribute("href")||"",{rel:n.getAttribute("rel"),target:n.getAttribute("target"),title:n.getAttribute("title")}))}return{node:t}}function xi(n="",t){return Lt(new Xl(n,t))}function Tn(n){return n instanceof Xl}let Fg=class I2 extends Xl{constructor(e="",r={},s){super(e,r,s);j(this,"__isUnlinked");this.__isUnlinked=r.isUnlinked!==void 0&&r.isUnlinked!==null&&r.isUnlinked}static getType(){return"autolink"}static clone(e){return new I2(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,s){return super.updateDOM(e,r,s)||e.__isUnlinked!==this.__isUnlinked}static importJSON(e){return M1().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 s=this.getParentOrThrow().insertNewAfter(e,r);if(Y(s)){const o=M1(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return s.append(o),o}return null}};function M1(n="",t){return Lt(new Fg(n,t))}function ll(n){return n instanceof Fg}const vi=ye("TOGGLE_LINK_COMMAND");function L1(n,t){if(n.type==="element"){const e=n.getNode();return Y(e)||(function(r,...s){const o=new URL("https://lexical.dev/docs/error"),i=new URLSearchParams;i.append("code",r);for(const l of s)i.append("v",l);throw o.search=i.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 cA(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:s}=t,o=t.rel===void 0?"noreferrer":t.rel,i=Z();if(i===null||!W(i)&&!Kt(i))return;if(Kt(i)){const d=i.getNodes();return d.length===0?void 0:void d.forEach(h=>{if(e===null){const g=ve(h,p=>!ll(p)&&Tn(p));g&&(g.insertBefore(h),g.getChildren().length===0&&g.remove())}else{const g=ve(h,p=>!ll(p)&&Tn(p));if(g)g.setURL(e),r!==void 0&&g.setTarget(r),o!==void 0&&g.setRel(o);else{const p=xi(e,{rel:o,target:r});h.insertBefore(p),p.append(h)}}})}const l=i.extract();if(e===null){const d=new Set;return void l.forEach(h=>{const g=h.getParent();if(Tn(g)&&!ll(g)){const p=g.getKey();if(d.has(p))return;(function(m,y){const w=new Set(y.filter(T=>m.isParentOf(T)).map(T=>T.getKey())),x=m.getChildren(),C=x.filter(T=>w.has(T.getKey()));if(C.length===x.length)return x.forEach(T=>m.insertBefore(T)),void m.remove();const v=x.findIndex(T=>w.has(T.getKey())),_=x.findLastIndex(T=>w.has(T.getKey())),N=v===0,E=_===x.length-1;if(N)C.forEach(T=>m.insertBefore(T));else if(E)for(let T=C.length-1;T>=0;T--)m.insertAfter(C[T]);else{for(let I=C.length-1;I>=0;I--)m.insertAfter(C[I]);const T=x.slice(_+1);if(T.length>0){const I=xi(m.getURL(),{rel:m.getRel(),target:m.getTarget(),title:m.getTitle()});C[C.length-1].insertAfter(I),T.forEach(M=>I.append(M))}}})(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),s!==void 0&&d.setTitle(s))};if(l.length===1){const d=l[0],h=ve(d,Tn);if(h!==null)return u(h)}(function(d){const h=Z();if(!W(h))return d();const g=Ei(h),p=g.isBackward(),m=L1(g.anchor,p?-1:0),y=L1(g.focus,p?0:-1);if(d(),m||y){const w=Z();if(W(w)){const x=w.clone();if(m){const C=m.getParent();C&&x.anchor.set(C.getKey(),m.getIndexWithinParent()+(p?1:0),"element")}if(y){const C=y.getParent();C&&x.focus.set(C.getKey(),y.getIndexWithinParent()+(p?0:1),"element")}Ze(Ei(x))}}})(()=>{let d=null;for(const h of l){if(!h.isAttached())continue;const g=ve(h,Tn);if(g){u(g);continue}if(Y(h)){if(!h.isInline())continue;if(Tn(h)){if(!(ll(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=xi(e,{rel:o,target:r,title:s}),h.insertAfter(d),d.append(h))}})}const zU=/^\+?[0-9\s()-]{5,}$/;function D1(n){return n.match(/^[a-z][a-z0-9+.-]*:/i)||n.match(/^[/#.]/)?n:n.includes("@")?`mailto:${n}`:zU.test(n)?`tel:${n}`:`https://${n}`}function UU(n,t){return Xe(Fu(()=>n.registerCommand(vi,e=>{const r=t.validateUrl.peek(),s=t.attributes.peek();if(e===null)return cA(null),!0;if(typeof e=="string")return!(r!==void 0&&!r(e))&&(cA(e,s),!0);{const{url:o,target:i,rel:l,title:c}=e;return cA(o,{...s,rel:l,target:i,title:c}),!0}},Se)),Fu(()=>{const e=t.validateUrl.value;if(!e)return;const r=t.attributes.value;return n.registerCommand(Pl,s=>{const o=Z();if(!W(o)||o.isCollapsed()||!Mo(s,ClipboardEvent)||s.clipboardData===null)return!1;const i=s.clipboardData.getData("text");return!!e(i)&&!o.getNodes().some(l=>Y(l))&&(n.dispatchCommand(vi,{...r,url:i}),s.preventDefault(),!0)},Se)}))}function KU(n,t,e={}){const r=o=>{const i=o.target;if(!Yl(i))return;const l=nd(i);if(l===null)return;let c=null,u=null;if(l.update(()=>{const g=Re(i);if(g!==null){const p=ve(g,Y);if(!t.disabled.peek())if(Tn(p))c=p.sanitizeUrl(p.getURL()),u=p.getTarget();else{const m=(function(y,w){let x=y;for(;x!=null;){if(w(x))return x;x=x.parentNode}return null})(i,zb);m!==null&&(c=m.href,u=m.target)}}}),c===null||c==="")return;const d=n.getEditorState().read(Z);if(W(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()},s=o=>{o.button===1&&r(o)};return n.registerRootListener((o,i)=>{i!==null&&(i.removeEventListener("click",r),i.removeEventListener("mouseup",s)),o!==null&&(o.addEventListener("click",r,e),o.addEventListener("mouseup",s,e))})}const M2=[];let hd=class L2 extends ft{constructor(e=M2,r){super(r);j(this,"__ids");this.__ids=e}static getType(){return"mark"}static clone(e){return new L2(e.__ids,e.__key)}static importDOM(){return null}static importJSON(e){return Ty().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 Qe(r,e.theme.mark),this.__ids.length>1&&Qe(r,e.theme.markOverlap),r}updateDOM(e,r,s){const o=e.__ids,i=this.__ids,l=o.length,c=i.length,u=s.theme.markOverlap;return l!==c&&(l===1?c===2&&Qe(r,u):c===1&&Nr(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(),s=r.__ids.indexOf(e);if(s===-1)return r;const o=Array.from(r.__ids);return o.splice(s,1),r.setIDs(o)}insertNewAfter(e,r=!0){const s=Ty(this.__ids);return this.insertAfter(s,r),s}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,r,s){if(!W(r)||s==="html")return!1;const o=r.anchor,i=r.focus,l=o.getNode(),c=i.getNode(),u=r.isBackward()?o.offset-i.offset:i.offset-o.offset;return this.isParentOf(l)&&this.isParentOf(c)&&this.getTextContent().length===u}excludeFromCopy(e){return e!=="clone"}};function Ty(n=M2){return Lt(new hd(n))}function Rh(n){return n instanceof hd}function O1(n){const t=n.getChildren();let e=null;for(let r=0;r<t.length;r++){const s=t[r];e===null?n.insertBefore(s):e.insertAfter(s),e=s}n.remove()}function WU(n,t,e,r){const s=Go(),[o,i]=n.isBackward()?[n.focus,n.anchor]:[n.anchor,n.focus];let l,c;s.anchor.set(o.key,o.offset,o.type),s.focus.set(i.key,i.offset,i.type);const u=s.extract();for(const d of u){if(Y(c)&&c.isParentOf(d))continue;let h=null;if(oe(d))h=d;else{if(Rh(d))continue;(Y(d)||tt(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||Ty)([e]),h.insertBefore(c)),c.append(h)}else l=void 0,c=void 0}Y(c)&&(t?c.selectStart():c.selectEnd())}function HU(n,t){let e=n;for(;e!==null;){if(Rh(e))return e.getIDs();if(oe(e)&&t===e.getTextContentSize()){const r=e.getNextSibling();if(Rh(r))return r.getIDs()}e=e.getParent()}return null}let D2=class extends ft{$config(){return this.config("overflow",{$transform(t){t.isEmpty()&&t.remove()},extends:ft})}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 YU({nodeKey:n}){const[t]=Ee(),[e,r,s]=Rg(n);return k.useEffect(()=>Xe(t.registerCommand(Zo,o=>{const i=t.getElementByKey(n);return o.target===i&&(o.shiftKey||s(),r(!e),!0)},Se)),[s,t,e,n,r]),k.useEffect(()=>{const o=t.getElementByKey(n),i=t._config.theme.hrSelected??"selected";o!==null&&(e?Qe(o,i):Nr(o,i))},[t,e,n]),null}let zg=class O2 extends R0{static getType(){return"horizontalrule"}static clone(t){return new O2(t.__key)}static importJSON(t){return bc().updateFromJSON(t)}static importDOM(){return{hr:()=>({conversion:ZU,priority:0})}}decorate(){return A.jsx(YU,{nodeKey:this.__key})}};function ZU(){return{node:bc()}}function bc(){return Lt(new zg)}function Bh(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 GU(n,t=Z()){return t==null&&Bh(166),W(t)&&t.isCollapsed()||t.getNodes().length===0?"":bh(n,t)}function JU(n,t=Z()){return t==null&&Bh(166),W(t)&&t.isCollapsed()||t.getNodes().length===0?null:JSON.stringify(VU(n,t))}function R1(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 B1(e,QU(l.nodes),t)}catch(l){console.error(l)}const s=n.getData("text/html"),o=n.getData("text/plain");if(s&&o!==s)try{const l=new DOMParser().parseFromString((function(c){return window.trustedTypes&&window.trustedTypes.createPolicy?window.trustedTypes.createPolicy("lexical",{createHTML:u=>u}).createHTML(c):c})(s),"text/html");return B1(e,bg(e,l),t)}catch(l){console.error(l)}const i=o||n.getData("text/uri-list");if(i!=null)if(W(t)){const l=i.split(/(\r?\n|\t)/);l[l.length-1]===""&&l.pop();for(let c=0;c<l.length;c++){const u=Z();if(W(u)){const d=l[c];d===`
|
|
36
|
+
`||d===`\r
|
|
37
|
+
`?u.insertParagraph():d===" "?u.insertNodes([ts()]):u.insertText(d)}}}else t.insertRawText(i)}function B1(n,t,e){n.dispatchCommand(cT,{nodes:t,selection:e})||(e.insertNodes(t),(function(r){if(W(r)&&r.isCollapsed()){const s=r.anchor;let o=null;const i=qs(s,"previous");if(i)if(Ys(i))o=i.origin;else{const l=jo(i,ls(Me(),"next").getFlipped());for(const c of l){if(oe(c.origin)){o=c.origin;break}if(Y(c.origin)&&!c.origin.isInline())break}}if(o&&oe(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 R2(n,t,e,r=[]){let s=t===null||e.isSelected(t);const o=Y(e)&&e.excludeFromCopy("html");let i=e;t!==null&&oe(i)&&(i=l_(t,i,"clone"));const l=Y(i)?i.getChildren():[],c=(function(u){const d=u.exportJSON(),h=u.constructor;if(d.type!==h.getType()&&Bh(58,h.name),Y(u)){const g=d.children;Array.isArray(g)||Bh(59,h.name)}return d})(i);oe(i)&&i.getTextContentSize()===0&&(s=!1);for(let u=0;u<l.length;u++){const d=l[u],h=R2(n,t,d,c.children);!s&&Y(e)&&h&&e.extractWithChild(d,t,"clone")&&(s=!0)}if(s&&!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 s}function VU(n,t){const e=[],r=Me().getChildren();for(let s=0;s<r.length;s++)R2(n,t,r[s],e);return{namespace:n._config.namespace,nodes:e}}function QU(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e],s=v4(r);oe(s)&&q4(s),t.push(s)}return t}let wa=null;async function _y(n,t,e){if(wa!==null)return!1;if(t!==null)return new Promise((u,d)=>{n.update(()=>{u(P1(n,t,e))})});const r=n.getRootElement(),s=n._window||window,o=s.document,i=is(s);if(r===null||i===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),i.removeAllRanges(),i.addRange(c),new Promise((u,d)=>{const h=n.registerCommand(Ul,g=>(Mo(g,ClipboardEvent)&&(h(),wa!==null&&(s.clearTimeout(wa),wa=null),u(P1(n,g,e))),!0),bn);wa=s.setTimeout(()=>{h(),wa=null,u(!1)},50),o.execCommand("copy"),l.remove()})}function P1(n,t,e){if(e===void 0){const s=is(n._window),o=Z();if(!o||o.isCollapsed()||!s)return!1;const i=s.anchorNode,l=s.focusNode;if(i!==null&&l!==null&&!td(n,i,l))return!1;e=U0(o)}t.preventDefault();const r=t.clipboardData;return r!==null&&(XU(r,e),!0)}const B2=[["text/html",GU],["application/x-lexical-editor",JU]];function U0(n=Z()){const t={"text/plain":n?n.getTextContent():""};if(n){const e=Zl();for(const[r,s]of B2){const o=s(e,n);o!==null&&(t[r]=o)}}return t}function XU(n,t){for(const[e]of B2)t[e]===void 0&&n.setData(e,"");for(const e in t){const r=t[e];r!==void 0&&n.setData(e,r)}}function qU(n){const t=window.location.origin,e=r=>{if(r.origin!==t)return;const s=n.getRootElement();if(document.activeElement!==s)return;const o=r.data;if(typeof o=="string"){let i;try{i=JSON.parse(o)}catch{return}if(i&&i.protocol==="nuanria_messaging"&&i.type==="request"){const l=i.payload;if(l&&l.functionId==="makeChanges"){const c=l.args;if(c){const[u,d,h,g,p]=c;n.update(()=>{const m=Z();if(W(m)){const y=m.anchor;let w=y.getNode(),x=0,C=0;if(oe(w)&&u>=0&&d>=0&&(x=u,C=u+d,m.setTextNodeRange(w,x,w,C)),x===C&&h===""||(m.insertRawText(h),w=y.getNode()),oe(w)){x=g,C=g+p;const v=w.getTextContentSize();x=x>v?v:x,C=C>v?v:C,m.setTextNodeRange(w,x,w,C)}r.stopImmediatePropagation()}})}}}}};return window.addEventListener("message",e,!0),()=>{window.removeEventListener("message",e,!0)}}function j1(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 ql=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,$U=ql&&"documentMode"in document?document.documentMode:null,e9=ql&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),t9=!(!ql||!("InputEvent"in window)||$U)&&"getTargetRanges"in new window.InputEvent("input"),n9=ql&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),F1=ql&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,r9=ql&&/^(?=.*Chrome).*/i.test(navigator.userAgent),s9=ql&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&e9&&!r9,z1=ye("DRAG_DROP_PASTE_FILE");let Ug=class P2 extends ft{static getType(){return"quote"}static clone(t){return new P2(t.__key)}createDOM(t){const e=document.createElement("blockquote");return Qe(e,t.theme.quote),e}updateDOM(t,e){return!1}static importDOM(){return{blockquote:t=>({conversion:o9,priority:0})}}exportDOM(t){const{element:e}=super.exportDOM(t);if(St(e)){this.isEmpty()&&e.append(document.createElement("br"));const r=this.getFormatType();r&&(e.style.textAlign=r);const s=this.getDirection();s&&(e.dir=s)}return{element:e}}static importJSON(t){return gd().updateFromJSON(t)}insertNewAfter(t,e){const r=Ce(),s=this.getDirection();return r.setDirection(s),this.insertAfter(r,e),r}collapseAtStart(){const t=Ce();return this.getChildren().forEach(e=>t.append(e)),this.replace(t),!0}canMergeWhenEmpty(){return!0}};function gd(){return Lt(new Ug)}function Li(n){return n instanceof Ug}let pd=class j2 extends ft{constructor(e,r){super(r);j(this,"__tag");this.__tag=e}static getType(){return"heading"}static clone(e){return new j2(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,s=document.createElement(r),o=e.theme.heading;if(o!==void 0){const i=o[r];Qe(s,i)}return s}updateDOM(e,r,s){return e.__tag!==this.__tag}static importDOM(){return{h1:e=>({conversion:Ca,priority:0}),h2:e=>({conversion:Ca,priority:0}),h3:e=>({conversion:Ca,priority:0}),h4:e=>({conversion:Ca,priority:0}),h5:e=>({conversion:Ca,priority:0}),h6:e=>({conversion:Ca,priority:0}),p:e=>{const r=e.firstChild;return r!==null&&U1(r)?{conversion:()=>({node:null}),priority:3}:null},span:e=>U1(e)?{conversion:r=>({node:Lo("h1")}),priority:3}:null}}exportDOM(e){const{element:r}=super.exportDOM(e);if(St(r)){this.isEmpty()&&r.append(document.createElement("br"));const s=this.getFormatType();s&&(r.style.textAlign=s);const o=this.getDirection();o&&(r.dir=o)}return{element:r}}static importJSON(e){return Lo(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 s=e?e.anchor.offset:0,o=this.getLastDescendant(),i=!o||e&&e.anchor.key===o.getKey()&&s===o.getTextContentSize()||!e?Ce():Lo(this.getTag()),l=this.getDirection();if(i.setDirection(l),this.insertAfter(i,r),s===0&&!this.isEmpty()&&e){const c=Ce();c.select(),this.replace(c,!0)}return i}collapseAtStart(){const e=this.isEmpty()?Ce():Lo(this.getTag());return this.getChildren().forEach(r=>e.append(r)),this.replace(e),!0}extractWithChild(){return!0}};function U1(n){return n.nodeName.toLowerCase()==="span"&&n.style.fontSize==="26pt"}function Ca(n){const t=n.nodeName.toLowerCase();let e=null;return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6"||(e=Lo(t),n.style!==null&&(Kb(n,e),e.setFormat(n.style.textAlign))),{node:e}}function o9(n){const t=gd();return n.style!==null&&(t.setFormat(n.style.textAlign),Kb(n,t)),{node:t}}function Lo(n="h1"){return Lt(new pd(n))}function Gs(n){return n instanceof pd}function Da(n){let t=null;if(Mo(n,DragEvent)?t=n.dataTransfer:Mo(n,ClipboardEvent)&&(t=n.clipboardData),t===null)return[!1,[],!1];const e=t.types,r=e.includes("Files"),s=e.includes("text/html")||e.includes("text/plain");return[r,Array.from(t.files),s]}function K1(n){const t=Z();if(!W(t))return!1;const e=new Set,r=t.getNodes();for(let s=0;s<r.length;s++){const o=r[s],i=o.getKey();if(e.has(i))continue;const l=ve(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 W1(n){const t=Re(n);return tt(t)}function uA(n){for(const t of["lowercase","uppercase","capitalize"])n.hasFormat(t)&&n.toggleFormat(t)}function i9(n){return Xe(n.registerCommand(Zo,t=>{const e=Z();return!!Kt(e)&&(e.clear(),!0)},Fe),n.registerCommand(Ws,t=>{const e=Z();return W(e)?(e.deleteCharacter(t),!0):!!Kt(e)&&(e.deleteNodes(),!0)},Fe),n.registerCommand(Ja,t=>{const e=Z();return!!W(e)&&(e.deleteWord(t),!0)},Fe),n.registerCommand(wl,t=>{const e=Z();return!!W(e)&&(e.deleteLine(t),!0)},Fe),n.registerCommand(yi,t=>{const e=Z();if(typeof t=="string")e!==null&&e.insertText(t);else{if(e===null)return!1;const r=t.dataTransfer;if(r!=null)R1(r,e,n);else if(W(e)){const s=t.data;return s&&e.insertText(s),!0}}return!0},Fe),n.registerCommand(WA,()=>{const t=Z();return!!W(t)&&(t.removeText(),!0)},Fe),n.registerCommand(Nt,t=>{const e=Z();return!!W(e)&&(e.formatText(t),!0)},Fe),n.registerCommand(hi,t=>{const e=Z();if(!W(e)&&!Kt(e))return!1;const r=e.getNodes();for(const s of r){const o=ve(s,i=>Y(i)&&!i.isInline());o!==null&&o.setFormat(t)}return!0},Fe),n.registerCommand(dl,t=>{const e=Z();return!!W(e)&&(e.insertLineBreak(t),!0)},Fe),n.registerCommand(Po,()=>{const t=Z();return!!W(t)&&(t.insertParagraph(),!0)},Fe),n.registerCommand(YA,()=>(qu([ts()]),!0),Fe),n.registerCommand(Hs,()=>K1(t=>{const e=t.getIndent();t.setIndent(e+1)}),Fe),n.registerCommand(fi,()=>K1(t=>{const e=t.getIndent();e>0&&t.setIndent(Math.max(0,e-1))}),Fe),n.registerCommand(Xs,t=>{const e=Z();if(Kt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),r[0].selectPrevious(),!0}else if(W(e)){const r=ty(e.focus,!0);if(!t.shiftKey&&tt(r)&&!r.isIsolated()&&!r.isInline())return r.selectPrevious(),t.preventDefault(),!0}return!1},Fe),n.registerCommand(Ti,t=>{const e=Z();if(Kt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),r[0].selectNext(0,0),!0}else if(W(e)){if((function(s){const o=s.focus;return o.key==="root"&&o.offset===Me().getChildrenSize()})(e))return t.preventDefault(),!0;const r=ty(e.focus,!1);if(!t.shiftKey&&tt(r)&&!r.isIsolated()&&!r.isInline())return r.selectNext(),t.preventDefault(),!0}return!1},Fe),n.registerCommand(lg,t=>{const e=Z();if(Kt(e)){const r=e.getNodes();if(r.length>0)return t.preventDefault(),cS(r[0])?r[0].selectNext(0,0):r[0].selectPrevious(),!0}if(!W(e))return!1;if(dS(e,!0)){const r=t.shiftKey;return t.preventDefault(),fS(e,r,!0),!0}return!1},Fe),n.registerCommand(ig,t=>{const e=Z();if(Kt(e)){const s=e.getNodes();if(s.length>0)return t.preventDefault(),cS(s[0])?s[0].selectPrevious():s[0].selectNext(0,0),!0}if(!W(e))return!1;const r=t.shiftKey;return!!dS(e,!1)&&(t.preventDefault(),fS(e,r,!1),!0)},Fe),n.registerCommand(zl,t=>{if(W1(t.target))return!1;const e=Z();if(W(e)){if((function(r){if(!r.isCollapsed())return!1;const{anchor:s}=r;if(s.offset!==0)return!1;const o=s.getNode();if(Yt(o))return!1;const i=gc(o);return i.getIndent()>0&&(i.is(o)||o.is(i.getFirstDescendant()))})(e))return t.preventDefault(),n.dispatchCommand(fi,void 0);if(F1&&navigator.language==="ko-KR")return!1}else if(!Kt(e))return!1;return t.preventDefault(),n.dispatchCommand(Ws,!0)},Fe),n.registerCommand(uc,t=>{if(W1(t.target))return!1;const e=Z();return!(!W(e)&&!Kt(e))&&(t.preventDefault(),n.dispatchCommand(Ws,!1))},Fe),n.registerCommand(Cl,t=>{const e=Z();if(!W(e))return!1;if(uA(e),t!==null){if((F1||n9||s9)&&t9)return!1;if(t.preventDefault(),t.shiftKey)return n.dispatchCommand(dl,!1)}return n.dispatchCommand(Po,void 0)},Fe),n.registerCommand(cc,()=>{const t=Z();return!!W(t)&&(n.blur(),!0)},Fe),n.registerCommand(Sb,t=>{const[,e]=Da(t);if(e.length>0){const s=j1(t.clientX,t.clientY);if(s!==null){const{offset:o,node:i}=s,l=Re(i);if(l!==null){const c=Go();if(oe(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=Ei(c);Ze(u)}n.dispatchCommand(z1,e)}return t.preventDefault(),!0}const r=Z();return!!W(r)},Fe),n.registerCommand(kb,t=>{const[e]=Da(t),r=Z();return!(e&&!W(r))},Fe),n.registerCommand(Eb,t=>{const[e]=Da(t),r=Z();if(e&&!W(r))return!1;const s=j1(t.clientX,t.clientY);if(s!==null){const o=Re(s.node);tt(o)&&t.preventDefault()}return!0},Fe),n.registerCommand(ZA,()=>(HT(),!0),Fe),n.registerCommand(Ul,t=>(_y(n,Mo(t,ClipboardEvent)?t:null),!0),Fe),n.registerCommand(Qu,t=>((async function(e,r){await _y(r,Mo(e,ClipboardEvent)?e:null),r.update(()=>{const s=Z();W(s)?s.removeText():Kt(s)&&s.getNodes().forEach(o=>o.remove())})})(t,n),!0),Fe),n.registerCommand(Pl,t=>{const[,e,r]=Da(t);return e.length>0&&!r?(n.dispatchCommand(z1,e),!0):Yl(t.target)&&Db(t.target)?!1:Z()!==null&&((function(s,o){s.preventDefault(),o.update(()=>{const i=Z(),l=Mo(s,InputEvent)||Mo(s,KeyboardEvent)?null:s.clipboardData;l!=null&&i!==null&&R1(l,i,o)},{tag:a4})})(t,n),!0)},Fe),n.registerCommand(vb,t=>{const e=Z();return W(e)&&uA(e),!1},Fe),n.registerCommand(dc,t=>{const e=Z();return W(e)&&uA(e),!1},Fe))}function Be(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 Ph(...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 Es={blockCursor:"dsd__theme__blockCursor",characterLimit:"dsd__theme__characterLimit",code:"dsd__theme__code",codeCollapsed:"dsd__theme__code_сollapsed",codeWrapper:"dsd__theme__code-wrapper",codeHeader:"dsd__theme__code-header",codeHighlight:{atrule:"dsd__theme__tokenAttr",attr:"dsd__theme__tokenAttr",boolean:"dsd__theme__tokenProperty",builtin:"dsd__theme__tokenSelector",cdata:"dsd__theme__tokenComment",char:"dsd__theme__tokenSelector",class:"dsd__theme__tokenFunction","class-name":"dsd__theme__tokenFunction",comment:"dsd__theme__tokenComment",constant:"dsd__theme__tokenProperty",deleted:"dsd__theme__tokenProperty",doctype:"dsd__theme__tokenComment",entity:"dsd__theme__tokenOperator",function:"dsd__theme__tokenFunction",important:"dsd__theme__tokenVariable",inserted:"dsd__theme__tokenSelector",keyword:"dsd__theme__tokenAttr",namespace:"dsd__theme__tokenVariable",number:"dsd__theme__tokenProperty",operator:"dsd__theme__tokenOperator",prolog:"dsd__theme__tokenComment",property:"dsd__theme__tokenProperty",punctuation:"dsd__theme__tokenPunctuation",regex:"dsd__theme__tokenVariable",selector:"dsd__theme__tokenSelector",string:"dsd__theme__tokenSelector",symbol:"dsd__theme__tokenProperty",tag:"dsd__theme__tokenProperty",url:"dsd__theme__tokenOperator",variable:"dsd__theme__tokenVariable"},embedBlock:{base:"dsd__theme__embedBlock",focus:"dsd__theme__embedBlockFocus"},hashtag:"dsd__theme__hashtag",heading:{h1:"dsd__theme__h1",h2:"dsd__theme__h2",h3:"dsd__theme__h3",h4:"dsd__theme__h4",h5:"dsd__theme__h5",h6:"dsd__theme__h6"},excalidraw:"editor-excalidraw",image:"editor-image",indent:"dsd__theme__indent",inlineImage:"inline-editor-image",layoutContainer:"dsd__theme__layoutContainer",layoutItem:"dsd__theme__layoutItem",layoutDivider:"dsd__theme__layoutDivider",calloutIcon:"dsd__theme__callout-icon",callout:"dsd__theme__callout-container",calloutWrapper:"dsd__theme__callout-wrapper",calloutContainer:"dsd__theme__callout-main-container",link:"dsd__theme__link",list:{checklist:"dsd__theme__checklist",listitem:"dsd__theme__listItem",listitemChecked:"dsd__theme__listItemChecked",listitemUnchecked:"dsd__theme__listItemUnchecked",nested:{listitem:"dsd__theme__nestedListItem"},olDepth:["dsd__theme__ol1","dsd__theme__ol2","dsd__theme__ol3","dsd__theme__ol4","dsd__theme__ol5"],ul:"dsd__theme__ul"},listitemIndeterminate:"dsd__theme__listIndeterminate",mark:"dsd__theme__mark",markOverlap:"dsd__theme__markOverlap",paragraph:"dsd__theme__paragraph",quote:"dsd__theme__quote",rtl:"dsd__theme__rtl",table:"dsd__theme__table",tableAddColumns:"dsd__theme__tableAddColumns",tableAddRows:"dsd__theme__tableAddRows",tableCell:"dsd__theme__tableCell",tableCellActionButton:"dsd__theme__tableCellActionButton",tableCellActionButtonContainer:"dsd__theme__tableCellActionButtonContainer",tableCellEditing:"dsd__theme__tableCellEditing",tableCellHeader:"dsd__theme__tableCellHeader",tableCellPrimarySelected:"dsd__theme__tableCellPrimarySelected",tableCellResizer:"dsd__theme__tableCellResizer",tableCellSelected:"dsd__theme__tableCellSelected",tableCellSortedIndicator:"dsd__theme__tableCellSortedIndicator",tableResizeRuler:"dsd__theme__tableCellResizeRuler",tableSelected:"dsd__theme__tableSelected",tableSelection:"dsd__theme__tableSelection",tableScrollableWrapper:"dsd__theme__table-scrollable-wrapper",text:{bold:"dsd__theme__textBold",capitalize:"dsd__theme__textCapitalize",code:"dsd__theme__textCode",highlight:"dsd__theme__textHighlight",italic:"dsd__theme__textItalic",lowercase:"dsd__theme__textLowercase",strikethrough:"dsd__theme__textStrikethrough",subscript:"dsd__theme__textSubscript",superscript:"dsd__theme__textSuperscript",underline:"dsd__theme__textUnderline",underlineStrikethrough:"dsd__theme__textUnderlineStrikethrough",uppercase:"dsd__theme__textUppercase"}},l9=n=>{const t={...Es,text:{...Es.text}};return n==="comment"&&t.text&&(delete t.text.strikethrough,delete t.text.underlineStrikethrough),t};function Ny(n){let t=1,e=n.getParent();for(;e!=null;){if(ut(e)){const r=e.getParent();if(He(r)){t++,e=r.getParent();continue}Be(!1,"A ListItemNode must have a ListNode for a parent.")}return t}return t}function Iy(n){let t=n.getParent();He(t)||Be(!1,"A ListItemNode must have a ListNode for a parent.");let e=t;for(;e!==null;)e=e.getParent(),He(e)&&(t=e);return t}function F2(n){let t=[];const e=n.getChildren().filter(ut);for(let r=0;r<e.length;r++){const s=e[r],o=s.getFirstChild();He(o)?t=t.concat(F2(o)):t.push(s)}return t}function zs(n){return ut(n)&&He(n.getFirstChild())}function a9(n){let t=n;for(;t.getNextSibling()==null&&t.getPreviousSibling()==null;){const e=t.getParent();if(e==null||!(ut(t)||He(t)))break;t=e}t.remove()}function H1(n){return Cr().append(n)}function z2(n,t){return ut(n)&&(t.length===0||t.length===1&&n.is(t[0])&&n.getChildrenSize()===0)}function My(n,t){n.update(()=>{const e=Z();if(e!==null){const r=e.getNodes();if(W(e)){const o=e.getStartEndPoints();Be(o!==null,"insertList: anchor should be defined");const[i]=o,l=i.getNode(),c=l.getParent();if(z2(l,r)){const u=vn(t);if(Xn(c)){l.replace(u);const d=Cr();Y(l)&&(d.setFormat(l.getFormatType()),d.setIndent(l.getIndent())),u.append(d)}else if(ut(l)){const d=l.getParentOrThrow();Dl(u,d.getChildren()),d.replace(u)}return}}const s=new Set;for(let o=0;o<r.length;o++){const i=r[o];if(Y(i)&&i.isEmpty()&&!ut(i)&&!s.has(i.getKey())){Y1(i,t);continue}if(BT(i)){let l=i.getParent();for(;l!=null;){const c=l.getKey();if(He(l)){if(!s.has(c)){const u=vn(t);Dl(u,l.getChildren()),l.replace(u),s.add(c)}break}else{const u=l.getParent();if(Xn(u)&&!s.has(c)){s.add(c),Y1(l,t);break}l=u}}}}}})}function Dl(n,t){n.splice(n.getChildrenSize(),0,t)}function Y1(n,t){if(He(n))return n;const e=n.getPreviousSibling(),r=n.getNextSibling(),s=Cr();if(s.setFormat(n.getFormatType()),s.setIndent(n.getIndent()),Dl(s,n.getChildren()),He(e)&&t===e.getListType())return e.append(s),n.remove(),He(r)&&t===r.getListType()&&(Dl(e,r.getChildren()),r.remove()),e;if(He(r)&&t===r.getListType())return r.getFirstChildOrThrow().insertBefore(s),n.remove(),r;{const o=vn(t);return o.append(s),n.replace(o),o}}function K0(n,t){const e=n.getLastChild(),r=t.getFirstChild();e&&r&&zs(e)&&zs(r)&&(K0(e.getFirstChild(),r.getFirstChild()),r.remove());const s=t.getChildren();s.length>0&&n.append(...s),t.remove()}function c9(n){n.update(()=>{const t=Z();if(W(t)){const e=new Set,r=t.getNodes(),s=t.anchor.getNode();if(z2(s,r))e.add(Iy(s));else for(let o=0;o<r.length;o++){const i=r[o];if(BT(i)){const l=Qb(i,xn);l!=null&&e.add(Iy(l))}}for(const o of e){let i=o;const l=F2(o);for(const c of l){const u=Ce();Dl(u,c.getChildren()),i.insertAfter(u),i=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 u9(n){const t=n.getListType()!=="check";let e=n.getStart();for(const r of n.getChildren())ut(r)&&(r.getValue()!==e&&r.setValue(e),t&&r.getLatest().__checked!=null&&r.setChecked(void 0),He(r.getFirstChild())||e++)}function d9(n){const t=n.getNextSibling();He(t)&&n.getListType()===t.getListType()&&K0(n,t)}function f9(n){const t=new Set;if(zs(n)||t.has(n.getKey()))return;const e=n.getParent(),r=n.getNextSibling(),s=n.getPreviousSibling();if(zs(r)&&zs(s)){const o=s.getFirstChild();if(He(o)){o.append(n);const i=r.getFirstChild();if(He(i)){const l=i.getChildren();Dl(o,l),r.remove(),t.add(r.getKey())}}}else if(zs(r)){const o=r.getFirstChild();if(He(o)){const i=o.getFirstChild();i!==null&&i.insertBefore(n)}}else if(zs(s)){const o=s.getFirstChild();He(o)&&o.append(n)}else if(He(e)){const o=Cr(),i=vn(e.getListType());o.append(i),i.append(n),s?s.insertAfter(o):r?r.insertBefore(o):e.append(o)}}function h9(n){if(zs(n))return;const t=n.getParent(),e=t?t.getParent():void 0,r=e?e.getParent():void 0;if(He(r)&&ut(e)&&He(t)){const s=t?t.getFirstChild():void 0,o=t?t.getLastChild():void 0;if(n.is(s))e.insertBefore(n),t.isEmpty()&&e.remove();else if(n.is(o))e.insertAfter(n),t.isEmpty()&&e.remove();else{const i=t.getListType(),l=Cr(),c=vn(i);l.append(c),n.getPreviousSiblings().forEach(h=>c.append(h));const u=Cr(),d=vn(i);u.append(d),Dl(d,n.getNextSiblings()),e.insertBefore(l),e.insertAfter(u),e.replace(n)}}}function g9(){const n=Z();if(!W(n)||!n.isCollapsed())return!1;const t=n.anchor.getNode();if(!ut(t)||t.getChildrenSize()!==0)return!1;const e=Iy(t),r=t.getParent();Be(He(r),"A ListItemNode must have a ListNode for a parent.");const s=r.getParent();let o;if(Xn(s))o=Ce(),e.insertAfter(o);else if(ut(s))o=Cr(),s.insertAfter(o);else return!1;o.select();const i=t.getNextSiblings();if(i.length>0){const l=vn(r.getListType());if(an(o))o.insertAfter(l);else{const c=Cr();c.append(l),o.insertAfter(c)}i.forEach(c=>{c.remove(),l.append(c)})}return a9(t),!0}class xn extends ft{constructor(e,r,s,o,i){super(i);j(this,"__value");j(this,"__checked");j(this,"__opened");j(this,"__isIndeterminate");this.__value=e===void 0?1:e,this.__checked=r,this.__opened=s,this.__isIndeterminate=o}static getType(){return"listitem"}static clone(e){return new xn(e.__value,e.__checked,e.__opened,e.__isIndeterminate,e.__key)}createDOM(e){const r=document.createElement("li"),s=this.getParent();return He(s)&&s.getListType()==="check"&&G1(r,this,null),r.value=this.__value,Z1(r,e.theme,this),r}updateDOM(e,r,s){const o=this.getParent();return He(o)&&o.getListType()==="check"&&G1(r,this,e),r.value=this.__value,Z1(r,s.theme,this),!1}static transform(){return e=>{if(Be(ut(e),"node is not a ListItemNode"),e.__checked==null)return;const r=e.getParent();He(r)&&r.getListType()!=="check"&&e.getChecked()!=null&&e.setChecked(void 0)}}static importDOM(){return{li:()=>({conversion:p9,priority:0})}}static importJSON(e){const r=Cr(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 s=e[r];if(Y(s)&&this.canMergeWith(s)){const o=s.getChildren();this.append(...o),s.remove()}else super.append(s)}return this}replace(e,r){if(ut(e))return super.replace(e);this.setIndent(0);const s=this.getParentOrThrow();if(!He(s))return e;if(s.__first===this.getKey())s.insertBefore(e);else if(s.__last===this.getKey())s.insertAfter(e);else{const o=vn(s.getListType());let i=this.getNextSibling();for(;i;){const l=i;i=i.getNextSibling(),o.append(l)}s.insertAfter(e),e.insertAfter(o)}return r&&(Be(Y(e),"includeChildren should only be true for ElementNodes"),this.getChildren().forEach(o=>{e.append(o)})),this.remove(),s.getChildrenSize()===0&&s.remove(),e}insertAfter(e,r=!0){const s=this.getParentOrThrow();if(He(s)||Be(!1,"insertAfter: list node is not parent of list item node"),ut(e))return super.insertAfter(e,r);const o=this.getNextSiblings();if(s.insertAfter(e,r),o.length!==0){const i=vn(s.getListType());o.forEach(l=>i.append(l)),e.insertAfter(i,r)}return e}remove(e){const r=this.getPreviousSibling(),s=this.getNextSibling();super.remove(e),r&&s&&zs(r)&&zs(s)&&(K0(r.getFirstChild(),s.getFirstChild()),s.remove())}insertNewAfter(e,r=!0){const s=Cr(this.__checked==null?void 0:!1);return this.insertAfter(s,r),s}collapseAtStart(e){const r=Ce();this.getChildren().forEach(c=>r.append(c));const o=this.getParentOrThrow(),i=o.getParentOrThrow(),l=ut(i);if(o.getChildrenSize()===1)if(l)o.remove(),i.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 s=this.getParent();return He(s)&&(r=s.getListType()),r==="check"?!!e.__checked:void 0}getOpened(){const e=this.getLatest();let r;const s=this.getParent();return He(s)&&(r=s.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(),s=0;for(;ut(r);)r=r.getParentOrThrow().getParentOrThrow(),s++;return s}setIndent(e){Be(typeof e=="number","Invalid indent value."),e=Math.floor(e),Be(e>=0,"Indent value must be non-negative.");let r=this.getIndent();for(;r!==e;)r<e?(f9(this),r++):(h9(this),r--);return this}canInsertAfter(e){return ut(e)}canReplaceWith(e){return ut(e)}canMergeWith(e){return an(e)||ut(e)}extractWithChild(e,r){if(!W(r))return!1;const s=r.anchor.getNode(),o=r.focus.getNode();return this.isParentOf(s)&&this.isParentOf(o)&&this.getTextContent().length===r.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return vn("bullet")}canMergeWhenEmpty(){return!0}}function Z1(n,t,e){let r=[],s=[];const o=t.list,i=o?o.listitem:void 0;let l;if(o&&o.nested&&(l=o.nested.listitem),i!==void 0&&r.push(...Ph(i)),o){const c=e.getParent(),u=He(c)&&c.getListType()==="check",d=e.getChecked();(!u||d)&&s.push(o.listitemUnchecked),(!u||!d)&&s.push(o.listitemChecked),u&&r.push(d?o.listitemChecked:o.listitemUnchecked)}if(l!==void 0){const c=Ph(l);e.getChildren().some(u=>He(u))?r.push(...c):s.push(...c)}e.__isIndeterminate?r=[...r,Es.listitemIndeterminate]:s=[...s,Es.listitemIndeterminate],s.length>0&&Nr(n,...s),r.length>0&&Qe(n,...r)}function G1(n,t,e,r){He(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 p9(n){if(n.classList.contains("task-list-item")){for(const l of n.children)if(l.tagName==="INPUT")return m9(l)}const e=n.getAttribute("aria-checked"),r=n.getAttribute("data-list"),s=e==="true"?!0:e==="false"?!1:void 0,o=!r||r==="opened",i=n.className.includes(Es.listitemIndeterminate);return{node:Cr(s,o,i)}}function m9(n){if(!(n.getAttribute("type")==="checkbox"))return{node:null};const e=n.hasAttribute("checked");return{node:Cr(e,!1,!0)}}function Cr(n,t,e){return Lt(new xn(void 0,n,t,e))}function ut(n){return n instanceof xn}class Uo extends Mn{constructor(t,e){super(t,e)}static getType(){return"extended-text"}static clone(t){return new Uo(t.__text,t.__key)}static importDOM(){const t=Mn.importDOM(),e=document.body.getAttribute("mode")?{code:()=>({conversion:ci(t==null?void 0:t.span),priority:1}),s:()=>({conversion:ci(t==null?void 0:t.span),priority:1})}:{code:()=>({conversion:ci(t==null?void 0:t.code),priority:1})};return{...t,...e,em:()=>({conversion:ci(t==null?void 0:t.em),priority:1}),span:()=>({conversion:ci(t==null?void 0:t.span),priority:1}),strong:()=>({conversion:ci(t==null?void 0:t.strong),priority:1}),sub:()=>({conversion:ci(t==null?void 0:t.sub),priority:1}),sup:()=>({conversion:ci(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 Ko(n=""){return Lt(new Uo(n))}function Kn(n){return n instanceof Uo}function ci(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 s=t.getAttribute("lexical-element")&&!document.body.getAttribute("mode"),o=s?t.style.backgroundColor:"",i=s?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(Kn(h)){const g=[o?`background-color: ${o}`:null,i?`color: ${i}`:null,l?`text-decoration: ${l}`:null].filter(p=>p!=null).join("; ");if(g.length)return h.setStyle(g)}return h}}}}class Br extends ft{constructor(e,r,s){super(s);j(this,"__tag");j(this,"__start");j(this,"__listType");const o=Q1[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||Q1[e.__tag];return new Br(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 s=this.__tag,o=document.createElement(s);return this.__start!==1&&o.setAttribute("start",String(this.__start)),o.__lexicalListType=this.__listType,J1(o,e.theme,this),o}updateDOM(e,r,s){return e.__tag!==this.__tag?!0:(J1(r,s.theme,this),!1)}static transform(){return e=>{Be(He(e),"node is not a ListNode"),d9(e),u9(e)}}static importDOM(){return{ol:()=>({conversion:V1,priority:0}),ul:()=>({conversion:V1,priority:0})}}static importJSON(e){const r=vn(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&&St(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 s=e[r];if(ut(s))super.append(s);else{const o=Cr();if(He(s))o.append(s);else if(Y(s)){const i=Ko(s.getTextContent());o.append(i)}else o.append(s);super.append(o)}}return this}extractWithChild(e){return ut(e)}}function J1(n,t,e){const r=[],s=[],o=t.list;if(o!==void 0){const i=o[`${e.__tag}Depth`]||[],l=Ny(e)-1,c=l%i.length,u=i[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(...Ph(u));for(let m=0;m<i.length;m++)m!==c&&s.push(e.__tag+m)}if(h!==void 0){const m=Ph(h);l>1?r.push(...m):s.push(...m)}}s.length>0&&Nr(n,...s),r.length>0&&Qe(n,...r)}function A9(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e];if(ut(r)){t.push(r);const s=r.getChildren();s.length>1&&s.forEach(o=>{He(o)&&t.push(H1(o))})}else t.push(H1(r))}return t}function y9(n){if(n.getAttribute("__lexicallisttype")==="check"||n.classList.contains("contains-task-list"))return!0;for(const t of n.childNodes)if(St(t)&&t.hasAttribute("aria-checked"))return!0;return!1}function V1(n){const t=n.nodeName.toLowerCase();let e=null;if(t==="ol"){const r=n.start;e=vn("number",r)}else t==="ul"&&(y9(n)?e=vn("check"):e=vn("bullet"));return{after:A9,node:e}}const Q1={ol:"number",ul:"bullet"};function vn(n,t=1){return Lt(new Br(n,t))}function He(n){return n instanceof Br}const W0=ye("INSERT_UNORDERED_LIST_COMMAND"),Kg=ye("INSERT_ORDERED_LIST_COMMAND"),H0=ye("INSERT_CHECK_LIST_COMMAND"),b9=ye("REMOVE_LIST_COMMAND");function w9(n){return Xe(n.registerCommand(Kg,()=>(My(n,"number"),!0),Se),n.registerCommand(W0,()=>(My(n,"bullet"),!0),Se),n.registerCommand(b9,()=>(c9(n),!0),Se),n.registerCommand(Po,()=>!!g9(),Se))}const jh=/^(\d+(?:\.\d+)?)px$/,pn={BOTH:3,COLUMN:2,NO_STATUS:0,ROW:1};class ws extends ft{constructor(e=pn.NO_STATUS,r=1,s,o){super(o);j(this,"__colSpan");j(this,"__rowSpan");j(this,"__headerState");j(this,"__width");j(this,"__backgroundColor");this.__colSpan=r,this.__rowSpan=1,this.__headerState=e,this.__width=s,this.__backgroundColor=null}static getType(){return"tablecell"}static clone(e){return new ws(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:X1,priority:0}),th:e=>({conversion:X1,priority:0})}}static importJSON(e){const r=e.colSpan||1,s=e.rowSpan||1;return Cs(e.headerState,r,e.width||void 0).setRowSpan(s).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),Qe(r,e.theme.tableCell,this.hasHeader()&&e.theme.tableCellHeader),r}exportDOM(e){const{element:r}=super.exportDOM(e);if(r){const s=r;this.__colSpan>1&&(s.colSpan=this.__colSpan),this.__rowSpan>1&&(s.rowSpan=this.__rowSpan),this.getWidth()&&(s.style.maxWidth=`${this.getWidth()}px`,s.style.minWidth=`${this.getWidth()}px`),s.style.verticalAlign="top",s.style.textAlign="start";const o=this.getBackgroundColor();o!==null?s.style.backgroundColor=o:this.hasHeader()&&(s.style.backgroundColor="#f2f3f5")}return{element:r}}exportJSON(){return{...super.exportJSON(),backgroundColor:this.getBackgroundColor(),colSpan:this.__colSpan,headerState:this.__headerState,rowSpan:this.__rowSpan,type:"tablecell",width:this.getWidth()}}getColSpan(){return this.getLatest().__colSpan}setColSpan(e){const r=this.getWritable();return r.__colSpan=e,r}getRowSpan(){return this.getLatest().__rowSpan}setRowSpan(e){const r=this.getWritable();return r.__rowSpan=e,r}getTag(){return this.hasHeader()?"th":"td"}setHeaderStyles(e,r=pn.BOTH){const s=this.getWritable();return s.__headerState=e&r|s.__headerState&~r,s}getHeaderStyles(){return this.getLatest().__headerState}setWidth(e){const r=this.getWritable();return r.__width=e,r}getWidth(){return this.getLatest().__width}getBackgroundColor(){return this.getLatest().__backgroundColor}setBackgroundColor(e){const r=this.getWritable();return r.__backgroundColor=e,r}toggleHeaderStyle(e){const r=this.getWritable();return(r.__headerState&e)===e?r.__headerState-=e:r.__headerState+=e,r}hasHeaderState(e){return(this.getHeaderStyles()&e)===e}hasHeader(){return this.getLatest().__headerState!==pn.NO_STATUS}updateDOM(e){return e.__headerState!==this.__headerState||e.__width!==this.__width||e.__colSpan!==this.__colSpan||e.__rowSpan!==this.__rowSpan||e.__backgroundColor!==this.__backgroundColor}isShadowRoot(){return!0}collapseAtStart(){return!0}canBeEmpty(){return!1}canIndent(){return!1}}function X1(n){const t=n,e=n.nodeName.toLowerCase();let r;(jh.test(t.style.minWidth)||jh.test(t.style.maxWidth))&&(r=parseFloat(t.style.minWidth));const s=Cs(e==="th"?pn.ROW:pn.NO_STATUS,t.colSpan,r);s.__rowSpan=t.rowSpan;const o=t.style.backgroundColor;o!==""&&(s.__backgroundColor=o);const i=t.style,l=(i&&i.textDecoration||"").split(" "),c=i.fontWeight==="700"||i.fontWeight==="bold",u=l.includes("line-through"),d=i.fontStyle==="italic",h=l.includes("underline");return{after:g=>(g.length===0&&g.push(Ce()),g),forChild:(g,p)=>{if(_e(p)&&!Y(g)){const m=Ce();return It(g)&&g.getTextContent()===`
|
|
38
|
+
`?null:(Kn(g)&&(c&&g.toggleFormat("bold"),u&&g.toggleFormat("strikethrough"),d&&g.toggleFormat("italic"),h&&g.toggleFormat("underline")),m.append(g),m)}return g},node:s}}function Cs(n,t=1,e){return Lt(new ws(n,t,e))}function _e(n){return n instanceof ws}const Wg=ye("INSERT_TABLE_COMMAND");function U2(n,t){if(t.add(n.getKey()),Y(n))for(const e of n.getChildren())U2(e,t)}function Y0(n){const t=n.getNodes();if(t.length===0)return!1;const e=t[0],r=t[t.length-1],s=Go(),o=Y(e)?"element":"text",i=Y(r)?"element":"text";s.anchor.set(e.getKey(),0,o),s.focus.set(r.getKey(),Y(r)?r.getChildrenSize():r.getTextContentSize(),i),Ze(s)}const Hg=[".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"],Ly=[...Hg,"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)"],C9=[...Hg,"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"],x9=[...Hg,"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"],v9=[...Hg,"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"],S9=n=>{const t=document.querySelectorAll(".selected-block");if(t.length===0)return;setTimeout(()=>{n.update(()=>{const r=dg();t.forEach(s=>{const o=Re(s);o&&U2(o,r)}),Ze(r)})},100);const e=r=>{const s=!!document.querySelector(".draggable-menu");if(r.button===2||s){r.preventDefault();return}const o=r.target;o.closest(".draggable-block-menu")||o.closest(".draggable-menu")||(t.forEach(i=>{Ui(i)}),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})})},k9=(n,t,e)=>{var i;const r=t.code==="ArrowUp"||t.code==="ArrowLeft",s=t.code==="ArrowDown"||t.code==="ArrowRight";if(!r&&!s)return!1;const o=e[0];return o?(t.preventDefault(),(i=n.getRootElement())==null||i.focus({preventScroll:!0}),n.update(()=>{var h,g,p,m;const l=Re(o);if(!l)return;const c=r?(h=l.getPreviousSibling)==null?void 0:h.call(l):(g=l.getNextSibling)==null?void 0:g.call(l);if(!c)return;let u=c;for(;Y(u)&&u.getChildrenSize()>0&&(u=r?((p=u.getLastChild)==null?void 0:p.call(u))??u:((m=u.getFirstChild)==null?void 0:m.call(u))??u,u!==c););const d=(r?u==null?void 0:u.selectEnd:u==null?void 0:u.selectStart)||(u==null?void 0:u.select)||(c==null?void 0:c.select);d&&d.call(u||c)}),e.forEach(l=>Ui(l)),!0):!1},E9=(n,t,e)=>{var s;const r=e[0];return r?(t.preventDefault(),(s=n.getRootElement())==null||s.focus({preventScroll:!0}),n.update(()=>{const o=Re(r);if(!o||typeof o.insertAfter!="function")return;const i=Ce();o.insertAfter(i),i.selectStart()}),e.forEach(o=>Ui(o)),!0):!1},T9=(n,t,e)=>{const{hasSelectedBlock:r}=mi(),s=(e==null?void 0:e.getSelectedTargets())||[];return!r||!s.length?!1:t.key==="Backspace"||t.key==="Delete"?(s.forEach(l=>Ui(l)),e==null||e.setSelectedTargets([]),!1):t.code==="Enter"&&E9(n,t,s)?(e==null||e.setSelectedTargets([]),!0):k9(n,t,s)?(e==null||e.setSelectedTargets([]),!0):!1},_9={container:document.body,getScrollPosition:()=>[document.documentElement.scrollLeft,document.documentElement.scrollTop],throttleTime:30,threshold:0},q1=(n,t,e)=>function r(s){if(s instanceof KeyboardEvent&&s.key!=="Backspace"&&s.key!=="Delete"&&s.key!=="Escape")return!1;const o=s.target;o.closest(".draggable-block-menu")||o.closest(".toolbar")||o.closest(".draggable-menu")||(n==null||n.classList.remove(t),e.update(()=>{o.closest(".ContentEditable__root")||Ze(null),s instanceof KeyboardEvent&&t==="selected-all-document"&&s.key!=="Escape"&&e.update(()=>{var l;(l=Me().getFirstChild())==null||l.selectStart()}),s instanceof KeyboardEvent&&t==="selected-all-document"&&s.key==="Escape"&&e.blur()}),setTimeout(()=>{document.body.removeEventListener("mousedown",r),document.removeEventListener("keydown",r)}))},Z0=(n,t)=>{var e,r;if(t&&t.block){const{block:s,isCreateEventListener:o}=t,i="selected-block";if(s.classList.add(i),s.classList.remove("selected-block-hidden"),o){const l=q1(s,i,n);document.body.addEventListener("mousedown",l),document.addEventListener("keydown",l)}}else{const s="selected-all-document",o=q1(n._rootElement,s,n);document.body.addEventListener("mousedown",o),document.addEventListener("keydown",o),(e=n._rootElement)==null||e.classList.add(s),(r=n._rootElement)==null||r.classList.remove("selected-block-hidden")}},Ui=n=>{n.classList.remove("selected-block"),n.classList.add("selected-block-hidden")},dA=n=>{n.querySelectorAll(".selected-block").forEach(e=>{Ui(e)})},N9=(n,t,e,r,s)=>{var o;if(((o=n.selected[0])==null?void 0:o.tagName)==="LI"){let i=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?i=K2(n.selected[0]):i=n.selected[0]}let c=(i==null?void 0:i.classList.contains("dsd__theme__nestedListItem"))&&n.added.length===0?1:0,u=i,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:I9(c,d)}),setTimeout(()=>{s==null||s.findSelectableTargets(),s==null||s.setSelectedTargets(n.selected)})}}else!e.depth&&n.added.length&&(r({depth:999,targets:C9}),setTimeout(()=>{s==null||s.findSelectableTargets(),s==null||s.setSelectedTargets(n.selected)}));n.added.forEach(i=>{Z0(t,{block:i,isCreateEventListener:!1})}),n.removed.forEach(i=>{Ui(i)})},mi=()=>{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}},$1=(n,t,e,r)=>{if(n==="ol"){const s=Array.from({length:t},(c,u)=>`ol.dsd__theme__ol${u+1}`).join(" ");let o="";t===1&&(o=":not(.dsd__theme__nestedListItem ol)");const i=`${s}${o} >`;return e?`${i} li.dsd__theme__nestedListItem`:`${i} li:not(.dsd__theme__nestedListItem)`}else{const s=" ul".repeat(t-1).trim(),o=" ul".repeat(t).trim(),l=`ul.dsd__theme__ul${s?` ${s}`:""}:not(.dsd__theme__nestedListItem ${o}) >`;let c=`${l} li:not(.dsd__theme__nestedListItem)`;return e?`${l} li.dsd__theme__nestedListItem`:c}};function I9(n,t){if(n<1)throw new Error("Depth must be >= 1");const e=[];if(e.push($1(t,n,!1)),e.push($1(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[...x9,...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[...v9,...e]}return[...Ly,...e]}function K2(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")?K2(e)??e:e}const wc=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function No(n){n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation()}class Cc extends ft{constructor(e,r){super(r);j(this,"__height");this.__height=e}static getType(){return"tablerow"}static clone(e){return new Cc(e.__height,e.__key)}static importDOM(){return{tr:e=>({conversion:M9,priority:0})}}static importJSON(e){return zu(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`),Qe(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 M9(n){const t=n;let e;return jh.test(t.style.height)&&(e=parseFloat(t.style.height)),{node:zu(e)}}function zu(n){return Lt(new Cc(n))}function cn(n){return n instanceof Cc}function L9(n,t,e=!0){const r=X0();for(let s=0;s<n;s++){const o=zu();for(let i=0;i<t;i++){let l=pn.NO_STATUS;typeof e=="object"?(s===0&&e.rows&&(l|=pn.ROW),i===0&&e.columns&&(l|=pn.COLUMN)):e&&(s===0&&(l|=pn.ROW),i===0&&(l|=pn.COLUMN));const c=Cs(l),u=Ce();u.append(Ko()),c.append(u),o.append(c)}r.append(o)}return r}function W2(n){const t=ve(n,e=>cn(e));if(cn(t))return t;throw new Error("Expected table cell to be inside of table row.")}function Ai(n){const t=ve(n,e=>mt(e));if(mt(t))return t;throw new Error("Expected table cell to be inside of table.")}function Yg(n){const t=W2(n);return Ai(t).getChildren().findIndex(r=>r.is(t))}function Zg(n){return W2(n).getChildren().findIndex(e=>e.is(n))}const D9=(n,t)=>n===pn.BOTH||n===t?t:pn.NO_STATUS;function Fh(n=!0){const t=Z();Be(W(t)||gt(t),"Expected a RangeSelection or TableSelection");const e=t.focus.getNode(),[r,,s]=Un(e),[o,i]=rs(s,r,r),l=o[0].length,{startRow:c}=i;let u=null;if(n){const d=c+r.__rowSpan-1,h=o[d],g=zu();for(let m=0;m<l;m++){const{cell:y,startRow:w}=h[m];if(w+y.__rowSpan-1<=d){const C=h[m].cell.__headerState;g.append(Cs(C).append(Ce()))}else y.setRowSpan(y.__rowSpan+1)}const p=s.getChildAtIndex(d);Be(cn(p),"focusEndRow is not a TableRowNode"),p.insertAfter(g),u=g}else{const d=o[c],h=zu();for(let p=0;p<l;p++){const{cell:m,startRow:y}=d[p];if(y===c){const x=d[p].cell.__headerState;h.append(Cs(x).append(Ce()))}else m.setRowSpan(m.__rowSpan+1)}const g=s.getChildAtIndex(c);Be(cn(g),"focusEndRow is not a TableRowNode"),g.insertBefore(h),u=h}return u}function Dy(n=!0){const t=Z();Be(W(t)||gt(t),"Expected a RangeSelection or TableSelection");const e=t.anchor.getNode(),r=t.focus.getNode(),[s]=Un(e),[o,,i]=Un(r),[l,c,u]=rs(i,o,s),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=i.getFirstChild();Be(cn(p),"Expected firstTable child to be a row");let m=null;function y(C=pn.NO_STATUS){const v=Cs(C).append(Ce());return m===null&&(m=v),v}let w=p;e:for(let C=0;C<d;C++){if(C!==0){const M=w.getNextSibling();Be(cn(M),"Expected row nextSibling to be a row"),w=M}const v=l[C],_=v[g<0?0:g].cell.__headerState,N=D9(_,pn.ROW);if(g<0){G0(w,y(N));continue}const{cell:E,startColumn:T,startRow:I}=v[g];if(T+E.__colSpan-1<=g){let M=E,O=I,P=g;for(;O!==C&&M.__rowSpan>1;)if(P-=E.__colSpan,P>=0){const{cell:z,startRow:H}=v[P];M=z,O=H}else{w.append(y(N));continue e}const F=C?0:N;M.insertAfter(y(F))}else E.setColSpan(E.__colSpan+1)}m!==null&&Uu(m);const x=i.getColWidths();if(x){const C=[...x],v=g<0?0:g,_=C[v];C.splice(v,0,_),i.setColWidths(C)}return m}function O9(){const n=Z();Be(W(n)||gt(n),"Expected a RangeSelection or TableSelection");const[t,e]=n.isBackward()?[n.focus.getNode(),n.anchor.getNode()]:[n.anchor.getNode(),n.focus.getNode()],[r,,s]=Un(t),[o]=Un(e),[i,l,c]=rs(s,r,o),{startRow:u}=l,{startRow:d}=c,h=d+o.__rowSpan-1;if(i.length===h-u+1){s.remove();return}const g=i[0].length,p=i[h+1],m=s.getChildAtIndex(h+1);for(let y=h;y>=u;y--){for(let x=g-1;x>=0;x--){const{cell:C,startRow:v,startColumn:_}=i[y][x];if(_===x&&(y===u&&v<u&&C.setRowSpan(C.__rowSpan-(v-u)),v>=u&&v+C.__rowSpan-1>h))if(C.setRowSpan(C.__rowSpan-(h-v+1)),Be(m!==null,"Expected nextRowNode not to be null"),x===0)G0(m,C);else{const{cell:N}=p[x-1];N.insertAfter(C)}}const w=s.getChildAtIndex(y);Be(cn(w),"Expected TableNode childAtIndex(%s) to be RowNode",String(y)),w.remove()}if(p!==void 0){const{cell:y}=p[0];Uu(y)}else{const y=i[u-1],{cell:w}=y[0];Uu(w)}}function R9(){const n=Z();Be(W(n)||gt(n),"Expected a RangeSelection or TableSelection");const t=n.anchor.getNode(),e=n.focus.getNode(),[r,,s]=Un(t),[o]=Un(e),[i,l,c]=rs(s,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(i[0].length===p-g+1){s.selectPrevious(),s.remove();return}const w=i.length;for(let _=0;_<w;_++)for(let N=g;N<=p;N++){const{cell:E,startColumn:T}=i[_][N];if(T<g){if(N===g){const I=g-T;E.setColSpan(E.__colSpan-Math.min(m,E.__colSpan-I))}}else if(T+E.__colSpan-1>p){if(N===p){const I=p-T+1;E.setColSpan(E.__colSpan-I)}}else E.remove()}const x=i[d],C=u>h?x[u+r.__colSpan]:x[h+o.__colSpan];if(C!==void 0){const{cell:_}=C;Uu(_)}else{const _=h<u?x[h-1]:x[u-1],{cell:N}=_;Uu(N)}const v=s.getColWidths();if(v){const _=[...v];_.splice(g,m),s.setColWidths(_)}}function Uu(n){const t=n.getFirstDescendant();t==null?n.selectStart():t.getParentOrThrow().selectStart()}function G0(n,t){const e=n.getFirstChild();e!==null?e.insertBefore(t):n.append(t)}function B9(){const n=Z();Be(W(n)||gt(n),"Expected a RangeSelection or TableSelection");const t=n.anchor.getNode(),[e,r,s]=Un(t),o=e.__colSpan,i=e.__rowSpan;if(o===1&&i===1)return;const[l,c]=rs(s,e,e),{startColumn:u,startRow:d}=c,h=e.__headerState&pn.COLUMN,g=Array.from({length:o},(y,w)=>{let x=h;for(let C=0;x!==0&&C<l.length;C++)x&=l[C][w+u].cell.__headerState;return x}),p=e.__headerState&pn.ROW,m=Array.from({length:i},(y,w)=>{let x=p;for(let C=0;x!==0&&C<l[0].length;C++)x&=l[w+d][C].cell.__headerState;return x});if(o>1){for(let y=1;y<o;y++)e.insertAfter(Cs(g[y]|m[0]).append(Ce()));e.setColSpan(1)}if(i>1){let y;for(let w=1;w<i;w++){const x=d+w,C=l[x];y=(y||r).getNextSibling(),Be(cn(y),"Expected row next sibling to be a row");let v=null;for(let _=0;_<u;_++){const N=C[_],E=N.cell;N.startRow===x&&(v=E),E.__colSpan>1&&(_+=E.__colSpan-1)}if(v===null)for(let _=o-1;_>=0;_--)G0(y,Cs(g[_]|m[w]).append(Ce()));else for(let _=o-1;_>=0;_--)v.insertAfter(Cs(g[_]|m[w]).append(Ce()))}e.setRowSpan(1)}}function rs(n,t,e){const[r,s,o]=H2(n,t,e);return Be(s!==null,"Anchor not found in Table"),Be(o!==null,"Focus not found in Table"),[r,s,o]}function H2(n,t,e){const r=[];let s=null,o=null;function i(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];Be(cn(u),"Expected TableNode children to be TableRowNode");for(let d=u.getFirstChild(),h=0;d!=null;d=d.getNextSibling()){Be(_e(d),"Expected TableRowNode children to be TableCellNode");const g=i(c);for(;g[h]!==void 0;)h++;const p={cell:d,startColumn:h,startRow:c},{__rowSpan:m,__colSpan:y}=d;for(let w=0;w<m&&!(c+w>=l.length);w++){const x=i(c+w);for(let C=0;C<y;C++)x[h+C]=p}t!==null&&s===null&&t.is(d)&&(s=p),e!==null&&o===null&&e.is(d)&&(o=p)}}return[r,s,o]}function Un(n){let t;if(n instanceof ws)t=n;else if("__type"in n){const s=ve(n,_e);Be(_e(s),"Expected to find a parent TableCellNode"),t=s}else{const s=ve(n.getNode(),_e);Be(_e(s),"Expected to find a parent TableCellNode"),t=s}const e=t.getParent();Be(cn(e),"Expected TableCellNode to have a parent TableRowNode");const r=e.getParent();return Be(mt(r),"Expected TableRowNode to have a parent TableNode"),[t,e,r]}function ek(n){const[t,,e]=Un(n),r=e.getChildren(),s=r.length,o=r[0].getChildren().length,i=new Array(s);for(let l=0;l<s;l++)i[l]=new Array(o);for(let l=0;l<s;l++){const u=r[l].getChildren();let d=0;for(let h=0;h<u.length;h++){for(;i[l][d];)d++;const g=u[h],p=g.__rowSpan||1,m=g.__colSpan||1;for(let y=0;y<p;y++)for(let w=0;w<m;w++)i[l+y][d+w]=g;if(t===g)return{colSpan:m,columnIndex:d,rowIndex:l,rowSpan:p};d+=m}}return null}class Gg{constructor(t,e,r){j(this,"tableKey");j(this,"anchor");j(this,"focus");j(this,"_cachedNodes");j(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 gt(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 Gg(this.tableKey,this.anchor,this.focus)}isCollapsed(){return!1}extract(){return this.getNodes()}insertRawText(t){}insertText(){}hasFormat(t){let e=0;this.getNodes().filter(_e).forEach(o=>{const i=o.getFirstChild();an(i)&&(e|=i.getTextFormat())});const s=Bo[t];return(e&s)!==0}insertNodes(t){const e=this.focus.getNode();Be(Y(e),"Expected TableSelection focus to be an ElementNode"),Ei(e.select(0,e.getChildrenSize())).insertNodes(t)}getShape(){const t=be(this.anchor.key);Be(_e(t),"Expected TableSelection anchor to be (or a child of) TableCellNode");const e=ek(t);Be(e!==null,"getCellRect: expected to find AnchorNode");const r=be(this.focus.key);Be(_e(r),"Expected TableSelection focus to be (or a child of) TableCellNode");const s=ek(r);Be(s!==null,"getCellRect: expected to find focusCellNode");const o=Math.min(e.columnIndex,s.columnIndex),i=Math.max(e.columnIndex+e.colSpan-1,s.columnIndex+s.colSpan-1),l=Math.min(e.rowIndex,s.rowIndex),c=Math.max(e.rowIndex+e.rowSpan-1,s.rowIndex+s.rowSpan-1);return{fromX:Math.min(o,i),fromY:Math.min(l,c),toX:Math.max(o,i),toY:Math.max(l,c)}}getNodes(){const t=this._cachedNodes;if(t!==null)return t;const e=this.anchor.getNode(),r=this.focus.getNode(),s=ve(e,_e),o=ve(r,_e);Be(_e(s),"Expected TableSelection anchor to be (or a child of) TableCellNode"),Be(_e(o),"Expected TableSelection focus to be (or a child of) TableCellNode");const i=s.getParent();Be(cn(i),"Expected anchorCell to have a parent TableRowNode");const l=i.getParent();Be(mt(l),"Expected tableNode to have a parent TableNode");const c=o.getParents()[1];if(c!==l){if(l.isParentOf(o)){const I=c.getParent();Be(I!=null,"Expected focusCellParent to have a parent"),this.set(this.tableKey,o.getKey(),I.getKey())}else{const I=l.getParent();Be(I!=null,"Expected gridParent to have a parent"),this.set(this.tableKey,I.getKey(),o.getKey())}return this.getNodes()}const[u,d,h]=rs(l,s,o);let g=Math.min(d.startColumn,h.startColumn),p=Math.min(d.startRow,h.startRow),m=Math.max(d.startColumn+d.cell.__colSpan-1,h.startColumn+h.cell.__colSpan-1),y=Math.max(d.startRow+d.cell.__rowSpan-1,h.startRow+h.cell.__rowSpan-1),w=g,x=p,C=g,v=p;function _(I){const{cell:M,startColumn:O,startRow:P}=I;g=Math.min(g,O),p=Math.min(p,P),m=Math.max(m,O+M.__colSpan-1),y=Math.max(y,P+M.__rowSpan-1)}for(;g<w||p<x||m>C||y>v;){if(g<w){const I=v-x,M=w-1;for(let O=0;O<=I;O++)_(u[x+O][M]);w=M}if(p<x){const I=C-w,M=x-1;for(let O=0;O<=I;O++)_(u[M][w+O]);x=M}if(m>C){const I=v-x,M=C+1;for(let O=0;O<=I;O++)_(u[x+O][M]);C=M}if(y>v){const I=C-w,M=v+1;for(let O=0;O<=I;O++)_(u[M][w+O]);v=M}}const N=new Map([[l.getKey(),l]]);let E=null;for(let I=p;I<=y;I++)for(let M=g;M<=m;M++){const{cell:O}=u[I][M],P=O.getParent();Be(cn(P),"Expected TableCellNode parent to be a TableRowNode"),P!==E&&N.set(P.getKey(),P),N.set(O.getKey(),O);for(const F of P9(O))N.set(F.getKey(),F);E=P}const T=Array.from(N.values());return Wl()||(this._cachedNodes=T),T}getTextContent(){const t=this.getNodes().filter(r=>_e(r));let e="";for(let r=0;r<t.length;r++){const s=t[r],o=s.__parent,i=(t[r+1]||{}).__parent;e+=s.getTextContent()+(i!==o?`
|
|
39
|
+
`:" ")}return e}}function gt(n){return n instanceof Gg}function tk(){const n=Dn("root",0,"element"),t=Dn("root",0,"element");return new Gg("root",n,t)}function P9(n){const t=[],e=[n];for(;e.length>0;){const r=e.pop();Be(r!==void 0,"Stack.length > 0; can't be undefined"),Y(r)&&e.unshift(...r.getChildren()),r!==n&&t.push(r)}return t}function Y2(n,t=Zl()){const e=be(n);Be(mt(e),"TableObserver: Expected tableNodeKey %s to be a TableNode",n);const r=Ol(e,t.getElementByKey(n));return Be(r!==null,"TableObserver: Expected to find TableElement in DOM for key %s",n),{tableElement:r,tableNode:e}}class j9{constructor(t,e){j(this,"focusX");j(this,"focusY");j(this,"listenersToRemove");j(this,"table");j(this,"isHighlightingCells");j(this,"anchorX");j(this,"anchorY");j(this,"tableNodeKey");j(this,"anchorCell");j(this,"focusCell");j(this,"anchorCellNodeKey");j(this,"focusCellNodeKey");j(this,"editor");j(this,"tableSelection");j(this,"hasHijackedSelectionStyles");j(this,"isSelecting");j(this,"shouldCheckSelection");j(this,"abortController");j(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 Y2(this.tableNodeKey,this.editor)}trackTable(){const t=new MutationObserver(e=>{this.editor.getEditorState().read(()=>{let r=!1;for(let s=0;s<e.length;s++){const l=e[s].target.nodeName;if(l==="TABLE"||l==="TBODY"||l==="THEAD"||l==="TR"){r=!0;break}}if(r)try{const{tableNode:s,tableElement:o}=this.$lookup();this.table=pu(s,o)}catch{}},{editor:this.editor})});this.editor.getEditorState().read(()=>{const{tableNode:e,tableElement:r}=this.$lookup();this.table=pu(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(),s=pu(e,r);Ef(t,s,null),Ze(null),t.dispatchCommand(Qr,void 0)})}enableHighlightStyle(){const t=this.editor;t.getEditorState().read(()=>{const{tableElement:e}=this.$lookup();Nr(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();Qe(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(),Ef(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:s}=this.$lookup(),o=t.x,i=t.y;if(this.focusCell=t,this.anchorCell!==null){const l=Z2(r._window);l&&l.setBaseAndExtent(this.anchorCell.elem,0,this.focusCell.elem,0)}if(!this.isHighlightingCells&&(this.anchorX!==o||this.anchorY!==i||e))this.isHighlightingCells=!0,this.disableHighlightStyle();else if(o===this.focusX&&i===this.focusY)return;if(this.focusX=o,this.focusY=i,this.isHighlightingCells){const l=Re(t.elem);if(this.tableSelection!=null&&this.anchorCellNodeKey!=null&&_e(l)&&s.is(Oa(l))){const c=l.getKey();this.tableSelection=this.tableSelection.clone()||tk(),this.focusCellNodeKey=c,this.tableSelection.set(this.tableNodeKey,this.anchorCellNodeKey,this.focusCellNodeKey),Ze(this.tableSelection),r.dispatchCommand(Qr,void 0),Ef(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=Re(t.elem);if(_e(e)){const r=e.getKey();this.tableSelection=this.tableSelection!=null?this.tableSelection.clone():tk(),this.anchorCellNodeKey=r}})}formatCells(t){this.editor.update(()=>{const e=Z();gt(e)||Be(!1,"Expected grid selection");const r=Go(),s=r.anchor,o=r.focus,i=e.getNodes().filter(_e),l=i[0].getFirstChild(),c=an(l)?l.getFormatFlags(t,null):null;i.forEach(u=>{s.set(u.getKey(),0,"element"),o.set(u.getKey(),u.getChildrenSize(),"element"),r.formatText(t,c)}),Ze(e),this.editor.dispatchCommand(Qr,void 0)})}clearText(){const t=this.editor;t.update(()=>{const e=be(this.tableNodeKey);if(!mt(e))throw new Error("Expected TableNode.");const r=Z();gt(r)||Be(!1,"Expected grid selection");const s=r.getNodes().filter(_e);if(s.length===this.table.columns*this.table.rows){e.selectPrevious(),e.remove(),Me().selectStart();return}s.forEach(o=>{if(Y(o)){const i=Ce(),l=Ko();i.append(l),o.append(i),o.getChildren().forEach(c=>{c!==i&&c.remove()})}}),Ef(t,this.table,null),Ze(null),t.dispatchCommand(Qr,void 0)})}}const J0="__lexicalTableSelection",Z2=n=>wc?(n||window).getSelection():null,F9=n=>(n.buttons&1)===1;function Ol(n,t){if(!t)return t;const e=t.nodeName==="TABLE"?t:n.getDOMSlot(t).element;return Be(e.nodeName==="TABLE","getTableElement: Expecting table in as DOM node for TableNode, not %s",t.nodeName),e}function z9(n,t,e,r){const s=e.getRootElement();if(s===null)throw new Error("No root element.");const o=new j9(e,n.getKey()),i=e._window||window,l=Ol(n,t);K9(l,o),o.listenersToRemove.add(()=>U9(l,o));const c=()=>{const m=()=>{o.isSelecting=!1,i.removeEventListener("mouseup",m),i.removeEventListener("mousemove",y)},y=ul.debounce(w=>{setTimeout(()=>{if(!F9(w)&&o.isSelecting){o.isSelecting=!1,i.removeEventListener("mouseup",m),i.removeEventListener("mousemove",y);return}const x=zh(w.target);x!==null&&(o.anchorX!==x.x||o.anchorY!==x.y)&&(w.preventDefault(),o.setFocusCellForSelection(x))},0)},20);return{onMouseMove:y,onMouseUp:m}},u=m=>{setTimeout(()=>{if(m.button!==0||!i)return;const y=zh(m.target);y!==null&&(No(m),o.setAnchorCellForSelection(y));const{onMouseUp:w,onMouseMove:x}=c();o.isSelecting=!0,i.addEventListener("mouseup",w,o.listenerOptions),i.addEventListener("mousemove",x,o.listenerOptions)},0)};l.addEventListener("mousedown",u,o.listenerOptions);const d=m=>{m.button===0&&e.update(()=>{const y=Z(),w=m.target;gt(y)&&y.tableKey===o.tableNodeKey&&s.contains(w)&&o.clearHighlight()})};i.addEventListener("mousedown",d,o.listenerOptions),o.listenersToRemove.add(e.registerCommand(Ti,m=>nu(e,m,"down",n,o),_o)),o.listenersToRemove.add(e.registerCommand(Xs,m=>nu(e,m,"up",n,o),_o)),o.listenersToRemove.add(e.registerCommand(lg,m=>nu(e,m,"backward",n,o),_o)),o.listenersToRemove.add(e.registerCommand(ig,m=>nu(e,m,"forward",n,o),_o));const h=m=>()=>{const y=Z();if(!el(y,n))return!1;if(gt(y))return o.clearText(),!0;if(W(y)){const w=ve(y.anchor.getNode(),I=>_e(I));if(!_e(w))return!1;const x=y.anchor.getNode(),C=y.focus.getNode(),v=n.isParentOf(x),_=n.isParentOf(C);if(v&&!_||_&&!v)return o.clearText(),!0;const E=ve(y.anchor.getNode(),I=>Y(I)),T=E&&ve(E,I=>Y(I)&&_e(I.getParent()));if(!Y(T)||!Y(E))return!1;if(m===wl&&T.getPreviousSibling()===null)return!0}return!1};[Ja,wl,Ws].forEach(m=>{o.listenersToRemove.add(e.registerCommand(m,h(m),bn))});const g=m=>{const y=Z();if(!(gt(y)||W(y)))return!1;const w=n.isParentOf(y.anchor.getNode()),x=n.isParentOf(y.focus.getNode());if(w!==x){const C=w?"anchor":"focus",v=w?"focus":"anchor",{key:_,offset:N,type:E}=y[v];return n[y[C].isBefore(y[v])?"selectPrevious":"selectNext"]()[v].set(_,N,E),!1}return gt(y)?(m&&(m.preventDefault(),m.stopPropagation()),o.clearText(),!0):!1};o.listenersToRemove.add(e.registerCommand(zl,g,bn)),o.listenersToRemove.add(e.registerCommand(uc,g,bn)),o.listenersToRemove.add(e.registerCommand(Qu,m=>{const y=Z();if(y){if(!(gt(y)||W(y)))return!1;_y(e,Mo(m,ClipboardEvent)?m:null,U0(y));const w=g(m);return W(y)?(y.removeText(),!0):w}return!1},bn)),o.listenersToRemove.add(e.registerCommand(Nt,m=>{const y=Z();if(!el(y,n))return!1;if(gt(y))return o.formatCells(m),!0;if(W(y)){const w=ve(y.anchor.getNode(),x=>_e(x));if(!_e(w))return!1}return!1},bn)),o.listenersToRemove.add(e.registerCommand(hi,m=>{const y=Z();if(!gt(y)||!el(y,n))return!1;const w=y.anchor.getNode(),x=y.focus.getNode();if(!_e(w)||!_e(x))return!1;const[C,v,_]=rs(n,w,x),N=Math.max(v.startRow,_.startRow),E=Math.max(v.startColumn,_.startColumn),T=Math.min(v.startRow,_.startRow),I=Math.min(v.startColumn,_.startColumn);for(let M=T;M<=N;M++)for(let O=I;O<=E;O++){const P=C[M][O].cell;P.setFormat(m);const F=P.getChildren();for(let z=0;z<F.length;z++){const H=F[z];Y(H)&&!H.isInline()&&H.setFormat(m)}}return!0},bn)),o.listenersToRemove.add(e.registerCommand(yi,m=>{const y=Z(),w=y==null?void 0:y.getNodes(),x=_e(w[1]),C=Me(),v=e._keyToDOMMap.size-1===(y==null?void 0:y.getNodes().length);if(x&&e.update(()=>{const _=Ce(),N=Ko(m);_.append(N),w.forEach(E=>{if(!mt(E))return;const T=E.getPreviousSibling(),I=E.getNextSibling();T?T.insertAfter(_,!0):I&&I.insertBefore(_).selectEnd(),E.remove()}),v&&(C.clear(),y.insertText(m))}),!el(y,n))return!1;if(gt(y))return o.clearHighlight(),!1;if(W(y)){const _=ve(y.anchor.getNode(),N=>_e(N));if(!_e(_))return!1;if(typeof m=="string"){const N=sk(e,y,n);if(N)return rk(N,n,[Ko(m)]),!0}}return!1},bn)),r&&o.listenersToRemove.add(e.registerCommand(dc,m=>{const y=Z();if(!W(y)||!y.isCollapsed()||!el(y,n))return!1;const w=_f(y.anchor.getNode());if(w===null)return!1;No(m);const x=n.getCordsFromCellNode(w,o.table);return G2(o,n,x.x,x.y,m.shiftKey?"backward":"forward"),!0},bn)),o.listenersToRemove.add(e.registerCommand(ji,m=>n.isSelected(),_o));function p(m){const y=n.getCordsFromCellNode(m,o.table);return n.getDOMCellFromCordsOrThrow(y.x,y.y,o.table)}return o.listenersToRemove.add(e.registerCommand(cT,m=>{const{nodes:y,selection:w}=m,x=w.focus.getNode().getParent();return _e(x)?(y[0].getFirstChildOrThrow().getChildrenSize(),!0):!1},bn)),o.listenersToRemove.add(e.registerCommand(Qr,()=>{const m=Z(),y=Jo();if(o.getAndClearShouldCheckSelection()&&W(y)&&W(m)&&m.isCollapsed()){const C=m.anchor.getNode(),v=n.getFirstChild(),_=_f(C);if(_!==null&&cn(v)){const N=v.getFirstChild();if(_e(N)&&!ve(_,E=>E.is(N)))return N.selectStart(),!0}}const{hasSelectedBlock:w,selectedAllDocument:x}=mi();if(W(m)){const{anchor:C,focus:v}=m,_=C.getNode(),N=v.getNode(),E=_f(_),T=_f(N),I=!!(E&&n.is(Oa(E))),M=!!(T&&n.is(Oa(T))),O=I!==M,P=I&&M,F=m.isBackward();if(O){const z=m.clone();if(M){const[H]=rs(n,T,T),te=H[0][0].cell,le=H[H.length-1].at(-1).cell;z.focus.set(F?te.getKey():le.getKey(),F?te.getChildrenSize():le.getChildrenSize(),"element")}else if(I){const[H]=rs(n,E,E),te=H[0][0].cell,le=H[H.length-1].at(-1).cell;z.anchor.set(F?le.getKey():te.getKey(),F?le.getChildrenSize():0,"element")}Ze(z),!w&&!x&&nk(e,o)}else P&&(E.is(T)||(o.setAnchorCellForSelection(p(E)),o.setFocusCellForSelection(p(T),!0),o.isSelecting||setTimeout(()=>{const{onMouseUp:z,onMouseMove:H}=c();o.isSelecting=!0,i.addEventListener("mouseup",z),i.addEventListener("mousemove",H)},0)))}else if(m&>(m)&&m.is(y)&&m.tableKey===n.getKey()){const C=Z2(e._window);if(C&&C.anchorNode&&C.focusNode){const v=Re(C.focusNode),_=v&&!n.is(Oa(v)),N=Re(C.anchorNode),E=N&&n.is(Oa(N));if(_&&E&&C.rangeCount>0){const T=b4(C,e);T&&(T.anchor.set(n.getKey(),m.isBackward()?n.getChildrenSize():0,"element"),C.removeAllRanges(),Ze(T))}}}return m&&!m.is(y)&&(gt(m)||gt(y))&&o.tableSelection&&!o.tableSelection.is(y)?(gt(m)&&m.tableKey===o.tableNodeKey?o.updateTableTableSelection(m):!gt(m)&>(y)&&y.tableKey===o.tableNodeKey&&o.updateTableTableSelection(null),!1):(o.hasHijackedSelectionStyles&&!n.isSelected()?W9(e,o):!o.hasHijackedSelectionStyles&&n.isSelected()&&!w&&!x&&nk(e,o),!1)},bn)),o.listenersToRemove.add(e.registerCommand(Po,()=>{const m=Z();if(!W(m)||!m.isCollapsed()||!el(m,n))return!1;const y=sk(e,m,n);return y?(rk(y,n),!0):!1},bn)),o}function U9(n,t){V0(n)===t&&delete n[J0]}function K9(n,t){Be(V0(n)===null,"tableElement already has an attached TableObserver"),n[J0]=t}function V0(n){return n[J0]||null}function zh(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 pu(n,t){const e=Ol(n,t),r=[],s={columns:0,domRows:r,rows:0};let o=e.querySelector("tr"),i=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:i,y:l};o._cell=g;let p=r[l];p===void 0&&(p=r[l]=[]),p[i]=g}else{const h=o.firstChild;if(h!=null){o=h;continue}}const u=o.nextSibling;if(u!=null){i++,o=u;continue}const d=o.parentNode;if(d!=null){const h=d.nextSibling;if(h==null)break;l++,i=0,o=h}}return s.columns=i+1,s.rows=l+1,s}function Ef(n,t,e){const r=new Set(e?e.getNodes():[]);Q0(t,(s,o)=>{const i=s.elem;r.has(o)?(s.highlighted=!0,J2(n,s)):(s.highlighted=!1,V2(n,s),i.getAttribute("style")||i.removeAttribute("style"))})}function Q0(n,t){const{domRows:e}=n;for(let r=0;r<e.length;r++){const s=e[r];if(s)for(let o=0;o<s.length;o++){const i=s[o];if(!i)continue;const l=Re(i.elem);l!==null&&t(i,l,{x:o,y:r})}}}function nk(n,t){t.disableHighlightStyle(),Q0(t.table,e=>{e.highlighted=!0,J2(n,e)})}function W9(n,t){t.enableHighlightStyle(),Q0(t.table,e=>{const r=e.elem;e.highlighted=!1,V2(n,e),r.getAttribute("style")||r.removeAttribute("style")})}const G2=(n,t,e,r,s)=>{const o=s==="forward";switch(s){case"backward":case"forward":return e!==(o?n.table.columns-1:0)?Tf(t.getCellNodeFromCordsOrThrow(e+(o?1:-1),r,n.table),o):r!==(o?n.table.rows-1:0)?Tf(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?Tf(t.getCellNodeFromCordsOrThrow(e,r-1,n.table),!1):t.selectPrevious(),!0;case"down":return r!==n.table.rows-1?Tf(t.getCellNodeFromCordsOrThrow(e,r+1,n.table),!0):t.selectNext(),!0;default:return!1}},H9=(n,t,e,r,s)=>{const o=s==="forward";switch(s){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 el(n,t){if(W(n)||gt(n)){const e=t.isParentOf(n.anchor.getNode()),r=t.isParentOf(n.focus.getNode());return e&&r}return!1}function Tf(n,t){t?n.selectStart():n.selectEnd()}const fA="172,206,247";function J2(n,t){const e=t.elem,r=Re(e);Be(_e(r),"Expected to find LexicalNode from Table Cell DOMNode"),r.getBackgroundColor()===null?e.style.setProperty("background-color",`rgb(${fA})`):e.style.setProperty("background-image",`linear-gradient(to right, rgba(${fA},0.85), rgba(${fA},0.85))`),e.style.setProperty("caret-color","transparent")}function V2(n,t){const e=t.elem,r=Re(e);Be(_e(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 _f(n){const t=ve(n,_e);return _e(t)?t:null}function Oa(n){const t=ve(n,mt);return mt(t)?t:null}function nu(n,t,e,r,s){if((e==="up"||e==="down")&&Y9(n))return!1;const o=Z();if(!el(o,r)){if(W(o)){if(o.isCollapsed()&&e==="backward"){const i=o.anchor.type,l=o.anchor.offset;if(i!=="element"&&!(i==="text"&&l===0))return!1;const c=o.anchor.getNode();if(!c)return!1;const u=ve(c,h=>Y(h)&&!h.isInline());if(!u)return!1;const d=u.getPreviousSibling();return!d||!mt(d)?!1:(No(t),d.selectEnd(),!0)}else if(t.shiftKey&&(e==="up"||e==="down")){const i=o.focus.getNode();if(!o.isCollapsed()&&(e==="up"&&!o.isBackward()||e==="down"&&o.isBackward())){let c=ve(i,p=>mt(p));if(_e(c)&&(c=ve(c,mt)),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=Kn(h)?h.getTextContentSize():0}const g=o.clone();return g.focus.set(h.getKey(),d,Kn(h)?"text":"element"),Ze(g),No(t),!0}else if(Xn(i)){const c=e==="up"?o.getNodes()[o.getNodes().length-1]:o.getNodes()[0];if(c){const u=ve(c,_e);if(u&&r.isParentOf(u)){const d=r.getFirstDescendant(),h=r.getLastDescendant();if(!d||!h)return!1;const[g]=Un(d),[p]=Un(h),m=r.getCordsFromCellNode(g,s.table),y=r.getCordsFromCellNode(p,s.table),w=r.getDOMCellFromCordsOrThrow(m.x,m.y,s.table),x=r.getDOMCellFromCordsOrThrow(y.x,y.y,s.table);return s.setAnchorCellForSelection(w),s.setFocusCellForSelection(x,!0),!0}}return!1}else{let c=ve(i,d=>Y(d)&&!d.isInline());if(_e(c)&&(c=ve(c,mt)),!c)return!1;const u=e==="down"?c.getNextSibling():c.getPreviousSibling();if(mt(u)&&s.tableNodeKey===u.getKey()){const d=u.getFirstDescendant(),h=u.getLastDescendant();if(!d||!h)return!1;const[g]=Un(d),[p]=Un(h),m=o.clone();return m.focus.set((e==="up"?g:p).getKey(),e==="up"?0:p.getChildrenSize(),"element"),No(t),Ze(m),!0}}}}return e==="down"&&Q2(n)&&s.setShouldCheckSelection(),!1}if(W(o)&&o.isCollapsed()){const{anchor:i,focus:l}=o,c=ve(i.getNode(),_e),u=ve(l.getNode(),_e);if(!_e(c)||!c.is(u))return!1;const d=Oa(c);if(d!==r&&d!=null){const C=Ol(d,n.getElementByKey(d.getKey()));if(C!=null)return s.table=pu(d,C),nu(n,t,e,d,s)}if(e==="backward"||e==="forward"){const C=i.type,v=i.offset,_=i.getNode();if(!_)return!1;const N=o.getNodes();return N.length===1&&tt(N[0])?!1:Z9(C,v,_,e)?V9(t,_,r,e):!1}const h=n.getElementByKey(c.__key),g=n.getElementByKey(i.key);if(g==null||h==null)return!1;let p;if(i.type==="element")p=g.getBoundingClientRect();else{const C=window.getSelection();if(C===null||C.rangeCount===0)return!1;p=C.getRangeAt(0).getBoundingClientRect()}const m=e==="up"?c.getFirstChild():c.getLastChild();if(m==null)return!1;const y=n.getElementByKey(m.__key);if(y==null)return!1;const w=y.getBoundingClientRect();if(e==="up"?w.top>p.top-p.height:p.bottom+p.height>w.bottom){No(t);const C=r.getCordsFromCellNode(c,s.table);if(t.shiftKey){const v=r.getDOMCellFromCordsOrThrow(C.x,C.y,s.table);s.setAnchorCellForSelection(v),s.setFocusCellForSelection(v,!0)}else return G2(s,r,C.x,C.y,e);return!0}}else if(gt(o)){const{anchor:i,focus:l}=o,c=ve(i.getNode(),_e),u=ve(l.getNode(),_e),[d]=o.getNodes();Be(mt(d),"$handleArrowKey: TableSelection.getNodes()[0] expected to be TableNode");const h=Ol(d,n.getElementByKey(d.getKey()));if(!_e(c)||!_e(u)||!mt(d)||h==null)return!1;s.updateTableTableSelection(o);const g=pu(d,h),p=r.getCordsFromCellNode(c,g),m=r.getDOMCellFromCordsOrThrow(p.x,p.y,g);if(s.setAnchorCellForSelection(m),No(t),t.shiftKey){const y=r.getCordsFromCellNode(u,g);return H9(s,d,y.x,y.y,e)}else u.selectEnd();return!0}return!1}function Y9(n){const t=n.getRootElement();return t?t.hasAttribute("aria-controls")&&t.getAttribute("aria-controls")==="typeahead-menu":!1}function Z9(n,t,e,r){return G9(n,e,r)||J9(n,t,e,r)}function G9(n,t,e){return n==="element"&&(e==="backward"?t.getPreviousSibling()===null:t.getNextSibling()===null)}function J9(n,t,e,r){const s=ve(e,i=>Y(i)&&!i.isInline());if(!s)return!1;const o=r==="backward"?t===0:t===e.getTextContentSize();return n==="text"&&o&&(r==="backward"?s.getPreviousSibling()===null:s.getNextSibling()===null)}function V9(n,t,e,r){const s=ve(t,_e);if(!_e(s))return!1;const[o,i]=rs(e,s,s);if(!Q9(o,i,r))return!1;const l=X9(t,r,e);return!l||mt(l)?!1:(No(n),r==="backward"?l.selectEnd():l.selectStart(),!0)}function Q9(n,t,e){const r=n[0][0],s=n[n.length-1][n[0].length-1],{startColumn:o,startRow:i}=t;return e==="backward"?o===r.startColumn&&i===r.startRow:o===s.startColumn&&i===s.startRow}function X9(n,t,e){const r=ve(n,o=>Y(o)&&!o.isInline());if(!r)return;const s=t==="backward"?r.getPreviousSibling():r.getNextSibling();return s&&mt(s)?s:t==="backward"?e.getPreviousSibling():e.getNextSibling()}function rk(n,t,e){const r=Ce();n==="first"?t.insertBefore(r):t.insertAfter(r),r.append(...e||[]),r.selectEnd()}function sk(n,t,e){const r=e.getParent();if(!r)return;const s=window.getSelection();if(!s)return;const o=s.anchorNode,i=n.getElementByKey(r.getKey()),l=Ol(e,n.getElementByKey(e.getKey()));if(!o||!i||!l||!i.contains(o)||l.contains(o))return;const c=ve(t.anchor.getNode(),C=>_e(C));if(!c)return;const u=ve(c,C=>mt(C));if(!mt(u)||!u.is(e))return;const[d,h]=rs(e,c,c),g=d[0][0],p=d[d.length-1][d[0].length-1],{startRow:m,startColumn:y}=h,w=m===g.startRow&&y===g.startColumn,x=m===p.startRow&&y===p.startColumn;return w?"first":x?"last":void 0}function ok(n,t,e,r){const s=n.querySelector("colgroup");if(!s)return;const o=[];for(let i=0;i<e;i++){const l=document.createElement("col"),c=r&&r[i];c&&(l.style.width=`${c}px`),o.push(l)}s.replaceChildren(...o)}function ik(n,t,e){e?(Qe(n,t.theme.tableRowStriping),n.setAttribute("data-lexical-row-striping","true")):(Nr(n,t.theme.tableRowStriping),n.removeAttribute("data-lexical-row-striping"))}const Oy=new WeakSet;function Q2(n=Zl()){return Oy.has(n)}function q9(n,t){t?(n._config.theme.tableScrollableWrapper||console.warn("TableNode: hasHorizontalScroll is active but theme.tableScrollableWrapper is not defined."),Oy.add(n)):Oy.delete(n)}class xs extends ft{constructor(e){super(e);j(this,"__rowStriping");j(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 xs(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__colWidths=e.__colWidths,this.__rowStriping=e.__rowStriping}static importDOM(){return{table:e=>({conversion:$9,priority:1})}}static importJSON(e){const r=X0();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 Be(r.nodeName==="TABLE","TableNode.getDOMSlot: createDOM() did not return a table"),super.getDOMSlot(r).withAfter(r.querySelector("colgroup"))}createDOM(e,r){const s=document.createElement("table"),o=document.createElement("colgroup");if(s.appendChild(o),ok(s,e,this.getColumnCount(),this.getColWidths()),JT(o),Qe(s,e.theme.table),this.__rowStriping&&ik(s,e,!0),Q2(r)){const i=document.createElement("div"),l=e.theme.tableScrollableWrapper;return l?Qe(i,l):i.style.cssText="overflow-x: auto;",i.appendChild(s),i}return s}updateDOM(e,r,s){const i=this.getDOMSlot(r).element;return e.__rowStriping!==this.__rowStriping&&ik(r,s,this.__rowStriping),ok(i,s,this.getColumnCount(),this.getColWidths()),e!==this}exportDOM(e){return{...super.exportDOM(e),after:r=>{if(!r||!St(r))return null;const s=r.firstChild;if(!(s instanceof HTMLTableElement))return null;const o=r.querySelectorAll(":scope > tr");if(o.length>0){const i=document.createElement("tbody");i.append(...o),s.append(i),r.append(s)}return r}}}canBeEmpty(){return!1}isShadowRoot(){return!0}getCordsFromCellNode(e,r){const{rows:s,domRows:o}=r;for(let i=0;i<s;i++){const l=o[i];if(l==null)continue;const c=l.findIndex(u=>{if(!u)return;const{elem:d}=u;return Re(d)===e});if(c!==-1)return{x:c,y:i}}throw new Error("Cell not found in table.")}getDOMCellFromCords(e,r,s){const{domRows:o}=s,i=o[r];if(i==null)return null;const l=e<i.length?e:i.length-1,c=i[l];return c??null}getDOMCellFromCordsOrThrow(e,r,s){const o=this.getDOMCellFromCords(e,r,s);if(!o)throw new Error("Cell not found at cords.");return o}getCellNodeFromCords(e,r,s){const o=this.getDOMCellFromCords(e,r,s);if(o==null)return null;const i=Re(o.elem);return _e(i)?i:null}getCellNodeFromCordsOrThrow(e,r,s){const o=this.getCellNodeFromCords(e,r,s);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(s=>{_e(s)&&(r+=s.getColSpan())}),r}}function $9(n){const t=X0();n.hasAttribute("data-lexical-row-striping")&&t.setRowStriping(!0);const e=n.querySelector(":scope > colgroup");if(e){let r=[];for(const s of e.querySelectorAll(":scope > col")){const o=s.style.width;if(!o||!jh.test(o)){r=void 0;break}r.push(parseFloat(o))}r&&t.setColWidths(r)}return{node:t}}function X0(){return Lt(new xs)}function mt(n){return n instanceof xs}function eK(n){var s;const t=n.getAttribute("open");return((s=n.firstElementChild)==null?void 0:s.tagName)==="SPAN"?{node:null}:{node:q0(t!==null)}}class Rl extends ft{constructor(e,r){super(r);j(this,"__open");this.__open=e}static getType(){return"collapsible-container"}static clone(e){return new Rl(e.__open,e.__key)}createDOM(e,r){let s;const o=document.createElement("details");return o.open=this.__open,o.addEventListener("toggle",()=>{r.getEditorState().read(()=>this.getOpen())!==o.open&&r.update(()=>this.toggleOpen())}),s=o,s.classList.add("Collapsible__container"),s}updateDOM(e,r){const s=this.__open;return e.__open!==s&&(r.open=this.__open),!1}static importDOM(){return{details:e=>({conversion:eK,priority:1})}}static importJSON(e){return q0(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 q0(n){return new Rl(n)}function Lr(n){return n instanceof Rl}function tK(n){return{node:$0()}}class Wo extends ft{static getType(){return"collapsible-content"}static clone(t){return new Wo(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:tK,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 $0()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"collapsible-content",version:1}}}function $0(){return new Wo}function Ku(n){return n instanceof Wo}const nK=wc&&"documentMode"in document?document.documentMode:null;var KE;const rK=(KE=navigator.userAgentData)==null?void 0:KE.platform,Ry=wc&&/macOS|iPod|iPhone|iPad/.test(rK);wc&&"InputEvent"in window&&!nK&&"getTargetRanges"in new window.InputEvent("input");const sK=wc&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent);function oK(n){return{node:ew()}}class Di extends ft{static getType(){return"collapsible-title"}static clone(t){return new Di(t.__key)}createDOM(t,e){const r=document.createElement("summary");return r.classList.add("Collapsible__title"),sK&&(r.style.cursor="pointer"),r}updateDOM(t,e){return!1}static importDOM(){return{summary:t=>({conversion:oK,priority:1})}}static importJSON(t){return ew()}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(!Lr(r))throw new Error("CollapsibleTitleNode expects to be child of CollapsibleContainerNode");if(r.getOpen()){const s=this.getNextSibling();if(!Ku(s))throw new Error("CollapsibleTitleNode expects to have CollapsibleContentNode sibling");const o=s.getFirstChild();if(Y(o))return o;{const i=Ce();return s.append(i),i}}else{const s=Ce();return r.insertAfter(s,e),s}}}function ew(){return new Di}function ml(n){return n instanceof Di}const X2=k.createContext([n=>()=>{},n=>{}]),iK=({children:n})=>{const t=k.useMemo(()=>{let e=null;const r=new Set;return[s=>(s(e),r.add(s),()=>{r.delete(s)}),s=>{e=s;for(const o of r)o(s)}]},[]);return A.jsx(X2.Provider,{value:t,children:n})},lK=()=>{const[n,t]=k.useContext(X2),[e,r]=k.useState(null);return k.useEffect(()=>n(s=>{r(s)}),[n]),[e,t]},aK=Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5);class Jg extends so{constructor(e,r){super(r);j(this,"__uuid");this.__uuid=e}static clone(e){return new Jg(e.__uuid,e.__key)}static getType(){return"autocomplete"}static importJSON(e){return cK(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!==aK?null:A.jsx(uK,{})}}function cK(n){return new Jg(n)}function uK(){const[n]=lK(),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 By={...Es};function dK(){return{node:Vg()}}class $l extends ft{static getType(){return"callout"}static clone(t){return new $l(t.__key)}constructor(t){super(t)}createDOM(t){const e=document.createElement("div");return typeof t.theme.callout=="string"&&Qe(e,By.callout),e}updateDOM(){return!1}isShadowRoot(){return!0}static importDOM(){return{div:t=>t.className!==By.callout?null:{conversion:dK,priority:2}}}static importJSON(){return Vg()}exportJSON(){return{...super.exportJSON(),type:"callout",version:1}}}function Vg(){return new $l}function xc(n){return n instanceof $l}const ao={transition:"fade",duration:400},fK=({editor:n,keyNode:t,emoji:e})=>{const{t:r}=ot.useTranslation(),s=k.useRef(null);return k.useEffect(()=>{n.update(()=>{var l,c;const o=be(t),i=((c=(l=s.current)==null?void 0:l.firstChild)==null?void 0:c.outerHTML)||"";o instanceof Oi&&o.setRef(i)})},[e]),A.jsx("div",{ref:s,children:A.jsx(bt.EmojiPicker,{value:e,onChange:o=>{n.update(()=>{var l;const i=be(t);i instanceof Oi&&((l=i.getNextSibling())==null||l.selectStart(),i.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:ao},children:A.jsx(D.ActionIcon,{size:28,variant:"subtle",children:A.jsx(bt.ProjectIcon,{size:27,fz:27,icon:e,fallback:A.jsx($.IconFile,{size:"1em"})})})})})};function hK(n){const t=n.getAttribute("data-emoji");return{node:Qg(t||"","")}}const lk=new Map;class Oi extends lo{constructor(e,r,s,o){super(s,o);j(this,"__emojiCode");j(this,"__refElem");this.__emojiCode=e||"",this.__refElem=r||""}static getType(){return"callout-image"}static clone(e){return new Oi(e.__emojiCode,e.__refElem,e.__format,e.__key)}static importJSON(e){return Qg(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:hK,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=lk.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){lk.set(this.__key,e)}decorate(e,r){return A.jsx(fK,{emoji:this.__emojiCode,editor:e,keyNode:this.__key})}}function Qg(n,t){return new Oi(n||"",t||"")}function gK(n){const t=n.getAttribute("data-type"),e=n.style.backgroundColor;return{node:Xg(e,t||"default")}}class Ho extends ft{constructor(e,r,s){super(s);j(this,"__backgroundColor");j(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 Ho(e.__backgroundColor,e.__calloutType,e.__key)}createDOM(e){const r=document.createElement("div");return typeof e.theme.callout=="string"&&Qe(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!==By.calloutWrapper?null:{conversion:gK,priority:2}}}static importJSON(e){return Xg(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 Xg(n="#f3f3f4",t="default"){return new Ho(n,t)}function Js(n){return n instanceof Ho}const ak={bullet:$.IconList,check:$.IconListCheck,"check-mark":$.IconCheck,code:$.IconCode,h1:$.IconH1,h2:$.IconH2,h3:$.IconH3,number:$.IconListNumbers,paragraph:$.IconIndentIncrease,quote:$.IconQuote,fontFamily:$.IconLetterT,undo:$.IconArrowBackUp,redo:$.IconArrowForwardUp,bold:$.IconBold,italic:$.IconItalic,underline:$.IconUnderline,link:$.IconLink,"color-picker":$.IconColorPicker,background:$.IconBucketDroplet,photo:$.IconPhoto,"photo-check":$.IconPhotoCheck,"align-left":$.IconAlignLeft,"align-end":$.IconAlignLeft,"align-start":$.IconAlignLeft,"align-right":$.IconAlignRight,"align-center":$.IconAlignCenter,"align-justify":$.IconAlignJustified,"horizontal-rule":$.IconFlipHorizontal,strikethrough:$.IconStrikethrough,subscript:$.IconSubscript,superscript:$.IconSuperscript,minus:$.IconMinus,plus:$.IconPlus,"chevron-down":$.IconChevronDown,"chevron-right":$.IconChevronRight,grip:$.IconGripVertical,"circle-check":$.IconCircleCheck,"circle-x":$.IconCircleX,pencil:$.IconPencil,trash:$.IconTrash,table:$.IconTable,"caret-right":$.IconCaretRight,grid:$.IconColumns3,"dots-vertical":$.IconDotsVertical,copy:$.IconCopy,clipboard:$.IconClipboard,cut:$.IconCut,"arrow-bar-to-up":$.IconArrowBarToUp,"arrow-bar-to-down":$.IconArrowBarToDown,"arrow-bar-to-left":$.IconArrowBarToLeft,"arrow-bar-to-right":$.IconArrowBarToRight,"column-insert-left":$.IconColumnInsertLeft,"column-insert-right":$.IconColumnInsertRight,"row-insert-top":$.IconRowInsertTop,"row-insert-bottom":$.IconRowInsertBottom,"container-off":$.IconContainerOff,"table-off":$.IconTableOff,"layers-union":$.IconLayersUnion,"layers-substract":$.IconLayersSubtract,"сlear-format":$.IconDropletOff,form:$.IconCheckupList,youtube:$.IconBrandYoutube,emoji:$.IconMoodSmile,file:$.IconFile,success:$.IconCheck,warning:$.IconAlertTriangle,alert:$.IconExclamationCircle,defaultOff:$.IconBaseline,embed:$.IconCodeCircle,at:$.IconAt,paperclip:$.IconPaperclip,close:$.IconX,api:$.IconApi,music:$.IconMusic,message:$.IconMessage,reply:$.IconArrowBackUp,filter:$.IconFilter,messages:$.IconMessages,"shield-check":$.IconShieldCheckFilled,reOpen:$.IconReload,send:$.IconSend,expandSidebar:$.IconLayoutSidebarLeftExpand,palette:$.IconPalette},we=({name:n,iconStyle:t,...e})=>{const r=ak[n]||ak.bullet;return A.jsx(D.Flex,{gap:0,justify:"center",align:"center",...e,children:A.jsx(r,{size:18,stroke:2,style:t,...e})})},vc=({icon:n,title:t,pointerEvents:e="auto",isLoading:r,progress:s,nodeKey:o,onAfterCancel:i,...l})=>{const[c]=Ee(),{t:u}=ot.useTranslation(),{fetchUploadMedia:d}=k.useContext(Mt),h=s?((d==null?void 0:d.length)??0)>=5:!1,g=()=>{c.update(()=>{const m=be(o);m&&m.remove()})},p=m=>{m.stopPropagation(),i==null||i()};return A.jsxs(D.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(D.Loader,{size:"xs",mb:2,mr:4,color:"gray"}),!r&&A.jsx(we,{name:n}),t,r&&i&&A.jsx(D.Text,{component:"span",onClick:p,variant:"link",style:{marginLeft:"auto",cursor:"pointer",pointerEvents:"auto"},children:u("editor.cancel")}),o&&!r&&A.jsx(we,{style:{pointerEvents:"auto"},className:"delete-icon",name:"close",size:22,onClick:g})]}),r&&typeof s=="number"&&h&&A.jsx(D.Progress,{w:"100%",value:s,animated:!0,transitionDuration:200})]})},pK="_title_81iwv_1",mK="_icon_81iwv_11",AK="_link_81iwv_20",hA={title:pK,icon:mK,link:AK},yK=({page:n})=>{const{t}=ot.useTranslation();return A.jsxs("div",{className:hA.link,onClick:n.onClick,children:[A.jsx("div",{className:hA.icon,children:n.icon?A.jsx(bt.ProjectIcon,{size:16,fz:16,icon:n.icon,fallback:A.jsx($.IconFile,{size:"1em"})}):A.jsx(bt.EntityIcon,{item:{...n,type:"PAGE"}})}),A.jsx(D.Tooltip,{label:n.title,disabled:!n.title,openDelay:400,children:A.jsx(D.Text,{truncate:!0,className:hA.title,"data-empty":!n.title,children:n.title||t("editor.noTitle")})})]})},bK=k.memo,wK=bK(yK),CK=({page:n})=>A.jsx("div",{className:"docs-item",children:A.jsx(wK,{page:n})});function xK({nodeKey:n}){const{pages:t,childPagesLoading:e}=k.useContext(Mt),{t:r}=ot.useTranslation();return t.length===0?A.jsx("p",{style:{margin:0},children:A.jsx(vc,{title:r(e?"editor.menu.other.documents.loading":"editor.menu.other.documents.empty"),icon:"file",pointerEvents:"none",nodeKey:n,isLoading:e})}):A.jsx("div",{className:"docs-container",children:t.map(s=>A.jsx(CK,{page:s},s.id))})}function vK(n){return n.getAttribute("data-child-docs")?{node:q2()}:null}class rc extends lo{static getType(){return"childDocs"}static clone(t){return new rc(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(xK,{nodeKey:this.__key})}static importJSON(t){const{format:e,key:r}=t;return new rc(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:vK,priority:2}:null}}}function q2(){return new rc(void 0)}const SK=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"]},Ro=ye(),Py=ye(),tw=ye(),jy=ye(),nw=ye(),$2=ye(),eI=ye(),tI=ye(),Fy=(()=>{var t;const n=(t=window.navigator)==null?void 0:t.userAgentData;return n!==void 0?n.mobile:window.innerWidth<=800&&window.innerHeight<=600})(),kK={center:-8,right:2,left:-18},EK=(n,t,e,r)=>{const o=n.width/2,i=n.height/2,l=r==null?void 0:r.classList[1],c=kK[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:i-8};case"e-resize":return{x:n.width-16,y:i-(e?17:8)}}},TK=(n,t,e,r=["nw-resize","ne-resize","sw-resize","se-resize","n-resize","s-resize","w-resize","e-resize"])=>{const o=e<=32,i=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":i&&l?r.includes("sw-resize")?"sw-resize":"default":i&&c?r.includes("se-resize")?"se-resize":"default":o?r.includes("n-resize")?"n-resize":"default":i?r.includes("s-resize")?"s-resize":"default":l?r.includes("w-resize")?"w-resize":"default":c&&r.includes("e-resize")?"e-resize":"default"},Nf=32,If=(n,t)=>n&&typeof n=="number"?Math.min(n/t*100,95.5):95.5;function _K(n){const e=100-4e3/n;return{minResizePercent:Math.max(5,9792/n),maxWidthPercent:e}}const rw=({editor:n,width:t,height:e,initialHeight:r,initialWidth:s,children:o,onResizeStart:i,isIcon:l,onResizeEnd:c,alignment:u,isEmbed:d,type:h,disableInteractions:g=!1})=>{const[p,m]=k.useState({x:-1e3,y:-1e3}),[y,w]=k.useState(30),[x,C]=k.useState("default"),[v,_]=k.useState(!1),{imperativeHandleRef:N}=k.useContext(Mt),[E,T]=k.useState(null),I=k.useMemo(()=>SK(u)||["e-resize"],[u]),M=I.length===1&&I[0]==="e-resize",O=k.useRef(null),P=k.useRef(null),F=k.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}),z=(K,J=95.5)=>{var ie;const ee=(ie=n._window)==null?void 0:ie.innerWidth;if(ee){let ue=100;d&&(ue=250);const se=ue/ee*100;return K<se?se:K>J?J:K}else return K<20?20:K>100?100:K},H=(K,J)=>{const ee=Math.min(K,J);return 15+(Math.max(200,Math.min(800,ee))-100)/500*15},te=(K,J,ee)=>{if(C("default"),!v)return;let ie=x;ie=TK(K,J,ee,I),F.current.isResizing&&(ie=x),C(ie),w(y),m(ue=>EK(K,ie,d||!1,O.current)||ue)},le=K=>{var ue;if(Fy)return;K.preventDefault();const J=(ue=O.current)==null?void 0:ue.getBoundingClientRect();if(!J)return;const ee=K.clientX-J.left,ie=K.clientY-J.top;F.current.isResizing||te(J,ee,ie)},ce=(K,J=12,ee=95.5,ie=F.current.rootWidth)=>{const ue=O.current,se=F.current;if(!ue||K.button===2||!(se!=null&&se.isResizing))return;const Ae=ue.getBoundingClientRect(),Ne=K.clientX-Ae.left,pe=K.clientY-Ae.top;te(Ae,Ne,pe);const Ie=.17,$e=u==="right",pt=u==="center",Ye=se.isLeft,wt=se.isTop,Ct=se.isBottom,Oe=se.direction==="y",Le=se.isRight,it=Math.floor($e?Ae.right-K.clientX-(Ae.right-se.startX):K.clientX-se.startX),Gt=Math.floor(K.clientY-se.startY);let Dt=0;Ye||Le?Dt=it/ie*100:(wt||Ct||pt)&&(Dt=Gt*Ie),(Ye||wt)&&(!$e||Oe&&!Ye)&&(!Ct||pt)&&(Dt=-Dt),(wt&&Le||Ct&&Le)&&(Dt=it/ie*100),Dt=Math.max(-100,Math.min(100,Dt));const ur=se.startWidthPercent+Dt,Pe=se.startHeightPercent+Dt;se.currentWidthPercent=z(Math.max(J,ur),ee),se.currentHeightPercent=z(Math.max(J,Pe),ee),ue.style.width=`${se.currentWidthPercent}%`,ue.style.height=`${se.currentHeightPercent}%`},ne=K=>{var ue,se;const J=F.current;if(J.isResizing=!1,(ue=O.current)==null||ue.classList.remove("is-resizing"),(se=O.current)==null||se.releasePointerCapture(K.pointerId),c(J.currentWidthPercent+"%",J.currentHeightPercent+"%"),document.removeEventListener("pointermove",ce),!O.current)return;const ee=O.current.getBoundingClientRect(),ie=H(ee.width,ee.height);w(ie)},X=K=>{var zt,at;if(K.button===2||!v){K.preventDefault(),K.stopPropagation();return}if(!O.current)return;O.current.classList.add("is-resizing");const J=n.getRootElement();if(!J)return;const ee=J.getBoundingClientRect();if(!n.isEditable()||x==="default")return;const ie=P.current;if(ie===null)return;const ue=(zt=O.current)==null?void 0:zt.getBoundingClientRect();if(!ie.getBoundingClientRect()||!ue)return;const{width:Ae,height:Ne,top:pe,left:Ie}=ue,$e=K.clientX-Ie,pt=K.clientY-pe,Ye=pt<=Nf,wt=pt>=Ne-Nf,Ct=$e<=Nf,Oe=$e>=Ae-Nf,Le=F.current,it=window.getComputedStyle(J),Gt=parseFloat(it.paddingTop),Dt=parseFloat(it.paddingBottom),ur=parseFloat(it.paddingLeft),Pe=parseFloat(it.paddingRight);Le.rootHeight=ee.height-Gt-Dt||0,Le.rootWidth=ee.width-ur-Pe||0,Le.ratio=Ae/Ne,Le.currentWidth=Le.currentWidth||Ae,Le.currentWidthPercent=+O.current.style.width.replace("%",""),Le.currentHeight=Le.currentHeight||Ne,Le.currentHeightPercent=+O.current.style.height.replace("%",""),Le.startX=K.clientX,Le.startY=K.clientY,Le.startWidth=Le.currentWidth||Ae,Le.startWidthPercent=Le.currentWidthPercent,Le.startHeight=Le.currentHeight||Ne,Le.startHeightPercent=Le.currentHeightPercent,Le.isResizing=!0,Le.isTop=Ye,Le.isBottom=wt,Le.isLeft=Ct,Le.isRight=Oe,Le.direction=wt||Ye?"y":"x",i&&i(),O.current.setPointerCapture(K.pointerId);const st=((at=O.current.parentElement)==null?void 0:at.offsetWidth)??Le.rootWidth,{maxWidthPercent:At,minResizePercent:Ft}=_K(st);document.addEventListener("pointermove",er=>{var Wt,tr;return ce(er,h==="video"?40:Ft,At,(tr=(Wt=O.current)==null?void 0:Wt.parentElement)==null?void 0:tr.offsetWidth)}),document.addEventListener("pointerup",ne,{capture:!0,once:!0})};k.useEffect(()=>{var ue;const K=O.current;if(!K)return;if(typeof t=="number"&&typeof e=="number"){K.style.width=`${z(t)}%`,K.style.height=`${z(e)}%`;return}const J=(ue=K.parentElement)==null?void 0:ue.getBoundingClientRect();if(!J)return;const ee=If(r,J.height),ie=If(s,J.width);K.style.width=`${ie}%`,K.style.height=`${ee}%`},[t,e,s,r]),k.useEffect(()=>{var ie;if(!O.current)return;const K=O.current.getBoundingClientRect(),J=(ie=O.current.parentElement)==null?void 0:ie.getBoundingClientRect(),ee=H(K.width,K.height);if(w(ee),typeof t=="number"&&typeof e=="number")O.current.style.width=`${z(t)}%`,O.current.style.height=`${z(e)}%`,F.current.currentWidthPercent=t,F.current.currentHeightPercent=e;else if(J){const ue=If(r,J.height),se=If(s,J.width);requestAnimationFrame(()=>{O.current&&(O.current.style.height=`${ue}%`,O.current.style.width=`${se}%`)}),F.current.currentWidthPercent=se,F.current.currentHeightPercent=ue}else O.current.style.height="100%",O.current.style.width="100%",F.current.currentWidthPercent=100,F.current.currentHeightPercent=100},[O.current,l,r,s]);const he=K=>{const ee=K.target.closest("[data-lexical-decorator]");return ee?n.update(()=>{const ie=Re(ee);ie&&ie instanceof so&&(typeof ie.select=="function"&&ie.select(),T(ie))}):T(null),!1},q=()=>(E&&setTimeout(()=>{n.update(()=>(E.insertAfter(Ce()).selectStart(),T(null),!0))}),!1);return N!=null&&N.current&&(N.current.decoratorEnterAction=q),k.useEffect(()=>{const K=n.registerCommand(Zo,he,Ss);return()=>{K()}},[E]),Fy?o:A.jsxs("div",{ref:O,className:`resizable-container ${u||""} ${M?"hide-padding":""}`,style:{cursor:x,pointerEvents:g?"none":"auto"},onMouseMove:g?void 0:le,onMouseEnter:g?void 0:()=>_(!0),onMouseLeave:g?void 0:()=>{_(!1),C("default")},onMouseUp:g?void 0:()=>{n.dispatchCommand(Ro,"show_menu")},onPointerDown:g?void 0:X,children:[A.jsx("svg",{className:`resizable-container__handle ${v?"hovered":""}`,style:{"--clip-x1":`${p.x-y}px`,"--clip-y1":`${p.y-y}px`,"--clip-x2":`${p.x+y}px`,"--clip-y2":`${p.y-y}px`,"--clip-x3":`${p.x+y}px`,"--clip-y3":`${p.y+y}px`,"--clip-x4":`${p.x-y}px`,"--clip-y4":`${p.y+y}px`,clipPath:`polygon(
|
|
40
|
+
var(--clip-x1) var(--clip-y1),
|
|
41
|
+
var(--clip-x2) var(--clip-y2),
|
|
42
|
+
var(--clip-x3) var(--clip-y3),
|
|
43
|
+
var(--clip-x4) var(--clip-y4)
|
|
44
|
+
)`,opacity:v?1:0,transition:`${F.current.isResizing?"none":` opacity 0.3s ease-in-out, clip-path ${(I==null?void 0:I.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:P,className:"resizable-container__inner",style:{height:"100%",width:"100%",pointerEvents:F.current.isResizing?"none":"auto"},children:o})]})},Uh=n=>typeof n=="string"&&n.includes("%")?parseFloat(n):n;function Si(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 NK(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 nI(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([^!]+)/),s=t.href.match(/!3d([0-9.]+)!4d([0-9.]+)/);if(!e&&!s)throw new Error("Неверный формат ссылки Google Maps");const o=s?s[1]:e?e[1]:"0",i=s?s[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${i}!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 IK(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 MK(n){if(n)return n.includes("lookerstudio")?IK(n):n.includes("maps")?nI(n):!NK(n,{requireHostname:!1})&&!n.startsWith("/")&&!n.startsWith("#")&&!n.startsWith("mailto:")&&!n.startsWith("sms:")&&!n.startsWith("fax:")&&!n.startsWith("tel:")?`https://${n}`:n}const LK=28,Bl=k.forwardRef(({src:n,title:t,icon:e,canonicalUrl:r,isSelected:s,width:o="100%",height:i,saveUrl:l,editor:c,updateMinHeight:u,disableOutline:d},h)=>{var x;const g=k.useRef(null),[p,m]=k.useState(!1),y=!!(e||r),w=k.useMemo(()=>{var v;return(i?parseFloat(String(i)):((v=g.current)==null?void 0:v.scrollHeight)||0)+LK},[i,(x=g.current)==null?void 0:x.scrollHeight]);return k.useEffect(()=>{const C=setTimeout(()=>{m(!0),n&&(c==null||c.update(()=>{l(n)}))},0);return()=>clearTimeout(C)},[n]),k.useEffect(()=>{w&&u(w)},[w]),A.jsxs(D.Box,{className:`frame-container ${s?"selected":""}`,style:{overflow:"hidden",width:"inherit",height:"100%",padding:"0px"},children:[p&&A.jsx("iframe",{ref:h||g,style:d?{outline:"none"}:{outline:"1px"},className:`editor-video ${y?"with-bar":""}`,sandbox:"allow-same-origin allow-scripts allow-popups allow-forms allow-downloads allow-storage-access-by-user-activation",width:"100%",height:i,frameBorder:"0",title:t||"embed",loading:"lazy",src:MK(n),allowFullScreen:!0}),A.jsxs("div",{className:"frame-bar",children:[e," ",A.jsx(D.Text,{className:"frame-title",children:t}),r&&A.jsx(D.Anchor,{className:"frame-open-link",href:r,target:"_blank",rel:"noopener noreferrer",children:A.jsxs(D.Flex,{gap:2,children:[A.jsx($.IconExternalLink,{size:16}),A.jsx(D.Text,{children:"Open"})]})})]})]})}),DK="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAACglBMVEUAAAAktvjtMET/wAAmtfkhsfkltPjsL0nxVAD/vwAltfj/wgD/wAD/vwD/wAD/wAD/wQD/wgAArvYltvj/wAD/wAD/uwD/vQAQr/8ltvnqKUPHJ0LuMUrKKEL/wAAlt/n/wQDeADn/wQD/vwAbsf3/wQDJKEIltvn/wAD/wQD/wAD/wAD/wQD/wgD/wAD/wAD/wAAjtPYis/oZsPn/sQD0JC4mtfjIJ0Iltvn/wAD/wAD/wAAltvj/wQAltvn/wADvMEn/wQD/wAD/wQD/wAD/wAAjtvjVK0P/wwDjKkD/wADIJ0Iltvn/wQD/wQDvMEoltvnPKUP/wADvMUkktfjRKUP/wAAktvsjufoitfgitfggtPn/wQD/xADjKEX/uQAlt/r/wQDwMEoltfjKKEImuPvNKUPKKEIltvn/wQDKKEL/wQAlt/slt/omt/r/wQD/wQAltfjQKUMktvn/wADQKUP/wAD/wAAitfn/vwDXKUMjtfn/wAD/vgD/wADnK0UftvjuMEruMEnvMEomtfjOKUPvMUn/wADOKUPNKUPRKUT/wQAlt/rRKUMlt/r/wQD/wAD/wQAltvkkt/nNKEIltvoltvjuL0nSKEP/wADVKUTSKEH/vwAjt/ntLkj/vQDiK0TmJ0TRJUPhHj3MKUPPKUMmtvkltfj/wQDuMErMKELwMErvMEkltvjvMUrVKkPUKUP/vgDdK0bwL0jVKkPyMEjXKD/vMEjrMUnuMUrtMErfLUcmtvjvMUnPKUTPKET/wADRKkP/wAD/wAD/wwAmtff/vwDtMUrGKELsMEnHKELKKELqL0jRKkPMKUPjLkffLUbbLEXnL0jlL0jXK0XUKkRKdu7EAAAAxXRSTlMAIw7++C7NlwL9/gLQHfjvuAcD9/v0DA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81UBrQ1V205OTVPbUJ2ujjlYEIGXEw/tq49v9lcW8j/j0bQwdGTdxybhVrUqn/NRwfwLGwJOuPmImTjYgTg4ipSzsXdFaYWMCFrB/PPAvFP9cGxABvq+vbg2lc2m3tD1zycVUtD2ljbwf7F8RF4FuKoqgENqBqyBl0BOZeqpy2xNdK0BAxJuA/t+a4OaqjTX2K1TajjP25eCls4kJeHA/o0enbh4O4BcPS+I/SQziN4wr9jTKBrYFugnek6eVmxBRxvyhaidjGcy0hh/RtAEiaWLbdAXwh1t6aF+ppxcfl/GD6NurIGm8AAAAAASUVORK5CYII=",QK="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",XK="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAn1BMVEUAAAD3jR3zhhT1hxTthxb3dwD3jR34jR74jR33jR33ihf4jB33jB34jR33jRz4jBz3jBz4ixv4iRn3hgD3jR33jRz3jB34ixf5iBb3jRz3jR33jR33jB33jB32jBz4j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oLhKjW2x1qRm7NO/YYGwSQ+p40OJVgZDdIkkXqxF0UTBErngjZQljHGhyUyCknLFVjWVSXFDh8WS1rK7ShCDYt6Pc+kBYWXRf8uV5P3M7QvKFvFJBnNy5OJfafD4SmBZDc1YP9K6Jze5KZ18CAbZz5n5AJL8HaQ4Lvq12P01+q6qEJPnUQJPbSWJYrBapJoq2Aw/5KYnFntMCbd635LcTrNuLSIvcJdosVfcdDl1OM7x2b5MsWQpr65H11eWuFewL4epnVvbSzPg5ND2eZnc3PGvxOy8ilrhITRPvolcPImOnYu8uNoZ3I+H+C9Yd6ZxyF9La9sw2mOzbFNara8bNu9S8BideF27sprMr0oKOj9Ec8TsNKfq7hOnG3iUcKSB+j1PTuo3Gtnc+Yz473e7h7vw+X2mGJV+P4/siVuy8Ae9ff0wouNpoXU2Is2lSXI+tmpoXdBLu0wbiPdqaFa8rXS/O7mdO6xVIsmMZscMiCWMoNfmvQDOWZuYJb89/DMu2kyTbBHHschDuXZEmfhrSNgQCyyH1iVgkKo0JED/+HEz4IvDCcezrp36UJ1X5ThGlikSGDfBO4vDxOo5rzwfKoqtfOPYGuTUjMj4BNv860O6n0nzXSGruiknflX4vxaH9ODLxIlmrZtUMH1zolZ6udiEVMrHjpTjcGSsxWpKNxRkUONUcvPMHQDB/BA/9FdC+FSC0BtTC9FI/rwDhvUod9gci2UPYhkmlqMH3QFqlyAZ+onrvIp+e+v9+1d2Lv4munAAAAABJRU5ErkJggg==",tW="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",nW="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG5ElEQVR42u2dX4jUVRTH787Mzm5l/yiIwictVgS3ohcfQiVyE/9kQRFmDyZUkNhDURTqQ+FbZGhqICmpvSz9QQtTMgkW/PtSEvWQBfrSPzAr13Vnd2fsXPYe9nj39/M3OzMx957f98KX329mZ4ad+5lz7v3dc879GTO5FbzH80mbSCdIf5FqpCtQW2T7/gLppGOyIIPdpFYU54tIp9Cpwes4qS+F4VWtJF6wTXzAKKnijrDeMKxYMuHntwkLLqZZbhfpkHuD/YBhdGjwsoxG3PlhUtmHLP32PvfCi6QqOi8qq77kzg/4Y3KHe7DevWDQeyM6MB5ddseNjilbs5ntjbnorHgtmc975Rj8oXtyCJYbvcbcsZ/hThdgMe7qsWI7j5phAa8Ws2Z0kC43vcYC3gnA6gAz5L0W8FFMrtSJh9pjFvDP3uAM6XHTlq05iwmWWsDnAFg34LMADMAQAEMADAEwBMAQACev6lRcrHTIHYeVL+zkAvCYA1rNCJBXADjezAbWv6SfSKdJP5D+SHh9DYDjg/spaSVpDukO0s2k20j3kBaTtpD+ca8dUeS2VQKuiSzQ70kPmfra3aTPvJRUAA7wC/FY+iXpJi8luDNBJQ/02wlpLwAcUG6wPQ6QukVGYVFkjZqUMp2yeLxVdFAVgMMQW+6fpB4H6joztdYlzo8rsGI1gKvi/17nAHVmWG1au8Ed+xS4ajWA2Xp/I810gLpNY60gfhgDok9qANw+cU3Ovnqq6+po7NrXRV7doQKwtK6NTbpnH/CShAQ2AG5TBr/V2oTJUiON3/+A8A4AHADgF5ocf33Ac8SKGAAHAPjlFlvwXPH5ANzGL8H/8x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vaGPba+iF8iDByx2U/ahxfkhA+SDWK+vKo/SRV4dOEaarHv+APh8PhcDj8ezj8Hd8AxYE9wZItsP4AAAAASUVORK5CYII=";function lW({matches:n,...t}){const e=n[0],r=new URL(e).searchParams,s="Draw.io",o=r.get("title")?`${s} (${r.get("title")})`:s;return A.jsx(Bl,{...t,src:t.attrs.href,icon:A.jsx(D.Image,{src:rI,alt:"Diagrams.net",width:16,height:16}),canonicalUrl:t.attrs.href,title:o})}function aW(n){return n.endsWith(".pibb")?n:`${n}.pibb`}function cW(n){const t=aW(n.attrs.href);return A.jsx(Bl,{...n,src:t,canonicalUrl:t,width:"100%",title:"GitHub Gist"})}function uW({matches:n,...t}){let e="";try{e=new URL(n[0]).pathname}catch{e=""}const r=e.replace(/^\/embed/,"/");let s;return r.includes("episode")||r.includes("show")?s=232:r.includes("track")?s=80:s=380,A.jsx(Bl,{...t,disableOutline:!0,width:"100%",height:`${s}px`,src:`https://open.spotify.com/embed${r}`,title:"Spotify Embed",allow:"encrypted-media"})}function dW({matches:n,...t}){const e=n[2];return n[1]==="c"?A.jsx(Bl,{...t,width:"316px",height:"141px",src:`https://trello.com/embed/card?id=${e}`,title:`Trello Card (${e})`}):A.jsx(Bl,{...t,width:"248px",height:"185px",src:`https://trello.com/embed/board?id=${e}`,title:`Trello Board (${e})`})}function fW({matches:n,...t}){const e=n[4],r=n[5],s=`https://player.vimeo.com/video/${e}?byline=0${r?`&h=${r}`:""}`;return A.jsx(Bl,{...t,src:s,canonicalUrl:s,title:`Vimeo Embed (${e})`,height:"412px",referrerPolicy:"origin"})}const hW={github:"GitHub Gist",figma:"Figma",vimeo:"Vimeo Embed"},Sc=[{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(Et,{className:"integration-icon",src:eW}),name:"Spotify",component:uW},{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(Et,{className:"integration-icon",src:PK}),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(Et,{className:"integration-icon",src:DK}),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(Et,{className:"integration-icon",src:OK}),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(Et,{className:"integration-icon",src:RK}),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(Et,{className:"integration-icon",src:rI}),name:"Diagrams.net",component:lW},{parentKey:"integrations",platform:"descript",keywords:["audio"],key:"descript",hide:!1,regexMatches:[/^https?:\/\/share\.descript\.com\/view\/(\w+)$/],icon:A.jsx(Et,{className:"integration-icon",src:BK}),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(Et,{className:"integration-icon",src:jK}),name:"GitHub Gist",component:cW},{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(Et,{className:"integration-icon",src:YK}),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(Et,{className:"integration-icon",src:UK}),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(Et,{className:"integration-icon",src:KK}),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(Et,{className:"integration-icon",src:zK}),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(Et,{className:"integration-icon",src:ZK}),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(Et,{className:"integration-icon",src:GK,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(Et,{className:"integration-icon",src:FK,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(Et,{className:"integration-icon",src:WK,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(Et,{className:"integration-icon",src:HK,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(Et,{className:"integration-icon",src:JK,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(Et,{className:"integration-icon",src:VK,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(Et,{className:"integration-icon",src:QK,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(Et,{className:"integration-icon",src:XK,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(Et,{className:"integration-icon",src:qK,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(Et,{className:"integration-icon",src:$K,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(Et,{className:"integration-icon",src:tW,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(Et,{className:"integration-icon",src:nW,alt:"Tldraw"}),name:"Tldraw"},{parentKey:"integrations",platform:"trello",keywords:["kanban"],key:"trello",hide:!1,regexMatches:[/^https:\/\/trello\.com\/(c|b)\/([^/]*)(.*)?$/],icon:A.jsx(Et,{className:"integration-icon",src:rW,alt:"Trello"}),component:dW,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(Et,{className:"integration-icon",src:sW,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(Et,{className:"integration-icon",src:oW,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(Et,{className:"integration-icon",src:iW,alt:"Vimeo"}),name:"Vimeo",component:fW}];function Et({w:n=34,h:t=34,...e}){return A.jsx(D.Image,{w:n,h:t,...e})}const zy=(n,t=[])=>{const e=t??[];for(const r of e){const s=n.match(r);if(s)return s}return!1};function gW(n){for(const t of Sc){const e=zy(n,t.regexMatches);if(e)return{embed:t,matches:e}}}function pW(n){var r;let t=null;const e=Sc.find(s=>s.regexMatches.some(o=>{var i;return t=n.match(o),t?{platform:s.platform,id:((i=s==null?void 0:s.transformMatch)==null?void 0:i.call(s,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 mW(n,t){var r;const e=Sc.find(s=>s.platform===n);return e?((r=e==null?void 0:e.getIframeUrl)==null?void 0:r.call(e,t))||"valid":""}const AW=({height:n,width:t,id:e,platform:r,src:s})=>{const o=hW[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:s,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:s,target:"_blank",rel:"noopener noreferrer"})})]})};function yW({className:n,format:t,platform:e,embedId:r,width:s,editor:o,nodeKey:i,create:l}){const[c,u]=k.useState(r||""),[d,h]=k.useState(!1),[g,p]=k.useState(l||!1),{t:m}=ot.useTranslation(),y=k.useMemo(()=>Sc.find(E=>E.platform===e),[e]);k.useEffect(()=>{const E=document.documentElement;Si(g,E)},[g]);const w=k.useMemo(()=>gW(c),[c]),x=E=>{o.update(()=>{const T=be(i);return gA(T)&&T.setMinHeight(E),!0})},C=E=>{const T=be(i),I=zy(c,(w==null?void 0:w.embed.regexMatches)||[]);if(gA(T)&&I){const M=c.includes("maps");if(E&&!M){T.setSrc(E);return}T.setPlatform(w==null?void 0:w.embed.platform),T.setId(c),M?T.setSrc(nI(c)):w!=null&&w.embed.transformMatch?T.setSrc(w==null?void 0:w.embed.transformMatch(w==null?void 0:w.matches)):T.setSrc(c)}},v=(E,T)=>{o.update(()=>{Ze(null);const I=be(i);return gA(I)&&I.setWidthAndHeight(E,T),!0})},_=E=>{if(E.preventDefault(),!zy(c,(w==null?void 0:w.embed.regexMatches)||[])&&!(w!=null&&w.embed.platform)){h(!0);return}o.update(()=>{const I=be(i);if(!I)return;C(),p(!1);const M=I.getNextSibling();M&&Ze(M.selectNext())}),h(!1)},N=()=>{if(w!=null&&w.embed.transformMatch){const E=w==null?void 0:w.embed.transformMatch(w==null?void 0:w.matches);return A.jsx(Bl,{src:E,width:"100%",height:"400px",canonicalUrl:c,title:y==null?void 0:y.name,allow:"encrypted-media",saveUrl:C,editor:o,updateMinHeight:x})}return y!=null&&y.component?y.component({saveUrl:C,attrs:{href:c},matches:w==null?void 0:w.matches,isSelected:!1,isEditable:!1,embed:y,editor:o,updateMinHeight:x}):A.jsx("div",{})};return k.useEffect(()=>{l&&p(!0)},[l]),r?w?A.jsx(rw,{editor:o,width:Uh(s),isIcon:!1,isEmbed:!0,height:400,onResizeEnd:v,children:A.jsx("div",{className:"media-wrapper",children:A.jsx(Ml,{className:n,format:t,nodeKey:i,children:N()})})}):null:A.jsxs(D.Popover,{width:400,position:"bottom",shadow:"md",opened:g,trapFocus:!0,onChange:E=>{p(E),E||(u(""),h(!1))},withinPortal:!0,children:[A.jsx(D.Popover.Target,{children:A.jsx(D.Flex,{w:"100%",children:A.jsx(Ml,{className:n,format:t,nodeKey:i,children:A.jsx(vc,{title:m("editor.embed.addEmbed"),icon:"embed",onClick:()=>p(E=>!E),nodeKey:i})})})}),A.jsx(D.Popover.Dropdown,{children:A.jsx("form",{onSubmit:_,children:A.jsxs(D.Stack,{gap:16,children:[A.jsxs(D.Box,{children:[A.jsx(D.TextInput,{placeholder:m("editor.embed.placeholder"),type:"url","data-autofocus":!0,value:c,onChange:E=>{u(E.currentTarget.value)}}),d&&A.jsx(D.Text,{size:"xs",mt:8,color:"red",children:m("editor.validation.link")})]}),A.jsx(D.Center,{children:A.jsx(D.Button,{w:"100%",type:"submit",disabled:!c,children:m("editor.embed.insert")})})]})})})]})}function bW(n){const t=n.getAttribute("data-lexical-platform"),e=n.getAttribute("src"),r=n.getAttribute("data-lexical-embedid")||"",s=parseFloat(n.getAttribute("data-exportwidth")??"100%"),o=parseFloat(n.getAttribute("height")??"100%"),i=n.getAttribute("data-exportheight");if(t&&typeof e=="string"){const l=sw(e,s,o,r,!1,t);return l.setMinHeight(parseFloat(i)),{node:l}}return{node:null}}class kc extends lo{constructor(e,r,s,o,i,l,c,u,d){super(s,l);j(this,"__platform");j(this,"__id");j(this,"__create");j(this,"__width");j(this,"__height");j(this,"__src");j(this,"__minHeight");this.__platform=e,this.__id=r,this.__create=c||!1,this.__width=o||560,this.__height=i||315,this.__src=u,this.__minHeight=d||400}static getType(){return"embed"}static clone(e){return new kc(e.__platform,e.__id,e.__format,e.__width,e.__height,e.__key,e.__create,e.__src,e.__minHeight)}static importJSON(e){const r=sw(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"),s=e.getAttribute("data-lexical-embedid");return r&&typeof s=="string"?{conversion:bW,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=NF.renderToString(A.jsx(AW,{platform:this.__platform,id:this.__id,src:this.__src||"",height:(typeof this.__height=="number"?this.__height:this.__minHeight).toString()+"px",width:e})),s=document.createElement("div");return s.innerHTML=r,this.__src!==""?{element:s.firstChild}:{element:null}}decorate(e,r){const o={base:(r.theme.embedBlock||{}).base||"",focus:""};return A.jsx(yW,{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 mW(this.__platform,this.__id)}setWidthAndHeight(e,r){const s=this.getWritable();s.__width=e,s.__height=r}}function sw(n,t,e,r,s,o){let i=o||"unknown";if(!o){const{platform:l}=pW(n||"");i=l||"unknown"}return new kc(i,r,void 0,t,e,void 0,s,n)}function gA(n){return n instanceof kc}const ck=k.lazy(()=>Promise.resolve().then(()=>require("./layers.BYRaWVXf.js")));function wW(n){const t=n.getAttribute("data-lexical-excalidraw-json"),e=n.firstChild.style.height||"0",r=n.firstChild.style.width||"0",s=n.style.justifyContent||"left",o=e==="inherit"?"inherit":parseInt(e,10),i=r==="inherit"?"inherit":parseInt(r,10);return t?{node:sI(t,i,o,s)}:null}class Ri extends so{constructor(e="[]",r="inherit",s="inherit",o="left",i){super(i);j(this,"__data");j(this,"__width");j(this,"__height");j(this,"__alignment");this.__data=e,this.__width=r,this.__height=s,this.__alignment=o}static getType(){return"excalidraw"}static clone(e){return new Ri(e.__data,e.__width,e.__height,e.__alignment,e.__key)}static importJSON(e){return new Ri(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:wW,priority:2}:null}}exportDOM(e){const r=document.createElement("span"),s=document.createElement("span");r.style.display="inline-block",r.style.width="100%";const o=e.getElementByKey(this.getKey());if(o!==null){const i=o.querySelector(".excalidraw-svg");i!==null&&(s.innerHTML=i.outerHTML)}return s.style.width=this.__width==="inherit"?"inherit":`${parseInt(String(this.__width))}%`,s.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(s),{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 s=this.getWritable();s.__width=e,s.__height=r}setAlignment(e){const r=this.getWritable();r.__alignment=e}isInline(){return!1}decorate(){return ck?A.jsx(k.Suspense,{fallback:null,children:A.jsx(ck,{nodeKey:this.getKey(),data:this.__data,width:this.__width,height:this.__height,alignment:this.__alignment})}):A.jsx("div",{})}}function sI(n="[]",t="inherit",e="inherit",r="left"){return new Ri(n,t,e,r)}function CW(n){return n instanceof Ri}function xW({className:n,format:t,editor:e,nodeKey:r,formID:s}){const o={base:"dsd__theme__embedBlock dsd__theme__embedBlock__form",focus:"dsd__theme__embedBlockFocus"};return A.jsxs(Ml,{className:o,format:t,nodeKey:r,children:[A.jsx(D.Tooltip,{label:"Удалить",children:A.jsx(D.ActionIcon,{color:"gray","aria-label":"Settings",className:"image-delete-icon",variant:"default",onClick:i=>{i.stopPropagation(),e.update(()=>{if(Z()){const l=be(r);l&&l.remove()}return!1})},children:A.jsx(we,{name:"trash"})})}),A.jsx("iframe",{width:"100%",height:"500",src:`https://dudoc.io/f/${s}`,title:"Form",style:{border:"none"}})]})}function vW(n){const t=n.getAttribute("data-form");return t?{node:ow(t)}:null}class md extends lo{constructor(e,r,s){super(r,s);j(this,"__id");this.__id=e}static getType(){return"form"}static clone(e){return new md(e.__id,e.__format,e.__key)}static importJSON(e){const r=ow(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:vW,priority:1}:null}}updateDOM(){return!1}getId(){return this.__id}getTextContent(){return`https://dudoc.io/f/${this.__id}`}decorate(e,r){const s=r.theme.embedBlock||{},o={base:s.base||"",focus:s.focus||""};return A.jsx(xW,{className:o,format:this.__format,nodeKey:this.getKey(),formID:this.__id,editor:e})}}function ow(n){return new md(n)}const SW=k.lazy(()=>Promise.resolve().then(()=>require("./layers.BDsx0tsA.js")));function kW(n){const t=n;if(t.src.startsWith("file:///"))return null;const{alt:e,src:r,width:s,height:o}=t,i=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:qg({altText:e,height:l!=null&&l.includes("%")?l:o,src:u,width:c!=null&&c.includes("%")?c:s,id:String(i),alignment:d})}}class qo extends so{constructor(e,r,s,o,i,l,c,u,d,h,g,p){super(d);j(this,"__src");j(this,"__altText");j(this,"__width");j(this,"__height");j(this,"__maxWidth");j(this,"__showCaption");j(this,"__caption");j(this,"__captionsEnabled");j(this,"__id");j(this,"__create");j(this,"__alignment");this.__src=e,this.__altText=r,this.__maxWidth=Number(s),this.__width=o||"inherit",this.__height=i||"inherit",this.__showCaption=l||!1,this.__caption=c||ed(),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 qo(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:s,width:o,maxWidth:i,caption:l,src:c,showCaption:u,alignment:d}=e,h=qg({altText:r,height:s,maxWidth:i,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:kW,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 s=this.getWritable();s.__src=e}setAlt(e){const r=this.getWritable();r.__altText=e}setAlignment(e){const r=this.getWritable();r.__alignment=e}setWidthAndHeight(e,r){const s=this.getWritable();s.__width=e,s.__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 s=this.getWritable();s.__src=e,r&&(s.__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(SW,{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 qg({altText:n,height:t,maxWidth:e,captionsEnabled:r,src:s,width:o,showCaption:i,caption:l,key:c,id:u,create:d,alignment:h}){return Lt(new qo(s,n,e,o,t,i,l,r,c,u,d,h))}function sc(n){return n instanceof qo}const EW=k.lazy(()=>Promise.resolve().then(()=>require("./layers.BXxWFxtK.js")));function TW(n){if(n instanceof HTMLImageElement){const{alt:t,src:e,width:r,height:s}=n;return{node:oI({altText:t,height:s,src:e,width:r})}}return null}class $g extends so{constructor(e,r,s,o,i,l,c,u){super(u);j(this,"__src");j(this,"__altText");j(this,"__width");j(this,"__height");j(this,"__showCaption");j(this,"__caption");j(this,"__position");this.__src=e,this.__altText=r,this.__width=o||"inherit",this.__height=i||"inherit",this.__showCaption=l||!1,this.__caption=c||ed(),this.__position=s}static getType(){return"inline-image"}static clone(e){return new $g(e.__src,e.__altText,e.__position,e.__width,e.__height,e.__showCaption,e.__caption,e.__key)}static importJSON(e){const{altText:r,height:s,width:o,caption:i,src:l,showCaption:c,position:u}=e,d=oI({altText:r,height:s,position:u,showCaption:c,src:l,width:o}),h=d.__caption,g=h.parseEditorState(i.editorState);return g.isEmpty()||h.setEditorState(g),d}static importDOM(){return{img:()=>({conversion:TW,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 s=this.getWritable();s.__width=e,s.__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:s,showCaption:o,position:i}=e;s!==void 0&&(r.__altText=s),o!==void 0&&(r.__showCaption=o),i!==void 0&&(r.__position=i)}createDOM(e){const r=document.createElement("span"),s=`${e.theme.inlineImage} position-${this.__position}`;return s!==void 0&&(r.className=s),r}updateDOM(e,r,s){const o=this.__position;if(o!==e.__position){const i=`${s.theme.inlineImage} position-${o}`;i!==void 0&&(r.className=i)}return!1}decorate(){return A.jsx(k.Suspense,{fallback:null,children:A.jsx(EW,{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 oI({altText:n,position:t,height:e,src:r,width:s,showCaption:o,caption:i,key:l}){return Lt(new $g(r,n,t,s,e,o,i,l))}function _W(n){return n instanceof $g}class ep extends Mn{static getType(){return"keyword"}static clone(t){return new ep(t.__text,t.__key)}static importJSON(t){const e=NW(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 NW(n){return new ep(n)}function IW(n){const t=n.style.gridTemplateColumns;return t?{node:tp(t)}:null}class ss extends ft{constructor(e,r){super(r);j(this,"__templateColumns");this.__templateColumns=e}static getType(){return"layout-container"}static clone(e){return new ss(e.__templateColumns,e.__key)}createDOM(e){const r=document.createElement("div");return r.style.gridTemplateColumns=this.__templateColumns,typeof e.theme.layoutContainer=="string"&&Qe(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:IW,priority:2}:null}}static importJSON(e){return tp(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 tp(n){return new ss(n)}function Kh(n){return n instanceof ss}function MW(n){var e;const t=ps();return(e=n.parentElement)!=null&&e.classList.contains("dsd__theme__layoutItem")?{node:t}:null}class Ts extends ft{static getType(){return"layout-divider"}static clone(t){return new Ts(t.__key)}createDOM(t){const e=document.createElement("div");return typeof t.theme.layoutDivider=="string"&&Qe(e,t.theme.layoutDivider),e.setAttribute("contenteditable","false"),e}updateDOM(){return!1}static importDOM(){return{div:t=>t.className!=="dsd__theme__layoutDivider"?null:{conversion:MW,priority:2}}}static importJSON(){return ps()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"layout-divider",version:1}}}function ps(){return new Ts}function LW(n){return n instanceof Ts}function DW(n){const t=n.style.backgroundColor||"transparent";return{node:Ps(t)}}class Rr extends ft{constructor(e,r){super(r);j(this,"__backgroundColor");this.__backgroundColor=e}static getType(){return"layout-item"}static clone(e){return new Rr(e.__backgroundColor,e.__key)}createDOM(e){const r=document.createElement("div");return r.style.backgroundColor=this.__backgroundColor,typeof e.theme.layoutItem=="string"&&Qe(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:DW,priority:2}}}static importJSON(){return Ps()}isShadowRoot(){return!1}setLayoutBackground(e){this.getWritable().__backgroundColor=e}exportJSON(){return{...super.exportJSON(),type:"layout-item",backgroundColor:this.__backgroundColor,version:1}}}function Ps(n="transparent"){return new Rr(n)}function Ks(n){return n instanceof Rr}function OW(n){const t=n.textContent;return t!==null?{node:iI(t)}:null}const RW="background-color: rgba(24, 119, 232, 0.2)";class np extends Mn{constructor(e,r,s){super(r??e,s);j(this,"__mention");this.__mention=e}static getType(){return"mention"}static clone(e){return new np(e.__mention,e.__text,e.__key)}static importJSON(e){const r=iI(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=RW,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:OW,priority:1}:null}}isTextEntity(){return!0}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function iI(n){const t=new np(n);return t.setMode("segmented").toggleDirectionless(),Lt(t)}const Uy=ye("INSERT_MUSIC_COMMAND"),lI=ye("UPLOAD_MUSIC_COMMAND");function BW(){const[n]=Ee(),{t}=ot.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=k.useContext(Mt);return k.useEffect(()=>{if(!n.hasNodes([Ec]))throw new Error("MusicPlugin: MusicNode not registered on editor");const s=o=>{const i=o.filter(l=>l.type.includes("Music/"));if(o.length>1){bt.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(i[0].size>r*1024*1024){bt.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(Uy,"upload"),setTimeout(()=>{n.dispatchCommand(lI,o)})};return e!=null&&e.current&&(e.current.insertMusics=s),n.registerCommand(Uy,o=>{const l=iw(o==="upload"?"":o,o!=="upload");return op(l),!1},Se)},[n]),null}function PW({className:n,format:t,src:e,editor:r,nodeKey:s,create:o}){const{t:i}=ot.useTranslation(),{t:l}=ot.useTranslation("ui"),[c,u]=k.useState(!1),[d,h]=k.useState(!1),{start:g,cancel:p}=Bg(),[m,y]=k.useState(0),{fetchUploadMedia:w,maxFileSize:x}=k.useContext(Mt);k.useEffect(()=>{o&&h(!0)},[o]),k.useEffect(()=>{const N=document.documentElement;Si(d,N)},[d]);const C=k.useMemo(()=>[{key:"link",enabled:!0},{key:"upload",enabled:!0}].filter(E=>E.enabled).map(E=>E.key),[]);k.useEffect(()=>r.registerCommand(lI,N=>!1,Se),[]);const v=N=>{r.update(()=>{const E=be(s);if(!E)return;Wh(E)&&(h(!1),E.setSrc(N));const T=E.getNextSibling();T&&Ze(T.selectNext())})},_=N=>{r.update(()=>{u(!0),h(!1);const E=g();w&&w(N[0],(T,I,M)=>{const{originalFileName:O}=M,P=new URLSearchParams({originalFileName:O}),F=`${T}?${P.toString()}`;v(F),y(0),u(!1)},()=>{y(0),u(!1)},E,T=>{y(T)})})};return e?A.jsx("audio",{src:e,controls:!0}):A.jsx(bt.FilePicker,{showTabs:C,uploading:!1,type:"audio",dropZoneProps:{multiple:!1,maxSize:x*1024*1024,accept:{"audio/*":[]}},onUpload:_,onChange:N=>{v(N)},popoverProps:{opened:d,position:"bottom",onChange:h},children:A.jsx(D.Flex,{w:"100%",children:A.jsx(Ml,{className:n,format:t,nodeKey:s,children:A.jsx(vc,{isLoading:c,title:i("editor.audio.add_audio"),icon:"music",onClick:()=>h(N=>!N),nodeKey:s,progress:m,onAfterCancel:()=>{p(),u(!1)}})})})})}function jW(n){const t=n.getAttribute("data-src");return{node:iw(t||"")}}class Ec extends lo{constructor(e,r,s,o){super(r,s);j(this,"__src");j(this,"__create");this.__src=e,this.__create=o||!1}static getType(){return"music"}static clone(e){return new Ec(e.__src,e.__format,e.__key,e.__create)}static importJSON(e){const r=iw(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:jW,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(PW,{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 iw(n,t){return new Ec(n,void 0,void 0,t)}function Wh(n){return n instanceof Ec}function FW({nodeKey:n}){const[t]=Ee(),[e,r,s]=Rg(n),o=k.useCallback(i=>{if(i.preventDefault(),e&&Kt(Z())){const l=be(n);if(UW(l))return l.remove(),!0}return!1},[e,n]);return k.useEffect(()=>Xe(t.registerCommand(Zo,i=>{const l=t.getElementByKey(n);return i.target===l?(i.shiftKey||s(),r(!e),!0):!1},Se),t.registerCommand(uc,o,Se),t.registerCommand(zl,o,Se)),[s,t,e,n,o,r]),k.useEffect(()=>{const i=t.getElementByKey(n);i!==null&&(i.className=e?"selected":"")},[t,e,n]),null}class Ad extends so{static getType(){return"page-break"}static clone(t){return new Ad(t.__key)}static importJSON(){return aI()}static importDOM(){return{figure:t=>t.getAttribute("type")!==this.getType()?null:{conversion:zW,priority:_o}}}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`
|
|
45
|
+
`}isInline(){return!1}updateDOM(){return!1}decorate(){return A.jsx(FW,{nodeKey:this.__key})}}function zW(){return{node:aI()}}function aI(){return new Ad}function UW(n){return n instanceof Ad}function KW(n){const t=n.getAttribute("data-src"),e=n.getAttribute("data-json");return{node:lw(t||"",e||"",!1)}}class yd extends lo{constructor(e,r,s,o,i){super(o,i);j(this,"__src");j(this,"__json");j(this,"__create");this.__src=e,this.__json=r,this.__create=s}static getType(){return"swagger"}static clone(e){return new yd(e.__src,e.__json,!1,e.__format,e.__key)}static importJSON(e){const r=lw(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:KW,priority:1}:null}}decorate(e,r){return(r.theme.embedBlock||{}).base,A.jsx("div",{})}}function lw(n,t,e){return new yd(n,t,e)}function cI(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 i=r[1]||r[3],l=r[2]||r[4];return{platform:"vk",id:`${i}-${l}`}}const s=n.match(/rutube\.ru\/(?:play\/embed|video)\/([a-zA-Z0-9]+)/);if(s)return{platform:"rutube",id:s[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 oc(n,t){let e="";switch(n){case"youtube":e=`https://www.youtube-nocookie.com/embed/${t}`;break;case"download":t.includes("/")?e=`${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.test(t)?e=`/v1/attachments/${t}`: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 WW(n,t){if(n==="download"){const r=/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i,s=t.match(r);return{attachmentId:s?s[0]:t.split("/").pop()||t}}const e=oc(n,t);return e.startsWith("http://")||e.startsWith("https://")?{src:e,attachmentId:t}:{attachmentId:e}}function HW(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 Ky=ye("INSERT_VIDEO_COMMAND"),uI=ye("UPLOAD_VIDEO_COMMAND");function YW(){const[n]=Ee(),{t}=ot.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=k.useContext(Mt);return k.useEffect(()=>{if(!n.hasNodes([ea]))throw new Error("VideoPlugin: VideoNode not registered on editor");const s=o=>{const i=o.filter(l=>l.type.includes("video/"));if(o.length>1){bt.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(i[0].size>r*1024*1024){bt.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(Ky,"upload"),setTimeout(()=>{n.dispatchCommand(uI,o)})};return e!=null&&e.current&&(e.current.insertVideos=s),n.registerCommand(Ky,o=>{const i=cw(o,"100%","100%","left",o!=="upload");return op(i),!1},Se)},[n]),null}const aw=({editor:n,nodeKey:t,opened:e,setOpened:r,t:s,setShown:o,isShown:i})=>{const l=c=>{t&&n.update(()=>{const u=be(t);(u instanceof qo||u instanceof ea||u instanceof Ri)&&(u.setAlignment(c),u.getPreviousSibling()?u.selectPrevious():u.selectStart(),o&&o(!1))})};return A.jsxs(D.Menu,{opened:e,shadow:"md",onChange:r,transitionProps:ao,children:[A.jsx(D.Menu.Target,{children:A.jsx(D.Tooltip,{label:s("editor.toolbar.align"),disabled:i,children:A.jsx(D.ActionIcon,{size:24,variant:"default",color:"gray","aria-label":"Settings",children:A.jsx(we,{size:"14",name:"align-justify"})})})}),A.jsxs(D.Menu.Dropdown,{p:0,py:3,children:[A.jsx(D.Menu.Item,{onClick:()=>{l("left")},leftSection:A.jsx(we,{size:"16",name:"align-left"}),children:s("editor.toolbar.left")}),A.jsx(D.Menu.Item,{onClick:()=>l("center"),leftSection:A.jsx(we,{size:"16",name:"align-center"}),children:s("editor.toolbar.center")}),A.jsx(D.Menu.Item,{onClick:()=>l("right"),leftSection:A.jsx(we,{size:"16",name:"align-right"}),children:s("editor.toolbar.right")})]})]})};function ZW({className:n,format:t,platform:e,videoID:r,nodeKey:s,editor:o,alignment:i,isFullscreen:l,openedAlignment:c,setOpenedAlignment:u,onDelete:d,containerRef:h}){const{t:g}=ot.useTranslation();return A.jsx("div",{className:"media-wrapper",ref:h,children:A.jsxs(Ml,{className:n,format:t,nodeKey:s,children:[!l&&A.jsxs("div",{className:"media-actions",children:[A.jsx(aw,{opened:c,setOpened:u,t:g,editor:o,nodeKey:s}),A.jsx(D.Tooltip,{label:"Удалить",children:A.jsx(D.ActionIcon,{color:"gray","aria-label":"Settings",className:"media-action",variant:"default",size:24,onClick:d,children:A.jsx(we,{name:"trash",size:"14"})})})]}),e==="download"?A.jsx(A.Fragment,{children:A.jsx(D.Flex,{justify:"center",align:"center",styles:{root:{height:"100%",width:"100%",minHeight:200}},children:A.jsx(bt.ShakaVideoPlayer,{attachmentId:r,stylesContainer:{boxShadow:"none",borderRadius:6,height:"100%",aspectRatio:"auto"},loader:A.jsx(D.LoadingOverlay,{visible:!0,zIndex:1e3,loaderProps:{size:"sm",color:"gray"},overlayProps:{radius:"sm",blur:2,color:"dark"}}),autoPlay:!1,...WW(e,r)})})}):e==="link"?A.jsx("video",{src:oc(e,r),className:"editor-video",controls:!0,style:{width:"100%",height:"100%",aspectRatio:"auto",objectFit:"contain"}}):A.jsx("iframe",{src:oc(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"})]})})}const GW=n=>{const[t,e]=k.useState(!1);return k.useEffect(()=>{const r=()=>{requestAnimationFrame(()=>{setTimeout(()=>{const s=document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement;if(!s){e(!1);return}if(!n.current)return;const o=n.current,i=o.contains(s)||s.contains(o)||s===o;e(!!i)},0)})};return document.addEventListener("fullscreenchange",r),document.addEventListener("webkitfullscreenchange",r),document.addEventListener("mozfullscreenchange",r),document.addEventListener("MSFullscreenChange",r),()=>{document.removeEventListener("fullscreenchange",r),document.removeEventListener("webkitfullscreenchange",r),document.removeEventListener("mozfullscreenchange",r),document.removeEventListener("MSFullscreenChange",r)}},[n]),t};function JW({className:n,format:t,platform:e,videoID:r,editor:s,nodeKey:o,create:i,width:l,height:c,alignment:u}){const{t:d}=ot.useTranslation(),[h,g]=k.useState(!1),[,p]=k.useState(!1),[m,y]=k.useState(!1),[w,x]=k.useState(!1),{start:C,cancel:v}=Bg(),[_,N]=k.useState(0),E=k.useRef(null),T=GW(E),{fetchUploadMedia:I,maxFileSize:M}=k.useContext(Mt),O=k.useMemo(()=>[{key:"link",enabled:!0},{key:"upload",enabled:!0}].filter(ce=>ce.enabled).map(ce=>ce.key),[]);k.useEffect(()=>{i&&y(!0)},[i]),k.useEffect(()=>{const le=document.documentElement;Si(m,le)},[m]),k.useEffect(()=>s.registerCommand(uI,le=>(e==="upload"&&te(le),!1),Se),[e]);const P=(le,ce=!1)=>{const{platform:ne,id:X}=cI(le,ce);if(!X){p(!0);return}s.update(()=>{const he=be(o);if(!he)return;Wu(he)&&(y(!1),he.setPlatform(ne),he.setId(X),he.setUrl(le));const q=he.getNextSibling();q&&Ze(q.selectNext())})},F=(le,ce)=>{s.update(()=>{Ze(null);const ne=be(o);return Wu(ne)&&ne.setWidthAndHeight(le,ce),!0})},z=()=>{s.update(()=>{const le=be(o);return le&&le.remove(),!1})},H=()=>{z()},te=le=>{s.update(()=>{g(!0),y(!1);const ce=C();I&&I(le[0],(ne,X)=>{P(ne),g(!1),N(0)},()=>{g(!1),N(0)},ce,ne=>{N(ne)})})};return!r||e==="upload"?A.jsx(bt.FilePicker,{showTabs:O,uploading:!1,type:"video",dropZoneProps:{multiple:!1,maxSize:M*1024*1024,accept:{"video/mp4":[".mp4"],"video/webm":[".webm"],"video/x-msvideo":[".avi"],"video/x-matroska":[".mkv"]}},isValidMediaUrl:HW,onUpload:te,onChange:le=>{P(le,!0)},popoverProps:{opened:m,position:"bottom",onChange:y},children:A.jsx(Ml,{className:n,format:t,nodeKey:o,children:A.jsx(vc,{isLoading:h,title:d("editor.video.add_video"),icon:"youtube",onClick:()=>y(le=>!le),nodeKey:o,progress:_,onAfterCancel:()=>{v(),g(!1)}})})}):A.jsx(rw,{editor:s,isIcon:!1,isEmbed:!0,width:Uh(l),height:Uh(c),onResizeEnd:F,alignment:u,type:"video",disableInteractions:T,children:A.jsx(ZW,{className:n,format:t,platform:e,videoID:r,nodeKey:o,editor:s,alignment:u,isFullscreen:T,openedAlignment:w,setOpenedAlignment:x,onDelete:H,containerRef:E})})}function uk(n){const t=n.getAttribute("data-lexical-platform"),e=n.getAttribute("data-lexical-videoid"),r=n.getAttribute("src"),s=parseFloat(n.getAttribute("width")??"100%"),o=parseFloat(n.getAttribute("height")??"100%"),i=n.style.justifyContent||"left";if(t&&typeof e=="string"){const l=cw(oc(t,e),s,o,i);return t==="download"&&r&&l.setUrl(r),{node:l}}return{node:null}}class ea extends lo{constructor(e,r,s,o,i,l,c="left",u){super(s,l);j(this,"__platform");j(this,"__id");j(this,"__url");j(this,"__create");j(this,"__width");j(this,"__height");j(this,"__alignment");this.__platform=e,this.__id=r,this.__url="",this.__create=u||!1,this.__width=o||560,this.__height=i||315,this.__height=i||315,this.__alignment=c||"left"}static getType(){return"video"}static clone(e){const r=new ea(e.__platform,e.__id,e.__format,e.__width,e.__height,e.__key,e.__alignment);return r.__url=e.__url,r}static importJSON(e){const r=cw(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"),s=e.getAttribute("data-lexical-videoid");return r!=="download"&&typeof s=="string"?{conversion:uk,priority:1}:null},video:e=>{const r=e.getAttribute("data-lexical-platform"),s=e.getAttribute("data-lexical-videoid");return(r==="download"||r==="link")&&typeof s=="string"?{conversion:uk,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),s=this.__platform==="download"&&this.__url?this.__url:this.__id,o=oc(this.__platform,s),i=o==="upload"?"":o;this.__platform==="download"||this.__platform==="link"?r.setAttribute("controls","true"):(r.setAttribute("frameborder","0"),r.setAttribute("allowfullscreen","true")),r.setAttribute("src",i),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 l=document.createElement("span");return l.setAttribute("data-src",i),l.className="video-container",l.style.justifyContent=this.__alignment||"left",r.style.justifyContent=this.__alignment||"left",l.appendChild(r),{element:l}}decorate(e,r){const o={base:(r.theme.embedBlock||{}).base||"",focus:""};return A.jsx(JW,{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}setUrl(e){const r=this.getWritable();r.__url=e}setCreated(e){const r=this.getWritable();r.__create=e}getId(){return this.__id}getUrl(){return this.__url}setAlignment(e){const r=this.getWritable();r.__alignment=e}getTextContent(){const e=this.__platform==="download"&&this.__url?this.__url:this.__id;return oc(this.__platform,e)}setWidthAndHeight(e,r){const s=this.getWritable();s.__width=e,s.__height=r}}function cw(n,t,e,r,s){const o=n.startsWith("https")||n.startsWith("http"),{platform:i,id:l}=cI(n,o),c=new ea(i,l||"",void 0,t,e,void 0,r,s);return i==="download"&&n.startsWith("/")&&c.setUrl(n),c}function Wu(n){return n instanceof ea}const VW=[["path",{d:"M17 11C17 13.7614 14.7614 16 12 16C9.23858 16 7 13.7614 7 11V7C7 4.23858 9.23858 2 12 2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20 11C20 15.4183 16.4183 19 12 19M12 19C7.58172 19 4 15.4183 4 11M12 19V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.3327 4.64612C15.5394 4.49594 16.4959 3.53944 16.6461 2.33267C16.6689 2.14999 16.8159 2 17 2C17.1841 2 17.3311 2.14999 17.3539 2.33267C17.5041 3.53944 18.4606 4.49594 19.6673 4.64612C19.85 4.66885 20 4.81591 20 5C20 5.1841 19.85 5.33115 19.6673 5.35388C18.4606 5.50406 17.5041 6.46056 17.3539 7.66733C17.3311 7.85001 17.1841 8 17 8C16.8159 8 16.6689 7.85001 16.6461 7.66733C16.4959 6.46056 15.5394 5.50406 14.3327 5.35388C14.15 5.33115 14 5.1841 14 5C14 4.81591 14.15 4.66885 14.3327 4.64612Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],QW=[["path",{d:"M8 3C7.28543 3.05475 6.78159 3.18135 6.34921 3.47408C5.58736 3.98988 5.22202 4.90323 4.49134 6.72994L2.42914 11.9271C2.21522 12.4619 2.10826 12.7293 2.05413 13.0104C2 13.2915 2 13.5795 2 14.1555V15C2 17.8284 2 19.2426 2.87868 20.1213C3.75736 21 5.17157 21 8 21H16C18.8284 21 20.2426 21 21.1213 20.1213C22 19.2426 22 17.8284 22 15V14.1555C22 13.5795 22 13.2915 21.9459 13.0104C21.8917 12.7293 21.7848 12.4619 21.5709 11.9271L19.5087 6.72994C18.778 4.90323 18.4126 3.98988 17.6508 3.47408C17.2184 3.18135 16.7146 3.05475 16 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 13H5.58579C6.16263 13 6.45105 13 6.71982 13.0766C6.86747 13.1187 7.00978 13.1776 7.14394 13.2523C7.38816 13.3882 7.59211 13.5921 8 14C8.40789 14.4079 8.61184 14.6118 8.85606 14.7477C8.99022 14.8224 9.13253 14.8813 9.28018 14.9234C9.54895 15 9.83737 15 10.4142 15H13.5858C14.1626 15 14.4511 15 14.7198 14.9234C14.8675 14.8813 15.0098 14.8224 15.1439 14.7477C15.3882 14.6118 15.5921 14.4079 16 14C16.4079 13.5921 16.6118 13.3882 16.8561 13.2523C16.9902 13.1776 17.1325 13.1187 17.2802 13.0766C17.5489 13 17.8374 13 18.4142 13H21.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15 7.00002C15 7.00002 12.7905 9.99999 12 10C11.2094 10 9 7 9 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 3V9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],XW=[["path",{d:"M8 3C7.28543 3.05475 6.78159 3.18135 6.34921 3.47408C5.58736 3.98988 5.22202 4.90323 4.49134 6.72994L2.42914 11.9271C2.21522 12.4619 2.10826 12.7293 2.05413 13.0104C2 13.2915 2 13.5795 2 14.1555V15C2 17.8284 2 19.2426 2.87868 20.1213C3.75736 21 5.17157 21 8 21H16C18.8284 21 20.2426 21 21.1213 20.1213C22 19.2426 22 17.8284 22 15V14.1555C22 13.5795 22 13.2915 21.9459 13.0104C21.8917 12.7293 21.7848 12.4619 21.5709 11.9271L19.5087 6.72994C18.778 4.90323 18.4126 3.98988 17.6508 3.47408C17.2184 3.18135 16.7146 3.05475 16 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 13H5.58579C6.16263 13 6.45105 13 6.71982 13.0766C6.86747 13.1187 7.00978 13.1776 7.14394 13.2523C7.38816 13.3882 7.59211 13.5921 8 14C8.40789 14.4079 8.61184 14.6118 8.85606 14.7477C8.99022 14.8224 9.13253 14.8813 9.28018 14.9234C9.54895 15 9.83737 15 10.4142 15H13.5858C14.1626 15 14.4511 15 14.7198 14.9234C14.8675 14.8813 15.0098 14.8224 15.1439 14.7477C15.3882 14.6118 15.5921 14.4079 16 14C16.4079 13.5921 16.6118 13.3882 16.8561 13.2523C16.9902 13.1776 17.1325 13.1187 17.2802 13.0766C17.5489 13 17.8374 13 18.4142 13H21.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15 5.99998C15 5.99998 12.7905 3.00001 12 3C11.2094 2.99999 9 6 9 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 10V3.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],qW=[["path",{d:"M5 15C5 11.134 8.13401 8 12 8C15.866 8 19 11.134 19 15C19 18.866 15.866 22 12 22C8.13401 22 5 18.866 5 15Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.5 9.5V6.5C16.5 4.01472 14.4853 2 12 2C9.51472 2 7.5 4.01472 7.5 6.5V9.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 15H12.009",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"2"}]],$W=[["path",{d:"M5 15C5 11.134 8.13401 8 12 8C15.866 8 19 11.134 19 15C19 18.866 15.866 22 12 22C8.13401 22 5 18.866 5 15Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.5 9.5V6.5C7.5 4.01472 9.51472 2 12 2C13.5602 2 14.935 2.79401 15.7422 4",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 15H12.009",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"2"}]],dI=[["path",{d:"M9 15C9 12.1716 9 10.7574 9.87868 9.87868C10.7574 9 12.1716 9 15 9L16 9C18.8284 9 20.2426 9 21.1213 9.87868C22 10.7574 22 12.1716 22 15V16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H15C12.1716 22 10.7574 22 9.87868 21.1213C9 20.2426 9 18.8284 9 16L9 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.9999 9C16.9975 6.04291 16.9528 4.51121 16.092 3.46243C15.9258 3.25989 15.7401 3.07418 15.5376 2.90796C14.4312 2 12.7875 2 9.5 2C6.21252 2 4.56878 2 3.46243 2.90796C3.25989 3.07417 3.07418 3.25989 2.90796 3.46243C2 4.56878 2 6.21252 2 9.5C2 12.7875 2 14.4312 2.90796 15.5376C3.07417 15.7401 3.25989 15.9258 3.46243 16.092C4.51121 16.9528 6.04291 16.9975 9 16.9999",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],fI=[["path",{d:"M19.5 5.5L18.8803 15.5251C18.7219 18.0864 18.6428 19.3671 18.0008 20.2879C17.6833 20.7431 17.2747 21.1273 16.8007 21.416C15.8421 22 14.559 22 11.9927 22C9.42312 22 8.1383 22 7.17905 21.4149C6.7048 21.1257 6.296 20.7408 5.97868 20.2848C5.33688 19.3626 5.25945 18.0801 5.10461 15.5152L4.5 5.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 11.7349H15",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10.5 15.6543H13.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 5.5H21M16.0555 5.5L15.3729 4.09173C14.9194 3.15626 14.6926 2.68852 14.3015 2.39681C14.2148 2.3321 14.1229 2.27454 14.0268 2.2247C13.5937 2 13.0739 2 12.0343 2C10.9686 2 10.4358 2 9.99549 2.23412C9.89791 2.28601 9.80479 2.3459 9.7171 2.41317C9.32145 2.7167 9.10044 3.20155 8.65842 4.17126L8.05273 5.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}]],e7=[["path",{d:"M16.9767 19.5C19.4017 17.8876 21 15.1305 21 12C21 7.02944 16.9706 3 12 3C11.3126 3 10.6432 3.07706 10 3.22302M16.9767 19.5V16M16.9767 19.5H20.5M7 4.51555C4.58803 6.13007 3 8.87958 3 12C3 16.9706 7.02944 21 12 21C12.6874 21 13.3568 20.9229 14 20.777M7 4.51555V8M7 4.51555H3.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],t7=[["path",{d:"M17 17L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],n7=[["path",{d:"M21 6.5C21 8.15685 19.6569 9.5 18 9.5C16.3431 9.5 15 8.15685 15 6.5C15 4.84315 16.3431 3.5 18 3.5C19.6569 3.5 21 4.84315 21 6.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 12C9 13.6569 7.65685 15 6 15C4.34315 15 3 13.6569 3 12C3 10.3431 4.34315 9 6 9C7.65685 9 9 10.3431 9 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 17.5C21 19.1569 19.6569 20.5 18 20.5C16.3431 20.5 15 19.1569 15 17.5C15 15.8431 16.3431 14.5 18 14.5C19.6569 14.5 21 15.8431 21 17.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M8.72852 10.7495L15.2285 7.75M8.72852 13.25L15.2285 16.2495",stroke:"currentColor",strokeWidth:"1.5",key:"3"}]],r7=[["path",{d:"M11 20.001H5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 4L8 20.0008M12 4C13.3874 4 15.1695 4.03054 16.5884 4.17648C17.1885 4.23819 17.4886 4.26905 17.7541 4.37789C18.3066 4.60428 18.7518 5.10062 18.9194 5.6768C19 5.95381 19 6.26991 19 6.90214M12 4C10.6126 4 8.83047 4.03054 7.41161 4.17648C6.8115 4.23819 6.51144 4.26905 6.24586 4.37789C5.69344 4.60428 5.24816 5.10062 5.08057 5.6768C5 5.95381 5 6.26991 5 6.90214",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14 15L19 20M14 20L19 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],hI=[["path",{d:"M18 19C18 19 13.5811 14 12 14C10.4188 14 6 19 6 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 5.00004C18 5.00004 13.5811 9.99999 12 10C10.4188 10 6 5 6 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],gI=[["path",{d:"M18 14C18 14 13.5811 19 12 19C10.4188 19 6 14 6 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 9.99996C18 9.99996 13.5811 5.00001 12 5C10.4188 4.99999 6 10 6 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],s7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},Gn=k.forwardRef(({color:n="currentColor",size:t=24,strokeWidth:e,absoluteStrokeWidth:r=!1,className:s="",altIcon:o,showAlt:i=!1,icon:l,primaryColor:c,secondaryColor:u,disableSecondaryOpacity:d=!1,...h},g)=>{const p=e!==void 0?r?Number(e)*24/Number(t):e:void 0,m=p!==void 0?{strokeWidth:p,stroke:"currentColor"}:{},y={ref:g,...s7,width:t,height:t,color:c||n,className:s,...m,...h},x=[...i&&o?o:l].sort(([,C],[,v])=>{const _=C.opacity!==void 0;return v.opacity!==void 0?1:_?-1:0}).map(([C,v])=>{const _=v.opacity!==void 0,N=_&&!d?v.opacity:void 0,E=u?{...v.stroke!==void 0?{stroke:_?u:c||n}:{fill:_?u:c||n}}:{};return k.createElement(C,{...v,...m,...E,opacity:N,key:v.key})});return k.createElement("svg",y,x)});Gn.displayName="HugeiconsIcon";function pI({size:n="sm",w:t=150,comboboxProps:e,rightSection:r,renderOption:s,searchable:o,data:i,value:l,defaultValue:c,placeholder:u,onChange:d,inputClassName:h,...g}){var ne;const{onClick:p,type:m,onCopy:y,onCut:w,onPaste:x,classNames:C,...v}=g,N=[typeof C=="object"&&C&&"input"in C?C.input:void 0,h].filter(Boolean).join(" ")||void 0,E=N?{...typeof C=="object"&&C?C:{},input:N}:C,[T,I]=k.useState(""),M=D.useCombobox({onDropdownClose:()=>{M.resetSelectedOption(),M.focusTarget(),I("")},onDropdownOpen:()=>{M.focusSearchInput()}}),O=k.useMemo(()=>(Array.isArray(i)?i:[]).map(X=>typeof X=="string"?{value:X,label:X}:X),[i]),P=l??c??null,F=!o||!T?O:O.filter(X=>X.label.toLowerCase().includes(T.toLowerCase().trim())),z=((ne=O.find(X=>X.value===P))==null?void 0:ne.label)??"",H=(X,he,q)=>s?s({option:{value:X,label:he},checked:q}):A.jsxs(D.Group,{justify:"space-between",wrap:"nowrap",w:"100%",children:[he,q&&A.jsx($.IconCheck,{size:16,color:"var(--primary-color-text, #4C6EF5)"})]}),{width:te,...le}=e||{},ce=te??250;return A.jsxs(D.Combobox,{store:M,withinPortal:!1,onOptionSubmit:X=>{const he=O.find(q=>q.value===X)??{value:X,label:X};d==null||d(X,he),M.closeDropdown()},width:ce,...le,children:[A.jsx(D.Combobox.Target,{children:A.jsx(D.InputBase,{component:"button",size:n,w:t,classNames:E,pointer:!0,rightSection:r??A.jsx($.IconChevronDown,{size:16,className:"editor-select__chevron"}),rightSectionPointerEvents:"none",onClick:X=>{p==null||p(X),M.toggleDropdown()},...v,children:z})}),A.jsxs(D.Combobox.Dropdown,{children:[o&&A.jsx(D.Combobox.Search,{value:T,onChange:X=>I(X.currentTarget.value),placeholder:u,size:n,leftSectionWidth:40,leftSection:A.jsx(Gn,{icon:t7,size:16,color:"var(--mantine-color-gray-6)"}),leftSectionPointerEvents:"none",classNames:{input:"editor-select__search-input"}}),A.jsx(D.Combobox.Options,{style:{maxHeight:200,overflowY:"auto"},children:F.length>0?F.map(X=>{const he=X.value===P;return A.jsx(D.Combobox.Option,{value:X.value,children:H(X.value,X.label,he)},X.value)}):A.jsx(D.Combobox.Empty,{children:"Nothing found"})})]})]})}const o7=()=>A.jsx(Gn,{color:"var(--mantine-color-gray-6)",icon:dI,size:16}),i7={copy:o7,success:$.IconCheck,loader:$.IconCircleDashed};function l7({copyToClipboard:n}){const[t,e]=k.useState("copy");async function r(){await n()&&(e("loader"),setTimeout(()=>{e("success"),setTimeout(()=>{e("copy")},1e3)},1e3))}const s=i7[t];return A.jsx(D.ActionIcon,{variant:"default",radius:"md",size:32,bd:"none","aria-label":"copy",onClick:r,children:A.jsx(s,{size:16})})}function a7({onCollapsibleCode:n,copyToClipboard:t,onRemoveCodeBlock:e,showExpandButton:r,isCollapsed:s}){const{t:o}=ot.useTranslation();return A.jsx("div",{className:"code-block-header-menu__burger",children:A.jsxs(D.Menu,{shadow:"md",styles:{dropdown:{overflow:"auto",zIndex:1e3}},children:[A.jsx(D.Menu.Target,{children:A.jsx(D.Button,{radius:"sm",h:25,px:5,size:"xs",variant:"default",children:A.jsx($.IconMenu2,{size:18})})}),A.jsxs(D.Menu.Dropdown,{children:[A.jsx(D.Menu.Item,{rightSection:A.jsx(Gn,{size:16,color:"var(--mantine-color-gray-6)",icon:dI}),onClick:t,children:A.jsx(D.Text,{size:"12px",children:o("editor.menu.main.code.copy")})}),r&&A.jsx(D.Menu.Item,{onClick:n,rightSection:s?A.jsx(Gn,{size:16,color:"var(--mantine-color-gray-6)",icon:gI}):A.jsx(Gn,{size:16,color:"var(--mantine-color-gray-6)",icon:hI}),children:A.jsx(D.Text,{size:"12px",children:o(s?"editor.menu.main.code.collapsible.expand":"editor.menu.main.code.collapsible.hidden")})}),A.jsx(D.Menu.Item,{rightSection:A.jsx(Gn,{size:16,color:"var(--mantine-color-red-5)",icon:fI}),onClick:e,children:A.jsx(D.Text,{size:"12px",children:o("editor.actions.delete")})})]})]})})}const mu={json:"JSON",...kU};function c7({editor:n,headerKey:t}){const{t:e}=ot.useTranslation(),[r,s]=k.useState(!1),[o,i]=k.useState(""),[l,c]=k.useState(!1),u=Object.entries(mu).map(([y,w])=>({value:y,label:w})),d=()=>{const y=be(t);if(!y)return null;const w=y.getNextSibling();return es(w)?w:null};k.useEffect(()=>{n.getEditorState().read(()=>{const y=d();if(!y)return;const w=y.getLanguage()||"plain",x=k1[w]||w;i(x),s(y.__isCollapsed)})},[n,t]),k.useEffect(()=>{const y=()=>{let x=null;if(n.getEditorState().read(()=>{const v=d();v&&(x=v.getKey())}),r){c(!0);return}if(!x){c(!1);return}const C=n.getElementByKey(x);if(!C){c(!1);return}c(C.offsetHeight>300)};y();const w=n.registerUpdateListener(()=>{y()});return window.addEventListener("resize",y),()=>{w(),window.removeEventListener("resize",y)}},[n,t,r]);const h=y=>{y&&n.update(()=>{const w=d();if(!w)return;w.setLanguage(y),w.selectStart();const x=w.getLanguage()||"plain",C=k1[x]||x;i(C)})},g=()=>{n.update(()=>{const y=d();y&&(y.toggleCodeState(),s(w=>!w))})},p=()=>{n.update(()=>{const y=be(t),w=y==null?void 0:y.getParent();sp(w)&&w.remove()})},m=async()=>{let y="";if(n.getEditorState().read(()=>{const w=d();w&&(y=w.getTextContent())}),!y)return!1;try{return await navigator.clipboard.writeText(y),!0}catch(w){return console.error("Failed to copy code block:",w),!1}};return A.jsxs(A.Fragment,{children:[A.jsx(pI,{data:u,value:o,size:"sm",rightSectionWidth:16,searchable:!0,w:120,placeholder:e("editor.menu.main.code.languageSearchPlaceholder"),onChange:h,inputClassName:"editor-select__input--codeblock",comboboxProps:{position:"bottom-start"},styles:{input:{paddingRight:0}}}),A.jsxs("div",{className:"code-block-header-menu__main",children:[A.jsxs("div",{className:"code-block-header-menu__actions",children:[A.jsx(D.Tooltip,{label:e("editor.menu.main.code.exitCommandText"),children:A.jsx(D.Text,{size:"xs",c:"dimmed",children:"(Shift+Enter)"})}),l&&A.jsx(D.Tooltip,{label:e(r?"editor.menu.main.code.collapsible.expand":"editor.menu.main.code.collapsible.hidden"),children:A.jsx(D.ActionIcon,{variant:"default",radius:"md",size:32,bd:"none","aria-label":"expand",onClick:g,children:A.jsx(Gn,{size:16,color:"var(--mantine-color-gray-6)",icon:r?gI:hI})})}),A.jsx(D.Tooltip,{label:e("editor.menu.main.code.copy"),children:A.jsx("div",{children:A.jsx(l7,{copyToClipboard:m})})}),A.jsx(D.Tooltip,{label:e("editor.actions.delete"),children:A.jsx(D.ActionIcon,{variant:"default",radius:"md",bd:"none",size:32,"aria-label":"remove-code-block",onClick:p,children:A.jsx(Gn,{color:"var(--mantine-color-red-5)",size:16,icon:fI})})})]}),A.jsx(a7,{onCollapsibleCode:g,copyToClipboard:async()=>{await m()},onRemoveCodeBlock:p,showExpandButton:l,isCollapsed:r})]})]})}const pA=new Map;class wr extends Ci{constructor(e=!1,r="plain",s){super(r,s);j(this,"__isCollapsed");this.__isCollapsed=e}static getType(){return"extend-code"}static clone(e){return new wr(e.__isCollapsed,e.getLanguage(),e.__key)}static importJSON(e){const{isCollapsed:r=!0,language:s=null}=e,o=new wr(r,s,e.key);return o.setLanguage(e.language||""),o}createDOM(e,r){const s=document.createElement("code");s.classList.add("dsd__theme__code"),s.setAttribute("spellcheck","false"),s.setAttribute("data-language",String(this.__language)),s.setAttribute("data-highlight-language",String(this.__language)),this.__isCollapsed?(s.classList.add(e.theme.codeCollapsed),s.setAttribute("data-collapsed",String(this.__isCollapsed))):s.setAttribute("data-collapsed","false");const o=mu[this.__language||"plain"]||this.__language;return s.setAttribute("data-name-language",String(o)),setTimeout(()=>{pA.set(this.__key,s.getAttribute("data-gutter")||"")},0),s}updateDOM(e,r,s){if(this.__isCollapsed!==e.__isCollapsed)return this.__isCollapsed?(r.classList.add(Es.codeCollapsed),r.setAttribute("data-collapsed","true")):(r.classList.remove(Es.codeCollapsed),r.setAttribute("data-collapsed","false")),!1;if(this.__language!==e.__language){const o=mu[this.__language||"plain"]||this.__language;r.setAttribute("data-name-language",String(o))}return setTimeout(()=>{pA.set(this.__key,r.getAttribute("data-gutter")||"")},0),super.updateDOM(e,r,s)}exportDOM(e){var i;const r=document.createElement("pre");Qe(r,e._config.theme.code,(i=e._config.theme.ltr)==null?void 0:i[0]),r.setAttribute("spellcheck","false"),r.setAttribute("data-language",String(this.__language)||"plain"),r.setAttribute("data-highlight-language",String(this.__language)||"plain");const s=mu[this.__language||"plain"]||this.__language;r.setAttribute("data-name-language",String(s)),r.setAttribute("data-collapsed",String(this.__isCollapsed)),this.__isCollapsed&&r.classList.add(e._config.theme.codeCollapsed);const o=pA.get(this.__key);return r.setAttribute("data-gutter",o||"1"),{element:r}}static importDOM(){return{...super.importDOM(),pre:r=>{const s=r.getAttribute("data-collapsed")==="true",o=r.getAttribute("data-language")||"";return r.hasAttribute("data-collapsed")?{conversion:()=>({node:new wr(s,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:s,focus:o}=e,l=(s.isBefore(o)?s:o).getNode();if(oe(l)){let c=d7(l);const u=[];for(;;)if(zn(c))u.push(ts()),c=c.getNextSibling();else if(Vt(c)){let w=0;const x=c.getTextContent(),C=c.getTextContentSize();for(;w<C&&x[w]===" ";)w++;if(w!==0&&u.push(Lt(new Ll(" ".repeat(w)))),w!==C)break;c=c.getNextSibling()}else break;const d=l.splitText(s.offset)[0],h=s.offset===0?0:1,g=d.getIndexWithinParent()+h,p=l.getParentOrThrow(),m=[cr(),...u];p.splice(g,0,m);const y=u[u.length-1];y?y.select():s.offset===0?d.selectPrevious():d.getNextSibling().selectNext(0,0)}if(es(l)){const{offset:c}=e.anchor;l.splice(c,0,[cr()]),l.select(c+1,c+1)}return null}}function u7(n=!1){return Lt(new wr(n))}function es(n){return n instanceof wr}function d7(n){let t=n,e=n;for(;Vt(e)||zn(e);)t=e,e=e.getPreviousSibling();return t}function f7(){return{node:Hu()}}class bd extends lo{static getType(){return"extend-code-header"}static clone(t){return new bd(t.__format,t.__key)}static importJSON(){return Hu()}exportJSON(){return{...super.exportJSON(),type:"extend-code-header",version:1}}static importDOM(){return{div:t=>t.classList.contains("extend-code-header")?{conversion:f7,priority:2}:null}}createDOM(){const t=document.createElement("div");return Qe(t,Es.codeHeader),t}updateDOM(){return!1}decorate(t,e){return A.jsx(c7,{editor:t,headerKey:this.__key})}}function Hu(){return new bd}function h7(n){return n instanceof bd}function g7(){return{node:rp()}}class Tc extends ft{static getType(){return"extend-code-wrapper"}static clone(t){return new Tc(t.__key)}constructor(t){super(t)}createDOM(t){const e=document.createElement("div");return t.theme.codeWrapper&&Qe(e,t.theme.codeWrapper),e.setAttribute("dir","auto"),e}updateDOM(){return!1}exportDOM(t){const e=document.createElement("div");Qe(e,Es.codeWrapper),e.setAttribute("dir","auto");const r=this.getChildren().find(es);if(r){const s=mu[r.getLanguage()||"plain"]||r.getLanguage();e.setAttribute("data-name-language",String(s))}return{element:e}}static importDOM(){return{div:t=>{const e=Es.codeWrapper;return t.classList.contains(e)?{conversion:g7,priority:2}:null}}}static importJSON(t){return rp()}exportJSON(){return{...super.exportJSON(),type:"extend-code-wrapper",version:1}}}function rp(){return new Tc}function sp(n){return n instanceof Tc}const Wy=(n="plain")=>()=>{const t=rp(),e=Hu(),r=u7(!1);return r.setLanguage(n),t.append(e,r),t};function Zt(n){const t=Z();if(W(t)){const r=t.anchor.getNode();if(r!==null){const s=r.getParent();return n?s:r}}return null}function p7(n){n.update(()=>{const t=Z();if(W(t)){const e=t.getNodes();let r=null,s=null;if(e.forEach((o,i)=>{i===0&&(r=o.getParent()),i===e.length-1&&(s=o.getParent())}),r&&s){const o=Z();W(o)&&(r.isAttached()&&s.isAttached()?Kn(r)&&Kn(s)?o.setTextNodeRange(r,0,s,s.getTextContentSize()):(o.anchor.set(r.getKey(),0,"element"),o.focus.set(s.getKey(),s.getChildrenSize(),"element")):console.error("Error: One of the nodes is not attached."))}}})}const uw=(n,t)=>{n.update(()=>{if(typeof t=="string"){const e=be(t);e&&e.remove();return}t&&t.remove()})};function m7(n,t){t.update(()=>{let e=Go();n.getParent()&&(e.anchor.set(n.getKey(),0,"element"),e.focus.set(n.getKey(),0,"element"),Ze(e))})}function A7(){const n=Z();if(W(n)){const t=n.anchor,e=n.focus,r=e.getNode(),s=es(r)?r.__size:r.getTextContentSize(),o=t.offset===0,i=e.offset===s;if(o&&i)return!0}return!1}function Au(n,t){const e=ry(n),r=[[n,e]];let s;for(;(s=r.length)>0;)for(let o=0;o<s;o++){const i=r.shift();if(i!==void 0){const[l,c]=i;if(Y(l)&&Y(c)){const u=l.getChildren();for(const d of u){if(t&&d.is(t))continue;const h=ry(d);Kn(d)&&Kn(h)&&(h.setFormat(d.__format),h.setStyle(d.__style)),c.append(h),r.push([d,h])}}}}return e}function y7(n,t,e=3){if(!n)return null;let r=n,s=0;for(;r&&s<e;){if(t(r))return r;if(r.__type==="root")break;r=r.getParent(),s++}return null}function ic(n,t,e){var s;const r=e||{root:!0};if(n){let o=n.getParent();if(r[o==null?void 0:o.__type]){const i=t.getElementByKey(n.__key),l=y7(o,xc);if(l&&(l.getFirstChild()===n.getTopLevelElement()||l.getFirstChild()===((s=n.getTopLevelElement())==null?void 0:s.getParent()))){const u=l.getParent(),d=u?t.getElementByKey(u.__key):null;if(d)return{htmlElement:d,lexicalNode:Re(d)}}return{htmlElement:i,lexicalNode:n}}return ic(o,t,r)}return{htmlElement:null,lexicalNode:null}}function dk(n,t,e,r){var s;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:i}=((s=t.getElementByKey(n.__key))==null?void 0:s.getBoundingClientRect())||{left:0},{paddingLeft:l}=window.getComputedStyle(r==null?void 0:r.target),c=document.elementFromPoint(i+parseFloat(l)+10,o),u=Re(c||document.body);return u?ic(u,t,e):{htmlElement:null,lexicalNode:null}}else return ic(n,t,e);return{htmlElement:null,lexicalNode:null}}const Hh=n=>{n.update(()=>{Z()!==null&&Ze(null)})},Hy=()=>{const n=Me(),t=n==null?void 0:n.getFirstChild();return n.getChildren().length>1?!1:t&&Y(t)&&t.isEmpty()&&!es(t)},mI=n=>{n.update(()=>{const t=Me(),e=Ce(),r=Z();W(r)&&(r.format=0,r.setStyle("")),t.append(e).selectEnd()})},Yh=ye("INSERT_IMAGE_COMMAND"),AI=ye("UPLOAD_IMAGE_COMMAND");function b7(){const[n]=Ee(),{t}=ot.useTranslation(),{imperativeHandleRef:e}=k.useContext(Mt),{maxFileSize:r}=k.useContext(Mt);return k.useEffect(()=>{if(!n.hasNodes([qo]))throw new Error("ImageOlugin: FileNode not registered on editor");const s=o=>{if(o.length>1){bt.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(o[0].size>r*1024*1024){bt.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(Yh,{src:"upload",create:!1,altText:""}),setTimeout(()=>{n.dispatchCommand(AI,o)},100)};return e!=null&&e.current&&(e.current.insertImages=s),n.registerCommand(Yh,o=>{const i=qg(o);return op(i),!1},Se)},[n]),null}const op=n=>{var i;const t=Zt();if(Yt(t))return t.append(n),!0;let e=t==null?void 0:t.getParent();const r=e instanceof Vo||e instanceof xn||e instanceof Br,s=t instanceof Uo&&!!t.__text,o=Y(t)&&(t==null?void 0:t.getChildrenSize())>0;if(o&&(e=t),r&&s||r||o)return e.insertAfter(n),!0;if(t&&e)return t instanceof Ts?((i=t.getPreviousSibling())==null||i.replace(n),!0):(t==null||t.replace(n),!0);if(!t)return Me().append(n),!0},Yy=ye("INSERT_FILE_COMMAND"),yI=ye("UPLOAD_FILE_COMMAND");function w7(){const[n]=Ee(),{t}=ot.useTranslation(),{imperativeHandleRef:e,maxFileSize:r}=k.useContext(Mt);return k.useEffect(()=>{if(!n.hasNodes([ta]))throw new Error("FilePlugin: FileNode not registered on editor");const s=o=>{if(o.length>1){bt.showMessageNotification({message:t("editor.validation.doNotUploadMoreThanSingleFile")});return}if(o[0].size>r*1024*1024){bt.showErrorNotification({message:t("editor.validation.shouldNotExceed",{maxSize:r})});return}n.dispatchCommand(Yy,"upload"),setTimeout(()=>{n.dispatchCommand(yI,o)})};return e!=null&&e.current&&(e.current.insertFiles=s),n.registerCommand(Yy,o=>{const i=dw(o,"100%","100%","left",o!=="upload");return op(i),!1},Se)},[n]),null}function C7(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 s=Math.floor(Math.log(n)/Math.log(e)),o=(n/Math.pow(e,s)).toFixed(1);return`${parseFloat(o).toString()}${r[s]}`}function x7({className:n,format:t,src:e,editor:r,nodeKey:s,create:o}){const{t:i}=ot.useTranslation(),{t:l}=ot.useTranslation("ui"),[c,u]=k.useState(!1),[d,h]=k.useState(!1),[g,p]=k.useState(0),m=k.useRef(null),{fetchUploadMedia:y,maxFileSize:w}=k.useContext(Mt),{startLoading:x,stopLoading:C}=dU(),{start:v,cancel:_}=Bg();k.useEffect(()=>{r.update(()=>{var z,H;const P=be(s),F=((H=(z=m.current)==null?void 0:z.firstChild)==null?void 0:H.outerHTML)||"";P instanceof ta&&e&&P.setRef(F)})},[e]),k.useEffect(()=>{o&&h(!0)},[o]);const{fileSize:N,fileName:E}=k.useMemo(()=>{const P=new URL(window.location.href+e),F=P.searchParams.get("contentType"),z=P.searchParams.get("fileSize"),H=P.searchParams.get("originalFileName");return{contentType:F,fileName:H||e,fileSize:z}},[e]),T=k.useMemo(()=>[{key:"link",enabled:!0},{key:"upload",enabled:!0}].filter(F=>F.enabled).map(F=>F.key),[]);k.useEffect(()=>{const P=document.documentElement;Si(d,P)},[d]),k.useEffect(()=>r.registerCommand(yI,P=>(e==="upload"&&M(P),!1),Se),[e]);const I=P=>{r.update(()=>{const F=be(s);if(!F)return;Zy(F)&&(h(!1),F.setSrc(P));const z=F.getNextSibling();z&&Ze(z.selectNext())})},M=P=>{r.update(()=>{u(!0),h(!1),x();const F=v();y&&y(P[0],(z,H,te)=>{const{contentType:le,fileSize:ce,originalFileName:ne}=te,X=new URLSearchParams({contentType:le,fileSize:ce,originalFileName:ne}),he=z.includes("?")?`${z}&${X.toString()}`:`${z}?${X.toString()}`;I(he),C(),u(!1),p(0)},z=>{z&&!F.aborted&&bt.showErrorNotification({message:i("editor.gallery.errorFile")}),u(!1),p(0),C()},F,z=>{p(z)})})},O=P=>{P.stopPropagation(),P.preventDefault(),r.update(()=>{const F=be(s);F&&F.remove()})};return!e||e==="upload"?A.jsx(bt.FilePicker,{showTabs:T,uploading:!1,type:"file",dropZoneProps:{multiple:!1,maxSize:w*1024*1024,accept:{}},onUpload:M,onChange:P=>I(P),popoverProps:{opened:d,position:"bottom",onChange:h},children:A.jsx(D.Flex,{w:"100%",children:A.jsx(Ml,{className:n,format:t,nodeKey:s,children:A.jsx(vc,{isLoading:c,title:i("editor.file.add_file"),icon:"file",progress:g,onClick:()=>h(P=>!P),onAfterCancel:()=>{_(),u(!1)},nodeKey:s})})})}):A.jsx("div",{ref:m,children:A.jsx(D.Anchor,{href:e,target:"_blank",children:A.jsxs(D.Button,{fullWidth:!0,className:"file-button",style:{boxSizing:"border-box"},leftSection:A.jsx($.IconFile,{}),rightSection:A.jsx($.IconX,{onClick:O}),variant:"light",color:"gray",justify:"left",m:0,children:[E," ",C7(Number(N),2)]})})})}const fk=new Map;function v7(n){const t=n.getAttribute("data-src"),e=parseFloat(n.getAttribute("width")??"100%"),r=parseFloat(n.getAttribute("height")??"100%"),s=n.style.justifyContent||"left";return{node:dw(t||"",e,r,s)}}class ta extends lo{constructor(e,r,s,o,i,l="left",c){super(r,i);j(this,"__src");j(this,"__create");j(this,"__width");j(this,"__height");j(this,"__alignment");this.__src=e,this.__create=c||!1,this.__width=s||560,this.__height=o||315,this.__height=o||315,this.__alignment=l||"left"}static getType(){return"file"}static clone(e){return new ta(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:v7,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"),s=document.createElement("span"),o=fk.get(this.__key)||"";return r.innerHTML=o,s.className="file-container",s.setAttribute("data-src",e),s.appendChild(r),{element:s}}decorate(e,r){const o={base:(r.theme.embedBlock||{}).base||"",focus:""};return A.jsx(x7,{editor:e,nodeKey:this.getKey(),format:this.__format,className:o,src:this.__src,create:this.__create})}setRef(e){fk.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 s=this.getWritable();s.__width=e,s.__height=r}}function dw(n,t,e,r,s){return new ta(n,void 0,t,e,void 0,r,s)}function Zy(n){return n instanceof ta}function Mf(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 hk(n,t,e){n.update(()=>{const r=be(t);sc(r)||Wh(r)?r.setSrc(e):Wu(r)&&e.trim()&&r.setId(e)},{tag:"historic"})}const Yr=new Map;function S7({editor:n}){const{fetchDeleteMedia:t,fetchRestoreMedia:e,pageId:r}=k.useContext(Mt);return k.useEffect(()=>()=>{Yr.clear()},[r]),k.useEffect(()=>{if(n)return n.getEditorState().read(()=>{var i;const s=((i=n.getDecorators)==null?void 0:i.call(n))||n._decorators,o=new Map;for(const[l,c]of Object.entries(s)){const u=c.props,d=c._self,g=sc(d)||Wu(d)||Zy(d)||Wh(d);if(!u&&g)continue;const p=(u==null?void 0:u.src)||(u==null?void 0:u.videoID);if(p!=null&&p.trim()&&!(p!=null&&p.includes("unsplash"))&&Mf(p)){const m=o.get(p)||[],y=m.includes(l)?m:[...m,l];o.set(p,y)}}for(const[l,c]of o.entries())Yr.set(l,{mediaNodeKeys:c})}),n.registerDecoratorListener(s=>{var l;const o=new Map;let i=!1;for(const[c,u]of Object.entries(s)){const d=u==null?void 0:u.props,h=u==null?void 0:u._self,g=Wu(h)||sc(h)||Zy(h)||Wh(h);if(g&&((l=d==null?void 0:d.src)!=null&&l.includes("unsplash"))||!d&&g)continue;const p=d.src||d.videoID;if(!p)continue;if(p.trim()==="")return;const m=o.get(p)||[];!m.includes(c)&&Mf(d==null?void 0:d.src)&&o.set(p,[...m,c])}for(const[c,u]of Yr.entries()){const d=o.get(c);if(Array.isArray(u.mediaNodeKeys)&&u.mediaNodeKeys.length>0&&(!d||d.length===0)){const h=Mf(c);if(h&&t){const g=n.registerCommand(ac,()=>!0,Ss);t(h,()=>{g()}),Yr.set(c,{mediaNodeKeys:[]})}}}for(const[c]of Yr.entries())o.has(c)||Yr.set(c,{mediaNodeKeys:[]});if(Yr.size>0)for(const[c,u]of o.entries()){const d=Yr.get(c);if(d&&Array.isArray(d.mediaNodeKeys)&&d.mediaNodeKeys.length===0&&u.length>0){hk(n,u[0]," "),i=!0;const h=Mf(c);if(Yr.set(c,{mediaNodeKeys:u}),h&&e){const g=n.registerCommand(jl,()=>!0,Ss);e(h,()=>{g(),hk(n,u[0],c)})}}}if(!i)for(const[c,u]of o.entries())Yr.set(c,{mediaNodeKeys:u})})},[n,e,t]),Yr}const k7=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?k.useLayoutEffect:k.useEffect;function E7({onClear:n}){const[t]=Ee();return k7(()=>I6(t,n),[t,n]),null}function T7({newTab:n=!0,disabled:t=!1}){const[e]=Ee();return k.useEffect(()=>KU(e,D0({disabled:t,newTab:n})),[e,n,t]),null}const _7=k.createContext(null),mA={didCatch:!1,error:null};class N7 extends k.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=mA}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var e,r,s=arguments.length,o=new Array(s),i=0;i<s;i++)o[i]=arguments[i];(e=(r=this.props).onReset)===null||e===void 0||e.call(r,{args:o,reason:"imperative-api"}),this.setState(mA)}}componentDidCatch(t,e){var r,s;(r=(s=this.props).onError)===null||r===void 0||r.call(s,t,e)}componentDidUpdate(t,e){const{didCatch:r}=this.state,{resetKeys:s}=this.props;if(r&&e.error!==null&&I7(t.resetKeys,s)){var o,i;(o=(i=this.props).onReset)===null||o===void 0||o.call(i,{next:s,prev:t.resetKeys,reason:"keys"}),this.setState(mA)}}render(){const{children:t,fallbackRender:e,FallbackComponent:r,fallback:s}=this.props,{didCatch:o,error:i}=this.state;let l=t;if(o){const c={error:i,resetErrorBoundary:this.resetErrorBoundary};if(typeof e=="function")l=e(c);else if(r)l=k.createElement(r,c);else if(s!==void 0)l=s;else throw i}return k.createElement(_7.Provider,{value:{didCatch:o,error:i,resetErrorBoundary:this.resetErrorBoundary}},l)}}function I7(){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 bI({children:n,onError:t}){return A.jsx(N7,{fallback:A.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:n})}function M7(){const[n]=Ee();return k.useEffect(()=>{if(!n.hasNodes([jg]))throw new Error("HashtagPlugin: HashtagNode not registered on editor");return PU(n)},[n]),null}function L7(){const[n]=Ee();return k.useEffect(()=>n.registerCommand(o2,t=>{const e=Z();if(!W(e))return!1;if(e.focus.getNode()!==null){const r=bc();h_(r)}return!0},Fe),[n]),null}const D7=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?k.useLayoutEffect:k.useEffect;function O7({ignoreHistoryMergeTagChange:n=!0,ignoreSelectionChange:t=!1,onChange:e}){const[r]=Ee();return D7(()=>{if(e)return r.registerUpdateListener(({editorState:s,dirtyElements:o,dirtyLeaves:i,prevEditorState:l,tags:c})=>{t&&o.size===0&&i.size===0||n&&c.has(Xr)||l.isEmpty()||e(s,r,c)})},[r,n,t,e]),null}const R7=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?k.useLayoutEffect:k.useEffect;function B7(n){return{initialValueFn:()=>n.isEditable(),subscribe:t=>n.registerEditableListener(t)}}function fw(){return(function(n){const[t]=Ee(),e=k.useMemo(()=>n(t),[t,n]),[r,s]=k.useState(()=>e.initialValueFn()),o=k.useRef(r);return R7(()=>{const{initialValueFn:i,subscribe:l}=e,c=i();return o.current!==c&&(o.current=c,s(c)),l(u=>{o.current=u,s(u)})},[e,n]),r})(B7)}const P7={name:"@lexical/react/ReactProvider"};function j7(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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?k.useLayoutEffect:k.useEffect;function F7({editor:n,ErrorBoundary:t}){return(function(e,r){const[s,o]=k.useState(()=>e.getDecorators());return hw(()=>e.registerDecoratorListener(i=>{Dr.flushSync(()=>{o(i)})}),[e]),k.useEffect(()=>{o(e.getDecorators())},[e]),k.useMemo(()=>{const i=[],l=Object.keys(s);for(let c=0;c<l.length;c++){const u=l[c],d=A.jsx(r,{onError:g=>e._onError(g),children:A.jsx(k.Suspense,{fallback:null,children:s[u]})}),h=e.getElementByKey(u);h!==null&&i.push(Dr.createPortal(d,h,u))}return i},[r,s,e])})(n,t)}function z7({editor:n,ErrorBoundary:t}){return(function(e){const r=s2.maybeFromEditor(e);if(r&&r.hasExtensionByName(P7.name)){for(const s of["@lexical/plain-text","@lexical/rich-text"])r.hasExtensionByName(s)&&j7(320,s);return!0}return!1})(n)?null:A.jsx(F7,{editor:n,ErrorBoundary:t})}function gk(n){return n.getEditorState().read(E2(n.isComposing()))}function wI({contentEditable:n,placeholder:t=null,ErrorBoundary:e}){const[r]=Ee();return(function(s){hw(()=>Xe(i9(s),qU(s)),[s])})(r),A.jsxs(A.Fragment,{children:[n,A.jsx(U7,{content:t}),A.jsx(z7,{editor:r,ErrorBoundary:e})]})}function U7({content:n}){const[t]=Ee(),e=(function(s){const[o,i]=k.useState(()=>gk(s));return hw(()=>{function l(){const c=gk(s);i(c)}return l(),Xe(s.registerUpdateListener(()=>{l()}),s.registerEditableListener(()=>{l()}))},[s]),o})(t),r=fw();return e?typeof n=="function"?n(r):n:null}const pk=window.location.hostname,K7=pk!=="playground.lexical.dev"&&pk!=="lexical-playground.vercel.app",W7=new URLSearchParams(window.location.search),mk=n=>W7.get(n)==="true",{isShowTreeView:H7,isMaxLength:Y7}={isShowTreeView:mk("showTreeView"),isMaxLength:mk("isMaxLength")},Yu={disableBeforeInput:!1,emptyEditor:K7,isAutocomplete:!1,isCharLimit:!1,isCharLimitUtf8:!1,isCollab:!1,isMaxLength:Y7,isRichText:!0,measureTypingPerf:!1,shouldUseLexicalContextMenu:!1,showNestedEditorTreeView:!1,showTableOfContents:!1,showTreeView:H7,tableCellBackgroundColor:!0,tableCellMerge:!0},Ak={...Yu},CI=k.createContext({setOption:(n,t)=>{},settings:Yu});function Z7(){const n={},t=new URLSearchParams(window.location.search);for(const e of Object.keys(Yu)){const r=t.get(e);r!==null&&(n[e]=r==="true")}return n}const G7=({children:n})=>{const[t,e]=k.useState(()=>({...Yu,...Z7()})),r=k.useCallback((o,i)=>{e(l=>({...l,[o]:i})),Yu[o]===i?yk(o,null):yk(o,i)},[]),s=k.useMemo(()=>({setOption:r,settings:t}),[r,t]);return A.jsx(CI.Provider,{value:s,children:n})},gw=()=>k.useContext(CI);function yk(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 xI=k.createContext({}),J7=({children:n})=>{const t=k.useMemo(()=>({historyState:B0()}),[]);return A.jsx(xI.Provider,{value:t,children:n})},pw=()=>k.useContext(xI);function ip(n,t,e){const r=k.useRef(null);return r.current=n,k.useMemo(()=>ul.debounce((...s)=>{r.current&&r.current(...s)},t,{maxWait:e}),[t,e])}const vI=(n,t,e)=>{const r=n.target;if(r&&(r instanceof HTMLElement||r instanceof SVGElement)){let s=null;const o=r.closest(t);for(const l of e)if(s=r.closest(l),s)break;return{lexicalDOMNode:o,isOutside:!(o||s)}}else return{lexicalDOMNode:null,isOutside:!0}},V7=({t:n,src:t,isShown:e,setShown:r,id:s})=>{const[o,{open:i,close:l}]=Za.useDisclosure(!1),c=k.useMemo(()=>[{id:!s||s==="0"?"":s,Url:t??"",contentType:"",originalFileName:"",fileSize:0,storageType:"",storagePath:"",fileName:"",parentType:"",parentId:"",ownerId:"",createdAt:new Date,updatedAt:new Date,version:0,deleted:!1,deletedAt:new Date}],[t,s]),u=d=>{d?i():l()};return A.jsxs(A.Fragment,{children:[A.jsx(bt.AttachmentsGalleryModal,{opened:o,onOpenChange:u,attachments:c}),A.jsx(D.Tooltip,{disabled:!e,label:n("editor.image.preview"),children:A.jsx(D.ActionIcon,{onClick:()=>{r(!1),i()},size:24,variant:"default",color:"gray","aria-label":"Settings",children:A.jsx(we,{size:"14",name:"photo-check"})})})]})},bk=8,Q7=({anchorElem:n=document.body})=>{var y;const[t]=Ee(),[e,r]=k.useState(!1),[s,o]=k.useState(!1),[i,l]=k.useState(null),c=k.useRef(null),[u,d]=k.useState({right:"0",top:"0"}),{t:h}=ot.useTranslation(),g=ip(w=>{if(w.target instanceof HTMLElement&&w.target.clientWidth<100)return;const{lexicalDOMNode:C,isOutside:v}=vI(w,"img",["div.media-actions"]);if(v){o(!1);return}if(c.current=C,C){t.update(()=>{const O=Re(C);O&&l({key:O.__key,src:O.__src})});const{y:_,right:N}=n.getBoundingClientRect(),{y:E,right:T}=C.getBoundingClientRect();o(!0);const I=E-_+bk,M=N-T+bk;d(()=>({right:`${M}px`,top:`${I}px`}))}},50,500);k.useEffect(()=>(document.addEventListener("mousemove",g),document.addEventListener("touchstart",g),()=>{o(!1),g.cancel(),document.removeEventListener("mousemove",g)}),[g]);const p=(w,x)=>{{w();return}},m=s?"auto":"none";return Dr.createPortal(A.jsxs("div",{className:`media-actions ${s?"visible":""}`,style:{right:u.right,top:u.top,pointerEvents:m},children:[!Fy&&A.jsx(aw,{opened:e,setOpened:r,t:h,editor:t,nodeKey:i==null?void 0:i.key,setShown:o,isShown:s}),A.jsx(V7,{setShown:o,isShown:s,t:h,src:i==null?void 0:i.src,id:(y=c.current)==null?void 0:y.getAttribute("data-id")}),A.jsx(D.Tooltip,{disabled:!s,label:h("editor.contextMenu.delete"),children:A.jsx(D.ActionIcon,{color:"gray","aria-label":"Settings",className:"media-action",size:24,onClick:w=>{w.stopPropagation(),p(()=>{t.update(()=>{if(i!=null&&i.key){const x=be(i==null?void 0:i.key);sc(x)&&(x.getPreviousSibling()?x.remove():x.replace(Ce()),t.dispatchCommand(Ro,"hide_menu"),o(!1))}return!1})})},variant:"default",children:A.jsx(we,{size:"14",name:"trash"})})})]}),n)},SI=[{name:"alert",color:"rgb(250, 82, 82)",icon:A.jsx($.IconExclamationCircle,{size:16}),emoji:"❗"},{name:"success",color:"rgb(18, 184, 134)",icon:A.jsx($.IconCheck,{size:16}),emoji:"✅"},{name:"warning",color:"rgb(242, 188, 57)",icon:A.jsx($.IconAlertTriangle,{size:16}),emoji:"⚠️"}],kI=n=>n.mode==="callout",mw="calc(50% - 25px) calc(50% - 25px)";function X7({anchorElem:n}){const[t]=Ee(),{t:e}=ot.useTranslation(),[r,s]=k.useState(!1),[o,i]=k.useState(null),[l,c]=k.useState({right:"0",top:"0"}),u=k.useRef(null),d=r?"auto":"none",h=ip(p=>{const{lexicalDOMNode:m,isOutside:y}=vI(p,"div.dsd__theme__callout-wrapper",["div.dropdown-select-language","div.mantine-Select-option","div.action-menu-container","div.mantine-Menu-dropdown"]);if(y){s(!1);return}if(!m)return;let w=null;if(t.update(()=>{const x=Re(m);Js(x)&&(w=x,i(x.__key))}),w){const{y:x,right:C,left:v}=n.getBoundingClientRect(),{y:_,right:N,left:E}=m.getBoundingClientRect();s(!0),u.current&&(u.current.style.visibility="visible");const T=_-x,I=C-N,M=E-v;c(()=>({right:`${I}px`,left:`${M}px`,top:`${T}px`}))}},50,500);k.useEffect(()=>Xe(t.registerMutationListener(Ho,p=>{t.getEditorState().read(()=>{for(const[m,y]of p)y==="destroyed"&&s(!1)})}),t.registerUpdateListener(({dirtyElements:p,dirtyLeaves:m})=>{r&&(p.size>0||m.size>0)&&t.getEditorState().read(()=>{const y=o!=null?be(o):null;(!y||!Js(y))&&u.current&&(u.current.style.visibility="hidden")})})),[t,r,o]),k.useEffect(()=>(document.addEventListener("mousemove",h),()=>{s(!1),h.cancel(),document.removeEventListener("mousemove",h)}),[h]);const g=p=>{t.update(()=>{const m=be(o);Js(m)&&t.update(()=>{const y=kI(p);m.setType(y?p.meta.type:void 0),m.setBackgroundColor(p.value),s(!1)})})};return A.jsx("div",{className:`action-menu-container callout-action ${r?"visible":""}`,ref:u,style:{right:l.right,top:l.top,pointerEvents:d},children:r&&A.jsx(bt.NewColorPicker,{data:{callout:{label:e("editor.colors.theme"),filled:!0,palette:SI.map(p=>({label:e(`editor.colors.callout.${p.name}`),value:D.alpha(p.color,.19),icon:p.icon,meta:{type:p.name,emoji:p.emoji}}))}},onChange:p=>{g(p)},modes:["callout","background"],hideInherit:!0,target:A.jsx(D.ActionIcon,{variant:"default","aria-label":"Settings",children:A.jsx(we,{name:"palette",style:{cursor:"pointer"}})}),menuProps:{trigger:"click",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}},value:{background:"",callout:""}})})}function q7({anchorElem:n=document.body}){return Dr.createPortal(A.jsx(X7,{anchorElem:n}),(n==null?void 0:n.parentElement)||document.body)}function EI(n,t=Object.freeze({})){return{editorState:n.toJSON(),lastSaved:t.lastSaved||Date.now(),source:t.source||"Lexical",version:"0.38.2"}}function TI(n,t){const e=typeof t=="string"?JSON.parse(t):t;return n.parseEditorState(e.editorState)}function $7(n){(function(t){const e=document.createElement("input");e.type="file",e.accept=".lexical",e.addEventListener("change",r=>{const s=r.target;if(s.files){const o=s.files[0],i=new FileReader;i.readAsText(o,"UTF-8"),i.onload=l=>{if(l.target){const c=l.target.result;t(c)}}}}),e.click()})(t=>{n.setEditorState(TI(n,t)),n.dispatchCommand(Tb,void 0)})}function eH(n,t=Object.freeze({})){const e=new Date;(function(r,s){const o=document.createElement("a"),i=document.body;if(i===null)return;i.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=s,o.click(),window.URL.revokeObjectURL(u),o.remove()})(EI(n.getEditorState(),{...t,lastSaved:e.getTime()}),`${t.fileName||e.toISOString()}.lexical`)}function ru(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 tH(n){let t=1,e=n.getParent();for(;e!=null;){if(Jn(e)){const r=e.getParent();if(_t(r)){t++,e=r.getParent();continue}ru(40)}return t}return t}function Us(n){return Jn(n)&&_t(n.getFirstChild())}function wk(n){return Yo().append(n)}function _I(n,t){n.splice(n.getChildrenSize(),0,t)}function Aw(n,t){const e=n.getLastChild(),r=t.getFirstChild();e&&r&&Us(e)&&Us(r)&&(Aw(e.getFirstChild(),r.getFirstChild()),r.remove());const s=t.getChildren();s.length>0&&n.append(...s),t.remove()}function nH(n){const t=n.getListType()!=="check";let e=n.getStart();for(const r of n.getChildren())Jn(r)&&(r.getValue()!==e&&r.setValue(e),t&&r.getLatest().__checked!=null&&r.setChecked(void 0),_t(r.getFirstChild())||e++)}function rH(n){const t=new Set;if(Us(n)||t.has(n.getKey()))return;const e=n.getParent(),r=n.getNextSibling(),s=n.getPreviousSibling();if(Us(r)&&Us(s)){const o=s.getFirstChild();if(_t(o)){o.append(n);const i=r.getFirstChild();_t(i)&&(_I(o,i.getChildren()),r.remove(),t.add(r.getKey()))}}else if(Us(r)){const o=r.getFirstChild();if(_t(o)){const i=o.getFirstChild();i!==null&&i.insertBefore(n)}}else if(Us(s)){const o=s.getFirstChild();_t(o)&&o.append(n)}else if(_t(e)){const o=Yo().setTextFormat(n.getTextFormat()).setTextStyle(n.getTextStyle()),i=Vs(e.getListType()).setTextFormat(e.getTextFormat()).setTextStyle(e.getTextStyle());o.append(i),i.append(n),s?s.insertAfter(o):r?r.insertBefore(o):e.append(o)}}function sH(n){if(Us(n))return;const t=n.getParent(),e=t?t.getParent():void 0;if(_t(e?e.getParent():void 0)&&Jn(e)&&_t(t)){const r=t?t.getFirstChild():void 0,s=t?t.getLastChild():void 0;if(n.is(r))e.insertBefore(n),t.isEmpty()&&e.remove();else if(n.is(s))e.insertAfter(n),t.isEmpty()&&e.remove();else{const o=t.getListType(),i=Yo(),l=Vs(o);i.append(l),n.getPreviousSiblings().forEach(d=>l.append(d));const c=Yo(),u=Vs(o);c.append(u),_I(u,n.getNextSiblings()),e.insertBefore(i),e.insertAfter(c),e.replace(n)}}}function Zh(...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 wd=class extends ft{constructor(e=1,r=void 0,s){super(s);j(this,"__value");j(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();_t(r)&&r.getListType()!=="check"&&e.getChecked()!=null&&e.setChecked(void 0)},extends:ft,importDOM:{li:()=>({conversion:oH,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,s){(function(l,c,u){const d=c.getParent();!_t(d)||d.getListType()!=="check"||_t(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(...Zh(p)),g){const y=u.getParent(),w=_t(y)&&y.getListType()==="check",x=u.getChecked();w&&!x||h.push(g.listitemUnchecked),w&&x||h.push(g.listitemChecked),w&&d.push(x?g.listitemChecked:g.listitemUnchecked)}if(m!==void 0){const y=Zh(m);u.getChildren().some(w=>_t(w))?d.push(...y):h.push(...y)}h.length>0&&Nr(l,...h),d.length>0&&Qe(l,...d)})(r,s.theme,this);const o=e?e.__style:"",i=this.__style;o!==i&&(i===""?r.removeAttribute("style"):r.style.cssText=i),(function(l,c,u){const d=_u(c.__textStyle);for(const h in d)l.style.setProperty(`--listitem-marker-${h}`,d[h]);if(u)for(const h in _u(u.__textStyle))h in d||l.style.removeProperty(`--listitem-marker-${h}`)})(r,this,e)}updateDOM(e,r,s){const o=r;return this.updateListItemDOM(e,o,s),!1}updateFromJSON(e){return super.updateFromJSON(e).setValue(e.value).setChecked(e.checked)}exportDOM(e){const r=this.createDOM(e._config),s=this.getFormatType();s&&(r.style.textAlign=s);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 s=e[r];if(Y(s)&&this.canMergeWith(s)){const o=s.getChildren();this.append(...o),s.remove()}else super.append(s)}return this}replace(e,r){if(Jn(e))return super.replace(e);this.setIndent(0);const s=this.getParentOrThrow();if(!_t(s))return e;if(s.__first===this.getKey())s.insertBefore(e);else if(s.__last===this.getKey())s.insertAfter(e);else{const o=Vs(s.getListType());let i=this.getNextSibling();for(;i;){const l=i;i=i.getNextSibling(),o.append(l)}s.insertAfter(e),e.insertAfter(o)}return r&&(Y(e)||ru(139),this.getChildren().forEach(o=>{e.append(o)})),this.remove(),s.getChildrenSize()===0&&s.remove(),e}insertAfter(e,r=!0){const s=this.getParentOrThrow();if(_t(s)||ru(39),Jn(e))return super.insertAfter(e,r);const o=this.getNextSiblings();if(s.insertAfter(e,r),o.length!==0){const i=Vs(s.getListType());o.forEach(l=>i.append(l)),e.insertAfter(i,r)}return e}remove(e){const r=this.getPreviousSibling(),s=this.getNextSibling();super.remove(e),r&&s&&Us(r)&&Us(s)&&(Aw(r.getFirstChild(),s.getFirstChild()),s.remove())}insertNewAfter(e,r=!0){const s=Yo().updateFromJSON(this.exportJSON()).setChecked(!this.getChecked()&&void 0);return this.insertAfter(s,r),s}collapseAtStart(e){const r=Ce();this.getChildren().forEach(l=>r.append(l));const s=this.getParentOrThrow(),o=s.getParentOrThrow(),i=Jn(o);if(s.getChildrenSize()===1)if(i)s.remove(),o.select();else{s.insertBefore(r),s.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 s.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 s=this.getParent();return _t(s)&&(r=s.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(),s=0;for(;Jn(r);)r=r.getParentOrThrow().getParentOrThrow(),s++;return s}setIndent(e){typeof e!="number"&&ru(117),(e=Math.floor(e))>=0||ru(199);let r=this.getIndent();for(;r!==e;)r<e?(rH(this),r++):(sH(this),r--);return this}canInsertAfter(e){return Jn(e)}canReplaceWith(e){return Jn(e)}canMergeWith(e){return Jn(e)||an(e)}extractWithChild(e,r){if(!W(r))return!1;const s=r.anchor.getNode(),o=r.focus.getNode();return this.isParentOf(s)&&this.isParentOf(o)&&this.getTextContent().length===r.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return Vs("bullet")}canMergeWhenEmpty(){return!0}};function oH(n){if(n.classList.contains("task-list-item")){for(const e of n.children)if(e.tagName==="INPUT")return Ck(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 Ck(e.children[0])}const t=n.getAttribute("aria-checked");return{node:Yo(t==="true"||t!=="false"&&void 0)}}function Ck(n){return n.getAttribute("type")!=="checkbox"?{node:null}:{node:Yo(n.hasAttribute("checked"))}}function Yo(n){return Lt(new wd(void 0,n))}function Jn(n){return n instanceof wd}let Cd=class extends ft{constructor(e="number",r=1,s){super(s);j(this,"__tag");j(this,"__start");j(this,"__listType");const o=lH[e]||e;this.__listType=o,this.__tag=o==="number"?"ol":"ul",this.__start=r}$config(){return this.config("list",{$transform:e=>{(function(r){const s=r.getNextSibling();_t(s)&&r.getListType()===s.getListType()&&Aw(r,s)})(e),nH(e)},extends:ft,importDOM:{ol:()=>({conversion:vk,priority:0}),ul:()=>({conversion:vk,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 s=this.__tag,o=document.createElement(s);return this.__start!==1&&o.setAttribute("start",String(this.__start)),o.__lexicalListType=this.__listType,xk(o,e.theme,this),o}updateDOM(e,r,s){return e.__tag!==this.__tag||e.__listType!==this.__listType||(xk(r,s.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 St(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,s){let o=s;for(let i=0;i<s.length;i++){const l=s[i];Jn(l)||(o===s&&(o=[...s]),o[i]=Yo().append(!Y(l)||_t(l)||l.isInline()?l:ht(l.getTextContent())))}return super.splice(e,r,o)}extractWithChild(e){return Jn(e)}};function xk(n,t,e){const r=[],s=[],o=t.list;if(o!==void 0){const i=o[`${e.__tag}Depth`]||[],l=tH(e)-1,c=l%i.length,u=i[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(...Zh(u));for(let m=0;m<i.length;m++)m!==c&&s.push(e.__tag+m)}if(h!==void 0){const m=Zh(h);l>1?r.push(...m):s.push(...m)}}s.length>0&&Nr(n,...s),r.length>0&&Qe(n,...r)}function iH(n){const t=[];for(let e=0;e<n.length;e++){const r=n[e];if(Jn(r)){t.push(r);const s=r.getChildren();s.length>1&&s.forEach(o=>{_t(o)&&t.push(wk(o))})}else t.push(wk(r))}return t}function vk(n){const t=n.nodeName.toLowerCase();let e=null;return t==="ol"?e=Vs("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 s of r.childNodes)if(St(s)&&s.hasAttribute("aria-checked"))return!0;return!1})(n)?Vs("check"):Vs("bullet")),{after:iH,node:e}}const lH={ol:"number",ul:"bullet"};function Vs(n="number",t=1){return Lt(new Cd(n,t))}function _t(n){return n instanceof Cd}function Gy(n,t){const e={};for(const r of n){const s=t(r);s&&(e[s]?e[s].push(r):e[s]=[r])}return e}function yw(n){const t=Gy(n,e=>e.type);return{element:t.element||[],multilineElement:t["multiline-element"]||[],textFormat:t["text-format"]||[],textMatch:t["text-match"]||[]}}const Gh=/[!-/:-@[-`{-~\s]/,aH=/^\s{0,3}$/;function Jy(n){if(!an(n))return!1;const t=n.getFirstChild();return t==null||n.getChildrenSize()===1&&oe(t)&&aH.test(t.getTextContent())}function cH(n,t,e,r){for(const s of t){if(!s.export)continue;const o=s.export(n,i=>Jh(i,e,r));if(o!=null)return o}return Y(n)?Jh(n,e,r):tt(n)?n.getTextContent():null}function Jh(n,t,e,r,s){const o=[],i=n.getChildren();r||(r=[]),s||(s=[]);e:for(const l of i){for(const c of e){if(!c.export)continue;const u=c.export(l,d=>Jh(d,t,e,r,[...s,...r]),(d,h)=>Sk(d,h,t,r,s));if(u!=null){o.push(u);continue e}}It(l)?o.push(`
|
|
46
|
+
`):oe(l)?o.push(Sk(l,l.getTextContent(),t,r,s)):Y(l)?o.push(Jh(l,t,e,r,s)):tt(l)&&o.push(l.getTextContent())}return o.join("")}function Sk(n,t,e,r,s){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 i="",l="",c="";const u=kk(n,!0),d=kk(n,!1),h=new Set;for(const g of e){const p=g.format[0],m=g.tag;Lf(n,p)&&!h.has(p)&&(h.add(p),Lf(u,p)&&r.find(y=>y.tag===m)||(r.push({format:p,tag:m}),i+=m))}for(let g=0;g<r.length;g++){const p=Lf(n,r[g].format),m=Lf(d,r[g].format);if(p&&m)continue;const y=[...r];for(;y.length>g;){const w=y.pop();s&&w&&s.find(x=>x.tag===w.tag)||(w&&typeof w.tag=="string"&&(p?m||(c+=w.tag):l+=w.tag),r.pop())}break}return o=i+o+c,l+o}function kk(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(oe(r))return r;e=t?e.getPreviousSibling():e.getNextSibling()}if(oe(e))return e;if(!Y(e))return null}return null}function Lf(n,t){return oe(n)&&n.hasFormat(t)}function uH(n,t){const e=(function(s,o){const i=s.match(o.openTagsRegExp);if(i==null)return null;for(const l of i){const c=l.replace(/^\s/,""),u=o.fullMatchRegExpByTag[c];if(u==null)continue;const d=s.match(u),h=o.transformersByTag[c];if(d!=null&&h!=null){if(h.intraword!==!1)return d;const{index:g=0}=d,p=s[g-1],m=s[g+d[0].length];if((!p||Gh.test(p))&&(!m||Gh.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 tl(n){return oe(n)&&!n.hasFormat("code")}function nl(n,t,e){let r=uH(n,t),s=(function(i,l){const c=i;let u,d,h,g;for(const p of l){if(!p.replace||!p.importRegExp)continue;const m=c.getTextContent().match(p.importRegExp);if(!m)continue;const y=m.index||0,w=p.getEndIndex?p.getEndIndex(c,m):y+m[0].length;w!==!1&&(u===void 0||d===void 0||y<u&&(w>d||w<=u))&&(u=y,d=w,h=p,g=m)}return u===void 0||d===void 0||h===void 0||g===void 0?null:{endIndex:d,match:g,startIndex:u,transformer:h}})(n,e);if(r&&s&&(r.startIndex<=s.startIndex&&r.endIndex>=s.endIndex||s.startIndex>r.endIndex?s=null:r=null),r){const i=(function(l,c,u,d,h){const g=l.getTextContent();let p,m,y;if(h[0]===g?p=l:c===0?[p,m]=l.splitText(u):[y,p,m]=l.splitText(c,u),p.setTextContent(h[2]),d)for(const w of d.format)p.hasFormat(w)||p.toggleFormat(w);return{nodeAfter:m,nodeBefore:y,transformedNode:p}})(n,r.startIndex,r.endIndex,r.transformer,r.match);tl(i.nodeAfter)&&nl(i.nodeAfter,t,e),tl(i.nodeBefore)&&nl(i.nodeBefore,t,e),tl(i.transformedNode)&&nl(i.transformedNode,t,e)}else if(s){const i=(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,s.startIndex,s.endIndex,s.transformer,s.match);if(!i)return;tl(i.nodeAfter)&&nl(i.nodeAfter,t,e),tl(i.nodeBefore)&&nl(i.nodeBefore,t,e),tl(i.transformedNode)&&nl(i.transformedNode,t,e)}const o=n.getTextContent().replace(/\\([*_`~\\])/g,"$1").replace(/&#(\d+);/g,(i,l)=>String.fromCodePoint(l));n.setTextContent(o)}function dH(n,t=!1){const e=yw(n),r=(function(s){const o={},i={},l=[],c="(?<![\\\\])";for(const u of s){const{tag:d}=u;o[d]=u;const h=d.replace(/(\*|\^|\+)/g,"\\$1");l.push(h),d.length===1?i[d]=d==="`"?new RegExp("(?<![\\\\`])(`)((?:\\\\`|[^`])+?)(`)(?!`)"):new RegExp(`(?<![\\\\${h}])(${h})((\\\\${h})?.*?[^${h}\\s](\\\\${h})?)((?<!\\\\)|(?<=\\\\\\\\))(${h})(?![\\\\${h}])`):i[d]=new RegExp(`(?<!\\\\)(${h})((\\\\${h})?.*?[^\\s](\\\\${h})?)((?<!\\\\)|(?<=\\\\\\\\))(${h})(?!\\\\)`)}return{fullMatchRegExpByTag:i,openTagsRegExp:new RegExp(`${c}(${l.join("|")})`,"g"),transformersByTag:o}})(e.textFormat);return(s,o)=>{const i=s.split(`
|
|
47
|
+
`),l=i.length,c=o||Me();c.clear();for(let d=0;d<l;d++){const h=i[d],[g,p]=fH(i,d,e.multilineElement,c);g?d=p:hH(h,c,e.element,r,e.textMatch,t)}const u=c.getChildren();for(const d of u)!t&&Jy(d)&&c.getChildrenSize()>1&&d.remove();Z()!==null&&c.selectStart()}}function fH(n,t,e,r){for(const s of e){const{handleImportAfterStartMatch:o,regExpEnd:i,regExpStart:l,replace:c}=s,u=n[t].match(l);if(!u)continue;if(o){const m=o({lines:n,rootNode:r,startLineIndex:t,startMatch:u,transformer:s});if(m===null)continue;if(m)return m}const d=typeof i=="object"&&"regExp"in i?i.regExp:i,h=i&&typeof i=="object"&&"optional"in i?i.optional:!i;let g=t;const p=n.length;for(;g<p;){const m=d?n[g].match(d):null;if(!m&&(!h||h&&g<p-1)){g++;continue}if(m&&t===g&&m.index===u.index){g++;continue}const y=[];if(m&&t===g)y.push(n[t].slice(u[0].length,-m[0].length));else for(let w=t;w<=g;w++)if(w===t){const x=n[w].slice(u[0].length);y.push(x)}else if(w===g&&m){const x=n[w].slice(0,-m[0].length);y.push(x)}else y.push(n[w]);if(c(r,null,u,m,y,!0)!==!1)return[!0,g];break}}return[!1,t]}function hH(n,t,e,r,s,o){const i=ht(n),l=Ce();l.append(i),t.append(l);for(const{regExp:c,replace:u}of e){const d=n.match(c);if(d&&(i.setTextContent(n.slice(d[0].length)),u(l,[i],d,!0)!==!1))break}if(nl(i,r,s),l.isAttached()&&n.length>0){const c=l.getPreviousSibling();if(!o&&(an(c)||Li(c)||_t(c))){let u=c;if(_t(c)){const d=c.getLastDescendant();u=d==null?null:ve(d,Jn)}u!=null&&u.getTextContentSize()>0&&(u.splice(u.getChildrenSize(),0,[cr(),...l.getChildren()]),l.remove())}}}function gH(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);throw e.search=r.toString(),Error(`Minified Lexical error #${n}; visit ${e.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const NI=/^(\s*)(\d{1,})\.\s/,II=/^(\s*)[-*+]\s/,MI=/^(\s*)(?:[-*+]\s)?\s?(\[(\s|x)?\])\s/i,Vy=/^(#{1,6})\s/,LI=/^>\s/,DI=/^[ \t]*```([\w-]+)?/,Qy=/[ \t]*```$/,pH=/^[ \t]*```[^`]+(?:(?:`{1,2}|`{4,})[^`]+)*```(?:[^`]|$)/,mH=/^(?:\|)(.+)(?:\|)\s?$/,AH=/^(\| ?:?-*:? ?)+\|\s?$/,Ek=/^<[a-z_][\w-]*(?:\s[^<>]*)?\/?>/i,Tk=/^<\/[a-z_][\w-]*\s*>/i,_k=n=>new RegExp(`(?:${n.source})$`,n.flags),su=eT("mdListMarker",{parse:n=>typeof n=="string"&&/^[-*+]$/.test(n)?n:"-"}),OI=n=>(t,e,r,s)=>{const o=n(r);o.append(...e),t.replace(o),s||o.select(0,0)},bw=n=>(t,e,r,s)=>{const o=t.getPreviousSibling(),i=t.getNextSibling(),l=Yo(n==="check"?r[3]==="x":void 0),c=r[0].trim()[0],u=n!=="bullet"&&n!=="check"||c!==su.parse(c)?void 0:c;if(_t(i)&&i.getListType()===n){u&&Tm(i,su,u);const h=i.getFirstChild();h!==null?h.insertBefore(l):i.append(l),t.remove()}else if(_t(o)&&o.getListType()===n)u&&Tm(o,su,u),o.append(l),t.remove();else{const h=Vs(n,n==="number"?Number(r[2]):void 0);u&&Tm(h,su,u),h.append(l),t.replace(h)}l.append(...e),s||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)},lp=(n,t,e)=>{const r=[],s=n.getChildren();let o=0;for(const i of s)if(Jn(i)){if(i.getChildrenSize()===1){const h=i.getFirstChild();if(_t(h)){r.push(lp(h,t,e+1));continue}}const l=" ".repeat(4*e),c=n.getListType(),u=tT(n,su),d=c==="number"?`${n.getStart()+o}. `:c==="check"?`${u} [${i.getChecked()?"x":" "}] `:u+" ";r.push(l+d+t(i)),o++}return r.join(`
|
|
48
|
+
`)},RI={dependencies:[pd],export:(n,t)=>{if(!Gs(n))return null;const e=Number(n.getTag().slice(1));return"#".repeat(e)+" "+t(n)},regExp:Vy,replace:OI(n=>{const t="h"+n[1].length;return Lo(t)}),type:"element"},BI={dependencies:[Ug],export:(n,t)=>{if(!Li(n))return null;const e=t(n).split(`
|
|
49
|
+
`),r=[];for(const s of e)r.push("> "+s);return r.join(`
|
|
50
|
+
`)},regExp:LI,replace:(n,t,e,r)=>{if(r){const o=n.getPreviousSibling();if(Li(o))return o.splice(o.getChildrenSize(),0,[cr(),...t]),void n.remove()}const s=gd();s.append(...t),n.replace(s),r||s.select(0,0)},type:"element"},yH={dependencies:[Ci],export:n=>{if(!Mr(n))return null;const t=n.getTextContent();return"```"+(n.getLanguage()||"")+(t?`
|
|
51
|
+
`+t:"")+"\n```"},regExpEnd:{optional:!0,regExp:Qy},regExpStart:DI,replace:(n,t,e,r,s,o)=>{let i,l;if(!t&&s){if(s.length===1)r?(i=$r(),l=e[1]+s[0]):(i=$r(e[1]),l=s[0].startsWith(" ")?s[0].slice(1):s[0]);else{if(i=$r(e[1]),s[0].trim().length===0)for(;s.length>0&&!s[0].length;)s.shift();else s[0]=s[0].startsWith(" ")?s[0].slice(1):s[0];for(;s.length>0&&!s[s.length-1].length;)s.pop();l=s.join(`
|
|
52
|
+
`)}const c=ht(l);i.append(c),n.append(i)}else t&&OI(c=>$r(c?c[1]:void 0))(n,t,e,o)},type:"multiline-element"},bH={dependencies:[Cd,wd],export:(n,t)=>_t(n)?lp(n,t,0):null,regExp:II,replace:bw("bullet"),type:"element"},wH={dependencies:[Cd,wd],export:(n,t)=>_t(n)?lp(n,t,0):null,regExp:MI,replace:bw("check"),type:"element"},CH={dependencies:[Cd,wd],export:(n,t)=>_t(n)?lp(n,t,0):null,regExp:NI,replace:bw("number"),type:"element"},xH={format:["code"],tag:"`",type:"text-format"},vH={format:["highlight"],tag:"==",type:"text-format"},SH={format:["bold","italic"],tag:"***",type:"text-format"},kH={format:["bold","italic"],intraword:!1,tag:"___",type:"text-format"},EH={format:["bold"],tag:"**",type:"text-format"},TH={format:["bold"],intraword:!1,tag:"__",type:"text-format"},_H={format:["strikethrough"],tag:"~~",type:"text-format"},NH={format:["italic"],tag:"*",type:"text-format"},IH={format:["italic"],intraword:!1,tag:"_",type:"text-format"},MH={dependencies:[Xl],export:(n,t,e)=>{if(!Tn(n)||ll(n))return null;const r=n.getTitle(),s=t(n);return r?`[${s}](${n.getURL()} "${r}")`:`[${s}](${n.getURL()})`},importRegExp:/(?:\[(.+?)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))/,regExp:/(?:\[(.+?)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))$/,replace:(n,t)=>{const[,e,r,s]=t,o=xi(r,{title:s}),i=e.split("[").length-1,l=e.split("]").length-1;let c=e,u="";if(i<l)return;if(i>l){const h=e.split("[");u="["+h[0],c=h.slice(1).join("[")}const d=ht(c);return d.setFormat(n.getFormat()),o.append(d),n.replace(o),u&&o.insertBefore(ht(u)),d},trigger:")",type:"text-match"},LH=[RI,BI,bH,CH],PI=[yH],jI=[xH,SH,kH,EH,TH,vH,NH,IH,_H],FI=[MH],ap=[...LH,...PI,...jI,...FI];function Nk(n,t,e){const r=e.length;for(let s=t;s>=r;s--){const o=s-r;if(zI(n,o,e,0,r)&&n[o+r]!==" ")return o}return-1}function zI(n,t,e,r,s){for(let o=0;o<s;o++)if(n[t+o]!==e[r+o])return!1;return!0}function DH(n,t=ap){const e=yw(t),r=Gy(e.textFormat,({tag:i})=>i[i.length-1]),s=Gy(e.textMatch,({trigger:i})=>i);for(const i of t){const l=i.type;if(l==="element"||l==="text-match"||l==="multiline-element"){const c=i.dependencies;for(const u of c)n.hasNode(u)||gH(173,u.getType())}}const o=(i,l,c)=>{(function(u,d,h,g){const p=u.getParent();if(!Xn(p)||u.getFirstChild()!==d)return!1;const m=d.getTextContent();if(m[h-1]!==" ")return!1;for(const{regExp:y,replace:w}of g){const x=m.match(y);if(x&&x[0].length===(x[0].endsWith(" ")?h:h-1)){const C=d.getNextSiblings(),[v,_]=d.splitText(h);if(w(u,_?[_,...C]:C,x,!1)!==!1)return v.remove(),!0}}return!1})(i,l,c,e.element)||(function(u,d,h,g){const p=u.getParent();if(!Xn(p)||u.getFirstChild()!==d)return!1;const m=d.getTextContent();if(m[h-1]!==" ")return!1;for(const{regExpStart:y,replace:w,regExpEnd:x}of g){if(x&&!("optional"in x)||x&&"optional"in x&&!x.optional)continue;const C=m.match(y);if(C&&C[0].length===(C[0].endsWith(" ")?h:h-1)){const v=d.getNextSiblings(),[_,N]=d.splitText(h);if(w(u,N?[N,...v]:v,C,null,null,!1)!==!1)return _.remove(),!0}}return!1})(i,l,c,e.multilineElement)||(function(u,d,h){let g=u.getTextContent();const p=h[g[d-1]];if(p==null)return!1;d<g.length&&(g=g.slice(0,d));for(const m of p){if(!m.replace||!m.regExp)continue;const y=g.match(m.regExp);if(y===null)continue;const w=y.index||0,x=w+y[0].length;let C;return w===0?[C]=u.splitText(x):[,C]=u.splitText(w,x),C.selectNext(0,0),m.replace(C,y),!0}return!1})(l,c,s)||(function(u,d,h){const g=u.getTextContent(),p=d-1,m=g[p],y=h[m];if(!y)return!1;for(const w of y){const{tag:x}=w,C=x.length,v=p-C+1;if(C>1&&!zI(g,v,x,0,C)||g[v-1]===" ")continue;const _=g[p+1];if(w.intraword===!1&&_&&!Gh.test(_))continue;const N=u;let E=N,T=Nk(g,v,x),I=E;for(;T<0&&(I=I.getPreviousSibling())&&!It(I);)if(oe(I)){if(I.hasFormat("code"))continue;const ce=I.getTextContent();E=I,T=Nk(ce,ce.length,x)}if(T<0||E===N&&T+C===v)continue;const M=E.getTextContent();if(T>0&&M[T-1]===m)continue;const O=M[T-1];if(w.intraword===!1&&O&&!Gh.test(O))continue;const P=N.getTextContent(),F=P.slice(0,v)+P.slice(p+1);N.setTextContent(F);const z=E===N?F:M;E.setTextContent(z.slice(0,T)+z.slice(T+C));const H=Z(),te=Go();Ze(te);const le=p-C*(E===N?2:1)+1;te.anchor.set(E.__key,T,"text"),te.focus.set(N.__key,le,"text");for(const ce of w.format)te.hasFormat(ce)||te.formatText(ce);te.anchor.set(te.focus.key,te.focus.offset,te.focus.type);for(const ce of w.format)te.hasFormat(ce)&&te.toggleFormat(ce);return W(H)&&(te.format=H.format),!0}})(l,c,r)};return n.registerUpdateListener(({tags:i,dirtyLeaves:l,editorState:c,prevEditorState:u})=>{if(i.has(Xu)||i.has(xl)||n.isComposing())return;const d=c.read(Z),h=u.read(Z);if(!W(h)||!W(d)||!d.isCollapsed()||d.is(h))return;const g=d.anchor.key,p=d.anchor.offset,m=c._nodeMap.get(g);!oe(m)||!l.has(g)||p!==1&&p>h.anchor.offset+1||n.update(()=>{if(!tl(m))return;const y=m.getParent();y===null||Mr(y)||o(y,m,d.anchor.offset)})})}function UI(n,t=ap,e,r=!1,s=!1){const o=r?n:(function(i,l=!1){const c=i.split(`
|
|
53
|
+
`);let u=!1;const d=[];for(let h=0;h<c.length;h++){const g=c[h].trimEnd(),p=d[d.length-1];pH.test(g)?d.push(g):DI.test(g)||Qy.test(g)?(u=!u,d.push(g)):u||g===""||p===""||!p||Vy.test(p)||Vy.test(g)||LI.test(g)||NI.test(g)||II.test(g)||MI.test(g)||mH.test(g)||AH.test(g)||!l||Ek.test(g)||Tk.test(g)||_k(Tk).test(p)||_k(Ek).test(p)||Qy.test(p)?d.push(g):d[d.length-1]=p+" "+g.trimStart()}return d.join(`
|
|
54
|
+
`)})(n,s);return dH(t,r)(o,e)}function KI(n=ap,t,e=!1){return(function(s,o=!1){const i=yw(s),l=[...i.multilineElement,...i.element],c=!o,u=i.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||Me()).getChildren();for(let p=0;p<g.length;p++){const m=g[p],y=cH(m,l,u,i.textMatch);y!=null&&h.push(c&&p>0&&!Jy(m)&&!Jy(g[p-1])?`
|
|
55
|
+
`.concat(y):y)}return h.join(`
|
|
56
|
+
`)}})(n,e)(t)}function OH({children:n}){return Dr.createPortal(A.jsx("div",{className:"FlashMessage__overlay",role:"dialog",children:A.jsx("p",{className:"FlashMessage__alert",role:"alert",children:n})}),document.body)}const WI=k.createContext(void 0),AA={},RH=1e3,BH=({children:n})=>{const[t,e]=k.useState(AA),r=k.useCallback((s,o)=>e(s?{duration:o,message:s}:AA),[]);return k.useEffect(()=>{if(t.message){const s=setTimeout(()=>e(AA),t.duration??RH);return()=>clearTimeout(s)}},[t]),A.jsxs(WI.Provider,{value:r,children:[n,t.message&&A.jsx(OH,{children:t.message})]})},PH=()=>{const n=k.useContext(WI);if(!n)throw new Error("Missing FlashMessageContext");return n};function jH(){return PH()}function FH({onClose:n,children:t,title:e,size:r}){return A.jsx(D.Modal,{className:"doc-space-editor-wrapper",size:r,centered:!0,opened:!0,onClose:n,title:e,zIndex:999,children:t})}function cp(n){const[t,e]=k.useState(null),r=k.useCallback(()=>{e(null)},[]),s=k.useMemo(()=>{if(t===null)return null;const{title:i,content:l,closeOnClickOutside:c}=t;return A.jsx(FH,{onClose:r,title:i,size:"md",closeOnClickOutside:c,children:l})},[t,r]),o=k.useCallback((i,l,c=!1)=>{e({closeOnClickOutside:c,content:l(r),title:i})},[r]);return[s,o]}function Xy({children:n,onClick:t,"data-test-id":e,title:r,className:s,small:o,...i}){return A.jsx(D.Button,{radius:"sm",size:o?"xs":"sm",variant:"default",onClick:t,"aria-label":r,className:s,"data-test-id":e,...i,children:n})}async function*HI(n){let t=!1;for(;!t;){const e=await n.read(),{value:r}=e;r!==void 0&&(yield r),t=e.done}}async function zH(n){const t=[];for await(const r of HI(n))for(let s=0;s<r.length;s+=32768)t.push(String.fromCharCode(...r.subarray(s,s+32768)));return t.join("")}async function UH(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()),zH(t.readable.getReader())]);return`#doc=${btoa(r).replace(/\//g,"_").replace(/\+/g,"-").replace(/=+$/,"")}`}async function KH(n){const t=/^#doc=(.*)$/.exec(n);if(!t)return null;const e=new DecompressionStream("gzip"),r=e.writable.getWriter(),s=atob(t[1].replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(s.length);for(let c=0;c<s.length;c++)o[c]=s.charCodeAt(c);const i=r.write(o).then(()=>r.close()),l=[];for await(const c of HI(e.readable.pipeThrough(new TextDecoderStream).getReader()))l.push(c);return await i,JSON.parse(l.join(""))}const ww=/^(\d+(?:\.\d+)?)px$/,Qs={BOTH:3,NO_STATUS:0,ROW:1};class _c extends ft{constructor(e=Qs.NO_STATUS,r=1,s,o){super(o);j(this,"__colSpan");j(this,"__rowSpan");j(this,"__headerState");j(this,"__width");j(this,"__backgroundColor");j(this,"__verticalAlign");this.__colSpan=r,this.__rowSpan=1,this.__headerState=e,this.__width=s,this.__backgroundColor=null,this.__verticalAlign=void 0}static getType(){return"tablecell"}static clone(e){return new _c(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:Ik,priority:0}),th:e=>({conversion:Ik,priority:0})}}static importJSON(e){return Cw().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),qy(this.__verticalAlign)&&(r.style.verticalAlign=this.__verticalAlign),Qe(r,e.theme.tableCell,this.hasHeader()&&e.theme.tableCellHeader),r}exportDOM(e){const r=super.exportDOM(e);if(St(r.element)){const s=r.element;s.setAttribute("data-temporary-table-cell-lexical-key",this.getKey()),s.style.border="1px solid black",this.__colSpan>1&&(s.colSpan=this.__colSpan),this.__rowSpan>1&&(s.rowSpan=this.__rowSpan),s.style.width=`${this.getWidth()||75}px`,s.style.verticalAlign=this.getVerticalAlign()||"top",s.style.textAlign="start",this.__backgroundColor===null&&this.hasHeader()&&(s.style.backgroundColor="#f2f3f5")}return r}exportJSON(){return{...super.exportJSON(),...qy(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=Qs.BOTH){const s=this.getWritable();return s.__headerState=e&r|s.__headerState&~r,s}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!==Qs.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 qy(n){return n==="middle"||n==="bottom"}function Ik(n){const t=n,e=n.nodeName.toLowerCase();let r;ww.test(t.style.width)&&(r=parseFloat(t.style.width));const s=Cw(e==="th"?Qs.ROW:Qs.NO_STATUS,t.colSpan,r);s.__rowSpan=t.rowSpan;const o=t.style.backgroundColor;o!==""&&(s.__backgroundColor=o);const i=t.style.verticalAlign;qy(i)&&(s.__verticalAlign=i);const l=t.style,c=(l&&l.textDecoration||"").split(" "),u=l.fontWeight==="700"||l.fontWeight==="bold",d=c.includes("line-through"),h=l.fontStyle==="italic",g=c.includes("underline");return{after:p=>{const m=[];let y=null;const w=()=>{if(y){const x=y.getFirstChild();It(x)&&y.getChildrenSize()===1&&x.remove()}};for(const x of p)I4(x)||oe(x)||It(x)?(oe(x)&&(u&&x.toggleFormat("bold"),d&&x.toggleFormat("strikethrough"),h&&x.toggleFormat("italic"),g&&x.toggleFormat("underline")),y?y.append(x):(y=Ce().append(x),m.push(y))):(m.push(x),w(),y=null);return w(),m.length===0&&m.push(Ce()),m},node:s}}function Cw(n=Qs.NO_STATUS,t=1,e){return Lt(new _c(n,t,e))}function ar(n){return n instanceof _c}function Cn(n,...t){const e=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",n);for(const s of t)r.append("v",s);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 xd extends ft{constructor(e,r){super(r);j(this,"__height");this.__height=e}static getType(){return"tablerow"}static clone(e){return new xd(e.__height,e.__key)}static importDOM(){return{tr:e=>({conversion:WH,priority:0})}}static importJSON(e){return xw().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`),Qe(r,e.theme.tableRow),r}extractWithChild(e,r,s){return s==="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 WH(n){const t=n;let e;return ww.test(t.style.height)&&(e=parseFloat(t.style.height)),{after:r=>g_(r,ar),node:xw(e)}}function xw(n){return Lt(new xd(n))}function Bi(n){return n instanceof xd}const YI=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,HH=YI&&"documentMode"in document?document.documentMode:null;YI&&"InputEvent"in window&&!HH&&new window.InputEvent("input");function YH(n,t,e){const[r,s,o]=ZI(n,t,e);return s===null&&Cn(207),o===null&&Cn(208),[r,s,o]}function ZI(n,t,e){const r=[];let s=null,o=null;function i(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];Bi(u)||Cn(209);const d=i(c);for(let h=u.getFirstChild(),g=0;h!=null;h=h.getNextSibling()){for(ar(h)||Cn(147);d[g]!==void 0;)g++;const p={cell:h,startColumn:g,startRow:c},{__rowSpan:m,__colSpan:y}=h;for(let w=0;w<m&&!(c+w>=l.length);w++){const x=i(c+w);for(let C=0;C<y;C++)x[g+C]=p}t!==null&&s===null&&t.is(h)&&(s=p),e!==null&&o===null&&e.is(h)&&(o=p)}}return[r,s,o]}function ZH(n){let t;if(n instanceof _c)t=n;else if("__type"in n){const s=ve(n,ar);ar(s)||Cn(148),t=s}else{const s=ve(n.getNode(),ar);ar(s)||Cn(148),t=s}const e=t.getParent();Bi(e)||Cn(149);const r=e.getParent();return yu(r)||Cn(210),[t,e,r]}function GH(n,t,e){let r,s=Math.min(t.startColumn,e.startColumn),o=Math.min(t.startRow,e.startRow),i=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<=i&&h>=s,m=d.startRow<=l&&g>=o;if(p&&m){const y=Math.min(s,d.startColumn),w=Math.max(i,h),x=Math.min(o,d.startRow),C=Math.max(l,g);y===s&&w===i&&x===o&&C===l||(s=y,i=w,o=x,l=C,r=!0)}}}while(r);return{maxColumn:i,maxRow:l,minColumn:s,minRow:o}}function Mk(n){const[t,,e]=ZH(n),r=e.getChildren(),s=r.length,o=r[0].getChildren().length,i=new Array(s);for(let l=0;l<s;l++)i[l]=new Array(o);for(let l=0;l<s;l++){const c=r[l].getChildren();let u=0;for(let d=0;d<c.length;d++){for(;i[l][u];)u++;const h=c[d],g=h.__rowSpan||1,p=h.__colSpan||1;for(let m=0;m<g;m++)for(let y=0;y<p;y++)i[l+m][u+y]=h;if(t===h)return{colSpan:p,columnIndex:u,rowIndex:l,rowSpan:g};u+=p}}return null}function Lk(n){const[[t,e,r,s],[o,i,l,c]]=["anchor","focus"].map(u=>{const d=n[u].getNode(),h=ve(d,ar);ar(h)||Cn(238,u,d.getKey(),d.getType());const g=h.getParent();Bi(g)||Cn(239,u);const p=g.getParent();return yu(p)||Cn(240,u),[d,h,g,p]});return s.is(c)||Cn(241),{anchorCell:e,anchorNode:t,anchorRow:r,anchorTable:s,focusCell:i,focusNode:o,focusRow:l,focusTable:c}}class vw{constructor(t,e,r){j(this,"tableKey");j(this,"anchor");j(this,"focus");j(this,"_cachedNodes");j(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=be(this.tableKey),e=be(this.anchor.key),r=be(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 Sw(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,Dn(this.anchor.key,this.anchor.offset,this.anchor.type),Dn(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(ar).forEach(s=>{const o=s.getFirstChild();an(o)&&(e|=o.getTextFormat())});const r=Bo[t];return(e&r)!==0}insertNodes(t){const e=this.focus.getNode();Y(e)||Cn(151),Ei(e.select(0,e.getChildrenSize())).insertNodes(t)}getShape(){const{anchorCell:t,focusCell:e}=Lk(this),r=Mk(t);r===null&&Cn(153);const s=Mk(e);s===null&&Cn(155);const o=Math.min(r.columnIndex,s.columnIndex),i=Math.max(r.columnIndex+r.colSpan-1,s.columnIndex+s.colSpan-1),l=Math.min(r.rowIndex,s.rowIndex),c=Math.max(r.rowIndex+r.rowSpan-1,s.rowIndex+s.rowSpan-1);return{fromX:Math.min(o,i),fromY:Math.min(l,c),toX:Math.max(o,i),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:s}=Lk(this),o=s.getParents()[1];if(o!==e){if(e.isParentOf(s)){const w=o.getParent();w==null&&Cn(159),this.set(this.tableKey,s.getKey(),w.getKey())}else{const w=e.getParent();w==null&&Cn(158),this.set(this.tableKey,w.getKey(),s.getKey())}return this.getNodes()}const[i,l,c]=YH(e,r,s),{minColumn:u,maxColumn:d,minRow:h,maxRow:g}=GH(i,l,c),p=new Map([[e.getKey(),e]]);let m=null;for(let w=h;w<=g;w++)for(let x=u;x<=d;x++){const{cell:C}=i[w][x],v=C.getParent();Bi(v)||Cn(160),v!==m&&(p.set(v.getKey(),v),m=v),p.has(C.getKey())||JH(C,_=>{p.set(_.getKey(),_)})}const y=Array.from(p.values());return Wl()||(this._cachedNodes=y),y}getTextContent(){const t=this.getNodes().filter(r=>ar(r));let e="";for(let r=0;r<t.length;r++){const s=t[r],o=s.__parent,i=(t[r+1]||{}).__parent;e+=s.getTextContent()+(i!==o?`
|
|
57
|
+
`:" ")}return e}}function Sw(n){return n instanceof vw}function JH(n,t){const e=[[n]];for(let r=e.at(-1);r!==void 0&&e.length>0;r=e.at(-1)){const s=r.pop();s===void 0?e.pop():t(s)!==!1&&Y(s)&&e.push(s.getChildren())}}function Qc(n){return St(n)&&n.nodeName==="TABLE"}function VH(n,t){for(let e=t,r=null;e!==null;e=e.getParent()){if(n.is(e))return r;ar(e)&&(r=e)}return null}function QH(n,t,e){return VH(n,Re(t,e))}function Dk(n,t,e){if(!t.theme.tableAlignment)return;const r=[],s=[];for(const o of["center","right"]){const i=t.theme.tableAlignment[o];i&&(o===e?s:r).push(i)}Nr(n,...r),Qe(n,...s)}const XH=new WeakSet;function Ok(n=Zl()){return XH.has(n)}class vd extends ft{constructor(e){super(e);j(this,"__rowStriping");j(this,"__frozenColumnCount");j(this,"__frozenRowCount");j(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 vd(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:qH,priority:1})}}static importJSON(e){return kw().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,s){return s==="html"}getDOMSlot(e){const r=Qc(e)?e:e.querySelector("table");return Qc(r)||Cn(229),super.getDOMSlot(e).withElement(r).withAfter(r.querySelector("colgroup"))}createDOM(e,r){const s=document.createElement("table");this.__style&&(s.style.cssText=this.__style);const o=document.createElement("colgroup");if(s.appendChild(o),JT(o),Qe(s,e.theme.table),this.updateTableElement(null,s,e),Ok(r)){const i=document.createElement("div"),l=e.theme.tableScrollableWrapper;return l?Qe(i,l):i.style.cssText="overflow-x: auto;",i.appendChild(s),this.updateTableWrapper(null,i,s,e),i}return s}updateTableWrapper(e,r,s,o){this.__frozenColumnCount!==(e?e.__frozenColumnCount:0)&&(function(i,l,c,u){u>0?(Qe(i,c.theme.tableFrozenColumn),l.setAttribute("data-lexical-frozen-column","true")):(Nr(i,c.theme.tableFrozenColumn),l.removeAttribute("data-lexical-frozen-column"))})(r,s,o,this.__frozenColumnCount),this.__frozenRowCount!==(e?e.__frozenRowCount:0)&&(function(i,l,c,u){u>0?(Qe(i,c.theme.tableFrozenRow),l.setAttribute("data-lexical-frozen-row","true")):(Nr(i,c.theme.tableFrozenRow),l.removeAttribute("data-lexical-frozen-row"))})(r,s,o,this.__frozenRowCount)}updateTableElement(e,r,s){this.__style!==(e?e.__style:"")&&(r.style.cssText=this.__style),this.__rowStriping!==(!!e&&e.__rowStriping)&&(function(o,i,l){l?(Qe(o,i.theme.tableRowStriping),o.setAttribute("data-lexical-row-striping","true")):(Nr(o,i.theme.tableRowStriping),o.removeAttribute("data-lexical-row-striping"))})(r,s,this.__rowStriping),(function(o,i,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()),Dk(r,s,this.getFormatType())}updateDOM(e,r,s){const o=this.getDOMSlot(r).element;return r===o===Ok()||(St(i=r)&&i.nodeName==="DIV"&&this.updateTableWrapper(e,r,o,s),this.updateTableElement(e,o,s),!1);var i}exportDOM(e){const r=super.exportDOM(e),{element:s}=r;return{after:o=>{if(r.after&&(o=r.after(o)),!Qc(o)&&St(o)&&(o=o.querySelector("table")),!Qc(o))return null;Dk(o,e._config,this.getFormatType());const[i]=ZI(this,null,null),l=new Map;for(const h of i)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:!Qc(s)&&St(s)?s.querySelector("table"):s}}canBeEmpty(){return!1}isShadowRoot(){return!0}getCordsFromCellNode(e,r){const{rows:s,domRows:o}=r;for(let i=0;i<s;i++){const l=o[i];if(l!=null)for(let c=0;c<l.length;c++){const u=l[c];if(u==null)continue;const{elem:d}=u,h=QH(this,d);if(h!==null&&e.is(h))return{x:c,y:i}}}throw new Error("Cell not found in table.")}getDOMCellFromCords(e,r,s){const{domRows:o}=s,i=o[r];if(i==null)return null;const l=i[e<i.length?e:i.length-1];return l??null}getDOMCellFromCordsOrThrow(e,r,s){const o=this.getDOMCellFromCords(e,r,s);if(!o)throw new Error("Cell not found at cords.");return o}getCellNodeFromCords(e,r,s){const o=this.getDOMCellFromCords(e,r,s);if(o==null)return null;const i=Re(o.elem);return ar(i)?i:null}getCellNodeFromCordsOrThrow(e,r,s){const o=this.getCellNodeFromCords(e,r,s);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(s=>{ar(s)&&(r+=s.getColSpan())}),r}}function qH(n){const t=kw();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 s of e.querySelectorAll(":scope > col")){let o=s.style.width||"";if(!ww.test(o)&&(o=s.getAttribute("width")||"",!/^\d+$/.test(o))){r=void 0;break}r.push(parseFloat(o))}r&&t.setColWidths(r)}return{after:r=>g_(r,Bi),node:t}}function kw(){return Lt(new vd)}function yu(n){return n instanceof vd}const GI=4,$H={dependencies:[zg],export:n=>a2(n)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(n,t,e,r)=>{const s=bc();r||n.getNextSibling()!=null?n.replace(s):n.insertBefore(s),s.selectNext()},type:"element"},eY={dependencies:[qo],export:n=>sc(n)?`})`:null,importRegExp:/!(?:\[([^[]*)\])(?:\(([^(]+)\))/,regExp:/!(?:\[([^[]*)\])(?:\(([^(]+)\))$/,replace:(n,t)=>{const[,e,r]=t,s=qg({altText:e,maxWidth:800,src:r});n.replace(s)},trigger:")",type:"text-match"};function tY(n){const t=n.match(/\t/g),e=n.match(/ /g);let r=0;return t&&(r+=t.length),e&&(r+=Math.floor(e.length/GI)),r}const JI=n=>(t,e,r)=>{const s=t.getPreviousSibling(),o=t.getNextSibling(),i=Cr(n==="check"?r[3]==="x":void 0);if(He(o)&&o.getListType()===n){const c=o.getFirstChild();c!==null?c.insertBefore(i):o.append(i),t.remove()}else if(He(s)&&s.getListType()===n)s.append(i),t.remove();else{const c=vn(n,n==="number"?Number(r[2]):void 0);c.append(i),t.replace(c)}i.append(...e),i.select(0,0);const l=tY(r[1]);l&&i.setIndent(l)},Ew=(n,t,e)=>{const r=[],s=n.getChildren();let o=0;for(const i of s)if(ut(i)){if(i.getChildrenSize()===1){const d=i.getFirstChild();if(He(d)){r.push(Ew(d,t,e+1));continue}}const l=" ".repeat(e*GI),c=n.getListType(),u=c==="number"?`${n.getStart()+o}. `:c==="check"?`- [${i.getChecked()?"x":" "}] `:"- ";r.push(l+u+t(i)),o++}return r.join(`
|
|
58
|
+
`)},nY=/^(\s*)(\d{1,})\.\s/,rY=/^(\s*)[-*+]\s/,sY={dependencies:[Br,xn],export:(n,t)=>He(n)?Ew(n,t,0):null,regExp:nY,replace:JI("number"),type:"element"},oY={dependencies:[Br,xn],export:(n,t)=>He(n)?Ew(n,t,0):null,regExp:rY,replace:JI("bullet"),type:"element"},VI=/^(?:\|)(.+)(?:\|)\s?$/,iY=/^(\| ?:?-*:? ?)+\|\s?$/,lY={dependencies:[vd,xd,_c],export:n=>{if(!yu(n))return null;const t=[];for(const e of n.getChildren()){const r=[];if(!Bi(e))continue;let s=!1;for(const o of e.getChildren())ar(o)&&(r.push(KI(Zu,o).replace(/\n/g,"\\n")),o.__headerState===Qs.ROW&&(s=!0));t.push(`| ${r.join(" | ")} |`),s&&t.push(`| ${r.map(o=>"---").join(" | ")} |`)}return t.join(`
|
|
59
|
+
`)},regExp:VI,replace:(n,t,e)=>{if(iY.test(e[0])){const u=n.getPreviousSibling();if(!u||!yu(u))return;const d=u.getChildren(),h=d[d.length-1];if(!h||!Bi(h))return;h.getChildren().forEach(g=>{ar(g)&&g.setHeaderStyles(Qs.ROW,Qs.ROW)}),n.remove();return}const r=Rk(e[0]);if(r==null)return;const s=[r];let o=n.getPreviousSibling(),i=r.length;for(;o&&!(!an(o)||o.getChildrenSize()!==1);){const u=o.getFirstChild();if(!Kn(u))break;const d=Rk(u.getTextContent());if(d==null)break;i=Math.max(i,d.length),s.unshift(d);const h=o.getPreviousSibling();o.remove(),o=h}const l=kw();for(const u of s){const d=xw();l.append(d);for(let h=0;h<i;h++)d.append(h<u.length?u[h]:QI(""))}const c=n.getPreviousSibling();yu(c)&&aY(c)===i?(c.append(...l.getChildren()),n.remove()):n.replace(l),l.selectEnd()},type:"element"};function aY(n){const t=n.getFirstChild();return Bi(t)?t.getChildrenSize():0}const QI=n=>{n=n.replace(/\\n/g,`
|
|
60
|
+
`);const t=Cw(Qs.NO_STATUS);return UI(n,Zu,t),t},Rk=n=>{const t=n.match(VI);return!t||!t[1]?null:t[1].split("|").map(e=>QI(e))},Zu=[lY,$H,eY,wH,RI,BI,oY,sY,...PI,...jI,...FI],cY=ye("SPEECH_TO_TEXT_COMMAND"),uY="SpeechRecognition"in window||"webkitSpeechRecognition"in window;async function dY(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 fY(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 hY(n){const t=new URL(window.location.toString());t.hash=await UH(n);const e=t.toString();window.history.replaceState({},"",e),await window.navigator.clipboard.writeText(e)}function gY({isRichText:n,shouldPreserveNewLinesInMarkdown:t}){const[e]=Ee(),[r,s]=k.useState(()=>e.isEditable()),[o,i]=k.useState(!1),[l,c]=k.useState(!1),[u,d]=k.useState(!0),[h,g]=cp(),p=jH(),m=!1;k.useEffect(()=>{Ak.isCollab||KH(window.location.hash).then(w=>{w&&w.source==="Playground"&&(e.setEditorState(TI(e,w)),e.dispatchCommand(Tb,void 0))})},[e]),k.useEffect(()=>Xe(e.registerEditableListener(w=>{s(w)}),e.registerCommand(QN,w=>(c(w),!1),Fe)),[e]),k.useEffect(()=>e.registerUpdateListener(({dirtyElements:w,prevEditorState:x,tags:C})=>{!r&&w.size>0&&!C.has(xl)&&!C.has(Xu)&&fY(e),e.getEditorState().read(()=>{const _=Me().getChildren();if(_.length>1)d(!1);else if(an(_[0])){const N=_[0].getChildren();d(N.length===0)}else d(!1)})}),[e,r]);const y=k.useCallback(()=>{e.update(()=>{const w=Me(),x=w.getFirstChild();if(Mr(x)&&x.getLanguage()==="markdown")UI(x.getTextContent(),Zu,void 0,t);else{const C=KI(Zu,void 0,t),v=$r("markdown");v.append(ht(C)),w.clear().append(v),C.length===0&&v.select()}})},[e,t]);return A.jsxs("div",{className:"actions",children:[uY&&A.jsx("button",{onClick:()=>{e.dispatchCommand(cY,!o),i(!o)},className:"action-button action-button-mic "+(o?"active":""),title:"Speech To Text","aria-label":`${o?"Enable":"Disable"} speech to text`,children:A.jsx(Gn,{icon:VW,size:16})}),A.jsx("button",{className:"action-button import",onClick:()=>$7(e),title:"Import","aria-label":"Import editor state from JSON",children:A.jsx(Gn,{icon:QW,size:16})}),A.jsx("button",{className:"action-button export",onClick:()=>eH(e,{fileName:`Playground ${new Date().toISOString()}`,source:"Playground"}),title:"Export","aria-label":"Export editor state to JSON",children:A.jsx(Gn,{icon:XW,size:16})}),A.jsx("button",{className:"action-button share",disabled:Ak.isCollab,onClick:()=>hY(EI(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(Gn,{icon:n7,size:16})}),A.jsx("button",{className:"action-button clear",disabled:u,onClick:()=>{g("Clear editor",w=>A.jsx(pY,{editor:e,onClose:w}))},title:"Clear","aria-label":"Clear editor contents",children:A.jsx(Gn,{icon:r7,size:16})}),A.jsx("button",{className:`action-button ${r?"lock":"unlock"}`,onClick:()=>{r&&dY(e),e.setEditable(!e.isEditable())},title:"Read-Only Mode","aria-label":`${r?"Lock":"Unlock"} read-only mode`,children:A.jsx(Gn,{icon:r?qW:$W,size:16})}),A.jsx("button",{className:"action-button",onClick:y,title:"Convert From Markdown","aria-label":"Convert from markdown",children:A.jsx(Gn,{icon:e7,size:16})}),m,h]})}function pY({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(Xy,{onClick:()=>{n.dispatchCommand(ag,void 0),n.focus(),t()},children:"Clear"})," ",A.jsx(Xy,{onClick:()=>{n.focus(),t()},children:"Cancel"})]})]})}const mY=[".toolbar",'[role="menu"]',".floating-text-format-popup","[data-comment-submit-button]","[data-modal-content]"],AY=({onBlur:n})=>{const[t]=Ee();return k.useEffect(()=>{const e=t.getRootElement();if(!e)return;const r=(o,i,l)=>o>=l.left&&o<=l.right&&i>=l.top&&i<=l.bottom,s=o=>{const i=e.getBoundingClientRect(),l=o.target,c=l instanceof Element&&mY.some(m=>l.closest(m)),{clientX:u,clientY:d}=o,h=r(u,d,i),g=document.activeElement;!e.contains(g)&&!h&&!c&&t.update(()=>{var m;Ze(null),t.dispatchCommand(Qr,void 0),(m=t._rootElement)==null||m.classList.remove("focused"),n&&(n==null||n(t.getEditorState(),t))})};return document.addEventListener("pointerdown",s,!0),()=>{document.removeEventListener("pointerdown",s,!0)}},[t,n]),null},Tw=()=>!!document.querySelector(".selected-all-document");function yY(n,t){for(let e=0;e<t.length;e++){const r=t[e];if(ut(r)){const s=r.getParent(),o=He(s)?s.getListType():"bullet",i=vn(o);for(;e<t.length&&ut(t[e]);)i.append(t[e]),e++;n.append(i),e--}else n.append(r)}}function bY(n,t){const e=n.getChildren();if(e.length===0){n.remove();return}const r=e.findIndex(l=>l.getKey()===t.getKey());if(r===-1)return;const s=e.slice(r+1),o=n.getParent(),i=n.getNextSibling();if(t.remove(),n.getChildrenSize()===0){if(o&&ut(o)){const l=o.getParent();if(l&&He(l)){const c=l.getChildren().findIndex(u=>u.getKey()===o.getKey());if(c!==-1){o.remove();const u=l.getChildren(),d=l.getListType(),h=vn(d),g=vn(d);for(let p=0;p<c;p++)h.append(u[p]);for(let p=c;p<u.length;p++)g.append(u[p]);l.insertBefore(h),h.insertAfter(t),t.insertAfter(g),l.isAttached()&&l.remove();return}}}o&&Y(o)&&(i?i.insertBefore(t):o.append(t)),n.isAttached()&&n.remove();return}if(r===0)n.insertBefore(t);else if(r===e.length-1)n.insertAfter(t);else{const l=n.getListType(),c=vn(l);for(const u of s)c.append(u);n.insertAfter(t),t.insertAfter(c)}}const up=(n,t,e)=>{var s,o,i,l,c;const r=Z();if(W(r)&&r.isCollapsed()){const u=r.anchor.getNode(),d=u.getKey(),h=u.getParent()===e,g=e instanceof ft&&(e.__type==="layout-item"?(o=(s=e.getLastChild())==null?void 0:s.getPreviousSibling())==null?void 0:o.getKey():(i=e.getLastChild())==null?void 0:i.getKey())===d,p=e instanceof ft&&((l=e.getFirstChild())==null?void 0:l.getKey())===d;if(e&&u instanceof Vo&&!u.getTextContent()&&h&&!((c=u.getPreviousSibling())!=null&&c.getTextContent())&&g&&!p){const y=n.registerCommand(Po,()=>(y(),!0),Ss);return n.update(()=>{var x;if(e){let C=e.getChildren();const v=e.getLastChild();LW(v)&&(C=C.slice(0,-1)),C.length===2?C.slice(-1).forEach(_=>_.remove()):C.slice(-2).forEach(_=>_.remove())}const w=t==null?void 0:t.getNextSibling();if(an(w)&&w.getTextContent()==="")(x=t==null?void 0:t.getNextSibling())==null||x.selectEnd();else{const C=t==null?void 0:t.insertAfter(Ce());C==null||C.selectStart()}}),!0}}return!1},Bk=n=>{for(;n;){if(Js(n))return n;const t=n.getParent();if(!t)break;n=t}return null},wY=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:""}}},Pk=n=>n.replace(/\s+/g," ").trim(),CY=n=>{const t=Zt();if(t){const e=ve(t,xc);if((e==null?void 0:e.__type)==="callout"){const r=Z();if(W(r)&&r.isCollapsed()){const s=r.anchor.getNode(),o=ve(s,Js);return up(n,o,e)}}}return!0};function yA(n,t){let e=n;for(;e;){if(Y(e)){const r=e.getParent();if(ut(e)||(r==null?void 0:r.getKey())===t.getKey())return e}e=e.getParent()}return null}function xY(n){const t=[];function e(r){if(He(r))for(const s of r.getChildren())e(s);else if(ut(r)){t.push(r);for(const s of r.getChildren())e(s)}else Y(r)&&t.push(r)}for(const r of n.getChildren())e(r);return t}function XI(n){const t=Me(),e=n.anchor.getNode(),r=n.focus.getNode(),s=yA(e,t),o=yA(r,t);if(!s||!o)return[];const i=new Set([s.getKey(),o.getKey()]);for(const d of n.getNodes()){const h=yA(d,t);h&&i.add(h.getKey())}const c=xY(t).filter(d=>i.has(d.getKey())),u=new Set(c.map(d=>d.getKey()));return c.filter(d=>{let h=d.getParent();for(;h;){if(u.has(h.getKey()))return!1;h=h.getParent()}return!0})}const vY=(n,t,e)=>()=>{const r=Xg(t,e),s=Qg(n),o=Ce(),i=Vg().append(o);return r.append(s),r.append(i),r};function SY(n,t,e){const r=Xg(t,e),s=Qg(n),o=Vg();return r.append(s),r.append(o),r}function kY(n,t,e,r){const s=XI(n);if(s.length===0)return!1;const o=s[0],i=o.getParent(),l=SY(t,e,r),c=l.getChildren().find(xc);return!c||!Y(c)?!1:(o.insertBefore(l),yY(c,s),i&&He(i)&&bY(i,l),!0)}const EY=(n,t)=>{const r=t.getChildren().find(xc);if(!r)return;const s=r.getFirstChild();if(!s||!Y(s))return;const o=n.getChildren();for(const i of o)s.append(i)};function TY(){const[n]=Ee(),{imperativeHandleRef:t}=k.useContext(Mt),e=k.useCallback(()=>{const r=Zt(),{lexicalNode:s}=ic(r,n,{"callout-wrapper":!0});return s&&Y(s)&&s.getChildren().length===1&&n.update(()=>{const o=Ce();o.append(ht(""));const i=s.getParent();i&&(i.replace(o),o.selectStart())}),!1},[n]);k.useEffect(()=>{t!=null&&t.current&&(t.current.onDeleteCallout=e)},[t,e]),k.useEffect(()=>{if(!n.hasNodes([$l,Ho,Oi]))throw new Error("CalloutPlugin: CalloutNode not registered on editor");return Xe(n.registerMutationListener(Oi,r=>{n.getEditorState().read(()=>{for(const[s,o]of r)if(o==="destroyed"){const i=Number(s),l=String(i-1);n.update(()=>{const c=be(l);if(c&&Js(c)){const u=c.getChildren();for(const d of u)c==null||c.insertBefore(d);c.remove()}},{tag:Xr})}})}),n.registerCommand(tw,r=>{const{emoji:s,backgroundColor:o,calloutType:i}=wY(r);let l=Z();if(Kt(l)&&(Y0(l),l=Z()),!W(l))return!1;const c=XI(l);if(c.length===0)return!1;const u=c[0],d=u.getParent();return Li(u)||d!=null&&Li(d)?(Jl(l,vY(s,o,i),EY),!0):kY(l,s,o,i)},Fe),n.registerCommand(uc,e,Se),n.registerCommand(yi,()=>Tw()&&n._keyToDOMMap.size>2,Se),n.registerCommand(Ul,r=>{if(!r.clipboardData)return!1;const s=Z();if(!W(s))return!1;const o=Bk(s.anchor.getNode()),i=Bk(s.focus.getNode());if(!o||!i||o.__key!==i.__key)return!1;const{hasSelectedBlock:l,selectedAllDocument:c}=mi(),u=Pk(s.getTextContent()),d=Pk(o.getTextContent());if(!(u===d&&(l||c)))return!1;r.preventDefault();const m=o.__calloutType??"default",y=U0(s)["text/html"],w=o.getTextContent(),x=`<div class="dsd__theme__callout-wrapper" style="background-color: ${o.__backgroundColor}" data-type="${m}">${y}</div>`;return r.clipboardData.setData("text/html",x),r.clipboardData.setData("text/plain",w),!0},Se))},[n,e])}function _Y(){return TY(),null}let _w=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(s=>{const o=s.nextElementSibling;return o&&o.classList.contains("dsd__theme__nestedListItem")})}return setTimeout(()=>{for(let r=0;r<e.length;r++){const s=e[r],o=s.nextElementSibling;if(!o)return;let i=!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"&&(i=!0)}),t.update(()=>{if(!l&&i){const u=Re(s);u instanceof xn&&(u.setChecked(!1),u.setIndeterminate(!0))}if(!i&&!l){const u=Re(s);u instanceof xn&&(u.setChecked(!1),u.setIndeterminate(!1))}if(l){const u=Re(s);u instanceof xn&&(u.setChecked(!0),u.setIndeterminate(!1))}}),i=!1,l=!0}},0),null}return _w(n.parentElement,t)};const NY=()=>{const n=Zt();if(!n)return!1;try{const t=gc(n);t instanceof xn&&!t.__opened&&t.setOpened(!0)}catch{return!1}return!1},IY=ul.debounce((n,t)=>{const e=t.getElementByKey(n);_w(e,t)},100);function MY(){const[n]=Ee();return k.useEffect(()=>{const t=n.registerMutationListener(Br,e=>{for(const[r,s]of e)s==="updated"&&IY(r,n)},{skipInitialization:!0});return()=>{t()}},[n]),k.useEffect(()=>Xe(n.registerCommand(H0,()=>(My(n,"check"),!0),Se),n.registerRootListener((t,e)=>{t!==null&&(t.addEventListener("click",jk),t.addEventListener("pointerdown",Fk)),e!==null&&(e.removeEventListener("click",jk),e.removeEventListener("pointerdown",Fk))})),[n]),null}function qI(n,t,e=!1){const r=n.target;if(r===null||!St(r))return;const s=r.firstChild;if(s!=null&&St(s)&&(s.tagName==="UL"||s.tagName==="OL"))return;const o=r.parentNode,i=r.getBoundingClientRect(),l=n.pageX/p3(r);if(o&&l>i.right){if(e){t();return}if(n.target instanceof HTMLElement){const c=nd(o);c!=null&&c.isEditable()&&c.update(()=>{const u=Re(o);ut(u)&&u.toggleOpen()})}}!o||o.__lexicalListType!=="check"||(r.dir==="rtl"?l<i.right&&l>i.right-20:l>i.left&&l<i.left+20)&&t()}function jk(n){qI(n,()=>{if(n.target instanceof HTMLElement){const t=n.target,e=nd(t);e!=null&&e.isEditable()&&(e.update(()=>{const r=Re(t);if(ut(r)&&(r.selectEnd(),r.toggleChecked()),t.getAttribute("data-list")&&t.getAttribute("aria-checked")==="false"&&t.nextElementSibling){Array.from(t.nextElementSibling.querySelectorAll("[aria-checked]")).forEach(s=>{const o=Re(s);o instanceof xn&&o.setChecked(!0)});return}if(t.getAttribute("data-list")&&t.getAttribute("aria-checked")==="true"&&t.nextElementSibling){Array.from(t.nextElementSibling.querySelectorAll("[aria-checked]")).forEach(s=>{const o=Re(s);o instanceof xn&&o.setChecked(!1)});return}}),_w(t,e))}})}function Fk(n){qI(n,()=>{n.preventDefault()},!0)}const $I=ye("INSERT_CHILD_DOCUMENTS_COMMAND");function LY(){const[n]=Ee();return k.useEffect(()=>{if(!n.hasNodes([rc]))throw new Error("ChildDocsPlugin: ChildDocsNode not registered on editor");return n.registerCommand($I,t=>{const e=q2(),r=Zt();return r==null||r.replace(e),!0},Fe)},[n]),null}function DY(){const[n]=Ee();return k.useEffect(()=>NU(n),[n]),null}const OY=4,RY=2,BY="draggable-block-menu",PY=16,zk="application/x-lexical-drag-block",dp=n=>n?n.match(/(\d*\.?\d+)%/g):[],$y=n=>n<0?0:n>100?100:n,eM=(n,t,e)=>{let r=0,s=[];n.update(()=>{if(n&&t){const c=n.getElementByKey(t.getKey());if(c){const u=c.style;s=dp(u.getPropertyValue("grid-template-columns")).map(d=>d.slice(0,-1)),r=s?s.length:0}}const o=100/(r+1),i=[...s];i.splice(e,0,`${o}%`);let l=o/r;for(let c=0;c<i.length;c++)if(e!==c){const u=Number(i[c])-l;i[c]=`minmax(100px,${$y(u)}%)`}else i[c]=`minmax(100px,${i[c]})`;t.setTemplateColumns(i.join(" "))})},eb=(n,t,e,r)=>{n.update(()=>{const s=n.getElementByKey(t.getKey());if(!s)return;let o=r;e<r&&(o=r-1);const l=s.style.getPropertyValue("grid-template-columns").match(/minmax\([^)]*\)|\S+/g)||[],c=l.splice(e,1)[0];l.splice(o,0,c),t.setTemplateColumns(l.join(" "))})},Gu=(n,t)=>(n!=null&&n.children?Array.from(n.children):[]).indexOf(t);function jY(n,t,e,r){var c;let s=n.getAttribute("data-direction")==="left",o=n.getAttribute("data-direction")==="right",i=n.getAttribute("data-index"),l=n.getAttribute("data-index-start");if(s||o||i){let u=(c=e.getParent())==null?void 0:c.getParent();if(e instanceof ss&&(u=e),e instanceof Ts||e instanceof ss){const d=u==null?void 0:u.getChildren();let h=r instanceof Ts;if((d==null?void 0:d.length)>=4&&!h)return!0;t.update(()=>{var m;let g=0;s?g=0:o?g=((m=u==null?void 0:u.getChildren())==null?void 0:m.length)-1:g=Number(i),h?eb(t,u,Number(l),g):eM(t,u,g);let p=null;g!==void 0&&t.update(()=>{if(p=u.getChildren()[g],h)e instanceof ss?p.insertAfter(r.getParent()):p.insertBefore(r.getParent());else if(o)p.insertAfter(Ps().append(r).append(ps()));else{const y=r.getParent(),w=y==null?void 0:y.getParent();Ks(y)&&(y==null?void 0:y.getChildrenSize())===2&&Ks(y)&&Kh(w)&&lc(t,y,w),p.insertBefore(Ps().append(r).append(ps()))}})})}else t.update(()=>{const d=tp(mw);let h;if(Js(e)||Lr(e)){const g=r.getParent(),p=g==null?void 0:g.getParent();if(Ks(g)&&(g==null?void 0:g.getChildrenSize())===2&&Kh(p)){const y=p.getParent(),w=y==null?void 0:y.getParent(),x=p.getChildren(),v=x.findIndex(N=>N===g)===0?1:0,_=x[v];if(Ks(_)){const N=_.getChildren()[0];Js(w)&&(w.append(N),p.remove(),h=Au(w))}}else h=Au(e,r)}else h=Au(e);h&&(s?(d.append(Ps().append(r).append(ps())),d.append(Ps().append(h).append(ps()))):(d.append(Ps().append(h).append(ps())),d.append(Ps().append(r).append(ps()))),e.insertAfter(d),e.remove(),h.selectStart())});return!0}return!1}function FY(n,t,e="right",r=!1){n.update(()=>{const s=Re(t),o=s==null?void 0:s.getParent();if(o){if(dp(o.__templateColumns).length===4)return;let l=Gu(t.parentElement,t);e==="right"&&(l=l+1),eM(n,o,l)}const i=Ps().append(Ce()).append(ps());s&&(e==="right"?r?(s.insertBefore(Au(s)),s.selectStart()):(s.insertAfter(i),i==null||i.selectStart()):(s.insertBefore(i),i.selectStart()))})}const tM=(n,t)=>{const e=t==null?void 0:t.getParent();let r=dp(e==null?void 0:e.getTemplateColumns());const s=e==null?void 0:e.getChildren();let o=0;if(s&&t){for(let d=0;d<s.length;d++)if(s[d].__key===t.__key){o=d;break}}r.splice(o,1);const i=r.map(d=>parseFloat(d)),l=i.reduce((d,h)=>d+h,0),u=i.map(d=>d/l*100).map(d=>`minmax(50px,${d.toFixed(2)}%)`);e==null||e.setTemplateColumns(u.join(" "))},zY=n=>n.className.includes("editor-image")||n.className.includes("video-container")?n:n.className.includes("editor-excalidraw")?n.firstChild:null,nM=(n,t)=>t!=null&&t.__key&&n!==t.__key?nM(n,t==null?void 0:t.getParent()):n===(t==null?void 0:t.__key),Uk=(n,t,e)=>{n.update(()=>{var i,l,c;const r=(i=t==null?void 0:t.getParent())==null?void 0:i.getParent(),s=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(s&&o&&r instanceof ss){const u=n.getElementByKey(s.getKey()),d=n.getElementByKey(r.getKey()),h=Gu(d,u);s&&r&&o&&(e==="right"&&(eb(n,r,h+1,h),o.insertAfter(s)),e==="left"&&(eb(n,r,h,h+1),o.insertBefore(s)))}})};function UY(n){n&&(n.style.display="none")}function Kk({blockElement:n,editor:t,isTop:e,isClickedBlockRef:r,setDraggableBlockElem:s}){n&&(r.current=!0,t.update(()=>{const o=Re(n);if(o){const i=Ce();e?(o.insertBefore(i),setTimeout(()=>{s(t.getElementByKey(i.__key)),t.update(()=>{i.selectStart()})})):(o.insertAfter(i),setTimeout(()=>{s(t.getElementByKey(i.__key)),t.update(()=>{i.selectEnd()})}))}}))}function KY(n){const t=(c,u)=>c?parseFloat(window.getComputedStyle(c)[u]):0,{marginTop:e,marginBottom:r}=window.getComputedStyle(n),s=t(n.previousElementSibling,"marginBottom"),o=t(n.nextElementSibling,"marginTop"),i=Math.max(parseFloat(e),s);return{marginBottom:Math.max(parseFloat(r),o),marginTop:i}}function WY(n){return!!n.closest(`.${BY}`)}function Wk(n,t,e,r){if(!n){t.style.opacity="0";return}t.style.display="block";let s=null;const o=zY(n);o&&o.style.justifyContent!=="left"&&o.firstChild instanceof HTMLElement?s=o.firstChild.getBoundingClientRect():s=n.getBoundingClientRect();let i=null,l=0,c=!0,u=0;if(s){let x=n.firstChild instanceof HTMLElement&&(n.firstChild.hasAttribute("data-lexical-text")||n.firstChild.tagName==="LI"||n.firstChild.tagName==="A")?n.firstChild:null;if(x&&!x.className.includes("editor-image")&&n.tagName!=="CODE"){const C=window.getComputedStyle(x),v=parseFloat(C.lineHeight),_=parseFloat(C.fontSize);u=Math.ceil(_+(v-_)/2),i=x.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:(i=s,c=!1)}const d=e.getBoundingClientRect(),h=(i==null?void 0:i.top)||s.top,g=u||l,p=t.clientHeight,m=g-p;let y=!c||!g?s.top+7-d.top:h+m/2-d.top,w=s.left-d.left-p*2-3;n.tagName==="LI"&&n.getAttribute("role")!=="checkbox"&&(w=w-26,y=y-1),o&&(y=h-d.top+7,(o.style.justifyContent==="center"||o.style.justifyContent==="right")&&(w=w+10)),n.matches(":has(.resizable-container__handle)")&&!n.matches(":has(.hide-padding)")&&n.tagName!=="DETAILS"&&(y=h-d.top+27),s.top<0&&(y=y+-s.top),n.className==="dsd__theme__layoutDivider"&&(t.style.display="none",s.top-t.clientHeight<0?n.style.setProperty("--height-column",`${n.clientHeight+s.top-t.clientHeight-7}px`):n.style.setProperty("--height-column",`${n.clientHeight}px`)),t.style.opacity="1",!r&&w>-40&&(t.style.transform=`translate(${w}px, ${y}px)`)}function Hk(n,t){const{transform:e}=t.style;t.style.transform="translateZ(0)",n.setDragImage(t,0,0),setTimeout(()=>{t.style.transform=e})}function HY(n,t){const e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",t.forEach(r=>{const s=r.cloneNode(!0);s.style.position="relative",e.appendChild(s)}),document.body.appendChild(e),n.setDragImage(e,0,0),setTimeout(()=>document.body.removeChild(e),0)}function YY(n,t,e,r,s,o,i){var E;const{top:l,height:c,width:u,left:d}=t.getBoundingClientRect(),{top:h,left:g,width:p}=s==null?void 0:s.getBoundingClientRect(),{marginTop:m,marginBottom:y}=KY(t);let w=l;e>=l?(i.current.isBottom=!0,w+=c+y/2):(i.current.isBottom=!1,w-=m/2);const x=w-h-RY,C=PY-OY,_=o.target.closest(".dsd__theme__layoutDivider");n.setAttribute("data-index",""),n.style.background="deepskyblue";const N=d-g-C;if(r<=d&&!_){if(t.closest(".dsd__theme__layoutItem"))return;n.style.transform=`translate(${N}px, ${l-h}px)`,n.style.width="4px",n.style.height=`${c}px`,n.style.opacity=".4",n.setAttribute("data-direction","left")}else if(r>=p-N&&!_&&!t.closest(".dsd__theme__layoutItem"))t.classList.contains("dsd__theme__layoutContainer")&&!n.getAttribute("data-index-start")&&t&&t.children.length>=4&&(n.style.background="red"),n.style.transform=`translate(${p-N}px, ${l-h}px)`,n.style.width="4px",n.style.height=`${c}px`,n.style.opacity=".4",n.setAttribute("data-direction","right");else if(_){o.preventDefault();const T=(E=_.parentNode)==null?void 0:E.parentNode;(T==null?void 0:T.children.length)===4&&(n.style.background="red");const I=_.parentNode,M=Gu(T,I),O=M?_.getBoundingClientRect().left-g:N+30;n.style.transform=`translate(${O}px, ${l-h}px)`,n.style.width="4px",n.style.height=`${c}px`,n.style.opacity=".4",n.setAttribute("data-index",`${M}`)}else n.style.transform=`translate(${N}px, ${x}px)`,n.style.width=`${u+C}px`,n.style.opacity=".4",n.style.height="4px",n.setAttribute("data-direction","")}function Yk(n){n&&(n.style.opacity="0",n.style.transform="translate(-10000px, -10000px)")}const lc=(n,t,e)=>{var o,i,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)){tM(n,c),uw(n,c);const u=c.getPreviousSibling()??c.getNextSibling();(l=(i=u==null?void 0:u.getFirstChild)==null?void 0:i.call(u))==null||l.selectEnd()}const s=n.registerCommand(Ws,()=>(s(),!0),Ss);return!0},rM=ye(),ZY=n=>{const t=Z();if(W(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=ve(e,Ku),s=ve(e,Lr);return up(n,s,r)&&Ku(r)}return!0},GY=()=>{const n=Z();if(!W(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!Lr(r)||r.getOpen()?!1:(r.setOpen(!0),!0)},JY=()=>{var t;const n=Z();if(W(n)&&n.isCollapsed()&&n.anchor.offset===0){const e=ve(n.anchor.getNode(),Lr);if(Lr(e)){const r=e.getParent();r!==null&&r.getFirstChild()===e&&n.anchor.key===((t=e.getFirstDescendant())==null?void 0:t.getKey())&&e.insertBefore(Ce())}}return!1},VY=()=>{const n=Z();if(W(n)&&n.isCollapsed()){const t=ve(n.anchor.getNode(),Lr);if(Lr(t)){const e=t.getParent();if(e!==null&&e.getLastChild()===t){const r=t.getFirstDescendant(),s=t.getLastDescendant();(s!==null&&n.anchor.key===s.getKey()&&n.anchor.offset===s.getTextContentSize()||r!==null&&n.anchor.key===r.getKey()&&n.anchor.offset===r.getTextContentSize())&&t.insertAfter(Ce())}}}return!1},QY=n=>{const t=Z();if(W(t)&&t.isCollapsed()){const e=t.focus.getNode().getParent(),r=e==null?void 0:e.getParent();return lc(n,e,r)}return!1};function XY(){const[n]=Ee();return k.useEffect(()=>{if(!n.hasNodes([Rl,Di,Wo]))throw new Error("CollapsiblePlugin: CollapsibleContainerNode, CollapsibleTitleNode, or CollapsibleContentNode not registered on editor");return Xe(n.registerNodeTransform(Wo,t=>{const e=t.getParent();if(!Lr(e)){const r=t.getChildren();for(const s of r)t.insertBefore(s);t.remove()}}),n.registerNodeTransform(Di,t=>{const e=t.getParent();if(!Lr(e)){t.replace(Ce().append(...t.getChildren()));return}}),n.registerNodeTransform(Rl,t=>{const e=t.getChildren();if(e.length!==2||!ml(e[0])||!Ku(e[1])){for(const r of e)t.insertBefore(r);t.remove()}}),n.registerCommand(Po,()=>{var e;const t=Z();if(W(t)){const r=ve(t.anchor.getNode(),s=>ml(s));if(ml(r)){const s=r.getParent();if(s&&Lr(s))return s.getOpen()||s.toggleOpen(),(e=r.getNextSibling())==null||e.selectEnd(),!0}}return!1},Se),n.registerCommand(rM,()=>(n.update(()=>{const t=ew(),e=Ce(),r=Zt(),s=q0(!1).append(t.append(e),$0().append(Ce()));r==null||r.replace(s),e.select()}),!0),Se))},[n]),null}class vs extends hd{constructor(e,r=null,s){super(e,s);j(this,"__extendIds");j(this,"__resolve");this.__extendIds=e||[],this.__resolve=r}static getType(){return"extend-mark"}static clone(e){return new vs(e.__extendIds,e.__resolve,e.__key)}static importJSON(e){return new vs(e.ids)}static importDOM(){return{mark:r=>({conversion:()=>{const s=r.getAttribute("data-key"),o=s?s.split(" "):[],i=r.getAttribute("resolve"),l=document.createDocumentFragment();return Array.from(r.childNodes).forEach(c=>l.appendChild(c.cloneNode(!0))),{node:sM(o,i)}},priority:1})}}resolveThreat(e){const r=this.getWritable();return r.__resolve=e}createDOM(e){const r=document.createElement("mark");if(Qe(r,e.theme.mark),Qe(r,e.theme.markOverlap),r.style.background="transparent",r.style.border="none",this.__extendIds.length>0){const s=this.__extendIds.join(" ");r.setAttribute("data-key",s)}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,s){return this.__resolve&&r.setAttribute("resolve",this.__resolve),super.updateDOM(e,r,s)}exportJSON(){return{...super.exportJSON(),type:"extend-mark",ids:this.__extendIds}}excludeFromCopy(e){return!1}updateExtendId(e,r){const s=this.getWritable(),o=s.__extendIds.indexOf(e);o!==-1&&(s.__extendIds[o]=r)}}function sM(n,t=null){return Lt(new vs(n,t))}function hs(n){return n instanceof vs}function qY(n,t){if(n=n.trim(),n.startsWith("rgb"))return n.replace("rgb","rgba").replace(")",`, ${t})`);const e=n.replace("#",""),r=parseInt(e,16),s=r>>16&255,o=r>>8&255,i=r&255;return`rgba(${s}, ${o}, ${i}, ${t})`}const Nw=ye("INSERT_INLINE_COMMAND");function $Y(){var N;const[n]=Ee(),[t,e]=k.useState([]),[r,s]=k.useState(!1),o=k.useRef(new Map),{t:i}=ot.useTranslation(),l=(N=k.useContext(Mt))==null?void 0:N.commentController,{onHighlight:c,activeCommentId:u,actions:d,editorComments:h}=l??{onHighlight:void 0,activeCommentId:{id:"",source:""},actions:{add:async()=>{},delete:()=>{},restore:()=>{}},editorComments:new Map};k.useEffect(()=>{const E=document.documentElement,T=getComputedStyle(E).getPropertyValue("--mantine-primary-color-filled").trim()||"#4c6ef5",I=qY(T,.35);E.style.setProperty("--comment-selection-color",I)},[]),k.useEffect(()=>{const E=u==null?void 0:u.id;!E||u.source==="editor"||n.update(()=>{const T=g.get(E);if(!T)return;const I=Array.from(T).filter(O=>!!be(O)),M=be(I[0]);M&&hs(M)&&M.selectStart()})},[u==null?void 0:u.id,u==null?void 0:u.source]);const g=k.useMemo(()=>new Map,[]),p=k.useRef(h);k.useEffect(()=>{p.current=h},[h]);function m(E,T){n.update(()=>{const I=g.get(E);if(I)for(const M of I){const O=be(M);hs(O)&&O.resolveThreat(T)}})}function y(E){const T=g.get(E);!T||T.size===0||(n.update(()=>{for(const I of T){const M=be(I);hs(M)&&(M.deleteID(E),M.getIDs().length===0&&O1(M))}}),g.delete(E))}function w(E,T){T&&y(E)}k.useEffect(()=>{if(h){for(const[E,T]of h.entries()){const I=o.current.get(E);I&&(I.resolution!==T.resolution&&m(E,T.resolution),I.deleted!==T.deleted&&w(E,T.deleted))}o.current=new Map(h)}},[h]),k.useEffect(()=>{const E=[];if(t.length!==0){for(let T=0;T<t.length;T++){const I=t[0],M=g.get(I);if(M!==void 0)for(const O of M){const P=n.getElementByKey(O);P!==null&&(P.classList.add("selected"),E.push(P))}}return()=>{for(let T=0;T<E.length;T++)E[T].classList.remove("selected")}}},[t,n,g]),k.useEffect(()=>{const E=new Map;return Xe(d3(n,vs,T=>sM(T.getIDs()),(T,I)=>{T.getIDs().forEach(O=>{I.addID(O)})}),n.registerMutationListener(vs,T=>{n.getEditorState().read(()=>{for(const[I,M]of T){const O=be(I);let P=[];if(M==="created"&&hs(O)&&O.getIDs().forEach(z=>{var te;const H=(te=p.current)==null?void 0:te.get(z);H!=null&&H.deleted&&(d==null||d.restore(z))}),M==="destroyed"){const F=E.get(I)||[];for(const z of F)d==null||d.delete(z)}M==="destroyed"?P=E.get(I)||[]:hs(O)&&(P=O.getIDs());for(let F=0;F<P.length;F++){const z=P[F];let H=g.get(z);if(E.set(I,P),M==="destroyed"){let te=!1;for(const[le,ce]of T)if(ce==="created"){const ne=be(le);hs(ne)&&ne.getIDs().some(X=>P.includes(X))&&(te=!0)}te||H!==void 0&&(H.delete(I),H.size===0&&g.delete(z))}else H===void 0&&(H=new Set,g.set(z,H)),H.has(I)||H.add(I)}}})},{skipInitialization:!1}),n.registerUpdateListener(({editorState:T})=>{T.read(()=>{const I=Z();let M=!1;if(W(I)){const O=I.anchor.getNode();if(Kn(O)){const P=HU(O,I.anchor.offset);P!==null&&(c==null||c(P[0],"editor"),e(F=>F[0]===P[0]?F:P),M=!0)}}M||(c==null||c(null,"editor"),e(O=>O.length===0?O:[]))})}),n.registerCommand(Nw,()=>{const T=window.getSelection();return T!==null&&T.removeAllRanges(),s(!0),!0},Fe),n.registerCommand(Ul,T=>{if(!(T!=null&&T.clipboardData))return!1;T.preventDefault();const I=Z();if(!I||!I.getNodes().some(F=>hs(F)||hs(F.getParent())))return!1;const P=I.getTextContent();return T.clipboardData.setData("text/plain",P),!0},Se))},[n,g]);const x=k.useCallback((E,T,I)=>{n.getEditorState().read(()=>{const M=Z();if(W(M)){T.current=M.clone();const O=M.anchor,P=M.focus,F=n_(n,O.getNode(),O.offset,P.getNode(),P.offset);if(F!==null&&E!==null){const{left:z,bottom:H,top:te,width:le}=F.getBoundingClientRect(),ce=r_(n,F),ne=E.offsetHeight||200,X=window.pageYOffset||document.documentElement.scrollTop,he=window.innerHeight-H>ne+20;let q=ce.length===1?z+le/2-125:z-125;q<10&&(q=10),E.style.left=`${q}px`,E.style.top=he?`${H+10+X}px`:`${te-ne-55+X}px`;const K=ce.length,{container:J,elements:ee}=I,ie=ee.length;for(let ue=0;ue<K;ue++){const se=ce[ue];let Ae=ee[ue];Ae===void 0&&(Ae=document.createElement("span"),ee[ue]=Ae,J.appendChild(Ae));const pe=document.body.scrollHeight>window.innerHeight?0:8;Ae.style.cssText=`
|
|
61
|
+
position:absolute;
|
|
62
|
+
top:${se.top+X}px;
|
|
63
|
+
left:${se.left+pe}px;
|
|
64
|
+
height:${se.height}px;
|
|
65
|
+
width:${se.width}px;
|
|
66
|
+
background-color: var(--comment-selection-color, rgba(76, 110, 245, 0.35));
|
|
67
|
+
pointer-events:none;
|
|
68
|
+
z-index:5;
|
|
69
|
+
`}for(let ue=ie-1;ue>=K;ue--){const se=ee[ue];J.removeChild(se),ee.pop()}}}})},[n]);function C(E){n.update(()=>{const T=Z();if(!W(T))return;const I=T.isBackward(),M=T.getNodes(),O=new Set;for(const P of M){const F=P.getParent();if(hs(F)){if(O.has(F.getKey()))continue;O.add(F.getKey()),hs(F)&&F.getIDs().length>0&&O1(F)}}WU(T,I,E,P=>new vs(P,null))})}function v(){let E=!1;return n.getEditorState().read(()=>{const T=Z();if(!W(T))return;const I=T.getNodes();for(const M of I){const O=M.getParent();if(hs(O)&&O.getIDs().length>0){E=!0;break}}}),E}function _(E){return async T=>{if(T.mode!=="create")return;const I=v();let M="";n.getEditorState().read(()=>{const P=Z();W(P)&&(M=P.getTextContent())});const O=async()=>{const P=await(d==null?void 0:d.add({text:T.data.text,files:T.data.files},M));P&&(E(P),s(!1))};if(I){await new Promise((P,F)=>{bt.openRemoveConfirmModal({title:i("editor.composer.replaceComment.title"),children:i("editor.composer.replaceComment.description"),labels:{cancel:i("editor.composer.replaceComment.cancel"),confirm:i("editor.composer.replaceComment.confirm")},icon:null,onConfirm:async()=>{await O(),P()},onCancel:()=>{s(!1),F()}})});return}await O()}}return A.jsx(A.Fragment,{children:r&&Dr.createPortal(A.jsx(bt.CommentComposer,{updateLocation:x,onSubmit:_(C),onBlur:()=>s(!1),ns:"",children:E=>{const{handleBlur:T,setCommentDraft:I,editorRef:M}=E;return A.jsx(ZM,{initialContent:"",outputFormat:"html",debounce:1,editorRef:M,mode:"comment",placeholder:" ",shiftEnterInsertNewLine:!0,onBlur:T,onChange:O=>I(P=>({...P,text:O}))})}}),document.body)})}const Zk="startTransition",tb=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,eZ=tb?k.useLayoutEffect:k.useEffect;class tZ{constructor(t){j(this,"key");j(this,"ref");this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}}const Gk=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 Jk(n,t){const e=n.getBoundingClientRect(),r=t.getBoundingClientRect();return e.top>=r.top-6&&e.top<=r.bottom+6}function nZ(n,t,e,r){const[s]=Ee();k.useEffect(()=>{if(t!=null&&n!=null){const o=s.getRootElement(),i=o!=null?(function(h){let g=getComputedStyle(h);const p=g.position==="absolute",m=/(auto|scroll)/;if(g.position==="fixed")return document.body;for(let y=h;y=y.parentElement;)if(g=getComputedStyle(y),(!p||g.position!=="static")&&m.test(g.overflow+g.overflowY+g.overflowX))return y;return document.body})(o):document.body;let l=!1,c=Jk(t,i);const u=function(){l||(window.requestAnimationFrame(function(){e(),l=!1}),l=!0);const h=Jk(t,i);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,s,r,e,n])}const Vk=ye("SCROLL_TYPEAHEAD_OPTION_INTO_VIEW_COMMAND");function rZ({close:n,editor:t,anchorElementRef:e,resolution:r,options:s,menuRenderFn:o,onSelectOption:i,shouldSplitNodeWithQuery:l=!1,commandPriority:c=Se,preselectFirstItem:u=!0}){const[d,h]=k.useState(null),g=d!==null?Math.min(s.length-1,d):null,p=r.match&&r.match.matchingString;k.useEffect(()=>{u&&h(0)},[p,u]);const m=k.useCallback(w=>{t.update(()=>{const x=r.match!=null&&l?(function(C){const v=Z();if(!W(v)||!v.isCollapsed())return null;const _=v.anchor;if(_.type!=="text")return null;const N=_.getNode();if(!N.isSimpleText())return null;const E=_.offset,T=N.getTextContent().slice(0,E),I=C.replaceableString.length,M=E-(function(P,F,z){let H=z;for(let te=H;te<=F.length;te++)P.slice(-te)===F.substring(0,te)&&(H=te);return H})(T,C.matchingString,I);if(M<0)return null;let O;return M===0?[O]=N.splitText(E):[,O]=N.splitText(M,E),O})(r.match):null;i(w,x,n,r.match?r.match.matchingString:"")})},[t,l,r.match,i,n]),y=k.useCallback(w=>{const x=t.getRootElement();x!==null&&(x.setAttribute("aria-activedescendant","typeahead-item-"+w),h(w))},[t]);return k.useEffect(()=>()=>{const w=t.getRootElement();w!==null&&w.removeAttribute("aria-activedescendant")},[t]),eZ(()=>{s===null?h(null):g===null&&u&&y(0)},[s,g,y,u]),k.useEffect(()=>Xe(t.registerCommand(Vk,({option:w})=>!(!w.ref||w.ref.current==null)&&(Gk(w.ref.current),!0),c)),[t,y,c]),k.useEffect(()=>Xe(t.registerCommand(Ti,w=>{const x=w;if(s!==null&&s.length){const C=g===null?0:g!==s.length-1?g+1:0;y(C);const v=s[C];if(!v)return y(-1),x.preventDefault(),x.stopImmediatePropagation(),!0;v.ref&&v.ref.current&&t.dispatchCommand(Vk,{index:C,option:v}),x.preventDefault(),x.stopImmediatePropagation()}return!0},c),t.registerCommand(Xs,w=>{const x=w;if(s!==null&&s.length){const C=g===null?s.length-1:g!==0?g-1:s.length-1;y(C);const v=s[C];if(!v)return y(-1),x.preventDefault(),x.stopImmediatePropagation(),!0;v.ref&&v.ref.current&&Gk(v.ref.current),x.preventDefault(),x.stopImmediatePropagation()}return!0},c),t.registerCommand(cc,w=>{const x=w;return x.preventDefault(),x.stopImmediatePropagation(),n(),!0},c),t.registerCommand(dc,w=>{const x=w;return s!==null&&g!==null&&s[g]!=null&&(x.preventDefault(),x.stopImmediatePropagation(),m(s[g]),!0)},c),t.registerCommand(Cl,w=>s!==null&&g!==null&&s[g]!=null&&(w!==null&&(w.preventDefault(),w.stopImmediatePropagation()),m(s[g]),!0),c)),[m,n,t,s,g,y,c]),o(e,k.useMemo(()=>({options:s,selectOptionAndCleanUp:m,selectedIndex:g,setHighlightedIndex:h}),[m,g,s]),r.match?r.match.matchingString:"")}function Qk(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 sZ=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`;function oZ(n,{minLength:t=1,maxLength:e=75,punctuation:r=sZ,allowWhitespace:s=!1}){return k.useCallback(o=>{const i=new RegExp("(^|\\s|\\()(["+n+"]((?:"+("[^"+n+r+(s?"":"\\s")+"]")+"){0,"+e+"}))$").exec(o);if(i!==null){const l=i[1],c=i[3];if(c.length>=t)return{leadOffset:i.index+l.length,matchingString:c,replaceableString:i[2]}}return null},[s,n,r,e,t])}function oM({options:n,onQueryChange:t,onSelectOption:e,onOpen:r,onClose:s,menuRenderFn:o,triggerFn:i,anchorClassName:l,commandPriority:c=Se,parent:u,preselectFirstItem:d=!0,ignoreEntityBoundary:h=!1}){const[g]=Ee(),[p,m]=k.useState(null),y=(function(C,v,_,N=tb?document.body:void 0,E=!0){const[T]=Ee(),I=tb?document.createElement("div"):null,M=k.useRef(I),O=k.useCallback(()=>{if(M.current===null||N===void 0)return;M.current.style.top=M.current.style.bottom;const F=T.getRootElement(),z=M.current,H=z.firstChild;if(F!==null&&C!==null){const{left:te,top:le,width:ce,height:ne}=C.getRect(),X=M.current.offsetHeight;if(z.style.top=`${le+X+3+(E?window.pageYOffset:0)}px`,z.style.left=`${te+window.pageXOffset}px`,z.style.height=`${ne}px`,z.style.width=`${ce}px`,H!==null){H.style.top=`${le}`;const he=H.getBoundingClientRect(),q=he.height,K=he.width,J=F.getBoundingClientRect();te+K>J.right&&(z.style.left=`${J.right-K+window.pageXOffset}px`),(le+q>window.innerHeight||le+q>J.bottom)&&le-J.top>q+ne&&(z.style.top=`${le-q-ne+(E?window.pageYOffset:0)}px`)}z.isConnected||(Qk(z,_),N.append(z)),z.setAttribute("id","typeahead-menu"),F.setAttribute("aria-controls","typeahead-menu")}},[T,C,E,_,N]);k.useEffect(()=>{const F=T.getRootElement();return C!==null&&O(),()=>{F!==null&&F.removeAttribute("aria-controls");const z=M.current;z!==null&&z.isConnected&&(z.remove(),z.removeAttribute("id"))}},[T,O,C]);const P=k.useCallback(F=>{C!==null&&(F||v(null))},[C,v]);return nZ(C,M.current,O,P),I!=null&&I===M.current&&(Qk(I,_),N!=null&&N.append(I)),M})(p,m,l,u),w=k.useCallback(()=>{m(null),s!=null&&p!==null&&s()},[s,p]),x=k.useCallback(C=>{m(C),r!=null&&p===null&&r(C)},[r,p]);return k.useEffect(()=>{const C=g.registerUpdateListener(()=>{g.getEditorState().read(()=>{if(!g.isEditable())return void w();const v=g._window||window,_=v.document.createRange(),N=Z(),E=(function(M){let O=null;return M.getEditorState().read(()=>{const P=Z();W(P)&&(O=(function(F){const z=F.anchor;if(z.type!=="text")return null;const H=z.getNode();if(!H.isSimpleText())return null;const te=z.offset;return H.getTextContent().slice(0,te)})(P))}),O})(g);if(!W(N)||!N.isCollapsed()||E===null||_===null)return void w();const T=i(E,g);if(t(T?T.matchingString:null),T!==null&&(h||!(function(M,O){return O===0&&M.getEditorState().read(()=>{const P=Z();if(W(P)){const F=P.anchor.getNode().getPreviousSibling();return oe(F)&&F.isTextEntity()}return!1})})(g,T.leadOffset))&&(function(O,P,F){const z=is(F);if(z===null||!z.isCollapsed)return!1;const H=z.anchorNode,te=O,le=z.anchorOffset;if(H==null||le==null)return!1;try{P.setStart(H,te),P.setEnd(H,le)}catch{return!1}return!0})(T.leadOffset,_,v)!==null)return I=()=>x({getRect:()=>_.getBoundingClientRect(),match:T}),void(Zk in k?k[Zk](I):I());var I;w()})});return()=>{C()}},[g,i,t,p,w,x,h]),k.useEffect(()=>g.registerEditableListener(C=>{C||w()}),[g,w]),p===null||g===null||y.current===null?null:A.jsx(rZ,{close:w,resolution:p,editor:g,anchorElementRef:y,options:n,menuRenderFn:o,shouldSplitNodeWithQuery:!0,onSelectOption:e,commandPriority:c,preselectFirstItem:d})}const Xk=(n,t,e)=>{if(!n)return null;let r=null;return e.read(()=>{const s=Re(n);r=s&&Qb(s,t)}),r},Iw=ye("INSERT_EMBED_INTEGRATION_COMMAND ");function iZ(){const[n]=Ee();return k.useEffect(()=>{if(!n.hasNodes([kc]))throw new Error("EmbedPlugin: EmbedNode not registered on editor");return n.registerCommand(Iw,t=>{const e=sw(t,"100%","100%","",!0,"unknown"),r=Zt();return r&&r.getParent()&&(r==null||r.replace(e)),!0},Fe)},[n]),null}const Mw=ye(),lZ=n=>{const t=Z();if(W(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=ve(e,Kh),s=ve(e,Ks),{lexicalNode:o}=ic(e,n,{"layout-item":!0});if(o&&!o.getTextContent()&&r)return up(n,r,s)&&Ks(o)}return!0},aZ=n=>{const t=Z();if(W(t)&&t.isCollapsed()){const e=t.focus.getNode().getParent(),r=e==null?void 0:e.getParent();if((e==null?void 0:e.getTextContent())===`
|
|
70
|
+
|
|
71
|
+
`&&(an(e==null?void 0:e.getChildren()[0])||an(e==null?void 0:e.getChildren()[1])))return lc(n,e,r)}return!1};function cZ(){const[n]=Ee();return k.useEffect(()=>{if(!n.hasNodes([ss,Rr,Ts]))throw new Error("LayoutPlugin: LayoutContainerNode, or LayoutItemNode not registered on editor");return Xe(n.registerCommand(Mw,t=>(n.update(()=>{const e=tp(t),r=uZ(t);for(let o=0;o<r;o++)e.append(Ps().append(Ce()).append(ps()));const s=Zt();s&&(s==null||s.replace(e),e.selectStart())}),!0),Fe),n.registerCommand(zl,()=>{var o,i;const t=Z();if(!W(t))return!1;const e=(o=t.focus)==null?void 0:o.getNode(),r=(i=ve(e,Ks))==null?void 0:i.getKey(),s=e==null?void 0:e.getPreviousSibling();return setTimeout(()=>{n.update(()=>{if(s instanceof ss){const c=ps(),u=s.getLastChild();u==null||u.append(c)}const l=r?be(r):null;if(l!=null&&l.getChildren&&l.getChildren().length===1){const c=Ce();l.append(c),c.selectStart()}})},50),!1},bn),n.registerNodeTransform(Rr,t=>{const e=t.getParent();if(!Kh(e)){const r=t.getChildren();for(const s of r)t.insertBefore(s);t.remove()}}),n.registerNodeTransform(ss,t=>{const e=t.getChildren();if(!e.every(Ks)){for(const r of e)t.insertBefore(r);t.remove()}}))},[n]),k.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=Re(u);h&&h.selectStart()}),i(u,c),d.classList.add("dragging"))};let e=!1,r=0,s=[],o;function i(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];s[0]=p?p.getBoundingClientRect().width:0,s[1]=c.getBoundingClientRect().width;const m=w=>l(w,g,h),y=w=>{e=!1,n.dispatchCommand(jy,"up"),d&&d.style.pointerEvents==="none"&&(d.style.pointerEvents="auto");const x=w.target.closest(".dsd__theme__layoutContainer"),C=document.querySelector(".dsd__theme__layoutDivider.dragging");C&&C.classList.remove("dragging"),x&&n.update(()=>{Re(x).setTemplateColumns(x.style.gridTemplateColumns)}),document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",y)};document.addEventListener("mousemove",m),document.addEventListener("mouseup",y)}function l(c,u,d){if(!e)return;n.dispatchCommand(jy,"move");const h=c.clientX-r;if(Math.abs(h)<4||!u)return;const p=s[0]+h,m=s[1]-h;let y=u;const{columnGap:w,gap:x}=getComputedStyle(o),C=parseFloat(w||x||"0")||0,v=o.clientWidth-C*Math.max(0,d.length-1),_=y===1?50:100,N=100,E=Math.max(_,p),T=Math.max(N,m),I=E/v*100,M=T/v*100,O=Array.from(d).map((F,z)=>{const H=z?100:50;if(z===y-1)return`minmax(${H}px,${$y(I)}%)`;if(z===y)return`minmax(${H}px, ${$y(M)}%)`;const te=dp(o.style.gridTemplateColumns)[z];return`minmax(${H}px,${te})`}),P=document.querySelector(".dsd__theme__layoutDivider.dragging");if(P&&o){const F=o.clientHeight+"px";P.style.getPropertyValue("--height-column")!==F&&requestAnimationFrame(()=>{P.style.setProperty("--height-column",F)})}o.style.gridTemplateColumns=O.join(" ")}return document.body.addEventListener("mousedown",t),()=>{document.body.removeEventListener("mousedown",t)}},[n]),null}function uZ(n){return n.replace(/\(([^)]+)\)/g,e=>e.replace(/\s+/g,"")).trim().split(/\s+/).length}const iM=ye("INSERT_SWAGGER_COMMAND");function dZ(){const[n]=Ee();return k.useEffect(()=>{if(!n.hasNodes([yd]))throw new Error("SwaggerPlugin: SwaggerPlugin not registered on editor");return n.registerCommand(iM,t=>{const e=Zt();if(e&&e.getParent()){const r=lw(t,"",!0);e==null||e.replace(r)}return!0},Fe)},[n]),null}const fZ=()=>{var l;const n=Z(),t=n.anchor,e=n.focus,r=t.getNode(),s=e.getNode(),o=(l=r.getParent())==null?void 0:l.getIndexWithinParent();return(s instanceof wr||s.getParent()instanceof wr)&&(o===0||o||-1)&&t.key!==e.key?(n.removeText(),!0):!1};function nb(n){for(;n;){if(sp(n))return n;const t=n.getParent();if(!t)break;n=t}return null}const qk=n=>n.replace(/\s+/g," ").trim();function hZ(n){const t=n.getTextContent();return`<pre data-highlight-language="${n.__language}" data-language="${n.__language}" data-collapsed="${n.__isCollapsed}"><code>${t}</code></pre>`}function gZ(n){const t=Z();if(!t||!W(t)||!t.isCollapsed())return!1;const e=t.anchor.getNode(),r=nb(e);if(!r)return!1;const s=r.getChildren().find(es);return!s||s.getTextContent()!==""?!1:(n.update(()=>{const o=Ce();r.insertBefore(o),r.remove(),o.selectStart()}),!0)}const pZ=n=>{n.update(()=>{let t=Z();if(!t||Kt(t)&&(Y0(t),t=Z(),!t))return;if(!W(t)||t.isCollapsed()){Jl(t,()=>Wy("plain")());return}const e=t.getTextContent(),r=Wy("plain")(),s=r.getChildren().find(o=>es(o));t.insertNodes([r]),t=Z(),W(t)&&s&&es(s)&&s.append(Ko(e))})},mZ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAACWCAYAAAAff3ceAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGPRSURBVHgB7b1LyG1RUucZcfJW01iZpkU1dKcPqBr4mlWrAxFUUFAHCgWCIx0UOHPiY644VFBHjhzUQB3bDQrqQMGJImIXCIIKnUX7yFFDolbVwPSLuufcHWv/4h+x9jlXHeaC7ztn770e8fxHrLXX3sftffnsZz/37+IT8Z/ff/0P7/++zL5Yvli+WL5YXixh9n/d/pX/2L//zGf+qx9g8v/8m09/6su+9FP/Om7uftYzn9sb69im3gt02LOxdvUC191eo9XsepyPLR8rB9bZ8bSTx6t0P6u3G8vsX04uH1tesYOP1ZvaiW+u24vned3sNVvd0WJPaJp0b/bPs+NnMn7FBse+3iLs7//+v/v///m//bz/K/8/b2+fiF/4t//m05/+si/9pN3crwjiJ79PzNvFuandlXCu6jk+SWNc1J9o1DLx+4wulcNkQL5pq7Tt+NzRqd+nY57/mP52/b5yfZKDyXWWZ7a068c2/ahedu1eBdVnfSlIx0CLD/V0jBj6fcUm8/qVXP8pgWPr//cE5H0iYl/26U9+WfxD/Ofb+97/4ye/5H+9MnQl7EpZE/Lxc9fvVJT4nZBUmTuFXRm3DX3HRT/T96mPqZAO7Wsnv92xjncFmHFRZwI1vTaNN9H8qjNf8cqI+Uxn1NGz+rFpYy+0+Ri9TbTZ8H2qq+fUN6/kOpVnoK592/B9R8+q8+lP/uv7x3+43f/fbjcdYOqIxF1FshgI2EWeZw6zQ/5p7Ak8NOpPEcQ23yfh7s5re9IwRRt/Mg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uqdU23V2Ozbt27d27bt27B2bBnd3dDIHyvg7u9mzZsu9l3d3VN1VU3VNtt/UBQMDw+G8cxkOD1bbZyOdk+yXhL5JJJJeySXq37YnHIZPwPCS8JJJe6SSXolIEyMTjK8Dg9W/tjwcHoPRIj/MAAvU8P0//EAB8RAQEAAgMBAQEBAQAAAAAAAAEAAhARIEAwUGAhcP/aAAgBAwEDPwD/AJJx/B8a5/JZ8fH53NzcesiI/BWZnXHp5sp4uX/blnn2LOyOh7edcS2UySeTmfzTRDGk2zP043z+iMREadMz9+fwT4GudGyCI1xHy40NjH4LPZnRBoiNERpZfoySbIiGPORFjY2NjER1ZsrKyn1JZWUz4mbKyn9pmZnsvZuPIzOmdcTLMzBGudEafIREWNiaZ8J2I06IIjRHUiI8fGmZbnqzJpspmbKy2GuYiPyTscx2INER246n4xERERERERERERERERH7RGmbKZmZ7M9j3H1LGxsbHuzM7fgzMzMz5iIixsYjTLNzM2Usz8iIiOhERERG2dvZ+jZWUzMzNlZWUzs0eZ6keBnbM7ZZnQRERsiPuz9GZmfAREbPaRGiIiLGxsbGwiNMzNlM2UzPVmZmfwWZmZmZmZ06erP2I8LMzM/wrMz/AAZERERER4yOyz+E2VlMzMzMzP3Ieg6CxmfwCIiIiI0d2WymZmeiaNcd2fUREbI6ER8OIsWPC+oufqzMzPxZmZ6ERERGyPMRcQ/IiIiIiIiIjZFjEWNjERER1IiIiPzGfERYxpn+HZ+LMzM/hY2NjY2P8T//2Q==",gn={header:(n,t)=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsxs(D.Group,{p:8,gap:0,className:"hintBoard",children:[A.jsx(D.Title,{order:t,mb:"sm",mt:12-(t-1)*4,h:40-(t-1)*4,children:n("editor.heading.name")+` H${t}`}),A.jsx(D.Text,{size:"sm",h:80,lh:"21px",children:n("editor.menu.heading.hintShowCase",{projectName:"Layers"})})]})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n(`editor.menu.heading.h${t}.hintDescription`)})]}),ol:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsx(D.Group,{p:8,gap:0,w:"100%",h:150,className:"hintBoard",children:A.jsxs(D.List,{type:"ordered",mt:2,children:[A.jsx(D.List.Item,{fz:"sm",children:n("editor.menu.lists.numberList.hint.firstItem")}),A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondItem")}),A.jsxs(D.List,{pl:18,listStyleType:"upper-alpha",children:[A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.firstSubItem")}),A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondSubItem")}),A.jsxs(D.List,{pl:22,withPadding:!0,listStyleType:"lower-roman",children:[A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.firstSubSubItem")}),A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondSubSubItem")})]})]})]})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.lists.numberList.hint.description")})]}),ul:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsx(D.Group,{p:8,gap:0,w:"100%",h:150,className:"hintBoard",children:A.jsxs(D.List,{type:"unordered",mt:2,children:[A.jsx(D.List.Item,{fz:"sm",children:n("editor.menu.lists.numberList.hint.firstItem")}),A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondItem")}),A.jsxs(D.List,{pl:18,listStyleType:"circle",children:[A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.firstSubItem")}),A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondSubItem")}),A.jsxs(D.List,{pl:22,withPadding:!0,listStyleType:"square",children:[A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.firstSubSubItem")}),A.jsx(D.List.Item,{fz:"sm",mt:2,children:n("editor.menu.lists.numberList.hint.secondSubSubItem")})]})]})]})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.lists.bulletList.hint.description")})]}),checkList:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsx(D.Group,{p:8,gap:0,w:"100%",h:150,className:"hintBoard",pt:"sm",children:A.jsxs(D.Checkbox.Group,{defaultValue:["indeterminate","checked"],mt:4,children:[A.jsx(D.Checkbox,{radius:"sm",size:"xs",value:"indeterminate",indeterminate:!0,pb:3,label:n("editor.menu.lists.checkList.hint.indeterminate")}),A.jsxs(D.Checkbox.Group,{pl:18,defaultValue:["indeterminate"],children:[A.jsx(D.Checkbox,{radius:"sm",size:"xs",value:"unchecked",py:3,label:n("editor.menu.lists.checkList.hint.unchecked")}),A.jsx(D.Checkbox,{radius:"sm",size:"xs",value:"indeterminate",indeterminate:!0,py:3,label:n("editor.menu.lists.checkList.hint.indeterminate")}),A.jsxs(D.Checkbox.Group,{pl:18,defaultValue:["check"],children:[A.jsx(D.Checkbox,{value:"check",size:"xs",radius:"sm",py:3,label:n("editor.menu.lists.checkList.hint.checked")}),A.jsx(D.Checkbox,{radius:"sm",size:"xs",value:"unchecked",py:3,label:n("editor.menu.lists.checkList.hint.unchecked")})]})]}),A.jsx(D.Checkbox,{radius:"sm",size:"xs",value:"checked",pt:3,label:n("editor.menu.lists.checkList.hint.checked")})]})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.lists.checkList.hint.description")})]}),type:(n,t,e)=>r=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsxs(D.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(D.Box,{children:A.jsx(D.Text,{w:26,mr:"sm",ta:"center",children:n})}),A.jsx(D.Text,{size:"sm",lh:"21px",children:r("editor.menu.callout.default.hint.body",{projectName:"Layers"})})]})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:r("editor.menu.callout.warning.hint.description")})]}),paragraph:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Group,{p:8,pt:"sm",gap:0,className:"hintBoard",children:A.jsx(D.Text,{size:"sm",lh:"21px",children:n("editor.menu.main.paragraph.hint.text",{projectName:"Layers"})})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.paragraph.hint.description")})]}),quote:n=>A.jsxs(D.Group,{gap:0,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{p:"sm",gap:0,children:A.jsx(D.Group,{p:8,pt:"sm",gap:0,className:"hintBoard",children:A.jsx(D.Group,{gap:0,className:"quote",children:A.jsx(D.Text,{size:"sm",lh:"21px",children:n("editor.menu.main.quote.hint.text",{projectName:"Layers"})})})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.quote.hint.description")})]}),collapse:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",w:"100%",gap:0,children:A.jsx(D.Group,{p:8,pt:"sm",gap:0,w:"100%",h:150,className:"hintBoard",children:A.jsxs(D.List,{type:"unordered",children:[A.jsx(D.List.Item,{icon:A.jsx($.IconTriangleFilled,{size:8,className:"rotate-90deg"}),fz:"sm",children:n("editor.menu.main.collapse.hint.firstItemEmpty")}),A.jsx(D.List.Item,{icon:A.jsx($.IconTriangleFilled,{size:8,className:"rotate-180deg"}),fz:"sm",mt:2,children:n("editor.menu.main.collapse.hint.secondItem")}),A.jsxs(D.List,{pl:18,listStyleType:"circle",children:[A.jsx(D.List.Item,{fz:"sm",mt:3,icon:A.jsx($.IconTriangleFilled,{size:8,className:"rotate-90deg"}),children:n("editor.menu.main.collapse.hint.firstSubItemEmpty")}),A.jsx(D.List.Item,{fz:"sm",mt:2,icon:A.jsx($.IconTriangleFilled,{size:8,className:"rotate-180deg"}),children:n("editor.menu.main.collapse.hint.secondSubItem")}),A.jsxs(D.List,{pl:22,withPadding:!0,listStyleType:"square",children:[A.jsx(D.List.Item,{fz:"sm",mt:2,icon:A.jsx($.IconTriangleFilled,{size:8,className:"rotate-90deg"}),children:n("editor.menu.main.collapse.hint.firstSubSubItemEmpty")}),A.jsx(D.List.Item,{fz:"sm",mt:2,icon:A.jsx($.IconTriangleFilled,{size:8,className:"rotate-180deg"}),children:n("editor.menu.main.collapse.hint.secondSubSubItem")})]})]})]})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.collapse.hint.description")})]}),divider:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Group,{p:8,pt:"sm",gap:0,className:"hintBoard",children:A.jsxs(D.Box,{children:[A.jsx(D.Text,{size:"sm",lh:"21px",children:n("editor.menu.main.horizontal-rule.hint.topText")}),A.jsx(D.Divider,{my:"sm"}),A.jsx(D.Text,{size:"sm",lh:"21px",children:n("editor.menu.main.horizontal-rule.hint.bottomText")})]})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.horizontal-rule.hint.description")})]}),table:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Group,{gap:0,p:8,pt:"sm",className:"hintBoard",w:276,children:A.jsxs(D.Table,{p:8,withTableBorder:!0,withRowBorders:!0,withColumnBorders:!0,h:150,children:[A.jsx(D.Table.Thead,{children:A.jsxs(D.Table.Tr,{h:58,children:[A.jsxs(D.Table.Th,{fz:"sm",fw:400,miw:177,style:{position:"relative"},children:[A.jsx(D.ActionIcon,{className:"hintActionIcon",color:"var(--mantine-color-gray-light)",variant:"filled",size:14,style:{right:5,top:5},children:A.jsx(we,{stroke:1,size:10,name:"chevron-down"})}),A.jsx(D.ActionIcon,{className:"hintActionIcon",color:"var(--mantine-color-gray-light)",variant:"filled",size:14,style:{left:-7.5,bottom:-7},children:A.jsx(we,{stroke:1,size:10,name:"plus"})}),A.jsx(D.ActionIcon,{className:"hintActionIcon",color:"var(--mantine-color-gray-light)",variant:"filled",size:14,style:{right:-7.5,top:-7},children:A.jsx(we,{stroke:1,size:10,name:"plus"})}),n("editor.menu.main.table.hint.firstRow")]}),A.jsx(D.Table.Th,{w:177,fz:"sm",fw:400})]})}),A.jsxs(D.Table.Tbody,{children:[A.jsxs(D.Table.Tr,{h:47,children:[A.jsx(D.Table.Td,{}),A.jsx(D.Table.Td,{})]}),A.jsxs(D.Table.Tr,{children:[A.jsxs(D.Table.Td,{miw:177,children:[" ",A.jsx(D.Checkbox,{mt:-19,radius:"sm",size:"xs",value:"checked",defaultChecked:!0,indeterminate:!0,label:n("editor.menu.lists.checkList.hint.indeterminate")})]}),A.jsx(D.Table.Td,{miw:177,children:A.jsx(D.Text,{fz:"sm",fw:400,children:n("editor.menu.main.table.hint.secondRow")})})]})]})]})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.table.hint.description")})]}),grid:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Group,{gap:0,p:8,className:"hintBoard",w:276,children:A.jsxs(D.Flex,{align:"flex-start",gap:"sm",children:[A.jsx(D.Text,{size:"sm",lh:"21px",miw:180,children:n("editor.menu.main.grid.hint.firstColumn")}),A.jsx(D.Text,{size:"sm",lh:"21px",miw:180,children:n("editor.menu.main.grid.hint.secondColumn",{projectName:"Layers"})})]})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.grid.hint.description")})]}),code:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Group,{px:8,gap:0,className:"hintBoard",children:A.jsx(D.Image,{style:{flex:1},radius:"sm",fit:"cover",src:AZ,w:"110%",h:"110%"})})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.main.code.hint.description")})]}),image:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Image,{style:{border:"1px solid #E9ECEF",flex:1},radius:"sm",fit:"cover",src:wZ,w:"100%",h:"100%"})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.photo.hint.description")})]}),video:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsxs(D.Group,{px:"sm",pt:"sm",gap:0,children:[A.jsx(D.Image,{style:{border:"1px solid var(--mantine-color-default-border)",flex:1},radius:"sm",fit:"cover",src:CZ,w:"100%",h:"100%"}),A.jsx(D.Box,{w:274,style:{display:"flex",justifyContent:"center",alignItems:"center",position:"absolute"},children:A.jsx($.IconPlayerPlayFilled,{size:32})})]}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.video.hint.description")})]}),audio:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Image,{style:{border:"1px solid var(--mantine-color-default-border)",flex:1},radius:"sm",fit:"cover",src:mZ,w:"100%",h:"100%"})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.audio.hint.description")})]}),file:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Image,{style:{border:"1px solid var(--mantine-color-default-border)",flex:1},radius:"sm",fit:"cover",src:yZ,w:"100%",h:"100%"})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.file.hint.description")})]}),excalidraw:n=>A.jsxs(D.Group,{gap:10,style:{borderRadius:"var(--mantine-radius-lg)",backgroundColor:"var(--mantine-color-default-hover)"},children:[A.jsx(D.Group,{px:"sm",pt:"sm",gap:0,children:A.jsx(D.Image,{style:{border:"1px solid var(--mantine-color-default-border)",flex:1},radius:"sm",fit:"cover",src:bZ,w:"100%",h:"100%"})}),A.jsx(D.Text,{px:"sm",pb:"sm",size:"xs",lh:"14px",children:n("editor.menu.media.excalidraw.hint.description")})]})};function js(n,t,e){return e.filter(r=>n(r)).map(r=>t(r))}const xZ=["editor.menu.lists.bulletList.keywords.bulletsAlt1","editor.menu.lists.bulletList.keywords.bulletsAlt2"],vZ=["editor.menu.main.quote.keywords.quote","editor.menu.main.quote.keywords.mark","editor.menu.main.quote.keywords.citation"],SZ=["editor.menu.main.collapse.keywords.collapsibleList","editor.menu.main.collapse.keywords.expandList","editor.menu.main.collapse.keywords.hideList","editor.menu.main.collapse.keywords.turnList"],kZ=["editor.menu.main.horizontalRule.keywords.divider","editor.menu.main.horizontalRule.keywords.horizontalLine","editor.menu.main.horizontalRule.keywords.border"],EZ=["editor.menu.main.table.keywords.table"],TZ=["editor.menu.main.grid.keywords.net","editor.menu.main.grid.keywords.grid","editor.menu.main.grid.keywords.columns"],_Z=["editor.menu.main.code.keywords.code","editor.menu.main.code.keywords.snippet"],NZ=["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"],IZ=["editor.menu.media.form.keywords"],MZ=["editor.menu.media.video.keywords.video"],$k=(n,t,e)=>{const r=l=>e?js(e,t,l):[],s=r(xZ),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(s,o)},$i=(n,t,e)=>{const r=e?js(e,t,vZ):[],s=e?js(e,t,SZ):[],o=e?js(e,t,kZ):[],i=e?js(e,t,EZ):[],l=e?js(e,t,TZ):[],c=e?js(e,t,_Z):[];switch(n){case"quote":return["blockquote","quote"].concat(r);case"collapse":return["collapse","collapsiblelist","toggle"].concat(s);case"horizontal-rule":return["horizontalrule","divider","hr","line"].concat(o);case"table":return["table","spreadsheet","rows","columns"].concat(i);case"grid":return["columns","layout","grid"].concat(l);case"code":return["javascript","python","js","codeblock","code","snippet"].concat(c)}},Xc=(n,t,e)=>{const r=e?js(e,t,NZ):[],s=e?js(e,t,IZ):[],o=e?js(e,t,MZ):[];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(s);case"video":return["youtube","rutube","vkvideos","video","mp4","webm","media"].concat(o)}},Pn={size:18},LZ=[{type:"number",command:Kg,name:"editor.menu.lists.numberList.name",iconName:"number",hint:gn.ol,description:"editor.menu.lists.numberList.subtitle"},{type:"bullet",command:W0,name:"editor.menu.lists.bulletList.name",iconName:"bullet",hint:gn.ul,description:"editor.menu.lists.bulletList.subtitle"},{type:"check",command:H0,name:"editor.menu.lists.checkList.name",iconName:"check",hint:gn.checkList,description:"editor.menu.lists.checkList.subtitle"}],DZ=[{type:"default",command:"default",name:"editor.menu.callout.default.name",iconName:"defaultOff",hint:gn.type("🙂","","default"),description:"editor.menu.callout.default.subtitle"},{type:"alert",command:"alert",name:"editor.menu.callout.alert.name",iconName:"alert",hint:gn.type("❗","rgba(255, 224, 223, 1)","alert"),description:"editor.menu.callout.alert.subtitle"},{type:"success",command:"success",name:"editor.menu.callout.success.name",iconName:"success",hint:gn.type("✅","rgba(219, 242, 233, 1)","success"),description:"editor.menu.callout.success.subtitle"},{type:"warning",command:"warning",name:"editor.menu.callout.warning.name",iconName:"warning",hint:gn.type("⚠️","rgba(254, 247, 230)","warning"),description:"editor.menu.callout.warning.subtitle"}],OZ=n=>({1:n("editor.menu.heading.h1.subtitle"),2:n("editor.menu.heading.h2.subtitle"),3:n("editor.menu.heading.h3.subtitle")}),jn=(n,t,e)=>{n.update(()=>{let r=Zt();if(!e&&((r==null?void 0:r.__type)==="text"||(r==null?void 0:r.__type)==="listitem")){const s=Ce(),{lexicalNode:o}=ic(r,n,{root:!0,"layout-item":!0,callout:!0,"collapsible-content":!0});s.append(),o==null||o.insertAfter(s).selectStart(),t(s)}else t(r)})};function lM(n){return n?"active dropdown-item-active":""}const aM={flip:!0,size:{padding:8,apply({availableHeight:n,elements:t}){requestAnimationFrame(()=>{Object.assign(t.floating.style,{maxHeight:`${n>=425?425:n}px`})})}}};function RZ(n,t){return n==="swagger"?!0:t}function bA(n,t){n.update(()=>{const e=Z();e&&(Kt(e)&&Y0(e),Jl(Z(),t))})}function cM({editor:n,isToolbar:t,excludeNodes:e,t:r,exists:s}){const o=OZ(r),i=y=>{switch(y){case 1:return["heading1","hone","h1",r("editor.menu.heading.h1.keywords.headerOne")];case 2:return["heading2","htwo","h2",r("editor.menu.heading.h2.keywords.headerTwo")];case 3:return["heading3","hthree","h3",r("editor.menu.heading.h3.keywords.headerThree")]}},l=y=>r(y).toUpperCase(),c=()=>[1,2,3].map(y=>({parentKey:"heading",name:`${r("editor.heading.name")} ${y}`,description:o[y]||"Добавите заголовок",hint:gn.header(r,y),keywords:[`${i(y)}`,`${r(`editor.menu.heading.h${y}.keywords.header${y}`)}`,`${r(`editor.menu.heading.h${y}.keywords.heading`)}`,`${r(`editor.menu.heading.h${y}.keywords.h${y}`)}`],icon:A.jsx(we,{...Pn,radius:"xs",name:`h${y}`}),key:`${y}`,hide:e[`${y}`],"data-test-id":`block-type-h${y}`,onSelect:()=>{jn(n,()=>{bA(n,()=>Lo(`h${y}`))},t)}})),u=()=>LZ.map(({type:y,command:w,iconName:x,hint:C,description:v,name:_})=>({parentKey:"list",name:r(_),description:r(v),icon:A.jsx(we,{...Pn,name:x}),keywords:[`${$k(y,r,s)}`],key:y,hint:C(r),hide:e[y],"data-test-id":`block-type-${y}`,onSelect:()=>jn(n,()=>{n.dispatchCommand(w,void 0)},t)})),d=()=>[{parentKey:"main",name:r("editor.menu.main.paragraph.name"),description:r("editor.menu.main.paragraph.subtitle"),icon:A.jsx(we,{...Pn,name:"paragraph"}),keywords:[`${$i("paragraph",r,s)}`],key:"paragraph","data-test-id":"block-type-paragraph",hint:gn.paragraph(r),hide:e.paragraph||!t,onSelect:()=>jn(n,()=>{bA(n,()=>Ce())},t)},{parentKey:"main",name:r("editor.menu.main.quote.name"),description:r("editor.menu.main.quote.subtitle"),icon:A.jsx(we,{...Pn,name:"quote"}),keywords:[`${$i("quote",r,s)}`],key:"quote",hint:gn.quote(r),hide:e.quote,"data-test-id":"block-type-quote",onSelect:()=>jn(n,()=>{bA(n,()=>gd())},t)},{parentKey:"main",name:r("editor.menu.main.collapse.name"),description:r("editor.menu.main.collapse.subtitle"),icon:A.jsx(we,{...Pn,name:"caret-right"}),keywords:[`${$i("collapse",r,s)}`],key:"caret-right",hint:gn.collapse(r),hide:t||e["caret-right"],"data-test-id":"block-type-collapse",onSelect:()=>jn(n,()=>{n.dispatchCommand(rM,void 0)},t)},{parentKey:"main",name:r("editor.menu.main.horizontal-rule.name"),description:r("editor.menu.main.horizontal-rule.subtitle"),icon:A.jsx(we,{...Pn,name:"horizontal-rule"}),keywords:[`${$i("horizontal-rule",r,s)}`],hint:gn.divider(r),hide:t||e["horizontal-rule"],key:"horizontal-rule","data-test-id":"block-type-horizontal-rule",onSelect:()=>{jn(n,y=>{const w=y==null?void 0:y.getParent();if(Ks(w)){const x=bc(),C=y==null?void 0:y.replace(x);C==null||C.insertAfter(Ce())}else n.dispatchCommand(o2,void 0);!(y!=null&&y.getTextContent())&&!xc(y==null?void 0:y.getParent())&&(y==null||y.remove())},t)}},{parentKey:"main",name:r("editor.menu.main.table.name"),description:r("editor.menu.main.table.subtitle"),icon:A.jsx(we,{...Pn,name:"table"}),keywords:[`${$i("table",r,s)}`],key:"table",hint:gn.table(r),hide:t||e.table,"data-test-id":"block-type-table",onSelect:()=>jn(n,()=>{n.dispatchCommand(Wg,{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(we,{...Pn,name:"grid"}),keywords:[`${$i("grid",r,s)}`],hide:t||e.grid,hint:gn.grid(r),key:"grid","data-test-id":"block-type-grid",onSelect:()=>jn(n,()=>{n.dispatchCommand(Mw,mw)},t)},{parentKey:"main",name:r("editor.menu.main.code.name"),description:r("editor.menu.main.code.subtitle"),icon:A.jsx(we,{...Pn,name:"code"}),keywords:[`${$i("code",r,s)}`],key:"code",hint:gn.code(r),hide:e.code,"data-test-id":"block-type-code",onSelect:()=>jn(n,()=>{pZ(n)},t)}],h=()=>DZ.map(({type:y,command:w,iconName:x,hint:C,description:v,name:_})=>({parentKey:"callout",name:r(_),description:r(v),icon:A.jsx(we,{...Pn,name:x}),keywords:[`${$k(y,r,s)}`,`${r(`editor.menu.callout.${y}.keywords.heading`)}`,`${r(`editor.menu.callout.${y}.keywords.headingList`)}`,`${r(`editor.menu.callout.${y}.keywords.markers`)}`],key:y,hint:C(r),hide:e[y],"data-test-id":`block-type-${y}`,onSelect:()=>{jn(n,()=>{n.dispatchCommand(tw,w)},t)}})),g=()=>[{parentKey:"media",name:r("editor.menu.media.photo.name"),description:r("editor.menu.media.photo.subtitle"),icon:A.jsx(we,{...Pn,name:"photo"}),keywords:[`${Xc("photo",r,s)}`],hide:t||e.photo,hint:gn.image(r),key:"photo",onSelect:()=>{jn(n,()=>{n.dispatchCommand(Yh,{altText:"new-image",src:"",create:!0})},t)}},{parentKey:"media",name:r("editor.menu.media.video.name"),description:r("editor.menu.media.video.subtitle"),hint:gn.video(r),keywords:[`${Xc("video",r,s)}`],icon:A.jsx(we,{...Pn,name:"youtube"}),key:"video",hide:t||e.video,onSelect:()=>{jn(n,()=>{n.dispatchCommand(Ky,"")},t)}},{parentKey:"media",name:r("editor.menu.media.audio.name"),description:r("editor.menu.media.audio.subtitle"),hint:gn.audio(r),keywords:[`${Xc("audio",r,s)}`],icon:A.jsx(we,{...Pn,name:"music"}),key:"audio",hide:t||e.audio,onSelect:()=>{jn(n,()=>{n.dispatchCommand(Uy,"")},t)}},{parentKey:"media",name:r("editor.menu.media.file.name"),description:r("editor.menu.media.file.subtitle"),hint:gn.file(r),keywords:[`${Xc("file",r,s)}`],icon:A.jsx(we,{...Pn,name:"file"}),key:"file",hide:t||e.file,onSelect:()=>{jn(n,()=>{n.dispatchCommand(Yy,"")},t)}},{parentKey:"media",name:r("editor.menu.media.excalidraw.name"),description:r("editor.menu.media.excalidraw.subtitle"),hint:gn.excalidraw(r),keywords:[`${Xc("excalidraw",r,s)}`,"media"],icon:A.jsx(we,{...Pn,name:"palette"}),key:"excalidraw",hide:t||e.excalidraw,onSelect:()=>{e.excalidraw||Promise.resolve().then(()=>require("./layers.-tk2dEG5.js")).then(({INSERT_EXCALIDRAW_COMMAND:y})=>{jn(n,()=>{n.dispatchCommand(y,void 0)},t)})}}],p=()=>[{parentKey:"other",name:r("editor.menu.other.documents.name"),description:r("editor.menu.other.documents.subtitle"),icon:A.jsx(we,{...Pn,name:"book2"}),keywords:["page","document","child"],hide:t||e.childDocs,key:"childDocuments",onSelect:()=>{jn(n,()=>{n.dispatchCommand($I,void 0)},t)}},{parentKey:"other",name:r("editor.menu.other.emoji.name"),description:r("editor.menu.other.emoji.subtitle"),icon:A.jsx(we,{...Pn,name:"emoji"}),keywords:["emoji","smile"],key:"emoji",hide:t||e.emoji,onSelect:()=>{n.focus(),n.dispatchCommand(tI,void 0)}}],m=()=>[...Sc.map(y=>({...y,keywords:["iframe",...y.keywords],"data-test-id":`block-type-${y.platform}`,onSelect:()=>{jn(n,()=>{y.platform==="swagger"?n.dispatchCommand(iM,""):n.dispatchCommand(Iw,"")},t)},hide:RZ(y.platform,t)}))];return[{key:"heading",name:l("editor.menu.heading.title"),blocks:c()},{key:"list",name:l("editor.menu.lists.title"),blocks:u()},{key:"main",name:l("editor.menu.main.title"),blocks:d()},{key:"callout",name:l("editor.menu.callout.title"),blocks:h()},{key:"media",name:l("editor.menu.media.title"),blocks:g()},{key:"other",name:l("editor.menu.other.title"),blocks:p()},{key:"integrations",name:l("editor.menu.integrations.title"),blocks:m()}]}const BZ=(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&&(ve(t,ml)||ve(t,mt)||((r=ve(t,ut))==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 uM extends tZ{constructor(e,r,s,o,i,l){super(e);j(this,"key");j(this,"title");j(this,"description");j(this,"icon");j(this,"keywords");j(this,"keyboardShortcut");j(this,"onSelect");j(this,"hide");j(this,"parentKey");j(this,"index");j(this,"hint");this.key=e,this.title=r,this.hide=o,this.description=s,this.keywords=l.keywords||[],this.icon=l.icon,this.hint=l.hint,this.parentKey=i,this.index=0,this.keyboardShortcut=l.keyboardShortcut,this.onSelect=l.onSelect.bind(this)}}function PZ({index:n,isSelected:t,onClick:e,onMouseEnter:r,option:s}){return A.jsxs(D.HoverCard,{width:300,openDelay:200,closeDelay:0,shadow:"md",disabled:window.innerWidth<=800,position:"right",zIndex:1001,offset:-20,children:[A.jsx(D.HoverCard.Target,{children:A.jsxs("li",{tabIndex:-1,style:s.description?{padding:"12px 8px",flex:1}:{padding:"6px 8px",flex:1},className:"item",role:"option",id:"typeahead-item-"+n,ref:s.setRefElement,"aria-selected":t,onMouseEnter:r,onClick:e,"data-selected":t,"data-test-id":`block-type-${s.key}`,children:[s.icon,A.jsxs(D.Flex,{gap:0,direction:"column",justify:s.description?"flex-start":"center",ml:"sm",children:[A.jsx(D.Text,{style:{alignSelf:"flex-start"},mb:0,size:"sm",h:16,children:s.title}),s.description&&A.jsx(D.Text,{style:{alignSelf:"flex-start"},c:"dimmed",size:"xs",mb:0,h:14,children:s.description})]})]},s.key)}),s.hint&&A.jsx(D.HoverCard.Dropdown,{p:0,style:{borderRadius:"var(--mantine-radius-lg)"},children:s.hint})]})}function jZ(n,t){const e=[];if(t==null)return e;const r=t.match(/^([1-9]\d?)(?:x([1-9]\d?)?)?$/);if(r!==null){const s=r[1],o=r[2]?[r[2]]:[1,2,3,4,5,6,7,8,9,10].map(String);e.push(...o.map(i=>new uM("table",`${s}x${i} Table`,"",!1,"heading",{icon:A.jsx("i",{className:"icon table"}),keywords:["table"],onSelect:()=>n.dispatchCommand(Wg,{columns:i,rows:s})})))}return e}function FZ({editor:n,excludeNodes:t,t:e}){const r=cM({editor:n,isToolbar:!1,excludeNodes:t,t:e});let s=[],o={};r.forEach(l=>{o[l.key]=l,s=[...s,...l.blocks]});let i=[];return s.forEach(l=>{l.hide||(i=[...i,new uM(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:i}}function zZ({mode:n,setOpenedMenu:t,opened:e}){const[r]=Ee(),s=k.useRef({show:!0,key:"",isCheck:!0}),[o,i]=k.useState(null),[l,c]=k.useState(0),{t:u}=ot.useTranslation(),d=(l===100).toString(),{fetchUploadMedia:h,excludeNodes:g}=k.useContext(Mt),p=oZ("/",{minLength:0}),{options:m,groupOptions:y,groupedInitialOptions:w}=k.useMemo(()=>{const{groupedOptions:N,baseOptions:E}=FZ({editor:r,excludeNodes:g,t:u}),T=O=>{const P=O.reduce((F,z,H)=>{const te=z.parentKey;return F[te]||(F[te]=[]),F[te].push({...z,index:H}),F},{});return Object.entries(P).map(([F,z])=>({name:F,items:z}))};if(!o)return{options:E,groupOptions:T(E),groupedInitialOptions:N};const I=new RegExp(o,"i"),M=[...jZ(r,o),...E.filter(O=>I.test(O.title)||O.keywords.some(P=>I.test(P)))];return{options:M,groupOptions:T(M),groupedInitialOptions:N}},[r,h,n,o]),x=k.useCallback((N,E,T,I)=>{r.update(()=>{E==null||E.remove(),N.onSelect(I),T()})},[r]),C=N=>{const E=N.target;if(Xk(E,xs,r)){c(100),t(!1);return}(!(E!=null&&E.closest(".editor-scroller"))||E instanceof HTMLButtonElement)&&(t(!1),document.removeEventListener("click",C))};k.useEffect(()=>(e&&document.addEventListener("click",C),()=>{document.removeEventListener("click",C)}),[e]);const v=N=>{var O;if(!N){setTimeout(()=>{t(!0),c(P=>P+1)},50);return}const{x:E,y:T}=((O=N.getRect)==null?void 0:O.call(N))??{},I=document.elementFromPoint(E+1,T+1);!I||Xk(I,xs,r)||setTimeout(()=>{t(!0),c(P=>P+1)},50)},_=(N,E)=>{if(N.substring(0,1)!=="/")return p(N,E);const I=Zt();if(!I)return p(N,E);const M=BZ(N,I,s);return v(),p(M,E)};return A.jsx(A.Fragment,{children:A.jsx(oM,{onQueryChange:i,onSelectOption:x,triggerFn:_,options:m,onOpen:v,anchorClassName:"reset-anchor",onClose:()=>{t(!1)},menuRenderFn:(N,{selectedIndex:E,selectOptionAndCleanUp:T,setHighlightedIndex:I})=>A.jsx(A.Fragment,{children:N.current&&A.jsx(D.Portal,{target:N.current||document.body,children:A.jsxs(D.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:M,elements:O,y:P,placement:F}){requestAnimationFrame(()=>{Object.assign(O.floating.style,{maxHeight:`${M>=425?425:M}px`,top:F==="top-start"?`${P-20}px`:`${P}px`})})}}},closeOnItemClick:!1,position:"bottom-start",transitionProps:ao,children:[A.jsx(D.Menu.Target,{children:A.jsx("span",{})},l),A.jsx(D.Menu.Dropdown,{className:"typeahead-popover component-picker-menu",children:y.map(M=>{const O=w[M.name].name;return A.jsxs("div",{children:[A.jsx(D.Text,{ml:8,mt:12,size:"xs",c:"dimmed",children:O}),A.jsx("ul",{children:M.items.length&&M.items.map(P=>A.jsx(PZ,{index:P.index,isSelected:E===P.index,onClick:()=>{I(P.index),T(P)},onMouseEnter:()=>{I(P.index)},option:P},P.key))})]},O)})})]},d)})})})})}function UZ({isLoading:n}){const[t]=Ee();return k.useEffect(()=>{t.update(()=>{Me().getFirstChild()&&setTimeout(()=>{var s;(s=t._rootElement)==null||s.setAttribute("contenteditable","true")},0)})},[t,n]),null}const KZ=n=>n.getEditorState().read(()=>Me().getChildrenKeys()).map(e=>({key:e,node:be(e),htmlElement:n.getElementByKey(e)})),dM=(n,t,e)=>{let r;if(Gs(n)){const l=n.getTag();switch(r=t("editor.heading.name"),l){case"h1":{r+=" 1";break}case"h2":{r+=" 2";break}case"h3":{r+=" 3";break}case"h4":{r+=" 4";break}case"h5":{r+="5";break}case"h6":{r+="6";break}}}const s=ve(n,mt),o=ve(n,ml);return(an(n)?n:an(n.getParent())?n.getParent():null)&&!s&&!o&&(r=e||t("editor.placeholder")),r},wA="node-placeholder";let Df=null;const WZ=n=>n instanceof HTMLHeadingElement,HZ=({selection:n,editor:t,t:e,customPlaceholder:r})=>{var l,c;const s=KZ(t);if(s[0]&&s.length===0&&s[0].htmlElement&&!WZ(s[0].htmlElement)){const u=t.getElementByKey(n.anchor.getNode().__key);(l=u==null?void 0:u.classList)==null||l.remove(wA),u==null||u.removeAttribute("data-placeholder");return}const o=n.anchor,i=dM(o.getNode(),e,r);if(i){const u=o.getNode().getTextContentSize(),d=t.getElementByKey(o.key);if(u===0&&(d==null||d.classList.add(wA),d==null||d.setAttribute("data-placeholder",i)),Df&&(Df!==o.key||u!==0)){const h=t.getElementByKey(Df);(c=h==null?void 0:h.classList)==null||c.remove(wA),h==null||h.removeAttribute("data-placeholder")}Df=o.key}},YZ=(n,t,e)=>{n.getEditorState().read(()=>{const r=Z();W(r)&&HZ({selection:r,editor:n,t,customPlaceholder:e})})},ZZ=()=>{const[n]=Ee(),{t}=ot.useTranslation(),{placeholder:e}=k.useContext(Mt);return k.useEffect(()=>(n.read(()=>{const s=Me().getChildren();if(s.length===1){const o=s[0];o.getTextContent()||setTimeout(()=>{n.update(()=>{const l=n.getElementByKey(o.getKey()),c=dM(o,t,e);l&&c&&(l.classList.add("node-placeholder"),l.setAttribute("data-placeholder",c))})})}}),n.registerUpdateListener(()=>{YZ(n,t,e)})),[n,e]),null};function Of(n){return n instanceof HTMLElement}function Vh(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 fM(){document.addEventListener("wheel",Vh,{passive:!1}),document.addEventListener("touchmove",Vh,{passive:!1})}function hM(){document.removeEventListener("wheel",Vh),document.removeEventListener("touchmove",Vh)}const GZ=({hoveredButton:n,insertNewParagraph:t,currentDraggableBlockRef:e,setHoveredButton:r,isClickedBlockRef:s,setDraggableBlockElem:o,editor:i,t:l})=>A.jsx("div",{className:`icon add-block-menu ${n?"active":""}`,onClick:()=>{t({blockElement:e.current.htmlElement,editor:i,isTop:!1,isClickedBlockRef:s,setDraggableBlockElem:o}),r("both")},onMouseEnter:()=>{r("bottom")},onMouseLeave:()=>{r("both")},children:A.jsx(D.Tooltip,{openDelay:300,label:l("editor.hoverOptions.addNewBlockAbove"),position:"bottom",disabled:s.current||!n,children:A.jsx(D.ActionIcon,{radius:"sm",color:"gray",size:"xs",variant:"subtle","aria-label":"Settings",children:n==="bottom"?A.jsx($.IconPlus,{}):A.jsx($.IconMinus,{})})})}),JZ=({hoveredButton:n,insertNewParagraph:t,currentDraggableBlockRef:e,setHoveredButton:r,isClickedBlockRef:s,setDraggableBlockElem:o,editor:i,t:l})=>A.jsx("div",{className:`icon add-block-menu add-block-menu_top ${n?"active":""}`,onClick:()=>{t({blockElement:e.current.htmlElement,editor:i,isTop:!0,isClickedBlockRef:s,setDraggableBlockElem:o}),r("both")},onMouseEnter:()=>{r("top")},onMouseLeave:()=>{r("both")},children:A.jsx(D.Tooltip,{disabled:s.current||!n,openDelay:300,label:l("editor.hoverOptions.addNewBlockBelow"),position:"top",children:A.jsx(D.ActionIcon,{radius:"sm",color:"gray",size:"xs",variant:"subtle","aria-label":"Settings",children:n==="top"?A.jsx($.IconPlus,{}):A.jsx($.IconMinus,{})})})}),CA=({label:n,icon:t,dataNameAttribute:e})=>A.jsxs("div",{className:"custom-menu-item","data-test-id":e||"color-picker",children:[A.jsxs("div",{children:[t,A.jsx("span",{children:n})]}),A.jsx(we,{name:"chevron-right"})]}),VZ={bullet:"Маркированный список",check:"Чек-лист",code:"Кодовый блок",h1:"Заголовок 1",h2:"Заголовок 2",h3:"Заголовок 3",h4:"Заголовок 4",h5:"Заголовок 5",h6:"Заголовок 6",number:"Нумерованный список",paragraph:"Параграф",quote:"Цитата"};function gM({editor:n,blockType:t,disabled:e=!1,mode:r,fetchUploadMedia:s,excludeNodes:o,children:i,menuProps:l,onChange:c}){const[u,d]=cp(),{t:h,i18n:g}=ot.useTranslation(),p=k.useMemo(()=>cM({editor:n,isToolbar:!0,excludeNodes:o,t:h}).map(m=>({...m,blocks:m.blocks.filter(y=>!y.hide)})),[n,d,s,r,g.language]);return A.jsxs(A.Fragment,{children:[u,A.jsxs(D.Menu,{shadow:"md",styles:{dropdown:{overflow:"auto",zIndex:1e3,overscrollBehavior:"contain"}},middlewares:aM,position:"bottom-start",transitionProps:ao,...l,children:[A.jsx(D.Menu.Target,{children:i||A.jsx(D.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:VZ[t],type:"button","data-test-id":"toolbar-block-controls",children:[A.jsx(we,{size:18,mr:5,name:t}),A.jsx(we,{name:"chevron-down"})]})})}),A.jsx(D.Menu.Dropdown,{children:p.map(m=>A.jsxs("div",{children:[m.blocks.length!==0&&A.jsx(D.Menu.Label,{children:m.name}),m.blocks.map(y=>A.jsx(k.Fragment,{children:A.jsx(D.Menu.Item,{className:"item "+lM(y.key==="1"),leftSection:y.icon,onClick:()=>{y.onSelect(),c&&c()},"data-test-id":y["data-test-id"],children:y.name})},y.key))]},m.key))})]})]})}function pM(n,t){var o,i;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=((i=t.getChildren)==null?void 0:i.call(t))??[];for(const u of c){const d=pM(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 s=typeof t.getTextContent=="function"?t.getTextContent():"";return s?document.createTextNode(s):null}async function eE(n,t){const e=n.getRootElement(),r=Array.from(e.querySelectorAll(".selected-block"));if(!r.length)return;let s="",o="";n.getEditorState().read(()=>{n.update(()=>{let i=r.map(c=>Re(c)).filter(c=>!!c);s=i.map(c=>typeof c.getTextContent=="function"?c.getTextContent():"").filter(Boolean).join(`
|
|
72
|
+
`);const l=document.createElement("div");i.forEach(c=>{const u=pM(n,c);t==="cut"&&c.remove(),u&&l.appendChild(u)}),o=l.innerHTML})}),(s||o)&&await QZ(s,o)}async function QZ(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 tE=(n,t,e,r)=>{if(e)if(r==="layout"){const s=e.getParent(),o=s.getParent();lc(n,s,o),t("delete")}else{const s=e==null?void 0:e.getParent();if(s instanceof Rr&&s.getChildren().length===2){const o=s,i=s.getParent();if(e.__type==="image"){o.append(Ce());return}lc(n,o,i)}uw(n,e),t("delete")}},XZ=n=>{const t=n._rootElement;return Array.from(t.querySelectorAll(".selected-block"))},rb=(n,t,e,r=!1)=>{t&&n.update(()=>{const s=n.getElementByKey(t.getParent().getKey());FY(n,s,e,r)})},qZ=(n,t,e,r)=>{if(r==="layout")rb(n,e,"right",!0);else{const s=n._rootElement,o=Array.from(s.querySelectorAll(".selected-block")).reverse();o.length&&(n.update(()=>{const i=Re(o[0]);o.forEach(l=>{let c=Re(l);c&&(i==null||i.insertAfter(Au(c))),Ui(l)})}),t())}},$Z=({editor:n,onChange:t,currentEditorNode:e,textBlock:r,t:s,isDisabledAddColumnButton:o,disabledMoveColumnButtons:i})=>{const{fetchUploadMedia:l,excludeNodes:c}=k.useContext(Mt),[u,d]=k.useState("inherit"),[h,g]=k.useState("inherit"),[p,m]=k.useState("inherit"),[y,w]=k.useState("");k.useEffect(()=>{const _=e==null?void 0:e.__type;n.read(()=>{var N;((N=e==null?void 0:e.getParent())==null?void 0:N.__type)==="layout-item"?w("layout"):w(_==="callout-wrapper"?_:"block")})},[e==null?void 0:e.__key]);const x=_=>{n.update(()=>{const N=Z();N&&Ah(N,_)})},C=(_,N)=>{const E=N||y;E==="callout-wrapper"&&e instanceof Ho?n.update(()=>{const T=kI(_);e.setType(T?_.meta.type:void 0),e.setBackgroundColor(_.value)}):E==="layout-color"?n.update(()=>{const T=e==null?void 0:e.getParent(),I=_.value===h?"inherit":_.value;T instanceof Rr&&T.setLayoutBackground(I)}):x({color:p,"background-color":u,[_.mode==="color"?"color":"background-color"]:_.value})},v=_=>{const N=XZ(n);N.length?N.forEach(E=>{n.update(()=>{let T=Re(E);T&&tE(n,t,T,_)})}):n.update(()=>{let E=Re(N[0]);tE(n,t,E,_)})};return k.useEffect(()=>{setTimeout(()=>{n.read(()=>{if(y==="callout-wrapper"&&e instanceof Ho){d(e.__backgroundColor);return}const _=e==null?void 0:e.getParent();_ instanceof Rr&&g(_.__backgroundColor);const N=Z();W(N)&&(m(yh(N,"color","inherit")),d(yh(N,"background-color","inherit")))})})},[]),A.jsxs(A.Fragment,{children:[A.jsx(D.Menu.Item,{onMouseDown:_=>{_.preventDefault(),eE(n,"copy"),t("copy")},leftSection:A.jsx($.IconClipboard,{style:{width:D.rem(14),height:D.rem(14)}}),"data-test-id":"copy-draggable",children:s("editor.link.copy")}),A.jsx(D.Menu.Item,{onMouseDown:_=>{_.preventDefault(),eE(n,"cut"),t("cut")},"data-test-id":"cut-draggable",leftSection:A.jsx($.IconCut,{style:{width:D.rem(14),height:D.rem(14)}}),children:s("editor.contextMenu.cut")}),A.jsx(D.Menu.Item,{"data-test-id":"delete-draggable",onClick:()=>v(""),leftSection:A.jsx($.IconTrash,{style:{width:D.rem(14),height:D.rem(14)}}),children:s("editor.contextMenu.delete")}),A.jsx(D.Menu.Item,{"data-test-id":"duplicate-draggable",disabled:y==="layout"&&o,onClick:()=>qZ(n,t,e,y),leftSection:A.jsx($.IconCopy,{style:{width:D.rem(14),height:D.rem(14)}}),children:s("editor.contextMenu.duplicate")}),r==="text"&&y!=="callout-wrapper"&&A.jsxs(A.Fragment,{children:[A.jsx(D.Menu.Divider,{}),A.jsx(gM,{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(CA,{label:s("editor.toolbar.turnInto"),dataNameAttribute:"turn-into",icon:A.jsx($.IconArrowsRightLeft,{style:{width:D.rem(14),height:D.rem(14)}})})})})]}),(r==="text"||y=="callout-wrapper")&&A.jsxs(A.Fragment,{children:[A.jsx(D.Menu.Divider,{}),A.jsx(bt.NewColorPicker,{data:{callout:{label:s("editor.colors.theme"),filled:!0,palette:SI.map(_=>({label:s(`editor.colors.callout.${_.name}`),value:D.alpha(_.color,.19),icon:_.icon,meta:{type:_.name,emoji:_.emoji}}))}},modes:y==="callout-wrapper"?["callout","background"]:["color","background"],value:{color:p,background:u,callout:u},onChange:_=>{C(_),t()},hideInherit:!0,target:A.jsx("div",{children:A.jsx(CA,{dataNameAttribute:"color-picker",label:s(y==="callout-wrapper"?"editor.contextMenu.appearance":"editor.toolbar.color"),icon:A.jsx($.IconPaint,{size:14})})}),menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}}})]}),y==="layout"&&A.jsxs(A.Fragment,{children:[A.jsx(D.Menu.Divider,{}),A.jsx(bt.NewColorPicker,{modes:["background"],value:{background:h},onChange:_=>{C(_,"layout-color"),t()},hideInherit:!0,target:A.jsx("div",{children:A.jsx(CA,{label:s("editor.column.changeColor"),icon:A.jsx($.IconPaint,{size:14})})}),menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:0,alignmentAxis:0}}}),A.jsx(D.Menu.Item,{disabled:o,onClick:()=>{rb(n,e,"left")},leftSection:A.jsx($.IconColumnInsertLeft,{style:{width:D.rem(14),height:D.rem(14)}}),"data-test-id":"column-left",children:s("editor.column.addLeft")}),A.jsx(D.Menu.Item,{disabled:o,"data-test-id":"column-right",onClick:()=>{rb(n,e,"right")},leftSection:A.jsx($.IconColumnInsertRight,{style:{width:D.rem(14),height:D.rem(14)}}),children:s("editor.column.addRight")}),A.jsx(D.Menu.Item,{disabled:i.left,"data-test-id":"column-move-left",onClick:()=>{Uk(n,e,"left"),Hh(n)},leftSection:A.jsx($.IconColumnInsertRight,{style:{width:D.rem(14),height:D.rem(14)}}),children:s("editor.column.moveLeft")}),A.jsx(D.Menu.Item,{disabled:i.right,"data-test-id":"column-move-right",onClick:()=>{Uk(n,e,"right"),Hh(n)},leftSection:A.jsx($.IconColumnInsertRight,{style:{width:D.rem(14),height:D.rem(14)}}),children:s("editor.column.moveRight")}),A.jsx(D.Menu.Item,{"data-test-id":"column-delete",onClick:()=>v("layout"),leftSection:A.jsx($.IconTrash,{style:{width:D.rem(14),height:D.rem(14)}}),children:s("editor.column.deleteColumn")})]})]})};var ou={exports:{}};/**
|
|
73
|
+
* @license
|
|
74
|
+
* Lodash <https://lodash.com/>
|
|
75
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
76
|
+
* Released under MIT license <https://lodash.com/license>
|
|
77
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
78
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
79
|
+
*/var eG=ou.exports,nE;function tG(){return nE||(nE=1,(function(n,t){(function(){var e,r="4.17.21",s=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,g=2,p=4,m=1,y=2,w=1,x=2,C=4,v=8,_=16,N=32,E=64,T=128,I=256,M=512,O=30,P="...",F=800,z=16,H=1,te=2,le=3,ce=1/0,ne=9007199254740991,X=17976931348623157e292,he=NaN,q=4294967295,K=q-1,J=q>>>1,ee=[["ary",T],["bind",w],["bindKey",x],["curry",v],["curryRight",_],["flip",M],["partial",N],["partialRight",E],["rearg",I]],ie="[object Arguments]",ue="[object Array]",se="[object AsyncFunction]",Ae="[object Boolean]",Ne="[object Date]",pe="[object DOMException]",Ie="[object Error]",$e="[object Function]",pt="[object GeneratorFunction]",Ye="[object Map]",wt="[object Number]",Ct="[object Null]",Oe="[object Object]",Le="[object Promise]",it="[object Proxy]",Gt="[object RegExp]",Dt="[object Set]",ur="[object String]",Pe="[object Symbol]",st="[object Undefined]",At="[object WeakMap]",Ft="[object WeakSet]",zt="[object ArrayBuffer]",at="[object DataView]",er="[object Float32Array]",Wt="[object Float64Array]",tr="[object Int8Array]",nr="[object Int16Array]",co="[object Int32Array]",Ki="[object Uint8Array]",Nc="[object Uint8ClampedArray]",dr="[object Uint16Array]",$o="[object Uint32Array]",GM=/\b__p \+= '';/g,JM=/\b(__p \+=) '' \+/g,VM=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jw=/&(?:amp|lt|gt|quot|#39);/g,Fw=/[&<>"']/g,QM=RegExp(jw.source),XM=RegExp(Fw.source),qM=/<%-([\s\S]+?)%>/g,$M=/<%([\s\S]+?)%>/g,zw=/<%=([\s\S]+?)%>/g,eL=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tL=/^\w*$/,nL=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gp=/[\\^$.*+?()[\]{}|]/g,rL=RegExp(gp.source),pp=/^\s+/,sL=/\s/,oL=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,iL=/\{\n\/\* \[wrapped with (.+)\] \*/,lL=/,? & /,aL=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cL=/[()=,{}\[\]\/\s]/,uL=/\\(\\)?/g,dL=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Uw=/\w*$/,fL=/^[-+]0x[0-9a-f]+$/i,hL=/^0b[01]+$/i,gL=/^\[object .+?Constructor\]$/,pL=/^0o[0-7]+$/i,mL=/^(?:0|[1-9]\d*)$/,AL=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kd=/($^)/,yL=/['\n\r\u2028\u2029\\]/g,Ed="\\ud800-\\udfff",bL="\\u0300-\\u036f",wL="\\ufe20-\\ufe2f",CL="\\u20d0-\\u20ff",Kw=bL+wL+CL,Ww="\\u2700-\\u27bf",Hw="a-z\\xdf-\\xf6\\xf8-\\xff",xL="\\xac\\xb1\\xd7\\xf7",vL="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",SL="\\u2000-\\u206f",kL=" \\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",Yw="A-Z\\xc0-\\xd6\\xd8-\\xde",Zw="\\ufe0e\\ufe0f",Gw=xL+vL+SL+kL,mp="['’]",EL="["+Ed+"]",Jw="["+Gw+"]",Td="["+Kw+"]",Vw="\\d+",TL="["+Ww+"]",Qw="["+Hw+"]",Xw="[^"+Ed+Gw+Vw+Ww+Hw+Yw+"]",Ap="\\ud83c[\\udffb-\\udfff]",_L="(?:"+Td+"|"+Ap+")",qw="[^"+Ed+"]",yp="(?:\\ud83c[\\udde6-\\uddff]){2}",bp="[\\ud800-\\udbff][\\udc00-\\udfff]",ra="["+Yw+"]",$w="\\u200d",eC="(?:"+Qw+"|"+Xw+")",NL="(?:"+ra+"|"+Xw+")",tC="(?:"+mp+"(?:d|ll|m|re|s|t|ve))?",nC="(?:"+mp+"(?:D|LL|M|RE|S|T|VE))?",rC=_L+"?",sC="["+Zw+"]?",IL="(?:"+$w+"(?:"+[qw,yp,bp].join("|")+")"+sC+rC+")*",ML="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",LL="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",oC=sC+rC+IL,DL="(?:"+[TL,yp,bp].join("|")+")"+oC,OL="(?:"+[qw+Td+"?",Td,yp,bp,EL].join("|")+")",RL=RegExp(mp,"g"),BL=RegExp(Td,"g"),wp=RegExp(Ap+"(?="+Ap+")|"+OL+oC,"g"),PL=RegExp([ra+"?"+Qw+"+"+tC+"(?="+[Jw,ra,"$"].join("|")+")",NL+"+"+nC+"(?="+[Jw,ra+eC,"$"].join("|")+")",ra+"?"+eC+"+"+tC,ra+"+"+nC,LL,ML,Vw,DL].join("|"),"g"),jL=RegExp("["+$w+Ed+Kw+Zw+"]"),FL=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zL=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","U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n.nodeType&&n,lC=Wi&&Wi.exports===Cp,xp=lC&&iC.process,Pr=(function(){try{var V=Wi&&Wi.require&&Wi.require("util").types;return V||xp&&xp.binding&&xp.binding("util")}catch{}})(),aC=Pr&&Pr.isArrayBuffer,cC=Pr&&Pr.isDate,uC=Pr&&Pr.isMap,dC=Pr&&Pr.isRegExp,fC=Pr&&Pr.isSet,hC=Pr&&Pr.isTypedArray;function xr(V,ae,re){switch(re.length){case 0:return V.call(ae);case 1:return V.call(ae,re[0]);case 2:return V.call(ae,re[0],re[1]);case 3:return V.call(ae,re[0],re[1],re[2])}return V.apply(ae,re)}function VL(V,ae,re,Te){for(var Ge=-1,yt=V==null?0:V.length;++Ge<yt;){var An=V[Ge];ae(Te,An,re(An),V)}return Te}function jr(V,ae){for(var re=-1,Te=V==null?0:V.length;++re<Te&&ae(V[re],re,V)!==!1;);return V}function QL(V,ae){for(var re=V==null?0:V.length;re--&&ae(V[re],re,V)!==!1;);return V}function gC(V,ae){for(var re=-1,Te=V==null?0:V.length;++re<Te;)if(!ae(V[re],re,V))return!1;return!0}function ei(V,ae){for(var re=-1,Te=V==null?0:V.length,Ge=0,yt=[];++re<Te;){var An=V[re];ae(An,re,V)&&(yt[Ge++]=An)}return yt}function _d(V,ae){var re=V==null?0:V.length;return!!re&&sa(V,ae,0)>-1}function vp(V,ae,re){for(var Te=-1,Ge=V==null?0:V.length;++Te<Ge;)if(re(ae,V[Te]))return!0;return!1}function Jt(V,ae){for(var re=-1,Te=V==null?0:V.length,Ge=Array(Te);++re<Te;)Ge[re]=ae(V[re],re,V);return Ge}function ti(V,ae){for(var re=-1,Te=ae.length,Ge=V.length;++re<Te;)V[Ge+re]=ae[re];return V}function Sp(V,ae,re,Te){var Ge=-1,yt=V==null?0:V.length;for(Te&&yt&&(re=V[++Ge]);++Ge<yt;)re=ae(re,V[Ge],Ge,V);return re}function XL(V,ae,re,Te){var Ge=V==null?0:V.length;for(Te&&Ge&&(re=V[--Ge]);Ge--;)re=ae(re,V[Ge],Ge,V);return re}function kp(V,ae){for(var re=-1,Te=V==null?0:V.length;++re<Te;)if(ae(V[re],re,V))return!0;return!1}var qL=Ep("length");function $L(V){return V.split("")}function eD(V){return V.match(aL)||[]}function pC(V,ae,re){var Te;return re(V,function(Ge,yt,An){if(ae(Ge,yt,An))return Te=yt,!1}),Te}function Nd(V,ae,re,Te){for(var Ge=V.length,yt=re+(Te?1:-1);Te?yt--:++yt<Ge;)if(ae(V[yt],yt,V))return yt;return-1}function sa(V,ae,re){return ae===ae?fD(V,ae,re):Nd(V,mC,re)}function tD(V,ae,re,Te){for(var Ge=re-1,yt=V.length;++Ge<yt;)if(Te(V[Ge],ae))return Ge;return-1}function mC(V){return V!==V}function AC(V,ae){var re=V==null?0:V.length;return re?_p(V,ae)/re:he}function Ep(V){return function(ae){return ae==null?e:ae[V]}}function Tp(V){return function(ae){return V==null?e:V[ae]}}function yC(V,ae,re,Te,Ge){return Ge(V,function(yt,An,Ot){re=Te?(Te=!1,yt):ae(re,yt,An,Ot)}),re}function nD(V,ae){var re=V.length;for(V.sort(ae);re--;)V[re]=V[re].value;return V}function _p(V,ae){for(var re,Te=-1,Ge=V.length;++Te<Ge;){var yt=ae(V[Te]);yt!==e&&(re=re===e?yt:re+yt)}return re}function Np(V,ae){for(var re=-1,Te=Array(V);++re<V;)Te[re]=ae(re);return Te}function rD(V,ae){return Jt(ae,function(re){return[re,V[re]]})}function bC(V){return V&&V.slice(0,vC(V)+1).replace(pp,"")}function vr(V){return function(ae){return V(ae)}}function Ip(V,ae){return Jt(ae,function(re){return V[re]})}function Ic(V,ae){return V.has(ae)}function wC(V,ae){for(var re=-1,Te=V.length;++re<Te&&sa(ae,V[re],0)>-1;);return re}function CC(V,ae){for(var re=V.length;re--&&sa(ae,V[re],0)>-1;);return re}function sD(V,ae){for(var re=V.length,Te=0;re--;)V[re]===ae&&++Te;return Te}var oD=Tp(KL),iD=Tp(WL);function lD(V){return"\\"+YL[V]}function aD(V,ae){return V==null?e:V[ae]}function oa(V){return jL.test(V)}function cD(V){return FL.test(V)}function uD(V){for(var ae,re=[];!(ae=V.next()).done;)re.push(ae.value);return re}function Mp(V){var ae=-1,re=Array(V.size);return V.forEach(function(Te,Ge){re[++ae]=[Ge,Te]}),re}function xC(V,ae){return function(re){return V(ae(re))}}function ni(V,ae){for(var re=-1,Te=V.length,Ge=0,yt=[];++re<Te;){var An=V[re];(An===ae||An===d)&&(V[re]=d,yt[Ge++]=re)}return yt}function Id(V){var ae=-1,re=Array(V.size);return V.forEach(function(Te){re[++ae]=Te}),re}function dD(V){var ae=-1,re=Array(V.size);return V.forEach(function(Te){re[++ae]=[Te,Te]}),re}function fD(V,ae,re){for(var Te=re-1,Ge=V.length;++Te<Ge;)if(V[Te]===ae)return Te;return-1}function hD(V,ae,re){for(var Te=re+1;Te--;)if(V[Te]===ae)return Te;return Te}function ia(V){return oa(V)?pD(V):qL(V)}function cs(V){return oa(V)?mD(V):$L(V)}function vC(V){for(var ae=V.length;ae--&&sL.test(V.charAt(ae)););return ae}var gD=Tp(HL);function pD(V){for(var ae=wp.lastIndex=0;wp.test(V);)++ae;return ae}function mD(V){return V.match(wp)||[]}function AD(V){return V.match(PL)||[]}var yD=(function V(ae){ae=ae==null?Rn:la.defaults(Rn.Object(),ae,la.pick(Rn,zL));var re=ae.Array,Te=ae.Date,Ge=ae.Error,yt=ae.Function,An=ae.Math,Ot=ae.Object,Lp=ae.RegExp,bD=ae.String,Fr=ae.TypeError,Md=re.prototype,wD=yt.prototype,aa=Ot.prototype,Ld=ae["__core-js_shared__"],Dd=wD.toString,kt=aa.hasOwnProperty,CD=0,SC=(function(){var a=/[^.]+$/.exec(Ld&&Ld.keys&&Ld.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})(),Od=aa.toString,xD=Dd.call(Ot),vD=Rn._,SD=Lp("^"+Dd.call(kt).replace(gp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rd=lC?ae.Buffer:e,ri=ae.Symbol,Bd=ae.Uint8Array,kC=Rd?Rd.allocUnsafe:e,Pd=xC(Ot.getPrototypeOf,Ot),EC=Ot.create,TC=aa.propertyIsEnumerable,jd=Md.splice,_C=ri?ri.isConcatSpreadable:e,Mc=ri?ri.iterator:e,Hi=ri?ri.toStringTag:e,Fd=(function(){try{var a=Vi(Ot,"defineProperty");return a({},"",{}),a}catch{}})(),kD=ae.clearTimeout!==Rn.clearTimeout&&ae.clearTimeout,ED=Te&&Te.now!==Rn.Date.now&&Te.now,TD=ae.setTimeout!==Rn.setTimeout&&ae.setTimeout,zd=An.ceil,Ud=An.floor,Dp=Ot.getOwnPropertySymbols,_D=Rd?Rd.isBuffer:e,NC=ae.isFinite,ND=Md.join,ID=xC(Ot.keys,Ot),yn=An.max,Wn=An.min,MD=Te.now,LD=ae.parseInt,IC=An.random,DD=Md.reverse,Op=Vi(ae,"DataView"),Lc=Vi(ae,"Map"),Rp=Vi(ae,"Promise"),ca=Vi(ae,"Set"),Dc=Vi(ae,"WeakMap"),Oc=Vi(Ot,"create"),Kd=Dc&&new Dc,ua={},OD=Qi(Op),RD=Qi(Lc),BD=Qi(Rp),PD=Qi(ca),jD=Qi(Dc),Wd=ri?ri.prototype:e,Rc=Wd?Wd.valueOf:e,MC=Wd?Wd.toString:e;function R(a){if($t(a)&&!Ve(a)&&!(a instanceof ct)){if(a instanceof zr)return a;if(kt.call(a,"__wrapped__"))return Lx(a)}return new zr(a)}var da=(function(){function a(){}return function(f){if(!Qt(f))return{};if(EC)return EC(f);a.prototype=f;var b=new a;return a.prototype=e,b}})();function Hd(){}function zr(a,f){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!f,this.__index__=0,this.__values__=e}R.templateSettings={escape:qM,evaluate:$M,interpolate:zw,variable:"",imports:{_:R}},R.prototype=Hd.prototype,R.prototype.constructor=R,zr.prototype=da(Hd.prototype),zr.prototype.constructor=zr;function ct(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=q,this.__views__=[]}function FD(){var a=new ct(this.__wrapped__);return a.__actions__=fr(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=fr(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=fr(this.__views__),a}function zD(){if(this.__filtered__){var a=new ct(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function UD(){var a=this.__wrapped__.value(),f=this.__dir__,b=Ve(a),S=f<0,L=b?a.length:0,B=$O(0,L,this.__views__),U=B.start,G=B.end,Q=G-U,de=S?G:U-1,fe=this.__iteratees__,ge=fe.length,xe=0,De=Wn(Q,this.__takeCount__);if(!b||!S&&L==Q&&De==Q)return tx(a,this.__actions__);var Ue=[];e:for(;Q--&&xe<De;){de+=f;for(var et=-1,Ke=a[de];++et<ge;){var lt=fe[et],dt=lt.iteratee,Er=lt.type,or=dt(Ke);if(Er==te)Ke=or;else if(!or){if(Er==H)continue e;break e}}Ue[xe++]=Ke}return Ue}ct.prototype=da(Hd.prototype),ct.prototype.constructor=ct;function Yi(a){var f=-1,b=a==null?0:a.length;for(this.clear();++f<b;){var S=a[f];this.set(S[0],S[1])}}function KD(){this.__data__=Oc?Oc(null):{},this.size=0}function WD(a){var f=this.has(a)&&delete this.__data__[a];return this.size-=f?1:0,f}function HD(a){var f=this.__data__;if(Oc){var b=f[a];return b===c?e:b}return kt.call(f,a)?f[a]:e}function YD(a){var f=this.__data__;return Oc?f[a]!==e:kt.call(f,a)}function ZD(a,f){var b=this.__data__;return this.size+=this.has(a)?0:1,b[a]=Oc&&f===e?c:f,this}Yi.prototype.clear=KD,Yi.prototype.delete=WD,Yi.prototype.get=HD,Yi.prototype.has=YD,Yi.prototype.set=ZD;function uo(a){var f=-1,b=a==null?0:a.length;for(this.clear();++f<b;){var S=a[f];this.set(S[0],S[1])}}function GD(){this.__data__=[],this.size=0}function JD(a){var f=this.__data__,b=Yd(f,a);if(b<0)return!1;var S=f.length-1;return b==S?f.pop():jd.call(f,b,1),--this.size,!0}function VD(a){var f=this.__data__,b=Yd(f,a);return b<0?e:f[b][1]}function QD(a){return Yd(this.__data__,a)>-1}function XD(a,f){var b=this.__data__,S=Yd(b,a);return S<0?(++this.size,b.push([a,f])):b[S][1]=f,this}uo.prototype.clear=GD,uo.prototype.delete=JD,uo.prototype.get=VD,uo.prototype.has=QD,uo.prototype.set=XD;function fo(a){var f=-1,b=a==null?0:a.length;for(this.clear();++f<b;){var S=a[f];this.set(S[0],S[1])}}function qD(){this.size=0,this.__data__={hash:new Yi,map:new(Lc||uo),string:new Yi}}function $D(a){var f=rf(this,a).delete(a);return this.size-=f?1:0,f}function eO(a){return rf(this,a).get(a)}function tO(a){return rf(this,a).has(a)}function nO(a,f){var b=rf(this,a),S=b.size;return b.set(a,f),this.size+=b.size==S?0:1,this}fo.prototype.clear=qD,fo.prototype.delete=$D,fo.prototype.get=eO,fo.prototype.has=tO,fo.prototype.set=nO;function Zi(a){var f=-1,b=a==null?0:a.length;for(this.__data__=new fo;++f<b;)this.add(a[f])}function rO(a){return this.__data__.set(a,c),this}function sO(a){return this.__data__.has(a)}Zi.prototype.add=Zi.prototype.push=rO,Zi.prototype.has=sO;function us(a){var f=this.__data__=new uo(a);this.size=f.size}function oO(){this.__data__=new uo,this.size=0}function iO(a){var f=this.__data__,b=f.delete(a);return this.size=f.size,b}function lO(a){return this.__data__.get(a)}function aO(a){return this.__data__.has(a)}function cO(a,f){var b=this.__data__;if(b instanceof uo){var S=b.__data__;if(!Lc||S.length<s-1)return S.push([a,f]),this.size=++b.size,this;b=this.__data__=new fo(S)}return b.set(a,f),this.size=b.size,this}us.prototype.clear=oO,us.prototype.delete=iO,us.prototype.get=lO,us.prototype.has=aO,us.prototype.set=cO;function LC(a,f){var b=Ve(a),S=!b&&Xi(a),L=!b&&!S&&ai(a),B=!b&&!S&&!L&&pa(a),U=b||S||L||B,G=U?Np(a.length,bD):[],Q=G.length;for(var de in a)(f||kt.call(a,de))&&!(U&&(de=="length"||L&&(de=="offset"||de=="parent")||B&&(de=="buffer"||de=="byteLength"||de=="byteOffset")||mo(de,Q)))&&G.push(de);return G}function DC(a){var f=a.length;return f?a[Zp(0,f-1)]:e}function uO(a,f){return sf(fr(a),Gi(f,0,a.length))}function dO(a){return sf(fr(a))}function Bp(a,f,b){(b!==e&&!ds(a[f],b)||b===e&&!(f in a))&&ho(a,f,b)}function Bc(a,f,b){var S=a[f];(!(kt.call(a,f)&&ds(S,b))||b===e&&!(f in a))&&ho(a,f,b)}function Yd(a,f){for(var b=a.length;b--;)if(ds(a[b][0],f))return b;return-1}function fO(a,f,b,S){return si(a,function(L,B,U){f(S,L,b(L),U)}),S}function OC(a,f){return a&&Is(f,kn(f),a)}function hO(a,f){return a&&Is(f,gr(f),a)}function ho(a,f,b){f=="__proto__"&&Fd?Fd(a,f,{configurable:!0,enumerable:!0,value:b,writable:!0}):a[f]=b}function Pp(a,f){for(var b=-1,S=f.length,L=re(S),B=a==null;++b<S;)L[b]=B?e:Am(a,f[b]);return L}function Gi(a,f,b){return a===a&&(b!==e&&(a=a<=b?a:b),f!==e&&(a=a>=f?a:f)),a}function Ur(a,f,b,S,L,B){var U,G=f&h,Q=f&g,de=f&p;if(b&&(U=L?b(a,S,L,B):b(a)),U!==e)return U;if(!Qt(a))return a;var fe=Ve(a);if(fe){if(U=tR(a),!G)return fr(a,U)}else{var ge=Hn(a),xe=ge==$e||ge==pt;if(ai(a))return sx(a,G);if(ge==Oe||ge==ie||xe&&!L){if(U=Q||xe?{}:vx(a),!G)return Q?HO(a,hO(U,a)):WO(a,OC(U,a))}else{if(!Ut[ge])return L?a:{};U=nR(a,ge,G)}}B||(B=new us);var De=B.get(a);if(De)return De;B.set(a,U),qx(a)?a.forEach(function(Ke){U.add(Ur(Ke,f,b,Ke,a,B))}):Qx(a)&&a.forEach(function(Ke,lt){U.set(lt,Ur(Ke,f,b,lt,a,B))});var Ue=de?Q?rm:nm:Q?gr:kn,et=fe?e:Ue(a);return jr(et||a,function(Ke,lt){et&&(lt=Ke,Ke=a[lt]),Bc(U,lt,Ur(Ke,f,b,lt,a,B))}),U}function gO(a){var f=kn(a);return function(b){return RC(b,a,f)}}function RC(a,f,b){var S=b.length;if(a==null)return!S;for(a=Ot(a);S--;){var L=b[S],B=f[L],U=a[L];if(U===e&&!(L in a)||!B(U))return!1}return!0}function BC(a,f,b){if(typeof a!="function")throw new Fr(i);return Wc(function(){a.apply(e,b)},f)}function Pc(a,f,b,S){var L=-1,B=_d,U=!0,G=a.length,Q=[],de=f.length;if(!G)return Q;b&&(f=Jt(f,vr(b))),S?(B=vp,U=!1):f.length>=s&&(B=Ic,U=!1,f=new Zi(f));e:for(;++L<G;){var fe=a[L],ge=b==null?fe:b(fe);if(fe=S||fe!==0?fe:0,U&&ge===ge){for(var xe=de;xe--;)if(f[xe]===ge)continue e;Q.push(fe)}else B(f,ge,S)||Q.push(fe)}return Q}var si=cx(Ns),PC=cx(Fp,!0);function pO(a,f){var b=!0;return si(a,function(S,L,B){return b=!!f(S,L,B),b}),b}function Zd(a,f,b){for(var S=-1,L=a.length;++S<L;){var B=a[S],U=f(B);if(U!=null&&(G===e?U===U&&!kr(U):b(U,G)))var G=U,Q=B}return Q}function mO(a,f,b,S){var L=a.length;for(b=qe(b),b<0&&(b=-b>L?0:L+b),S=S===e||S>L?L:qe(S),S<0&&(S+=L),S=b>S?0:ev(S);b<S;)a[b++]=f;return a}function jC(a,f){var b=[];return si(a,function(S,L,B){f(S,L,B)&&b.push(S)}),b}function Bn(a,f,b,S,L){var B=-1,U=a.length;for(b||(b=sR),L||(L=[]);++B<U;){var G=a[B];f>0&&b(G)?f>1?Bn(G,f-1,b,S,L):ti(L,G):S||(L[L.length]=G)}return L}var jp=ux(),FC=ux(!0);function Ns(a,f){return a&&jp(a,f,kn)}function Fp(a,f){return a&&FC(a,f,kn)}function Gd(a,f){return ei(f,function(b){return Ao(a[b])})}function Ji(a,f){f=ii(f,a);for(var b=0,S=f.length;a!=null&&b<S;)a=a[Ms(f[b++])];return b&&b==S?a:e}function zC(a,f,b){var S=f(a);return Ve(a)?S:ti(S,b(a))}function rr(a){return a==null?a===e?st:Ct:Hi&&Hi in Ot(a)?qO(a):dR(a)}function zp(a,f){return a>f}function AO(a,f){return a!=null&&kt.call(a,f)}function yO(a,f){return a!=null&&f in Ot(a)}function bO(a,f,b){return a>=Wn(f,b)&&a<yn(f,b)}function Up(a,f,b){for(var S=b?vp:_d,L=a[0].length,B=a.length,U=B,G=re(B),Q=1/0,de=[];U--;){var fe=a[U];U&&f&&(fe=Jt(fe,vr(f))),Q=Wn(fe.length,Q),G[U]=!b&&(f||L>=120&&fe.length>=120)?new Zi(U&&fe):e}fe=a[0];var ge=-1,xe=G[0];e:for(;++ge<L&&de.length<Q;){var De=fe[ge],Ue=f?f(De):De;if(De=b||De!==0?De:0,!(xe?Ic(xe,Ue):S(de,Ue,b))){for(U=B;--U;){var et=G[U];if(!(et?Ic(et,Ue):S(a[U],Ue,b)))continue e}xe&&xe.push(Ue),de.push(De)}}return de}function wO(a,f,b,S){return Ns(a,function(L,B,U){f(S,b(L),B,U)}),S}function jc(a,f,b){f=ii(f,a),a=Tx(a,f);var S=a==null?a:a[Ms(Wr(f))];return S==null?e:xr(S,a,b)}function UC(a){return $t(a)&&rr(a)==ie}function CO(a){return $t(a)&&rr(a)==zt}function xO(a){return $t(a)&&rr(a)==Ne}function Fc(a,f,b,S,L){return a===f?!0:a==null||f==null||!$t(a)&&!$t(f)?a!==a&&f!==f:vO(a,f,b,S,Fc,L)}function vO(a,f,b,S,L,B){var U=Ve(a),G=Ve(f),Q=U?ue:Hn(a),de=G?ue:Hn(f);Q=Q==ie?Oe:Q,de=de==ie?Oe:de;var fe=Q==Oe,ge=de==Oe,xe=Q==de;if(xe&&ai(a)){if(!ai(f))return!1;U=!0,fe=!1}if(xe&&!fe)return B||(B=new us),U||pa(a)?wx(a,f,b,S,L,B):QO(a,f,Q,b,S,L,B);if(!(b&m)){var De=fe&&kt.call(a,"__wrapped__"),Ue=ge&&kt.call(f,"__wrapped__");if(De||Ue){var et=De?a.value():a,Ke=Ue?f.value():f;return B||(B=new us),L(et,Ke,b,S,B)}}return xe?(B||(B=new us),XO(a,f,b,S,L,B)):!1}function SO(a){return $t(a)&&Hn(a)==Ye}function Kp(a,f,b,S){var L=b.length,B=L,U=!S;if(a==null)return!B;for(a=Ot(a);L--;){var G=b[L];if(U&&G[2]?G[1]!==a[G[0]]:!(G[0]in a))return!1}for(;++L<B;){G=b[L];var Q=G[0],de=a[Q],fe=G[1];if(U&&G[2]){if(de===e&&!(Q in a))return!1}else{var ge=new us;if(S)var xe=S(de,fe,Q,a,f,ge);if(!(xe===e?Fc(fe,de,m|y,S,ge):xe))return!1}}return!0}function KC(a){if(!Qt(a)||iR(a))return!1;var f=Ao(a)?SD:gL;return f.test(Qi(a))}function kO(a){return $t(a)&&rr(a)==Gt}function EO(a){return $t(a)&&Hn(a)==Dt}function TO(a){return $t(a)&&df(a.length)&&!!Ht[rr(a)]}function WC(a){return typeof a=="function"?a:a==null?pr:typeof a=="object"?Ve(a)?ZC(a[0],a[1]):YC(a):dv(a)}function Wp(a){if(!Kc(a))return ID(a);var f=[];for(var b in Ot(a))kt.call(a,b)&&b!="constructor"&&f.push(b);return f}function _O(a){if(!Qt(a))return uR(a);var f=Kc(a),b=[];for(var S in a)S=="constructor"&&(f||!kt.call(a,S))||b.push(S);return b}function Hp(a,f){return a<f}function HC(a,f){var b=-1,S=hr(a)?re(a.length):[];return si(a,function(L,B,U){S[++b]=f(L,B,U)}),S}function YC(a){var f=om(a);return f.length==1&&f[0][2]?kx(f[0][0],f[0][1]):function(b){return b===a||Kp(b,a,f)}}function ZC(a,f){return lm(a)&&Sx(f)?kx(Ms(a),f):function(b){var S=Am(b,a);return S===e&&S===f?ym(b,a):Fc(f,S,m|y)}}function Jd(a,f,b,S,L){a!==f&&jp(f,function(B,U){if(L||(L=new us),Qt(B))NO(a,f,U,b,Jd,S,L);else{var G=S?S(cm(a,U),B,U+"",a,f,L):e;G===e&&(G=B),Bp(a,U,G)}},gr)}function NO(a,f,b,S,L,B,U){var G=cm(a,b),Q=cm(f,b),de=U.get(Q);if(de){Bp(a,b,de);return}var fe=B?B(G,Q,b+"",a,f,U):e,ge=fe===e;if(ge){var xe=Ve(Q),De=!xe&&ai(Q),Ue=!xe&&!De&&pa(Q);fe=Q,xe||De||Ue?Ve(G)?fe=G:tn(G)?fe=fr(G):De?(ge=!1,fe=sx(Q,!0)):Ue?(ge=!1,fe=ox(Q,!0)):fe=[]:Hc(Q)||Xi(Q)?(fe=G,Xi(G)?fe=tv(G):(!Qt(G)||Ao(G))&&(fe=vx(Q))):ge=!1}ge&&(U.set(Q,fe),L(fe,Q,S,B,U),U.delete(Q)),Bp(a,b,fe)}function GC(a,f){var b=a.length;if(b)return f+=f<0?b:0,mo(f,b)?a[f]:e}function JC(a,f,b){f.length?f=Jt(f,function(B){return Ve(B)?function(U){return Ji(U,B.length===1?B[0]:B)}:B}):f=[pr];var S=-1;f=Jt(f,vr(ze()));var L=HC(a,function(B,U,G){var Q=Jt(f,function(de){return de(B)});return{criteria:Q,index:++S,value:B}});return nD(L,function(B,U){return KO(B,U,b)})}function IO(a,f){return VC(a,f,function(b,S){return ym(a,S)})}function VC(a,f,b){for(var S=-1,L=f.length,B={};++S<L;){var U=f[S],G=Ji(a,U);b(G,U)&&zc(B,ii(U,a),G)}return B}function MO(a){return function(f){return Ji(f,a)}}function Yp(a,f,b,S){var L=S?tD:sa,B=-1,U=f.length,G=a;for(a===f&&(f=fr(f)),b&&(G=Jt(a,vr(b)));++B<U;)for(var Q=0,de=f[B],fe=b?b(de):de;(Q=L(G,fe,Q,S))>-1;)G!==a&&jd.call(G,Q,1),jd.call(a,Q,1);return a}function QC(a,f){for(var b=a?f.length:0,S=b-1;b--;){var L=f[b];if(b==S||L!==B){var B=L;mo(L)?jd.call(a,L,1):Vp(a,L)}}return a}function Zp(a,f){return a+Ud(IC()*(f-a+1))}function LO(a,f,b,S){for(var L=-1,B=yn(zd((f-a)/(b||1)),0),U=re(B);B--;)U[S?B:++L]=a,a+=b;return U}function Gp(a,f){var b="";if(!a||f<1||f>ne)return b;do f%2&&(b+=a),f=Ud(f/2),f&&(a+=a);while(f);return b}function rt(a,f){return um(Ex(a,f,pr),a+"")}function DO(a){return DC(ma(a))}function OO(a,f){var b=ma(a);return sf(b,Gi(f,0,b.length))}function zc(a,f,b,S){if(!Qt(a))return a;f=ii(f,a);for(var L=-1,B=f.length,U=B-1,G=a;G!=null&&++L<B;){var Q=Ms(f[L]),de=b;if(Q==="__proto__"||Q==="constructor"||Q==="prototype")return a;if(L!=U){var fe=G[Q];de=S?S(fe,Q,G):e,de===e&&(de=Qt(fe)?fe:mo(f[L+1])?[]:{})}Bc(G,Q,de),G=G[Q]}return a}var XC=Kd?function(a,f){return Kd.set(a,f),a}:pr,RO=Fd?function(a,f){return Fd(a,"toString",{configurable:!0,enumerable:!1,value:wm(f),writable:!0})}:pr;function BO(a){return sf(ma(a))}function Kr(a,f,b){var S=-1,L=a.length;f<0&&(f=-f>L?0:L+f),b=b>L?L:b,b<0&&(b+=L),L=f>b?0:b-f>>>0,f>>>=0;for(var B=re(L);++S<L;)B[S]=a[S+f];return B}function PO(a,f){var b;return si(a,function(S,L,B){return b=f(S,L,B),!b}),!!b}function Vd(a,f,b){var S=0,L=a==null?S:a.length;if(typeof f=="number"&&f===f&&L<=J){for(;S<L;){var B=S+L>>>1,U=a[B];U!==null&&!kr(U)&&(b?U<=f:U<f)?S=B+1:L=B}return L}return Jp(a,f,pr,b)}function Jp(a,f,b,S){var L=0,B=a==null?0:a.length;if(B===0)return 0;f=b(f);for(var U=f!==f,G=f===null,Q=kr(f),de=f===e;L<B;){var fe=Ud((L+B)/2),ge=b(a[fe]),xe=ge!==e,De=ge===null,Ue=ge===ge,et=kr(ge);if(U)var Ke=S||Ue;else de?Ke=Ue&&(S||xe):G?Ke=Ue&&xe&&(S||!De):Q?Ke=Ue&&xe&&!De&&(S||!et):De||et?Ke=!1:Ke=S?ge<=f:ge<f;Ke?L=fe+1:B=fe}return Wn(B,K)}function qC(a,f){for(var b=-1,S=a.length,L=0,B=[];++b<S;){var U=a[b],G=f?f(U):U;if(!b||!ds(G,Q)){var Q=G;B[L++]=U===0?0:U}}return B}function $C(a){return typeof a=="number"?a:kr(a)?he:+a}function Sr(a){if(typeof a=="string")return a;if(Ve(a))return Jt(a,Sr)+"";if(kr(a))return MC?MC.call(a):"";var f=a+"";return f=="0"&&1/a==-ce?"-0":f}function oi(a,f,b){var S=-1,L=_d,B=a.length,U=!0,G=[],Q=G;if(b)U=!1,L=vp;else if(B>=s){var de=f?null:JO(a);if(de)return Id(de);U=!1,L=Ic,Q=new Zi}else Q=f?[]:G;e:for(;++S<B;){var fe=a[S],ge=f?f(fe):fe;if(fe=b||fe!==0?fe:0,U&&ge===ge){for(var xe=Q.length;xe--;)if(Q[xe]===ge)continue e;f&&Q.push(ge),G.push(fe)}else L(Q,ge,b)||(Q!==G&&Q.push(ge),G.push(fe))}return G}function Vp(a,f){return f=ii(f,a),a=Tx(a,f),a==null||delete a[Ms(Wr(f))]}function ex(a,f,b,S){return zc(a,f,b(Ji(a,f)),S)}function Qd(a,f,b,S){for(var L=a.length,B=S?L:-1;(S?B--:++B<L)&&f(a[B],B,a););return b?Kr(a,S?0:B,S?B+1:L):Kr(a,S?B+1:0,S?L:B)}function tx(a,f){var b=a;return b instanceof ct&&(b=b.value()),Sp(f,function(S,L){return L.func.apply(L.thisArg,ti([S],L.args))},b)}function Qp(a,f,b){var S=a.length;if(S<2)return S?oi(a[0]):[];for(var L=-1,B=re(S);++L<S;)for(var U=a[L],G=-1;++G<S;)G!=L&&(B[L]=Pc(B[L]||U,a[G],f,b));return oi(Bn(B,1),f,b)}function nx(a,f,b){for(var S=-1,L=a.length,B=f.length,U={};++S<L;){var G=S<B?f[S]:e;b(U,a[S],G)}return U}function Xp(a){return tn(a)?a:[]}function qp(a){return typeof a=="function"?a:pr}function ii(a,f){return Ve(a)?a:lm(a,f)?[a]:Mx(xt(a))}var jO=rt;function li(a,f,b){var S=a.length;return b=b===e?S:b,!f&&b>=S?a:Kr(a,f,b)}var rx=kD||function(a){return Rn.clearTimeout(a)};function sx(a,f){if(f)return a.slice();var b=a.length,S=kC?kC(b):new a.constructor(b);return a.copy(S),S}function $p(a){var f=new a.constructor(a.byteLength);return new Bd(f).set(new Bd(a)),f}function FO(a,f){var b=f?$p(a.buffer):a.buffer;return new a.constructor(b,a.byteOffset,a.byteLength)}function zO(a){var f=new a.constructor(a.source,Uw.exec(a));return f.lastIndex=a.lastIndex,f}function UO(a){return Rc?Ot(Rc.call(a)):{}}function ox(a,f){var b=f?$p(a.buffer):a.buffer;return new a.constructor(b,a.byteOffset,a.length)}function ix(a,f){if(a!==f){var b=a!==e,S=a===null,L=a===a,B=kr(a),U=f!==e,G=f===null,Q=f===f,de=kr(f);if(!G&&!de&&!B&&a>f||B&&U&&Q&&!G&&!de||S&&U&&Q||!b&&Q||!L)return 1;if(!S&&!B&&!de&&a<f||de&&b&&L&&!S&&!B||G&&b&&L||!U&&L||!Q)return-1}return 0}function KO(a,f,b){for(var S=-1,L=a.criteria,B=f.criteria,U=L.length,G=b.length;++S<U;){var Q=ix(L[S],B[S]);if(Q){if(S>=G)return Q;var de=b[S];return Q*(de=="desc"?-1:1)}}return a.index-f.index}function lx(a,f,b,S){for(var L=-1,B=a.length,U=b.length,G=-1,Q=f.length,de=yn(B-U,0),fe=re(Q+de),ge=!S;++G<Q;)fe[G]=f[G];for(;++L<U;)(ge||L<B)&&(fe[b[L]]=a[L]);for(;de--;)fe[G++]=a[L++];return fe}function ax(a,f,b,S){for(var L=-1,B=a.length,U=-1,G=b.length,Q=-1,de=f.length,fe=yn(B-G,0),ge=re(fe+de),xe=!S;++L<fe;)ge[L]=a[L];for(var De=L;++Q<de;)ge[De+Q]=f[Q];for(;++U<G;)(xe||L<B)&&(ge[De+b[U]]=a[L++]);return ge}function fr(a,f){var b=-1,S=a.length;for(f||(f=re(S));++b<S;)f[b]=a[b];return f}function Is(a,f,b,S){var L=!b;b||(b={});for(var B=-1,U=f.length;++B<U;){var G=f[B],Q=S?S(b[G],a[G],G,b,a):e;Q===e&&(Q=a[G]),L?ho(b,G,Q):Bc(b,G,Q)}return b}function WO(a,f){return Is(a,im(a),f)}function HO(a,f){return Is(a,Cx(a),f)}function Xd(a,f){return function(b,S){var L=Ve(b)?VL:fO,B=f?f():{};return L(b,a,ze(S,2),B)}}function fa(a){return rt(function(f,b){var S=-1,L=b.length,B=L>1?b[L-1]:e,U=L>2?b[2]:e;for(B=a.length>3&&typeof B=="function"?(L--,B):e,U&&sr(b[0],b[1],U)&&(B=L<3?e:B,L=1),f=Ot(f);++S<L;){var G=b[S];G&&a(f,G,S,B)}return f})}function cx(a,f){return function(b,S){if(b==null)return b;if(!hr(b))return a(b,S);for(var L=b.length,B=f?L:-1,U=Ot(b);(f?B--:++B<L)&&S(U[B],B,U)!==!1;);return b}}function ux(a){return function(f,b,S){for(var L=-1,B=Ot(f),U=S(f),G=U.length;G--;){var Q=U[a?G:++L];if(b(B[Q],Q,B)===!1)break}return f}}function YO(a,f,b){var S=f&w,L=Uc(a);function B(){var U=this&&this!==Rn&&this instanceof B?L:a;return U.apply(S?b:this,arguments)}return B}function dx(a){return function(f){f=xt(f);var b=oa(f)?cs(f):e,S=b?b[0]:f.charAt(0),L=b?li(b,1).join(""):f.slice(1);return S[a]()+L}}function ha(a){return function(f){return Sp(cv(av(f).replace(RL,"")),a,"")}}function Uc(a){return function(){var f=arguments;switch(f.length){case 0:return new a;case 1:return new a(f[0]);case 2:return new a(f[0],f[1]);case 3:return new a(f[0],f[1],f[2]);case 4:return new a(f[0],f[1],f[2],f[3]);case 5:return new a(f[0],f[1],f[2],f[3],f[4]);case 6:return new a(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return new a(f[0],f[1],f[2],f[3],f[4],f[5],f[6])}var b=da(a.prototype),S=a.apply(b,f);return Qt(S)?S:b}}function ZO(a,f,b){var S=Uc(a);function L(){for(var B=arguments.length,U=re(B),G=B,Q=ga(L);G--;)U[G]=arguments[G];var de=B<3&&U[0]!==Q&&U[B-1]!==Q?[]:ni(U,Q);if(B-=de.length,B<b)return mx(a,f,qd,L.placeholder,e,U,de,e,e,b-B);var fe=this&&this!==Rn&&this instanceof L?S:a;return xr(fe,this,U)}return L}function fx(a){return function(f,b,S){var L=Ot(f);if(!hr(f)){var B=ze(b,3);f=kn(f),b=function(G){return B(L[G],G,L)}}var U=a(f,b,S);return U>-1?L[B?f[U]:U]:e}}function hx(a){return po(function(f){var b=f.length,S=b,L=zr.prototype.thru;for(a&&f.reverse();S--;){var B=f[S];if(typeof B!="function")throw new Fr(i);if(L&&!U&&nf(B)=="wrapper")var U=new zr([],!0)}for(S=U?S:b;++S<b;){B=f[S];var G=nf(B),Q=G=="wrapper"?sm(B):e;Q&&am(Q[0])&&Q[1]==(T|v|N|I)&&!Q[4].length&&Q[9]==1?U=U[nf(Q[0])].apply(U,Q[3]):U=B.length==1&&am(B)?U[G]():U.thru(B)}return function(){var de=arguments,fe=de[0];if(U&&de.length==1&&Ve(fe))return U.plant(fe).value();for(var ge=0,xe=b?f[ge].apply(this,de):fe;++ge<b;)xe=f[ge].call(this,xe);return xe}})}function qd(a,f,b,S,L,B,U,G,Q,de){var fe=f&T,ge=f&w,xe=f&x,De=f&(v|_),Ue=f&M,et=xe?e:Uc(a);function Ke(){for(var lt=arguments.length,dt=re(lt),Er=lt;Er--;)dt[Er]=arguments[Er];if(De)var or=ga(Ke),Tr=sD(dt,or);if(S&&(dt=lx(dt,S,L,De)),B&&(dt=ax(dt,B,U,De)),lt-=Tr,De&<<de){var nn=ni(dt,or);return mx(a,f,qd,Ke.placeholder,b,dt,nn,G,Q,de-lt)}var fs=ge?b:this,bo=xe?fs[a]:a;return lt=dt.length,G?dt=fR(dt,G):Ue&<>1&&dt.reverse(),fe&&Q<lt&&(dt.length=Q),this&&this!==Rn&&this instanceof Ke&&(bo=et||Uc(bo)),bo.apply(fs,dt)}return Ke}function gx(a,f){return function(b,S){return wO(b,a,f(S),{})}}function $d(a,f){return function(b,S){var L;if(b===e&&S===e)return f;if(b!==e&&(L=b),S!==e){if(L===e)return S;typeof b=="string"||typeof S=="string"?(b=Sr(b),S=Sr(S)):(b=$C(b),S=$C(S)),L=a(b,S)}return L}}function em(a){return po(function(f){return f=Jt(f,vr(ze())),rt(function(b){var S=this;return a(f,function(L){return xr(L,S,b)})})})}function ef(a,f){f=f===e?" ":Sr(f);var b=f.length;if(b<2)return b?Gp(f,a):f;var S=Gp(f,zd(a/ia(f)));return oa(f)?li(cs(S),0,a).join(""):S.slice(0,a)}function GO(a,f,b,S){var L=f&w,B=Uc(a);function U(){for(var G=-1,Q=arguments.length,de=-1,fe=S.length,ge=re(fe+Q),xe=this&&this!==Rn&&this instanceof U?B:a;++de<fe;)ge[de]=S[de];for(;Q--;)ge[de++]=arguments[++G];return xr(xe,L?b:this,ge)}return U}function px(a){return function(f,b,S){return S&&typeof S!="number"&&sr(f,b,S)&&(b=S=e),f=yo(f),b===e?(b=f,f=0):b=yo(b),S=S===e?f<b?1:-1:yo(S),LO(f,b,S,a)}}function tf(a){return function(f,b){return typeof f=="string"&&typeof b=="string"||(f=Hr(f),b=Hr(b)),a(f,b)}}function mx(a,f,b,S,L,B,U,G,Q,de){var fe=f&v,ge=fe?U:e,xe=fe?e:U,De=fe?B:e,Ue=fe?e:B;f|=fe?N:E,f&=~(fe?E:N),f&C||(f&=-4);var et=[a,f,L,De,ge,Ue,xe,G,Q,de],Ke=b.apply(e,et);return am(a)&&_x(Ke,et),Ke.placeholder=S,Nx(Ke,a,f)}function tm(a){var f=An[a];return function(b,S){if(b=Hr(b),S=S==null?0:Wn(qe(S),292),S&&NC(b)){var L=(xt(b)+"e").split("e"),B=f(L[0]+"e"+(+L[1]+S));return L=(xt(B)+"e").split("e"),+(L[0]+"e"+(+L[1]-S))}return f(b)}}var JO=ca&&1/Id(new ca([,-0]))[1]==ce?function(a){return new ca(a)}:vm;function Ax(a){return function(f){var b=Hn(f);return b==Ye?Mp(f):b==Dt?dD(f):rD(f,a(f))}}function go(a,f,b,S,L,B,U,G){var Q=f&x;if(!Q&&typeof a!="function")throw new Fr(i);var de=S?S.length:0;if(de||(f&=-97,S=L=e),U=U===e?U:yn(qe(U),0),G=G===e?G:qe(G),de-=L?L.length:0,f&E){var fe=S,ge=L;S=L=e}var xe=Q?e:sm(a),De=[a,f,b,S,L,fe,ge,B,U,G];if(xe&&cR(De,xe),a=De[0],f=De[1],b=De[2],S=De[3],L=De[4],G=De[9]=De[9]===e?Q?0:a.length:yn(De[9]-de,0),!G&&f&(v|_)&&(f&=-25),!f||f==w)var Ue=YO(a,f,b);else f==v||f==_?Ue=ZO(a,f,G):(f==N||f==(w|N))&&!L.length?Ue=GO(a,f,b,S):Ue=qd.apply(e,De);var et=xe?XC:_x;return Nx(et(Ue,De),a,f)}function yx(a,f,b,S){return a===e||ds(a,aa[b])&&!kt.call(S,b)?f:a}function bx(a,f,b,S,L,B){return Qt(a)&&Qt(f)&&(B.set(f,a),Jd(a,f,e,bx,B),B.delete(f)),a}function VO(a){return Hc(a)?e:a}function wx(a,f,b,S,L,B){var U=b&m,G=a.length,Q=f.length;if(G!=Q&&!(U&&Q>G))return!1;var de=B.get(a),fe=B.get(f);if(de&&fe)return de==f&&fe==a;var ge=-1,xe=!0,De=b&y?new Zi:e;for(B.set(a,f),B.set(f,a);++ge<G;){var Ue=a[ge],et=f[ge];if(S)var Ke=U?S(et,Ue,ge,f,a,B):S(Ue,et,ge,a,f,B);if(Ke!==e){if(Ke)continue;xe=!1;break}if(De){if(!kp(f,function(lt,dt){if(!Ic(De,dt)&&(Ue===lt||L(Ue,lt,b,S,B)))return De.push(dt)})){xe=!1;break}}else if(!(Ue===et||L(Ue,et,b,S,B))){xe=!1;break}}return B.delete(a),B.delete(f),xe}function QO(a,f,b,S,L,B,U){switch(b){case at:if(a.byteLength!=f.byteLength||a.byteOffset!=f.byteOffset)return!1;a=a.buffer,f=f.buffer;case zt:return!(a.byteLength!=f.byteLength||!B(new Bd(a),new Bd(f)));case Ae:case Ne:case wt:return ds(+a,+f);case Ie:return a.name==f.name&&a.message==f.message;case Gt:case ur:return a==f+"";case Ye:var G=Mp;case Dt:var Q=S&m;if(G||(G=Id),a.size!=f.size&&!Q)return!1;var de=U.get(a);if(de)return de==f;S|=y,U.set(a,f);var fe=wx(G(a),G(f),S,L,B,U);return U.delete(a),fe;case Pe:if(Rc)return Rc.call(a)==Rc.call(f)}return!1}function XO(a,f,b,S,L,B){var U=b&m,G=nm(a),Q=G.length,de=nm(f),fe=de.length;if(Q!=fe&&!U)return!1;for(var ge=Q;ge--;){var xe=G[ge];if(!(U?xe in f:kt.call(f,xe)))return!1}var De=B.get(a),Ue=B.get(f);if(De&&Ue)return De==f&&Ue==a;var et=!0;B.set(a,f),B.set(f,a);for(var Ke=U;++ge<Q;){xe=G[ge];var lt=a[xe],dt=f[xe];if(S)var Er=U?S(dt,lt,xe,f,a,B):S(lt,dt,xe,a,f,B);if(!(Er===e?lt===dt||L(lt,dt,b,S,B):Er)){et=!1;break}Ke||(Ke=xe=="constructor")}if(et&&!Ke){var or=a.constructor,Tr=f.constructor;or!=Tr&&"constructor"in a&&"constructor"in f&&!(typeof or=="function"&&or instanceof or&&typeof Tr=="function"&&Tr instanceof Tr)&&(et=!1)}return B.delete(a),B.delete(f),et}function po(a){return um(Ex(a,e,Rx),a+"")}function nm(a){return zC(a,kn,im)}function rm(a){return zC(a,gr,Cx)}var sm=Kd?function(a){return Kd.get(a)}:vm;function nf(a){for(var f=a.name+"",b=ua[f],S=kt.call(ua,f)?b.length:0;S--;){var L=b[S],B=L.func;if(B==null||B==a)return L.name}return f}function ga(a){var f=kt.call(R,"placeholder")?R:a;return f.placeholder}function ze(){var a=R.iteratee||Cm;return a=a===Cm?WC:a,arguments.length?a(arguments[0],arguments[1]):a}function rf(a,f){var b=a.__data__;return oR(f)?b[typeof f=="string"?"string":"hash"]:b.map}function om(a){for(var f=kn(a),b=f.length;b--;){var S=f[b],L=a[S];f[b]=[S,L,Sx(L)]}return f}function Vi(a,f){var b=aD(a,f);return KC(b)?b:e}function qO(a){var f=kt.call(a,Hi),b=a[Hi];try{a[Hi]=e;var S=!0}catch{}var L=Od.call(a);return S&&(f?a[Hi]=b:delete a[Hi]),L}var im=Dp?function(a){return a==null?[]:(a=Ot(a),ei(Dp(a),function(f){return TC.call(a,f)}))}:Sm,Cx=Dp?function(a){for(var f=[];a;)ti(f,im(a)),a=Pd(a);return f}:Sm,Hn=rr;(Op&&Hn(new Op(new ArrayBuffer(1)))!=at||Lc&&Hn(new Lc)!=Ye||Rp&&Hn(Rp.resolve())!=Le||ca&&Hn(new ca)!=Dt||Dc&&Hn(new Dc)!=At)&&(Hn=function(a){var f=rr(a),b=f==Oe?a.constructor:e,S=b?Qi(b):"";if(S)switch(S){case OD:return at;case RD:return Ye;case BD:return Le;case PD:return Dt;case jD:return At}return f});function $O(a,f,b){for(var S=-1,L=b.length;++S<L;){var B=b[S],U=B.size;switch(B.type){case"drop":a+=U;break;case"dropRight":f-=U;break;case"take":f=Wn(f,a+U);break;case"takeRight":a=yn(a,f-U);break}}return{start:a,end:f}}function eR(a){var f=a.match(iL);return f?f[1].split(lL):[]}function xx(a,f,b){f=ii(f,a);for(var S=-1,L=f.length,B=!1;++S<L;){var U=Ms(f[S]);if(!(B=a!=null&&b(a,U)))break;a=a[U]}return B||++S!=L?B:(L=a==null?0:a.length,!!L&&df(L)&&mo(U,L)&&(Ve(a)||Xi(a)))}function tR(a){var f=a.length,b=new a.constructor(f);return f&&typeof a[0]=="string"&&kt.call(a,"index")&&(b.index=a.index,b.input=a.input),b}function vx(a){return typeof a.constructor=="function"&&!Kc(a)?da(Pd(a)):{}}function nR(a,f,b){var S=a.constructor;switch(f){case zt:return $p(a);case Ae:case Ne:return new S(+a);case at:return FO(a,b);case er:case Wt:case tr:case nr:case co:case Ki:case Nc:case dr:case $o:return ox(a,b);case Ye:return new S;case wt:case ur:return new S(a);case Gt:return zO(a);case Dt:return new S;case Pe:return UO(a)}}function rR(a,f){var b=f.length;if(!b)return a;var S=b-1;return f[S]=(b>1?"& ":"")+f[S],f=f.join(b>2?", ":" "),a.replace(oL,`{
|
|
80
|
+
/* [wrapped with `+f+`] */
|
|
81
|
+
`)}function sR(a){return Ve(a)||Xi(a)||!!(_C&&a&&a[_C])}function mo(a,f){var b=typeof a;return f=f??ne,!!f&&(b=="number"||b!="symbol"&&mL.test(a))&&a>-1&&a%1==0&&a<f}function sr(a,f,b){if(!Qt(b))return!1;var S=typeof f;return(S=="number"?hr(b)&&mo(f,b.length):S=="string"&&f in b)?ds(b[f],a):!1}function lm(a,f){if(Ve(a))return!1;var b=typeof a;return b=="number"||b=="symbol"||b=="boolean"||a==null||kr(a)?!0:tL.test(a)||!eL.test(a)||f!=null&&a in Ot(f)}function oR(a){var f=typeof a;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?a!=="__proto__":a===null}function am(a){var f=nf(a),b=R[f];if(typeof b!="function"||!(f in ct.prototype))return!1;if(a===b)return!0;var S=sm(b);return!!S&&a===S[0]}function iR(a){return!!SC&&SC in a}var lR=Ld?Ao:km;function Kc(a){var f=a&&a.constructor,b=typeof f=="function"&&f.prototype||aa;return a===b}function Sx(a){return a===a&&!Qt(a)}function kx(a,f){return function(b){return b==null?!1:b[a]===f&&(f!==e||a in Ot(b))}}function aR(a){var f=cf(a,function(S){return b.size===u&&b.clear(),S}),b=f.cache;return f}function cR(a,f){var b=a[1],S=f[1],L=b|S,B=L<(w|x|T),U=S==T&&b==v||S==T&&b==I&&a[7].length<=f[8]||S==(T|I)&&f[7].length<=f[8]&&b==v;if(!(B||U))return a;S&w&&(a[2]=f[2],L|=b&w?0:C);var G=f[3];if(G){var Q=a[3];a[3]=Q?lx(Q,G,f[4]):G,a[4]=Q?ni(a[3],d):f[4]}return G=f[5],G&&(Q=a[5],a[5]=Q?ax(Q,G,f[6]):G,a[6]=Q?ni(a[5],d):f[6]),G=f[7],G&&(a[7]=G),S&T&&(a[8]=a[8]==null?f[8]:Wn(a[8],f[8])),a[9]==null&&(a[9]=f[9]),a[0]=f[0],a[1]=L,a}function uR(a){var f=[];if(a!=null)for(var b in Ot(a))f.push(b);return f}function dR(a){return Od.call(a)}function Ex(a,f,b){return f=yn(f===e?a.length-1:f,0),function(){for(var S=arguments,L=-1,B=yn(S.length-f,0),U=re(B);++L<B;)U[L]=S[f+L];L=-1;for(var G=re(f+1);++L<f;)G[L]=S[L];return G[f]=b(U),xr(a,this,G)}}function Tx(a,f){return f.length<2?a:Ji(a,Kr(f,0,-1))}function fR(a,f){for(var b=a.length,S=Wn(f.length,b),L=fr(a);S--;){var B=f[S];a[S]=mo(B,b)?L[B]:e}return a}function cm(a,f){if(!(f==="constructor"&&typeof a[f]=="function")&&f!="__proto__")return a[f]}var _x=Ix(XC),Wc=TD||function(a,f){return Rn.setTimeout(a,f)},um=Ix(RO);function Nx(a,f,b){var S=f+"";return um(a,rR(S,hR(eR(S),b)))}function Ix(a){var f=0,b=0;return function(){var S=MD(),L=z-(S-b);if(b=S,L>0){if(++f>=F)return arguments[0]}else f=0;return a.apply(e,arguments)}}function sf(a,f){var b=-1,S=a.length,L=S-1;for(f=f===e?S:f;++b<f;){var B=Zp(b,L),U=a[B];a[B]=a[b],a[b]=U}return a.length=f,a}var Mx=aR(function(a){var f=[];return a.charCodeAt(0)===46&&f.push(""),a.replace(nL,function(b,S,L,B){f.push(L?B.replace(uL,"$1"):S||b)}),f});function Ms(a){if(typeof a=="string"||kr(a))return a;var f=a+"";return f=="0"&&1/a==-ce?"-0":f}function Qi(a){if(a!=null){try{return Dd.call(a)}catch{}try{return a+""}catch{}}return""}function hR(a,f){return jr(ee,function(b){var S="_."+b[0];f&b[1]&&!_d(a,S)&&a.push(S)}),a.sort()}function Lx(a){if(a instanceof ct)return a.clone();var f=new zr(a.__wrapped__,a.__chain__);return f.__actions__=fr(a.__actions__),f.__index__=a.__index__,f.__values__=a.__values__,f}function gR(a,f,b){(b?sr(a,f,b):f===e)?f=1:f=yn(qe(f),0);var S=a==null?0:a.length;if(!S||f<1)return[];for(var L=0,B=0,U=re(zd(S/f));L<S;)U[B++]=Kr(a,L,L+=f);return U}function pR(a){for(var f=-1,b=a==null?0:a.length,S=0,L=[];++f<b;){var B=a[f];B&&(L[S++]=B)}return L}function mR(){var a=arguments.length;if(!a)return[];for(var f=re(a-1),b=arguments[0],S=a;S--;)f[S-1]=arguments[S];return ti(Ve(b)?fr(b):[b],Bn(f,1))}var AR=rt(function(a,f){return tn(a)?Pc(a,Bn(f,1,tn,!0)):[]}),yR=rt(function(a,f){var b=Wr(f);return tn(b)&&(b=e),tn(a)?Pc(a,Bn(f,1,tn,!0),ze(b,2)):[]}),bR=rt(function(a,f){var b=Wr(f);return tn(b)&&(b=e),tn(a)?Pc(a,Bn(f,1,tn,!0),e,b):[]});function wR(a,f,b){var S=a==null?0:a.length;return S?(f=b||f===e?1:qe(f),Kr(a,f<0?0:f,S)):[]}function CR(a,f,b){var S=a==null?0:a.length;return S?(f=b||f===e?1:qe(f),f=S-f,Kr(a,0,f<0?0:f)):[]}function xR(a,f){return a&&a.length?Qd(a,ze(f,3),!0,!0):[]}function vR(a,f){return a&&a.length?Qd(a,ze(f,3),!0):[]}function SR(a,f,b,S){var L=a==null?0:a.length;return L?(b&&typeof b!="number"&&sr(a,f,b)&&(b=0,S=L),mO(a,f,b,S)):[]}function Dx(a,f,b){var S=a==null?0:a.length;if(!S)return-1;var L=b==null?0:qe(b);return L<0&&(L=yn(S+L,0)),Nd(a,ze(f,3),L)}function Ox(a,f,b){var S=a==null?0:a.length;if(!S)return-1;var L=S-1;return b!==e&&(L=qe(b),L=b<0?yn(S+L,0):Wn(L,S-1)),Nd(a,ze(f,3),L,!0)}function Rx(a){var f=a==null?0:a.length;return f?Bn(a,1):[]}function kR(a){var f=a==null?0:a.length;return f?Bn(a,ce):[]}function ER(a,f){var b=a==null?0:a.length;return b?(f=f===e?1:qe(f),Bn(a,f)):[]}function TR(a){for(var f=-1,b=a==null?0:a.length,S={};++f<b;){var L=a[f];S[L[0]]=L[1]}return S}function Bx(a){return a&&a.length?a[0]:e}function _R(a,f,b){var S=a==null?0:a.length;if(!S)return-1;var L=b==null?0:qe(b);return L<0&&(L=yn(S+L,0)),sa(a,f,L)}function NR(a){var f=a==null?0:a.length;return f?Kr(a,0,-1):[]}var IR=rt(function(a){var f=Jt(a,Xp);return f.length&&f[0]===a[0]?Up(f):[]}),MR=rt(function(a){var f=Wr(a),b=Jt(a,Xp);return f===Wr(b)?f=e:b.pop(),b.length&&b[0]===a[0]?Up(b,ze(f,2)):[]}),LR=rt(function(a){var f=Wr(a),b=Jt(a,Xp);return f=typeof f=="function"?f:e,f&&b.pop(),b.length&&b[0]===a[0]?Up(b,e,f):[]});function DR(a,f){return a==null?"":ND.call(a,f)}function Wr(a){var f=a==null?0:a.length;return f?a[f-1]:e}function OR(a,f,b){var S=a==null?0:a.length;if(!S)return-1;var L=S;return b!==e&&(L=qe(b),L=L<0?yn(S+L,0):Wn(L,S-1)),f===f?hD(a,f,L):Nd(a,mC,L,!0)}function RR(a,f){return a&&a.length?GC(a,qe(f)):e}var BR=rt(Px);function Px(a,f){return a&&a.length&&f&&f.length?Yp(a,f):a}function PR(a,f,b){return a&&a.length&&f&&f.length?Yp(a,f,ze(b,2)):a}function jR(a,f,b){return a&&a.length&&f&&f.length?Yp(a,f,e,b):a}var FR=po(function(a,f){var b=a==null?0:a.length,S=Pp(a,f);return QC(a,Jt(f,function(L){return mo(L,b)?+L:L}).sort(ix)),S});function zR(a,f){var b=[];if(!(a&&a.length))return b;var S=-1,L=[],B=a.length;for(f=ze(f,3);++S<B;){var U=a[S];f(U,S,a)&&(b.push(U),L.push(S))}return QC(a,L),b}function dm(a){return a==null?a:DD.call(a)}function UR(a,f,b){var S=a==null?0:a.length;return S?(b&&typeof b!="number"&&sr(a,f,b)?(f=0,b=S):(f=f==null?0:qe(f),b=b===e?S:qe(b)),Kr(a,f,b)):[]}function KR(a,f){return Vd(a,f)}function WR(a,f,b){return Jp(a,f,ze(b,2))}function HR(a,f){var b=a==null?0:a.length;if(b){var S=Vd(a,f);if(S<b&&ds(a[S],f))return S}return-1}function YR(a,f){return Vd(a,f,!0)}function ZR(a,f,b){return Jp(a,f,ze(b,2),!0)}function GR(a,f){var b=a==null?0:a.length;if(b){var S=Vd(a,f,!0)-1;if(ds(a[S],f))return S}return-1}function JR(a){return a&&a.length?qC(a):[]}function VR(a,f){return a&&a.length?qC(a,ze(f,2)):[]}function QR(a){var f=a==null?0:a.length;return f?Kr(a,1,f):[]}function XR(a,f,b){return a&&a.length?(f=b||f===e?1:qe(f),Kr(a,0,f<0?0:f)):[]}function qR(a,f,b){var S=a==null?0:a.length;return S?(f=b||f===e?1:qe(f),f=S-f,Kr(a,f<0?0:f,S)):[]}function $R(a,f){return a&&a.length?Qd(a,ze(f,3),!1,!0):[]}function eB(a,f){return a&&a.length?Qd(a,ze(f,3)):[]}var tB=rt(function(a){return oi(Bn(a,1,tn,!0))}),nB=rt(function(a){var f=Wr(a);return tn(f)&&(f=e),oi(Bn(a,1,tn,!0),ze(f,2))}),rB=rt(function(a){var f=Wr(a);return f=typeof f=="function"?f:e,oi(Bn(a,1,tn,!0),e,f)});function sB(a){return a&&a.length?oi(a):[]}function oB(a,f){return a&&a.length?oi(a,ze(f,2)):[]}function iB(a,f){return f=typeof f=="function"?f:e,a&&a.length?oi(a,e,f):[]}function fm(a){if(!(a&&a.length))return[];var f=0;return a=ei(a,function(b){if(tn(b))return f=yn(b.length,f),!0}),Np(f,function(b){return Jt(a,Ep(b))})}function jx(a,f){if(!(a&&a.length))return[];var b=fm(a);return f==null?b:Jt(b,function(S){return xr(f,e,S)})}var lB=rt(function(a,f){return tn(a)?Pc(a,f):[]}),aB=rt(function(a){return Qp(ei(a,tn))}),cB=rt(function(a){var f=Wr(a);return tn(f)&&(f=e),Qp(ei(a,tn),ze(f,2))}),uB=rt(function(a){var f=Wr(a);return f=typeof f=="function"?f:e,Qp(ei(a,tn),e,f)}),dB=rt(fm);function fB(a,f){return nx(a||[],f||[],Bc)}function hB(a,f){return nx(a||[],f||[],zc)}var gB=rt(function(a){var f=a.length,b=f>1?a[f-1]:e;return b=typeof b=="function"?(a.pop(),b):e,jx(a,b)});function Fx(a){var f=R(a);return f.__chain__=!0,f}function pB(a,f){return f(a),a}function of(a,f){return f(a)}var mB=po(function(a){var f=a.length,b=f?a[0]:0,S=this.__wrapped__,L=function(B){return Pp(B,a)};return f>1||this.__actions__.length||!(S instanceof ct)||!mo(b)?this.thru(L):(S=S.slice(b,+b+(f?1:0)),S.__actions__.push({func:of,args:[L],thisArg:e}),new zr(S,this.__chain__).thru(function(B){return f&&!B.length&&B.push(e),B}))});function AB(){return Fx(this)}function yB(){return new zr(this.value(),this.__chain__)}function bB(){this.__values__===e&&(this.__values__=$x(this.value()));var a=this.__index__>=this.__values__.length,f=a?e:this.__values__[this.__index__++];return{done:a,value:f}}function wB(){return this}function CB(a){for(var f,b=this;b instanceof Hd;){var S=Lx(b);S.__index__=0,S.__values__=e,f?L.__wrapped__=S:f=S;var L=S;b=b.__wrapped__}return L.__wrapped__=a,f}function xB(){var a=this.__wrapped__;if(a instanceof ct){var f=a;return this.__actions__.length&&(f=new ct(this)),f=f.reverse(),f.__actions__.push({func:of,args:[dm],thisArg:e}),new zr(f,this.__chain__)}return this.thru(dm)}function vB(){return tx(this.__wrapped__,this.__actions__)}var SB=Xd(function(a,f,b){kt.call(a,b)?++a[b]:ho(a,b,1)});function kB(a,f,b){var S=Ve(a)?gC:pO;return b&&sr(a,f,b)&&(f=e),S(a,ze(f,3))}function EB(a,f){var b=Ve(a)?ei:jC;return b(a,ze(f,3))}var TB=fx(Dx),_B=fx(Ox);function NB(a,f){return Bn(lf(a,f),1)}function IB(a,f){return Bn(lf(a,f),ce)}function MB(a,f,b){return b=b===e?1:qe(b),Bn(lf(a,f),b)}function zx(a,f){var b=Ve(a)?jr:si;return b(a,ze(f,3))}function Ux(a,f){var b=Ve(a)?QL:PC;return b(a,ze(f,3))}var LB=Xd(function(a,f,b){kt.call(a,b)?a[b].push(f):ho(a,b,[f])});function DB(a,f,b,S){a=hr(a)?a:ma(a),b=b&&!S?qe(b):0;var L=a.length;return b<0&&(b=yn(L+b,0)),ff(a)?b<=L&&a.indexOf(f,b)>-1:!!L&&sa(a,f,b)>-1}var OB=rt(function(a,f,b){var S=-1,L=typeof f=="function",B=hr(a)?re(a.length):[];return si(a,function(U){B[++S]=L?xr(f,U,b):jc(U,f,b)}),B}),RB=Xd(function(a,f,b){ho(a,b,f)});function lf(a,f){var b=Ve(a)?Jt:HC;return b(a,ze(f,3))}function BB(a,f,b,S){return a==null?[]:(Ve(f)||(f=f==null?[]:[f]),b=S?e:b,Ve(b)||(b=b==null?[]:[b]),JC(a,f,b))}var PB=Xd(function(a,f,b){a[b?0:1].push(f)},function(){return[[],[]]});function jB(a,f,b){var S=Ve(a)?Sp:yC,L=arguments.length<3;return S(a,ze(f,4),b,L,si)}function FB(a,f,b){var S=Ve(a)?XL:yC,L=arguments.length<3;return S(a,ze(f,4),b,L,PC)}function zB(a,f){var b=Ve(a)?ei:jC;return b(a,uf(ze(f,3)))}function UB(a){var f=Ve(a)?DC:DO;return f(a)}function KB(a,f,b){(b?sr(a,f,b):f===e)?f=1:f=qe(f);var S=Ve(a)?uO:OO;return S(a,f)}function WB(a){var f=Ve(a)?dO:BO;return f(a)}function HB(a){if(a==null)return 0;if(hr(a))return ff(a)?ia(a):a.length;var f=Hn(a);return f==Ye||f==Dt?a.size:Wp(a).length}function YB(a,f,b){var S=Ve(a)?kp:PO;return b&&sr(a,f,b)&&(f=e),S(a,ze(f,3))}var ZB=rt(function(a,f){if(a==null)return[];var b=f.length;return b>1&&sr(a,f[0],f[1])?f=[]:b>2&&sr(f[0],f[1],f[2])&&(f=[f[0]]),JC(a,Bn(f,1),[])}),af=ED||function(){return Rn.Date.now()};function GB(a,f){if(typeof f!="function")throw new Fr(i);return a=qe(a),function(){if(--a<1)return f.apply(this,arguments)}}function Kx(a,f,b){return f=b?e:f,f=a&&f==null?a.length:f,go(a,T,e,e,e,e,f)}function Wx(a,f){var b;if(typeof f!="function")throw new Fr(i);return a=qe(a),function(){return--a>0&&(b=f.apply(this,arguments)),a<=1&&(f=e),b}}var hm=rt(function(a,f,b){var S=w;if(b.length){var L=ni(b,ga(hm));S|=N}return go(a,S,f,b,L)}),Hx=rt(function(a,f,b){var S=w|x;if(b.length){var L=ni(b,ga(Hx));S|=N}return go(f,S,a,b,L)});function Yx(a,f,b){f=b?e:f;var S=go(a,v,e,e,e,e,e,f);return S.placeholder=Yx.placeholder,S}function Zx(a,f,b){f=b?e:f;var S=go(a,_,e,e,e,e,e,f);return S.placeholder=Zx.placeholder,S}function Gx(a,f,b){var S,L,B,U,G,Q,de=0,fe=!1,ge=!1,xe=!0;if(typeof a!="function")throw new Fr(i);f=Hr(f)||0,Qt(b)&&(fe=!!b.leading,ge="maxWait"in b,B=ge?yn(Hr(b.maxWait)||0,f):B,xe="trailing"in b?!!b.trailing:xe);function De(nn){var fs=S,bo=L;return S=L=e,de=nn,U=a.apply(bo,fs),U}function Ue(nn){return de=nn,G=Wc(lt,f),fe?De(nn):U}function et(nn){var fs=nn-Q,bo=nn-de,fv=f-fs;return ge?Wn(fv,B-bo):fv}function Ke(nn){var fs=nn-Q,bo=nn-de;return Q===e||fs>=f||fs<0||ge&&bo>=B}function lt(){var nn=af();if(Ke(nn))return dt(nn);G=Wc(lt,et(nn))}function dt(nn){return G=e,xe&&S?De(nn):(S=L=e,U)}function Er(){G!==e&&rx(G),de=0,S=Q=L=G=e}function or(){return G===e?U:dt(af())}function Tr(){var nn=af(),fs=Ke(nn);if(S=arguments,L=this,Q=nn,fs){if(G===e)return Ue(Q);if(ge)return rx(G),G=Wc(lt,f),De(Q)}return G===e&&(G=Wc(lt,f)),U}return Tr.cancel=Er,Tr.flush=or,Tr}var JB=rt(function(a,f){return BC(a,1,f)}),VB=rt(function(a,f,b){return BC(a,Hr(f)||0,b)});function QB(a){return go(a,M)}function cf(a,f){if(typeof a!="function"||f!=null&&typeof f!="function")throw new Fr(i);var b=function(){var S=arguments,L=f?f.apply(this,S):S[0],B=b.cache;if(B.has(L))return B.get(L);var U=a.apply(this,S);return b.cache=B.set(L,U)||B,U};return b.cache=new(cf.Cache||fo),b}cf.Cache=fo;function uf(a){if(typeof a!="function")throw new Fr(i);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 XB(a){return Wx(2,a)}var qB=jO(function(a,f){f=f.length==1&&Ve(f[0])?Jt(f[0],vr(ze())):Jt(Bn(f,1),vr(ze()));var b=f.length;return rt(function(S){for(var L=-1,B=Wn(S.length,b);++L<B;)S[L]=f[L].call(this,S[L]);return xr(a,this,S)})}),gm=rt(function(a,f){var b=ni(f,ga(gm));return go(a,N,e,f,b)}),Jx=rt(function(a,f){var b=ni(f,ga(Jx));return go(a,E,e,f,b)}),$B=po(function(a,f){return go(a,I,e,e,e,f)});function eP(a,f){if(typeof a!="function")throw new Fr(i);return f=f===e?f:qe(f),rt(a,f)}function tP(a,f){if(typeof a!="function")throw new Fr(i);return f=f==null?0:yn(qe(f),0),rt(function(b){var S=b[f],L=li(b,0,f);return S&&ti(L,S),xr(a,this,L)})}function nP(a,f,b){var S=!0,L=!0;if(typeof a!="function")throw new Fr(i);return Qt(b)&&(S="leading"in b?!!b.leading:S,L="trailing"in b?!!b.trailing:L),Gx(a,f,{leading:S,maxWait:f,trailing:L})}function rP(a){return Kx(a,1)}function sP(a,f){return gm(qp(f),a)}function oP(){if(!arguments.length)return[];var a=arguments[0];return Ve(a)?a:[a]}function iP(a){return Ur(a,p)}function lP(a,f){return f=typeof f=="function"?f:e,Ur(a,p,f)}function aP(a){return Ur(a,h|p)}function cP(a,f){return f=typeof f=="function"?f:e,Ur(a,h|p,f)}function uP(a,f){return f==null||RC(a,f,kn(f))}function ds(a,f){return a===f||a!==a&&f!==f}var dP=tf(zp),fP=tf(function(a,f){return a>=f}),Xi=UC((function(){return arguments})())?UC:function(a){return $t(a)&&kt.call(a,"callee")&&!TC.call(a,"callee")},Ve=re.isArray,hP=aC?vr(aC):CO;function hr(a){return a!=null&&df(a.length)&&!Ao(a)}function tn(a){return $t(a)&&hr(a)}function gP(a){return a===!0||a===!1||$t(a)&&rr(a)==Ae}var ai=_D||km,pP=cC?vr(cC):xO;function mP(a){return $t(a)&&a.nodeType===1&&!Hc(a)}function AP(a){if(a==null)return!0;if(hr(a)&&(Ve(a)||typeof a=="string"||typeof a.splice=="function"||ai(a)||pa(a)||Xi(a)))return!a.length;var f=Hn(a);if(f==Ye||f==Dt)return!a.size;if(Kc(a))return!Wp(a).length;for(var b in a)if(kt.call(a,b))return!1;return!0}function yP(a,f){return Fc(a,f)}function bP(a,f,b){b=typeof b=="function"?b:e;var S=b?b(a,f):e;return S===e?Fc(a,f,e,b):!!S}function pm(a){if(!$t(a))return!1;var f=rr(a);return f==Ie||f==pe||typeof a.message=="string"&&typeof a.name=="string"&&!Hc(a)}function wP(a){return typeof a=="number"&&NC(a)}function Ao(a){if(!Qt(a))return!1;var f=rr(a);return f==$e||f==pt||f==se||f==it}function Vx(a){return typeof a=="number"&&a==qe(a)}function df(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ne}function Qt(a){var f=typeof a;return a!=null&&(f=="object"||f=="function")}function $t(a){return a!=null&&typeof a=="object"}var Qx=uC?vr(uC):SO;function CP(a,f){return a===f||Kp(a,f,om(f))}function xP(a,f,b){return b=typeof b=="function"?b:e,Kp(a,f,om(f),b)}function vP(a){return Xx(a)&&a!=+a}function SP(a){if(lR(a))throw new Ge(o);return KC(a)}function kP(a){return a===null}function EP(a){return a==null}function Xx(a){return typeof a=="number"||$t(a)&&rr(a)==wt}function Hc(a){if(!$t(a)||rr(a)!=Oe)return!1;var f=Pd(a);if(f===null)return!0;var b=kt.call(f,"constructor")&&f.constructor;return typeof b=="function"&&b instanceof b&&Dd.call(b)==xD}var mm=dC?vr(dC):kO;function TP(a){return Vx(a)&&a>=-ne&&a<=ne}var qx=fC?vr(fC):EO;function ff(a){return typeof a=="string"||!Ve(a)&&$t(a)&&rr(a)==ur}function kr(a){return typeof a=="symbol"||$t(a)&&rr(a)==Pe}var pa=hC?vr(hC):TO;function _P(a){return a===e}function NP(a){return $t(a)&&Hn(a)==At}function IP(a){return $t(a)&&rr(a)==Ft}var MP=tf(Hp),LP=tf(function(a,f){return a<=f});function $x(a){if(!a)return[];if(hr(a))return ff(a)?cs(a):fr(a);if(Mc&&a[Mc])return uD(a[Mc]());var f=Hn(a),b=f==Ye?Mp:f==Dt?Id:ma;return b(a)}function yo(a){if(!a)return a===0?a:0;if(a=Hr(a),a===ce||a===-ce){var f=a<0?-1:1;return f*X}return a===a?a:0}function qe(a){var f=yo(a),b=f%1;return f===f?b?f-b:f:0}function ev(a){return a?Gi(qe(a),0,q):0}function Hr(a){if(typeof a=="number")return a;if(kr(a))return he;if(Qt(a)){var f=typeof a.valueOf=="function"?a.valueOf():a;a=Qt(f)?f+"":f}if(typeof a!="string")return a===0?a:+a;a=bC(a);var b=hL.test(a);return b||pL.test(a)?GL(a.slice(2),b?2:8):fL.test(a)?he:+a}function tv(a){return Is(a,gr(a))}function DP(a){return a?Gi(qe(a),-ne,ne):a===0?a:0}function xt(a){return a==null?"":Sr(a)}var OP=fa(function(a,f){if(Kc(f)||hr(f)){Is(f,kn(f),a);return}for(var b in f)kt.call(f,b)&&Bc(a,b,f[b])}),nv=fa(function(a,f){Is(f,gr(f),a)}),hf=fa(function(a,f,b,S){Is(f,gr(f),a,S)}),RP=fa(function(a,f,b,S){Is(f,kn(f),a,S)}),BP=po(Pp);function PP(a,f){var b=da(a);return f==null?b:OC(b,f)}var jP=rt(function(a,f){a=Ot(a);var b=-1,S=f.length,L=S>2?f[2]:e;for(L&&sr(f[0],f[1],L)&&(S=1);++b<S;)for(var B=f[b],U=gr(B),G=-1,Q=U.length;++G<Q;){var de=U[G],fe=a[de];(fe===e||ds(fe,aa[de])&&!kt.call(a,de))&&(a[de]=B[de])}return a}),FP=rt(function(a){return a.push(e,bx),xr(rv,e,a)});function zP(a,f){return pC(a,ze(f,3),Ns)}function UP(a,f){return pC(a,ze(f,3),Fp)}function KP(a,f){return a==null?a:jp(a,ze(f,3),gr)}function WP(a,f){return a==null?a:FC(a,ze(f,3),gr)}function HP(a,f){return a&&Ns(a,ze(f,3))}function YP(a,f){return a&&Fp(a,ze(f,3))}function ZP(a){return a==null?[]:Gd(a,kn(a))}function GP(a){return a==null?[]:Gd(a,gr(a))}function Am(a,f,b){var S=a==null?e:Ji(a,f);return S===e?b:S}function JP(a,f){return a!=null&&xx(a,f,AO)}function ym(a,f){return a!=null&&xx(a,f,yO)}var VP=gx(function(a,f,b){f!=null&&typeof f.toString!="function"&&(f=Od.call(f)),a[f]=b},wm(pr)),QP=gx(function(a,f,b){f!=null&&typeof f.toString!="function"&&(f=Od.call(f)),kt.call(a,f)?a[f].push(b):a[f]=[b]},ze),XP=rt(jc);function kn(a){return hr(a)?LC(a):Wp(a)}function gr(a){return hr(a)?LC(a,!0):_O(a)}function qP(a,f){var b={};return f=ze(f,3),Ns(a,function(S,L,B){ho(b,f(S,L,B),S)}),b}function $P(a,f){var b={};return f=ze(f,3),Ns(a,function(S,L,B){ho(b,L,f(S,L,B))}),b}var ej=fa(function(a,f,b){Jd(a,f,b)}),rv=fa(function(a,f,b,S){Jd(a,f,b,S)}),tj=po(function(a,f){var b={};if(a==null)return b;var S=!1;f=Jt(f,function(B){return B=ii(B,a),S||(S=B.length>1),B}),Is(a,rm(a),b),S&&(b=Ur(b,h|g|p,VO));for(var L=f.length;L--;)Vp(b,f[L]);return b});function nj(a,f){return sv(a,uf(ze(f)))}var rj=po(function(a,f){return a==null?{}:IO(a,f)});function sv(a,f){if(a==null)return{};var b=Jt(rm(a),function(S){return[S]});return f=ze(f),VC(a,b,function(S,L){return f(S,L[0])})}function sj(a,f,b){f=ii(f,a);var S=-1,L=f.length;for(L||(L=1,a=e);++S<L;){var B=a==null?e:a[Ms(f[S])];B===e&&(S=L,B=b),a=Ao(B)?B.call(a):B}return a}function oj(a,f,b){return a==null?a:zc(a,f,b)}function ij(a,f,b,S){return S=typeof S=="function"?S:e,a==null?a:zc(a,f,b,S)}var ov=Ax(kn),iv=Ax(gr);function lj(a,f,b){var S=Ve(a),L=S||ai(a)||pa(a);if(f=ze(f,4),b==null){var B=a&&a.constructor;L?b=S?new B:[]:Qt(a)?b=Ao(B)?da(Pd(a)):{}:b={}}return(L?jr:Ns)(a,function(U,G,Q){return f(b,U,G,Q)}),b}function aj(a,f){return a==null?!0:Vp(a,f)}function cj(a,f,b){return a==null?a:ex(a,f,qp(b))}function uj(a,f,b,S){return S=typeof S=="function"?S:e,a==null?a:ex(a,f,qp(b),S)}function ma(a){return a==null?[]:Ip(a,kn(a))}function dj(a){return a==null?[]:Ip(a,gr(a))}function fj(a,f,b){return b===e&&(b=f,f=e),b!==e&&(b=Hr(b),b=b===b?b:0),f!==e&&(f=Hr(f),f=f===f?f:0),Gi(Hr(a),f,b)}function hj(a,f,b){return f=yo(f),b===e?(b=f,f=0):b=yo(b),a=Hr(a),bO(a,f,b)}function gj(a,f,b){if(b&&typeof b!="boolean"&&sr(a,f,b)&&(f=b=e),b===e&&(typeof f=="boolean"?(b=f,f=e):typeof a=="boolean"&&(b=a,a=e)),a===e&&f===e?(a=0,f=1):(a=yo(a),f===e?(f=a,a=0):f=yo(f)),a>f){var S=a;a=f,f=S}if(b||a%1||f%1){var L=IC();return Wn(a+L*(f-a+ZL("1e-"+((L+"").length-1))),f)}return Zp(a,f)}var pj=ha(function(a,f,b){return f=f.toLowerCase(),a+(b?lv(f):f)});function lv(a){return bm(xt(a).toLowerCase())}function av(a){return a=xt(a),a&&a.replace(AL,oD).replace(BL,"")}function mj(a,f,b){a=xt(a),f=Sr(f);var S=a.length;b=b===e?S:Gi(qe(b),0,S);var L=b;return b-=f.length,b>=0&&a.slice(b,L)==f}function Aj(a){return a=xt(a),a&&XM.test(a)?a.replace(Fw,iD):a}function yj(a){return a=xt(a),a&&rL.test(a)?a.replace(gp,"\\$&"):a}var bj=ha(function(a,f,b){return a+(b?"-":"")+f.toLowerCase()}),wj=ha(function(a,f,b){return a+(b?" ":"")+f.toLowerCase()}),Cj=dx("toLowerCase");function xj(a,f,b){a=xt(a),f=qe(f);var S=f?ia(a):0;if(!f||S>=f)return a;var L=(f-S)/2;return ef(Ud(L),b)+a+ef(zd(L),b)}function vj(a,f,b){a=xt(a),f=qe(f);var S=f?ia(a):0;return f&&S<f?a+ef(f-S,b):a}function Sj(a,f,b){a=xt(a),f=qe(f);var S=f?ia(a):0;return f&&S<f?ef(f-S,b)+a:a}function kj(a,f,b){return b||f==null?f=0:f&&(f=+f),LD(xt(a).replace(pp,""),f||0)}function Ej(a,f,b){return(b?sr(a,f,b):f===e)?f=1:f=qe(f),Gp(xt(a),f)}function Tj(){var a=arguments,f=xt(a[0]);return a.length<3?f:f.replace(a[1],a[2])}var _j=ha(function(a,f,b){return a+(b?"_":"")+f.toLowerCase()});function Nj(a,f,b){return b&&typeof b!="number"&&sr(a,f,b)&&(f=b=e),b=b===e?q:b>>>0,b?(a=xt(a),a&&(typeof f=="string"||f!=null&&!mm(f))&&(f=Sr(f),!f&&oa(a))?li(cs(a),0,b):a.split(f,b)):[]}var Ij=ha(function(a,f,b){return a+(b?" ":"")+bm(f)});function Mj(a,f,b){return a=xt(a),b=b==null?0:Gi(qe(b),0,a.length),f=Sr(f),a.slice(b,b+f.length)==f}function Lj(a,f,b){var S=R.templateSettings;b&&sr(a,f,b)&&(f=e),a=xt(a),f=hf({},f,S,yx);var L=hf({},f.imports,S.imports,yx),B=kn(L),U=Ip(L,B),G,Q,de=0,fe=f.interpolate||kd,ge="__p += '",xe=Lp((f.escape||kd).source+"|"+fe.source+"|"+(fe===zw?dL:kd).source+"|"+(f.evaluate||kd).source+"|$","g"),De="//# sourceURL="+(kt.call(f,"sourceURL")?(f.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++UL+"]")+`
|
|
82
|
+
`;a.replace(xe,function(Ke,lt,dt,Er,or,Tr){return dt||(dt=Er),ge+=a.slice(de,Tr).replace(yL,lD),lt&&(G=!0,ge+=`' +
|
|
83
|
+
__e(`+lt+`) +
|
|
84
|
+
'`),or&&(Q=!0,ge+=`';
|
|
85
|
+
`+or+`;
|
|
86
|
+
__p += '`),dt&&(ge+=`' +
|
|
87
|
+
((__t = (`+dt+`)) == null ? '' : __t) +
|
|
88
|
+
'`),de=Tr+Ke.length,Ke}),ge+=`';
|
|
89
|
+
`;var Ue=kt.call(f,"variable")&&f.variable;if(!Ue)ge=`with (obj) {
|
|
90
|
+
`+ge+`
|
|
91
|
+
}
|
|
92
|
+
`;else if(cL.test(Ue))throw new Ge(l);ge=(Q?ge.replace(GM,""):ge).replace(JM,"$1").replace(VM,"$1;"),ge="function("+(Ue||"obj")+`) {
|
|
93
|
+
`+(Ue?"":`obj || (obj = {});
|
|
94
|
+
`)+"var __t, __p = ''"+(G?", __e = _.escape":"")+(Q?`, __j = Array.prototype.join;
|
|
95
|
+
function print() { __p += __j.call(arguments, '') }
|
|
96
|
+
`:`;
|
|
97
|
+
`)+ge+`return __p
|
|
98
|
+
}`;var et=uv(function(){return yt(B,De+"return "+ge).apply(e,U)});if(et.source=ge,pm(et))throw et;return et}function Dj(a){return xt(a).toLowerCase()}function Oj(a){return xt(a).toUpperCase()}function Rj(a,f,b){if(a=xt(a),a&&(b||f===e))return bC(a);if(!a||!(f=Sr(f)))return a;var S=cs(a),L=cs(f),B=wC(S,L),U=CC(S,L)+1;return li(S,B,U).join("")}function Bj(a,f,b){if(a=xt(a),a&&(b||f===e))return a.slice(0,vC(a)+1);if(!a||!(f=Sr(f)))return a;var S=cs(a),L=CC(S,cs(f))+1;return li(S,0,L).join("")}function Pj(a,f,b){if(a=xt(a),a&&(b||f===e))return a.replace(pp,"");if(!a||!(f=Sr(f)))return a;var S=cs(a),L=wC(S,cs(f));return li(S,L).join("")}function jj(a,f){var b=O,S=P;if(Qt(f)){var L="separator"in f?f.separator:L;b="length"in f?qe(f.length):b,S="omission"in f?Sr(f.omission):S}a=xt(a);var B=a.length;if(oa(a)){var U=cs(a);B=U.length}if(b>=B)return a;var G=b-ia(S);if(G<1)return S;var Q=U?li(U,0,G).join(""):a.slice(0,G);if(L===e)return Q+S;if(U&&(G+=Q.length-G),mm(L)){if(a.slice(G).search(L)){var de,fe=Q;for(L.global||(L=Lp(L.source,xt(Uw.exec(L))+"g")),L.lastIndex=0;de=L.exec(fe);)var ge=de.index;Q=Q.slice(0,ge===e?G:ge)}}else if(a.indexOf(Sr(L),G)!=G){var xe=Q.lastIndexOf(L);xe>-1&&(Q=Q.slice(0,xe))}return Q+S}function Fj(a){return a=xt(a),a&&QM.test(a)?a.replace(jw,gD):a}var zj=ha(function(a,f,b){return a+(b?" ":"")+f.toUpperCase()}),bm=dx("toUpperCase");function cv(a,f,b){return a=xt(a),f=b?e:f,f===e?cD(a)?AD(a):eD(a):a.match(f)||[]}var uv=rt(function(a,f){try{return xr(a,e,f)}catch(b){return pm(b)?b:new Ge(b)}}),Uj=po(function(a,f){return jr(f,function(b){b=Ms(b),ho(a,b,hm(a[b],a))}),a});function Kj(a){var f=a==null?0:a.length,b=ze();return a=f?Jt(a,function(S){if(typeof S[1]!="function")throw new Fr(i);return[b(S[0]),S[1]]}):[],rt(function(S){for(var L=-1;++L<f;){var B=a[L];if(xr(B[0],this,S))return xr(B[1],this,S)}})}function Wj(a){return gO(Ur(a,h))}function wm(a){return function(){return a}}function Hj(a,f){return a==null||a!==a?f:a}var Yj=hx(),Zj=hx(!0);function pr(a){return a}function Cm(a){return WC(typeof a=="function"?a:Ur(a,h))}function Gj(a){return YC(Ur(a,h))}function Jj(a,f){return ZC(a,Ur(f,h))}var Vj=rt(function(a,f){return function(b){return jc(b,a,f)}}),Qj=rt(function(a,f){return function(b){return jc(a,b,f)}});function xm(a,f,b){var S=kn(f),L=Gd(f,S);b==null&&!(Qt(f)&&(L.length||!S.length))&&(b=f,f=a,a=this,L=Gd(f,kn(f)));var B=!(Qt(b)&&"chain"in b)||!!b.chain,U=Ao(a);return jr(L,function(G){var Q=f[G];a[G]=Q,U&&(a.prototype[G]=function(){var de=this.__chain__;if(B||de){var fe=a(this.__wrapped__),ge=fe.__actions__=fr(this.__actions__);return ge.push({func:Q,args:arguments,thisArg:a}),fe.__chain__=de,fe}return Q.apply(a,ti([this.value()],arguments))})}),a}function Xj(){return Rn._===this&&(Rn._=vD),this}function vm(){}function qj(a){return a=qe(a),rt(function(f){return GC(f,a)})}var $j=em(Jt),eF=em(gC),tF=em(kp);function dv(a){return lm(a)?Ep(Ms(a)):MO(a)}function nF(a){return function(f){return a==null?e:Ji(a,f)}}var rF=px(),sF=px(!0);function Sm(){return[]}function km(){return!1}function oF(){return{}}function iF(){return""}function lF(){return!0}function aF(a,f){if(a=qe(a),a<1||a>ne)return[];var b=q,S=Wn(a,q);f=ze(f),a-=q;for(var L=Np(S,f);++b<a;)f(b);return L}function cF(a){return Ve(a)?Jt(a,Ms):kr(a)?[a]:fr(Mx(xt(a)))}function uF(a){var f=++CD;return xt(a)+f}var dF=$d(function(a,f){return a+f},0),fF=tm("ceil"),hF=$d(function(a,f){return a/f},1),gF=tm("floor");function pF(a){return a&&a.length?Zd(a,pr,zp):e}function mF(a,f){return a&&a.length?Zd(a,ze(f,2),zp):e}function AF(a){return AC(a,pr)}function yF(a,f){return AC(a,ze(f,2))}function bF(a){return a&&a.length?Zd(a,pr,Hp):e}function wF(a,f){return a&&a.length?Zd(a,ze(f,2),Hp):e}var CF=$d(function(a,f){return a*f},1),xF=tm("round"),vF=$d(function(a,f){return a-f},0);function SF(a){return a&&a.length?_p(a,pr):0}function kF(a,f){return a&&a.length?_p(a,ze(f,2)):0}return R.after=GB,R.ary=Kx,R.assign=OP,R.assignIn=nv,R.assignInWith=hf,R.assignWith=RP,R.at=BP,R.before=Wx,R.bind=hm,R.bindAll=Uj,R.bindKey=Hx,R.castArray=oP,R.chain=Fx,R.chunk=gR,R.compact=pR,R.concat=mR,R.cond=Kj,R.conforms=Wj,R.constant=wm,R.countBy=SB,R.create=PP,R.curry=Yx,R.curryRight=Zx,R.debounce=Gx,R.defaults=jP,R.defaultsDeep=FP,R.defer=JB,R.delay=VB,R.difference=AR,R.differenceBy=yR,R.differenceWith=bR,R.drop=wR,R.dropRight=CR,R.dropRightWhile=xR,R.dropWhile=vR,R.fill=SR,R.filter=EB,R.flatMap=NB,R.flatMapDeep=IB,R.flatMapDepth=MB,R.flatten=Rx,R.flattenDeep=kR,R.flattenDepth=ER,R.flip=QB,R.flow=Yj,R.flowRight=Zj,R.fromPairs=TR,R.functions=ZP,R.functionsIn=GP,R.groupBy=LB,R.initial=NR,R.intersection=IR,R.intersectionBy=MR,R.intersectionWith=LR,R.invert=VP,R.invertBy=QP,R.invokeMap=OB,R.iteratee=Cm,R.keyBy=RB,R.keys=kn,R.keysIn=gr,R.map=lf,R.mapKeys=qP,R.mapValues=$P,R.matches=Gj,R.matchesProperty=Jj,R.memoize=cf,R.merge=ej,R.mergeWith=rv,R.method=Vj,R.methodOf=Qj,R.mixin=xm,R.negate=uf,R.nthArg=qj,R.omit=tj,R.omitBy=nj,R.once=XB,R.orderBy=BB,R.over=$j,R.overArgs=qB,R.overEvery=eF,R.overSome=tF,R.partial=gm,R.partialRight=Jx,R.partition=PB,R.pick=rj,R.pickBy=sv,R.property=dv,R.propertyOf=nF,R.pull=BR,R.pullAll=Px,R.pullAllBy=PR,R.pullAllWith=jR,R.pullAt=FR,R.range=rF,R.rangeRight=sF,R.rearg=$B,R.reject=zB,R.remove=zR,R.rest=eP,R.reverse=dm,R.sampleSize=KB,R.set=oj,R.setWith=ij,R.shuffle=WB,R.slice=UR,R.sortBy=ZB,R.sortedUniq=JR,R.sortedUniqBy=VR,R.split=Nj,R.spread=tP,R.tail=QR,R.take=XR,R.takeRight=qR,R.takeRightWhile=$R,R.takeWhile=eB,R.tap=pB,R.throttle=nP,R.thru=of,R.toArray=$x,R.toPairs=ov,R.toPairsIn=iv,R.toPath=cF,R.toPlainObject=tv,R.transform=lj,R.unary=rP,R.union=tB,R.unionBy=nB,R.unionWith=rB,R.uniq=sB,R.uniqBy=oB,R.uniqWith=iB,R.unset=aj,R.unzip=fm,R.unzipWith=jx,R.update=cj,R.updateWith=uj,R.values=ma,R.valuesIn=dj,R.without=lB,R.words=cv,R.wrap=sP,R.xor=aB,R.xorBy=cB,R.xorWith=uB,R.zip=dB,R.zipObject=fB,R.zipObjectDeep=hB,R.zipWith=gB,R.entries=ov,R.entriesIn=iv,R.extend=nv,R.extendWith=hf,xm(R,R),R.add=dF,R.attempt=uv,R.camelCase=pj,R.capitalize=lv,R.ceil=fF,R.clamp=fj,R.clone=iP,R.cloneDeep=aP,R.cloneDeepWith=cP,R.cloneWith=lP,R.conformsTo=uP,R.deburr=av,R.defaultTo=Hj,R.divide=hF,R.endsWith=mj,R.eq=ds,R.escape=Aj,R.escapeRegExp=yj,R.every=kB,R.find=TB,R.findIndex=Dx,R.findKey=zP,R.findLast=_B,R.findLastIndex=Ox,R.findLastKey=UP,R.floor=gF,R.forEach=zx,R.forEachRight=Ux,R.forIn=KP,R.forInRight=WP,R.forOwn=HP,R.forOwnRight=YP,R.get=Am,R.gt=dP,R.gte=fP,R.has=JP,R.hasIn=ym,R.head=Bx,R.identity=pr,R.includes=DB,R.indexOf=_R,R.inRange=hj,R.invoke=XP,R.isArguments=Xi,R.isArray=Ve,R.isArrayBuffer=hP,R.isArrayLike=hr,R.isArrayLikeObject=tn,R.isBoolean=gP,R.isBuffer=ai,R.isDate=pP,R.isElement=mP,R.isEmpty=AP,R.isEqual=yP,R.isEqualWith=bP,R.isError=pm,R.isFinite=wP,R.isFunction=Ao,R.isInteger=Vx,R.isLength=df,R.isMap=Qx,R.isMatch=CP,R.isMatchWith=xP,R.isNaN=vP,R.isNative=SP,R.isNil=EP,R.isNull=kP,R.isNumber=Xx,R.isObject=Qt,R.isObjectLike=$t,R.isPlainObject=Hc,R.isRegExp=mm,R.isSafeInteger=TP,R.isSet=qx,R.isString=ff,R.isSymbol=kr,R.isTypedArray=pa,R.isUndefined=_P,R.isWeakMap=NP,R.isWeakSet=IP,R.join=DR,R.kebabCase=bj,R.last=Wr,R.lastIndexOf=OR,R.lowerCase=wj,R.lowerFirst=Cj,R.lt=MP,R.lte=LP,R.max=pF,R.maxBy=mF,R.mean=AF,R.meanBy=yF,R.min=bF,R.minBy=wF,R.stubArray=Sm,R.stubFalse=km,R.stubObject=oF,R.stubString=iF,R.stubTrue=lF,R.multiply=CF,R.nth=RR,R.noConflict=Xj,R.noop=vm,R.now=af,R.pad=xj,R.padEnd=vj,R.padStart=Sj,R.parseInt=kj,R.random=gj,R.reduce=jB,R.reduceRight=FB,R.repeat=Ej,R.replace=Tj,R.result=sj,R.round=xF,R.runInContext=V,R.sample=UB,R.size=HB,R.snakeCase=_j,R.some=YB,R.sortedIndex=KR,R.sortedIndexBy=WR,R.sortedIndexOf=HR,R.sortedLastIndex=YR,R.sortedLastIndexBy=ZR,R.sortedLastIndexOf=GR,R.startCase=Ij,R.startsWith=Mj,R.subtract=vF,R.sum=SF,R.sumBy=kF,R.template=Lj,R.times=aF,R.toFinite=yo,R.toInteger=qe,R.toLength=ev,R.toLower=Dj,R.toNumber=Hr,R.toSafeInteger=DP,R.toString=xt,R.toUpper=Oj,R.trim=Rj,R.trimEnd=Bj,R.trimStart=Pj,R.truncate=jj,R.unescape=Fj,R.uniqueId=uF,R.upperCase=zj,R.upperFirst=bm,R.each=zx,R.eachRight=Ux,R.first=Bx,xm(R,(function(){var a={};return Ns(R,function(f,b){kt.call(R.prototype,b)||(a[b]=f)}),a})(),{chain:!1}),R.VERSION=r,jr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){R[a].placeholder=R}),jr(["drop","take"],function(a,f){ct.prototype[a]=function(b){b=b===e?1:yn(qe(b),0);var S=this.__filtered__&&!f?new ct(this):this.clone();return S.__filtered__?S.__takeCount__=Wn(b,S.__takeCount__):S.__views__.push({size:Wn(b,q),type:a+(S.__dir__<0?"Right":"")}),S},ct.prototype[a+"Right"]=function(b){return this.reverse()[a](b).reverse()}}),jr(["filter","map","takeWhile"],function(a,f){var b=f+1,S=b==H||b==le;ct.prototype[a]=function(L){var B=this.clone();return B.__iteratees__.push({iteratee:ze(L,3),type:b}),B.__filtered__=B.__filtered__||S,B}}),jr(["head","last"],function(a,f){var b="take"+(f?"Right":"");ct.prototype[a]=function(){return this[b](1).value()[0]}}),jr(["initial","tail"],function(a,f){var b="drop"+(f?"":"Right");ct.prototype[a]=function(){return this.__filtered__?new ct(this):this[b](1)}}),ct.prototype.compact=function(){return this.filter(pr)},ct.prototype.find=function(a){return this.filter(a).head()},ct.prototype.findLast=function(a){return this.reverse().find(a)},ct.prototype.invokeMap=rt(function(a,f){return typeof a=="function"?new ct(this):this.map(function(b){return jc(b,a,f)})}),ct.prototype.reject=function(a){return this.filter(uf(ze(a)))},ct.prototype.slice=function(a,f){a=qe(a);var b=this;return b.__filtered__&&(a>0||f<0)?new ct(b):(a<0?b=b.takeRight(-a):a&&(b=b.drop(a)),f!==e&&(f=qe(f),b=f<0?b.dropRight(-f):b.take(f-a)),b)},ct.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ct.prototype.toArray=function(){return this.take(q)},Ns(ct.prototype,function(a,f){var b=/^(?:filter|find|map|reject)|While$/.test(f),S=/^(?:head|last)$/.test(f),L=R[S?"take"+(f=="last"?"Right":""):f],B=S||/^find/.test(f);L&&(R.prototype[f]=function(){var U=this.__wrapped__,G=S?[1]:arguments,Q=U instanceof ct,de=G[0],fe=Q||Ve(U),ge=function(lt){var dt=L.apply(R,ti([lt],G));return S&&xe?dt[0]:dt};fe&&b&&typeof de=="function"&&de.length!=1&&(Q=fe=!1);var xe=this.__chain__,De=!!this.__actions__.length,Ue=B&&!xe,et=Q&&!De;if(!B&&fe){U=et?U:new ct(this);var Ke=a.apply(U,G);return Ke.__actions__.push({func:of,args:[ge],thisArg:e}),new zr(Ke,xe)}return Ue&&et?a.apply(this,G):(Ke=this.thru(ge),Ue?S?Ke.value()[0]:Ke.value():Ke)})}),jr(["pop","push","shift","sort","splice","unshift"],function(a){var f=Md[a],b=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",S=/^(?:pop|shift)$/.test(a);R.prototype[a]=function(){var L=arguments;if(S&&!this.__chain__){var B=this.value();return f.apply(Ve(B)?B:[],L)}return this[b](function(U){return f.apply(Ve(U)?U:[],L)})}}),Ns(ct.prototype,function(a,f){var b=R[f];if(b){var S=b.name+"";kt.call(ua,S)||(ua[S]=[]),ua[S].push({name:f,func:b})}}),ua[qd(e,x).name]=[{name:"wrapper",func:e}],ct.prototype.clone=FD,ct.prototype.reverse=zD,ct.prototype.value=UD,R.prototype.at=mB,R.prototype.chain=AB,R.prototype.commit=yB,R.prototype.next=bB,R.prototype.plant=CB,R.prototype.reverse=xB,R.prototype.toJSON=R.prototype.valueOf=R.prototype.value=vB,R.prototype.first=R.prototype.head,Mc&&(R.prototype[Mc]=wB),R}),la=yD();Wi?((Wi.exports=la)._=la,Cp._=la):Rn._=la}).call(eG)})(ou,ou.exports)),ou.exports}var nG=tG();function rG(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 sG(n,t){let e=150;const{clientY:r}=n;if(t===window){const s=window.innerHeight;r<e?window.scrollBy(0,Math.max(-15,(r-e)/15)):r>s-e&&window.scrollBy(0,Math.min(15,(r-(s-e))/15))}else{e=100;const s=t.getBoundingClientRect();r<s.top+e?t.scrollTop-=5:r>s.bottom-e&&(t.scrollTop+=5)}}const oG=nG.throttle((n,t)=>{n.preventDefault(),sG(n,t)},16);let Rf=null;function iG(n){return n?n.classList.contains("dsd__theme__table-scrollable-wrapper")?n.firstElementChild:n:null}function lG(n,t,e){const r=k.useRef(null),s=k.useRef(null),o=k.useRef(!1),i=k.useRef(!1),l=k.useRef({htmlElement:null,lexicalNode:null,isBottom:!1}),c=k.useRef(null),[u,d]=k.useState(null),{disable:h}=k.useContext(Mt),[g,p]=k.useState(!1),[m,y]=k.useState({opened:!1}),[w,x]=k.useState(""),[C,v]=k.useState(null),[_,N]=k.useState(!1),[E,T]=k.useState({left:!1,right:!1}),[I,M]=k.useState(null),{t:O}=ot.useTranslation(),P=ip(K=>{const J=K.target;i.current||Of(J)&&(WY(J)||n.read(()=>{var Ae;const ee=J.className.includes("content-editable-wrapper"),ie=ee?Me():Re(J),{htmlElement:ue,lexicalNode:se}=dk(ie,n,{root:!0,"layout-container":!0,"layout-item":!0,callout:!0,"collapsible-content":!0},K);if((se==null?void 0:se.__type)==="callout"||(se==null?void 0:se.__type)==="callout-image"||((Ae=se==null?void 0:se.getParent())==null?void 0:Ae.__type)==="callout"&&(se==null?void 0:se.getPreviousSibling())===null){d(null);return}if(!(ee&&se instanceof Ts||ee&&!se)&&se!=null&&se.__key){if(se.__type==="layout-container"||se.__type==="layout-item"||se.__type==="collapsible-content"){d(null);return}ue&&(l.current.htmlElement=ue,l.current.lexicalNode=se),(se==null?void 0:se.__type)==="collapsible-title"&&(l.current.htmlElement=(ue==null?void 0:ue.parentElement)||ue,l.current.lexicalNode=se.getParent()),v(null),d(l.current.htmlElement)}}))},20,50);k.useEffect(()=>()=>{Rf=null},[]),k.useEffect(()=>{function K(){i.current||d(null)}function J(ie){if(!o.current)return!1;const[ue]=Da(ie);if(ue)return!1;const{target:se,dataTransfer:Ae}=ie,Ne=(Ae==null?void 0:Ae.getData(zk))||"";n.update(()=>{var Le;let pe=be(Ne);if(!pe||!(Of(se)||se.closest(".resizable-container")))return!1;const{htmlElement:Ie,lexicalNode:$e,isBottom:pt}=l.current;let Ye=$e,wt=null;if(Ye!=null&&Ye.__key&&(wt=Ie),!wt||!Ye)return!1;if(Ye===pe)return!0;if(s.current&&jY(s.current,n,Ye,pe))return!1;if(pe.__type==="layout-divider"){if(pe=pe.getParent(),$e&&(pe!=null&&pe.isParentOf($e)))return!1;tM(n,pe)}if(pe.getParent()instanceof Rr&&((Le=pe.getParent())==null?void 0:Le.getChildren().length)===2){const it=pe.getParent(),Gt=it.getParent();lc(n,it,Gt)}if(Ie!=null&&Ie.classList.contains("selected-block"))return;let Ct;const Oe=n._rootElement;pt?Ct=Array.from(Oe.querySelectorAll(".selected-block")).reverse():Ct=Array.from(Oe.querySelectorAll(".selected-block")),Ct.length?Ct.forEach(it=>{let Gt=Re(it);pt?Ye==null||Ye.insertAfter(Gt):Ye==null||Ye.insertBefore(Gt)}):pt?Ye.insertAfter(pe):Ye.insertBefore(pe),d(null)})}function ee(ie){const{target:ue}=ie;Of(ue)&&ue.className==="ContentEditable__root"&&Yk(s.current)}return t==null||t.addEventListener("mousemove",P),t==null||t.addEventListener("drop",J),t==null||t.addEventListener("mouseleave",K),t==null||t.addEventListener("dragleave",ee),()=>{t==null||t.removeEventListener("mousemove",P),t==null||t.addEventListener("drop",J),t==null||t.removeEventListener("mouseleave",K),t==null||t.removeEventListener("dragleave",ee)}},[t,n]),k.useEffect(()=>{if(r.current){if(i.current||m.opened)return;Wk(u,r.current,t,m.opened)}},[t,u,i.current,m.opened]),k.useEffect(()=>{function K(J){var pt,Ye;const{clientY:ee,target:ie,pageX:ue}=J;if(!o.current)return!1;const[se]=Da(J);if(se||!Of(ie))return!1;const Ae=Re(ie)||Me(),{htmlElement:Ne,lexicalNode:pe}=dk(Ae,n,{root:!0,"layout-container":!0,"layout-item":!0,"callout-wrapper":!0,callout:!0,"collapsible-content":!0,"collapsible-container":!0},J);if(J.preventDefault(),(pe==null?void 0:pe.__type)==="callout"||(pe==null?void 0:pe.__type)==="collapsible-content"||nM(c.current,pe==null?void 0:pe.getParent())||(pe==null?void 0:pe.__type)==="layout-item"&&Ae.__type!=="root")return!1;Ne&&(l.current.htmlElement=Ne,l.current.lexicalNode=pe);let Ie=null;Ie=l.current.htmlElement||Ne,Ie!=null&&Ie.closest(".dsd__theme__layoutContainer")&&Ae.__type==="root"&&pe&&((pe==null?void 0:pe.__type)==="layout-item"&&Ae.__type==="root"?(Ie=Ie==null?void 0:Ie.parentElement,l.current.htmlElement=Ie,l.current.lexicalNode=pe==null?void 0:pe.getParent()):(Ie=(pt=Ie.parentElement)==null?void 0:pt.parentElement,l.current.htmlElement=Ie,l.current.lexicalNode=(Ye=pe.getParent())==null?void 0:Ye.getParent()));const $e=s.current;return!Ie&&$e?($e.style.background="transparent",!1):Ie===null||$e===null||Ie!=null&&Ie.classList.contains("selected-block")?!1:(YY($e,Ie,ee,ue,t,J,l),!0)}return Xe(n.registerCommand(Ro,J=>J==="hide_menu"?(UY(r.current),setTimeout(()=>{i.current=!0},0),!1):J==="show_menu"?(i.current=!1,!1):(J===!0&&!i.current&&d(null),i.current=!1,!1),Se),n.registerCommand(eI,J=>((J==null?void 0:J.target)instanceof HTMLElement&&r.current instanceof HTMLElement&&(te(J,!0),Wk(J.target,r.current,t,m.opened)),!1),Se),n.registerCommand(Eb,J=>(Rf||(Rf=rG(J.target)),oG(J,Rf),K(J)),Se),n.registerCommand(Ti,()=>(n.dispatchCommand(Ro,!0),!1),Se),n.registerCommand(Xs,()=>(n.dispatchCommand(Ro,!0),!1),Se))},[t,n]);function F(K){var se;const J=K.dataTransfer;(se=s.current)==null||se.setAttribute("data-index-start","");const ee=u||l.current.htmlElement;if(!J||!ee)return;const ie=n._rootElement;if(ee!=null&&ee.classList.contains("selected-block")){const Ae=n._rootElement,Ne=Array.from(Ae.querySelectorAll(".selected-block"));HY(K.dataTransfer,Ne)}else dA(ie),ee.className.includes("_layoutDivider")&&ee.parentElement?Hk(J,ee.parentElement):Hk(J,ee);let ue="";n.read(()=>{var Ne,pe;const Ae=Re(ee);if(Ae&&(ue=Ae.getKey()),Ae instanceof Ts){const Ie=Gu((Ne=ee.parentElement)==null?void 0:Ne.parentElement,ee.parentElement);(pe=s.current)==null||pe.setAttribute("data-index-start",Ie.toString())}}),r.current&&(p(!0),r.current.style.opacity="0"),o.current=!0,c.current=ue,J.setData(zk,ue)}function z(){o.current=!1,Yk(s.current),p(!1)}if(h)return A.jsx("div",{});function H(){var ee;const K=l.current.htmlElement,J=(ee=K==null?void 0:K.parentElement)==null?void 0:ee.parentElement;if(J!=null&&J.classList.contains("dsd__theme__layoutContainer")&&(J.children.length===4?N(!0):N(!1),K!=null&&K.parentElement)){const ie=Gu(J,K==null?void 0:K.parentElement);ie?ie===J.children.length-1?T({left:!1,right:!0}):T({left:!1,right:!1}):T({left:!0,right:!1})}}function te(K,J=!1){i.current=!0;const ee=iG((K==null?void 0:K.target)??l.current.htmlElement);if(!ee)return;const ie=n._rootElement;H(),ee.classList.contains("selected-block")||dA(ie),n.update(()=>{const se=Z(),Ne=((se==null?void 0:se.getNodes())??[]).filter(Oe=>!oe(Oe)&&Oe.__parent==="root"),pe=Ne.map(Oe=>{const Le=n.getElementByKey(Oe.getKey());return Oe.getType()==="table"?Le==null?void 0:Le.firstElementChild:Le}).filter(Oe=>Oe!==null),Ie=Ne.length&&pe.includes(ee)?pe:[ee];if(Ie.length===1){const Oe=Re(ee);if(!Oe)return;J||(Y(Oe)?Oe.select(0):Oe.selectStart()),M(Oe)}else M(null);const $e=document.querySelector(".selected-all-document"),pt=!!$e;pt||Ie.forEach(Oe=>{Z0(n,{block:Oe,isCreateEventListener:!1})});const wt=Array.from(pt?$e.children:document.querySelectorAll(".selected-block")).reduce((Oe,Le)=>{const it=Re(Le);return it&&Oe.push(it),Oe},[]),Ct=wt.length>0&&wt.every(Oe=>Js(Oe)||mt(Oe)||Lr(Oe)?!1:Y(Oe)||oe(Oe));x(Ct?"text":"block")}),fM();const ue=Number(K==null?void 0:K.y)+240>window.innerHeight?Number(K==null?void 0:K.y)-200:K==null?void 0:K.y;y({opened:!0,x:(K==null?void 0:K.x)??0,y:ue??0}),n.dispatchCommand(Py,!0)}const le=()=>{n.update(()=>{const K=Zt();if(i.current=!1,y(J=>({opened:!1,x:J.x,y:J.y})),(K==null?void 0:K.__key)==="root"){const J=Ce();K.append(J)}Ze(null)})},ce=e?"hide-add-button":"",ne=m.x!==0?{position:"fixed",top:0,left:0,transform:`translate(${m.x}px, ${m.y}px)`}:{},X=()=>{var K;le(),hM(),dA(n._rootElement),(K=n._rootElement)==null||K.classList.remove("selected-all-document")},he=(K=!1)=>{K?n.update(()=>{const J=Z();let ee=null,ie=null;W(J)&&(ie=J.anchor.getNode(),ee=ie.getParent()),X(),setTimeout(()=>{n.update(()=>{(ee==null?void 0:ee.__type)==="root"?ie==null||ie.selectEnd():ee==null||ee.selectEnd()})},100)}):setTimeout(()=>{X()},100)},q=k.useCallback(K=>{const J=document.querySelector(".draggable-menu");if(!m&&K.button!==2)return;const ee=K.target;if(ee.closest(".mantine-Menu-dropdown"))return;!((J==null?void 0:J.contains(ee))&&ee.closest("div.custom-menu-item"))&&K.button!==2&&m.opened&&(K.stopPropagation(),K.preventDefault())},[n,m]);return k.useEffect(()=>(m.opened?document.addEventListener("mousedown",q):document.removeEventListener("mousedown",q),()=>{document.removeEventListener("mousedown",q)}),[m.opened,q]),Dr.createPortal(A.jsxs(A.Fragment,{children:[A.jsxs("div",{className:`draggable-block-container ${ce} ${u?"visible":""}`,ref:r,onMouseEnter:()=>{var K;m||v("both"),(K=r.current)!=null&&K.style&&(r.current.style.opacity="1")},onMouseLeave:()=>{v(null)},children:[A.jsx(JZ,{hoveredButton:C,insertNewParagraph:Kk,currentDraggableBlockRef:l,setHoveredButton:v,isClickedBlockRef:i,setDraggableBlockElem:d,editor:n,t:O}),A.jsxs(D.Menu,{onOpen:te,opened:m.opened,styles:{dropdown:ne},position:"left-start",width:320,shadow:"md",withinPortal:!0,onClose:()=>{he()},transitionProps:ao,children:[A.jsx(D.Menu.Target,{children:A.jsx("div",{className:"icon draggable-block-menu",draggable:!0,onDragStart:F,onDragEnd:z,children:A.jsx(D.Tooltip,{openDelay:300,multiline:!0,disabled:g||i.current,label:A.jsxs(A.Fragment,{children:[A.jsxs("span",{children:[A.jsx("strong",{children:O("editor.hoverOptions.drag")}),","," ",O("editor.hoverOptions.dragAction")]}),A.jsx("br",{}),A.jsxs("span",{children:[A.jsx("strong",{children:O("editor.hoverOptions.click")}),","," ",O("editor.hoverOptions.clickAction")]})]}),position:"bottom-start",children:A.jsx(D.ActionIcon,{radius:"sm",color:"gray",size:"sm",variant:"subtle","aria-label":"Settings",children:A.jsx($.IconGripVertical,{size:20})})})})}),A.jsx(GZ,{hoveredButton:C,insertNewParagraph:Kk,currentDraggableBlockRef:l,setHoveredButton:v,isClickedBlockRef:i,setDraggableBlockElem:d,editor:n,t:O}),A.jsx(D.Menu.Dropdown,{className:"draggable-menu",children:A.jsx($Z,{onChange:()=>{he(!0),Hh(n)},t:O,textBlock:w,currentEditorNode:I,editor:n,isDisabledAddColumnButton:_,disabledMoveColumnButtons:E})})]})]}),A.jsx("div",{className:"draggable-block-target-line",ref:s})]}),t)}function aG({anchorElem:n=document.body,isShowAddButton:t=!1}){const[e]=Ee();return lG(e,n,t)}const mM=/(^|\s):([a-z0-9_+-]+)$/i,cG=/(^|\s)(:\)|:-\)|:d|:-d|;\)|;-\)|:\(|:-\(|:\*|<3)$/i,uG=/(^|\s):$/,dG=new Set(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","PageUp","PageDown","Escape","Enter","Tab"]);function fG(n,t){return{leadOffset:t.index+t[1].length,matchingString:"",replaceableString:":"}}const hG=n=>dG.has(n),gG=n=>n.key.length===1&&!n.ctrlKey&&!n.metaKey&&!n.altKey&&!n.isComposing;function pG(n,t){if(t<=0)return{activate:!1,colonAt:-1,expectAt:-1};const e=n[t-1]??"",r=n[t-2]??"",s=t-2<0;return e===":"&&(s||/\s/.test(r))?{activate:!0,colonAt:t-1,expectAt:t}:{activate:!1,colonAt:-1,expectAt:-1}}function rE(n,t){const e=t.index+t[1].length,r=t[0].slice(t[1].length),s=t===n.match(mM)?t[2]??"":r;return{leadOffset:e,matchingString:s,replaceableString:r}}function mG(){const[n]=Ee(),{t}=ot.useTranslation(),[e,r]=k.useState(!1),[s,o]=k.useState({top:0,left:0}),i=k.useRef(""),l=k.useRef({key:null,offset:null}),c=k.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(uG);if(g)return fG(h,g);const p=h.match(mM);if(p)return rE(h,p);const m=h.match(cG);return m?rE(h,m):null};k.useEffect(()=>n.registerCommand(tI,()=>(n.update(()=>{let h=Z();if(!W(h)&&(Me().selectEnd(),h=Z(),!W(h)))return!1;let g=h.anchor.getNode();if(Y(g)){const N=ht("");g.append(N),N.select(),g=N}const p=h.anchor.getNode();if(!Kn(p))return;const m=p.getTextContent(),y=h.anchor.offset,w=y>0?m[y-1]:"",C=(y>0&&!/\s/.test(w)?" ":"")+":",v=m.slice(0,y)+C+m.slice(y);p.setTextContent(v);const _=y+C.length;h.anchor.set(p.getKey(),_,"text"),h.focus.set(p.getKey(),_,"text"),c.current={nodeKey:p.getKey(),colonOffset:_-1,expectNextAt:_,active:!0,ts:Date.now()},i.current=":",e&&r(!1)}),!1),Se),[n,e]),k.useEffect(()=>n.registerUpdateListener(({editorState:h})=>{h.read(()=>{const g=Z();if(W(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(!W(g)||!g.isCollapsed()){e&&r(!1),c.current.active=!1;return}const p=g.anchor.getNode().getKey(),m=g.anchor.offset,y=l.current;y.key!==null&&(p!==y.key||y.offset!==null&&Math.abs(m-y.offset)>1)&&(e&&r(!1),c.current.active=!1)})}),[n,e]),k.useEffect(()=>n.registerCommand(Zo,()=>(e&&r(!1),c.current.active=!1,!1),Se),[n,e]),k.useEffect(()=>n.registerCommand(Fl,h=>hG(h.key)?(h.key==="Escape"&&e&&r(!1),c.current.active=!1,!1):(gG(h)&&n.getEditorState().read(()=>{const g=Z();if(!W(g)||!g.isCollapsed()){c.current.active=!1;return}const p=g.anchor.getNode(),m=p.getKey(),y=g.anchor.offset;if(h.key===":"){c.current={nodeKey:m,colonOffset:y,expectNextAt:y+1,active:!1,ts:Date.now()};return}const w=typeof(p==null?void 0:p.getTextContent)=="function"?p.getTextContent():"",{activate:x,colonAt:C,expectAt:v}=pG(w,y);if(x){c.current={nodeKey:m,colonOffset:C,expectNextAt:v,active:!0,ts:Date.now()};return}c.current.active&&c.current.nodeKey===m||(c.current.active=!1)}),!1),Se),[n,e]);const d=k.useCallback(h=>{n.update(()=>{const g=Z();if(!W(g)||!g.isCollapsed())return;const p=g.anchor.getNode(),m=g.anchor.offset,w=(F=>typeof(F==null?void 0:F.getTextContent)=="function"?F.getTextContent():"")(p),x=Math.max(0,m-1);let C=c.current.active&&c.current.colonOffset!=null?c.current.colonOffset:-1;if(C===-1){const F=w.lastIndexOf(":",x),z=w.lastIndexOf(";",x),H=w.lastIndexOf("<",x);C=Math.max(F,z,H)}if(C===-1)return;const v=w[C],_=C>0?w[C-1]:null;if(_&&!/\s/.test(_))return;const N=w.slice(C),E=/^(?:\:\)|\:\-\)|\:d|\:\-d|\;\)|\;\-\)|\:\(|\:\-\(|\:\*|<3)/i;let T=C,I=null;const M=N.match(E);if(M)I=C+M[0].length;else if(v===":"){const F=H=>/[a-z0-9_+\-]/i.test(H);let z=C+1;for(;z<w.length&&F(w[z]);)z++;z===C+1?I=C+1:I=z}else if(v===";"){const F=N.match(/^(?:\;\)|\;\-\))/);if(F)I=C+F[0].length;else return}else if(v==="<"){const F=N.match(/^(?:<3)/);if(F)I=C+F[0].length;else return}if(I==null)return;const O=w.slice(0,T)+h+w.slice(I);p.setTextContent(O);const P=T+h.length;g.anchor.set(p.getKey(),P,"text"),g.focus.set(p.getKey(),P,"text"),e&&r(!1),c.current.active=!1})},[n,e]);return A.jsx(oM,{onSelectOption:()=>{},triggerFn:u,onQueryChange:h=>{i.current=h},options:[],onClose:()=>{e&&r(!1),c.current.active=!1},onOpen:()=>{c.current.active&&n.update(()=>{const h=Zt();if(!h)return;const g=n.getElementByKey(h.getKey());g&&requestAnimationFrame(()=>{const p=g.getBoundingClientRect();o({top:p.bottom,left:p.left}),r(!0)})})},menuRenderFn:()=>A.jsx(D.Portal,{target:document.body,children:e&&A.jsx("div",{style:{position:"fixed",top:`${s.top}px`,left:`${s.left}px`,zIndex:1e4},children:A.jsx(bt.EmojiPicker,{onChange:h=>{var g;d(((g=bt.IconEntity.parse(h))==null?void 0:g.emoji)+" ")},querySearch:String(i.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:ao,withinPortal:!0,onClose:()=>{e&&r(!1),c.current.active=!1}},children:A.jsx(A.Fragment,{})})})})})}function AG(n,t){const e=n.getRangeAt(0);let r;if(n.anchorNode===t){let s=t;for(;s.firstElementChild!=null;)s=s.firstElementChild;r=s.getBoundingClientRect()}else r=e.getBoundingClientRect();return r}const sE=()=>{var e;const n=(e=window.getSelection())==null?void 0:e.toString().trim();return n==null?void 0:n.replace(/\s+/g,"")};function Ya(n){const t=n.anchor,e=n.focus,r=n.anchor.getNode(),s=n.focus.getNode();return r===s?r:n.isBackward()?uS(e)?r:s:uS(t)?r:s}const yG=10,bG=5;function qc(n,t,e,r=!1,s=yG,o=bG){const i=e.parentElement,l=document.querySelector(".ai-editor-menu");if(n===null||!i||l){t.style.opacity="0",t.style.transform="translate(-10000px, -10000px)",hM();return}const c=t.getBoundingClientRect(),u=i.getBoundingClientRect();let d=n.top-c.height-s;d<0&&(d=10);let h=n.left-o;if(d<u.top&&(d+=c.height+n.height+s*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",fM()}function wG({editor:n,anchorElem:t,isLink:e,isBold:r,isItalic:s,isUnderline:o,isCode:i,isStrikethrough:l,isSubscript:c,isSuperscript:u,component:d,isText:h}){const g=k.useRef(null),p=k.useRef(!1),m=k.useRef(null),y=k.useCallback(()=>{n.dispatchCommand(nw,"create")},[n,e]);function w(){var C,v;g.current&&(p.current=!0,qc(((C=m.current)==null?void 0:C.rect)||null,g==null?void 0:g.current,t,(v=m.current)==null?void 0:v.isLink))}k.useEffect(()=>{const C=sE();if(!h&&!(C!=null&&C.length)){let v=function(T){return T instanceof HTMLElement};const _=g.current,N=window.getSelection();let E=!1;N!=null&&N.anchorNode&&v(N.anchorNode)&&N.anchorNode.className==="toolbar"&&(E=!0),_&&!E&&(m.current={rect:null,floatingElem:_,anchorElem:t,isLink:e},qc(null,_,t,e),p.current=!1)}},[h,n]),k.useEffect(()=>{if(g!=null&&g.current)return document.addEventListener("mouseup",w),()=>{document.removeEventListener("mouseup",w)}},[g]),k.useEffect(()=>{n.registerCommand(Fl,C=>{var v;return(C.metaKey||C.ctrlKey)&&C.code==="KeyA"?(C.preventDefault(),p7(n),Zt(!0)&&(A7()&&(g!=null&&g.current)?(qc(null,g==null?void 0:g.current,t,(v=m.current)==null?void 0:v.isLink),HT(),Z0(n)):setTimeout(()=>{w()})),!0):!1},Se),n.registerCommand(Py,()=>(setTimeout(()=>{var C;g!=null&&g.current&&qc(null,g==null?void 0:g.current,t,(C=m.current)==null?void 0:C.isLink)},100),!1),Se)},[n]);const x=k.useCallback(()=>{const C=Z(),v=g.current,_=window.getSelection();if(v===null)return;const N=n.getRootElement();let E=!1;const T=sE();if(T&&T.length>0&&(E=!0),C!==null&&_!==null&&!_.isCollapsed&&N!==null&&N.contains(_.anchorNode)&&E){const I=AG(_,N);if(m.current={rect:I,floatingElem:v,anchorElem:t,isLink:e},W(C)){const O=Ya(C).getParent(),P=O==null?void 0:O.getFormatType();p.current&&P&&g&&n.registerCommand(Py,F=>(F||setTimeout(()=>{var z,H;qc(((z=m.current)==null?void 0:z.rect)||null,v,t,(H=m.current)==null?void 0:H.isLink)},100),!1),Se)}}else m.current={rect:null,floatingElem:v,anchorElem:t,isLink:e}},[n,t,e]);return k.useEffect(()=>{const C=t.parentElement,v=()=>{n.getEditorState().read(()=>{x()})};return window.addEventListener("resize",v),C&&C.addEventListener("scroll",v),()=>{window.removeEventListener("resize",v),C&&C.removeEventListener("scroll",v)}},[n,x,t]),k.useEffect(()=>(n.getEditorState().read(()=>{x()}),Xe(n.registerUpdateListener(({editorState:C})=>{C.read(()=>{x()})}),n.registerCommand(Qr,()=>(x(),!1),Se))),[n,x]),A.jsx("div",{ref:g,className:`floating-text-format-popup doc-space-editor-wrapper ${h?"":"floating-text-format-popup-hidden"}`,onMouseDown:C=>C.preventDefault(),children:A.jsx("div",{children:n.isEditable()&&(d||A.jsxs(A.Fragment,{children:[A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Nt,"bold")},className:"popup-item spaced "+(r?"active":""),"data-test-id":"toolbar-bold",children:A.jsx(we,{name:"bold",stroke:r?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Nt,"italic")},className:"popup-item spaced "+(s?"active":""),"data-test-id":"toolbar-italic",children:A.jsx(we,{name:"italic",stroke:s?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Nt,"underline")},className:"popup-item spaced "+(o?"active":""),"data-test-id":"toolbar-underline",children:A.jsx(we,{name:"underline",stroke:o?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Nt,"strikethrough")},className:"popup-item spaced "+(l?"active":""),"data-test-id":"toolbar-strikethrough",children:A.jsx(we,{name:"strikethrough",stroke:l?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Nt,"subscript")},className:"popup-item spaced "+(c?"active":""),"data-test-id":"toolbar-subscript",children:A.jsx(we,{name:"subscript",stroke:c?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Nt,"superscript")},className:"popup-item spaced "+(u?"active":""),"data-test-id":"toolbar-superscript",children:A.jsx(we,{name:"superscript",stroke:u?3:2})}),A.jsx("button",{type:"button",onClick:()=>{n.dispatchCommand(Nt,"code")},className:"popup-item spaced "+(i?"active":""),"data-test-id":"toolbar-code",children:A.jsx(we,{name:"code"})}),A.jsx("button",{type:"button",onClick:y,className:"popup-item spaced "+(e?"active":""),"data-test-id":"toolbar-link",children:A.jsx(we,{name:"link"})})]}))})})}function CG(n,t,e){const[r,s]=k.useState(!1),[o,i]=k.useState(!1),[l,c]=k.useState(!1),[u,d]=k.useState(!1),[h,g]=k.useState(!1),[p,m]=k.useState(!1),[y,w]=k.useState(!1),[x,C]=k.useState(!1),[v,_]=k.useState(!1),N=Tw(),{disable:E}=k.useContext(Mt),T=k.useCallback(()=>{n.getEditorState().read(()=>{var le,ce,ne;if(n.isComposing())return;const I=Z(),M=window.getSelection(),O=n.getRootElement();if(M!==null&&(!W(I)||O===null||!O.contains(M.anchorNode))){s(!1);return}if(!W(I))return;const P=Ya(I);c(I.hasFormat("bold")),d(I.hasFormat("italic")),g(I.hasFormat("underline")),m(I.hasFormat("strikethrough")),w(I.hasFormat("subscript")),C(I.hasFormat("superscript")),_(I.hasFormat("code"));const F=P.getParent();Tn(F)||Tn(P)?i(!0):i(!1);const z=Vt(I.anchor.getNode()),H=(ne=(ce=(le=n.getElementByKey(P.__key))==null?void 0:le.parentElement)==null?void 0:ce.parentElement)==null?void 0:ne.classList.contains("Collapsible__title");!z&&I.getTextContent()!==""&&!H?s(Kn(P)||an(P)||Gs(P)||Li(P)||ut(P)):s(!1);const te=I.getTextContent().replace(/\n/g,"");if(!I.isCollapsed()&&te===""){s(!1);return}})},[n]);return k.useEffect(()=>(document.addEventListener("selectionchange",T),()=>{document.removeEventListener("selectionchange",T)}),[T]),k.useEffect(()=>Xe(n.registerUpdateListener(()=>{T()}),n.registerRootListener(()=>{n.getRootElement()===null&&s(!1)})),[n,T]),E?null:Dr.createPortal(A.jsx(wG,{editor:n,anchorElem:t,isLink:o,isBold:l,isItalic:u,isStrikethrough:p,isSubscript:y,isSuperscript:x,isUnderline:h,isCode:v,component:e,isText:r&&!N}),document.body)}function sb({anchorElem:n=document.body,component:t}){const[e]=Ee();return CG(e,n,t)}const xG=({onFocus:n})=>{const[t]=Ee();return k.useEffect(()=>{t.registerCommand(ji,e=>{var r;return(r=t._rootElement)==null||r.classList.add("focused"),!e.relatedTarget&&n&&n(),!1},Se)},[]),null},vG=ye("INSERT_FORM_COMMAND");function SG(){const[n]=Ee();return k.useEffect(()=>{if(!n.hasNodes([md]))throw new Error("FormPlugin: FormNode not registered on editor");return n.registerCommand(vG,t=>{const e=ow(t);return h_(e),!0},Fe)},[n]),null}function kG({validateUrl:n,attributes:t}){const[e]=Ee();return k.useEffect(()=>{if(!e.hasNodes([Xl]))throw new Error("LinkPlugin: LinkNode not registered on editor")}),k.useEffect(()=>UU(e,D0({attributes:t,validateUrl:n})),[e,n,t]),null}function AM(){return A.jsx(kG,{attributes:{target:null,rel:"noreferrer"}})}const EG=" ";function TG(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 _G(n){const t=Z();if(!W(t))return!1;const e=t.focus.getNode();if(!(He(e)||ut(e)||ut(e.getParent())))return t.insertText(EG),!1;const s=TG(t);let o=0;for(const i of s)if(He(i))o=Math.max(Ny(i)+1,o);else if(ut(i)){const l=i.getParent();if(!He(l))throw new Error("ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent.");o=Math.max(Ny(l)+1,o)}return o<=n}function NG({maxDepth:n}){const[t]=Ee();return k.useEffect(()=>Xe(t.registerCommand(Hs,()=>!_G(n??7),bn)),[t,n]),null}function IG(n){k.useEffect(()=>w9(n),[n])}function MG(){const[n]=Ee();return k.useEffect(()=>{if(!n.hasNodes([Br,xn]))throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[n]),IG(n),null}const LG=[{dependencies:[zg],export:n=>a2(n)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(n,t,e,r)=>{const s=bc();r||n.getNextSibling()!=null?n.replace(s):n.insertBefore(s),s.selectNext()},type:"element"},...ap];function DG({transformers:n=LG}){const[t]=Ee();return k.useEffect(()=>DH(t,n),[t,n]),null}function OG(){return A.jsx(DG,{transformers:Zu})}function RG({maxLength:n}){const[t]=Ee();return k.useEffect(()=>{let e=null;return t.registerNodeTransform(Hl,r=>{const s=Z();if(!W(s)||!s.isCollapsed())return;const o=t.getEditorState(),i=o.read(()=>r.getTextContentSize()),l=r.getTextContentSize();if(i!==l){const c=l-n,u=s.anchor;c>0&&(i===n&&e!==o?(e=o,f3(t,o)):s3(t,u,c))}})},[t,n]),null}function BG(){const[n]=Ee(),{maxHeight:t}=k.useContext(Mt),e=()=>{mI(n)};return t?null:A.jsx("div",{className:"new-paragraph",onClick:e})}var PG="function",jG="object",FG="string",zG="undefined",UG=typeof document!==zG&&document,KG=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],ms=1e-7,Bf={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}};/*! *****************************************************************************
|
|
99
|
+
Copyright (c) Microsoft Corporation.
|
|
100
|
+
|
|
101
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
102
|
+
purpose with or without fee is hereby granted.
|
|
103
|
+
|
|
104
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
105
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
106
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
107
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
108
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
109
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
110
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
111
|
+
***************************************************************************** */function WG(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var r=Array(n),s=0,t=0;t<e;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,s++)r[s]=o[i];return r}function Pi(n){return n&&typeof n===jG}function Qh(n){return Array.isArray(n)}function Ju(n){return typeof n===FG}function Lw(n){return typeof n===PG}function HG(n,t){var e=n===""||n==" ",r=t===""||t==" ";return r&&e||n===t}function yM(n,t,e,r,s){var o=Dw(n,t,e);return o?e:YG(n,t,e+1,r,s)}function Dw(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 YG(n,t,e,r,s){for(var o=function(u){var d=t[u].trim();if(d===n.close&&!Dw(n,t,u))return{value:u};var h=u,g=Vu(s,function(p){var m=p.open;return m===d});if(g&&(h=yM(g,t,u,r,s)),h===-1)return i=u,"break";u=h,i=u},i,l=e;l<r;++l){var c=o(l);if(l=i,typeof c=="object")return c.value;if(c==="break")break}return-1}function Ow(n,t){var e=Ju(t)?{separator:t}:t,r=e.separator,s=r===void 0?",":r,o=e.isSeparateFirst,i=e.isSeparateOnlyOpenClose,l=e.isSeparateOpenClose,c=l===void 0?i:l,u=e.openCloseCharacters,d=u===void 0?KG:u,h=d.map(function(T){var I=T.open,M=T.close;return I===M?I:I+"|"+M}).join("|"),g="(\\s*"+s+"\\s*|"+h+"|\\s+)",p=new RegExp(g,"g"),m=n.split(p).filter(function(T){return T&&T!=="undefined"}),y=m.length,w=[],x=[];function C(){return x.length?(w.push(x.join("")),x=[],!0):!1}for(var v=function(T){var I=m[T].trim(),M=T,O=Vu(d,function(z){var H=z.open;return H===I}),P=Vu(d,function(z){var H=z.close;return H===I});if(O){if(M=yM(O,m,T,y,d),M!==-1&&c)return C()&&o||(w.push(m.slice(T,M+1).join("")),T=M,o)?(_=T,"break"):(_=T,"continue")}else if(P&&!Dw(P,m,T)){var F=WG(d);return F.splice(d.indexOf(P),1),{value:Ow(n,{separator:s,isSeparateFirst:o,isSeparateOnlyOpenClose:i,isSeparateOpenClose:c,openCloseCharacters:F})}}else if(HG(I,s)&&!i)return C(),o?(_=T,"break"):(_=T,"continue");M===-1&&(M=y-1),x.push(m.slice(T,M+1).join("")),T=M,_=T},_,N=0;N<y;++N){var E=v(N);if(N=_,typeof E=="object")return E.value;if(E==="break")break}return x.length&&w.push(x.join("")),w}function ZG(n){return Ow(n,"")}function iu(n){return Ow(n,",")}function GG(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 Xh(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],s=t[3];return{prefix:e,unit:s,value:parseFloat(r)}}function ob(n){return n.replace(/[\s-_]+([^\s-_])/g,function(t,e){return e.toUpperCase()})}function ib(){return Date.now?Date.now():new Date().getTime()}function qh(n,t,e){e===void 0&&(e=-1);for(var r=n.length,s=0;s<r;++s)if(t(n[s],s,n))return s;return e}function Vu(n,t,e){var r=qh(n,t);return r>-1?n[r]:e}function oE(n,t){var e=Xh(n),r=e.value,s=e.unit;if(Pi(t)){var o=t[s];if(o){if(Lw(o))return o(r);if(Bf[s])return Bf[s](r,o)}}else if(s==="%")return r*t/100;return Bf[s]?Bf[s](r):r}function bM(n,t,e){return Math.max(t,Math.min(n,e))}function iE(n,t,e,r){return r===void 0&&(r=n[0]/n[1]),[[Io(t[0],ms),Io(t[0]/r,ms)],[Io(t[1]*r,ms),Io(t[1],ms)]].filter(function(s){return s.every(function(o,i){var l=t[i],c=Io(l,ms);return e?o<=l||o<=c:o>=l||o>=c})})[0]||n}function JG(n,t,e,r){if(!r)return n.map(function(p,m){return bM(p,t[m],e[m])});var s=n[0],o=n[1],i=r===!0?s/o:r,l=iE(n,t,!1,i),c=l[0],u=l[1],d=iE(n,e,!0,i),h=d[0],g=d[1];return s<c||o<u?(s=c,o=u):(s>h||o>g)&&(s=h,o=g),[s,o]}function VG(n){for(var t=n.length,e=0,r=t-1;r>=0;--r)e+=n[r];return e}function QG(n){for(var t=n.length,e=0,r=t-1;r>=0;--r)e+=n[r];return t?e/t:0}function lE(n,t){var e=t[0]-n[0],r=t[1]-n[1],s=Math.atan2(r,e);return s>=0?s:s+Math.PI*2}function XG(n){return[0,1].map(function(t){return QG(n.map(function(e){return e[t]}))})}function aE(n){var t=XG(n),e=lE(t,n[0]),r=lE(t,n[1]);return e<r&&r-e<Math.PI||e>r&&r-e<-Math.PI?1:-1}function lb(n,t){return Math.sqrt(Math.pow((t?t[0]:0)-n[0],2)+Math.pow((t?t[1]:0)-n[1],2))}function Io(n,t){var e=1/t;return Math.round(n/t)/e}function qG(n,t){return n.classList?n.classList.contains(t):!!n.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function $G(n,t){n.classList?n.classList.add(t):n.className+=" "+t}function hn(n,t,e,r){n.addEventListener(t,e,r)}function rn(n,t,e,r){n.removeEventListener(t,e,r)}function Eo(n){return(n==null?void 0:n.ownerDocument)||UG}function al(n){var t;return((t=n==null?void 0:n.ownerDocument)===null||t===void 0?void 0:t.defaultView)||window}function eJ(n){return n&&"postMessage"in n&&"blur"in n&&"self"in n}function cE(n){return Pi(n)&&n.nodeName&&n.nodeType&&"ownerDocument"in n}/*! *****************************************************************************
|
|
112
|
+
Copyright (c) Microsoft Corporation.
|
|
113
|
+
|
|
114
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
115
|
+
purpose with or without fee is hereby granted.
|
|
116
|
+
|
|
117
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
118
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
119
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
120
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
121
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
122
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
123
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
124
|
+
***************************************************************************** */var ab=function(){return ab=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},ab.apply(this,arguments)};function tJ(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var r=Array(n),s=0,t=0;t<e;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,s++)r[s]=o[i];return r}var fp=(function(){function n(){this._events={}}var t=n.prototype;return t.on=function(e,r){if(Pi(e))for(var s in e)this.on(s,e[s]);else this._addEvent(e,r,{});return this},t.off=function(e,r){if(!e)this._events={};else if(Pi(e))for(var s in e)this.off(s);else if(!r)this._events[e]=[];else{var o=this._events[e];if(o){var i=qh(o,function(l){return l.listener===r});i>-1&&o.splice(i,1)}}return this},t.once=function(e,r){var s=this;return r&&this._addEvent(e,r,{once:!0}),new Promise(function(o){s._addEvent(e,o,{once:!0})})},t.emit=function(e,r){var s=this;r===void 0&&(r={});var o=this._events[e];if(!e||!o)return!0;var i=!1;return r.eventType=e,r.stop=function(){i=!0},r.currentTarget=this,tJ(o).forEach(function(l){l.listener(r),l.once&&s.off(e,l.listener)}),!i},t.trigger=function(e,r){return r===void 0&&(r={}),this.emit(e,r)},t._addEvent=function(e,r,s){var o=this._events;o[e]=o[e]||[];var i=o[e];i.push(ab({listener:r},s))},n})();/*! *****************************************************************************
|
|
125
|
+
Copyright (c) Microsoft Corporation.
|
|
126
|
+
|
|
127
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
128
|
+
purpose with or without fee is hereby granted.
|
|
129
|
+
|
|
130
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
131
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
132
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
133
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
134
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
135
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
136
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
137
|
+
***************************************************************************** */var cb=function(n,t){return cb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)r.hasOwnProperty(s)&&(e[s]=r[s])},cb(n,t)};function nJ(n,t){cb(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var dn=function(){return dn=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},dn.apply(this,arguments)};function rJ(n,t){var e=t[0]-n[0],r=t[1]-n[1],s=Math.atan2(r,e);return s>=0?s:s+Math.PI*2}function xA(n){return rJ([n[0].clientX,n[0].clientY],[n[1].clientX,n[1].clientY])/Math.PI*180}function sJ(n){return n.touches&&n.touches.length>=2}function Pf(n){return n?n.touches?iJ(n.touches):[wM(n)]:[]}function oJ(n){return n&&(n.type.indexOf("mouse")>-1||"button"in n)}function uE(n,t,e){var r=e.length,s=bu(n,r),o=s.clientX,i=s.clientY,l=s.originalClientX,c=s.originalClientY,u=bu(t,r),d=u.clientX,h=u.clientY,g=bu(e,r),p=g.clientX,m=g.clientY,y=o-d,w=i-h,x=o-p,C=i-m;return{clientX:l,clientY:c,deltaX:y,deltaY:w,distX:x,distY:C}}function vA(n){return Math.sqrt(Math.pow(n[0].clientX-n[1].clientX,2)+Math.pow(n[0].clientY-n[1].clientY,2))}function iJ(n){for(var t=Math.min(n.length,2),e=[],r=0;r<t;++r)e.push(wM(n[r]));return e}function wM(n){return{clientX:n.clientX,clientY:n.clientY}}function bu(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),s=0;s<r;++s){var o=n[s];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 SA=(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),xA(t)},n.prototype.getRotation=function(t){return t===void 0&&(t=this.prevClients),xA(t)-xA(this.startClients)},n.prototype.getPosition=function(t,e){t===void 0&&(t=this.prevClients);var r=uE(t||this.prevClients,this.prevClients,this.startClients),s=r.deltaX,o=r.deltaY;return this.movement+=Math.sqrt(s*s+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,s=Math.min(this.length,e.length),o=[],i=0;i<s;++i)o[i]=uE([t[i]],[e[i]],[r[i]]);return o},n.prototype.getMovement=function(t){var e=this.movement;if(!t)return e;var r=bu(t,this.length),s=bu(this.prevClients,this.length),o=r.clientX-s.clientX,i=r.clientY-s.clientY;return Math.sqrt(o*o+i*i)+e},n.prototype.getDistance=function(t){return t===void 0&&(t=this.prevClients),vA(t)},n.prototype.getScale=function(t){return t===void 0&&(t=this.prevClients),vA(t)/vA(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})(),dE=["textarea","input"],lJ=(function(n){nJ(t,n);function t(e,r){r===void 0&&(r={});var s=n.call(this)||this;s.options={},s.flag=!1,s.pinchFlag=!1,s.data={},s.isDrag=!1,s.isPinch=!1,s.clientStores=[],s.targets=[],s.prevTime=0,s.doubleFlag=!1,s._useMouse=!1,s._useTouch=!1,s._useDrag=!1,s._dragFlag=!1,s._isTrusted=!1,s._isMouseEvent=!1,s._isSecondaryButton=!1,s._preventMouseEvent=!1,s._prevInputEvent=null,s._isDragAPI=!1,s._isIdle=!0,s._preventMouseEventId=0,s._window=window,s.onDragStart=function(g,p){if(p===void 0&&(p=!0),!(!s.flag&&g.cancelable===!1)){var m=g.type.indexOf("drag")>=-1;if(!(s.flag&&m)){s._isDragAPI=!0;var y=s.options,w=y.container,x=y.pinchOutside,C=y.preventWheelClick,v=y.preventRightClick,_=y.preventDefault,N=y.checkInput,E=y.dragFocusedInput,T=y.preventClickEventOnDragStart,I=y.preventClickEventOnDrag,M=y.preventClickEventByCondition,O=s._useTouch,P=!s.flag;if(s._isSecondaryButton=g.which===3||g.button===2,C&&(g.which===2||g.button===1)||v&&(g.which===3||g.button===2))return s.stop(),!1;if(P){var F=s._window.document.activeElement,z=g.target;if(z){var H=z.tagName.toLowerCase(),te=dE.indexOf(H)>-1,le=z.isContentEditable;if(te||le){if(N||!E&&F===z)return!1;if(F&&(F===z||le&&F.isContentEditable&&F.contains(z)))if(E)z.blur();else return!1}else if((_||g.type==="touchstart")&&F){var ce=F.tagName.toLowerCase();(F.isContentEditable||dE.indexOf(ce)>-1)&&F.blur()}(T||I||M)&&hn(s._window,"click",s._onClick,!0)}s.clientStores=[new SA(Pf(g))],s._isIdle=!1,s.flag=!0,s.isDrag=!1,s._isTrusted=p,s._dragFlag=!0,s._prevInputEvent=g,s.data={},s.doubleFlag=ib()-s.prevTime<200,s._isMouseEvent=oJ(g),!s._isMouseEvent&&s._preventMouseEvent&&s._allowMouseEvent();var ne=s._preventMouseEvent||s.emit("dragStart",dn(dn({data:s.data,datas:s.data,inputEvent:g,isMouseEvent:s._isMouseEvent,isSecondaryButton:s._isSecondaryButton,isTrusted:p,isDouble:s.doubleFlag},s.getCurrentStore().getPosition()),{preventDefault:function(){g.preventDefault()},preventDrag:function(){s._dragFlag=!1}}));ne===!1&&s.stop(),s._isMouseEvent&&s.flag&&_&&g.preventDefault()}if(!s.flag)return!1;var X=0;if(P?(s._attchDragEvent(),O&&x&&(X=setTimeout(function(){hn(w,"touchstart",s.onDragStart,{passive:!1})}))):O&&x&&rn(w,"touchstart",s.onDragStart),s.flag&&sJ(g)){if(clearTimeout(X),P&&g.touches.length!==g.changedTouches.length)return;s.pinchFlag||s.onPinchStart(g)}}}},s.onDrag=function(g,p){if(s.flag){var m=s.options.preventDefault;!s._isMouseEvent&&m&&g.preventDefault(),s._prevInputEvent=g;var y=Pf(g),w=s.moveClients(y,g,!1);if(s._dragFlag){if(s.pinchFlag||w.deltaX||w.deltaY){var x=s._preventMouseEvent||s.emit("drag",dn(dn({},w),{isScroll:!!p,inputEvent:g}));if(x===!1){s.stop();return}}s.pinchFlag&&s.onPinch(g,y)}s.getCurrentStore().getPosition(y,!0)}},s.onDragEnd=function(g){if(s.flag){var p=s.options,m=p.pinchOutside,y=p.container,w=p.preventClickEventOnDrag,x=p.preventClickEventOnDragStart,C=p.preventClickEventByCondition,v=s.isDrag;(w||x||C)&&requestAnimationFrame(function(){s._allowClickEvent()}),!C&&!x&&w&&!v&&s._allowClickEvent(),s._useTouch&&m&&rn(y,"touchstart",s.onDragStart),s.pinchFlag&&s.onPinchEnd(g);var _=g!=null&&g.touches?Pf(g):[],N=_.length;N===0||!s.options.keepDragging?s.flag=!1:s._addStore(new SA(_));var E=s._getPosition(),T=ib(),I=!v&&s.doubleFlag;s._prevInputEvent=null,s.prevTime=v||I?0:T,s.flag||(s._dettachDragEvent(),s._preventMouseEvent||s.emit("dragEnd",dn({data:s.data,datas:s.data,isDouble:I,isDrag:v,isClick:!v,isMouseEvent:s._isMouseEvent,isSecondaryButton:s._isSecondaryButton,inputEvent:g,isTrusted:s._isTrusted},E)),s.clientStores=[],s._isMouseEvent||(s._preventMouseEvent=!0,clearTimeout(s._preventMouseEventId),s._preventMouseEventId=setTimeout(function(){s._preventMouseEvent=!1},200)),s._isIdle=!0)}},s.onBlur=function(){s.onDragEnd()},s._allowClickEvent=function(){rn(s._window,"click",s._onClick,!0)},s._onClick=function(g){s._allowClickEvent(),s._allowMouseEvent();var p=s.options.preventClickEventByCondition;p!=null&&p(g)||(g.stopPropagation(),g.preventDefault())},s._onContextMenu=function(g){var p=s.options;p.preventRightClick?s.onDragEnd(g):g.preventDefault()},s._passCallback=function(){};var o=[].concat(e),i=o[0];s._window=eJ(i)?i:al(i),s.options=dn({checkInput:!1,container:i&&!("document"in i)?al(i):i,preventRightClick:!0,preventWheelClick:!0,preventClickEventOnDragStart:!1,preventClickEventOnDrag:!1,preventClickEventByCondition:null,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},r);var l=s.options,c=l.container,u=l.events,d=l.checkWindowBlur;if(s._useDrag=u.indexOf("drag")>-1,s._useTouch=u.indexOf("touch")>-1,s._useMouse=u.indexOf("mouse")>-1,s.targets=o,s._useDrag&&o.forEach(function(g){hn(g,"dragstart",s.onDragStart)}),s._useMouse&&(o.forEach(function(g){hn(g,"mousedown",s.onDragStart),hn(g,"mousemove",s._passCallback)}),hn(c,"contextmenu",s._onContextMenu)),d&&hn(al(),"blur",s.onBlur),s._useTouch){var h={passive:!1};o.forEach(function(g){hn(g,"touchstart",s.onDragStart,h),hn(g,"touchmove",s._passCallback,h)})}return s}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,s){return r+s.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,s,o){o===void 0&&(o=!0),this.flag&&(this.clientStores[0].move(e,r),o&&this.onDrag(s,!0))},t.prototype.move=function(e,r){var s=e[0],o=e[1],i=this.getCurrentStore(),l=i.prevClients;return this.moveClients(l.map(function(c){var u=c.clientX,d=c.clientY;return{clientX:u+s,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 s in e)r[s]=e[s];return this},t.prototype.setEventDatas=function(e){return this.setEventData(e)},t.prototype.getCurrentEvent=function(e){return e===void 0&&(e=this._prevInputEvent),dn(dn({data:this.data,datas:this.data},this._getPosition()),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:e})},t.prototype.getEventData=function(){return this.data},t.prototype.getEventDatas=function(){return this.data},t.prototype.unset=function(){var e=this,r=this.targets,s=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(s,"contextmenu",this._onContextMenu)),this._useTouch&&(r.forEach(function(o){rn(o,"touchstart",e.onDragStart)}),rn(s,"touchstart",this.onDragStart)),this._prevInputEvent=null,this._allowClickEvent(),this._dettachDragEvent()},t.prototype.onPinchStart=function(e){var r=this,s=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>s)){var o=new SA(Pf(e));this.pinchFlag=!0,this._addStore(o);var i=this.emit("pinchStart",dn(dn({data:this.data,datas:this.data,angle:o.getAngle(),touches:this.getCurrentStore().getPositions()},o.getPosition()),{inputEvent:e,isTrusted:this._isTrusted,preventDefault:function(){e.preventDefault()},preventDrag:function(){r._dragFlag=!1}}));i===!1&&(this.pinchFlag=!1)}},t.prototype.onPinch=function(e,r){if(!(!this.flag||!this.pinchFlag||r.length<2)){var s=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",dn(dn({data:this.data,datas:this.data,movement:this.getMovement(r),angle:s.getAngle(r),rotation:s.getRotation(r),touches:s.getPositions(r),scale:s.getScale(r),distance:s.getDistance(r)},s.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 s=this.getCurrentStore();this.emit("pinchEnd",dn(dn({data:this.data,datas:this.data,isPinch:r,touches:s.getPositions()},s.getPosition()),{inputEvent:e}))}},t.prototype.getCurrentStore=function(){return this.clientStores[0]},t.prototype.moveClients=function(e,r,s){var o=this._getPosition(e,s),i=this.isDrag;(o.deltaX||o.deltaY)&&(this.isDrag=!0);var l=!1;return!i&&this.isDrag&&(l=!0),dn(dn({data:this.data,datas:this.data},o),{movement:this.getMovement(e),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,isMouseEvent:this._isMouseEvent,isSecondaryButton:this._isSecondaryButton,inputEvent:r,isTrusted:this._isTrusted,isFirstDrag:l})},t.prototype._addStore=function(e){this.clientStores.splice(0,0,e)},t.prototype._getPosition=function(e,r){var s=this.getCurrentStore(),o=s.getPosition(e,r),i=this.clientStores.slice(1).reduce(function(u,d){var h=d.getPosition();return u.distX+=h.distX,u.distY+=h.distY,u},o),l=i.distX,c=i.distY;return dn(dn({},o),{distX:l,distY:c})},t.prototype._attchDragEvent=function(){var e=this._window,r=this.options.container,s={passive:!1};this._isDragAPI&&(hn(r,"dragover",this.onDrag,s),hn(e,"dragend",this.onDragEnd)),this._useMouse&&(hn(r,"mousemove",this.onDrag),hn(e,"mouseup",this.onDragEnd)),this._useTouch&&(hn(r,"touchmove",this.onDrag,s),hn(e,"touchend",this.onDragEnd,s),hn(e,"touchcancel",this.onDragEnd,s))},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})(fp);function aJ(n,t){return function(e){e&&(n[t]=e)}}function cJ(n,t){return function(e){var r=e.prototype;n.forEach(function(s){t(r,s)})}}function uJ(n,t){return t===void 0&&(t={}),function(e,r){n.forEach(function(s){var o=t[s]||s;o in e||(e[o]=function(){for(var i,l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];var u=(i=this[r])[s].apply(i,l);return u===this[r]?this:u})})}}var dJ=(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 s=this.keys,o=this.values,i=s.indexOf(e),l=i===-1?s.length:i;s[l]=e,o[l]=r},n})(),fJ=(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})(),hJ=typeof Map=="function",gJ=(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 pJ(n,t){var e=[],r=[];return n.forEach(function(s){var o=s[0],i=s[1],l=new gJ;e[o]=l,r[i]=l}),e.forEach(function(s,o){s.connect(e[o-1])}),n.filter(function(s,o){return!t[o]}).map(function(s,o){var i=s[0],l=s[1];if(i===l)return[0,0];var c=e[i],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 mJ=(function(){function n(e,r,s,o,i,l,c,u){this.prevList=e,this.list=r,this.added=s,this.removed=o,this.changed=i,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=pJ(this.changedBeforeAdded,this.fixed),r=this.changed,s=[];this.cacheOrdered=e.filter(function(o,i){var l=o[0],c=o[1],u=r[i],d=u[0],h=u[1];if(l!==c)return s.push([d,h]),!0}),this.cachePureChanged=s},n})();function AJ(n,t,e){var r=hJ?Map:e?fJ:dJ,s=e||function(C){return C},o=[],i=[],l=[],c=n.map(s),u=t.map(s),d=new r,h=new r,g=[],p=[],m={},y=[],w=0,x=0;return c.forEach(function(C,v){d.set(C,v)}),u.forEach(function(C,v){h.set(C,v)}),c.forEach(function(C,v){var _=h.get(C);typeof _>"u"?(++x,i.push(v)):m[_]=x}),u.forEach(function(C,v){var _=d.get(C);typeof _>"u"?(o.push(v),++w):(l.push([_,v]),x=m[v]||0,g.push([_-x,v-w]),p.push(v===_),_!==v&&y.push([_,v]))}),i.reverse(),new mJ(n,t,o,i,y,l,g,p)}var yJ=typeof Map=="function"?void 0:(function(){var n=0;return function(t){return t.__DIFF_KEY__||(t.__DIFF_KEY__=++n)}})();function lu(n,t){return AJ(n,t,yJ)}/*! *****************************************************************************
|
|
138
|
+
Copyright (c) Microsoft Corporation.
|
|
139
|
+
|
|
140
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
141
|
+
purpose with or without fee is hereby granted.
|
|
142
|
+
|
|
143
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
144
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
145
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
146
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
147
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
148
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
149
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
150
|
+
***************************************************************************** */var ub=function(n,t){return ub=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)r.hasOwnProperty(s)&&(e[s]=r[s])},ub(n,t)};function bJ(n,t){ub(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Ra=function(){return Ra=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Ra.apply(this,arguments)};function wJ(n){var t=n.container;return t===document.body?[t.scrollLeft||document.documentElement.scrollLeft,t.scrollTop||document.documentElement.scrollTop]:[t.scrollLeft,t.scrollTop]}function fE(n,t){return n.addEventListener("scroll",t),function(){n.removeEventListener("scroll",t)}}function jf(n){if(n){if(Ju(n))return document.querySelector(n)}else return null;if(Lw(n))return n();if(n instanceof Element)return n;if("current"in n)return n.current;if("value"in n)return n.value}var CJ=(function(n){bJ(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 s=r._currentOptions;r._lock||!s||r.emit("scrollDrag",{next:function(o){r.checkScroll({container:s.container,inputEvent:o})}})},r}var e=t.prototype;return e.dragStart=function(r,s){var o=jf(s.container);if(!o){this._flag=!1;return}var i=0,l=0,c=0,u=0;if(o===document.body)c=window.innerWidth,u=window.innerHeight;else{var d=o.getBoundingClientRect();i=d.top,l=d.left,c=d.width,u=d.height}this._flag=!0,this._startPos=[r.clientX,r.clientY],this._startRect={top:i,left:l,width:c,height:u},this._prevScrollPos=this._getScrollPosition([0,0],s),this._currentOptions=s,this._registerScrollEvent(s)},e.drag=function(r,s){if(clearTimeout(this._timer),!!this._flag){var o=r.clientX,i=r.clientY,l=s.threshold,c=l===void 0?0:l,u=this,d=u._startRect,h=u._startPos;this._currentOptions=s;var g=[0,0];return d.top>i-c?(h[1]>d.top||i<h[1])&&(g[1]=-1):d.top+d.height<i+c&&(h[1]<d.top+d.height||i>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(Ra(Ra({},s),{direction:g,inputEvent:r,isDrag:!0}))}},e.checkScroll=function(r){var s=this;if(this._isWait)return!1;var o=r.prevScrollPos,i=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]-i[0],m=g[1]-i[1],y=l||[p?Math.abs(p)/p:0,m?Math.abs(m)/m:0];return this._prevScrollPos=g,this._lock=!1,!p&&!m?!1:(this.emit("move",{offsetX:y[0]?p:0,offsetY:y[1]?m:0,inputEvent:d}),u&&h&&(clearTimeout(this._timer),this._timer=window.setTimeout(function(){s._continueDrag(r)},u)),!0)},e.dragEnd=function(){this._flag=!1,this._lock=!1,clearTimeout(this._timer),this._unregisterScrollEvent()},e._getScrollPosition=function(r,s){var o=s.container,i=s.getScrollPosition,l=i===void 0?wJ:i;return l({container:jf(o),direction:r})},e._continueDrag=function(r){var s=this,o,i=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=ib(),p=Math.max(c+this._prevTime-g,0);if(p>0)return clearTimeout(this._timer),this._timer=window.setTimeout(function(){s._continueDrag(r)},p),!1;this._prevTime=g;var m=this._getScrollPosition(l,r);this._prevScrollPos=m,d&&(this._isWait=!0),u||(this._lock=!0);var y={container:jf(i),direction:l,inputEvent:h};return(o=r.requestScroll)===null||o===void 0||o.call(r,y),this.emit("scroll",y),this._isWait=!1,u||this.checkScroll(Ra(Ra({},r),{prevScrollPos:m,direction:l,inputEvent:h}))}},e._registerScrollEvent=function(r){this._unregisterScrollEvent();var s=r.checkScrollEvent;if(s){var o=s===!0?fE:s,i=jf(r.container);s===!0&&(i===document.body||i===document.documentElement)?this._unregister=fE(window,this._onScroll):this._unregister=o(i,this._onScroll)}},e._unregisterScrollEvent=function(){var r;(r=this._unregister)===null||r===void 0||r.call(this),this._unregister=null},t})(fp),db=function(n,t){return db=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])},db(n,t)};function xJ(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");db(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function vJ(n,t){return t={exports:{}},n(t,t.exports),t.exports}var Sd=vJ(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 i[c];var d=String(c),h=r[d.toLowerCase()];if(h)return h;var h=s[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=s[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},s=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};/*!
|
|
151
|
+
* Programatically add the following
|
|
152
|
+
*/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 i=t.names=t.title={};for(o in r)i[r[o]]=o;for(var l in s)r[l]=s[l]});Sd.code;Sd.codes;Sd.aliases;var SJ=Sd.names;Sd.title;var hE={"+":"plus","left command":"meta","right command":"meta"},gE={shift:1,ctrl:2,alt:3,meta:4};function CM(n,t){var e=(SJ[n]||t||"").toLowerCase();for(var r in hE)e=e.replace(r,hE[r]);return e.replace(/\s/g,"")}function xM(n,t){t===void 0&&(t=CM(n.keyCode,n.key));var e=kJ(n);return e.indexOf(t)===-1&&e.push(t),e.filter(Boolean)}function kJ(n){var t=[n.shiftKey&&"shift",n.ctrlKey&&"ctrl",n.altKey&&"alt",n.metaKey&&"meta"];return t.filter(Boolean)}function pE(n){var t=n.slice();return t.sort(function(e,r){var s=gE[e]||5,o=gE[r]||5;return s-o}),t}var mE,EJ=(function(n){xJ(t,n);function t(r){r===void 0&&(r=window);var s=n.call(this)||this;return s.container=r,s.ctrlKey=!1,s.altKey=!1,s.shiftKey=!1,s.metaKey=!1,s.clear=function(){return s.ctrlKey=!1,s.altKey=!1,s.shiftKey=!1,s.metaKey=!1,s},s.keydownEvent=function(o){s.triggerEvent("keydown",o)},s.keyupEvent=function(o){s.triggerEvent("keyup",o)},s.blur=function(){s.clear(),s.trigger("blur")},hn(r,"blur",s.blur),hn(r,"keydown",s.keydownEvent),hn(r,"keyup",s.keyupEvent),s}var e=t.prototype;return Object.defineProperty(t,"global",{get:function(){return mE||(mE=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,s){return this.addEvent("keydown",r,s)},e.offKeydown=function(r,s){return this.removeEvent("keydown",r,s)},e.offKeyup=function(r,s){return this.removeEvent("keyup",r,s)},e.keyup=function(r,s){return this.addEvent("keyup",r,s)},e.addEvent=function(r,s,o){return Qh(s)?this.on("".concat(r,".").concat(pE(s).join(".")),o):Ju(s)?this.on("".concat(r,".").concat(s),o):this.on(r,s),this},e.removeEvent=function(r,s,o){return Qh(s)?this.off("".concat(r,".").concat(pE(s).join(".")),o):Ju(s)?this.off("".concat(r,".").concat(s),o):this.off(r,s),this},e.triggerEvent=function(r,s){this.ctrlKey=s.ctrlKey,this.shiftKey=s.shiftKey,this.altKey=s.altKey,this.metaKey=s.metaKey;var o=CM(s.keyCode,s.key),i=o==="ctrl"||o==="shift"||o==="meta"||o==="alt",l={key:o,isToggle:i,inputEvent:s,keyCode:s.keyCode,ctrlKey:s.ctrlKey,altKey:s.altKey,shiftKey:s.shiftKey,metaKey:s.metaKey};this.trigger(r,l),this.trigger("".concat(r,".").concat(o),l);var c=xM(s,o);c.length>1&&this.trigger("".concat(r,".").concat(c.join(".")),l)},t})(fp);/*! *****************************************************************************
|
|
153
|
+
Copyright (c) Microsoft Corporation.
|
|
154
|
+
|
|
155
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
156
|
+
purpose with or without fee is hereby granted.
|
|
157
|
+
|
|
158
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
159
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
160
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
161
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
162
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
163
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
164
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
165
|
+
***************************************************************************** */function TJ(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var r=Array(n),s=0,t=0;t<e;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,s++)r[s]=o[i];return r}function mr(n){return Io(n,ms)}function _J(n,t){return n.every(function(e,r){return mr(e-t[r])===0})}function NJ(n,t){return!mr(n[0]-t[0])&&!mr(n[1]-t[1])}function kA(n){return n.length<3?0:Math.abs(VG(n.map(function(t,e){var r=n[e+1]||n[0];return t[0]*r[1]-r[0]*t[1]})))/2}function IJ(n,t){var e=t.width,r=t.height,s=t.left,o=t.top,i=vM(n),l=i.minX,c=i.minY,u=i.maxX,d=i.maxY,h=e/(u-l),g=r/(d-c);return n.map(function(p){return[s+(p[0]-l)*h,o+(p[1]-c)*g]})}function vM(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 fb(n,t,e){var r=n[0],s=n[1],o=vM(t),i=o.minX,l=o.maxX,c=[[i,s],[l,s]],u=$h(c[0],c[1]),d=hb(t),h=[];if(d.forEach(function(m){var y=$h(m[0],m[1]),w=m[0];if(_J(u,y))h.push({pos:n,line:m,type:"line"});else{var x=kM(SM(u,y),[c,m]);x.forEach(function(C){m.some(function(v){return NJ(v,C)})?h.push({pos:C,line:m,type:"point"}):mr(w[1]-s)!==0&&h.push({pos:C,line:m,type:"intersection"})})}}),Vu(h,function(m){return m[0]===r}))return!0;var g=0,p={};return h.forEach(function(m){var y=m.pos,w=m.type,x=m.line;if(!(y[0]>r))if(w==="intersection")++g;else{if(w==="line")return;if(w==="point"){var C=Vu(x,function(N){return N[1]!==s}),v=p[y[0]],_=C[1]>s?1:-1;v?v!==_&&++g:p[y[0]]=_}}}),g%2===1}function $h(n,t){var e=n[0],r=n[1],s=t[0],o=t[1],i=s-e,l=o-r;Math.abs(i)<ms&&(i=0),Math.abs(l)<ms&&(l=0);var c=0,u=0,d=0;return i?l?(c=-l/i,u=1,d=-c*e-r):(u=1,d=-r):l&&(c=-1,d=e),[c,u,d]}function SM(n,t){var e=n[0],r=n[1],s=n[2],o=t[0],i=t[1],l=t[2],c=e===0&&o===0,u=r===0&&i===0,d=[];if(c&&u)return[];if(c){var h=-s/r,g=-l/i;return h!==g?[]:[[-1/0,h],[1/0,h]]}else if(u){var p=-s/e,m=-l/o;return p!==m?[]:[[p,-1/0],[p,1/0]]}else if(e===0){var y=-s/r,w=-(i*y+l)/o;d=[[w,y]]}else if(o===0){var y=-l/i,w=-(r*y+s)/e;d=[[w,y]]}else if(r===0){var w=-s/e,y=-(o*w+l)/i;d=[[w,y]]}else if(i===0){var w=-l/o,y=-(e*w+s)/r;d=[[w,y]]}else{var w=(r*l-i*s)/(i*e-r*o),y=-(e*w+s)/r;d=[[w,y]]}return d.map(function(x){return[x[0],x[1]]})}function kM(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 s=n[0],o=s[0],i=s[1];if(mr(o-n[1][0])){if(!mr(i-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(mr(u-d)>0)return[];r=[[u,i],[d,i]]}}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(mr(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<=mr(g-m[0][0])&&0<=mr(m[0][1]-g)&&0<=mr(p-m[1][0])&&0<=mr(m[1][1]-p)})})),r.map(function(h){return[mr(h[0]),mr(h[1])]})}function hb(n){return TJ(n.slice(1),[n[0]]).map(function(t,e){return[n[e],t]})}function MJ(n,t){var e=n.slice(),r=t.slice();aE(e)===-1&&e.reverse(),aE(r)===-1&&r.reverse();var s=hb(e),o=hb(r),i=s.map(function(d){return $h(d[0],d[1])}),l=o.map(function(d){return $h(d[0],d[1])}),c=[];i.forEach(function(d,h){var g=s[h],p=[];l.forEach(function(m,y){var w=SM(d,m),x=kM(w,[g,o[y]]);p.push.apply(p,x.map(function(C){return{index1:h,index2:y,pos:C,type:"intersection"}}))}),p.sort(function(m,y){return lb(g[0],m.pos)-lb(g[0],y.pos)}),c.push.apply(c,p),fb(g[1],r)&&c.push({index1:h,index2:-1,pos:g[1],type:"inside"})}),o.forEach(function(d,h){if(fb(d[1],e)){var g=!1,p=qh(c,function(m){var y=m.index2;return y===h?(g=!0,!1):!!g});p===-1&&(g=!1,p=qh(c,function(m){var y=m.index1,w=m.index2;return y===-1&&w+1===h?(g=!0,!1):!!g})),p===-1?c.push({index1:-1,index2:h,pos:d[1],type:"inside"}):c.splice(p,0,{index1:-1,index2:h,pos:d[1],type:"inside"})}});var u={};return c.filter(function(d){var h=d.pos,g=h[0]+"x"+h[1];return u[g]?!1:(u[g]=!0,!0)})}function AE(n,t){var e=MJ(n,t);return e.map(function(r){var s=r.pos;return s})}function LJ(n,t,e,r,s,o){for(var i=0;i<s;++i){var l=e+i*s,c=r+i*s;n[l]+=n[c]*o,t[l]+=t[c]*o}}function DJ(n,t,e,r,s){for(var o=0;o<s;++o){var i=e+o*s,l=r+o*s,c=n[i],u=t[i];n[i]=n[l],n[l]=c,t[i]=t[l],t[l]=u}}function OJ(n,t,e,r,s){for(var o=0;o<r;++o){var i=e+o*r;n[i]/=s,t[i]/=s}}function RJ(n,t){for(var e=n.slice(),r=EM(t),s=0;s<t;++s){var o=t*s+s;if(!Io(e[o],ms)){for(var i=s+1;i<t;++i)if(e[t*s+i]){DJ(e,r,s,i,t);break}}if(!Io(e[o],ms))return[];OJ(e,r,s,t,e[o]);for(var i=0;i<t;++i){var l=i,c=i+s*t,u=e[c];!Io(u,ms)||s===i||LJ(e,r,l,s,t,-u)}}return r}function na(n,t,e){e===void 0&&(e=Math.sqrt(n.length));var r=[],s=n.length/e,o=t.length/s;if(s){if(!o)return n}else return t;for(var i=0;i<e;++i)for(var l=0;l<o;++l){r[l*e+i]=0;for(var c=0;c<s;++c)r[l*e+i]+=n[c*e+i]*t[l*s+c]}return r}function BJ(n,t,e){var r=na(n,t,e),s=r[e-1];return r.map(function(o){return o/s})}function PJ(n,t){return na(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 jJ(n,t){return na(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 FJ(n,t){return na(n,zJ(t,4))}function Ff(n,t){var e=t[0],r=e===void 0?1:e,s=t[1],o=s===void 0?1:s,i=t[2],l=i===void 0?1:i;return na(n,[r,0,0,0,0,o,0,0,0,0,l,0,0,0,0,1],4)}function EA(n,t){var e=t[0],r=e===void 0?0:e,s=t[1],o=s===void 0?0:s,i=t[2],l=i===void 0?0:i;return na(n,[1,0,0,0,0,1,0,0,0,0,1,0,r,o,l,1],4)}function gb(n,t){return na(n,t,4)}function zJ(n,t){var e=Math.cos(n),r=Math.sin(n),s=EM(t);return s[0]=e,s[1]=r,s[t]=-r,s[t+1]=e,s}function EM(n){for(var t=n*n,e=[],r=0;r<t;++r)e[r]=r%(n+1)?0:1;return e}var wu=function(){return wu=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},wu.apply(this,arguments)};function Rw(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function UJ(n,t){return t===void 0&&(t=0),WJ(HJ(n,t))}function TA(n,t){var e=BJ(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 KJ(n,t){t===void 0&&(t=document.body);for(var e=n,r=Rw();e;){var s=getComputedStyle(e).transform;if(r=gb(UJ(s),r),e===t)break;e=e.parentElement}return r=RJ(r,4),r[12]=0,r[13]=0,r[14]=0,r}function WJ(n){var t=Rw();return n.forEach(function(e){var r=e.matrixFunction,s=e.functionValue;r&&(t=r(t,s))}),t}function HJ(n,t){t===void 0&&(t=0);var e=Qh(n)?n:ZG(n);return e.map(function(r){var s=GG(r),o=s.prefix,i=s.value,l=null,c=o,u="";if(o==="translate"||o==="translateX"||o==="translate3d"){var d=Pi(t)?wu(wu({},t),{"o%":t["%"]}):{"%":t,"o%":t},h=iu(i).map(function(z,H){return H===0&&"x%"in d?d["%"]=t["x%"]:H===1&&"y%"in d?d["%"]=t["y%"]:d["%"]=t["o%"],oE(z,d)}),g=h[0],p=h[1],m=p===void 0?0:p,y=h[2],w=y===void 0?0:y;l=EA,u=[g,m,w]}else if(o==="translateY"){var x=Pi(t)?wu({"%":t["y%"]},t):{"%":t},m=oE(i,x);l=EA,u=[0,m,0]}else if(o==="translateZ"){var w=parseFloat(i);l=EA,u=[0,0,w]}else if(o==="scale"||o==="scale3d"){var C=iu(i).map(function(z){return parseFloat(z)}),v=C[0],_=C[1],N=_===void 0?v:_,E=C[2],T=E===void 0?1:E;l=Ff,u=[v,N,T]}else if(o==="scaleX"){var v=parseFloat(i);l=Ff,u=[v,1,1]}else if(o==="scaleY"){var N=parseFloat(i);l=Ff,u=[1,N,1]}else if(o==="scaleZ"){var T=parseFloat(i);l=Ff,u=[1,1,T]}else if(o==="rotate"||o==="rotateZ"||o==="rotateX"||o==="rotateY"){var I=Xh(i),M=I.unit,O=I.value,P=M==="rad"?O:O*Math.PI/180;o==="rotate"||o==="rotateZ"?(c="rotateZ",l=FJ):o==="rotateX"?l=PJ:o==="rotateY"&&(l=jJ),u=P}else if(o==="matrix3d")l=gb,u=iu(i).map(function(z){return parseFloat(z)});else if(o==="matrix"){var F=iu(i).map(function(z){return parseFloat(z)});l=gb,u=[F[0],F[1],0,0,F[2],F[3],0,0,0,0,1,0,F[4],F[5],0,1]}else c="";return{name:o,functionName:c,value:i,matrixFunction:l,functionValue:u}})}function YJ(n){for(var t=5381,e=n.length;e;)t=t*33^n.charCodeAt(--e);return t>>>0}var ZJ=YJ;function GJ(n){return ZJ(n).toString(36)}function JJ(n){if(n&&n.getRootNode){var t=n.getRootNode();if(t.nodeType===11)return t}}function VJ(n,t,e){return e.original?t:t.replace(/([^};{\s}][^};{]*|^\s*){/mg,function(r,s){var o=s.trim();return(o?iu(o):[""]).map(function(i){var l=i.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 QJ(n,t,e,r,s){var o=Eo(r),i=o.createElement("style");return i.setAttribute("type","text/css"),i.setAttribute("data-styled-id",n),i.setAttribute("data-styled-count","1"),e.nonce&&i.setAttribute("nonce",e.nonce),i.innerHTML=VJ(n,t,e),(s||o.head||o.body).appendChild(i),i}function XJ(n){var t="rCS"+GJ(n);return{className:t,inject:function(e,r){r===void 0&&(r={});var s=JJ(e),o=(s||e.ownerDocument||document).querySelector('style[data-styled-id="'.concat(t,'"]'));if(!o)o=QJ(t,n,r,e,s);else{var i=parseFloat(o.getAttribute("data-styled-count"))||0;o.setAttribute("data-styled-count","".concat(i+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 pb=function(n,t){return pb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])},pb(n,t)};function TM(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pb(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var fn=function(){return fn=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},fn.apply(this,arguments)};function qJ(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 s=0,r=Object.getOwnPropertySymbols(n);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(n,r[s])&&(e[r[s]]=n[r[s]]);return e}function $J(n,t,e,r){var s=arguments.length,o=s<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,i;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--)(i=n[l])&&(o=(s<3?i(o):s>3?i(t,e,o):i(t,e))||o);return s>3&&o&&Object.defineProperty(t,e,o),o}function Cu(n,t,e){for(var r=0,s=t.length,o;r<s;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 eV(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 tV(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 nV(n,t,e){var r=Eo(n);return r.elementFromPoint&&r.elementFromPoint(t,e)||null}function _M(n,t,e){var r=n.tag,s=n.children,o=n.attributes,i=n.className,l=n.style,c=t||Eo(e).createElement(r);for(var u in o)c.setAttribute(u,o[u]);var d=c.children;if(s.forEach(function(g,p){_M(g,d[p],c)}),i&&i.split(/\s+/g).forEach(function(g){g&&!qG(c,g)&&$G(c,g)}),l){var h=c.style;for(var u in l)h[u]=l[u]}return!t&&e&&e.appendChild(c),c}function rV(n,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];var s=t||{},o=s.className,i=o===void 0?"":o,l=s.style,c=l===void 0?{}:l,u=qJ(s,["className","style"]);return{tag:n,className:i,style:c,attributes:u,children:e}}function _A(n,t,e){n!==t&&e(n,t)}function yE(n,t,e){var r;e===void 0&&(e=n.data.boundArea);var s=n.distX,o=s===void 0?0:s,i=n.distY,l=i===void 0?0:i,c=n.data,u=c.startX,d=c.startY;if(t>0){var h=Math.sqrt((o*o+l*l)/(1+t*t)),g=t*h;o=(o>=0?1:-1)*g,l=(l>=0?1:-1)*h}var p=Math.abs(o),m=Math.abs(l),y=o<0?u-e.left:e.right-u,w=l<0?d-e.top:e.bottom-d;r=JG([p,m],[0,0],[y,w],!!t),p=r[0],m=r[1],o=(o>=0?1:-1)*p,l=(l>=0?1:-1)*m;var x=Math.min(0,o),C=Math.min(0,l),v=u+x,_=d+C;return{left:v,top:_,right:v+p,bottom:_+m,width:p,height:m}}function zf(n){var t=n.getBoundingClientRect(),e=t.left,r=t.top,s=t.width,o=t.height;return{pos1:[e,r],pos2:[e+s,r],pos3:[e,r+o],pos4:[e+s,r+o]}}function bE(n,t,e){var r=lu(n,t),s=r.list,o=r.prevList,i=r.added,l=r.removed,c=r.maintained;return Cu(Cu(Cu([],i.map(function(u){return s[u]}),!0),l.map(function(u){return o[u]}),!0),e?c.map(function(u){var d=u[1];return s[d]}):[])}function wE(n){for(var t=0,e=n.length,r=1;r<e;++r)t=Math.max(lb(n[r],n[r-1]),t);return t}var NM=XJ(`
|
|
166
|
+
:host {
|
|
167
|
+
position: fixed;
|
|
168
|
+
display: none;
|
|
169
|
+
border: 1px solid #4af;
|
|
170
|
+
background: rgba(68, 170, 255, 0.5);
|
|
171
|
+
pointer-events: none;
|
|
172
|
+
will-change: transform;
|
|
173
|
+
z-index: 100;
|
|
174
|
+
}
|
|
175
|
+
`),mb="selecto-selection ".concat(NM.className),Bw=["className","boundContainer","selectableTargets","selectByClick","selectFromInside","continueSelect","continueSelectWithoutDeselect","toggleContinueSelect","toggleContinueSelectWithoutDeselect","keyContainer","hitRate","scrollOptions","checkInput","preventDefault","ratio","getElementRect","preventDragFromInside","rootContainer","dragCondition","clickBySelectEnd","checkOverflow","innerScrollOptions"],sV=Cu(["dragContainer","cspNonce","preventClickEventOnDrag","preventClickEventOnDragStart","preventRightClick"],Bw),IM=["dragStart","drag","dragEnd","selectStart","select","selectEnd","keydown","keyup","scroll","innerScroll"],oV=["clickTarget","getSelectableElements","setSelectedTargets","getElementPoints","getSelectedTargets","findSelectableTargets","triggerDragStart","checkScroll","selectTargetsByPoints","setSelectedTargetsByPoints"],iV=(function(n){TM(t,n);function t(r){r===void 0&&(r={});var s=n.call(this)||this;s.selectedTargets=[],s.dragScroll=new CJ,s._onDragStart=function(l,c){var u=l.data,d=l.clientX,h=l.clientY,g=l.inputEvent,p=s.options,m=p.selectFromInside,y=p.selectByClick,w=p.rootContainer,x=p.boundContainer,C=p.preventDragFromInside,v=C===void 0?!0:C,_=p.clickBySelectEnd,N=p.dragCondition;if(N&&!N(l)){l.stop();return}u.data={};var E=al(s.container);u.innerWidth=E.innerWidth,u.innerHeight=E.innerHeight,s.findSelectableTargets(u),u.startSelectedTargets=s.selectedTargets,u.scaleMatrix=Rw(),u.containerX=0,u.containerY=0;var T=s.container,I={left:-1/0,top:-1/0,right:1/0,bottom:1/0};if(w){var M=s.container.getBoundingClientRect();u.containerX=M.left,u.containerY=M.top,u.scaleMatrix=KJ(s.container,w)}if(x){var O=Pi(x)&&"element"in x?fn({left:!0,top:!0,bottom:!0,right:!0},x):{element:x,left:!0,top:!0,bottom:!0,right:!0},P=O.element,F=void 0;if(P){Ju(P)?F=Eo(T).querySelector(P):P===!0?F=s.container:F=P;var z=F.getBoundingClientRect();O.left&&(I.left=z.left),O.top&&(I.top=z.top),O.right&&(I.right=z.right),O.bottom&&(I.bottom=z.bottom)}}u.boundArea=I;var H={left:d,top:h,right:d,bottom:h,width:0,height:0},te=[],le=y&&!_,ce=!1;if(!m||le){var ne=s._findElement(c||g.target,u.selectableTargets);ce=!!ne,le&&(te=ne?[ne]:[])}var X=!m&&ce;if(X&&!y)return l.stop(),!1;var he=g.type,q=he==="mousedown"||he==="touchstart",K=!l.isClick&&q?s.emit("dragStart",fn(fn({},l),{data:u.data})):!0;if(!K)return l.stop(),!1;if(s.continueSelect?(te=bE(s.selectedTargets,te,s.continueSelectWithoutDeselect),u.startPassedTargets=s.selectedTargets):u.startPassedTargets=[],s._select(te,H,l,!0,X&&y&&!_&&v),u.startX=d,u.startY=h,u.selectFlag=!1,u.preventDragFromInside=!1,g.target){var J=TA(u.scaleMatrix,[d-u.containerX,h-u.containerY]);s.target.style.cssText+="position: ".concat(w?"absolute":"fixed",";")+"left:0px;top:0px;"+"transform: translate(".concat(J[0],"px, ").concat(J[1],"px)")}if(X&&y&&!_)g.preventDefault(),v&&(s._selectEnd(u.startSelectedTargets,u.startPassedTargets,H,l,!0),u.preventDragFromInside=!0);else{u.selectFlag=!0;var ee=s.options,ie=ee.scrollOptions,ue=ee.innerScrollOptions,se=!1;if(ue){for(var Ae=l.inputEvent,Ne=Ae.target,pe=null,Ie=Ne;Ie&&Ie!==Eo(T).body;){var $e=getComputedStyle(Ie).overflow!=="visible";if($e){pe=Ie;break}Ie=Ie.parentElement}pe&&(u.innerScrollOptions=fn({container:pe,checkScrollEvent:!0},ue===!0?{}:ue),s.dragScroll.dragStart(l,u.innerScrollOptions),se=!0)}!se&&ie&&ie.container&&s.dragScroll.dragStart(l,ie),X&&y&&_&&(u.selectFlag=!1,l.preventDrag())}return!0},s._onDrag=function(l){if(l.data.selectFlag){var c=s.scrollOptions,u=l.data.innerScrollOptions,d=u||(c==null?void 0:c.container);if(d&&!l.isScroll&&s.dragScroll.drag(l,u||c))return}s._checkSelected(l)},s._onDragEnd=function(l){var c=l.data,u=l.inputEvent,d=yE(l,s.options.ratio),h=c.selectFlag,g=s.container;if(u&&s.emit("dragEnd",fn(fn({isDouble:!!l.isDouble,isClick:!!l.isClick,isDrag:!1,isSelect:h},l),{data:c.data,rect:d})),s.target.style.cssText+="display: none;",h)c.selectFlag=!1,s.dragScroll.dragEnd();else if(s.selectByClick&&s.clickBySelectEnd){var p=s._findElement((u==null?void 0:u.target)||nV(g,l.clientX,l.clientY),c.selectableTargets);s._select(p?[p]:[],d,l)}c.preventDragFromInside||s._selectEnd(c.startSelectedTargets,c.startPassedTargets,d,l)},s._onKeyDown=function(l){var c=s.options,u=!1;if(!s._keydownContinueSelect){var d=s._sameCombiKey(l,c.toggleContinueSelect);s._keydownContinueSelect=d,u||(u=d)}if(!s._keydownContinueSelectWithoutDeselection){var d=s._sameCombiKey(l,c.toggleContinueSelectWithoutDeselect);s._keydownContinueSelectWithoutDeselection=d,u||(u=d)}u&&s.emit("keydown",{keydownContinueSelect:s._keydownContinueSelect,keydownContinueSelectWithoutDeselection:s._keydownContinueSelectWithoutDeselection})},s._onKeyUp=function(l){var c=s.options,u=!1;if(s._keydownContinueSelect){var d=s._sameCombiKey(l,c.toggleContinueSelect,!0);s._keydownContinueSelect=!d,u||(u=d)}if(s._keydownContinueSelectWithoutDeselection){var d=s._sameCombiKey(l,c.toggleContinueSelectWithoutDeselect,!0);s._keydownContinueSelectWithoutDeselection=!d,u||(u=d)}u&&s.emit("keyup",{keydownContinueSelect:s._keydownContinueSelect,keydownContinueSelectWithoutDeselection:s._keydownContinueSelectWithoutDeselection})},s._onBlur=function(){(s._keydownContinueSelect||s._keydownContinueSelectWithoutDeselection)&&(s._keydownContinueSelect=!1,s._keydownContinueSelectWithoutDeselection=!1,s.emit("keyup",{keydownContinueSelect:s._keydownContinueSelect,keydownContinueSelectWithoutDeselection:s._keydownContinueSelectWithoutDeselection}))},s._onDocumentSelectStart=function(l){var c=Eo(s.container);if(s.gesto.isFlag()){var u=s.dragContainer;u===al(s.container)&&(u=c.documentElement);var d=cE(u)?[u]:[].slice.call(u),h=l.target;d.some(function(g){if(g===h||g.contains(h))return l.preventDefault(),!0})}},s.target=r.portalContainer;var o=r.container;s.options=fn({className:"",portalContainer:null,container:null,dragContainer:null,selectableTargets:[],selectByClick:!0,selectFromInside:!0,clickBySelectEnd:!1,hitRate:100,continueSelect:!1,continueSelectWithoutDeselect:!1,toggleContinueSelect:null,toggleContinueSelectWithoutDeselect:null,keyContainer:null,scrollOptions:null,checkInput:!1,preventDefault:!1,boundContainer:!1,preventDragFromInside:!0,dragCondition:null,rootContainer:null,checkOverflow:!1,innerScrollOptions:!1,getElementRect:zf,cspNonce:"",ratio:0},r);var i=s.options.portalContainer;return i&&(o=i.parentElement),s.container=o||document.body,s.initElement(),s.initDragScroll(),s.setKeyController(),s}var e=t.prototype;return e.setSelectedTargets=function(r){var s=this.selectedTargets,o=lu(s,r),i=o.added,l=o.removed,c=o.prevList,u=o.list;return this.selectedTargets=r,{added:i.map(function(d){return u[d]}),removed:l.map(function(d){return c[d]}),beforeSelected:s,selected:r}},e.setSelectedTargetsByPoints=function(r,s){var o=Math.min(r[0],s[0]),i=Math.min(r[1],s[1]),l=Math.max(r[0],s[0]),c=Math.max(r[1],s[1]),u={left:o,top:i,right:l,bottom:c,width:l-o,height:c-i},d={ignoreClick:!0};this.findSelectableTargets(d);var h=this.hitTest(u,d,!0,null),g=this.setSelectedTargets(h);return fn(fn({},g),{rect:u})},e.selectTargetsByPoints=function(r,s){var o=new MouseEvent("mousedown",{clientX:r[0],clientY:r[1],cancelable:!0,bubbles:!0}),i=new MouseEvent("mousemove",{clientX:s[0],clientY:s[1],cancelable:!0,bubbles:!0}),l=new MouseEvent("mousemove",{clientX:s[0],clientY:s[1],cancelable:!0,bubbles:!0}),c=this.gesto,u=c.onDragStart(o);u!==!1&&(c.onDrag(i),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 s=this.getElementRect||zf,o=s(r),i=[o.pos1,o.pos2,o.pos4,o.pos3];if(s!==zf){var l=r.getBoundingClientRect();return IJ(i,l)}return i},e.getSelectableElements=function(){var r=this.container,s=[];return this.options.selectableTargets.forEach(function(o){if(Lw(o)){var i=o();i&&s.push.apply(s,[].slice.call(i))}else if(cE(o))s.push(o);else if(Pi(o))s.push(o.value||o.current);else{var l=[].slice.call(Eo(r).querySelectorAll(o));s.push.apply(s,l)}}),s},e.checkScroll=function(){if(this.gesto.isFlag()){var r=this.scrollOptions,s=this.gesto.getEventData().innerScrollOptions,o=s||(r==null?void 0:r.container);o&&this.dragScroll.checkScroll(fn({inputEvent:this.gesto.getCurrentEvent()},s||r))}},e.findSelectableTargets=function(r){var s=this;r===void 0&&(r=this.gesto.getEventData());var o=this.getSelectableElements(),i=o.map(function(h){return s.getElementPoints(h)});r.selectableTargets=o,r.selectablePoints=i,r.selectableParentMap=null;var l=this.options,c=l.checkOverflow||l.innerScrollOptions,u=Eo(this.container);if(c){var d=new Map;r.selectableInnerScrollParentMap=d,r.selectableInnerScrollPathsList=o.map(function(h,g){for(var p=h.parentElement,m=[],y=[],w=function(){var x=d.get(p);if(!x){var C=getComputedStyle(p).overflow!=="visible";if(C){var v=zf(p);x={parentElement:p,indexes:[],points:[v.pos1,v.pos2,v.pos4,v.pos3],paths:Cu([],y)},m.push(p),m.forEach(function(_){d.set(_,x)}),m=[]}}x?(p=x.parentElement,d.get(p).indexes.push(g),y.push(p)):m.push(p),p=p.parentElement};p&&p!==u.body;)w();return y})}return l.checkOverflow||(r.selectableInners=o.map(function(){return!0})),this._refreshGroups(r),o},e.clickTarget=function(r,s){var o=eV(r),i=o.clientX,l=o.clientY,c={data:{selectFlag:!1},clientX:i,clientY:l,inputEvent:r,isClick:!0,isTrusted:!1,stop:function(){return!1}};return this._onDragStart(c,s)&&this._onDragEnd(c),this},e.setKeyController=function(){var r=this.options,s=r.keyContainer,o=r.toggleContinueSelect,i=r.toggleContinueSelectWithoutDeselect;this.keycon&&(this.keycon.destroy(),this.keycon=null),(o||i)&&(this.keycon=new EJ(s||al(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(mb," ").concat(r||""))},e.setKeyEvent=function(){var r=this.options,s=r.toggleContinueSelect,o=r.toggleContinueSelectWithoutDeselect;!s&&!o||this.keycon||this.setKeyController()},e.setKeyContainer=function(r){var s=this,o=this.options;_A(o.keyContainer,r,function(){o.keyContainer=r,s.setKeyController()})},e.getContinueSelect=function(){var r=this.options,s=r.continueSelect,o=r.toggleContinueSelect;return!o||!this._keydownContinueSelect?s:!s},e.getContinueSelectWithoutDeselect=function(){var r=this.options,s=r.continueSelectWithoutDeselect,o=r.toggleContinueSelectWithoutDeselect;return!o||!this._keydownContinueSelectWithoutDeselection?s:!s},e.setToggleContinueSelect=function(r){var s=this,o=this.options;_A(o.toggleContinueSelect,r,function(){o.toggleContinueSelect=r,s.setKeyEvent()})},e.setToggleContinueSelectWithoutDeselect=function(r){var s=this,o=this.options;_A(o.toggleContinueSelectWithoutDeselect,r,function(){o.toggleContinueSelectWithoutDeselect=r,s.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,s=r.dragContainer,o=r.checkInput,i=r.preventDefault,l=r.preventClickEventOnDragStart,c=r.preventClickEventOnDrag,u=r.preventClickEventByCondition,d=r.preventRightClick,h=d===void 0?!0:d,g=r.className,p=this.container;this.target=_M(rV("div",{className:"".concat(mb," ").concat(g||"")}),this.target,p);var m=this.target;this.dragContainer=typeof s=="string"?[].slice.call(Eo(p).querySelectorAll(s)):s||this.target.parentNode,this.gesto=new lJ(this.dragContainer,{checkWindowBlur:!0,container:al(p),checkInput:o,preventDefault:i,preventClickEventOnDragStart:l,preventClickEventOnDrag:c,preventClickEventByCondition:u,preventRightClick:h}).on({dragStart:this._onDragStart,drag:this._onDrag,dragEnd:this._onDragEnd}),hn(document,"selectstart",this._onDocumentSelectStart),this.injectResult=NM.inject(m,{nonce:this.options.cspNonce})},e.hitTest=function(r,s,o,i){var l=this.options,c=l.hitRate,u=l.selectByClick,d=r.left,h=r.top,g=r.right,p=r.bottom,m=s.innerGroups,y=s.innerWidth,w=s.innerHeight,x=i==null?void 0:i.clientX,C=i==null?void 0:i.clientY,v=s.ignoreClick,_=[[d,h],[g,h],[g,p],[d,p]],N=function(ne,X){var he=Xh(typeof c=="function"?"".concat(c(X)):"".concat(c)),q=v?!1:fb([x,C],ne);if(!o&&u&&q)return!0;var K=AE(_,ne);if(!K.length)return!1;var J=kA(K),ee=0;if(J===0&&kA(ne)===0?(ee=wE(ne),J=wE(K)):ee=kA(ne),he.unit==="px")return J>=he.value;var ie=bM(Math.round(J/ee*100),0,100);return ie>=Math.min(100,he.value)},E=s.selectableTargets,T=s.selectablePoints,I=s.selectableInners;if(!m)return E.filter(function(ne,X){return I[X]?N(T[X],E[X]):!1});for(var M=[],O=Math.floor(d/y),P=Math.floor(g/y),F=Math.floor(h/w),z=Math.floor(p/w),H=O;H<=P;++H){var te=m[H];if(te)for(var le=F;le<=z;++le){var ce=te[le];ce&&ce.forEach(function(ne){var X=T[ne],he=I[ne],q=E[ne];he&&N(X,q)&&M.push(q)})}}return tV(M)},e.initDragScroll=function(){var r=this;this.dragScroll.on("scrollDrag",function(s){var o=s.next;o(r.gesto.getCurrentEvent())}).on("scroll",function(s){var o=s.container,i=s.direction,l=r.gesto.getEventData().innerScrollOptions;l?r.emit("innerScroll",{container:o,direction:i}):r.emit("scroll",{container:o,direction:i})}).on("move",function(s){var o=s.offsetX,i=s.offsetY,l=s.inputEvent,c=r.gesto;if(!(!c||!c.isFlag())){var u=r.gesto.getEventData(),d=u.boundArea;u.startX-=o,u.startY-=i;var h=r.gesto.getEventData().innerScrollOptions,g=h==null?void 0:h.container,p=!1;if(g){var m=u.selectableInnerScrollParentMap,y=m.get(g);y&&(y.paths.forEach(function(w){var x=m.get(w);x.points.forEach(function(C){C[0]-=o,C[1]-=i})}),y.indexes.forEach(function(w){u.selectablePoints[w].forEach(function(x){x[0]-=o,x[1]-=i})}),p=!0)}p||u.selectablePoints.forEach(function(w){w.forEach(function(x){x[0]-=o,x[1]-=i})}),r._refreshGroups(u),d.left-=o,d.right-=o,d.top-=i,d.bottom-=i,r.gesto.scrollBy(o,i,l.inputEvent),r._checkSelected(r.gesto.getCurrentEvent())}})},e._select=function(r,s,o,i,l){l===void 0&&(l=!1);var c=o.inputEvent,u=o.data,d=this.setSelectedTargets(r),h=lu(u.startSelectedTargets,r),g=h.added,p=h.removed,m=h.prevList,y=h.list,w={startSelected:m,startAdded:g.map(function(x){return y[x]}),startRemoved:p.map(function(x){return m[x]})};i&&this.emit("selectStart",fn(fn(fn({},d),w),{rect:s,inputEvent:c,data:u.data,isTrusted:o.isTrusted,isDragStartEnd:l})),(d.added.length||d.removed.length)&&this.emit("select",fn(fn(fn({},d),w),{rect:s,inputEvent:c,data:u.data,isTrusted:o.isTrusted,isDragStartEnd:l}))},e._selectEnd=function(r,s,o,i,l){l===void 0&&(l=!1);var c=i.inputEvent,u=i.isDouble,d=i.data,h=c&&c.type,g=h==="mousedown"||h==="touchstart",p=lu(r,this.selectedTargets),m=p.added,y=p.removed,w=p.prevList,x=p.list,C=lu(s,this.selectedTargets),v=C.added,_=C.removed,N=C.prevList,E=C.list;this.emit("selectEnd",{startSelected:r,beforeSelected:s,selected:this.selectedTargets,added:m.map(function(T){return x[T]}),removed:y.map(function(T){return w[T]}),afterAdded:v.map(function(T){return E[T]}),afterRemoved:_.map(function(T){return N[T]}),isDragStart:g&&l,isDragStartEnd:g&&l,isClick:!!i.isClick,isDouble:!!u,rect:o,inputEvent:c,data:d.data,isTrusted:i.isTrusted})},e._checkSelected=function(r,s){s===void 0&&(s=yE(r,this.options.ratio));var o=r.data,i=s.top,l=s.left,c=s.width,u=s.height,d=o.selectFlag,h=o.containerX,g=o.containerY,p=o.scaleMatrix,m=TA(p,[l-h,i-g]),y=TA(p,[c,u]),w=[];if(d){this.target.style.cssText+="display: block;left:0px;top:0px;"+"transform: translate(".concat(m[0],"px, ").concat(m[1],"px);")+"width:".concat(y[0],"px;height:").concat(y[1],"px;");var x=this.hitTest(s,o,!0,r);w=bE(o.startPassedTargets,x,this.continueSelect&&this.continueSelectWithoutDeselect)}var C=this.emit("drag",fn(fn({},r),{data:o.data,isSelect:d,rect:s}));if(C===!1){this.target.style.cssText+="display: none;",r.stop();return}d&&this._select(w,s,r)},e._sameCombiKey=function(r,s,o){if(!s)return!1;var i=xM(r.inputEvent,r.key),l=[].concat(s),c=Qh(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 i.indexOf(h)>-1})})},e._findElement=function(r,s){for(var o=r;o&&!(s.indexOf(o)>-1);)o=o.parentElement;return o},e._refreshGroups=function(r){var s,o=r.innerWidth,i=r.innerHeight,l=r.selectablePoints;if(this.options.checkOverflow){var c=(s=this.gesto.getEventData().innerScrollOptions)===null||s===void 0?void 0:s.container,u=r.selectableInnerScrollParentMap,d=r.selectableInnerScrollPathsList;r.selectableInners=d.map(function(p,m){var y=!1;return p.every(function(w){if(y)return!0;if(w===c)return y=!0,!0;var x=u.get(w);if(x){var C=l[m],v=x.points,_=AE(C,v);if(!_.length)return!1}return!0})})}if(!o||!i)r.innerGroups=null;else{var h=r.selectablePoints,g={};h.forEach(function(p,m){var y=1/0,w=-1/0,x=1/0,C=-1/0;p.forEach(function(N){var E=Math.floor(N[0]/o),T=Math.floor(N[1]/i);y=Math.min(E,y),w=Math.max(E,w),x=Math.min(T,x),C=Math.max(T,C)});for(var v=y;v<=w;++v)for(var _=x;_<=C;++_)g[v]=g[v]||{},g[v][_]=g[v][_]||[],g[v][_].push(m)}),r.innerGroups=g}},t=$J([cJ(Bw,function(r,s){var o={enumerable:!0,configurable:!0,get:function(){return this.options[s]}},i=ob("get ".concat(s));r[i]?o.get=function(){return this[i]()}:o.get=function(){return this.options[s]};var l=ob("set ".concat(s));r[l]?o.set=function(c){this[l](c)}:o.set=function(c){this.options[s]=c},Object.defineProperty(r,s,o)})],t),t})(fp),lV=(function(n){TM(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t})(iV),Ab=function(n,t){return Ab=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])},Ab(n,t)};function aV(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ab(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var eg=function(){return eg=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},eg.apply(this,arguments)};function cV(n,t,e,r){var s=arguments.length,o=s<3?t:r,i;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--)(i=n[l])&&(o=(s<3?i(o):s>3?i(t,e,o):i(t,e))||o);return s>3&&o&&Object.defineProperty(t,e,o),o}var CE=IM.map(function(n){return ob("on ".concat(n))}),uV=(function(n){aV(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}var e=t.prototype;return e.render=function(){return k.createElement("div",{className:mb,ref:aJ(this,"selectionElement")})},e.componentDidMount=function(){var r=this,s=this.props,o={};sV.forEach(function(i){i in s&&(o[i]=s[i])}),this.selecto=new lV(eg(eg({},o),{portalContainer:this.selectionElement})),IM.forEach(function(i,l){r.selecto.on(i,function(c){var u=r.props,d=u[CE[l]]&&u[CE[l]](c);d===!1&&c.stop()})})},e.componentDidUpdate=function(r){var s=this.props,o=this.selecto;Bw.forEach(function(i){r[i]!==s[i]&&(o[i]=s[i])})},e.componentWillUnmount=function(){this.selecto.destroy()},cV([uJ(oV)],t.prototype,"selecto",void 0),t})(k.PureComponent);const dV=({editor:n})=>{const t=k.useRef(null),[e,r]=k.useState({depth:0,targets:Ly});return k.useEffect(()=>{const s=()=>{var o;return(o=t.current)==null?void 0:o.checkScroll()};return window.addEventListener("scroll",s),()=>{window.removeEventListener("scroll",s)}},[n]),k.useEffect(()=>{let s=null;const o=()=>{s=Xe(n.registerCommand(cc,()=>{var h;const c=((h=t.current)==null?void 0:h.getSelectedTargets())||[],{hasSelectedBlock:u,selectedAllDocument:d}=mi();if(u)c.forEach(g=>Ui(g));else if(d){const g=document.querySelector("div.ContentEditable__root");g==null||g.classList.remove("selected-all-document")}return!1},Ss),n.registerCommand(Fl,c=>{const{hasSelectedBlock:u,selectedAllDocument:d}=mi();if(T9(n,c,t.current))return!0;const g=c.ctrlKey||c.metaKey||c.altKey;return c.key.length===1&&!g&&n.update(()=>{var w;const m=Ce(),y=Ko();if(m.append(y),u)(((w=t.current)==null?void 0:w.getSelectedTargets())||[]).forEach((C,v)=>{const _=Re(C);_&&(v===0?_.replace(m).selectEnd():_.remove())});else if(d){const x=document.querySelector("div.ContentEditable__root");x==null||x.classList.remove("selected-all-document");const C=Me();C.clear(),C.append(m).selectEnd()}},{tag:"historic"}),!1},Se),n.registerCommand(Qu,()=>{const{selectedAllDocument:c}=mi();if(c){const u=document.querySelector("div.ContentEditable__root");u==null||u.classList.remove("selected-all-document")}return!1},Ss))},i=n.registerUpdateListener(()=>{const{hasSelectedBlock:c,selectedAllDocument:u}=mi(),d=c||u;d&&!s?o():!d&&s&&(s(),s=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),s&&s(),i()}},[n]),A.jsx(uV,{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:s=>{s.inputEvent.target.className!=="editor"&&s.stop()},onSelectEnd:()=>{S9(n),r({targets:Ly,depth:0})},onSelect:s=>N9(s,n,e,r,t.current),scrollOptions:_9,onScroll:s=>{document.documentElement.scrollBy(s.direction[0]*10,s.direction[1]*10)}})},NA=8,IA=72,yb=15,fV={bgColor:"#fff",blockType:"paragraph",canRedo:!1,canUndo:!1,codeLanguage:"",codeTheme:"",elementFormat:"left",fontColor:"#000",fontFamily:"Arial",fontSize:`${yb}px`,fontSizeInputValue:`${yb}`,isBold:!1,isCode:!1,isHighlight:!1,isImageCaption:!1,isItalic:!1,isLink:!1,isRTL:!1,isStrikethrough:!1,isSubscript:!1,isSuperscript:!1,isUnderline:!1,isLowercase:!0,isUppercase:!0,isCapitalize:!0,rootType:"root",listStartNumber:null},MM=k.createContext(void 0),hV=({children:n})=>{const[t,e]=k.useState(fV),r=t.fontSize,s=k.useCallback((i,l)=>{e(c=>({...c,[i]:l}))},[]);k.useEffect(()=>{s("fontSizeInputValue",r.slice(0,-2))},[r,s]);const o=k.useMemo(()=>({toolbarState:t,updateToolbarState:s}),[t,s]);return A.jsx(MM.Provider,{value:o,children:n})},gV=()=>{const n=k.useContext(MM);if(n===void 0)throw new Error("useToolbarState must be used within a ToolbarProvider");return n},th=new Set(["http:","https:","mailto:","sms:","tel:"]);function cl(n){try{const t=new URL(n);if(!th.has(t.protocol))return"about:blank"}catch{return n}return n}const un={ctrlKey:!hS,metaKey:hS};function pV(n){const{code:t}=n;return(t==="Numpad0"||t==="Digit0")&&jt(n,{...un,altKey:!0})}function mV(n){const{code:t}=n;if(!t)return!1;const e=t[t.length-1];return["1","2","3"].includes(e)&&jt(n,{...un,altKey:!0})}function AV(n){const{code:t}=n;return(t==="Numpad7"||t==="Digit7")&&jt(n,{...un,shiftKey:!0})}function yV(n){const{code:t}=n;return(t==="Numpad8"||t==="Digit8")&&jt(n,{...un,shiftKey:!0})}function bV(n){const{code:t}=n;return(t==="Numpad9"||t==="Digit9")&&jt(n,{...un,shiftKey:!0})}function wV(n){const{code:t}=n;return t==="KeyC"&&jt(n,{...un,altKey:!0})}function CV(n){const{code:t}=n;return t==="KeyQ"&&jt(n,{ctrlKey:!0,shiftKey:!0})}function xV(n){const{code:t}=n;return(t==="Numpad1"||t==="Digit1")&&jt(n,{ctrlKey:!0,shiftKey:!0})}function vV(n){const{code:t}=n;return(t==="Numpad2"||t==="Digit2")&&jt(n,{ctrlKey:!0,shiftKey:!0})}function SV(n){const{code:t}=n;return(t==="Numpad3"||t==="Digit3")&&jt(n,{ctrlKey:!0,shiftKey:!0})}function kV(n){const{code:t}=n;return t==="KeyX"&&jt(n,{...un,shiftKey:!0})}function EV(n){const{code:t}=n;return t==="BracketRight"&&jt(n,un)}function TV(n){const{code:t}=n;return t==="BracketLeft"&&jt(n,un)}function _V(n){const{code:t}=n;return t==="KeyE"&&jt(n,{...un,shiftKey:!0})}function NV(n){const{code:t}=n;return t==="KeyL"&&jt(n,{...un,shiftKey:!0})}function IV(n){const{code:t}=n;return t==="KeyR"&&jt(n,{...un,shiftKey:!0})}function MV(n){const{code:t}=n;return t==="KeyJ"&&jt(n,{...un,shiftKey:!0})}function LV(n){const{code:t}=n;return t==="Comma"&&jt(n,un)}function DV(n){const{code:t}=n;return t==="Period"&&jt(n,un)}function OV(n){const{code:t}=n;return t==="KeyC"&&jt(n,{...un,shiftKey:!0})}function RV(n){const{code:t}=n;return t==="Period"&&jt(n,{...un,shiftKey:!0})}function BV(n){const{code:t}=n;return t==="Comma"&&jt(n,{...un,shiftKey:!0})}function PV(n){const{code:t}=n;return t==="Backslash"&&jt(n,un)}function jV(n){const{code:t}=n;return t==="KeyK"&&jt(n,un)}function FV(n){const{code:t}=n;return t==="KeyM"&&jt(n,{...un,altKey:!0})}var bb=(n=>(n[n.increment=1]="increment",n[n.decrement=2]="decrement",n))(bb||{});const LM=(n,t)=>{if(!t)return n;let e=n;switch(t){case 2:switch(!0){case n>IA:e=IA;break;case n>=48:e-=12;break;case n>=24:e-=4;break;case n>=14:e-=2;break;case n>=9:e-=1;break;default:e=NA;break}break;case 1:switch(!0){case n<NA:e=NA;break;case n<12:e+=1;break;case n<20:e+=2;break;case n<36:e+=4;break;case n<=60:e+=12;break;default:e=IA;break}break}return e},xE=(n,t,e)=>{const r=s=>(s||(s=`${yb}px`),s=s.slice(0,-2),`${LM(Number(s),e)}px`);n.update(()=>{if(n.isEditable()){const s=Z();s!==null&&Ah(s,{"font-size":t||r})}})},vE=(n,t,e)=>{if(e!==""){const r=LM(Number(e),t);xE(n,String(r)+"px",null)}else xE(n,null,t)},hp=n=>{n.update(()=>{const t=Z();Jl(t,()=>Ce())})},zV=(n,t,e)=>{t!==e&&n.update(()=>{const r=Z();Jl(r,()=>Lo(e))})},UV=(n,t)=>{t!=="bullet"?n.dispatchCommand(W0,void 0):hp(n)},KV=(n,t)=>{t!=="check"?n.dispatchCommand(H0,void 0):hp(n)},WV=(n,t)=>{t!=="number"?n.dispatchCommand(Kg,void 0):hp(n)},HV=(n,t)=>{t!=="quote"&&n.update(()=>{const e=Z();Jl(e,()=>gd())})},YV=(n,t)=>{t!=="code"&&n.update(()=>{let e=Z();if(e)if(!W(e)||e.isCollapsed())Jl(e,()=>$r());else{const r=e.getTextContent(),s=$r();e.insertNodes([s]),e=Z(),W(e)&&e.insertRawText(r)}})},ZV=n=>{n.update(()=>{const t=Z();if(W(t)||Sw(t)){const e=t.anchor,r=t.focus,s=t.getNodes(),o=t.extract();if(e.key===r.key&&e.offset===r.offset)return;s.forEach((i,l)=>{if(oe(i)){let c=i;l===0&&e.offset!==0&&(c=c.splitText(e.offset)[1]||c),l===s.length-1&&(c=c.splitText(r.offset)[0]||c);const u=o[0];s.length===1&&oe(u)&&(c=u),c.__style!==""&&c.setStyle(""),c.__format!==0&&c.setFormat(0);const d=gc(c);d.__format!==0&&d.setFormat(""),d.__indent!==0&&d.setIndent(0),i=c}else Gs(i)||Li(i)?i.replace(Ce(),!0):Oh(i)&&i.setFormat("")})}})};function GV({editor:n,setIsLinkEditMode:t}){const{toolbarState:e}=gV();return k.useEffect(()=>{const r=s=>{if(jt(s,{}))return!1;if(pV(s))hp(n);else if(mV(s)){const{code:o}=s,i=`h${o[o.length-1]}`;zV(n,e.blockType,i)}else if(yV(s))UV(n,e.blockType);else if(AV(s))WV(n,e.blockType);else if(bV(s))KV(n,e.blockType);else if(wV(s))YV(n,e.blockType);else if(CV(s))HV(n,e.blockType);else if(kV(s))n.dispatchCommand(Nt,"strikethrough");else if(xV(s))console.log("isLowercase"),n.dispatchCommand(Nt,"lowercase");else if(vV(s))console.log("isUppercase"),n.dispatchCommand(Nt,"uppercase");else if(SV(s))n.dispatchCommand(Nt,"capitalize");else if(EV(s))n.dispatchCommand(Hs,void 0);else if(TV(s))n.dispatchCommand(fi,void 0);else if(_V(s))n.dispatchCommand(hi,"center");else if(NV(s))n.dispatchCommand(hi,"left");else if(IV(s))n.dispatchCommand(hi,"right");else if(MV(s))n.dispatchCommand(hi,"justify");else if(LV(s))n.dispatchCommand(Nt,"subscript");else if(DV(s))n.dispatchCommand(Nt,"superscript");else if(OV(s))n.dispatchCommand(Nt,"code");else if(RV(s))vE(n,bb.increment,e.fontSizeInputValue);else if(BV(s))vE(n,bb.decrement,e.fontSizeInputValue);else if(PV(s))ZV(n);else if(jV(s)){const o=e.isLink?null:cl("https://");t(!e.isLink),n.dispatchCommand(vi,o)}else if(FV(s))n.dispatchCommand(Nw,void 0);else return!1;return s.preventDefault(),!0};return n.registerCommand(Fl,r,Ss)},[n,e.isLink,e.blockType,e.fontSizeInputValue,t]),null}const JV=1,VV=100;let DM=0,SE=!1;function QV(n){n.addEventListener("keydown",t=>{t.key==="Tab"&&(t.preventDefault(),DM=t.timeStamp)},!0)}function XV(){const[n]=Ee();return k.useEffect(()=>{if(!SE){const t=n.getRootElement();t&&QV(t),SE=!0}return n.registerCommand(ji,t=>{const e=Z();return W(e)&&DM+VV>t.timeStamp&&Ze(e.clone()),!1},JV)},[n]),null}function qV(n,t){const e=n.anchor,r=n.focus,o=(r.isBefore(e)?r:e).getNode(),i=gc(o);if(!t&&i.__prev===null)return!0;i instanceof xn&&!i.__opened&&i.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 xn&&(l(g),g.setIndent(Math.max(0,g.getIndent()-1)))})};return t&&l(i),!1}function $V(n){return n.registerCommand(dc,t=>{const e=Z();if(!W(e))return!1;try{if(qV(e,t.shiftKey))return!1;t.preventDefault();const s=t.shiftKey?fi:Hs;return n.dispatchCommand(s,void 0)}catch{return!1}},Fe)}function eQ(){const[n]=Ee();return k.useEffect(()=>$V(n)),null}function kE(n){let t=1;for(;n;)t*=Number(window.getComputedStyle(n).getPropertyValue("zoom")),n=n.parentElement;return t}const tQ=33,nQ=50;function rQ({editor:n}){const t=k.useRef(null),e=k.useRef(null),r=k.useRef(null),[s,o]=k.useState(null),[i,l]=k.useState(null),[c,u]=k.useState(!1),[d,h]=k.useState(null),[g,p]=k.useState({right:!1,bottom:!1});k.useEffect(()=>n.registerCommand(Qr,E=>{const T=Z(),I=gt(T);return c!==I&&u(I),!1},_o));const m=k.useCallback(()=>{l(null),h(null),r.current=null,e.current=null,p({right:!1,bottom:!1})},[]);k.useEffect(()=>{const E=T=>{setTimeout(()=>{const I=T.target;if(d){o({x:T.clientX,y:T.clientY});return}if(t.current&&t.current.contains(I))return;const M=5;let O=null,P=null,F=1/0,z=null;if(i&&(z=i.elem.closest("table")),!z&&I instanceof HTMLElement){const H=zh(I);H?z=H.elem.closest("table"):z=I.closest("table")}if(z&&z.querySelectorAll("td, th").forEach(te=>{const le=te.getBoundingClientRect(),ce=zh(te);if(!ce)return;const ne=Math.abs(T.clientX-le.right),X=T.clientY>=le.top-M&&T.clientY<=le.bottom+M;ne<=M&&X&&ne<F&&(F=ne,O=ce,P="right");const he=Math.abs(T.clientY-le.bottom),q=T.clientX>=le.left-M&&T.clientX<=le.right+M;he<=M&&q&&he<F&&(F=he,O=ce,P="bottom")}),O&&P)p({right:P==="right",bottom:P==="bottom"}),i!==O&&n.update(()=>{const H=Re(O.elem);if(!H)return;const te=Ai(H),le=n.getElementByKey(te.getKey());le&&(e.current=le.children[0].getBoundingClientRect(),l(O))});else{if(i){const H=i.elem.getBoundingClientRect(),te=Math.abs(T.clientX-H.right),le=Math.abs(T.clientY-H.bottom),ce=Math.abs(T.clientY-H.top),ne=Math.abs(T.clientX-H.left),X=Math.min(te,le,ce,ne);p({right:te<=M&&te===X,bottom:le<=M&&le===X})}else p({right:!1,bottom:!1});i&&!z&&m()}},0)};return document.addEventListener("mousemove",E),()=>{document.removeEventListener("mousemove",E)}},[i,d,n,m]);const y=E=>E==="bottom",w=k.useCallback(E=>{if(!i)throw new Error("TableCellResizer: Expected active cell.");n.update(()=>{const T=Re(i.elem);if(!_e(T))throw new Error("TableCellResizer: Table cell node not found.");const I=Ai(T),M=Yg(T),O=I.getChildren();if(M>=O.length||M<0)throw new Error("Expected table cell to be inside of table row.");const P=O[M];if(!cn(P))throw new Error("Expected table row");P.setHeight(E)})},[i,n]),x=k.useCallback((E,T)=>{if(!i)throw new Error("TableCellResizer: Expected active cell.");n.update(()=>{const I=Re(i.elem);if(!_e(I))throw new Error("TableCellResizer: Table cell node not found.");const M=Ai(I),O=Zg(I),P=M.getChildren();for(let F=0;F<P.length;F++){const z=P[F];if(!cn(z))throw new Error("Expected table row");const H=z.getChildren(),ce=H.map(X=>X.getColSpan()).reduce((X,he)=>{const q=X[X.length-1]??0;return X.push(q+he),X},[]).findIndex(X=>X>O);if(ce>=H.length||ce<0)throw new Error("Expected table cell to be inside of table row.");const ne=H[ce];if(!_e(ne))throw new Error("Expected table cell");ne.setWidth(E)}})},[i,n]),C=k.useCallback(E=>{const T=I=>{if(I.preventDefault(),I.stopPropagation(),n.dispatchCommand(Ro,!0),!i)throw new Error("TableCellResizer: Expected active cell.");if(r.current){const{x:M,y:O}=r.current;if(i===null)return;const P=kE(I.target);if(y(E)){const F=i.elem.getBoundingClientRect().height,z=Math.abs(I.clientY-O)/P,H=E==="bottom"&&O>I.clientY;w(Math.max(H?F-z:z+F,tQ))}else{const F=getComputedStyle(i.elem);let z=i.elem.clientWidth;z-=parseFloat(F.paddingLeft)+parseFloat(F.paddingRight);const H=Math.abs(I.clientX-M)/P,te=E==="right"&&M>I.clientX;x(Math.max(te?z-H:H+z,nQ),z),n.update(()=>{Ze(null)})}m(),document.removeEventListener("mouseup",T)}};return T},[i,m,x,w]),v=k.useCallback(E=>T=>{const I=n.getRootElement();if(I&&I.contains(document.activeElement)&&Hh(n),T.preventDefault(),T.stopPropagation(),n.dispatchCommand(Ro,!0),!i)throw new Error("TableCellResizer: Expected active cell.");r.current={x:T.clientX,y:T.clientY},o(r.current),h(E),document.addEventListener("mouseup",C(E))},[i,C]),N=k.useCallback(()=>{if(i){const{height:E,width:T,top:I,left:M,right:O}=i.elem.getBoundingClientRect(),{right:P}=n._rootElement.getBoundingClientRect(),F=kE(i.elem),z=O>P?O-P+20:0,H={bottom:{backgroundColor:"transparent",cursor:"row-resize",height:"10px",left:`${M+5}px`,top:`${I+E-5}px`,width:`${T-z}px`,opacity:d==="bottom"||g.bottom?1:0,pointerEvents:d==="bottom"||g.bottom?"auto":"none"},right:{backgroundColor:"transparent",cursor:"col-resize",height:`${E-7}px`,left:`${M+T-5}px`,display:z?"none":"block",top:`${I+7}px`,width:"12px",opacity:d==="right"||g.right?1:0,pointerEvents:d==="right"||g.right?"auto":"none"}},te=e.current;return d&&s&&te&&(y(d)?(H[d].left=`${te.left}px`,H[d].top=`${s.y/F}px`,H[d].height="3px",H[d].width=`${te.width}px`):(H[d].top=`${te.top}px`,H[d].left=`${s.x/F}px`,H[d].width="3px",H[d].height=`${te.height}px`),H[d].backgroundColor="#adf"),H}return{bottom:null,left:null,right:null,top:null}},[i,d,s,g])();return A.jsx("div",{ref:t,children:i!=null&&!c&&A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:N.right||void 0,onMouseDown:v("right")}),A.jsx("div",{className:"TableCellResizer__resizer TableCellResizer__ui",style:N.bottom||void 0,onMouseDown:v("bottom")})]})})}function sQ({}){var r,s;const[n]=Ee(),t=fw(),e=((s=(r=n.getRootElement())==null?void 0:r.ownerDocument)==null?void 0:s.body)||document.body;return k.useMemo(()=>t?Dr.createPortal(A.jsx(rQ,{editor:n}),e):null,[n,t,e])}function oQ(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 nh(n){const t=n.getShape();return{columns:t.toX-t.fromX+1,rows:t.toY-t.fromY+1}}function iQ(n){const t=n.getNodes(),e=[];let r=null,s=null,o=0;for(let i=0;i<t.length;i++){const l=t[i];if(_e(l)){const c=l.getParentOrThrow();if(oQ(cn(c),"Expected CellNode to have a RowNode parent"),r!==c){if(s!==null&&o!==s)return!1;r!==null&&(s=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(s===null||o===s)&&e.every(i=>i===e[0])}function lQ(){const n=Z();if(W(n)&&!n.isCollapsed()||gt(n)&&!n.anchor.is(n.focus)||!W(n)&&!gt(n))return!1;const[t]=Un(n.anchor);return t.__colSpan>1||t.__rowSpan>1}function EE(n){if(n.getChildrenSize()!==1)return!1;const t=n.getFirstChildOrThrow();return!(!an(t)||!t.isEmpty())}function aQ(n){const t=n.getLastDescendant();Kn(t)?t.select():Y(t)?t.selectEnd():t!==null&&t.selectNext()}function cQ(n){return n.getEditorState().read(()=>{const t=Z();if(W(t)||gt(t)){const[e]=Un(t.anchor);if(_e(e))return e.getBackgroundColor()}return null})}function uQ(n,t){const e=t.querySelectorAll("tr");let r=!1;return Array.from(e).forEach((s,o)=>{o&&s.children[0].tagName==="TH"&&(r=!0)}),r}function dQ(n){const t=n.querySelector("tr");let e=!1;return t&&Array.from(t.children).forEach((r,s)=>{s&&r.tagName==="TH"&&(e=!0)}),e}const fQ=({tableCellNode:n,setIsMenuOpen:t,contextRef:e,cellMerge:r,isMenuOpen:s,selectionBeforeMenuOpenedRef:o,currentIndexColumn:i,currentIndexRow:l,tableDom:c})=>{const[u]=Ee(),d=k.useRef(null),[h,g]=k.useState(n),[p,m]=k.useState({columns:1,rows:1}),[y,w]=k.useState(!1),[x,C]=k.useState(!1),[v,_]=k.useState(""),{t:N}=ot.useTranslation();k.useEffect(()=>u.registerMutationListener(ws,X=>{X.get(h.getKey())==="updated"&&(u.getEditorState().read(()=>{g(h.getLatest())}),_(cQ(u)||""))}),[u,h]),k.useEffect(()=>{s?u.getEditorState().read(()=>{const X=o.current;if(X&>(X)){const he=nh(X);m(nh(X)),w(iQ(X)&&(he.columns>1||he.rows>1))}try{C(lQ())}catch{}}):u.update(()=>{Z()!==null&&setTimeout(()=>{w(!1),o.current=null,m({columns:1,rows:1});try{h.getParent(),E()}catch{}},200)})},[s]),k.useEffect(()=>{const X=e.current,he=d.current,q=u.getRootElement();if(X!=null&&he!=null&&q!=null){const K=q.getBoundingClientRect(),J=X.getBoundingClientRect();he.style.opacity="1";const ee=he.getBoundingClientRect(),ie=5;let ue=J.right+ie;if(ue+ee.width>window.innerWidth||ue+ee.width>K.right){const Ae=J.left-ee.width-ie;ue=(Ae<0?ie:Ae)+window.pageXOffset}he.style.left=`${ue+window.pageXOffset}px`;let se=J.top;if(se+ee.height>window.innerHeight){const Ae=J.bottom-ee.height;se=(Ae<0?ie:Ae)+window.pageYOffset}he.style.top=`${se+ +window.pageYOffset}px`}},[e,d,u]),k.useEffect(()=>{function X(he){d.current!=null&&e.current!=null&&!d.current.contains(he.target)&&!e.current.contains(he.target)&&t(!1)}return window.addEventListener("click",X),()=>window.removeEventListener("click",X)},[t,e]);const E=k.useCallback(()=>{u.update(()=>{if(h.isAttached()){const he=Ai(h),q=u.getElementByKey(he.getKey());if(!q)throw new Error("Expected to find tableElement in DOM");const K=V0(q);K!==null&&K.clearHighlight(),he.markDirty(),g(h.getLatest())}Me().selectStart()})},[u,h]),T=()=>{u.update(()=>{const X=o.current;if(gt(X)){const{columns:he,rows:q}=nh(X),K=X.getNodes();let J=null;for(let ee=0;ee<K.length;ee++){const ie=K[ee];if(_e(ie))if(J===null){ie.setColSpan(he).setRowSpan(q),J=ie;const ue=EE(ie);let se;ue&&an(se=ie.getFirstChild())&&se.remove()}else _e(J)&&(EE(ie)||J.append(...ie.getChildren()),ie.remove())}J!==null&&(J.getChildrenSize()===0&&J.append(Ce()),aQ(J))}})},I=()=>{u.update(()=>{B9()})},M=k.useCallback(X=>{u.update(()=>{for(let he=0;he<p.rows;he++)Fh(X)})},[u,p.rows]),O=k.useCallback(X=>{u.update(()=>{for(let he=0;he<p.columns;he++)Dy(X)})},[u,p.columns]),P=k.useCallback(()=>{u.update(()=>{O9()})},[u]),F=k.useCallback(()=>{u.update(()=>{Ai(n).remove(),E()})},[u,n,E]),z=k.useCallback(()=>{u.update(()=>{R9()})},[u]),H=k.useCallback(()=>{u.update(()=>{const X=Ai(h),he=Yg(h),q=X.getChildren();if(he>=q.length||he<0)throw new Error("Expected table cell to be inside of table row.");const K=q[he];if(!cn(K))throw new Error("Expected table row");const J=h.getHeaderStyles()^pn.ROW;K.getChildren().forEach(ee=>{if(!_e(ee))throw new Error("Expected table cell");ee.getBackgroundColor()==="rgb(242, 243, 245)"&&ee.setBackgroundColor(null),ee.setHeaderStyles(J,pn.ROW)}),E()})},[u,h,E]),te=k.useCallback(X=>{u.update(()=>{const he=Ai(h),q=Zg(h),K=he.getChildren(),J=Math.max(...K.map(ie=>ie.getChildren().length));if(q>=J||q<0)throw new Error("Expected table cell to be inside of table row.");const ee=h.getHeaderStyles()^pn.COLUMN;for(let ie=0;ie<K.length;ie++){const ue=K[ie];if(!cn(ue))throw new Error("Expected table row");const se=ue.getChildren();if(q>=se.length)continue;const Ae=se[q];if(!_e(Ae))throw new Error("Expected table cell");X?(Ae.getBackgroundColor()==="rgb(242, 243, 245)"&&Ae.setBackgroundColor(null),Ae.setHeaderStyles(0,3)):Ae.setHeaderStyles(ee,pn.COLUMN)}E()})},[u,h,E]),le=k.useCallback(X=>{u.update(()=>{const he=o.current;if(W(he)||gt(he)){const[q]=Un(he.anchor);if(_e(q)&&q.setBackgroundColor(X),gt(he)){const K=he.getNodes();for(let J=0;J<K.length;J++){const ee=K[J];_e(ee)&&ee.setBackgroundColor(X)}}}})},[u]),ce=l===0&&dQ(c),ne=i===0&&uQ(i||0,c);return A.jsxs(A.Fragment,{children:[r&&A.jsxs(A.Fragment,{children:[y&&A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{name:"layers-union"}),"data-test-id":"table-merge-cells",onClick:()=>T(),children:N("editor.table.menu.mergeCells")}),x&&A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{name:"layers-substract"}),"data-test-id":"table-unmerge-cells",onClick:()=>I(),children:N("editor.table.menu.disconnectCells")})]}),A.jsx(bt.NewColorPicker,{modes:["background"],value:{background:v},onChange:X=>le(X.value),menuProps:{trigger:"hover",position:"right-start",offset:{mainAxis:10,alignmentAxis:-5},closeDelay:2e4},target:A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{name:"color-picker"}),rightSection:A.jsx(we,{name:"chevron-right"}),"data-test-id":"table-background-color",children:N("editor.table.background",{count:p.columns>1||p.rows>1?2:1})})}),A.jsx(D.Menu.Divider,{}),!ce&&A.jsxs(D.Menu.Item,{leftSection:A.jsx(we,{name:"row-insert-top"}),"data-test-id":"table-insert-row-above",onClick:()=>M(!1),children:[N("editor.table.menu.insertRow",{count:p.rows})," ",N("editor.table.menu.above")]}),A.jsxs(D.Menu.Item,{leftSection:A.jsx(we,{name:"row-insert-bottom"}),"data-test-id":"table-insert-row-below",onClick:()=>M(!0),children:[N("editor.table.menu.insertRow",{count:p.rows})," ",N("editor.table.menu.below")]}),!ne&&A.jsxs(D.Menu.Item,{leftSection:A.jsx(we,{name:"column-insert-left"}),"data-test-id":"table-insert-column-before",onClick:()=>O(!0),children:[N("editor.table.menu.insertCol",{count:p.columns})," ",N("editor.table.menu.right")]}),A.jsxs(D.Menu.Item,{leftSection:A.jsx(we,{name:"column-insert-right"}),onClick:()=>O(!1),"data-test-id":"table-insert-column-after",children:[N("editor.table.menu.insertCol",{count:p.columns})," ",N("editor.table.menu.left")]}),A.jsx(D.Menu.Divider,{}),A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{name:"container-off"}),"data-test-id":"table-delete-columns",onClick:()=>z(),children:N("editor.table.menu.deleteCol",{count:p.columns})}),A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{name:"container-off",iconStyle:{transform:"rotate(90deg)"}}),"data-test-id":"table-delete-rows",onClick:()=>P(),children:N("editor.table.menu.deleteRow",{count:p.rows})}),A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{name:"table-off"}),onClick:()=>F(),children:N("editor.table.menu.deleteTable")}),(!l||!i)&&A.jsx(D.Menu.Divider,{}),l===0&&A.jsx(D.Menu.Item,{onClick:()=>H(),"data-test-id":"table-row-header",children:N("editor.table.menu.headTable_row",{value:N(ce?"editor.contextMenu.delete":"editor.contextMenu.add")})}),i===0&&A.jsx(D.Menu.Item,{onClick:()=>te(ne),"data-test-id":"table-column-header",children:N("editor.table.menu.headTable_col",{value:N(ne?"editor.contextMenu.delete":"editor.contextMenu.add")})})]})},hQ=({tableCellNode:n,setIsMenuOpen:t,contextRef:e,cellMerge:r,children:s,tableDom:o,isMenuOpen:i})=>{const[l]=Ee(),c=k.useRef(null),u=k.useRef(null),d=k.useRef(null),h=()=>{t(!0),l.read(()=>{const g=Zg(n),p=Yg(n);u.current=g,d.current=p;const m=Z();if(gt(m)){const{columns:y,rows:w}=nh(m);(y>1||w>1)&&(c.current=m)}else m7(n,l),setTimeout(()=>{l.read(()=>{const y=Z();c.current=y})},200)})};return A.jsxs(D.Menu,{onOpen:h,onClose:()=>t(!1),shadow:"md",position:"right",opened:i,transitionProps:ao,children:[A.jsx(D.Menu.Target,{children:s}),A.jsx(D.Menu.Dropdown,{children:A.jsx(fQ,{isMenuOpen:i,contextRef:e,tableCellNode:n,cellMerge:r,setIsMenuOpen:t,tableDom:o,currentIndexColumn:u.current,currentIndexRow:d.current,selectionBeforeMenuOpenedRef:c})})]})},gQ=(n,t)=>{window.matchMedia("(pointer: coarse)").matches&&t&&setTimeout(()=>{t.scrollBy({left:n+25,behavior:"smooth"})},100)},vo=12;function pQ({anchorElem:n,isShowTableOptions:t,cellMerge:e}){var X,he;const[r]=Ee(),[s,o]=k.useState(!1),[i,l]=k.useState({}),[c,u]=k.useState({}),[d,h]=k.useState({}),[g,p]=k.useState({}),[m,y]=k.useState({}),[w,x]=k.useState({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!1}),[C,v]=k.useState(!1),_=k.useRef(null),N=k.useRef(new Set),E=k.useRef(null),T=k.useRef(null),I=k.useRef(null),M=k.useRef(null),O=k.useRef(null),{t:P}=ot.useTranslation(),F=ip(q=>{const{isOutside:K,tableDOMNode:J}=mQ(q,r,w.row),ee=q.target;if(ee!=null&&ee.closest(".table-cell-add-container")||ee!=null&&ee.closest(".table-row-add-container"))return;if(K&&(w.top||w.bottom||w.left||w.right||w.column||w.row)){x({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!1}),O.current=null,v(!1);return}if(!J)return;T.current=J;let ie=null,ue=null,se=null;r.update(()=>{var pe,Ie,$e,pt,Ye;const Ae=Re(J),Ne=J==null?void 0:J.getAttribute("data-show-button-near-table");if(((pe=O.current)==null?void 0:pe.__key)!==(Ae==null?void 0:Ae.__key)&&(x({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!1}),O.current=Ae,_e(Ae))){const wt=ve(Ae,Ct=>mt(Ct));if(!mt(wt))return;if(se=r.getElementByKey(wt==null?void 0:wt.getKey()),se){const Ct=wt.getChildrenSize(),Oe=(Ie=wt.getChildAtIndex(0))==null?void 0:Ie.getChildrenSize(),Le=Yg(Ae),it=Zg(Ae);I.current=($e=se.firstChild)==null?void 0:$e.childNodes[Le+1].firstChild,M.current=(Ye=(pt=se.firstChild)==null?void 0:pt.childNodes[1])==null?void 0:Ye.childNodes[it],setTimeout(()=>{Ne==="bottom"?(ie=Ae,O.current=null,x({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!0,options:!1})):Ne==="right"?(ue=Ae,O.current=null,x({top:!1,bottom:!1,left:!1,right:!1,column:!0,row:!1,options:!1})):Le===Ct-1&&it===Oe-1?(ie=Ae,ue=Ae,x({top:!1,bottom:!1,left:!1,right:!1,column:!0,row:!0,options:!0})):!Le&&!it?x({top:!1,bottom:!0,left:!1,right:!0,column:!1,row:!1,options:!0}):it&&!Le&&it!==Oe-1?x({top:!1,bottom:!1,left:!0,right:!0,column:!1,row:!1,options:!0}):!it&&Le&&Le!==Ct-1?x({top:!0,bottom:!0,left:!1,right:!1,column:!1,row:!1,options:!0}):!it&&Le===Ct-1?(ie=Ae,x({top:!0,bottom:!1,left:!1,right:!1,column:!1,row:!0,options:!0})):!Le&&it===Oe-1?(ue=Ae,x({top:!1,bottom:!1,left:!0,right:!1,column:!0,row:!1,options:!0})):!it&&Le&&Le!==Ct-1?x({top:!0,bottom:!0,left:!1,right:!0,column:!1,row:!1,options:!0}):Le===Ct-1?(ie=Ae,x({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!0,options:!0})):it===Oe-1?(ue=Ae,x({top:!1,bottom:!1,left:!1,right:!1,column:!0,row:!1,options:!0})):x({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!0})},100)}}}),setTimeout(()=>{var Ae,Ne,pe,Ie,$e;if(se){const{width:pt,y:Ye,left:wt,right:Ct,bottom:Oe,height:Le}=se.getBoundingClientRect(),{y:it,left:Gt}=n.getBoundingClientRect();if(O.current){const st=r.getElementByKey(O.current.getKey());if(st!=null){const At=st.getBoundingClientRect(),zt=se.getBoundingClientRect().left+se.clientWidth,at=At.top-it+6;let er=At.right-Gt-20;er>zt-Gt&&(er=zt-Gt-20),C||y({top:at,left:er})}}if(M.current){const{top:st,width:At,left:Ft,right:zt}=M.current.getBoundingClientRect(),at=vo,er=Ft-Gt-at/2,Wt=st-it-at/2;let tr=At+at+2;zt>Ct&&(tr=tr-(zt-Ct)),h({width:tr,height:at,top:Wt,left:er})}if(I.current){const{top:st,height:At}=I.current.getBoundingClientRect(),Ft=vo,zt=wt-Gt-Ft/2,at=st-it-Ft/2;p({height:At+Ft+2,top:at,left:zt})}const Dt=(Ae=se.parentElement)!=null&&Ae.classList.contains("dsd__theme__callout-container")&&document.documentElement.getAttribute("data-mantine-color-scheme")==="light"?"rgba(173, 181, 189, 0.7)":"";if(ie){const st=Oe-it+3,At=((Ne=se.firstElementChild)==null?void 0:Ne.clientWidth)||0;l({left:wt-Gt,top:st,width:pt>At?At-2:pt,padding:0,backgroundColor:Dt})}const{right:ur}=(pe=se.firstElementChild)==null?void 0:pe.getBoundingClientRect(),Pe=Ct>ur?ur:Ct;ue&&(gQ(Ct,($e=(Ie=r._rootElement)==null?void 0:Ie.parentElement)==null?void 0:$e.parentElement),u({height:Le,left:Pe-Gt+3,top:Ye-it,padding:0,backgroundColor:Dt}))}},100)},50,150),z=()=>{x({top:!1,bottom:!1,left:!1,right:!1,column:!1,row:!1,options:!1}),O.current=null,v(!1)},H=(he=(X=I.current)==null?void 0:X.parentElement)==null?void 0:he.parentElement;k.useEffect(()=>{var q;H&&((q=H.parentElement)==null||q.addEventListener("scroll",()=>{z()}))},[H]),k.useEffect(()=>{if(s)return document.addEventListener("mousemove",F),()=>{z(),F.cancel(),document.removeEventListener("mousemove",F)}},[s,F]),k.useEffect(()=>r.registerCommand(Ro,q=>(q&&z(),!1),Se),[]),k.useEffect(()=>Xe(r.registerMutationListener(xs,q=>{r.getEditorState().read(()=>{for(const[K,J]of q)switch(J){case"created":N.current.add(K),E.current=r.getElementByKey(K),o(N.current.size>0);break;case"destroyed":N.current.delete(K),o(N.current.size>0);break;case"updated":o(!0);const ee=r.getElementByKey(K);E.current=ee;break}})})),[r]);const te=q=>{r.update(()=>{if(T.current){const K=Re(T.current);q?(K==null||K.selectNext(),Fh(),z()):(K==null||K.selectEnd(),Dy(),z())}})},le=k.useCallback(q=>{r.update(()=>{const K=I.current;if(K){const J=Re(K);J==null||J.selectEnd(),Fh(q),z()}})},[r]),ce=k.useCallback(q=>{r.update(()=>{const K=M.current;if(K){const J=Re(K);J==null||J.selectEnd(),Dy(q),z()}})},[r]),ne=window.matchMedia("(pointer: coarse)").matches;return A.jsxs(A.Fragment,{children:[A.jsx(D.Transition,{mounted:!!(O.current&&w.options&&!ne),transition:"fade",duration:300,timingFunction:"ease",children:q=>A.jsx("div",{className:"table-cell-action-button-container",style:{...q,...m},children:O.current&&A.jsx(hQ,{isMenuOpen:C,contextRef:_,tableCellNode:O.current,cellMerge:e,setIsMenuOpen:v,tableDom:E.current,children:A.jsx(D.Tooltip,{label:P("editor.table.settings"),children:A.jsx(D.ActionIcon,{tabIndex:-1,className:"table-cell-action-button",ref:_,size:vo,color:"gray",variant:"light",children:A.jsx(we,{style:{width:"100%",height:"100%"},name:"chevron-down"})})})})})}),A.jsx(D.Transition,{mounted:w.row,transition:"fade",duration:300,timingFunction:"ease",children:q=>A.jsx(D.Tooltip,{label:P("editor.table.menu.addRowBelow"),position:"bottom",children:A.jsx(D.Button,{className:"dsd__theme__tableAddRows",style:{...q,...i},onClick:()=>te(!0),variant:"light",size:"xs",color:"gray",radius:"sm",h:23,children:A.jsx($.IconPlus,{size:vo,className:"dsd__theme__tableAddRows-icon",stroke:1})})})}),A.jsx(D.Transition,{mounted:w.column,transition:"fade",duration:300,timingFunction:"ease",children:q=>A.jsx(D.Tooltip,{label:P("editor.table.menu.addColAfter"),position:"right",children:A.jsx(D.Button,{className:"dsd__theme__tableAddColumns",style:{...q,...c},onClick:()=>te(!1),variant:"light",justify:"center",size:"xs",color:"gray",w:23,radius:"sm",children:A.jsx($.IconPlus,{className:"dsd__theme__tableAddColumns-icon",size:vo,stroke:1})})})}),A.jsx(D.Transition,{mounted:I.current!=null&&(w.top||w.bottom)&&!ne,transition:"fade",duration:300,timingFunction:"ease",children:q=>A.jsx("div",{className:"table-row-add-container",style:{...q,...g},children:I.current&&A.jsxs(D.Stack,{align:"stretch",justify:"space-between",h:"100%",children:[A.jsx(D.Tooltip,{label:P("editor.table.menu.addRowAbove"),children:A.jsx(D.ActionIcon,{onClick:()=>le(!1),size:vo,variant:"light",radius:"xl","aria-label":"Settings",color:"gray",style:{opacity:w.top?1:0,pointerEvents:w.top?"auto":"none"},children:A.jsx($.IconPlus,{size:10,stroke:1})})}),A.jsx(D.Tooltip,{label:P("editor.table.menu.addRowBelow"),children:A.jsx(D.ActionIcon,{onClick:()=>le(!0),size:vo,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",style:{opacity:w.bottom?1:0,pointerEvents:w.bottom?"auto":"none"},children:A.jsx($.IconPlus,{size:10,stroke:1})})})]})})}),A.jsx(D.Transition,{mounted:M.current!=null&&(w.left||w.right),transition:"fade",duration:300,timingFunction:"ease",keepMounted:!0,children:q=>A.jsx("div",{className:"table-cell-add-container",style:{...q,...d},children:A.jsxs(D.Group,{justify:w.left?"space-between":"flex-end",children:[A.jsx(A.Fragment,{children:w.left&&A.jsx(D.Tooltip,{label:P("editor.table.menu.addColBefore"),children:A.jsx(D.ActionIcon,{onClick:()=>ce(!1),size:vo,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",children:A.jsx($.IconPlus,{size:10,stroke:1})})})}),A.jsx(A.Fragment,{children:w.right&&A.jsx(D.Tooltip,{label:P("editor.table.menu.addColAfter"),children:A.jsx(D.ActionIcon,{onClick:()=>ce(!0),size:vo,variant:"light","aria-label":"Settings",radius:"xl",color:"gray",children:A.jsx($.IconPlus,{size:10,stroke:1})})})})]})})})]})}function mQ(n,t,e){const r=n.target;let s="";const o=document.querySelector("div.new-paragraph");if(t.read(()=>{const i=Me().getLastChild();mt(i)&&!e&&o&&(s="editor",o.style.visibility="hidden")}),r&&(r instanceof HTMLElement||r instanceof SVGElement)){const i="td.dsd__theme__tableCell, th.dsd__theme__tableCell";let l=r.closest(i);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===s){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(i),m=g==null?void 0:g.closest(i);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 AQ({anchorElem:n=document.body,cellMerge:t=!1}){return Dr.createPortal(A.jsx(pQ,{isShowTableOptions:!1,cellMerge:t,anchorElem:n}),n)}function Pw(n){return[n.getKey(),n.getTextContent(),n.getTag()]}function yQ(n,t,e){if(t===null)return e;const r=Pw(t);let s=[];if(n===null){if(e.length>0&&e[0][0]===t.__key)return e;s=[r,...e]}else for(let o=0;o<e.length;o++){const i=e[o][0];if(s.push(e[o]),i===n.getKey()&&i!==t.getKey()){if(o+1<e.length&&e[o+1][0]===t.__key)return e;s.push(r)}}return s}function bQ(n,t){const e=[];for(const r of t)r[0]!==n&&e.push(r);return e}function wQ(n,t){const e=[];for(const r of t)r[0]===n.getKey()?e.push(Pw(n)):e.push(r);return e}function TE(n,t,e){const r=[],s=Pw(t);n||r.push(s);for(const o of e)o[0]!==t.getKey()&&(r.push(o),n&&o[0]===n.getKey()&&r.push(s));return r}function MA(n){let t=gS(n);for(;t!==null&&!Gs(t);)t=gS(t);return t}function CQ({children:n}){const[t,e]=k.useState([]),[r]=Ee();return k.useEffect(()=>{let s=[];r.getEditorState().read(()=>{const c=u=>{for(const d of u.getChildren())Gs(d)?s.push([d.getKey(),d.getTextContent(),d.getTag()]):Y(d)&&c(d)};c(Me()),e(s)});const o=r.registerUpdateListener(({editorState:c,dirtyElements:u})=>{c.read(()=>{const d=h=>{for(const g of h.getChildren())if(Gs(g)){const p=MA(g);s=TE(p,g,s),e(s)}else Y(g)&&d(g)};Me().getChildren().forEach(h=>{Y(h)&&u.get(h.__key)&&d(h)})})}),i=r.registerMutationListener(pd,c=>{r.getEditorState().read(()=>{for(const[u,d]of c)if(d==="created"){const h=be(u);if(h!==null){const g=MA(h);s=yQ(g,h,s)}}else if(d==="destroyed")s=bQ(u,s);else if(d==="updated"){const h=be(u);if(h!==null){const g=MA(h);s=TE(g,h,s)}}e(s)})},{skipInitialization:!0}),l=r.registerMutationListener(Mn,c=>{r.getEditorState().read(()=>{for(const[u,d]of c)if(d==="updated"){const h=be(u);if(h!==null){const g=h.getParentOrThrow();Gs(g)&&(s=wQ(g,s),e(s))}}})},{skipInitialization:!0});return()=>{i(),l(),o()}},[r]),n(t,r)}const tg=624,OM=9;function xQ(n,t,e){return n||`${e("editor.heading.name")} ${t.split("")[1]}`}function vQ(n){var e;const t=(e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y;return t>=tg&&t<=tg+OM}function Uf(n){var e;return((e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y)<tg}function LA(n){var e;return((e=n==null?void 0:n.getClientRects()[0])==null?void 0:e.y)>=tg+OM}function SQ({tableOfContents:n}){const[t,e]=k.useState(""),r=k.useRef(0),[s]=Ee(),{t:o}=ot.useTranslation(),[i,l]=k.useState(!1);function c(u,d){s.getEditorState().read(()=>{const h=s.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 k.useEffect(()=>{function u(){if(n.length>0&&r.current<n.length-1){let p=s.getElementByKey(n[r.current][0]);if(p!==null){if(LA(p)){for(;p!==null&&LA(p)&&r.current>0;){const y=s.getElementByKey(n[r.current-1][0]);y!==null&&(Uf(y)||LA(y))&&r.current--,p=y}const m=n[r.current][0];e(m)}else if(Uf(p)){for(;p!==null&&Uf(p)&&r.current<n.length-1;){const y=s.getElementByKey(n[r.current+1][0]);y!==null&&(vQ(y)||Uf(y))&&r.current++,p=y}const m=n[r.current][0];e(m)}}}else r.current=0}let d;function h(p,m){clearTimeout(d),d=setTimeout(p,m)}function g(){h(u,10)}return document.addEventListener("scroll",g),()=>document.removeEventListener("scroll",g)},[n,s]),n.length<2?A.jsx(A.Fragment,{}):A.jsxs(D.Popover,{opened:i,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(D.Popover.Target,{children:A.jsx(D.Box,{className:"table-of-contents-container",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:A.jsx(D.Box,{className:"table-of-contents",children:A.jsx(D.Stack,{gap:12,style:{alignItems:"flex-end",transition:"all 0.7s"},children:n.map(([u,,d],h)=>A.jsx(D.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(D.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(D.Text,{size:"xs",children:o("editor.content")}),n.map(([u,d,h],g)=>A.jsx(D.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:xQ(d,h,o)},u))]})]})}function wb(){return A.jsx(CQ,{children:n=>A.jsx(SQ,{tableOfContents:n})})}function kQ({hasCellMerge:n=!0,hasCellBackgroundColor:t=!0,hasTabHandler:e=!0,hasHorizontalScroll:r=!0}){const[s]=Ee();return k.useEffect(()=>{q9(s,r)},[s,r]),k.useEffect(()=>(s.hasNodes([xs,ws,Cc])||Be(!1,"TablePlugin: TableNode, TableCellNode or TableRowNode not registered on editor"),Xe(s.registerCommand(Wg,({columns:o,rows:i,includeHeaders:l})=>{const c=L9(Number(i),Number(o),l),u=Zt();u&&u.replace(c);const d=c.getFirstDescendant();return Kn(d)&&d.select(),!0},Fe),s.registerNodeTransform(xs,o=>{const[i]=H2(o,null,null),l=i.reduce((u,d)=>Math.max(u,d.length),0),c=o.getChildren();for(let u=0;u<i.length;++u){const d=c[u];if(!d)continue;const h=i[u].reduce((g,p)=>p?1+g:g,0);if(h!==l)for(let g=h;g<l;++g){const p=Cs(0);p.append(Ce()),d.append(p)}}}))),[s]),k.useEffect(()=>{const o=new Map,i=(c,u,d)=>{const h=Ol(c,d),g=z9(c,h,s,e);o.set(u,[g,h])},l=s.registerMutationListener(xs,c=>{s.getEditorState().read(()=>{for(const[u,d]of c){const h=o.get(u);if(d==="created"||d==="updated"){const{tableNode:g,tableElement:p}=Y2(u);h===void 0?i(g,u,p):p!==h[1]&&(h[0].removeListeners(),o.delete(u),i(g,u,p))}else d==="destroyed"&&h!==void 0&&(h[0].removeListeners(),o.delete(u))}},{editor:s})},{skipInitialization:!1});return()=>{l();for(const[,[c]]of o)c.removeListeners()}},[s,e]),k.useEffect(()=>{if(!n)return s.registerNodeTransform(ws,o=>{if(o.getColSpan()>1||o.getRowSpan()>1){const[,,i]=Un(o),[l]=rs(i,o,o),c=l.length,u=l[0].length;let d=i.getFirstChild();Be(cn(d),"Expected TableNode first child to be a RowNode");const h=[];for(let g=0;g<c;g++){g!==0&&(d=d.getNextSibling(),Be(cn(d),"Expected TableNode first child to be a RowNode"));let p=null;for(let m=0;m<u;m++){const y=l[g][m],w=y.cell;if(y.startRow===g&&y.startColumn===m)p=w,h.push(w);else if(w.getColSpan()>1||w.getRowSpan()>1){Be(_e(w),"Expected TableNode cell to be a TableCellNode");const x=Cs(w.__headerState);p!==null?p.insertAfter(x):g3(d,x)}}}for(const g of h)g.setColSpan(1),g.setRowSpan(1)}})},[s,n]),k.useEffect(()=>{if(!t)return s.registerNodeTransform(ws,o=>{o.getBackgroundColor()!==null&&o.setBackgroundColor(null)})},[s,t,n]),null}function _E(n){return(n==null?void 0:n.tagName)==="TABLE"}const EQ=n=>{const t=Z();if(W(t)&&t.isCollapsed()){const e=t.anchor.getNode(),r=ve(e,mt),s=ve(e,_e);return up(n,r,s)}return!0};function TQ(n){const{floatingAnchorElem:t,isSmallWidthViewport:e}=n,[r]=Ee(),{settings:{tableCellMerge:s,showTableOfContents:o,tableCellBackgroundColor:i}}=gw();return k.useEffect(()=>Xe(r.registerCommand(Pl,l=>{var h,g;try{const p=l.clipboardData||window.clipboardData;if(!p)return!1;const m=p.getData("text/html"),y=document.createElement("div");y.innerHTML=m;let w=null;y.childNodes.length===1&&_E(y.firstChild)&&(w=y.firstChild),y.childNodes.length===2&&_E(y.childNodes[1])&&(w=y.childNodes[1]);const x=Ry?1:2;if(y.childNodes.length===(Ry?2:5)&&((h=y.childNodes[x].className)!=null&&h.includes("table-scrollable-wrapper"))&&(w=y.childNodes[x].firstChild),w){l.preventDefault();const C=Zt();if(C){const v=ve(C,_e),_=ve(C,cn),N=ve(C,mt);if(!N||!_||!v)return!1;const E=w.querySelectorAll("tr"),T=E[0].childNodes,I=N.getChildren();let M=null,O=0;for(let z=0;z<N.getChildren().length;z++)if(N.getChildren()[z].__key===(_==null?void 0:_.__key)&&(O=z,z+E.length>I.length)){let te=z+E.length-I.length;(g=N==null?void 0:N.getLastChild())==null||g.selectStart();for(let le=0;le<te;le++)Fh(!0);break}let P=0;N.getChildren().forEach((z,H)=>{if(H>=O&&E[P]){let te=0;z.getChildren().forEach((ce,ne)=>{var X,he;if(_e(ce)&&(ce.__key===(v==null?void 0:v.__key)&&(M=ne,ce==null||ce.selectStart()),M!==null&&ne>=M&&ne<T.length+M)){const q=((he=(X=E[P])==null?void 0:X.childNodes[te])==null?void 0:he.innerText)||"";ce.clear();const K=Ce(),J=Ko(q||"");K.append(J),ce.append(K),te++}}),P++}})}return!0}}catch(p){console.error("TABLE PASTE",p)}const c=Z(),u=c==null?void 0:c.getNodes();return _e(u[1])&&r.update(()=>{u.forEach(p=>{mt(p)&&p.remove()})}),!1},Se)),[r]),A.jsxs(A.Fragment,{children:[A.jsx(kQ,{hasCellMerge:s,hasCellBackgroundColor:i,hasTabHandler:!0,hasHorizontalScroll:!0}),A.jsx(sQ,{}),t&&A.jsxs(A.Fragment,{children:[A.jsx(AQ,{anchorElem:t,cellMerge:!0}),A.jsx("div",{children:o&&A.jsx(wb,{})})]})]})}const _Q=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 NQ({editor:n,value:t,disabled:e=!1,setElementFormat:r}){const{t:s,i18n:o}=ot.useTranslation(),i=k.useMemo(()=>_Q(s),[o.language]),l=k.useMemo(()=>t==="start"||t==="end"?i.left:i[t||"left"],[t,o.language]),c=u=>{r(u),n.dispatchCommand(hi,u)};return A.jsxs(D.Menu,{transitionProps:ao,shadow:"md",styles:{dropdown:{zIndex:1e3}},children:[A.jsx(D.Menu.Target,{children:A.jsx(D.Tooltip,{label:s("editor.toolbar.align"),children:A.jsxs("button",{disabled:e,className:"toolbar-item spaced alignment","aria-label":"Formatting options for text alignment",type:"button","data-test-id":"toolbar-align-menu",children:[A.jsx(we,{size:18,name:l.icon}),A.jsxs(D.Text,{mx:5,size:"sm",children:[" ",l.name]}),A.jsx(we,{name:"chevron-down"})]})})}),A.jsxs(D.Menu.Dropdown,{onMouseDown:u=>{u.preventDefault()},children:[A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{size:18,name:"align-left"}),rightSection:t==="left"&&A.jsx(we,{name:"check-mark"}),onClick:()=>c("left"),"data-test-id":"toolbar-align-left",children:i.left.name}),A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{size:18,name:"align-center"}),rightSection:t==="center"&&A.jsx(we,{name:"check-mark"}),onClick:()=>c("center"),"data-test-id":"toolbar-align-center",children:i.center.name}),A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{size:18,name:"align-right"}),rightSection:t==="right"&&A.jsx(we,{name:"check-mark"}),onClick:()=>c("right"),"data-test-id":"toolbar-align-right",children:i.right.name}),A.jsx(D.Menu.Item,{leftSection:A.jsx(we,{size:18,name:"align-justify"}),rightSection:t==="justify"&&A.jsx(we,{name:"check-mark"}),onClick:()=>c("justify"),"data-test-id":"toolbar-align-justify",children:i.justify.name})]})]})}const IQ=(n,t,e,r)=>{n.update(()=>{if(W(e)){const s=ht(t);e.insertNodes([s]),r()}})},MQ=(n,t,e,r)=>{n.update(()=>{if(W(e)){const s=ht(t);e.insertNodes([]);const o=s.getParent()??e.focus.getNode().getParent();if(o){const i=e.focus.getNode().getNextSibling();i?i.insertBefore(s):o.append(s),r()}}})},LQ=(n,t="",e,r)=>{n.update(()=>{if(!W(e))return;const o=e.anchor.getNode().getTopLevelElementOrThrow(),i=Ce();t&&i.append(ht(t)),o.insertAfter(i),r()})},DQ=(n,t)=>{n.update(()=>{const e=Z();if(W(e)){const r=e.getTextContent();t(r)}})},OQ=({editor:n,response:t,onSubmit:e,setTypeMenu:r,onClose:s,t:o,selection:i})=>A.jsxs(A.Fragment,{children:[A.jsx(D.Menu.Item,{leftSection:A.jsx($.IconArrowNarrowLeft,{size:14}),onClick:()=>r("main"),children:o("editor.ai.back")}),A.jsx(D.Menu.Item,{onClick:()=>{IQ(n,t,i,s)},leftSection:A.jsx($.IconReplace,{size:14}),children:o("editor.ai.menu.answer.replaceSelection")}),A.jsx(D.Menu.Item,{onClick:()=>{MQ(n,` ${t}`,i,s)},leftSection:A.jsx($.IconTextPlus,{size:14}),children:o("editor.ai.menu.answer.addTextInline")}),A.jsx(D.Menu.Item,{onClick:()=>{LQ(n,t,i,s),s()},leftSection:A.jsx($.IconIndentIncrease,{size:14}),children:o("editor.ai.menu.answer.addBelowParagraph")}),A.jsx(D.Menu.Divider,{}),A.jsx(D.Menu.Label,{children:o("editor.ai.menu.answer.modifyFurther")}),A.jsx(D.Menu.Item,{onClick:()=>{e(`Start with this text and continue. Output this text at the start: "${t}"`,!1)},leftSection:A.jsx($.IconPlayerPlay,{size:14}),children:o("editor.ai.menu.answer.continueWriting")}),A.jsx(D.Menu.Item,{onClick:()=>{e("Regenerate this text with another way: ")},leftSection:A.jsx($.IconReload,{size:14}),children:o("editor.ai.menu.answer.regenerate")}),A.jsx(D.Menu.Item,{onClick:s,leftSection:A.jsx($.IconTrash,{size:14}),children:o("editor.ai.menu.answer.discard")})]}),RQ=["arabic","bengali","chinese","dutch","english","french","german","hindi","japanese","korean","nepali","portuguese","spanish"],BQ=["professional","straightforward","friendly","poetic","passiveAggressive","pirate"],PQ=[{title:"modifySelection",options:[{title:"improveWriting",prompt:"Improve the quality of the text",icon:A.jsx($.IconWand,{size:14})},{title:"fixMistakes",prompt:"Fix any typos or general errors in the text",icon:A.jsx($.IconTextSpellcheck,{size:14})},{title:"simplify",prompt:"Shorten the text, simplifying it",icon:A.jsx($.IconSortAscending,{size:14})},{title:"addMoreDetail",prompt:"Lengthen the text, going into more detail",icon:A.jsx($.IconSortDescending,{size:14})}]},{title:"generate",options:[{title:"summarise",prompt:"Summarise the text",icon:A.jsx($.IconNotes,{size:14})},{title:"translate",icon:A.jsx($.IconLanguage,{size:14}),type:"language"},{title:"changeStyle",icon:A.jsx($.IconScript,{size:14}),type:"style"},{title:"explain",prompt:"Explain what the text is about",icon:A.jsx($.IconHelpOctagon,{size:14})}]}],jQ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsxs(A.Fragment,{children:[A.jsx(D.Menu.Item,{leftSection:A.jsx($.IconArrowNarrowLeft,{size:14}),onClick:()=>n("main"),children:e("editor.ai.back")}),RQ.map(r=>A.jsx(D.Menu.Item,{onClick:()=>{t(`Translate text into the ${r} language`)},children:e(`editor.ai.menu.languages.${r}`)},r))]}),FQ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsx(A.Fragment,{children:PQ.map(r=>A.jsxs("div",{children:[A.jsx(D.Menu.Label,{children:e(`editor.ai.menu.main.${r.title}`)}),r.options.map(s=>A.jsx(D.Menu.Item,{onClick:()=>{if(s.type){n(s.type);return}t(s.prompt||"")},leftSection:s.icon,children:e(`editor.ai.menu.main.${s.title}`)},s.title))]},r.title))}),zQ=({setTypeMenu:n,onSubmit:t,t:e})=>A.jsxs(A.Fragment,{children:[A.jsx(D.Menu.Item,{leftSection:A.jsx($.IconArrowNarrowLeft,{size:14}),onClick:()=>n("main"),children:e("editor.ai.back")}),BQ.map(r=>A.jsx(D.Menu.Item,{onClick:()=>{t(`Change text into ${r} style`)},children:e(`editor.ai.menu.style.${r}`)},r))]}),UQ=({keyType:n,setTypeMenu:t,editor:e,onSubmit:r,response:s,onClose:o,t:i,selection:l})=>{switch(n){case"main":return A.jsx(FQ,{t:i,setTypeMenu:t,onSubmit:r});case"answer":return A.jsx(OQ,{t:i,onSubmit:r,editor:e,response:s,setTypeMenu:t,onClose:o,selection:l});case"language":return A.jsx(jQ,{t:i,onSubmit:r,setTypeMenu:t});case"style":return A.jsx(zQ,{t:i,onSubmit:r,setTypeMenu:t});default:return null}};function KQ(n,t=40){const[e,r]=k.useState(""),s=k.useRef(0),o=k.useRef(null),i=k.useRef(null);return k.useEffect(()=>{if(o.current&&clearInterval(o.current),r(""),s.current=0,!!n)return o.current=setInterval(()=>{r(l=>{const c=n[s.current];return s.current+=1,s.current>=n.length&&clearInterval(o.current),l+(c||"")})},t),()=>{o.current&&clearInterval(o.current)}},[n,t]),k.useEffect(()=>{i.current&&(i.current.scrollTop=i.current.scrollHeight)},[e]),{displayedText:e,containerRef:i}}const WQ=()=>{var F;const[n,t]=k.useState({top:"0px",bottom:"auto"}),[e,r]=k.useState(!1),[s,o]=k.useState(!1),[i]=Ee(),[l,c]=k.useState("main"),[u,d]=k.useState(""),[h,g]=k.useState(""),[p,m]=k.useState(""),[y,w]=k.useState(null),[x,C]=k.useState(!1),{fetchPromptResult:v}=k.useContext(Mt),{t:_}=ot.useTranslation(),[N,E]=Za.useResizeObserver(),T=()=>{r(!1),o(!1),m(""),c("main"),setTimeout(()=>{t({top:"0px",bottom:"auto"})},200)},I=Za.useClickOutside(()=>{T()});k.useEffect(()=>{e?(DQ(i,g),document.documentElement.style.overflow="hidden",i.update(()=>{const z=Z();z&&w(z)})):(c("main"),document.documentElement.style.overflow="auto",m(""))},[e]);const{displayedText:M,containerRef:O}=KQ(p,10),P=(z,H=!0)=>{const te=z+` "${H?h:""}"Only return the modified text. Do not include any explanations, introductions, or formatting.`;C(!0),v&&v(te,le=>{m(le),C(!1),c("answer"),d("")},()=>{C(!1)})};return k.useEffect(()=>{var H,te,le;const{bottom:z}=((H=N.current)==null?void 0:H.getBoundingClientRect())||{bottom:0};if(z>window.innerHeight){const ce=(((le=(te=i._rootElement)==null?void 0:te.getBoundingClientRect())==null?void 0:le.bottom)||0)-window.innerHeight;t({...n,top:"auto",bottom:`${ce}px`})}},[E.height,e,N.current]),(F=i._rootElement)!=null&&F.parentElement?A.jsxs(A.Fragment,{children:[n.top?Dr.createPortal(A.jsx(D.Transition,{mounted:!!e,transition:"scale-x",duration:300,timingFunction:"ease",children:z=>A.jsx(D.Box,{ref:I,style:{position:"absolute",...n,...z},className:"ai-editor-menu",children:A.jsxs(D.Menu,{opened:!!s,closeOnItemClick:!1,position:"bottom-start",zIndex:99,transitionProps:{transition:"fade",duration:300},styles:{dropdown:{overflow:"auto"}},offset:8,middlewares:{flip:!0,size:{apply({availableHeight:H,elements:te}){requestAnimationFrame(()=>{Object.assign(te.floating.style,{maxHeight:`${H>=425?425:H}px`})})}}},disabled:x,children:[A.jsx(D.Menu.Target,{children:A.jsxs(D.Paper,{withBorder:!0,ref:N,shadow:"lg",radius:"md",p:"0",px:"xs",children:[p&&A.jsxs(A.Fragment,{children:[A.jsxs(D.Group,{gap:3,align:"flex-start",style:{overflowY:"auto"},mah:120,ref:O,children:[A.jsx(D.Box,{style:{flex:1},w:"auto",py:"xs",children:M}),A.jsx(D.Box,{w:"auto",mt:"xs",children:A.jsx(D.CopyButton,{value:p,timeout:2e3,children:({copied:H,copy:te})=>A.jsx(D.Tooltip,{label:H?"Copied":"Copy",withArrow:!0,position:"right",children:A.jsx(D.ActionIcon,{color:H?"teal":"gray",variant:"subtle",onClick:te,children:H?A.jsx($.IconCheck,{size:16}):A.jsx($.IconCopy,{size:16})})})})})]}),A.jsx(D.Divider,{my:"0"})]}),A.jsx(D.Box,{children:A.jsx(D.Input,{size:"md",placeholder:_("editor.ai.placeholder"),rightSectionPointerEvents:"all",variant:"unstyled",value:u,onKeyDown:H=>{if(H.key==="Enter"){if(x)return;P(u)}},onChange:H=>{d(H.target.value)},rightSection:A.jsx(A.Fragment,{children:x?A.jsx(D.Loader,{color:"violet",size:"16",mr:"xs"}):A.jsx(D.ActionIcon,{color:"violet",disabled:!u,variant:"subtle",onClick:()=>{P(u)},children:A.jsx($.IconSparkles,{size:16})})})})})]})}),A.jsx(D.Menu.Dropdown,{className:"menu-dropdown-ai",onMouseDown:H=>{H.stopPropagation()},children:A.jsx(UQ,{keyType:l,setTypeMenu:c,editor:i,onSubmit:P,response:p,onClose:T,t:_,selection:y})})]})})}),i._rootElement.parentElement):null,A.jsxs("button",{disabled:!1,className:"toolbar-item spaced alignment","aria-label":"Formatting options for text alignment",type:"button","data-test-id":"toolbar-ai",onClick:()=>{const z=document.querySelector(".floating-text-format-popup");if(z.style.opacity="0",z.style.transform="translate(-10000px, -10000px)",z!=null&&z.style){const H=window.getSelection();if((H==null?void 0:H.rangeCount)===0)return null;if(H){const le=H.getRangeAt(0).getBoundingClientRect(),ce=document.querySelector(".content-editable-wrapper"),ne=ce.getBoundingClientRect(),X=le.top-ne.top+ce.scrollTop+le.height+"px";t({top:X,bottom:"auto"}),setTimeout(()=>{r(!0)},0),setTimeout(()=>{o(!0)},100)}}},children:[A.jsx($.IconSparkles,{color:"#7950f2",size:18}),A.jsx($.IconAi,{size:21,color:"#7950f2"})]})]}):null},RM=({children:n,...t})=>{const{imagePickerSettings:e,maxFileSize:r}=k.useContext(Mt),{t:s}=ot.useTranslation("ui"),{giphyToken:o,unsplashClientId:i,link:l,download:c,maxUploadFiles:u}=e,d=k.useMemo(()=>[{key:"gallery",enabled:!0},{key:"giphy",enabled:o},{key:"unsplash",enabled:i},{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(bt.FilePicker,{showTabs:d,dropZoneProps:{maxFiles:u||1,maxSize:r*1024*1024},giphyToken:o,unsplashClientId:i,...t,children:n})},HQ=({editor:n,isEditable:t,t:e})=>{const{fetchUploadMedia:r,imperativeHandleRef:s}=k.useContext(Mt),[o,i]=k.useState(!1);return r?A.jsx(RM,{popoverProps:{opened:o,position:"bottom",onChange:i},onUpload:l=>{var c,u;!r||!l.length||(i(!1),(c=s==null?void 0:s.current)!=null&&c.insertImages&&((u=s.current)==null||u.insertImages(l)))},onChange:l=>{n.dispatchCommand(Yh,{altText:"",src:l}),i(!1)},children:A.jsx(D.Tooltip,{label:e("editor.image.add_photo"),children:A.jsx("button",{disabled:!t,type:"button",onClick:()=>i(l=>!l),className:"toolbar-item spaced","data-test-id":"toolbar-insert-image",children:A.jsx(we,{name:"photo"})})})}):null},YQ={bullet:"Маркированный список",check:"Чек-лист",code:"Кодовый блок",h1:"Заголовок 1",h2:"Заголовок 2",h3:"Заголовок 3",h4:"Заголовок 4",h5:"Заголовок 5",h6:"Заголовок 6",number:"Нумерованный список",paragraph:"Параграф",quote:"Цитата"};function Kf(){return A.jsx("div",{className:"divider"})}function NE({mode:n,isFloating:t}){const[e]=Ee(),[r,s]=k.useState(e),[o,i]=k.useState("paragraph"),[l,c]=k.useState("root"),[u,d]=k.useState(null),[h,g]=k.useState("#000"),[p,m]=k.useState("#fff"),[y,w]=k.useState("left"),[x,C]=k.useState(!1),[v,_]=k.useState(!1),[N,E]=k.useState(!1),[T,I]=k.useState(!1),[M,O]=k.useState(!1),[P,F]=k.useState(!1),[z,H]=k.useState(!1),[te,le]=k.useState(!1),[ce,ne]=k.useState(!1),[X,he]=k.useState(!1),[q]=cp(),[K,J]=k.useState(!1),[ee,ie]=k.useState(!0),[ue,se]=k.useState(!0),[Ae,Ne]=k.useState(0),[pe,Ie]=k.useState(()=>e.isEditable()),$e=n||"default",{excludeNodes:pt,fetchUploadMedia:Ye,fetchPromptResult:wt,commentController:Ct}=k.useContext(Mt),{t:Oe}=ot.useTranslation(),Le=k.useCallback(()=>{const Pe=Z();if(W(Pe)){const st=Pe.anchor.getNode(),At=Pe.focus.getNode(),Ft=Yt(st)?null:st.getTopLevelElementOrThrow(),zt=Yt(At)?null:At.getTopLevelElementOrThrow();let at=st.getKey()==="root"?st:ve(st,dr=>{const $o=dr.getParent();return $o!==null&&Xn($o)});Pe.getNodes().length===1?ie(!0):ie(!1),at===null&&(at=st.getTopLevelElementOrThrow());const Wt=at.getKey(),tr=r.getElementByKey(Wt);e.update(()=>{_(Pe.hasFormat("bold")),E(Pe.hasFormat("italic")),I(Pe.hasFormat("underline")),O(Pe.hasFormat("strikethrough")),F(Pe.hasFormat("subscript")),H(Pe.hasFormat("superscript")),le(Pe.hasFormat("code"))});const nr=Ya(Pe),co=nr.getParent();Tn(co)||Tn(nr)?C(!0):C(!1),g(yh(Pe,"color","inherit")),m(yh(Pe,"background-color","inherit"));let Ki;Tn(co)&&(Ki=ve(nr,dr=>Y(dr)&&!dr.isInline())),w(Y(Ki)?Ki.getFormatType():Y(nr)?nr.getFormatType():(co==null?void 0:co.getFormatType())||"left");const Nc=ve(nr,mt);if(mt(Nc)?c("table"):c("root"),tr!==null&&(Ft==null?void 0:Ft.getKey())===(zt==null?void 0:zt.getKey()))if(d(Wt),He(at)){const dr=Qb(st,Br),$o=dr?dr.getListType():at.getListType();i($o)}else{const dr=Gs(at)?at.getTag():at.getType();dr in YQ&&i(dr)}else i("")}},[r,ie]);k.useEffect(()=>e.registerCommand(Qr,(Pe,st)=>(Le(),s(st),!1),bn),[e,Le]),k.useEffect(()=>Xe(e.registerEditableListener(Pe=>{Ie(Pe)}),r.registerUpdateListener(({editorState:Pe})=>{Pe.read(()=>{Le()})}),r.registerCommand(Ia,Pe=>(ne(Pe),!1),bn),r.registerCommand(Na,Pe=>(he(Pe),!1),bn)),[Le,r,e]),k.useEffect(()=>Xe(r.registerCommand(uT,Pe=>{const st=Pe,{code:At,metaKey:Ft}=st;if(At==="KeyK"&&Ft){st.preventDefault();let zt;return x?zt=null:zt=cl("https://"),r.dispatchCommand(vi,zt)}return!1},Ss),r.registerCommand(Zo,()=>{const Pe=Z();if(W(Pe)){const st=Pe.getNodes(),At=st.length>0&&st.every(Ft=>Js(Ft)||mt(Ft)||Lr(Ft)?!1:Y(Ft)||oe(Ft));se(!At)}return!1},Ss)),[r,x]),k.useCallback((Pe,st)=>{r.update(()=>{const At=Z();At!==null&&Ah(At,Pe)},st?{tag:"historic"}:{})},[r]);const it=k.useCallback(()=>{setTimeout(()=>{r.dispatchCommand(Nt,"")}),r.update(()=>{const Pe=Z();if(W(Pe)){const st=Pe.anchor,At=Pe.focus,Ft=Pe.getNodes(),zt=Pe.extract();if(st.key===At.key&&st.offset===At.offset)return;Ft.forEach((at,er)=>{if(Kn(at)){let Wt=at;er===0&&st.offset!==0&&(Wt=Wt.splitText(st.offset)[1]||Wt),er===Ft.length-1&&(Wt=Wt.splitText(At.offset)[0]||Wt);const tr=zt[0];Ft.length===1&&Kn(tr)&&(Wt=tr),Wt.__style!==""&&Wt.setStyle(""),Wt.__format!==0&&Wt.setFormat(0);const nr=gc(Wt);nr.__format!==0&&nr.setFormat(""),nr.__indent!==0&&nr.setIndent(0),at=Wt}else Gs(at)||Li(at)?at.replace(Ce(),!0):Oh(at)&&at.setFormat("")})}})},[r]),Gt=Pe=>{g(Pe.color),m(Pe["background-color"]),r.update(()=>{const st=Z();st!==null&&Ah(st,Pe)})},Dt=k.useCallback(()=>{e.dispatchCommand(nw,"create"),setTimeout(()=>{Ie(!0)},1e3)},[e]),ur=()=>{e.dispatchCommand(Nw,void 0),Ne(Pe=>Pe+1)};return A.jsx("div",{className:"toolbar-wrapper",tabIndex:-1,children:A.jsxs("div",{className:"toolbar",children:[A.jsxs(A.Fragment,{children:[A.jsx(gM,{disabled:ue,blockType:o,rootType:l,editor:e,mode:$e,fetchUploadMedia:Ye,excludeNodes:pt}),A.jsx(Kf,{})]}),n==="editor"&&!0&&wt&&A.jsxs(A.Fragment,{children:[A.jsx(k.Suspense,{fallback:null,children:A.jsx(WQ,{})}),A.jsx(Kf,{})]}),A.jsxs(A.Fragment,{children:[A.jsx(D.Tooltip,{label:Oe("editor.toolbar.bold"),children:A.jsx("button",{disabled:!pe,onClick:()=>{r.dispatchCommand(Nt,"bold")},className:"toolbar-item spaced "+(v?"active":""),type:"button","data-test-id":"toolbar-bold",children:A.jsx(we,{name:"bold"})})}),A.jsx(D.Tooltip,{label:Oe("editor.toolbar.italic"),children:A.jsx("button",{disabled:!pe,onClick:()=>{r.dispatchCommand(Nt,"italic")},className:"toolbar-item spaced "+(N?"active":""),type:"button","data-test-id":"toolbar-italic",children:A.jsx(we,{name:"italic"})})}),A.jsx(D.Tooltip,{label:Oe("editor.toolbar.underline"),children:A.jsx("button",{disabled:!pe,"data-test-id":"toolbar-underline",onClick:()=>{r.dispatchCommand(Nt,"underline")},className:"toolbar-item spaced "+(T?"active":""),type:"button",children:A.jsx(we,{name:"underline"})})}),A.jsx(D.Tooltip,{label:Oe("editor.toolbar.strike"),children:A.jsx("button",{disabled:!pe,className:"toolbar-item spaced "+(M?"active":""),"data-test-id":"toolbar-strikethrough",onClick:()=>{r.dispatchCommand(Nt,"strikethrough")},children:A.jsx(we,{name:"strikethrough"})})}),A.jsx(D.Tooltip,{label:Oe("editor.toolbar.code"),children:A.jsx("button",{disabled:!pe,onClick:()=>{r.dispatchCommand(Nt,"code")},className:"toolbar-item spaced "+(te?"active":""),type:"button","data-test-id":"toolbar-code",children:A.jsx(we,{name:"code"})})}),A.jsx(D.Tooltip,{label:Oe("editor.toolbar.clear"),children:A.jsx("button",{disabled:!pe,className:"toolbar-item",onClick:it,"data-test-id":"toolbar-clear-format",children:A.jsx(we,{name:"сlear-format"})})}),A.jsx(D.Tooltip,{disabled:!pe,label:Oe("editor.toolbar.link"),children:A.jsx("button",{onClick:Dt,className:"toolbar-item spaced "+(x?"active":""),onMouseDown:()=>{Ie(!1)},type:"button","data-test-id":"toolbar-link",children:A.jsx(we,{name:"link"})})}),Ct&&n==="editor"&&A.jsx(D.Tooltip,{label:Oe("editor.toolbar.comment"),children:A.jsx("button",{onClick:ur,className:"toolbar-item spaced "+(x?"active":""),type:"button","data-test-id":"toolbar-comment",children:A.jsx(we,{name:"message"})})},Ae),A.jsx(bt.NewColorPicker,{value:{color:h,background:p},menuProps:{closeOnItemClick:!0},onChange:Pe=>{Gt({color:h,"background-color":p,[Pe.mode==="color"?"color":"background-color"]:Pe.value})},disabled:!pe,modes:["color","background"]})]}),A.jsx(Kf,{}),A.jsx(NQ,{disabled:!pe,value:y,editor:e,isRTL:K,setElementFormat:w}),n==="default"&&A.jsxs(A.Fragment,{children:[A.jsx(Kf,{}),A.jsx(HQ,{editor:e,t:Oe,isEditable:pe})]}),q]})})}const BM=Object.freeze({" ":"\\t","\n":"\\n"}),IE=new RegExp(Object.keys(BM).join("|"),"g"),Fs=Object.freeze({ancestorHasNextSibling:"|",ancestorIsLastChild:" ",hasNextSibling:"├",isLastChild:"└",selectedChar:"^",selectedLine:">"}),ZQ=[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"],GQ=[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"],JQ=[n=>n.isDirectionless()&&"Directionless",n=>n.isUnmergeable()&&"Unmergeable"],VQ=[n=>n.isToken()&&"Token",n=>n.isSegmented()&&"Segmented"];function QQ(n,t,e,r,s=!1){const o=n.getEditorState(),i=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(),jM(m,0).innerHTML})(bh(n))}),g}let u=` root
|
|
176
|
+
`;const d=o.read(()=>{const g=Z();return PM(Me(),(p,m)=>{const y=`(${p.getKey()})`,w=p.getType()||"",x=p.isSelected();u+=`${x?Fs.selectedLine:" "} ${m.join(" ")} ${y} ${w} ${(function(C,v,_=!1){const N=v?v(C,_):void 0;if(N!==void 0&&N.length>0)return N;if(oe(C)){const E=C.getTextContent(),T=E.length===0?"(empty)":`"${ME(E,_)}"`,I=(function(M){return[LE(M),XQ(M),qQ(M),DE(M)].filter(Boolean).join(", ")})(C);return[T,I.length!==0?`{ ${I} }`:null].filter(Boolean).join(" ").trim()}if(Tn(C)){const E=C.getURL(),T=E.length===0?"(empty)":`"${ME(E,_)}"`,I=(function(M){return[$Q(M),eX(M),tX(M),DE(M)].filter(Boolean).join(", ")})(C);return[T,I.length!==0?`{ ${I} }`:null].filter(Boolean).join(" ").trim()}if(Rh(C))return`ids: [ ${C.getIDs().join(", ")} ]`;if(an(C)){const E=(function(I){let M=GQ.map(O=>O(I)).filter(Boolean).join(", ").toLocaleLowerCase();return M!==""&&(M="format: "+M),M})(C);let T=E!==""?`{ ${E} }`:"";return T+=C.__style?`(${C.__style})`:"",T}return""})(p,r,s)}
|
|
177
|
+
`,u+=(function({indent:C,isSelected:v,node:_,nodeKeyDisplay:N,selection:E,typeDisplay:T}){if(!oe(_)||!W(E)||!v||Y(_))return"";const I=E.anchor,M=E.focus;if(_.getTextContent()===""||I.getNode()===E.focus.getNode()&&I.offset===M.offset)return"";const[O,P]=(function(ne,X){const he=X.getStartEndPoints();if(Kt(X)||he===null)return[-1,-1];const[q,K]=he,J=ne.getTextContent(),ee=J.length;let ie=-1,ue=-1;if(q.type==="text"&&K.type==="text"){const Ne=q.getNode(),pe=K.getNode();Ne===pe&&ne===Ne&&q.offset!==K.offset?[ie,ue]=q.offset<K.offset?[q.offset,K.offset]:[K.offset,q.offset]:[ie,ue]=ne===Ne?Ne.isBefore(pe)?[q.offset,ee]:[0,q.offset]:ne===pe?pe.isBefore(Ne)?[K.offset,ee]:[0,K.offset]:[0,ee]}const se=(J.slice(0,ie).match(IE)||[]).length,Ae=(J.slice(ie,ue).match(IE)||[]).length;return[ie+se,ue+se+Ae]})(_,E);if(O===P)return"";const F=C[C.length-1]===Fs.hasNextSibling?Fs.ancestorHasNextSibling:Fs.ancestorIsLastChild,z=[...C.slice(0,C.length-1),F],H=Array(O+1).fill(" "),te=Array(P-O).fill(Fs.selectedChar),le=T.length+2,ce=Array(N.length+le).fill(" ");return[Fs.selectedLine,z.join(" "),[...ce,...H,...te].join("")].join(" ")+`
|
|
178
|
+
`})({indent:m,isSelected:x,node:p,nodeKeyDisplay:y,selection:g,typeDisplay:w})}),g===null?": null":W(g)?(function(p){let m="";const y=LE(p);m+=`: range ${y!==""?`{ ${y} }`:""} ${p.style!==""?`{ style: ${p.style} } `:""}`;const w=p.anchor,x=p.focus,C=w.offset,v=x.offset;return m+=`
|
|
179
|
+
├ anchor { key: ${w.key}, offset: ${C===null?"null":C}, type: ${w.type} }`,m+=`
|
|
180
|
+
└ focus { key: ${x.key}, offset: ${v===null?"null":v}, type: ${x.type} }`,m})(g):Sw(g)?(function(p){return`: table
|
|
181
|
+
└ { table: ${p.tableKey}, anchorCell: ${p.anchor.key}, focusCell: ${p.focus.key} }`})(g):(function(p){return Kt(p)?`: node
|
|
182
|
+
└ [${Array.from(p._nodes).join(", ")}]`:""})(g)});if(u+=`
|
|
183
|
+
selection`+d,u+=`
|
|
184
|
+
|
|
185
|
+
commands:`,t.length)for(const{index:g,type:p,payload:m}of t)u+=`
|
|
186
|
+
└ ${g}. { type: ${p}, payload: ${m instanceof Event?m.constructor.name:m} }`;else u+=`
|
|
187
|
+
└ None dispatched.`;const{version:h}=n.constructor;return u+=`
|
|
188
|
+
|
|
189
|
+
editor${h?` (v${h})`:""}:`,u+=`
|
|
190
|
+
└ namespace ${i.namespace}`,l!==null&&(u+=`
|
|
191
|
+
└ compositionKey ${l}`),u+=`
|
|
192
|
+
└ editable ${String(c)}`,u}function PM(n,t,e=[]){const r=n.getChildren(),s=r.length;r.forEach((o,i)=>{t(o,e.concat(i===s-1?Fs.isLastChild:Fs.hasNextSibling)),Y(o)&&PM(o,t,e.concat(i===s-1?Fs.ancestorIsLastChild:Fs.ancestorHasNextSibling))})}function ME(n,t=!1){const e=Object.entries(BM).reduce((r,[s,o])=>r.replace(new RegExp(s,"g"),String(o)),n);return t?e.replace(/[^\s]/g,"*"):e}function XQ(n){let t=JQ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="detail: "+t),t}function qQ(n){let t=VQ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="mode: "+t),t}function LE(n){let t=ZQ.map(e=>e(n)).filter(Boolean).join(", ").toLocaleLowerCase();return t!==""&&(t="format: "+t),t}function $Q(n){let t=n.getTarget();return t!=null&&(t="target: "+t),t}function eX(n){let t=n.getRel();return t!=null&&(t="rel: "+t),t}function tX(n){let t=n.getTitle();return t!=null&&(t="title: "+t),t}function DE(n){if(!n.__state)return!1;const t=[];for(const[r,s]of n.__state.knownState.entries()){if(r.isEqual(s,r.defaultValue))continue;const o=JSON.stringify(r.unparse(s));t.push(`[${r.key}: ${o}]`)}let e=t.join(",");return e!==""&&(e="state: "+e),e}function jM(n,t){const e=new Array(1+t++).join(" "),r=new Array(t-1).join(" ");let s;for(let o=0;o<n.children.length;o++)s=document.createTextNode(`
|
|
193
|
+
`+e),n.insertBefore(s,n.children[o]),jM(n.children[o],t),n.lastElementChild===n.children[o]&&(s=document.createTextNode(`
|
|
194
|
+
`+r),n.appendChild(s));return n}const nX=k.forwardRef(function({treeTypeButtonClassName:n,timeTravelButtonClassName:t,timeTravelPanelSliderClassName:e,timeTravelPanelButtonClassName:r,viewClassName:s,timeTravelPanelClassName:o,editorState:i,setEditorState:l,setEditorReadOnly:c,generateContent:u,commandsLog:d=[]},h){const[g,p]=k.useState([]),[m,y]=k.useState(""),[w,x]=k.useState(!1),[C,v]=k.useState(!1),_=k.useRef(0),N=k.useRef(null),[E,T]=k.useState(!1),[I,M]=k.useState(!1),[O,P]=k.useState(!1),F=k.useRef(null),z=k.useRef([]),H=k.useRef(0),te=k.useCallback(ce=>{const ne=++H.current;u(ce).then(X=>{ne===H.current&&y(X)}).catch(X=>{ne===H.current&&y(`Error rendering tree: ${X.message}
|
|
195
|
+
|
|
196
|
+
Stack:
|
|
197
|
+
${X.stack}`)})},[u]);k.useEffect(()=>{if(!(!O&&i._nodeMap.size>1e3&&(M(!0),!O))&&(F.current!==i||z.current!==d)){const ce=F.current!==i;F.current=i,z.current=d,te(C),!w&&ce&&p(ne=>[...ne,[Date.now(),i]])}},[i,te,C,O,w,d]);const le=g.length;return k.useEffect(()=>{if(E){let ce;const ne=()=>{const X=_.current;if(X===le-1)return void T(!1);const he=g[X][0],q=g[X+1][0];ce=setTimeout(()=>{_.current++;const K=_.current,J=N.current;J!==null&&(J.value=String(K)),l(g[K][1]),ne()},q-he)};return ne(),()=>{clearTimeout(ce)}}},[g,E,le,l]),A.jsxs("div",{className:s,children:[!O&&I?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:()=>{P(!0)},style:{background:"transparent",border:"1px solid white",color:"white",cursor:"pointer",padding:5},children:"Show full tree"})]}):null,O?null:A.jsx("button",{onClick:()=>(te(!C),void v(!C)),className:n,type:"button",children:C?"Tree":"Export DOM"}),!w&&(O||!I)&&le>2&&A.jsx("button",{onClick:()=>{c(!0),_.current=le-1,x(!0)},className:t,type:"button",children:"Time Travel"}),(O||!I)&&A.jsx("pre",{ref:h,children:m}),w&&(O||!I)&&A.jsxs("div",{className:o,children:[A.jsx("button",{className:r,onClick:()=>{_.current===le-1&&(_.current=1),T(!E)},type:"button",children:E?"Pause":"Play"}),A.jsx("input",{className:e,ref:N,onChange:ce=>{const ne=Number(ce.target.value),X=g[ne];X&&(_.current=ne,l(X[1]))},type:"range",min:"1",max:le-1}),A.jsx("button",{className:r,onClick:()=>{c(!1);const ce=g.length-1,ne=g[ce];l(ne[1]);const X=N.current;X!==null&&(X.value=String(ce)),x(!1),T(!1)},type:"button",children:"Exit"})]})]})});function rX(n,t){const e=new Set;let r=0;for(const[s]of n._commands)e.add(n.registerCommand(s,o=>(t(i=>{r+=1;const l=[...i];return l.push({index:r,payload:o,type:s.type?s.type:"UNKNOWN"}),l.length>10&&l.shift(),l}),!1),bn));return()=>e.forEach(s=>s())}function sX(n){const[t,e]=k.useState([]);return k.useEffect(()=>rX(n,e),[n]),k.useMemo(()=>t,[t])}function oX({treeTypeButtonClassName:n,timeTravelButtonClassName:t,timeTravelPanelSliderClassName:e,timeTravelPanelButtonClassName:r,timeTravelPanelClassName:s,viewClassName:o,editor:i,customPrintNode:l}){const c=WE.createRef(),[u,d]=k.useState(i.getEditorState()),h=sX(i);return k.useEffect(()=>Xe(i.registerUpdateListener(({editorState:g})=>{d(g)}),i.registerEditableListener(()=>{d(i.getEditorState())})),[i]),k.useEffect(()=>{const g=c.current;if(g!==null)return g.__lexicalEditor=i,()=>{g.__lexicalEditor=null}},[i,c]),A.jsx(nX,{treeTypeButtonClassName:n,timeTravelButtonClassName:t,timeTravelPanelSliderClassName:e,timeTravelPanelButtonClassName:r,viewClassName:o,timeTravelPanelClassName:s,setEditorReadOnly:g=>{const p=i.getRootElement();p!=null&&(p.contentEditable=g?"false":"true")},editorState:u,setEditorState:g=>i.setEditorState(g),generateContent:async function(g){return QQ(i,h,g,l)},ref:c,commandsLog:h})}function OE(n){let t=0;const e=[];return n.split(/(<[^>]+>)/g).filter(Boolean).forEach(s=>{s.startsWith("</")?(t=Math.max(0,t-2),e.push(" ".repeat(t)+s)):s.startsWith("<")?(e.push(" ".repeat(t)+s),!s.endsWith("/>")&&!s.match(/<(br|img|hr|input)[^>]*>/)&&(t+=2)):s.trim()&&e.push(" ".repeat(t)+s)}),e.join(`
|
|
198
|
+
`)}function iX(){const[n]=Ee(),[t,e]=k.useState("tree"),[r,s]=k.useState(""),[o,i]=k.useState(!1);k.useEffect(()=>{if(t==="dom"){const c=()=>{const u=n.getRootElement();u&&s(u.innerHTML)};return c(),n.registerUpdateListener(c)}},[t,n]);const l=async(c=!1)=>{try{const u=c?OE(r):r;await navigator.clipboard.writeText(u),i(!0),setTimeout(()=>i(!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(oX,{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:OE(r)})})]})]})}const FM=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?k.useLayoutEffect:k.useEffect;function lX({editor:n,ariaActiveDescendant:t,ariaAutoComplete:e,ariaControls:r,ariaDescribedBy:s,ariaErrorMessage:o,ariaExpanded:i,ariaInvalid:l,ariaLabel:c,ariaLabelledBy:u,ariaMultiline:d,ariaOwns:h,ariaRequired:g,autoCapitalize:p,className:m,id:y,role:w="textbox",spellCheck:x=!0,style:C,tabIndex:v,"data-testid":_,...N},E){const[T,I]=k.useState(n.isEditable()),M=k.useCallback(P=>{P&&P.ownerDocument&&P.ownerDocument.defaultView?n.setRootElement(P):n.setRootElement(null)},[n]),O=k.useMemo(()=>(function(...P){return F=>{for(const z of P)typeof z=="function"?z(F):z!=null&&(z.current=F)}})(E,M),[M,E]);return FM(()=>(I(n.isEditable()),n.registerEditableListener(P=>{I(P)})),[n]),A.jsx("div",{"aria-activedescendant":T?t:void 0,"aria-autocomplete":T?e:"none","aria-controls":T?r:void 0,"aria-describedby":s,...o!=null?{"aria-errormessage":o}:{},"aria-expanded":T&&w==="combobox"?!!i:void 0,...l!=null?{"aria-invalid":l}:{},"aria-label":c,"aria-labelledby":u,"aria-multiline":d,"aria-owns":T?h:void 0,"aria-readonly":!T||void 0,"aria-required":g,autoCapitalize:p,className:m,contentEditable:T,"data-testid":_,id:y,ref:O,role:w,spellCheck:x,style:C,tabIndex:v,...N})}const aX=k.forwardRef(lX);function RE(n){return n.getEditorState().read(E2(n.isComposing()))}const cX=k.forwardRef(uX);function uX(n,t){const{placeholder:e,...r}=n,[s]=Ee();return A.jsxs(A.Fragment,{children:[A.jsx(aX,{editor:s,...r,ref:t}),e!=null&&A.jsx(dX,{editor:s,content:e})]})}function dX({content:n,editor:t}){const e=(function(i){const[l,c]=k.useState(()=>RE(i));return FM(()=>{function u(){const d=RE(i);c(d)}return u(),Xe(i.registerUpdateListener(()=>{u()}),i.registerEditableListener(()=>{u()}))},[i]),l})(t),[r,s]=k.useState(t.isEditable());if(k.useLayoutEffect(()=>(s(t.isEditable()),t.registerEditableListener(i=>{s(i)})),[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 Cb({className:n}){return A.jsx(cX,{contentEditable:!1,className:n||"ContentEditable__root"})}const fX="_listContainer_1d88b_1",hX="_list_1d88b_1",gX="_text_1d88b_28",DA={listContainer:fX,list:hX,text:gX},zM=ye("INSERT_CODE_COMMAND");function pX(n){k.useEffect(()=>{const t=n.registerNodeTransform(wr,r=>{const s=r.getParent();if(!s||sp(s))return;const o=rp(),i=Hu();r.insertBefore(o),o.append(i,r)}),e=n.registerNodeTransform(Tc,r=>{const s=r.getChildren(),o=s.some(c=>h7(c)),i=s.find(es);if(o||!i)return;const l=Hu();i.insertBefore(l)});return Xe(t,e,n.registerCommand(zM,()=>(n.update(()=>{const r=Zt(),s=Me();if(r){const o=Wy("plain")(),i=o.getLastChild();i&&es(i)&&i.append(Ko(r.getTextContent()||"")),r.replace(o),s.getChildrenSize()===1&&o.insertAfter(Ce())}}),!0),Se),n.registerCommand(Fl,r=>{const s=Z();let o=null;if(r.shiftKey&&r.code==="Enter"&&W(s)&&(es(s.anchor.getNode())?o=s.anchor.getNode():Vt(s.anchor.getNode())&&(o=s.anchor.getNode().getParent()),o)){const i=n.registerCommand(dl,()=>(i(),!0),Ss);return n.update(()=>{const l=o==null?void 0:o.getParent(),c=l==null?void 0:l.getNextSibling();c instanceof Vo&&!c.getTextContent()?c.selectStart():l&&l.insertAfter(Ce()).selectStart()}),!0}return!1},0),n.registerCommand(Ul,r=>{if(!r.clipboardData)return!1;const s=Z();if(!W(s))return!1;const o=nb(s.anchor.getNode()),i=nb(s.focus.getNode());if(!o||!i||o.getKey()!==i.getKey())return!1;const{hasSelectedBlock:l,selectedAllDocument:c}=mi(),u=qk(s.getTextContent()),d=o.getChildren().find(es);if(!d)return!1;const h=qk(d.getTextContent());return u===h&&(l||c)?(r.preventDefault(),r.clipboardData.setData("text/html",hZ(d)),r.clipboardData.setData("text/plain",d.getTextContent()),!0):!1},Se))},[n])}const mX=({editor:n})=>{var u;const[t,e]=k.useState(!1),{t:r,i18n:s}=ot.useTranslation(),{excludeNodes:o}=k.useContext(Mt),i=d=>{const h=document.querySelector(".editor-container");if(d){h.classList.add("empty-editor");return}h.classList.remove("empty-editor")};k.useEffect(()=>{n.update(()=>{Hy()&&(e(!0),i(!0))}),Xe(n.registerCommand(cg,()=>{const d=!!Hy();return e(d),i(d),!1},Se),n.registerCommand(ji,()=>(e(!1),i(!1),!1),Se))},[]);const l=(d,h)=>{d==null||d.update(()=>{d.focus();const p=Me().getFirstChild();p&&h&&(h(p),e(!1))})},c=k.useMemo(()=>[{title:r("editor.emptyPageOptions.heading"),icon:A.jsx($.IconH1,{stroke:2,size:18}),onSelect:()=>l(n,d=>{d.replace(Lo("h1"))})},{title:r("editor.emptyPageOptions.grid"),icon:A.jsx($.IconColumns2,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(Mw,mw)})}},{title:r("editor.emptyPageOptions.list"),icon:A.jsx($.IconListNumbers,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(Kg,void 0)})}},{title:r("editor.emptyPageOptions.code"),icon:A.jsx($.IconCode,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand(zM,void 0)})}},{title:r("editor.menu.media.excalidraw.hint.description"),icon:A.jsx($.IconPalette,{stroke:2,size:18}),onSelect:()=>{Promise.resolve().then(()=>require("./layers.-tk2dEG5.js")).then(({INSERT_EXCALIDRAW_COMMAND:d})=>{l(n,()=>{n.dispatchCommand(d,void 0)})})}},o.template?{title:r("editor.emptyPageOptions.template"),icon:A.jsx($.IconTemplate,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{n==null||n.dispatchCommand($2,void 0)})}}:null,{title:r("editor.emptyPageOptions.callout"),icon:A.jsx($.IconBaseline,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(tw,"success")})})}},{title:r("editor.emptyPageOptions.table"),icon:A.jsx($.IconTable,{stroke:2,size:18}),onSelect:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(Wg,{columns:"4",includeHeaders:!1,rows:"3"})})})}},{title:r("editor.emptyPageOptions.integrations"),icon:A.jsx($.IconApps,{stroke:2,size:18}),onSelect:()=>{}}],[s.language]);return t?A.jsx(D.Portal,{target:((u=n==null?void 0:n._rootElement)==null?void 0:u.parentElement)||document.body,children:A.jsx("ul",{className:`${DA.listContainer} empty-page-options`,children:c.map((d,h)=>d?A.jsxs(D.Menu,{disabled:h!==c.length-1,position:"bottom-start",shadow:"md",styles:{dropdown:{overflow:"auto",zIndex:1e3}},middlewares:aM,width:200,transitionProps:ao,children:[A.jsx(D.Menu.Target,{children:A.jsxs("li",{className:DA.list,onClick:d.onSelect,children:[d.icon," ",A.jsx("span",{className:DA.text,children:d.title})]})}),A.jsx(D.Menu.Dropdown,{children:Sc.map(g=>A.jsx(D.Menu.Item,{className:"item "+lM(g.key==="1"),leftSection:g.icon,style:{borderRadius:"var(--mantine-radius-sm)",paddingBlock:"calc(var(--mantine-spacing-xs) / 1.5)"},onClick:()=>{l(n,()=>{setTimeout(()=>{n==null||n.dispatchCommand(Iw,""),e(!1)})})},children:g.name},g.name))})]},d.title):null)})}):null};function AX({editor:n,outputFormat:t,debounceMs:e=500,onChange:r,onBlur:s,isCommentVariant:o,checkIsEmpty:i,onChangeCommand:l}){const c=Za.useDebouncedCallback(h=>{l&&h.dispatchCommand(l,!0)},100),u=Za.useDebouncedCallback((h,g)=>{if(t==="html")h.read(()=>{let m=bh(g,null);const y=Me();y&&(i()&&(m=""),y.getChildrenSize()===0&&(g.update(()=>{y.append(Ce())}),m=""));const w=Me().getTextContent();r(m,w)});else{const p=h.toJSON();r(p)}},e),d=(h,g)=>{if(s)if(t==="html")g.update(()=>{const p=bh(g,null);s(p)});else{const p=h.toJSON();s(p)}};return k.useEffect(()=>n.registerCommand(Pl,g=>{if(!o)return!1;try{const p=g.clipboardData||window.clipboardData;if(!p||!p.getData("application/x-lexical-editor"))return!1;const y=p.getData("text/html");if(!y)return!1;const x=new DOMParser().parseFromString(y,"text/html"),C=bg(n,x);return qu(C),!0}catch{return!1}},Se),[n,o]),{triggerOnChangeCommand:c,onChangeValue:u,onBlurValue:d}}const yX={toolbar:{comment:!1,default:!0,editor:!1},componentPicker:{comment:!1,default:!0,editor:!0},floatingTextToolbar:{comment:!0,default:!0,editor:!0},floatingLinkEditor:{comment:!0,default:!0,editor:!0},actionMenu:{comment:!1,default:!0,editor:!0},mediaActions:{comment:!1,default:!0,editor:!0},richText:{comment:!0,default:!0,editor:!0},history:{comment:!1,default:!0,editor:!0},treeView:{comment:!1,default:!0,editor:!0},actionsInspector:{comment:!1,default:!0,editor:!0},onChange:{comment:!0,default:!0,editor:!0},blur:{comment:!0,default:!0,editor:!0},focus:{comment:!0,default:!0,editor:!0},autoFocus:{comment:!0,default:!0,editor:!0},placeholder:{comment:!0,default:!0,editor:!0},clearEditor:{comment:!0,default:!1,editor:!1},maxLength:{comment:!1,default:!0,editor:!0},emoji:{comment:!0,default:!0,editor:!0},hashtag:{comment:!1,default:!0,editor:!0},markdownShortcut:{comment:!1,default:!0,editor:!0},extendCode:{comment:!1,default:!0,editor:!0},codeHighlight:{comment:!1,default:!0,editor:!0},list:{comment:!0,default:!0,editor:!0},checkList:{comment:!0,default:!0,editor:!0},listMaxIndent:{comment:!0,default:!0,editor:!0},link:{comment:!0,default:!0,editor:!0},clickableLink:{comment:!0,default:!0,editor:!0},horizontalRule:{comment:!1,default:!0,editor:!0},tabFocus:{comment:!0,default:!0,editor:!0},tabIndentation:{comment:!0,default:!0,editor:!0},collapsible:{comment:!1,default:!0,editor:!0},callout:{comment:!1,default:!0,editor:!0},layout:{comment:!1,default:!0,editor:!0},table:{comment:!1,default:!0,editor:!0},draggableBlock:{comment:!1,default:!0,editor:!0},newParagraph:{comment:!0,default:!0,editor:!0},tableOfContents:{comment:!1,default:!0,editor:!0},embed:{comment:!1,default:!0,editor:!0},swagger:{comment:!1,default:!0,editor:!0},images:{comment:!1,default:!0,editor:!0},video:{comment:!1,default:!0,editor:!0},audio:{comment:!1,default:!0,editor:!0},file:{comment:!1,default:!0,editor:!0},excalidraw:{comment:!1,default:!0,editor:!0},childDocs:{comment:!1,default:!0,editor:!0},comment:{comment:!1,default:!0,editor:!0},form:{comment:!1,default:!0,editor:!0},select:{comment:!1,default:!0,editor:!0},shortcuts:{comment:!1,default:!0,editor:!0}};function bX(n,t){n.update(()=>{const e=window.getSelection();if(e&&e.rangeCount>0){const r=e.getRangeAt(0),s=r.startOffset,o=Math.max(0,s-t);r.setStart(r.startContainer,o),e.removeAllRanges(),e.addRange(r)}})}function BE(n){const t=/^(https?:\/\/)?[\w-]+(\.[\w-]+)+/,e=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return t.test(n)||e.test(n)}function wX({onChange:n}){const[t]=Ee(),e=k.useRef(null),r=k.useRef(""),s=k.useRef(!1);k.useEffect(()=>t.registerCommand(vb,()=>(t.update(()=>{const o=Z();if(!W(o))return!1;const i=o.anchor,l=i.getNode();if(oe(l)){const c=l.getTextContent().substring(0,i.offset),u=c.match(/(\S+)$/);if(u){const d=u[1],h=c.lastIndexOf(d),g=h>0?c[h-1]:"";if((g===""||g===" ")&&BE(d)){n(d,PE.SPACE);const p=xi(d,{rel:"noopener noreferrer",target:"_blank"}),m=ht(d);p.append(m);const y=h,w=y+d.length;o.anchor.set(l.__key,y,"text"),o.focus.set(l.__key,w,"text"),o.insertNodes([p]);const x=Z();W(x)&&(x.anchor.set(p.getKey(),d.length,"element"),x.focus.set(p.getKey(),d.length,"element")),p.selectEnd()}}}}),!1),bn),[t,n]),k.useEffect(()=>{const o=l=>{var u,d;const c=((u=l.clipboardData)==null?void 0:u.getData("text"))||((d=l.clipboardData)==null?void 0:d.getData("text/plain"));c&&BE(c)&&(s.current=!0,setTimeout(()=>{n(c,PE.PASTE),bX(t,c.length),t.dispatchCommand(vi,cl(c)),t.update(()=>{const h=Zt();Z()&&Ze(null),h==null||h.selectEnd()}),r.current=c,s.current=!1},10))},i=t.getRootElement();if(i)return i.addEventListener("paste",o),()=>{i.removeEventListener("paste",o),e.current&&clearTimeout(e.current)}},[t,n])}const PE={PASTE:"paste",SPACE:"space"};function CX({onChange:n}){return wX({onChange:n}),null}function xX(n){switch(n){case"phone":return"tel:";case"email":return"mailto:";case"sms":return"sms:";case"web":default:return"https://"}}function vX(n,t){if(!n)return!1;try{if(t==="phone"||n.startsWith("tel:")){const r=n.startsWith("tel:")?n.substring(4):n;return/^\+?[\d\s\-\(\)]+$/.test(r)&&/\d/.test(r)}if(t==="sms"||n.startsWith("sms:")){const r=n.startsWith("sms:")?n.substring(4):n;return/^\+?[\d\s\-\(\)]+$/.test(r)&&/\d/.test(r)}if(t==="email"||n.startsWith("mailto:")){const r=n.startsWith("mailto:")?n.substring(7):n;return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r)}if(t==="web"){const r=[".","::","://","https://","http://"],s=n.trim();if(!s||r.includes(s)||s.startsWith("://"))return!1;const o=s.startsWith("http://")||s.startsWith("https://")?s:`https://${s}`;try{const i=new URL(o);if(!th.has(i.protocol))return!1;const l=i.hostname;return l?l==="localhost"||l.includes(".")&&l.split(".").every(c=>c.length>0):!1}catch{return!1}}if(n.startsWith("http://")||n.startsWith("https://")){const r=new URL(n);return th.has(r.protocol)}const e=new URL(n);return th.has(e.protocol)}catch{return!1}}function OA(n,t){return!n||n.includes("://")||n.startsWith("tel:")||n.startsWith("mailto:")||n.startsWith("sms:")?n:xX(t)+n}function Wf(n){return n?n.startsWith("tel:")?"phone":n.startsWith("mailto:")?"email":n.startsWith("sms:")?"sms":(n.startsWith("http://")||n.startsWith("https://"),"web"):"web"}function xa(n){return n&&(n.startsWith("tel:")?n.substring(4):n.startsWith("mailto:")?n.substring(7):n.startsWith("sms:")?n.substring(4):n.startsWith("https://")?n.substring(8):n.startsWith("http://")?n.substring(7):n)}function SX(n){switch(n){case"phone":return"+79001234567";case"email":return"example@example.com";case"sms":return"+79001234567";case"web":default:return"https://"}}function kX(n){return n==="phone"||n==="sms"?"tel":n==="email"?"email":"text"}function EX(n){return n==="email"?"email":n==="phone"||n==="sms"?"phone":"url"}function UM(n){return(n==null?void 0:n.closest(".doc-space-editor-wrapper"))??null}function TX(n){return(n==null?void 0:n.closest(".dsd__theme__link"))??null}function _X(n){return!!UM(n)}function KM(n){return n?n.closest('[data-portal="true"]')?!0:!!(n.closest("[data-combobox-dropdown]")||n.closest(".mantine-Combobox-dropdown")||n.closest('[class*="Combobox-dropdown"]')):!1}function NX(n){return{top:n.y,left:n.x}}function IX(n){const t=n.getBoundingClientRect();return{top:t.y,left:t.x+t.width/2}}function MX(){const n=window.getSelection();return!n||n.rangeCount===0?null:n.getRangeAt(0).getBoundingClientRect()}function LX(){const n=window.getSelection();return!n||n.rangeCount===0?null:n.getRangeAt(0).startContainer.parentElement}function jE(n,t=!1){var s;if(!n)return;const e=document.createRange(),r=window.getSelection();return e.setStart(n,Number(t)),e.collapse(!0),r&&(r.removeAllRanges(),r.addRange(e)),(s=n.textContent)==null?void 0:s.length}function DX(n){const t=document.createRange(),e=window.getSelection();if(!e||e.rangeCount===0)return;const r=e.getRangeAt(0),s=r.startContainer,o=r.startOffset,i=o+n;if(s.nodeType===Node.TEXT_NODE){const l=s.length,c=Math.min(i,l);t.setStart(s,c),t.setEnd(s,c)}else{const l=s.childNodes[o];if(l&&l.nodeType===Node.TEXT_NODE){const c=l.length,u=Math.min(i,c);t.setStart(l,u),t.setEnd(l,u)}else return}t.collapse(!0),e.removeAllRanges(),e.addRange(t)}async function OX(n){try{return await navigator.clipboard.writeText(n),!0}catch{return!1}}function RX({showTextToolbar:n,updateLink:t}){const e=k.useRef(null),r=k.useRef(!1),s=k.useRef(null),o=k.useRef(null),i=k.useRef(null),[l,c]=k.useState(""),[u,d]=k.useState(""),[h,g]=k.useState(!0),[p,m]=k.useState(!1),[y,w]=k.useState(!1),[x,C]=k.useState("delete"),[v,_]=k.useState({top:0,left:0}),[N,E]=k.useState("web"),[T]=Ee(),I=k.useCallback(()=>{setTimeout(()=>{r.current=!1,C("delete"),c(""),m(!1),w(!1),E("web"),_({top:0,left:-999}),i.current=null,s.current=null,Si(!1,document.documentElement)})},[]),M=k.useMemo(()=>ul.debounce(q=>{if(!q||!UM(q)||r.current)return;const J=TX(q);if(J){const ee=T.getRootElement();if(!(ee!=null&&ee.contains(J)))return;const ie=J.getAttribute("href");if(_(IX(J)),ie){const ue=Wf(ie);E(ue),c(xa(ie))}else c("");w(!0),s.current=J}else I(),_({top:0,left:0})},300),[T,I]),O=k.useCallback(q=>{const K=Z();if(q==="create"&&(C("create"),r.current=!0,E("web"),c(""),Si(!0,document.documentElement)),W(K)){const ee=Ya(K),ie=ve(ee,Tn);if(i.current={anchorKey:K.anchor.key,anchorOffset:K.anchor.offset,anchorType:K.anchor.type,focusKey:K.focus.key,focusOffset:K.focus.offset,focusType:K.focus.type},ie){const ue=ie.getURL(),se=Wf(ue);E(se),c(xa(ue))}else if(Tn(ee)){const ue=ee.getURL(),se=Wf(ue);E(se),c(xa(ue))}}const J=K?MX():null;return J&&_(NX(J)),w(!0),!0},[]);k.useEffect(()=>{t.current&&(t.current.updateLinkEditor=()=>{const q=LX();r.current=!1,M(q),setTimeout(()=>{r.current=!0,C("edit")},300)})},[M,t]),k.useEffect(()=>{const q=ul.debounce(K=>{if(n.current)return;const J=K.target;J instanceof HTMLElement&&M(J)},150);return document.body.addEventListener("mouseover",q),()=>{document.body.removeEventListener("mouseover",q),q.cancel()}},[M,n]),k.useEffect(()=>{const q=ul.debounce(K=>{const J=K.target;if(!(J instanceof HTMLElement))return;const ee=_X(J),ie=KM(J);!ee&&!ie&&(I(),_({top:0,left:0}))},150);return document.addEventListener("mousemove",q),()=>{document.removeEventListener("mousemove",q),q.cancel()}},[I]),k.useEffect(()=>()=>{M.cancel()},[M]),k.useEffect(()=>Xe(T.registerCommand(nw,q=>(O(q),!0),Se)),[T,O]),k.useEffect(()=>{setTimeout(()=>{x&&e.current&&(e.current.focus(),setTimeout(()=>{e.current&&e.current.select()}),T.read(()=>{const q=Z();if(W(q)){o.current=Zt();const K=Ya(q);ve(K,Tn)&&K&&d(K.getTextContent())}}))})},[T,x]);const P=k.useCallback(()=>{const q=Z();if(W(q))return!0;const K=i.current;if(K){const ee=be(K.anchorKey),ie=be(K.focusKey);if(ee&&ie){const ue=Go();return ue.anchor.set(K.anchorKey,K.anchorOffset,K.anchorType),ue.focus.set(K.focusKey,K.focusOffset,K.focusType),Ze(ue),!0}}const J=o.current;if(!J)return!1;if(oe(J))return J.select(0,J.getTextContentSize()),!0;if(Y(J)){const ee=J.getFirstDescendant();if(oe(ee))return ee.select(0,ee.getTextContentSize()),!0}return!1},[]),F=k.useCallback(()=>{const q=OA(l,N);if(vX(q,N)&&q)m(!1);else{m(!0);return}T.update(()=>{if(!P())return;const K=Z();if(!W(K))return;const J=Ya(K),ee=J?J.getParent():null,ie=(ll(J)?J:null)??(ll(ee)?ee:null);if(!ie)T.dispatchCommand(vi,cl(q)),x==="edit"&&J&&Kn(J)&&(J.setTextContent(u),J.selectEnd());else{const ue=ht(u),se=ie.getParent();se&&(ie.remove(),se.append(ue),T.dispatchCommand(vi,cl(q)),ue.selectEnd())}}),setTimeout(()=>{I()})},[T,x,l,N,I,P,u]),z=k.useCallback(q=>{q.key==="Enter"?(q.preventDefault(),F()):q.key==="Escape"&&q.preventDefault()},[F]),H=q=>{p&&m(!1),c(q)},te=q=>{if(p&&m(!1),E(q),l){const K=Wf(l);K!=="web"&&K!==q&&c(xa(l));const J=xa(l),ee=OA(J,q);c(xa(ee))}},le=()=>{setTimeout(()=>{jE(s.current),C("edit"),Si(!0,document.documentElement),r.current=!0},100)},ce=()=>{const q=cl(l)||"";g(!1),OX(q).finally(()=>{setTimeout(()=>{g(!0)},300)})},ne=()=>{const q=jE(s.current)||0;setTimeout(()=>{T.dispatchCommand(vi,null),I(),setTimeout(()=>{DX(q)})})},X=x==="edit",he=cl(OA(l,N));return{inputRef:e,isOpen:y,position:v,linkUrl:l,textUrl:u,setTextUrl:d,error:p,copied:h,isLinkEditMode:x,isShowEditTextLink:X,safeLinkUrl:he,linkType:N,reset:I,onUrlInputChange:H,onLinkTypeChange:te,onUrlInputKeyDown:z,onSubmit:F,onEditClick:le,onCopyClick:ce,onRemoveClick:ne}}function BX({onClick:n}){return A.jsx(D.ActionIcon,{size:"20",variant:"filled",radius:"4",bg:"var(--mantine-primary-color-light, rgba(76, 110, 245, 0.1))",onClick:n,"data-test-id":"floating-link-save",children:A.jsx($.IconCheck,{size:16,color:"var(--primary-color-text, #4C6EF5)"})})}function WM({inputRef:n,linkUrl:t,linkType:e,error:r,onLinkTypeChange:s,onUrlInputChange:o,onUrlInputKeyDown:i,onSubmit:l}){const{t:c}=ot.useTranslation();return A.jsxs(D.Group,{wrap:"nowrap",gap:0,children:[A.jsx(pI,{data:[{value:"web",label:c("editor.link.type.web")},{value:"phone",label:c("editor.link.type.phone")},{value:"email",label:c("editor.link.type.email")},{value:"sms",label:c("editor.link.type.sms")}],comboboxProps:{width:200,position:"bottom-start"},value:e,onChange:u=>{u&&s(u)},placeholder:"Web link","data-test-id":"floating-link-type-select",inputClassName:"editor-select__input--create-mode"}),A.jsx(D.Divider,{orientation:"vertical",my:0,className:"floating-link-divider"}),A.jsx(D.Input,{ref:n,value:t,error:r,type:kX(e),name:EX(e),size:"sm",rightSectionPointerEvents:l?"auto":void 0,styles:{input:{borderTopLeftRadius:0,borderBottomLeftRadius:0,borderLeft:0,width:200}},placeholder:SX(e),"data-test-id":"floating-link-url-input",onChange:u=>{o(u.target.value)},onKeyDown:i,rightSection:l?A.jsx(BX,{onClick:l}):void 0})]})}function PX({linkUrl:n,safeLinkUrl:t,linkType:e,copied:r,onEditClick:s,onCopyClick:o,onRemoveClick:i}){const{t:l}=ot.useTranslation();return A.jsxs(D.Stack,{gap:0,children:[A.jsxs(D.Group,{wrap:"nowrap",pl:"sm",gap:"xs",children:[A.jsx(we,{name:"link"}),A.jsx(D.Tooltip,{label:n,zIndex:1e3,openDelay:500,children:A.jsx(D.Anchor,{href:t,target:e==="web"?"_blank":void 0,rel:e==="web"?"noopener noreferrer":void 0,truncate:!0,w:300,children:n})})]}),A.jsx(D.Button,{tabIndex:0,onMouseDown:c=>c.preventDefault(),onClick:s,leftSection:A.jsx(we,{name:"pencil"}),justify:"left",size:"sm",color:"#000",style:{border:0},variant:"default","data-test-id":"floating-link-edit",children:l("editor.link.edit")}),A.jsx(D.Button,{tabIndex:0,onMouseDown:c=>c.preventDefault(),onClick:o,leftSection:A.jsx(we,{size:16,name:r?"copy":"check-mark"}),justify:"left",size:"sm",color:"#000",variant:"default",style:{border:0},"data-test-id":"floating-link-copy",children:l("editor.link.copy")}),A.jsx(D.Button,{tabIndex:0,onMouseDown:c=>c.preventDefault(),onClick:i,leftSection:A.jsx(we,{size:16,name:"trash",color:"red"}),justify:"left",size:"sm",color:"#000",variant:"default",style:{border:0},"data-test-id":"floating-link-remove",children:l("editor.link.remove")})]})}function jX({inputRef:n,textUrl:t,linkUrl:e,linkType:r,error:s,setTextUrl:o,onLinkTypeChange:i,onUrlInputChange:l,onUrlInputKeyDown:c,onCancel:u,onSave:d}){const{t:h}=ot.useTranslation();return A.jsxs(D.Box,{p:10,children:[A.jsxs(D.Stack,{gap:5,mb:10,children:[A.jsx(D.Text,{fw:500,size:"xs",children:h("editor.link.link")}),A.jsx(WM,{inputRef:n,linkUrl:e,linkType:r,error:s,onLinkTypeChange:i,onUrlInputChange:l,onUrlInputKeyDown:c})]}),A.jsxs(D.Stack,{gap:5,children:[A.jsx(D.Text,{fw:500,size:"xs",children:h("editor.link.name")}),A.jsx(D.Input,{ref:n,value:t,size:"sm",placeholder:h("editor.link.linkName"),"data-test-id":"floating-link-text-input",onChange:g=>{o(g.target.value)},onKeyDown:c})]}),A.jsxs(D.Group,{justify:"flex-end",mt:16,children:[A.jsx(D.Button,{h:30,variant:"subtle",color:"gray",onClick:u,children:h("editor.cancel")}),A.jsx(D.Button,{h:30,type:"submit",onClick:d,children:h("editor.link.save")})]})]})}function FX({showTextToolbar:n,updateLink:t}){const{inputRef:e,isOpen:r,position:s,linkUrl:o,textUrl:i,setTextUrl:l,error:c,copied:u,isLinkEditMode:d,isShowEditTextLink:h,safeLinkUrl:g,linkType:p,reset:m,onUrlInputChange:y,onLinkTypeChange:w,onUrlInputKeyDown:x,onSubmit:C,onEditClick:v,onCopyClick:_,onRemoveClick:N}=RX({showTextToolbar:n,updateLink:t}),E=Za.useClickOutside(T=>{const I=T.target;KM(I)||m()});return A.jsx(A.Fragment,{children:A.jsxs(D.Popover,{width:320,opened:r,position:"bottom",offset:10,transitionProps:ao,withArrow:d==="delete",zIndex:102,children:[A.jsx(D.Popover.Target,{children:A.jsx("div",{style:{position:"fixed",left:s.left,top:s.top+8,width:10,height:10,background:"transparent"}})}),A.jsx(D.Popover.Dropdown,{bdrs:"10px",className:`floating-link-dropdown floating-link-dropdown--${d}-mode`,"data-test-id":"floating-link-dropdown",children:A.jsx("div",{ref:E,children:{create:A.jsx(WM,{inputRef:e,linkUrl:o,linkType:p,error:c,onLinkTypeChange:w,onUrlInputChange:y,onUrlInputKeyDown:x,onSubmit:C}),edit:A.jsx(jX,{inputRef:e,textUrl:i,linkUrl:o,linkType:p,error:c,setTextUrl:l,onLinkTypeChange:w,onUrlInputChange:y,onUrlInputKeyDown:x,onCancel:m,onSave:C}),delete:A.jsx(PX,{linkUrl:o,safeLinkUrl:g,linkType:p,copied:u,onEditClick:v,onCopyClick:_,onRemoveClick:N})}[d==="delete"?"delete":h?"edit":"create"]})})]})})}function zX(n){const[t]=Ee(),e=k.useRef({updateLinkEditor:()=>{}}),r=ul.debounce(()=>{t.update(()=>{e.current.updateLinkEditor()})},200);return A.jsxs(A.Fragment,{children:[A.jsx(CX,{onChange:(...s)=>{s[1]==="paste"&&r()}}),Dr.createPortal(A.jsx(FX,{showTextToolbar:n,updateLink:e}),document.body)]})}function UX({showTextToolbar:n}){return zX(n)}function KX(){const[n]=Ee();return pX(n),null}const FE=k.lazy(()=>Promise.resolve().then(()=>require("./layers.-tk2dEG5.js")));function We(n,t){const e=yX[n];return e?e[t]:!0}function WX(n){const{onRef:t,floatingAnchorElem:e,isSmallWidthViewport:r,maxHeight:s,showTextToolbar:o,mode:i,isLoading:l,editor:c,onBlur:u,onFocus:d,onChange:h,outputFormat:g,debounceMs:p}=n,m=i==="editor",y=i==="comment",[w,x]=k.useState(!1),{excludeNodes:C}=k.useContext(Mt),{settings:{isRichText:v,showTreeView:_,isMaxLength:N}}=gw(),{historyState:E}=pw(),{triggerOnChangeCommand:T,onChangeValue:I,onBlurValue:M}=AX({editor:c,outputFormat:g,debounceMs:p,onChange:h,onBlur:u,isCommentVariant:y,checkIsEmpty:Hy,onChangeCommand:Ro});let O={};s?O={maxHeight:s}:m&&(O={overflowY:"hidden"});const P=m?A.jsx("div",{className:"editor-scroller",style:O,children:A.jsx("div",{className:"editor",ref:t,children:A.jsx("div",{className:"content-editable-wrapper",children:A.jsx("div",{children:A.jsx(Cb,{})})})})}):A.jsx("div",{className:"editor-scroller",style:O,children:A.jsx("div",{className:"editor",ref:t,children:A.jsx(Cb,{})})});return A.jsxs(A.Fragment,{children:[We("toolbar",i)&&!m&&A.jsx(NE,{mode:i}),We("componentPicker",i)&&A.jsx(zZ,{mode:i,opened:w,setOpenedMenu:x}),We("history",i)&&A.jsx(u2,{externalHistoryState:E}),We("floatingTextToolbar",i)&&e&&!r&&(m?A.jsx(sb,{anchorElem:e,component:A.jsx(NE,{mode:i,isFloating:!0})}):A.jsx(sb,{anchorElem:e})),A.jsxs("div",{className:`editor-container ${v?"":"plain-text"}`,children:[We("placeholder",i)&&A.jsx(ZZ,{}),We("autoFocus",i)&&A.jsx(UZ,{isLoading:l}),We("emoji",i)&&A.jsx(mG,{}),We("hashtag",i)&&A.jsx(M7,{}),We("clearEditor",i)&&A.jsx(E7,{}),We("richText",i)&&A.jsx(wI,{contentEditable:P,ErrorBoundary:bI}),We("markdownShortcut",i)&&A.jsx(OG,{}),We("shortcuts",i)&&A.jsx(GV,{editor:c,setIsLinkEditMode:()=>{}}),We("extendCode",i)&&A.jsx(KX,{}),We("codeHighlight",i)&&A.jsx(DY,{}),We("list",i)&&A.jsx(MG,{}),We("checkList",i)&&A.jsx(MY,{}),We("listMaxIndent",i)&&A.jsx(NG,{maxDepth:7}),We("link",i)&&A.jsx(AM,{}),We("comment",i)&&A.jsx($Y,{}),FE&&We("excalidraw",i)&&A.jsx(k.Suspense,{children:A.jsx(FE,{})}),We("swagger",i)&&A.jsx(dZ,{}),We("childDocs",i)&&A.jsx(LY,{}),We("newParagraph",i)&&!_&&A.jsx(BG,{}),We("form",i)&&A.jsx(SG,{}),We("video",i)&&!C.video&&A.jsx(YW,{}),We("audio",i)&&!C.audio&&A.jsx(BW,{}),We("file",i)&&!C.file&&A.jsx(w7,{}),We("embed",i)&&A.jsx(iZ,{}),We("images",i)&&!C.photo&&A.jsx(b7,{}),We("onChange",i)&&A.jsx(O7,{ignoreSelectionChange:!0,onChange:(F,z)=>{I(F,z),T(z)}}),We("maxLength",i)&&N&&A.jsx(RG,{maxLength:30}),We("blur",i)&&A.jsx(AY,{onBlur:M}),We("focus",i)&&A.jsx(xG,{onFocus:d}),We("treeView",i)&&_&&A.jsx(iX,{}),We("actionsInspector",i)&&_&&A.jsx(gY,{isRichText:!0,shouldPreserveNewLinesInMarkdown:!0}),We("select",i)&&A.jsx(dV,{editor:c}),We("clickableLink",i)&&A.jsx(T7,{}),We("horizontalRule",i)&&A.jsx(L7,{}),We("tabFocus",i)&&A.jsx(XV,{}),We("tabIndentation",i)&&A.jsx(eQ,{}),We("collapsible",i)&&A.jsx(XY,{}),We("callout",i)&&A.jsx(_Y,{}),We("layout",i)&&A.jsx(cZ,{}),We("table",i)&&e&&(m||!r)&&A.jsx(TQ,{floatingAnchorElem:e,isSmallWidthViewport:r}),We("draggableBlock",i)&&e&&!r&&A.jsx(aG,{isShowAddButton:!0,anchorElem:e}),e&&A.jsxs(A.Fragment,{children:[We("floatingLinkEditor",i)&&A.jsx(UX,{showTextToolbar:o}),We("actionMenu",i)&&A.jsx(q7,{anchorElem:e}),We("mediaActions",i)&&A.jsx(Q7,{anchorElem:e})]})]}),We("tableOfContents",i)&&(m?C.contents&&A.jsx(wb,{}):(C.contents||C.contents===void 0)&&A.jsx(wb,{})),We("emptyPage",i)&&m&&A.jsx(mX,{editor:c})]})}const HX=n=>{const t=Z(),e=Zt(),r=e==null?void 0:e.getParent(),s=r==null?void 0:r.getParent();if(e){if(Tw())return Me().clear(),t.insertParagraph(),!0;if(s instanceof Wo||s instanceof Di)return GY();if(r instanceof wr)return fZ()}return!1},YX=(n,t)=>{var e,r,s,o,i,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=Re(n.target))==null||r.selectEnd(),c[0].type.includes("video")&&((s=t.current)!=null&&s.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")&&((i=t.current)!=null&&i.insertMusics)?t.current.insertMusics(c):(l=t.current)!=null&&l.insertFiles&&(t==null||t.current.insertFiles(c))),!0}return!1},zE=()=>{const n=Zt(),t=n==null?void 0:n.getParent();return n&&Ku(t)?VY():!1},UE=()=>{const n=Zt(),t=n==null?void 0:n.getParent();return n&&ml(t)?JY():!1},ZX=n=>{const t=Z();if(!W(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 s=Ce();return s.append(...r.getChildren()),r.replace(s),n.preventDefault(),!0}}return!1};function GX(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 s=r[0];return s.tagName!=="IMG"||e.textContent&&e.textContent.trim().length>0?null:s.getAttribute("src")||""||null}const JX=(n,t,e)=>{var o,i;const r=Zt(),s=r==null?void 0:r.getParent();if(r){if(ml(s))return QY(n);if(xc(s))(i=(o=e.current)==null?void 0:o.onDeleteCallout)==null||i.call(o,t);else{if(Ks(s))return aZ(n);if(ut(s))return ZX(t);if(sp(s))return gZ(n)}}return!1},VX=(n,t)=>{const e=t.ctrlKey||t.metaKey,r=t.shiftKey,s=t.code==="KeyZ";return e&&r&&s?(t.preventDefault(),n.dispatchCommand(jl,void 0),!0):!1},QX=(n,t,e,r,s)=>{var l,c;if(s)return r.preventDefault(),r.key==="Enter"&&r.shiftKey&&t.insertParagraph(),!0;const o=Zt(),i=o==null?void 0:o.getParent();if(o){if(i instanceof Rr)return lZ(n);if(i instanceof Wo)return ZY(n);if(i instanceof $l)return CY(n);if(i instanceof ws)return EQ(n);if(i instanceof Br||Rr)return NY()}return(c=(l=e.current)==null?void 0:l.decoratorEnterAction)==null||c.call(l),!1};function XX(n,t){var e,r,s,o,i,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")&&((s=t.current)!=null&&s.insertVideos)?t.current.insertVideos(d):h.type.includes("image")&&((o=t.current)!=null&&o.insertImages)?t.current.insertImages(d):h.type.includes("audio")&&((i=t.current)!=null&&i.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(GX(d))return!0}return!1}function qX(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 $X(n){const{mode:t,maxHeight:e,disable:r,isErrorWs:s,content:o,isLoading:i,imperativeHandleRef:l,editorRef:c,onBlur:u,onFocus:d,onChange:h,outputFormat:g,debounceMs:p}=n,[m,y]=k.useState(null),[w,x]=k.useState(!1),C=k.useRef(!1),[v,..._]=Ee(),{shiftEnterInsertNewLine:N}=k.useContext(Mt);S7({editor:v}),k.useEffect(()=>{v&&(v.setEditable(!r),c&&(c.current=v),s&&v.update(()=>{if(typeof o=="string"){Me().clear();const O=new DOMParser().parseFromString(o,"text/html"),P=bg(v,O);Me().select(),qu(P)}else{const I=v.parseEditorState(JSON.stringify(o));v.setEditorState(I)}}))},[s]),k.useEffect(()=>{function I(){v.dispatchCommand(jy,!0)}function M(P){const F=P.target,H=(F.tagName.toLowerCase()==="img"?F.closest("div.resizable-container__inner"):null)||qX(F);if(!H||F.classList.contains("dsd__theme__table-scrollable-wrapper"))return;(H.classList.contains("selected-block")||H.querySelector(".selected-block"))&&(P.preventDefault(),v.dispatchCommand(eI,{x:P.clientX,y:P.clientY,target:H}))}window.addEventListener("scroll",I);const O=v.getRootElement();return O==null||O.addEventListener("contextmenu",M),()=>{window.removeEventListener("scroll",I),O==null||O.removeEventListener("contextmenu",M)}},[v]);const E=I=>{I!==null&&y(I)};k.useEffect(()=>{const I=M=>{const O=navigator.platform.toUpperCase().includes("MAC"),P=O&&M.metaKey&&!M.shiftKey&&M.code==="KeyZ"||!O&&M.ctrlKey&&!M.shiftKey&&M.code==="KeyZ",F=O&&M.metaKey&&M.shiftKey&&M.code==="KeyZ"||!O&&M.ctrlKey&&M.shiftKey&&M.code==="KeyZ";P&&(M.preventDefault(),v.dispatchCommand(ac,void 0)),F&&(M.preventDefault(),v.dispatchCommand(jl,void 0))};return Xe(v.registerCommand(cg,()=>(window.addEventListener("keydown",I),!1),Se),v.registerCommand(ji,()=>(window.removeEventListener("keydown",I),!1),Se))},[v]),k.useEffect(()=>{const I=()=>{const M=wc&&window.matchMedia("(max-width: 600px)").matches;M!==w&&x(M)};return I(),window.addEventListener("resize",I),()=>{window.removeEventListener("resize",I)}},[w]),k.useEffect(()=>Xe(v.registerCommand(Cl,I=>{const M=Z();return QX(v,M,l,I,N)},Se),v.registerCommand(Ws,()=>HX(),Se),v.registerCommand(cc,I=>Z()?(v.blur(),Ze(null),No(I),!0):!1,Se),v.registerCommand(Fl,I=>VX(v,I),Se),v.registerCommand(Xs,()=>UE(),Se),v.registerCommand(lg,()=>UE(),Se),v.registerCommand(Ti,()=>zE(),Se),v.registerCommand(Pl,I=>XX(I,l),Se),v.registerCommand(Sb,I=>YX(I,l),_o),v.registerCommand(ig,()=>zE(),Se),v.registerCommand(Po,()=>{const I=Z();I.format=0,I.setStyle("");const M=I.insertParagraph();return M&&(M.__format=0),!0},Se),v.registerCommand(zl,I=>JX(v,I,l),_o)),[v]);const T={onRef:E,floatingAnchorElem:m,isSmallWidthViewport:w,maxHeight:e,showTextToolbar:C,mode:t,isLoading:i,editor:v,onBlur:u,onFocus:d,onChange:h,outputFormat:g,debounceMs:p};return A.jsx(WX,{...T})}const HM=[{replace:Mn,with:n=>new Uo(n.getTextContent()),withKlass:Uo},{replace:Ci,with:n=>new wr(!1),withKlass:wr},{replace:hd,with:n=>new vs(n.__ids),withKlass:vs}],eq=[pd,Br,xn,Ug,xs,ws,Cc,jg,Fg,Xl,D2,qo,Uo,np,Jg,ep,zg,ea,kc,md,hd,Rl,Wo,Di,Ad,ss,Rr,Ts,rc,Ho,$l,vs,Oi,wr,bd,Tc,Ll,yd,Ec,ta,Ri,...HM.map(n=>n)],tq=n=>n==="comment"?[Br,xn,Fg,Xl,D2,qo,Uo,wr,Ll,...HM.map(t=>t)]:eq,nq=k.createContext({cellEditorConfig:null,cellEditorPlugins:null,set:()=>{}});function rq({children:n}){const[t,e]=k.useState({cellEditorConfig:null,cellEditorPlugins:null});return A.jsx(nq.Provider,{value:k.useMemo(()=>({cellEditorConfig:t.cellEditorConfig,cellEditorPlugins:t.cellEditorPlugins,set:(r,s)=>{e({cellEditorConfig:r,cellEditorPlugins:s})}}),[t.cellEditorConfig,t.cellEditorPlugins]),children:n})}function sq(n){const t=new URL(n),e=`${t.origin}${t.pathname}`,r=t.searchParams.get("token");return{baseUrl:e,token:r}}function oq(n,t,e="http://localhost"){const r=iq(n,t),{baseUrl:s,token:o}=sq(e);let i={};return o&&(i={params:{token:o}}),new b2(s,n,r,{connect:!1,...i})}function iq(n,t){let e=t.get(n);return e===void 0?(e=new eo,t.set(n,e)):e.load(),e}const lq=Ry?"":"os-windows",YM=({children:n})=>A.jsx("div",{className:`doc-space-styles-provider ${lq}`,children:n}),Mt=k.createContext({maxFileSize:5,disable:!1,excludeNodes:{},imagePickerSettings:{},pages:[]}),ZM=({initialContent:n,onChange:t,outputFormat:e,mode:r,maxHeight:s,onBlur:o,onFocus:i,fetchUploadMedia:l,fetchPromptResult:c,fetchDeleteMedia:u,fetchRestoreMedia:d,pageId:h,commentController:g,maxFileSize:p,contentModalUploadImage:m,maxImageSizeError:y,debounce:w,disable:x,ws:C,excludeNodes:v={},imagePickerSettings:_={},childPages:N,language:E,shiftEnterInsertNewLine:T,editorRef:I,placeholder:M})=>{const O=r||"default",P=n||"<p></p>";let F=!!(C!=null&&C.url);const{historyState:z}=pw(),H=k.useRef({}),te=k.useRef(null),[le,ce]=k.useState("initial"),[ne,X]=k.useState(null),he=k.useCallback(se=>{se.update(()=>{if(typeof P=="string"){const Ne=new DOMParser().parseFromString(P,"text/html"),pe=bg(se,Ne);Me().select(),qu(pe)}})},[]),q=k.useMemo(()=>(window.editorAppVersion=`version @layers-app/editor:${sU.version}`,O==="comment"&&document.body.setAttribute("mode","true"),{editorState:null,namespace:"layers",nodes:tq(O),onError:se=>{throw se},theme:l9(O)}),[]);k.useEffect(()=>{E&&Sy.changeLanguage(E)},[E]);const K=()=>typeof P=="string"?he:JSON.stringify(P),J=k.useCallback((se,Ae)=>{const Ne=oq(se,Ae,C==null?void 0:C.url);return Ne.on("status",pe=>{pe.status==="connecting"&&ce(pe.status)}),setTimeout(()=>X(Ne),0),Ne},[]),ee=k.useCallback(()=>{var pe;const se=ne.awareness,Ne=Array.from(se.getStates().entries()).map(([Ie,$e])=>({id:String(Ie),userId:Ie,name:$e.name,color:$e.color,awarenessData:$e.awarenessData})).filter((Ie,$e,pt)=>$e===pt.findIndex(Ye=>Ye.name===Ie.name));(pe=C==null?void 0:C.getActiveUsers)==null||pe.call(C,Ne)},[ne]);k.useEffect(()=>{if(ne!=null)return ne.awareness.on("update",ee),()=>ne.awareness.off("update",ee)},[ne,ee]),k.useEffect(()=>{if(ne!=null&&ne.ws){const se=ne.ws;let Ae=0;se?(se.addEventListener("message",Ne=>{if(typeof Ne.data!="string"){Ae===1&&ce("connected"),Ae++;return}const pe=JSON.parse(Ne.data);pe["active-users"]&&console.log("message",pe["active-users"]),pe.error&&(pe.error==="Unauthorized"?(console.error("Connection unauthorized: You are not authorized to access this WebSocket."),ne.disconnect()):pe.error==="No token provided"?(console.error("No token provided: You must provide a token."),ne.disconnect()):(console.error("Unknown error:",pe.error),ne.disconnect()),ce("error"))}),se.addEventListener("close",Ne=>{console.error("WebSocket connection closed:",Ne),ce("error")})):console.error("WebSocket is not initialized yet.")}},[ne==null?void 0:ne.ws]),k.useEffect(()=>()=>{ne instanceof b2&&(ne.destroy(),ne.disconnect())},[ne]),F||(q.editorState=K());const ie=le==="connecting"&&F,ue=k.useMemo(()=>{const se={...v};return l||(se.photo=!0,se.video=!0,se.audio=!0,se.file=!0),r!=="editor"&&(se.childDocs=!0),{fetchDeleteMedia:u,fetchUploadMedia:l,fetchRestoreMedia:d,fetchPromptResult:c,maxFileSize:p||5,contentModalUploadImage:m,maxImageSizeError:y,shiftEnterInsertNewLine:T,commentController:g,disable:x||!1,mode:O,excludeNodes:se,imagePickerSettings:_,imperativeHandleRef:H,maxHeight:s,pages:(N==null?void 0:N.items)??[],childPagesLoading:(N==null?void 0:N.isLoading)??!1,placeholder:M}},[N,h,g,M]);return A.jsx(Mt.Provider,{value:ue,children:A.jsx(ot.I18nextProvider,{i18n:Sy,children:A.jsx(YM,{children:A.jsxs(BH,{children:[A.jsx("div",{ref:te}),A.jsxs("div",{className:`doc-space-editor-wrapper ${O}`,children:[A.jsx(D.LoadingOverlay,{visible:ie,overlayProps:{radius:"sm",blur:2}}),A.jsx(G7,{children:A.jsx(w3,{children:A.jsxs(S6,{initialConfig:q,children:[C&&le!=="error"?A.jsx(w6,{id:C.id,providerFactory:J,username:C.user.name,cursorColor:C.user.color,awarenessData:C.user.awarenessData,shouldBootstrap:!0,cursorsContainerRef:te,initialEditorState:K()}):A.jsx(u2,{externalHistoryState:z}),A.jsx(J7,{children:A.jsx(rq,{children:A.jsx(hV,{children:A.jsx(iK,{children:A.jsx("div",{className:"editor-shell",children:A.jsx($X,{editorRef:I,maxHeight:s,mode:O,disable:x||!1,isErrorWs:le==="error",content:P,isLoading:ie,imperativeHandleRef:H,onBlur:o,onFocus:i,onChange:t,outputFormat:e,debounceMs:w})})})})})})]})})})]})]})})})})};function aq(n,t=!1){n.focus(),n.update(()=>{var r,s;const e=Me();t?(e.selectStart(),(r=e.getFirstChild())==null||r.selectEnd()):(e.selectEnd(),(s=e.getLastChild())==null||s.selectEnd())})}exports.$createExcalidrawNode=sI;exports.$createNewParagraph=mI;exports.$isExcalidrawNode=CW;exports.$isImageNode=sc;exports.$isInlineImageNode=_W;exports.AlignmentImage=aw;exports.Button=Xy;exports.CREATE_TEMPLATE=$2;exports.Context=Mt;exports.Editor=ZM;exports.Ee=cc;exports.EmptyNodeButton=vc;exports.ExcalidrawNode=Ri;exports.FloatingTextFormatToolbarPlugin=sb;exports.Icon=we;exports.Ie=kb;exports.ImagePicker=RM;exports.Je=ag;exports.Ki=Fe;exports.L=wI;exports.LexicalContentEditable=Cb;exports.LinkPlugin=AM;exports.Lr=Z;exports.Ne=Cl;exports.Oe=uc;exports.ResizableContainer=rw;exports.StylesProvider=YM;exports.U=Xe;exports.UPLOAD_IMAGE_COMMAND=AI;exports.Ve=ji;exports.Xi=gg;exports.a=fw;exports.at=nT;exports.commonjsGlobal=ol;exports.deleteNode=uw;exports.focusEditor=aq;exports.getCurrentElement=Zt;exports.getDefaultExportFromCjs=fU;exports.ie=Qr;exports.ji=DT;exports.l=Xb;exports.mediaMap=Yr;exports.n=bI;exports.o=Ee;exports.parseContainerSize=Uh;exports.r=qb;exports.re=ye;exports.se=Zo;exports.t=b_;exports.toggleLockScroll=Si;exports.u=Rg;exports.useCancelUpload=Bg;exports.useModal=cp;exports.useSettings=gw;exports.useSharedHistoryContext=pw;exports.we=zl;exports.wo=Ze;exports.xo=be;exports.xr=Kt;exports.zi=Se;
|