@layers-app/editor 0.7.55 → 0.7.58
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/{layers.LCZGSRy6.js → layers.3PAc2hoS.js} +1 -1
- package/dist/{layers.dfo38mX1.js → layers.3f3B3eee.js} +1 -1
- package/dist/{layers.BIwtIWQU.js → layers.4hAgJabc.js} +1 -1
- package/dist/{layers.NPJ5Js3a.js → layers.5YLLghFm.js} +1 -1
- package/dist/{layers.CTeHt45V.js → layers.5iwEZ4TJ.js} +5 -5
- package/dist/{layers.DL8bKt4E.js → layers.5ql7dHqM.js} +1 -1
- package/dist/{layers.BTdB80z4.js → layers.5rH_0NRh.js} +1 -1
- package/dist/{layers.CiLURBtx.js → layers.7WEVWerd.js} +1 -1
- package/dist/{layers.DwXrF0qF.js → layers.81S5fiI8.js} +1 -1
- package/dist/{layers.BbZqPaRS.js → layers.9zNbYgW-.js} +1 -1
- package/dist/{layers.CHglc8Ui.js → layers.A7Z1rs1H.js} +3 -3
- package/dist/{layers.DBX_CuLl.js → layers.AVRONU85.js} +1 -1
- package/dist/{layers.Dj9uwTss.js → layers.B280pDIr.js} +1 -1
- package/dist/{layers.DLJLhSaE.js → layers.B384Mjf6.js} +2 -2
- package/dist/{layers.DVPzmGv_.js → layers.B4CgZmEa.js} +1 -1
- package/dist/{layers.H8osS8E_.js → layers.B4GEcpvc.js} +1 -1
- package/dist/{layers.BK-DO1AB.js → layers.B6E_ItlD.js} +1 -1
- package/dist/{layers.fk7FqDEt.js → layers.B7WjIDxH.js} +1 -1
- package/dist/{layers.CCdGQTqF.js → layers.B7w5mtEw.js} +1 -1
- package/dist/{layers.DgYExs_N.js → layers.B88oLu3i.js} +4 -4
- package/dist/{layers.C-emr4BX.js → layers.B9ITCMSl.js} +1 -1
- package/dist/{layers.By2Ef9oj.js → layers.BACfemIU.js} +1 -1
- package/dist/{layers.DInOe02l.js → layers.BDsBWpHr.js} +1 -1
- package/dist/{layers.TO5URHsL.js → layers.BFVvbEO5.js} +1 -1
- package/dist/{layers.C9z4aSnS.js → layers.BFeBtM4V.js} +1 -1
- package/dist/{layers.C19VIgpM.js → layers.BHJ2Xesy.js} +1 -1
- package/dist/{layers.CSBWJt7t.js → layers.BIDmU-2s.js} +4 -4
- package/dist/{layers.DT291ioH.js → layers.BIuvUMAj.js} +24 -24
- package/dist/{layers.BCHmxuKJ.js → layers.BL5_8sWa.js} +1 -1
- package/dist/{layers.IDoBUuHg.js → layers.BLzdwf0i.js} +3 -3
- package/dist/{layers.UZee_nWU.js → layers.BMYPzQHX.js} +1 -1
- package/dist/{layers.CAW0c4ah.js → layers.BNgwJ7Ui.js} +1 -1
- package/dist/{layers.C6bKvsWm.js → layers.BOg3LdUZ.js} +1 -1
- package/dist/{layers.8HB6-S-F.js → layers.BQqCEYRO.js} +1 -1
- package/dist/{layers.CrDsQNhW.js → layers.BRQ90fSE.js} +3 -3
- package/dist/{layers.DzZ7EBgM.js → layers.BRd_HTMJ.js} +1 -1
- package/dist/{layers.BVlLBZ9u.js → layers.BSN9xZbA.js} +1 -1
- package/dist/layers.BT-eZnCi.js +1 -0
- package/dist/{layers.RrOikZYr.js → layers.BTAdbD1k.js} +1 -1
- package/dist/{layers.MePwo3db.js → layers.BTBOJ25y.js} +1 -1
- package/dist/{layers.Dpzx1d2W.js → layers.BUl4cUc3.js} +1 -1
- package/dist/{layers.Dhdhp-8a.js → layers.BXsZNqwF.js} +1 -1
- package/dist/{layers.C76IhzZx.js → layers.BaSQQH4b.js} +1 -1
- package/dist/{layers.bm7QGEHR.js → layers.BbsG9_9M.js} +1 -1
- package/dist/{layers.CXpS1NJN.js → layers.Be9TjB68.js} +1 -1
- package/dist/{layers.Bf1d2Xbj.js → layers.Bgrp4Yt7.js} +1 -1
- package/dist/{layers.DN2yCZc6.js → layers.BhmKArQD.js} +3 -3
- package/dist/{layers.EVmyRIRe.js → layers.BiGn74C8.js} +1 -1
- package/dist/{layers.CO0kgoUP.js → layers.Bjn3bXHn.js} +2 -2
- package/dist/{layers.B1-qVIJr.js → layers.BknNIeNu.js} +1 -1
- package/dist/{layers.DOqwjKu4.js → layers.BkpkTBq8.js} +1 -1
- package/dist/{layers.DjYzAAgz.js → layers.BkzkFhMY.js} +1 -1
- package/dist/{layers.mWVehSpG.js → layers.Bm-cD8T6.js} +1 -1
- package/dist/{layers.oUlUXuKV.js → layers.Bt95H8DR.js} +4 -4
- package/dist/{layers.BYkZeKSF.js → layers.BtNvRjNu.js} +1 -1
- package/dist/{layers.Bsfad1f7.js → layers.Bw3-Oh79.js} +1 -1
- package/dist/{layers.9id3Ygej.js → layers.Bx43FjjH.js} +1 -1
- package/dist/{layers.LN6HCXeY.js → layers.BzRgm7OF.js} +1 -1
- package/dist/{layers.BzFvAq6v.js → layers.C-IYXvgi.js} +1 -1
- package/dist/{layers.DmEIBunP.js → layers.C-iJSS3t.js} +1 -1
- package/dist/{layers.Dxom9JZe.js → layers.C0Agg7Yf.js} +1 -1
- package/dist/{layers.ByV0jzXD.js → layers.C0ZDIU3E.js} +3 -3
- package/dist/{layers.C2pRZaef.js → layers.C0j8YNG0.js} +1 -1
- package/dist/{layers.Hy3LG61N.js → layers.C2NXekcw.js} +4 -4
- package/dist/layers.C3ZnZHBh.js +1 -0
- package/dist/{layers.CuyxN2G7.js → layers.C3ZwyNtk.js} +1 -1
- package/dist/{layers.Bf_4d9gc.js → layers.C4X6yN1A.js} +1 -1
- package/dist/{layers.B0XWwlPW.js → layers.C6P3_kcs.js} +1 -1
- package/dist/{layers.M8zQZ0Iw.js → layers.C7urYkNn.js} +4 -4
- package/dist/{layers.CCTnKNrz.js → layers.C8OJIiwt.js} +2 -2
- package/dist/{layers.B41K_t6H.js → layers.CDKGSUFI.js} +1 -1
- package/dist/{layers.CQyhqAXP.js → layers.CJJlFWwU.js} +1 -1
- package/dist/{layers.CdbXNCe9.js → layers.CK8508hg.js} +1 -1
- package/dist/{layers.TwkF-ew1.js → layers.CLxZnxSo.js} +1 -1
- package/dist/{layers.DCq44Tno.js → layers.CNMve6Yq.js} +1 -1
- package/dist/{layers.CY5VLMst.js → layers.CPUhIEJ3.js} +1 -1
- package/dist/{layers.CWdh_j6b.js → layers.CS0g7ify.js} +1 -1
- package/dist/{layers.CrlUAdGF.js → layers.CS61NubI.js} +1 -1
- package/dist/{layers.D0eh-Wqp.js → layers.CSBCD84E.js} +1 -1
- package/dist/{layers.ezv153P7.js → layers.CSJM0Q5N.js} +2 -2
- package/dist/{layers.sL-50kcD.js → layers.CUE5mGpN.js} +3 -3
- package/dist/{layers.Bie9WAT1.js → layers.CV0vTVzi.js} +1 -1
- package/dist/{layers.CTZqVHv4.js → layers.CVHrjnvz.js} +1 -1
- package/dist/{layers.C9YH_9fT.js → layers.CWMemyvr.js} +1 -1
- package/dist/{layers.D1lR19D-.js → layers.CXmUTt5Q.js} +1 -1
- package/dist/{layers.CLgBOolP.js → layers.CZhYDzxD.js} +1 -1
- package/dist/{layers.BJQXe02Y.js → layers.C_gvi_1J.js} +1 -1
- package/dist/{layers.DgCo6c41.js → layers.CdpIpkNM.js} +1 -1
- package/dist/{layers.C30gUSR1.js → layers.CeE5azI5.js} +4 -4
- package/dist/{layers.DGiUVAGp.js → layers.CjKzgsNI.js} +1 -1
- package/dist/{layers.DFyBysfd.js → layers.CjxogxVn.js} +1 -1
- package/dist/{layers.D5X3sjqw.js → layers.CkI09VzK.js} +1 -1
- package/dist/{layers.CR6zxgAm.js → layers.CkI4f4zL.js} +3 -3
- package/dist/{layers.CQV8Z96o.js → layers.CkUqKYXL.js} +1 -1
- package/dist/{layers.CyJZ6-tp.js → layers.CkocqhGc.js} +1 -1
- package/dist/{layers.CrvpFIC5.js → layers.Cmtw6Enp.js} +1 -1
- package/dist/{layers.Cj3-Skui.js → layers.Coq1XIa2.js} +1 -1
- package/dist/{layers.LC9EORh2.js → layers.CpRfmKPc.js} +1 -1
- package/dist/{layers.BgARgaGK.js → layers.CprKmZi4.js} +1 -1
- package/dist/{layers.C6o-zjCm.js → layers.Cq0Ryb38.js} +1 -1
- package/dist/{layers.BJGmyq6A.js → layers.CsQnq_dM.js} +210 -210
- package/dist/{layers.C7-UfwdB.js → layers.CxAKqLGH.js} +1 -1
- package/dist/{layers.Cjx4QOOB.js → layers.CyvRck0O.js} +2 -2
- package/dist/{layers.DJSXcKcj.js → layers.D-Kx8jLY.js} +1 -1
- package/dist/{layers.DIsGBfRV.js → layers.D-OtFpwf.js} +1 -1
- package/dist/{layers.C2hZHdG5.js → layers.D0LWjFFC.js} +3 -3
- package/dist/{layers.yhbaBOvw.js → layers.D198FeJ8.js} +1 -1
- package/dist/{layers.BDFZPA09.js → layers.D1PQukky.js} +1 -1
- package/dist/{layers.CP1B_H9P.js → layers.D2776YQB.js} +3 -3
- package/dist/{layers.Cd1Byin7.js → layers.D3OkZa4K.js} +1 -1
- package/dist/{layers.B7R8fDMp.js → layers.D4bbpoe4.js} +8 -8
- package/dist/{layers.CZFHwm6e.js → layers.D5PI0UGl.js} +1 -1
- package/dist/{layers.DVbo21AY.js → layers.D9BupWlQ.js} +1 -1
- package/dist/{layers.B6MX_oue.js → layers.DAQh03z8.js} +1 -1
- package/dist/{layers.B5Ea6Unc.js → layers.DBmV53U1.js} +1 -1
- package/dist/{layers.pf-ZJnTw.js → layers.DEexKhWS.js} +1 -1
- package/dist/{layers.D82eXJOC.js → layers.DGAt7QnR.js} +3 -3
- package/dist/{layers.lu63HmS2.js → layers.DGEE_Afa.js} +1 -1
- package/dist/{layers.D8p8WAbF.js → layers.DM11DYrQ.js} +1 -1
- package/dist/{layers.J15H4-1v.js → layers.DN582NNS.js} +1 -1
- package/dist/{layers.CTsfTHhE.js → layers.DOlVsFfc.js} +1 -1
- package/dist/{layers.EVLcqoL0.js → layers.DQkbjX5x.js} +1 -1
- package/dist/{layers.2jEMjh3W.js → layers.DRFNVFjY.js} +1 -1
- package/dist/{layers.BN_DwHxV.js → layers.DS1D7c5N.js} +1 -1
- package/dist/{layers.BLf2jHop.js → layers.DS8Aehub.js} +1 -1
- package/dist/{layers.RnO90hLJ.js → layers.DSv_nikA.js} +1 -1
- package/dist/{layers.ybYl2HWV.js → layers.DUejfd9x.js} +1 -1
- package/dist/{layers.wBMLhciO.js → layers.DV6nQoaQ.js} +1 -1
- package/dist/{layers.Qut9mV3-.js → layers.DVAdhQwR.js} +1 -1
- package/dist/{layers.qP3xiaIs.js → layers.DWcrIiaB.js} +1 -1
- package/dist/{layers.CesbyrE8.js → layers.DWjuffup.js} +4 -4
- package/dist/{layers.DXpuaAQg.js → layers.DYDHow8i.js} +1 -1
- package/dist/{layers.4cxny6OG.js → layers.DZHarbcC.js} +1 -1
- package/dist/{layers.BATA1RHd.js → layers.D_KE2ufs.js} +1 -1
- package/dist/{layers.UsNQl9xT.js → layers.D_tD2XVB.js} +1 -1
- package/dist/{layers.DwteB9iy.js → layers.Da7Tg1Hz.js} +1 -1
- package/dist/{layers.BxteU-w4.js → layers.DaaODjh8.js} +1 -1
- package/dist/{layers.CpxK9yc6.js → layers.DacMLYbg.js} +1 -1
- package/dist/{layers.CG7rc8Wu.js → layers.DaqgI1O4.js} +6 -6
- package/dist/{layers.CcfTepL0.js → layers.Db-pgrtx.js} +1 -1
- package/dist/{layers.DuwxmBEU.js → layers.Dbbkud0F.js} +1 -1
- package/dist/{layers.C8ZmF9qm.js → layers.DbwD5wyT.js} +1 -1
- package/dist/{layers.DCmAgeuu.js → layers.DcQ33vka.js} +1 -1
- package/dist/{layers.CXaB8aGM.js → layers.DeB9qs9E.js} +1 -1
- package/dist/{layers.Bcdd7_Z5.js → layers.DeYbT1Ud.js} +1 -1
- package/dist/{layers.BmDVmuJ2.js → layers.DftV5kvS.js} +1 -1
- package/dist/{layers.BvcV6PYK.js → layers.Dm4qgcR3.js} +1 -1
- package/dist/{layers.DM8ii7RI.js → layers.DmYi7-P4.js} +1 -1
- package/dist/{layers.p1aO_aEH.js → layers.DoqWoN-g.js} +1 -1
- package/dist/{layers.OKroJUG2.js → layers.Dp8x3R16.js} +1 -1
- package/dist/{layers.D3Y-IPQz.js → layers.DppDN_HX.js} +1 -1
- package/dist/{layers.BiKvsnUT.js → layers.Dq3w0xN7.js} +3 -3
- package/dist/{layers.CXYoPcg_.js → layers.DqTbfvMp.js} +1 -1
- package/dist/{layers.D9R2sxWK.js → layers.DqXwSO09.js} +1 -1
- package/dist/{layers.DelmrnHD.js → layers.DqiNMSOa.js} +1 -1
- package/dist/{layers.CWwh92ng.js → layers.Dr9xy5k6.js} +1 -1
- package/dist/{layers.Cia6NW7V.js → layers.DsqI5JqQ.js} +1 -1
- package/dist/{layers.CfllEfa1.js → layers.Dv7J2DsG.js} +1 -1
- package/dist/{layers.KMBEe2wP.js → layers.DvXIsAge.js} +1 -1
- package/dist/{layers.qT4VeGfg.js → layers.Dxaru0V1.js} +1 -1
- package/dist/{layers.A4u670QV.js → layers.DxcKfsSB.js} +1 -1
- package/dist/{layers.ZEnT41uI.js → layers.Dxv14P7V.js} +3 -3
- package/dist/layers.Dz4unSQV.js +8 -0
- package/dist/layers.DzlaEZWz.js +6 -0
- package/dist/{layers.DsDRuqK6.js → layers.EF-SG92R.js} +1 -1
- package/dist/{layers.DucPYFKN.js → layers.H8lqhgBE.js} +1 -1
- package/dist/{layers.DQ8jMe-D.js → layers.J0ZzlKV3.js} +1 -1
- package/dist/{layers.DKeisfrG.js → layers.J6Epl8FO.js} +1 -1
- package/dist/{layers.BQMzIusk.js → layers.PEpUirRy.js} +1 -1
- package/dist/{layers.BC7fY2lr.js → layers.Pb_o7-ED.js} +1 -1
- package/dist/{layers.DPtpJiy7.js → layers.RSVg2mHO.js} +1 -1
- package/dist/{layers.BelYC4TZ.js → layers.Tsird0Ym.js} +1 -1
- package/dist/{layers.DWpih2L3.js → layers.Ve3fMzXx.js} +4 -4
- package/dist/{layers.DTC4G4bo.js → layers.XRqJ79yT.js} +1 -1
- package/dist/{layers.XE6cL6OT.js → layers.Xoxtbo3B.js} +4 -4
- package/dist/{layers.Ca8nlqPH.js → layers.YCq7P2TT.js} +1 -1
- package/dist/{layers.DN1Hliaf.js → layers._1Z4nqnG.js} +1 -1
- package/dist/{layers.2d-3uTTG.js → layers.b3UicKJV.js} +1 -1
- package/dist/{layers.9AMXdA6T.js → layers.cRZV-Sjx.js} +1 -1
- package/dist/{layers.Ow04DTyY.js → layers.dxGHHyqT.js} +7 -7
- package/dist/{layers.CKcQ1LWI.js → layers.gLNr97jy.js} +1 -1
- package/dist/{layers.nchT5EIs.js → layers.guSZWc2d.js} +1 -1
- package/dist/{layers.vNkRSvFc.js → layers.gvQ69MRj.js} +5 -5
- package/dist/{layers.CXbyBJzj.js → layers.hZdeMx7n.js} +1 -1
- package/dist/{layers.DLfLFHsf.js → layers.ie14gUyn.js} +1 -1
- package/dist/{layers.BGHnkvGW.js → layers.jrLJ5uWk.js} +1 -1
- package/dist/{layers.DOVnFGUg.js → layers.m_pdAyZM.js} +1 -1
- package/dist/{layers.BPy5EZ7O.js → layers.n7NrIQSF.js} +1 -1
- package/dist/{layers.DUSvDTCo.js → layers.oq6gDPu_.js} +1 -1
- package/dist/{layers.nPTZ3OYF.js → layers.ozR63kc5.js} +1 -1
- package/dist/{layers.JtAvCrEy.js → layers.qdEJTUMg.js} +1 -1
- package/dist/{layers.DvwaO_g6.js → layers.rnfSvklH.js} +1 -1
- package/dist/{layers.BN0_nDVm.js → layers.rr5A41xC.js} +1 -1
- package/dist/{layers.D9UJ4Pjb.js → layers.sBShhcEZ.js} +1 -1
- package/dist/{layers.CYaziVoa.js → layers.sVi_gOJt.js} +2 -2
- package/dist/{layers.PEGzGqhS.js → layers.tAVrp4Pz.js} +1 -1
- package/dist/{layers.CJvcquZ8.js → layers.tX5ZWZ9f.js} +4 -4
- package/dist/{layers.gHT197SG.js → layers.uqWQ9uK1.js} +1 -1
- package/dist/{layers.CmPVnvqX.js → layers.vkvjkv8Y.js} +1 -1
- package/dist/{layers.R0zRN2bL.js → layers.x0Rp_Yrc.js} +1 -1
- package/dist/{layers.Gq0RlTno.js → layers.x4n3REko.js} +1 -1
- package/dist/{layers.CMO2DYV7.js → layers.xqn1fMGv.js} +1 -1
- package/dist/{layers.B2WkyuzS.js → layers.y7U0qF0A.js} +1 -1
- package/dist/{layers.BhmnkmfP.js → layers.yHHoZkQW.js} +1 -1
- package/dist/{layers.C6jzSjkr.js → layers.yUh9duKm.js} +2 -2
- package/dist/{layers.CQ4qMSTk.js → layers.ycOvNpMY.js} +1 -1
- package/package.json +4 -2
- package/dist/layers.CLaw5rwF.js +0 -8
- package/dist/layers.CWjxcwU7.js +0 -1
- package/dist/layers.CnRZr06m.js +0 -6
- package/dist/layers.yV5zSDi9.js +0 -1
|
@@ -714,7 +714,7 @@ class d0 extends a0 {
|
|
|
714
714
|
this.shouldConnect = !0, !this.wsconnected && this.ws === null && (u0(this), this.connectBc());
|
|
715
715
|
}
|
|
716
716
|
}
|
|
717
|
-
const qM = "0.7.
|
|
717
|
+
const qM = "0.7.58", $M = {
|
|
718
718
|
version: qM
|
|
719
719
|
}, e5 = /* @__PURE__ */ JSON.parse(`{"placeholder":"Write something, or press '/' for commands...","heading":{"h1":"Heading 1","h2":"Heading 2","h3":"Heading 3","name":"Heading"},"close":"Close","upload":"Upload","unsavedChanges":{"title":"Unsaved changes","message":"Are you sure you want to close the page? All unsaved data will be lost.","cancel":"Cancel","closeWithoutSaving":"Close without saving"},"menu":{"heading":{"title":"Headings","hintShowCase":"Your Ideas, Documents, and Plans. United. Welcome to {{projectName}} — this is a connected workspace where work becomes better and faster.","h1":{"subtitle":"Large Heading","hintDescription":"H1 is used to create the main heading of a page or section, which sets the overall theme. It is also used to automatically generate the table of contents for a document.","keywords":{"header1":"header1","headerOne":"headerone","h1":"h1"}},"h2":{"subtitle":"Medium Heading","hintDescription":"H2 is used to create a secondary heading of a page or section, which sets a general theme. It is also used to automatically generate the table of contents for a document.","keywords":{"header2":"header2","headerTwo":"headertwo","h2":"h2"}},"h3":{"subtitle":"Small Heading","hintDescription":"H3 is used to create a subheading of a page or section, which sets a general theme. It is also used to automatically generate the table of contents for a document.","keywords":{"header3":"header3","headerThree":"headerthree","h3":"h3"}}},"lists":{"title":"Lists","numberList":{"name":"Numbered List","subtitle":"A simple numbered list","hint":{"firstItem":"First item","secondItem":"Second item","firstSubItem":"First sub-item","secondSubItem":"Second sub-item","firstSubSubItem":"First sub-sub-item","secondSubSubItem":"Second sub-sub-item","description":"This tool creates a list with items that are automatically numbered when new rows are added."}},"bulletList":{"name":"Bulleted List","subtitle":"Automatically marked list","hint":{"firstItem":"First item","secondItem":"Second item","firstSubItem":"First sub-item","secondSubItem":"Second sub-item","firstSubSubItem":"First sub-sub-item","secondSubSubItem":"Second sub-sub-item","description":"This tool creates a list with items that are automatically marked with bullets when new rows are added."}},"checkList":{"name":"Checklist","subtitle":"Easy task management","hint":{"indeterminate":"Indeterminate","unchecked":"Unchecked","checked":"Checked","description":"Creates a task list with the ability to mark completed items and sub-items."}}},"main":{"title":"Basics","paragraph":{"name":"Paragraph","subtitle":"Simply start typing regular text","hint":{"text":"Your Ideas, Documents, and Plans. United. Welcome to {{projectName}} — this is a connected workspace where work becomes better and faster.","description":"A few lines of text, left-aligned, imitating a text block."}},"quote":{"name":"Quote","subtitle":"Write down a quote","hint":{"text":"/quote Your Ideas, Documents, and Plans. United. Welcome to {{projectName}} — this is a connected workspace where work becomes better and faster. Stay focused, stay aligned, and achieve more with Layers.","description":"Used to insert quotes or highlight important text blocks. It is visually separated from the main text."}},"collapse":{"name":"Collapsible","subtitle":"Hide block content","hint":{"firstItemEmpty":"First item is empty","secondItem":"Second item","firstSubItemEmpty":"First sub-item is empty","secondSubItem":"Second sub-item","firstSubSubItemEmpty":"First sub-sub-item is empty","secondSubSubItem":"Second sub-sub-item","description":"Used to create blocks with content that can be hidden or shown when clicked. Almost any other block can be placed inside such a list."}},"horizontal-rule":{"name":"Divider","subtitle":"Visualizes block dividers","hint":{"topText":"Pressed the slash. Then entered something...","bottomText":"The next day, everything became clearer and more understandable. As if what was unknown yesterday became completely familiar and ordinary today. Take, for example...","description":"Used to visually separate sections or blocks of text on a page."}},"table":{"name":"Table","subtitle":"Add a simple table to your page","hint":{"firstRow":"First cell filled with text","secondRow":"And another cell with text","description":"A tool for creating tables with multiple rows and columns to organize data."}},"grid":{"name":"Grid","subtitle":"Up to 4 columns of blocks","hint":{"firstColumn":"The next day, everything became clearer and more understandable. As if what was unknown yesterday became completely familiar and ordinary today. Take, for example...","secondColumn":"Your Ideas, Documents, and Plans. United. Welcome to {{projectName}} — this is a connected workspace where work becomes better and faster.","description":"A tool for dividing a document into multiple columns, into which any blocks can be placed."}},"code":{"name":"Code","subtitle":"Write a code snippet","copy":"Copy code","exitCommandText":"Shift + Enter to exit code block","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"},"pageLink":{"name":"Link to page","subtitle":"Insert a link to another page","modalTitle":"Choose a page","selectPage":"Select a page","searchPlaceholder":"Search for a page...","empty":"No pages available","placeholder":"Link page"},"inlinePageLink":{"name":"Inline page link","subtitle":"Insert a page link inside text"},"emoji":{"name":"Emoji","subtitle":"Add emoji"},"equation":{"name":"Equation","subtitle":"Add a block equation","keywords":{"equation":"equation","formula":"formula","math":"math","latex":"latex","block":"block","expression":"expression","tex":"tex"}},"inlineEquation":{"name":"Inline Equation","subtitle":"Add an inline equation","keywords":{"equation":"equation","formula":"formula","math":"math","latex":"latex","inline":"inline","expression":"expression","tex":"tex"}}},"equation":{"placeholder":{"block":"Add a TeX equation","inline":"New equation"}},"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","source":{"embedLink":"Embed link","uploadVideo":"Upload video"},"link":{"placeholder":"Paste the video link...","save":"Save","invalid":"Enter a valid video link."},"upload":{"title":"Upload video","processed":"Video uploaded. {{percent}}% processed.","dragDrop":"Drag & drop a video or","chooseFile":"choose a file","toUpload":"to upload","maxSize":"Maximum file size: {{size}}. Supported formats: MP4, WebM, OGG.","otherFormats":"(Other formats will be converted automatically)","uploading":"Uploading File","remaining":"Remaining:","progress":"Uploading:"},"actions":{"pause":"Pause","resume":"Resume","cancel":"Cancel","retry":"Retry","selectAnotherFile":"Select another file"},"errors":{"uploadFailed":"Upload failed","sizeLimit":"Your file surpasses the size limit of {{size}}","format":"This video format isn't supported and can't be converted.","formatHint":"Please upload a video in MP4, WebM, or OGG format.","interrupted":"Upload interrupted. Check your connection.","offsetMismatch":"Upload synchronization error. The upload will be retried automatically.","stall":"Upload appears to be stalled. Please check your connection and try again.","unknown":"An error occurred during upload."},"transcoding":{"title":"Transcoding video","analysis":"Analysis","conversion":"Conversion"},"player":{"play":"Play","pause":"Pause","mute":"Mute","unmute":"Unmute","volume":"Volume","settings":"Settings","pictureInPicture":"Picture in picture","enterFullscreen":"Enter fullscreen","exitFullscreen":"Exit fullscreen","playbackError":"Playback error: code {{code}}. Try refreshing the page."},"settings":{"title":"Settings","subtitlesCc":"Subtitles/CC","speed":"Speed","quality":"Quality","normal":"Normal","auto":"Auto","off":"Off"},"settingsModal":{"title":"Video settings","cover":"Cover","uploadFile":"Upload file","cropCoverImage":"Crop cover image","subtitles":"Subtitles","enableAutoSubtitles":"Enable auto-generated subtitles","hideAutoSubtitles":"Hide automatically generated subtitles","uploadSubtitlesManually":"Upload subtitles manually","subtitlesFormatHint":"Upload subtitles in .SRT or .VTT format.","successfullyLoaded":"Successfully loaded","autoGenerated":"Auto-generated","addSubtitleTrack":"Add a subtitle track","selectLanguage":"Select language","defaultLabel":"Default","setDefaultSubtitle":"Set as default","downloadVtt":"Download VTT","deleteSubtitle":"Delete track","uploadError":"Upload failed","chapters":"Transcript","chaptersCustom":"Custom transcript","chaptersDontShow":"Don't show transcript","chaptersPlaceholder":"00:00 Intro\\n01:23 Demo\\n05:10 Summary","chaptersTimePlaceholder":"00:00","chaptersEndTimePlaceholder":"01:23","chaptersTitlePlaceholder":"Chapter name","chaptersInvalidTimeRange":"Invalid chapter time range","addChapter":"Add a transcript","deleteChapter":"Delete transcript","saveChapters":"Save chapters","suggestChapters":"Suggest auto","refreshChapters":"Refresh","emptyChapters":"No chapters yet","chaptersError":"Failed to load chapters","transcript":"Transcript","enableAutoTranscript":"Enable auto-generated transcript","uploadTranscriptManually":"Upload transcript manually","addTranscriptManually":"Add a transcript manually","setCover":"Set as cover","emptyCovers":"No cover previews yet","loadError":"Failed to load cover previews","retry":"Retry","cancel":"Cancel","save":"Save"},"delete":"Delete"},"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"}`), t5 = {
|
|
720
720
|
editor: e5
|
|
@@ -902,7 +902,7 @@ const $n = {
|
|
|
902
902
|
}
|
|
903
903
|
};
|
|
904
904
|
return e === "comment" && n.text && (delete n.text.strikethrough, delete n.text.underlineStrikethrough), n;
|
|
905
|
-
}, l5 = VE.lazy(() => import("./layers.
|
|
905
|
+
}, l5 = VE.lazy(() => import("./layers.guSZWc2d.js"));
|
|
906
906
|
function fm(e) {
|
|
907
907
|
const n = e.getAttribute("data-lexical-equation"), t = e.getAttribute("data-lexical-inline") === "true", r = e.getAttribute("data-lexical-equation-preview");
|
|
908
908
|
let o = "";
|
|
@@ -7726,7 +7726,7 @@ function qf(e, n, t, r, o, s) {
|
|
|
7726
7726
|
function Hu(e) {
|
|
7727
7727
|
return e instanceof ns;
|
|
7728
7728
|
}
|
|
7729
|
-
const Fm = Gl(() => import("./layers.
|
|
7729
|
+
const Fm = Gl(() => import("./layers.Bjn3bXHn.js"));
|
|
7730
7730
|
function uD(e) {
|
|
7731
7731
|
const n = e.getAttribute("data-lexical-excalidraw-json"), t = e.firstChild.style.height || "0", r = e.firstChild.style.width || "0", o = e.style.justifyContent || "left", s = t === "inherit" ? "inherit" : parseInt(t, 10), l = r === "inherit" ? "inherit" : parseInt(r, 10);
|
|
7732
7732
|
return n ? {
|
|
@@ -7970,7 +7970,7 @@ class na extends Do {
|
|
|
7970
7970
|
function $f(e) {
|
|
7971
7971
|
return new na(e);
|
|
7972
7972
|
}
|
|
7973
|
-
const pD = Gl(() => import("./layers.
|
|
7973
|
+
const pD = Gl(() => import("./layers.D-Kx8jLY.js"));
|
|
7974
7974
|
function gD(e) {
|
|
7975
7975
|
const n = e;
|
|
7976
7976
|
if (n.src.startsWith("file:///"))
|
|
@@ -8178,7 +8178,7 @@ function hc({
|
|
|
8178
8178
|
function Gs(e) {
|
|
8179
8179
|
return e instanceof Oo;
|
|
8180
8180
|
}
|
|
8181
|
-
const mD = Gl(() => import("./layers.
|
|
8181
|
+
const mD = Gl(() => import("./layers.C6P3_kcs.js"));
|
|
8182
8182
|
function AD(e) {
|
|
8183
8183
|
if (e instanceof HTMLImageElement) {
|
|
8184
8184
|
const { alt: n, src: t, width: r, height: o } = e;
|
|
@@ -13335,7 +13335,7 @@ function pC({
|
|
|
13335
13335
|
key: "excalidraw",
|
|
13336
13336
|
hide: n || t.excalidraw,
|
|
13337
13337
|
onSelect: () => {
|
|
13338
|
-
t.excalidraw || import("./layers.
|
|
13338
|
+
t.excalidraw || import("./layers.C8OJIiwt.js").then(
|
|
13339
13339
|
({ INSERT_EXCALIDRAW_COMMAND: L }) => {
|
|
13340
13340
|
Kt(
|
|
13341
13341
|
e,
|
|
@@ -20056,9 +20056,9 @@ function $3(e) {
|
|
|
20056
20056
|
return e.touches && e.touches.length >= 2;
|
|
20057
20057
|
}
|
|
20058
20058
|
function cl(e) {
|
|
20059
|
-
return e ? e.touches ?
|
|
20059
|
+
return e ? e.touches ? t8(e.touches) : [vC(e)] : [];
|
|
20060
20060
|
}
|
|
20061
|
-
function
|
|
20061
|
+
function e8(e) {
|
|
20062
20062
|
return e && (e.type.indexOf("mouse") > -1 || "button" in e);
|
|
20063
20063
|
}
|
|
20064
20064
|
function bA(e, n, t) {
|
|
@@ -20075,7 +20075,7 @@ function bA(e, n, t) {
|
|
|
20075
20075
|
function Qu(e) {
|
|
20076
20076
|
return Math.sqrt(Math.pow(e[0].clientX - e[1].clientX, 2) + Math.pow(e[0].clientY - e[1].clientY, 2));
|
|
20077
20077
|
}
|
|
20078
|
-
function
|
|
20078
|
+
function t8(e) {
|
|
20079
20079
|
for (var n = Math.min(e.length, 2), t = [], r = 0; r < n; ++r)
|
|
20080
20080
|
t.push(vC(e[r]));
|
|
20081
20081
|
return t;
|
|
@@ -20138,7 +20138,7 @@ var Ju = /* @__PURE__ */ (function() {
|
|
|
20138
20138
|
r.clientX -= n, r.clientY -= t;
|
|
20139
20139
|
});
|
|
20140
20140
|
}, e;
|
|
20141
|
-
})(), yA = ["textarea", "input"],
|
|
20141
|
+
})(), yA = ["textarea", "input"], n8 = /* @__PURE__ */ (function(e) {
|
|
20142
20142
|
V3(n, e);
|
|
20143
20143
|
function n(t, r) {
|
|
20144
20144
|
r === void 0 && (r = {});
|
|
@@ -20169,7 +20169,7 @@ var Ju = /* @__PURE__ */ (function() {
|
|
|
20169
20169
|
}
|
|
20170
20170
|
(T || I || R) && qt(o._window, "click", o._onClick, !0);
|
|
20171
20171
|
}
|
|
20172
|
-
o.clientStores = [new Ju(cl(A))], o._isIdle = !1, o.flag = !0, o.isDrag = !1, o._isTrusted = C, o._dragFlag = !0, o._prevInputEvent = A, o.data = {}, o.doubleFlag = Yd() - o.prevTime < 200, o._isMouseEvent =
|
|
20172
|
+
o.clientStores = [new Ju(cl(A))], o._isIdle = !1, o.flag = !0, o.isDrag = !1, o._isTrusted = C, o._dragFlag = !0, o._prevInputEvent = A, o.data = {}, o.doubleFlag = Yd() - o.prevTime < 200, o._isMouseEvent = e8(A), !o._isMouseEvent && o._preventMouseEvent && o._allowMouseEvent();
|
|
20173
20173
|
var fe = o._preventMouseEvent || o.emit("dragStart", Xt(Xt({ data: o.data, datas: o.data, inputEvent: A, isMouseEvent: o._isMouseEvent, isSecondaryButton: o._isSecondaryButton, isTrusted: C, isDouble: o.doubleFlag }, o.getCurrentStore().getPosition()), { preventDefault: function() {
|
|
20174
20174
|
A.preventDefault();
|
|
20175
20175
|
}, preventDrag: function() {
|
|
@@ -20357,12 +20357,12 @@ var Ju = /* @__PURE__ */ (function() {
|
|
|
20357
20357
|
this._preventMouseEvent = !1, clearTimeout(this._preventMouseEventId);
|
|
20358
20358
|
}, n;
|
|
20359
20359
|
})(wc);
|
|
20360
|
-
function
|
|
20360
|
+
function r8(e, n) {
|
|
20361
20361
|
return function(t) {
|
|
20362
20362
|
t && (e[n] = t);
|
|
20363
20363
|
};
|
|
20364
20364
|
}
|
|
20365
|
-
function
|
|
20365
|
+
function o8(e, n) {
|
|
20366
20366
|
return function(t) {
|
|
20367
20367
|
var r = t.prototype;
|
|
20368
20368
|
e.forEach(function(o) {
|
|
@@ -20370,7 +20370,7 @@ function o6(e, n) {
|
|
|
20370
20370
|
});
|
|
20371
20371
|
};
|
|
20372
20372
|
}
|
|
20373
|
-
function
|
|
20373
|
+
function i8(e, n) {
|
|
20374
20374
|
return n === void 0 && (n = {}), function(t, r) {
|
|
20375
20375
|
e.forEach(function(o) {
|
|
20376
20376
|
var s = n[o] || o;
|
|
@@ -20383,7 +20383,7 @@ function i6(e, n) {
|
|
|
20383
20383
|
});
|
|
20384
20384
|
};
|
|
20385
20385
|
}
|
|
20386
|
-
var
|
|
20386
|
+
var s8 = /* @__PURE__ */ (function() {
|
|
20387
20387
|
function e() {
|
|
20388
20388
|
this.keys = [], this.values = [];
|
|
20389
20389
|
}
|
|
@@ -20394,7 +20394,7 @@ var s6 = /* @__PURE__ */ (function() {
|
|
|
20394
20394
|
var o = this.keys, s = this.values, l = o.indexOf(t), c = l === -1 ? o.length : l;
|
|
20395
20395
|
o[c] = t, s[c] = r;
|
|
20396
20396
|
}, e;
|
|
20397
|
-
})(),
|
|
20397
|
+
})(), a8 = /* @__PURE__ */ (function() {
|
|
20398
20398
|
function e() {
|
|
20399
20399
|
this.object = {};
|
|
20400
20400
|
}
|
|
@@ -20404,7 +20404,7 @@ var s6 = /* @__PURE__ */ (function() {
|
|
|
20404
20404
|
}, n.set = function(t, r) {
|
|
20405
20405
|
this.object[t] = r;
|
|
20406
20406
|
}, e;
|
|
20407
|
-
})(),
|
|
20407
|
+
})(), l8 = typeof Map == "function", c8 = /* @__PURE__ */ (function() {
|
|
20408
20408
|
function e() {
|
|
20409
20409
|
}
|
|
20410
20410
|
var n = e.prototype;
|
|
@@ -20419,10 +20419,10 @@ var s6 = /* @__PURE__ */ (function() {
|
|
|
20419
20419
|
return r;
|
|
20420
20420
|
}, e;
|
|
20421
20421
|
})();
|
|
20422
|
-
function
|
|
20422
|
+
function u8(e, n) {
|
|
20423
20423
|
var t = [], r = [];
|
|
20424
20424
|
return e.forEach(function(o) {
|
|
20425
|
-
var s = o[0], l = o[1], c = new
|
|
20425
|
+
var s = o[0], l = o[1], c = new c8();
|
|
20426
20426
|
t[s] = c, r[l] = c;
|
|
20427
20427
|
}), t.forEach(function(o, s) {
|
|
20428
20428
|
o.connect(t[s - 1]);
|
|
@@ -20438,7 +20438,7 @@ function u6(e, n) {
|
|
|
20438
20438
|
return [p, g];
|
|
20439
20439
|
});
|
|
20440
20440
|
}
|
|
20441
|
-
var
|
|
20441
|
+
var d8 = /* @__PURE__ */ (function() {
|
|
20442
20442
|
function e(t, r, o, s, l, c, d, f) {
|
|
20443
20443
|
this.prevList = t, this.list = r, this.added = o, this.removed = s, this.changed = l, this.maintained = c, this.changedBeforeAdded = d, this.fixed = f;
|
|
20444
20444
|
}
|
|
@@ -20456,7 +20456,7 @@ var d6 = /* @__PURE__ */ (function() {
|
|
|
20456
20456
|
enumerable: !0,
|
|
20457
20457
|
configurable: !0
|
|
20458
20458
|
}), n.caculateOrdered = function() {
|
|
20459
|
-
var t =
|
|
20459
|
+
var t = u8(this.changedBeforeAdded, this.fixed), r = this.changed, o = [];
|
|
20460
20460
|
this.cacheOrdered = t.filter(function(s, l) {
|
|
20461
20461
|
var c = s[0], d = s[1], f = r[l], p = f[0], g = f[1];
|
|
20462
20462
|
if (c !== d)
|
|
@@ -20464,8 +20464,8 @@ var d6 = /* @__PURE__ */ (function() {
|
|
|
20464
20464
|
}), this.cachePureChanged = o;
|
|
20465
20465
|
}, e;
|
|
20466
20466
|
})();
|
|
20467
|
-
function
|
|
20468
|
-
var r =
|
|
20467
|
+
function f8(e, n, t) {
|
|
20468
|
+
var r = l8 ? Map : t ? a8 : s8, o = t || function(k) {
|
|
20469
20469
|
return k;
|
|
20470
20470
|
}, s = [], l = [], c = [], d = e.map(o), f = n.map(o), p = new r(), g = new r(), A = [], C = [], b = {}, y = [], w = 0, S = 0;
|
|
20471
20471
|
return d.forEach(function(k, L) {
|
|
@@ -20478,16 +20478,16 @@ function f6(e, n, t) {
|
|
|
20478
20478
|
}), f.forEach(function(k, L) {
|
|
20479
20479
|
var N = p.get(k);
|
|
20480
20480
|
typeof N > "u" ? (s.push(L), ++w) : (c.push([N, L]), S = b[L] || 0, A.push([N - S, L - w]), C.push(L === N), N !== L && y.push([N, L]));
|
|
20481
|
-
}), l.reverse(), new
|
|
20481
|
+
}), l.reverse(), new d8(e, n, s, l, y, c, A, C);
|
|
20482
20482
|
}
|
|
20483
|
-
var
|
|
20483
|
+
var h8 = typeof Map == "function" ? void 0 : /* @__PURE__ */ (function() {
|
|
20484
20484
|
var e = 0;
|
|
20485
20485
|
return function(n) {
|
|
20486
20486
|
return n.__DIFF_KEY__ || (n.__DIFF_KEY__ = ++e);
|
|
20487
20487
|
};
|
|
20488
20488
|
})();
|
|
20489
20489
|
function Ss(e, n) {
|
|
20490
|
-
return
|
|
20490
|
+
return f8(e, n, h8);
|
|
20491
20491
|
}
|
|
20492
20492
|
/*! *****************************************************************************
|
|
20493
20493
|
Copyright (c) Microsoft Corporation.
|
|
@@ -20512,7 +20512,7 @@ var _d = function(e, n) {
|
|
|
20512
20512
|
for (var o in r) r.hasOwnProperty(o) && (t[o] = r[o]);
|
|
20513
20513
|
}, _d(e, n);
|
|
20514
20514
|
};
|
|
20515
|
-
function
|
|
20515
|
+
function p8(e, n) {
|
|
20516
20516
|
_d(e, n);
|
|
20517
20517
|
function t() {
|
|
20518
20518
|
this.constructor = e;
|
|
@@ -20528,7 +20528,7 @@ var Ni = function() {
|
|
|
20528
20528
|
return n;
|
|
20529
20529
|
}, Ni.apply(this, arguments);
|
|
20530
20530
|
};
|
|
20531
|
-
function
|
|
20531
|
+
function g8(e) {
|
|
20532
20532
|
var n = e.container;
|
|
20533
20533
|
return n === document.body ? [n.scrollLeft || document.documentElement.scrollLeft, n.scrollTop || document.documentElement.scrollTop] : [n.scrollLeft, n.scrollTop];
|
|
20534
20534
|
}
|
|
@@ -20551,8 +20551,8 @@ function ul(e) {
|
|
|
20551
20551
|
if ("value" in e)
|
|
20552
20552
|
return e.value;
|
|
20553
20553
|
}
|
|
20554
|
-
var
|
|
20555
|
-
|
|
20554
|
+
var m8 = /* @__PURE__ */ (function(e) {
|
|
20555
|
+
p8(n, e);
|
|
20556
20556
|
function n() {
|
|
20557
20557
|
var r = e !== null && e.apply(this, arguments) || this;
|
|
20558
20558
|
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() {
|
|
@@ -20613,7 +20613,7 @@ var m6 = /* @__PURE__ */ (function(e) {
|
|
|
20613
20613
|
}, t.dragEnd = function() {
|
|
20614
20614
|
this._flag = !1, this._lock = !1, clearTimeout(this._timer), this._unregisterScrollEvent();
|
|
20615
20615
|
}, t._getScrollPosition = function(r, o) {
|
|
20616
|
-
var s = o.container, l = o.getScrollPosition, c = l === void 0 ?
|
|
20616
|
+
var s = o.container, l = o.getScrollPosition, c = l === void 0 ? g8 : l;
|
|
20617
20617
|
return c({
|
|
20618
20618
|
container: ul(s),
|
|
20619
20619
|
direction: r
|
|
@@ -20660,7 +20660,7 @@ var m6 = /* @__PURE__ */ (function(e) {
|
|
|
20660
20660
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
20661
20661
|
}, Qd(e, n);
|
|
20662
20662
|
};
|
|
20663
|
-
function
|
|
20663
|
+
function A8(e, n) {
|
|
20664
20664
|
if (typeof n != "function" && n !== null) throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
20665
20665
|
Qd(e, n);
|
|
20666
20666
|
function t() {
|
|
@@ -20668,12 +20668,12 @@ function A6(e, n) {
|
|
|
20668
20668
|
}
|
|
20669
20669
|
e.prototype = n === null ? Object.create(n) : (t.prototype = n.prototype, new t());
|
|
20670
20670
|
}
|
|
20671
|
-
function
|
|
20671
|
+
function C8(e, n) {
|
|
20672
20672
|
return n = {
|
|
20673
20673
|
exports: {}
|
|
20674
20674
|
}, e(n, n.exports), n.exports;
|
|
20675
20675
|
}
|
|
20676
|
-
var sa =
|
|
20676
|
+
var sa = C8(function(e, n) {
|
|
20677
20677
|
function t(d) {
|
|
20678
20678
|
if (d && typeof d == "object") {
|
|
20679
20679
|
var f = d.which || d.keyCode || d.charCode;
|
|
@@ -20784,7 +20784,7 @@ var sa = C6(function(e, n) {
|
|
|
20784
20784
|
sa.code;
|
|
20785
20785
|
sa.codes;
|
|
20786
20786
|
sa.aliases;
|
|
20787
|
-
var
|
|
20787
|
+
var b8 = sa.names;
|
|
20788
20788
|
sa.title;
|
|
20789
20789
|
var vA = {
|
|
20790
20790
|
"+": "plus",
|
|
@@ -20797,17 +20797,17 @@ var vA = {
|
|
|
20797
20797
|
meta: 4
|
|
20798
20798
|
};
|
|
20799
20799
|
function SC(e, n) {
|
|
20800
|
-
var t = (
|
|
20800
|
+
var t = (b8[e] || n || "").toLowerCase();
|
|
20801
20801
|
for (var r in vA)
|
|
20802
20802
|
t = t.replace(r, vA[r]);
|
|
20803
20803
|
return t.replace(/\s/g, "");
|
|
20804
20804
|
}
|
|
20805
20805
|
function kC(e, n) {
|
|
20806
20806
|
n === void 0 && (n = SC(e.keyCode, e.key));
|
|
20807
|
-
var t =
|
|
20807
|
+
var t = y8(e);
|
|
20808
20808
|
return t.indexOf(n) === -1 && t.push(n), t.filter(Boolean);
|
|
20809
20809
|
}
|
|
20810
|
-
function
|
|
20810
|
+
function y8(e) {
|
|
20811
20811
|
var n = [e.shiftKey && "shift", e.ctrlKey && "ctrl", e.altKey && "alt", e.metaKey && "meta"];
|
|
20812
20812
|
return n.filter(Boolean);
|
|
20813
20813
|
}
|
|
@@ -20818,8 +20818,8 @@ function kA(e) {
|
|
|
20818
20818
|
return o - s;
|
|
20819
20819
|
}), n;
|
|
20820
20820
|
}
|
|
20821
|
-
var EA,
|
|
20822
|
-
|
|
20821
|
+
var EA, w8 = /* @__PURE__ */ (function(e) {
|
|
20822
|
+
A8(n, e);
|
|
20823
20823
|
function n(r) {
|
|
20824
20824
|
r === void 0 && (r = window);
|
|
20825
20825
|
var o = e.call(this) || this;
|
|
@@ -20890,7 +20890,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
20890
20890
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
20891
20891
|
PERFORMANCE OF THIS SOFTWARE.
|
|
20892
20892
|
***************************************************************************** */
|
|
20893
|
-
function
|
|
20893
|
+
function v8() {
|
|
20894
20894
|
for (var e = 0, n = 0, t = arguments.length; n < t; n++) e += arguments[n].length;
|
|
20895
20895
|
for (var r = Array(e), o = 0, n = 0; n < t; n++) for (var s = arguments[n], l = 0, c = s.length; l < c; l++, o++) r[o] = s[l];
|
|
20896
20896
|
return r;
|
|
@@ -20898,12 +20898,12 @@ function v6() {
|
|
|
20898
20898
|
function Ln(e) {
|
|
20899
20899
|
return Qr(e, fr);
|
|
20900
20900
|
}
|
|
20901
|
-
function
|
|
20901
|
+
function S8(e, n) {
|
|
20902
20902
|
return e.every(function(t, r) {
|
|
20903
20903
|
return Ln(t - n[r]) === 0;
|
|
20904
20904
|
});
|
|
20905
20905
|
}
|
|
20906
|
-
function
|
|
20906
|
+
function k8(e, n) {
|
|
20907
20907
|
return !Ln(e[0] - n[0]) && !Ln(e[1] - n[1]);
|
|
20908
20908
|
}
|
|
20909
20909
|
function Xu(e) {
|
|
@@ -20912,7 +20912,7 @@ function Xu(e) {
|
|
|
20912
20912
|
return n[0] * r[1] - r[0] * n[1];
|
|
20913
20913
|
}))) / 2;
|
|
20914
20914
|
}
|
|
20915
|
-
function
|
|
20915
|
+
function E8(e, n) {
|
|
20916
20916
|
var t = n.width, r = n.height, o = n.left, s = n.top, l = EC(e), c = l.minX, d = l.minY, f = l.maxX, p = l.maxY, g = t / (f - c), A = r / (p - d);
|
|
20917
20917
|
return e.map(function(C) {
|
|
20918
20918
|
return [o + (C[0] - c) * g, s + (C[1] - d) * A];
|
|
@@ -20935,7 +20935,7 @@ function Jd(e, n, t) {
|
|
|
20935
20935
|
var r = e[0], o = e[1], s = EC(n), l = s.minX, c = s.maxX, d = [[l, o], [c, o]], f = zl(d[0], d[1]), p = Xd(n), g = [];
|
|
20936
20936
|
if (p.forEach(function(b) {
|
|
20937
20937
|
var y = zl(b[0], b[1]), w = b[0];
|
|
20938
|
-
if (
|
|
20938
|
+
if (S8(f, y))
|
|
20939
20939
|
g.push({
|
|
20940
20940
|
pos: e,
|
|
20941
20941
|
line: b,
|
|
@@ -20945,7 +20945,7 @@ function Jd(e, n, t) {
|
|
|
20945
20945
|
var S = TC(xC(f, y), [d, b]);
|
|
20946
20946
|
S.forEach(function(k) {
|
|
20947
20947
|
b.some(function(L) {
|
|
20948
|
-
return
|
|
20948
|
+
return k8(L, k);
|
|
20949
20949
|
}) ? g.push({
|
|
20950
20950
|
pos: k,
|
|
20951
20951
|
line: b,
|
|
@@ -21055,11 +21055,11 @@ function TC(e, n) {
|
|
|
21055
21055
|
});
|
|
21056
21056
|
}
|
|
21057
21057
|
function Xd(e) {
|
|
21058
|
-
return
|
|
21058
|
+
return v8(e.slice(1), [e[0]]).map(function(n, t) {
|
|
21059
21059
|
return [e[t], n];
|
|
21060
21060
|
});
|
|
21061
21061
|
}
|
|
21062
|
-
function
|
|
21062
|
+
function x8(e, n) {
|
|
21063
21063
|
var t = e.slice(), r = n.slice();
|
|
21064
21064
|
AA(t) === -1 && t.reverse(), AA(r) === -1 && r.reverse();
|
|
21065
21065
|
var o = Xd(t), s = Xd(r), l = o.map(function(p) {
|
|
@@ -21116,46 +21116,46 @@ function x6(e, n) {
|
|
|
21116
21116
|
});
|
|
21117
21117
|
}
|
|
21118
21118
|
function xA(e, n) {
|
|
21119
|
-
var t =
|
|
21119
|
+
var t = x8(e, n);
|
|
21120
21120
|
return t.map(function(r) {
|
|
21121
21121
|
var o = r.pos;
|
|
21122
21122
|
return o;
|
|
21123
21123
|
});
|
|
21124
21124
|
}
|
|
21125
|
-
function
|
|
21125
|
+
function T8(e, n, t, r, o, s) {
|
|
21126
21126
|
for (var l = 0; l < o; ++l) {
|
|
21127
21127
|
var c = t + l * o, d = r + l * o;
|
|
21128
21128
|
e[c] += e[d] * s, n[c] += n[d] * s;
|
|
21129
21129
|
}
|
|
21130
21130
|
}
|
|
21131
|
-
function
|
|
21131
|
+
function L8(e, n, t, r, o) {
|
|
21132
21132
|
for (var s = 0; s < o; ++s) {
|
|
21133
21133
|
var l = t + s * o, c = r + s * o, d = e[l], f = n[l];
|
|
21134
21134
|
e[l] = e[c], e[c] = d, n[l] = n[c], n[c] = f;
|
|
21135
21135
|
}
|
|
21136
21136
|
}
|
|
21137
|
-
function
|
|
21137
|
+
function M8(e, n, t, r, o) {
|
|
21138
21138
|
for (var s = 0; s < r; ++s) {
|
|
21139
21139
|
var l = t + s * r;
|
|
21140
21140
|
e[l] /= o, n[l] /= o;
|
|
21141
21141
|
}
|
|
21142
21142
|
}
|
|
21143
|
-
function
|
|
21143
|
+
function I8(e, n) {
|
|
21144
21144
|
for (var t = e.slice(), r = LC(n), o = 0; o < n; ++o) {
|
|
21145
21145
|
var s = n * o + o;
|
|
21146
21146
|
if (!Qr(t[s], fr)) {
|
|
21147
21147
|
for (var l = o + 1; l < n; ++l)
|
|
21148
21148
|
if (t[n * o + l]) {
|
|
21149
|
-
|
|
21149
|
+
L8(t, r, o, l, n);
|
|
21150
21150
|
break;
|
|
21151
21151
|
}
|
|
21152
21152
|
}
|
|
21153
21153
|
if (!Qr(t[s], fr))
|
|
21154
21154
|
return [];
|
|
21155
|
-
|
|
21155
|
+
M8(t, r, o, n, t[s]);
|
|
21156
21156
|
for (var l = 0; l < n; ++l) {
|
|
21157
21157
|
var c = l, d = l + o * n, f = t[d];
|
|
21158
|
-
!Qr(f, fr) || o === l ||
|
|
21158
|
+
!Qr(f, fr) || o === l || T8(t, r, c, o, n, -f);
|
|
21159
21159
|
}
|
|
21160
21160
|
}
|
|
21161
21161
|
return r;
|
|
@@ -21175,20 +21175,20 @@ function li(e, n, t) {
|
|
|
21175
21175
|
}
|
|
21176
21176
|
return r;
|
|
21177
21177
|
}
|
|
21178
|
-
function
|
|
21178
|
+
function D8(e, n, t) {
|
|
21179
21179
|
var r = li(e, n, t), o = r[t - 1];
|
|
21180
21180
|
return r.map(function(s) {
|
|
21181
21181
|
return s / o;
|
|
21182
21182
|
});
|
|
21183
21183
|
}
|
|
21184
|
-
function
|
|
21184
|
+
function N8(e, n) {
|
|
21185
21185
|
return li(e, [1, 0, 0, 0, 0, Math.cos(n), Math.sin(n), 0, 0, -Math.sin(n), Math.cos(n), 0, 0, 0, 0, 1], 4);
|
|
21186
21186
|
}
|
|
21187
|
-
function
|
|
21187
|
+
function B8(e, n) {
|
|
21188
21188
|
return li(e, [Math.cos(n), 0, -Math.sin(n), 0, 0, 1, 0, 0, Math.sin(n), 0, Math.cos(n), 0, 0, 0, 0, 1], 4);
|
|
21189
21189
|
}
|
|
21190
|
-
function
|
|
21191
|
-
return li(e,
|
|
21190
|
+
function R8(e, n) {
|
|
21191
|
+
return li(e, O8(n, 4));
|
|
21192
21192
|
}
|
|
21193
21193
|
function dl(e, n) {
|
|
21194
21194
|
var t = n[0], r = t === void 0 ? 1 : t, o = n[1], s = o === void 0 ? 1 : o, l = n[2], c = l === void 0 ? 1 : l;
|
|
@@ -21201,7 +21201,7 @@ function Vu(e, n) {
|
|
|
21201
21201
|
function Vd(e, n) {
|
|
21202
21202
|
return li(e, n, 4);
|
|
21203
21203
|
}
|
|
21204
|
-
function
|
|
21204
|
+
function O8(e, n) {
|
|
21205
21205
|
var t = Math.cos(e), r = Math.sin(e), o = LC(n);
|
|
21206
21206
|
return o[0] = t, o[1] = r, o[n] = -r, o[n + 1] = t, o;
|
|
21207
21207
|
}
|
|
@@ -21239,35 +21239,35 @@ function gh() {
|
|
|
21239
21239
|
1
|
|
21240
21240
|
];
|
|
21241
21241
|
}
|
|
21242
|
-
function
|
|
21243
|
-
return n === void 0 && (n = 0),
|
|
21242
|
+
function P8(e, n) {
|
|
21243
|
+
return n === void 0 && (n = 0), z8(U8(e, n));
|
|
21244
21244
|
}
|
|
21245
21245
|
function qu(e, n) {
|
|
21246
|
-
var t =
|
|
21246
|
+
var t = D8(e, [n[0], n[1] || 0, n[2] || 0, 1], 4), r = t[3] || 1;
|
|
21247
21247
|
return [
|
|
21248
21248
|
t[0] / r,
|
|
21249
21249
|
t[1] / r,
|
|
21250
21250
|
t[2] / r
|
|
21251
21251
|
];
|
|
21252
21252
|
}
|
|
21253
|
-
function
|
|
21253
|
+
function F8(e, n) {
|
|
21254
21254
|
n === void 0 && (n = document.body);
|
|
21255
21255
|
for (var t = e, r = gh(); t; ) {
|
|
21256
21256
|
var o = getComputedStyle(t).transform;
|
|
21257
|
-
if (r = Vd(
|
|
21257
|
+
if (r = Vd(P8(o), r), t === n)
|
|
21258
21258
|
break;
|
|
21259
21259
|
t = t.parentElement;
|
|
21260
21260
|
}
|
|
21261
|
-
return r =
|
|
21261
|
+
return r = I8(r, 4), r[12] = 0, r[13] = 0, r[14] = 0, r;
|
|
21262
21262
|
}
|
|
21263
|
-
function
|
|
21263
|
+
function z8(e) {
|
|
21264
21264
|
var n = gh();
|
|
21265
21265
|
return e.forEach(function(t) {
|
|
21266
21266
|
var r = t.matrixFunction, o = t.functionValue;
|
|
21267
21267
|
r && (n = r(n, o));
|
|
21268
21268
|
}), n;
|
|
21269
21269
|
}
|
|
21270
|
-
function
|
|
21270
|
+
function U8(e, n) {
|
|
21271
21271
|
n === void 0 && (n = 0);
|
|
21272
21272
|
var t = Ol(e) ? e : K3(e);
|
|
21273
21273
|
return t.map(function(r) {
|
|
@@ -21304,7 +21304,7 @@ function U6(e, n) {
|
|
|
21304
21304
|
c = dl, f = [1, 1, T];
|
|
21305
21305
|
} else if (s === "rotate" || s === "rotateZ" || s === "rotateX" || s === "rotateY") {
|
|
21306
21306
|
var I = Pl(l), R = I.unit, F = I.value, P = R === "rad" ? F : F * Math.PI / 180;
|
|
21307
|
-
s === "rotate" || s === "rotateZ" ? (d = "rotateZ", c =
|
|
21307
|
+
s === "rotate" || s === "rotateZ" ? (d = "rotateZ", c = R8) : s === "rotateX" ? c = N8 : s === "rotateY" && (c = B8), f = P;
|
|
21308
21308
|
} else if (s === "matrix3d")
|
|
21309
21309
|
c = Vd, f = vs(l).map(function(U) {
|
|
21310
21310
|
return parseFloat(U);
|
|
@@ -21342,23 +21342,23 @@ function U6(e, n) {
|
|
|
21342
21342
|
};
|
|
21343
21343
|
});
|
|
21344
21344
|
}
|
|
21345
|
-
function
|
|
21345
|
+
function W8(e) {
|
|
21346
21346
|
for (var n = 5381, t = e.length; t; )
|
|
21347
21347
|
n = n * 33 ^ e.charCodeAt(--t);
|
|
21348
21348
|
return n >>> 0;
|
|
21349
21349
|
}
|
|
21350
|
-
var
|
|
21351
|
-
function
|
|
21352
|
-
return
|
|
21350
|
+
var K8 = W8;
|
|
21351
|
+
function H8(e) {
|
|
21352
|
+
return K8(e).toString(36);
|
|
21353
21353
|
}
|
|
21354
|
-
function
|
|
21354
|
+
function Y8(e) {
|
|
21355
21355
|
if (e && e.getRootNode) {
|
|
21356
21356
|
var n = e.getRootNode();
|
|
21357
21357
|
if (n.nodeType === 11)
|
|
21358
21358
|
return n;
|
|
21359
21359
|
}
|
|
21360
21360
|
}
|
|
21361
|
-
function
|
|
21361
|
+
function j8(e, n, t) {
|
|
21362
21362
|
return t.original ? n : n.replace(/([^};{\s}][^};{]*|^\s*){/mg, function(r, o) {
|
|
21363
21363
|
var s = o.trim();
|
|
21364
21364
|
return (s ? vs(s) : [""]).map(function(l) {
|
|
@@ -21367,19 +21367,19 @@ function j6(e, n, t) {
|
|
|
21367
21367
|
}).join(", ") + " {";
|
|
21368
21368
|
});
|
|
21369
21369
|
}
|
|
21370
|
-
function
|
|
21370
|
+
function Z8(e, n, t, r, o) {
|
|
21371
21371
|
var s = Zr(r), l = s.createElement("style");
|
|
21372
|
-
return l.setAttribute("type", "text/css"), l.setAttribute("data-styled-id", e), l.setAttribute("data-styled-count", "1"), t.nonce && l.setAttribute("nonce", t.nonce), l.innerHTML =
|
|
21372
|
+
return l.setAttribute("type", "text/css"), l.setAttribute("data-styled-id", e), l.setAttribute("data-styled-count", "1"), t.nonce && l.setAttribute("nonce", t.nonce), l.innerHTML = j8(e, n, t), (o || s.head || s.body).appendChild(l), l;
|
|
21373
21373
|
}
|
|
21374
|
-
function
|
|
21375
|
-
var n = "rCS" +
|
|
21374
|
+
function G8(e) {
|
|
21375
|
+
var n = "rCS" + H8(e);
|
|
21376
21376
|
return {
|
|
21377
21377
|
className: n,
|
|
21378
21378
|
inject: function(t, r) {
|
|
21379
21379
|
r === void 0 && (r = {});
|
|
21380
|
-
var o =
|
|
21380
|
+
var o = Y8(t), s = (o || t.ownerDocument || document).querySelector('style[data-styled-id="'.concat(n, '"]'));
|
|
21381
21381
|
if (!s)
|
|
21382
|
-
s =
|
|
21382
|
+
s = Z8(n, e, r, t, o);
|
|
21383
21383
|
else {
|
|
21384
21384
|
var l = parseFloat(s.getAttribute("data-styled-count")) || 0;
|
|
21385
21385
|
s.setAttribute("data-styled-count", "".concat(l + 1));
|
|
@@ -21419,14 +21419,14 @@ var Vt = function() {
|
|
|
21419
21419
|
return n;
|
|
21420
21420
|
}, Vt.apply(this, arguments);
|
|
21421
21421
|
};
|
|
21422
|
-
function
|
|
21422
|
+
function _8(e, n) {
|
|
21423
21423
|
var t = {};
|
|
21424
21424
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && n.indexOf(r) < 0 && (t[r] = e[r]);
|
|
21425
21425
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
|
|
21426
21426
|
n.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (t[r[o]] = e[r[o]]);
|
|
21427
21427
|
return t;
|
|
21428
21428
|
}
|
|
21429
|
-
function
|
|
21429
|
+
function Q8(e, n, t, r) {
|
|
21430
21430
|
var o = arguments.length, s = o < 3 ? n : r === null ? r = Object.getOwnPropertyDescriptor(n, t) : r, l;
|
|
21431
21431
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(e, n, t, r);
|
|
21432
21432
|
else for (var c = e.length - 1; c >= 0; c--) (l = e[c]) && (s = (o < 3 ? l(s) : o > 3 ? l(n, t, s) : l(n, t)) || s);
|
|
@@ -21437,7 +21437,7 @@ function Ns(e, n, t) {
|
|
|
21437
21437
|
(s || !(r in n)) && (s || (s = Array.prototype.slice.call(n, 0, r)), s[r] = n[r]);
|
|
21438
21438
|
return e.concat(s || Array.prototype.slice.call(n));
|
|
21439
21439
|
}
|
|
21440
|
-
function
|
|
21440
|
+
function J8(e) {
|
|
21441
21441
|
if ("touches" in e) {
|
|
21442
21442
|
var n = e.touches[0] || e.changedTouches[0];
|
|
21443
21443
|
return {
|
|
@@ -21450,7 +21450,7 @@ function J6(e) {
|
|
|
21450
21450
|
clientY: e.clientY
|
|
21451
21451
|
};
|
|
21452
21452
|
}
|
|
21453
|
-
function
|
|
21453
|
+
function X8(e) {
|
|
21454
21454
|
if (typeof Map > "u")
|
|
21455
21455
|
return e.filter(function(t, r) {
|
|
21456
21456
|
return e.indexOf(t) === r;
|
|
@@ -21460,7 +21460,7 @@ function X6(e) {
|
|
|
21460
21460
|
return n.has(t) ? !1 : (n.set(t, !0), !0);
|
|
21461
21461
|
});
|
|
21462
21462
|
}
|
|
21463
|
-
function
|
|
21463
|
+
function V8(e, n, t) {
|
|
21464
21464
|
var r = Zr(e);
|
|
21465
21465
|
return r.elementFromPoint && r.elementFromPoint(n, t) || null;
|
|
21466
21466
|
}
|
|
@@ -21480,10 +21480,10 @@ function IC(e, n, t) {
|
|
|
21480
21480
|
}
|
|
21481
21481
|
return !n && t && t.appendChild(d), d;
|
|
21482
21482
|
}
|
|
21483
|
-
function
|
|
21483
|
+
function q8(e, n) {
|
|
21484
21484
|
for (var t = [], r = 2; r < arguments.length; r++)
|
|
21485
21485
|
t[r - 2] = arguments[r];
|
|
21486
|
-
var o = n || {}, s = o.className, l = s === void 0 ? "" : s, c = o.style, d = c === void 0 ? {} : c, f =
|
|
21486
|
+
var o = n || {}, s = o.className, l = s === void 0 ? "" : s, c = o.style, d = c === void 0 ? {} : c, f = _8(o, ["className", "style"]);
|
|
21487
21487
|
return {
|
|
21488
21488
|
tag: e,
|
|
21489
21489
|
className: l,
|
|
@@ -21540,7 +21540,7 @@ function MA(e) {
|
|
|
21540
21540
|
n = Math.max(jd(e[r], e[r - 1]), n);
|
|
21541
21541
|
return n;
|
|
21542
21542
|
}
|
|
21543
|
-
var DC =
|
|
21543
|
+
var DC = G8(`
|
|
21544
21544
|
:host {
|
|
21545
21545
|
position: fixed;
|
|
21546
21546
|
display: none;
|
|
@@ -21550,19 +21550,19 @@ var DC = G6(`
|
|
|
21550
21550
|
will-change: transform;
|
|
21551
21551
|
z-index: 100;
|
|
21552
21552
|
}
|
|
21553
|
-
`), $d = "selecto-selection ".concat(DC.className), mh = ["className", "boundContainer", "selectableTargets", "selectByClick", "selectFromInside", "continueSelect", "continueSelectWithoutDeselect", "toggleContinueSelect", "toggleContinueSelectWithoutDeselect", "keyContainer", "hitRate", "scrollOptions", "checkInput", "preventDefault", "ratio", "getElementRect", "preventDragFromInside", "rootContainer", "dragCondition", "clickBySelectEnd", "checkOverflow", "innerScrollOptions"], $
|
|
21553
|
+
`), $d = "selecto-selection ".concat(DC.className), mh = ["className", "boundContainer", "selectableTargets", "selectByClick", "selectFromInside", "continueSelect", "continueSelectWithoutDeselect", "toggleContinueSelect", "toggleContinueSelectWithoutDeselect", "keyContainer", "hitRate", "scrollOptions", "checkInput", "preventDefault", "ratio", "getElementRect", "preventDragFromInside", "rootContainer", "dragCondition", "clickBySelectEnd", "checkOverflow", "innerScrollOptions"], $8 = Ns([
|
|
21554
21554
|
// ignore target, container,
|
|
21555
21555
|
"dragContainer",
|
|
21556
21556
|
"cspNonce",
|
|
21557
21557
|
"preventClickEventOnDrag",
|
|
21558
21558
|
"preventClickEventOnDragStart",
|
|
21559
21559
|
"preventRightClick"
|
|
21560
|
-
], mh), NC = ["dragStart", "drag", "dragEnd", "selectStart", "select", "selectEnd", "keydown", "keyup", "scroll", "innerScroll"],
|
|
21560
|
+
], mh), NC = ["dragStart", "drag", "dragEnd", "selectStart", "select", "selectEnd", "keydown", "keyup", "scroll", "innerScroll"], e6 = ["clickTarget", "getSelectableElements", "setSelectedTargets", "getElementPoints", "getSelectedTargets", "findSelectableTargets", "triggerDragStart", "checkScroll", "selectTargetsByPoints", "setSelectedTargetsByPoints"], t6 = /* @__PURE__ */ (function(e) {
|
|
21561
21561
|
MC(n, e);
|
|
21562
21562
|
function n(r) {
|
|
21563
21563
|
r === void 0 && (r = {});
|
|
21564
21564
|
var o = e.call(this) || this;
|
|
21565
|
-
o.selectedTargets = [], o.dragScroll = new
|
|
21565
|
+
o.selectedTargets = [], o.dragScroll = new m8(), o._onDragStart = function(c, d) {
|
|
21566
21566
|
var f = c.data, p = c.clientX, g = c.clientY, A = c.inputEvent, C = o.options, b = C.selectFromInside, y = C.selectByClick, w = C.rootContainer, S = C.boundContainer, k = C.preventDragFromInside, L = k === void 0 ? !0 : k, N = C.clickBySelectEnd, D = C.dragCondition;
|
|
21567
21567
|
if (D && !D(c)) {
|
|
21568
21568
|
c.stop();
|
|
@@ -21579,7 +21579,7 @@ var DC = G6(`
|
|
|
21579
21579
|
};
|
|
21580
21580
|
if (w) {
|
|
21581
21581
|
var R = o.container.getBoundingClientRect();
|
|
21582
|
-
f.containerX = R.left, f.containerY = R.top, f.scaleMatrix =
|
|
21582
|
+
f.containerX = R.left, f.containerY = R.top, f.scaleMatrix = F8(o.container, w);
|
|
21583
21583
|
}
|
|
21584
21584
|
if (S) {
|
|
21585
21585
|
var F = Mo(S) && "element" in S ? Vt({
|
|
@@ -21671,7 +21671,7 @@ var DC = G6(`
|
|
|
21671
21671
|
})), o.target.style.cssText += "display: none;", g)
|
|
21672
21672
|
d.selectFlag = !1, o.dragScroll.dragEnd();
|
|
21673
21673
|
else if (o.selectByClick && o.clickBySelectEnd) {
|
|
21674
|
-
var C = o._findElement((f == null ? void 0 : f.target) ||
|
|
21674
|
+
var C = o._findElement((f == null ? void 0 : f.target) || V8(A, c.clientX, c.clientY), d.selectableTargets);
|
|
21675
21675
|
o._select(C ? [C] : [], p, c);
|
|
21676
21676
|
}
|
|
21677
21677
|
d.preventDragFromInside || o._selectEnd(d.startSelectedTargets, d.startPassedTargets, p, c);
|
|
@@ -21810,7 +21810,7 @@ var DC = G6(`
|
|
|
21810
21810
|
var o = this.getElementRect || fl, s = o(r), l = [s.pos1, s.pos2, s.pos4, s.pos3];
|
|
21811
21811
|
if (o !== fl) {
|
|
21812
21812
|
var c = r.getBoundingClientRect();
|
|
21813
|
-
return
|
|
21813
|
+
return E8(l, c);
|
|
21814
21814
|
}
|
|
21815
21815
|
return l;
|
|
21816
21816
|
}, t.getSelectableElements = function() {
|
|
@@ -21872,7 +21872,7 @@ var DC = G6(`
|
|
|
21872
21872
|
return !0;
|
|
21873
21873
|
})), this._refreshGroups(r), s;
|
|
21874
21874
|
}, t.clickTarget = function(r, o) {
|
|
21875
|
-
var s =
|
|
21875
|
+
var s = J8(r), l = s.clientX, c = s.clientY, d = {
|
|
21876
21876
|
data: {
|
|
21877
21877
|
selectFlag: !1
|
|
21878
21878
|
},
|
|
@@ -21888,7 +21888,7 @@ var DC = G6(`
|
|
|
21888
21888
|
return this._onDragStart(d, o) && this._onDragEnd(d), this;
|
|
21889
21889
|
}, t.setKeyController = function() {
|
|
21890
21890
|
var r = this.options, o = r.keyContainer, s = r.toggleContinueSelect, l = r.toggleContinueSelectWithoutDeselect;
|
|
21891
|
-
this.keycon && (this.keycon.destroy(), this.keycon = null), (s || l) && (this.keycon = new
|
|
21891
|
+
this.keycon && (this.keycon.destroy(), this.keycon = null), (s || l) && (this.keycon = new w8(o || Xo(this.container)), this.keycon.keydown(this._onKeyDown).keyup(this._onKeyUp).on("blur", this._onBlur));
|
|
21892
21892
|
}, t.setClassName = function(r) {
|
|
21893
21893
|
this.options.className = r, this.target.setAttribute("class", "".concat($d, " ").concat(r || ""));
|
|
21894
21894
|
}, t.setKeyEvent = function() {
|
|
@@ -21921,11 +21921,11 @@ var DC = G6(`
|
|
|
21921
21921
|
this.gesto.options.checkInput = r;
|
|
21922
21922
|
}, t.initElement = function() {
|
|
21923
21923
|
var r = this.options, o = r.dragContainer, s = r.checkInput, l = r.preventDefault, c = r.preventClickEventOnDragStart, d = r.preventClickEventOnDrag, f = r.preventClickEventByCondition, p = r.preventRightClick, g = p === void 0 ? !0 : p, A = r.className, C = this.container;
|
|
21924
|
-
this.target = IC(
|
|
21924
|
+
this.target = IC(q8("div", {
|
|
21925
21925
|
className: "".concat($d, " ").concat(A || "")
|
|
21926
21926
|
}), this.target, C);
|
|
21927
21927
|
var b = this.target;
|
|
21928
|
-
this.dragContainer = typeof o == "string" ? [].slice.call(Zr(C).querySelectorAll(o)) : o || this.target.parentNode, this.gesto = new
|
|
21928
|
+
this.dragContainer = typeof o == "string" ? [].slice.call(Zr(C).querySelectorAll(o)) : o || this.target.parentNode, this.gesto = new n8(this.dragContainer, {
|
|
21929
21929
|
checkWindowBlur: !0,
|
|
21930
21930
|
container: Xo(C),
|
|
21931
21931
|
checkInput: s,
|
|
@@ -21970,7 +21970,7 @@ var DC = G6(`
|
|
|
21970
21970
|
});
|
|
21971
21971
|
}
|
|
21972
21972
|
}
|
|
21973
|
-
return
|
|
21973
|
+
return X8(R);
|
|
21974
21974
|
}, t.initDragScroll = function() {
|
|
21975
21975
|
var r = this;
|
|
21976
21976
|
this.dragScroll.on("scrollDrag", function(o) {
|
|
@@ -22138,7 +22138,7 @@ var DC = G6(`
|
|
|
22138
22138
|
A[L] = A[L] || {}, A[L][N] = A[L][N] || [], A[L][N].push(b);
|
|
22139
22139
|
}), r.innerGroups = A;
|
|
22140
22140
|
}
|
|
22141
|
-
}, n =
|
|
22141
|
+
}, n = Q8([o8(mh, function(r, o) {
|
|
22142
22142
|
var s = {
|
|
22143
22143
|
enumerable: !0,
|
|
22144
22144
|
configurable: !0,
|
|
@@ -22158,13 +22158,13 @@ var DC = G6(`
|
|
|
22158
22158
|
this.options[o] = d;
|
|
22159
22159
|
}, Object.defineProperty(r, o, s);
|
|
22160
22160
|
})], n), n;
|
|
22161
|
-
})(wc),
|
|
22161
|
+
})(wc), n6 = /* @__PURE__ */ (function(e) {
|
|
22162
22162
|
MC(n, e);
|
|
22163
22163
|
function n() {
|
|
22164
22164
|
return e !== null && e.apply(this, arguments) || this;
|
|
22165
22165
|
}
|
|
22166
22166
|
return n;
|
|
22167
|
-
})(
|
|
22167
|
+
})(t6), ef = function(e, n) {
|
|
22168
22168
|
return ef = Object.setPrototypeOf || {
|
|
22169
22169
|
__proto__: []
|
|
22170
22170
|
} instanceof Array && function(t, r) {
|
|
@@ -22173,7 +22173,7 @@ var DC = G6(`
|
|
|
22173
22173
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
22174
22174
|
}, ef(e, n);
|
|
22175
22175
|
};
|
|
22176
|
-
function
|
|
22176
|
+
function r6(e, n) {
|
|
22177
22177
|
if (typeof n != "function" && n !== null) throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
22178
22178
|
ef(e, n);
|
|
22179
22179
|
function t() {
|
|
@@ -22190,7 +22190,7 @@ var Ul = function() {
|
|
|
22190
22190
|
return n;
|
|
22191
22191
|
}, Ul.apply(this, arguments);
|
|
22192
22192
|
};
|
|
22193
|
-
function
|
|
22193
|
+
function o6(e, n, t, r) {
|
|
22194
22194
|
var o = arguments.length, s = o < 3 ? n : r, l;
|
|
22195
22195
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(e, n, t, r);
|
|
22196
22196
|
else for (var c = e.length - 1; c >= 0; c--) (l = e[c]) && (s = (o < 3 ? l(s) : o > 3 ? l(n, t, s) : l(n, t)) || s);
|
|
@@ -22198,8 +22198,8 @@ function o8(e, n, t, r) {
|
|
|
22198
22198
|
}
|
|
22199
22199
|
var IA = NC.map(function(e) {
|
|
22200
22200
|
return Hd("on ".concat(e));
|
|
22201
|
-
}),
|
|
22202
|
-
|
|
22201
|
+
}), i6 = /* @__PURE__ */ (function(e) {
|
|
22202
|
+
r6(n, e);
|
|
22203
22203
|
function n() {
|
|
22204
22204
|
return e !== null && e.apply(this, arguments) || this;
|
|
22205
22205
|
}
|
|
@@ -22207,13 +22207,13 @@ var IA = NC.map(function(e) {
|
|
|
22207
22207
|
return t.render = function() {
|
|
22208
22208
|
return ad("div", {
|
|
22209
22209
|
className: $d,
|
|
22210
|
-
ref:
|
|
22210
|
+
ref: r8(this, "selectionElement")
|
|
22211
22211
|
});
|
|
22212
22212
|
}, t.componentDidMount = function() {
|
|
22213
22213
|
var r = this, o = this.props, s = {};
|
|
22214
|
-
$
|
|
22214
|
+
$8.forEach(function(l) {
|
|
22215
22215
|
l in o && (s[l] = o[l]);
|
|
22216
|
-
}), this.selecto = new
|
|
22216
|
+
}), this.selecto = new n6(Ul(Ul({}, s), {
|
|
22217
22217
|
portalContainer: this.selectionElement
|
|
22218
22218
|
})), NC.forEach(function(l, c) {
|
|
22219
22219
|
r.selecto.on(l, function(d) {
|
|
@@ -22228,9 +22228,9 @@ var IA = NC.map(function(e) {
|
|
|
22228
22228
|
});
|
|
22229
22229
|
}, t.componentWillUnmount = function() {
|
|
22230
22230
|
this.selecto.destroy();
|
|
22231
|
-
},
|
|
22231
|
+
}, o6([i8(e6)], n.prototype, "selecto", void 0), n;
|
|
22232
22232
|
})($E);
|
|
22233
|
-
const
|
|
22233
|
+
const s6 = ({ editor: e }) => {
|
|
22234
22234
|
const { disable: n } = _e(et), t = Ee(null), [r, o] = G({
|
|
22235
22235
|
depth: 0,
|
|
22236
22236
|
targets: kd
|
|
@@ -22333,7 +22333,7 @@ const s8 = ({ editor: e }) => {
|
|
|
22333
22333
|
document.removeEventListener("mousedown", d), s && s(), c();
|
|
22334
22334
|
};
|
|
22335
22335
|
}, [e]), n ? null : /* @__PURE__ */ h(
|
|
22336
|
-
|
|
22336
|
+
i6,
|
|
22337
22337
|
{
|
|
22338
22338
|
ref: t,
|
|
22339
22339
|
className: "editor-selecto",
|
|
@@ -22368,7 +22368,7 @@ const s8 = ({ editor: e }) => {
|
|
|
22368
22368
|
}
|
|
22369
22369
|
}
|
|
22370
22370
|
);
|
|
22371
|
-
}, ed = 8, td = 72, tf = 15,
|
|
22371
|
+
}, ed = 8, td = 72, tf = 15, a6 = {
|
|
22372
22372
|
bgColor: "#fff",
|
|
22373
22373
|
blockType: "paragraph",
|
|
22374
22374
|
canRedo: !1,
|
|
@@ -22398,10 +22398,10 @@ const s8 = ({ editor: e }) => {
|
|
|
22398
22398
|
isCapitalize: !0,
|
|
22399
22399
|
rootType: "root",
|
|
22400
22400
|
listStartNumber: null
|
|
22401
|
-
}, BC = oi(void 0),
|
|
22401
|
+
}, BC = oi(void 0), l6 = ({
|
|
22402
22402
|
children: e
|
|
22403
22403
|
}) => {
|
|
22404
|
-
const [n, t] = G(
|
|
22404
|
+
const [n, t] = G(a6), r = n.fontSize, o = We(
|
|
22405
22405
|
(l, c) => {
|
|
22406
22406
|
t((d) => ({
|
|
22407
22407
|
...d,
|
|
@@ -22418,7 +22418,7 @@ const s8 = ({ editor: e }) => {
|
|
|
22418
22418
|
updateToolbarState: o
|
|
22419
22419
|
}), [n, o]);
|
|
22420
22420
|
return /* @__PURE__ */ h(BC.Provider, { value: s, children: e });
|
|
22421
|
-
},
|
|
22421
|
+
}, c6 = () => {
|
|
22422
22422
|
const e = _e(BC);
|
|
22423
22423
|
if (e === void 0)
|
|
22424
22424
|
throw new Error("useToolbarState must be used within a ToolbarProvider");
|
|
@@ -22441,109 +22441,109 @@ function Vo(e) {
|
|
|
22441
22441
|
return e;
|
|
22442
22442
|
}
|
|
22443
22443
|
const Qt = { ctrlKey: !Vg, metaKey: Vg };
|
|
22444
|
-
function
|
|
22444
|
+
function u6(e) {
|
|
22445
22445
|
const { code: n } = e;
|
|
22446
22446
|
return (n === "Numpad0" || n === "Digit0") && Dt(e, { ...Qt, altKey: !0 });
|
|
22447
22447
|
}
|
|
22448
|
-
function
|
|
22448
|
+
function d6(e) {
|
|
22449
22449
|
const { code: n } = e;
|
|
22450
22450
|
if (!n)
|
|
22451
22451
|
return !1;
|
|
22452
22452
|
const t = n[n.length - 1];
|
|
22453
22453
|
return ["1", "2", "3"].includes(t) && Dt(e, { ...Qt, altKey: !0 });
|
|
22454
22454
|
}
|
|
22455
|
-
function
|
|
22455
|
+
function f6(e) {
|
|
22456
22456
|
const { code: n } = e;
|
|
22457
22457
|
return (n === "Numpad7" || n === "Digit7") && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22458
22458
|
}
|
|
22459
|
-
function
|
|
22459
|
+
function h6(e) {
|
|
22460
22460
|
const { code: n } = e;
|
|
22461
22461
|
return (n === "Numpad8" || n === "Digit8") && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22462
22462
|
}
|
|
22463
|
-
function
|
|
22463
|
+
function p6(e) {
|
|
22464
22464
|
const { code: n } = e;
|
|
22465
22465
|
return (n === "Numpad9" || n === "Digit9") && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22466
22466
|
}
|
|
22467
|
-
function
|
|
22467
|
+
function g6(e) {
|
|
22468
22468
|
const { code: n } = e;
|
|
22469
22469
|
return n === "KeyC" && Dt(e, { ...Qt, altKey: !0 });
|
|
22470
22470
|
}
|
|
22471
|
-
function
|
|
22471
|
+
function m6(e) {
|
|
22472
22472
|
const { code: n } = e;
|
|
22473
22473
|
return n === "KeyQ" && Dt(e, {
|
|
22474
22474
|
ctrlKey: !0,
|
|
22475
22475
|
shiftKey: !0
|
|
22476
22476
|
});
|
|
22477
22477
|
}
|
|
22478
|
-
function
|
|
22478
|
+
function A6(e) {
|
|
22479
22479
|
const { code: n } = e;
|
|
22480
22480
|
return (n === "Numpad1" || n === "Digit1") && Dt(e, { ctrlKey: !0, shiftKey: !0 });
|
|
22481
22481
|
}
|
|
22482
|
-
function
|
|
22482
|
+
function C6(e) {
|
|
22483
22483
|
const { code: n } = e;
|
|
22484
22484
|
return (n === "Numpad2" || n === "Digit2") && Dt(e, { ctrlKey: !0, shiftKey: !0 });
|
|
22485
22485
|
}
|
|
22486
|
-
function
|
|
22486
|
+
function b6(e) {
|
|
22487
22487
|
const { code: n } = e;
|
|
22488
22488
|
return (n === "Numpad3" || n === "Digit3") && Dt(e, { ctrlKey: !0, shiftKey: !0 });
|
|
22489
22489
|
}
|
|
22490
|
-
function
|
|
22490
|
+
function y6(e) {
|
|
22491
22491
|
const { code: n } = e;
|
|
22492
22492
|
return n === "KeyX" && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22493
22493
|
}
|
|
22494
|
-
function
|
|
22494
|
+
function w6(e) {
|
|
22495
22495
|
const { code: n } = e;
|
|
22496
22496
|
return n === "BracketRight" && Dt(e, Qt);
|
|
22497
22497
|
}
|
|
22498
|
-
function
|
|
22498
|
+
function v6(e) {
|
|
22499
22499
|
const { code: n } = e;
|
|
22500
22500
|
return n === "BracketLeft" && Dt(e, Qt);
|
|
22501
22501
|
}
|
|
22502
|
-
function
|
|
22502
|
+
function S6(e) {
|
|
22503
22503
|
const { code: n } = e;
|
|
22504
22504
|
return n === "KeyE" && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22505
22505
|
}
|
|
22506
|
-
function
|
|
22506
|
+
function k6(e) {
|
|
22507
22507
|
const { code: n } = e;
|
|
22508
22508
|
return n === "KeyL" && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22509
22509
|
}
|
|
22510
|
-
function
|
|
22510
|
+
function E6(e) {
|
|
22511
22511
|
const { code: n } = e;
|
|
22512
22512
|
return n === "KeyR" && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22513
22513
|
}
|
|
22514
|
-
function
|
|
22514
|
+
function x6(e) {
|
|
22515
22515
|
const { code: n } = e;
|
|
22516
22516
|
return n === "KeyJ" && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22517
22517
|
}
|
|
22518
|
-
function
|
|
22518
|
+
function T6(e) {
|
|
22519
22519
|
const { code: n } = e;
|
|
22520
22520
|
return n === "Comma" && Dt(e, Qt);
|
|
22521
22521
|
}
|
|
22522
|
-
function
|
|
22522
|
+
function L6(e) {
|
|
22523
22523
|
const { code: n } = e;
|
|
22524
22524
|
return n === "Period" && Dt(e, Qt);
|
|
22525
22525
|
}
|
|
22526
|
-
function
|
|
22526
|
+
function M6(e) {
|
|
22527
22527
|
const { code: n } = e;
|
|
22528
22528
|
return n === "KeyC" && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22529
22529
|
}
|
|
22530
|
-
function
|
|
22530
|
+
function I6(e) {
|
|
22531
22531
|
const { code: n } = e;
|
|
22532
22532
|
return n === "Period" && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22533
22533
|
}
|
|
22534
|
-
function
|
|
22534
|
+
function D6(e) {
|
|
22535
22535
|
const { code: n } = e;
|
|
22536
22536
|
return n === "Comma" && Dt(e, { ...Qt, shiftKey: !0 });
|
|
22537
22537
|
}
|
|
22538
|
-
function
|
|
22538
|
+
function N6(e) {
|
|
22539
22539
|
const { code: n } = e;
|
|
22540
22540
|
return n === "Backslash" && Dt(e, Qt);
|
|
22541
22541
|
}
|
|
22542
|
-
function
|
|
22542
|
+
function B6(e) {
|
|
22543
22543
|
const { code: n } = e;
|
|
22544
22544
|
return n === "KeyK" && Dt(e, Qt);
|
|
22545
22545
|
}
|
|
22546
|
-
function
|
|
22546
|
+
function R6(e) {
|
|
22547
22547
|
const { code: n } = e;
|
|
22548
22548
|
return n === "KeyM" && Dt(e, { ...Qt, altKey: !0 });
|
|
22549
22549
|
}
|
|
@@ -22623,23 +22623,23 @@ const RC = (e, n) => {
|
|
|
22623
22623
|
const n = q();
|
|
22624
22624
|
No(n, () => Me());
|
|
22625
22625
|
});
|
|
22626
|
-
},
|
|
22626
|
+
}, O6 = (e, n, t) => {
|
|
22627
22627
|
n !== t && e.update(() => {
|
|
22628
22628
|
const r = q();
|
|
22629
22629
|
No(r, () => Mf(t));
|
|
22630
22630
|
});
|
|
22631
|
-
},
|
|
22631
|
+
}, P6 = (e, n) => {
|
|
22632
22632
|
n !== "bullet" ? e.dispatchCommand(Kf, void 0) : vc(e);
|
|
22633
|
-
},
|
|
22633
|
+
}, F6 = (e, n) => {
|
|
22634
22634
|
n !== "check" ? e.dispatchCommand(Hf, void 0) : vc(e);
|
|
22635
|
-
},
|
|
22635
|
+
}, z6 = (e, n) => {
|
|
22636
22636
|
n !== "number" ? e.dispatchCommand(tc, void 0) : vc(e);
|
|
22637
|
-
},
|
|
22637
|
+
}, U6 = (e, n) => {
|
|
22638
22638
|
n !== "quote" && e.update(() => {
|
|
22639
22639
|
const t = q();
|
|
22640
22640
|
No(t, () => z1());
|
|
22641
22641
|
});
|
|
22642
|
-
},
|
|
22642
|
+
}, W6 = (e, n) => {
|
|
22643
22643
|
n !== "code" && e.update(() => {
|
|
22644
22644
|
let t = q();
|
|
22645
22645
|
if (t)
|
|
@@ -22650,7 +22650,7 @@ const RC = (e, n) => {
|
|
|
22650
22650
|
t.insertNodes([o]), t = q(), de(t) && t.insertRawText(r);
|
|
22651
22651
|
}
|
|
22652
22652
|
});
|
|
22653
|
-
},
|
|
22653
|
+
}, K6 = (e) => {
|
|
22654
22654
|
e.update(() => {
|
|
22655
22655
|
const n = q();
|
|
22656
22656
|
if (de(n) || UL(n)) {
|
|
@@ -22670,74 +22670,74 @@ const RC = (e, n) => {
|
|
|
22670
22670
|
}
|
|
22671
22671
|
});
|
|
22672
22672
|
};
|
|
22673
|
-
function
|
|
22673
|
+
function H6({
|
|
22674
22674
|
editor: e,
|
|
22675
22675
|
setIsLinkEditMode: n
|
|
22676
22676
|
}) {
|
|
22677
|
-
const { toolbarState: t } =
|
|
22677
|
+
const { toolbarState: t } = c6();
|
|
22678
22678
|
return _(() => {
|
|
22679
22679
|
const r = (o) => {
|
|
22680
22680
|
if (Dt(o, {}))
|
|
22681
22681
|
return !1;
|
|
22682
|
-
if (
|
|
22682
|
+
if (u6(o))
|
|
22683
22683
|
vc(e);
|
|
22684
|
-
else if (
|
|
22684
|
+
else if (d6(o)) {
|
|
22685
22685
|
const { code: s } = o, l = `h${s[s.length - 1]}`;
|
|
22686
|
-
|
|
22687
|
-
} else if (
|
|
22688
|
-
|
|
22689
|
-
else if (
|
|
22690
|
-
|
|
22691
|
-
else if (
|
|
22692
|
-
|
|
22693
|
-
else if (
|
|
22694
|
-
|
|
22695
|
-
else if (
|
|
22696
|
-
|
|
22697
|
-
else if (
|
|
22686
|
+
O6(e, t.blockType, l);
|
|
22687
|
+
} else if (h6(o))
|
|
22688
|
+
P6(e, t.blockType);
|
|
22689
|
+
else if (f6(o))
|
|
22690
|
+
z6(e, t.blockType);
|
|
22691
|
+
else if (p6(o))
|
|
22692
|
+
F6(e, t.blockType);
|
|
22693
|
+
else if (g6(o))
|
|
22694
|
+
W6(e, t.blockType);
|
|
22695
|
+
else if (m6(o))
|
|
22696
|
+
U6(e, t.blockType);
|
|
22697
|
+
else if (y6(o))
|
|
22698
22698
|
e.dispatchCommand(Zt, "strikethrough");
|
|
22699
|
-
else if (
|
|
22699
|
+
else if (A6(o))
|
|
22700
22700
|
console.log("isLowercase"), e.dispatchCommand(Zt, "lowercase");
|
|
22701
|
-
else if (
|
|
22701
|
+
else if (C6(o))
|
|
22702
22702
|
console.log("isUppercase"), e.dispatchCommand(Zt, "uppercase");
|
|
22703
|
-
else if (
|
|
22703
|
+
else if (b6(o))
|
|
22704
22704
|
e.dispatchCommand(Zt, "capitalize");
|
|
22705
|
-
else if (
|
|
22705
|
+
else if (w6(o))
|
|
22706
22706
|
e.dispatchCommand(ff, void 0);
|
|
22707
|
-
else if (
|
|
22707
|
+
else if (v6(o))
|
|
22708
22708
|
e.dispatchCommand(c1, void 0);
|
|
22709
|
-
else if (
|
|
22709
|
+
else if (S6(o))
|
|
22710
22710
|
e.dispatchCommand(Ii, "center");
|
|
22711
|
-
else if (
|
|
22711
|
+
else if (k6(o))
|
|
22712
22712
|
e.dispatchCommand(Ii, "left");
|
|
22713
|
-
else if (
|
|
22713
|
+
else if (E6(o))
|
|
22714
22714
|
e.dispatchCommand(Ii, "right");
|
|
22715
|
-
else if (
|
|
22715
|
+
else if (x6(o))
|
|
22716
22716
|
e.dispatchCommand(Ii, "justify");
|
|
22717
|
-
else if (
|
|
22717
|
+
else if (T6(o))
|
|
22718
22718
|
e.dispatchCommand(Zt, "subscript");
|
|
22719
|
-
else if (
|
|
22719
|
+
else if (L6(o))
|
|
22720
22720
|
e.dispatchCommand(Zt, "superscript");
|
|
22721
|
-
else if (
|
|
22721
|
+
else if (M6(o))
|
|
22722
22722
|
e.dispatchCommand(Zt, "code");
|
|
22723
|
-
else if (
|
|
22723
|
+
else if (I6(o))
|
|
22724
22724
|
NA(
|
|
22725
22725
|
e,
|
|
22726
22726
|
nf.increment,
|
|
22727
22727
|
t.fontSizeInputValue
|
|
22728
22728
|
);
|
|
22729
|
-
else if (
|
|
22729
|
+
else if (D6(o))
|
|
22730
22730
|
NA(
|
|
22731
22731
|
e,
|
|
22732
22732
|
nf.decrement,
|
|
22733
22733
|
t.fontSizeInputValue
|
|
22734
22734
|
);
|
|
22735
|
-
else if (
|
|
22736
|
-
|
|
22737
|
-
else if (
|
|
22735
|
+
else if (N6(o))
|
|
22736
|
+
K6(e);
|
|
22737
|
+
else if (B6(o)) {
|
|
22738
22738
|
const s = t.isLink ? null : Vo("https://");
|
|
22739
22739
|
n(!t.isLink), e.dispatchCommand(Ri, s);
|
|
22740
|
-
} else if (
|
|
22740
|
+
} else if (R6(o))
|
|
22741
22741
|
e.dispatchCommand(yc, void 0);
|
|
22742
22742
|
else
|
|
22743
22743
|
return !1;
|
|
@@ -22756,9 +22756,9 @@ function H8({
|
|
|
22756
22756
|
n
|
|
22757
22757
|
]), null;
|
|
22758
22758
|
}
|
|
22759
|
-
const
|
|
22759
|
+
const Y6 = 1, j6 = 100;
|
|
22760
22760
|
let OC = 0, BA = !1;
|
|
22761
|
-
function
|
|
22761
|
+
function Z6(e) {
|
|
22762
22762
|
e.addEventListener(
|
|
22763
22763
|
"keydown",
|
|
22764
22764
|
(n) => {
|
|
@@ -22767,24 +22767,24 @@ function Z8(e) {
|
|
|
22767
22767
|
!0
|
|
22768
22768
|
);
|
|
22769
22769
|
}
|
|
22770
|
-
function
|
|
22770
|
+
function G6() {
|
|
22771
22771
|
const [e] = Fe();
|
|
22772
22772
|
return _(() => {
|
|
22773
22773
|
if (!BA) {
|
|
22774
22774
|
const n = e.getRootElement();
|
|
22775
|
-
n &&
|
|
22775
|
+
n && Z6(n), BA = !0;
|
|
22776
22776
|
}
|
|
22777
22777
|
return e.registerCommand(
|
|
22778
22778
|
$s,
|
|
22779
22779
|
(n) => {
|
|
22780
22780
|
const t = q();
|
|
22781
|
-
return de(t) && OC +
|
|
22781
|
+
return de(t) && OC + j6 > n.timeStamp && Et(t.clone()), !1;
|
|
22782
22782
|
},
|
|
22783
|
-
|
|
22783
|
+
Y6
|
|
22784
22784
|
);
|
|
22785
22785
|
}, [e]), null;
|
|
22786
22786
|
}
|
|
22787
|
-
function
|
|
22787
|
+
function _6(e, n) {
|
|
22788
22788
|
const t = e.anchor, r = e.focus, s = (r.isBefore(t) ? r : t).getNode(), l = Xl(s);
|
|
22789
22789
|
if (!n && l.__prev === null)
|
|
22790
22790
|
return !0;
|
|
@@ -22797,7 +22797,7 @@ function _8(e, n) {
|
|
|
22797
22797
|
};
|
|
22798
22798
|
return n && c(l), !1;
|
|
22799
22799
|
}
|
|
22800
|
-
function
|
|
22800
|
+
function Q6(e) {
|
|
22801
22801
|
return e.registerCommand(
|
|
22802
22802
|
r1,
|
|
22803
22803
|
(n) => {
|
|
@@ -22805,7 +22805,7 @@ function Q8(e) {
|
|
|
22805
22805
|
if (!de(t))
|
|
22806
22806
|
return !1;
|
|
22807
22807
|
try {
|
|
22808
|
-
if (
|
|
22808
|
+
if (_6(t, n.shiftKey))
|
|
22809
22809
|
return !1;
|
|
22810
22810
|
n.preventDefault();
|
|
22811
22811
|
const o = n.shiftKey ? c1 : ff;
|
|
@@ -22817,9 +22817,9 @@ function Q8(e) {
|
|
|
22817
22817
|
nr
|
|
22818
22818
|
);
|
|
22819
22819
|
}
|
|
22820
|
-
function
|
|
22820
|
+
function J6() {
|
|
22821
22821
|
const [e] = Fe();
|
|
22822
|
-
return _(() =>
|
|
22822
|
+
return _(() => Q6(e)), null;
|
|
22823
22823
|
}
|
|
22824
22824
|
function RA(e) {
|
|
22825
22825
|
let n = 1;
|
|
@@ -22827,8 +22827,8 @@ function RA(e) {
|
|
|
22827
22827
|
n *= Number(window.getComputedStyle(e).getPropertyValue("zoom")), e = e.parentElement;
|
|
22828
22828
|
return n;
|
|
22829
22829
|
}
|
|
22830
|
-
const
|
|
22831
|
-
function
|
|
22830
|
+
const X6 = 33, V6 = 50;
|
|
22831
|
+
function q6({ editor: e }) {
|
|
22832
22832
|
const n = Ee(null), t = Ee(null), r = Ee(null), [o, s] = G(null), [l, c] = G(null), [d, f] = G(!1), [p, g] = G(null), [A, C] = G({ right: !1, bottom: !1 });
|
|
22833
22833
|
_(() => e.registerCommand(
|
|
22834
22834
|
Jr,
|
|
@@ -22967,7 +22967,7 @@ function q8({ editor: e }) {
|
|
|
22967
22967
|
w(
|
|
22968
22968
|
Math.max(
|
|
22969
22969
|
H ? O - U : U + O,
|
|
22970
|
-
|
|
22970
|
+
X6
|
|
22971
22971
|
)
|
|
22972
22972
|
);
|
|
22973
22973
|
} else {
|
|
@@ -22978,7 +22978,7 @@ function q8({ editor: e }) {
|
|
|
22978
22978
|
S(
|
|
22979
22979
|
Math.max(
|
|
22980
22980
|
te ? U - H : H + U,
|
|
22981
|
-
|
|
22981
|
+
V6
|
|
22982
22982
|
),
|
|
22983
22983
|
U
|
|
22984
22984
|
), e.update(() => {
|
|
@@ -23055,11 +23055,11 @@ function q8({ editor: e }) {
|
|
|
23055
23055
|
)
|
|
23056
23056
|
] }) });
|
|
23057
23057
|
}
|
|
23058
|
-
function $
|
|
23058
|
+
function $6({}) {
|
|
23059
23059
|
var r, o;
|
|
23060
23060
|
const [e] = Fe(), n = jL(), t = ((o = (r = e.getRootElement()) == null ? void 0 : r.ownerDocument) == null ? void 0 : o.body) || document.body;
|
|
23061
23061
|
return bt(
|
|
23062
|
-
() => n ? wr(/* @__PURE__ */ h(
|
|
23062
|
+
() => n ? wr(/* @__PURE__ */ h(q6, { editor: e }), t) : null,
|
|
23063
23063
|
[e, n, t]
|
|
23064
23064
|
);
|
|
23065
23065
|
}
|
|
@@ -24483,7 +24483,7 @@ function CB(e) {
|
|
|
24483
24483
|
hasHorizontalScroll: !0
|
|
24484
24484
|
}
|
|
24485
24485
|
),
|
|
24486
|
-
!o && /* @__PURE__ */ h($
|
|
24486
|
+
!o && /* @__PURE__ */ h($6, {}),
|
|
24487
24487
|
n && /* @__PURE__ */ Z(Ye, { children: [
|
|
24488
24488
|
!o && /* @__PURE__ */ h(
|
|
24489
24489
|
fB,
|
|
@@ -27318,7 +27318,7 @@ const KR = "_listContainer_1d88b_1", HR = "_list_1d88b_1", YR = "_text_1d88b_28"
|
|
|
27318
27318
|
title: r("editor.menu.media.excalidraw.hint.description"),
|
|
27319
27319
|
icon: /* @__PURE__ */ h(A1, { stroke: 2, size: 18 }),
|
|
27320
27320
|
onSelect: () => {
|
|
27321
|
-
import("./layers.
|
|
27321
|
+
import("./layers.C8OJIiwt.js").then(
|
|
27322
27322
|
({ INSERT_EXCALIDRAW_COMMAND: g }) => {
|
|
27323
27323
|
d(e, () => {
|
|
27324
27324
|
e.dispatchCommand(g, void 0);
|
|
@@ -27563,7 +27563,7 @@ function JR(e, n, t, r, o) {
|
|
|
27563
27563
|
/* @__PURE__ */ h(Ye, { children: e })
|
|
27564
27564
|
);
|
|
27565
27565
|
}
|
|
27566
|
-
const ZA = Gl(() => import("./layers.
|
|
27566
|
+
const ZA = Gl(() => import("./layers.C8OJIiwt.js"));
|
|
27567
27567
|
function XR(e) {
|
|
27568
27568
|
const {
|
|
27569
27569
|
onRef: n,
|
|
@@ -27626,7 +27626,7 @@ function XR(e) {
|
|
|
27626
27626
|
),
|
|
27627
27627
|
(E("extendCode") || E("equation")) && !D && /* @__PURE__ */ h(W5, {}),
|
|
27628
27628
|
E("markdownShortcut") && /* @__PURE__ */ h(M3, {}),
|
|
27629
|
-
E("shortcuts") && /* @__PURE__ */ h(
|
|
27629
|
+
E("shortcuts") && /* @__PURE__ */ h(H6, { editor: d, setIsLinkEditMode: () => {
|
|
27630
27630
|
} }),
|
|
27631
27631
|
E("extendCode") && !D && /* @__PURE__ */ h($B, {}),
|
|
27632
27632
|
E("equation") && !D && /* @__PURE__ */ h(VB, {}),
|
|
@@ -27670,11 +27670,11 @@ function XR(e) {
|
|
|
27670
27670
|
shouldPreserveNewLinesInMarkdown: !0
|
|
27671
27671
|
}
|
|
27672
27672
|
),
|
|
27673
|
-
E("select") && /* @__PURE__ */ h(
|
|
27673
|
+
E("select") && /* @__PURE__ */ h(s6, { editor: d }),
|
|
27674
27674
|
E("clickableLink") && /* @__PURE__ */ h(pL, {}),
|
|
27675
27675
|
E("horizontalRule") && /* @__PURE__ */ h(AL, {}),
|
|
27676
|
-
E("tabFocus") && /* @__PURE__ */ h(
|
|
27677
|
-
E("tabIndentation") && /* @__PURE__ */ h(
|
|
27676
|
+
E("tabFocus") && /* @__PURE__ */ h(G6, {}),
|
|
27677
|
+
E("tabIndentation") && /* @__PURE__ */ h(J6, {}),
|
|
27678
27678
|
E("collapsible") && /* @__PURE__ */ h(qN, {}),
|
|
27679
27679
|
E("callout") && /* @__PURE__ */ h(JB, {}),
|
|
27680
27680
|
E("layout") && /* @__PURE__ */ h(r9, {}),
|
|
@@ -28312,7 +28312,7 @@ const gO = Td ? "" : "os-windows", mO = ({ children: e }) => /* @__PURE__ */ h("
|
|
|
28312
28312
|
initialEditorState: oe()
|
|
28313
28313
|
}
|
|
28314
28314
|
) : /* @__PURE__ */ h(d1, { externalHistoryState: ce }),
|
|
28315
|
-
/* @__PURE__ */ h(XD, { children: /* @__PURE__ */ h(dO, { children: /* @__PURE__ */ h(
|
|
28315
|
+
/* @__PURE__ */ h(XD, { children: /* @__PURE__ */ h(dO, { children: /* @__PURE__ */ h(l6, { children: /* @__PURE__ */ h(WI, { children: /* @__PURE__ */ h("div", { className: "editor-shell", children: /* @__PURE__ */ h(
|
|
28316
28316
|
aO,
|
|
28317
28317
|
{
|
|
28318
28318
|
editorRef: R,
|