@layers-app/editor 0.6.14 → 0.6.16
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.js +2 -2
- package/dist/layers.-PmakFyI.js +1 -0
- package/dist/{layers.CwYJNO3E.js → layers.05I_EGOF.js} +1 -1
- package/dist/{layers.DIDdasGr.js → layers.0pAnpoOK.js} +1 -1
- package/dist/layers.2EO8GBdE.js +8 -0
- package/dist/layers.2XKSHMi2.js +6 -0
- package/dist/{layers.ZzweqwiO.js → layers.2e8zEhe2.js} +1 -1
- package/dist/{layers.BOFvu8lW.js → layers.3Yh5MvHY.js} +1 -1
- package/dist/{layers.DPlohdqD.js → layers.5dhOks7j.js} +1 -1
- package/dist/{layers.BtI3FauJ.js → layers.61zM8dVb.js} +1 -1
- package/dist/{layers.DFKvN7xr.js → layers.7LkgSGM_.js} +1 -1
- package/dist/{layers.C7d6dTZd.js → layers.8TeUsMCS.js} +4 -4
- package/dist/{layers.pCEOadu-.js → layers.APdyRNxj.js} +1 -1
- package/dist/{layers.CUSJhTyr.js → layers.B-KdCSoT.js} +1 -1
- package/dist/{layers.Df-Azbsi.js → layers.B3JS_7Uu.js} +1 -1
- package/dist/{layers.BopXs9i5.js → layers.B3_XZXEP.js} +1 -1
- package/dist/{layers.D1IOqtO7.js → layers.B4GQ5sxJ.js} +2 -2
- package/dist/{layers.Dqy1FAd7.js → layers.B5qcHNcn.js} +3 -3
- package/dist/{layers.BtQd71ou.js → layers.B68rlkj4.js} +1 -1
- package/dist/{layers.CV_HRzEz.js → layers.B6vxvGNM.js} +1 -1
- package/dist/{layers.hcsdejkd.js → layers.B74Wm37o.js} +1 -1
- package/dist/{layers.Vv7W8EUK.js → layers.BAAdRxM0.js} +1 -1
- package/dist/{layers.BakA__GA.js → layers.BB5rxtG-.js} +6 -6
- package/dist/{layers.DK9f8MGp.js → layers.BB93JJQv.js} +1 -1
- package/dist/{layers.BlS96d0x.js → layers.BB9tvkRb.js} +1 -1
- package/dist/{layers.Dg4lpal5.js → layers.BBz5MTJY.js} +4 -4
- package/dist/{layers.DsUUmP6N.js → layers.BCdMDEPR.js} +1 -1
- package/dist/{layers.0-Yx8pnu.js → layers.BDXiOXG1.js} +1 -1
- package/dist/{layers.DP7w6y7k.js → layers.BIaDXgg-.js} +1 -1
- package/dist/{layers.BnPfd2TG.js → layers.BMy8fgQK.js} +1 -1
- package/dist/{layers.2JSCbXo9.js → layers.BOil2OXT.js} +2 -2
- package/dist/{layers.CLSVPYyY.js → layers.BQjSGDlQ.js} +1 -1
- package/dist/{layers.B7L4dR9E.js → layers.BRZpSf3i.js} +1 -1
- package/dist/{layers.DCs1xA3B.js → layers.BS7ZHi_e.js} +1 -1
- package/dist/{layers.BV5qc-bA.js → layers.BSrvvWqu.js} +1 -1
- package/dist/{layers.BBLcOW05.js → layers.BUZr0R3y.js} +1 -1
- package/dist/{layers.CXf1M0oH.js → layers.BWHgRPjm.js} +1 -1
- package/dist/{layers.BA7QQSHh.js → layers.BWXPsBVo.js} +1 -1
- package/dist/{layers.DL-x6jRC.js → layers.BZQe7US0.js} +1 -1
- package/dist/{layers.Dp3QVUZY.js → layers.BaBWbr05.js} +1 -1
- package/dist/{layers.fhfhCAqj.js → layers.BcCy2UxV.js} +1 -1
- package/dist/{layers.CJwmAUIr.js → layers.BeDsa0cm.js} +1 -1
- package/dist/{layers.CtxXOemF.js → layers.Bff2KL8H.js} +1 -1
- package/dist/{layers.C7_Qhuzw.js → layers.BgGYCrej.js} +3 -3
- package/dist/{layers.CvbWNRei.js → layers.BhgtZ3Fr.js} +1 -1
- package/dist/{layers.BQWihUkz.js → layers.BjQcjTbi.js} +1 -1
- package/dist/{layers.BcPfcpYL.js → layers.BkH3ko8v.js} +1 -1
- package/dist/{layers.CCfyN4aj.js → layers.Bl3mblFl.js} +1 -1
- package/dist/{layers.CLL_snFh.js → layers.BmFC_vEP.js} +1 -1
- package/dist/{layers.CYcJESU4.js → layers.BmKdFpWp.js} +1 -1
- package/dist/{layers.2czEVRnd.js → layers.BnE3cs5i.js} +1 -1
- package/dist/{layers.Bjrk6tRA.js → layers.BnKAOBQt.js} +1 -1
- package/dist/{layers.Dy3pfbPd.js → layers.BnwLDIfB.js} +1 -1
- package/dist/{layers.C0cPlxKM.js → layers.BpsJjE12.js} +73 -71
- package/dist/{layers.BJaGYsQi.js → layers.BpuWA5IS.js} +7 -7
- package/dist/{layers.BgCAcoj3.js → layers.BsYK5m9f.js} +1 -1
- package/dist/{layers.Dz9Cicez.js → layers.BtAPBz90.js} +1 -1
- package/dist/{layers.14dx7-g7.js → layers.BuD9jmqn.js} +1 -1
- package/dist/{layers.BcYD30ao.js → layers.BvE622rI.js} +1 -1
- package/dist/{layers.C-tWFK6s.js → layers.BxMFSfxT.js} +1 -1
- package/dist/{layers.DWTKV81K.js → layers.Bxkk8QIl.js} +1 -1
- package/dist/{layers.D0YkQkkN.js → layers.ByXFvsm5.js} +1 -1
- package/dist/{layers.Bg-cdZ2N.js → layers.Bzuw_3eY.js} +1 -1
- package/dist/{layers.CJNdZMvP.js → layers.C-WIOuuj.js} +1 -1
- package/dist/{layers.C3H0kr06.js → layers.C1aDNUnj.js} +1 -1
- package/dist/{layers.C_uq4Gqc.js → layers.C1jF9HpN.js} +1 -1
- package/dist/{layers.CoESF-Xw.js → layers.C3FrFeNC.js} +624 -624
- package/dist/{layers.CWxOj4U3.js → layers.C3cspi-h.js} +1 -1
- package/dist/{layers.yDShvfOi.js → layers.C73c2oVA.js} +1 -1
- package/dist/{layers.pGTe8gMy.js → layers.C9Z1vvCY.js} +1 -1
- package/dist/{layers.CvE2GjMG.js → layers.C9vjvIWx.js} +3 -3
- package/dist/{layers.MTy4E8SB.js → layers.CCMQSXSz.js} +1 -1
- package/dist/{layers.CPrHlB2Z.js → layers.CCh4pqQh.js} +1 -1
- package/dist/{layers.CaSkYgKR.js → layers.CCpTt2O2.js} +1 -1
- package/dist/{layers.7MXWLWgJ.js → layers.CGpr7kts.js} +1 -1
- package/dist/{layers.Gpp6cVHw.js → layers.CI0Jue3e.js} +4 -4
- package/dist/{layers.qhO1RKiF.js → layers.CN1loqzO.js} +1 -1
- package/dist/{layers.C81ty4YB.js → layers.CNX0uPm3.js} +1 -1
- package/dist/{layers.Dqh7oFIX.js → layers.CQVj5sXi.js} +1 -1
- package/dist/{layers.B_Uvi5J9.js → layers.CSTg8syP.js} +1 -1
- package/dist/{layers.Bu2qG5Rb.js → layers.CV-kwFlo.js} +1 -1
- package/dist/{layers.BCxtSMqe.js → layers.CYN39ftG.js} +1 -1
- package/dist/{layers.DM6wTVmw.js → layers.CZRAj7E4.js} +1 -1
- package/dist/{layers.DRHJjGOb.js → layers.CaKqmx5d.js} +3 -3
- package/dist/{layers.BjKzZuc9.js → layers.CabpsUnj.js} +1 -1
- package/dist/{layers.C9tIOsYN.js → layers.CaxcBiG1.js} +2 -2
- package/dist/{layers._h5vjoRa.js → layers.Cd93ScMJ.js} +1 -1
- package/dist/{layers.DUquLtZi.js → layers.CdMNHljd.js} +1 -1
- package/dist/{layers.BO_MjYGw.js → layers.CeVIg3vq.js} +3 -3
- package/dist/{layers.Fyam0lGB.js → layers.Cf-cvzrf.js} +1 -1
- package/dist/{layers.DS9cXuKq.js → layers.Cibjckec.js} +1 -1
- package/dist/{layers.DG3VOQCO.js → layers.CkjHLhvB.js} +1 -1
- package/dist/{layers.B6lPpwe_.js → layers.Cl-kPGYy.js} +3 -3
- package/dist/{layers.B3X3fo4j.js → layers.CmVfATC1.js} +1 -1
- package/dist/{layers.1EWOHSqi.js → layers.Cn1XwuFP.js} +1 -1
- package/dist/{layers.yYXopVrb.js → layers.CpWr6-BN.js} +1 -1
- package/dist/{layers.1_3Sv53g.js → layers.CpfMDttd.js} +1 -1
- package/dist/{layers.Bg4Xa4Rn.js → layers.Cq8nnLI3.js} +1 -1
- package/dist/{layers.B6lkoDyy.js → layers.CsFdJt24.js} +4 -4
- package/dist/{layers.Db1ILUnF.js → layers.CtcPeQxp.js} +1 -1
- package/dist/{layers.CWXjON7U.js → layers.CwNfFTOI.js} +1 -1
- package/dist/{layers.CzKzBgSJ.js → layers.CwbFhcYk.js} +1 -1
- package/dist/{layers.Du1kfndR.js → layers.CyrR7wRB.js} +1 -1
- package/dist/{layers.Dktt2dKS.js → layers.Czfktnfg.js} +3 -3
- package/dist/{layers.Cst83O7D.js → layers.Czj7vQbb.js} +1 -1
- package/dist/{layers.BQM9Rpzg.js → layers.CzvlNmqY.js} +1 -1
- package/dist/{layers.C0JRxjIq.js → layers.D-CSjgsB.js} +1 -1
- package/dist/{layers.BMSbrFCy.js → layers.D4eKi5_C.js} +1 -1
- package/dist/{layers.BoVhp9l-.js → layers.D5e1s6Jl.js} +1 -1
- package/dist/{layers.Dm6kqvX9.js → layers.D6-ikuBh.js} +1 -1
- package/dist/{layers.hzA6JvMd.js → layers.D6z_2Qf_.js} +1 -1
- package/dist/{layers.Cp-T14P-.js → layers.D7qfAUVR.js} +1 -1
- package/dist/{layers.BwpdbFr7.js → layers.D7r7UhP2.js} +3 -3
- package/dist/{layers.bfXiaoPZ.js → layers.D83dIqcq.js} +1 -1
- package/dist/{layers.D8gEk5jQ.js → layers.D8brzU_t.js} +1 -1
- package/dist/{layers.Bjo0VA8_.js → layers.D9zbqthX.js} +1 -1
- package/dist/{layers.DJZWHhoM.js → layers.DAKLnUYG.js} +1 -1
- package/dist/{layers.CwOool-4.js → layers.DD-E27HX.js} +1 -1
- package/dist/{layers.Dg2l6TxQ.js → layers.DGhbGlAk.js} +1 -1
- package/dist/{layers.5-c3ZImz.js → layers.DL3YCMz_.js} +1 -1
- package/dist/{layers.D9YIWt2l.js → layers.DLLTIICQ.js} +1 -1
- package/dist/{layers.BXKs5bTy.js → layers.DLoYqkso.js} +1 -1
- package/dist/{layers.edt_iNTK.js → layers.DNMs8VC6.js} +1 -1
- package/dist/{layers.ClUKdp1n.js → layers.DPbeRYyP.js} +1 -1
- package/dist/{layers.BtLz4NMl.js → layers.DPvpPmNK.js} +4 -4
- package/dist/{layers.CYfoqjd_.js → layers.DSKnuYmQ.js} +5 -5
- package/dist/{layers.CXEIqJx3.js → layers.DSY78OW6.js} +1 -1
- package/dist/{layers.DZ67ujt7.js → layers.DSqDI-l_.js} +3 -3
- package/dist/{layers.BizS4eLu.js → layers.DT7PzOPE.js} +1 -1
- package/dist/{layers.DKtO75sh.js → layers.DTBW0Xlm.js} +1 -1
- package/dist/{layers.DodSCuZv.js → layers.DTKQktSb.js} +1 -1
- package/dist/{layers.Bvfud2a1.js → layers.DUH3kif7.js} +1 -1
- package/dist/{layers.BU-7QD9A.js → layers.DUNEcIhx.js} +1 -1
- package/dist/{layers.CzOECBHf.js → layers.DUg2r9Za.js} +1 -1
- package/dist/{layers.1ouaEbyi.js → layers.DWHs6PYH.js} +1 -1
- package/dist/{layers.BdrcBmVp.js → layers.DWOtyYXT.js} +1 -1
- package/dist/{layers.CF5xTg8b.js → layers.DXgQ7E-7.js} +1 -1
- package/dist/{layers.Ba_OZSBe.js → layers.DZtJLbpy.js} +1 -1
- package/dist/{layers.CFW5IhJL.js → layers.D_ORpiAw.js} +1 -1
- package/dist/{layers.BSE9EUi2.js → layers.DbMELnFL.js} +2 -2
- package/dist/{layers.DlEUIWap.js → layers.Db_5AGt0.js} +1 -1
- package/dist/{layers.TOszacvV.js → layers.De5bQifu.js} +1 -1
- package/dist/{layers.BHeBjt7r.js → layers.DfJpvFdG.js} +1 -1
- package/dist/{layers.B5ByFSSj.js → layers.DiVHm9qp.js} +1 -1
- package/dist/{layers.kjDyoGwY.js → layers.DinFDjOH.js} +5 -5
- package/dist/{layers.efhIA7BF.js → layers.Dj4Q2j9u.js} +1 -1
- package/dist/{layers.Dmtq_co_.js → layers.DjTzacxh.js} +1 -1
- package/dist/{layers.htgiZ7Y9.js → layers.DlU_PCLB.js} +1 -1
- package/dist/{layers.Du8lzn1F.js → layers.DmQMbdHO.js} +27 -27
- package/dist/{layers.eeJGywZ-.js → layers.DmXL-tVS.js} +1 -1
- package/dist/{layers.B6K7WtWk.js → layers.DnMNdbJd.js} +1 -1
- package/dist/{layers.DdkhtLFW.js → layers.DnRLcP1F.js} +1 -1
- package/dist/{layers.CHrmWcfj.js → layers.Do-qbo4-.js} +1 -1
- package/dist/{layers.B6DB7SRG.js → layers.Dq2jCcYq.js} +4 -4
- package/dist/{layers.DXTh5Mq0.js → layers.DrdbBuHO.js} +1 -1
- package/dist/{layers.C-0mV4is.js → layers.DsitfiwL.js} +1 -1
- package/dist/{layers.eMeIyQqm.js → layers.Dta4Ih3t.js} +1 -1
- package/dist/{layers.Bo3qGkdP.js → layers.DtuOL86a.js} +4 -4
- package/dist/{layers.BsVx1jjp.js → layers.DuFC4W_f.js} +1 -1
- package/dist/{layers.Br-Jc8KA.js → layers.DuzL83_G.js} +1 -1
- package/dist/{layers.BvliExc1.js → layers.DvDOkaLW.js} +1 -1
- package/dist/{layers.BtBKGDpo.js → layers.Dw8xnNGy.js} +1 -1
- package/dist/{layers.BnEKcjJN.js → layers.DwFSMEUY.js} +1 -1
- package/dist/{layers.CYiwa4an.js → layers.DwkF1asY.js} +1 -1
- package/dist/{layers.CgUAEOR6.js → layers.DyAX5xX8.js} +1 -1
- package/dist/{layers.DR3LoGAJ.js → layers.DyhQ_9Zc.js} +1 -1
- package/dist/{layers.EHEj681Z.js → layers.DzG1v5bA.js} +1 -1
- package/dist/{layers.CXyq9f36.js → layers.FeLnW6aN.js} +1 -1
- package/dist/{layers.DhmW5ieA.js → layers.FkaRT-n0.js} +1 -1
- package/dist/{layers.C05ewFgZ.js → layers.HPKzAIhB.js} +1 -1
- package/dist/{layers.Bxtlu7TW.js → layers.HRjmNbDf.js} +3 -3
- package/dist/{layers.CvdC-k_q.js → layers.I5aOJrFz.js} +1 -1
- package/dist/{layers.D0WDnpXs.js → layers.Ohn8Y7s2.js} +1 -1
- package/dist/{layers.C6vLqf_V.js → layers.QwXY8ZvN.js} +1 -1
- package/dist/{layers.hweLqW3I.js → layers.R8mPlCA0.js} +7 -7
- package/dist/{layers.CvqxXvbr.js → layers.SYmQqNbz.js} +2 -2
- package/dist/{layers.CLX75kbe.js → layers.T3QJqfad.js} +1 -1
- package/dist/{layers.B1nQY6gR.js → layers.UDSvDmZX.js} +1 -1
- package/dist/{layers.CgtxYweM.js → layers.WRq5noC2.js} +1 -1
- package/dist/{layers.C-jgG5v8.js → layers.XwF9ditJ.js} +4 -4
- package/dist/{layers.BnyIp8SJ.js → layers.Z_A5OV1d.js} +16 -13
- package/dist/{layers.DjsDr0QD.js → layers.awn6bEHW.js} +1 -1
- package/dist/{layers.C0Lgw_Sx.js → layers.b9B2NY7n.js} +337 -335
- package/dist/layers.crSINQKB.js +1 -0
- package/dist/{layers.C58rf1Bp.js → layers.czTDzR9x.js} +4 -4
- package/dist/{layers.wjQjL6HY.js → layers.hzHmIJJL.js} +1 -1
- package/dist/{layers.D6B-k9V_.js → layers.ichtq_1E.js} +1 -1
- package/dist/{layers.CSbo9deI.js → layers.j3OK1KXU.js} +1 -1
- package/dist/{layers.DVT9oVqt.js → layers.k-R18yMM.js} +1 -1
- package/dist/{layers.C6pjcXyR.js → layers.kFj6qPMA.js} +3 -3
- package/dist/{layers.C1XX454B.js → layers.kpUTsTV6.js} +1 -1
- package/dist/{layers.DA1Bkx5_.js → layers.mMoYzwTg.js} +1 -1
- package/dist/{layers.YQLrJ5pg.js → layers.mrajIOi7.js} +2 -2
- package/dist/{layers.Cx0XmLyP.js → layers.n9KiStGZ.js} +9512 -8853
- package/dist/{layers.jMrP7Xve.js → layers.nMJQXMBy.js} +1 -1
- package/dist/{layers.D7onemsC.js → layers.nYnfa_BB.js} +1 -1
- package/dist/{layers.C1h-kT0P.js → layers.oD8fg5Y1.js} +2 -2
- package/dist/{layers.C7pWaJzb.js → layers.pZuOaKRc.js} +1 -1
- package/dist/{layers.xqdkrWon.js → layers.qWLtHc_Z.js} +1 -1
- package/dist/{layers.Bi7fd1lv.js → layers.q_t5G29r.js} +1 -1
- package/dist/{layers.8uaGnlJu.js → layers.qgH7GQbz.js} +1 -1
- package/dist/{layers.BaOPhL0t.js → layers.svLxGG5n.js} +1 -1
- package/dist/{layers.D8se0b9M.js → layers.ucpJvsJX.js} +1 -1
- package/dist/{layers.psgvvdjL.js → layers.wrmVOZ06.js} +1 -1
- package/dist/{layers.ByMZpozJ.js → layers.y1E2APEP.js} +1 -1
- package/dist/{layers.CbHKDdQD.js → layers.yGphOVcr.js} +1 -1
- package/dist/{layers.QiOLSB-v.js → layers.zGlIXjUv.js} +1 -1
- package/package.json +4 -2
- package/dist/layers.BDenr5Vg.js +0 -1
- package/dist/layers.CCfAnh4R.js +0 -1
- package/dist/layers.HCb_K2Ym.js +0 -8
- package/dist/layers.JPDLhSnE.js +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as
|
|
2
|
-
import { n as Zc } from "./layers.
|
|
1
|
+
import { K as ee, J as Kc } from "./layers.Z_A5OV1d.js";
|
|
2
|
+
import { n as Zc } from "./layers.n9KiStGZ.js";
|
|
3
3
|
const Mr = 20, Jc = {
|
|
4
4
|
rect: "rectangle",
|
|
5
5
|
circle: "ellipse"
|
|
@@ -21,14 +21,14 @@ class $r {
|
|
|
21
21
|
}), this.converter = e;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var _e;
|
|
25
25
|
(function(t) {
|
|
26
26
|
t.ROUND = "round", t.STADIUM = "stadium", t.DOUBLECIRCLE = "doublecircle", t.CIRCLE = "circle", t.DIAMOND = "diamond";
|
|
27
|
-
})(
|
|
28
|
-
var
|
|
27
|
+
})(_e || (_e = {}));
|
|
28
|
+
var Bn;
|
|
29
29
|
(function(t) {
|
|
30
30
|
t.COLOR = "color";
|
|
31
|
-
})(
|
|
31
|
+
})(Bn || (Bn = {}));
|
|
32
32
|
var $e;
|
|
33
33
|
(function(t) {
|
|
34
34
|
t.FILL = "fill", t.STROKE = "stroke", t.STROKE_WIDTH = "stroke-width", t.STROKE_DASHARRAY = "stroke-dasharray";
|
|
@@ -114,7 +114,7 @@ const eh = {
|
|
|
114
114
|
const e = {};
|
|
115
115
|
return Object.keys(t).forEach((i) => {
|
|
116
116
|
switch (i) {
|
|
117
|
-
case
|
|
117
|
+
case Bn.COLOR: {
|
|
118
118
|
e.strokeColor = t[i];
|
|
119
119
|
break;
|
|
120
120
|
}
|
|
@@ -191,15 +191,15 @@ const eh = {
|
|
|
191
191
|
...l
|
|
192
192
|
};
|
|
193
193
|
switch (s.type) {
|
|
194
|
-
case
|
|
194
|
+
case _e.STADIUM: {
|
|
195
195
|
h = { ...h, roundness: { type: 3 } };
|
|
196
196
|
break;
|
|
197
197
|
}
|
|
198
|
-
case
|
|
198
|
+
case _e.ROUND: {
|
|
199
199
|
h = { ...h, roundness: { type: 3 } };
|
|
200
200
|
break;
|
|
201
201
|
}
|
|
202
|
-
case
|
|
202
|
+
case _e.DOUBLECIRCLE: {
|
|
203
203
|
a.push(`doublecircle_${s.id}}`);
|
|
204
204
|
const u = {
|
|
205
205
|
type: "ellipse",
|
|
@@ -219,11 +219,11 @@ const eh = {
|
|
|
219
219
|
h = { ...h, groupIds: a, type: "ellipse" }, i.push(u);
|
|
220
220
|
break;
|
|
221
221
|
}
|
|
222
|
-
case
|
|
222
|
+
case _e.CIRCLE: {
|
|
223
223
|
h.type = "ellipse";
|
|
224
224
|
break;
|
|
225
225
|
}
|
|
226
|
-
case
|
|
226
|
+
case _e.DIAMOND: {
|
|
227
227
|
h.type = "diamond";
|
|
228
228
|
break;
|
|
229
229
|
}
|
|
@@ -264,7 +264,7 @@ const eh = {
|
|
|
264
264
|
}
|
|
265
265
|
}), lh = new $r({
|
|
266
266
|
converter: (t) => {
|
|
267
|
-
const e =
|
|
267
|
+
const e = ee(), { width: i, height: r } = t, n = {
|
|
268
268
|
type: "image",
|
|
269
269
|
x: 0,
|
|
270
270
|
y: 0,
|
|
@@ -281,7 +281,7 @@ const eh = {
|
|
|
281
281
|
}
|
|
282
282
|
}, elements: [n] };
|
|
283
283
|
}
|
|
284
|
-
}),
|
|
284
|
+
}), Jn = (t) => t.replace(/\\n/g, `
|
|
285
285
|
`), yi = (t) => {
|
|
286
286
|
const e = {
|
|
287
287
|
type: "line",
|
|
@@ -305,7 +305,7 @@ const eh = {
|
|
|
305
305
|
y: t.y,
|
|
306
306
|
width: t.width,
|
|
307
307
|
height: t.height,
|
|
308
|
-
text:
|
|
308
|
+
text: Jn(t.text) || "",
|
|
309
309
|
fontSize: t.fontSize,
|
|
310
310
|
verticalAlign: "middle"
|
|
311
311
|
};
|
|
@@ -325,7 +325,7 @@ const eh = {
|
|
|
325
325
|
width: t.width,
|
|
326
326
|
height: t.height,
|
|
327
327
|
label: {
|
|
328
|
-
text:
|
|
328
|
+
text: Jn(((r = t == null ? void 0 : t.label) == null ? void 0 : r.text) || ""),
|
|
329
329
|
fontSize: (n = t == null ? void 0 : t.label) == null ? void 0 : n.fontSize,
|
|
330
330
|
verticalAlign: ((o = t.label) == null ? void 0 : o.verticalAlign) || "middle",
|
|
331
331
|
strokeColor: ((s = t.label) == null ? void 0 : s.color) || "#000",
|
|
@@ -355,7 +355,7 @@ const eh = {
|
|
|
355
355
|
endArrowhead: (t == null ? void 0 : t.endArrowhead) || null,
|
|
356
356
|
startArrowhead: (t == null ? void 0 : t.startArrowhead) || null,
|
|
357
357
|
label: {
|
|
358
|
-
text:
|
|
358
|
+
text: Jn(((i = t == null ? void 0 : t.label) == null ? void 0 : i.text) || ""),
|
|
359
359
|
fontSize: 16
|
|
360
360
|
},
|
|
361
361
|
roundness: {
|
|
@@ -416,7 +416,7 @@ const eh = {
|
|
|
416
416
|
throw new Error(`Actor attributes missing ${v}`);
|
|
417
417
|
s = Math.min(s, v.x), a = Math.min(a, v.y), l = Math.max(l, v.x + v.width), c = Math.max(c, v.y + v.height);
|
|
418
418
|
});
|
|
419
|
-
const d = 10, u = s - d, f = a - d, m = l - s + d * 2, y = c - a + d * 2, C =
|
|
419
|
+
const d = 10, u = s - d, f = a - d, m = l - s + d * 2, y = c - a + d * 2, C = ee(), E = di({
|
|
420
420
|
type: "rectangle",
|
|
421
421
|
x: u,
|
|
422
422
|
y: f,
|
|
@@ -426,13 +426,13 @@ const eh = {
|
|
|
426
426
|
id: C
|
|
427
427
|
});
|
|
428
428
|
e.unshift(E);
|
|
429
|
-
const b =
|
|
429
|
+
const b = ee(), R = [C];
|
|
430
430
|
e.forEach((v) => {
|
|
431
431
|
if (v.type !== "frame") {
|
|
432
432
|
if (v.x === void 0 || v.y === void 0 || v.width === void 0 || v.height === void 0)
|
|
433
433
|
throw new Error(`Element attributes missing ${v}`);
|
|
434
434
|
if (v.x >= s && v.x + v.width <= l && v.y >= a && v.y + v.height <= c) {
|
|
435
|
-
const U = v.id ||
|
|
435
|
+
const U = v.id || ee();
|
|
436
436
|
v.id || Object.assign(v, { id: U }), R.push(U);
|
|
437
437
|
}
|
|
438
438
|
}
|
|
@@ -486,7 +486,7 @@ const eh = {
|
|
|
486
486
|
});
|
|
487
487
|
const s = {
|
|
488
488
|
type: "frame",
|
|
489
|
-
id:
|
|
489
|
+
id: ee(),
|
|
490
490
|
name: i.id,
|
|
491
491
|
children: n
|
|
492
492
|
};
|
|
@@ -630,11 +630,11 @@ function ph() {
|
|
|
630
630
|
}, w.valueOf = function() {
|
|
631
631
|
return this.$d.getTime();
|
|
632
632
|
}, w.startOf = function(T, L) {
|
|
633
|
-
var k = this, M = !!A.u(L) || L, W = A.p(T), z = function($t,
|
|
634
|
-
var Et = A.w(k.$u ? Date.UTC(k.$y,
|
|
633
|
+
var k = this, M = !!A.u(L) || L, W = A.p(T), z = function($t, nt) {
|
|
634
|
+
var Et = A.w(k.$u ? Date.UTC(k.$y, nt, $t) : new Date(k.$y, nt, $t), k);
|
|
635
635
|
return M ? Et : Et.endOf(c);
|
|
636
|
-
}, V = function($t,
|
|
637
|
-
return A.w(k.toDate()[$t].apply(k.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
|
636
|
+
}, V = function($t, nt) {
|
|
637
|
+
return A.w(k.toDate()[$t].apply(k.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(nt)), k);
|
|
638
638
|
}, j = this.$W, it = this.$M, X = this.$D, Tt = "set" + (this.$u ? "UTC" : "");
|
|
639
639
|
switch (W) {
|
|
640
640
|
case f:
|
|
@@ -687,17 +687,17 @@ function ph() {
|
|
|
687
687
|
}, w.format = function(T) {
|
|
688
688
|
var L = this, k = this.$locale();
|
|
689
689
|
if (!this.isValid()) return k.invalidDate || y;
|
|
690
|
-
var M = T || "YYYY-MM-DDTHH:mm:ssZ", W = A.z(this), z = this.$H, V = this.$m, j = this.$M, it = k.weekdays, X = k.months, Tt = k.meridiem, Bt = function(
|
|
691
|
-
return
|
|
692
|
-
}, St = function(
|
|
693
|
-
return A.s(z % 12 || 12,
|
|
694
|
-
}, $t = Tt || function(
|
|
695
|
-
var Lt =
|
|
696
|
-
return
|
|
690
|
+
var M = T || "YYYY-MM-DDTHH:mm:ssZ", W = A.z(this), z = this.$H, V = this.$m, j = this.$M, it = k.weekdays, X = k.months, Tt = k.meridiem, Bt = function(nt, Et, se, Lt) {
|
|
691
|
+
return nt && (nt[Et] || nt(L, M)) || se[Et].slice(0, Lt);
|
|
692
|
+
}, St = function(nt) {
|
|
693
|
+
return A.s(z % 12 || 12, nt, "0");
|
|
694
|
+
}, $t = Tt || function(nt, Et, se) {
|
|
695
|
+
var Lt = nt < 12 ? "AM" : "PM";
|
|
696
|
+
return se ? Lt.toLowerCase() : Lt;
|
|
697
697
|
};
|
|
698
|
-
return M.replace(E, (function(
|
|
699
|
-
return Et || (function(
|
|
700
|
-
switch (
|
|
698
|
+
return M.replace(E, (function(nt, Et) {
|
|
699
|
+
return Et || (function(se) {
|
|
700
|
+
switch (se) {
|
|
701
701
|
case "YY":
|
|
702
702
|
return String(L.$y).slice(-2);
|
|
703
703
|
case "YYYY":
|
|
@@ -748,7 +748,7 @@ function ph() {
|
|
|
748
748
|
return W;
|
|
749
749
|
}
|
|
750
750
|
return null;
|
|
751
|
-
})(
|
|
751
|
+
})(nt) || W.replace(":", "");
|
|
752
752
|
}));
|
|
753
753
|
}, w.utcOffset = function() {
|
|
754
754
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -804,9 +804,9 @@ function ph() {
|
|
|
804
804
|
}, w.toString = function() {
|
|
805
805
|
return this.$d.toUTCString();
|
|
806
806
|
}, P;
|
|
807
|
-
})(),
|
|
808
|
-
return H.prototype =
|
|
809
|
-
|
|
807
|
+
})(), oe = et.prototype;
|
|
808
|
+
return H.prototype = oe, [["$ms", o], ["$s", s], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y", f], ["$D", m]].forEach((function(P) {
|
|
809
|
+
oe[P[1]] = function(w) {
|
|
810
810
|
return this.$g(w, P[0], P[1]);
|
|
811
811
|
};
|
|
812
812
|
})), H.extend = function(P, w) {
|
|
@@ -880,10 +880,10 @@ function es(t, e, i) {
|
|
|
880
880
|
}
|
|
881
881
|
return i != null && t.push({ name: e, value: i }), t;
|
|
882
882
|
}
|
|
883
|
-
var
|
|
883
|
+
var En = "http://www.w3.org/1999/xhtml";
|
|
884
884
|
const is = {
|
|
885
885
|
svg: "http://www.w3.org/2000/svg",
|
|
886
|
-
xhtml:
|
|
886
|
+
xhtml: En,
|
|
887
887
|
xlink: "http://www.w3.org/1999/xlink",
|
|
888
888
|
xml: "http://www.w3.org/XML/1998/namespace",
|
|
889
889
|
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
@@ -895,7 +895,7 @@ function Dr(t) {
|
|
|
895
895
|
function xh(t) {
|
|
896
896
|
return function() {
|
|
897
897
|
var e = this.ownerDocument, i = this.namespaceURI;
|
|
898
|
-
return i ===
|
|
898
|
+
return i === En && e.documentElement.namespaceURI === En ? e.createElement(t) : e.createElementNS(i, t);
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
901
|
function bh(t) {
|
|
@@ -909,13 +909,13 @@ function Ta(t) {
|
|
|
909
909
|
}
|
|
910
910
|
function Th() {
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function Qn(t) {
|
|
913
913
|
return t == null ? Th : function() {
|
|
914
914
|
return this.querySelector(t);
|
|
915
915
|
};
|
|
916
916
|
}
|
|
917
917
|
function Sh(t) {
|
|
918
|
-
typeof t != "function" && (t =
|
|
918
|
+
typeof t != "function" && (t = Qn(t));
|
|
919
919
|
for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
|
|
920
920
|
for (var o = e[n], s = o.length, a = r[n] = new Array(s), l, c, h = 0; h < s; ++h)
|
|
921
921
|
(l = o[h]) && (c = t.call(l, l.__data__, h, o)) && ("__data__" in l && (c.__data__ = l.__data__), a[h] = c);
|
|
@@ -1202,7 +1202,7 @@ function mu(t, e) {
|
|
|
1202
1202
|
function Ba(t) {
|
|
1203
1203
|
return t.trim().split(/^|\s+/);
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function to(t) {
|
|
1206
1206
|
return t.classList || new Ea(t);
|
|
1207
1207
|
}
|
|
1208
1208
|
function Ea(t) {
|
|
@@ -1222,10 +1222,10 @@ Ea.prototype = {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
};
|
|
1224
1224
|
function La(t, e) {
|
|
1225
|
-
for (var i =
|
|
1225
|
+
for (var i = to(t), r = -1, n = e.length; ++r < n; ) i.add(e[r]);
|
|
1226
1226
|
}
|
|
1227
1227
|
function Fa(t, e) {
|
|
1228
|
-
for (var i =
|
|
1228
|
+
for (var i = to(t), r = -1, n = e.length; ++r < n; ) i.remove(e[r]);
|
|
1229
1229
|
}
|
|
1230
1230
|
function yu(t) {
|
|
1231
1231
|
return function() {
|
|
@@ -1245,7 +1245,7 @@ function Cu(t, e) {
|
|
|
1245
1245
|
function xu(t, e) {
|
|
1246
1246
|
var i = Ba(t + "");
|
|
1247
1247
|
if (arguments.length < 2) {
|
|
1248
|
-
for (var r =
|
|
1248
|
+
for (var r = to(this.node()), n = -1, o = i.length; ++n < o; ) if (!r.contains(i[n])) return !1;
|
|
1249
1249
|
return !0;
|
|
1250
1250
|
}
|
|
1251
1251
|
return this.each((typeof e == "function" ? Cu : e ? yu : _u)(i, e));
|
|
@@ -1306,7 +1306,7 @@ function Mu() {
|
|
|
1306
1306
|
return null;
|
|
1307
1307
|
}
|
|
1308
1308
|
function $u(t, e) {
|
|
1309
|
-
var i = typeof t == "function" ? t : Ta(t), r = e == null ? Mu : typeof e == "function" ? e :
|
|
1309
|
+
var i = typeof t == "function" ? t : Ta(t), r = e == null ? Mu : typeof e == "function" ? e : Qn(e);
|
|
1310
1310
|
return this.select(function() {
|
|
1311
1311
|
return this.insertBefore(i.apply(this, arguments), r.apply(this, arguments) || null);
|
|
1312
1312
|
});
|
|
@@ -1454,7 +1454,7 @@ bt.prototype = Ii.prototype = {
|
|
|
1454
1454
|
function kt(t) {
|
|
1455
1455
|
return typeof t == "string" ? new bt([[document.querySelector(t)]], [document.documentElement]) : new bt([[t]], Ia);
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function eo(t, e, i) {
|
|
1458
1458
|
t.prototype = e.prototype = i, i.constructor = t;
|
|
1459
1459
|
}
|
|
1460
1460
|
function Ma(t, e) {
|
|
@@ -1464,7 +1464,7 @@ function Ma(t, e) {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
function Mi() {
|
|
1466
1466
|
}
|
|
1467
|
-
var vi = 0.7, fr = 1 / vi, Re = "\\s*([+-]?\\d+)\\s*", ki = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
|
|
1467
|
+
var vi = 0.7, fr = 1 / vi, Re = "\\s*([+-]?\\d+)\\s*", ki = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", zt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ju = /^#([0-9a-f]{3,8})$/, Qu = new RegExp(`^rgb\\(${Re},${Re},${Re}\\)$`), td = new RegExp(`^rgb\\(${zt},${zt},${zt}\\)$`), ed = new RegExp(`^rgba\\(${Re},${Re},${Re},${ki}\\)$`), id = new RegExp(`^rgba\\(${zt},${zt},${zt},${ki}\\)$`), rd = new RegExp(`^hsl\\(${ki},${zt},${zt}\\)$`), nd = new RegExp(`^hsla\\(${ki},${zt},${zt},${ki}\\)$`), rs = {
|
|
1468
1468
|
aliceblue: 15792383,
|
|
1469
1469
|
antiquewhite: 16444375,
|
|
1470
1470
|
aqua: 65535,
|
|
@@ -1614,7 +1614,7 @@ var vi = 0.7, fr = 1 / vi, Re = "\\s*([+-]?\\d+)\\s*", ki = "\\s*([+-]?(?:\\d*\\
|
|
|
1614
1614
|
yellow: 16776960,
|
|
1615
1615
|
yellowgreen: 10145074
|
|
1616
1616
|
};
|
|
1617
|
-
|
|
1617
|
+
eo(Mi, wi, {
|
|
1618
1618
|
copy(t) {
|
|
1619
1619
|
return Object.assign(new this.constructor(), this, t);
|
|
1620
1620
|
},
|
|
@@ -1654,13 +1654,13 @@ function Xi(t, e, i, r) {
|
|
|
1654
1654
|
function ad(t) {
|
|
1655
1655
|
return t instanceof Mi || (t = wi(t)), t ? (t = t.rgb(), new _t(t.r, t.g, t.b, t.opacity)) : new _t();
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function Ln(t, e, i, r) {
|
|
1658
1658
|
return arguments.length === 1 ? ad(t) : new _t(t, e, i, r ?? 1);
|
|
1659
1659
|
}
|
|
1660
1660
|
function _t(t, e, i, r) {
|
|
1661
1661
|
this.r = +t, this.g = +e, this.b = +i, this.opacity = +r;
|
|
1662
1662
|
}
|
|
1663
|
-
|
|
1663
|
+
eo(_t, Ln, Ma(Mi, {
|
|
1664
1664
|
brighter(t) {
|
|
1665
1665
|
return t = t == null ? fr : Math.pow(fr, t), new _t(this.r * t, this.g * t, this.b * t, this.opacity);
|
|
1666
1666
|
},
|
|
@@ -1671,7 +1671,7 @@ to(_t, En, Ma(Mi, {
|
|
|
1671
1671
|
return this;
|
|
1672
1672
|
},
|
|
1673
1673
|
clamp() {
|
|
1674
|
-
return new _t(
|
|
1674
|
+
return new _t(be(this.r), be(this.g), be(this.b), pr(this.opacity));
|
|
1675
1675
|
},
|
|
1676
1676
|
displayable() {
|
|
1677
1677
|
return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
@@ -1684,23 +1684,23 @@ to(_t, En, Ma(Mi, {
|
|
|
1684
1684
|
toString: ls
|
|
1685
1685
|
}));
|
|
1686
1686
|
function as() {
|
|
1687
|
-
return `#${
|
|
1687
|
+
return `#${Ce(this.r)}${Ce(this.g)}${Ce(this.b)}`;
|
|
1688
1688
|
}
|
|
1689
1689
|
function ld() {
|
|
1690
|
-
return `#${
|
|
1690
|
+
return `#${Ce(this.r)}${Ce(this.g)}${Ce(this.b)}${Ce((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
1691
1691
|
}
|
|
1692
1692
|
function ls() {
|
|
1693
1693
|
const t = pr(this.opacity);
|
|
1694
|
-
return `${t === 1 ? "rgb(" : "rgba("}${
|
|
1694
|
+
return `${t === 1 ? "rgb(" : "rgba("}${be(this.r)}, ${be(this.g)}, ${be(this.b)}${t === 1 ? ")" : `, ${t})`}`;
|
|
1695
1695
|
}
|
|
1696
1696
|
function pr(t) {
|
|
1697
1697
|
return isNaN(t) ? 1 : Math.max(0, Math.min(1, t));
|
|
1698
1698
|
}
|
|
1699
|
-
function
|
|
1699
|
+
function be(t) {
|
|
1700
1700
|
return Math.max(0, Math.min(255, Math.round(t) || 0));
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1703
|
-
return t =
|
|
1702
|
+
function Ce(t) {
|
|
1703
|
+
return t = be(t), (t < 16 ? "0" : "") + t.toString(16);
|
|
1704
1704
|
}
|
|
1705
1705
|
function cs(t, e, i, r) {
|
|
1706
1706
|
return r <= 0 ? t = e = i = NaN : i <= 0 || i >= 1 ? t = e = NaN : e <= 0 && (t = NaN), new Ot(t, e, i, r);
|
|
@@ -1719,7 +1719,7 @@ function cd(t, e, i, r) {
|
|
|
1719
1719
|
function Ot(t, e, i, r) {
|
|
1720
1720
|
this.h = +t, this.s = +e, this.l = +i, this.opacity = +r;
|
|
1721
1721
|
}
|
|
1722
|
-
|
|
1722
|
+
eo(Ot, cd, Ma(Mi, {
|
|
1723
1723
|
brighter(t) {
|
|
1724
1724
|
return t = t == null ? fr : Math.pow(fr, t), new Ot(this.h, this.s, this.l * t, this.opacity);
|
|
1725
1725
|
},
|
|
@@ -1729,9 +1729,9 @@ to(Ot, cd, Ma(Mi, {
|
|
|
1729
1729
|
rgb() {
|
|
1730
1730
|
var t = this.h % 360 + (this.h < 0) * 360, e = isNaN(t) || isNaN(this.s) ? 0 : this.s, i = this.l, r = i + (i < 0.5 ? i : 1 - i) * e, n = 2 * i - r;
|
|
1731
1731
|
return new _t(
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1732
|
+
un(t >= 240 ? t - 240 : t + 120, n, r),
|
|
1733
|
+
un(t, n, r),
|
|
1734
|
+
un(t < 120 ? t + 240 : t - 120, n, r),
|
|
1735
1735
|
this.opacity
|
|
1736
1736
|
);
|
|
1737
1737
|
},
|
|
@@ -1752,10 +1752,10 @@ function hs(t) {
|
|
|
1752
1752
|
function Gi(t) {
|
|
1753
1753
|
return Math.max(0, Math.min(1, t || 0));
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1755
|
+
function un(t, e, i) {
|
|
1756
1756
|
return (t < 60 ? e + (i - e) * t / 60 : t < 180 ? i : t < 240 ? e + (i - e) * (240 - t) / 60 : e) * 255;
|
|
1757
1757
|
}
|
|
1758
|
-
const
|
|
1758
|
+
const io = (t) => () => t;
|
|
1759
1759
|
function Da(t, e) {
|
|
1760
1760
|
return function(i) {
|
|
1761
1761
|
return t + i * e;
|
|
@@ -1768,33 +1768,33 @@ function hd(t, e, i) {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
function Y1(t, e) {
|
|
1770
1770
|
var i = e - t;
|
|
1771
|
-
return i ? Da(t, i > 180 || i < -180 ? i - 360 * Math.round(i / 360) : i) :
|
|
1771
|
+
return i ? Da(t, i > 180 || i < -180 ? i - 360 * Math.round(i / 360) : i) : io(isNaN(t) ? e : t);
|
|
1772
1772
|
}
|
|
1773
1773
|
function ud(t) {
|
|
1774
1774
|
return (t = +t) == 1 ? Na : function(e, i) {
|
|
1775
|
-
return i - e ? hd(e, i, t) :
|
|
1775
|
+
return i - e ? hd(e, i, t) : io(isNaN(e) ? i : e);
|
|
1776
1776
|
};
|
|
1777
1777
|
}
|
|
1778
1778
|
function Na(t, e) {
|
|
1779
1779
|
var i = e - t;
|
|
1780
|
-
return i ? Da(t, i) :
|
|
1780
|
+
return i ? Da(t, i) : io(isNaN(t) ? e : t);
|
|
1781
1781
|
}
|
|
1782
1782
|
const us = (function t(e) {
|
|
1783
1783
|
var i = ud(e);
|
|
1784
1784
|
function r(n, o) {
|
|
1785
|
-
var s = i((n =
|
|
1785
|
+
var s = i((n = Ln(n)).r, (o = Ln(o)).r), a = i(n.g, o.g), l = i(n.b, o.b), c = Na(n.opacity, o.opacity);
|
|
1786
1786
|
return function(h) {
|
|
1787
1787
|
return n.r = s(h), n.g = a(h), n.b = l(h), n.opacity = c(h), n + "";
|
|
1788
1788
|
};
|
|
1789
1789
|
}
|
|
1790
1790
|
return r.gamma = t, r;
|
|
1791
1791
|
})(1);
|
|
1792
|
-
function
|
|
1792
|
+
function ce(t, e) {
|
|
1793
1793
|
return t = +t, e = +e, function(i) {
|
|
1794
1794
|
return t * (1 - i) + e * i;
|
|
1795
1795
|
};
|
|
1796
1796
|
}
|
|
1797
|
-
var
|
|
1797
|
+
var Fn = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, dn = new RegExp(Fn.source, "g");
|
|
1798
1798
|
function dd(t) {
|
|
1799
1799
|
return function() {
|
|
1800
1800
|
return t;
|
|
@@ -1806,15 +1806,15 @@ function fd(t) {
|
|
|
1806
1806
|
};
|
|
1807
1807
|
}
|
|
1808
1808
|
function pd(t, e) {
|
|
1809
|
-
var i =
|
|
1810
|
-
for (t = t + "", e = e + ""; (r =
|
|
1811
|
-
(o = n.index) > i && (o = e.slice(i, o), a[s] ? a[s] += o : a[++s] = o), (r = r[0]) === (n = n[0]) ? a[s] ? a[s] += n : a[++s] = n : (a[++s] = null, l.push({ i: s, x:
|
|
1809
|
+
var i = Fn.lastIndex = dn.lastIndex = 0, r, n, o, s = -1, a = [], l = [];
|
|
1810
|
+
for (t = t + "", e = e + ""; (r = Fn.exec(t)) && (n = dn.exec(e)); )
|
|
1811
|
+
(o = n.index) > i && (o = e.slice(i, o), a[s] ? a[s] += o : a[++s] = o), (r = r[0]) === (n = n[0]) ? a[s] ? a[s] += n : a[++s] = n : (a[++s] = null, l.push({ i: s, x: ce(r, n) })), i = dn.lastIndex;
|
|
1812
1812
|
return i < e.length && (o = e.slice(i), a[s] ? a[s] += o : a[++s] = o), a.length < 2 ? l[0] ? fd(l[0].x) : dd(e) : (e = l.length, function(c) {
|
|
1813
1813
|
for (var h = 0, d; h < e; ++h) a[(d = l[h]).i] = d.x(c);
|
|
1814
1814
|
return a.join("");
|
|
1815
1815
|
});
|
|
1816
1816
|
}
|
|
1817
|
-
var ds = 180 / Math.PI,
|
|
1817
|
+
var ds = 180 / Math.PI, On = {
|
|
1818
1818
|
translateX: 0,
|
|
1819
1819
|
translateY: 0,
|
|
1820
1820
|
rotate: 0,
|
|
@@ -1836,10 +1836,10 @@ function Ra(t, e, i, r, n, o) {
|
|
|
1836
1836
|
var Vi;
|
|
1837
1837
|
function gd(t) {
|
|
1838
1838
|
const e = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(t + "");
|
|
1839
|
-
return e.isIdentity ?
|
|
1839
|
+
return e.isIdentity ? On : Ra(e.a, e.b, e.c, e.d, e.e, e.f);
|
|
1840
1840
|
}
|
|
1841
1841
|
function md(t) {
|
|
1842
|
-
return t == null || (Vi || (Vi = document.createElementNS("http://www.w3.org/2000/svg", "g")), Vi.setAttribute("transform", t), !(t = Vi.transform.baseVal.consolidate())) ?
|
|
1842
|
+
return t == null || (Vi || (Vi = document.createElementNS("http://www.w3.org/2000/svg", "g")), Vi.setAttribute("transform", t), !(t = Vi.transform.baseVal.consolidate())) ? On : (t = t.matrix, Ra(t.a, t.b, t.c, t.d, t.e, t.f));
|
|
1843
1843
|
}
|
|
1844
1844
|
function Pa(t, e, i, r) {
|
|
1845
1845
|
function n(c) {
|
|
@@ -1848,19 +1848,19 @@ function Pa(t, e, i, r) {
|
|
|
1848
1848
|
function o(c, h, d, u, f, m) {
|
|
1849
1849
|
if (c !== d || h !== u) {
|
|
1850
1850
|
var y = f.push("translate(", null, e, null, i);
|
|
1851
|
-
m.push({ i: y - 4, x:
|
|
1851
|
+
m.push({ i: y - 4, x: ce(c, d) }, { i: y - 2, x: ce(h, u) });
|
|
1852
1852
|
} else (d || u) && f.push("translate(" + d + e + u + i);
|
|
1853
1853
|
}
|
|
1854
1854
|
function s(c, h, d, u) {
|
|
1855
|
-
c !== h ? (c - h > 180 ? h += 360 : h - c > 180 && (c += 360), u.push({ i: d.push(n(d) + "rotate(", null, r) - 2, x:
|
|
1855
|
+
c !== h ? (c - h > 180 ? h += 360 : h - c > 180 && (c += 360), u.push({ i: d.push(n(d) + "rotate(", null, r) - 2, x: ce(c, h) })) : h && d.push(n(d) + "rotate(" + h + r);
|
|
1856
1856
|
}
|
|
1857
1857
|
function a(c, h, d, u) {
|
|
1858
|
-
c !== h ? u.push({ i: d.push(n(d) + "skewX(", null, r) - 2, x:
|
|
1858
|
+
c !== h ? u.push({ i: d.push(n(d) + "skewX(", null, r) - 2, x: ce(c, h) }) : h && d.push(n(d) + "skewX(" + h + r);
|
|
1859
1859
|
}
|
|
1860
1860
|
function l(c, h, d, u, f, m) {
|
|
1861
1861
|
if (c !== d || h !== u) {
|
|
1862
1862
|
var y = f.push(n(f) + "scale(", null, ",", null, ")");
|
|
1863
|
-
m.push({ i: y - 4, x:
|
|
1863
|
+
m.push({ i: y - 4, x: ce(c, d) }, { i: y - 2, x: ce(h, u) });
|
|
1864
1864
|
} else (d !== 1 || u !== 1) && f.push(n(f) + "scale(" + d + "," + u + ")");
|
|
1865
1865
|
}
|
|
1866
1866
|
return function(c, h) {
|
|
@@ -1871,14 +1871,14 @@ function Pa(t, e, i, r) {
|
|
|
1871
1871
|
};
|
|
1872
1872
|
};
|
|
1873
1873
|
}
|
|
1874
|
-
var yd = Pa(gd, "px, ", "px)", "deg)"), _d = Pa(md, ", ", ")", ")"), He = 0, fi = 0, oi = 0, qa = 1e3, gr, pi, mr = 0,
|
|
1874
|
+
var yd = Pa(gd, "px, ", "px)", "deg)"), _d = Pa(md, ", ", ")", ")"), He = 0, fi = 0, oi = 0, qa = 1e3, gr, pi, mr = 0, Se = 0, Nr = 0, Ai = typeof performance == "object" && performance.now ? performance : Date, za = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
|
|
1875
1875
|
setTimeout(t, 17);
|
|
1876
1876
|
};
|
|
1877
|
-
function
|
|
1878
|
-
return
|
|
1877
|
+
function ro() {
|
|
1878
|
+
return Se || (za(Cd), Se = Ai.now() + Nr);
|
|
1879
1879
|
}
|
|
1880
1880
|
function Cd() {
|
|
1881
|
-
|
|
1881
|
+
Se = 0;
|
|
1882
1882
|
}
|
|
1883
1883
|
function yr() {
|
|
1884
1884
|
this._call = this._time = this._next = null;
|
|
@@ -1887,10 +1887,10 @@ yr.prototype = Wa.prototype = {
|
|
|
1887
1887
|
constructor: yr,
|
|
1888
1888
|
restart: function(t, e, i) {
|
|
1889
1889
|
if (typeof t != "function") throw new TypeError("callback is not a function");
|
|
1890
|
-
i = (i == null ?
|
|
1890
|
+
i = (i == null ? ro() : +i) + (e == null ? 0 : +e), !this._next && pi !== this && (pi ? pi._next = this : gr = this, pi = this), this._call = t, this._time = i, In();
|
|
1891
1891
|
},
|
|
1892
1892
|
stop: function() {
|
|
1893
|
-
this._call && (this._call = null, this._time = 1 / 0,
|
|
1893
|
+
this._call && (this._call = null, this._time = 1 / 0, In());
|
|
1894
1894
|
}
|
|
1895
1895
|
};
|
|
1896
1896
|
function Wa(t, e, i) {
|
|
@@ -1898,17 +1898,17 @@ function Wa(t, e, i) {
|
|
|
1898
1898
|
return r.restart(t, e, i), r;
|
|
1899
1899
|
}
|
|
1900
1900
|
function xd() {
|
|
1901
|
-
|
|
1901
|
+
ro(), ++He;
|
|
1902
1902
|
for (var t = gr, e; t; )
|
|
1903
|
-
(e =
|
|
1903
|
+
(e = Se - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
|
|
1904
1904
|
--He;
|
|
1905
1905
|
}
|
|
1906
1906
|
function fs() {
|
|
1907
|
-
|
|
1907
|
+
Se = (mr = Ai.now()) + Nr, He = fi = 0;
|
|
1908
1908
|
try {
|
|
1909
1909
|
xd();
|
|
1910
1910
|
} finally {
|
|
1911
|
-
He = 0, Td(),
|
|
1911
|
+
He = 0, Td(), Se = 0;
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
1914
|
function bd() {
|
|
@@ -1918,12 +1918,12 @@ function bd() {
|
|
|
1918
1918
|
function Td() {
|
|
1919
1919
|
for (var t, e = gr, i, r = 1 / 0; e; )
|
|
1920
1920
|
e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (i = e._next, e._next = null, e = t ? t._next = i : gr = i);
|
|
1921
|
-
pi = t,
|
|
1921
|
+
pi = t, In(r);
|
|
1922
1922
|
}
|
|
1923
|
-
function
|
|
1923
|
+
function In(t) {
|
|
1924
1924
|
if (!He) {
|
|
1925
1925
|
fi && (fi = clearTimeout(fi));
|
|
1926
|
-
var e = t -
|
|
1926
|
+
var e = t - Se;
|
|
1927
1927
|
e > 24 ? (t < 1 / 0 && (fi = setTimeout(fs, t - Ai.now() - Nr)), oi && (oi = clearInterval(oi))) : (oi || (mr = Ai.now(), oi = setInterval(bd, qa)), He = 1, za(fs));
|
|
1928
1928
|
}
|
|
1929
1929
|
}
|
|
@@ -1933,7 +1933,7 @@ function ps(t, e, i) {
|
|
|
1933
1933
|
r.stop(), t(n + e);
|
|
1934
1934
|
}, e, i), r;
|
|
1935
1935
|
}
|
|
1936
|
-
var Sd = ba("start", "end", "cancel", "interrupt"), vd = [], Ha = 0, gs = 1,
|
|
1936
|
+
var Sd = ba("start", "end", "cancel", "interrupt"), vd = [], Ha = 0, gs = 1, Mn = 2, rr = 3, ms = 4, $n = 5, nr = 6;
|
|
1937
1937
|
function Rr(t, e, i, r, n, o) {
|
|
1938
1938
|
var s = t.__transition;
|
|
1939
1939
|
if (!s) t.__transition = {};
|
|
@@ -1954,12 +1954,12 @@ function Rr(t, e, i, r, n, o) {
|
|
|
1954
1954
|
state: Ha
|
|
1955
1955
|
});
|
|
1956
1956
|
}
|
|
1957
|
-
function
|
|
1957
|
+
function no(t, e) {
|
|
1958
1958
|
var i = Mt(t, e);
|
|
1959
1959
|
if (i.state > Ha) throw new Error("too late; already scheduled");
|
|
1960
1960
|
return i;
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1962
|
+
function Ut(t, e) {
|
|
1963
1963
|
var i = Mt(t, e);
|
|
1964
1964
|
if (i.state > rr) throw new Error("too late; already running");
|
|
1965
1965
|
return i;
|
|
@@ -1985,16 +1985,16 @@ function kd(t, e, i) {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
if (ps(function() {
|
|
1987
1987
|
i.state === rr && (i.state = ms, i.timer.restart(a, i.delay, i.time), a(c));
|
|
1988
|
-
}), i.state =
|
|
1988
|
+
}), i.state = Mn, i.on.call("start", t, t.__data__, i.index, i.group), i.state === Mn) {
|
|
1989
1989
|
for (i.state = rr, n = new Array(u = i.tween.length), h = 0, d = -1; h < u; ++h)
|
|
1990
1990
|
(f = i.tween[h].value.call(t, t.__data__, i.index, i.group)) && (n[++d] = f);
|
|
1991
1991
|
n.length = d + 1;
|
|
1992
1992
|
}
|
|
1993
1993
|
}
|
|
1994
1994
|
function a(c) {
|
|
1995
|
-
for (var h = c < i.duration ? i.ease.call(null, c / i.duration) : (i.timer.restart(l), i.state =
|
|
1995
|
+
for (var h = c < i.duration ? i.ease.call(null, c / i.duration) : (i.timer.restart(l), i.state = $n, 1), d = -1, u = n.length; ++d < u; )
|
|
1996
1996
|
n[d].call(t, h);
|
|
1997
|
-
i.state ===
|
|
1997
|
+
i.state === $n && (i.on.call("end", t, t.__data__, i.index, i.group), l());
|
|
1998
1998
|
}
|
|
1999
1999
|
function l() {
|
|
2000
2000
|
i.state = nr, i.timer.stop(), delete r[e];
|
|
@@ -2011,7 +2011,7 @@ function wd(t, e) {
|
|
|
2011
2011
|
o = !1;
|
|
2012
2012
|
continue;
|
|
2013
2013
|
}
|
|
2014
|
-
n = r.state >
|
|
2014
|
+
n = r.state > Mn && r.state < $n, r.state = nr, r.timer.stop(), r.on.call(n ? "interrupt" : "cancel", t, t.__data__, r.index, r.group), delete i[s];
|
|
2015
2015
|
}
|
|
2016
2016
|
o && delete t.__transition;
|
|
2017
2017
|
}
|
|
@@ -2024,7 +2024,7 @@ function Ad(t) {
|
|
|
2024
2024
|
function Bd(t, e) {
|
|
2025
2025
|
var i, r;
|
|
2026
2026
|
return function() {
|
|
2027
|
-
var n =
|
|
2027
|
+
var n = Ut(this, t), o = n.tween;
|
|
2028
2028
|
if (o !== i) {
|
|
2029
2029
|
r = i = o;
|
|
2030
2030
|
for (var s = 0, a = r.length; s < a; ++s)
|
|
@@ -2040,7 +2040,7 @@ function Ed(t, e, i) {
|
|
|
2040
2040
|
var r, n;
|
|
2041
2041
|
if (typeof i != "function") throw new Error();
|
|
2042
2042
|
return function() {
|
|
2043
|
-
var o =
|
|
2043
|
+
var o = Ut(this, t), s = o.tween;
|
|
2044
2044
|
if (s !== r) {
|
|
2045
2045
|
n = (r = s).slice();
|
|
2046
2046
|
for (var a = { name: e, value: i }, l = 0, c = n.length; l < c; ++l)
|
|
@@ -2063,10 +2063,10 @@ function Ld(t, e) {
|
|
|
2063
2063
|
}
|
|
2064
2064
|
return this.each((e == null ? Bd : Ed)(i, t, e));
|
|
2065
2065
|
}
|
|
2066
|
-
function
|
|
2066
|
+
function oo(t, e, i) {
|
|
2067
2067
|
var r = t._id;
|
|
2068
2068
|
return t.each(function() {
|
|
2069
|
-
var n =
|
|
2069
|
+
var n = Ut(this, r);
|
|
2070
2070
|
(n.value || (n.value = {}))[e] = i.apply(this, arguments);
|
|
2071
2071
|
}), function(n) {
|
|
2072
2072
|
return Mt(n, r).value[e];
|
|
@@ -2074,7 +2074,7 @@ function no(t, e, i) {
|
|
|
2074
2074
|
}
|
|
2075
2075
|
function Ya(t, e) {
|
|
2076
2076
|
var i;
|
|
2077
|
-
return (typeof e == "number" ?
|
|
2077
|
+
return (typeof e == "number" ? ce : e instanceof wi ? us : (i = wi(e)) ? (e = i, us) : pd)(t, e);
|
|
2078
2078
|
}
|
|
2079
2079
|
function Fd(t) {
|
|
2080
2080
|
return function() {
|
|
@@ -2116,7 +2116,7 @@ function Dd(t, e, i) {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
function Nd(t, e) {
|
|
2118
2118
|
var i = Dr(t), r = i === "transform" ? _d : Ya;
|
|
2119
|
-
return this.attrTween(t, typeof e == "function" ? (i.local ? Dd : $d)(i, r,
|
|
2119
|
+
return this.attrTween(t, typeof e == "function" ? (i.local ? Dd : $d)(i, r, oo(this, "attr." + t, e)) : e == null ? (i.local ? Od : Fd)(i) : (i.local ? Md : Id)(i, r, e));
|
|
2120
2120
|
}
|
|
2121
2121
|
function Rd(t, e) {
|
|
2122
2122
|
return function(i) {
|
|
@@ -2154,12 +2154,12 @@ function Wd(t, e) {
|
|
|
2154
2154
|
}
|
|
2155
2155
|
function Hd(t, e) {
|
|
2156
2156
|
return function() {
|
|
2157
|
-
|
|
2157
|
+
no(this, t).delay = +e.apply(this, arguments);
|
|
2158
2158
|
};
|
|
2159
2159
|
}
|
|
2160
2160
|
function Yd(t, e) {
|
|
2161
2161
|
return e = +e, function() {
|
|
2162
|
-
|
|
2162
|
+
no(this, t).delay = e;
|
|
2163
2163
|
};
|
|
2164
2164
|
}
|
|
2165
2165
|
function jd(t) {
|
|
@@ -2168,12 +2168,12 @@ function jd(t) {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
function Ud(t, e) {
|
|
2170
2170
|
return function() {
|
|
2171
|
-
|
|
2171
|
+
Ut(this, t).duration = +e.apply(this, arguments);
|
|
2172
2172
|
};
|
|
2173
2173
|
}
|
|
2174
2174
|
function Xd(t, e) {
|
|
2175
2175
|
return e = +e, function() {
|
|
2176
|
-
|
|
2176
|
+
Ut(this, t).duration = e;
|
|
2177
2177
|
};
|
|
2178
2178
|
}
|
|
2179
2179
|
function Gd(t) {
|
|
@@ -2183,7 +2183,7 @@ function Gd(t) {
|
|
|
2183
2183
|
function Vd(t, e) {
|
|
2184
2184
|
if (typeof e != "function") throw new Error();
|
|
2185
2185
|
return function() {
|
|
2186
|
-
|
|
2186
|
+
Ut(this, t).ease = e;
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
2189
2189
|
function Kd(t) {
|
|
@@ -2194,7 +2194,7 @@ function Zd(t, e) {
|
|
|
2194
2194
|
return function() {
|
|
2195
2195
|
var i = e.apply(this, arguments);
|
|
2196
2196
|
if (typeof i != "function") throw new Error();
|
|
2197
|
-
|
|
2197
|
+
Ut(this, t).ease = i;
|
|
2198
2198
|
};
|
|
2199
2199
|
}
|
|
2200
2200
|
function Jd(t) {
|
|
@@ -2206,7 +2206,7 @@ function Qd(t) {
|
|
|
2206
2206
|
for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
|
|
2207
2207
|
for (var o = e[n], s = o.length, a = r[n] = [], l, c = 0; c < s; ++c)
|
|
2208
2208
|
(l = o[c]) && t.call(l, l.__data__, c, o) && a.push(l);
|
|
2209
|
-
return new
|
|
2209
|
+
return new re(r, this._parents, this._name, this._id);
|
|
2210
2210
|
}
|
|
2211
2211
|
function tf(t) {
|
|
2212
2212
|
if (t._id !== this._id) throw new Error();
|
|
@@ -2215,7 +2215,7 @@ function tf(t) {
|
|
|
2215
2215
|
(u = l[f] || c[f]) && (d[f] = u);
|
|
2216
2216
|
for (; a < r; ++a)
|
|
2217
2217
|
s[a] = e[a];
|
|
2218
|
-
return new
|
|
2218
|
+
return new re(s, this._parents, this._name, this._id);
|
|
2219
2219
|
}
|
|
2220
2220
|
function ef(t) {
|
|
2221
2221
|
return (t + "").trim().split(/^|\s+/).every(function(e) {
|
|
@@ -2224,7 +2224,7 @@ function ef(t) {
|
|
|
2224
2224
|
});
|
|
2225
2225
|
}
|
|
2226
2226
|
function rf(t, e, i) {
|
|
2227
|
-
var r, n, o = ef(e) ?
|
|
2227
|
+
var r, n, o = ef(e) ? no : Ut;
|
|
2228
2228
|
return function() {
|
|
2229
2229
|
var s = o(this, t), a = s.on;
|
|
2230
2230
|
a !== r && (n = (r = a).copy()).on(e, i), s.on = n;
|
|
@@ -2246,11 +2246,11 @@ function sf() {
|
|
|
2246
2246
|
}
|
|
2247
2247
|
function af(t) {
|
|
2248
2248
|
var e = this._name, i = this._id;
|
|
2249
|
-
typeof t != "function" && (t =
|
|
2249
|
+
typeof t != "function" && (t = Qn(t));
|
|
2250
2250
|
for (var r = this._groups, n = r.length, o = new Array(n), s = 0; s < n; ++s)
|
|
2251
2251
|
for (var a = r[s], l = a.length, c = o[s] = new Array(l), h, d, u = 0; u < l; ++u)
|
|
2252
2252
|
(h = a[u]) && (d = t.call(h, h.__data__, u, a)) && ("__data__" in h && (d.__data__ = h.__data__), c[u] = d, Rr(c[u], e, i, u, c, Mt(h, i)));
|
|
2253
|
-
return new
|
|
2253
|
+
return new re(o, this._parents, e, i);
|
|
2254
2254
|
}
|
|
2255
2255
|
function lf(t) {
|
|
2256
2256
|
var e = this._name, i = this._id;
|
|
@@ -2262,7 +2262,7 @@ function lf(t) {
|
|
|
2262
2262
|
(f = u[y]) && Rr(f, e, i, y, u, m);
|
|
2263
2263
|
o.push(u), s.push(h);
|
|
2264
2264
|
}
|
|
2265
|
-
return new
|
|
2265
|
+
return new re(o, s, e, i);
|
|
2266
2266
|
}
|
|
2267
2267
|
var cf = Ii.prototype.constructor;
|
|
2268
2268
|
function hf() {
|
|
@@ -2297,13 +2297,13 @@ function ff(t, e, i) {
|
|
|
2297
2297
|
function pf(t, e) {
|
|
2298
2298
|
var i, r, n, o = "style." + e, s = "end." + o, a;
|
|
2299
2299
|
return function() {
|
|
2300
|
-
var l =
|
|
2300
|
+
var l = Ut(this, t), c = l.on, h = l.value[o] == null ? a || (a = ja(e)) : void 0;
|
|
2301
2301
|
(c !== i || n !== h) && (r = (i = c).copy()).on(s, n = h), l.on = r;
|
|
2302
2302
|
};
|
|
2303
2303
|
}
|
|
2304
2304
|
function gf(t, e, i) {
|
|
2305
2305
|
var r = (t += "") == "transform" ? yd : Ya;
|
|
2306
|
-
return e == null ? this.styleTween(t, uf(t, r)).on("end.style." + t, ja(t)) : typeof e == "function" ? this.styleTween(t, ff(t, r,
|
|
2306
|
+
return e == null ? this.styleTween(t, uf(t, r)).on("end.style." + t, ja(t)) : typeof e == "function" ? this.styleTween(t, ff(t, r, oo(this, "style." + t, e))).each(pf(this._id, t)) : this.styleTween(t, df(t, r, e), i).on("end.style." + t, null);
|
|
2307
2307
|
}
|
|
2308
2308
|
function mf(t, e, i) {
|
|
2309
2309
|
return function(r) {
|
|
@@ -2337,7 +2337,7 @@ function xf(t) {
|
|
|
2337
2337
|
};
|
|
2338
2338
|
}
|
|
2339
2339
|
function bf(t) {
|
|
2340
|
-
return this.tween("text", typeof t == "function" ? xf(
|
|
2340
|
+
return this.tween("text", typeof t == "function" ? xf(oo(this, "text", t)) : Cf(t == null ? "" : t + ""));
|
|
2341
2341
|
}
|
|
2342
2342
|
function Tf(t) {
|
|
2343
2343
|
return function(e) {
|
|
@@ -2371,7 +2371,7 @@ function kf() {
|
|
|
2371
2371
|
ease: h.ease
|
|
2372
2372
|
});
|
|
2373
2373
|
}
|
|
2374
|
-
return new
|
|
2374
|
+
return new re(r, this._parents, t, i);
|
|
2375
2375
|
}
|
|
2376
2376
|
function wf() {
|
|
2377
2377
|
var t, e, i = this, r = i._id, n = i.size();
|
|
@@ -2380,35 +2380,35 @@ function wf() {
|
|
|
2380
2380
|
--n === 0 && o();
|
|
2381
2381
|
} };
|
|
2382
2382
|
i.each(function() {
|
|
2383
|
-
var c =
|
|
2383
|
+
var c = Ut(this, r), h = c.on;
|
|
2384
2384
|
h !== t && (e = (t = h).copy(), e._.cancel.push(a), e._.interrupt.push(a), e._.end.push(l)), c.on = e;
|
|
2385
2385
|
}), n === 0 && o();
|
|
2386
2386
|
});
|
|
2387
2387
|
}
|
|
2388
2388
|
var Af = 0;
|
|
2389
|
-
function
|
|
2389
|
+
function re(t, e, i, r) {
|
|
2390
2390
|
this._groups = t, this._parents = e, this._name = i, this._id = r;
|
|
2391
2391
|
}
|
|
2392
2392
|
function Ua() {
|
|
2393
2393
|
return ++Af;
|
|
2394
2394
|
}
|
|
2395
|
-
var
|
|
2396
|
-
|
|
2397
|
-
constructor:
|
|
2395
|
+
var Zt = Ii.prototype;
|
|
2396
|
+
re.prototype = {
|
|
2397
|
+
constructor: re,
|
|
2398
2398
|
select: af,
|
|
2399
2399
|
selectAll: lf,
|
|
2400
|
-
selectChild:
|
|
2401
|
-
selectChildren:
|
|
2400
|
+
selectChild: Zt.selectChild,
|
|
2401
|
+
selectChildren: Zt.selectChildren,
|
|
2402
2402
|
filter: Qd,
|
|
2403
2403
|
merge: tf,
|
|
2404
2404
|
selection: hf,
|
|
2405
2405
|
transition: kf,
|
|
2406
|
-
call:
|
|
2407
|
-
nodes:
|
|
2408
|
-
node:
|
|
2409
|
-
size:
|
|
2410
|
-
empty:
|
|
2411
|
-
each:
|
|
2406
|
+
call: Zt.call,
|
|
2407
|
+
nodes: Zt.nodes,
|
|
2408
|
+
node: Zt.node,
|
|
2409
|
+
size: Zt.size,
|
|
2410
|
+
empty: Zt.empty,
|
|
2411
|
+
each: Zt.each,
|
|
2412
2412
|
on: nf,
|
|
2413
2413
|
attr: Nd,
|
|
2414
2414
|
attrTween: Wd,
|
|
@@ -2423,7 +2423,7 @@ ie.prototype = {
|
|
|
2423
2423
|
ease: Kd,
|
|
2424
2424
|
easeVarying: Jd,
|
|
2425
2425
|
end: wf,
|
|
2426
|
-
[Symbol.iterator]:
|
|
2426
|
+
[Symbol.iterator]: Zt[Symbol.iterator]
|
|
2427
2427
|
};
|
|
2428
2428
|
function Bf(t) {
|
|
2429
2429
|
return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
|
|
@@ -2443,17 +2443,17 @@ function Lf(t, e) {
|
|
|
2443
2443
|
}
|
|
2444
2444
|
function Ff(t) {
|
|
2445
2445
|
var e, i;
|
|
2446
|
-
t instanceof
|
|
2446
|
+
t instanceof re ? (e = t._id, t = t._name) : (e = Ua(), (i = Ef).time = ro(), t = t == null ? null : t + "");
|
|
2447
2447
|
for (var r = this._groups, n = r.length, o = 0; o < n; ++o)
|
|
2448
2448
|
for (var s = r[o], a = s.length, l, c = 0; c < a; ++c)
|
|
2449
2449
|
(l = s[c]) && Rr(l, t, e, c, s, i || Lf(l, e));
|
|
2450
|
-
return new
|
|
2450
|
+
return new re(r, this._parents, t, e);
|
|
2451
2451
|
}
|
|
2452
2452
|
Ii.prototype.interrupt = Ad;
|
|
2453
2453
|
Ii.prototype.transition = Ff;
|
|
2454
|
-
const j1 = Math.abs, U1 = Math.atan2, X1 = Math.cos, G1 = Math.max, V1 = Math.min, K1 = Math.sin, Z1 = Math.sqrt, ys = 1e-12,
|
|
2454
|
+
const j1 = Math.abs, U1 = Math.atan2, X1 = Math.cos, G1 = Math.max, V1 = Math.min, K1 = Math.sin, Z1 = Math.sqrt, ys = 1e-12, so = Math.PI, _s = so / 2, J1 = 2 * so;
|
|
2455
2455
|
function Q1(t) {
|
|
2456
|
-
return t > 1 ? 0 : t < -1 ?
|
|
2456
|
+
return t > 1 ? 0 : t < -1 ? so : Math.acos(t);
|
|
2457
2457
|
}
|
|
2458
2458
|
function tT(t) {
|
|
2459
2459
|
return t >= 1 ? _s : t <= -1 ? -_s : Math.asin(t);
|
|
@@ -2530,7 +2530,7 @@ function If(t) {
|
|
|
2530
2530
|
function Mf(t) {
|
|
2531
2531
|
return new Ga(t, !1);
|
|
2532
2532
|
}
|
|
2533
|
-
function
|
|
2533
|
+
function de() {
|
|
2534
2534
|
}
|
|
2535
2535
|
function _r(t, e, i) {
|
|
2536
2536
|
t._context.bezierCurveTo(
|
|
@@ -2591,8 +2591,8 @@ function Va(t) {
|
|
|
2591
2591
|
this._context = t;
|
|
2592
2592
|
}
|
|
2593
2593
|
Va.prototype = {
|
|
2594
|
-
areaStart:
|
|
2595
|
-
areaEnd:
|
|
2594
|
+
areaStart: de,
|
|
2595
|
+
areaEnd: de,
|
|
2596
2596
|
lineStart: function() {
|
|
2597
2597
|
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
|
|
2598
2598
|
},
|
|
@@ -2714,10 +2714,10 @@ function Cr(t, e, i) {
|
|
|
2714
2714
|
t._y2
|
|
2715
2715
|
);
|
|
2716
2716
|
}
|
|
2717
|
-
function
|
|
2717
|
+
function ao(t, e) {
|
|
2718
2718
|
this._context = t, this._k = (1 - e) / 6;
|
|
2719
2719
|
}
|
|
2720
|
-
|
|
2720
|
+
ao.prototype = {
|
|
2721
2721
|
areaStart: function() {
|
|
2722
2722
|
this._line = 0;
|
|
2723
2723
|
},
|
|
@@ -2758,18 +2758,18 @@ so.prototype = {
|
|
|
2758
2758
|
};
|
|
2759
2759
|
const Pf = (function t(e) {
|
|
2760
2760
|
function i(r) {
|
|
2761
|
-
return new
|
|
2761
|
+
return new ao(r, e);
|
|
2762
2762
|
}
|
|
2763
2763
|
return i.tension = function(r) {
|
|
2764
2764
|
return t(+r);
|
|
2765
2765
|
}, i;
|
|
2766
2766
|
})(0);
|
|
2767
|
-
function
|
|
2767
|
+
function lo(t, e) {
|
|
2768
2768
|
this._context = t, this._k = (1 - e) / 6;
|
|
2769
2769
|
}
|
|
2770
|
-
|
|
2771
|
-
areaStart:
|
|
2772
|
-
areaEnd:
|
|
2770
|
+
lo.prototype = {
|
|
2771
|
+
areaStart: de,
|
|
2772
|
+
areaEnd: de,
|
|
2773
2773
|
lineStart: function() {
|
|
2774
2774
|
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
|
|
2775
2775
|
},
|
|
@@ -2809,16 +2809,16 @@ ao.prototype = {
|
|
|
2809
2809
|
};
|
|
2810
2810
|
const qf = (function t(e) {
|
|
2811
2811
|
function i(r) {
|
|
2812
|
-
return new
|
|
2812
|
+
return new lo(r, e);
|
|
2813
2813
|
}
|
|
2814
2814
|
return i.tension = function(r) {
|
|
2815
2815
|
return t(+r);
|
|
2816
2816
|
}, i;
|
|
2817
2817
|
})(0);
|
|
2818
|
-
function
|
|
2818
|
+
function co(t, e) {
|
|
2819
2819
|
this._context = t, this._k = (1 - e) / 6;
|
|
2820
2820
|
}
|
|
2821
|
-
|
|
2821
|
+
co.prototype = {
|
|
2822
2822
|
areaStart: function() {
|
|
2823
2823
|
this._line = 0;
|
|
2824
2824
|
},
|
|
@@ -2854,13 +2854,13 @@ lo.prototype = {
|
|
|
2854
2854
|
};
|
|
2855
2855
|
const zf = (function t(e) {
|
|
2856
2856
|
function i(r) {
|
|
2857
|
-
return new
|
|
2857
|
+
return new co(r, e);
|
|
2858
2858
|
}
|
|
2859
2859
|
return i.tension = function(r) {
|
|
2860
2860
|
return t(+r);
|
|
2861
2861
|
}, i;
|
|
2862
2862
|
})(0);
|
|
2863
|
-
function
|
|
2863
|
+
function ho(t, e, i) {
|
|
2864
2864
|
var r = t._x1, n = t._y1, o = t._x2, s = t._y2;
|
|
2865
2865
|
if (t._l01_a > ys) {
|
|
2866
2866
|
var a = 2 * t._l01_2a + 3 * t._l01_a * t._l12_a + t._l12_2a, l = 3 * t._l01_a * (t._l01_a + t._l12_a);
|
|
@@ -2912,7 +2912,7 @@ Ja.prototype = {
|
|
|
2912
2912
|
this._point = 3;
|
|
2913
2913
|
// falls through
|
|
2914
2914
|
default:
|
|
2915
|
-
|
|
2915
|
+
ho(this, t, e);
|
|
2916
2916
|
break;
|
|
2917
2917
|
}
|
|
2918
2918
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
@@ -2920,7 +2920,7 @@ Ja.prototype = {
|
|
|
2920
2920
|
};
|
|
2921
2921
|
const Wf = (function t(e) {
|
|
2922
2922
|
function i(r) {
|
|
2923
|
-
return e ? new Ja(r, e) : new
|
|
2923
|
+
return e ? new Ja(r, e) : new ao(r, 0);
|
|
2924
2924
|
}
|
|
2925
2925
|
return i.alpha = function(r) {
|
|
2926
2926
|
return t(+r);
|
|
@@ -2930,8 +2930,8 @@ function Qa(t, e) {
|
|
|
2930
2930
|
this._context = t, this._alpha = e;
|
|
2931
2931
|
}
|
|
2932
2932
|
Qa.prototype = {
|
|
2933
|
-
areaStart:
|
|
2934
|
-
areaEnd:
|
|
2933
|
+
areaStart: de,
|
|
2934
|
+
areaEnd: de,
|
|
2935
2935
|
lineStart: function() {
|
|
2936
2936
|
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
2937
2937
|
},
|
|
@@ -2967,7 +2967,7 @@ Qa.prototype = {
|
|
|
2967
2967
|
this._point = 3, this._x5 = t, this._y5 = e;
|
|
2968
2968
|
break;
|
|
2969
2969
|
default:
|
|
2970
|
-
|
|
2970
|
+
ho(this, t, e);
|
|
2971
2971
|
break;
|
|
2972
2972
|
}
|
|
2973
2973
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
@@ -2975,7 +2975,7 @@ Qa.prototype = {
|
|
|
2975
2975
|
};
|
|
2976
2976
|
const Hf = (function t(e) {
|
|
2977
2977
|
function i(r) {
|
|
2978
|
-
return e ? new Qa(r, e) : new
|
|
2978
|
+
return e ? new Qa(r, e) : new lo(r, 0);
|
|
2979
2979
|
}
|
|
2980
2980
|
return i.alpha = function(r) {
|
|
2981
2981
|
return t(+r);
|
|
@@ -3016,7 +3016,7 @@ tl.prototype = {
|
|
|
3016
3016
|
this._point = 4;
|
|
3017
3017
|
// falls through
|
|
3018
3018
|
default:
|
|
3019
|
-
|
|
3019
|
+
ho(this, t, e);
|
|
3020
3020
|
break;
|
|
3021
3021
|
}
|
|
3022
3022
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
@@ -3024,7 +3024,7 @@ tl.prototype = {
|
|
|
3024
3024
|
};
|
|
3025
3025
|
const Yf = (function t(e) {
|
|
3026
3026
|
function i(r) {
|
|
3027
|
-
return e ? new tl(r, e) : new
|
|
3027
|
+
return e ? new tl(r, e) : new co(r, 0);
|
|
3028
3028
|
}
|
|
3029
3029
|
return i.alpha = function(r) {
|
|
3030
3030
|
return t(+r);
|
|
@@ -3034,8 +3034,8 @@ function el(t) {
|
|
|
3034
3034
|
this._context = t;
|
|
3035
3035
|
}
|
|
3036
3036
|
el.prototype = {
|
|
3037
|
-
areaStart:
|
|
3038
|
-
areaEnd:
|
|
3037
|
+
areaStart: de,
|
|
3038
|
+
areaEnd: de,
|
|
3039
3039
|
lineStart: function() {
|
|
3040
3040
|
this._point = 0;
|
|
3041
3041
|
},
|
|
@@ -3060,7 +3060,7 @@ function bs(t, e) {
|
|
|
3060
3060
|
var i = t._x1 - t._x0;
|
|
3061
3061
|
return i ? (3 * (t._y1 - t._y0) / i - e) / 2 : e;
|
|
3062
3062
|
}
|
|
3063
|
-
function
|
|
3063
|
+
function fn(t, e, i) {
|
|
3064
3064
|
var r = t._x0, n = t._y0, o = t._x1, s = t._y1, a = (o - r) / 3;
|
|
3065
3065
|
t._context.bezierCurveTo(r + a, n + a * e, o - a, s - a * i, o, s);
|
|
3066
3066
|
}
|
|
@@ -3083,7 +3083,7 @@ xr.prototype = {
|
|
|
3083
3083
|
this._context.lineTo(this._x1, this._y1);
|
|
3084
3084
|
break;
|
|
3085
3085
|
case 3:
|
|
3086
|
-
|
|
3086
|
+
fn(this, this._t0, bs(this, this._t0));
|
|
3087
3087
|
break;
|
|
3088
3088
|
}
|
|
3089
3089
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
@@ -3099,10 +3099,10 @@ xr.prototype = {
|
|
|
3099
3099
|
this._point = 2;
|
|
3100
3100
|
break;
|
|
3101
3101
|
case 2:
|
|
3102
|
-
this._point = 3,
|
|
3102
|
+
this._point = 3, fn(this, bs(this, i = xs(this, t, e)), i);
|
|
3103
3103
|
break;
|
|
3104
3104
|
default:
|
|
3105
|
-
|
|
3105
|
+
fn(this, this._t0, i = xs(this, t, e));
|
|
3106
3106
|
break;
|
|
3107
3107
|
}
|
|
3108
3108
|
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e, this._t0 = i;
|
|
@@ -3262,7 +3262,7 @@ gi.prototype = {
|
|
|
3262
3262
|
}
|
|
3263
3263
|
};
|
|
3264
3264
|
gi.prototype;
|
|
3265
|
-
/*! @license DOMPurify 3.3.
|
|
3265
|
+
/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
|
|
3266
3266
|
const {
|
|
3267
3267
|
entries: ol,
|
|
3268
3268
|
setPrototypeOf: Ss,
|
|
@@ -3273,10 +3273,10 @@ const {
|
|
|
3273
3273
|
let {
|
|
3274
3274
|
freeze: pt,
|
|
3275
3275
|
seal: wt,
|
|
3276
|
-
create:
|
|
3276
|
+
create: Dn
|
|
3277
3277
|
} = Object, {
|
|
3278
|
-
apply:
|
|
3279
|
-
construct:
|
|
3278
|
+
apply: Nn,
|
|
3279
|
+
construct: Rn
|
|
3280
3280
|
} = typeof Reflect < "u" && Reflect;
|
|
3281
3281
|
pt || (pt = function(e) {
|
|
3282
3282
|
return e;
|
|
@@ -3284,30 +3284,30 @@ pt || (pt = function(e) {
|
|
|
3284
3284
|
wt || (wt = function(e) {
|
|
3285
3285
|
return e;
|
|
3286
3286
|
});
|
|
3287
|
-
|
|
3287
|
+
Nn || (Nn = function(e, i) {
|
|
3288
3288
|
for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++)
|
|
3289
3289
|
n[o - 2] = arguments[o];
|
|
3290
3290
|
return e.apply(i, n);
|
|
3291
3291
|
});
|
|
3292
|
-
|
|
3292
|
+
Rn || (Rn = function(e) {
|
|
3293
3293
|
for (var i = arguments.length, r = new Array(i > 1 ? i - 1 : 0), n = 1; n < i; n++)
|
|
3294
3294
|
r[n - 1] = arguments[n];
|
|
3295
3295
|
return new e(...r);
|
|
3296
3296
|
});
|
|
3297
|
-
const Ki = gt(Array.prototype.forEach), ep = gt(Array.prototype.lastIndexOf), vs = gt(Array.prototype.pop), si = gt(Array.prototype.push), ip = gt(Array.prototype.splice), or = gt(String.prototype.toLowerCase),
|
|
3297
|
+
const Ki = gt(Array.prototype.forEach), ep = gt(Array.prototype.lastIndexOf), vs = gt(Array.prototype.pop), si = gt(Array.prototype.push), ip = gt(Array.prototype.splice), or = gt(String.prototype.toLowerCase), pn = gt(String.prototype.toString), gn = gt(String.prototype.match), ai = gt(String.prototype.replace), rp = gt(String.prototype.indexOf), np = gt(String.prototype.trim), Ft = gt(Object.prototype.hasOwnProperty), ut = gt(RegExp.prototype.test), li = op(TypeError);
|
|
3298
3298
|
function gt(t) {
|
|
3299
3299
|
return function(e) {
|
|
3300
3300
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
3301
3301
|
for (var i = arguments.length, r = new Array(i > 1 ? i - 1 : 0), n = 1; n < i; n++)
|
|
3302
3302
|
r[n - 1] = arguments[n];
|
|
3303
|
-
return
|
|
3303
|
+
return Nn(t, e, r);
|
|
3304
3304
|
};
|
|
3305
3305
|
}
|
|
3306
3306
|
function op(t) {
|
|
3307
3307
|
return function() {
|
|
3308
3308
|
for (var e = arguments.length, i = new Array(e), r = 0; r < e; r++)
|
|
3309
3309
|
i[r] = arguments[r];
|
|
3310
|
-
return
|
|
3310
|
+
return Rn(t, i);
|
|
3311
3311
|
};
|
|
3312
3312
|
}
|
|
3313
3313
|
function Y(t, e) {
|
|
@@ -3329,10 +3329,10 @@ function sp(t) {
|
|
|
3329
3329
|
Ft(t, e) || (t[e] = null);
|
|
3330
3330
|
return t;
|
|
3331
3331
|
}
|
|
3332
|
-
function
|
|
3333
|
-
const e =
|
|
3332
|
+
function Rt(t) {
|
|
3333
|
+
const e = Dn(null);
|
|
3334
3334
|
for (const [i, r] of ol(t))
|
|
3335
|
-
Ft(t, i) && (Array.isArray(r) ? e[i] = sp(r) : r && typeof r == "object" && r.constructor === Object ? e[i] =
|
|
3335
|
+
Ft(t, i) && (Array.isArray(r) ? e[i] = sp(r) : r && typeof r == "object" && r.constructor === Object ? e[i] = Rt(r) : e[i] = r);
|
|
3336
3336
|
return e;
|
|
3337
3337
|
}
|
|
3338
3338
|
function ci(t, e) {
|
|
@@ -3351,7 +3351,7 @@ function ci(t, e) {
|
|
|
3351
3351
|
}
|
|
3352
3352
|
return i;
|
|
3353
3353
|
}
|
|
3354
|
-
const ks = pt(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]),
|
|
3354
|
+
const ks = pt(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), mn = pt(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), yn = pt(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ap = pt(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), _n = pt(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), lp = pt(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), ws = pt(["#text"]), As = pt(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Cn = pt(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Bs = pt(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Zi = pt(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), cp = wt(/\{\{[\w\W]*|[\w\W]*\}\}/gm), hp = wt(/<%[\w\W]*|[\w\W]*%>/gm), up = wt(/\$\{[\w\W]*/gm), dp = wt(/^data-[\-\w.\u00B7-\uFFFF]+$/), fp = wt(/^aria-[\-\w]+$/), sl = wt(
|
|
3355
3355
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
3356
3356
|
// eslint-disable-line no-useless-escape
|
|
3357
3357
|
), pp = wt(/^(?:\w+script|data):/i), gp = wt(
|
|
@@ -3415,7 +3415,7 @@ const hi = {
|
|
|
3415
3415
|
function ll() {
|
|
3416
3416
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : yp();
|
|
3417
3417
|
const e = (I) => ll(I);
|
|
3418
|
-
if (e.version = "3.3.
|
|
3418
|
+
if (e.version = "3.3.1", e.removed = [], !t || !t.document || t.document.nodeType !== hi.document || !t.Element)
|
|
3419
3419
|
return e.isSupported = !1, e;
|
|
3420
3420
|
let {
|
|
3421
3421
|
document: i
|
|
@@ -3448,7 +3448,7 @@ function ll() {
|
|
|
3448
3448
|
e.isSupported = typeof ol == "function" && typeof R == "function" && U && U.createHTMLDocument !== void 0;
|
|
3449
3449
|
const {
|
|
3450
3450
|
MUSTACHE_EXPR: et,
|
|
3451
|
-
ERB_EXPR:
|
|
3451
|
+
ERB_EXPR: oe,
|
|
3452
3452
|
TMPLIT_EXPR: P,
|
|
3453
3453
|
DATA_ATTR: w,
|
|
3454
3454
|
ARIA_ATTR: T,
|
|
@@ -3459,10 +3459,10 @@ function ll() {
|
|
|
3459
3459
|
let {
|
|
3460
3460
|
IS_ALLOWED_URI: W
|
|
3461
3461
|
} = Es, z = null;
|
|
3462
|
-
const V = Y({}, [...ks, ...
|
|
3462
|
+
const V = Y({}, [...ks, ...mn, ...yn, ..._n, ...ws]);
|
|
3463
3463
|
let j = null;
|
|
3464
|
-
const it = Y({}, [...As, ...
|
|
3465
|
-
let X = Object.seal(
|
|
3464
|
+
const it = Y({}, [...As, ...Cn, ...Bs, ...Zi]);
|
|
3465
|
+
let X = Object.seal(Dn(null, {
|
|
3466
3466
|
tagNameCheck: {
|
|
3467
3467
|
writable: !0,
|
|
3468
3468
|
configurable: !1,
|
|
@@ -3482,7 +3482,7 @@ function ll() {
|
|
|
3482
3482
|
value: !1
|
|
3483
3483
|
}
|
|
3484
3484
|
})), Tt = null, Bt = null;
|
|
3485
|
-
const St = Object.seal(
|
|
3485
|
+
const St = Object.seal(Dn(null, {
|
|
3486
3486
|
tagCheck: {
|
|
3487
3487
|
writable: !0,
|
|
3488
3488
|
configurable: !1,
|
|
@@ -3496,28 +3496,28 @@ function ll() {
|
|
|
3496
3496
|
value: null
|
|
3497
3497
|
}
|
|
3498
3498
|
}));
|
|
3499
|
-
let $t = !0,
|
|
3499
|
+
let $t = !0, nt = !0, Et = !1, se = !0, Lt = !1, Pi = !0, ge = !1, tn = !1, en = !1, Ee = !1, qi = !1, zi = !1, $o = !0, Do = !1;
|
|
3500
3500
|
const Wc = "user-content-";
|
|
3501
|
-
let rn = !0, ii = !1,
|
|
3502
|
-
const
|
|
3501
|
+
let rn = !0, ii = !1, Le = {}, Dt = null;
|
|
3502
|
+
const nn = Y({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
3503
3503
|
let No = null;
|
|
3504
3504
|
const Ro = Y({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
3505
|
-
let
|
|
3506
|
-
const Po = Y({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Wi = "http://www.w3.org/1998/Math/MathML", Hi = "http://www.w3.org/2000/svg",
|
|
3507
|
-
let Fe =
|
|
3508
|
-
const Hc = Y({}, [Wi, Hi,
|
|
3505
|
+
let on = null;
|
|
3506
|
+
const Po = Y({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Wi = "http://www.w3.org/1998/Math/MathML", Hi = "http://www.w3.org/2000/svg", Gt = "http://www.w3.org/1999/xhtml";
|
|
3507
|
+
let Fe = Gt, sn = !1, an = null;
|
|
3508
|
+
const Hc = Y({}, [Wi, Hi, Gt], pn);
|
|
3509
3509
|
let Yi = Y({}, ["mi", "mo", "mn", "ms", "mtext"]), ji = Y({}, ["annotation-xml"]);
|
|
3510
3510
|
const Yc = Y({}, ["title", "style", "font", "a", "script"]);
|
|
3511
3511
|
let ri = null;
|
|
3512
3512
|
const jc = ["application/xhtml+xml", "text/html"], Uc = "text/html";
|
|
3513
|
-
let
|
|
3513
|
+
let rt = null, Oe = null;
|
|
3514
3514
|
const Xc = i.createElement("form"), qo = function(p) {
|
|
3515
3515
|
return p instanceof RegExp || p instanceof Function;
|
|
3516
|
-
},
|
|
3516
|
+
}, ln = function() {
|
|
3517
3517
|
let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3518
3518
|
if (!(Oe && Oe === p)) {
|
|
3519
|
-
if ((!p || typeof p != "object") && (p = {}), p =
|
|
3520
|
-
jc.indexOf(p.PARSER_MEDIA_TYPE) === -1 ? Uc : p.PARSER_MEDIA_TYPE,
|
|
3519
|
+
if ((!p || typeof p != "object") && (p = {}), p = Rt(p), ri = // eslint-disable-next-line unicorn/prefer-includes
|
|
3520
|
+
jc.indexOf(p.PARSER_MEDIA_TYPE) === -1 ? Uc : p.PARSER_MEDIA_TYPE, rt = ri === "application/xhtml+xml" ? pn : or, z = Ft(p, "ALLOWED_TAGS") ? Y({}, p.ALLOWED_TAGS, rt) : V, j = Ft(p, "ALLOWED_ATTR") ? Y({}, p.ALLOWED_ATTR, rt) : it, an = Ft(p, "ALLOWED_NAMESPACES") ? Y({}, p.ALLOWED_NAMESPACES, pn) : Hc, on = Ft(p, "ADD_URI_SAFE_ATTR") ? Y(Rt(Po), p.ADD_URI_SAFE_ATTR, rt) : Po, No = Ft(p, "ADD_DATA_URI_TAGS") ? Y(Rt(Ro), p.ADD_DATA_URI_TAGS, rt) : Ro, Dt = Ft(p, "FORBID_CONTENTS") ? Y({}, p.FORBID_CONTENTS, rt) : nn, Tt = Ft(p, "FORBID_TAGS") ? Y({}, p.FORBID_TAGS, rt) : Rt({}), Bt = Ft(p, "FORBID_ATTR") ? Y({}, p.FORBID_ATTR, rt) : Rt({}), Le = Ft(p, "USE_PROFILES") ? p.USE_PROFILES : !1, $t = p.ALLOW_ARIA_ATTR !== !1, nt = p.ALLOW_DATA_ATTR !== !1, Et = p.ALLOW_UNKNOWN_PROTOCOLS || !1, se = p.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Lt = p.SAFE_FOR_TEMPLATES || !1, Pi = p.SAFE_FOR_XML !== !1, ge = p.WHOLE_DOCUMENT || !1, Ee = p.RETURN_DOM || !1, qi = p.RETURN_DOM_FRAGMENT || !1, zi = p.RETURN_TRUSTED_TYPE || !1, en = p.FORCE_BODY || !1, $o = p.SANITIZE_DOM !== !1, Do = p.SANITIZE_NAMED_PROPS || !1, rn = p.KEEP_CONTENT !== !1, ii = p.IN_PLACE || !1, W = p.ALLOWED_URI_REGEXP || sl, Fe = p.NAMESPACE || Gt, Yi = p.MATHML_TEXT_INTEGRATION_POINTS || Yi, ji = p.HTML_INTEGRATION_POINTS || ji, X = p.CUSTOM_ELEMENT_HANDLING || {}, p.CUSTOM_ELEMENT_HANDLING && qo(p.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (X.tagNameCheck = p.CUSTOM_ELEMENT_HANDLING.tagNameCheck), p.CUSTOM_ELEMENT_HANDLING && qo(p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (X.attributeNameCheck = p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), p.CUSTOM_ELEMENT_HANDLING && typeof p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (X.allowCustomizedBuiltInElements = p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Lt && (nt = !1), qi && (Ee = !0), Le && (z = Y({}, ws), j = [], Le.html === !0 && (Y(z, ks), Y(j, As)), Le.svg === !0 && (Y(z, mn), Y(j, Cn), Y(j, Zi)), Le.svgFilters === !0 && (Y(z, yn), Y(j, Cn), Y(j, Zi)), Le.mathMl === !0 && (Y(z, _n), Y(j, Bs), Y(j, Zi))), p.ADD_TAGS && (typeof p.ADD_TAGS == "function" ? St.tagCheck = p.ADD_TAGS : (z === V && (z = Rt(z)), Y(z, p.ADD_TAGS, rt))), p.ADD_ATTR && (typeof p.ADD_ATTR == "function" ? St.attributeCheck = p.ADD_ATTR : (j === it && (j = Rt(j)), Y(j, p.ADD_ATTR, rt))), p.ADD_URI_SAFE_ATTR && Y(on, p.ADD_URI_SAFE_ATTR, rt), p.FORBID_CONTENTS && (Dt === nn && (Dt = Rt(Dt)), Y(Dt, p.FORBID_CONTENTS, rt)), p.ADD_FORBID_CONTENTS && (Dt === nn && (Dt = Rt(Dt)), Y(Dt, p.ADD_FORBID_CONTENTS, rt)), rn && (z["#text"] = !0), ge && Y(z, ["html", "head", "body"]), z.table && (Y(z, ["tbody"]), delete Tt.tbody), p.TRUSTED_TYPES_POLICY) {
|
|
3521
3521
|
if (typeof p.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3522
3522
|
throw li('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3523
3523
|
if (typeof p.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -3527,15 +3527,15 @@ function ll() {
|
|
|
3527
3527
|
x === void 0 && (x = _p(f, n)), x !== null && typeof v == "string" && (v = x.createHTML(""));
|
|
3528
3528
|
pt && pt(p), Oe = p;
|
|
3529
3529
|
}
|
|
3530
|
-
}, zo = Y({}, [...
|
|
3530
|
+
}, zo = Y({}, [...mn, ...yn, ...ap]), Wo = Y({}, [..._n, ...lp]), Gc = function(p) {
|
|
3531
3531
|
let _ = R(p);
|
|
3532
3532
|
(!_ || !_.tagName) && (_ = {
|
|
3533
3533
|
namespaceURI: Fe,
|
|
3534
3534
|
tagName: "template"
|
|
3535
3535
|
});
|
|
3536
3536
|
const B = or(p.tagName), K = or(_.tagName);
|
|
3537
|
-
return
|
|
3538
|
-
},
|
|
3537
|
+
return an[p.namespaceURI] ? p.namespaceURI === Hi ? _.namespaceURI === Gt ? B === "svg" : _.namespaceURI === Wi ? B === "svg" && (K === "annotation-xml" || Yi[K]) : !!zo[B] : p.namespaceURI === Wi ? _.namespaceURI === Gt ? B === "math" : _.namespaceURI === Hi ? B === "math" && ji[K] : !!Wo[B] : p.namespaceURI === Gt ? _.namespaceURI === Hi && !ji[K] || _.namespaceURI === Wi && !Yi[K] ? !1 : !Wo[B] && (Yc[B] || !zo[B]) : !!(ri === "application/xhtml+xml" && an[p.namespaceURI]) : !1;
|
|
3538
|
+
}, Nt = function(p) {
|
|
3539
3539
|
si(e.removed, {
|
|
3540
3540
|
element: p
|
|
3541
3541
|
});
|
|
@@ -3544,7 +3544,7 @@ function ll() {
|
|
|
3544
3544
|
} catch {
|
|
3545
3545
|
C(p);
|
|
3546
3546
|
}
|
|
3547
|
-
},
|
|
3547
|
+
}, me = function(p, _) {
|
|
3548
3548
|
try {
|
|
3549
3549
|
si(e.removed, {
|
|
3550
3550
|
attribute: _.getAttributeNode(p),
|
|
@@ -3557,9 +3557,9 @@ function ll() {
|
|
|
3557
3557
|
});
|
|
3558
3558
|
}
|
|
3559
3559
|
if (_.removeAttribute(p), p === "is")
|
|
3560
|
-
if (
|
|
3560
|
+
if (Ee || qi)
|
|
3561
3561
|
try {
|
|
3562
|
-
|
|
3562
|
+
Nt(_);
|
|
3563
3563
|
} catch {
|
|
3564
3564
|
}
|
|
3565
3565
|
else
|
|
@@ -3572,12 +3572,12 @@ function ll() {
|
|
|
3572
3572
|
if (en)
|
|
3573
3573
|
p = "<remove></remove>" + p;
|
|
3574
3574
|
else {
|
|
3575
|
-
const Z =
|
|
3575
|
+
const Z = gn(p, /^[\r\n\t ]+/);
|
|
3576
3576
|
B = Z && Z[0];
|
|
3577
3577
|
}
|
|
3578
|
-
ri === "application/xhtml+xml" && Fe ===
|
|
3578
|
+
ri === "application/xhtml+xml" && Fe === Gt && (p = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + p + "</body></html>");
|
|
3579
3579
|
const K = x ? x.createHTML(p) : p;
|
|
3580
|
-
if (Fe ===
|
|
3580
|
+
if (Fe === Gt)
|
|
3581
3581
|
try {
|
|
3582
3582
|
_ = new u().parseFromString(K, ri);
|
|
3583
3583
|
} catch {
|
|
@@ -3585,12 +3585,12 @@ function ll() {
|
|
|
3585
3585
|
if (!_ || !_.documentElement) {
|
|
3586
3586
|
_ = U.createDocument(Fe, "template", null);
|
|
3587
3587
|
try {
|
|
3588
|
-
_.documentElement.innerHTML =
|
|
3588
|
+
_.documentElement.innerHTML = sn ? v : K;
|
|
3589
3589
|
} catch {
|
|
3590
3590
|
}
|
|
3591
3591
|
}
|
|
3592
3592
|
const at = _.body || _.documentElement;
|
|
3593
|
-
return p && B && at.insertBefore(i.createTextNode(B), at.childNodes[0] || null), Fe ===
|
|
3593
|
+
return p && B && at.insertBefore(i.createTextNode(B), at.childNodes[0] || null), Fe === Gt ? ot.call(_, ge ? "html" : "body")[0] : ge ? _.documentElement : at;
|
|
3594
3594
|
}, Yo = function(p) {
|
|
3595
3595
|
return D.call(
|
|
3596
3596
|
p.ownerDocument || p,
|
|
@@ -3599,50 +3599,50 @@ function ll() {
|
|
|
3599
3599
|
c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
|
|
3600
3600
|
null
|
|
3601
3601
|
);
|
|
3602
|
-
},
|
|
3602
|
+
}, cn = function(p) {
|
|
3603
3603
|
return p instanceof d && (typeof p.nodeName != "string" || typeof p.textContent != "string" || typeof p.removeChild != "function" || !(p.attributes instanceof h) || typeof p.removeAttribute != "function" || typeof p.setAttribute != "function" || typeof p.namespaceURI != "string" || typeof p.insertBefore != "function" || typeof p.hasChildNodes != "function");
|
|
3604
3604
|
}, jo = function(p) {
|
|
3605
3605
|
return typeof a == "function" && p instanceof a;
|
|
3606
3606
|
};
|
|
3607
|
-
function
|
|
3607
|
+
function Vt(I, p, _) {
|
|
3608
3608
|
Ki(I, (B) => {
|
|
3609
3609
|
B.call(e, p, _, Oe);
|
|
3610
3610
|
});
|
|
3611
3611
|
}
|
|
3612
3612
|
const Uo = function(p) {
|
|
3613
3613
|
let _ = null;
|
|
3614
|
-
if (
|
|
3615
|
-
return
|
|
3616
|
-
const B =
|
|
3617
|
-
if (
|
|
3614
|
+
if (Vt(A.beforeSanitizeElements, p, null), cn(p))
|
|
3615
|
+
return Nt(p), !0;
|
|
3616
|
+
const B = rt(p.nodeName);
|
|
3617
|
+
if (Vt(A.uponSanitizeElement, p, {
|
|
3618
3618
|
tagName: B,
|
|
3619
3619
|
allowedTags: z
|
|
3620
3620
|
}), Pi && p.hasChildNodes() && !jo(p.firstElementChild) && ut(/<[/\w!]/g, p.innerHTML) && ut(/<[/\w!]/g, p.textContent) || p.nodeType === hi.progressingInstruction || Pi && p.nodeType === hi.comment && ut(/<[/\w]/g, p.data))
|
|
3621
|
-
return
|
|
3621
|
+
return Nt(p), !0;
|
|
3622
3622
|
if (!(St.tagCheck instanceof Function && St.tagCheck(B)) && (!z[B] || Tt[B])) {
|
|
3623
3623
|
if (!Tt[B] && Go(B) && (X.tagNameCheck instanceof RegExp && ut(X.tagNameCheck, B) || X.tagNameCheck instanceof Function && X.tagNameCheck(B)))
|
|
3624
3624
|
return !1;
|
|
3625
|
-
if (rn && !
|
|
3625
|
+
if (rn && !Dt[B]) {
|
|
3626
3626
|
const K = R(p) || p.parentNode, at = b(p) || p.childNodes;
|
|
3627
3627
|
if (at && K) {
|
|
3628
3628
|
const Z = at.length;
|
|
3629
3629
|
for (let mt = Z - 1; mt >= 0; --mt) {
|
|
3630
|
-
const
|
|
3631
|
-
|
|
3630
|
+
const Kt = y(at[mt], !0);
|
|
3631
|
+
Kt.__removalCount = (p.__removalCount || 0) + 1, K.insertBefore(Kt, E(p));
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
}
|
|
3635
|
-
return
|
|
3635
|
+
return Nt(p), !0;
|
|
3636
3636
|
}
|
|
3637
|
-
return p instanceof l && !Gc(p) || (B === "noscript" || B === "noembed" || B === "noframes") && ut(/<\/no(script|embed|frames)/i, p.innerHTML) ? (
|
|
3637
|
+
return p instanceof l && !Gc(p) || (B === "noscript" || B === "noembed" || B === "noframes") && ut(/<\/no(script|embed|frames)/i, p.innerHTML) ? (Nt(p), !0) : (Lt && p.nodeType === hi.text && (_ = p.textContent, Ki([et, oe, P], (K) => {
|
|
3638
3638
|
_ = ai(_, K, " ");
|
|
3639
3639
|
}), p.textContent !== _ && (si(e.removed, {
|
|
3640
3640
|
element: p.cloneNode()
|
|
3641
|
-
}), p.textContent = _)),
|
|
3641
|
+
}), p.textContent = _)), Vt(A.afterSanitizeElements, p, null), !1);
|
|
3642
3642
|
}, Xo = function(p, _, B) {
|
|
3643
|
-
if (
|
|
3643
|
+
if ($o && (_ === "id" || _ === "name") && (B in i || B in Xc))
|
|
3644
3644
|
return !1;
|
|
3645
|
-
if (!(
|
|
3645
|
+
if (!(nt && !Bt[_] && ut(w, _))) {
|
|
3646
3646
|
if (!($t && ut(T, _))) {
|
|
3647
3647
|
if (!(St.attributeCheck instanceof Function && St.attributeCheck(_, p))) {
|
|
3648
3648
|
if (!j[_] || Bt[_]) {
|
|
@@ -3654,7 +3654,7 @@ function ll() {
|
|
|
3654
3654
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3655
3655
|
_ === "is" && X.allowCustomizedBuiltInElements && (X.tagNameCheck instanceof RegExp && ut(X.tagNameCheck, B) || X.tagNameCheck instanceof Function && X.tagNameCheck(B)))
|
|
3656
3656
|
) return !1;
|
|
3657
|
-
} else if (!
|
|
3657
|
+
} else if (!on[_]) {
|
|
3658
3658
|
if (!ut(W, ai(B, k, ""))) {
|
|
3659
3659
|
if (!((_ === "src" || _ === "xlink:href" || _ === "href") && p !== "script" && rp(B, "data:") === 0 && No[p])) {
|
|
3660
3660
|
if (!(Et && !ut(L, ai(B, k, "")))) {
|
|
@@ -3669,13 +3669,13 @@ function ll() {
|
|
|
3669
3669
|
}
|
|
3670
3670
|
return !0;
|
|
3671
3671
|
}, Go = function(p) {
|
|
3672
|
-
return p !== "annotation-xml" &&
|
|
3672
|
+
return p !== "annotation-xml" && gn(p, M);
|
|
3673
3673
|
}, Vo = function(p) {
|
|
3674
|
-
|
|
3674
|
+
Vt(A.beforeSanitizeAttributes, p, null);
|
|
3675
3675
|
const {
|
|
3676
3676
|
attributes: _
|
|
3677
3677
|
} = p;
|
|
3678
|
-
if (!_ ||
|
|
3678
|
+
if (!_ || cn(p))
|
|
3679
3679
|
return;
|
|
3680
3680
|
const B = {
|
|
3681
3681
|
attrName: "",
|
|
@@ -3689,33 +3689,33 @@ function ll() {
|
|
|
3689
3689
|
const at = _[K], {
|
|
3690
3690
|
name: Z,
|
|
3691
3691
|
namespaceURI: mt,
|
|
3692
|
-
value:
|
|
3693
|
-
} = at, Ie =
|
|
3694
|
-
let st = Z === "value" ?
|
|
3695
|
-
if (B.attrName = Ie, B.attrValue = st, B.keepAttr = !0, B.forceKeepAttr = void 0,
|
|
3696
|
-
|
|
3692
|
+
value: Kt
|
|
3693
|
+
} = at, Ie = rt(Z), hn = Kt;
|
|
3694
|
+
let st = Z === "value" ? hn : np(hn);
|
|
3695
|
+
if (B.attrName = Ie, B.attrValue = st, B.keepAttr = !0, B.forceKeepAttr = void 0, Vt(A.uponSanitizeAttribute, p, B), st = B.attrValue, Do && (Ie === "id" || Ie === "name") && (me(Z, p), st = Wc + st), Pi && ut(/((--!?|])>)|<\/(style|title|textarea)/i, st)) {
|
|
3696
|
+
me(Z, p);
|
|
3697
3697
|
continue;
|
|
3698
3698
|
}
|
|
3699
|
-
if (Ie === "attributename" &&
|
|
3700
|
-
|
|
3699
|
+
if (Ie === "attributename" && gn(st, "href")) {
|
|
3700
|
+
me(Z, p);
|
|
3701
3701
|
continue;
|
|
3702
3702
|
}
|
|
3703
3703
|
if (B.forceKeepAttr)
|
|
3704
3704
|
continue;
|
|
3705
3705
|
if (!B.keepAttr) {
|
|
3706
|
-
|
|
3706
|
+
me(Z, p);
|
|
3707
3707
|
continue;
|
|
3708
3708
|
}
|
|
3709
|
-
if (!
|
|
3710
|
-
|
|
3709
|
+
if (!se && ut(/\/>/i, st)) {
|
|
3710
|
+
me(Z, p);
|
|
3711
3711
|
continue;
|
|
3712
3712
|
}
|
|
3713
|
-
Lt && Ki([et,
|
|
3713
|
+
Lt && Ki([et, oe, P], (Zo) => {
|
|
3714
3714
|
st = ai(st, Zo, " ");
|
|
3715
3715
|
});
|
|
3716
|
-
const Ko =
|
|
3716
|
+
const Ko = rt(p.nodeName);
|
|
3717
3717
|
if (!Xo(Ko, Ie, st)) {
|
|
3718
|
-
|
|
3718
|
+
me(Z, p);
|
|
3719
3719
|
continue;
|
|
3720
3720
|
}
|
|
3721
3721
|
if (x && typeof f == "object" && typeof f.getAttributeType == "function" && !mt)
|
|
@@ -3729,24 +3729,24 @@ function ll() {
|
|
|
3729
3729
|
break;
|
|
3730
3730
|
}
|
|
3731
3731
|
}
|
|
3732
|
-
if (st !==
|
|
3732
|
+
if (st !== hn)
|
|
3733
3733
|
try {
|
|
3734
|
-
mt ? p.setAttributeNS(mt, Z, st) : p.setAttribute(Z, st),
|
|
3734
|
+
mt ? p.setAttributeNS(mt, Z, st) : p.setAttribute(Z, st), cn(p) ? Nt(p) : vs(e.removed);
|
|
3735
3735
|
} catch {
|
|
3736
|
-
|
|
3736
|
+
me(Z, p);
|
|
3737
3737
|
}
|
|
3738
3738
|
}
|
|
3739
|
-
|
|
3739
|
+
Vt(A.afterSanitizeAttributes, p, null);
|
|
3740
3740
|
}, Vc = function I(p) {
|
|
3741
3741
|
let _ = null;
|
|
3742
3742
|
const B = Yo(p);
|
|
3743
|
-
for (
|
|
3744
|
-
|
|
3745
|
-
|
|
3743
|
+
for (Vt(A.beforeSanitizeShadowDOM, p, null); _ = B.nextNode(); )
|
|
3744
|
+
Vt(A.uponSanitizeShadowNode, _, null), Uo(_), Vo(_), _.content instanceof o && I(_.content);
|
|
3745
|
+
Vt(A.afterSanitizeShadowDOM, p, null);
|
|
3746
3746
|
};
|
|
3747
3747
|
return e.sanitize = function(I) {
|
|
3748
3748
|
let p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ = null, B = null, K = null, at = null;
|
|
3749
|
-
if (
|
|
3749
|
+
if (sn = !I, sn && (I = "<!-->"), typeof I != "string" && !jo(I))
|
|
3750
3750
|
if (typeof I.toString == "function") {
|
|
3751
3751
|
if (I = I.toString(), typeof I != "string")
|
|
3752
3752
|
throw li("dirty is not a string, aborting");
|
|
@@ -3754,28 +3754,28 @@ function ll() {
|
|
|
3754
3754
|
throw li("toString is not a function");
|
|
3755
3755
|
if (!e.isSupported)
|
|
3756
3756
|
return I;
|
|
3757
|
-
if (tn ||
|
|
3757
|
+
if (tn || ln(p), e.removed = [], typeof I == "string" && (ii = !1), ii) {
|
|
3758
3758
|
if (I.nodeName) {
|
|
3759
|
-
const
|
|
3760
|
-
if (!z[
|
|
3759
|
+
const Kt = rt(I.nodeName);
|
|
3760
|
+
if (!z[Kt] || Tt[Kt])
|
|
3761
3761
|
throw li("root node is forbidden and cannot be sanitized in-place");
|
|
3762
3762
|
}
|
|
3763
3763
|
} else if (I instanceof a)
|
|
3764
3764
|
_ = Ho("<!---->"), B = _.ownerDocument.importNode(I, !0), B.nodeType === hi.element && B.nodeName === "BODY" || B.nodeName === "HTML" ? _ = B : _.appendChild(B);
|
|
3765
3765
|
else {
|
|
3766
|
-
if (!
|
|
3766
|
+
if (!Ee && !Lt && !ge && // eslint-disable-next-line unicorn/prefer-includes
|
|
3767
3767
|
I.indexOf("<") === -1)
|
|
3768
3768
|
return x && zi ? x.createHTML(I) : I;
|
|
3769
3769
|
if (_ = Ho(I), !_)
|
|
3770
|
-
return
|
|
3770
|
+
return Ee ? null : zi ? v : "";
|
|
3771
3771
|
}
|
|
3772
|
-
_ && en &&
|
|
3772
|
+
_ && en && Nt(_.firstChild);
|
|
3773
3773
|
const Z = Yo(ii ? I : _);
|
|
3774
3774
|
for (; K = Z.nextNode(); )
|
|
3775
3775
|
Uo(K), Vo(K), K.content instanceof o && Vc(K.content);
|
|
3776
3776
|
if (ii)
|
|
3777
3777
|
return I;
|
|
3778
|
-
if (
|
|
3778
|
+
if (Ee) {
|
|
3779
3779
|
if (qi)
|
|
3780
3780
|
for (at = tt.call(_.ownerDocument); _.firstChild; )
|
|
3781
3781
|
at.appendChild(_.firstChild);
|
|
@@ -3783,19 +3783,19 @@ function ll() {
|
|
|
3783
3783
|
at = _;
|
|
3784
3784
|
return (j.shadowroot || j.shadowrootmode) && (at = H.call(r, at, !0)), at;
|
|
3785
3785
|
}
|
|
3786
|
-
let mt =
|
|
3787
|
-
return
|
|
3788
|
-
` + mt), Lt && Ki([et,
|
|
3789
|
-
mt = ai(mt,
|
|
3786
|
+
let mt = ge ? _.outerHTML : _.innerHTML;
|
|
3787
|
+
return ge && z["!doctype"] && _.ownerDocument && _.ownerDocument.doctype && _.ownerDocument.doctype.name && ut(al, _.ownerDocument.doctype.name) && (mt = "<!DOCTYPE " + _.ownerDocument.doctype.name + `>
|
|
3788
|
+
` + mt), Lt && Ki([et, oe, P], (Kt) => {
|
|
3789
|
+
mt = ai(mt, Kt, " ");
|
|
3790
3790
|
}), x && zi ? x.createHTML(mt) : mt;
|
|
3791
3791
|
}, e.setConfig = function() {
|
|
3792
3792
|
let I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3793
|
-
|
|
3793
|
+
ln(I), tn = !0;
|
|
3794
3794
|
}, e.clearConfig = function() {
|
|
3795
3795
|
Oe = null, tn = !1;
|
|
3796
3796
|
}, e.isValidAttribute = function(I, p, _) {
|
|
3797
|
-
Oe ||
|
|
3798
|
-
const B =
|
|
3797
|
+
Oe || ln({});
|
|
3798
|
+
const B = rt(I), K = rt(p);
|
|
3799
3799
|
return Xo(B, K, _);
|
|
3800
3800
|
}, e.addHook = function(I, p) {
|
|
3801
3801
|
typeof p == "function" && si(A[I], p);
|
|
@@ -3897,9 +3897,9 @@ const sr = {
|
|
|
3897
3897
|
channel: sr,
|
|
3898
3898
|
lang: Cp,
|
|
3899
3899
|
unit: xp
|
|
3900
|
-
},
|
|
3900
|
+
}, le = {};
|
|
3901
3901
|
for (let t = 0; t <= 255; t++)
|
|
3902
|
-
|
|
3902
|
+
le[t] = q.unit.dec2hex(t);
|
|
3903
3903
|
const lt = {
|
|
3904
3904
|
ALL: 0,
|
|
3905
3905
|
RGB: 1,
|
|
@@ -4014,15 +4014,15 @@ const zr = new Tp({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Pe = {
|
|
|
4014
4014
|
},
|
|
4015
4015
|
stringify: (t) => {
|
|
4016
4016
|
const { r: e, g: i, b: r, a: n } = t;
|
|
4017
|
-
return n < 1 ? `#${
|
|
4017
|
+
return n < 1 ? `#${le[Math.round(e)]}${le[Math.round(i)]}${le[Math.round(r)]}${le[Math.round(n * 255)]}` : `#${le[Math.round(e)]}${le[Math.round(i)]}${le[Math.round(r)]}`;
|
|
4018
4018
|
}
|
|
4019
|
-
},
|
|
4019
|
+
}, xe = {
|
|
4020
4020
|
/* VARIABLES */
|
|
4021
4021
|
re: /^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,
|
|
4022
4022
|
hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
|
|
4023
4023
|
/* HELPERS */
|
|
4024
4024
|
_hue2deg: (t) => {
|
|
4025
|
-
const e = t.match(
|
|
4025
|
+
const e = t.match(xe.hueRe);
|
|
4026
4026
|
if (e) {
|
|
4027
4027
|
const [, i, r] = e;
|
|
4028
4028
|
switch (r) {
|
|
@@ -4041,12 +4041,12 @@ const zr = new Tp({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Pe = {
|
|
|
4041
4041
|
const e = t.charCodeAt(0);
|
|
4042
4042
|
if (e !== 104 && e !== 72)
|
|
4043
4043
|
return;
|
|
4044
|
-
const i = t.match(
|
|
4044
|
+
const i = t.match(xe.re);
|
|
4045
4045
|
if (!i)
|
|
4046
4046
|
return;
|
|
4047
4047
|
const [, r, n, o, s, a] = i;
|
|
4048
4048
|
return zr.set({
|
|
4049
|
-
h:
|
|
4049
|
+
h: xe._hue2deg(r),
|
|
4050
4050
|
s: q.channel.clamp.s(parseFloat(n)),
|
|
4051
4051
|
l: q.channel.clamp.l(parseFloat(o)),
|
|
4052
4052
|
a: s ? q.channel.clamp.a(a ? parseFloat(s) / 100 : parseFloat(s)) : 1
|
|
@@ -4243,31 +4243,31 @@ const zr = new Tp({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Pe = {
|
|
|
4243
4243
|
const { r: e, g: i, b: r, a: n } = t;
|
|
4244
4244
|
return n < 1 ? `rgba(${q.lang.round(e)}, ${q.lang.round(i)}, ${q.lang.round(r)}, ${q.lang.round(n)})` : `rgb(${q.lang.round(e)}, ${q.lang.round(i)}, ${q.lang.round(r)})`;
|
|
4245
4245
|
}
|
|
4246
|
-
},
|
|
4246
|
+
}, Ht = {
|
|
4247
4247
|
/* VARIABLES */
|
|
4248
4248
|
format: {
|
|
4249
4249
|
keyword: _i,
|
|
4250
4250
|
hex: Pe,
|
|
4251
4251
|
rgb: mi,
|
|
4252
4252
|
rgba: mi,
|
|
4253
|
-
hsl:
|
|
4254
|
-
hsla:
|
|
4253
|
+
hsl: xe,
|
|
4254
|
+
hsla: xe
|
|
4255
4255
|
},
|
|
4256
4256
|
/* API */
|
|
4257
4257
|
parse: (t) => {
|
|
4258
4258
|
if (typeof t != "string")
|
|
4259
4259
|
return t;
|
|
4260
|
-
const e = Pe.parse(t) || mi.parse(t) ||
|
|
4260
|
+
const e = Pe.parse(t) || mi.parse(t) || xe.parse(t) || _i.parse(t);
|
|
4261
4261
|
if (e)
|
|
4262
4262
|
return e;
|
|
4263
4263
|
throw new Error(`Unsupported color format: "${t}"`);
|
|
4264
4264
|
},
|
|
4265
|
-
stringify: (t) => !t.changed && t.color ? t.color : t.type.is(lt.HSL) || t.data.r === void 0 ?
|
|
4265
|
+
stringify: (t) => !t.changed && t.color ? t.color : t.type.is(lt.HSL) || t.data.r === void 0 ? xe.stringify(t) : t.a < 1 || !Number.isInteger(t.r) || !Number.isInteger(t.g) || !Number.isInteger(t.b) ? mi.stringify(t) : Pe.stringify(t)
|
|
4266
4266
|
}, cl = (t, e) => {
|
|
4267
|
-
const i =
|
|
4267
|
+
const i = Ht.parse(t);
|
|
4268
4268
|
for (const r in e)
|
|
4269
4269
|
i[r] = q.channel.clamp[r](e[r]);
|
|
4270
|
-
return
|
|
4270
|
+
return Ht.stringify(i);
|
|
4271
4271
|
}, Ci = (t, e, i = 0, r = 1) => {
|
|
4272
4272
|
if (typeof t != "number")
|
|
4273
4273
|
return cl(t, { a: e });
|
|
@@ -4277,26 +4277,26 @@ const zr = new Tp({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Pe = {
|
|
|
4277
4277
|
b: q.channel.clamp.b(i),
|
|
4278
4278
|
a: q.channel.clamp.a(r)
|
|
4279
4279
|
});
|
|
4280
|
-
return
|
|
4280
|
+
return Ht.stringify(n);
|
|
4281
4281
|
}, Sp = (t) => {
|
|
4282
|
-
const { r: e, g: i, b: r } =
|
|
4282
|
+
const { r: e, g: i, b: r } = Ht.parse(t), n = 0.2126 * q.channel.toLinear(e) + 0.7152 * q.channel.toLinear(i) + 0.0722 * q.channel.toLinear(r);
|
|
4283
4283
|
return q.lang.round(n);
|
|
4284
4284
|
}, vp = (t) => Sp(t) >= 0.5, $i = (t) => !vp(t), hl = (t, e, i) => {
|
|
4285
|
-
const r =
|
|
4286
|
-
return n !== o && (r[e] = o),
|
|
4285
|
+
const r = Ht.parse(t), n = r[e], o = q.channel.clamp[e](n + i);
|
|
4286
|
+
return n !== o && (r[e] = o), Ht.stringify(r);
|
|
4287
4287
|
}, F = (t, e) => hl(t, "l", e), N = (t, e) => hl(t, "l", -e), g = (t, e) => {
|
|
4288
|
-
const i =
|
|
4288
|
+
const i = Ht.parse(t), r = {};
|
|
4289
4289
|
for (const n in e)
|
|
4290
4290
|
e[n] && (r[n] = i[n] + e[n]);
|
|
4291
4291
|
return cl(t, r);
|
|
4292
4292
|
}, kp = (t, e, i = 50) => {
|
|
4293
|
-
const { r, g: n, b: o, a: s } =
|
|
4293
|
+
const { r, g: n, b: o, a: s } = Ht.parse(t), { r: a, g: l, b: c, a: h } = Ht.parse(e), d = i / 100, u = d * 2 - 1, f = s - h, y = ((u * f === -1 ? u : (u + f) / (1 + u * f)) + 1) / 2, C = 1 - y, E = r * y + a * C, b = n * y + l * C, R = o * y + c * C, x = s * d + h * (1 - d);
|
|
4294
4294
|
return Ci(E, b, R, x);
|
|
4295
4295
|
}, S = (t, e = 100) => {
|
|
4296
|
-
const i =
|
|
4296
|
+
const i = Ht.parse(t);
|
|
4297
4297
|
return i.r = 255 - i.r, i.g = 255 - i.g, i.b = 255 - i.b, kp(i, t, e);
|
|
4298
4298
|
};
|
|
4299
|
-
var ul = typeof global == "object" && global && global.Object === Object && global, wp = typeof self == "object" && self && self.Object === Object && self,
|
|
4299
|
+
var ul = typeof global == "object" && global && global.Object === Object && global, wp = typeof self == "object" && self && self.Object === Object && self, Xt = ul || wp || Function("return this")(), br = Xt.Symbol, dl = Object.prototype, Ap = dl.hasOwnProperty, Bp = dl.toString, ui = br ? br.toStringTag : void 0;
|
|
4300
4300
|
function Ep(t) {
|
|
4301
4301
|
var e = Ap.call(t, ui), i = t[ui];
|
|
4302
4302
|
try {
|
|
@@ -4315,26 +4315,26 @@ var Ip = "[object Null]", Mp = "[object Undefined]", Fs = br ? br.toStringTag :
|
|
|
4315
4315
|
function Je(t) {
|
|
4316
4316
|
return t == null ? t === void 0 ? Mp : Ip : Fs && Fs in Object(t) ? Ep(t) : Op(t);
|
|
4317
4317
|
}
|
|
4318
|
-
function
|
|
4318
|
+
function we(t) {
|
|
4319
4319
|
var e = typeof t;
|
|
4320
4320
|
return t != null && (e == "object" || e == "function");
|
|
4321
4321
|
}
|
|
4322
4322
|
var $p = "[object AsyncFunction]", Dp = "[object Function]", Np = "[object GeneratorFunction]", Rp = "[object Proxy]";
|
|
4323
|
-
function
|
|
4324
|
-
if (!
|
|
4323
|
+
function uo(t) {
|
|
4324
|
+
if (!we(t))
|
|
4325
4325
|
return !1;
|
|
4326
4326
|
var e = Je(t);
|
|
4327
4327
|
return e == Dp || e == Np || e == $p || e == Rp;
|
|
4328
4328
|
}
|
|
4329
|
-
var
|
|
4330
|
-
var t = /[^.]+$/.exec(
|
|
4329
|
+
var xn = Xt["__core-js_shared__"], Os = (function() {
|
|
4330
|
+
var t = /[^.]+$/.exec(xn && xn.keys && xn.keys.IE_PROTO || "");
|
|
4331
4331
|
return t ? "Symbol(src)_1." + t : "";
|
|
4332
4332
|
})();
|
|
4333
4333
|
function Pp(t) {
|
|
4334
4334
|
return !!Os && Os in t;
|
|
4335
4335
|
}
|
|
4336
4336
|
var qp = Function.prototype, zp = qp.toString;
|
|
4337
|
-
function
|
|
4337
|
+
function Ae(t) {
|
|
4338
4338
|
if (t != null) {
|
|
4339
4339
|
try {
|
|
4340
4340
|
return zp.call(t);
|
|
@@ -4351,19 +4351,19 @@ var Wp = /[\\^$.*+?()[\]{}|]/g, Hp = /^\[object .+?Constructor\]$/, Yp = Functio
|
|
|
4351
4351
|
"^" + Up.call(Xp).replace(Wp, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
4352
4352
|
);
|
|
4353
4353
|
function Vp(t) {
|
|
4354
|
-
if (!
|
|
4354
|
+
if (!we(t) || Pp(t))
|
|
4355
4355
|
return !1;
|
|
4356
|
-
var e =
|
|
4357
|
-
return e.test(
|
|
4356
|
+
var e = uo(t) ? Gp : Hp;
|
|
4357
|
+
return e.test(Ae(t));
|
|
4358
4358
|
}
|
|
4359
4359
|
function Kp(t, e) {
|
|
4360
4360
|
return t == null ? void 0 : t[e];
|
|
4361
4361
|
}
|
|
4362
|
-
function
|
|
4362
|
+
function Be(t, e) {
|
|
4363
4363
|
var i = Kp(t, e);
|
|
4364
4364
|
return Vp(i) ? i : void 0;
|
|
4365
4365
|
}
|
|
4366
|
-
var Bi =
|
|
4366
|
+
var Bi = Be(Object, "create");
|
|
4367
4367
|
function Zp() {
|
|
4368
4368
|
this.__data__ = Bi ? Bi(null) : {}, this.size = 0;
|
|
4369
4369
|
}
|
|
@@ -4390,18 +4390,18 @@ function ag(t, e) {
|
|
|
4390
4390
|
var i = this.__data__;
|
|
4391
4391
|
return this.size += this.has(t) ? 0 : 1, i[t] = Bi && e === void 0 ? sg : e, this;
|
|
4392
4392
|
}
|
|
4393
|
-
function
|
|
4393
|
+
function ve(t) {
|
|
4394
4394
|
var e = -1, i = t == null ? 0 : t.length;
|
|
4395
4395
|
for (this.clear(); ++e < i; ) {
|
|
4396
4396
|
var r = t[e];
|
|
4397
4397
|
this.set(r[0], r[1]);
|
|
4398
4398
|
}
|
|
4399
4399
|
}
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4400
|
+
ve.prototype.clear = Zp;
|
|
4401
|
+
ve.prototype.delete = Jp;
|
|
4402
|
+
ve.prototype.get = ig;
|
|
4403
|
+
ve.prototype.has = og;
|
|
4404
|
+
ve.prototype.set = ag;
|
|
4405
4405
|
function lg() {
|
|
4406
4406
|
this.__data__ = [], this.size = 0;
|
|
4407
4407
|
}
|
|
@@ -4433,24 +4433,24 @@ function pg(t, e) {
|
|
|
4433
4433
|
var i = this.__data__, r = Hr(i, t);
|
|
4434
4434
|
return r < 0 ? (++this.size, i.push([t, e])) : i[r][1] = e, this;
|
|
4435
4435
|
}
|
|
4436
|
-
function
|
|
4436
|
+
function ne(t) {
|
|
4437
4437
|
var e = -1, i = t == null ? 0 : t.length;
|
|
4438
4438
|
for (this.clear(); ++e < i; ) {
|
|
4439
4439
|
var r = t[e];
|
|
4440
4440
|
this.set(r[0], r[1]);
|
|
4441
4441
|
}
|
|
4442
4442
|
}
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
var Ei =
|
|
4443
|
+
ne.prototype.clear = lg;
|
|
4444
|
+
ne.prototype.delete = ug;
|
|
4445
|
+
ne.prototype.get = dg;
|
|
4446
|
+
ne.prototype.has = fg;
|
|
4447
|
+
ne.prototype.set = pg;
|
|
4448
|
+
var Ei = Be(Xt, "Map");
|
|
4449
4449
|
function gg() {
|
|
4450
4450
|
this.size = 0, this.__data__ = {
|
|
4451
|
-
hash: new
|
|
4452
|
-
map: new (Ei ||
|
|
4453
|
-
string: new
|
|
4451
|
+
hash: new ve(),
|
|
4452
|
+
map: new (Ei || ne)(),
|
|
4453
|
+
string: new ve()
|
|
4454
4454
|
};
|
|
4455
4455
|
}
|
|
4456
4456
|
function mg(t) {
|
|
@@ -4475,18 +4475,18 @@ function xg(t, e) {
|
|
|
4475
4475
|
var i = Yr(this, t), r = i.size;
|
|
4476
4476
|
return i.set(t, e), this.size += i.size == r ? 0 : 1, this;
|
|
4477
4477
|
}
|
|
4478
|
-
function
|
|
4478
|
+
function pe(t) {
|
|
4479
4479
|
var e = -1, i = t == null ? 0 : t.length;
|
|
4480
4480
|
for (this.clear(); ++e < i; ) {
|
|
4481
4481
|
var r = t[e];
|
|
4482
4482
|
this.set(r[0], r[1]);
|
|
4483
4483
|
}
|
|
4484
4484
|
}
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4485
|
+
pe.prototype.clear = gg;
|
|
4486
|
+
pe.prototype.delete = yg;
|
|
4487
|
+
pe.prototype.get = _g;
|
|
4488
|
+
pe.prototype.has = Cg;
|
|
4489
|
+
pe.prototype.set = xg;
|
|
4490
4490
|
var bg = "Expected a function";
|
|
4491
4491
|
function Di(t, e) {
|
|
4492
4492
|
if (typeof t != "function" || e != null && typeof e != "function")
|
|
@@ -4498,11 +4498,11 @@ function Di(t, e) {
|
|
|
4498
4498
|
var s = t.apply(this, r);
|
|
4499
4499
|
return i.cache = o.set(n, s) || o, s;
|
|
4500
4500
|
};
|
|
4501
|
-
return i.cache = new (Di.Cache ||
|
|
4501
|
+
return i.cache = new (Di.Cache || pe)(), i;
|
|
4502
4502
|
}
|
|
4503
|
-
Di.Cache =
|
|
4503
|
+
Di.Cache = pe;
|
|
4504
4504
|
function Tg() {
|
|
4505
|
-
this.__data__ = new
|
|
4505
|
+
this.__data__ = new ne(), this.size = 0;
|
|
4506
4506
|
}
|
|
4507
4507
|
function Sg(t) {
|
|
4508
4508
|
var e = this.__data__, i = e.delete(t);
|
|
@@ -4517,16 +4517,16 @@ function kg(t) {
|
|
|
4517
4517
|
var wg = 200;
|
|
4518
4518
|
function Ag(t, e) {
|
|
4519
4519
|
var i = this.__data__;
|
|
4520
|
-
if (i instanceof
|
|
4520
|
+
if (i instanceof ne) {
|
|
4521
4521
|
var r = i.__data__;
|
|
4522
4522
|
if (!Ei || r.length < wg - 1)
|
|
4523
4523
|
return r.push([t, e]), this.size = ++i.size, this;
|
|
4524
|
-
i = this.__data__ = new
|
|
4524
|
+
i = this.__data__ = new pe(r);
|
|
4525
4525
|
}
|
|
4526
4526
|
return i.set(t, e), this.size = i.size, this;
|
|
4527
4527
|
}
|
|
4528
4528
|
function Qe(t) {
|
|
4529
|
-
var e = this.__data__ = new
|
|
4529
|
+
var e = this.__data__ = new ne(t);
|
|
4530
4530
|
this.size = e.size;
|
|
4531
4531
|
}
|
|
4532
4532
|
Qe.prototype.clear = Tg;
|
|
@@ -4536,12 +4536,12 @@ Qe.prototype.has = kg;
|
|
|
4536
4536
|
Qe.prototype.set = Ag;
|
|
4537
4537
|
var Tr = (function() {
|
|
4538
4538
|
try {
|
|
4539
|
-
var t =
|
|
4539
|
+
var t = Be(Object, "defineProperty");
|
|
4540
4540
|
return t({}, "", {}), t;
|
|
4541
4541
|
} catch {
|
|
4542
4542
|
}
|
|
4543
4543
|
})();
|
|
4544
|
-
function
|
|
4544
|
+
function fo(t, e, i) {
|
|
4545
4545
|
e == "__proto__" && Tr ? Tr(t, e, {
|
|
4546
4546
|
configurable: !0,
|
|
4547
4547
|
enumerable: !0,
|
|
@@ -4549,8 +4549,8 @@ function uo(t, e, i) {
|
|
|
4549
4549
|
writable: !0
|
|
4550
4550
|
}) : t[e] = i;
|
|
4551
4551
|
}
|
|
4552
|
-
function
|
|
4553
|
-
(i !== void 0 && !Wr(t[e], i) || i === void 0 && !(e in t)) &&
|
|
4552
|
+
function Pn(t, e, i) {
|
|
4553
|
+
(i !== void 0 && !Wr(t[e], i) || i === void 0 && !(e in t)) && fo(t, e, i);
|
|
4554
4554
|
}
|
|
4555
4555
|
function Bg(t) {
|
|
4556
4556
|
return function(e, i, r) {
|
|
@@ -4562,14 +4562,14 @@ function Bg(t) {
|
|
|
4562
4562
|
return e;
|
|
4563
4563
|
};
|
|
4564
4564
|
}
|
|
4565
|
-
var Eg = Bg(), fl = typeof exports == "object" && exports && !exports.nodeType && exports, Is = fl && typeof module == "object" && module && !module.nodeType && module, Lg = Is && Is.exports === fl, Ms = Lg ?
|
|
4565
|
+
var Eg = Bg(), fl = typeof exports == "object" && exports && !exports.nodeType && exports, Is = fl && typeof module == "object" && module && !module.nodeType && module, Lg = Is && Is.exports === fl, Ms = Lg ? Xt.Buffer : void 0, $s = Ms ? Ms.allocUnsafe : void 0;
|
|
4566
4566
|
function Fg(t, e) {
|
|
4567
4567
|
if (e)
|
|
4568
4568
|
return t.slice();
|
|
4569
4569
|
var i = t.length, r = $s ? $s(i) : new t.constructor(i);
|
|
4570
4570
|
return t.copy(r), r;
|
|
4571
4571
|
}
|
|
4572
|
-
var Ds =
|
|
4572
|
+
var Ds = Xt.Uint8Array;
|
|
4573
4573
|
function Og(t) {
|
|
4574
4574
|
var e = new t.constructor(t.byteLength);
|
|
4575
4575
|
return new Ds(e).set(new Ds(t)), e;
|
|
@@ -4588,7 +4588,7 @@ var Ns = Object.create, $g = /* @__PURE__ */ (function() {
|
|
|
4588
4588
|
function t() {
|
|
4589
4589
|
}
|
|
4590
4590
|
return function(e) {
|
|
4591
|
-
if (!
|
|
4591
|
+
if (!we(e))
|
|
4592
4592
|
return {};
|
|
4593
4593
|
if (Ns)
|
|
4594
4594
|
return Ns(e);
|
|
@@ -4626,7 +4626,7 @@ function yl(t) {
|
|
|
4626
4626
|
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= zg;
|
|
4627
4627
|
}
|
|
4628
4628
|
function Ur(t) {
|
|
4629
|
-
return t != null && yl(t.length) && !
|
|
4629
|
+
return t != null && yl(t.length) && !uo(t);
|
|
4630
4630
|
}
|
|
4631
4631
|
function Wg(t) {
|
|
4632
4632
|
return Ni(t) && Ur(t);
|
|
@@ -4634,7 +4634,7 @@ function Wg(t) {
|
|
|
4634
4634
|
function Hg() {
|
|
4635
4635
|
return !1;
|
|
4636
4636
|
}
|
|
4637
|
-
var _l = typeof exports == "object" && exports && !exports.nodeType && exports, Ps = _l && typeof module == "object" && module && !module.nodeType && module, Yg = Ps && Ps.exports === _l, qs = Yg ?
|
|
4637
|
+
var _l = typeof exports == "object" && exports && !exports.nodeType && exports, Ps = _l && typeof module == "object" && module && !module.nodeType && module, Yg = Ps && Ps.exports === _l, qs = Yg ? Xt.Buffer : void 0, jg = qs ? qs.isBuffer : void 0, po = jg || Hg, Ug = "[object Object]", Xg = Function.prototype, Gg = Object.prototype, Cl = Xg.toString, Vg = Gg.hasOwnProperty, Kg = Cl.call(Object);
|
|
4638
4638
|
function Zg(t) {
|
|
4639
4639
|
if (!Ni(t) || Je(t) != Ug)
|
|
4640
4640
|
return !1;
|
|
@@ -4655,28 +4655,28 @@ function Sm(t) {
|
|
|
4655
4655
|
return t(e);
|
|
4656
4656
|
};
|
|
4657
4657
|
}
|
|
4658
|
-
var xl = typeof exports == "object" && exports && !exports.nodeType && exports, xi = xl && typeof module == "object" && module && !module.nodeType && module, vm = xi && xi.exports === xl,
|
|
4658
|
+
var xl = typeof exports == "object" && exports && !exports.nodeType && exports, xi = xl && typeof module == "object" && module && !module.nodeType && module, vm = xi && xi.exports === xl, bn = vm && ul.process, zs = (function() {
|
|
4659
4659
|
try {
|
|
4660
4660
|
var t = xi && xi.require && xi.require("util").types;
|
|
4661
|
-
return t ||
|
|
4661
|
+
return t || bn && bn.binding && bn.binding("util");
|
|
4662
4662
|
} catch {
|
|
4663
4663
|
}
|
|
4664
|
-
})(), Ws = zs && zs.isTypedArray,
|
|
4665
|
-
function
|
|
4664
|
+
})(), Ws = zs && zs.isTypedArray, go = Ws ? Sm(Ws) : Tm;
|
|
4665
|
+
function qn(t, e) {
|
|
4666
4666
|
if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
|
|
4667
4667
|
return t[e];
|
|
4668
4668
|
}
|
|
4669
4669
|
var km = Object.prototype, wm = km.hasOwnProperty;
|
|
4670
4670
|
function Am(t, e, i) {
|
|
4671
4671
|
var r = t[e];
|
|
4672
|
-
(!(wm.call(t, e) && Wr(r, i)) || i === void 0 && !(e in t)) &&
|
|
4672
|
+
(!(wm.call(t, e) && Wr(r, i)) || i === void 0 && !(e in t)) && fo(t, e, i);
|
|
4673
4673
|
}
|
|
4674
4674
|
function Bm(t, e, i, r) {
|
|
4675
4675
|
var n = !i;
|
|
4676
4676
|
i || (i = {});
|
|
4677
4677
|
for (var o = -1, s = e.length; ++o < s; ) {
|
|
4678
4678
|
var a = e[o], l = void 0;
|
|
4679
|
-
l === void 0 && (l = t[a]), n ?
|
|
4679
|
+
l === void 0 && (l = t[a]), n ? fo(i, a, l) : Am(i, a, l);
|
|
4680
4680
|
}
|
|
4681
4681
|
return i;
|
|
4682
4682
|
}
|
|
@@ -4692,7 +4692,7 @@ function bl(t, e) {
|
|
|
4692
4692
|
}
|
|
4693
4693
|
var Om = Object.prototype, Im = Om.hasOwnProperty;
|
|
4694
4694
|
function Mm(t, e) {
|
|
4695
|
-
var i = vr(t), r = !i && Sr(t), n = !i && !r &&
|
|
4695
|
+
var i = vr(t), r = !i && Sr(t), n = !i && !r && po(t), o = !i && !r && !n && go(t), s = i || r || n || o, a = s ? Em(t.length, String) : [], l = a.length;
|
|
4696
4696
|
for (var c in t)
|
|
4697
4697
|
(e || Im.call(t, c)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
4698
4698
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -4710,7 +4710,7 @@ function $m(t) {
|
|
|
4710
4710
|
}
|
|
4711
4711
|
var Dm = Object.prototype, Nm = Dm.hasOwnProperty;
|
|
4712
4712
|
function Rm(t) {
|
|
4713
|
-
if (!
|
|
4713
|
+
if (!we(t))
|
|
4714
4714
|
return $m(t);
|
|
4715
4715
|
var e = jr(t), i = [];
|
|
4716
4716
|
for (var r in t)
|
|
@@ -4724,25 +4724,25 @@ function Pm(t) {
|
|
|
4724
4724
|
return Bm(t, Tl(t));
|
|
4725
4725
|
}
|
|
4726
4726
|
function qm(t, e, i, r, n, o, s) {
|
|
4727
|
-
var a =
|
|
4727
|
+
var a = qn(t, i), l = qn(e, i), c = s.get(l);
|
|
4728
4728
|
if (c) {
|
|
4729
|
-
|
|
4729
|
+
Pn(t, i, c);
|
|
4730
4730
|
return;
|
|
4731
4731
|
}
|
|
4732
4732
|
var h = o ? o(a, l, i + "", t, e, s) : void 0, d = h === void 0;
|
|
4733
4733
|
if (d) {
|
|
4734
|
-
var u = vr(l), f = !u &&
|
|
4735
|
-
h = l, u || f || m ? vr(a) ? h = a : Wg(a) ? h = Mg(a) : f ? (d = !1, h = Fg(l, !0)) : m ? (d = !1, h = Ig(l, !0)) : h = [] : Zg(l) || Sr(l) ? (h = a, Sr(a) ? h = Pm(a) : (!
|
|
4734
|
+
var u = vr(l), f = !u && po(l), m = !u && !f && go(l);
|
|
4735
|
+
h = l, u || f || m ? vr(a) ? h = a : Wg(a) ? h = Mg(a) : f ? (d = !1, h = Fg(l, !0)) : m ? (d = !1, h = Ig(l, !0)) : h = [] : Zg(l) || Sr(l) ? (h = a, Sr(a) ? h = Pm(a) : (!we(a) || uo(a)) && (h = Ng(l))) : d = !1;
|
|
4736
4736
|
}
|
|
4737
|
-
d && (s.set(l, h), n(h, l, r, o, s), s.delete(l)),
|
|
4737
|
+
d && (s.set(l, h), n(h, l, r, o, s), s.delete(l)), Pn(t, i, h);
|
|
4738
4738
|
}
|
|
4739
4739
|
function Sl(t, e, i, r, n) {
|
|
4740
4740
|
t !== e && Eg(e, function(o, s) {
|
|
4741
|
-
if (n || (n = new Qe()),
|
|
4741
|
+
if (n || (n = new Qe()), we(o))
|
|
4742
4742
|
qm(t, e, s, i, Sl, r, n);
|
|
4743
4743
|
else {
|
|
4744
|
-
var a = r ? r(
|
|
4745
|
-
a === void 0 && (a = o),
|
|
4744
|
+
var a = r ? r(qn(t, s), o, s + "", t, e, n) : void 0;
|
|
4745
|
+
a === void 0 && (a = o), Pn(t, s, a);
|
|
4746
4746
|
}
|
|
4747
4747
|
}, Tl);
|
|
4748
4748
|
}
|
|
@@ -4803,7 +4803,7 @@ function Km(t, e) {
|
|
|
4803
4803
|
return Vm(Wm(t, e, vl), t + "");
|
|
4804
4804
|
}
|
|
4805
4805
|
function Zm(t, e, i) {
|
|
4806
|
-
if (!
|
|
4806
|
+
if (!we(i))
|
|
4807
4807
|
return !1;
|
|
4808
4808
|
var r = typeof e;
|
|
4809
4809
|
return (r == "number" ? Ur(i) && bl(e, i.length) : r == "string" && e in i) ? Wr(i[e], t) : !1;
|
|
@@ -4820,7 +4820,7 @@ function Jm(t) {
|
|
|
4820
4820
|
}
|
|
4821
4821
|
var Qm = Jm(function(t, e, i) {
|
|
4822
4822
|
Sl(t, e, i);
|
|
4823
|
-
}), kl = "comm", wl = "rule", Al = "decl", t0 = "@import", e0 = "@namespace", i0 = "@keyframes", r0 = "@layer", Bl = Math.abs,
|
|
4823
|
+
}), kl = "comm", wl = "rule", Al = "decl", t0 = "@import", e0 = "@namespace", i0 = "@keyframes", r0 = "@layer", Bl = Math.abs, mo = String.fromCharCode;
|
|
4824
4824
|
function El(t) {
|
|
4825
4825
|
return t.trim();
|
|
4826
4826
|
}
|
|
@@ -4836,7 +4836,7 @@ function qe(t, e) {
|
|
|
4836
4836
|
function je(t, e, i) {
|
|
4837
4837
|
return t.slice(e, i);
|
|
4838
4838
|
}
|
|
4839
|
-
function
|
|
4839
|
+
function qt(t) {
|
|
4840
4840
|
return t.length;
|
|
4841
4841
|
}
|
|
4842
4842
|
function o0(t) {
|
|
@@ -4846,7 +4846,7 @@ function Ji(t, e) {
|
|
|
4846
4846
|
return e.push(t), t;
|
|
4847
4847
|
}
|
|
4848
4848
|
var Xr = 1, Ue = 1, Ll = 0, At = 0, J = 0, ti = "";
|
|
4849
|
-
function
|
|
4849
|
+
function yo(t, e, i, r, n, o, s, a) {
|
|
4850
4850
|
return { value: t, root: e, parent: i, type: r, props: n, children: o, line: Xr, column: Ue, length: s, return: "", siblings: a };
|
|
4851
4851
|
}
|
|
4852
4852
|
function s0() {
|
|
@@ -4858,7 +4858,7 @@ function a0() {
|
|
|
4858
4858
|
function It() {
|
|
4859
4859
|
return J = At < Ll ? qe(ti, At++) : 0, Ue++, J === 10 && (Ue = 1, Xr++), J;
|
|
4860
4860
|
}
|
|
4861
|
-
function
|
|
4861
|
+
function he() {
|
|
4862
4862
|
return qe(ti, At);
|
|
4863
4863
|
}
|
|
4864
4864
|
function lr() {
|
|
@@ -4906,25 +4906,25 @@ function Li(t) {
|
|
|
4906
4906
|
return 0;
|
|
4907
4907
|
}
|
|
4908
4908
|
function l0(t) {
|
|
4909
|
-
return Xr = Ue = 1, Ll =
|
|
4909
|
+
return Xr = Ue = 1, Ll = qt(ti = t), At = 0, [];
|
|
4910
4910
|
}
|
|
4911
4911
|
function c0(t) {
|
|
4912
4912
|
return ti = "", t;
|
|
4913
4913
|
}
|
|
4914
|
-
function
|
|
4915
|
-
return El(Gr(At - 1,
|
|
4914
|
+
function Tn(t) {
|
|
4915
|
+
return El(Gr(At - 1, zn(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
4916
4916
|
}
|
|
4917
4917
|
function h0(t) {
|
|
4918
|
-
for (; (J =
|
|
4918
|
+
for (; (J = he()) && J < 33; )
|
|
4919
4919
|
It();
|
|
4920
4920
|
return Li(t) > 2 || Li(J) > 3 ? "" : " ";
|
|
4921
4921
|
}
|
|
4922
4922
|
function u0(t, e) {
|
|
4923
4923
|
for (; --e && It() && !(J < 48 || J > 102 || J > 57 && J < 65 || J > 70 && J < 97); )
|
|
4924
4924
|
;
|
|
4925
|
-
return Gr(t, lr() + (e < 6 &&
|
|
4925
|
+
return Gr(t, lr() + (e < 6 && he() == 32 && It() == 32));
|
|
4926
4926
|
}
|
|
4927
|
-
function
|
|
4927
|
+
function zn(t) {
|
|
4928
4928
|
for (; It(); )
|
|
4929
4929
|
switch (J) {
|
|
4930
4930
|
// ] ) " '
|
|
@@ -4933,11 +4933,11 @@ function qn(t) {
|
|
|
4933
4933
|
// " '
|
|
4934
4934
|
case 34:
|
|
4935
4935
|
case 39:
|
|
4936
|
-
t !== 34 && t !== 39 &&
|
|
4936
|
+
t !== 34 && t !== 39 && zn(J);
|
|
4937
4937
|
break;
|
|
4938
4938
|
// (
|
|
4939
4939
|
case 40:
|
|
4940
|
-
t === 41 &&
|
|
4940
|
+
t === 41 && zn(t);
|
|
4941
4941
|
break;
|
|
4942
4942
|
// \
|
|
4943
4943
|
case 92:
|
|
@@ -4948,12 +4948,12 @@ function qn(t) {
|
|
|
4948
4948
|
}
|
|
4949
4949
|
function d0(t, e) {
|
|
4950
4950
|
for (; It() && t + J !== 57; )
|
|
4951
|
-
if (t + J === 84 &&
|
|
4951
|
+
if (t + J === 84 && he() === 47)
|
|
4952
4952
|
break;
|
|
4953
|
-
return "/*" + Gr(e, At - 1) + "*" +
|
|
4953
|
+
return "/*" + Gr(e, At - 1) + "*" + mo(t === 47 ? t : It());
|
|
4954
4954
|
}
|
|
4955
4955
|
function f0(t) {
|
|
4956
|
-
for (; !Li(
|
|
4956
|
+
for (; !Li(he()); )
|
|
4957
4957
|
It();
|
|
4958
4958
|
return Gr(t, At);
|
|
4959
4959
|
}
|
|
@@ -4966,14 +4966,14 @@ function cr(t, e, i, r, n, o, s, a, l) {
|
|
|
4966
4966
|
// (
|
|
4967
4967
|
case 40:
|
|
4968
4968
|
if (m != 108 && qe(D, d - 1) == 58) {
|
|
4969
|
-
n0(D += ar(
|
|
4969
|
+
n0(D += ar(Tn(b), "&", "&\f"), "&\f", Bl(c ? a[c - 1] : 0)) != -1 && (E = -1);
|
|
4970
4970
|
break;
|
|
4971
4971
|
}
|
|
4972
4972
|
// " ' [
|
|
4973
4973
|
case 34:
|
|
4974
4974
|
case 39:
|
|
4975
4975
|
case 91:
|
|
4976
|
-
D +=
|
|
4976
|
+
D += Tn(b);
|
|
4977
4977
|
break;
|
|
4978
4978
|
// \t \n \r \s
|
|
4979
4979
|
case 9:
|
|
@@ -4988,10 +4988,10 @@ function cr(t, e, i, r, n, o, s, a, l) {
|
|
|
4988
4988
|
continue;
|
|
4989
4989
|
// /
|
|
4990
4990
|
case 47:
|
|
4991
|
-
switch (
|
|
4991
|
+
switch (he()) {
|
|
4992
4992
|
case 42:
|
|
4993
4993
|
case 47:
|
|
4994
|
-
Ji(g0(d0(It(), lr()), e, i, l), l), (Li(m || 1) == 5 || Li(
|
|
4994
|
+
Ji(g0(d0(It(), lr()), e, i, l), l), (Li(m || 1) == 5 || Li(he() || 1) == 5) && qt(D) && je(D, -1, void 0) !== " " && (D += " ");
|
|
4995
4995
|
break;
|
|
4996
4996
|
default:
|
|
4997
4997
|
D += "/";
|
|
@@ -4999,7 +4999,7 @@ function cr(t, e, i, r, n, o, s, a, l) {
|
|
|
4999
4999
|
break;
|
|
5000
5000
|
// {
|
|
5001
5001
|
case 123 * y:
|
|
5002
|
-
a[c++] =
|
|
5002
|
+
a[c++] = qt(D) * E;
|
|
5003
5003
|
// } ; \0
|
|
5004
5004
|
case 125 * y:
|
|
5005
5005
|
case 59:
|
|
@@ -5011,7 +5011,7 @@ function cr(t, e, i, r, n, o, s, a, l) {
|
|
|
5011
5011
|
C = 0;
|
|
5012
5012
|
// ;
|
|
5013
5013
|
case 59 + h:
|
|
5014
|
-
E == -1 && (D = ar(D, /\f/g, "")), f > 0 && (
|
|
5014
|
+
E == -1 && (D = ar(D, /\f/g, "")), f > 0 && (qt(D) - d || y === 0 && m === 47) && Ji(f > 32 ? js(D + ";", r, i, d - 1, l) : js(ar(D, " ", "") + ";", r, i, d - 2, l), l);
|
|
5015
5015
|
break;
|
|
5016
5016
|
// @ ;
|
|
5017
5017
|
case 59:
|
|
@@ -5043,7 +5043,7 @@ function cr(t, e, i, r, n, o, s, a, l) {
|
|
|
5043
5043
|
break;
|
|
5044
5044
|
// :
|
|
5045
5045
|
case 58:
|
|
5046
|
-
d = 1 +
|
|
5046
|
+
d = 1 + qt(D), f = m;
|
|
5047
5047
|
default:
|
|
5048
5048
|
if (y < 1) {
|
|
5049
5049
|
if (b == 123)
|
|
@@ -5051,22 +5051,22 @@ function cr(t, e, i, r, n, o, s, a, l) {
|
|
|
5051
5051
|
else if (b == 125 && y++ == 0 && a0() == 125)
|
|
5052
5052
|
continue;
|
|
5053
5053
|
}
|
|
5054
|
-
switch (D +=
|
|
5054
|
+
switch (D += mo(b), b * y) {
|
|
5055
5055
|
// &
|
|
5056
5056
|
case 38:
|
|
5057
5057
|
E = h > 0 ? 1 : (D += "\f", -1);
|
|
5058
5058
|
break;
|
|
5059
5059
|
// ,
|
|
5060
5060
|
case 44:
|
|
5061
|
-
a[c++] = (
|
|
5061
|
+
a[c++] = (qt(D) - 1) * E, E = 1;
|
|
5062
5062
|
break;
|
|
5063
5063
|
// @
|
|
5064
5064
|
case 64:
|
|
5065
|
-
|
|
5065
|
+
he() === 45 && (D += Tn(It())), u = he(), h = d = qt(R = D += f0(lr())), b++;
|
|
5066
5066
|
break;
|
|
5067
5067
|
// -
|
|
5068
5068
|
case 45:
|
|
5069
|
-
m === 45 &&
|
|
5069
|
+
m === 45 && qt(D) == 2 && (y = 0);
|
|
5070
5070
|
}
|
|
5071
5071
|
}
|
|
5072
5072
|
return o;
|
|
@@ -5075,15 +5075,15 @@ function Ys(t, e, i, r, n, o, s, a, l, c, h, d) {
|
|
|
5075
5075
|
for (var u = n - 1, f = n === 0 ? o : [""], m = o0(f), y = 0, C = 0, E = 0; y < r; ++y)
|
|
5076
5076
|
for (var b = 0, R = je(t, u + 1, u = Bl(C = s[y])), x = t; b < m; ++b)
|
|
5077
5077
|
(x = El(C > 0 ? f[b] + " " + R : ar(R, /&\f/g, f[b]))) && (l[E++] = x);
|
|
5078
|
-
return
|
|
5078
|
+
return yo(t, e, i, n === 0 ? wl : a, l, c, h, d);
|
|
5079
5079
|
}
|
|
5080
5080
|
function g0(t, e, i, r) {
|
|
5081
|
-
return
|
|
5081
|
+
return yo(t, e, i, kl, mo(s0()), je(t, 2, -2), 0, r);
|
|
5082
5082
|
}
|
|
5083
5083
|
function js(t, e, i, r, n) {
|
|
5084
|
-
return
|
|
5084
|
+
return yo(t, e, i, Al, je(t, 0, r), je(t, r + 1, -1), r, n);
|
|
5085
5085
|
}
|
|
5086
|
-
function
|
|
5086
|
+
function Wn(t, e) {
|
|
5087
5087
|
for (var i = "", r = 0; r < t.length; r++)
|
|
5088
5088
|
i += e(t[r], r, t, e) || "";
|
|
5089
5089
|
return i;
|
|
@@ -5099,11 +5099,11 @@ function m0(t, e, i, r) {
|
|
|
5099
5099
|
case kl:
|
|
5100
5100
|
return "";
|
|
5101
5101
|
case i0:
|
|
5102
|
-
return t.return = t.value + "{" +
|
|
5102
|
+
return t.return = t.value + "{" + Wn(t.children, r) + "}";
|
|
5103
5103
|
case wl:
|
|
5104
|
-
if (!
|
|
5104
|
+
if (!qt(t.value = t.props.join(","))) return "";
|
|
5105
5105
|
}
|
|
5106
|
-
return
|
|
5106
|
+
return qt(i = Wn(t.children, r)) ? t.return = t.value + "{" + i + "}" : "";
|
|
5107
5107
|
}
|
|
5108
5108
|
var y0 = pl(Object.keys, Object), _0 = Object.prototype, C0 = _0.hasOwnProperty;
|
|
5109
5109
|
function x0(t) {
|
|
@@ -5114,9 +5114,9 @@ function x0(t) {
|
|
|
5114
5114
|
C0.call(t, i) && i != "constructor" && e.push(i);
|
|
5115
5115
|
return e;
|
|
5116
5116
|
}
|
|
5117
|
-
var
|
|
5118
|
-
(
|
|
5119
|
-
var e = Je(t), i = e == b0 ? t.constructor : void 0, r = i ?
|
|
5117
|
+
var Hn = Be(Xt, "DataView"), Yn = Be(Xt, "Promise"), jn = Be(Xt, "Set"), Un = Be(Xt, "WeakMap"), Us = "[object Map]", b0 = "[object Object]", Xs = "[object Promise]", Gs = "[object Set]", Vs = "[object WeakMap]", Ks = "[object DataView]", T0 = Ae(Hn), S0 = Ae(Ei), v0 = Ae(Yn), k0 = Ae(jn), w0 = Ae(Un), ye = Je;
|
|
5118
|
+
(Hn && ye(new Hn(new ArrayBuffer(1))) != Ks || Ei && ye(new Ei()) != Us || Yn && ye(Yn.resolve()) != Xs || jn && ye(new jn()) != Gs || Un && ye(new Un()) != Vs) && (ye = function(t) {
|
|
5119
|
+
var e = Je(t), i = e == b0 ? t.constructor : void 0, r = i ? Ae(i) : "";
|
|
5120
5120
|
if (r)
|
|
5121
5121
|
switch (r) {
|
|
5122
5122
|
case T0:
|
|
@@ -5133,12 +5133,12 @@ var Wn = Ae(jt, "DataView"), Hn = Ae(jt, "Promise"), Yn = Ae(jt, "Set"), jn = Ae
|
|
|
5133
5133
|
return e;
|
|
5134
5134
|
});
|
|
5135
5135
|
var A0 = "[object Map]", B0 = "[object Set]", E0 = Object.prototype, L0 = E0.hasOwnProperty;
|
|
5136
|
-
function
|
|
5136
|
+
function Sn(t) {
|
|
5137
5137
|
if (t == null)
|
|
5138
5138
|
return !0;
|
|
5139
|
-
if (Ur(t) && (vr(t) || typeof t == "string" || typeof t.splice == "function" ||
|
|
5139
|
+
if (Ur(t) && (vr(t) || typeof t == "string" || typeof t.splice == "function" || po(t) || go(t) || Sr(t)))
|
|
5140
5140
|
return !t.length;
|
|
5141
|
-
var e =
|
|
5141
|
+
var e = ye(t);
|
|
5142
5142
|
if (e == A0 || e == B0)
|
|
5143
5143
|
return !t.size;
|
|
5144
5144
|
if (jr(t))
|
|
@@ -5148,7 +5148,7 @@ function Tn(t) {
|
|
|
5148
5148
|
return !1;
|
|
5149
5149
|
return !0;
|
|
5150
5150
|
}
|
|
5151
|
-
const
|
|
5151
|
+
const Jt = {
|
|
5152
5152
|
trace: 0,
|
|
5153
5153
|
debug: 1,
|
|
5154
5154
|
info: 2,
|
|
@@ -5168,15 +5168,15 @@ const Kt = {
|
|
|
5168
5168
|
},
|
|
5169
5169
|
fatal: (...t) => {
|
|
5170
5170
|
}
|
|
5171
|
-
},
|
|
5172
|
-
let e =
|
|
5173
|
-
typeof t == "string" ? (t = t.toLowerCase(), t in
|
|
5171
|
+
}, _o = function(t = "fatal") {
|
|
5172
|
+
let e = Jt.fatal;
|
|
5173
|
+
typeof t == "string" ? (t = t.toLowerCase(), t in Jt && (e = Jt[t])) : typeof t == "number" && (e = t), $.trace = () => {
|
|
5174
5174
|
}, $.debug = () => {
|
|
5175
5175
|
}, $.info = () => {
|
|
5176
5176
|
}, $.warn = () => {
|
|
5177
5177
|
}, $.error = () => {
|
|
5178
5178
|
}, $.fatal = () => {
|
|
5179
|
-
}, e <=
|
|
5179
|
+
}, e <= Jt.fatal && ($.fatal = console.error ? console.error.bind(console, vt("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", vt("FATAL"))), e <= Jt.error && ($.error = console.error ? console.error.bind(console, vt("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", vt("ERROR"))), e <= Jt.warn && ($.warn = console.warn ? console.warn.bind(console, vt("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", vt("WARN"))), e <= Jt.info && ($.info = console.info ? console.info.bind(console, vt("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", vt("INFO"))), e <= Jt.debug && ($.debug = console.debug ? console.debug.bind(console, vt("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", vt("DEBUG"))), e <= Jt.trace && ($.trace = console.debug ? console.debug.bind(console, vt("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", vt("TRACE")));
|
|
5180
5180
|
}, vt = (t) => `%c${mh().format("ss.SSS")} : ${t} : `, Ri = /<br\s*\/?>/gi, F0 = (t) => t ? Ol(t).replace(/\\n/g, "#br#").split("#br#") : [""], O0 = /* @__PURE__ */ (() => {
|
|
5181
5181
|
let t = !1;
|
|
5182
5182
|
return () => {
|
|
@@ -5220,11 +5220,11 @@ const Fl = (t) => (O0(), Ye.sanitize(t)), Zs = (t, e) => {
|
|
|
5220
5220
|
i.push(W0(n));
|
|
5221
5221
|
}
|
|
5222
5222
|
return i.join("");
|
|
5223
|
-
},
|
|
5224
|
-
const i =
|
|
5223
|
+
}, Xn = (t, e) => Math.max(0, t.split(e).length - 1), z0 = (t, e) => {
|
|
5224
|
+
const i = Xn(t, "~"), r = Xn(e, "~");
|
|
5225
5225
|
return i === 1 && r === 1;
|
|
5226
5226
|
}, W0 = (t) => {
|
|
5227
|
-
const e =
|
|
5227
|
+
const e = Xn(t, "~");
|
|
5228
5228
|
let i = !1;
|
|
5229
5229
|
if (e <= 1)
|
|
5230
5230
|
return t;
|
|
@@ -5234,9 +5234,9 @@ const Fl = (t) => (O0(), Ye.sanitize(t)), Zs = (t, e) => {
|
|
|
5234
5234
|
for (; n !== -1 && o !== -1 && n !== o; )
|
|
5235
5235
|
r[n] = "<", r[o] = ">", n = r.indexOf("~"), o = r.lastIndexOf("~");
|
|
5236
5236
|
return i && r.unshift("~"), r.join("");
|
|
5237
|
-
}, Js = () => window.MathMLElement !== void 0,
|
|
5237
|
+
}, Js = () => window.MathMLElement !== void 0, Gn = /\$\$(.*)\$\$/g, Qs = (t) => {
|
|
5238
5238
|
var e;
|
|
5239
|
-
return (((e = t.match(
|
|
5239
|
+
return (((e = t.match(Gn)) == null ? void 0 : e.length) ?? 0) > 0;
|
|
5240
5240
|
}, iT = async (t, e) => {
|
|
5241
5241
|
const i = document.createElement("div");
|
|
5242
5242
|
i.innerHTML = await Y0(t, e), i.id = "katex-temp", i.style.visibility = "hidden", i.style.position = "absolute", i.style.top = "0";
|
|
@@ -5248,8 +5248,8 @@ const Fl = (t) => (O0(), Ye.sanitize(t)), Zs = (t, e) => {
|
|
|
5248
5248
|
if (!Qs(t))
|
|
5249
5249
|
return t;
|
|
5250
5250
|
if (!Js() && !e.legacyMathML)
|
|
5251
|
-
return t.replace(
|
|
5252
|
-
const { default: i } = await import("./layers.
|
|
5251
|
+
return t.replace(Gn, "MathML is unsupported in this environment.");
|
|
5252
|
+
const { default: i } = await import("./layers.b9B2NY7n.js");
|
|
5253
5253
|
return t.split(Ri).map(
|
|
5254
5254
|
(r) => Qs(r) ? `
|
|
5255
5255
|
<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">
|
|
@@ -5257,14 +5257,14 @@ const Fl = (t) => (O0(), Ye.sanitize(t)), Zs = (t, e) => {
|
|
|
5257
5257
|
</div>
|
|
5258
5258
|
` : `<div>${r}</div>`
|
|
5259
5259
|
).join("").replace(
|
|
5260
|
-
|
|
5260
|
+
Gn,
|
|
5261
5261
|
(r, n) => i.renderToString(n, {
|
|
5262
5262
|
throwOnError: !0,
|
|
5263
5263
|
displayMode: !0,
|
|
5264
5264
|
output: Js() ? "mathml" : "htmlAndMathml"
|
|
5265
5265
|
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, "")
|
|
5266
5266
|
);
|
|
5267
|
-
}, Y0 = async (t, e) => Xe(await H0(t, e), e),
|
|
5267
|
+
}, Y0 = async (t, e) => Xe(await H0(t, e), e), Co = {
|
|
5268
5268
|
getRows: F0,
|
|
5269
5269
|
sanitizeText: Xe,
|
|
5270
5270
|
sanitizeTextOrArray: M0,
|
|
@@ -5524,7 +5524,7 @@ class Q0 {
|
|
|
5524
5524
|
const ty = (t) => {
|
|
5525
5525
|
const e = new Q0();
|
|
5526
5526
|
return e.calculate(t), e;
|
|
5527
|
-
},
|
|
5527
|
+
}, ie = {
|
|
5528
5528
|
base: {
|
|
5529
5529
|
getThemeVariables: U0
|
|
5530
5530
|
},
|
|
@@ -5540,7 +5540,7 @@ const ty = (t) => {
|
|
|
5540
5540
|
neutral: {
|
|
5541
5541
|
getThemeVariables: ty
|
|
5542
5542
|
}
|
|
5543
|
-
},
|
|
5543
|
+
}, Qt = {
|
|
5544
5544
|
flowchart: {
|
|
5545
5545
|
useMaxWidth: !0,
|
|
5546
5546
|
titleTopMargin: 25,
|
|
@@ -5984,15 +5984,15 @@ const ty = (t) => {
|
|
|
5984
5984
|
deterministicIds: !1,
|
|
5985
5985
|
fontSize: 16
|
|
5986
5986
|
}, Ml = {
|
|
5987
|
-
...
|
|
5987
|
+
...Qt,
|
|
5988
5988
|
// Set, even though they're `undefined` so that `configKeys` finds these keys
|
|
5989
5989
|
// TODO: Should we replace these with `null` so that they can go in the JSON Schema?
|
|
5990
5990
|
deterministicIDSeed: void 0,
|
|
5991
5991
|
themeCSS: void 0,
|
|
5992
5992
|
// add non-JSON default config values
|
|
5993
|
-
themeVariables:
|
|
5993
|
+
themeVariables: ie.default.getThemeVariables(),
|
|
5994
5994
|
sequence: {
|
|
5995
|
-
...
|
|
5995
|
+
...Qt.sequence,
|
|
5996
5996
|
messageFont: function() {
|
|
5997
5997
|
return {
|
|
5998
5998
|
fontFamily: this.messageFontFamily,
|
|
@@ -6016,13 +6016,13 @@ const ty = (t) => {
|
|
|
6016
6016
|
}
|
|
6017
6017
|
},
|
|
6018
6018
|
gantt: {
|
|
6019
|
-
...
|
|
6019
|
+
...Qt.gantt,
|
|
6020
6020
|
tickInterval: void 0,
|
|
6021
6021
|
useWidth: void 0
|
|
6022
6022
|
// can probably be removed since `configKeys` already includes this
|
|
6023
6023
|
},
|
|
6024
6024
|
c4: {
|
|
6025
|
-
...
|
|
6025
|
+
...Qt.c4,
|
|
6026
6026
|
useWidth: void 0,
|
|
6027
6027
|
personFont: function() {
|
|
6028
6028
|
return {
|
|
@@ -6180,26 +6180,26 @@ const ty = (t) => {
|
|
|
6180
6180
|
}
|
|
6181
6181
|
},
|
|
6182
6182
|
pie: {
|
|
6183
|
-
...
|
|
6183
|
+
...Qt.pie,
|
|
6184
6184
|
useWidth: 984
|
|
6185
6185
|
},
|
|
6186
6186
|
xyChart: {
|
|
6187
|
-
...
|
|
6187
|
+
...Qt.xyChart,
|
|
6188
6188
|
useWidth: void 0
|
|
6189
6189
|
},
|
|
6190
6190
|
requirement: {
|
|
6191
|
-
...
|
|
6191
|
+
...Qt.requirement,
|
|
6192
6192
|
useWidth: void 0
|
|
6193
6193
|
},
|
|
6194
6194
|
gitGraph: {
|
|
6195
|
-
...
|
|
6195
|
+
...Qt.gitGraph,
|
|
6196
6196
|
// TODO: This is a temporary override for `gitGraph`, since every other
|
|
6197
6197
|
// diagram does have `useMaxWidth`, but instead sets it to `true`.
|
|
6198
6198
|
// Should we set this to `true` instead?
|
|
6199
6199
|
useMaxWidth: !1
|
|
6200
6200
|
},
|
|
6201
6201
|
sankey: {
|
|
6202
|
-
...
|
|
6202
|
+
...Qt.sankey,
|
|
6203
6203
|
// this is false, unlike every other diagram (other than gitGraph)
|
|
6204
6204
|
// TODO: can we make this default to `true` instead?
|
|
6205
6205
|
useMaxWidth: !1
|
|
@@ -6258,14 +6258,14 @@ const Ge = {}, Zr = function(t, e) {
|
|
|
6258
6258
|
Pl(e, i, r);
|
|
6259
6259
|
}, Pl = (t, e, i) => {
|
|
6260
6260
|
Ge[t] ? $.error(`Detector with key ${t} already exists`) : Ge[t] = { detector: e, loader: i }, $.debug(`Detector with key ${t} added${i ? " with loader" : ""}`);
|
|
6261
|
-
}, oy = (t) => Ge[t].loader,
|
|
6261
|
+
}, oy = (t) => Ge[t].loader, Vn = (t, e, { depth: i = 2, clobber: r = !1 } = {}) => {
|
|
6262
6262
|
const n = { depth: i, clobber: r };
|
|
6263
|
-
return Array.isArray(e) && !Array.isArray(t) ? (e.forEach((o) =>
|
|
6263
|
+
return Array.isArray(e) && !Array.isArray(t) ? (e.forEach((o) => Vn(t, o, n)), t) : Array.isArray(e) && Array.isArray(t) ? (e.forEach((o) => {
|
|
6264
6264
|
t.includes(o) || t.push(o);
|
|
6265
6265
|
}), t) : t === void 0 || i <= 0 ? t != null && typeof t == "object" && typeof e == "object" ? Object.assign(t, e) : e : (e !== void 0 && typeof t == "object" && typeof e == "object" && Object.keys(e).forEach((o) => {
|
|
6266
|
-
typeof e[o] == "object" && (t[o] === void 0 || typeof t[o] == "object") ? (t[o] === void 0 && (t[o] = Array.isArray(e[o]) ? [] : {}), t[o] =
|
|
6266
|
+
typeof e[o] == "object" && (t[o] === void 0 || typeof t[o] == "object") ? (t[o] === void 0 && (t[o] = Array.isArray(e[o]) ? [] : {}), t[o] = Vn(t[o], e[o], { depth: i - 1, clobber: r })) : (r || typeof t[o] != "object" && typeof e[o] != "object") && (t[o] = e[o]);
|
|
6267
6267
|
}), t);
|
|
6268
|
-
}, ct =
|
|
6268
|
+
}, ct = Vn, sy = "", ay = {
|
|
6269
6269
|
curveBasis: $f,
|
|
6270
6270
|
curveBasisClosed: Df,
|
|
6271
6271
|
curveBasisOpen: Nf,
|
|
@@ -6360,7 +6360,7 @@ function gy(t) {
|
|
|
6360
6360
|
i += zl(n, e), e = n;
|
|
6361
6361
|
});
|
|
6362
6362
|
const r = i / 2;
|
|
6363
|
-
return
|
|
6363
|
+
return xo(t, r);
|
|
6364
6364
|
}
|
|
6365
6365
|
function my(t) {
|
|
6366
6366
|
return t.length === 1 ? t[0] : gy(t);
|
|
@@ -6368,7 +6368,7 @@ function my(t) {
|
|
|
6368
6368
|
const ta = (t, e = 2) => {
|
|
6369
6369
|
const i = Math.pow(10, e);
|
|
6370
6370
|
return Math.round(t * i) / i;
|
|
6371
|
-
},
|
|
6371
|
+
}, xo = (t, e) => {
|
|
6372
6372
|
let i, r = e;
|
|
6373
6373
|
for (const n of t) {
|
|
6374
6374
|
if (i) {
|
|
@@ -6393,13 +6393,13 @@ const ta = (t, e = 2) => {
|
|
|
6393
6393
|
throw new Error("Could not find a suitable point for the given distance");
|
|
6394
6394
|
}, yy = (t, e, i) => {
|
|
6395
6395
|
$.info(`our points ${JSON.stringify(e)}`), e[0] !== i && (e = e.reverse());
|
|
6396
|
-
const n =
|
|
6396
|
+
const n = xo(e, 25), o = t ? 10 : 5, s = Math.atan2(e[0].y - n.y, e[0].x - n.x), a = { x: 0, y: 0 };
|
|
6397
6397
|
return a.x = Math.sin(s) * o + (e[0].x + n.x) / 2, a.y = -Math.cos(s) * o + (e[0].y + n.y) / 2, a;
|
|
6398
6398
|
};
|
|
6399
6399
|
function _y(t, e, i) {
|
|
6400
6400
|
const r = structuredClone(i);
|
|
6401
6401
|
$.info("our points", r), e !== "start_left" && e !== "start_right" && r.reverse();
|
|
6402
|
-
const n = 25 + t, o =
|
|
6402
|
+
const n = 25 + t, o = xo(r, n), s = 10 + t * 0.5, a = Math.atan2(r[0].y - o.y, r[0].x - o.x), l = { x: 0, y: 0 };
|
|
6403
6403
|
return e === "start_left" ? (l.x = Math.sin(a + Math.PI) * s + (r[0].x + o.x) / 2, l.y = -Math.cos(a + Math.PI) * s + (r[0].y + o.y) / 2) : e === "end_right" ? (l.x = Math.sin(a - Math.PI) * s + (r[0].x + o.x) / 2 - 5, l.y = -Math.cos(a - Math.PI) * s + (r[0].y + o.y) / 2 - 5) : e === "end_left" ? (l.x = Math.sin(a) * s + (r[0].x + o.x) / 2 - 5, l.y = -Math.cos(a) * s + (r[0].y + o.y) / 2 - 5) : (l.x = Math.sin(a) * s + (r[0].x + o.x) / 2, l.y = -Math.cos(a) * s + (r[0].y + o.y) / 2), l;
|
|
6404
6404
|
}
|
|
6405
6405
|
function Cy(t) {
|
|
@@ -6433,7 +6433,7 @@ const Ty = (t) => by(t.length), Sy = function() {
|
|
|
6433
6433
|
text: ""
|
|
6434
6434
|
};
|
|
6435
6435
|
}, vy = function(t, e) {
|
|
6436
|
-
const i = e.text.replace(
|
|
6436
|
+
const i = e.text.replace(Co.lineBreakRegex, " "), [, r] = To(e.fontSize), n = t.append("text");
|
|
6437
6437
|
n.attr("x", e.x), n.attr("y", e.y), n.style("text-anchor", e.anchor), n.style("font-family", e.fontFamily), n.style("font-size", r), n.style("font-weight", e.fontWeight), n.attr("fill", e.fill), e.class !== void 0 && n.attr("class", e.class);
|
|
6438
6438
|
const o = n.append("tspan");
|
|
6439
6439
|
return o.attr("x", e.x + e.textMargin * 2), o.attr("fill", e.fill), o.text(i), n;
|
|
@@ -6442,7 +6442,7 @@ const Ty = (t) => by(t.length), Sy = function() {
|
|
|
6442
6442
|
if (!t || (i = Object.assign(
|
|
6443
6443
|
{ fontSize: 12, fontWeight: 400, fontFamily: "Arial", joinWith: "<br/>" },
|
|
6444
6444
|
i
|
|
6445
|
-
),
|
|
6445
|
+
), Co.lineBreakRegex.test(t)))
|
|
6446
6446
|
return t;
|
|
6447
6447
|
const r = t.split(" "), n = [];
|
|
6448
6448
|
let o = "";
|
|
@@ -6476,17 +6476,17 @@ const Ty = (t) => by(t.length), Sy = function() {
|
|
|
6476
6476
|
(t, e, i = "-", r) => `${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`
|
|
6477
6477
|
);
|
|
6478
6478
|
function Ay(t, e) {
|
|
6479
|
-
return
|
|
6479
|
+
return bo(t, e).height;
|
|
6480
6480
|
}
|
|
6481
6481
|
function wr(t, e) {
|
|
6482
|
-
return
|
|
6482
|
+
return bo(t, e).width;
|
|
6483
6483
|
}
|
|
6484
|
-
const
|
|
6484
|
+
const bo = Di(
|
|
6485
6485
|
(t, e) => {
|
|
6486
6486
|
const { fontSize: i = 12, fontFamily: r = "Arial", fontWeight: n = 400 } = e;
|
|
6487
6487
|
if (!t)
|
|
6488
6488
|
return { width: 0, height: 0 };
|
|
6489
|
-
const [, o] =
|
|
6489
|
+
const [, o] = To(i), s = ["sans-serif", r], a = t.split(Co.lineBreakRegex), l = [], c = kt("body");
|
|
6490
6490
|
if (!c.remove)
|
|
6491
6491
|
return { width: 0, height: 0, lineHeight: 0 };
|
|
6492
6492
|
const h = c.append("svg");
|
|
@@ -6527,7 +6527,7 @@ const Ly = (t, e, i, r) => {
|
|
|
6527
6527
|
return;
|
|
6528
6528
|
const o = (n = t.node()) == null ? void 0 : n.getBBox();
|
|
6529
6529
|
o && t.append("text").text(r).attr("x", o.x + o.width / 2).attr("y", -i).attr("class", e);
|
|
6530
|
-
},
|
|
6530
|
+
}, To = (t) => {
|
|
6531
6531
|
if (typeof t == "number")
|
|
6532
6532
|
return [t, t + "px"];
|
|
6533
6533
|
const e = parseInt(t ?? "", 10);
|
|
@@ -6541,7 +6541,7 @@ const Ti = {
|
|
|
6541
6541
|
wrapLabel: ky,
|
|
6542
6542
|
calculateTextHeight: Ay,
|
|
6543
6543
|
calculateTextWidth: wr,
|
|
6544
|
-
calculateTextDimensions:
|
|
6544
|
+
calculateTextDimensions: bo,
|
|
6545
6545
|
cleanAndMerge: Hl,
|
|
6546
6546
|
detectInit: cy,
|
|
6547
6547
|
detectDirective: ql,
|
|
@@ -6557,7 +6557,7 @@ const Ti = {
|
|
|
6557
6557
|
runFunc: py,
|
|
6558
6558
|
entityDecode: Ey,
|
|
6559
6559
|
insertTitle: Ly,
|
|
6560
|
-
parseFontSize:
|
|
6560
|
+
parseFontSize: To,
|
|
6561
6561
|
InitIDGenerator: By
|
|
6562
6562
|
}, Fy = function(t) {
|
|
6563
6563
|
let e = t;
|
|
@@ -6577,17 +6577,17 @@ const Jr = (t, e) => {
|
|
|
6577
6577
|
let i = ct({}, t), r = {};
|
|
6578
6578
|
for (const n of e)
|
|
6579
6579
|
Xl(n), r = ct(r, n);
|
|
6580
|
-
if (i = ct(i, r), r.theme && r.theme in
|
|
6580
|
+
if (i = ct(i, r), r.theme && r.theme in ie) {
|
|
6581
6581
|
const n = ct({}, Yl), o = ct(
|
|
6582
6582
|
n.themeVariables || {},
|
|
6583
6583
|
r.themeVariables
|
|
6584
6584
|
);
|
|
6585
|
-
i.theme && i.theme in
|
|
6585
|
+
i.theme && i.theme in ie && (i.themeVariables = ie[i.theme].getThemeVariables(o));
|
|
6586
6586
|
}
|
|
6587
6587
|
return Si = i, Gl(Si), Si;
|
|
6588
|
-
}, Iy = (t) => (yt = ct({}, Ve), yt = ct(yt, t), t.theme &&
|
|
6588
|
+
}, Iy = (t) => (yt = ct({}, Ve), yt = ct(yt, t), t.theme && ie[t.theme] && (yt.themeVariables = ie[t.theme].getThemeVariables(t.themeVariables)), Jr(yt, Ke), yt), My = (t) => {
|
|
6589
6589
|
Yl = ct({}, t);
|
|
6590
|
-
}, $y = (t) => (yt = ct(yt, t), Jr(yt, Ke), yt), jl = () => ct({}, yt), Ul = (t) => (Gl(t), ct(Si, t),
|
|
6590
|
+
}, $y = (t) => (yt = ct(yt, t), Jr(yt, Ke), yt), jl = () => ct({}, yt), Ul = (t) => (Gl(t), ct(Si, t), Yt()), Yt = () => ct({}, Si), Xl = (t) => {
|
|
6591
6591
|
t && (["secure", ...yt.secure ?? []].forEach((e) => {
|
|
6592
6592
|
Object.hasOwn(t, e) && ($.debug(`Denied attempt to modify a secure key ${e}`, t[e]), delete t[e]);
|
|
6593
6593
|
}), Object.keys(t).forEach((e) => {
|
|
@@ -6606,7 +6606,7 @@ const Jr = (t, e) => {
|
|
|
6606
6606
|
}, Gl = (t) => {
|
|
6607
6607
|
t && (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && Ry("LAZY_LOAD_DEPRECATED");
|
|
6608
6608
|
}, Vl = "c4", Py = (t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), qy = async () => {
|
|
6609
|
-
const { diagram: t } = await import("./layers.
|
|
6609
|
+
const { diagram: t } = await import("./layers.D7r7UhP2.js");
|
|
6610
6610
|
return { id: Vl, diagram: t };
|
|
6611
6611
|
}, zy = {
|
|
6612
6612
|
id: Vl,
|
|
@@ -6616,7 +6616,7 @@ const Jr = (t, e) => {
|
|
|
6616
6616
|
var i, r;
|
|
6617
6617
|
return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t);
|
|
6618
6618
|
}, Yy = async () => {
|
|
6619
|
-
const { diagram: t } = await import("./layers.
|
|
6619
|
+
const { diagram: t } = await import("./layers.DinFDjOH.js");
|
|
6620
6620
|
return { id: Kl, diagram: t };
|
|
6621
6621
|
}, jy = {
|
|
6622
6622
|
id: Kl,
|
|
@@ -6626,70 +6626,70 @@ const Jr = (t, e) => {
|
|
|
6626
6626
|
var i, r, n;
|
|
6627
6627
|
return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-d3" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t) && ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t);
|
|
6628
6628
|
}, Gy = async () => {
|
|
6629
|
-
const { diagram: t } = await import("./layers.
|
|
6629
|
+
const { diagram: t } = await import("./layers.8TeUsMCS.js");
|
|
6630
6630
|
return { id: Zl, diagram: t };
|
|
6631
6631
|
}, Vy = {
|
|
6632
6632
|
id: Zl,
|
|
6633
6633
|
detector: Xy,
|
|
6634
6634
|
loader: Gy
|
|
6635
6635
|
}, Ky = Vy, Jl = "er", Zy = (t) => /^\s*erDiagram/.test(t), Jy = async () => {
|
|
6636
|
-
const { diagram: t } = await import("./layers.
|
|
6636
|
+
const { diagram: t } = await import("./layers.HRjmNbDf.js");
|
|
6637
6637
|
return { id: Jl, diagram: t };
|
|
6638
6638
|
}, Qy = {
|
|
6639
6639
|
id: Jl,
|
|
6640
6640
|
detector: Zy,
|
|
6641
6641
|
loader: Jy
|
|
6642
6642
|
}, t_ = Qy, Ql = "gitGraph", e_ = (t) => /^\s*gitGraph/.test(t), i_ = async () => {
|
|
6643
|
-
const { diagram: t } = await import("./layers.
|
|
6643
|
+
const { diagram: t } = await import("./layers.BOil2OXT.js");
|
|
6644
6644
|
return { id: Ql, diagram: t };
|
|
6645
6645
|
}, r_ = {
|
|
6646
6646
|
id: Ql,
|
|
6647
6647
|
detector: e_,
|
|
6648
6648
|
loader: i_
|
|
6649
6649
|
}, n_ = r_, tc = "gantt", o_ = (t) => /^\s*gantt/.test(t), s_ = async () => {
|
|
6650
|
-
const { diagram: t } = await import("./layers.
|
|
6650
|
+
const { diagram: t } = await import("./layers.DtuOL86a.js");
|
|
6651
6651
|
return { id: tc, diagram: t };
|
|
6652
6652
|
}, a_ = {
|
|
6653
6653
|
id: tc,
|
|
6654
6654
|
detector: o_,
|
|
6655
6655
|
loader: s_
|
|
6656
6656
|
}, l_ = a_, ec = "info", c_ = (t) => /^\s*info/.test(t), h_ = async () => {
|
|
6657
|
-
const { diagram: t } = await import("./layers.
|
|
6657
|
+
const { diagram: t } = await import("./layers.DbMELnFL.js");
|
|
6658
6658
|
return { id: ec, diagram: t };
|
|
6659
6659
|
}, u_ = {
|
|
6660
6660
|
id: ec,
|
|
6661
6661
|
detector: c_,
|
|
6662
6662
|
loader: h_
|
|
6663
6663
|
}, ic = "pie", d_ = (t) => /^\s*pie/.test(t), f_ = async () => {
|
|
6664
|
-
const { diagram: t } = await import("./layers.
|
|
6664
|
+
const { diagram: t } = await import("./layers.Czfktnfg.js");
|
|
6665
6665
|
return { id: ic, diagram: t };
|
|
6666
6666
|
}, p_ = {
|
|
6667
6667
|
id: ic,
|
|
6668
6668
|
detector: d_,
|
|
6669
6669
|
loader: f_
|
|
6670
6670
|
}, rc = "quadrantChart", g_ = (t) => /^\s*quadrantChart/.test(t), m_ = async () => {
|
|
6671
|
-
const { diagram: t } = await import("./layers.
|
|
6671
|
+
const { diagram: t } = await import("./layers.DSqDI-l_.js");
|
|
6672
6672
|
return { id: rc, diagram: t };
|
|
6673
6673
|
}, y_ = {
|
|
6674
6674
|
id: rc,
|
|
6675
6675
|
detector: g_,
|
|
6676
6676
|
loader: m_
|
|
6677
6677
|
}, __ = y_, nc = "xychart", C_ = (t) => /^\s*xychart-beta/.test(t), x_ = async () => {
|
|
6678
|
-
const { diagram: t } = await import("./layers.
|
|
6678
|
+
const { diagram: t } = await import("./layers.DSKnuYmQ.js");
|
|
6679
6679
|
return { id: nc, diagram: t };
|
|
6680
6680
|
}, b_ = {
|
|
6681
6681
|
id: nc,
|
|
6682
6682
|
detector: C_,
|
|
6683
6683
|
loader: x_
|
|
6684
6684
|
}, T_ = b_, oc = "requirement", S_ = (t) => /^\s*requirement(Diagram)?/.test(t), v_ = async () => {
|
|
6685
|
-
const { diagram: t } = await import("./layers.
|
|
6685
|
+
const { diagram: t } = await import("./layers.kFj6qPMA.js");
|
|
6686
6686
|
return { id: oc, diagram: t };
|
|
6687
6687
|
}, k_ = {
|
|
6688
6688
|
id: oc,
|
|
6689
6689
|
detector: S_,
|
|
6690
6690
|
loader: v_
|
|
6691
6691
|
}, w_ = k_, sc = "sequence", A_ = (t) => /^\s*sequenceDiagram/.test(t), B_ = async () => {
|
|
6692
|
-
const { diagram: t } = await import("./layers.
|
|
6692
|
+
const { diagram: t } = await import("./layers.Cl-kPGYy.js");
|
|
6693
6693
|
return { id: sc, diagram: t };
|
|
6694
6694
|
}, E_ = {
|
|
6695
6695
|
id: sc,
|
|
@@ -6699,7 +6699,7 @@ const Jr = (t, e) => {
|
|
|
6699
6699
|
var i;
|
|
6700
6700
|
return ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t);
|
|
6701
6701
|
}, O_ = async () => {
|
|
6702
|
-
const { diagram: t } = await import("./layers.
|
|
6702
|
+
const { diagram: t } = await import("./layers.BBz5MTJY.js");
|
|
6703
6703
|
return { id: ac, diagram: t };
|
|
6704
6704
|
}, I_ = {
|
|
6705
6705
|
id: ac,
|
|
@@ -6709,7 +6709,7 @@ const Jr = (t, e) => {
|
|
|
6709
6709
|
var i;
|
|
6710
6710
|
return /^\s*classDiagram/.test(t) && ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t);
|
|
6711
6711
|
}, D_ = async () => {
|
|
6712
|
-
const { diagram: t } = await import("./layers.
|
|
6712
|
+
const { diagram: t } = await import("./layers.XwF9ditJ.js");
|
|
6713
6713
|
return { id: lc, diagram: t };
|
|
6714
6714
|
}, N_ = {
|
|
6715
6715
|
id: lc,
|
|
@@ -6719,7 +6719,7 @@ const Jr = (t, e) => {
|
|
|
6719
6719
|
var i;
|
|
6720
6720
|
return ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t);
|
|
6721
6721
|
}, q_ = async () => {
|
|
6722
|
-
const { diagram: t } = await import("./layers.
|
|
6722
|
+
const { diagram: t } = await import("./layers.czTDzR9x.js");
|
|
6723
6723
|
return { id: cc, diagram: t };
|
|
6724
6724
|
}, z_ = {
|
|
6725
6725
|
id: cc,
|
|
@@ -6729,14 +6729,14 @@ const Jr = (t, e) => {
|
|
|
6729
6729
|
var i;
|
|
6730
6730
|
return !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper");
|
|
6731
6731
|
}, Y_ = async () => {
|
|
6732
|
-
const { diagram: t } = await import("./layers.
|
|
6732
|
+
const { diagram: t } = await import("./layers.Dq2jCcYq.js");
|
|
6733
6733
|
return { id: hc, diagram: t };
|
|
6734
6734
|
}, j_ = {
|
|
6735
6735
|
id: hc,
|
|
6736
6736
|
detector: H_,
|
|
6737
6737
|
loader: Y_
|
|
6738
6738
|
}, U_ = j_, uc = "journey", X_ = (t) => /^\s*journey/.test(t), G_ = async () => {
|
|
6739
|
-
const { diagram: t } = await import("./layers.
|
|
6739
|
+
const { diagram: t } = await import("./layers.CI0Jue3e.js");
|
|
6740
6740
|
return { id: uc, diagram: t };
|
|
6741
6741
|
}, V_ = {
|
|
6742
6742
|
id: uc,
|
|
@@ -6813,17 +6813,17 @@ const Jr = (t, e) => {
|
|
|
6813
6813
|
}, eC = (t, e) => {
|
|
6814
6814
|
e !== void 0 && (hr[t] = e);
|
|
6815
6815
|
}, iC = tC;
|
|
6816
|
-
let
|
|
6817
|
-
const
|
|
6818
|
-
|
|
6816
|
+
let So = "", vo = "", ko = "";
|
|
6817
|
+
const wo = (t) => Xe(t, Yt()), rC = () => {
|
|
6818
|
+
So = "", ko = "", vo = "";
|
|
6819
6819
|
}, nC = (t) => {
|
|
6820
|
-
|
|
6821
|
-
}, oC = () =>
|
|
6822
|
-
|
|
6820
|
+
So = wo(t).replace(/^\s+/g, "");
|
|
6821
|
+
}, oC = () => So, sC = (t) => {
|
|
6822
|
+
ko = wo(t).replace(/\n\s+/g, `
|
|
6823
6823
|
`);
|
|
6824
|
-
}, aC = () =>
|
|
6825
|
-
|
|
6826
|
-
}, cC = () =>
|
|
6824
|
+
}, aC = () => ko, lC = (t) => {
|
|
6825
|
+
vo = wo(t);
|
|
6826
|
+
}, cC = () => vo, hC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6827
6827
|
__proto__: null,
|
|
6828
6828
|
clear: rC,
|
|
6829
6829
|
getAccDescription: aC,
|
|
@@ -6832,7 +6832,7 @@ const ko = (t) => Xe(t, Wt()), rC = () => {
|
|
|
6832
6832
|
setAccDescription: sC,
|
|
6833
6833
|
setAccTitle: nC,
|
|
6834
6834
|
setDiagramTitle: lC
|
|
6835
|
-
}, Symbol.toStringTag, { value: "Module" })), uC = $, dC =
|
|
6835
|
+
}, Symbol.toStringTag, { value: "Module" })), uC = $, dC = _o, Ao = Yt, aT = Ul, lT = Ve, fC = (t) => Xe(t, Ao()), pC = Q_, gC = () => hC, Br = {}, Er = (t, e, i) => {
|
|
6836
6836
|
var r;
|
|
6837
6837
|
if (Br[t])
|
|
6838
6838
|
throw new Error(`Diagram ${t} already registered.`);
|
|
@@ -6840,14 +6840,14 @@ const ko = (t) => Xe(t, Wt()), rC = () => {
|
|
|
6840
6840
|
e,
|
|
6841
6841
|
uC,
|
|
6842
6842
|
dC,
|
|
6843
|
-
|
|
6843
|
+
Ao,
|
|
6844
6844
|
fC,
|
|
6845
6845
|
pC,
|
|
6846
6846
|
gC(),
|
|
6847
6847
|
() => {
|
|
6848
6848
|
}
|
|
6849
6849
|
);
|
|
6850
|
-
},
|
|
6850
|
+
}, Bo = (t) => {
|
|
6851
6851
|
if (t in Br)
|
|
6852
6852
|
return Br[t];
|
|
6853
6853
|
throw new mC(t);
|
|
@@ -6859,7 +6859,7 @@ class mC extends Error {
|
|
|
6859
6859
|
}
|
|
6860
6860
|
const yC = (t) => {
|
|
6861
6861
|
var e;
|
|
6862
|
-
const { securityLevel: i } =
|
|
6862
|
+
const { securityLevel: i } = Ao();
|
|
6863
6863
|
let r = kt("body");
|
|
6864
6864
|
if (i === "sandbox") {
|
|
6865
6865
|
const s = ((e = kt(`#i${t}`).node()) == null ? void 0 : e.contentDocument) ?? document;
|
|
@@ -6905,35 +6905,35 @@ const yC = (t) => {
|
|
|
6905
6905
|
/^\s*flowchart|graph/.test(t) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "elk")
|
|
6906
6906
|
);
|
|
6907
6907
|
}, SC = async () => {
|
|
6908
|
-
const { diagram: t } = await import("./layers.
|
|
6908
|
+
const { diagram: t } = await import("./layers.BB5rxtG-.js");
|
|
6909
6909
|
return { id: pc, diagram: t };
|
|
6910
6910
|
}, vC = {
|
|
6911
6911
|
id: pc,
|
|
6912
6912
|
detector: TC,
|
|
6913
6913
|
loader: SC
|
|
6914
6914
|
}, kC = vC, gc = "timeline", wC = (t) => /^\s*timeline/.test(t), AC = async () => {
|
|
6915
|
-
const { diagram: t } = await import("./layers.
|
|
6915
|
+
const { diagram: t } = await import("./layers.CeVIg3vq.js");
|
|
6916
6916
|
return { id: gc, diagram: t };
|
|
6917
6917
|
}, BC = {
|
|
6918
6918
|
id: gc,
|
|
6919
6919
|
detector: wC,
|
|
6920
6920
|
loader: AC
|
|
6921
6921
|
}, EC = BC, mc = "mindmap", LC = (t) => /^\s*mindmap/.test(t), FC = async () => {
|
|
6922
|
-
const { diagram: t } = await import("./layers.
|
|
6922
|
+
const { diagram: t } = await import("./layers.CsFdJt24.js");
|
|
6923
6923
|
return { id: mc, diagram: t };
|
|
6924
6924
|
}, OC = {
|
|
6925
6925
|
id: mc,
|
|
6926
6926
|
detector: LC,
|
|
6927
6927
|
loader: FC
|
|
6928
6928
|
}, IC = OC, yc = "sankey", MC = (t) => /^\s*sankey-beta/.test(t), $C = async () => {
|
|
6929
|
-
const { diagram: t } = await import("./layers.
|
|
6929
|
+
const { diagram: t } = await import("./layers.SYmQqNbz.js");
|
|
6930
6930
|
return { id: yc, diagram: t };
|
|
6931
6931
|
}, DC = {
|
|
6932
6932
|
id: yc,
|
|
6933
6933
|
detector: MC,
|
|
6934
6934
|
loader: $C
|
|
6935
6935
|
}, NC = DC, _c = "block", RC = (t) => /^\s*block-beta/.test(t), PC = async () => {
|
|
6936
|
-
const { diagram: t } = await import("./layers.
|
|
6936
|
+
const { diagram: t } = await import("./layers.DPvpPmNK.js");
|
|
6937
6937
|
return { id: _c, diagram: t };
|
|
6938
6938
|
}, qC = {
|
|
6939
6939
|
id: _c,
|
|
@@ -6941,7 +6941,7 @@ const yC = (t) => {
|
|
|
6941
6941
|
loader: PC
|
|
6942
6942
|
}, zC = qC;
|
|
6943
6943
|
let na = !1;
|
|
6944
|
-
const
|
|
6944
|
+
const Eo = () => {
|
|
6945
6945
|
na || (na = !0, Er("error", bC, (t) => t.toLowerCase().trim() === "error"), Er(
|
|
6946
6946
|
"---",
|
|
6947
6947
|
// --- diagram type may appear if YAML front-matter is not parsed correctly
|
|
@@ -6997,13 +6997,13 @@ class Cc {
|
|
|
6997
6997
|
constructor(e, i = {}) {
|
|
6998
6998
|
this.text = e, this.metadata = i, this.type = "graph", this.text = Fy(e), this.text += `
|
|
6999
6999
|
`;
|
|
7000
|
-
const r =
|
|
7000
|
+
const r = Yt();
|
|
7001
7001
|
try {
|
|
7002
7002
|
this.type = Zr(e, r);
|
|
7003
7003
|
} catch (o) {
|
|
7004
7004
|
this.type = "error", this.detectError = o;
|
|
7005
7005
|
}
|
|
7006
|
-
const n =
|
|
7006
|
+
const n = Bo(this.type);
|
|
7007
7007
|
$.debug("Type " + this.type), this.db = n.db, this.renderer = n.renderer, this.parser = n.parser, this.parser.parser.yy = this.db, this.init = n.init, this.parse();
|
|
7008
7008
|
}
|
|
7009
7009
|
parse() {
|
|
@@ -7011,7 +7011,7 @@ class Cc {
|
|
|
7011
7011
|
if (this.detectError)
|
|
7012
7012
|
throw this.detectError;
|
|
7013
7013
|
(i = (e = this.db).clear) == null || i.call(e);
|
|
7014
|
-
const s =
|
|
7014
|
+
const s = Yt();
|
|
7015
7015
|
(r = this.init) == null || r.call(this, s), this.metadata.title && ((o = (n = this.db).setDiagramTitle) == null || o.call(n, this.metadata.title)), this.parser.parse(this.text);
|
|
7016
7016
|
}
|
|
7017
7017
|
async render(e, i) {
|
|
@@ -7025,9 +7025,9 @@ class Cc {
|
|
|
7025
7025
|
}
|
|
7026
7026
|
}
|
|
7027
7027
|
const WC = async (t, e = {}) => {
|
|
7028
|
-
const i = Zr(t,
|
|
7028
|
+
const i = Zr(t, Yt());
|
|
7029
7029
|
try {
|
|
7030
|
-
|
|
7030
|
+
Bo(i);
|
|
7031
7031
|
} catch {
|
|
7032
7032
|
const n = oy(i);
|
|
7033
7033
|
if (!n)
|
|
@@ -7107,8 +7107,8 @@ Fi.prototype.constructor = Fi;
|
|
|
7107
7107
|
Fi.prototype.toString = function(e) {
|
|
7108
7108
|
return this.name + ": " + bc(this, e);
|
|
7109
7109
|
};
|
|
7110
|
-
var
|
|
7111
|
-
function
|
|
7110
|
+
var te = Fi;
|
|
7111
|
+
function vn(t, e, i, r, n) {
|
|
7112
7112
|
var o = "", s = "", a = Math.floor(n / 2) - 1;
|
|
7113
7113
|
return r - e > a && (o = " ... ", e = r - a + o.length), i - r > a && (s = " ...", i = r + a - s.length), {
|
|
7114
7114
|
str: o + t.slice(e, i).replace(/\t/g, "→") + s,
|
|
@@ -7116,7 +7116,7 @@ function Sn(t, e, i, r, n) {
|
|
|
7116
7116
|
// relative position
|
|
7117
7117
|
};
|
|
7118
7118
|
}
|
|
7119
|
-
function
|
|
7119
|
+
function kn(t, e) {
|
|
7120
7120
|
return dt.repeat(" ", e - t.length) + t;
|
|
7121
7121
|
}
|
|
7122
7122
|
function ox(t, e) {
|
|
@@ -7128,24 +7128,24 @@ function ox(t, e) {
|
|
|
7128
7128
|
s < 0 && (s = r.length - 1);
|
|
7129
7129
|
var a = "", l, c, h = Math.min(t.line + e.linesAfter, n.length).toString().length, d = e.maxLength - (e.indent + h + 3);
|
|
7130
7130
|
for (l = 1; l <= e.linesBefore && !(s - l < 0); l++)
|
|
7131
|
-
c =
|
|
7131
|
+
c = vn(
|
|
7132
7132
|
t.buffer,
|
|
7133
7133
|
r[s - l],
|
|
7134
7134
|
n[s - l],
|
|
7135
7135
|
t.position - (r[s] - r[s - l]),
|
|
7136
7136
|
d
|
|
7137
|
-
), a = dt.repeat(" ", e.indent) +
|
|
7137
|
+
), a = dt.repeat(" ", e.indent) + kn((t.line - l + 1).toString(), h) + " | " + c.str + `
|
|
7138
7138
|
` + a;
|
|
7139
|
-
for (c =
|
|
7139
|
+
for (c = vn(t.buffer, r[s], n[s], t.position, d), a += dt.repeat(" ", e.indent) + kn((t.line + 1).toString(), h) + " | " + c.str + `
|
|
7140
7140
|
`, a += dt.repeat("-", e.indent + h + 3 + c.pos) + `^
|
|
7141
7141
|
`, l = 1; l <= e.linesAfter && !(s + l >= n.length); l++)
|
|
7142
|
-
c =
|
|
7142
|
+
c = vn(
|
|
7143
7143
|
t.buffer,
|
|
7144
7144
|
r[s + l],
|
|
7145
7145
|
n[s + l],
|
|
7146
7146
|
t.position - (r[s] - r[s + l]),
|
|
7147
7147
|
d
|
|
7148
|
-
), a += dt.repeat(" ", e.indent) +
|
|
7148
|
+
), a += dt.repeat(" ", e.indent) + kn((t.line + l + 1).toString(), h) + " | " + c.str + `
|
|
7149
7149
|
`;
|
|
7150
7150
|
return a.replace(/\n$/, "");
|
|
7151
7151
|
}
|
|
@@ -7176,13 +7176,13 @@ function cx(t) {
|
|
|
7176
7176
|
function hx(t, e) {
|
|
7177
7177
|
if (e = e || {}, Object.keys(e).forEach(function(i) {
|
|
7178
7178
|
if (ax.indexOf(i) === -1)
|
|
7179
|
-
throw new
|
|
7179
|
+
throw new te('Unknown option "' + i + '" is met in definition of "' + t + '" YAML type.');
|
|
7180
7180
|
}), this.options = e, this.tag = t, this.kind = e.kind || null, this.resolve = e.resolve || function() {
|
|
7181
7181
|
return !0;
|
|
7182
7182
|
}, this.construct = e.construct || function(i) {
|
|
7183
7183
|
return i;
|
|
7184
7184
|
}, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.representName = e.representName || null, this.defaultStyle = e.defaultStyle || null, this.multi = e.multi || !1, this.styleAliases = cx(e.styleAliases || null), lx.indexOf(this.kind) === -1)
|
|
7185
|
-
throw new
|
|
7185
|
+
throw new te('Unknown kind "' + this.kind + '" is specified for "' + t + '" YAML type.');
|
|
7186
7186
|
}
|
|
7187
7187
|
var ht = hx;
|
|
7188
7188
|
function sa(t, e) {
|
|
@@ -7214,10 +7214,10 @@ function ux() {
|
|
|
7214
7214
|
arguments[e].forEach(r);
|
|
7215
7215
|
return t;
|
|
7216
7216
|
}
|
|
7217
|
-
function
|
|
7217
|
+
function Kn(t) {
|
|
7218
7218
|
return this.extend(t);
|
|
7219
7219
|
}
|
|
7220
|
-
|
|
7220
|
+
Kn.prototype.extend = function(e) {
|
|
7221
7221
|
var i = [], r = [];
|
|
7222
7222
|
if (e instanceof ht)
|
|
7223
7223
|
r.push(e);
|
|
@@ -7226,22 +7226,22 @@ Vn.prototype.extend = function(e) {
|
|
|
7226
7226
|
else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit)))
|
|
7227
7227
|
e.implicit && (i = i.concat(e.implicit)), e.explicit && (r = r.concat(e.explicit));
|
|
7228
7228
|
else
|
|
7229
|
-
throw new
|
|
7229
|
+
throw new te("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
|
|
7230
7230
|
i.forEach(function(o) {
|
|
7231
7231
|
if (!(o instanceof ht))
|
|
7232
|
-
throw new
|
|
7232
|
+
throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
7233
7233
|
if (o.loadKind && o.loadKind !== "scalar")
|
|
7234
|
-
throw new
|
|
7234
|
+
throw new te("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
|
|
7235
7235
|
if (o.multi)
|
|
7236
|
-
throw new
|
|
7236
|
+
throw new te("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
|
|
7237
7237
|
}), r.forEach(function(o) {
|
|
7238
7238
|
if (!(o instanceof ht))
|
|
7239
|
-
throw new
|
|
7239
|
+
throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
7240
7240
|
});
|
|
7241
|
-
var n = Object.create(
|
|
7241
|
+
var n = Object.create(Kn.prototype);
|
|
7242
7242
|
return n.implicit = (this.implicit || []).concat(i), n.explicit = (this.explicit || []).concat(r), n.compiledImplicit = sa(n, "implicit"), n.compiledExplicit = sa(n, "explicit"), n.compiledTypeMap = ux(n.compiledImplicit, n.compiledExplicit), n;
|
|
7243
7243
|
};
|
|
7244
|
-
var dx =
|
|
7244
|
+
var dx = Kn, fx = new ht("tag:yaml.org,2002:str", {
|
|
7245
7245
|
kind: "scalar",
|
|
7246
7246
|
construct: function(t) {
|
|
7247
7247
|
return t !== null ? t : "";
|
|
@@ -7530,12 +7530,12 @@ function Yx(t) {
|
|
|
7530
7530
|
var jx = new ht("tag:yaml.org,2002:merge", {
|
|
7531
7531
|
kind: "scalar",
|
|
7532
7532
|
resolve: Yx
|
|
7533
|
-
}),
|
|
7533
|
+
}), Lo = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
7534
7534
|
\r`;
|
|
7535
7535
|
function Ux(t) {
|
|
7536
7536
|
if (t === null)
|
|
7537
7537
|
return !1;
|
|
7538
|
-
var e, i, r = 0, n = t.length, o =
|
|
7538
|
+
var e, i, r = 0, n = t.length, o = Lo;
|
|
7539
7539
|
for (i = 0; i < n; i++)
|
|
7540
7540
|
if (e = o.indexOf(t.charAt(i)), !(e > 64)) {
|
|
7541
7541
|
if (e < 0)
|
|
@@ -7545,13 +7545,13 @@ function Ux(t) {
|
|
|
7545
7545
|
return r % 8 === 0;
|
|
7546
7546
|
}
|
|
7547
7547
|
function Xx(t) {
|
|
7548
|
-
var e, i, r = t.replace(/[\r\n=]/g, ""), n = r.length, o =
|
|
7548
|
+
var e, i, r = t.replace(/[\r\n=]/g, ""), n = r.length, o = Lo, s = 0, a = [];
|
|
7549
7549
|
for (e = 0; e < n; e++)
|
|
7550
7550
|
e % 4 === 0 && e && (a.push(s >> 16 & 255), a.push(s >> 8 & 255), a.push(s & 255)), s = s << 6 | o.indexOf(r.charAt(e));
|
|
7551
7551
|
return i = n % 4 * 6, i === 0 ? (a.push(s >> 16 & 255), a.push(s >> 8 & 255), a.push(s & 255)) : i === 18 ? (a.push(s >> 10 & 255), a.push(s >> 2 & 255)) : i === 12 && a.push(s >> 4 & 255), new Uint8Array(a);
|
|
7552
7552
|
}
|
|
7553
7553
|
function Gx(t) {
|
|
7554
|
-
var e = "", i = 0, r, n, o = t.length, s =
|
|
7554
|
+
var e = "", i = 0, r, n, o = t.length, s = Lo;
|
|
7555
7555
|
for (r = 0; r < o; r++)
|
|
7556
7556
|
r % 3 === 0 && r && (e += s[i >> 18 & 63], e += s[i >> 12 & 63], e += s[i >> 6 & 63], e += s[i & 63]), i = (i << 8) + t[r];
|
|
7557
7557
|
return n = o % 3, n === 0 ? (e += s[i >> 18 & 63], e += s[i >> 12 & 63], e += s[i >> 6 & 63], e += s[i & 63]) : n === 2 ? (e += s[i >> 10 & 63], e += s[i >> 4 & 63], e += s[i << 2 & 63], e += s[64]) : n === 1 && (e += s[i >> 2 & 63], e += s[i << 4 & 63], e += s[64], e += s[64]), e;
|
|
@@ -7647,14 +7647,14 @@ var cb = new ht("tag:yaml.org,2002:set", {
|
|
|
7647
7647
|
ob,
|
|
7648
7648
|
cb
|
|
7649
7649
|
]
|
|
7650
|
-
}),
|
|
7650
|
+
}), fe = Object.prototype.hasOwnProperty, Lr = 1, kc = 2, wc = 3, Fr = 4, wn = 1, ub = 2, aa = 3, db = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, fb = /[\x85\u2028\u2029]/, pb = /[,\[\]\{\}]/, Ac = /^(?:!|!!|![a-z\-]+!)$/i, Bc = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
7651
7651
|
function la(t) {
|
|
7652
7652
|
return Object.prototype.toString.call(t);
|
|
7653
7653
|
}
|
|
7654
|
-
function
|
|
7654
|
+
function Wt(t) {
|
|
7655
7655
|
return t === 10 || t === 13;
|
|
7656
7656
|
}
|
|
7657
|
-
function
|
|
7657
|
+
function Te(t) {
|
|
7658
7658
|
return t === 9 || t === 32;
|
|
7659
7659
|
}
|
|
7660
7660
|
function Ct(t) {
|
|
@@ -7698,7 +7698,7 @@ function Fc(t, e) {
|
|
|
7698
7698
|
line: t.line,
|
|
7699
7699
|
column: t.position - t.lineStart
|
|
7700
7700
|
};
|
|
7701
|
-
return i.snippet = sx(i), new
|
|
7701
|
+
return i.snippet = sx(i), new te(e, i);
|
|
7702
7702
|
}
|
|
7703
7703
|
function O(t, e) {
|
|
7704
7704
|
throw Fc(t, e);
|
|
@@ -7713,7 +7713,7 @@ var ha = {
|
|
|
7713
7713
|
},
|
|
7714
7714
|
TAG: function(e, i, r) {
|
|
7715
7715
|
var n, o;
|
|
7716
|
-
r.length !== 2 && O(e, "TAG directive accepts exactly two arguments"), n = r[0], o = r[1], Ac.test(n) || O(e, "ill-formed tag handle (first argument) of the TAG directive"),
|
|
7716
|
+
r.length !== 2 && O(e, "TAG directive accepts exactly two arguments"), n = r[0], o = r[1], Ac.test(n) || O(e, "ill-formed tag handle (first argument) of the TAG directive"), fe.call(e.tagMap, n) && O(e, 'there is a previously declared suffix for "' + n + '" tag handle'), Bc.test(o) || O(e, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
7717
7717
|
try {
|
|
7718
7718
|
o = decodeURIComponent(o);
|
|
7719
7719
|
} catch {
|
|
@@ -7722,7 +7722,7 @@ var ha = {
|
|
|
7722
7722
|
e.tagMap[n] = o;
|
|
7723
7723
|
}
|
|
7724
7724
|
};
|
|
7725
|
-
function
|
|
7725
|
+
function ue(t, e, i, r) {
|
|
7726
7726
|
var n, o, s, a;
|
|
7727
7727
|
if (e < i) {
|
|
7728
7728
|
if (a = t.input.slice(e, i), r)
|
|
@@ -7735,7 +7735,7 @@ function he(t, e, i, r) {
|
|
|
7735
7735
|
function ua(t, e, i, r) {
|
|
7736
7736
|
var n, o, s, a;
|
|
7737
7737
|
for (dt.isObject(i) || O(t, "cannot merge mappings; the provided source object is unacceptable"), n = Object.keys(i), s = 0, a = n.length; s < a; s += 1)
|
|
7738
|
-
o = n[s],
|
|
7738
|
+
o = n[s], fe.call(e, o) || (e[o] = i[o], r[o] = !0);
|
|
7739
7739
|
}
|
|
7740
7740
|
function Ne(t, e, i, r, n, o, s, a, l) {
|
|
7741
7741
|
var c, h;
|
|
@@ -7749,7 +7749,7 @@ function Ne(t, e, i, r, n, o, s, a, l) {
|
|
|
7749
7749
|
else
|
|
7750
7750
|
ua(t, e, o, i);
|
|
7751
7751
|
else
|
|
7752
|
-
!t.json && !
|
|
7752
|
+
!t.json && !fe.call(i, n) && fe.call(e, n) && (t.line = s || t.line, t.lineStart = a || t.lineStart, t.position = l || t.position, O(t, "duplicated mapping key")), n === "__proto__" ? Object.defineProperty(e, n, {
|
|
7753
7753
|
configurable: !0,
|
|
7754
7754
|
enumerable: !0,
|
|
7755
7755
|
writable: !0,
|
|
@@ -7757,20 +7757,20 @@ function Ne(t, e, i, r, n, o, s, a, l) {
|
|
|
7757
7757
|
}) : e[n] = o, delete i[n];
|
|
7758
7758
|
return e;
|
|
7759
7759
|
}
|
|
7760
|
-
function
|
|
7760
|
+
function Fo(t) {
|
|
7761
7761
|
var e;
|
|
7762
7762
|
e = t.input.charCodeAt(t.position), e === 10 ? t.position++ : e === 13 ? (t.position++, t.input.charCodeAt(t.position) === 10 && t.position++) : O(t, "a line break is expected"), t.line += 1, t.lineStart = t.position, t.firstTabInLine = -1;
|
|
7763
7763
|
}
|
|
7764
7764
|
function Q(t, e, i) {
|
|
7765
7765
|
for (var r = 0, n = t.input.charCodeAt(t.position); n !== 0; ) {
|
|
7766
|
-
for (;
|
|
7766
|
+
for (; Te(n); )
|
|
7767
7767
|
n === 9 && t.firstTabInLine === -1 && (t.firstTabInLine = t.position), n = t.input.charCodeAt(++t.position);
|
|
7768
7768
|
if (e && n === 35)
|
|
7769
7769
|
do
|
|
7770
7770
|
n = t.input.charCodeAt(++t.position);
|
|
7771
7771
|
while (n !== 10 && n !== 13 && n !== 0);
|
|
7772
|
-
if (
|
|
7773
|
-
for (
|
|
7772
|
+
if (Wt(n))
|
|
7773
|
+
for (Fo(t), n = t.input.charCodeAt(t.position), r++, t.lineIndent = 0; n === 32; )
|
|
7774
7774
|
t.lineIndent++, n = t.input.charCodeAt(++t.position);
|
|
7775
7775
|
else
|
|
7776
7776
|
break;
|
|
@@ -7781,7 +7781,7 @@ function Qr(t) {
|
|
|
7781
7781
|
var e = t.position, i;
|
|
7782
7782
|
return i = t.input.charCodeAt(e), !!((i === 45 || i === 46) && i === t.input.charCodeAt(e + 1) && i === t.input.charCodeAt(e + 2) && (e += 3, i = t.input.charCodeAt(e), i === 0 || Ct(i)));
|
|
7783
7783
|
}
|
|
7784
|
-
function
|
|
7784
|
+
function Oo(t, e) {
|
|
7785
7785
|
e === 1 ? t.result += " " : e > 1 && (t.result += dt.repeat(`
|
|
7786
7786
|
`, e - 1));
|
|
7787
7787
|
}
|
|
@@ -7799,7 +7799,7 @@ function xb(t, e, i) {
|
|
|
7799
7799
|
} else {
|
|
7800
7800
|
if (t.position === t.lineStart && Qr(t) || i && De(f))
|
|
7801
7801
|
break;
|
|
7802
|
-
if (
|
|
7802
|
+
if (Wt(f))
|
|
7803
7803
|
if (l = t.line, c = t.lineStart, h = t.lineIndent, Q(t, !1, -1), t.lineIndent >= e) {
|
|
7804
7804
|
a = !0, f = t.input.charCodeAt(t.position);
|
|
7805
7805
|
continue;
|
|
@@ -7808,9 +7808,9 @@ function xb(t, e, i) {
|
|
|
7808
7808
|
break;
|
|
7809
7809
|
}
|
|
7810
7810
|
}
|
|
7811
|
-
a && (
|
|
7811
|
+
a && (ue(t, o, s, !1), Oo(t, t.line - l), o = s = t.position, a = !1), Te(f) || (s = t.position + 1), f = t.input.charCodeAt(++t.position);
|
|
7812
7812
|
}
|
|
7813
|
-
return
|
|
7813
|
+
return ue(t, o, s, !1), t.result ? !0 : (t.kind = d, t.result = u, !1);
|
|
7814
7814
|
}
|
|
7815
7815
|
function bb(t, e) {
|
|
7816
7816
|
var i, r, n;
|
|
@@ -7818,11 +7818,11 @@ function bb(t, e) {
|
|
|
7818
7818
|
return !1;
|
|
7819
7819
|
for (t.kind = "scalar", t.result = "", t.position++, r = n = t.position; (i = t.input.charCodeAt(t.position)) !== 0; )
|
|
7820
7820
|
if (i === 39)
|
|
7821
|
-
if (
|
|
7821
|
+
if (ue(t, r, t.position, !0), i = t.input.charCodeAt(++t.position), i === 39)
|
|
7822
7822
|
r = t.position, t.position++, n = t.position;
|
|
7823
7823
|
else
|
|
7824
7824
|
return !0;
|
|
7825
|
-
else
|
|
7825
|
+
else Wt(i) ? (ue(t, r, n, !0), Oo(t, Q(t, !1, e)), r = n = t.position) : t.position === t.lineStart && Qr(t) ? O(t, "unexpected end of the document within a single quoted scalar") : (t.position++, n = t.position);
|
|
7826
7826
|
O(t, "unexpected end of the stream within a single quoted scalar");
|
|
7827
7827
|
}
|
|
7828
7828
|
function Tb(t, e) {
|
|
@@ -7831,9 +7831,9 @@ function Tb(t, e) {
|
|
|
7831
7831
|
return !1;
|
|
7832
7832
|
for (t.kind = "scalar", t.result = "", t.position++, i = r = t.position; (a = t.input.charCodeAt(t.position)) !== 0; ) {
|
|
7833
7833
|
if (a === 34)
|
|
7834
|
-
return
|
|
7834
|
+
return ue(t, i, t.position, !0), t.position++, !0;
|
|
7835
7835
|
if (a === 92) {
|
|
7836
|
-
if (
|
|
7836
|
+
if (ue(t, i, t.position, !0), a = t.input.charCodeAt(++t.position), Wt(a))
|
|
7837
7837
|
Q(t, !1, e);
|
|
7838
7838
|
else if (a < 256 && Ec[a])
|
|
7839
7839
|
t.result += Lc[a], t.position++;
|
|
@@ -7844,7 +7844,7 @@ function Tb(t, e) {
|
|
|
7844
7844
|
} else
|
|
7845
7845
|
O(t, "unknown escape sequence");
|
|
7846
7846
|
i = r = t.position;
|
|
7847
|
-
} else
|
|
7847
|
+
} else Wt(a) ? (ue(t, i, r, !0), Oo(t, Q(t, !1, e)), i = r = t.position) : t.position === t.lineStart && Qr(t) ? O(t, "unexpected end of the document within a double quoted scalar") : (t.position++, r = t.position);
|
|
7848
7848
|
}
|
|
7849
7849
|
O(t, "unexpected end of the stream within a double quoted scalar");
|
|
7850
7850
|
}
|
|
@@ -7864,7 +7864,7 @@ function Sb(t, e) {
|
|
|
7864
7864
|
O(t, "unexpected end of the stream within a flow collection");
|
|
7865
7865
|
}
|
|
7866
7866
|
function vb(t, e) {
|
|
7867
|
-
var i, r, n =
|
|
7867
|
+
var i, r, n = wn, o = !1, s = !1, a = e, l = 0, c = !1, h, d;
|
|
7868
7868
|
if (d = t.input.charCodeAt(t.position), d === 124)
|
|
7869
7869
|
r = !1;
|
|
7870
7870
|
else if (d === 62)
|
|
@@ -7873,40 +7873,40 @@ function vb(t, e) {
|
|
|
7873
7873
|
return !1;
|
|
7874
7874
|
for (t.kind = "scalar", t.result = ""; d !== 0; )
|
|
7875
7875
|
if (d = t.input.charCodeAt(++t.position), d === 43 || d === 45)
|
|
7876
|
-
|
|
7876
|
+
wn === n ? n = d === 43 ? aa : ub : O(t, "repeat of a chomping mode identifier");
|
|
7877
7877
|
else if ((h = yb(d)) >= 0)
|
|
7878
7878
|
h === 0 ? O(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : s ? O(t, "repeat of an indentation width identifier") : (a = e + h - 1, s = !0);
|
|
7879
7879
|
else
|
|
7880
7880
|
break;
|
|
7881
|
-
if (
|
|
7881
|
+
if (Te(d)) {
|
|
7882
7882
|
do
|
|
7883
7883
|
d = t.input.charCodeAt(++t.position);
|
|
7884
|
-
while (
|
|
7884
|
+
while (Te(d));
|
|
7885
7885
|
if (d === 35)
|
|
7886
7886
|
do
|
|
7887
7887
|
d = t.input.charCodeAt(++t.position);
|
|
7888
|
-
while (!
|
|
7888
|
+
while (!Wt(d) && d !== 0);
|
|
7889
7889
|
}
|
|
7890
7890
|
for (; d !== 0; ) {
|
|
7891
|
-
for (
|
|
7891
|
+
for (Fo(t), t.lineIndent = 0, d = t.input.charCodeAt(t.position); (!s || t.lineIndent < a) && d === 32; )
|
|
7892
7892
|
t.lineIndent++, d = t.input.charCodeAt(++t.position);
|
|
7893
|
-
if (!s && t.lineIndent > a && (a = t.lineIndent),
|
|
7893
|
+
if (!s && t.lineIndent > a && (a = t.lineIndent), Wt(d)) {
|
|
7894
7894
|
l++;
|
|
7895
7895
|
continue;
|
|
7896
7896
|
}
|
|
7897
7897
|
if (t.lineIndent < a) {
|
|
7898
7898
|
n === aa ? t.result += dt.repeat(`
|
|
7899
|
-
`, o ? 1 + l : l) : n ===
|
|
7899
|
+
`, o ? 1 + l : l) : n === wn && o && (t.result += `
|
|
7900
7900
|
`);
|
|
7901
7901
|
break;
|
|
7902
7902
|
}
|
|
7903
|
-
for (r ?
|
|
7903
|
+
for (r ? Te(d) ? (c = !0, t.result += dt.repeat(`
|
|
7904
7904
|
`, o ? 1 + l : l)) : c ? (c = !1, t.result += dt.repeat(`
|
|
7905
7905
|
`, l + 1)) : l === 0 ? o && (t.result += " ") : t.result += dt.repeat(`
|
|
7906
7906
|
`, l) : t.result += dt.repeat(`
|
|
7907
|
-
`, o ? 1 + l : l), o = !0, s = !0, l = 0, i = t.position; !
|
|
7907
|
+
`, o ? 1 + l : l), o = !0, s = !0, l = 0, i = t.position; !Wt(d) && d !== 0; )
|
|
7908
7908
|
d = t.input.charCodeAt(++t.position);
|
|
7909
|
-
|
|
7909
|
+
ue(t, i, t.position, !1);
|
|
7910
7910
|
}
|
|
7911
7911
|
return !0;
|
|
7912
7912
|
}
|
|
@@ -7937,7 +7937,7 @@ function kb(t, e, i) {
|
|
|
7937
7937
|
if (s = t.line, a = t.lineStart, l = t.position, !Ze(t, i, kc, !1, !0))
|
|
7938
7938
|
break;
|
|
7939
7939
|
if (t.line === o) {
|
|
7940
|
-
for (b = t.input.charCodeAt(t.position);
|
|
7940
|
+
for (b = t.input.charCodeAt(t.position); Te(b); )
|
|
7941
7941
|
b = t.input.charCodeAt(++t.position);
|
|
7942
7942
|
if (b === 58)
|
|
7943
7943
|
b = t.input.charCodeAt(++t.position), Ct(b) || O(t, "a whitespace character is expected after the key-value separator within a block mapping"), C && (Ne(t, d, u, f, m, null, s, a, l), f = m = y = null), E = !0, C = !1, n = !1, f = t.tag, m = t.result;
|
|
@@ -7977,7 +7977,7 @@ function wb(t) {
|
|
|
7977
7977
|
} catch {
|
|
7978
7978
|
O(t, "tag name is malformed: " + o);
|
|
7979
7979
|
}
|
|
7980
|
-
return i ? t.tag = o :
|
|
7980
|
+
return i ? t.tag = o : fe.call(t.tagMap, n) ? t.tag = t.tagMap[n] + o : n === "!" ? t.tag = "!" + o : n === "!!" ? t.tag = "tag:yaml.org,2002:" + o : O(t, 'undeclared tag handle "' + n + '"'), !0;
|
|
7981
7981
|
}
|
|
7982
7982
|
function Ab(t) {
|
|
7983
7983
|
var e, i;
|
|
@@ -7993,7 +7993,7 @@ function Bb(t) {
|
|
|
7993
7993
|
return !1;
|
|
7994
7994
|
for (r = t.input.charCodeAt(++t.position), e = t.position; r !== 0 && !Ct(r) && !De(r); )
|
|
7995
7995
|
r = t.input.charCodeAt(++t.position);
|
|
7996
|
-
return t.position === e && O(t, "name of an alias node must contain at least one character"), i = t.input.slice(e, t.position),
|
|
7996
|
+
return t.position === e && O(t, "name of an alias node must contain at least one character"), i = t.input.slice(e, t.position), fe.call(t.anchorMap, i) || O(t, 'unidentified alias "' + i + '"'), t.result = t.anchorMap[i], Q(t, !0, -1), !0;
|
|
7997
7997
|
}
|
|
7998
7998
|
function Ze(t, e, i, r, n) {
|
|
7999
7999
|
var o, s, a, l = 1, c = !1, h = !1, d, u, f, m, y, C;
|
|
@@ -8009,7 +8009,7 @@ function Ze(t, e, i, r, n) {
|
|
|
8009
8009
|
break;
|
|
8010
8010
|
}
|
|
8011
8011
|
} else if (t.tag !== "!") {
|
|
8012
|
-
if (
|
|
8012
|
+
if (fe.call(t.typeMap[t.kind || "fallback"], t.tag))
|
|
8013
8013
|
m = t.typeMap[t.kind || "fallback"][t.tag];
|
|
8014
8014
|
else
|
|
8015
8015
|
for (m = null, f = t.typeMap.multi[t.kind || "fallback"], d = 0, u = f.length; d < u; d += 1)
|
|
@@ -8027,21 +8027,21 @@ function Eb(t) {
|
|
|
8027
8027
|
for (o = !0, s = t.input.charCodeAt(++t.position), i = t.position; s !== 0 && !Ct(s); )
|
|
8028
8028
|
s = t.input.charCodeAt(++t.position);
|
|
8029
8029
|
for (r = t.input.slice(i, t.position), n = [], r.length < 1 && O(t, "directive name must not be less than one character in length"); s !== 0; ) {
|
|
8030
|
-
for (;
|
|
8030
|
+
for (; Te(s); )
|
|
8031
8031
|
s = t.input.charCodeAt(++t.position);
|
|
8032
8032
|
if (s === 35) {
|
|
8033
8033
|
do
|
|
8034
8034
|
s = t.input.charCodeAt(++t.position);
|
|
8035
|
-
while (s !== 0 && !
|
|
8035
|
+
while (s !== 0 && !Wt(s));
|
|
8036
8036
|
break;
|
|
8037
8037
|
}
|
|
8038
|
-
if (
|
|
8038
|
+
if (Wt(s))
|
|
8039
8039
|
break;
|
|
8040
8040
|
for (i = t.position; s !== 0 && !Ct(s); )
|
|
8041
8041
|
s = t.input.charCodeAt(++t.position);
|
|
8042
8042
|
n.push(t.input.slice(i, t.position));
|
|
8043
8043
|
}
|
|
8044
|
-
s !== 0 &&
|
|
8044
|
+
s !== 0 && Fo(t), fe.call(ha, r) ? ha[r](t, r, n) : Or(t, 'unknown document directive "' + r + '"');
|
|
8045
8045
|
}
|
|
8046
8046
|
if (Q(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, Q(t, !0, -1)) : o && O(t, "directives end mark is expected"), Ze(t, t.lineIndent - 1, Fr, !1, !0), Q(t, !0, -1), t.checkLineBreaks && fb.test(t.input.slice(e, t.position)) && Or(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && Qr(t)) {
|
|
8047
8047
|
t.input.charCodeAt(t.position) === 46 && (t.position += 3, Q(t, !0, -1));
|
|
@@ -8067,7 +8067,7 @@ function Fb(t, e) {
|
|
|
8067
8067
|
if (i.length !== 0) {
|
|
8068
8068
|
if (i.length === 1)
|
|
8069
8069
|
return i[0];
|
|
8070
|
-
throw new
|
|
8070
|
+
throw new te("expected a single document in the stream, but found more");
|
|
8071
8071
|
}
|
|
8072
8072
|
}
|
|
8073
8073
|
var Ob = Fb, Ib = {
|
|
@@ -8121,9 +8121,9 @@ function Ic(t) {
|
|
|
8121
8121
|
return Ar(), Dy(e.config ?? {}), e;
|
|
8122
8122
|
}
|
|
8123
8123
|
async function e1(t, e) {
|
|
8124
|
-
|
|
8124
|
+
Eo(), t = Ic(t).code;
|
|
8125
8125
|
try {
|
|
8126
|
-
await
|
|
8126
|
+
await Io(t);
|
|
8127
8127
|
} catch (i) {
|
|
8128
8128
|
if (e != null && e.suppressErrors)
|
|
8129
8129
|
return !1;
|
|
@@ -8138,19 +8138,19 @@ const fa = (t, e, i = []) => `
|
|
|
8138
8138
|
if (t.themeCSS !== void 0 && (r += `
|
|
8139
8139
|
${t.themeCSS}`), t.fontFamily !== void 0 && (r += `
|
|
8140
8140
|
:root { --mermaid-font-family: ${t.fontFamily}}`), t.altFontFamily !== void 0 && (r += `
|
|
8141
|
-
:root { --mermaid-alt-font-family: ${t.altFontFamily}}`), !
|
|
8141
|
+
:root { --mermaid-alt-font-family: ${t.altFontFamily}}`), !Sn(e)) {
|
|
8142
8142
|
const a = t.htmlLabels || ((i = t.flowchart) == null ? void 0 : i.htmlLabels) ? ["> *", "span"] : ["rect", "polygon", "ellipse", "circle", "path"];
|
|
8143
8143
|
for (const l in e) {
|
|
8144
8144
|
const c = e[l];
|
|
8145
|
-
|
|
8145
|
+
Sn(c.styles) || a.forEach((h) => {
|
|
8146
8146
|
r += fa(c.id, h, c.styles);
|
|
8147
|
-
}),
|
|
8147
|
+
}), Sn(c.textStyles) || (r += fa(c.id, "tspan", c.textStyles));
|
|
8148
8148
|
}
|
|
8149
8149
|
}
|
|
8150
8150
|
return r;
|
|
8151
8151
|
}, r1 = (t, e, i, r) => {
|
|
8152
8152
|
const n = i1(t, i), o = iC(e, n, t.themeVariables);
|
|
8153
|
-
return
|
|
8153
|
+
return Wn(p0(`${r}{${o}}`), m0);
|
|
8154
8154
|
}, n1 = (t = "", e, i) => {
|
|
8155
8155
|
let r = t;
|
|
8156
8156
|
return !i && !e && (r = r.replace(
|
|
@@ -8177,10 +8177,10 @@ const s1 = (t, e, i, r) => {
|
|
|
8177
8177
|
(n = t.getElementById(e)) == null || n.remove(), (o = t.getElementById(i)) == null || o.remove(), (s = t.getElementById(r)) == null || s.remove();
|
|
8178
8178
|
}, a1 = async function(t, e, i) {
|
|
8179
8179
|
var r, n, o, s, a, l;
|
|
8180
|
-
|
|
8180
|
+
Eo();
|
|
8181
8181
|
const c = Ic(e);
|
|
8182
8182
|
e = c.code;
|
|
8183
|
-
const h =
|
|
8183
|
+
const h = Yt();
|
|
8184
8184
|
$.debug(h), e.length > ((h == null ? void 0 : h.maxTextSize) ?? qb) && (e = zb);
|
|
8185
8185
|
const d = "#" + t, u = "i" + t, f = "#" + u, m = "d" + t, y = "#" + m;
|
|
8186
8186
|
let C = kt("body");
|
|
@@ -8202,7 +8202,7 @@ const s1 = (t, e, i, r) => {
|
|
|
8202
8202
|
}
|
|
8203
8203
|
let x, v;
|
|
8204
8204
|
try {
|
|
8205
|
-
x = await
|
|
8205
|
+
x = await Io(e, { title: c.title });
|
|
8206
8206
|
} catch (M) {
|
|
8207
8207
|
x = new Cc("error"), v = M;
|
|
8208
8208
|
}
|
|
@@ -8213,8 +8213,8 @@ const s1 = (t, e, i, r) => {
|
|
|
8213
8213
|
} catch (M) {
|
|
8214
8214
|
throw CC.draw(e, t, ia), M;
|
|
8215
8215
|
}
|
|
8216
|
-
const
|
|
8217
|
-
c1(D,
|
|
8216
|
+
const oe = C.select(`${y} svg`), P = (s = (o = x.db).getAccTitle) == null ? void 0 : s.call(o), w = (l = (a = x.db).getAccDescription) == null ? void 0 : l.call(a);
|
|
8217
|
+
c1(D, oe, P, w), C.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", Ub);
|
|
8218
8218
|
let T = C.select(y).node().innerHTML;
|
|
8219
8219
|
if ($.debug("config.arrowMarkerAbsolute", h.arrowMarkerAbsolute), T = n1(T, E, Il(h.arrowMarkerAbsolute)), E) {
|
|
8220
8220
|
const M = C.select(y + " svg").node();
|
|
@@ -8234,25 +8234,25 @@ const s1 = (t, e, i, r) => {
|
|
|
8234
8234
|
};
|
|
8235
8235
|
function l1(t = {}) {
|
|
8236
8236
|
var e;
|
|
8237
|
-
t != null && t.fontFamily && !((e = t.themeVariables) != null && e.fontFamily) && (t.themeVariables || (t.themeVariables = {}), t.themeVariables.fontFamily = t.fontFamily), My(t), t != null && t.theme && t.theme in
|
|
8237
|
+
t != null && t.fontFamily && !((e = t.themeVariables) != null && e.fontFamily) && (t.themeVariables || (t.themeVariables = {}), t.themeVariables.fontFamily = t.fontFamily), My(t), t != null && t.theme && t.theme in ie ? t.themeVariables = ie[t.theme].getThemeVariables(
|
|
8238
8238
|
t.themeVariables
|
|
8239
|
-
) : t && (t.themeVariables =
|
|
8239
|
+
) : t && (t.themeVariables = ie.default.getThemeVariables(t.themeVariables));
|
|
8240
8240
|
const i = typeof t == "object" ? Iy(t) : jl();
|
|
8241
|
-
|
|
8241
|
+
_o(i.logLevel), Eo();
|
|
8242
8242
|
}
|
|
8243
|
-
const
|
|
8243
|
+
const Io = (t, e = {}) => {
|
|
8244
8244
|
const { code: i } = Oc(t);
|
|
8245
8245
|
return WC(i, e);
|
|
8246
8246
|
};
|
|
8247
8247
|
function c1(t, e, i, r) {
|
|
8248
8248
|
jC(e, t), UC(e, i, r, e.attr("id"));
|
|
8249
8249
|
}
|
|
8250
|
-
const
|
|
8250
|
+
const ke = Object.freeze({
|
|
8251
8251
|
render: a1,
|
|
8252
8252
|
parse: e1,
|
|
8253
|
-
getDiagramFromText:
|
|
8253
|
+
getDiagramFromText: Io,
|
|
8254
8254
|
initialize: l1,
|
|
8255
|
-
getConfig:
|
|
8255
|
+
getConfig: Yt,
|
|
8256
8256
|
setConfig: Ul,
|
|
8257
8257
|
getSiteConfig: jl,
|
|
8258
8258
|
updateSiteConfig: $y,
|
|
@@ -8264,15 +8264,15 @@ const ve = Object.freeze({
|
|
|
8264
8264
|
},
|
|
8265
8265
|
defaultConfig: Ve
|
|
8266
8266
|
});
|
|
8267
|
-
|
|
8268
|
-
Ar(
|
|
8267
|
+
_o(Yt().logLevel);
|
|
8268
|
+
Ar(Yt());
|
|
8269
8269
|
const h1 = async () => {
|
|
8270
8270
|
$.debug("Loading registered diagrams");
|
|
8271
8271
|
const e = (await Promise.allSettled(
|
|
8272
8272
|
Object.entries(Ge).map(async ([i, { detector: r, loader: n }]) => {
|
|
8273
8273
|
if (n)
|
|
8274
8274
|
try {
|
|
8275
|
-
|
|
8275
|
+
Bo(i);
|
|
8276
8276
|
} catch {
|
|
8277
8277
|
try {
|
|
8278
8278
|
const { diagram: s, id: a } = await n();
|
|
@@ -8308,7 +8308,7 @@ const h1 = async () => {
|
|
|
8308
8308
|
}, d1 = async function({ postRenderCallback: t, querySelector: e, nodes: i } = {
|
|
8309
8309
|
querySelector: ".mermaid"
|
|
8310
8310
|
}) {
|
|
8311
|
-
const r =
|
|
8311
|
+
const r = ke.getConfig();
|
|
8312
8312
|
$.debug(`${t ? "" : "No "}Callback function found`);
|
|
8313
8313
|
let n;
|
|
8314
8314
|
if (i)
|
|
@@ -8317,7 +8317,7 @@ const h1 = async () => {
|
|
|
8317
8317
|
n = document.querySelectorAll(e);
|
|
8318
8318
|
else
|
|
8319
8319
|
throw new Error("Nodes and querySelector are both undefined");
|
|
8320
|
-
$.debug(`Found ${n.length} diagrams`), (r == null ? void 0 : r.startOnLoad) !== void 0 && ($.debug("Start On Load: " + (r == null ? void 0 : r.startOnLoad)),
|
|
8320
|
+
$.debug(`Found ${n.length} diagrams`), (r == null ? void 0 : r.startOnLoad) !== void 0 && ($.debug("Start On Load: " + (r == null ? void 0 : r.startOnLoad)), ke.updateSiteConfig({ startOnLoad: r == null ? void 0 : r.startOnLoad }));
|
|
8321
8321
|
const o = new Ti.InitIDGenerator(r.deterministicIds, r.deterministicIDSeed);
|
|
8322
8322
|
let s;
|
|
8323
8323
|
const a = [];
|
|
@@ -8341,7 +8341,7 @@ const h1 = async () => {
|
|
|
8341
8341
|
if (a.length > 0)
|
|
8342
8342
|
throw a[0];
|
|
8343
8343
|
}, $c = function(t) {
|
|
8344
|
-
|
|
8344
|
+
ke.initialize(t);
|
|
8345
8345
|
}, f1 = async function(t, e, i) {
|
|
8346
8346
|
$.warn("mermaid.init is deprecated. Please use run instead."), t && $c(t);
|
|
8347
8347
|
const r = { postRenderCallback: i, querySelector: ".mermaid" };
|
|
@@ -8352,7 +8352,7 @@ const h1 = async () => {
|
|
|
8352
8352
|
Rl(...t), e === !1 && await h1();
|
|
8353
8353
|
}, Dc = function() {
|
|
8354
8354
|
if (xt.startOnLoad) {
|
|
8355
|
-
const { startOnLoad: t } =
|
|
8355
|
+
const { startOnLoad: t } = ke.getConfig();
|
|
8356
8356
|
t && xt.run().catch((e) => $.error("Mermaid failed to initialize", e));
|
|
8357
8357
|
}
|
|
8358
8358
|
};
|
|
@@ -8365,10 +8365,10 @@ if (typeof document < "u") {
|
|
|
8365
8365
|
const g1 = function(t) {
|
|
8366
8366
|
xt.parseError = t;
|
|
8367
8367
|
}, Ir = [];
|
|
8368
|
-
let
|
|
8368
|
+
let An = !1;
|
|
8369
8369
|
const Nc = async () => {
|
|
8370
|
-
if (!
|
|
8371
|
-
for (
|
|
8370
|
+
if (!An) {
|
|
8371
|
+
for (An = !0; Ir.length > 0; ) {
|
|
8372
8372
|
const t = Ir.shift();
|
|
8373
8373
|
if (t)
|
|
8374
8374
|
try {
|
|
@@ -8377,11 +8377,11 @@ const Nc = async () => {
|
|
|
8377
8377
|
$.error("Error executing queue", e);
|
|
8378
8378
|
}
|
|
8379
8379
|
}
|
|
8380
|
-
|
|
8380
|
+
An = !1;
|
|
8381
8381
|
}
|
|
8382
8382
|
}, m1 = async (t, e) => new Promise((i, r) => {
|
|
8383
8383
|
const n = () => new Promise((o, s) => {
|
|
8384
|
-
|
|
8384
|
+
ke.parse(t, e).then(
|
|
8385
8385
|
(a) => {
|
|
8386
8386
|
o(a), i(a);
|
|
8387
8387
|
},
|
|
@@ -8394,7 +8394,7 @@ const Nc = async () => {
|
|
|
8394
8394
|
Ir.push(n), Nc().catch(r);
|
|
8395
8395
|
}), Rc = (t, e, i) => new Promise((r, n) => {
|
|
8396
8396
|
const o = () => new Promise((s, a) => {
|
|
8397
|
-
|
|
8397
|
+
ke.render(t, e, i).then(
|
|
8398
8398
|
(l) => {
|
|
8399
8399
|
s(l), r(l);
|
|
8400
8400
|
},
|
|
@@ -8407,7 +8407,7 @@ const Nc = async () => {
|
|
|
8407
8407
|
Ir.push(o), Nc().catch(n);
|
|
8408
8408
|
}), xt = {
|
|
8409
8409
|
startOnLoad: !0,
|
|
8410
|
-
mermaidAPI:
|
|
8410
|
+
mermaidAPI: ke,
|
|
8411
8411
|
parse: m1,
|
|
8412
8412
|
render: Rc,
|
|
8413
8413
|
init: f1,
|
|
@@ -8468,7 +8468,7 @@ const Nc = async () => {
|
|
|
8468
8468
|
const i = t.nodes.map((a) => a.startsWith("flowchart-") ? a.split("-")[1] : a), r = e.querySelector(`[id='${t.id}']`);
|
|
8469
8469
|
if (!r)
|
|
8470
8470
|
throw new Error("SubGraph element not found");
|
|
8471
|
-
const n =
|
|
8471
|
+
const n = Mo(r, e), o = r.getBBox(), s = {
|
|
8472
8472
|
width: o.width,
|
|
8473
8473
|
height: o.height
|
|
8474
8474
|
};
|
|
@@ -8486,7 +8486,7 @@ const Nc = async () => {
|
|
|
8486
8486
|
return;
|
|
8487
8487
|
let r;
|
|
8488
8488
|
((d = i.parentElement) == null ? void 0 : d.tagName.toLowerCase()) === "a" && (r = i.parentElement.getAttribute("xlink:href"));
|
|
8489
|
-
const n =
|
|
8489
|
+
const n = Mo(r ? i.parentElement : i, e), o = i.getBBox(), s = {
|
|
8490
8490
|
width: o.width,
|
|
8491
8491
|
height: o.height
|
|
8492
8492
|
}, a = (u = i.querySelector(".label-container")) == null ? void 0 : u.getAttribute("style"), l = (f = i.querySelector(".label")) == null ? void 0 : f.getAttribute("style"), c = {};
|
|
@@ -8517,13 +8517,13 @@ const Nc = async () => {
|
|
|
8517
8517
|
const r = i.querySelector(`[id*="L-${t.start}-${t.end}-${e}"]`);
|
|
8518
8518
|
if (!r)
|
|
8519
8519
|
throw new Error("Edge element not found");
|
|
8520
|
-
const n =
|
|
8520
|
+
const n = Mo(r, i), o = Pc(r, n);
|
|
8521
8521
|
return t.length = void 0, {
|
|
8522
8522
|
...t,
|
|
8523
8523
|
...o,
|
|
8524
8524
|
text: ei(t.text)
|
|
8525
8525
|
};
|
|
8526
|
-
},
|
|
8526
|
+
}, Mo = (t, e) => {
|
|
8527
8527
|
var l;
|
|
8528
8528
|
if (!t)
|
|
8529
8529
|
throw new Error("Element not found");
|
|
@@ -8593,7 +8593,7 @@ const Nc = async () => {
|
|
|
8593
8593
|
}, qc = (t, e, i, r, n) => {
|
|
8594
8594
|
const o = {};
|
|
8595
8595
|
return o.type = "arrow", o.startX = t, o.startY = e, o.endX = i, o.endY = r, Object.assign(o, { ...n }), o;
|
|
8596
|
-
},
|
|
8596
|
+
}, Zn = (t, e, i, r) => ({
|
|
8597
8597
|
type: "text",
|
|
8598
8598
|
x: t,
|
|
8599
8599
|
y: e,
|
|
@@ -8611,7 +8611,7 @@ const Nc = async () => {
|
|
|
8611
8611
|
r.width = s.width, r.height = s.height, r.x = n - s.width / 2, r.y = o;
|
|
8612
8612
|
const a = parseInt(getComputedStyle(t).fontSize);
|
|
8613
8613
|
return r.fontSize = a, r;
|
|
8614
|
-
},
|
|
8614
|
+
}, jt = (t, e, i = {}) => {
|
|
8615
8615
|
const r = {};
|
|
8616
8616
|
r.type = e;
|
|
8617
8617
|
const { label: n, subtype: o, id: s, groupId: a } = i;
|
|
@@ -8643,7 +8643,7 @@ const Nc = async () => {
|
|
|
8643
8643
|
6: "DOTTED_OPEN",
|
|
8644
8644
|
24: "SOLID_POINT",
|
|
8645
8645
|
25: "DOTTED_POINT"
|
|
8646
|
-
},
|
|
8646
|
+
}, Pt = {
|
|
8647
8647
|
SOLID: 0,
|
|
8648
8648
|
DOTTED: 1,
|
|
8649
8649
|
NOTE: 2,
|
|
@@ -8657,16 +8657,16 @@ const Nc = async () => {
|
|
|
8657
8657
|
}, v1 = (t) => {
|
|
8658
8658
|
let e;
|
|
8659
8659
|
switch (t) {
|
|
8660
|
-
case
|
|
8661
|
-
case
|
|
8662
|
-
case
|
|
8663
|
-
case
|
|
8660
|
+
case Pt.SOLID:
|
|
8661
|
+
case Pt.SOLID_CROSS:
|
|
8662
|
+
case Pt.SOLID_OPEN:
|
|
8663
|
+
case Pt.SOLID_POINT:
|
|
8664
8664
|
e = "solid";
|
|
8665
8665
|
break;
|
|
8666
|
-
case
|
|
8667
|
-
case
|
|
8668
|
-
case
|
|
8669
|
-
case
|
|
8666
|
+
case Pt.DOTTED:
|
|
8667
|
+
case Pt.DOTTED_CROSS:
|
|
8668
|
+
case Pt.DOTTED_OPEN:
|
|
8669
|
+
case Pt.DOTTED_POINT:
|
|
8670
8670
|
e = "dotted";
|
|
8671
8671
|
break;
|
|
8672
8672
|
default:
|
|
@@ -8694,7 +8694,7 @@ const Nc = async () => {
|
|
|
8694
8694
|
}, ya = (t, e, i) => {
|
|
8695
8695
|
if (!t)
|
|
8696
8696
|
throw "root node not found";
|
|
8697
|
-
const r =
|
|
8697
|
+
const r = ee(), n = Array.from(t.children), o = [];
|
|
8698
8698
|
return n.forEach((s, a) => {
|
|
8699
8699
|
const l = `${i == null ? void 0 : i.id}-${a}`;
|
|
8700
8700
|
let c;
|
|
@@ -8710,13 +8710,13 @@ const Nc = async () => {
|
|
|
8710
8710
|
});
|
|
8711
8711
|
break;
|
|
8712
8712
|
case "circle":
|
|
8713
|
-
c =
|
|
8713
|
+
c = jt(s, "ellipse", {
|
|
8714
8714
|
label: s.textContent ? { text: s.textContent } : void 0,
|
|
8715
8715
|
groupId: r,
|
|
8716
8716
|
id: l
|
|
8717
8717
|
});
|
|
8718
8718
|
default:
|
|
8719
|
-
c =
|
|
8719
|
+
c = jt(s, Jc[s.tagName], {
|
|
8720
8720
|
label: s.textContent ? { text: s.textContent } : void 0,
|
|
8721
8721
|
groupId: r,
|
|
8722
8722
|
id: l
|
|
@@ -8733,11 +8733,11 @@ const Nc = async () => {
|
|
|
8733
8733
|
throw "root not found";
|
|
8734
8734
|
const h = s.description;
|
|
8735
8735
|
if (s.type === "participant") {
|
|
8736
|
-
const u =
|
|
8736
|
+
const u = jt(l, "rectangle", { id: `${s.name}-top`, label: { text: h }, subtype: "actor" });
|
|
8737
8737
|
if (!u)
|
|
8738
8738
|
throw "Top Node element not found!";
|
|
8739
8739
|
n.push([u]);
|
|
8740
|
-
const f =
|
|
8740
|
+
const f = jt(c, "rectangle", { id: `${s.name}-bottom`, label: { text: h }, subtype: "actor" });
|
|
8741
8741
|
n.push([f]);
|
|
8742
8742
|
const m = (d = l == null ? void 0 : l.parentElement) == null ? void 0 : d.previousElementSibling;
|
|
8743
8743
|
if ((m == null ? void 0 : m.tagName) !== "line")
|
|
@@ -8777,11 +8777,11 @@ const Nc = async () => {
|
|
|
8777
8777
|
k1(s, h), i.push(h);
|
|
8778
8778
|
}), i;
|
|
8779
8779
|
}, B1 = (t, e) => {
|
|
8780
|
-
const i = Array.from(e.querySelectorAll(".note")).map((o) => o.parentElement), r = t.filter((o) => o.type ===
|
|
8780
|
+
const i = Array.from(e.querySelectorAll(".note")).map((o) => o.parentElement), r = t.filter((o) => o.type === Pt.NOTE), n = [];
|
|
8781
8781
|
return i.forEach((o, s) => {
|
|
8782
8782
|
if (!o)
|
|
8783
8783
|
return;
|
|
8784
|
-
const a = o.firstChild, l = r[s].message, c =
|
|
8784
|
+
const a = o.firstChild, l = r[s].message, c = jt(a, "rectangle", {
|
|
8785
8785
|
label: { text: l },
|
|
8786
8786
|
subtype: "note"
|
|
8787
8787
|
});
|
|
@@ -8790,7 +8790,7 @@ const Nc = async () => {
|
|
|
8790
8790
|
}, E1 = (t) => {
|
|
8791
8791
|
const e = Array.from(t.querySelectorAll("[class*=activation]")), i = [];
|
|
8792
8792
|
return e.forEach((r) => {
|
|
8793
|
-
const n =
|
|
8793
|
+
const n = jt(r, "rectangle", {
|
|
8794
8794
|
label: { text: "" },
|
|
8795
8795
|
subtype: "activation"
|
|
8796
8796
|
});
|
|
@@ -8802,7 +8802,7 @@ const Nc = async () => {
|
|
|
8802
8802
|
const d = Number(h.getAttribute("x1")), u = Number(h.getAttribute("y1")), f = Number(h.getAttribute("x2")), m = Number(h.getAttribute("y2")), y = Oi(h, d, u, f, m);
|
|
8803
8803
|
y.strokeStyle = "dotted", y.strokeColor = "#adb5bd", y.strokeWidth = 2, r.push(y);
|
|
8804
8804
|
});
|
|
8805
|
-
const s = Array.from(e.querySelectorAll(".loopText")), a = t.filter((h) => h.type ===
|
|
8805
|
+
const s = Array.from(e.querySelectorAll(".loopText")), a = t.filter((h) => h.type === Pt.CRITICAL_START).map((h) => h.message);
|
|
8806
8806
|
s.forEach((h) => {
|
|
8807
8807
|
var y;
|
|
8808
8808
|
const d = h.textContent || "", u = zc(h, d), f = ((y = d.match(/\[(.*?)\]/)) == null ? void 0 : y[1]) || "";
|
|
@@ -8811,7 +8811,7 @@ const Nc = async () => {
|
|
|
8811
8811
|
const l = Array.from(e == null ? void 0 : e.querySelectorAll(".labelBox")), c = Array.from(e == null ? void 0 : e.querySelectorAll(".labelText"));
|
|
8812
8812
|
return l.forEach((h, d) => {
|
|
8813
8813
|
var m;
|
|
8814
|
-
const u = ((m = c[d]) == null ? void 0 : m.textContent) || "", f =
|
|
8814
|
+
const u = ((m = c[d]) == null ? void 0 : m.textContent) || "", f = jt(h, "rectangle", {
|
|
8815
8815
|
label: { text: u }
|
|
8816
8816
|
});
|
|
8817
8817
|
f.strokeColor = "#adb5bd", f.bgColor = "#e9ecef", f.width = void 0, o.push(f);
|
|
@@ -8822,7 +8822,7 @@ const Nc = async () => {
|
|
|
8822
8822
|
return ((n = r.parentElement) == null ? void 0 : n.tagName) !== "g";
|
|
8823
8823
|
}), i = [];
|
|
8824
8824
|
return e.forEach((r) => {
|
|
8825
|
-
const n =
|
|
8825
|
+
const n = jt(r, "rectangle", {
|
|
8826
8826
|
label: { text: "" },
|
|
8827
8827
|
subtype: "highlight"
|
|
8828
8828
|
});
|
|
@@ -8840,7 +8840,7 @@ const Nc = async () => {
|
|
|
8840
8840
|
}, _a = {
|
|
8841
8841
|
LINE: 0,
|
|
8842
8842
|
DOTTED_LINE: 1
|
|
8843
|
-
},
|
|
8843
|
+
}, ae = 16, I1 = (t) => {
|
|
8844
8844
|
let e;
|
|
8845
8845
|
switch (t) {
|
|
8846
8846
|
case _a.LINE:
|
|
@@ -8878,14 +8878,14 @@ const Nc = async () => {
|
|
|
8878
8878
|
const i = [], r = [], n = [];
|
|
8879
8879
|
return Object.values(t).forEach((o) => {
|
|
8880
8880
|
var y;
|
|
8881
|
-
const { domId: s, id: a } = o, l =
|
|
8881
|
+
const { domId: s, id: a } = o, l = ee(), c = e.querySelector(`[data-id=${a}]`);
|
|
8882
8882
|
if (!c)
|
|
8883
8883
|
throw Error(`DOM Node with id ${s} not found`);
|
|
8884
|
-
const { transformX: h, transformY: d } = ze(c), u =
|
|
8884
|
+
const { transformX: h, transformY: d } = ze(c), u = jt(c.firstChild, "rectangle", { id: a, groupId: l });
|
|
8885
8885
|
u.x += h, u.y += d, u.metadata = { classId: a }, i.push(u), Array.from(c.querySelectorAll(".divider")).forEach((C) => {
|
|
8886
8886
|
const E = Number(C.getAttribute("x1")), b = Number(C.getAttribute("y1")), R = Number(C.getAttribute("x2")), x = Number(C.getAttribute("y2")), v = Oi(C, E, b, R, x, {
|
|
8887
8887
|
groupId: l,
|
|
8888
|
-
id:
|
|
8888
|
+
id: ee()
|
|
8889
8889
|
});
|
|
8890
8890
|
v.startX += h, v.startY += d, v.endX += h, v.endY += d, v.metadata = { classId: a }, r.push(v);
|
|
8891
8891
|
});
|
|
@@ -8896,7 +8896,7 @@ const Nc = async () => {
|
|
|
8896
8896
|
const E = C.textContent;
|
|
8897
8897
|
if (!E)
|
|
8898
8898
|
return;
|
|
8899
|
-
const b =
|
|
8899
|
+
const b = ee(), { transformX: R, transformY: x } = ze(C), v = C.getBBox(), D = Zn(h + R, d + x + 10, E, {
|
|
8900
8900
|
width: v.width,
|
|
8901
8901
|
height: v.height,
|
|
8902
8902
|
id: b,
|
|
@@ -8908,7 +8908,7 @@ const Nc = async () => {
|
|
|
8908
8908
|
}), { nodes: i, lines: r, text: n };
|
|
8909
8909
|
}, $1 = (t, e) => {
|
|
8910
8910
|
const i = ["triangle_outline", "diamond", "diamond_outline"], r = e.startArrowhead && i.includes(e.startArrowhead), n = e.endArrowhead && i.includes(e.endArrowhead);
|
|
8911
|
-
return !n && !r || (r && (t === "LR" ? e.startX -=
|
|
8911
|
+
return !n && !r || (r && (t === "LR" ? e.startX -= ae : t === "RL" ? e.startX += ae : t === "TB" ? e.startY -= ae : t === "BT" && (e.startY += ae)), n && (t === "LR" ? e.endX += ae : t === "RL" ? e.endX -= ae : t === "TB" ? e.endY += ae : t === "BT" && (e.endY -= ae))), e;
|
|
8912
8912
|
}, D1 = (t, e, i, r) => {
|
|
8913
8913
|
var a;
|
|
8914
8914
|
const n = (a = i.querySelector(".edgePaths")) == null ? void 0 : a.children;
|
|
@@ -8944,7 +8944,7 @@ const Nc = async () => {
|
|
|
8944
8944
|
default:
|
|
8945
8945
|
H = x.startX - D, A = x.startY + tt;
|
|
8946
8946
|
}
|
|
8947
|
-
const et =
|
|
8947
|
+
const et = Zn(H, A, v, {
|
|
8948
8948
|
fontSize: 16
|
|
8949
8949
|
});
|
|
8950
8950
|
s.push(et);
|
|
@@ -8966,7 +8966,7 @@ const Nc = async () => {
|
|
|
8966
8966
|
default:
|
|
8967
8967
|
H = x.endX + D, A = x.endY - tt;
|
|
8968
8968
|
}
|
|
8969
|
-
const et =
|
|
8969
|
+
const et = Zn(H, A, U, {
|
|
8970
8970
|
fontSize: 16
|
|
8971
8971
|
});
|
|
8972
8972
|
s.push(et);
|
|
@@ -8978,7 +8978,7 @@ const Nc = async () => {
|
|
|
8978
8978
|
const { id: s, text: a, class: l } = o, c = e.querySelector(`#${s}`);
|
|
8979
8979
|
if (!c)
|
|
8980
8980
|
throw new Error(`Node with id ${s} not found!`);
|
|
8981
|
-
const { transformX: h, transformY: d } = ze(c), u = c.firstChild, f =
|
|
8981
|
+
const { transformX: h, transformY: d } = ze(c), u = c.firstChild, f = jt(u, "rectangle", {
|
|
8982
8982
|
id: s,
|
|
8983
8983
|
subtype: "note",
|
|
8984
8984
|
label: { text: a }
|
|
@@ -9066,8 +9066,8 @@ const Nc = async () => {
|
|
|
9066
9066
|
export {
|
|
9067
9067
|
dy as $,
|
|
9068
9068
|
yC as A,
|
|
9069
|
-
|
|
9070
|
-
|
|
9069
|
+
so as B,
|
|
9070
|
+
Ht as C,
|
|
9071
9071
|
X1 as D,
|
|
9072
9072
|
K1 as E,
|
|
9073
9073
|
_s as F,
|
|
@@ -9084,10 +9084,10 @@ export {
|
|
|
9084
9084
|
K0 as Q,
|
|
9085
9085
|
Qs as R,
|
|
9086
9086
|
iT as S,
|
|
9087
|
-
|
|
9087
|
+
To as T,
|
|
9088
9088
|
q as U,
|
|
9089
9089
|
Y0 as V,
|
|
9090
|
-
|
|
9090
|
+
Yt as W,
|
|
9091
9091
|
eT as X,
|
|
9092
9092
|
Q_ as Y,
|
|
9093
9093
|
sy as Z,
|
|
@@ -9105,8 +9105,8 @@ export {
|
|
|
9105
9105
|
vh as a9,
|
|
9106
9106
|
Y1 as aA,
|
|
9107
9107
|
mh as aB,
|
|
9108
|
-
|
|
9109
|
-
|
|
9108
|
+
io as aC,
|
|
9109
|
+
ce as aD,
|
|
9110
9110
|
us as aE,
|
|
9111
9111
|
pd as aF,
|
|
9112
9112
|
wi as aG,
|
|
@@ -9122,19 +9122,19 @@ export {
|
|
|
9122
9122
|
Ig as ah,
|
|
9123
9123
|
Og as ai,
|
|
9124
9124
|
Ni as aj,
|
|
9125
|
-
|
|
9125
|
+
ye as ak,
|
|
9126
9126
|
Sm as al,
|
|
9127
9127
|
zs as am,
|
|
9128
|
-
|
|
9128
|
+
we as an,
|
|
9129
9129
|
Mg as ao,
|
|
9130
|
-
|
|
9130
|
+
po as ap,
|
|
9131
9131
|
Fg as aq,
|
|
9132
9132
|
Ng as ar,
|
|
9133
9133
|
Qe as as,
|
|
9134
9134
|
Am as at,
|
|
9135
9135
|
_t as au,
|
|
9136
9136
|
ad as av,
|
|
9137
|
-
|
|
9137
|
+
eo as aw,
|
|
9138
9138
|
Ma as ax,
|
|
9139
9139
|
Mi as ay,
|
|
9140
9140
|
Na as az,
|
|
@@ -9143,10 +9143,10 @@ export {
|
|
|
9143
9143
|
kt as d,
|
|
9144
9144
|
dc as e,
|
|
9145
9145
|
ct as f,
|
|
9146
|
-
|
|
9146
|
+
Ao as g,
|
|
9147
9147
|
wr as h,
|
|
9148
9148
|
Xe as i,
|
|
9149
|
-
|
|
9149
|
+
Co as j,
|
|
9150
9150
|
Ay as k,
|
|
9151
9151
|
$ as l,
|
|
9152
9152
|
Ri as m,
|