@layers-app/editor 0.7.66 → 0.7.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/{layers.C42FV38m.js → layers.-koEySTH.js} +1 -1
- package/dist/{layers.Cbg5CZgX.js → layers.2RUHqmtf.js} +1 -1
- package/dist/{layers.CDQemUkt.js → layers.3Siqoo4I.js} +1 -1
- package/dist/{layers.DrT4hDgx.js → layers.5CsDINHO.js} +6 -6
- package/dist/{layers.DCkAMq7J.js → layers.9MA7hRBy.js} +1 -1
- package/dist/{layers.BGWnNvfv.js → layers.9jyPDJ-n.js} +1 -1
- package/dist/{layers.CvcZAwPC.js → layers.B01ypvmX.js} +1 -1
- package/dist/{layers.DPSZnsnE.js → layers.B1Nzfkft.js} +1 -1
- package/dist/{layers.Cs-Qm16B.js → layers.B1OFghlM.js} +1 -1
- package/dist/{layers.D0G30ty5.js → layers.B1weaFHT.js} +5 -5
- package/dist/{layers.DJzRyUL9.js → layers.B5CMCXYo.js} +1 -1
- package/dist/{layers.BzXmprv5.js → layers.B5_CgG6g.js} +1 -1
- package/dist/{layers.BEtni9Q9.js → layers.B5cX0k6C.js} +5 -5
- package/dist/{layers.D6TmtPfA.js → layers.B8Ay8aqV.js} +1 -1
- package/dist/{layers.Bj3iwHlt.js → layers.B8CKxXiL.js} +4 -4
- package/dist/{layers.B-gj-Dc8.js → layers.B8QLJoTK.js} +1 -1
- package/dist/{layers.BcDhm33-.js → layers.B8SkTpY1.js} +1 -1
- package/dist/{layers.B4unb-lk.js → layers.BAJlBx3w.js} +1 -1
- package/dist/{layers.BjdpFdaF.js → layers.BAPwPDjT.js} +7 -7
- package/dist/{layers.Ca8Ub3pv.js → layers.BAb9hDnX.js} +1 -1
- package/dist/{layers.Do3m_wfd.js → layers.BAxXivki.js} +1 -1
- package/dist/{layers.fjqhJnO5.js → layers.BBv_ZF3c.js} +3 -3
- package/dist/{layers.CaCwyFce.js → layers.BCG8HyjM.js} +1 -1
- package/dist/{layers.lkZWWku3.js → layers.BCs9mJ8I.js} +1 -1
- package/dist/{layers.7GRw0JV8.js → layers.BDFjv1wT.js} +1 -1
- package/dist/{layers.DPRegaV-.js → layers.BDuKhc3d.js} +7 -7
- package/dist/{layers.BaldGe_p.js → layers.BG-zA2JU.js} +1 -1
- package/dist/{layers.CrQV5evf.js → layers.BH6SiZz4.js} +1 -1
- package/dist/{layers.Dvt10_k0.js → layers.BIoj9NhZ.js} +1 -1
- package/dist/{layers.DdfcOJU0.js → layers.BJyksNmy.js} +1 -1
- package/dist/{layers.9YrcXLCx.js → layers.BKBq22K8.js} +1 -1
- package/dist/{layers.CPFZSGGh.js → layers.BKDglXbI.js} +1 -1
- package/dist/{layers.ULeHg9zF.js → layers.BL4Fwha5.js} +1 -1
- package/dist/layers.BLH0YOjh.js +1 -0
- package/dist/{layers.BqE1cEL_.js → layers.BNFljsg8.js} +1 -1
- package/dist/{layers.DituWlSm.js → layers.BOQqn2PA.js} +1 -1
- package/dist/{layers.BXlVYam7.js → layers.BOziEG1-.js} +1 -1
- package/dist/{layers.GSikSHLI.js → layers.BRKX3PfY.js} +8 -8
- package/dist/{layers.B0mQfM_7.js → layers.BRh4KNRZ.js} +4 -4
- package/dist/{layers.DYXwUH9e.js → layers.BSPRjhaj.js} +1 -1
- package/dist/{layers.SLhPj_vV.js → layers.BSUonakO.js} +1 -1
- package/dist/{layers.Dz4Dlb5F.js → layers.BShPUdDb.js} +1 -1
- package/dist/layers.BTHlMGt0.js +8 -0
- package/dist/{layers.DYZDcvsd.js → layers.BTUqi9dl.js} +1 -1
- package/dist/{layers.B_4A9kFO.js → layers.BVlHc346.js} +1 -1
- package/dist/{layers.rpjmq36c.js → layers.BWJk4sge.js} +1 -1
- package/dist/{layers.D-7CRcBZ.js → layers.BWw-7_Ov.js} +1 -1
- package/dist/{layers.DnQ9UMTA.js → layers.BXgkzSb7.js} +1 -1
- package/dist/{layers.BJZMWw1r.js → layers.BXrOL8gy.js} +4 -4
- package/dist/{layers.DVekwusD.js → layers.BaVjOgCV.js} +1 -1
- package/dist/{layers.CutJsscp.js → layers.Bajn-c5m.js} +1 -1
- package/dist/{layers.DdDhojq5.js → layers.Bd16r8QG.js} +3 -3
- package/dist/{layers.BmLJ78sm.js → layers.BgT_3mLC.js} +1 -1
- package/dist/{layers.BE2v4SI1.js → layers.BiGj0vc5.js} +1 -1
- package/dist/{layers.BP0Yk3nT.js → layers.BiH7AvZR.js} +1 -1
- package/dist/{layers.C61WP72S.js → layers.BjxQTy9m.js} +3 -3
- package/dist/{layers.CHD1zSYI.js → layers.BlWgZCCD.js} +1 -1
- package/dist/{layers.C1PDlE34.js → layers.BmJt8agO.js} +1 -1
- package/dist/{layers.O5z0GxDA.js → layers.BpiMEou9.js} +1 -1
- package/dist/{layers.eic5RVID.js → layers.BqeWwbRi.js} +1 -1
- package/dist/{layers.DYtT_2W_.js → layers.BsDzjs0V.js} +1 -1
- package/dist/{layers.DFoutOw5.js → layers.Bw5ssNYA.js} +1 -1
- package/dist/{layers.CKy8MSLQ.js → layers.BwAfpdUe.js} +1 -1
- package/dist/{layers.BUBqrcAN.js → layers.BwJpbvpf.js} +1 -1
- package/dist/{layers.CKcjoLju.js → layers.BwRTsh3d.js} +1 -1
- package/dist/{layers.By1AAp3-.js → layers.ByGHxGYo.js} +1 -1
- package/dist/{layers.ri6EcUvz.js → layers.ByOjr_px.js} +1 -1
- package/dist/{layers.C33jsIpE.js → layers.Byw6M-0U.js} +1 -1
- package/dist/{layers.CKmdrueW.js → layers.Bz_ULtvy.js} +1 -1
- package/dist/{layers.DEqYQU2G.js → layers.C-iOi-oV.js} +1 -1
- package/dist/{layers.CWVhbDR5.js → layers.C0YOw113.js} +2 -2
- package/dist/layers.C2iGgm96.js +6 -0
- package/dist/{layers.Dwr0t7IY.js → layers.C5TXFJ-N.js} +5 -5
- package/dist/{layers.DB-bRmCR.js → layers.C5aEOuz2.js} +1 -1
- package/dist/{layers.DUDJ9Y4L.js → layers.C8dakIy9.js} +9 -9
- package/dist/{layers.CLk3-xN-.js → layers.C8jgYIiB.js} +1 -1
- package/dist/{layers.BBF8yJ7K.js → layers.CBCMt9a_.js} +1 -1
- package/dist/{layers.BbMQXyBa.js → layers.CBo2Alt6.js} +1 -1
- package/dist/{layers.B_VfNyr8.js → layers.CByOSJZG.js} +1 -1
- package/dist/{layers.CBMAZyP_.js → layers.CCxJvhDA.js} +1 -1
- package/dist/{layers.eCTjZNfq.js → layers.CD56zqZU.js} +1 -1
- package/dist/{layers.D05CXxB9.js → layers.CGQRH2oE.js} +1 -1
- package/dist/{layers.vGcIPp04.js → layers.CIvGYQVa.js} +1 -1
- package/dist/{layers.8eglOpZg.js → layers.CKjdaZlk.js} +4 -4
- package/dist/{layers.DdmoW3mc.js → layers.CLKjBbUW.js} +1 -1
- package/dist/{layers.DaekqInu.js → layers.CNR0G7VK.js} +1 -1
- package/dist/{layers.COujLsln.js → layers.COYeAeZD.js} +1 -1
- package/dist/{layers._o7boybA.js → layers.COikqsOl.js} +24 -24
- package/dist/{layers.3YEE22Mk.js → layers.CP5GvLOu.js} +1 -1
- package/dist/{layers.D8f0gMfA.js → layers.CQf6or_z.js} +1 -1
- package/dist/{layers.vJ-PLTQm.js → layers.CSOoHEpa.js} +1 -1
- package/dist/{layers.BH_ae3SK.js → layers.CSkLVEJ4.js} +1 -1
- package/dist/{layers.ZG9uhmWq.js → layers.CTFiJEXR.js} +1 -1
- package/dist/{layers.Cl_YVr0L.js → layers.CXYiwz9q.js} +1 -1
- package/dist/{layers.CTmULLmg.js → layers.CXwrOEhA.js} +2 -2
- package/dist/{layers.C6Tz5MCO.js → layers.CXyGVR7D.js} +1 -1
- package/dist/{layers.B5fYtTZT.js → layers.CYuU-K5D.js} +1 -1
- package/dist/{layers.VO-7tMgV.js → layers.CZr22X_a.js} +1 -1
- package/dist/{layers.Uo41Zp6F.js → layers.CctuMNe2.js} +1 -1
- package/dist/layers.CdkMt7uk.js +6 -0
- package/dist/{layers.COBbOMbH.js → layers.CdoqcLfv.js} +1 -1
- package/dist/{layers.CzvGodqc.js → layers.CeUIvx4k.js} +1 -1
- package/dist/{layers.CcDpPRa3.js → layers.CeWRaT3a.js} +1 -1
- package/dist/{layers.CSIz9FYs.js → layers.CheYGnCO.js} +3 -3
- package/dist/{layers.DIBD80Su.js → layers.CjqmJwzl.js} +1 -1
- package/dist/{layers.CBLL2LbE.js → layers.Ck4rTM-7.js} +4 -4
- package/dist/{layers.BcqOvuux.js → layers.CklsVJ-8.js} +1 -1
- package/dist/{layers.3QTo5o15.js → layers.Cmx49Y1r.js} +1 -1
- package/dist/{layers.ChbuRCNy.js → layers.CokDQ6mn.js} +1 -1
- package/dist/{layers.DSAU81oH.js → layers.CrY7oVS3.js} +418 -418
- package/dist/{layers.DwrvpNkZ.js → layers.CtWut0NG.js} +1 -1
- package/dist/{layers.CGX9i522.js → layers.CtcVjxJl.js} +1 -1
- package/dist/{layers.B0uGvpXI.js → layers.CtoHNDXF.js} +1 -1
- package/dist/{layers.CLiiWpJP.js → layers.CtzNXxxc.js} +1 -1
- package/dist/{layers.DUxRk8L1.js → layers.CuZAknCW.js} +1 -1
- package/dist/{layers.DNmH6yCl.js → layers.Cvch2giP.js} +1 -1
- package/dist/{layers.D0Cjrep0.js → layers.CvyQ6d-Z.js} +1 -1
- package/dist/{layers.CxndOEZr.js → layers.Cw8bKJBv.js} +1 -1
- package/dist/{layers.BFE-alwC.js → layers.CwtnbUr1.js} +3 -3
- package/dist/{layers.BWl36pbb.js → layers.Cy1FqVSa.js} +2 -2
- package/dist/{layers.Ckv7p0Cl.js → layers.CyMRDTs5.js} +1 -1
- package/dist/{layers.hL7X5WQk.js → layers.CyWP3KW9.js} +1 -1
- package/dist/{layers.BhbuA69c.js → layers.CyshZKpL.js} +1 -1
- package/dist/{layers.BYH3Kroe.js → layers.Cz_-Kmw4.js} +1 -1
- package/dist/{layers.DxLW-X_k.js → layers.D0xAA1ud.js} +1 -1
- package/dist/{layers.BZrat4JT.js → layers.D1rmyxa1.js} +2 -2
- package/dist/{layers.4GNijh6t.js → layers.D46738Eo.js} +3 -3
- package/dist/{layers.Dl0FDpvW.js → layers.D6qPSUjk.js} +1 -1
- package/dist/{layers.BlUlBkhp.js → layers.D8nkEjhP.js} +1 -1
- package/dist/{layers.Bz7NH3Ja.js → layers.D9uS1p65.js} +1 -1
- package/dist/{layers.C1ETK2KG.js → layers.DBL9yB03.js} +1 -1
- package/dist/{layers.BxX8NFri.js → layers.DEqhh-hg.js} +1 -1
- package/dist/{layers.DvilG5XZ.js → layers.DG4rwYgz.js} +1 -1
- package/dist/{layers.tMU6Ekb2.js → layers.DJwBmgHe.js} +3 -3
- package/dist/{layers.C3903-fE.js → layers.DLVCPMeP.js} +1 -1
- package/dist/{layers.XL1rVltq.js → layers.DNJKIVp-.js} +1 -1
- package/dist/{layers.DTlOqZvL.js → layers.DONsTN3_.js} +1 -1
- package/dist/{layers.B2QpNG6M.js → layers.DQPeCTce.js} +1 -1
- package/dist/{layers.ByWtFcWr.js → layers.DSg6pyBA.js} +1 -1
- package/dist/{layers.cHJyX5TP.js → layers.DTosCorE.js} +1 -1
- package/dist/{layers.D5P0WNvc.js → layers.DUiJr3Il.js} +1 -1
- package/dist/{layers.BFpmz0jf.js → layers.DVQklNOP.js} +1 -1
- package/dist/{layers.DFWMI5T9.js → layers.DW0FvG1g.js} +1 -1
- package/dist/{layers.BGqpw-G8.js → layers.DXxLXpLr.js} +2 -2
- package/dist/{layers.ByAfdCHR.js → layers.DYFG46Tr.js} +7 -7
- package/dist/{layers.Dkw-9t5C.js → layers.DYLApKxd.js} +1 -1
- package/dist/{layers.CcElfU4_.js → layers.D_rloV5d.js} +1 -1
- package/dist/{layers.Bvz5P3lQ.js → layers.DgKb5bcf.js} +1 -1
- package/dist/{layers.BemQxE4r.js → layers.Dgzoa1kt.js} +1 -1
- package/dist/{layers.CoGKSwpz.js → layers.Dh4CniZb.js} +6 -6
- package/dist/{layers.svV_8pUP.js → layers.Dh7iDEfV.js} +1 -1
- package/dist/{layers.C7WBszjx.js → layers.DhgbBqzk.js} +1 -1
- package/dist/{layers.CCXdskK_.js → layers.DhiNgkiX.js} +1 -1
- package/dist/{layers.jTxzmm6D.js → layers.DhuTIPXp.js} +212 -206
- package/dist/{layers.BQ2GdNHj.js → layers.DjrVkP33.js} +1 -1
- package/dist/{layers.PPRoUsAA.js → layers.DlKiE7Aa.js} +1 -1
- package/dist/{layers.CLU_XAad.js → layers.DlwH9Z9x.js} +2 -2
- package/dist/{layers.Dn1BTkKc.js → layers.Dnkwmn9q.js} +1 -1
- package/dist/{layers.GQitM6w0.js → layers.DoKXAeQh.js} +1 -1
- package/dist/{layers.Bg4fDHxu.js → layers.Dq1ww9aa.js} +1 -1
- package/dist/{layers.DDO74hkK.js → layers.DtRF5H6s.js} +1 -1
- package/dist/{layers.bULRDowV.js → layers.Du2OkeaQ.js} +7 -7
- package/dist/{layers.DVcwS5K-.js → layers.DxIVW_gu.js} +1 -1
- package/dist/{layers.CmoYcxXL.js → layers.Dxh-kUOp.js} +3 -3
- package/dist/{layers.DCtyhmyY.js → layers.FM6xZxio.js} +1 -1
- package/dist/{layers.DWhv7F59.js → layers.Hd9sKjAt.js} +7 -7
- package/dist/{layers.BKLGHV1G.js → layers.Jqcxv6QN.js} +1 -1
- package/dist/layers.Lr6XG1zP.js +1 -0
- package/dist/{layers.NZomDfcb.js → layers.MTa--2B1.js} +4 -4
- package/dist/{layers.Cc7OCiEY.js → layers.MloqT3eX.js} +1 -1
- package/dist/{layers.BZ7MbQ5s.js → layers.Mpjs6Fe4.js} +1 -1
- package/dist/{layers.DJCArebj.js → layers.S3H94rrd.js} +1 -1
- package/dist/{layers.bGVTEvFL.js → layers.T2PNVGp2.js} +1 -1
- package/dist/{layers.DT1iTzdJ.js → layers.VCVHBMUK.js} +1 -1
- package/dist/{layers.C0ZmXPkk.js → layers.Ws6We2at.js} +1 -1
- package/dist/{layers.CGkRi77t.js → layers.YGQlRMs7.js} +1 -1
- package/dist/{layers.BnkHC_Oc.js → layers.YPnmk6O3.js} +1 -1
- package/dist/{layers.ocXfhHqM.js → layers._aEgj9_3.js} +1 -1
- package/dist/{layers.Dh_PSzU8.js → layers.aX3AXcWF.js} +3 -3
- package/dist/{layers.CGKEyQWx.js → layers.cAAna5Ye.js} +1 -1
- package/dist/{layers.G20tZlua.js → layers.dXTUtzTQ.js} +1 -1
- package/dist/{layers.Cb18TKKb.js → layers.e8NXQJQm.js} +1 -1
- package/dist/{layers.DpTbRUsM.js → layers.eSyy94kL.js} +1 -1
- package/dist/{layers.BA-11n7e.js → layers.ecg1JPTq.js} +1 -1
- package/dist/{layers.DLU6YNaQ.js → layers.gWeUL3aK.js} +1 -1
- package/dist/{layers.Bwsv13Sa.js → layers.i6SZVJgZ.js} +1 -1
- package/dist/{layers.B_rGlD5Q.js → layers.k5y85j83.js} +1 -1
- package/dist/{layers.cRpc9s53.js → layers.l-P06n7a.js} +1 -1
- package/dist/{layers.C7E8L6Xs.js → layers.m87Es6h2.js} +10 -10
- package/dist/{layers.BieQPNJX.js → layers.mP-gb41G.js} +6 -6
- package/dist/{layers.DGhyc9fD.js → layers.mhTPvwbj.js} +1 -1
- package/dist/{layers.LUsmvTUU.js → layers.nCXZMUQI.js} +1 -1
- package/dist/{layers.BXtEOnC6.js → layers.oJpVtc-Z.js} +1 -1
- package/dist/{layers.DayLOzeL.js → layers.pGiiPqk0.js} +1 -1
- package/dist/{layers.CKgU8T7B.js → layers.q9DJ-rL8.js} +3 -3
- package/dist/{layers.x6Y0uO3K.js → layers.rIZ_HMhE.js} +1 -1
- package/dist/{layers.D73NqqYr.js → layers.sV4JdJFZ.js} +1 -1
- package/dist/{layers.C2GnCJcv.js → layers.sbMMmbT5.js} +1 -1
- package/dist/{layers.CPrw4tSM.js → layers.tX3Ioek7.js} +10 -10
- package/dist/{layers.CJO6gwir.js → layers.uE3U5tcq.js} +1 -1
- package/dist/{layers.ySNGTcm_.js → layers.uOcg9B9T.js} +1 -1
- package/dist/{layers.BexCcE7c.js → layers.uVjYtJ6Y.js} +2 -2
- package/dist/{layers.BS5c-XRP.js → layers.v9vQ156o.js} +1 -1
- package/dist/{layers.NZbUzxh7.js → layers.vkgKotEx.js} +1 -1
- package/dist/{layers.DGkNq70x.js → layers.vtF-WeoD.js} +1 -1
- package/dist/{layers.B7xQ9Bfy.js → layers.vxjFabr5.js} +1 -1
- package/package.json +1 -1
- package/dist/layers.CImef2Q4.js +0 -1
- package/dist/layers.Cb7NfWSf.js +0 -1
- package/dist/layers.DDTcQc3-.js +0 -8
- package/dist/layers.DUIEminS.js +0 -6
- package/dist/layers.yfFwHxeD.js +0 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { K as Qt, J as Dl } from "./layers.
|
|
2
|
-
import {
|
|
1
|
+
import { K as Qt, J as Dl } from "./layers.C8dakIy9.js";
|
|
2
|
+
import { o as Nl } from "./layers.DhuTIPXp.js";
|
|
3
3
|
import _n from "lodash-es/memoize.js";
|
|
4
4
|
import $l from "lodash-es/merge.js";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import Rr from "lodash-es/isEmpty.js";
|
|
6
|
+
const fr = 20, Rl = {
|
|
7
7
|
rect: "rectangle",
|
|
8
8
|
circle: "ellipse"
|
|
9
9
|
}, go = {
|
|
@@ -11,16 +11,16 @@ const pr = 20, Rl = {
|
|
|
11
11
|
flowchart: { curve: "linear" },
|
|
12
12
|
themeVariables: {
|
|
13
13
|
// Multiplying by 1.25 to increase the font size by 25% and render correctly in Excalidraw
|
|
14
|
-
fontSize: `${
|
|
14
|
+
fontSize: `${fr * 1.25}px`
|
|
15
15
|
},
|
|
16
16
|
maxEdges: 500,
|
|
17
17
|
maxTextSize: 5e4
|
|
18
18
|
};
|
|
19
|
-
class
|
|
19
|
+
class pr {
|
|
20
20
|
constructor({ converter: e }) {
|
|
21
21
|
this.convert = (i, r) => this.converter(i, {
|
|
22
22
|
...r,
|
|
23
|
-
fontSize: r.fontSize ||
|
|
23
|
+
fontSize: r.fontSize || fr
|
|
24
24
|
}), this.converter = e;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -28,10 +28,10 @@ var fe;
|
|
|
28
28
|
(function(t) {
|
|
29
29
|
t.ROUND = "round", t.STADIUM = "stadium", t.DOUBLECIRCLE = "doublecircle", t.CIRCLE = "circle", t.DIAMOND = "diamond";
|
|
30
30
|
})(fe || (fe = {}));
|
|
31
|
-
var
|
|
31
|
+
var Qr;
|
|
32
32
|
(function(t) {
|
|
33
33
|
t.COLOR = "color";
|
|
34
|
-
})(
|
|
34
|
+
})(Qr || (Qr = {}));
|
|
35
35
|
var we;
|
|
36
36
|
(function(t) {
|
|
37
37
|
t.FILL = "fill", t.STROKE = "stroke", t.STROKE_WIDTH = "stroke-width", t.STROKE_DASHARRAY = "stroke-dasharray";
|
|
@@ -117,7 +117,7 @@ const zl = {
|
|
|
117
117
|
const e = {};
|
|
118
118
|
return Object.keys(t).forEach((i) => {
|
|
119
119
|
switch (i) {
|
|
120
|
-
case
|
|
120
|
+
case Qr.COLOR: {
|
|
121
121
|
e.strokeColor = t[i];
|
|
122
122
|
break;
|
|
123
123
|
}
|
|
@@ -151,7 +151,7 @@ const zl = {
|
|
|
151
151
|
getGroupIds: (r) => i[r] || [],
|
|
152
152
|
getParentId: (r) => e[r] ? e[r].parent : null
|
|
153
153
|
};
|
|
154
|
-
}, jl = new
|
|
154
|
+
}, jl = new pr({
|
|
155
155
|
converter: (t, e) => {
|
|
156
156
|
const i = [], r = e.fontSize, { getGroupIds: n, getParentId: s } = Xl(t);
|
|
157
157
|
return t.subGraphs.reverse().forEach((o) => {
|
|
@@ -265,7 +265,7 @@ const zl = {
|
|
|
265
265
|
elements: i
|
|
266
266
|
};
|
|
267
267
|
}
|
|
268
|
-
}), Gl = new
|
|
268
|
+
}), Gl = new pr({
|
|
269
269
|
converter: (t) => {
|
|
270
270
|
const e = Qt(), { width: i, height: r } = t, n = {
|
|
271
271
|
type: "image",
|
|
@@ -301,7 +301,7 @@ const zl = {
|
|
|
301
301
|
strokeWidth: t.strokeWidth || 1
|
|
302
302
|
};
|
|
303
303
|
return t.groupId && Object.assign(e, { groupIds: [t.groupId] }), t.id && Object.assign(e, { id: t.id }), e;
|
|
304
|
-
},
|
|
304
|
+
}, Gi = (t) => {
|
|
305
305
|
const e = {
|
|
306
306
|
type: "text",
|
|
307
307
|
x: t.x,
|
|
@@ -368,7 +368,7 @@ const zl = {
|
|
|
368
368
|
end: t.end
|
|
369
369
|
};
|
|
370
370
|
return t.groupId && Object.assign(e, { groupIds: [t.groupId] }), e;
|
|
371
|
-
}, Vl = new
|
|
371
|
+
}, Vl = new pr({
|
|
372
372
|
converter: (t) => {
|
|
373
373
|
const e = [], i = [];
|
|
374
374
|
if (Object.values(t.nodes).forEach((r) => {
|
|
@@ -383,7 +383,7 @@ const zl = {
|
|
|
383
383
|
s = ti(n);
|
|
384
384
|
break;
|
|
385
385
|
case "text":
|
|
386
|
-
s =
|
|
386
|
+
s = Gi(n);
|
|
387
387
|
break;
|
|
388
388
|
default:
|
|
389
389
|
throw `unknown type ${n.type}`;
|
|
@@ -399,7 +399,7 @@ const zl = {
|
|
|
399
399
|
r.forEach((o) => {
|
|
400
400
|
e.push(oi(o));
|
|
401
401
|
}), n.forEach((o) => {
|
|
402
|
-
e.push(
|
|
402
|
+
e.push(Gi(o));
|
|
403
403
|
}), s.forEach((o) => {
|
|
404
404
|
e.push(ti(o));
|
|
405
405
|
});
|
|
@@ -449,7 +449,7 @@ const zl = {
|
|
|
449
449
|
e.push(x);
|
|
450
450
|
}), { elements: e };
|
|
451
451
|
}
|
|
452
|
-
}), Kl = new
|
|
452
|
+
}), Kl = new pr({
|
|
453
453
|
converter: (t) => {
|
|
454
454
|
const e = [];
|
|
455
455
|
return Object.values(t.nodes).forEach((i) => {
|
|
@@ -464,7 +464,7 @@ const zl = {
|
|
|
464
464
|
n = ti(r);
|
|
465
465
|
break;
|
|
466
466
|
case "text":
|
|
467
|
-
n =
|
|
467
|
+
n = Gi(r);
|
|
468
468
|
break;
|
|
469
469
|
default:
|
|
470
470
|
throw `unknown type ${r.type}`;
|
|
@@ -479,7 +479,7 @@ const zl = {
|
|
|
479
479
|
const r = Cs(i);
|
|
480
480
|
e.push(r);
|
|
481
481
|
}), Object.values(t.text).forEach((i) => {
|
|
482
|
-
const r =
|
|
482
|
+
const r = Gi(i);
|
|
483
483
|
e.push(r);
|
|
484
484
|
}), Object.values(t.namespaces).forEach((i) => {
|
|
485
485
|
const r = Object.keys(i.classes), n = [...r], s = [...t.lines, ...t.arrows, ...t.text];
|
|
@@ -634,28 +634,28 @@ function tc() {
|
|
|
634
634
|
return this.$d.getTime();
|
|
635
635
|
}, w.startOf = function(T, E) {
|
|
636
636
|
var v = this, M = !!A.u(E) || E, W = A.p(T), z = function(Mt, rt) {
|
|
637
|
-
var
|
|
638
|
-
return M ?
|
|
637
|
+
var Bt = A.w(v.$u ? Date.UTC(v.$y, rt, Mt) : new Date(v.$y, rt, Mt), v);
|
|
638
|
+
return M ? Bt : Bt.endOf(c);
|
|
639
639
|
}, G = function(Mt, rt) {
|
|
640
640
|
return A.w(v.toDate()[Mt].apply(v.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(rt)), v);
|
|
641
|
-
}, U = this.$W, et = this.$M, j = this.$D,
|
|
641
|
+
}, U = this.$W, et = this.$M, j = this.$D, bt = "set" + (this.$u ? "UTC" : "");
|
|
642
642
|
switch (W) {
|
|
643
643
|
case f:
|
|
644
644
|
return M ? z(1, 0) : z(31, 11);
|
|
645
645
|
case d:
|
|
646
646
|
return M ? z(1, et) : z(0, et + 1);
|
|
647
647
|
case u:
|
|
648
|
-
var
|
|
649
|
-
return z(M ? j -
|
|
648
|
+
var At = this.$locale().weekStart || 0, Tt = (U < At ? U + 7 : U) - At;
|
|
649
|
+
return z(M ? j - Tt : j + (6 - Tt), et);
|
|
650
650
|
case c:
|
|
651
651
|
case m:
|
|
652
|
-
return G(
|
|
652
|
+
return G(bt + "Hours", 0);
|
|
653
653
|
case l:
|
|
654
|
-
return G(
|
|
654
|
+
return G(bt + "Minutes", 1);
|
|
655
655
|
case a:
|
|
656
|
-
return G(
|
|
656
|
+
return G(bt + "Seconds", 2);
|
|
657
657
|
case o:
|
|
658
|
-
return G(
|
|
658
|
+
return G(bt + "Milliseconds", 3);
|
|
659
659
|
default:
|
|
660
660
|
return this.clone();
|
|
661
661
|
}
|
|
@@ -690,16 +690,16 @@ function tc() {
|
|
|
690
690
|
}, w.format = function(T) {
|
|
691
691
|
var E = this, v = this.$locale();
|
|
692
692
|
if (!this.isValid()) return v.invalidDate || y;
|
|
693
|
-
var M = T || "YYYY-MM-DDTHH:mm:ssZ", W = A.z(this), z = this.$H, G = this.$m, U = this.$M, et = v.weekdays, j = v.months,
|
|
694
|
-
return rt && (rt[
|
|
695
|
-
},
|
|
693
|
+
var M = T || "YYYY-MM-DDTHH:mm:ssZ", W = A.z(this), z = this.$H, G = this.$m, U = this.$M, et = v.weekdays, j = v.months, bt = v.meridiem, At = function(rt, Bt, re, Lt) {
|
|
694
|
+
return rt && (rt[Bt] || rt(E, M)) || re[Bt].slice(0, Lt);
|
|
695
|
+
}, Tt = function(rt) {
|
|
696
696
|
return A.s(z % 12 || 12, rt, "0");
|
|
697
|
-
}, Mt =
|
|
698
|
-
var
|
|
699
|
-
return re ?
|
|
697
|
+
}, Mt = bt || function(rt, Bt, re) {
|
|
698
|
+
var Lt = rt < 12 ? "AM" : "PM";
|
|
699
|
+
return re ? Lt.toLowerCase() : Lt;
|
|
700
700
|
};
|
|
701
|
-
return M.replace(L, (function(rt,
|
|
702
|
-
return
|
|
701
|
+
return M.replace(L, (function(rt, Bt) {
|
|
702
|
+
return Bt || (function(re) {
|
|
703
703
|
switch (re) {
|
|
704
704
|
case "YY":
|
|
705
705
|
return String(E.$y).slice(-2);
|
|
@@ -710,9 +710,9 @@ function tc() {
|
|
|
710
710
|
case "MM":
|
|
711
711
|
return A.s(U + 1, 2, "0");
|
|
712
712
|
case "MMM":
|
|
713
|
-
return
|
|
713
|
+
return At(v.monthsShort, U, j, 3);
|
|
714
714
|
case "MMMM":
|
|
715
|
-
return
|
|
715
|
+
return At(j, U);
|
|
716
716
|
case "D":
|
|
717
717
|
return E.$D;
|
|
718
718
|
case "DD":
|
|
@@ -720,9 +720,9 @@ function tc() {
|
|
|
720
720
|
case "d":
|
|
721
721
|
return String(E.$W);
|
|
722
722
|
case "dd":
|
|
723
|
-
return
|
|
723
|
+
return At(v.weekdaysMin, E.$W, et, 2);
|
|
724
724
|
case "ddd":
|
|
725
|
-
return
|
|
725
|
+
return At(v.weekdaysShort, E.$W, et, 3);
|
|
726
726
|
case "dddd":
|
|
727
727
|
return et[E.$W];
|
|
728
728
|
case "H":
|
|
@@ -730,9 +730,9 @@ function tc() {
|
|
|
730
730
|
case "HH":
|
|
731
731
|
return A.s(z, 2, "0");
|
|
732
732
|
case "h":
|
|
733
|
-
return
|
|
733
|
+
return Tt(1);
|
|
734
734
|
case "hh":
|
|
735
|
-
return
|
|
735
|
+
return Tt(2);
|
|
736
736
|
case "a":
|
|
737
737
|
return Mt(z, G, !0);
|
|
738
738
|
case "A":
|
|
@@ -883,22 +883,22 @@ function _o(t, e, i) {
|
|
|
883
883
|
}
|
|
884
884
|
return i != null && t.push({ name: e, value: i }), t;
|
|
885
885
|
}
|
|
886
|
-
var
|
|
886
|
+
var tn = "http://www.w3.org/1999/xhtml";
|
|
887
887
|
const Co = {
|
|
888
888
|
svg: "http://www.w3.org/2000/svg",
|
|
889
|
-
xhtml:
|
|
889
|
+
xhtml: tn,
|
|
890
890
|
xlink: "http://www.w3.org/1999/xlink",
|
|
891
891
|
xml: "http://www.w3.org/XML/1998/namespace",
|
|
892
892
|
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
893
893
|
};
|
|
894
|
-
function
|
|
894
|
+
function gr(t) {
|
|
895
895
|
var e = t += "", i = e.indexOf(":");
|
|
896
896
|
return i >= 0 && (e = t.slice(0, i)) !== "xmlns" && (t = t.slice(i + 1)), Co.hasOwnProperty(e) ? { space: Co[e], local: t } : t;
|
|
897
897
|
}
|
|
898
898
|
function sc(t) {
|
|
899
899
|
return function() {
|
|
900
900
|
var e = this.ownerDocument, i = this.namespaceURI;
|
|
901
|
-
return i ===
|
|
901
|
+
return i === tn && e.documentElement.namespaceURI === tn ? e.createElement(t) : e.createElementNS(i, t);
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
904
|
function ac(t) {
|
|
@@ -907,7 +907,7 @@ function ac(t) {
|
|
|
907
907
|
};
|
|
908
908
|
}
|
|
909
909
|
function bs(t) {
|
|
910
|
-
var e =
|
|
910
|
+
var e = gr(t);
|
|
911
911
|
return (e.local ? ac : sc)(e);
|
|
912
912
|
}
|
|
913
913
|
function lc() {
|
|
@@ -922,7 +922,7 @@ function cc(t) {
|
|
|
922
922
|
for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
|
|
923
923
|
for (var s = e[n], o = s.length, a = r[n] = new Array(o), l, c, u = 0; u < o; ++u)
|
|
924
924
|
(l = s[u]) && (c = t.call(l, l.__data__, u, s)) && ("__data__" in l && (c.__data__ = l.__data__), a[u] = c);
|
|
925
|
-
return new
|
|
925
|
+
return new xt(r, this._parents);
|
|
926
926
|
}
|
|
927
927
|
function hc(t) {
|
|
928
928
|
return t == null ? [] : Array.isArray(t) ? t : Array.from(t);
|
|
@@ -945,7 +945,7 @@ function fc(t) {
|
|
|
945
945
|
for (var e = this._groups, i = e.length, r = [], n = [], s = 0; s < i; ++s)
|
|
946
946
|
for (var o = e[s], a = o.length, l, c = 0; c < a; ++c)
|
|
947
947
|
(l = o[c]) && (r.push(t.call(l, l.__data__, c, o)), n.push(l));
|
|
948
|
-
return new
|
|
948
|
+
return new xt(r, n);
|
|
949
949
|
}
|
|
950
950
|
function ks(t) {
|
|
951
951
|
return function() {
|
|
@@ -986,19 +986,19 @@ function Tc(t) {
|
|
|
986
986
|
for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
|
|
987
987
|
for (var s = e[n], o = s.length, a = r[n] = [], l, c = 0; c < o; ++c)
|
|
988
988
|
(l = s[c]) && t.call(l, l.__data__, c, s) && a.push(l);
|
|
989
|
-
return new
|
|
989
|
+
return new xt(r, this._parents);
|
|
990
990
|
}
|
|
991
991
|
function vs(t) {
|
|
992
992
|
return new Array(t.length);
|
|
993
993
|
}
|
|
994
994
|
function kc() {
|
|
995
|
-
return new
|
|
995
|
+
return new xt(this._enter || this._groups.map(vs), this._parents);
|
|
996
996
|
}
|
|
997
|
-
function
|
|
997
|
+
function Vi(t, e) {
|
|
998
998
|
this.ownerDocument = t.ownerDocument, this.namespaceURI = t.namespaceURI, this._next = null, this._parent = t, this.__data__ = e;
|
|
999
999
|
}
|
|
1000
|
-
|
|
1001
|
-
constructor:
|
|
1000
|
+
Vi.prototype = {
|
|
1001
|
+
constructor: Vi,
|
|
1002
1002
|
appendChild: function(t) {
|
|
1003
1003
|
return this._parent.insertBefore(t, this._next);
|
|
1004
1004
|
},
|
|
@@ -1019,7 +1019,7 @@ function Sc(t) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
function vc(t, e, i, r, n, s) {
|
|
1021
1021
|
for (var o = 0, a, l = e.length, c = s.length; o < c; ++o)
|
|
1022
|
-
(a = e[o]) ? (a.__data__ = s[o], r[o] = a) : i[o] = new
|
|
1022
|
+
(a = e[o]) ? (a.__data__ = s[o], r[o] = a) : i[o] = new Vi(t, s[o]);
|
|
1023
1023
|
for (; o < l; ++o)
|
|
1024
1024
|
(a = e[o]) && (n[o] = a);
|
|
1025
1025
|
}
|
|
@@ -1028,7 +1028,7 @@ function wc(t, e, i, r, n, s, o) {
|
|
|
1028
1028
|
for (a = 0; a < u; ++a)
|
|
1029
1029
|
(l = e[a]) && (h[a] = f = o.call(l, l.__data__, a, e) + "", c.has(f) ? n[a] = l : c.set(f, l));
|
|
1030
1030
|
for (a = 0; a < d; ++a)
|
|
1031
|
-
f = o.call(t, s[a], a, s) + "", (l = c.get(f)) ? (r[a] = l, l.__data__ = s[a], c.delete(f)) : i[a] = new
|
|
1031
|
+
f = o.call(t, s[a], a, s) + "", (l = c.get(f)) ? (r[a] = l, l.__data__ = s[a], c.delete(f)) : i[a] = new Vi(t, s[a]);
|
|
1032
1032
|
for (a = 0; a < u; ++a)
|
|
1033
1033
|
(l = e[a]) && c.get(h[a]) === l && (n[a] = l);
|
|
1034
1034
|
}
|
|
@@ -1048,13 +1048,13 @@ function Bc(t, e) {
|
|
|
1048
1048
|
x._next = S || null;
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
|
-
return o = new
|
|
1051
|
+
return o = new xt(o, r), o._enter = a, o._exit = l, o;
|
|
1052
1052
|
}
|
|
1053
1053
|
function Lc(t) {
|
|
1054
1054
|
return typeof t == "object" && "length" in t ? t : Array.from(t);
|
|
1055
1055
|
}
|
|
1056
1056
|
function Ec() {
|
|
1057
|
-
return new
|
|
1057
|
+
return new xt(this._exit || this._groups.map(vs), this._parents);
|
|
1058
1058
|
}
|
|
1059
1059
|
function Fc(t, e, i) {
|
|
1060
1060
|
var r = this.enter(), n = this, s = this.exit();
|
|
@@ -1066,7 +1066,7 @@ function Ic(t) {
|
|
|
1066
1066
|
(f = c[m] || u[m]) && (h[m] = f);
|
|
1067
1067
|
for (; l < n; ++l)
|
|
1068
1068
|
a[l] = i[l];
|
|
1069
|
-
return new
|
|
1069
|
+
return new xt(a, this._parents);
|
|
1070
1070
|
}
|
|
1071
1071
|
function Oc() {
|
|
1072
1072
|
for (var t = this._groups, e = -1, i = t.length; ++e < i; )
|
|
@@ -1084,7 +1084,7 @@ function Mc(t) {
|
|
|
1084
1084
|
(c = o[u]) && (l[u] = c);
|
|
1085
1085
|
l.sort(e);
|
|
1086
1086
|
}
|
|
1087
|
-
return new
|
|
1087
|
+
return new xt(n, this._parents).order();
|
|
1088
1088
|
}
|
|
1089
1089
|
function Dc(t, e) {
|
|
1090
1090
|
return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
@@ -1151,7 +1151,7 @@ function jc(t, e) {
|
|
|
1151
1151
|
};
|
|
1152
1152
|
}
|
|
1153
1153
|
function Gc(t, e) {
|
|
1154
|
-
var i =
|
|
1154
|
+
var i = gr(t);
|
|
1155
1155
|
if (arguments.length < 2) {
|
|
1156
1156
|
var r = this.node();
|
|
1157
1157
|
return i.local ? r.getAttributeNS(i.space, i.local) : r.getAttribute(i);
|
|
@@ -1407,17 +1407,17 @@ function* Nh() {
|
|
|
1407
1407
|
(o = r[n]) && (yield o);
|
|
1408
1408
|
}
|
|
1409
1409
|
var Is = [null];
|
|
1410
|
-
function
|
|
1410
|
+
function xt(t, e) {
|
|
1411
1411
|
this._groups = t, this._parents = e;
|
|
1412
1412
|
}
|
|
1413
1413
|
function _i() {
|
|
1414
|
-
return new
|
|
1414
|
+
return new xt([[document.documentElement]], Is);
|
|
1415
1415
|
}
|
|
1416
1416
|
function $h() {
|
|
1417
1417
|
return this;
|
|
1418
1418
|
}
|
|
1419
|
-
|
|
1420
|
-
constructor:
|
|
1419
|
+
xt.prototype = _i.prototype = {
|
|
1420
|
+
constructor: xt,
|
|
1421
1421
|
select: cc,
|
|
1422
1422
|
selectAll: fc,
|
|
1423
1423
|
selectChild: yc,
|
|
@@ -1454,8 +1454,8 @@ Tt.prototype = _i.prototype = {
|
|
|
1454
1454
|
dispatch: Dh,
|
|
1455
1455
|
[Symbol.iterator]: Nh
|
|
1456
1456
|
};
|
|
1457
|
-
function
|
|
1458
|
-
return typeof t == "string" ? new
|
|
1457
|
+
function St(t) {
|
|
1458
|
+
return typeof t == "string" ? new xt([[document.querySelector(t)]], [document.documentElement]) : new xt([[t]], Is);
|
|
1459
1459
|
}
|
|
1460
1460
|
function Tn(t, e, i) {
|
|
1461
1461
|
t.prototype = e.prototype = i, i.constructor = t;
|
|
@@ -1467,7 +1467,7 @@ function Os(t, e) {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
function Ci() {
|
|
1469
1469
|
}
|
|
1470
|
-
var ui = 0.7,
|
|
1470
|
+
var ui = 0.7, Ki = 1 / ui, Le = "\\s*([+-]?\\d+)\\s*", di = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Pt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Rh = /^#([0-9a-f]{3,8})$/, qh = new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`), Ph = new RegExp(`^rgb\\(${Pt},${Pt},${Pt}\\)$`), zh = new RegExp(`^rgba\\(${Le},${Le},${Le},${di}\\)$`), Wh = new RegExp(`^rgba\\(${Pt},${Pt},${Pt},${di}\\)$`), Yh = new RegExp(`^hsl\\(${di},${Pt},${Pt}\\)$`), Hh = new RegExp(`^hsla\\(${di},${Pt},${Pt},${di}\\)$`), xo = {
|
|
1471
1471
|
aliceblue: 15792383,
|
|
1472
1472
|
antiquewhite: 16444375,
|
|
1473
1473
|
aqua: 65535,
|
|
@@ -1646,35 +1646,35 @@ function To() {
|
|
|
1646
1646
|
}
|
|
1647
1647
|
function fi(t) {
|
|
1648
1648
|
var e, i;
|
|
1649
|
-
return t = (t + "").trim().toLowerCase(), (e = Rh.exec(t)) ? (i = e[1].length, e = parseInt(e[1], 16), i === 6 ? ko(e) : i === 3 ? new
|
|
1649
|
+
return t = (t + "").trim().toLowerCase(), (e = Rh.exec(t)) ? (i = e[1].length, e = parseInt(e[1], 16), i === 6 ? ko(e) : i === 3 ? new yt(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : i === 8 ? Ei(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : i === 4 ? Ei(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = qh.exec(t)) ? new yt(e[1], e[2], e[3], 1) : (e = Ph.exec(t)) ? new yt(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = zh.exec(t)) ? Ei(e[1], e[2], e[3], e[4]) : (e = Wh.exec(t)) ? Ei(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = Yh.exec(t)) ? wo(e[1], e[2] / 100, e[3] / 100, 1) : (e = Hh.exec(t)) ? wo(e[1], e[2] / 100, e[3] / 100, e[4]) : xo.hasOwnProperty(t) ? ko(xo[t]) : t === "transparent" ? new yt(NaN, NaN, NaN, 0) : null;
|
|
1650
1650
|
}
|
|
1651
1651
|
function ko(t) {
|
|
1652
|
-
return new
|
|
1652
|
+
return new yt(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
|
|
1653
1653
|
}
|
|
1654
1654
|
function Ei(t, e, i, r) {
|
|
1655
|
-
return r <= 0 && (t = e = i = NaN), new
|
|
1655
|
+
return r <= 0 && (t = e = i = NaN), new yt(t, e, i, r);
|
|
1656
1656
|
}
|
|
1657
1657
|
function jh(t) {
|
|
1658
|
-
return t instanceof Ci || (t = fi(t)), t ? (t = t.rgb(), new
|
|
1658
|
+
return t instanceof Ci || (t = fi(t)), t ? (t = t.rgb(), new yt(t.r, t.g, t.b, t.opacity)) : new yt();
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1661
|
-
return arguments.length === 1 ? jh(t) : new
|
|
1660
|
+
function en(t, e, i, r) {
|
|
1661
|
+
return arguments.length === 1 ? jh(t) : new yt(t, e, i, r ?? 1);
|
|
1662
1662
|
}
|
|
1663
|
-
function
|
|
1663
|
+
function yt(t, e, i, r) {
|
|
1664
1664
|
this.r = +t, this.g = +e, this.b = +i, this.opacity = +r;
|
|
1665
1665
|
}
|
|
1666
|
-
Tn(
|
|
1666
|
+
Tn(yt, en, Os(Ci, {
|
|
1667
1667
|
brighter(t) {
|
|
1668
|
-
return t = t == null ?
|
|
1668
|
+
return t = t == null ? Ki : Math.pow(Ki, t), new yt(this.r * t, this.g * t, this.b * t, this.opacity);
|
|
1669
1669
|
},
|
|
1670
1670
|
darker(t) {
|
|
1671
|
-
return t = t == null ? ui : Math.pow(ui, t), new
|
|
1671
|
+
return t = t == null ? ui : Math.pow(ui, t), new yt(this.r * t, this.g * t, this.b * t, this.opacity);
|
|
1672
1672
|
},
|
|
1673
1673
|
rgb() {
|
|
1674
1674
|
return this;
|
|
1675
1675
|
},
|
|
1676
1676
|
clamp() {
|
|
1677
|
-
return new
|
|
1677
|
+
return new yt(me(this.r), me(this.g), me(this.b), Zi(this.opacity));
|
|
1678
1678
|
},
|
|
1679
1679
|
displayable() {
|
|
1680
1680
|
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;
|
|
@@ -1693,10 +1693,10 @@ function Gh() {
|
|
|
1693
1693
|
return `#${pe(this.r)}${pe(this.g)}${pe(this.b)}${pe((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
1694
1694
|
}
|
|
1695
1695
|
function vo() {
|
|
1696
|
-
const t =
|
|
1696
|
+
const t = Zi(this.opacity);
|
|
1697
1697
|
return `${t === 1 ? "rgb(" : "rgba("}${me(this.r)}, ${me(this.g)}, ${me(this.b)}${t === 1 ? ")" : `, ${t})`}`;
|
|
1698
1698
|
}
|
|
1699
|
-
function
|
|
1699
|
+
function Zi(t) {
|
|
1700
1700
|
return isNaN(t) ? 1 : Math.max(0, Math.min(1, t));
|
|
1701
1701
|
}
|
|
1702
1702
|
function me(t) {
|
|
@@ -1724,28 +1724,28 @@ function Ft(t, e, i, r) {
|
|
|
1724
1724
|
}
|
|
1725
1725
|
Tn(Ft, Vh, Os(Ci, {
|
|
1726
1726
|
brighter(t) {
|
|
1727
|
-
return t = t == null ?
|
|
1727
|
+
return t = t == null ? Ki : Math.pow(Ki, t), new Ft(this.h, this.s, this.l * t, this.opacity);
|
|
1728
1728
|
},
|
|
1729
1729
|
darker(t) {
|
|
1730
1730
|
return t = t == null ? ui : Math.pow(ui, t), new Ft(this.h, this.s, this.l * t, this.opacity);
|
|
1731
1731
|
},
|
|
1732
1732
|
rgb() {
|
|
1733
1733
|
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;
|
|
1734
|
-
return new
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1734
|
+
return new yt(
|
|
1735
|
+
qr(t >= 240 ? t - 240 : t + 120, n, r),
|
|
1736
|
+
qr(t, n, r),
|
|
1737
|
+
qr(t < 120 ? t + 240 : t - 120, n, r),
|
|
1738
1738
|
this.opacity
|
|
1739
1739
|
);
|
|
1740
1740
|
},
|
|
1741
1741
|
clamp() {
|
|
1742
|
-
return new Ft(Ao(this.h), Fi(this.s), Fi(this.l),
|
|
1742
|
+
return new Ft(Ao(this.h), Fi(this.s), Fi(this.l), Zi(this.opacity));
|
|
1743
1743
|
},
|
|
1744
1744
|
displayable() {
|
|
1745
1745
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
1746
1746
|
},
|
|
1747
1747
|
formatHsl() {
|
|
1748
|
-
const t =
|
|
1748
|
+
const t = Zi(this.opacity);
|
|
1749
1749
|
return `${t === 1 ? "hsl(" : "hsla("}${Ao(this.h)}, ${Fi(this.s) * 100}%, ${Fi(this.l) * 100}%${t === 1 ? ")" : `, ${t})`}`;
|
|
1750
1750
|
}
|
|
1751
1751
|
}));
|
|
@@ -1755,7 +1755,7 @@ function Ao(t) {
|
|
|
1755
1755
|
function Fi(t) {
|
|
1756
1756
|
return Math.max(0, Math.min(1, t || 0));
|
|
1757
1757
|
}
|
|
1758
|
-
function
|
|
1758
|
+
function qr(t, e, i) {
|
|
1759
1759
|
return (t < 60 ? e + (i - e) * t / 60 : t < 180 ? i : t < 240 ? e + (i - e) * (240 - t) / 60 : e) * 255;
|
|
1760
1760
|
}
|
|
1761
1761
|
const kn = (t) => () => t;
|
|
@@ -1785,7 +1785,7 @@ function Ns(t, e) {
|
|
|
1785
1785
|
const Bo = (function t(e) {
|
|
1786
1786
|
var i = Zh(e);
|
|
1787
1787
|
function r(n, s) {
|
|
1788
|
-
var o = i((n =
|
|
1788
|
+
var o = i((n = en(n)).r, (s = en(s)).r), a = i(n.g, s.g), l = i(n.b, s.b), c = Ns(n.opacity, s.opacity);
|
|
1789
1789
|
return function(u) {
|
|
1790
1790
|
return n.r = o(u), n.g = a(u), n.b = l(u), n.opacity = c(u), n + "";
|
|
1791
1791
|
};
|
|
@@ -1797,7 +1797,7 @@ function se(t, e) {
|
|
|
1797
1797
|
return t * (1 - i) + e * i;
|
|
1798
1798
|
};
|
|
1799
1799
|
}
|
|
1800
|
-
var
|
|
1800
|
+
var rn = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Pr = new RegExp(rn.source, "g");
|
|
1801
1801
|
function Jh(t) {
|
|
1802
1802
|
return function() {
|
|
1803
1803
|
return t;
|
|
@@ -1809,15 +1809,15 @@ function Qh(t) {
|
|
|
1809
1809
|
};
|
|
1810
1810
|
}
|
|
1811
1811
|
function tu(t, e) {
|
|
1812
|
-
var i =
|
|
1813
|
-
for (t = t + "", e = e + ""; (r =
|
|
1814
|
-
(s = n.index) > i && (s = e.slice(i, s), a[o] ? a[o] += s : a[++o] = s), (r = r[0]) === (n = n[0]) ? a[o] ? a[o] += n : a[++o] = n : (a[++o] = null, l.push({ i: o, x: se(r, n) })), i =
|
|
1812
|
+
var i = rn.lastIndex = Pr.lastIndex = 0, r, n, s, o = -1, a = [], l = [];
|
|
1813
|
+
for (t = t + "", e = e + ""; (r = rn.exec(t)) && (n = Pr.exec(e)); )
|
|
1814
|
+
(s = n.index) > i && (s = e.slice(i, s), a[o] ? a[o] += s : a[++o] = s), (r = r[0]) === (n = n[0]) ? a[o] ? a[o] += n : a[++o] = n : (a[++o] = null, l.push({ i: o, x: se(r, n) })), i = Pr.lastIndex;
|
|
1815
1815
|
return i < e.length && (s = e.slice(i), a[o] ? a[o] += s : a[++o] = s), a.length < 2 ? l[0] ? Qh(l[0].x) : Jh(e) : (e = l.length, function(c) {
|
|
1816
1816
|
for (var u = 0, d; u < e; ++u) a[(d = l[u]).i] = d.x(c);
|
|
1817
1817
|
return a.join("");
|
|
1818
1818
|
});
|
|
1819
1819
|
}
|
|
1820
|
-
var Lo = 180 / Math.PI,
|
|
1820
|
+
var Lo = 180 / Math.PI, nn = {
|
|
1821
1821
|
translateX: 0,
|
|
1822
1822
|
translateY: 0,
|
|
1823
1823
|
rotate: 0,
|
|
@@ -1839,10 +1839,10 @@ function $s(t, e, i, r, n, s) {
|
|
|
1839
1839
|
var Ii;
|
|
1840
1840
|
function eu(t) {
|
|
1841
1841
|
const e = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(t + "");
|
|
1842
|
-
return e.isIdentity ?
|
|
1842
|
+
return e.isIdentity ? nn : $s(e.a, e.b, e.c, e.d, e.e, e.f);
|
|
1843
1843
|
}
|
|
1844
1844
|
function iu(t) {
|
|
1845
|
-
return t == null || (Ii || (Ii = document.createElementNS("http://www.w3.org/2000/svg", "g")), Ii.setAttribute("transform", t), !(t = Ii.transform.baseVal.consolidate())) ?
|
|
1845
|
+
return t == null || (Ii || (Ii = document.createElementNS("http://www.w3.org/2000/svg", "g")), Ii.setAttribute("transform", t), !(t = Ii.transform.baseVal.consolidate())) ? nn : (t = t.matrix, $s(t.a, t.b, t.c, t.d, t.e, t.f));
|
|
1846
1846
|
}
|
|
1847
1847
|
function Rs(t, e, i, r) {
|
|
1848
1848
|
function n(c) {
|
|
@@ -1874,40 +1874,40 @@ function Rs(t, e, i, r) {
|
|
|
1874
1874
|
};
|
|
1875
1875
|
};
|
|
1876
1876
|
}
|
|
1877
|
-
var ru = Rs(eu, "px, ", "px)", "deg)"), nu = Rs(iu, ", ", ")", ")"), Me = 0, ei = 0, Ge = 0, qs = 1e3,
|
|
1877
|
+
var ru = Rs(eu, "px, ", "px)", "deg)"), nu = Rs(iu, ", ", ")", ")"), Me = 0, ei = 0, Ge = 0, qs = 1e3, Ji, ii, Qi = 0, _e = 0, mr = 0, pi = typeof performance == "object" && performance.now ? performance : Date, Ps = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
|
|
1878
1878
|
setTimeout(t, 17);
|
|
1879
1879
|
};
|
|
1880
1880
|
function Sn() {
|
|
1881
|
-
return _e || (Ps(ou), _e = pi.now() +
|
|
1881
|
+
return _e || (Ps(ou), _e = pi.now() + mr);
|
|
1882
1882
|
}
|
|
1883
1883
|
function ou() {
|
|
1884
1884
|
_e = 0;
|
|
1885
1885
|
}
|
|
1886
|
-
function
|
|
1886
|
+
function tr() {
|
|
1887
1887
|
this._call = this._time = this._next = null;
|
|
1888
1888
|
}
|
|
1889
|
-
|
|
1890
|
-
constructor:
|
|
1889
|
+
tr.prototype = zs.prototype = {
|
|
1890
|
+
constructor: tr,
|
|
1891
1891
|
restart: function(t, e, i) {
|
|
1892
1892
|
if (typeof t != "function") throw new TypeError("callback is not a function");
|
|
1893
|
-
i = (i == null ? Sn() : +i) + (e == null ? 0 : +e), !this._next && ii !== this && (ii ? ii._next = this :
|
|
1893
|
+
i = (i == null ? Sn() : +i) + (e == null ? 0 : +e), !this._next && ii !== this && (ii ? ii._next = this : Ji = this, ii = this), this._call = t, this._time = i, on();
|
|
1894
1894
|
},
|
|
1895
1895
|
stop: function() {
|
|
1896
|
-
this._call && (this._call = null, this._time = 1 / 0,
|
|
1896
|
+
this._call && (this._call = null, this._time = 1 / 0, on());
|
|
1897
1897
|
}
|
|
1898
1898
|
};
|
|
1899
1899
|
function zs(t, e, i) {
|
|
1900
|
-
var r = new
|
|
1900
|
+
var r = new tr();
|
|
1901
1901
|
return r.restart(t, e, i), r;
|
|
1902
1902
|
}
|
|
1903
1903
|
function su() {
|
|
1904
1904
|
Sn(), ++Me;
|
|
1905
|
-
for (var t =
|
|
1905
|
+
for (var t = Ji, e; t; )
|
|
1906
1906
|
(e = _e - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
|
|
1907
1907
|
--Me;
|
|
1908
1908
|
}
|
|
1909
1909
|
function Eo() {
|
|
1910
|
-
_e = (
|
|
1910
|
+
_e = (Qi = pi.now()) + mr, Me = ei = 0;
|
|
1911
1911
|
try {
|
|
1912
1912
|
su();
|
|
1913
1913
|
} finally {
|
|
@@ -1915,29 +1915,29 @@ function Eo() {
|
|
|
1915
1915
|
}
|
|
1916
1916
|
}
|
|
1917
1917
|
function au() {
|
|
1918
|
-
var t = pi.now(), e = t -
|
|
1919
|
-
e > qs && (
|
|
1918
|
+
var t = pi.now(), e = t - Qi;
|
|
1919
|
+
e > qs && (mr -= e, Qi = t);
|
|
1920
1920
|
}
|
|
1921
1921
|
function lu() {
|
|
1922
|
-
for (var t, e =
|
|
1923
|
-
e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (i = e._next, e._next = null, e = t ? t._next = i :
|
|
1924
|
-
ii = t,
|
|
1922
|
+
for (var t, e = Ji, i, r = 1 / 0; e; )
|
|
1923
|
+
e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (i = e._next, e._next = null, e = t ? t._next = i : Ji = i);
|
|
1924
|
+
ii = t, on(r);
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function on(t) {
|
|
1927
1927
|
if (!Me) {
|
|
1928
1928
|
ei && (ei = clearTimeout(ei));
|
|
1929
1929
|
var e = t - _e;
|
|
1930
|
-
e > 24 ? (t < 1 / 0 && (ei = setTimeout(Eo, t - pi.now() -
|
|
1930
|
+
e > 24 ? (t < 1 / 0 && (ei = setTimeout(Eo, t - pi.now() - mr)), Ge && (Ge = clearInterval(Ge))) : (Ge || (Qi = pi.now(), Ge = setInterval(au, qs)), Me = 1, Ps(Eo));
|
|
1931
1931
|
}
|
|
1932
1932
|
}
|
|
1933
1933
|
function Fo(t, e, i) {
|
|
1934
|
-
var r = new
|
|
1934
|
+
var r = new tr();
|
|
1935
1935
|
return e = e == null ? 0 : +e, r.restart((n) => {
|
|
1936
1936
|
r.stop(), t(n + e);
|
|
1937
1937
|
}, e, i), r;
|
|
1938
1938
|
}
|
|
1939
|
-
var cu = xs("start", "end", "cancel", "interrupt"), hu = [], Ws = 0, Io = 1,
|
|
1940
|
-
function
|
|
1939
|
+
var cu = xs("start", "end", "cancel", "interrupt"), hu = [], Ws = 0, Io = 1, sn = 2, Pi = 3, Oo = 4, an = 5, zi = 6;
|
|
1940
|
+
function yr(t, e, i, r, n, s) {
|
|
1941
1941
|
var o = t.__transition;
|
|
1942
1942
|
if (!o) t.__transition = {};
|
|
1943
1943
|
else if (i in o) return;
|
|
@@ -1988,16 +1988,16 @@ function uu(t, e, i) {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
if (Fo(function() {
|
|
1990
1990
|
i.state === Pi && (i.state = Oo, i.timer.restart(a, i.delay, i.time), a(c));
|
|
1991
|
-
}), i.state =
|
|
1991
|
+
}), i.state = sn, i.on.call("start", t, t.__data__, i.index, i.group), i.state === sn) {
|
|
1992
1992
|
for (i.state = Pi, n = new Array(h = i.tween.length), u = 0, d = -1; u < h; ++u)
|
|
1993
1993
|
(f = i.tween[u].value.call(t, t.__data__, i.index, i.group)) && (n[++d] = f);
|
|
1994
1994
|
n.length = d + 1;
|
|
1995
1995
|
}
|
|
1996
1996
|
}
|
|
1997
1997
|
function a(c) {
|
|
1998
|
-
for (var u = c < i.duration ? i.ease.call(null, c / i.duration) : (i.timer.restart(l), i.state =
|
|
1998
|
+
for (var u = c < i.duration ? i.ease.call(null, c / i.duration) : (i.timer.restart(l), i.state = an, 1), d = -1, h = n.length; ++d < h; )
|
|
1999
1999
|
n[d].call(t, u);
|
|
2000
|
-
i.state ===
|
|
2000
|
+
i.state === an && (i.on.call("end", t, t.__data__, i.index, i.group), l());
|
|
2001
2001
|
}
|
|
2002
2002
|
function l() {
|
|
2003
2003
|
i.state = zi, i.timer.stop(), delete r[e];
|
|
@@ -2014,7 +2014,7 @@ function du(t, e) {
|
|
|
2014
2014
|
s = !1;
|
|
2015
2015
|
continue;
|
|
2016
2016
|
}
|
|
2017
|
-
n = r.state >
|
|
2017
|
+
n = r.state > sn && r.state < an, r.state = zi, r.timer.stop(), r.on.call(n ? "interrupt" : "cancel", t, t.__data__, r.index, r.group), delete i[o];
|
|
2018
2018
|
}
|
|
2019
2019
|
s && delete t.__transition;
|
|
2020
2020
|
}
|
|
@@ -2118,7 +2118,7 @@ function Tu(t, e, i) {
|
|
|
2118
2118
|
};
|
|
2119
2119
|
}
|
|
2120
2120
|
function ku(t, e) {
|
|
2121
|
-
var i =
|
|
2121
|
+
var i = gr(t), r = i === "transform" ? nu : Ys;
|
|
2122
2122
|
return this.attrTween(t, typeof e == "function" ? (i.local ? Tu : bu)(i, r, wn(this, "attr." + t, e)) : e == null ? (i.local ? _u : yu)(i) : (i.local ? xu : Cu)(i, r, e));
|
|
2123
2123
|
}
|
|
2124
2124
|
function Su(t, e) {
|
|
@@ -2152,7 +2152,7 @@ function Bu(t, e) {
|
|
|
2152
2152
|
if (arguments.length < 2) return (i = this.tween(i)) && i._value;
|
|
2153
2153
|
if (e == null) return this.tween(i, null);
|
|
2154
2154
|
if (typeof e != "function") throw new Error();
|
|
2155
|
-
var r =
|
|
2155
|
+
var r = gr(t);
|
|
2156
2156
|
return this.tween(i, (r.local ? wu : Au)(r, e));
|
|
2157
2157
|
}
|
|
2158
2158
|
function Lu(t, e) {
|
|
@@ -2252,7 +2252,7 @@ function Xu(t) {
|
|
|
2252
2252
|
typeof t != "function" && (t = xn(t));
|
|
2253
2253
|
for (var r = this._groups, n = r.length, s = new Array(n), o = 0; o < n; ++o)
|
|
2254
2254
|
for (var a = r[o], l = a.length, c = s[o] = new Array(l), u, d, h = 0; h < l; ++h)
|
|
2255
|
-
(u = a[h]) && (d = t.call(u, u.__data__, h, a)) && ("__data__" in u && (d.__data__ = u.__data__), c[h] = d,
|
|
2255
|
+
(u = a[h]) && (d = t.call(u, u.__data__, h, a)) && ("__data__" in u && (d.__data__ = u.__data__), c[h] = d, yr(c[h], e, i, h, c, Ot(u, i)));
|
|
2256
2256
|
return new ee(s, this._parents, e, i);
|
|
2257
2257
|
}
|
|
2258
2258
|
function ju(t) {
|
|
@@ -2262,7 +2262,7 @@ function ju(t) {
|
|
|
2262
2262
|
for (var l = r[a], c = l.length, u, d = 0; d < c; ++d)
|
|
2263
2263
|
if (u = l[d]) {
|
|
2264
2264
|
for (var h = t.call(u, u.__data__, d, l), f, m = Ot(u, i), y = 0, C = h.length; y < C; ++y)
|
|
2265
|
-
(f = h[y]) &&
|
|
2265
|
+
(f = h[y]) && yr(f, e, i, y, h, m);
|
|
2266
2266
|
s.push(h), o.push(u);
|
|
2267
2267
|
}
|
|
2268
2268
|
return new ee(s, o, e, i);
|
|
@@ -2367,7 +2367,7 @@ function hd() {
|
|
|
2367
2367
|
for (var o = r[s], a = o.length, l, c = 0; c < a; ++c)
|
|
2368
2368
|
if (l = o[c]) {
|
|
2369
2369
|
var u = Ot(l, e);
|
|
2370
|
-
|
|
2370
|
+
yr(l, t, i, c, o, {
|
|
2371
2371
|
time: u.time + u.delay + u.duration,
|
|
2372
2372
|
delay: 0,
|
|
2373
2373
|
duration: u.duration,
|
|
@@ -2449,7 +2449,7 @@ function md(t) {
|
|
|
2449
2449
|
t instanceof ee ? (e = t._id, t = t._name) : (e = Us(), (i = pd).time = Sn(), t = t == null ? null : t + "");
|
|
2450
2450
|
for (var r = this._groups, n = r.length, s = 0; s < n; ++s)
|
|
2451
2451
|
for (var o = r[s], a = o.length, l, c = 0; c < a; ++c)
|
|
2452
|
-
(l = o[c]) &&
|
|
2452
|
+
(l = o[c]) && yr(l, t, e, c, o, i || gd(l, e));
|
|
2453
2453
|
return new ee(r, this._parents, t, e);
|
|
2454
2454
|
}
|
|
2455
2455
|
_i.prototype.interrupt = fu;
|
|
@@ -2535,7 +2535,7 @@ function Cd(t) {
|
|
|
2535
2535
|
}
|
|
2536
2536
|
function ce() {
|
|
2537
2537
|
}
|
|
2538
|
-
function
|
|
2538
|
+
function er(t, e, i) {
|
|
2539
2539
|
t._context.bezierCurveTo(
|
|
2540
2540
|
(2 * t._x0 + t._x1) / 3,
|
|
2541
2541
|
(2 * t._y0 + t._y1) / 3,
|
|
@@ -2545,10 +2545,10 @@ function ir(t, e, i) {
|
|
|
2545
2545
|
(t._y0 + 4 * t._y1 + i) / 6
|
|
2546
2546
|
);
|
|
2547
2547
|
}
|
|
2548
|
-
function
|
|
2548
|
+
function _r(t) {
|
|
2549
2549
|
this._context = t;
|
|
2550
2550
|
}
|
|
2551
|
-
|
|
2551
|
+
_r.prototype = {
|
|
2552
2552
|
areaStart: function() {
|
|
2553
2553
|
this._line = 0;
|
|
2554
2554
|
},
|
|
@@ -2561,7 +2561,7 @@ Cr.prototype = {
|
|
|
2561
2561
|
lineEnd: function() {
|
|
2562
2562
|
switch (this._point) {
|
|
2563
2563
|
case 3:
|
|
2564
|
-
|
|
2564
|
+
er(this, this._x1, this._y1);
|
|
2565
2565
|
// falls through
|
|
2566
2566
|
case 2:
|
|
2567
2567
|
this._context.lineTo(this._x1, this._y1);
|
|
@@ -2581,14 +2581,14 @@ Cr.prototype = {
|
|
|
2581
2581
|
this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
|
|
2582
2582
|
// falls through
|
|
2583
2583
|
default:
|
|
2584
|
-
|
|
2584
|
+
er(this, t, e);
|
|
2585
2585
|
break;
|
|
2586
2586
|
}
|
|
2587
2587
|
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
|
|
2588
2588
|
}
|
|
2589
2589
|
};
|
|
2590
2590
|
function xd(t) {
|
|
2591
|
-
return new
|
|
2591
|
+
return new _r(t);
|
|
2592
2592
|
}
|
|
2593
2593
|
function Gs(t) {
|
|
2594
2594
|
this._context = t;
|
|
@@ -2627,7 +2627,7 @@ Gs.prototype = {
|
|
|
2627
2627
|
this._point = 3, this._x4 = t, this._y4 = e, this._context.moveTo((this._x0 + 4 * this._x1 + t) / 6, (this._y0 + 4 * this._y1 + e) / 6);
|
|
2628
2628
|
break;
|
|
2629
2629
|
default:
|
|
2630
|
-
|
|
2630
|
+
er(this, t, e);
|
|
2631
2631
|
break;
|
|
2632
2632
|
}
|
|
2633
2633
|
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
|
|
@@ -2669,7 +2669,7 @@ Vs.prototype = {
|
|
|
2669
2669
|
this._point = 4;
|
|
2670
2670
|
// falls through
|
|
2671
2671
|
default:
|
|
2672
|
-
|
|
2672
|
+
er(this, t, e);
|
|
2673
2673
|
break;
|
|
2674
2674
|
}
|
|
2675
2675
|
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
|
|
@@ -2679,7 +2679,7 @@ function Td(t) {
|
|
|
2679
2679
|
return new Vs(t);
|
|
2680
2680
|
}
|
|
2681
2681
|
function Ks(t, e) {
|
|
2682
|
-
this._basis = new
|
|
2682
|
+
this._basis = new _r(t), this._beta = e;
|
|
2683
2683
|
}
|
|
2684
2684
|
Ks.prototype = {
|
|
2685
2685
|
lineStart: function() {
|
|
@@ -2701,13 +2701,13 @@ Ks.prototype = {
|
|
|
2701
2701
|
};
|
|
2702
2702
|
const kd = (function t(e) {
|
|
2703
2703
|
function i(r) {
|
|
2704
|
-
return e === 1 ? new
|
|
2704
|
+
return e === 1 ? new _r(r) : new Ks(r, e);
|
|
2705
2705
|
}
|
|
2706
2706
|
return i.beta = function(r) {
|
|
2707
2707
|
return t(+r);
|
|
2708
2708
|
}, i;
|
|
2709
2709
|
})(0.85);
|
|
2710
|
-
function
|
|
2710
|
+
function ir(t, e, i) {
|
|
2711
2711
|
t._context.bezierCurveTo(
|
|
2712
2712
|
t._x1 + t._k * (t._x2 - t._x0),
|
|
2713
2713
|
t._y1 + t._k * (t._y2 - t._y0),
|
|
@@ -2736,7 +2736,7 @@ Bn.prototype = {
|
|
|
2736
2736
|
this._context.lineTo(this._x2, this._y2);
|
|
2737
2737
|
break;
|
|
2738
2738
|
case 3:
|
|
2739
|
-
|
|
2739
|
+
ir(this, this._x1, this._y1);
|
|
2740
2740
|
break;
|
|
2741
2741
|
}
|
|
2742
2742
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
@@ -2753,7 +2753,7 @@ Bn.prototype = {
|
|
|
2753
2753
|
this._point = 3;
|
|
2754
2754
|
// falls through
|
|
2755
2755
|
default:
|
|
2756
|
-
|
|
2756
|
+
ir(this, t, e);
|
|
2757
2757
|
break;
|
|
2758
2758
|
}
|
|
2759
2759
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
@@ -2804,7 +2804,7 @@ Ln.prototype = {
|
|
|
2804
2804
|
this._point = 3, this._x5 = t, this._y5 = e;
|
|
2805
2805
|
break;
|
|
2806
2806
|
default:
|
|
2807
|
-
|
|
2807
|
+
ir(this, t, e);
|
|
2808
2808
|
break;
|
|
2809
2809
|
}
|
|
2810
2810
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
@@ -2849,7 +2849,7 @@ En.prototype = {
|
|
|
2849
2849
|
this._point = 4;
|
|
2850
2850
|
// falls through
|
|
2851
2851
|
default:
|
|
2852
|
-
|
|
2852
|
+
ir(this, t, e);
|
|
2853
2853
|
break;
|
|
2854
2854
|
}
|
|
2855
2855
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
@@ -3063,14 +3063,14 @@ function Ro(t, e) {
|
|
|
3063
3063
|
var i = t._x1 - t._x0;
|
|
3064
3064
|
return i ? (3 * (t._y1 - t._y0) / i - e) / 2 : e;
|
|
3065
3065
|
}
|
|
3066
|
-
function
|
|
3066
|
+
function zr(t, e, i) {
|
|
3067
3067
|
var r = t._x0, n = t._y0, s = t._x1, o = t._y1, a = (s - r) / 3;
|
|
3068
3068
|
t._context.bezierCurveTo(r + a, n + a * e, s - a, o - a * i, s, o);
|
|
3069
3069
|
}
|
|
3070
|
-
function
|
|
3070
|
+
function rr(t) {
|
|
3071
3071
|
this._context = t;
|
|
3072
3072
|
}
|
|
3073
|
-
|
|
3073
|
+
rr.prototype = {
|
|
3074
3074
|
areaStart: function() {
|
|
3075
3075
|
this._line = 0;
|
|
3076
3076
|
},
|
|
@@ -3086,7 +3086,7 @@ nr.prototype = {
|
|
|
3086
3086
|
this._context.lineTo(this._x1, this._y1);
|
|
3087
3087
|
break;
|
|
3088
3088
|
case 3:
|
|
3089
|
-
|
|
3089
|
+
zr(this, this._t0, Ro(this, this._t0));
|
|
3090
3090
|
break;
|
|
3091
3091
|
}
|
|
3092
3092
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
@@ -3102,10 +3102,10 @@ nr.prototype = {
|
|
|
3102
3102
|
this._point = 2;
|
|
3103
3103
|
break;
|
|
3104
3104
|
case 2:
|
|
3105
|
-
this._point = 3,
|
|
3105
|
+
this._point = 3, zr(this, Ro(this, i = $o(this, t, e)), i);
|
|
3106
3106
|
break;
|
|
3107
3107
|
default:
|
|
3108
|
-
|
|
3108
|
+
zr(this, this._t0, i = $o(this, t, e));
|
|
3109
3109
|
break;
|
|
3110
3110
|
}
|
|
3111
3111
|
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e, this._t0 = i;
|
|
@@ -3115,8 +3115,8 @@ nr.prototype = {
|
|
|
3115
3115
|
function ea(t) {
|
|
3116
3116
|
this._context = new ia(t);
|
|
3117
3117
|
}
|
|
3118
|
-
(ea.prototype = Object.create(
|
|
3119
|
-
|
|
3118
|
+
(ea.prototype = Object.create(rr.prototype)).point = function(t, e) {
|
|
3119
|
+
rr.prototype.point.call(this, e, t);
|
|
3120
3120
|
};
|
|
3121
3121
|
function ia(t) {
|
|
3122
3122
|
this._context = t;
|
|
@@ -3136,7 +3136,7 @@ ia.prototype = {
|
|
|
3136
3136
|
}
|
|
3137
3137
|
};
|
|
3138
3138
|
function Fd(t) {
|
|
3139
|
-
return new
|
|
3139
|
+
return new rr(t);
|
|
3140
3140
|
}
|
|
3141
3141
|
function Id(t) {
|
|
3142
3142
|
return new ea(t);
|
|
@@ -3179,10 +3179,10 @@ function qo(t) {
|
|
|
3179
3179
|
function Od(t) {
|
|
3180
3180
|
return new ra(t);
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3182
|
+
function Cr(t, e) {
|
|
3183
3183
|
this._context = t, this._t = e;
|
|
3184
3184
|
}
|
|
3185
|
-
|
|
3185
|
+
Cr.prototype = {
|
|
3186
3186
|
areaStart: function() {
|
|
3187
3187
|
this._line = 0;
|
|
3188
3188
|
},
|
|
@@ -3217,13 +3217,13 @@ xr.prototype = {
|
|
|
3217
3217
|
}
|
|
3218
3218
|
};
|
|
3219
3219
|
function Md(t) {
|
|
3220
|
-
return new
|
|
3220
|
+
return new Cr(t, 0.5);
|
|
3221
3221
|
}
|
|
3222
3222
|
function Dd(t) {
|
|
3223
|
-
return new
|
|
3223
|
+
return new Cr(t, 0);
|
|
3224
3224
|
}
|
|
3225
3225
|
function Nd(t) {
|
|
3226
|
-
return new
|
|
3226
|
+
return new Cr(t, 1);
|
|
3227
3227
|
}
|
|
3228
3228
|
function ri(t, e, i) {
|
|
3229
3229
|
this.k = t, this.x = e, this.y = i;
|
|
@@ -3265,7 +3265,7 @@ ri.prototype = {
|
|
|
3265
3265
|
}
|
|
3266
3266
|
};
|
|
3267
3267
|
ri.prototype;
|
|
3268
|
-
/*! @license DOMPurify 3.3.
|
|
3268
|
+
/*! @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 */
|
|
3269
3269
|
const {
|
|
3270
3270
|
entries: na,
|
|
3271
3271
|
setPrototypeOf: Po,
|
|
@@ -3275,8 +3275,8 @@ const {
|
|
|
3275
3275
|
} = Object;
|
|
3276
3276
|
let {
|
|
3277
3277
|
freeze: ft,
|
|
3278
|
-
seal:
|
|
3279
|
-
create:
|
|
3278
|
+
seal: vt,
|
|
3279
|
+
create: ln
|
|
3280
3280
|
} = Object, {
|
|
3281
3281
|
apply: cn,
|
|
3282
3282
|
construct: hn
|
|
@@ -3284,7 +3284,7 @@ let {
|
|
|
3284
3284
|
ft || (ft = function(e) {
|
|
3285
3285
|
return e;
|
|
3286
3286
|
});
|
|
3287
|
-
|
|
3287
|
+
vt || (vt = function(e) {
|
|
3288
3288
|
return e;
|
|
3289
3289
|
});
|
|
3290
3290
|
cn || (cn = function(e, i) {
|
|
@@ -3297,7 +3297,7 @@ hn || (hn = function(e) {
|
|
|
3297
3297
|
r[n - 1] = arguments[n];
|
|
3298
3298
|
return new e(...r);
|
|
3299
3299
|
});
|
|
3300
|
-
const Oi = pt(Array.prototype.forEach), Pd = pt(Array.prototype.lastIndexOf), zo = pt(Array.prototype.pop), Ve = pt(Array.prototype.push), zd = pt(Array.prototype.splice),
|
|
3300
|
+
const Oi = pt(Array.prototype.forEach), Pd = pt(Array.prototype.lastIndexOf), zo = pt(Array.prototype.pop), Ve = pt(Array.prototype.push), zd = pt(Array.prototype.splice), Wi = pt(String.prototype.toLowerCase), Wr = pt(String.prototype.toString), Yr = pt(String.prototype.match), Ke = pt(String.prototype.replace), Wd = pt(String.prototype.indexOf), Yd = pt(String.prototype.trim), Et = pt(Object.prototype.hasOwnProperty), ht = pt(RegExp.prototype.test), Ze = Hd(TypeError);
|
|
3301
3301
|
function pt(t) {
|
|
3302
3302
|
return function(e) {
|
|
3303
3303
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -3314,7 +3314,7 @@ function Hd(t) {
|
|
|
3314
3314
|
};
|
|
3315
3315
|
}
|
|
3316
3316
|
function H(t, e) {
|
|
3317
|
-
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
3317
|
+
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Wi;
|
|
3318
3318
|
Po && Po(t, null);
|
|
3319
3319
|
let r = e.length;
|
|
3320
3320
|
for (; r--; ) {
|
|
@@ -3329,13 +3329,13 @@ function H(t, e) {
|
|
|
3329
3329
|
}
|
|
3330
3330
|
function Ud(t) {
|
|
3331
3331
|
for (let e = 0; e < t.length; e++)
|
|
3332
|
-
|
|
3332
|
+
Et(t, e) || (t[e] = null);
|
|
3333
3333
|
return t;
|
|
3334
3334
|
}
|
|
3335
3335
|
function $t(t) {
|
|
3336
|
-
const e =
|
|
3336
|
+
const e = ln(null);
|
|
3337
3337
|
for (const [i, r] of na(t))
|
|
3338
|
-
|
|
3338
|
+
Et(t, i) && (Array.isArray(r) ? e[i] = Ud(r) : r && typeof r == "object" && r.constructor === Object ? e[i] = $t(r) : e[i] = r);
|
|
3339
3339
|
return e;
|
|
3340
3340
|
}
|
|
3341
3341
|
function Je(t, e) {
|
|
@@ -3354,13 +3354,13 @@ function Je(t, e) {
|
|
|
3354
3354
|
}
|
|
3355
3355
|
return i;
|
|
3356
3356
|
}
|
|
3357
|
-
const Wo = ft(["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"]),
|
|
3357
|
+
const Wo = ft(["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"]), Hr = ft(["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"]), Ur = ft(["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"]), Xd = ft(["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"]), Xr = ft(["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"]), jd = ft(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Yo = ft(["#text"]), Ho = ft(["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"]), jr = ft(["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"]), Uo = ft(["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"]), Mi = ft(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Gd = vt(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Vd = vt(/<%[\w\W]*|[\w\W]*%>/gm), Kd = vt(/\$\{[\w\W]*/gm), Zd = vt(/^data-[\-\w.\u00B7-\uFFFF]+$/), Jd = vt(/^aria-[\-\w]+$/), oa = vt(
|
|
3358
3358
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
3359
3359
|
// eslint-disable-line no-useless-escape
|
|
3360
|
-
), Qd =
|
|
3360
|
+
), Qd = vt(/^(?:\w+script|data):/i), tf = vt(
|
|
3361
3361
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
3362
3362
|
// eslint-disable-line no-control-regex
|
|
3363
|
-
), sa =
|
|
3363
|
+
), sa = vt(/^html$/i), ef = vt(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
3364
3364
|
var Xo = /* @__PURE__ */ Object.freeze({
|
|
3365
3365
|
__proto__: null,
|
|
3366
3366
|
ARIA_ATTR: Jd,
|
|
@@ -3418,7 +3418,7 @@ const Qe = {
|
|
|
3418
3418
|
function aa() {
|
|
3419
3419
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : rf();
|
|
3420
3420
|
const e = (O) => aa(O);
|
|
3421
|
-
if (e.version = "3.3.
|
|
3421
|
+
if (e.version = "3.3.1", e.removed = [], !t || !t.document || t.document.nodeType !== Qe.document || !t.Element)
|
|
3422
3422
|
return e.isSupported = !1, e;
|
|
3423
3423
|
let {
|
|
3424
3424
|
document: i
|
|
@@ -3462,10 +3462,10 @@ function aa() {
|
|
|
3462
3462
|
let {
|
|
3463
3463
|
IS_ALLOWED_URI: W
|
|
3464
3464
|
} = Xo, z = null;
|
|
3465
|
-
const G = H({}, [...Wo, ...
|
|
3465
|
+
const G = H({}, [...Wo, ...Hr, ...Ur, ...Xr, ...Yo]);
|
|
3466
3466
|
let U = null;
|
|
3467
|
-
const et = H({}, [...Ho, ...
|
|
3468
|
-
let j = Object.seal(
|
|
3467
|
+
const et = H({}, [...Ho, ...jr, ...Uo, ...Mi]);
|
|
3468
|
+
let j = Object.seal(ln(null, {
|
|
3469
3469
|
tagNameCheck: {
|
|
3470
3470
|
writable: !0,
|
|
3471
3471
|
configurable: !1,
|
|
@@ -3484,8 +3484,8 @@ function aa() {
|
|
|
3484
3484
|
enumerable: !0,
|
|
3485
3485
|
value: !1
|
|
3486
3486
|
}
|
|
3487
|
-
})),
|
|
3488
|
-
const
|
|
3487
|
+
})), bt = null, At = null;
|
|
3488
|
+
const Tt = Object.seal(ln(null, {
|
|
3489
3489
|
tagCheck: {
|
|
3490
3490
|
writable: !0,
|
|
3491
3491
|
configurable: !1,
|
|
@@ -3499,16 +3499,16 @@ function aa() {
|
|
|
3499
3499
|
value: null
|
|
3500
3500
|
}
|
|
3501
3501
|
}));
|
|
3502
|
-
let Mt = !0, rt = !0,
|
|
3502
|
+
let Mt = !0, rt = !0, Bt = !1, re = !0, Lt = !1, Ti = !0, ue = !1, Br = !1, Lr = !1, xe = !1, ki = !1, Si = !1, Zn = !0, Jn = !1;
|
|
3503
3503
|
const Al = "user-content-";
|
|
3504
|
-
let
|
|
3505
|
-
const
|
|
3504
|
+
let Er = !0, Ue = !1, be = {}, Dt = null;
|
|
3505
|
+
const Fr = H({}, ["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"]);
|
|
3506
3506
|
let Qn = null;
|
|
3507
3507
|
const to = H({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
3508
|
-
let
|
|
3508
|
+
let Ir = null;
|
|
3509
3509
|
const eo = H({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), vi = "http://www.w3.org/1998/Math/MathML", wi = "http://www.w3.org/2000/svg", Xt = "http://www.w3.org/1999/xhtml";
|
|
3510
|
-
let Te = Xt,
|
|
3511
|
-
const Bl = H({}, [vi, wi, Xt],
|
|
3510
|
+
let Te = Xt, Or = !1, Mr = null;
|
|
3511
|
+
const Bl = H({}, [vi, wi, Xt], Wr);
|
|
3512
3512
|
let Ai = H({}, ["mi", "mo", "mn", "ms", "mtext"]), Bi = H({}, ["annotation-xml"]);
|
|
3513
3513
|
const Ll = H({}, ["title", "style", "font", "a", "script"]);
|
|
3514
3514
|
let Xe = null;
|
|
@@ -3516,11 +3516,11 @@ function aa() {
|
|
|
3516
3516
|
let it = null, ke = null;
|
|
3517
3517
|
const Il = i.createElement("form"), io = function(p) {
|
|
3518
3518
|
return p instanceof RegExp || p instanceof Function;
|
|
3519
|
-
},
|
|
3519
|
+
}, Dr = function() {
|
|
3520
3520
|
let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3521
3521
|
if (!(ke && ke === p)) {
|
|
3522
3522
|
if ((!p || typeof p != "object") && (p = {}), p = $t(p), Xe = // eslint-disable-next-line unicorn/prefer-includes
|
|
3523
|
-
El.indexOf(p.PARSER_MEDIA_TYPE) === -1 ? Fl : p.PARSER_MEDIA_TYPE, it = Xe === "application/xhtml+xml" ?
|
|
3523
|
+
El.indexOf(p.PARSER_MEDIA_TYPE) === -1 ? Fl : p.PARSER_MEDIA_TYPE, it = Xe === "application/xhtml+xml" ? Wr : Wi, z = Et(p, "ALLOWED_TAGS") ? H({}, p.ALLOWED_TAGS, it) : G, U = Et(p, "ALLOWED_ATTR") ? H({}, p.ALLOWED_ATTR, it) : et, Mr = Et(p, "ALLOWED_NAMESPACES") ? H({}, p.ALLOWED_NAMESPACES, Wr) : Bl, Ir = Et(p, "ADD_URI_SAFE_ATTR") ? H($t(eo), p.ADD_URI_SAFE_ATTR, it) : eo, Qn = Et(p, "ADD_DATA_URI_TAGS") ? H($t(to), p.ADD_DATA_URI_TAGS, it) : to, Dt = Et(p, "FORBID_CONTENTS") ? H({}, p.FORBID_CONTENTS, it) : Fr, bt = Et(p, "FORBID_TAGS") ? H({}, p.FORBID_TAGS, it) : $t({}), At = Et(p, "FORBID_ATTR") ? H({}, p.FORBID_ATTR, it) : $t({}), be = Et(p, "USE_PROFILES") ? p.USE_PROFILES : !1, Mt = p.ALLOW_ARIA_ATTR !== !1, rt = p.ALLOW_DATA_ATTR !== !1, Bt = p.ALLOW_UNKNOWN_PROTOCOLS || !1, re = p.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Lt = p.SAFE_FOR_TEMPLATES || !1, Ti = p.SAFE_FOR_XML !== !1, ue = p.WHOLE_DOCUMENT || !1, xe = p.RETURN_DOM || !1, ki = p.RETURN_DOM_FRAGMENT || !1, Si = p.RETURN_TRUSTED_TYPE || !1, Lr = p.FORCE_BODY || !1, Zn = p.SANITIZE_DOM !== !1, Jn = p.SANITIZE_NAMED_PROPS || !1, Er = p.KEEP_CONTENT !== !1, Ue = p.IN_PLACE || !1, W = p.ALLOWED_URI_REGEXP || oa, Te = p.NAMESPACE || Xt, Ai = p.MATHML_TEXT_INTEGRATION_POINTS || Ai, Bi = p.HTML_INTEGRATION_POINTS || Bi, j = p.CUSTOM_ELEMENT_HANDLING || {}, p.CUSTOM_ELEMENT_HANDLING && io(p.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (j.tagNameCheck = p.CUSTOM_ELEMENT_HANDLING.tagNameCheck), p.CUSTOM_ELEMENT_HANDLING && io(p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (j.attributeNameCheck = p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), p.CUSTOM_ELEMENT_HANDLING && typeof p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (j.allowCustomizedBuiltInElements = p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Lt && (rt = !1), ki && (xe = !0), be && (z = H({}, Yo), U = [], be.html === !0 && (H(z, Wo), H(U, Ho)), be.svg === !0 && (H(z, Hr), H(U, jr), H(U, Mi)), be.svgFilters === !0 && (H(z, Ur), H(U, jr), H(U, Mi)), be.mathMl === !0 && (H(z, Xr), H(U, Uo), H(U, Mi))), p.ADD_TAGS && (typeof p.ADD_TAGS == "function" ? Tt.tagCheck = p.ADD_TAGS : (z === G && (z = $t(z)), H(z, p.ADD_TAGS, it))), p.ADD_ATTR && (typeof p.ADD_ATTR == "function" ? Tt.attributeCheck = p.ADD_ATTR : (U === et && (U = $t(U)), H(U, p.ADD_ATTR, it))), p.ADD_URI_SAFE_ATTR && H(Ir, p.ADD_URI_SAFE_ATTR, it), p.FORBID_CONTENTS && (Dt === Fr && (Dt = $t(Dt)), H(Dt, p.FORBID_CONTENTS, it)), p.ADD_FORBID_CONTENTS && (Dt === Fr && (Dt = $t(Dt)), H(Dt, p.ADD_FORBID_CONTENTS, it)), Er && (z["#text"] = !0), ue && H(z, ["html", "head", "body"]), z.table && (H(z, ["tbody"]), delete bt.tbody), p.TRUSTED_TYPES_POLICY) {
|
|
3524
3524
|
if (typeof p.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3525
3525
|
throw Ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3526
3526
|
if (typeof p.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -3530,14 +3530,14 @@ function aa() {
|
|
|
3530
3530
|
x === void 0 && (x = nf(f, n)), x !== null && typeof S == "string" && (S = x.createHTML(""));
|
|
3531
3531
|
ft && ft(p), ke = p;
|
|
3532
3532
|
}
|
|
3533
|
-
}, ro = H({}, [...
|
|
3533
|
+
}, ro = H({}, [...Hr, ...Ur, ...Xd]), no = H({}, [...Xr, ...jd]), Ol = function(p) {
|
|
3534
3534
|
let _ = R(p);
|
|
3535
3535
|
(!_ || !_.tagName) && (_ = {
|
|
3536
3536
|
namespaceURI: Te,
|
|
3537
3537
|
tagName: "template"
|
|
3538
3538
|
});
|
|
3539
|
-
const B =
|
|
3540
|
-
return
|
|
3539
|
+
const B = Wi(p.tagName), V = Wi(_.tagName);
|
|
3540
|
+
return Mr[p.namespaceURI] ? p.namespaceURI === wi ? _.namespaceURI === Xt ? B === "svg" : _.namespaceURI === vi ? B === "svg" && (V === "annotation-xml" || Ai[V]) : !!ro[B] : p.namespaceURI === vi ? _.namespaceURI === Xt ? B === "math" : _.namespaceURI === wi ? B === "math" && Bi[V] : !!no[B] : p.namespaceURI === Xt ? _.namespaceURI === wi && !Bi[V] || _.namespaceURI === vi && !Ai[V] ? !1 : !no[B] && (Ll[B] || !ro[B]) : !!(Xe === "application/xhtml+xml" && Mr[p.namespaceURI]) : !1;
|
|
3541
3541
|
}, Nt = function(p) {
|
|
3542
3542
|
Ve(e.removed, {
|
|
3543
3543
|
element: p
|
|
@@ -3572,10 +3572,10 @@ function aa() {
|
|
|
3572
3572
|
}
|
|
3573
3573
|
}, oo = function(p) {
|
|
3574
3574
|
let _ = null, B = null;
|
|
3575
|
-
if (
|
|
3575
|
+
if (Lr)
|
|
3576
3576
|
p = "<remove></remove>" + p;
|
|
3577
3577
|
else {
|
|
3578
|
-
const K =
|
|
3578
|
+
const K = Yr(p, /^[\r\n\t ]+/);
|
|
3579
3579
|
B = K && K[0];
|
|
3580
3580
|
}
|
|
3581
3581
|
Xe === "application/xhtml+xml" && Te === Xt && (p = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + p + "</body></html>");
|
|
@@ -3588,7 +3588,7 @@ function aa() {
|
|
|
3588
3588
|
if (!_ || !_.documentElement) {
|
|
3589
3589
|
_ = X.createDocument(Te, "template", null);
|
|
3590
3590
|
try {
|
|
3591
|
-
_.documentElement.innerHTML =
|
|
3591
|
+
_.documentElement.innerHTML = Or ? S : V;
|
|
3592
3592
|
} catch {
|
|
3593
3593
|
}
|
|
3594
3594
|
}
|
|
@@ -3602,7 +3602,7 @@ function aa() {
|
|
|
3602
3602
|
c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
|
|
3603
3603
|
null
|
|
3604
3604
|
);
|
|
3605
|
-
},
|
|
3605
|
+
}, Nr = function(p) {
|
|
3606
3606
|
return p instanceof d && (typeof p.nodeName != "string" || typeof p.textContent != "string" || typeof p.removeChild != "function" || !(p.attributes instanceof u) || typeof p.removeAttribute != "function" || typeof p.setAttribute != "function" || typeof p.namespaceURI != "string" || typeof p.insertBefore != "function" || typeof p.hasChildNodes != "function");
|
|
3607
3607
|
}, ao = function(p) {
|
|
3608
3608
|
return typeof a == "function" && p instanceof a;
|
|
@@ -3614,7 +3614,7 @@ function aa() {
|
|
|
3614
3614
|
}
|
|
3615
3615
|
const lo = function(p) {
|
|
3616
3616
|
let _ = null;
|
|
3617
|
-
if (jt(A.beforeSanitizeElements, p, null),
|
|
3617
|
+
if (jt(A.beforeSanitizeElements, p, null), Nr(p))
|
|
3618
3618
|
return Nt(p), !0;
|
|
3619
3619
|
const B = it(p.nodeName);
|
|
3620
3620
|
if (jt(A.uponSanitizeElement, p, {
|
|
@@ -3622,33 +3622,33 @@ function aa() {
|
|
|
3622
3622
|
allowedTags: z
|
|
3623
3623
|
}), Ti && p.hasChildNodes() && !ao(p.firstElementChild) && ht(/<[/\w!]/g, p.innerHTML) && ht(/<[/\w!]/g, p.textContent) || p.nodeType === Qe.progressingInstruction || Ti && p.nodeType === Qe.comment && ht(/<[/\w]/g, p.data))
|
|
3624
3624
|
return Nt(p), !0;
|
|
3625
|
-
if (!(
|
|
3626
|
-
if (!
|
|
3625
|
+
if (!(Tt.tagCheck instanceof Function && Tt.tagCheck(B)) && (!z[B] || bt[B])) {
|
|
3626
|
+
if (!bt[B] && ho(B) && (j.tagNameCheck instanceof RegExp && ht(j.tagNameCheck, B) || j.tagNameCheck instanceof Function && j.tagNameCheck(B)))
|
|
3627
3627
|
return !1;
|
|
3628
|
-
if (
|
|
3628
|
+
if (Er && !Dt[B]) {
|
|
3629
3629
|
const V = R(p) || p.parentNode, st = b(p) || p.childNodes;
|
|
3630
3630
|
if (st && V) {
|
|
3631
3631
|
const K = st.length;
|
|
3632
|
-
for (let
|
|
3633
|
-
const Gt = y(st[
|
|
3632
|
+
for (let gt = K - 1; gt >= 0; --gt) {
|
|
3633
|
+
const Gt = y(st[gt], !0);
|
|
3634
3634
|
Gt.__removalCount = (p.__removalCount || 0) + 1, V.insertBefore(Gt, L(p));
|
|
3635
3635
|
}
|
|
3636
3636
|
}
|
|
3637
3637
|
}
|
|
3638
3638
|
return Nt(p), !0;
|
|
3639
3639
|
}
|
|
3640
|
-
return p instanceof l && !Ol(p) || (B === "noscript" || B === "noembed" || B === "noframes") && ht(/<\/no(script|embed|frames)/i, p.innerHTML) ? (Nt(p), !0) : (
|
|
3640
|
+
return p instanceof l && !Ol(p) || (B === "noscript" || B === "noembed" || B === "noframes") && ht(/<\/no(script|embed|frames)/i, p.innerHTML) ? (Nt(p), !0) : (Lt && p.nodeType === Qe.text && (_ = p.textContent, Oi([tt, ie, q], (V) => {
|
|
3641
3641
|
_ = Ke(_, V, " ");
|
|
3642
3642
|
}), p.textContent !== _ && (Ve(e.removed, {
|
|
3643
3643
|
element: p.cloneNode()
|
|
3644
3644
|
}), p.textContent = _)), jt(A.afterSanitizeElements, p, null), !1);
|
|
3645
3645
|
}, co = function(p, _, B) {
|
|
3646
|
-
if (
|
|
3646
|
+
if (Zn && (_ === "id" || _ === "name") && (B in i || B in Il))
|
|
3647
3647
|
return !1;
|
|
3648
|
-
if (!(rt && !
|
|
3648
|
+
if (!(rt && !At[_] && ht(w, _))) {
|
|
3649
3649
|
if (!(Mt && ht(T, _))) {
|
|
3650
|
-
if (!(
|
|
3651
|
-
if (!U[_] ||
|
|
3650
|
+
if (!(Tt.attributeCheck instanceof Function && Tt.attributeCheck(_, p))) {
|
|
3651
|
+
if (!U[_] || At[_]) {
|
|
3652
3652
|
if (
|
|
3653
3653
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
3654
3654
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -3657,10 +3657,10 @@ function aa() {
|
|
|
3657
3657
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3658
3658
|
_ === "is" && j.allowCustomizedBuiltInElements && (j.tagNameCheck instanceof RegExp && ht(j.tagNameCheck, B) || j.tagNameCheck instanceof Function && j.tagNameCheck(B)))
|
|
3659
3659
|
) return !1;
|
|
3660
|
-
} else if (!
|
|
3660
|
+
} else if (!Ir[_]) {
|
|
3661
3661
|
if (!ht(W, Ke(B, v, ""))) {
|
|
3662
3662
|
if (!((_ === "src" || _ === "xlink:href" || _ === "href") && p !== "script" && Wd(B, "data:") === 0 && Qn[p])) {
|
|
3663
|
-
if (!(
|
|
3663
|
+
if (!(Bt && !ht(E, Ke(B, v, "")))) {
|
|
3664
3664
|
if (B)
|
|
3665
3665
|
return !1;
|
|
3666
3666
|
}
|
|
@@ -3672,13 +3672,13 @@ function aa() {
|
|
|
3672
3672
|
}
|
|
3673
3673
|
return !0;
|
|
3674
3674
|
}, ho = function(p) {
|
|
3675
|
-
return p !== "annotation-xml" &&
|
|
3675
|
+
return p !== "annotation-xml" && Yr(p, M);
|
|
3676
3676
|
}, uo = function(p) {
|
|
3677
3677
|
jt(A.beforeSanitizeAttributes, p, null);
|
|
3678
3678
|
const {
|
|
3679
3679
|
attributes: _
|
|
3680
3680
|
} = p;
|
|
3681
|
-
if (!_ ||
|
|
3681
|
+
if (!_ || Nr(p))
|
|
3682
3682
|
return;
|
|
3683
3683
|
const B = {
|
|
3684
3684
|
attrName: "",
|
|
@@ -3691,15 +3691,15 @@ function aa() {
|
|
|
3691
3691
|
for (; V--; ) {
|
|
3692
3692
|
const st = _[V], {
|
|
3693
3693
|
name: K,
|
|
3694
|
-
namespaceURI:
|
|
3694
|
+
namespaceURI: gt,
|
|
3695
3695
|
value: Gt
|
|
3696
|
-
} = st, Se = it(K),
|
|
3697
|
-
let ot = K === "value" ?
|
|
3698
|
-
if (B.attrName = Se, B.attrValue = ot, B.keepAttr = !0, B.forceKeepAttr = void 0, jt(A.uponSanitizeAttribute, p, B), ot = B.attrValue, Jn && (Se === "id" || Se === "name") && (de(K, p), ot = Al + ot), Ti && ht(/((--!?|])>)|<\/(style|
|
|
3696
|
+
} = st, Se = it(K), $r = Gt;
|
|
3697
|
+
let ot = K === "value" ? $r : Yd($r);
|
|
3698
|
+
if (B.attrName = Se, B.attrValue = ot, B.keepAttr = !0, B.forceKeepAttr = void 0, jt(A.uponSanitizeAttribute, p, B), ot = B.attrValue, Jn && (Se === "id" || Se === "name") && (de(K, p), ot = Al + ot), Ti && ht(/((--!?|])>)|<\/(style|title|textarea)/i, ot)) {
|
|
3699
3699
|
de(K, p);
|
|
3700
3700
|
continue;
|
|
3701
3701
|
}
|
|
3702
|
-
if (Se === "attributename" &&
|
|
3702
|
+
if (Se === "attributename" && Yr(ot, "href")) {
|
|
3703
3703
|
de(K, p);
|
|
3704
3704
|
continue;
|
|
3705
3705
|
}
|
|
@@ -3713,7 +3713,7 @@ function aa() {
|
|
|
3713
3713
|
de(K, p);
|
|
3714
3714
|
continue;
|
|
3715
3715
|
}
|
|
3716
|
-
|
|
3716
|
+
Lt && Oi([tt, ie, q], (po) => {
|
|
3717
3717
|
ot = Ke(ot, po, " ");
|
|
3718
3718
|
});
|
|
3719
3719
|
const fo = it(p.nodeName);
|
|
@@ -3721,7 +3721,7 @@ function aa() {
|
|
|
3721
3721
|
de(K, p);
|
|
3722
3722
|
continue;
|
|
3723
3723
|
}
|
|
3724
|
-
if (x && typeof f == "object" && typeof f.getAttributeType == "function" && !
|
|
3724
|
+
if (x && typeof f == "object" && typeof f.getAttributeType == "function" && !gt)
|
|
3725
3725
|
switch (f.getAttributeType(fo, Se)) {
|
|
3726
3726
|
case "TrustedHTML": {
|
|
3727
3727
|
ot = x.createHTML(ot);
|
|
@@ -3732,9 +3732,9 @@ function aa() {
|
|
|
3732
3732
|
break;
|
|
3733
3733
|
}
|
|
3734
3734
|
}
|
|
3735
|
-
if (ot !==
|
|
3735
|
+
if (ot !== $r)
|
|
3736
3736
|
try {
|
|
3737
|
-
|
|
3737
|
+
gt ? p.setAttributeNS(gt, K, ot) : p.setAttribute(K, ot), Nr(p) ? Nt(p) : zo(e.removed);
|
|
3738
3738
|
} catch {
|
|
3739
3739
|
de(K, p);
|
|
3740
3740
|
}
|
|
@@ -3749,7 +3749,7 @@ function aa() {
|
|
|
3749
3749
|
};
|
|
3750
3750
|
return e.sanitize = function(O) {
|
|
3751
3751
|
let p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ = null, B = null, V = null, st = null;
|
|
3752
|
-
if (
|
|
3752
|
+
if (Or = !O, Or && (O = "<!-->"), typeof O != "string" && !ao(O))
|
|
3753
3753
|
if (typeof O.toString == "function") {
|
|
3754
3754
|
if (O = O.toString(), typeof O != "string")
|
|
3755
3755
|
throw Ze("dirty is not a string, aborting");
|
|
@@ -3757,22 +3757,22 @@ function aa() {
|
|
|
3757
3757
|
throw Ze("toString is not a function");
|
|
3758
3758
|
if (!e.isSupported)
|
|
3759
3759
|
return O;
|
|
3760
|
-
if (
|
|
3760
|
+
if (Br || Dr(p), e.removed = [], typeof O == "string" && (Ue = !1), Ue) {
|
|
3761
3761
|
if (O.nodeName) {
|
|
3762
3762
|
const Gt = it(O.nodeName);
|
|
3763
|
-
if (!z[Gt] ||
|
|
3763
|
+
if (!z[Gt] || bt[Gt])
|
|
3764
3764
|
throw Ze("root node is forbidden and cannot be sanitized in-place");
|
|
3765
3765
|
}
|
|
3766
3766
|
} else if (O instanceof a)
|
|
3767
3767
|
_ = oo("<!---->"), B = _.ownerDocument.importNode(O, !0), B.nodeType === Qe.element && B.nodeName === "BODY" || B.nodeName === "HTML" ? _ = B : _.appendChild(B);
|
|
3768
3768
|
else {
|
|
3769
|
-
if (!xe && !
|
|
3769
|
+
if (!xe && !Lt && !ue && // eslint-disable-next-line unicorn/prefer-includes
|
|
3770
3770
|
O.indexOf("<") === -1)
|
|
3771
3771
|
return x && Si ? x.createHTML(O) : O;
|
|
3772
3772
|
if (_ = oo(O), !_)
|
|
3773
3773
|
return xe ? null : Si ? S : "";
|
|
3774
3774
|
}
|
|
3775
|
-
_ &&
|
|
3775
|
+
_ && Lr && Nt(_.firstChild);
|
|
3776
3776
|
const K = so(Ue ? O : _);
|
|
3777
3777
|
for (; V = K.nextNode(); )
|
|
3778
3778
|
lo(V), uo(V), V.content instanceof s && Ml(V.content);
|
|
@@ -3786,18 +3786,18 @@ function aa() {
|
|
|
3786
3786
|
st = _;
|
|
3787
3787
|
return (U.shadowroot || U.shadowrootmode) && (st = Y.call(r, st, !0)), st;
|
|
3788
3788
|
}
|
|
3789
|
-
let
|
|
3790
|
-
return ue && z["!doctype"] && _.ownerDocument && _.ownerDocument.doctype && _.ownerDocument.doctype.name && ht(sa, _.ownerDocument.doctype.name) && (
|
|
3791
|
-
` +
|
|
3792
|
-
|
|
3793
|
-
}), x && Si ? x.createHTML(
|
|
3789
|
+
let gt = ue ? _.outerHTML : _.innerHTML;
|
|
3790
|
+
return ue && z["!doctype"] && _.ownerDocument && _.ownerDocument.doctype && _.ownerDocument.doctype.name && ht(sa, _.ownerDocument.doctype.name) && (gt = "<!DOCTYPE " + _.ownerDocument.doctype.name + `>
|
|
3791
|
+
` + gt), Lt && Oi([tt, ie, q], (Gt) => {
|
|
3792
|
+
gt = Ke(gt, Gt, " ");
|
|
3793
|
+
}), x && Si ? x.createHTML(gt) : gt;
|
|
3794
3794
|
}, e.setConfig = function() {
|
|
3795
3795
|
let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3796
|
-
|
|
3796
|
+
Dr(O), Br = !0;
|
|
3797
3797
|
}, e.clearConfig = function() {
|
|
3798
|
-
ke = null,
|
|
3798
|
+
ke = null, Br = !1;
|
|
3799
3799
|
}, e.isValidAttribute = function(O, p, _) {
|
|
3800
|
-
ke ||
|
|
3800
|
+
ke || Dr({});
|
|
3801
3801
|
const B = it(O), V = it(p);
|
|
3802
3802
|
return co(B, V, _);
|
|
3803
3803
|
}, e.addHook = function(O, p) {
|
|
@@ -3815,7 +3815,7 @@ function aa() {
|
|
|
3815
3815
|
}, e;
|
|
3816
3816
|
}
|
|
3817
3817
|
var De = aa();
|
|
3818
|
-
const
|
|
3818
|
+
const Yi = {
|
|
3819
3819
|
/* CLAMP */
|
|
3820
3820
|
min: {
|
|
3821
3821
|
r: 0,
|
|
@@ -3858,11 +3858,11 @@ const Hi = {
|
|
|
3858
3858
|
const n = i < 0.5 ? i * (1 + e) : i + e - i * e, s = 2 * i - n;
|
|
3859
3859
|
switch (r) {
|
|
3860
3860
|
case "r":
|
|
3861
|
-
return
|
|
3861
|
+
return Yi.hue2rgb(s, n, t + 1 / 3) * 255;
|
|
3862
3862
|
case "g":
|
|
3863
|
-
return
|
|
3863
|
+
return Yi.hue2rgb(s, n, t) * 255;
|
|
3864
3864
|
case "b":
|
|
3865
|
-
return
|
|
3865
|
+
return Yi.hue2rgb(s, n, t - 1 / 3) * 255;
|
|
3866
3866
|
}
|
|
3867
3867
|
},
|
|
3868
3868
|
rgb2hsl: ({ r: t, g: e, b: i }, r) => {
|
|
@@ -3897,7 +3897,7 @@ const Hi = {
|
|
|
3897
3897
|
return e.length > 1 ? e : `0${e}`;
|
|
3898
3898
|
}
|
|
3899
3899
|
}, P = {
|
|
3900
|
-
channel:
|
|
3900
|
+
channel: Yi,
|
|
3901
3901
|
lang: of,
|
|
3902
3902
|
unit: sf
|
|
3903
3903
|
}, oe = {};
|
|
@@ -3997,7 +3997,7 @@ class lf {
|
|
|
3997
3997
|
this.changed = !0, this.data.a = e;
|
|
3998
3998
|
}
|
|
3999
3999
|
}
|
|
4000
|
-
const
|
|
4000
|
+
const xr = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
|
|
4001
4001
|
/* VARIABLES */
|
|
4002
4002
|
re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
|
|
4003
4003
|
/* API */
|
|
@@ -4008,7 +4008,7 @@ const br = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
|
|
|
4008
4008
|
if (!e)
|
|
4009
4009
|
return;
|
|
4010
4010
|
const i = e[1], r = parseInt(i, 16), n = i.length, s = n % 4 === 0, o = n > 4, a = o ? 1 : 17, l = o ? 8 : 4, c = s ? 0 : -1, u = o ? 255 : 15;
|
|
4011
|
-
return
|
|
4011
|
+
return xr.set({
|
|
4012
4012
|
r: (r >> l * (c + 3) & u) * a,
|
|
4013
4013
|
g: (r >> l * (c + 2) & u) * a,
|
|
4014
4014
|
b: (r >> l * (c + 1) & u) * a,
|
|
@@ -4048,7 +4048,7 @@ const br = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
|
|
|
4048
4048
|
if (!i)
|
|
4049
4049
|
return;
|
|
4050
4050
|
const [, r, n, s, o, a] = i;
|
|
4051
|
-
return
|
|
4051
|
+
return xr.set({
|
|
4052
4052
|
h: ge._hue2deg(r),
|
|
4053
4053
|
s: P.channel.clamp.s(parseFloat(n)),
|
|
4054
4054
|
l: P.channel.clamp.l(parseFloat(s)),
|
|
@@ -4235,7 +4235,7 @@ const br = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
|
|
|
4235
4235
|
if (!i)
|
|
4236
4236
|
return;
|
|
4237
4237
|
const [, r, n, s, o, a, l, c, u] = i;
|
|
4238
|
-
return
|
|
4238
|
+
return xr.set({
|
|
4239
4239
|
r: P.channel.clamp.r(n ? parseFloat(r) * 2.55 : parseFloat(r)),
|
|
4240
4240
|
g: P.channel.clamp.g(o ? parseFloat(s) * 2.55 : parseFloat(s)),
|
|
4241
4241
|
b: P.channel.clamp.b(l ? parseFloat(a) * 2.55 : parseFloat(a)),
|
|
@@ -4274,7 +4274,7 @@ const br = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
|
|
|
4274
4274
|
}, ai = (t, e, i = 0, r = 1) => {
|
|
4275
4275
|
if (typeof t != "number")
|
|
4276
4276
|
return la(t, { a: e });
|
|
4277
|
-
const n =
|
|
4277
|
+
const n = xr.set({
|
|
4278
4278
|
r: P.channel.clamp.r(t),
|
|
4279
4279
|
g: P.channel.clamp.g(e),
|
|
4280
4280
|
b: P.channel.clamp.b(i),
|
|
@@ -4303,7 +4303,7 @@ var ha = "comm", ua = "rule", da = "decl", df = "@import", ff = "@namespace", pf
|
|
|
4303
4303
|
function pa(t) {
|
|
4304
4304
|
return t.trim();
|
|
4305
4305
|
}
|
|
4306
|
-
function
|
|
4306
|
+
function Hi(t, e, i) {
|
|
4307
4307
|
return t.replace(e, i);
|
|
4308
4308
|
}
|
|
4309
4309
|
function mf(t, e, i) {
|
|
@@ -4324,26 +4324,26 @@ function yf(t) {
|
|
|
4324
4324
|
function Di(t, e) {
|
|
4325
4325
|
return e.push(t), t;
|
|
4326
4326
|
}
|
|
4327
|
-
var
|
|
4327
|
+
var br = 1, $e = 1, ga = 0, wt = 0, Z = 0, Ye = "";
|
|
4328
4328
|
function On(t, e, i, r, n, s, o, a) {
|
|
4329
|
-
return { value: t, root: e, parent: i, type: r, props: n, children: s, line:
|
|
4329
|
+
return { value: t, root: e, parent: i, type: r, props: n, children: s, line: br, column: $e, length: o, return: "", siblings: a };
|
|
4330
4330
|
}
|
|
4331
4331
|
function _f() {
|
|
4332
4332
|
return Z;
|
|
4333
4333
|
}
|
|
4334
4334
|
function Cf() {
|
|
4335
|
-
return Z =
|
|
4335
|
+
return Z = wt > 0 ? Fe(Ye, --wt) : 0, $e--, Z === 10 && ($e = 1, br--), Z;
|
|
4336
4336
|
}
|
|
4337
4337
|
function It() {
|
|
4338
|
-
return Z =
|
|
4338
|
+
return Z = wt < ga ? Fe(Ye, wt++) : 0, $e++, Z === 10 && ($e = 1, br++), Z;
|
|
4339
4339
|
}
|
|
4340
4340
|
function ae() {
|
|
4341
|
-
return Fe(Ye,
|
|
4341
|
+
return Fe(Ye, wt);
|
|
4342
4342
|
}
|
|
4343
|
-
function
|
|
4344
|
-
return
|
|
4343
|
+
function Ui() {
|
|
4344
|
+
return wt;
|
|
4345
4345
|
}
|
|
4346
|
-
function
|
|
4346
|
+
function Tr(t, e) {
|
|
4347
4347
|
return Ne(Ye, t, e);
|
|
4348
4348
|
}
|
|
4349
4349
|
function gi(t) {
|
|
@@ -4385,13 +4385,13 @@ function gi(t) {
|
|
|
4385
4385
|
return 0;
|
|
4386
4386
|
}
|
|
4387
4387
|
function xf(t) {
|
|
4388
|
-
return
|
|
4388
|
+
return br = $e = 1, ga = qt(Ye = t), wt = 0, [];
|
|
4389
4389
|
}
|
|
4390
4390
|
function bf(t) {
|
|
4391
4391
|
return Ye = "", t;
|
|
4392
4392
|
}
|
|
4393
|
-
function
|
|
4394
|
-
return pa(
|
|
4393
|
+
function Gr(t) {
|
|
4394
|
+
return pa(Tr(wt - 1, un(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
4395
4395
|
}
|
|
4396
4396
|
function Tf(t) {
|
|
4397
4397
|
for (; (Z = ae()) && Z < 33; )
|
|
@@ -4401,14 +4401,14 @@ function Tf(t) {
|
|
|
4401
4401
|
function kf(t, e) {
|
|
4402
4402
|
for (; --e && It() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
|
|
4403
4403
|
;
|
|
4404
|
-
return
|
|
4404
|
+
return Tr(t, Ui() + (e < 6 && ae() == 32 && It() == 32));
|
|
4405
4405
|
}
|
|
4406
4406
|
function un(t) {
|
|
4407
4407
|
for (; It(); )
|
|
4408
4408
|
switch (Z) {
|
|
4409
4409
|
// ] ) " '
|
|
4410
4410
|
case t:
|
|
4411
|
-
return
|
|
4411
|
+
return wt;
|
|
4412
4412
|
// " '
|
|
4413
4413
|
case 34:
|
|
4414
4414
|
case 39:
|
|
@@ -4423,36 +4423,36 @@ function un(t) {
|
|
|
4423
4423
|
It();
|
|
4424
4424
|
break;
|
|
4425
4425
|
}
|
|
4426
|
-
return
|
|
4426
|
+
return wt;
|
|
4427
4427
|
}
|
|
4428
4428
|
function Sf(t, e) {
|
|
4429
4429
|
for (; It() && t + Z !== 57; )
|
|
4430
4430
|
if (t + Z === 84 && ae() === 47)
|
|
4431
4431
|
break;
|
|
4432
|
-
return "/*" +
|
|
4432
|
+
return "/*" + Tr(e, wt - 1) + "*" + In(t === 47 ? t : It());
|
|
4433
4433
|
}
|
|
4434
4434
|
function vf(t) {
|
|
4435
4435
|
for (; !gi(ae()); )
|
|
4436
4436
|
It();
|
|
4437
|
-
return
|
|
4437
|
+
return Tr(t, wt);
|
|
4438
4438
|
}
|
|
4439
4439
|
function wf(t) {
|
|
4440
|
-
return bf(
|
|
4440
|
+
return bf(Xi("", null, null, null, [""], t = xf(t), 0, [0], t));
|
|
4441
4441
|
}
|
|
4442
|
-
function
|
|
4442
|
+
function Xi(t, e, i, r, n, s, o, a, l) {
|
|
4443
4443
|
for (var c = 0, u = 0, d = o, h = 0, f = 0, m = 0, y = 1, C = 1, L = 1, b = 0, R = "", x = n, S = s, X = r, N = R; C; )
|
|
4444
4444
|
switch (m = b, b = It()) {
|
|
4445
4445
|
// (
|
|
4446
4446
|
case 40:
|
|
4447
4447
|
if (m != 108 && Fe(N, d - 1) == 58) {
|
|
4448
|
-
mf(N +=
|
|
4448
|
+
mf(N += Hi(Gr(b), "&", "&\f"), "&\f", fa(c ? a[c - 1] : 0)) != -1 && (L = -1);
|
|
4449
4449
|
break;
|
|
4450
4450
|
}
|
|
4451
4451
|
// " ' [
|
|
4452
4452
|
case 34:
|
|
4453
4453
|
case 39:
|
|
4454
4454
|
case 91:
|
|
4455
|
-
N +=
|
|
4455
|
+
N += Gr(b);
|
|
4456
4456
|
break;
|
|
4457
4457
|
// \t \n \r \s
|
|
4458
4458
|
case 9:
|
|
@@ -4463,14 +4463,14 @@ function ji(t, e, i, r, n, s, o, a, l) {
|
|
|
4463
4463
|
break;
|
|
4464
4464
|
// \
|
|
4465
4465
|
case 92:
|
|
4466
|
-
N += kf(
|
|
4466
|
+
N += kf(Ui() - 1, 7);
|
|
4467
4467
|
continue;
|
|
4468
4468
|
// /
|
|
4469
4469
|
case 47:
|
|
4470
4470
|
switch (ae()) {
|
|
4471
4471
|
case 42:
|
|
4472
4472
|
case 47:
|
|
4473
|
-
Di(Af(Sf(It(),
|
|
4473
|
+
Di(Af(Sf(It(), Ui()), e, i, l), l), (gi(m || 1) == 5 || gi(ae() || 1) == 5) && qt(N) && Ne(N, -1, void 0) !== " " && (N += " ");
|
|
4474
4474
|
break;
|
|
4475
4475
|
default:
|
|
4476
4476
|
N += "/";
|
|
@@ -4490,7 +4490,7 @@ function ji(t, e, i, r, n, s, o, a, l) {
|
|
|
4490
4490
|
C = 0;
|
|
4491
4491
|
// ;
|
|
4492
4492
|
case 59 + u:
|
|
4493
|
-
L == -1 && (N =
|
|
4493
|
+
L == -1 && (N = Hi(N, /\f/g, "")), f > 0 && (qt(N) - d || y === 0 && m === 47) && Di(f > 32 ? Vo(N + ";", r, i, d - 1, l) : Vo(Hi(N, " ", "") + ";", r, i, d - 2, l), l);
|
|
4494
4494
|
break;
|
|
4495
4495
|
// @ ;
|
|
4496
4496
|
case 59:
|
|
@@ -4499,7 +4499,7 @@ function ji(t, e, i, r, n, s, o, a, l) {
|
|
|
4499
4499
|
default:
|
|
4500
4500
|
if (Di(X = Go(N, e, i, c, u, n, a, R, x = [], S = [], d, s), s), b === 123)
|
|
4501
4501
|
if (u === 0)
|
|
4502
|
-
|
|
4502
|
+
Xi(N, e, X, X, x, s, d, a, S);
|
|
4503
4503
|
else {
|
|
4504
4504
|
switch (h) {
|
|
4505
4505
|
// c(ontainer)
|
|
@@ -4515,7 +4515,7 @@ function ji(t, e, i, r, n, s, o, a, l) {
|
|
|
4515
4515
|
case 109:
|
|
4516
4516
|
case 115:
|
|
4517
4517
|
}
|
|
4518
|
-
u ?
|
|
4518
|
+
u ? Xi(t, X, X, r && Di(Go(t, X, X, 0, 0, n, a, R, n, x = [], d, S), S), n, S, d, a, r ? x : S) : Xi(N, X, X, X, [""], S, 0, a, S);
|
|
4519
4519
|
}
|
|
4520
4520
|
}
|
|
4521
4521
|
c = u = f = 0, y = L = 1, R = N = "", d = o;
|
|
@@ -4541,7 +4541,7 @@ function ji(t, e, i, r, n, s, o, a, l) {
|
|
|
4541
4541
|
break;
|
|
4542
4542
|
// @
|
|
4543
4543
|
case 64:
|
|
4544
|
-
ae() === 45 && (N +=
|
|
4544
|
+
ae() === 45 && (N += Gr(It())), h = ae(), u = d = qt(R = N += vf(Ui())), b++;
|
|
4545
4545
|
break;
|
|
4546
4546
|
// -
|
|
4547
4547
|
case 45:
|
|
@@ -4553,7 +4553,7 @@ function ji(t, e, i, r, n, s, o, a, l) {
|
|
|
4553
4553
|
function Go(t, e, i, r, n, s, o, a, l, c, u, d) {
|
|
4554
4554
|
for (var h = n - 1, f = n === 0 ? s : [""], m = yf(f), y = 0, C = 0, L = 0; y < r; ++y)
|
|
4555
4555
|
for (var b = 0, R = Ne(t, h + 1, h = fa(C = o[y])), x = t; b < m; ++b)
|
|
4556
|
-
(x = pa(C > 0 ? f[b] + " " + R :
|
|
4556
|
+
(x = pa(C > 0 ? f[b] + " " + R : Hi(R, /&\f/g, f[b]))) && (l[L++] = x);
|
|
4557
4557
|
return On(t, e, i, n === 0 ? ua : a, l, c, u, d);
|
|
4558
4558
|
}
|
|
4559
4559
|
function Af(t, e, i, r) {
|
|
@@ -4612,8 +4612,8 @@ const Kt = {
|
|
|
4612
4612
|
}, D.warn = () => {
|
|
4613
4613
|
}, D.error = () => {
|
|
4614
4614
|
}, D.fatal = () => {
|
|
4615
|
-
}, e <= Kt.fatal && (D.fatal = console.error ? console.error.bind(console,
|
|
4616
|
-
},
|
|
4615
|
+
}, e <= Kt.fatal && (D.fatal = console.error ? console.error.bind(console, kt("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", kt("FATAL"))), e <= Kt.error && (D.error = console.error ? console.error.bind(console, kt("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", kt("ERROR"))), e <= Kt.warn && (D.warn = console.warn ? console.warn.bind(console, kt("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", kt("WARN"))), e <= Kt.info && (D.info = console.info ? console.info.bind(console, kt("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", kt("INFO"))), e <= Kt.debug && (D.debug = console.debug ? console.debug.bind(console, kt("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", kt("DEBUG"))), e <= Kt.trace && (D.trace = console.debug ? console.debug.bind(console, kt("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", kt("TRACE")));
|
|
4616
|
+
}, kt = (t) => `%c${ic().format("ss.SSS")} : ${t} : `, bi = /<br\s*\/?>/gi, Lf = (t) => t ? ya(t).replace(/\\n/g, "#br#").split("#br#") : [""], Ef = /* @__PURE__ */ (() => {
|
|
4617
4617
|
let t = !1;
|
|
4618
4618
|
return () => {
|
|
4619
4619
|
t || (Ff(), t = !0);
|
|
@@ -4712,7 +4712,7 @@ const ma = (t) => (Ef(), De.sanitize(t)), Ko = (t, e) => {
|
|
|
4712
4712
|
evaluate: _a,
|
|
4713
4713
|
getMax: $f,
|
|
4714
4714
|
getMin: Rf
|
|
4715
|
-
}, dt = (t, e) => e ? g(t, { s: -40, l: 10 }) : g(t, { s: -40, l: -10 }),
|
|
4715
|
+
}, dt = (t, e) => e ? g(t, { s: -40, l: 10 }) : g(t, { s: -40, l: -10 }), kr = "#ffffff", Sr = "#f2f2f2";
|
|
4716
4716
|
let Yf = class {
|
|
4717
4717
|
constructor() {
|
|
4718
4718
|
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px";
|
|
@@ -4747,7 +4747,7 @@ let Yf = class {
|
|
|
4747
4747
|
yAxisTickColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTickColor) || this.primaryTextColor,
|
|
4748
4748
|
yAxisLineColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLineColor) || this.primaryTextColor,
|
|
4749
4749
|
plotColorPalette: ((d = this.xyChart) == null ? void 0 : d.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
4750
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? $(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || g(this.primaryColor, { h: -30 }), this.git4 = this.git4 || g(this.primaryColor, { h: -60 }), this.git5 = this.git5 || g(this.primaryColor, { h: -90 }), this.git6 = this.git6 || g(this.primaryColor, { h: 60 }), this.git7 = this.git7 || g(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)) : (this.git0 = $(this.git0, 25), this.git1 = $(this.git1, 25), this.git2 = $(this.git2, 25), this.git3 = $(this.git3, 25), this.git4 = $(this.git4, 25), this.git5 = $(this.git5, 25), this.git6 = $(this.git6, 25), this.git7 = $(this.git7, 25)), this.gitInv0 = this.gitInv0 || k(this.git0), this.gitInv1 = this.gitInv1 || k(this.git1), this.gitInv2 = this.gitInv2 || k(this.git2), this.gitInv3 = this.gitInv3 || k(this.git3), this.gitInv4 = this.gitInv4 || k(this.git4), this.gitInv5 = this.gitInv5 || k(this.git5), this.gitInv6 = this.gitInv6 || k(this.git6), this.gitInv7 = this.gitInv7 || k(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd ||
|
|
4750
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? $(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || g(this.primaryColor, { h: -30 }), this.git4 = this.git4 || g(this.primaryColor, { h: -60 }), this.git5 = this.git5 || g(this.primaryColor, { h: -90 }), this.git6 = this.git6 || g(this.primaryColor, { h: 60 }), this.git7 = this.git7 || g(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)) : (this.git0 = $(this.git0, 25), this.git1 = $(this.git1, 25), this.git2 = $(this.git2, 25), this.git3 = $(this.git3, 25), this.git4 = $(this.git4, 25), this.git5 = $(this.git5, 25), this.git6 = $(this.git6, 25), this.git7 = $(this.git7, 25)), this.gitInv0 = this.gitInv0 || k(this.git0), this.gitInv1 = this.gitInv1 || k(this.git1), this.gitInv2 = this.gitInv2 || k(this.git2), this.gitInv3 = this.gitInv3 || k(this.git3), this.gitInv4 = this.gitInv4 || k(this.git4), this.gitInv5 = this.gitInv5 || k(this.git5), this.gitInv6 = this.gitInv6 || k(this.git6), this.gitInv7 = this.gitInv7 || k(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || kr, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || Sr;
|
|
4751
4751
|
}
|
|
4752
4752
|
calculate(e) {
|
|
4753
4753
|
if (typeof e != "object") {
|
|
@@ -4845,7 +4845,7 @@ let jf = class {
|
|
|
4845
4845
|
yAxisTickColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTickColor) || this.primaryTextColor,
|
|
4846
4846
|
yAxisLineColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLineColor) || this.primaryTextColor,
|
|
4847
4847
|
plotColorPalette: ((d = this.xyChart) == null ? void 0 : d.plotColorPalette) || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
4848
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || g(this.primaryColor, { h: -30 }), this.git4 = this.git4 || g(this.primaryColor, { h: -60 }), this.git5 = this.git5 || g(this.primaryColor, { h: -90 }), this.git6 = this.git6 || g(this.primaryColor, { h: 60 }), this.git7 = this.git7 || g(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)) : (this.git0 = $(this.git0, 25), this.git1 = $(this.git1, 25), this.git2 = $(this.git2, 25), this.git3 = $(this.git3, 25), this.git4 = $(this.git4, 25), this.git5 = $(this.git5, 25), this.git6 = $(this.git6, 25), this.git7 = $(this.git7, 25)), this.gitInv0 = this.gitInv0 || $(k(this.git0), 25), this.gitInv1 = this.gitInv1 || k(this.git1), this.gitInv2 = this.gitInv2 || k(this.git2), this.gitInv3 = this.gitInv3 || k(this.git3), this.gitInv4 = this.gitInv4 || k(this.git4), this.gitInv5 = this.gitInv5 || k(this.git5), this.gitInv6 = this.gitInv6 || k(this.git6), this.gitInv7 = this.gitInv7 || k(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || k(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || k(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd ||
|
|
4848
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || g(this.primaryColor, { h: -30 }), this.git4 = this.git4 || g(this.primaryColor, { h: -60 }), this.git5 = this.git5 || g(this.primaryColor, { h: -90 }), this.git6 = this.git6 || g(this.primaryColor, { h: 60 }), this.git7 = this.git7 || g(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)) : (this.git0 = $(this.git0, 25), this.git1 = $(this.git1, 25), this.git2 = $(this.git2, 25), this.git3 = $(this.git3, 25), this.git4 = $(this.git4, 25), this.git5 = $(this.git5, 25), this.git6 = $(this.git6, 25), this.git7 = $(this.git7, 25)), this.gitInv0 = this.gitInv0 || $(k(this.git0), 25), this.gitInv1 = this.gitInv1 || k(this.git1), this.gitInv2 = this.gitInv2 || k(this.git2), this.gitInv3 = this.gitInv3 || k(this.git3), this.gitInv4 = this.gitInv4 || k(this.git4), this.gitInv5 = this.gitInv5 || k(this.git5), this.gitInv6 = this.gitInv6 || k(this.git6), this.gitInv7 = this.gitInv7 || k(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || k(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || k(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || kr, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || Sr;
|
|
4849
4849
|
}
|
|
4850
4850
|
calculate(e) {
|
|
4851
4851
|
if (typeof e != "object") {
|
|
@@ -4892,7 +4892,7 @@ let Vf = class {
|
|
|
4892
4892
|
yAxisTickColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTickColor) || this.primaryTextColor,
|
|
4893
4893
|
yAxisLineColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLineColor) || this.primaryTextColor,
|
|
4894
4894
|
plotColorPalette: ((d = this.xyChart) == null ? void 0 : d.plotColorPalette) || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
4895
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || g(this.primaryColor, { h: -30 }), this.git4 = this.git4 || g(this.primaryColor, { h: -60 }), this.git5 = this.git5 || g(this.primaryColor, { h: -90 }), this.git6 = this.git6 || g(this.primaryColor, { h: 60 }), this.git7 = this.git7 || g(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)) : (this.git0 = $(this.git0, 25), this.git1 = $(this.git1, 25), this.git2 = $(this.git2, 25), this.git3 = $(this.git3, 25), this.git4 = $(this.git4, 25), this.git5 = $(this.git5, 25), this.git6 = $(this.git6, 25), this.git7 = $(this.git7, 25)), this.gitInv0 = this.gitInv0 || k(this.git0), this.gitInv1 = this.gitInv1 || k(this.git1), this.gitInv2 = this.gitInv2 || k(this.git2), this.gitInv3 = this.gitInv3 || k(this.git3), this.gitInv4 = this.gitInv4 || k(this.git4), this.gitInv5 = this.gitInv5 || k(this.git5), this.gitInv6 = this.gitInv6 || k(this.git6), this.gitInv7 = this.gitInv7 || k(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || k(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || k(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd ||
|
|
4895
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || g(this.primaryColor, { h: -30 }), this.git4 = this.git4 || g(this.primaryColor, { h: -60 }), this.git5 = this.git5 || g(this.primaryColor, { h: -90 }), this.git6 = this.git6 || g(this.primaryColor, { h: 60 }), this.git7 = this.git7 || g(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)) : (this.git0 = $(this.git0, 25), this.git1 = $(this.git1, 25), this.git2 = $(this.git2, 25), this.git3 = $(this.git3, 25), this.git4 = $(this.git4, 25), this.git5 = $(this.git5, 25), this.git6 = $(this.git6, 25), this.git7 = $(this.git7, 25)), this.gitInv0 = this.gitInv0 || k(this.git0), this.gitInv1 = this.gitInv1 || k(this.git1), this.gitInv2 = this.gitInv2 || k(this.git2), this.gitInv3 = this.gitInv3 || k(this.git3), this.gitInv4 = this.gitInv4 || k(this.git4), this.gitInv5 = this.gitInv5 || k(this.git5), this.gitInv6 = this.gitInv6 || k(this.git6), this.gitInv7 = this.gitInv7 || k(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || k(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || k(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || kr, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || Sr;
|
|
4896
4896
|
}
|
|
4897
4897
|
calculate(e) {
|
|
4898
4898
|
if (typeof e != "object") {
|
|
@@ -4942,7 +4942,7 @@ class Zf {
|
|
|
4942
4942
|
yAxisTickColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTickColor) || this.primaryTextColor,
|
|
4943
4943
|
yAxisLineColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLineColor) || this.primaryTextColor,
|
|
4944
4944
|
plotColorPalette: ((d = this.xyChart) == null ? void 0 : d.plotColorPalette) || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
4945
|
-
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = $(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || g(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || g(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || g(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || g(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || g(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || k(this.git0), this.gitInv1 = this.gitInv1 || k(this.git1), this.gitInv2 = this.gitInv2 || k(this.git2), this.gitInv3 = this.gitInv3 || k(this.git3), this.gitInv4 = this.gitInv4 || k(this.git4), this.gitInv5 = this.gitInv5 || k(this.git5), this.gitInv6 = this.gitInv6 || k(this.git6), this.gitInv7 = this.gitInv7 || k(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd ||
|
|
4945
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = $(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || g(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || g(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || g(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || g(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || g(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || k(this.git0), this.gitInv1 = this.gitInv1 || k(this.git1), this.gitInv2 = this.gitInv2 || k(this.git2), this.gitInv3 = this.gitInv3 || k(this.git3), this.gitInv4 = this.gitInv4 || k(this.git4), this.gitInv5 = this.gitInv5 || k(this.git5), this.gitInv6 = this.gitInv6 || k(this.git6), this.gitInv7 = this.gitInv7 || k(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || kr, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || Sr;
|
|
4946
4946
|
}
|
|
4947
4947
|
calculate(e) {
|
|
4948
4948
|
if (typeof e != "object") {
|
|
@@ -5640,10 +5640,10 @@ const Jf = (t) => {
|
|
|
5640
5640
|
// TODO: can we make this default to `true` instead?
|
|
5641
5641
|
useMaxWidth: !1
|
|
5642
5642
|
}
|
|
5643
|
-
}, xa = (t, e = "") => Object.keys(t).reduce((i, r) => Array.isArray(t[r]) ? i : typeof t[r] == "object" && t[r] !== null ? [...i, e + r, ...xa(t[r], "")] : [...i, e + r], []), Qf = new Set(xa(Ca, "")), tp = Ca,
|
|
5643
|
+
}, xa = (t, e = "") => Object.keys(t).reduce((i, r) => Array.isArray(t[r]) ? i : typeof t[r] == "object" && t[r] !== null ? [...i, e + r, ...xa(t[r], "")] : [...i, e + r], []), Qf = new Set(xa(Ca, "")), tp = Ca, nr = (t) => {
|
|
5644
5644
|
if (D.debug("sanitizeDirective called with", t), !(typeof t != "object" || t == null)) {
|
|
5645
5645
|
if (Array.isArray(t)) {
|
|
5646
|
-
t.forEach((e) =>
|
|
5646
|
+
t.forEach((e) => nr(e));
|
|
5647
5647
|
return;
|
|
5648
5648
|
}
|
|
5649
5649
|
for (const e of Object.keys(t)) {
|
|
@@ -5652,7 +5652,7 @@ const Jf = (t) => {
|
|
|
5652
5652
|
continue;
|
|
5653
5653
|
}
|
|
5654
5654
|
if (typeof t[e] == "object") {
|
|
5655
|
-
D.debug("sanitizing object", e),
|
|
5655
|
+
D.debug("sanitizing object", e), nr(t[e]);
|
|
5656
5656
|
continue;
|
|
5657
5657
|
}
|
|
5658
5658
|
const i = ["themeCSS", "fontFamily", "altFontFamily"];
|
|
@@ -5680,7 +5680,7 @@ class Ta extends Error {
|
|
|
5680
5680
|
super(e), this.name = "UnknownDiagramError";
|
|
5681
5681
|
}
|
|
5682
5682
|
}
|
|
5683
|
-
const qe = {},
|
|
5683
|
+
const qe = {}, vr = function(t, e) {
|
|
5684
5684
|
t = t.replace(ba, "").replace(li, "").replace(ip, `
|
|
5685
5685
|
`);
|
|
5686
5686
|
for (const [i, { detector: r }] of Object.entries(qe))
|
|
@@ -5727,12 +5727,12 @@ const qe = {}, wr = function(t, e) {
|
|
|
5727
5727
|
let r = {};
|
|
5728
5728
|
if (Array.isArray(i)) {
|
|
5729
5729
|
const o = i.map((a) => a.args);
|
|
5730
|
-
|
|
5730
|
+
nr(o), r = lt(r, [...o]);
|
|
5731
5731
|
} else
|
|
5732
5732
|
r = i.args;
|
|
5733
5733
|
if (!r)
|
|
5734
5734
|
return;
|
|
5735
|
-
let n =
|
|
5735
|
+
let n = vr(t, e);
|
|
5736
5736
|
const s = "config";
|
|
5737
5737
|
return r[s] !== void 0 && (n === "flowchart-v2" && (n = "flowchart"), r[n] = r[s], delete r[s]), r;
|
|
5738
5738
|
}, va = function(t, e = null) {
|
|
@@ -5883,7 +5883,7 @@ const xp = (t) => Cp(t.length), bp = function() {
|
|
|
5883
5883
|
const r = t.split(" "), n = [];
|
|
5884
5884
|
let s = "";
|
|
5885
5885
|
return r.forEach((o, a) => {
|
|
5886
|
-
const l =
|
|
5886
|
+
const l = or(`${o} `, i), c = or(s, i);
|
|
5887
5887
|
if (l > e) {
|
|
5888
5888
|
const { hyphenatedStrings: h, remainingWord: f } = Sp(o, e, "-", i);
|
|
5889
5889
|
n.push(s, ...h), s = f;
|
|
@@ -5902,7 +5902,7 @@ const xp = (t) => Cp(t.length), bp = function() {
|
|
|
5902
5902
|
let o = "";
|
|
5903
5903
|
return n.forEach((a, l) => {
|
|
5904
5904
|
const c = `${o}${a}`;
|
|
5905
|
-
if (
|
|
5905
|
+
if (or(c, r) >= e) {
|
|
5906
5906
|
const d = l + 1, h = n.length === d, f = `${c}${i}`;
|
|
5907
5907
|
s.push(h ? c : f), o = "";
|
|
5908
5908
|
} else
|
|
@@ -5914,7 +5914,7 @@ const xp = (t) => Cp(t.length), bp = function() {
|
|
|
5914
5914
|
function vp(t, e) {
|
|
5915
5915
|
return $n(t, e).height;
|
|
5916
5916
|
}
|
|
5917
|
-
function
|
|
5917
|
+
function or(t, e) {
|
|
5918
5918
|
return $n(t, e).width;
|
|
5919
5919
|
}
|
|
5920
5920
|
const $n = _n(
|
|
@@ -5922,7 +5922,7 @@ const $n = _n(
|
|
|
5922
5922
|
const { fontSize: i = 12, fontFamily: r = "Arial", fontWeight: n = 400 } = e;
|
|
5923
5923
|
if (!t)
|
|
5924
5924
|
return { width: 0, height: 0 };
|
|
5925
|
-
const [, s] = Rn(i), o = ["sans-serif", r], a = t.split(Dn.lineBreakRegex), l = [], c =
|
|
5925
|
+
const [, s] = Rn(i), o = ["sans-serif", r], a = t.split(Dn.lineBreakRegex), l = [], c = St("body");
|
|
5926
5926
|
if (!c.remove)
|
|
5927
5927
|
return { width: 0, height: 0, lineHeight: 0 };
|
|
5928
5928
|
const u = c.append("svg");
|
|
@@ -5976,7 +5976,7 @@ const ci = {
|
|
|
5976
5976
|
assignWithDepth: lt,
|
|
5977
5977
|
wrapLabel: kp,
|
|
5978
5978
|
calculateTextHeight: vp,
|
|
5979
|
-
calculateTextWidth:
|
|
5979
|
+
calculateTextWidth: or,
|
|
5980
5980
|
calculateTextDimensions: $n,
|
|
5981
5981
|
cleanAndMerge: Ba,
|
|
5982
5982
|
detectInit: ap,
|
|
@@ -6008,8 +6008,8 @@ const ci = {
|
|
|
6008
6008
|
}, Ep = function(t) {
|
|
6009
6009
|
return t.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
6010
6010
|
}, es = "10.9.5", Pe = Object.freeze(tp);
|
|
6011
|
-
let
|
|
6012
|
-
const
|
|
6011
|
+
let mt = lt({}, Pe), La, ze = [], hi = lt({}, Pe);
|
|
6012
|
+
const wr = (t, e) => {
|
|
6013
6013
|
let i = lt({}, t), r = {};
|
|
6014
6014
|
for (const n of e)
|
|
6015
6015
|
Ia(n), r = lt(r, n);
|
|
@@ -6021,10 +6021,10 @@ const Ar = (t, e) => {
|
|
|
6021
6021
|
i.theme && i.theme in te && (i.themeVariables = te[i.theme].getThemeVariables(s));
|
|
6022
6022
|
}
|
|
6023
6023
|
return hi = i, Oa(hi), hi;
|
|
6024
|
-
}, Fp = (t) => (
|
|
6024
|
+
}, Fp = (t) => (mt = lt({}, Pe), mt = lt(mt, t), t.theme && te[t.theme] && (mt.themeVariables = te[t.theme].getThemeVariables(t.themeVariables)), wr(mt, ze), mt), Ip = (t) => {
|
|
6025
6025
|
La = lt({}, t);
|
|
6026
|
-
}, Op = (t) => (
|
|
6027
|
-
t && (["secure", ...
|
|
6026
|
+
}, Op = (t) => (mt = lt(mt, t), wr(mt, ze), mt), Ea = () => lt({}, mt), Fa = (t) => (Oa(t), lt(hi, t), Yt()), Yt = () => lt({}, hi), Ia = (t) => {
|
|
6027
|
+
t && (["secure", ...mt.secure ?? []].forEach((e) => {
|
|
6028
6028
|
Object.hasOwn(t, e) && (D.debug(`Denied attempt to modify a secure key ${e}`, t[e]), delete t[e]);
|
|
6029
6029
|
}), Object.keys(t).forEach((e) => {
|
|
6030
6030
|
e.startsWith("__") && delete t[e];
|
|
@@ -6032,9 +6032,9 @@ const Ar = (t, e) => {
|
|
|
6032
6032
|
typeof t[e] == "string" && (t[e].includes("<") || t[e].includes(">") || t[e].includes("url(data:")) && delete t[e], typeof t[e] == "object" && Ia(t[e]);
|
|
6033
6033
|
}));
|
|
6034
6034
|
}, Mp = (t) => {
|
|
6035
|
-
|
|
6036
|
-
},
|
|
6037
|
-
ze = [],
|
|
6035
|
+
nr(t), t.fontFamily && (!t.themeVariables || !t.themeVariables.fontFamily) && (t.themeVariables = { fontFamily: t.fontFamily }), ze.push(t), wr(mt, ze);
|
|
6036
|
+
}, sr = (t = mt) => {
|
|
6037
|
+
ze = [], wr(t, ze);
|
|
6038
6038
|
}, Dp = {
|
|
6039
6039
|
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."
|
|
6040
6040
|
}, is = {}, Np = (t) => {
|
|
@@ -6042,7 +6042,7 @@ const Ar = (t, e) => {
|
|
|
6042
6042
|
}, Oa = (t) => {
|
|
6043
6043
|
t && (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && Np("LAZY_LOAD_DEPRECATED");
|
|
6044
6044
|
}, Ma = "c4", $p = (t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), Rp = async () => {
|
|
6045
|
-
const { diagram: t } = await import("./layers.
|
|
6045
|
+
const { diagram: t } = await import("./layers.BBv_ZF3c.js");
|
|
6046
6046
|
return { id: Ma, diagram: t };
|
|
6047
6047
|
}, qp = {
|
|
6048
6048
|
id: Ma,
|
|
@@ -6052,7 +6052,7 @@ const Ar = (t, e) => {
|
|
|
6052
6052
|
var i, r;
|
|
6053
6053
|
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);
|
|
6054
6054
|
}, Wp = async () => {
|
|
6055
|
-
const { diagram: t } = await import("./layers.
|
|
6055
|
+
const { diagram: t } = await import("./layers.B1weaFHT.js");
|
|
6056
6056
|
return { id: Da, diagram: t };
|
|
6057
6057
|
}, Yp = {
|
|
6058
6058
|
id: Da,
|
|
@@ -6062,70 +6062,70 @@ const Ar = (t, e) => {
|
|
|
6062
6062
|
var i, r, n;
|
|
6063
6063
|
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);
|
|
6064
6064
|
}, Xp = async () => {
|
|
6065
|
-
const { diagram: t } = await import("./layers.
|
|
6065
|
+
const { diagram: t } = await import("./layers.B8CKxXiL.js");
|
|
6066
6066
|
return { id: Na, diagram: t };
|
|
6067
6067
|
}, jp = {
|
|
6068
6068
|
id: Na,
|
|
6069
6069
|
detector: Up,
|
|
6070
6070
|
loader: Xp
|
|
6071
6071
|
}, Gp = jp, $a = "er", Vp = (t) => /^\s*erDiagram/.test(t), Kp = async () => {
|
|
6072
|
-
const { diagram: t } = await import("./layers.
|
|
6072
|
+
const { diagram: t } = await import("./layers.Bd16r8QG.js");
|
|
6073
6073
|
return { id: $a, diagram: t };
|
|
6074
6074
|
}, Zp = {
|
|
6075
6075
|
id: $a,
|
|
6076
6076
|
detector: Vp,
|
|
6077
6077
|
loader: Kp
|
|
6078
6078
|
}, Jp = Zp, Ra = "gitGraph", Qp = (t) => /^\s*gitGraph/.test(t), tg = async () => {
|
|
6079
|
-
const { diagram: t } = await import("./layers.
|
|
6079
|
+
const { diagram: t } = await import("./layers.C0YOw113.js");
|
|
6080
6080
|
return { id: Ra, diagram: t };
|
|
6081
6081
|
}, eg = {
|
|
6082
6082
|
id: Ra,
|
|
6083
6083
|
detector: Qp,
|
|
6084
6084
|
loader: tg
|
|
6085
6085
|
}, ig = eg, qa = "gantt", rg = (t) => /^\s*gantt/.test(t), ng = async () => {
|
|
6086
|
-
const { diagram: t } = await import("./layers.
|
|
6086
|
+
const { diagram: t } = await import("./layers.BRh4KNRZ.js");
|
|
6087
6087
|
return { id: qa, diagram: t };
|
|
6088
6088
|
}, og = {
|
|
6089
6089
|
id: qa,
|
|
6090
6090
|
detector: rg,
|
|
6091
6091
|
loader: ng
|
|
6092
6092
|
}, sg = og, Pa = "info", ag = (t) => /^\s*info/.test(t), lg = async () => {
|
|
6093
|
-
const { diagram: t } = await import("./layers.
|
|
6093
|
+
const { diagram: t } = await import("./layers.D1rmyxa1.js");
|
|
6094
6094
|
return { id: Pa, diagram: t };
|
|
6095
6095
|
}, cg = {
|
|
6096
6096
|
id: Pa,
|
|
6097
6097
|
detector: ag,
|
|
6098
6098
|
loader: lg
|
|
6099
6099
|
}, za = "pie", hg = (t) => /^\s*pie/.test(t), ug = async () => {
|
|
6100
|
-
const { diagram: t } = await import("./layers.
|
|
6100
|
+
const { diagram: t } = await import("./layers.BjxQTy9m.js");
|
|
6101
6101
|
return { id: za, diagram: t };
|
|
6102
6102
|
}, dg = {
|
|
6103
6103
|
id: za,
|
|
6104
6104
|
detector: hg,
|
|
6105
6105
|
loader: ug
|
|
6106
6106
|
}, Wa = "quadrantChart", fg = (t) => /^\s*quadrantChart/.test(t), pg = async () => {
|
|
6107
|
-
const { diagram: t } = await import("./layers.
|
|
6107
|
+
const { diagram: t } = await import("./layers.B5cX0k6C.js");
|
|
6108
6108
|
return { id: Wa, diagram: t };
|
|
6109
6109
|
}, gg = {
|
|
6110
6110
|
id: Wa,
|
|
6111
6111
|
detector: fg,
|
|
6112
6112
|
loader: pg
|
|
6113
6113
|
}, mg = gg, Ya = "xychart", yg = (t) => /^\s*xychart-beta/.test(t), _g = async () => {
|
|
6114
|
-
const { diagram: t } = await import("./layers.
|
|
6114
|
+
const { diagram: t } = await import("./layers.BRKX3PfY.js");
|
|
6115
6115
|
return { id: Ya, diagram: t };
|
|
6116
6116
|
}, Cg = {
|
|
6117
6117
|
id: Ya,
|
|
6118
6118
|
detector: yg,
|
|
6119
6119
|
loader: _g
|
|
6120
6120
|
}, xg = Cg, Ha = "requirement", bg = (t) => /^\s*requirement(Diagram)?/.test(t), Tg = async () => {
|
|
6121
|
-
const { diagram: t } = await import("./layers.
|
|
6121
|
+
const { diagram: t } = await import("./layers.CheYGnCO.js");
|
|
6122
6122
|
return { id: Ha, diagram: t };
|
|
6123
6123
|
}, kg = {
|
|
6124
6124
|
id: Ha,
|
|
6125
6125
|
detector: bg,
|
|
6126
6126
|
loader: Tg
|
|
6127
6127
|
}, Sg = kg, Ua = "sequence", vg = (t) => /^\s*sequenceDiagram/.test(t), wg = async () => {
|
|
6128
|
-
const { diagram: t } = await import("./layers.
|
|
6128
|
+
const { diagram: t } = await import("./layers.D46738Eo.js");
|
|
6129
6129
|
return { id: Ua, diagram: t };
|
|
6130
6130
|
}, Ag = {
|
|
6131
6131
|
id: Ua,
|
|
@@ -6135,7 +6135,7 @@ const Ar = (t, e) => {
|
|
|
6135
6135
|
var i;
|
|
6136
6136
|
return ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t);
|
|
6137
6137
|
}, Eg = async () => {
|
|
6138
|
-
const { diagram: t } = await import("./layers.
|
|
6138
|
+
const { diagram: t } = await import("./layers.Ck4rTM-7.js");
|
|
6139
6139
|
return { id: Xa, diagram: t };
|
|
6140
6140
|
}, Fg = {
|
|
6141
6141
|
id: Xa,
|
|
@@ -6145,7 +6145,7 @@ const Ar = (t, e) => {
|
|
|
6145
6145
|
var i;
|
|
6146
6146
|
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);
|
|
6147
6147
|
}, Mg = async () => {
|
|
6148
|
-
const { diagram: t } = await import("./layers.
|
|
6148
|
+
const { diagram: t } = await import("./layers.m87Es6h2.js");
|
|
6149
6149
|
return { id: ja, diagram: t };
|
|
6150
6150
|
}, Dg = {
|
|
6151
6151
|
id: ja,
|
|
@@ -6155,7 +6155,7 @@ const Ar = (t, e) => {
|
|
|
6155
6155
|
var i;
|
|
6156
6156
|
return ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t);
|
|
6157
6157
|
}, Rg = async () => {
|
|
6158
|
-
const { diagram: t } = await import("./layers.
|
|
6158
|
+
const { diagram: t } = await import("./layers.MTa--2B1.js");
|
|
6159
6159
|
return { id: Ga, diagram: t };
|
|
6160
6160
|
}, qg = {
|
|
6161
6161
|
id: Ga,
|
|
@@ -6165,14 +6165,14 @@ const Ar = (t, e) => {
|
|
|
6165
6165
|
var i;
|
|
6166
6166
|
return !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper");
|
|
6167
6167
|
}, Wg = async () => {
|
|
6168
|
-
const { diagram: t } = await import("./layers.
|
|
6168
|
+
const { diagram: t } = await import("./layers.CKjdaZlk.js");
|
|
6169
6169
|
return { id: Va, diagram: t };
|
|
6170
6170
|
}, Yg = {
|
|
6171
6171
|
id: Va,
|
|
6172
6172
|
detector: zg,
|
|
6173
6173
|
loader: Wg
|
|
6174
6174
|
}, Hg = Yg, Ka = "journey", Ug = (t) => /^\s*journey/.test(t), Xg = async () => {
|
|
6175
|
-
const { diagram: t } = await import("./layers.
|
|
6175
|
+
const { diagram: t } = await import("./layers.BXrOL8gy.js");
|
|
6176
6176
|
return { id: Ka, diagram: t };
|
|
6177
6177
|
}, jg = {
|
|
6178
6178
|
id: Ka,
|
|
@@ -6194,9 +6194,9 @@ const Ar = (t, e) => {
|
|
|
6194
6194
|
D.info(`Graph bounds: ${a}x${l}`, t), a = s + i * 2, l = o + i * 2, D.info(`Calculated bounds: ${a}x${l}`), Za(e, l, a, r);
|
|
6195
6195
|
const c = `${n.x - i} ${n.y - i} ${n.width + 2 * i} ${n.height + 2 * i}`;
|
|
6196
6196
|
e.attr("viewBox", c);
|
|
6197
|
-
},
|
|
6197
|
+
}, ji = {}, Jg = (t, e, i) => {
|
|
6198
6198
|
let r = "";
|
|
6199
|
-
return t in
|
|
6199
|
+
return t in ji && ji[t] ? r = ji[t](i) : D.warn(`No theme found for ${t}`), ` & {
|
|
6200
6200
|
font-family: ${i.fontFamily};
|
|
6201
6201
|
font-size: ${i.fontSize};
|
|
6202
6202
|
fill: ${i.textColor}
|
|
@@ -6247,7 +6247,7 @@ const Ar = (t, e) => {
|
|
|
6247
6247
|
${e}
|
|
6248
6248
|
`;
|
|
6249
6249
|
}, Qg = (t, e) => {
|
|
6250
|
-
e !== void 0 && (
|
|
6250
|
+
e !== void 0 && (ji[t] = e);
|
|
6251
6251
|
}, tm = Jg;
|
|
6252
6252
|
let qn = "", Pn = "", zn = "";
|
|
6253
6253
|
const Wn = (t) => Re(t, Yt()), em = () => {
|
|
@@ -6268,11 +6268,11 @@ const Wn = (t) => Re(t, Yt()), em = () => {
|
|
|
6268
6268
|
setAccDescription: nm,
|
|
6269
6269
|
setAccTitle: im,
|
|
6270
6270
|
setDiagramTitle: sm
|
|
6271
|
-
}, Symbol.toStringTag, { value: "Module" })), cm = D, hm = Mn, Yn = Yt, lC = Fa, cC = Pe, um = (t) => Re(t, Yn()), dm = Zg, fm = () => lm,
|
|
6271
|
+
}, Symbol.toStringTag, { value: "Module" })), cm = D, hm = Mn, Yn = Yt, lC = Fa, cC = Pe, um = (t) => Re(t, Yn()), dm = Zg, fm = () => lm, ar = {}, lr = (t, e, i) => {
|
|
6272
6272
|
var r;
|
|
6273
|
-
if (
|
|
6273
|
+
if (ar[t])
|
|
6274
6274
|
throw new Error(`Diagram ${t} already registered.`);
|
|
6275
|
-
|
|
6275
|
+
ar[t] = e, i && Sa(t, i), Qg(t, e.styles), (r = e.injectUtils) == null || r.call(
|
|
6276
6276
|
e,
|
|
6277
6277
|
cm,
|
|
6278
6278
|
hm,
|
|
@@ -6284,8 +6284,8 @@ const Wn = (t) => Re(t, Yt()), em = () => {
|
|
|
6284
6284
|
}
|
|
6285
6285
|
);
|
|
6286
6286
|
}, Hn = (t) => {
|
|
6287
|
-
if (t in
|
|
6288
|
-
return
|
|
6287
|
+
if (t in ar)
|
|
6288
|
+
return ar[t];
|
|
6289
6289
|
throw new pm(t);
|
|
6290
6290
|
};
|
|
6291
6291
|
class pm extends Error {
|
|
@@ -6296,10 +6296,10 @@ class pm extends Error {
|
|
|
6296
6296
|
const gm = (t) => {
|
|
6297
6297
|
var e;
|
|
6298
6298
|
const { securityLevel: i } = Yn();
|
|
6299
|
-
let r =
|
|
6299
|
+
let r = St("body");
|
|
6300
6300
|
if (i === "sandbox") {
|
|
6301
|
-
const o = ((e =
|
|
6302
|
-
r =
|
|
6301
|
+
const o = ((e = St(`#i${t}`).node()) == null ? void 0 : e.contentDocument) ?? document;
|
|
6302
|
+
r = St(o.body);
|
|
6303
6303
|
}
|
|
6304
6304
|
return r.select(`#${t}`);
|
|
6305
6305
|
}, mm = (t, e, i) => {
|
|
@@ -6341,35 +6341,35 @@ const gm = (t) => {
|
|
|
6341
6341
|
/^\s*flowchart|graph/.test(t) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "elk")
|
|
6342
6342
|
);
|
|
6343
6343
|
}, bm = async () => {
|
|
6344
|
-
const { diagram: t } = await import("./layers.
|
|
6344
|
+
const { diagram: t } = await import("./layers.mP-gb41G.js");
|
|
6345
6345
|
return { id: Qa, diagram: t };
|
|
6346
6346
|
}, Tm = {
|
|
6347
6347
|
id: Qa,
|
|
6348
6348
|
detector: xm,
|
|
6349
6349
|
loader: bm
|
|
6350
6350
|
}, km = Tm, tl = "timeline", Sm = (t) => /^\s*timeline/.test(t), vm = async () => {
|
|
6351
|
-
const { diagram: t } = await import("./layers.
|
|
6351
|
+
const { diagram: t } = await import("./layers.BDuKhc3d.js");
|
|
6352
6352
|
return { id: tl, diagram: t };
|
|
6353
6353
|
}, wm = {
|
|
6354
6354
|
id: tl,
|
|
6355
6355
|
detector: Sm,
|
|
6356
6356
|
loader: vm
|
|
6357
6357
|
}, Am = wm, el = "mindmap", Bm = (t) => /^\s*mindmap/.test(t), Lm = async () => {
|
|
6358
|
-
const { diagram: t } = await import("./layers.
|
|
6358
|
+
const { diagram: t } = await import("./layers.BAPwPDjT.js");
|
|
6359
6359
|
return { id: el, diagram: t };
|
|
6360
6360
|
}, Em = {
|
|
6361
6361
|
id: el,
|
|
6362
6362
|
detector: Bm,
|
|
6363
6363
|
loader: Lm
|
|
6364
6364
|
}, Fm = Em, il = "sankey", Im = (t) => /^\s*sankey-beta/.test(t), Om = async () => {
|
|
6365
|
-
const { diagram: t } = await import("./layers.
|
|
6365
|
+
const { diagram: t } = await import("./layers.Cy1FqVSa.js");
|
|
6366
6366
|
return { id: il, diagram: t };
|
|
6367
6367
|
}, Mm = {
|
|
6368
6368
|
id: il,
|
|
6369
6369
|
detector: Im,
|
|
6370
6370
|
loader: Om
|
|
6371
6371
|
}, Dm = Mm, rl = "block", Nm = (t) => /^\s*block-beta/.test(t), $m = async () => {
|
|
6372
|
-
const { diagram: t } = await import("./layers.
|
|
6372
|
+
const { diagram: t } = await import("./layers.tX3Ioek7.js");
|
|
6373
6373
|
return { id: rl, diagram: t };
|
|
6374
6374
|
}, Rm = {
|
|
6375
6375
|
id: rl,
|
|
@@ -6378,7 +6378,7 @@ const gm = (t) => {
|
|
|
6378
6378
|
}, qm = Rm;
|
|
6379
6379
|
let rs = !1;
|
|
6380
6380
|
const Un = () => {
|
|
6381
|
-
rs || (rs = !0,
|
|
6381
|
+
rs || (rs = !0, lr("error", Cm, (t) => t.toLowerCase().trim() === "error"), lr(
|
|
6382
6382
|
"---",
|
|
6383
6383
|
// --- diagram type may appear if YAML front-matter is not parsed correctly
|
|
6384
6384
|
{
|
|
@@ -6435,7 +6435,7 @@ class nl {
|
|
|
6435
6435
|
`;
|
|
6436
6436
|
const r = Yt();
|
|
6437
6437
|
try {
|
|
6438
|
-
this.type =
|
|
6438
|
+
this.type = vr(e, r);
|
|
6439
6439
|
} catch (s) {
|
|
6440
6440
|
this.type = "error", this.detectError = s;
|
|
6441
6441
|
}
|
|
@@ -6461,7 +6461,7 @@ class nl {
|
|
|
6461
6461
|
}
|
|
6462
6462
|
}
|
|
6463
6463
|
const Pm = async (t, e = {}) => {
|
|
6464
|
-
const i =
|
|
6464
|
+
const i = vr(t, Yt());
|
|
6465
6465
|
try {
|
|
6466
6466
|
Hn(i);
|
|
6467
6467
|
} catch {
|
|
@@ -6469,7 +6469,7 @@ const Pm = async (t, e = {}) => {
|
|
|
6469
6469
|
if (!n)
|
|
6470
6470
|
throw new Ta(`Diagram ${i} not found.`);
|
|
6471
6471
|
const { id: s, diagram: o } = await n();
|
|
6472
|
-
|
|
6472
|
+
lr(s, o);
|
|
6473
6473
|
}
|
|
6474
6474
|
return new nl(t, e);
|
|
6475
6475
|
};
|
|
@@ -6544,7 +6544,7 @@ mi.prototype.toString = function(e) {
|
|
|
6544
6544
|
return this.name + ": " + sl(this, e);
|
|
6545
6545
|
};
|
|
6546
6546
|
var Jt = mi;
|
|
6547
|
-
function
|
|
6547
|
+
function Vr(t, e, i, r, n) {
|
|
6548
6548
|
var s = "", o = "", a = Math.floor(n / 2) - 1;
|
|
6549
6549
|
return r - e > a && (s = " ... ", e = r - a + s.length), i - r > a && (o = " ...", i = r + a - o.length), {
|
|
6550
6550
|
str: s + t.slice(e, i).replace(/\t/g, "→") + o,
|
|
@@ -6552,7 +6552,7 @@ function Kr(t, e, i, r, n) {
|
|
|
6552
6552
|
// relative position
|
|
6553
6553
|
};
|
|
6554
6554
|
}
|
|
6555
|
-
function
|
|
6555
|
+
function Kr(t, e) {
|
|
6556
6556
|
return ut.repeat(" ", e - t.length) + t;
|
|
6557
6557
|
}
|
|
6558
6558
|
function r0(t, e) {
|
|
@@ -6564,24 +6564,24 @@ function r0(t, e) {
|
|
|
6564
6564
|
o < 0 && (o = r.length - 1);
|
|
6565
6565
|
var a = "", l, c, u = Math.min(t.line + e.linesAfter, n.length).toString().length, d = e.maxLength - (e.indent + u + 3);
|
|
6566
6566
|
for (l = 1; l <= e.linesBefore && !(o - l < 0); l++)
|
|
6567
|
-
c =
|
|
6567
|
+
c = Vr(
|
|
6568
6568
|
t.buffer,
|
|
6569
6569
|
r[o - l],
|
|
6570
6570
|
n[o - l],
|
|
6571
6571
|
t.position - (r[o] - r[o - l]),
|
|
6572
6572
|
d
|
|
6573
|
-
), a = ut.repeat(" ", e.indent) +
|
|
6573
|
+
), a = ut.repeat(" ", e.indent) + Kr((t.line - l + 1).toString(), u) + " | " + c.str + `
|
|
6574
6574
|
` + a;
|
|
6575
|
-
for (c =
|
|
6575
|
+
for (c = Vr(t.buffer, r[o], n[o], t.position, d), a += ut.repeat(" ", e.indent) + Kr((t.line + 1).toString(), u) + " | " + c.str + `
|
|
6576
6576
|
`, a += ut.repeat("-", e.indent + u + 3 + c.pos) + `^
|
|
6577
6577
|
`, l = 1; l <= e.linesAfter && !(o + l >= n.length); l++)
|
|
6578
|
-
c =
|
|
6578
|
+
c = Vr(
|
|
6579
6579
|
t.buffer,
|
|
6580
6580
|
r[o + l],
|
|
6581
6581
|
n[o + l],
|
|
6582
6582
|
t.position - (r[o] - r[o + l]),
|
|
6583
6583
|
d
|
|
6584
|
-
), a += ut.repeat(" ", e.indent) +
|
|
6584
|
+
), a += ut.repeat(" ", e.indent) + Kr((t.line + l + 1).toString(), u) + " | " + c.str + `
|
|
6585
6585
|
`;
|
|
6586
6586
|
return a.replace(/\n$/, "");
|
|
6587
6587
|
}
|
|
@@ -7083,7 +7083,7 @@ var ay = new ct("tag:yaml.org,2002:set", {
|
|
|
7083
7083
|
ry,
|
|
7084
7084
|
ay
|
|
7085
7085
|
]
|
|
7086
|
-
}), he = Object.prototype.hasOwnProperty,
|
|
7086
|
+
}), he = Object.prototype.hasOwnProperty, cr = 1, hl = 2, ul = 3, hr = 4, Zr = 1, cy = 2, ss = 3, hy = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, uy = /[\x85\u2028\u2029]/, dy = /[,\[\]\{\}]/, dl = /^(?:!|!!|![a-z\-]+!)$/i, fl = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
7087
7087
|
function as(t) {
|
|
7088
7088
|
return Object.prototype.toString.call(t);
|
|
7089
7089
|
}
|
|
@@ -7093,7 +7093,7 @@ function zt(t) {
|
|
|
7093
7093
|
function ye(t) {
|
|
7094
7094
|
return t === 9 || t === 32;
|
|
7095
7095
|
}
|
|
7096
|
-
function
|
|
7096
|
+
function _t(t) {
|
|
7097
7097
|
return t === 9 || t === 32 || t === 10 || t === 13;
|
|
7098
7098
|
}
|
|
7099
7099
|
function Ae(t) {
|
|
@@ -7139,13 +7139,13 @@ function ml(t, e) {
|
|
|
7139
7139
|
function I(t, e) {
|
|
7140
7140
|
throw ml(t, e);
|
|
7141
7141
|
}
|
|
7142
|
-
function
|
|
7142
|
+
function ur(t, e) {
|
|
7143
7143
|
t.onWarning && t.onWarning.call(null, ml(t, e));
|
|
7144
7144
|
}
|
|
7145
7145
|
var cs = {
|
|
7146
7146
|
YAML: function(e, i, r) {
|
|
7147
7147
|
var n, s, o;
|
|
7148
|
-
e.version !== null && I(e, "duplication of %YAML directive"), r.length !== 1 && I(e, "YAML directive accepts exactly one argument"), n = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), n === null && I(e, "ill-formed argument of the YAML directive"), s = parseInt(n[1], 10), o = parseInt(n[2], 10), s !== 1 && I(e, "unacceptable YAML version of the document"), e.version = r[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 &&
|
|
7148
|
+
e.version !== null && I(e, "duplication of %YAML directive"), r.length !== 1 && I(e, "YAML directive accepts exactly one argument"), n = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), n === null && I(e, "ill-formed argument of the YAML directive"), s = parseInt(n[1], 10), o = parseInt(n[2], 10), s !== 1 && I(e, "unacceptable YAML version of the document"), e.version = r[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && ur(e, "unsupported YAML version of the document");
|
|
7149
7149
|
},
|
|
7150
7150
|
TAG: function(e, i, r) {
|
|
7151
7151
|
var n, s;
|
|
@@ -7211,11 +7211,11 @@ function J(t, e, i) {
|
|
|
7211
7211
|
else
|
|
7212
7212
|
break;
|
|
7213
7213
|
}
|
|
7214
|
-
return i !== -1 && r !== 0 && t.lineIndent < i &&
|
|
7214
|
+
return i !== -1 && r !== 0 && t.lineIndent < i && ur(t, "deficient indentation"), r;
|
|
7215
7215
|
}
|
|
7216
|
-
function
|
|
7216
|
+
function Ar(t) {
|
|
7217
7217
|
var e = t.position, i;
|
|
7218
|
-
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 ||
|
|
7218
|
+
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 || _t(i)));
|
|
7219
7219
|
}
|
|
7220
7220
|
function Gn(t, e) {
|
|
7221
7221
|
e === 1 ? t.result += " " : e > 1 && (t.result += ut.repeat(`
|
|
@@ -7223,17 +7223,17 @@ function Gn(t, e) {
|
|
|
7223
7223
|
}
|
|
7224
7224
|
function _y(t, e, i) {
|
|
7225
7225
|
var r, n, s, o, a, l, c, u, d = t.kind, h = t.result, f;
|
|
7226
|
-
if (f = t.input.charCodeAt(t.position),
|
|
7226
|
+
if (f = t.input.charCodeAt(t.position), _t(f) || Ae(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (n = t.input.charCodeAt(t.position + 1), _t(n) || i && Ae(n)))
|
|
7227
7227
|
return !1;
|
|
7228
7228
|
for (t.kind = "scalar", t.result = "", s = o = t.position, a = !1; f !== 0; ) {
|
|
7229
7229
|
if (f === 58) {
|
|
7230
|
-
if (n = t.input.charCodeAt(t.position + 1),
|
|
7230
|
+
if (n = t.input.charCodeAt(t.position + 1), _t(n) || i && Ae(n))
|
|
7231
7231
|
break;
|
|
7232
7232
|
} else if (f === 35) {
|
|
7233
|
-
if (r = t.input.charCodeAt(t.position - 1),
|
|
7233
|
+
if (r = t.input.charCodeAt(t.position - 1), _t(r))
|
|
7234
7234
|
break;
|
|
7235
7235
|
} else {
|
|
7236
|
-
if (t.position === t.lineStart &&
|
|
7236
|
+
if (t.position === t.lineStart && Ar(t) || i && Ae(f))
|
|
7237
7237
|
break;
|
|
7238
7238
|
if (zt(f))
|
|
7239
7239
|
if (l = t.line, c = t.lineStart, u = t.lineIndent, J(t, !1, -1), t.lineIndent >= e) {
|
|
@@ -7258,7 +7258,7 @@ function Cy(t, e) {
|
|
|
7258
7258
|
r = t.position, t.position++, n = t.position;
|
|
7259
7259
|
else
|
|
7260
7260
|
return !0;
|
|
7261
|
-
else zt(i) ? (le(t, r, n, !0), Gn(t, J(t, !1, e)), r = n = t.position) : t.position === t.lineStart &&
|
|
7261
|
+
else zt(i) ? (le(t, r, n, !0), Gn(t, J(t, !1, e)), r = n = t.position) : t.position === t.lineStart && Ar(t) ? I(t, "unexpected end of the document within a single quoted scalar") : (t.position++, n = t.position);
|
|
7262
7262
|
I(t, "unexpected end of the stream within a single quoted scalar");
|
|
7263
7263
|
}
|
|
7264
7264
|
function xy(t, e) {
|
|
@@ -7280,7 +7280,7 @@ function xy(t, e) {
|
|
|
7280
7280
|
} else
|
|
7281
7281
|
I(t, "unknown escape sequence");
|
|
7282
7282
|
i = r = t.position;
|
|
7283
|
-
} else zt(a) ? (le(t, i, r, !0), Gn(t, J(t, !1, e)), i = r = t.position) : t.position === t.lineStart &&
|
|
7283
|
+
} else zt(a) ? (le(t, i, r, !0), Gn(t, J(t, !1, e)), i = r = t.position) : t.position === t.lineStart && Ar(t) ? I(t, "unexpected end of the document within a double quoted scalar") : (t.position++, r = t.position);
|
|
7284
7284
|
}
|
|
7285
7285
|
I(t, "unexpected end of the stream within a double quoted scalar");
|
|
7286
7286
|
}
|
|
@@ -7295,12 +7295,12 @@ function by(t, e) {
|
|
|
7295
7295
|
for (t.anchor !== null && (t.anchorMap[t.anchor] = a), b = t.input.charCodeAt(++t.position); b !== 0; ) {
|
|
7296
7296
|
if (J(t, !0, e), b = t.input.charCodeAt(t.position), b === u)
|
|
7297
7297
|
return t.position++, t.tag = o, t.anchor = l, t.kind = f ? "mapping" : "sequence", t.result = a, !0;
|
|
7298
|
-
i ? b === 44 && I(t, "expected the node content, but found ','") : I(t, "missed comma between flow collection entries"), C = y = L = null, d = h = !1, b === 63 && (c = t.input.charCodeAt(t.position + 1),
|
|
7298
|
+
i ? b === 44 && I(t, "expected the node content, but found ','") : I(t, "missed comma between flow collection entries"), C = y = L = null, d = h = !1, b === 63 && (c = t.input.charCodeAt(t.position + 1), _t(c) && (d = h = !0, t.position++, J(t, !0, e))), r = t.line, n = t.lineStart, s = t.position, We(t, e, cr, !1, !0), C = t.tag, y = t.result, J(t, !0, e), b = t.input.charCodeAt(t.position), (h || t.line === r) && b === 58 && (d = !0, b = t.input.charCodeAt(++t.position), J(t, !0, e), We(t, e, cr, !1, !0), L = t.result), f ? Be(t, a, m, C, y, L, r, n, s) : d ? a.push(Be(t, null, m, C, y, L, r, n, s)) : a.push(y), J(t, !0, e), b = t.input.charCodeAt(t.position), b === 44 ? (i = !0, b = t.input.charCodeAt(++t.position)) : i = !1;
|
|
7299
7299
|
}
|
|
7300
7300
|
I(t, "unexpected end of the stream within a flow collection");
|
|
7301
7301
|
}
|
|
7302
7302
|
function Ty(t, e) {
|
|
7303
|
-
var i, r, n =
|
|
7303
|
+
var i, r, n = Zr, s = !1, o = !1, a = e, l = 0, c = !1, u, d;
|
|
7304
7304
|
if (d = t.input.charCodeAt(t.position), d === 124)
|
|
7305
7305
|
r = !1;
|
|
7306
7306
|
else if (d === 62)
|
|
@@ -7309,7 +7309,7 @@ function Ty(t, e) {
|
|
|
7309
7309
|
return !1;
|
|
7310
7310
|
for (t.kind = "scalar", t.result = ""; d !== 0; )
|
|
7311
7311
|
if (d = t.input.charCodeAt(++t.position), d === 43 || d === 45)
|
|
7312
|
-
|
|
7312
|
+
Zr === n ? n = d === 43 ? ss : cy : I(t, "repeat of a chomping mode identifier");
|
|
7313
7313
|
else if ((u = gy(d)) >= 0)
|
|
7314
7314
|
u === 0 ? I(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? I(t, "repeat of an indentation width identifier") : (a = e + u - 1, o = !0);
|
|
7315
7315
|
else
|
|
@@ -7332,7 +7332,7 @@ function Ty(t, e) {
|
|
|
7332
7332
|
}
|
|
7333
7333
|
if (t.lineIndent < a) {
|
|
7334
7334
|
n === ss ? t.result += ut.repeat(`
|
|
7335
|
-
`, s ? 1 + l : l) : n ===
|
|
7335
|
+
`, s ? 1 + l : l) : n === Zr && s && (t.result += `
|
|
7336
7336
|
`);
|
|
7337
7337
|
break;
|
|
7338
7338
|
}
|
|
@@ -7350,7 +7350,7 @@ function us(t, e) {
|
|
|
7350
7350
|
var i, r = t.tag, n = t.anchor, s = [], o, a = !1, l;
|
|
7351
7351
|
if (t.firstTabInLine !== -1)
|
|
7352
7352
|
return !1;
|
|
7353
|
-
for (t.anchor !== null && (t.anchorMap[t.anchor] = s), l = t.input.charCodeAt(t.position); l !== 0 && (t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, I(t, "tab characters must not be used in indentation")), !(l !== 45 || (o = t.input.charCodeAt(t.position + 1), !
|
|
7353
|
+
for (t.anchor !== null && (t.anchorMap[t.anchor] = s), l = t.input.charCodeAt(t.position); l !== 0 && (t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, I(t, "tab characters must not be used in indentation")), !(l !== 45 || (o = t.input.charCodeAt(t.position + 1), !_t(o)))); ) {
|
|
7354
7354
|
if (a = !0, t.position++, J(t, !0, -1) && t.lineIndent <= e) {
|
|
7355
7355
|
s.push(null), l = t.input.charCodeAt(t.position);
|
|
7356
7356
|
continue;
|
|
@@ -7367,7 +7367,7 @@ function ky(t, e, i) {
|
|
|
7367
7367
|
if (t.firstTabInLine !== -1)
|
|
7368
7368
|
return !1;
|
|
7369
7369
|
for (t.anchor !== null && (t.anchorMap[t.anchor] = d), b = t.input.charCodeAt(t.position); b !== 0; ) {
|
|
7370
|
-
if (!C && t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, I(t, "tab characters must not be used in indentation")), r = t.input.charCodeAt(t.position + 1), s = t.line, (b === 63 || b === 58) &&
|
|
7370
|
+
if (!C && t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, I(t, "tab characters must not be used in indentation")), r = t.input.charCodeAt(t.position + 1), s = t.line, (b === 63 || b === 58) && _t(r))
|
|
7371
7371
|
b === 63 ? (C && (Be(t, d, h, f, m, null, o, a, l), f = m = y = null), L = !0, C = !0, n = !0) : C ? (C = !1, n = !0) : I(t, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), t.position += 1, b = r;
|
|
7372
7372
|
else {
|
|
7373
7373
|
if (o = t.line, a = t.lineStart, l = t.position, !We(t, i, hl, !1, !0))
|
|
@@ -7376,7 +7376,7 @@ function ky(t, e, i) {
|
|
|
7376
7376
|
for (b = t.input.charCodeAt(t.position); ye(b); )
|
|
7377
7377
|
b = t.input.charCodeAt(++t.position);
|
|
7378
7378
|
if (b === 58)
|
|
7379
|
-
b = t.input.charCodeAt(++t.position),
|
|
7379
|
+
b = t.input.charCodeAt(++t.position), _t(b) || I(t, "a whitespace character is expected after the key-value separator within a block mapping"), C && (Be(t, d, h, f, m, null, o, a, l), f = m = y = null), L = !0, C = !1, n = !1, f = t.tag, m = t.result;
|
|
7380
7380
|
else if (L)
|
|
7381
7381
|
I(t, "can not read an implicit mapping pair; a colon is missed");
|
|
7382
7382
|
else
|
|
@@ -7386,7 +7386,7 @@ function ky(t, e, i) {
|
|
|
7386
7386
|
else
|
|
7387
7387
|
return t.tag = c, t.anchor = u, !0;
|
|
7388
7388
|
}
|
|
7389
|
-
if ((t.line === s || t.lineIndent > e) && (C && (o = t.line, a = t.lineStart, l = t.position), We(t, e,
|
|
7389
|
+
if ((t.line === s || t.lineIndent > e) && (C && (o = t.line, a = t.lineStart, l = t.position), We(t, e, hr, !0, n) && (C ? m = t.result : y = t.result), C || (Be(t, d, h, f, m, y, o, a, l), f = m = y = null), J(t, !0, -1), b = t.input.charCodeAt(t.position)), (t.line === s || t.lineIndent > e) && b !== 0)
|
|
7390
7390
|
I(t, "bad indentation of a mapping entry");
|
|
7391
7391
|
else if (t.lineIndent < e)
|
|
7392
7392
|
break;
|
|
@@ -7403,7 +7403,7 @@ function Sy(t) {
|
|
|
7403
7403
|
while (o !== 0 && o !== 62);
|
|
7404
7404
|
t.position < t.length ? (s = t.input.slice(e, t.position), o = t.input.charCodeAt(++t.position)) : I(t, "unexpected end of the stream within a verbatim tag");
|
|
7405
7405
|
} else {
|
|
7406
|
-
for (; o !== 0 && !
|
|
7406
|
+
for (; o !== 0 && !_t(o); )
|
|
7407
7407
|
o === 33 && (r ? I(t, "tag suffix cannot contain exclamation marks") : (n = t.input.slice(e - 1, t.position + 1), dl.test(n) || I(t, "named tag handle cannot contain such characters"), r = !0, e = t.position + 1)), o = t.input.charCodeAt(++t.position);
|
|
7408
7408
|
s = t.input.slice(e, t.position), dy.test(s) && I(t, "tag suffix cannot contain flow indicator characters");
|
|
7409
7409
|
}
|
|
@@ -7419,7 +7419,7 @@ function vy(t) {
|
|
|
7419
7419
|
var e, i;
|
|
7420
7420
|
if (i = t.input.charCodeAt(t.position), i !== 38)
|
|
7421
7421
|
return !1;
|
|
7422
|
-
for (t.anchor !== null && I(t, "duplication of an anchor property"), i = t.input.charCodeAt(++t.position), e = t.position; i !== 0 && !
|
|
7422
|
+
for (t.anchor !== null && I(t, "duplication of an anchor property"), i = t.input.charCodeAt(++t.position), e = t.position; i !== 0 && !_t(i) && !Ae(i); )
|
|
7423
7423
|
i = t.input.charCodeAt(++t.position);
|
|
7424
7424
|
return t.position === e && I(t, "name of an anchor node must contain at least one character"), t.anchor = t.input.slice(e, t.position), !0;
|
|
7425
7425
|
}
|
|
@@ -7427,16 +7427,16 @@ function wy(t) {
|
|
|
7427
7427
|
var e, i, r;
|
|
7428
7428
|
if (r = t.input.charCodeAt(t.position), r !== 42)
|
|
7429
7429
|
return !1;
|
|
7430
|
-
for (r = t.input.charCodeAt(++t.position), e = t.position; r !== 0 && !
|
|
7430
|
+
for (r = t.input.charCodeAt(++t.position), e = t.position; r !== 0 && !_t(r) && !Ae(r); )
|
|
7431
7431
|
r = t.input.charCodeAt(++t.position);
|
|
7432
7432
|
return t.position === e && I(t, "name of an alias node must contain at least one character"), i = t.input.slice(e, t.position), he.call(t.anchorMap, i) || I(t, 'unidentified alias "' + i + '"'), t.result = t.anchorMap[i], J(t, !0, -1), !0;
|
|
7433
7433
|
}
|
|
7434
7434
|
function We(t, e, i, r, n) {
|
|
7435
7435
|
var s, o, a, l = 1, c = !1, u = !1, d, h, f, m, y, C;
|
|
7436
|
-
if (t.listener !== null && t.listener("open", t), t.tag = null, t.anchor = null, t.kind = null, t.result = null, s = o = a =
|
|
7436
|
+
if (t.listener !== null && t.listener("open", t), t.tag = null, t.anchor = null, t.kind = null, t.result = null, s = o = a = hr === i || ul === i, r && J(t, !0, -1) && (c = !0, t.lineIndent > e ? l = 1 : t.lineIndent === e ? l = 0 : t.lineIndent < e && (l = -1)), l === 1)
|
|
7437
7437
|
for (; Sy(t) || vy(t); )
|
|
7438
7438
|
J(t, !0, -1) ? (c = !0, a = s, t.lineIndent > e ? l = 1 : t.lineIndent === e ? l = 0 : t.lineIndent < e && (l = -1)) : a = !1;
|
|
7439
|
-
if (a && (a = c || n), (l === 1 ||
|
|
7439
|
+
if (a && (a = c || n), (l === 1 || hr === i) && (cr === i || hl === i ? y = e : y = e + 1, C = t.position - t.lineStart, l === 1 ? a && (us(t, C) || ky(t, C, y)) || by(t, y) ? u = !0 : (o && Ty(t, y) || Cy(t, y) || xy(t, y) ? u = !0 : wy(t) ? (u = !0, (t.tag !== null || t.anchor !== null) && I(t, "alias node should not have any properties")) : _y(t, y, cr === i) && (u = !0, t.tag === null && (t.tag = "?")), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : l === 0 && (u = a && us(t, C))), t.tag === null)
|
|
7440
7440
|
t.anchor !== null && (t.anchorMap[t.anchor] = t.result);
|
|
7441
7441
|
else if (t.tag === "?") {
|
|
7442
7442
|
for (t.result !== null && t.kind !== "scalar" && I(t, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + t.kind + '"'), d = 0, h = t.implicitTypes.length; d < h; d += 1)
|
|
@@ -7460,7 +7460,7 @@ function We(t, e, i, r, n) {
|
|
|
7460
7460
|
function Ay(t) {
|
|
7461
7461
|
var e = t.position, i, r, n, s = !1, o;
|
|
7462
7462
|
for (t.version = null, t.checkLineBreaks = t.legacy, t.tagMap = /* @__PURE__ */ Object.create(null), t.anchorMap = /* @__PURE__ */ Object.create(null); (o = t.input.charCodeAt(t.position)) !== 0 && (J(t, !0, -1), o = t.input.charCodeAt(t.position), !(t.lineIndent > 0 || o !== 37)); ) {
|
|
7463
|
-
for (s = !0, o = t.input.charCodeAt(++t.position), i = t.position; o !== 0 && !
|
|
7463
|
+
for (s = !0, o = t.input.charCodeAt(++t.position), i = t.position; o !== 0 && !_t(o); )
|
|
7464
7464
|
o = t.input.charCodeAt(++t.position);
|
|
7465
7465
|
for (r = t.input.slice(i, t.position), n = [], r.length < 1 && I(t, "directive name must not be less than one character in length"); o !== 0; ) {
|
|
7466
7466
|
for (; ye(o); )
|
|
@@ -7473,13 +7473,13 @@ function Ay(t) {
|
|
|
7473
7473
|
}
|
|
7474
7474
|
if (zt(o))
|
|
7475
7475
|
break;
|
|
7476
|
-
for (i = t.position; o !== 0 && !
|
|
7476
|
+
for (i = t.position; o !== 0 && !_t(o); )
|
|
7477
7477
|
o = t.input.charCodeAt(++t.position);
|
|
7478
7478
|
n.push(t.input.slice(i, t.position));
|
|
7479
7479
|
}
|
|
7480
|
-
o !== 0 && jn(t), he.call(cs, r) ? cs[r](t, r, n) :
|
|
7480
|
+
o !== 0 && jn(t), he.call(cs, r) ? cs[r](t, r, n) : ur(t, 'unknown document directive "' + r + '"');
|
|
7481
7481
|
}
|
|
7482
|
-
if (J(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, J(t, !0, -1)) : s && I(t, "directives end mark is expected"), We(t, t.lineIndent - 1,
|
|
7482
|
+
if (J(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, J(t, !0, -1)) : s && I(t, "directives end mark is expected"), We(t, t.lineIndent - 1, hr, !1, !0), J(t, !0, -1), t.checkLineBreaks && uy.test(t.input.slice(e, t.position)) && ur(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && Ar(t)) {
|
|
7483
7483
|
t.input.charCodeAt(t.position) === 46 && (t.position += 3, J(t, !0, -1));
|
|
7484
7484
|
return;
|
|
7485
7485
|
}
|
|
@@ -7554,7 +7554,7 @@ function yl(t) {
|
|
|
7554
7554
|
const Ry = 5e4, qy = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", Py = "sandbox", zy = "loose", Wy = "http://www.w3.org/2000/svg", Yy = "http://www.w3.org/1999/xlink", Hy = "http://www.w3.org/1999/xhtml", Uy = "100%", Xy = "100%", jy = "border:0;margin:0;", Gy = "margin:0", Vy = "allow-top-navigation-by-user-activation allow-popups", Ky = 'The "iframe" tag is not supported by your browser.', Zy = ["foreignobject"], Jy = ["dominant-baseline"];
|
|
7555
7555
|
function _l(t) {
|
|
7556
7556
|
const e = yl(t);
|
|
7557
|
-
return
|
|
7557
|
+
return sr(), Mp(e.config ?? {}), e;
|
|
7558
7558
|
}
|
|
7559
7559
|
async function Qy(t, e) {
|
|
7560
7560
|
Un(), t = _l(t).code;
|
|
@@ -7574,13 +7574,13 @@ const ds = (t, e, i = []) => `
|
|
|
7574
7574
|
if (t.themeCSS !== void 0 && (r += `
|
|
7575
7575
|
${t.themeCSS}`), t.fontFamily !== void 0 && (r += `
|
|
7576
7576
|
:root { --mermaid-font-family: ${t.fontFamily}}`), t.altFontFamily !== void 0 && (r += `
|
|
7577
|
-
:root { --mermaid-alt-font-family: ${t.altFontFamily}}`), !
|
|
7577
|
+
:root { --mermaid-alt-font-family: ${t.altFontFamily}}`), !Rr(e)) {
|
|
7578
7578
|
const a = t.htmlLabels || ((i = t.flowchart) == null ? void 0 : i.htmlLabels) ? ["> *", "span"] : ["rect", "polygon", "ellipse", "circle", "path"];
|
|
7579
7579
|
for (const l in e) {
|
|
7580
7580
|
const c = e[l];
|
|
7581
|
-
|
|
7581
|
+
Rr(c.styles) || a.forEach((u) => {
|
|
7582
7582
|
r += ds(c.id, u, c.styles);
|
|
7583
|
-
}),
|
|
7583
|
+
}), Rr(c.textStyles) || (r += ds(c.id, "tspan", c.textStyles));
|
|
7584
7584
|
}
|
|
7585
7585
|
}
|
|
7586
7586
|
return r;
|
|
@@ -7619,21 +7619,21 @@ const n_ = (t, e, i, r) => {
|
|
|
7619
7619
|
const u = Yt();
|
|
7620
7620
|
D.debug(u), e.length > ((u == null ? void 0 : u.maxTextSize) ?? Ry) && (e = qy);
|
|
7621
7621
|
const d = "#" + t, h = "i" + t, f = "#" + h, m = "d" + t, y = "#" + m;
|
|
7622
|
-
let C =
|
|
7622
|
+
let C = St("body");
|
|
7623
7623
|
const L = u.securityLevel === Py, b = u.securityLevel === zy, R = u.fontFamily;
|
|
7624
7624
|
if (i !== void 0) {
|
|
7625
7625
|
if (i && (i.innerHTML = ""), L) {
|
|
7626
|
-
const M = ps(
|
|
7627
|
-
C =
|
|
7626
|
+
const M = ps(St(i), h);
|
|
7627
|
+
C = St(M.nodes()[0].contentDocument.body), C.node().style.margin = 0;
|
|
7628
7628
|
} else
|
|
7629
|
-
C =
|
|
7629
|
+
C = St(i);
|
|
7630
7630
|
fs(C, t, m, `font-family: ${R}`, Yy);
|
|
7631
7631
|
} else {
|
|
7632
7632
|
if (n_(document, t, m, h), L) {
|
|
7633
|
-
const M = ps(
|
|
7634
|
-
C =
|
|
7633
|
+
const M = ps(St("body"), h);
|
|
7634
|
+
C = St(M.nodes()[0].contentDocument.body), C.node().style.margin = 0;
|
|
7635
7635
|
} else
|
|
7636
|
-
C =
|
|
7636
|
+
C = St("body");
|
|
7637
7637
|
fs(C, t, m);
|
|
7638
7638
|
}
|
|
7639
7639
|
let x, S;
|
|
@@ -7662,7 +7662,7 @@ const n_ = (t, e, i, r) => {
|
|
|
7662
7662
|
}));
|
|
7663
7663
|
if (zm(), S)
|
|
7664
7664
|
throw S;
|
|
7665
|
-
const v =
|
|
7665
|
+
const v = St(L ? f : y).node();
|
|
7666
7666
|
return v && "remove" in v && v.remove(), {
|
|
7667
7667
|
svg: T,
|
|
7668
7668
|
bindFunctions: x.db.bindFunctions
|
|
@@ -7693,15 +7693,15 @@ const Ce = Object.freeze({
|
|
|
7693
7693
|
getSiteConfig: Ea,
|
|
7694
7694
|
updateSiteConfig: Op,
|
|
7695
7695
|
reset: () => {
|
|
7696
|
-
|
|
7696
|
+
sr();
|
|
7697
7697
|
},
|
|
7698
7698
|
globalReset: () => {
|
|
7699
|
-
|
|
7699
|
+
sr(Pe);
|
|
7700
7700
|
},
|
|
7701
7701
|
defaultConfig: Pe
|
|
7702
7702
|
});
|
|
7703
7703
|
Mn(Yt().logLevel);
|
|
7704
|
-
|
|
7704
|
+
sr(Yt());
|
|
7705
7705
|
const l_ = async () => {
|
|
7706
7706
|
D.debug("Loading registered diagrams");
|
|
7707
7707
|
const e = (await Promise.allSettled(
|
|
@@ -7712,7 +7712,7 @@ const l_ = async () => {
|
|
|
7712
7712
|
} catch {
|
|
7713
7713
|
try {
|
|
7714
7714
|
const { diagram: o, id: a } = await n();
|
|
7715
|
-
|
|
7715
|
+
lr(a, o, r);
|
|
7716
7716
|
} catch (o) {
|
|
7717
7717
|
throw D.error(`Failed to load external diagram with key ${i}. Removing from detectors.`), delete qe[i], o;
|
|
7718
7718
|
}
|
|
@@ -7738,7 +7738,7 @@ const l_ = async () => {
|
|
|
7738
7738
|
try {
|
|
7739
7739
|
await h_(t);
|
|
7740
7740
|
} catch (e) {
|
|
7741
|
-
if (Aa(e) && D.error(e.str),
|
|
7741
|
+
if (Aa(e) && D.error(e.str), Ct.parseError && Ct.parseError(e), !t.suppressErrors)
|
|
7742
7742
|
throw D.error("Use the suppressErrors option to suppress these errors"), e;
|
|
7743
7743
|
}
|
|
7744
7744
|
}, h_ = async function({ postRenderCallback: t, querySelector: e, nodes: i } = {
|
|
@@ -7771,7 +7771,7 @@ const l_ = async () => {
|
|
|
7771
7771
|
const { svg: d, bindFunctions: h } = await kl(c, o, l);
|
|
7772
7772
|
l.innerHTML = d, t && await t(c), h && h(l);
|
|
7773
7773
|
} catch (d) {
|
|
7774
|
-
c_(d, a,
|
|
7774
|
+
c_(d, a, Ct.parseError);
|
|
7775
7775
|
}
|
|
7776
7776
|
}
|
|
7777
7777
|
if (a.length > 0)
|
|
@@ -7787,9 +7787,9 @@ const l_ = async () => {
|
|
|
7787
7787
|
} = {}) => {
|
|
7788
7788
|
ka(...t), e === !1 && await l_();
|
|
7789
7789
|
}, bl = function() {
|
|
7790
|
-
if (
|
|
7790
|
+
if (Ct.startOnLoad) {
|
|
7791
7791
|
const { startOnLoad: t } = Ce.getConfig();
|
|
7792
|
-
t &&
|
|
7792
|
+
t && Ct.run().catch((e) => D.error("Mermaid failed to initialize", e));
|
|
7793
7793
|
}
|
|
7794
7794
|
};
|
|
7795
7795
|
if (typeof document < "u") {
|
|
@@ -7799,13 +7799,13 @@ if (typeof document < "u") {
|
|
|
7799
7799
|
window.addEventListener("load", bl, !1);
|
|
7800
7800
|
}
|
|
7801
7801
|
const f_ = function(t) {
|
|
7802
|
-
|
|
7803
|
-
},
|
|
7804
|
-
let
|
|
7802
|
+
Ct.parseError = t;
|
|
7803
|
+
}, dr = [];
|
|
7804
|
+
let Jr = !1;
|
|
7805
7805
|
const Tl = async () => {
|
|
7806
|
-
if (!
|
|
7807
|
-
for (
|
|
7808
|
-
const t =
|
|
7806
|
+
if (!Jr) {
|
|
7807
|
+
for (Jr = !0; dr.length > 0; ) {
|
|
7808
|
+
const t = dr.shift();
|
|
7809
7809
|
if (t)
|
|
7810
7810
|
try {
|
|
7811
7811
|
await t();
|
|
@@ -7813,7 +7813,7 @@ const Tl = async () => {
|
|
|
7813
7813
|
D.error("Error executing queue", e);
|
|
7814
7814
|
}
|
|
7815
7815
|
}
|
|
7816
|
-
|
|
7816
|
+
Jr = !1;
|
|
7817
7817
|
}
|
|
7818
7818
|
}, p_ = async (t, e) => new Promise((i, r) => {
|
|
7819
7819
|
const n = () => new Promise((s, o) => {
|
|
@@ -7823,11 +7823,11 @@ const Tl = async () => {
|
|
|
7823
7823
|
},
|
|
7824
7824
|
(a) => {
|
|
7825
7825
|
var l;
|
|
7826
|
-
D.error("Error parsing", a), (l =
|
|
7826
|
+
D.error("Error parsing", a), (l = Ct.parseError) == null || l.call(Ct, a), o(a), r(a);
|
|
7827
7827
|
}
|
|
7828
7828
|
);
|
|
7829
7829
|
});
|
|
7830
|
-
|
|
7830
|
+
dr.push(n), Tl().catch(r);
|
|
7831
7831
|
}), kl = (t, e, i) => new Promise((r, n) => {
|
|
7832
7832
|
const s = () => new Promise((o, a) => {
|
|
7833
7833
|
Ce.render(t, e, i).then(
|
|
@@ -7836,12 +7836,12 @@ const Tl = async () => {
|
|
|
7836
7836
|
},
|
|
7837
7837
|
(l) => {
|
|
7838
7838
|
var c;
|
|
7839
|
-
D.error("Error parsing", l), (c =
|
|
7839
|
+
D.error("Error parsing", l), (c = Ct.parseError) == null || c.call(Ct, l), a(l), n(l);
|
|
7840
7840
|
}
|
|
7841
7841
|
);
|
|
7842
7842
|
});
|
|
7843
|
-
|
|
7844
|
-
}),
|
|
7843
|
+
dr.push(s), Tl().catch(n);
|
|
7844
|
+
}), Ct = {
|
|
7845
7845
|
startOnLoad: !0,
|
|
7846
7846
|
mermaidAPI: Ce,
|
|
7847
7847
|
parse: p_,
|
|
@@ -7853,7 +7853,7 @@ const Tl = async () => {
|
|
|
7853
7853
|
parseError: void 0,
|
|
7854
7854
|
contentLoaded: bl,
|
|
7855
7855
|
setParseErrorHandler: f_,
|
|
7856
|
-
detectType:
|
|
7856
|
+
detectType: vr
|
|
7857
7857
|
}, He = (t) => {
|
|
7858
7858
|
t = m_(t);
|
|
7859
7859
|
const e = t.replace(/#(\d+);/g, "&#$1;").replace(/#([a-z]+);/g, "&$1;"), i = document.createElement("textarea");
|
|
@@ -8036,7 +8036,7 @@ const Tl = async () => {
|
|
|
8036
8036
|
text: i,
|
|
8037
8037
|
width: (r == null ? void 0 : r.width) || 20,
|
|
8038
8038
|
height: (r == null ? void 0 : r.height) || 20,
|
|
8039
|
-
fontSize: (r == null ? void 0 : r.fontSize) ||
|
|
8039
|
+
fontSize: (r == null ? void 0 : r.fontSize) || fr,
|
|
8040
8040
|
id: r == null ? void 0 : r.id,
|
|
8041
8041
|
groupId: r == null ? void 0 : r.groupId,
|
|
8042
8042
|
metadata: r == null ? void 0 : r.metadata
|
|
@@ -8460,8 +8460,8 @@ const Tl = async () => {
|
|
|
8460
8460
|
height: n
|
|
8461
8461
|
};
|
|
8462
8462
|
}, R_ = async (t, e = go) => {
|
|
8463
|
-
|
|
8464
|
-
const i = await
|
|
8463
|
+
Ct.initialize({ ...go, ...e });
|
|
8464
|
+
const i = await Ct.mermaidAPI.getDiagramFromText(g_(t)), { svg: r } = await Ct.render("mermaid-to-excalidraw", t), n = document.createElement("div");
|
|
8465
8465
|
n.setAttribute("style", "opacity: 0; position: relative; z-index: -1;"), n.innerHTML = r, n.id = "mermaid-diagram", document.body.appendChild(n);
|
|
8466
8466
|
let s;
|
|
8467
8467
|
switch (i.type) {
|
|
@@ -8484,7 +8484,7 @@ const Tl = async () => {
|
|
|
8484
8484
|
return n.remove(), s;
|
|
8485
8485
|
}, q_ = async (t, e) => {
|
|
8486
8486
|
var o;
|
|
8487
|
-
const i = e || {}, r = parseInt(((o = i.themeVariables) == null ? void 0 : o.fontSize) ?? "") ||
|
|
8487
|
+
const i = e || {}, r = parseInt(((o = i.themeVariables) == null ? void 0 : o.fontSize) ?? "") || fr, n = await R_(t, {
|
|
8488
8488
|
...i,
|
|
8489
8489
|
themeVariables: {
|
|
8490
8490
|
...i.themeVariables,
|
|
@@ -8513,8 +8513,8 @@ export {
|
|
|
8513
8513
|
K_ as J,
|
|
8514
8514
|
X_ as K,
|
|
8515
8515
|
j_ as L,
|
|
8516
|
-
|
|
8517
|
-
|
|
8516
|
+
eC as M,
|
|
8517
|
+
V_ as N,
|
|
8518
8518
|
tC as O,
|
|
8519
8519
|
tp as P,
|
|
8520
8520
|
Gf as Q,
|
|
@@ -8528,19 +8528,19 @@ export {
|
|
|
8528
8528
|
Zg as Y,
|
|
8529
8529
|
np as Z,
|
|
8530
8530
|
yp as _,
|
|
8531
|
-
|
|
8531
|
+
om as a,
|
|
8532
8532
|
yd as a0,
|
|
8533
8533
|
_p as a1,
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8534
|
+
xi as a2,
|
|
8535
|
+
F as a3,
|
|
8536
|
+
$ as a4,
|
|
8537
|
+
lm as a5,
|
|
8538
8538
|
ai as a6,
|
|
8539
8539
|
Ba as a7,
|
|
8540
|
-
|
|
8540
|
+
xt as a8,
|
|
8541
8541
|
Is as a9,
|
|
8542
8542
|
hc as aa,
|
|
8543
|
-
|
|
8543
|
+
yt as ab,
|
|
8544
8544
|
jh as ac,
|
|
8545
8545
|
Tn as ad,
|
|
8546
8546
|
Os as ae,
|
|
@@ -8550,18 +8550,18 @@ export {
|
|
|
8550
8550
|
ic as ai,
|
|
8551
8551
|
kn as aj,
|
|
8552
8552
|
se as ak,
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8553
|
+
Bo as al,
|
|
8554
|
+
tu as am,
|
|
8555
|
+
fi as an,
|
|
8556
8556
|
Jl as ao,
|
|
8557
8557
|
hC as ap,
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8558
|
+
rm as b,
|
|
8559
|
+
im as c,
|
|
8560
|
+
St as d,
|
|
8561
8561
|
Za as e,
|
|
8562
8562
|
lt as f,
|
|
8563
|
-
|
|
8564
|
-
|
|
8563
|
+
Yn as g,
|
|
8564
|
+
or as h,
|
|
8565
8565
|
Re as i,
|
|
8566
8566
|
Dn as j,
|
|
8567
8567
|
vp as k,
|