@ootc/markdown 0.0.9 → 0.1.0
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/README.md +39 -1
- package/dist/CodeBlock-B_Wu_RsD.cjs +15 -0
- package/dist/CodeBlock-BdSjKnRY.js +2320 -0
- package/dist/{MarkdownPreview-lqJAnu4B.js → MarkdownPreview-CcTDfsgR.js} +13 -12
- package/dist/{MarkdownPreview-DcWMewhy.cjs → MarkdownPreview-imz9Sn8T.cjs} +34 -34
- package/dist/{_baseUniq-BfVwFITD.js → _baseUniq-CmzFJAby.js} +1 -1
- package/dist/{_baseUniq-D-3LoSZp.cjs → _baseUniq-DTl9zLUk.cjs} +1 -1
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/{arc-DrpGAtaq.cjs → arc-CLsgE_FO.cjs} +1 -1
- package/dist/{arc-CyzqoBTV.js → arc-DN0J6orD.js} +1 -1
- package/dist/architectureDiagram-VXUJARFQ-C0Ox22_L.cjs +36 -0
- package/dist/{architectureDiagram-VXUJARFQ-B8EG6DIA.js → architectureDiagram-VXUJARFQ-DD1WVkEB.js} +4 -4
- package/dist/{blockDiagram-VD42YOAC-G-1iOwuq.cjs → blockDiagram-VD42YOAC-CXFrXgPY.cjs} +1 -1
- package/dist/{blockDiagram-VD42YOAC-CKNTgeZ8.js → blockDiagram-VD42YOAC-DzX-b-6d.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-BJ1Ka924.cjs → c4Diagram-YG6GDRKO-8tK3jTST.cjs} +1 -1
- package/dist/{c4Diagram-YG6GDRKO-Bokkq4pO.js → c4Diagram-YG6GDRKO-CBo9Z0K5.js} +2 -2
- package/dist/{channel-C4noxv-h.js → channel-BWUNfmCm.js} +1 -1
- package/dist/{channel-DvIIEA3u.cjs → channel-MPm5yYgZ.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-ByoAwp1j.js → chunk-4BX2VUAB-BC2JrFPv.js} +1 -1
- package/dist/{chunk-4BX2VUAB-B5M-5e_l.cjs → chunk-4BX2VUAB-CVibkmL0.cjs} +1 -1
- package/dist/{chunk-55IACEB6-DRnx6y7F.js → chunk-55IACEB6-CzZUDZ70.js} +1 -1
- package/dist/{chunk-55IACEB6-BpG-_f0h.cjs → chunk-55IACEB6-DZnx2f_C.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-evUM3dip.cjs → chunk-B4BG7PRW-D0a_-7vE.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-0toVGVN-.js → chunk-B4BG7PRW-DU2I6H4s.js} +4 -4
- package/dist/{chunk-DI55MBZ5-CyInK_-M.js → chunk-DI55MBZ5-BuXMX149.js} +3 -3
- package/dist/{chunk-DI55MBZ5-DKs4p2E0.cjs → chunk-DI55MBZ5-Dr1JJdkm.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-cpOVGF_2.cjs → chunk-FMBD7UC4-DekHPa2I.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-BwUpmqhP.js → chunk-FMBD7UC4-RBUwxloo.js} +1 -1
- package/dist/{chunk-QN33PNHL-C7XXEbKU.js → chunk-QN33PNHL-B6FGlZxV.js} +1 -1
- package/dist/{chunk-QN33PNHL-CEdYSNej.cjs → chunk-QN33PNHL-C1YRBk0j.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-hppYv0Iu.cjs → chunk-QZHKN3VN-BspjB43V.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-qqHBDA_I.js → chunk-QZHKN3VN-DR_oy1P1.js} +1 -1
- package/dist/{chunk-TZMSLE5B-Bklau4qu.cjs → chunk-TZMSLE5B-BRck7Be7.cjs} +1 -1
- package/dist/{chunk-TZMSLE5B-B9QqMSFM.js → chunk-TZMSLE5B-pyixj0XE.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-TgiEUsUn.cjs → classDiagram-2ON5EDUG-Bvw7buPq.cjs} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CYKX_y1c.js → classDiagram-2ON5EDUG-DK3Yvqrk.js} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-TgiEUsUn.cjs → classDiagram-v2-WZHVMYZB-Bvw7buPq.cjs} +1 -1
- package/dist/{classDiagram-2ON5EDUG-CYKX_y1c.js → classDiagram-v2-WZHVMYZB-DK3Yvqrk.js} +2 -2
- package/dist/clone-D2V_3-x6.cjs +1 -0
- package/dist/{clone-CE64n2kf.js → clone-O816pP2i.js} +1 -1
- package/dist/code.cjs +1 -1
- package/dist/code.css +1 -0
- package/dist/code.d.ts +3 -1
- package/dist/code.js +3 -2
- package/dist/{cose-bilkent-S5V4N54A-B_XAF1ZT.js → cose-bilkent-S5V4N54A-Bu3r2cA0.js} +2 -2
- package/dist/cose-bilkent-S5V4N54A-vz9hoE-P.cjs +1 -0
- package/dist/css/CodeBlock.css +1 -0
- package/dist/css/MarkdownPreview.css +1 -0
- package/dist/css/editor.css +1 -0
- package/dist/{dagre-6UL2VRFP-C8MiPDEQ.cjs → dagre-6UL2VRFP-D2UBESo6.cjs} +1 -1
- package/dist/{dagre-6UL2VRFP-Biy3Qm3K.js → dagre-6UL2VRFP-DiBRZkX2.js} +5 -5
- package/dist/{diagram-PSM6KHXK-CIfbagcO.js → diagram-PSM6KHXK-CUF6rC_5.js} +4 -4
- package/dist/diagram-PSM6KHXK-uKXJz4r1.cjs +24 -0
- package/dist/{diagram-QEK2KX5R-BQz0yqem.js → diagram-QEK2KX5R-Da150Pqe.js} +3 -3
- package/dist/diagram-QEK2KX5R-kQTDsG_x.cjs +43 -0
- package/dist/diagram-S2PKOQOG-C5ATPkHT.cjs +24 -0
- package/dist/{diagram-S2PKOQOG-BGsratMZ.js → diagram-S2PKOQOG-DA2RxLrC.js} +3 -3
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +3 -0
- package/dist/editor.d.ts +3 -1
- package/dist/editor.js +9 -8
- package/dist/{erDiagram-Q2GNP2WA-CJbuwIgY.cjs → erDiagram-Q2GNP2WA-BsCdOw62.cjs} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-CurkAz8N.js → erDiagram-Q2GNP2WA-YfCaUJjx.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-DnmHUmh1.cjs → flowDiagram-NV44I4VS-BG0KW3ec.cjs} +1 -1
- package/dist/{flowDiagram-NV44I4VS-DAMyok8X.js → flowDiagram-NV44I4VS-D7WLCw1w.js} +5 -5
- package/dist/fonts/font-00b26ac8.woff2 +0 -0
- package/dist/fonts/font-036d4e95.woff2 +0 -0
- package/dist/fonts/font-07d8e303.ttf +0 -0
- package/dist/fonts/font-08ce98e5.ttf +0 -0
- package/dist/fonts/font-0cdd387c.woff2 +0 -0
- package/dist/fonts/font-0d85ae7c.ttf +0 -0
- package/dist/fonts/font-0f60d1b8.woff2 +0 -0
- package/dist/fonts/font-11e4dc8a.woff +0 -0
- package/dist/fonts/font-138ac28d.ttf +0 -0
- package/dist/fonts/font-1ae6bd74.woff +0 -0
- package/dist/fonts/font-1c67f068.ttf +0 -0
- package/dist/fonts/font-1e6f9579.ttf +0 -0
- package/dist/fonts/font-1ece03f7.ttf +0 -0
- package/dist/fonts/font-2014c523.woff +0 -0
- package/dist/fonts/font-30da91e8.woff +0 -0
- package/dist/fonts/font-3398dd02.woff +0 -0
- package/dist/fonts/font-3931dd81.ttf +0 -0
- package/dist/fonts/font-500e04d5.ttf +0 -0
- package/dist/fonts/font-51814d27.woff2 +0 -0
- package/dist/fonts/font-5d53e70a.woff2 +0 -0
- package/dist/fonts/font-5e28753b.woff +0 -0
- package/dist/fonts/font-68534840.ttf +0 -0
- package/dist/fonts/font-68e8c73e.woff2 +0 -0
- package/dist/fonts/font-6ab6b62e.woff +0 -0
- package/dist/fonts/font-6b47c401.woff2 +0 -0
- package/dist/fonts/font-70ee1f64.ttf +0 -0
- package/dist/fonts/font-71d517d6.woff2 +0 -0
- package/dist/fonts/font-73d59127.woff2 +0 -0
- package/dist/fonts/font-74444efd.woff2 +0 -0
- package/dist/fonts/font-7af58c5e.woff2 +0 -0
- package/dist/fonts/font-850c0af5.woff +0 -0
- package/dist/fonts/font-8a8d2445.woff +0 -0
- package/dist/fonts/font-9163df9c.ttf +0 -0
- package/dist/fonts/font-91ee6750.woff +0 -0
- package/dist/fonts/font-95b6d2f1.ttf +0 -0
- package/dist/fonts/font-97479ca6.woff2 +0 -0
- package/dist/fonts/font-99cd42a3.woff2 +0 -0
- package/dist/fonts/font-99f9c675.woff +0 -0
- package/dist/fonts/font-9be7ceb8.woff +0 -0
- package/dist/fonts/font-a4af7d41.woff2 +0 -0
- package/dist/fonts/font-a6b2099f.ttf +0 -0
- package/dist/fonts/font-a6f7ec0d.woff +0 -0
- package/dist/fonts/font-c2342cd8.woff2 +0 -0
- package/dist/fonts/font-c6368d87.woff +0 -0
- package/dist/fonts/font-c647367d.ttf +0 -0
- package/dist/fonts/font-c76c5d69.woff +0 -0
- package/dist/fonts/font-c943cc98.woff +0 -0
- package/dist/fonts/font-d0332f52.ttf +0 -0
- package/dist/fonts/font-d04c5421.woff2 +0 -0
- package/dist/fonts/font-d96cdf2b.woff +0 -0
- package/dist/fonts/font-dc47344d.woff2 +0 -0
- package/dist/fonts/font-de7701e4.woff2 +0 -0
- package/dist/fonts/font-e14fed02.woff +0 -0
- package/dist/fonts/font-e99ae511.woff2 +0 -0
- package/dist/fonts/font-ece03cfd.woff +0 -0
- package/dist/fonts/font-ed0b7437.ttf +0 -0
- package/dist/fonts/font-f01f3e87.ttf +0 -0
- package/dist/fonts/font-f1d6ef86.woff +0 -0
- package/dist/fonts/font-f36ea897.ttf +0 -0
- package/dist/fonts/font-f9377ab0.ttf +0 -0
- package/dist/ganttDiagram-JELNMOA3-BUA8njzO.cjs +267 -0
- package/dist/{ganttDiagram-JELNMOA3-oVlSmAjl.js → ganttDiagram-JELNMOA3-DSi9nt2I.js} +3 -3
- package/dist/gitGraphDiagram-NY62KEGX-C_9BbRSY.cjs +65 -0
- package/dist/{gitGraphDiagram-NY62KEGX-CFdtd4Gb.js → gitGraphDiagram-NY62KEGX-Dr7HXTzE.js} +4 -4
- package/dist/{graph-CE_Z8OkL.cjs → graph-Bd_3fIRG.cjs} +1 -1
- package/dist/{graph-Bza-HyX6.js → graph-DKQwyqwf.js} +2 -2
- package/dist/{CodeBlock-BYxQBfWO.js → index-BCrgOJjI.js} +1917 -4230
- package/dist/{CodeBlock-CJ6j8Wkl.cjs → index-CPmaHYSB.cjs} +21 -35
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -2
- package/dist/infoDiagram-WHAUD3N6-LqpiKtaK.cjs +2 -0
- package/dist/{infoDiagram-WHAUD3N6-BtO0qT6g.js → infoDiagram-WHAUD3N6-cs5PUkbs.js} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-DCvKw6yJ.cjs → journeyDiagram-XKPGCS4Q-Uzzobun-.cjs} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-Unrh_bjo.js → journeyDiagram-XKPGCS4Q-Xh1PuBF3.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-CRa6bR24.cjs → kanban-definition-3W4ZIXB7-BGNcniUS.cjs} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-Vpm6gG9R.js → kanban-definition-3W4ZIXB7-BrCevkcy.js} +2 -2
- package/dist/{layout-BJzrWbaG.cjs → layout-C1JPMjBE.cjs} +1 -1
- package/dist/{layout-D6Pf3Nys.js → layout-DCT3c1G0.js} +4 -4
- package/dist/{linear-C0E_OSxf.js → linear-1V2v3HAv.js} +1 -1
- package/dist/{linear-TSwNFrBs.cjs → linear-BguQgdYO.cjs} +1 -1
- package/dist/{mermaid.core-B1lFjYb9.js → mermaid.core-B7U3vlPn.js} +31 -31
- package/dist/{mermaid.core-C8vi9eg6.cjs → mermaid.core-Bi8BVJjR.cjs} +4 -4
- package/dist/{min-DT5Wu4V1.js → min-DxTpsh5w.js} +2 -2
- package/dist/{min-BC6TlZcq.cjs → min-IWR7y697.cjs} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-D9oMyZ2M.cjs → mindmap-definition-VGOIOE7T-Bo_AaB3S.cjs} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-COA86V4i.js → mindmap-definition-VGOIOE7T-y7MJRkKb.js} +3 -3
- package/dist/pieDiagram-ADFJNKIX-B3MwEiQQ.cjs +30 -0
- package/dist/{pieDiagram-ADFJNKIX-CYW3Diea.js → pieDiagram-ADFJNKIX-Dat2qDxW.js} +4 -4
- package/dist/preview.cjs +1 -1
- package/dist/preview.css +2 -0
- package/dist/preview.d.ts +3 -1
- package/dist/preview.js +4 -3
- package/dist/{quadrantDiagram-AYHSOK5B-BT94kssD.js → quadrantDiagram-AYHSOK5B-BPI6p5FS.js} +2 -2
- package/dist/{quadrantDiagram-AYHSOK5B-ehLphI_D.cjs → quadrantDiagram-AYHSOK5B-DJPxR-7E.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-B4UYGl6e.js → requirementDiagram-UZGBJVZJ-BjJSqttW.js} +3 -3
- package/dist/{requirementDiagram-UZGBJVZJ-BDLj6-Do.cjs → requirementDiagram-UZGBJVZJ-CmIwuHrt.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-DUb360Ep.cjs → sankeyDiagram-TZEHDZUN-CLroAHms.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-CAWsWdn8.js → sankeyDiagram-TZEHDZUN-jMmEhl5n.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-Bb4Tkhf2.cjs → sequenceDiagram-WL72ISMW-BVZMWdMT.cjs} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-DsmW0gAI.js → sequenceDiagram-WL72ISMW-CqGWWpuM.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-jOvG1Jmy.cjs → stateDiagram-FKZM4ZOC-DYHXgEjX.cjs} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-Da-8DKdP.js → stateDiagram-FKZM4ZOC-h1ovMUWJ.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-mWKIMY-b.cjs → stateDiagram-v2-4FDKWEC3-Di23ehqW.cjs} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-GMZ8nH4e.js → stateDiagram-v2-4FDKWEC3-GGpuzcKb.js} +2 -2
- package/dist/style.css +3 -1
- package/dist/{timeline-definition-IT6M3QCI-CvJDgHLW.js → timeline-definition-IT6M3QCI-DC_axTKs.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-BdnDlTsf.cjs → timeline-definition-IT6M3QCI-DYx-RdCk.cjs} +1 -1
- package/dist/{mermaid-parser.core-B9wV8XMP.js → treemap-KMMF4GRG-B-9lqUoG.js} +1421 -1406
- package/dist/{mermaid-parser.core-Ba9EAFlD.cjs → treemap-KMMF4GRG-EXqF5Yz1.cjs} +26 -26
- package/dist/{xychartDiagram-PRI3JC2R-CYXNZ7B0.cjs → xychartDiagram-PRI3JC2R-CedpkbBs.cjs} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-wG1xpI1S.js → xychartDiagram-PRI3JC2R-gFwsBSHN.js} +2 -2
- package/package.json +30 -15
- package/dist/architecture-U656AL7Q-C8Bj_Ouy.cjs +0 -1
- package/dist/architecture-U656AL7Q-DTKdLHLe.js +0 -5
- package/dist/architectureDiagram-VXUJARFQ-DJ1ub7X0.cjs +0 -36
- package/dist/clone-jaW02xOC.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-DSZx3rxe.cjs +0 -1
- package/dist/diagram-PSM6KHXK-B1y0Lt7Z.cjs +0 -24
- package/dist/diagram-QEK2KX5R-BJNTbg0b.cjs +0 -43
- package/dist/diagram-S2PKOQOG-BK_tj5Pz.cjs +0 -24
- package/dist/ganttDiagram-JELNMOA3-DxXvW49B.cjs +0 -267
- package/dist/gitGraph-F6HP7TQM-DUSMetNW.js +0 -5
- package/dist/gitGraph-F6HP7TQM-DveZcMpA.cjs +0 -1
- package/dist/gitGraphDiagram-NY62KEGX-CspGhCdP.cjs +0 -65
- package/dist/info-NVLQJR56-3ayytpiF.js +0 -5
- package/dist/info-NVLQJR56-D-IKjb_E.cjs +0 -1
- package/dist/infoDiagram-WHAUD3N6--LngDYSE.cjs +0 -2
- package/dist/packet-BFZMPI3H-BZI0_bZt.js +0 -5
- package/dist/packet-BFZMPI3H-D4pnK0Ol.cjs +0 -1
- package/dist/pie-7BOR55EZ-DS6huTOL.cjs +0 -1
- package/dist/pie-7BOR55EZ-DgzTX76e.js +0 -5
- package/dist/pieDiagram-ADFJNKIX-CxPAjreR.cjs +0 -30
- package/dist/radar-NHE76QYJ-CKcVnf1I.cjs +0 -1
- package/dist/radar-NHE76QYJ-D8cZitaQ.js +0 -5
- package/dist/treemap-KMMF4GRG-BVy_kMp3.js +0 -5
- package/dist/treemap-KMMF4GRG-BsA9nu7r.cjs +0 -1
|
@@ -0,0 +1,2320 @@
|
|
|
1
|
+
import Ke, { useState as J, useEffect as Ge } from "react";
|
|
2
|
+
var z = { exports: {} }, D = {};
|
|
3
|
+
var me;
|
|
4
|
+
function Je() {
|
|
5
|
+
if (me) return D;
|
|
6
|
+
me = 1;
|
|
7
|
+
var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
8
|
+
function n(e, a, i) {
|
|
9
|
+
var u = null;
|
|
10
|
+
if (i !== void 0 && (u = "" + i), a.key !== void 0 && (u = "" + a.key), "key" in a) {
|
|
11
|
+
i = {};
|
|
12
|
+
for (var d in a)
|
|
13
|
+
d !== "key" && (i[d] = a[d]);
|
|
14
|
+
} else i = a;
|
|
15
|
+
return a = i.ref, {
|
|
16
|
+
$$typeof: t,
|
|
17
|
+
type: e,
|
|
18
|
+
key: u,
|
|
19
|
+
ref: a !== void 0 ? a : null,
|
|
20
|
+
props: i
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
return D.Fragment = l, D.jsx = n, D.jsxs = n, D;
|
|
24
|
+
}
|
|
25
|
+
var L = {};
|
|
26
|
+
var fe;
|
|
27
|
+
function Ze() {
|
|
28
|
+
return fe || (fe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
|
+
function t(o) {
|
|
30
|
+
if (o == null) return null;
|
|
31
|
+
if (typeof o == "function")
|
|
32
|
+
return o.$$typeof === Ve ? null : o.displayName || o.name || null;
|
|
33
|
+
if (typeof o == "string") return o;
|
|
34
|
+
switch (o) {
|
|
35
|
+
case R:
|
|
36
|
+
return "Fragment";
|
|
37
|
+
case Y:
|
|
38
|
+
return "Profiler";
|
|
39
|
+
case $:
|
|
40
|
+
return "StrictMode";
|
|
41
|
+
case Fe:
|
|
42
|
+
return "Suspense";
|
|
43
|
+
case He:
|
|
44
|
+
return "SuspenseList";
|
|
45
|
+
case Ye:
|
|
46
|
+
return "Activity";
|
|
47
|
+
}
|
|
48
|
+
if (typeof o == "object")
|
|
49
|
+
switch (typeof o.tag == "number" && console.error(
|
|
50
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
+
), o.$$typeof) {
|
|
52
|
+
case O:
|
|
53
|
+
return "Portal";
|
|
54
|
+
case ze:
|
|
55
|
+
return o.displayName || "Context";
|
|
56
|
+
case Ie:
|
|
57
|
+
return (o._context.displayName || "Context") + ".Consumer";
|
|
58
|
+
case qe:
|
|
59
|
+
var c = o.render;
|
|
60
|
+
return o = o.displayName, o || (o = c.displayName || c.name || "", o = o !== "" ? "ForwardRef(" + o + ")" : "ForwardRef"), o;
|
|
61
|
+
case $e:
|
|
62
|
+
return c = o.displayName || null, c !== null ? c : t(o.type) || "Memo";
|
|
63
|
+
case V:
|
|
64
|
+
c = o._payload, o = o._init;
|
|
65
|
+
try {
|
|
66
|
+
return t(o(c));
|
|
67
|
+
} catch {
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
function l(o) {
|
|
73
|
+
return "" + o;
|
|
74
|
+
}
|
|
75
|
+
function n(o) {
|
|
76
|
+
try {
|
|
77
|
+
l(o);
|
|
78
|
+
var c = !1;
|
|
79
|
+
} catch {
|
|
80
|
+
c = !0;
|
|
81
|
+
}
|
|
82
|
+
if (c) {
|
|
83
|
+
c = console;
|
|
84
|
+
var p = c.error, f = typeof Symbol == "function" && Symbol.toStringTag && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
85
|
+
return p.call(
|
|
86
|
+
c,
|
|
87
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
+
f
|
|
89
|
+
), l(o);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function e(o) {
|
|
93
|
+
if (o === R) return "<>";
|
|
94
|
+
if (typeof o == "object" && o !== null && o.$$typeof === V)
|
|
95
|
+
return "<...>";
|
|
96
|
+
try {
|
|
97
|
+
var c = t(o);
|
|
98
|
+
return c ? "<" + c + ">" : "<...>";
|
|
99
|
+
} catch {
|
|
100
|
+
return "<...>";
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function a() {
|
|
104
|
+
var o = W.A;
|
|
105
|
+
return o === null ? null : o.getOwner();
|
|
106
|
+
}
|
|
107
|
+
function i() {
|
|
108
|
+
return Error("react-stack-top-frame");
|
|
109
|
+
}
|
|
110
|
+
function u(o) {
|
|
111
|
+
if (ue.call(o, "key")) {
|
|
112
|
+
var c = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
113
|
+
if (c && c.isReactWarning) return !1;
|
|
114
|
+
}
|
|
115
|
+
return o.key !== void 0;
|
|
116
|
+
}
|
|
117
|
+
function d(o, c) {
|
|
118
|
+
function p() {
|
|
119
|
+
se || (se = !0, console.error(
|
|
120
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
121
|
+
c
|
|
122
|
+
));
|
|
123
|
+
}
|
|
124
|
+
p.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
125
|
+
get: p,
|
|
126
|
+
configurable: !0
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function b() {
|
|
130
|
+
var o = t(this.type);
|
|
131
|
+
return ce[o] || (ce[o] = !0, console.error(
|
|
132
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
|
+
)), o = this.props.ref, o !== void 0 ? o : null;
|
|
134
|
+
}
|
|
135
|
+
function k(o, c, p, f, I, K) {
|
|
136
|
+
var h = p.ref;
|
|
137
|
+
return o = {
|
|
138
|
+
$$typeof: B,
|
|
139
|
+
type: o,
|
|
140
|
+
key: c,
|
|
141
|
+
props: p,
|
|
142
|
+
_owner: f
|
|
143
|
+
}, (h !== void 0 ? h : null) !== null ? Object.defineProperty(o, "ref", {
|
|
144
|
+
enumerable: !1,
|
|
145
|
+
get: b
|
|
146
|
+
}) : Object.defineProperty(o, "ref", { enumerable: !1, value: null }), o._store = {}, Object.defineProperty(o._store, "validated", {
|
|
147
|
+
configurable: !1,
|
|
148
|
+
enumerable: !1,
|
|
149
|
+
writable: !0,
|
|
150
|
+
value: 0
|
|
151
|
+
}), Object.defineProperty(o, "_debugInfo", {
|
|
152
|
+
configurable: !1,
|
|
153
|
+
enumerable: !1,
|
|
154
|
+
writable: !0,
|
|
155
|
+
value: null
|
|
156
|
+
}), Object.defineProperty(o, "_debugStack", {
|
|
157
|
+
configurable: !1,
|
|
158
|
+
enumerable: !1,
|
|
159
|
+
writable: !0,
|
|
160
|
+
value: I
|
|
161
|
+
}), Object.defineProperty(o, "_debugTask", {
|
|
162
|
+
configurable: !1,
|
|
163
|
+
enumerable: !1,
|
|
164
|
+
writable: !0,
|
|
165
|
+
value: K
|
|
166
|
+
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
167
|
+
}
|
|
168
|
+
function C(o, c, p, f, I, K) {
|
|
169
|
+
var h = c.children;
|
|
170
|
+
if (h !== void 0)
|
|
171
|
+
if (f)
|
|
172
|
+
if (We(h)) {
|
|
173
|
+
for (f = 0; f < h.length; f++)
|
|
174
|
+
j(h[f]);
|
|
175
|
+
Object.freeze && Object.freeze(h);
|
|
176
|
+
} else
|
|
177
|
+
console.error(
|
|
178
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
|
+
);
|
|
180
|
+
else j(h);
|
|
181
|
+
if (ue.call(c, "key")) {
|
|
182
|
+
h = t(o);
|
|
183
|
+
var N = Object.keys(c).filter(function(Xe) {
|
|
184
|
+
return Xe !== "key";
|
|
185
|
+
});
|
|
186
|
+
f = 0 < N.length ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}", pe[h + f] || (N = 0 < N.length ? "{" + N.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
188
|
+
let props = %s;
|
|
189
|
+
<%s {...props} />
|
|
190
|
+
React keys must be passed directly to JSX without using spread:
|
|
191
|
+
let props = %s;
|
|
192
|
+
<%s key={someKey} {...props} />`,
|
|
193
|
+
f,
|
|
194
|
+
h,
|
|
195
|
+
N,
|
|
196
|
+
h
|
|
197
|
+
), pe[h + f] = !0);
|
|
198
|
+
}
|
|
199
|
+
if (h = null, p !== void 0 && (n(p), h = "" + p), u(c) && (n(c.key), h = "" + c.key), "key" in c) {
|
|
200
|
+
p = {};
|
|
201
|
+
for (var G in c)
|
|
202
|
+
G !== "key" && (p[G] = c[G]);
|
|
203
|
+
} else p = c;
|
|
204
|
+
return h && d(
|
|
205
|
+
p,
|
|
206
|
+
typeof o == "function" ? o.displayName || o.name || "Unknown" : o
|
|
207
|
+
), k(
|
|
208
|
+
o,
|
|
209
|
+
h,
|
|
210
|
+
p,
|
|
211
|
+
a(),
|
|
212
|
+
I,
|
|
213
|
+
K
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
function j(o) {
|
|
217
|
+
U(o) ? o._store && (o._store.validated = 1) : typeof o == "object" && o !== null && o.$$typeof === V && (o._payload.status === "fulfilled" ? U(o._payload.value) && o._payload.value._store && (o._payload.value._store.validated = 1) : o._store && (o._store.validated = 1));
|
|
218
|
+
}
|
|
219
|
+
function U(o) {
|
|
220
|
+
return typeof o == "object" && o !== null && o.$$typeof === B;
|
|
221
|
+
}
|
|
222
|
+
var x = Ke, B = /* @__PURE__ */ Symbol.for("react.transitional.element"), O = /* @__PURE__ */ Symbol.for("react.portal"), R = /* @__PURE__ */ Symbol.for("react.fragment"), $ = /* @__PURE__ */ Symbol.for("react.strict_mode"), Y = /* @__PURE__ */ Symbol.for("react.profiler"), Ie = /* @__PURE__ */ Symbol.for("react.consumer"), ze = /* @__PURE__ */ Symbol.for("react.context"), qe = /* @__PURE__ */ Symbol.for("react.forward_ref"), Fe = /* @__PURE__ */ Symbol.for("react.suspense"), He = /* @__PURE__ */ Symbol.for("react.suspense_list"), $e = /* @__PURE__ */ Symbol.for("react.memo"), V = /* @__PURE__ */ Symbol.for("react.lazy"), Ye = /* @__PURE__ */ Symbol.for("react.activity"), Ve = /* @__PURE__ */ Symbol.for("react.client.reference"), W = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ue = Object.prototype.hasOwnProperty, We = Array.isArray, X = console.createTask ? console.createTask : function() {
|
|
223
|
+
return null;
|
|
224
|
+
};
|
|
225
|
+
x = {
|
|
226
|
+
react_stack_bottom_frame: function(o) {
|
|
227
|
+
return o();
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
var se, ce = {}, de = x.react_stack_bottom_frame.bind(
|
|
231
|
+
x,
|
|
232
|
+
i
|
|
233
|
+
)(), ge = X(e(i)), pe = {};
|
|
234
|
+
L.Fragment = R, L.jsx = function(o, c, p) {
|
|
235
|
+
var f = 1e4 > W.recentlyCreatedOwnerStacks++;
|
|
236
|
+
return C(
|
|
237
|
+
o,
|
|
238
|
+
c,
|
|
239
|
+
p,
|
|
240
|
+
!1,
|
|
241
|
+
f ? Error("react-stack-top-frame") : de,
|
|
242
|
+
f ? X(e(o)) : ge
|
|
243
|
+
);
|
|
244
|
+
}, L.jsxs = function(o, c, p) {
|
|
245
|
+
var f = 1e4 > W.recentlyCreatedOwnerStacks++;
|
|
246
|
+
return C(
|
|
247
|
+
o,
|
|
248
|
+
c,
|
|
249
|
+
p,
|
|
250
|
+
!0,
|
|
251
|
+
f ? Error("react-stack-top-frame") : de,
|
|
252
|
+
f ? X(e(o)) : ge
|
|
253
|
+
);
|
|
254
|
+
};
|
|
255
|
+
})()), L;
|
|
256
|
+
}
|
|
257
|
+
var he;
|
|
258
|
+
function Qe() {
|
|
259
|
+
return he || (he = 1, process.env.NODE_ENV === "production" ? z.exports = Je() : z.exports = Ze()), z.exports;
|
|
260
|
+
}
|
|
261
|
+
var E = Qe();
|
|
262
|
+
const en = [
|
|
263
|
+
"area",
|
|
264
|
+
"base",
|
|
265
|
+
"basefont",
|
|
266
|
+
"bgsound",
|
|
267
|
+
"br",
|
|
268
|
+
"col",
|
|
269
|
+
"command",
|
|
270
|
+
"embed",
|
|
271
|
+
"frame",
|
|
272
|
+
"hr",
|
|
273
|
+
"image",
|
|
274
|
+
"img",
|
|
275
|
+
"input",
|
|
276
|
+
"keygen",
|
|
277
|
+
"link",
|
|
278
|
+
"meta",
|
|
279
|
+
"param",
|
|
280
|
+
"source",
|
|
281
|
+
"track",
|
|
282
|
+
"wbr"
|
|
283
|
+
];
|
|
284
|
+
class M {
|
|
285
|
+
/**
|
|
286
|
+
* @param {SchemaType['property']} property
|
|
287
|
+
* Property.
|
|
288
|
+
* @param {SchemaType['normal']} normal
|
|
289
|
+
* Normal.
|
|
290
|
+
* @param {Space | undefined} [space]
|
|
291
|
+
* Space.
|
|
292
|
+
* @returns
|
|
293
|
+
* Schema.
|
|
294
|
+
*/
|
|
295
|
+
constructor(l, n, e) {
|
|
296
|
+
this.normal = n, this.property = l, e && (this.space = e);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
M.prototype.normal = {};
|
|
300
|
+
M.prototype.property = {};
|
|
301
|
+
M.prototype.space = void 0;
|
|
302
|
+
function Oe(t, l) {
|
|
303
|
+
const n = {}, e = {};
|
|
304
|
+
for (const a of t)
|
|
305
|
+
Object.assign(n, a.property), Object.assign(e, a.normal);
|
|
306
|
+
return new M(n, e, l);
|
|
307
|
+
}
|
|
308
|
+
function ne(t) {
|
|
309
|
+
return t.toLowerCase();
|
|
310
|
+
}
|
|
311
|
+
class v {
|
|
312
|
+
/**
|
|
313
|
+
* @param {string} property
|
|
314
|
+
* Property.
|
|
315
|
+
* @param {string} attribute
|
|
316
|
+
* Attribute.
|
|
317
|
+
* @returns
|
|
318
|
+
* Info.
|
|
319
|
+
*/
|
|
320
|
+
constructor(l, n) {
|
|
321
|
+
this.attribute = n, this.property = l;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
v.prototype.attribute = "";
|
|
325
|
+
v.prototype.booleanish = !1;
|
|
326
|
+
v.prototype.boolean = !1;
|
|
327
|
+
v.prototype.commaOrSpaceSeparated = !1;
|
|
328
|
+
v.prototype.commaSeparated = !1;
|
|
329
|
+
v.prototype.defined = !1;
|
|
330
|
+
v.prototype.mustUseProperty = !1;
|
|
331
|
+
v.prototype.number = !1;
|
|
332
|
+
v.prototype.overloadedBoolean = !1;
|
|
333
|
+
v.prototype.property = "";
|
|
334
|
+
v.prototype.spaceSeparated = !1;
|
|
335
|
+
v.prototype.space = void 0;
|
|
336
|
+
let nn = 0;
|
|
337
|
+
const s = w(), m = w(), te = w(), r = w(), g = w(), A = w(), S = w();
|
|
338
|
+
function w() {
|
|
339
|
+
return 2 ** ++nn;
|
|
340
|
+
}
|
|
341
|
+
const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
342
|
+
__proto__: null,
|
|
343
|
+
boolean: s,
|
|
344
|
+
booleanish: m,
|
|
345
|
+
commaOrSpaceSeparated: S,
|
|
346
|
+
commaSeparated: A,
|
|
347
|
+
number: r,
|
|
348
|
+
overloadedBoolean: te,
|
|
349
|
+
spaceSeparated: g
|
|
350
|
+
}, Symbol.toStringTag, { value: "Module" })), Z = (
|
|
351
|
+
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
352
|
+
Object.keys(le)
|
|
353
|
+
);
|
|
354
|
+
class re extends v {
|
|
355
|
+
/**
|
|
356
|
+
* @constructor
|
|
357
|
+
* @param {string} property
|
|
358
|
+
* Property.
|
|
359
|
+
* @param {string} attribute
|
|
360
|
+
* Attribute.
|
|
361
|
+
* @param {number | null | undefined} [mask]
|
|
362
|
+
* Mask.
|
|
363
|
+
* @param {Space | undefined} [space]
|
|
364
|
+
* Space.
|
|
365
|
+
* @returns
|
|
366
|
+
* Info.
|
|
367
|
+
*/
|
|
368
|
+
constructor(l, n, e, a) {
|
|
369
|
+
let i = -1;
|
|
370
|
+
if (super(l, n), ye(this, "space", a), typeof e == "number")
|
|
371
|
+
for (; ++i < Z.length; ) {
|
|
372
|
+
const u = Z[i];
|
|
373
|
+
ye(this, Z[i], (e & le[u]) === le[u]);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
re.prototype.defined = !0;
|
|
378
|
+
function ye(t, l, n) {
|
|
379
|
+
n && (t[l] = n);
|
|
380
|
+
}
|
|
381
|
+
function _(t) {
|
|
382
|
+
const l = {}, n = {};
|
|
383
|
+
for (const [e, a] of Object.entries(t.properties)) {
|
|
384
|
+
const i = new re(
|
|
385
|
+
e,
|
|
386
|
+
t.transform(t.attributes || {}, e),
|
|
387
|
+
a,
|
|
388
|
+
t.space
|
|
389
|
+
);
|
|
390
|
+
t.mustUseProperty && t.mustUseProperty.includes(e) && (i.mustUseProperty = !0), l[e] = i, n[ne(e)] = e, n[ne(i.attribute)] = e;
|
|
391
|
+
}
|
|
392
|
+
return new M(l, n, t.space);
|
|
393
|
+
}
|
|
394
|
+
const Re = _({
|
|
395
|
+
properties: {
|
|
396
|
+
ariaActiveDescendant: null,
|
|
397
|
+
ariaAtomic: m,
|
|
398
|
+
ariaAutoComplete: null,
|
|
399
|
+
ariaBusy: m,
|
|
400
|
+
ariaChecked: m,
|
|
401
|
+
ariaColCount: r,
|
|
402
|
+
ariaColIndex: r,
|
|
403
|
+
ariaColSpan: r,
|
|
404
|
+
ariaControls: g,
|
|
405
|
+
ariaCurrent: null,
|
|
406
|
+
ariaDescribedBy: g,
|
|
407
|
+
ariaDetails: null,
|
|
408
|
+
ariaDisabled: m,
|
|
409
|
+
ariaDropEffect: g,
|
|
410
|
+
ariaErrorMessage: null,
|
|
411
|
+
ariaExpanded: m,
|
|
412
|
+
ariaFlowTo: g,
|
|
413
|
+
ariaGrabbed: m,
|
|
414
|
+
ariaHasPopup: null,
|
|
415
|
+
ariaHidden: m,
|
|
416
|
+
ariaInvalid: null,
|
|
417
|
+
ariaKeyShortcuts: null,
|
|
418
|
+
ariaLabel: null,
|
|
419
|
+
ariaLabelledBy: g,
|
|
420
|
+
ariaLevel: r,
|
|
421
|
+
ariaLive: null,
|
|
422
|
+
ariaModal: m,
|
|
423
|
+
ariaMultiLine: m,
|
|
424
|
+
ariaMultiSelectable: m,
|
|
425
|
+
ariaOrientation: null,
|
|
426
|
+
ariaOwns: g,
|
|
427
|
+
ariaPlaceholder: null,
|
|
428
|
+
ariaPosInSet: r,
|
|
429
|
+
ariaPressed: m,
|
|
430
|
+
ariaReadOnly: m,
|
|
431
|
+
ariaRelevant: null,
|
|
432
|
+
ariaRequired: m,
|
|
433
|
+
ariaRoleDescription: g,
|
|
434
|
+
ariaRowCount: r,
|
|
435
|
+
ariaRowIndex: r,
|
|
436
|
+
ariaRowSpan: r,
|
|
437
|
+
ariaSelected: m,
|
|
438
|
+
ariaSetSize: r,
|
|
439
|
+
ariaSort: null,
|
|
440
|
+
ariaValueMax: r,
|
|
441
|
+
ariaValueMin: r,
|
|
442
|
+
ariaValueNow: r,
|
|
443
|
+
ariaValueText: null,
|
|
444
|
+
role: null
|
|
445
|
+
},
|
|
446
|
+
transform(t, l) {
|
|
447
|
+
return l === "role" ? l : "aria-" + l.slice(4).toLowerCase();
|
|
448
|
+
}
|
|
449
|
+
});
|
|
450
|
+
function Ne(t, l) {
|
|
451
|
+
return l in t ? t[l] : l;
|
|
452
|
+
}
|
|
453
|
+
function Pe(t, l) {
|
|
454
|
+
return Ne(t, l.toLowerCase());
|
|
455
|
+
}
|
|
456
|
+
const tn = _({
|
|
457
|
+
attributes: {
|
|
458
|
+
acceptcharset: "accept-charset",
|
|
459
|
+
classname: "class",
|
|
460
|
+
htmlfor: "for",
|
|
461
|
+
httpequiv: "http-equiv"
|
|
462
|
+
},
|
|
463
|
+
mustUseProperty: ["checked", "multiple", "muted", "selected"],
|
|
464
|
+
properties: {
|
|
465
|
+
// Standard Properties.
|
|
466
|
+
abbr: null,
|
|
467
|
+
accept: A,
|
|
468
|
+
acceptCharset: g,
|
|
469
|
+
accessKey: g,
|
|
470
|
+
action: null,
|
|
471
|
+
allow: null,
|
|
472
|
+
allowFullScreen: s,
|
|
473
|
+
allowPaymentRequest: s,
|
|
474
|
+
allowUserMedia: s,
|
|
475
|
+
alt: null,
|
|
476
|
+
as: null,
|
|
477
|
+
async: s,
|
|
478
|
+
autoCapitalize: null,
|
|
479
|
+
autoComplete: g,
|
|
480
|
+
autoFocus: s,
|
|
481
|
+
autoPlay: s,
|
|
482
|
+
blocking: g,
|
|
483
|
+
capture: null,
|
|
484
|
+
charSet: null,
|
|
485
|
+
checked: s,
|
|
486
|
+
cite: null,
|
|
487
|
+
className: g,
|
|
488
|
+
cols: r,
|
|
489
|
+
colSpan: null,
|
|
490
|
+
content: null,
|
|
491
|
+
contentEditable: m,
|
|
492
|
+
controls: s,
|
|
493
|
+
controlsList: g,
|
|
494
|
+
coords: r | A,
|
|
495
|
+
crossOrigin: null,
|
|
496
|
+
data: null,
|
|
497
|
+
dateTime: null,
|
|
498
|
+
decoding: null,
|
|
499
|
+
default: s,
|
|
500
|
+
defer: s,
|
|
501
|
+
dir: null,
|
|
502
|
+
dirName: null,
|
|
503
|
+
disabled: s,
|
|
504
|
+
download: te,
|
|
505
|
+
draggable: m,
|
|
506
|
+
encType: null,
|
|
507
|
+
enterKeyHint: null,
|
|
508
|
+
fetchPriority: null,
|
|
509
|
+
form: null,
|
|
510
|
+
formAction: null,
|
|
511
|
+
formEncType: null,
|
|
512
|
+
formMethod: null,
|
|
513
|
+
formNoValidate: s,
|
|
514
|
+
formTarget: null,
|
|
515
|
+
headers: g,
|
|
516
|
+
height: r,
|
|
517
|
+
hidden: te,
|
|
518
|
+
high: r,
|
|
519
|
+
href: null,
|
|
520
|
+
hrefLang: null,
|
|
521
|
+
htmlFor: g,
|
|
522
|
+
httpEquiv: g,
|
|
523
|
+
id: null,
|
|
524
|
+
imageSizes: null,
|
|
525
|
+
imageSrcSet: null,
|
|
526
|
+
inert: s,
|
|
527
|
+
inputMode: null,
|
|
528
|
+
integrity: null,
|
|
529
|
+
is: null,
|
|
530
|
+
isMap: s,
|
|
531
|
+
itemId: null,
|
|
532
|
+
itemProp: g,
|
|
533
|
+
itemRef: g,
|
|
534
|
+
itemScope: s,
|
|
535
|
+
itemType: g,
|
|
536
|
+
kind: null,
|
|
537
|
+
label: null,
|
|
538
|
+
lang: null,
|
|
539
|
+
language: null,
|
|
540
|
+
list: null,
|
|
541
|
+
loading: null,
|
|
542
|
+
loop: s,
|
|
543
|
+
low: r,
|
|
544
|
+
manifest: null,
|
|
545
|
+
max: null,
|
|
546
|
+
maxLength: r,
|
|
547
|
+
media: null,
|
|
548
|
+
method: null,
|
|
549
|
+
min: null,
|
|
550
|
+
minLength: r,
|
|
551
|
+
multiple: s,
|
|
552
|
+
muted: s,
|
|
553
|
+
name: null,
|
|
554
|
+
nonce: null,
|
|
555
|
+
noModule: s,
|
|
556
|
+
noValidate: s,
|
|
557
|
+
onAbort: null,
|
|
558
|
+
onAfterPrint: null,
|
|
559
|
+
onAuxClick: null,
|
|
560
|
+
onBeforeMatch: null,
|
|
561
|
+
onBeforePrint: null,
|
|
562
|
+
onBeforeToggle: null,
|
|
563
|
+
onBeforeUnload: null,
|
|
564
|
+
onBlur: null,
|
|
565
|
+
onCancel: null,
|
|
566
|
+
onCanPlay: null,
|
|
567
|
+
onCanPlayThrough: null,
|
|
568
|
+
onChange: null,
|
|
569
|
+
onClick: null,
|
|
570
|
+
onClose: null,
|
|
571
|
+
onContextLost: null,
|
|
572
|
+
onContextMenu: null,
|
|
573
|
+
onContextRestored: null,
|
|
574
|
+
onCopy: null,
|
|
575
|
+
onCueChange: null,
|
|
576
|
+
onCut: null,
|
|
577
|
+
onDblClick: null,
|
|
578
|
+
onDrag: null,
|
|
579
|
+
onDragEnd: null,
|
|
580
|
+
onDragEnter: null,
|
|
581
|
+
onDragExit: null,
|
|
582
|
+
onDragLeave: null,
|
|
583
|
+
onDragOver: null,
|
|
584
|
+
onDragStart: null,
|
|
585
|
+
onDrop: null,
|
|
586
|
+
onDurationChange: null,
|
|
587
|
+
onEmptied: null,
|
|
588
|
+
onEnded: null,
|
|
589
|
+
onError: null,
|
|
590
|
+
onFocus: null,
|
|
591
|
+
onFormData: null,
|
|
592
|
+
onHashChange: null,
|
|
593
|
+
onInput: null,
|
|
594
|
+
onInvalid: null,
|
|
595
|
+
onKeyDown: null,
|
|
596
|
+
onKeyPress: null,
|
|
597
|
+
onKeyUp: null,
|
|
598
|
+
onLanguageChange: null,
|
|
599
|
+
onLoad: null,
|
|
600
|
+
onLoadedData: null,
|
|
601
|
+
onLoadedMetadata: null,
|
|
602
|
+
onLoadEnd: null,
|
|
603
|
+
onLoadStart: null,
|
|
604
|
+
onMessage: null,
|
|
605
|
+
onMessageError: null,
|
|
606
|
+
onMouseDown: null,
|
|
607
|
+
onMouseEnter: null,
|
|
608
|
+
onMouseLeave: null,
|
|
609
|
+
onMouseMove: null,
|
|
610
|
+
onMouseOut: null,
|
|
611
|
+
onMouseOver: null,
|
|
612
|
+
onMouseUp: null,
|
|
613
|
+
onOffline: null,
|
|
614
|
+
onOnline: null,
|
|
615
|
+
onPageHide: null,
|
|
616
|
+
onPageShow: null,
|
|
617
|
+
onPaste: null,
|
|
618
|
+
onPause: null,
|
|
619
|
+
onPlay: null,
|
|
620
|
+
onPlaying: null,
|
|
621
|
+
onPopState: null,
|
|
622
|
+
onProgress: null,
|
|
623
|
+
onRateChange: null,
|
|
624
|
+
onRejectionHandled: null,
|
|
625
|
+
onReset: null,
|
|
626
|
+
onResize: null,
|
|
627
|
+
onScroll: null,
|
|
628
|
+
onScrollEnd: null,
|
|
629
|
+
onSecurityPolicyViolation: null,
|
|
630
|
+
onSeeked: null,
|
|
631
|
+
onSeeking: null,
|
|
632
|
+
onSelect: null,
|
|
633
|
+
onSlotChange: null,
|
|
634
|
+
onStalled: null,
|
|
635
|
+
onStorage: null,
|
|
636
|
+
onSubmit: null,
|
|
637
|
+
onSuspend: null,
|
|
638
|
+
onTimeUpdate: null,
|
|
639
|
+
onToggle: null,
|
|
640
|
+
onUnhandledRejection: null,
|
|
641
|
+
onUnload: null,
|
|
642
|
+
onVolumeChange: null,
|
|
643
|
+
onWaiting: null,
|
|
644
|
+
onWheel: null,
|
|
645
|
+
open: s,
|
|
646
|
+
optimum: r,
|
|
647
|
+
pattern: null,
|
|
648
|
+
ping: g,
|
|
649
|
+
placeholder: null,
|
|
650
|
+
playsInline: s,
|
|
651
|
+
popover: null,
|
|
652
|
+
popoverTarget: null,
|
|
653
|
+
popoverTargetAction: null,
|
|
654
|
+
poster: null,
|
|
655
|
+
preload: null,
|
|
656
|
+
readOnly: s,
|
|
657
|
+
referrerPolicy: null,
|
|
658
|
+
rel: g,
|
|
659
|
+
required: s,
|
|
660
|
+
reversed: s,
|
|
661
|
+
rows: r,
|
|
662
|
+
rowSpan: r,
|
|
663
|
+
sandbox: g,
|
|
664
|
+
scope: null,
|
|
665
|
+
scoped: s,
|
|
666
|
+
seamless: s,
|
|
667
|
+
selected: s,
|
|
668
|
+
shadowRootClonable: s,
|
|
669
|
+
shadowRootDelegatesFocus: s,
|
|
670
|
+
shadowRootMode: null,
|
|
671
|
+
shape: null,
|
|
672
|
+
size: r,
|
|
673
|
+
sizes: null,
|
|
674
|
+
slot: null,
|
|
675
|
+
span: r,
|
|
676
|
+
spellCheck: m,
|
|
677
|
+
src: null,
|
|
678
|
+
srcDoc: null,
|
|
679
|
+
srcLang: null,
|
|
680
|
+
srcSet: null,
|
|
681
|
+
start: r,
|
|
682
|
+
step: null,
|
|
683
|
+
style: null,
|
|
684
|
+
tabIndex: r,
|
|
685
|
+
target: null,
|
|
686
|
+
title: null,
|
|
687
|
+
translate: null,
|
|
688
|
+
type: null,
|
|
689
|
+
typeMustMatch: s,
|
|
690
|
+
useMap: null,
|
|
691
|
+
value: m,
|
|
692
|
+
width: r,
|
|
693
|
+
wrap: null,
|
|
694
|
+
writingSuggestions: null,
|
|
695
|
+
// Legacy.
|
|
696
|
+
// See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
|
|
697
|
+
align: null,
|
|
698
|
+
// Several. Use CSS `text-align` instead,
|
|
699
|
+
aLink: null,
|
|
700
|
+
// `<body>`. Use CSS `a:active {color}` instead
|
|
701
|
+
archive: g,
|
|
702
|
+
// `<object>`. List of URIs to archives
|
|
703
|
+
axis: null,
|
|
704
|
+
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
705
|
+
background: null,
|
|
706
|
+
// `<body>`. Use CSS `background-image` instead
|
|
707
|
+
bgColor: null,
|
|
708
|
+
// `<body>` and table elements. Use CSS `background-color` instead
|
|
709
|
+
border: r,
|
|
710
|
+
// `<table>`. Use CSS `border-width` instead,
|
|
711
|
+
borderColor: null,
|
|
712
|
+
// `<table>`. Use CSS `border-color` instead,
|
|
713
|
+
bottomMargin: r,
|
|
714
|
+
// `<body>`
|
|
715
|
+
cellPadding: null,
|
|
716
|
+
// `<table>`
|
|
717
|
+
cellSpacing: null,
|
|
718
|
+
// `<table>`
|
|
719
|
+
char: null,
|
|
720
|
+
// Several table elements. When `align=char`, sets the character to align on
|
|
721
|
+
charOff: null,
|
|
722
|
+
// Several table elements. When `char`, offsets the alignment
|
|
723
|
+
classId: null,
|
|
724
|
+
// `<object>`
|
|
725
|
+
clear: null,
|
|
726
|
+
// `<br>`. Use CSS `clear` instead
|
|
727
|
+
code: null,
|
|
728
|
+
// `<object>`
|
|
729
|
+
codeBase: null,
|
|
730
|
+
// `<object>`
|
|
731
|
+
codeType: null,
|
|
732
|
+
// `<object>`
|
|
733
|
+
color: null,
|
|
734
|
+
// `<font>` and `<hr>`. Use CSS instead
|
|
735
|
+
compact: s,
|
|
736
|
+
// Lists. Use CSS to reduce space between items instead
|
|
737
|
+
declare: s,
|
|
738
|
+
// `<object>`
|
|
739
|
+
event: null,
|
|
740
|
+
// `<script>`
|
|
741
|
+
face: null,
|
|
742
|
+
// `<font>`. Use CSS instead
|
|
743
|
+
frame: null,
|
|
744
|
+
// `<table>`
|
|
745
|
+
frameBorder: null,
|
|
746
|
+
// `<iframe>`. Use CSS `border` instead
|
|
747
|
+
hSpace: r,
|
|
748
|
+
// `<img>` and `<object>`
|
|
749
|
+
leftMargin: r,
|
|
750
|
+
// `<body>`
|
|
751
|
+
link: null,
|
|
752
|
+
// `<body>`. Use CSS `a:link {color: *}` instead
|
|
753
|
+
longDesc: null,
|
|
754
|
+
// `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
|
|
755
|
+
lowSrc: null,
|
|
756
|
+
// `<img>`. Use a `<picture>`
|
|
757
|
+
marginHeight: r,
|
|
758
|
+
// `<body>`
|
|
759
|
+
marginWidth: r,
|
|
760
|
+
// `<body>`
|
|
761
|
+
noResize: s,
|
|
762
|
+
// `<frame>`
|
|
763
|
+
noHref: s,
|
|
764
|
+
// `<area>`. Use no href instead of an explicit `nohref`
|
|
765
|
+
noShade: s,
|
|
766
|
+
// `<hr>`. Use background-color and height instead of borders
|
|
767
|
+
noWrap: s,
|
|
768
|
+
// `<td>` and `<th>`
|
|
769
|
+
object: null,
|
|
770
|
+
// `<applet>`
|
|
771
|
+
profile: null,
|
|
772
|
+
// `<head>`
|
|
773
|
+
prompt: null,
|
|
774
|
+
// `<isindex>`
|
|
775
|
+
rev: null,
|
|
776
|
+
// `<link>`
|
|
777
|
+
rightMargin: r,
|
|
778
|
+
// `<body>`
|
|
779
|
+
rules: null,
|
|
780
|
+
// `<table>`
|
|
781
|
+
scheme: null,
|
|
782
|
+
// `<meta>`
|
|
783
|
+
scrolling: m,
|
|
784
|
+
// `<frame>`. Use overflow in the child context
|
|
785
|
+
standby: null,
|
|
786
|
+
// `<object>`
|
|
787
|
+
summary: null,
|
|
788
|
+
// `<table>`
|
|
789
|
+
text: null,
|
|
790
|
+
// `<body>`. Use CSS `color` instead
|
|
791
|
+
topMargin: r,
|
|
792
|
+
// `<body>`
|
|
793
|
+
valueType: null,
|
|
794
|
+
// `<param>`
|
|
795
|
+
version: null,
|
|
796
|
+
// `<html>`. Use a doctype.
|
|
797
|
+
vAlign: null,
|
|
798
|
+
// Several. Use CSS `vertical-align` instead
|
|
799
|
+
vLink: null,
|
|
800
|
+
// `<body>`. Use CSS `a:visited {color}` instead
|
|
801
|
+
vSpace: r,
|
|
802
|
+
// `<img>` and `<object>`
|
|
803
|
+
// Non-standard Properties.
|
|
804
|
+
allowTransparency: null,
|
|
805
|
+
autoCorrect: null,
|
|
806
|
+
autoSave: null,
|
|
807
|
+
disablePictureInPicture: s,
|
|
808
|
+
disableRemotePlayback: s,
|
|
809
|
+
prefix: null,
|
|
810
|
+
property: null,
|
|
811
|
+
results: r,
|
|
812
|
+
security: null,
|
|
813
|
+
unselectable: null
|
|
814
|
+
},
|
|
815
|
+
space: "html",
|
|
816
|
+
transform: Pe
|
|
817
|
+
}), ln = _({
|
|
818
|
+
attributes: {
|
|
819
|
+
accentHeight: "accent-height",
|
|
820
|
+
alignmentBaseline: "alignment-baseline",
|
|
821
|
+
arabicForm: "arabic-form",
|
|
822
|
+
baselineShift: "baseline-shift",
|
|
823
|
+
capHeight: "cap-height",
|
|
824
|
+
className: "class",
|
|
825
|
+
clipPath: "clip-path",
|
|
826
|
+
clipRule: "clip-rule",
|
|
827
|
+
colorInterpolation: "color-interpolation",
|
|
828
|
+
colorInterpolationFilters: "color-interpolation-filters",
|
|
829
|
+
colorProfile: "color-profile",
|
|
830
|
+
colorRendering: "color-rendering",
|
|
831
|
+
crossOrigin: "crossorigin",
|
|
832
|
+
dataType: "datatype",
|
|
833
|
+
dominantBaseline: "dominant-baseline",
|
|
834
|
+
enableBackground: "enable-background",
|
|
835
|
+
fillOpacity: "fill-opacity",
|
|
836
|
+
fillRule: "fill-rule",
|
|
837
|
+
floodColor: "flood-color",
|
|
838
|
+
floodOpacity: "flood-opacity",
|
|
839
|
+
fontFamily: "font-family",
|
|
840
|
+
fontSize: "font-size",
|
|
841
|
+
fontSizeAdjust: "font-size-adjust",
|
|
842
|
+
fontStretch: "font-stretch",
|
|
843
|
+
fontStyle: "font-style",
|
|
844
|
+
fontVariant: "font-variant",
|
|
845
|
+
fontWeight: "font-weight",
|
|
846
|
+
glyphName: "glyph-name",
|
|
847
|
+
glyphOrientationHorizontal: "glyph-orientation-horizontal",
|
|
848
|
+
glyphOrientationVertical: "glyph-orientation-vertical",
|
|
849
|
+
hrefLang: "hreflang",
|
|
850
|
+
horizAdvX: "horiz-adv-x",
|
|
851
|
+
horizOriginX: "horiz-origin-x",
|
|
852
|
+
horizOriginY: "horiz-origin-y",
|
|
853
|
+
imageRendering: "image-rendering",
|
|
854
|
+
letterSpacing: "letter-spacing",
|
|
855
|
+
lightingColor: "lighting-color",
|
|
856
|
+
markerEnd: "marker-end",
|
|
857
|
+
markerMid: "marker-mid",
|
|
858
|
+
markerStart: "marker-start",
|
|
859
|
+
navDown: "nav-down",
|
|
860
|
+
navDownLeft: "nav-down-left",
|
|
861
|
+
navDownRight: "nav-down-right",
|
|
862
|
+
navLeft: "nav-left",
|
|
863
|
+
navNext: "nav-next",
|
|
864
|
+
navPrev: "nav-prev",
|
|
865
|
+
navRight: "nav-right",
|
|
866
|
+
navUp: "nav-up",
|
|
867
|
+
navUpLeft: "nav-up-left",
|
|
868
|
+
navUpRight: "nav-up-right",
|
|
869
|
+
onAbort: "onabort",
|
|
870
|
+
onActivate: "onactivate",
|
|
871
|
+
onAfterPrint: "onafterprint",
|
|
872
|
+
onBeforePrint: "onbeforeprint",
|
|
873
|
+
onBegin: "onbegin",
|
|
874
|
+
onCancel: "oncancel",
|
|
875
|
+
onCanPlay: "oncanplay",
|
|
876
|
+
onCanPlayThrough: "oncanplaythrough",
|
|
877
|
+
onChange: "onchange",
|
|
878
|
+
onClick: "onclick",
|
|
879
|
+
onClose: "onclose",
|
|
880
|
+
onCopy: "oncopy",
|
|
881
|
+
onCueChange: "oncuechange",
|
|
882
|
+
onCut: "oncut",
|
|
883
|
+
onDblClick: "ondblclick",
|
|
884
|
+
onDrag: "ondrag",
|
|
885
|
+
onDragEnd: "ondragend",
|
|
886
|
+
onDragEnter: "ondragenter",
|
|
887
|
+
onDragExit: "ondragexit",
|
|
888
|
+
onDragLeave: "ondragleave",
|
|
889
|
+
onDragOver: "ondragover",
|
|
890
|
+
onDragStart: "ondragstart",
|
|
891
|
+
onDrop: "ondrop",
|
|
892
|
+
onDurationChange: "ondurationchange",
|
|
893
|
+
onEmptied: "onemptied",
|
|
894
|
+
onEnd: "onend",
|
|
895
|
+
onEnded: "onended",
|
|
896
|
+
onError: "onerror",
|
|
897
|
+
onFocus: "onfocus",
|
|
898
|
+
onFocusIn: "onfocusin",
|
|
899
|
+
onFocusOut: "onfocusout",
|
|
900
|
+
onHashChange: "onhashchange",
|
|
901
|
+
onInput: "oninput",
|
|
902
|
+
onInvalid: "oninvalid",
|
|
903
|
+
onKeyDown: "onkeydown",
|
|
904
|
+
onKeyPress: "onkeypress",
|
|
905
|
+
onKeyUp: "onkeyup",
|
|
906
|
+
onLoad: "onload",
|
|
907
|
+
onLoadedData: "onloadeddata",
|
|
908
|
+
onLoadedMetadata: "onloadedmetadata",
|
|
909
|
+
onLoadStart: "onloadstart",
|
|
910
|
+
onMessage: "onmessage",
|
|
911
|
+
onMouseDown: "onmousedown",
|
|
912
|
+
onMouseEnter: "onmouseenter",
|
|
913
|
+
onMouseLeave: "onmouseleave",
|
|
914
|
+
onMouseMove: "onmousemove",
|
|
915
|
+
onMouseOut: "onmouseout",
|
|
916
|
+
onMouseOver: "onmouseover",
|
|
917
|
+
onMouseUp: "onmouseup",
|
|
918
|
+
onMouseWheel: "onmousewheel",
|
|
919
|
+
onOffline: "onoffline",
|
|
920
|
+
onOnline: "ononline",
|
|
921
|
+
onPageHide: "onpagehide",
|
|
922
|
+
onPageShow: "onpageshow",
|
|
923
|
+
onPaste: "onpaste",
|
|
924
|
+
onPause: "onpause",
|
|
925
|
+
onPlay: "onplay",
|
|
926
|
+
onPlaying: "onplaying",
|
|
927
|
+
onPopState: "onpopstate",
|
|
928
|
+
onProgress: "onprogress",
|
|
929
|
+
onRateChange: "onratechange",
|
|
930
|
+
onRepeat: "onrepeat",
|
|
931
|
+
onReset: "onreset",
|
|
932
|
+
onResize: "onresize",
|
|
933
|
+
onScroll: "onscroll",
|
|
934
|
+
onSeeked: "onseeked",
|
|
935
|
+
onSeeking: "onseeking",
|
|
936
|
+
onSelect: "onselect",
|
|
937
|
+
onShow: "onshow",
|
|
938
|
+
onStalled: "onstalled",
|
|
939
|
+
onStorage: "onstorage",
|
|
940
|
+
onSubmit: "onsubmit",
|
|
941
|
+
onSuspend: "onsuspend",
|
|
942
|
+
onTimeUpdate: "ontimeupdate",
|
|
943
|
+
onToggle: "ontoggle",
|
|
944
|
+
onUnload: "onunload",
|
|
945
|
+
onVolumeChange: "onvolumechange",
|
|
946
|
+
onWaiting: "onwaiting",
|
|
947
|
+
onZoom: "onzoom",
|
|
948
|
+
overlinePosition: "overline-position",
|
|
949
|
+
overlineThickness: "overline-thickness",
|
|
950
|
+
paintOrder: "paint-order",
|
|
951
|
+
panose1: "panose-1",
|
|
952
|
+
pointerEvents: "pointer-events",
|
|
953
|
+
referrerPolicy: "referrerpolicy",
|
|
954
|
+
renderingIntent: "rendering-intent",
|
|
955
|
+
shapeRendering: "shape-rendering",
|
|
956
|
+
stopColor: "stop-color",
|
|
957
|
+
stopOpacity: "stop-opacity",
|
|
958
|
+
strikethroughPosition: "strikethrough-position",
|
|
959
|
+
strikethroughThickness: "strikethrough-thickness",
|
|
960
|
+
strokeDashArray: "stroke-dasharray",
|
|
961
|
+
strokeDashOffset: "stroke-dashoffset",
|
|
962
|
+
strokeLineCap: "stroke-linecap",
|
|
963
|
+
strokeLineJoin: "stroke-linejoin",
|
|
964
|
+
strokeMiterLimit: "stroke-miterlimit",
|
|
965
|
+
strokeOpacity: "stroke-opacity",
|
|
966
|
+
strokeWidth: "stroke-width",
|
|
967
|
+
tabIndex: "tabindex",
|
|
968
|
+
textAnchor: "text-anchor",
|
|
969
|
+
textDecoration: "text-decoration",
|
|
970
|
+
textRendering: "text-rendering",
|
|
971
|
+
transformOrigin: "transform-origin",
|
|
972
|
+
typeOf: "typeof",
|
|
973
|
+
underlinePosition: "underline-position",
|
|
974
|
+
underlineThickness: "underline-thickness",
|
|
975
|
+
unicodeBidi: "unicode-bidi",
|
|
976
|
+
unicodeRange: "unicode-range",
|
|
977
|
+
unitsPerEm: "units-per-em",
|
|
978
|
+
vAlphabetic: "v-alphabetic",
|
|
979
|
+
vHanging: "v-hanging",
|
|
980
|
+
vIdeographic: "v-ideographic",
|
|
981
|
+
vMathematical: "v-mathematical",
|
|
982
|
+
vectorEffect: "vector-effect",
|
|
983
|
+
vertAdvY: "vert-adv-y",
|
|
984
|
+
vertOriginX: "vert-origin-x",
|
|
985
|
+
vertOriginY: "vert-origin-y",
|
|
986
|
+
wordSpacing: "word-spacing",
|
|
987
|
+
writingMode: "writing-mode",
|
|
988
|
+
xHeight: "x-height",
|
|
989
|
+
// These were camelcased in Tiny. Now lowercased in SVG 2
|
|
990
|
+
playbackOrder: "playbackorder",
|
|
991
|
+
timelineBegin: "timelinebegin"
|
|
992
|
+
},
|
|
993
|
+
properties: {
|
|
994
|
+
about: S,
|
|
995
|
+
accentHeight: r,
|
|
996
|
+
accumulate: null,
|
|
997
|
+
additive: null,
|
|
998
|
+
alignmentBaseline: null,
|
|
999
|
+
alphabetic: r,
|
|
1000
|
+
amplitude: r,
|
|
1001
|
+
arabicForm: null,
|
|
1002
|
+
ascent: r,
|
|
1003
|
+
attributeName: null,
|
|
1004
|
+
attributeType: null,
|
|
1005
|
+
azimuth: r,
|
|
1006
|
+
bandwidth: null,
|
|
1007
|
+
baselineShift: null,
|
|
1008
|
+
baseFrequency: null,
|
|
1009
|
+
baseProfile: null,
|
|
1010
|
+
bbox: null,
|
|
1011
|
+
begin: null,
|
|
1012
|
+
bias: r,
|
|
1013
|
+
by: null,
|
|
1014
|
+
calcMode: null,
|
|
1015
|
+
capHeight: r,
|
|
1016
|
+
className: g,
|
|
1017
|
+
clip: null,
|
|
1018
|
+
clipPath: null,
|
|
1019
|
+
clipPathUnits: null,
|
|
1020
|
+
clipRule: null,
|
|
1021
|
+
color: null,
|
|
1022
|
+
colorInterpolation: null,
|
|
1023
|
+
colorInterpolationFilters: null,
|
|
1024
|
+
colorProfile: null,
|
|
1025
|
+
colorRendering: null,
|
|
1026
|
+
content: null,
|
|
1027
|
+
contentScriptType: null,
|
|
1028
|
+
contentStyleType: null,
|
|
1029
|
+
crossOrigin: null,
|
|
1030
|
+
cursor: null,
|
|
1031
|
+
cx: null,
|
|
1032
|
+
cy: null,
|
|
1033
|
+
d: null,
|
|
1034
|
+
dataType: null,
|
|
1035
|
+
defaultAction: null,
|
|
1036
|
+
descent: r,
|
|
1037
|
+
diffuseConstant: r,
|
|
1038
|
+
direction: null,
|
|
1039
|
+
display: null,
|
|
1040
|
+
dur: null,
|
|
1041
|
+
divisor: r,
|
|
1042
|
+
dominantBaseline: null,
|
|
1043
|
+
download: s,
|
|
1044
|
+
dx: null,
|
|
1045
|
+
dy: null,
|
|
1046
|
+
edgeMode: null,
|
|
1047
|
+
editable: null,
|
|
1048
|
+
elevation: r,
|
|
1049
|
+
enableBackground: null,
|
|
1050
|
+
end: null,
|
|
1051
|
+
event: null,
|
|
1052
|
+
exponent: r,
|
|
1053
|
+
externalResourcesRequired: null,
|
|
1054
|
+
fill: null,
|
|
1055
|
+
fillOpacity: r,
|
|
1056
|
+
fillRule: null,
|
|
1057
|
+
filter: null,
|
|
1058
|
+
filterRes: null,
|
|
1059
|
+
filterUnits: null,
|
|
1060
|
+
floodColor: null,
|
|
1061
|
+
floodOpacity: null,
|
|
1062
|
+
focusable: null,
|
|
1063
|
+
focusHighlight: null,
|
|
1064
|
+
fontFamily: null,
|
|
1065
|
+
fontSize: null,
|
|
1066
|
+
fontSizeAdjust: null,
|
|
1067
|
+
fontStretch: null,
|
|
1068
|
+
fontStyle: null,
|
|
1069
|
+
fontVariant: null,
|
|
1070
|
+
fontWeight: null,
|
|
1071
|
+
format: null,
|
|
1072
|
+
fr: null,
|
|
1073
|
+
from: null,
|
|
1074
|
+
fx: null,
|
|
1075
|
+
fy: null,
|
|
1076
|
+
g1: A,
|
|
1077
|
+
g2: A,
|
|
1078
|
+
glyphName: A,
|
|
1079
|
+
glyphOrientationHorizontal: null,
|
|
1080
|
+
glyphOrientationVertical: null,
|
|
1081
|
+
glyphRef: null,
|
|
1082
|
+
gradientTransform: null,
|
|
1083
|
+
gradientUnits: null,
|
|
1084
|
+
handler: null,
|
|
1085
|
+
hanging: r,
|
|
1086
|
+
hatchContentUnits: null,
|
|
1087
|
+
hatchUnits: null,
|
|
1088
|
+
height: null,
|
|
1089
|
+
href: null,
|
|
1090
|
+
hrefLang: null,
|
|
1091
|
+
horizAdvX: r,
|
|
1092
|
+
horizOriginX: r,
|
|
1093
|
+
horizOriginY: r,
|
|
1094
|
+
id: null,
|
|
1095
|
+
ideographic: r,
|
|
1096
|
+
imageRendering: null,
|
|
1097
|
+
initialVisibility: null,
|
|
1098
|
+
in: null,
|
|
1099
|
+
in2: null,
|
|
1100
|
+
intercept: r,
|
|
1101
|
+
k: r,
|
|
1102
|
+
k1: r,
|
|
1103
|
+
k2: r,
|
|
1104
|
+
k3: r,
|
|
1105
|
+
k4: r,
|
|
1106
|
+
kernelMatrix: S,
|
|
1107
|
+
kernelUnitLength: null,
|
|
1108
|
+
keyPoints: null,
|
|
1109
|
+
// SEMI_COLON_SEPARATED
|
|
1110
|
+
keySplines: null,
|
|
1111
|
+
// SEMI_COLON_SEPARATED
|
|
1112
|
+
keyTimes: null,
|
|
1113
|
+
// SEMI_COLON_SEPARATED
|
|
1114
|
+
kerning: null,
|
|
1115
|
+
lang: null,
|
|
1116
|
+
lengthAdjust: null,
|
|
1117
|
+
letterSpacing: null,
|
|
1118
|
+
lightingColor: null,
|
|
1119
|
+
limitingConeAngle: r,
|
|
1120
|
+
local: null,
|
|
1121
|
+
markerEnd: null,
|
|
1122
|
+
markerMid: null,
|
|
1123
|
+
markerStart: null,
|
|
1124
|
+
markerHeight: null,
|
|
1125
|
+
markerUnits: null,
|
|
1126
|
+
markerWidth: null,
|
|
1127
|
+
mask: null,
|
|
1128
|
+
maskContentUnits: null,
|
|
1129
|
+
maskUnits: null,
|
|
1130
|
+
mathematical: null,
|
|
1131
|
+
max: null,
|
|
1132
|
+
media: null,
|
|
1133
|
+
mediaCharacterEncoding: null,
|
|
1134
|
+
mediaContentEncodings: null,
|
|
1135
|
+
mediaSize: r,
|
|
1136
|
+
mediaTime: null,
|
|
1137
|
+
method: null,
|
|
1138
|
+
min: null,
|
|
1139
|
+
mode: null,
|
|
1140
|
+
name: null,
|
|
1141
|
+
navDown: null,
|
|
1142
|
+
navDownLeft: null,
|
|
1143
|
+
navDownRight: null,
|
|
1144
|
+
navLeft: null,
|
|
1145
|
+
navNext: null,
|
|
1146
|
+
navPrev: null,
|
|
1147
|
+
navRight: null,
|
|
1148
|
+
navUp: null,
|
|
1149
|
+
navUpLeft: null,
|
|
1150
|
+
navUpRight: null,
|
|
1151
|
+
numOctaves: null,
|
|
1152
|
+
observer: null,
|
|
1153
|
+
offset: null,
|
|
1154
|
+
onAbort: null,
|
|
1155
|
+
onActivate: null,
|
|
1156
|
+
onAfterPrint: null,
|
|
1157
|
+
onBeforePrint: null,
|
|
1158
|
+
onBegin: null,
|
|
1159
|
+
onCancel: null,
|
|
1160
|
+
onCanPlay: null,
|
|
1161
|
+
onCanPlayThrough: null,
|
|
1162
|
+
onChange: null,
|
|
1163
|
+
onClick: null,
|
|
1164
|
+
onClose: null,
|
|
1165
|
+
onCopy: null,
|
|
1166
|
+
onCueChange: null,
|
|
1167
|
+
onCut: null,
|
|
1168
|
+
onDblClick: null,
|
|
1169
|
+
onDrag: null,
|
|
1170
|
+
onDragEnd: null,
|
|
1171
|
+
onDragEnter: null,
|
|
1172
|
+
onDragExit: null,
|
|
1173
|
+
onDragLeave: null,
|
|
1174
|
+
onDragOver: null,
|
|
1175
|
+
onDragStart: null,
|
|
1176
|
+
onDrop: null,
|
|
1177
|
+
onDurationChange: null,
|
|
1178
|
+
onEmptied: null,
|
|
1179
|
+
onEnd: null,
|
|
1180
|
+
onEnded: null,
|
|
1181
|
+
onError: null,
|
|
1182
|
+
onFocus: null,
|
|
1183
|
+
onFocusIn: null,
|
|
1184
|
+
onFocusOut: null,
|
|
1185
|
+
onHashChange: null,
|
|
1186
|
+
onInput: null,
|
|
1187
|
+
onInvalid: null,
|
|
1188
|
+
onKeyDown: null,
|
|
1189
|
+
onKeyPress: null,
|
|
1190
|
+
onKeyUp: null,
|
|
1191
|
+
onLoad: null,
|
|
1192
|
+
onLoadedData: null,
|
|
1193
|
+
onLoadedMetadata: null,
|
|
1194
|
+
onLoadStart: null,
|
|
1195
|
+
onMessage: null,
|
|
1196
|
+
onMouseDown: null,
|
|
1197
|
+
onMouseEnter: null,
|
|
1198
|
+
onMouseLeave: null,
|
|
1199
|
+
onMouseMove: null,
|
|
1200
|
+
onMouseOut: null,
|
|
1201
|
+
onMouseOver: null,
|
|
1202
|
+
onMouseUp: null,
|
|
1203
|
+
onMouseWheel: null,
|
|
1204
|
+
onOffline: null,
|
|
1205
|
+
onOnline: null,
|
|
1206
|
+
onPageHide: null,
|
|
1207
|
+
onPageShow: null,
|
|
1208
|
+
onPaste: null,
|
|
1209
|
+
onPause: null,
|
|
1210
|
+
onPlay: null,
|
|
1211
|
+
onPlaying: null,
|
|
1212
|
+
onPopState: null,
|
|
1213
|
+
onProgress: null,
|
|
1214
|
+
onRateChange: null,
|
|
1215
|
+
onRepeat: null,
|
|
1216
|
+
onReset: null,
|
|
1217
|
+
onResize: null,
|
|
1218
|
+
onScroll: null,
|
|
1219
|
+
onSeeked: null,
|
|
1220
|
+
onSeeking: null,
|
|
1221
|
+
onSelect: null,
|
|
1222
|
+
onShow: null,
|
|
1223
|
+
onStalled: null,
|
|
1224
|
+
onStorage: null,
|
|
1225
|
+
onSubmit: null,
|
|
1226
|
+
onSuspend: null,
|
|
1227
|
+
onTimeUpdate: null,
|
|
1228
|
+
onToggle: null,
|
|
1229
|
+
onUnload: null,
|
|
1230
|
+
onVolumeChange: null,
|
|
1231
|
+
onWaiting: null,
|
|
1232
|
+
onZoom: null,
|
|
1233
|
+
opacity: null,
|
|
1234
|
+
operator: null,
|
|
1235
|
+
order: null,
|
|
1236
|
+
orient: null,
|
|
1237
|
+
orientation: null,
|
|
1238
|
+
origin: null,
|
|
1239
|
+
overflow: null,
|
|
1240
|
+
overlay: null,
|
|
1241
|
+
overlinePosition: r,
|
|
1242
|
+
overlineThickness: r,
|
|
1243
|
+
paintOrder: null,
|
|
1244
|
+
panose1: null,
|
|
1245
|
+
path: null,
|
|
1246
|
+
pathLength: r,
|
|
1247
|
+
patternContentUnits: null,
|
|
1248
|
+
patternTransform: null,
|
|
1249
|
+
patternUnits: null,
|
|
1250
|
+
phase: null,
|
|
1251
|
+
ping: g,
|
|
1252
|
+
pitch: null,
|
|
1253
|
+
playbackOrder: null,
|
|
1254
|
+
pointerEvents: null,
|
|
1255
|
+
points: null,
|
|
1256
|
+
pointsAtX: r,
|
|
1257
|
+
pointsAtY: r,
|
|
1258
|
+
pointsAtZ: r,
|
|
1259
|
+
preserveAlpha: null,
|
|
1260
|
+
preserveAspectRatio: null,
|
|
1261
|
+
primitiveUnits: null,
|
|
1262
|
+
propagate: null,
|
|
1263
|
+
property: S,
|
|
1264
|
+
r: null,
|
|
1265
|
+
radius: null,
|
|
1266
|
+
referrerPolicy: null,
|
|
1267
|
+
refX: null,
|
|
1268
|
+
refY: null,
|
|
1269
|
+
rel: S,
|
|
1270
|
+
rev: S,
|
|
1271
|
+
renderingIntent: null,
|
|
1272
|
+
repeatCount: null,
|
|
1273
|
+
repeatDur: null,
|
|
1274
|
+
requiredExtensions: S,
|
|
1275
|
+
requiredFeatures: S,
|
|
1276
|
+
requiredFonts: S,
|
|
1277
|
+
requiredFormats: S,
|
|
1278
|
+
resource: null,
|
|
1279
|
+
restart: null,
|
|
1280
|
+
result: null,
|
|
1281
|
+
rotate: null,
|
|
1282
|
+
rx: null,
|
|
1283
|
+
ry: null,
|
|
1284
|
+
scale: null,
|
|
1285
|
+
seed: null,
|
|
1286
|
+
shapeRendering: null,
|
|
1287
|
+
side: null,
|
|
1288
|
+
slope: null,
|
|
1289
|
+
snapshotTime: null,
|
|
1290
|
+
specularConstant: r,
|
|
1291
|
+
specularExponent: r,
|
|
1292
|
+
spreadMethod: null,
|
|
1293
|
+
spacing: null,
|
|
1294
|
+
startOffset: null,
|
|
1295
|
+
stdDeviation: null,
|
|
1296
|
+
stemh: null,
|
|
1297
|
+
stemv: null,
|
|
1298
|
+
stitchTiles: null,
|
|
1299
|
+
stopColor: null,
|
|
1300
|
+
stopOpacity: null,
|
|
1301
|
+
strikethroughPosition: r,
|
|
1302
|
+
strikethroughThickness: r,
|
|
1303
|
+
string: null,
|
|
1304
|
+
stroke: null,
|
|
1305
|
+
strokeDashArray: S,
|
|
1306
|
+
strokeDashOffset: null,
|
|
1307
|
+
strokeLineCap: null,
|
|
1308
|
+
strokeLineJoin: null,
|
|
1309
|
+
strokeMiterLimit: r,
|
|
1310
|
+
strokeOpacity: r,
|
|
1311
|
+
strokeWidth: null,
|
|
1312
|
+
style: null,
|
|
1313
|
+
surfaceScale: r,
|
|
1314
|
+
syncBehavior: null,
|
|
1315
|
+
syncBehaviorDefault: null,
|
|
1316
|
+
syncMaster: null,
|
|
1317
|
+
syncTolerance: null,
|
|
1318
|
+
syncToleranceDefault: null,
|
|
1319
|
+
systemLanguage: S,
|
|
1320
|
+
tabIndex: r,
|
|
1321
|
+
tableValues: null,
|
|
1322
|
+
target: null,
|
|
1323
|
+
targetX: r,
|
|
1324
|
+
targetY: r,
|
|
1325
|
+
textAnchor: null,
|
|
1326
|
+
textDecoration: null,
|
|
1327
|
+
textRendering: null,
|
|
1328
|
+
textLength: null,
|
|
1329
|
+
timelineBegin: null,
|
|
1330
|
+
title: null,
|
|
1331
|
+
transformBehavior: null,
|
|
1332
|
+
type: null,
|
|
1333
|
+
typeOf: S,
|
|
1334
|
+
to: null,
|
|
1335
|
+
transform: null,
|
|
1336
|
+
transformOrigin: null,
|
|
1337
|
+
u1: null,
|
|
1338
|
+
u2: null,
|
|
1339
|
+
underlinePosition: r,
|
|
1340
|
+
underlineThickness: r,
|
|
1341
|
+
unicode: null,
|
|
1342
|
+
unicodeBidi: null,
|
|
1343
|
+
unicodeRange: null,
|
|
1344
|
+
unitsPerEm: r,
|
|
1345
|
+
values: null,
|
|
1346
|
+
vAlphabetic: r,
|
|
1347
|
+
vMathematical: r,
|
|
1348
|
+
vectorEffect: null,
|
|
1349
|
+
vHanging: r,
|
|
1350
|
+
vIdeographic: r,
|
|
1351
|
+
version: null,
|
|
1352
|
+
vertAdvY: r,
|
|
1353
|
+
vertOriginX: r,
|
|
1354
|
+
vertOriginY: r,
|
|
1355
|
+
viewBox: null,
|
|
1356
|
+
viewTarget: null,
|
|
1357
|
+
visibility: null,
|
|
1358
|
+
width: null,
|
|
1359
|
+
widths: null,
|
|
1360
|
+
wordSpacing: null,
|
|
1361
|
+
writingMode: null,
|
|
1362
|
+
x: null,
|
|
1363
|
+
x1: null,
|
|
1364
|
+
x2: null,
|
|
1365
|
+
xChannelSelector: null,
|
|
1366
|
+
xHeight: r,
|
|
1367
|
+
y: null,
|
|
1368
|
+
y1: null,
|
|
1369
|
+
y2: null,
|
|
1370
|
+
yChannelSelector: null,
|
|
1371
|
+
z: null,
|
|
1372
|
+
zoomAndPan: null
|
|
1373
|
+
},
|
|
1374
|
+
space: "svg",
|
|
1375
|
+
transform: Ne
|
|
1376
|
+
}), Ae = _({
|
|
1377
|
+
properties: {
|
|
1378
|
+
xLinkActuate: null,
|
|
1379
|
+
xLinkArcRole: null,
|
|
1380
|
+
xLinkHref: null,
|
|
1381
|
+
xLinkRole: null,
|
|
1382
|
+
xLinkShow: null,
|
|
1383
|
+
xLinkTitle: null,
|
|
1384
|
+
xLinkType: null
|
|
1385
|
+
},
|
|
1386
|
+
space: "xlink",
|
|
1387
|
+
transform(t, l) {
|
|
1388
|
+
return "xlink:" + l.slice(5).toLowerCase();
|
|
1389
|
+
}
|
|
1390
|
+
}), Te = _({
|
|
1391
|
+
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
1392
|
+
properties: { xmlnsXLink: null, xmlns: null },
|
|
1393
|
+
space: "xmlns",
|
|
1394
|
+
transform: Pe
|
|
1395
|
+
}), _e = _({
|
|
1396
|
+
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
1397
|
+
space: "xml",
|
|
1398
|
+
transform(t, l) {
|
|
1399
|
+
return "xml:" + l.slice(3).toLowerCase();
|
|
1400
|
+
}
|
|
1401
|
+
}), on = /[A-Z]/g, be = /-[a-z]/g, rn = /^data[-\w.:]+$/i;
|
|
1402
|
+
function an(t, l) {
|
|
1403
|
+
const n = ne(l);
|
|
1404
|
+
let e = l, a = v;
|
|
1405
|
+
if (n in t.normal)
|
|
1406
|
+
return t.property[t.normal[n]];
|
|
1407
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && rn.test(l)) {
|
|
1408
|
+
if (l.charAt(4) === "-") {
|
|
1409
|
+
const i = l.slice(5).replace(be, sn);
|
|
1410
|
+
e = "data" + i.charAt(0).toUpperCase() + i.slice(1);
|
|
1411
|
+
} else {
|
|
1412
|
+
const i = l.slice(4);
|
|
1413
|
+
if (!be.test(i)) {
|
|
1414
|
+
let u = i.replace(on, un);
|
|
1415
|
+
u.charAt(0) !== "-" && (u = "-" + u), l = "data" + u;
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
a = re;
|
|
1419
|
+
}
|
|
1420
|
+
return new a(e, l);
|
|
1421
|
+
}
|
|
1422
|
+
function un(t) {
|
|
1423
|
+
return "-" + t.toLowerCase();
|
|
1424
|
+
}
|
|
1425
|
+
function sn(t) {
|
|
1426
|
+
return t.charAt(1).toUpperCase();
|
|
1427
|
+
}
|
|
1428
|
+
const cn = Oe([Re, tn, Ae, Te, _e], "html"), De = Oe([Re, ln, Ae, Te, _e], "svg"), ve = {}.hasOwnProperty;
|
|
1429
|
+
function dn(t, l) {
|
|
1430
|
+
const n = l || {};
|
|
1431
|
+
function e(a, ...i) {
|
|
1432
|
+
let u = e.invalid;
|
|
1433
|
+
const d = e.handlers;
|
|
1434
|
+
if (a && ve.call(a, t)) {
|
|
1435
|
+
const b = String(a[t]);
|
|
1436
|
+
u = ve.call(d, b) ? d[b] : e.unknown;
|
|
1437
|
+
}
|
|
1438
|
+
if (u)
|
|
1439
|
+
return u.call(this, a, ...i);
|
|
1440
|
+
}
|
|
1441
|
+
return e.handlers = n.handlers || {}, e.invalid = n.invalid, e.unknown = n.unknown, e;
|
|
1442
|
+
}
|
|
1443
|
+
const gn = /["&'<>`]/g, pn = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, mn = (
|
|
1444
|
+
// eslint-disable-next-line no-control-regex, unicorn/no-hex-escape
|
|
1445
|
+
/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g
|
|
1446
|
+
), fn = /[|\\{}()[\]^$+*?.]/g, Se = /* @__PURE__ */ new WeakMap();
|
|
1447
|
+
function hn(t, l) {
|
|
1448
|
+
if (t = t.replace(
|
|
1449
|
+
l.subset ? yn(l.subset) : gn,
|
|
1450
|
+
e
|
|
1451
|
+
), l.subset || l.escapeOnly)
|
|
1452
|
+
return t;
|
|
1453
|
+
return t.replace(pn, n).replace(mn, e);
|
|
1454
|
+
function n(a, i, u) {
|
|
1455
|
+
return l.format(
|
|
1456
|
+
(a.charCodeAt(0) - 55296) * 1024 + a.charCodeAt(1) - 56320 + 65536,
|
|
1457
|
+
u.charCodeAt(i + 2),
|
|
1458
|
+
l
|
|
1459
|
+
);
|
|
1460
|
+
}
|
|
1461
|
+
function e(a, i, u) {
|
|
1462
|
+
return l.format(
|
|
1463
|
+
a.charCodeAt(0),
|
|
1464
|
+
u.charCodeAt(i + 1),
|
|
1465
|
+
l
|
|
1466
|
+
);
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
function yn(t) {
|
|
1470
|
+
let l = Se.get(t);
|
|
1471
|
+
return l || (l = bn(t), Se.set(t, l)), l;
|
|
1472
|
+
}
|
|
1473
|
+
function bn(t) {
|
|
1474
|
+
const l = [];
|
|
1475
|
+
let n = -1;
|
|
1476
|
+
for (; ++n < t.length; )
|
|
1477
|
+
l.push(t[n].replace(fn, "\\$&"));
|
|
1478
|
+
return new RegExp("(?:" + l.join("|") + ")", "g");
|
|
1479
|
+
}
|
|
1480
|
+
const vn = /[\dA-Fa-f]/;
|
|
1481
|
+
function Sn(t, l, n) {
|
|
1482
|
+
const e = "&#x" + t.toString(16).toUpperCase();
|
|
1483
|
+
return n && l && !vn.test(String.fromCharCode(l)) ? e : e + ";";
|
|
1484
|
+
}
|
|
1485
|
+
const xn = /\d/;
|
|
1486
|
+
function kn(t, l, n) {
|
|
1487
|
+
const e = "&#" + String(t);
|
|
1488
|
+
return n && l && !xn.test(String.fromCharCode(l)) ? e : e + ";";
|
|
1489
|
+
}
|
|
1490
|
+
const Cn = [
|
|
1491
|
+
"AElig",
|
|
1492
|
+
"AMP",
|
|
1493
|
+
"Aacute",
|
|
1494
|
+
"Acirc",
|
|
1495
|
+
"Agrave",
|
|
1496
|
+
"Aring",
|
|
1497
|
+
"Atilde",
|
|
1498
|
+
"Auml",
|
|
1499
|
+
"COPY",
|
|
1500
|
+
"Ccedil",
|
|
1501
|
+
"ETH",
|
|
1502
|
+
"Eacute",
|
|
1503
|
+
"Ecirc",
|
|
1504
|
+
"Egrave",
|
|
1505
|
+
"Euml",
|
|
1506
|
+
"GT",
|
|
1507
|
+
"Iacute",
|
|
1508
|
+
"Icirc",
|
|
1509
|
+
"Igrave",
|
|
1510
|
+
"Iuml",
|
|
1511
|
+
"LT",
|
|
1512
|
+
"Ntilde",
|
|
1513
|
+
"Oacute",
|
|
1514
|
+
"Ocirc",
|
|
1515
|
+
"Ograve",
|
|
1516
|
+
"Oslash",
|
|
1517
|
+
"Otilde",
|
|
1518
|
+
"Ouml",
|
|
1519
|
+
"QUOT",
|
|
1520
|
+
"REG",
|
|
1521
|
+
"THORN",
|
|
1522
|
+
"Uacute",
|
|
1523
|
+
"Ucirc",
|
|
1524
|
+
"Ugrave",
|
|
1525
|
+
"Uuml",
|
|
1526
|
+
"Yacute",
|
|
1527
|
+
"aacute",
|
|
1528
|
+
"acirc",
|
|
1529
|
+
"acute",
|
|
1530
|
+
"aelig",
|
|
1531
|
+
"agrave",
|
|
1532
|
+
"amp",
|
|
1533
|
+
"aring",
|
|
1534
|
+
"atilde",
|
|
1535
|
+
"auml",
|
|
1536
|
+
"brvbar",
|
|
1537
|
+
"ccedil",
|
|
1538
|
+
"cedil",
|
|
1539
|
+
"cent",
|
|
1540
|
+
"copy",
|
|
1541
|
+
"curren",
|
|
1542
|
+
"deg",
|
|
1543
|
+
"divide",
|
|
1544
|
+
"eacute",
|
|
1545
|
+
"ecirc",
|
|
1546
|
+
"egrave",
|
|
1547
|
+
"eth",
|
|
1548
|
+
"euml",
|
|
1549
|
+
"frac12",
|
|
1550
|
+
"frac14",
|
|
1551
|
+
"frac34",
|
|
1552
|
+
"gt",
|
|
1553
|
+
"iacute",
|
|
1554
|
+
"icirc",
|
|
1555
|
+
"iexcl",
|
|
1556
|
+
"igrave",
|
|
1557
|
+
"iquest",
|
|
1558
|
+
"iuml",
|
|
1559
|
+
"laquo",
|
|
1560
|
+
"lt",
|
|
1561
|
+
"macr",
|
|
1562
|
+
"micro",
|
|
1563
|
+
"middot",
|
|
1564
|
+
"nbsp",
|
|
1565
|
+
"not",
|
|
1566
|
+
"ntilde",
|
|
1567
|
+
"oacute",
|
|
1568
|
+
"ocirc",
|
|
1569
|
+
"ograve",
|
|
1570
|
+
"ordf",
|
|
1571
|
+
"ordm",
|
|
1572
|
+
"oslash",
|
|
1573
|
+
"otilde",
|
|
1574
|
+
"ouml",
|
|
1575
|
+
"para",
|
|
1576
|
+
"plusmn",
|
|
1577
|
+
"pound",
|
|
1578
|
+
"quot",
|
|
1579
|
+
"raquo",
|
|
1580
|
+
"reg",
|
|
1581
|
+
"sect",
|
|
1582
|
+
"shy",
|
|
1583
|
+
"sup1",
|
|
1584
|
+
"sup2",
|
|
1585
|
+
"sup3",
|
|
1586
|
+
"szlig",
|
|
1587
|
+
"thorn",
|
|
1588
|
+
"times",
|
|
1589
|
+
"uacute",
|
|
1590
|
+
"ucirc",
|
|
1591
|
+
"ugrave",
|
|
1592
|
+
"uml",
|
|
1593
|
+
"uuml",
|
|
1594
|
+
"yacute",
|
|
1595
|
+
"yen",
|
|
1596
|
+
"yuml"
|
|
1597
|
+
], Q = {
|
|
1598
|
+
nbsp: " ",
|
|
1599
|
+
iexcl: "¡",
|
|
1600
|
+
cent: "¢",
|
|
1601
|
+
pound: "£",
|
|
1602
|
+
curren: "¤",
|
|
1603
|
+
yen: "¥",
|
|
1604
|
+
brvbar: "¦",
|
|
1605
|
+
sect: "§",
|
|
1606
|
+
uml: "¨",
|
|
1607
|
+
copy: "©",
|
|
1608
|
+
ordf: "ª",
|
|
1609
|
+
laquo: "«",
|
|
1610
|
+
not: "¬",
|
|
1611
|
+
shy: "",
|
|
1612
|
+
reg: "®",
|
|
1613
|
+
macr: "¯",
|
|
1614
|
+
deg: "°",
|
|
1615
|
+
plusmn: "±",
|
|
1616
|
+
sup2: "²",
|
|
1617
|
+
sup3: "³",
|
|
1618
|
+
acute: "´",
|
|
1619
|
+
micro: "µ",
|
|
1620
|
+
para: "¶",
|
|
1621
|
+
middot: "·",
|
|
1622
|
+
cedil: "¸",
|
|
1623
|
+
sup1: "¹",
|
|
1624
|
+
ordm: "º",
|
|
1625
|
+
raquo: "»",
|
|
1626
|
+
frac14: "¼",
|
|
1627
|
+
frac12: "½",
|
|
1628
|
+
frac34: "¾",
|
|
1629
|
+
iquest: "¿",
|
|
1630
|
+
Agrave: "À",
|
|
1631
|
+
Aacute: "Á",
|
|
1632
|
+
Acirc: "Â",
|
|
1633
|
+
Atilde: "Ã",
|
|
1634
|
+
Auml: "Ä",
|
|
1635
|
+
Aring: "Å",
|
|
1636
|
+
AElig: "Æ",
|
|
1637
|
+
Ccedil: "Ç",
|
|
1638
|
+
Egrave: "È",
|
|
1639
|
+
Eacute: "É",
|
|
1640
|
+
Ecirc: "Ê",
|
|
1641
|
+
Euml: "Ë",
|
|
1642
|
+
Igrave: "Ì",
|
|
1643
|
+
Iacute: "Í",
|
|
1644
|
+
Icirc: "Î",
|
|
1645
|
+
Iuml: "Ï",
|
|
1646
|
+
ETH: "Ð",
|
|
1647
|
+
Ntilde: "Ñ",
|
|
1648
|
+
Ograve: "Ò",
|
|
1649
|
+
Oacute: "Ó",
|
|
1650
|
+
Ocirc: "Ô",
|
|
1651
|
+
Otilde: "Õ",
|
|
1652
|
+
Ouml: "Ö",
|
|
1653
|
+
times: "×",
|
|
1654
|
+
Oslash: "Ø",
|
|
1655
|
+
Ugrave: "Ù",
|
|
1656
|
+
Uacute: "Ú",
|
|
1657
|
+
Ucirc: "Û",
|
|
1658
|
+
Uuml: "Ü",
|
|
1659
|
+
Yacute: "Ý",
|
|
1660
|
+
THORN: "Þ",
|
|
1661
|
+
szlig: "ß",
|
|
1662
|
+
agrave: "à",
|
|
1663
|
+
aacute: "á",
|
|
1664
|
+
acirc: "â",
|
|
1665
|
+
atilde: "ã",
|
|
1666
|
+
auml: "ä",
|
|
1667
|
+
aring: "å",
|
|
1668
|
+
aelig: "æ",
|
|
1669
|
+
ccedil: "ç",
|
|
1670
|
+
egrave: "è",
|
|
1671
|
+
eacute: "é",
|
|
1672
|
+
ecirc: "ê",
|
|
1673
|
+
euml: "ë",
|
|
1674
|
+
igrave: "ì",
|
|
1675
|
+
iacute: "í",
|
|
1676
|
+
icirc: "î",
|
|
1677
|
+
iuml: "ï",
|
|
1678
|
+
eth: "ð",
|
|
1679
|
+
ntilde: "ñ",
|
|
1680
|
+
ograve: "ò",
|
|
1681
|
+
oacute: "ó",
|
|
1682
|
+
ocirc: "ô",
|
|
1683
|
+
otilde: "õ",
|
|
1684
|
+
ouml: "ö",
|
|
1685
|
+
divide: "÷",
|
|
1686
|
+
oslash: "ø",
|
|
1687
|
+
ugrave: "ù",
|
|
1688
|
+
uacute: "ú",
|
|
1689
|
+
ucirc: "û",
|
|
1690
|
+
uuml: "ü",
|
|
1691
|
+
yacute: "ý",
|
|
1692
|
+
thorn: "þ",
|
|
1693
|
+
yuml: "ÿ",
|
|
1694
|
+
fnof: "ƒ",
|
|
1695
|
+
Alpha: "Α",
|
|
1696
|
+
Beta: "Β",
|
|
1697
|
+
Gamma: "Γ",
|
|
1698
|
+
Delta: "Δ",
|
|
1699
|
+
Epsilon: "Ε",
|
|
1700
|
+
Zeta: "Ζ",
|
|
1701
|
+
Eta: "Η",
|
|
1702
|
+
Theta: "Θ",
|
|
1703
|
+
Iota: "Ι",
|
|
1704
|
+
Kappa: "Κ",
|
|
1705
|
+
Lambda: "Λ",
|
|
1706
|
+
Mu: "Μ",
|
|
1707
|
+
Nu: "Ν",
|
|
1708
|
+
Xi: "Ξ",
|
|
1709
|
+
Omicron: "Ο",
|
|
1710
|
+
Pi: "Π",
|
|
1711
|
+
Rho: "Ρ",
|
|
1712
|
+
Sigma: "Σ",
|
|
1713
|
+
Tau: "Τ",
|
|
1714
|
+
Upsilon: "Υ",
|
|
1715
|
+
Phi: "Φ",
|
|
1716
|
+
Chi: "Χ",
|
|
1717
|
+
Psi: "Ψ",
|
|
1718
|
+
Omega: "Ω",
|
|
1719
|
+
alpha: "α",
|
|
1720
|
+
beta: "β",
|
|
1721
|
+
gamma: "γ",
|
|
1722
|
+
delta: "δ",
|
|
1723
|
+
epsilon: "ε",
|
|
1724
|
+
zeta: "ζ",
|
|
1725
|
+
eta: "η",
|
|
1726
|
+
theta: "θ",
|
|
1727
|
+
iota: "ι",
|
|
1728
|
+
kappa: "κ",
|
|
1729
|
+
lambda: "λ",
|
|
1730
|
+
mu: "μ",
|
|
1731
|
+
nu: "ν",
|
|
1732
|
+
xi: "ξ",
|
|
1733
|
+
omicron: "ο",
|
|
1734
|
+
pi: "π",
|
|
1735
|
+
rho: "ρ",
|
|
1736
|
+
sigmaf: "ς",
|
|
1737
|
+
sigma: "σ",
|
|
1738
|
+
tau: "τ",
|
|
1739
|
+
upsilon: "υ",
|
|
1740
|
+
phi: "φ",
|
|
1741
|
+
chi: "χ",
|
|
1742
|
+
psi: "ψ",
|
|
1743
|
+
omega: "ω",
|
|
1744
|
+
thetasym: "ϑ",
|
|
1745
|
+
upsih: "ϒ",
|
|
1746
|
+
piv: "ϖ",
|
|
1747
|
+
bull: "•",
|
|
1748
|
+
hellip: "…",
|
|
1749
|
+
prime: "′",
|
|
1750
|
+
Prime: "″",
|
|
1751
|
+
oline: "‾",
|
|
1752
|
+
frasl: "⁄",
|
|
1753
|
+
weierp: "℘",
|
|
1754
|
+
image: "ℑ",
|
|
1755
|
+
real: "ℜ",
|
|
1756
|
+
trade: "™",
|
|
1757
|
+
alefsym: "ℵ",
|
|
1758
|
+
larr: "←",
|
|
1759
|
+
uarr: "↑",
|
|
1760
|
+
rarr: "→",
|
|
1761
|
+
darr: "↓",
|
|
1762
|
+
harr: "↔",
|
|
1763
|
+
crarr: "↵",
|
|
1764
|
+
lArr: "⇐",
|
|
1765
|
+
uArr: "⇑",
|
|
1766
|
+
rArr: "⇒",
|
|
1767
|
+
dArr: "⇓",
|
|
1768
|
+
hArr: "⇔",
|
|
1769
|
+
forall: "∀",
|
|
1770
|
+
part: "∂",
|
|
1771
|
+
exist: "∃",
|
|
1772
|
+
empty: "∅",
|
|
1773
|
+
nabla: "∇",
|
|
1774
|
+
isin: "∈",
|
|
1775
|
+
notin: "∉",
|
|
1776
|
+
ni: "∋",
|
|
1777
|
+
prod: "∏",
|
|
1778
|
+
sum: "∑",
|
|
1779
|
+
minus: "−",
|
|
1780
|
+
lowast: "∗",
|
|
1781
|
+
radic: "√",
|
|
1782
|
+
prop: "∝",
|
|
1783
|
+
infin: "∞",
|
|
1784
|
+
ang: "∠",
|
|
1785
|
+
and: "∧",
|
|
1786
|
+
or: "∨",
|
|
1787
|
+
cap: "∩",
|
|
1788
|
+
cup: "∪",
|
|
1789
|
+
int: "∫",
|
|
1790
|
+
there4: "∴",
|
|
1791
|
+
sim: "∼",
|
|
1792
|
+
cong: "≅",
|
|
1793
|
+
asymp: "≈",
|
|
1794
|
+
ne: "≠",
|
|
1795
|
+
equiv: "≡",
|
|
1796
|
+
le: "≤",
|
|
1797
|
+
ge: "≥",
|
|
1798
|
+
sub: "⊂",
|
|
1799
|
+
sup: "⊃",
|
|
1800
|
+
nsub: "⊄",
|
|
1801
|
+
sube: "⊆",
|
|
1802
|
+
supe: "⊇",
|
|
1803
|
+
oplus: "⊕",
|
|
1804
|
+
otimes: "⊗",
|
|
1805
|
+
perp: "⊥",
|
|
1806
|
+
sdot: "⋅",
|
|
1807
|
+
lceil: "⌈",
|
|
1808
|
+
rceil: "⌉",
|
|
1809
|
+
lfloor: "⌊",
|
|
1810
|
+
rfloor: "⌋",
|
|
1811
|
+
lang: "〈",
|
|
1812
|
+
rang: "〉",
|
|
1813
|
+
loz: "◊",
|
|
1814
|
+
spades: "♠",
|
|
1815
|
+
clubs: "♣",
|
|
1816
|
+
hearts: "♥",
|
|
1817
|
+
diams: "♦",
|
|
1818
|
+
quot: '"',
|
|
1819
|
+
amp: "&",
|
|
1820
|
+
lt: "<",
|
|
1821
|
+
gt: ">",
|
|
1822
|
+
OElig: "Œ",
|
|
1823
|
+
oelig: "œ",
|
|
1824
|
+
Scaron: "Š",
|
|
1825
|
+
scaron: "š",
|
|
1826
|
+
Yuml: "Ÿ",
|
|
1827
|
+
circ: "ˆ",
|
|
1828
|
+
tilde: "˜",
|
|
1829
|
+
ensp: " ",
|
|
1830
|
+
emsp: " ",
|
|
1831
|
+
thinsp: " ",
|
|
1832
|
+
zwnj: "",
|
|
1833
|
+
zwj: "",
|
|
1834
|
+
lrm: "",
|
|
1835
|
+
rlm: "",
|
|
1836
|
+
ndash: "–",
|
|
1837
|
+
mdash: "—",
|
|
1838
|
+
lsquo: "‘",
|
|
1839
|
+
rsquo: "’",
|
|
1840
|
+
sbquo: "‚",
|
|
1841
|
+
ldquo: "“",
|
|
1842
|
+
rdquo: "”",
|
|
1843
|
+
bdquo: "„",
|
|
1844
|
+
dagger: "†",
|
|
1845
|
+
Dagger: "‡",
|
|
1846
|
+
permil: "‰",
|
|
1847
|
+
lsaquo: "‹",
|
|
1848
|
+
rsaquo: "›",
|
|
1849
|
+
euro: "€"
|
|
1850
|
+
}, En = [
|
|
1851
|
+
"cent",
|
|
1852
|
+
"copy",
|
|
1853
|
+
"divide",
|
|
1854
|
+
"gt",
|
|
1855
|
+
"lt",
|
|
1856
|
+
"not",
|
|
1857
|
+
"para",
|
|
1858
|
+
"times"
|
|
1859
|
+
], Le = {}.hasOwnProperty, oe = {};
|
|
1860
|
+
let q;
|
|
1861
|
+
for (q in Q)
|
|
1862
|
+
Le.call(Q, q) && (oe[Q[q]] = q);
|
|
1863
|
+
const wn = /[^\dA-Za-z]/;
|
|
1864
|
+
function On(t, l, n, e) {
|
|
1865
|
+
const a = String.fromCharCode(t);
|
|
1866
|
+
if (Le.call(oe, a)) {
|
|
1867
|
+
const i = oe[a], u = "&" + i;
|
|
1868
|
+
return n && Cn.includes(i) && !En.includes(i) && (!e || l && l !== 61 && wn.test(String.fromCharCode(l))) ? u : u + ";";
|
|
1869
|
+
}
|
|
1870
|
+
return "";
|
|
1871
|
+
}
|
|
1872
|
+
function Rn(t, l, n) {
|
|
1873
|
+
let e = Sn(t, l, n.omitOptionalSemicolons), a;
|
|
1874
|
+
if ((n.useNamedReferences || n.useShortestReferences) && (a = On(
|
|
1875
|
+
t,
|
|
1876
|
+
l,
|
|
1877
|
+
n.omitOptionalSemicolons,
|
|
1878
|
+
n.attribute
|
|
1879
|
+
)), (n.useShortestReferences || !a) && n.useShortestReferences) {
|
|
1880
|
+
const i = kn(t, l, n.omitOptionalSemicolons);
|
|
1881
|
+
i.length < e.length && (e = i);
|
|
1882
|
+
}
|
|
1883
|
+
return a && (!n.useShortestReferences || a.length < e.length) ? a : e;
|
|
1884
|
+
}
|
|
1885
|
+
function T(t, l) {
|
|
1886
|
+
return hn(t, Object.assign({ format: Rn }, l));
|
|
1887
|
+
}
|
|
1888
|
+
const Nn = /^>|^->|<!--|-->|--!>|<!-$/g, Pn = [">"], An = ["<", ">"];
|
|
1889
|
+
function Tn(t, l, n, e) {
|
|
1890
|
+
return e.settings.bogusComments ? "<?" + T(
|
|
1891
|
+
t.value,
|
|
1892
|
+
Object.assign({}, e.settings.characterReferences, {
|
|
1893
|
+
subset: Pn
|
|
1894
|
+
})
|
|
1895
|
+
) + ">" : "<!--" + t.value.replace(Nn, a) + "-->";
|
|
1896
|
+
function a(i) {
|
|
1897
|
+
return T(
|
|
1898
|
+
i,
|
|
1899
|
+
Object.assign({}, e.settings.characterReferences, {
|
|
1900
|
+
subset: An
|
|
1901
|
+
})
|
|
1902
|
+
);
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
function _n(t, l, n, e) {
|
|
1906
|
+
return "<!" + (e.settings.upperDoctype ? "DOCTYPE" : "doctype") + (e.settings.tightDoctype ? "" : " ") + "html>";
|
|
1907
|
+
}
|
|
1908
|
+
function xe(t, l) {
|
|
1909
|
+
const n = String(t);
|
|
1910
|
+
if (typeof l != "string")
|
|
1911
|
+
throw new TypeError("Expected character");
|
|
1912
|
+
let e = 0, a = n.indexOf(l);
|
|
1913
|
+
for (; a !== -1; )
|
|
1914
|
+
e++, a = n.indexOf(l, a + l.length);
|
|
1915
|
+
return e;
|
|
1916
|
+
}
|
|
1917
|
+
function Et(t) {
|
|
1918
|
+
const l = [], n = String(t || "");
|
|
1919
|
+
let e = n.indexOf(","), a = 0, i = !1;
|
|
1920
|
+
for (; !i; ) {
|
|
1921
|
+
e === -1 && (e = n.length, i = !0);
|
|
1922
|
+
const u = n.slice(a, e).trim();
|
|
1923
|
+
(u || !i) && l.push(u), a = e + 1, e = n.indexOf(",", a);
|
|
1924
|
+
}
|
|
1925
|
+
return l;
|
|
1926
|
+
}
|
|
1927
|
+
function Dn(t, l) {
|
|
1928
|
+
const n = l || {};
|
|
1929
|
+
return (t[t.length - 1] === "" ? [...t, ""] : t).join(
|
|
1930
|
+
(n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
|
|
1931
|
+
).trim();
|
|
1932
|
+
}
|
|
1933
|
+
function wt(t) {
|
|
1934
|
+
const l = String(t || "").trim();
|
|
1935
|
+
return l ? l.split(/[ \t\n\r\f]+/g) : [];
|
|
1936
|
+
}
|
|
1937
|
+
function Ln(t) {
|
|
1938
|
+
return t.join(" ").trim();
|
|
1939
|
+
}
|
|
1940
|
+
const Mn = /[ \t\n\f\r]/g;
|
|
1941
|
+
function ae(t) {
|
|
1942
|
+
return typeof t == "object" ? t.type === "text" ? ke(t.value) : !1 : ke(t);
|
|
1943
|
+
}
|
|
1944
|
+
function ke(t) {
|
|
1945
|
+
return t.replace(Mn, "") === "";
|
|
1946
|
+
}
|
|
1947
|
+
const y = je(1), Me = je(-1), jn = [];
|
|
1948
|
+
function je(t) {
|
|
1949
|
+
return l;
|
|
1950
|
+
function l(n, e, a) {
|
|
1951
|
+
const i = n ? n.children : jn;
|
|
1952
|
+
let u = (e || 0) + t, d = i[u];
|
|
1953
|
+
if (!a)
|
|
1954
|
+
for (; d && ae(d); )
|
|
1955
|
+
u += t, d = i[u];
|
|
1956
|
+
return d;
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
const Un = {}.hasOwnProperty;
|
|
1960
|
+
function Ue(t) {
|
|
1961
|
+
return l;
|
|
1962
|
+
function l(n, e, a) {
|
|
1963
|
+
return Un.call(t, n.tagName) && t[n.tagName](n, e, a);
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
const ie = Ue({
|
|
1967
|
+
body: In,
|
|
1968
|
+
caption: ee,
|
|
1969
|
+
colgroup: ee,
|
|
1970
|
+
dd: Hn,
|
|
1971
|
+
dt: Fn,
|
|
1972
|
+
head: ee,
|
|
1973
|
+
html: Bn,
|
|
1974
|
+
li: qn,
|
|
1975
|
+
optgroup: $n,
|
|
1976
|
+
option: Yn,
|
|
1977
|
+
p: zn,
|
|
1978
|
+
rp: Ce,
|
|
1979
|
+
rt: Ce,
|
|
1980
|
+
tbody: Wn,
|
|
1981
|
+
td: Ee,
|
|
1982
|
+
tfoot: Xn,
|
|
1983
|
+
th: Ee,
|
|
1984
|
+
thead: Vn,
|
|
1985
|
+
tr: Kn
|
|
1986
|
+
});
|
|
1987
|
+
function ee(t, l, n) {
|
|
1988
|
+
const e = y(n, l, !0);
|
|
1989
|
+
return !e || e.type !== "comment" && !(e.type === "text" && ae(e.value.charAt(0)));
|
|
1990
|
+
}
|
|
1991
|
+
function Bn(t, l, n) {
|
|
1992
|
+
const e = y(n, l);
|
|
1993
|
+
return !e || e.type !== "comment";
|
|
1994
|
+
}
|
|
1995
|
+
function In(t, l, n) {
|
|
1996
|
+
const e = y(n, l);
|
|
1997
|
+
return !e || e.type !== "comment";
|
|
1998
|
+
}
|
|
1999
|
+
function zn(t, l, n) {
|
|
2000
|
+
const e = y(n, l);
|
|
2001
|
+
return e ? e.type === "element" && (e.tagName === "address" || e.tagName === "article" || e.tagName === "aside" || e.tagName === "blockquote" || e.tagName === "details" || e.tagName === "div" || e.tagName === "dl" || e.tagName === "fieldset" || e.tagName === "figcaption" || e.tagName === "figure" || e.tagName === "footer" || e.tagName === "form" || e.tagName === "h1" || e.tagName === "h2" || e.tagName === "h3" || e.tagName === "h4" || e.tagName === "h5" || e.tagName === "h6" || e.tagName === "header" || e.tagName === "hgroup" || e.tagName === "hr" || e.tagName === "main" || e.tagName === "menu" || e.tagName === "nav" || e.tagName === "ol" || e.tagName === "p" || e.tagName === "pre" || e.tagName === "section" || e.tagName === "table" || e.tagName === "ul") : !n || // Confusing parent.
|
|
2002
|
+
!(n.type === "element" && (n.tagName === "a" || n.tagName === "audio" || n.tagName === "del" || n.tagName === "ins" || n.tagName === "map" || n.tagName === "noscript" || n.tagName === "video"));
|
|
2003
|
+
}
|
|
2004
|
+
function qn(t, l, n) {
|
|
2005
|
+
const e = y(n, l);
|
|
2006
|
+
return !e || e.type === "element" && e.tagName === "li";
|
|
2007
|
+
}
|
|
2008
|
+
function Fn(t, l, n) {
|
|
2009
|
+
const e = y(n, l);
|
|
2010
|
+
return !!(e && e.type === "element" && (e.tagName === "dt" || e.tagName === "dd"));
|
|
2011
|
+
}
|
|
2012
|
+
function Hn(t, l, n) {
|
|
2013
|
+
const e = y(n, l);
|
|
2014
|
+
return !e || e.type === "element" && (e.tagName === "dt" || e.tagName === "dd");
|
|
2015
|
+
}
|
|
2016
|
+
function Ce(t, l, n) {
|
|
2017
|
+
const e = y(n, l);
|
|
2018
|
+
return !e || e.type === "element" && (e.tagName === "rp" || e.tagName === "rt");
|
|
2019
|
+
}
|
|
2020
|
+
function $n(t, l, n) {
|
|
2021
|
+
const e = y(n, l);
|
|
2022
|
+
return !e || e.type === "element" && e.tagName === "optgroup";
|
|
2023
|
+
}
|
|
2024
|
+
function Yn(t, l, n) {
|
|
2025
|
+
const e = y(n, l);
|
|
2026
|
+
return !e || e.type === "element" && (e.tagName === "option" || e.tagName === "optgroup");
|
|
2027
|
+
}
|
|
2028
|
+
function Vn(t, l, n) {
|
|
2029
|
+
const e = y(n, l);
|
|
2030
|
+
return !!(e && e.type === "element" && (e.tagName === "tbody" || e.tagName === "tfoot"));
|
|
2031
|
+
}
|
|
2032
|
+
function Wn(t, l, n) {
|
|
2033
|
+
const e = y(n, l);
|
|
2034
|
+
return !e || e.type === "element" && (e.tagName === "tbody" || e.tagName === "tfoot");
|
|
2035
|
+
}
|
|
2036
|
+
function Xn(t, l, n) {
|
|
2037
|
+
return !y(n, l);
|
|
2038
|
+
}
|
|
2039
|
+
function Kn(t, l, n) {
|
|
2040
|
+
const e = y(n, l);
|
|
2041
|
+
return !e || e.type === "element" && e.tagName === "tr";
|
|
2042
|
+
}
|
|
2043
|
+
function Ee(t, l, n) {
|
|
2044
|
+
const e = y(n, l);
|
|
2045
|
+
return !e || e.type === "element" && (e.tagName === "td" || e.tagName === "th");
|
|
2046
|
+
}
|
|
2047
|
+
const Gn = Ue({
|
|
2048
|
+
body: Qn,
|
|
2049
|
+
colgroup: et,
|
|
2050
|
+
head: Zn,
|
|
2051
|
+
html: Jn,
|
|
2052
|
+
tbody: nt
|
|
2053
|
+
});
|
|
2054
|
+
function Jn(t) {
|
|
2055
|
+
const l = y(t, -1);
|
|
2056
|
+
return !l || l.type !== "comment";
|
|
2057
|
+
}
|
|
2058
|
+
function Zn(t) {
|
|
2059
|
+
const l = /* @__PURE__ */ new Set();
|
|
2060
|
+
for (const e of t.children)
|
|
2061
|
+
if (e.type === "element" && (e.tagName === "base" || e.tagName === "title")) {
|
|
2062
|
+
if (l.has(e.tagName)) return !1;
|
|
2063
|
+
l.add(e.tagName);
|
|
2064
|
+
}
|
|
2065
|
+
const n = t.children[0];
|
|
2066
|
+
return !n || n.type === "element";
|
|
2067
|
+
}
|
|
2068
|
+
function Qn(t) {
|
|
2069
|
+
const l = y(t, -1, !0);
|
|
2070
|
+
return !l || l.type !== "comment" && !(l.type === "text" && ae(l.value.charAt(0))) && !(l.type === "element" && (l.tagName === "meta" || l.tagName === "link" || l.tagName === "script" || l.tagName === "style" || l.tagName === "template"));
|
|
2071
|
+
}
|
|
2072
|
+
function et(t, l, n) {
|
|
2073
|
+
const e = Me(n, l), a = y(t, -1, !0);
|
|
2074
|
+
return n && e && e.type === "element" && e.tagName === "colgroup" && ie(e, n.children.indexOf(e), n) ? !1 : !!(a && a.type === "element" && a.tagName === "col");
|
|
2075
|
+
}
|
|
2076
|
+
function nt(t, l, n) {
|
|
2077
|
+
const e = Me(n, l), a = y(t, -1);
|
|
2078
|
+
return n && e && e.type === "element" && (e.tagName === "thead" || e.tagName === "tbody") && ie(e, n.children.indexOf(e), n) ? !1 : !!(a && a.type === "element" && a.tagName === "tr");
|
|
2079
|
+
}
|
|
2080
|
+
const F = {
|
|
2081
|
+
// See: <https://html.spec.whatwg.org/#attribute-name-state>.
|
|
2082
|
+
name: [
|
|
2083
|
+
[`
|
|
2084
|
+
\f\r &/=>`.split(""), `
|
|
2085
|
+
\f\r "&'/=>\``.split("")],
|
|
2086
|
+
[`\0
|
|
2087
|
+
\f\r "&'/<=>`.split(""), `\0
|
|
2088
|
+
\f\r "&'/<=>\``.split("")]
|
|
2089
|
+
],
|
|
2090
|
+
// See: <https://html.spec.whatwg.org/#attribute-value-(unquoted)-state>.
|
|
2091
|
+
unquoted: [
|
|
2092
|
+
[`
|
|
2093
|
+
\f\r &>`.split(""), `\0
|
|
2094
|
+
\f\r "&'<=>\``.split("")],
|
|
2095
|
+
[`\0
|
|
2096
|
+
\f\r "&'<=>\``.split(""), `\0
|
|
2097
|
+
\f\r "&'<=>\``.split("")]
|
|
2098
|
+
],
|
|
2099
|
+
// See: <https://html.spec.whatwg.org/#attribute-value-(single-quoted)-state>.
|
|
2100
|
+
single: [
|
|
2101
|
+
["&'".split(""), "\"&'`".split("")],
|
|
2102
|
+
["\0&'".split(""), "\0\"&'`".split("")]
|
|
2103
|
+
],
|
|
2104
|
+
// See: <https://html.spec.whatwg.org/#attribute-value-(double-quoted)-state>.
|
|
2105
|
+
double: [
|
|
2106
|
+
['"&'.split(""), "\"&'`".split("")],
|
|
2107
|
+
['\0"&'.split(""), "\0\"&'`".split("")]
|
|
2108
|
+
]
|
|
2109
|
+
};
|
|
2110
|
+
function tt(t, l, n, e) {
|
|
2111
|
+
const a = e.schema, i = a.space === "svg" ? !1 : e.settings.omitOptionalTags;
|
|
2112
|
+
let u = a.space === "svg" ? e.settings.closeEmptyElements : e.settings.voids.includes(t.tagName.toLowerCase());
|
|
2113
|
+
const d = [];
|
|
2114
|
+
let b;
|
|
2115
|
+
a.space === "html" && t.tagName === "svg" && (e.schema = De);
|
|
2116
|
+
const k = lt(e, t.properties), C = e.all(
|
|
2117
|
+
a.space === "html" && t.tagName === "template" ? t.content : t
|
|
2118
|
+
);
|
|
2119
|
+
return e.schema = a, C && (u = !1), (k || !i || !Gn(t, l, n)) && (d.push("<", t.tagName, k ? " " + k : ""), u && (a.space === "svg" || e.settings.closeSelfClosing) && (b = k.charAt(k.length - 1), (!e.settings.tightSelfClosing || b === "/" || b && b !== '"' && b !== "'") && d.push(" "), d.push("/")), d.push(">")), d.push(C), !u && (!i || !ie(t, l, n)) && d.push("</" + t.tagName + ">"), d.join("");
|
|
2120
|
+
}
|
|
2121
|
+
function lt(t, l) {
|
|
2122
|
+
const n = [];
|
|
2123
|
+
let e = -1, a;
|
|
2124
|
+
if (l) {
|
|
2125
|
+
for (a in l)
|
|
2126
|
+
if (l[a] !== null && l[a] !== void 0) {
|
|
2127
|
+
const i = ot(t, a, l[a]);
|
|
2128
|
+
i && n.push(i);
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
for (; ++e < n.length; ) {
|
|
2132
|
+
const i = t.settings.tightAttributes ? n[e].charAt(n[e].length - 1) : void 0;
|
|
2133
|
+
e !== n.length - 1 && i !== '"' && i !== "'" && (n[e] += " ");
|
|
2134
|
+
}
|
|
2135
|
+
return n.join("");
|
|
2136
|
+
}
|
|
2137
|
+
function ot(t, l, n) {
|
|
2138
|
+
const e = an(t.schema, l), a = t.settings.allowParseErrors && t.schema.space === "html" ? 0 : 1, i = t.settings.allowDangerousCharacters ? 0 : 1;
|
|
2139
|
+
let u = t.quote, d;
|
|
2140
|
+
if (e.overloadedBoolean && (n === e.attribute || n === "") ? n = !0 : (e.boolean || e.overloadedBoolean) && (typeof n != "string" || n === e.attribute || n === "") && (n = !!n), n == null || n === !1 || typeof n == "number" && Number.isNaN(n))
|
|
2141
|
+
return "";
|
|
2142
|
+
const b = T(
|
|
2143
|
+
e.attribute,
|
|
2144
|
+
Object.assign({}, t.settings.characterReferences, {
|
|
2145
|
+
// Always encode without parse errors in non-HTML.
|
|
2146
|
+
subset: F.name[a][i]
|
|
2147
|
+
})
|
|
2148
|
+
);
|
|
2149
|
+
return n === !0 || (n = Array.isArray(n) ? (e.commaSeparated ? Dn : Ln)(n, {
|
|
2150
|
+
padLeft: !t.settings.tightCommaSeparatedLists
|
|
2151
|
+
}) : String(n), t.settings.collapseEmptyAttributes && !n) ? b : (t.settings.preferUnquoted && (d = T(
|
|
2152
|
+
n,
|
|
2153
|
+
Object.assign({}, t.settings.characterReferences, {
|
|
2154
|
+
attribute: !0,
|
|
2155
|
+
subset: F.unquoted[a][i]
|
|
2156
|
+
})
|
|
2157
|
+
)), d !== n && (t.settings.quoteSmart && xe(n, u) > xe(n, t.alternative) && (u = t.alternative), d = u + T(
|
|
2158
|
+
n,
|
|
2159
|
+
Object.assign({}, t.settings.characterReferences, {
|
|
2160
|
+
// Always encode without parse errors in non-HTML.
|
|
2161
|
+
subset: (u === "'" ? F.single : F.double)[a][i],
|
|
2162
|
+
attribute: !0
|
|
2163
|
+
})
|
|
2164
|
+
) + u), b + (d && "=" + d));
|
|
2165
|
+
}
|
|
2166
|
+
const rt = ["<", "&"];
|
|
2167
|
+
function Be(t, l, n, e) {
|
|
2168
|
+
return n && n.type === "element" && (n.tagName === "script" || n.tagName === "style") ? t.value : T(
|
|
2169
|
+
t.value,
|
|
2170
|
+
Object.assign({}, e.settings.characterReferences, {
|
|
2171
|
+
subset: rt
|
|
2172
|
+
})
|
|
2173
|
+
);
|
|
2174
|
+
}
|
|
2175
|
+
function at(t, l, n, e) {
|
|
2176
|
+
return e.settings.allowDangerousHtml ? t.value : Be(t, l, n, e);
|
|
2177
|
+
}
|
|
2178
|
+
function it(t, l, n, e) {
|
|
2179
|
+
return e.all(t);
|
|
2180
|
+
}
|
|
2181
|
+
const ut = dn("type", {
|
|
2182
|
+
invalid: st,
|
|
2183
|
+
unknown: ct,
|
|
2184
|
+
handlers: { comment: Tn, doctype: _n, element: tt, raw: at, root: it, text: Be }
|
|
2185
|
+
});
|
|
2186
|
+
function st(t) {
|
|
2187
|
+
throw new Error("Expected node, not `" + t + "`");
|
|
2188
|
+
}
|
|
2189
|
+
function ct(t) {
|
|
2190
|
+
const l = (
|
|
2191
|
+
/** @type {Nodes} */
|
|
2192
|
+
t
|
|
2193
|
+
);
|
|
2194
|
+
throw new Error("Cannot compile unknown node `" + l.type + "`");
|
|
2195
|
+
}
|
|
2196
|
+
const dt = {}, gt = {}, pt = [];
|
|
2197
|
+
function mt(t, l) {
|
|
2198
|
+
const n = dt, e = n.quote || '"', a = e === '"' ? "'" : '"';
|
|
2199
|
+
if (e !== '"' && e !== "'")
|
|
2200
|
+
throw new Error("Invalid quote `" + e + "`, expected `'` or `\"`");
|
|
2201
|
+
return {
|
|
2202
|
+
one: ft,
|
|
2203
|
+
all: ht,
|
|
2204
|
+
settings: {
|
|
2205
|
+
omitOptionalTags: n.omitOptionalTags || !1,
|
|
2206
|
+
allowParseErrors: n.allowParseErrors || !1,
|
|
2207
|
+
allowDangerousCharacters: n.allowDangerousCharacters || !1,
|
|
2208
|
+
quoteSmart: n.quoteSmart || !1,
|
|
2209
|
+
preferUnquoted: n.preferUnquoted || !1,
|
|
2210
|
+
tightAttributes: n.tightAttributes || !1,
|
|
2211
|
+
upperDoctype: n.upperDoctype || !1,
|
|
2212
|
+
tightDoctype: n.tightDoctype || !1,
|
|
2213
|
+
bogusComments: n.bogusComments || !1,
|
|
2214
|
+
tightCommaSeparatedLists: n.tightCommaSeparatedLists || !1,
|
|
2215
|
+
tightSelfClosing: n.tightSelfClosing || !1,
|
|
2216
|
+
collapseEmptyAttributes: n.collapseEmptyAttributes || !1,
|
|
2217
|
+
allowDangerousHtml: n.allowDangerousHtml || !1,
|
|
2218
|
+
voids: n.voids || en,
|
|
2219
|
+
characterReferences: n.characterReferences || gt,
|
|
2220
|
+
closeSelfClosing: n.closeSelfClosing || !1,
|
|
2221
|
+
closeEmptyElements: n.closeEmptyElements || !1
|
|
2222
|
+
},
|
|
2223
|
+
schema: n.space === "svg" ? De : cn,
|
|
2224
|
+
quote: e,
|
|
2225
|
+
alternative: a
|
|
2226
|
+
}.one(
|
|
2227
|
+
Array.isArray(t) ? { type: "root", children: t } : t,
|
|
2228
|
+
void 0,
|
|
2229
|
+
void 0
|
|
2230
|
+
);
|
|
2231
|
+
}
|
|
2232
|
+
function ft(t, l, n) {
|
|
2233
|
+
return ut(t, l, n, this);
|
|
2234
|
+
}
|
|
2235
|
+
function ht(t) {
|
|
2236
|
+
const l = [], n = t && t.children || pt;
|
|
2237
|
+
let e = -1;
|
|
2238
|
+
for (; ++e < n.length; )
|
|
2239
|
+
l[e] = this.one(n[e], e, t);
|
|
2240
|
+
return l.join("");
|
|
2241
|
+
}
|
|
2242
|
+
const yt = "_container_8h8ah_1", bt = "_loadingCodeBlock_8h8ah_5", vt = "_copyButton_8h8ah_17", St = "_copyButtonSingleLine_8h8ah_31", xt = "_codeBlock_8h8ah_41", P = {
|
|
2243
|
+
container: yt,
|
|
2244
|
+
loadingCodeBlock: bt,
|
|
2245
|
+
copyButton: vt,
|
|
2246
|
+
copyButtonSingleLine: St,
|
|
2247
|
+
codeBlock: xt
|
|
2248
|
+
};
|
|
2249
|
+
let H = null;
|
|
2250
|
+
function kt() {
|
|
2251
|
+
return H || (H = import("./index-BCrgOJjI.js").then(({ createStarryNight: t, common: l }) => t(l)).catch((t) => {
|
|
2252
|
+
throw H = null, t;
|
|
2253
|
+
})), H;
|
|
2254
|
+
}
|
|
2255
|
+
function Ot({ code: t, language: l, className: n = "", theme: e = "system" }) {
|
|
2256
|
+
const [a, i] = J(""), [u, d] = J(!0), [b, k] = J(!1), C = !t.trimEnd().includes(`
|
|
2257
|
+
`);
|
|
2258
|
+
Ge(() => {
|
|
2259
|
+
let x = !1;
|
|
2260
|
+
async function B() {
|
|
2261
|
+
try {
|
|
2262
|
+
const O = await kt(), R = O.flagToScope(l);
|
|
2263
|
+
if (!x && R) {
|
|
2264
|
+
const $ = O.highlight(t, R), Y = mt($);
|
|
2265
|
+
i(Y);
|
|
2266
|
+
} else x || i(`<pre><code>${we(t)}</code></pre>`);
|
|
2267
|
+
} catch (O) {
|
|
2268
|
+
console.error("Syntax highlighting error:", O), x || i(`<pre><code>${we(t)}</code></pre>`);
|
|
2269
|
+
} finally {
|
|
2270
|
+
x || d(!1);
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
return B(), () => {
|
|
2274
|
+
x = !0;
|
|
2275
|
+
};
|
|
2276
|
+
}, [t, l]);
|
|
2277
|
+
const j = async () => {
|
|
2278
|
+
try {
|
|
2279
|
+
await navigator.clipboard.writeText(t), k(!0), setTimeout(() => k(!1), 2e3);
|
|
2280
|
+
} catch (x) {
|
|
2281
|
+
console.error("Failed to copy:", x);
|
|
2282
|
+
}
|
|
2283
|
+
}, U = () => /* @__PURE__ */ E.jsx("code", { dangerouslySetInnerHTML: { __html: a } });
|
|
2284
|
+
return u ? /* @__PURE__ */ E.jsx("div", { className: P.container, "data-theme": e === "system" ? void 0 : e, children: /* @__PURE__ */ E.jsx("pre", { className: `${P.loadingCodeBlock} ${n}`, children: /* @__PURE__ */ E.jsx("code", { children: t }) }) }) : /* @__PURE__ */ E.jsxs("div", { className: P.container, "data-theme": e === "system" ? void 0 : e, children: [
|
|
2285
|
+
/* @__PURE__ */ E.jsx(
|
|
2286
|
+
"button",
|
|
2287
|
+
{
|
|
2288
|
+
onClick: j,
|
|
2289
|
+
className: `${P.copyButton} ${C ? P.copyButtonSingleLine : ""}`,
|
|
2290
|
+
title: "Copy code",
|
|
2291
|
+
children: b ? "Copied!" : "Copy"
|
|
2292
|
+
}
|
|
2293
|
+
),
|
|
2294
|
+
/* @__PURE__ */ E.jsx("pre", { className: `${P.codeBlock} ${n}`, children: U() })
|
|
2295
|
+
] });
|
|
2296
|
+
}
|
|
2297
|
+
function we(t) {
|
|
2298
|
+
const l = {
|
|
2299
|
+
"&": "&",
|
|
2300
|
+
"<": "<",
|
|
2301
|
+
">": ">",
|
|
2302
|
+
'"': """,
|
|
2303
|
+
"'": "'"
|
|
2304
|
+
};
|
|
2305
|
+
return t.replace(/[&<>"']/g, (n) => l[n]);
|
|
2306
|
+
}
|
|
2307
|
+
export {
|
|
2308
|
+
Ot as C,
|
|
2309
|
+
Dn as a,
|
|
2310
|
+
Ln as b,
|
|
2311
|
+
xe as c,
|
|
2312
|
+
Et as d,
|
|
2313
|
+
an as f,
|
|
2314
|
+
cn as h,
|
|
2315
|
+
E as j,
|
|
2316
|
+
ne as n,
|
|
2317
|
+
wt as p,
|
|
2318
|
+
De as s,
|
|
2319
|
+
ae as w
|
|
2320
|
+
};
|