reactjs-tiptap-editor 1.0.17 → 1.0.19
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/lib/{ActionMenuButton-lsIBc9sU.js → ActionMenuButton-B1Nfn5Hm.js} +6 -6
- package/lib/ActionMenuButton-D3b_bcin.cjs +1 -0
- package/lib/Attachment.cjs +2 -2
- package/lib/Attachment.js +48 -86
- package/lib/Blockquote.cjs +3 -3
- package/lib/Blockquote.js +33 -29
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.js +16 -11
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.js +2 -3
- package/lib/Callout.cjs +1 -1
- package/lib/Callout.js +108 -103
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.js +2 -3
- package/lib/Code.cjs +1 -1
- package/lib/Code.js +2 -3
- package/lib/CodeBlock.cjs +38 -38
- package/lib/CodeBlock.js +1565 -1610
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.js +2 -2
- package/lib/Color.cjs +1 -1
- package/lib/Color.js +46 -63
- package/lib/Column.cjs +1 -1
- package/lib/Column.js +24 -10
- package/lib/Drawer-B1-7Y4HB.js +1099 -0
- package/lib/Drawer-kEO7KzzC.cjs +1 -0
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.js +6 -5
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.js +69 -93
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.js +101 -112
- package/lib/ExportPdf.cjs +4 -4
- package/lib/ExportPdf.js +4 -13
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.js +9 -7
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.js +12 -34
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.js +12 -27
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.js +32 -45
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.js +39 -52
- package/lib/History.cjs +1 -1
- package/lib/History.js +320 -313
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.js +2 -3
- package/lib/Iframe-Bk5OIlvy.cjs +1 -0
- package/lib/{Iframe-CTajPyzs.js → Iframe-XlAb03_r.js} +21 -30
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.js +5 -4
- package/lib/Image.cjs +1 -1
- package/lib/Image.js +5 -3
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.js +89 -117
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.js +16 -20
- package/lib/Indent-XaZNTsOk.cjs +1 -0
- package/lib/{Indent-BGEHlRx_.js → Indent-ruPuj5xn.js} +3 -7
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.js +2 -2
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.js +24 -19
- package/lib/Katex-BFIYLrwm.cjs +4 -0
- package/lib/{Katex-tMh4bfBb.js → Katex-DKspCn-p.js} +238 -253
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.js +5 -4
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.js +13 -21
- package/lib/Link.cjs +1 -1
- package/lib/Link.js +2 -2
- package/lib/{LinkEditBlock-CA5NhP-m.js → LinkEditBlock-BWm2Ypt2.js} +329 -379
- package/lib/LinkEditBlock-DhesHreq.cjs +5 -0
- package/lib/MarkdownPaste.cjs +58 -0
- package/lib/MarkdownPaste.js +1656 -0
- package/lib/Mention.cjs +1 -1
- package/lib/Mention.js +22 -17
- package/lib/Mermaid.cjs +2 -2
- package/lib/Mermaid.js +130 -155
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.js +12 -20
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.js +2 -3
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.js +69 -134
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.js +15 -14
- package/lib/{SlashCommandNodeView-CZoM3ZlS.cjs → SlashCommandNodeView-CojfS61Q.cjs} +1 -1
- package/lib/{SlashCommandNodeView-DLuqbX2o.js → SlashCommandNodeView-Hf2DX4km.js} +18 -20
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.js +2 -3
- package/lib/{Table-BC4Lbqzn.js → Table-BTkFUATL.js} +95 -133
- package/lib/Table-C1_xLqV0.cjs +9 -0
- package/lib/Table.cjs +1 -1
- package/lib/Table.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.js +2 -3
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.js +51 -60
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.js +47 -69
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.js +2 -3
- package/lib/Twitter-Cj-0yyQQ.cjs +1 -0
- package/lib/{Twitter-D8Cbgl7g.js → Twitter-D5mUTILj.js} +567 -593
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.js +4 -3
- package/lib/Video.cjs +1 -1
- package/lib/Video.js +5 -5
- package/lib/bubble.cjs +6 -4
- package/lib/bubble.js +3891 -3001
- package/lib/clsx-BSBE1eoY.cjs +33 -0
- package/lib/clsx-OumA9x-8.js +1062 -0
- package/lib/components/ActionButton.d.ts +2 -2
- package/lib/components/ActionMenuButton.d.ts +1 -1
- package/lib/components/Bubble/formatBubble.d.ts +5 -5
- package/lib/components/ui/checkbox.d.ts +1 -1
- package/lib/components/ui/dialog.d.ts +1 -1
- package/lib/components/ui/dropdown-menu.d.ts +1 -1
- package/lib/components/ui/emoji-picker.d.ts +1 -1
- package/lib/components/ui/label.d.ts +1 -1
- package/lib/components/ui/popover.d.ts +1 -1
- package/lib/components/ui/select.d.ts +1 -1
- package/lib/components/ui/separator.d.ts +1 -1
- package/lib/components/ui/switch.d.ts +1 -1
- package/lib/components/ui/tabs.d.ts +1 -1
- package/lib/components/ui/toast.d.ts +1 -1
- package/lib/components/ui/toggle.d.ts +1 -1
- package/lib/components/ui/tooltip.d.ts +1 -1
- package/lib/{delete-node-IyVmiRbI.js → delete-node-eQHsyyhR.js} +3 -1
- package/lib/{dropdown-menu-q6RL_fkA.js → dropdown-menu-Bragdu5m.js} +8 -8
- package/lib/{dropdown-menu-C_F7LEy5.cjs → dropdown-menu-CUeq1boX.cjs} +1 -1
- package/lib/extensions/Blockquote/Blockquote.d.ts +1 -1
- package/lib/extensions/Bold/Bold.d.ts +1 -1
- package/lib/extensions/Code/Code.d.ts +1 -1
- package/lib/extensions/CodeView/CodeView.d.ts +2 -2
- package/lib/extensions/Heading/Heading.d.ts +1 -1
- package/lib/extensions/Highlight/Highlight.d.ts +1 -1
- package/lib/extensions/HorizontalRule/HorizontalRule.d.ts +1 -1
- package/lib/extensions/Image/Image.d.ts +1 -0
- package/lib/extensions/ImportWord/ImportWord.d.ts +2 -2
- package/lib/extensions/Italic/Italic.d.ts +1 -1
- package/lib/extensions/Link/Link.d.ts +1 -1
- package/lib/extensions/MarkdownPaste/MarkdownPaste.d.ts +5 -0
- package/lib/extensions/MarkdownPaste/index.d.ts +1 -0
- package/lib/extensions/Mermaid/Mermaid.d.ts +1 -1
- package/lib/extensions/MoreMark/MoreMark.d.ts +1 -1
- package/lib/extensions/Strike/Strike.d.ts +1 -1
- package/lib/extensions/Table/Table.d.ts +1 -1
- package/lib/extensions/TextAlign/TextAlign.d.ts +1 -1
- package/lib/extensions/TextUnderline/TextUnderline.d.ts +1 -1
- package/lib/index-B-7eHzaO.js +1362 -0
- package/lib/{index-BDYJ8Ph2.js → index-BKlbc8Qo.js} +1 -1
- package/lib/index-BLrMslr7.cjs +1 -0
- package/lib/index-BVRHx_ha.js +6473 -0
- package/lib/{index-C07N8gA1.js → index-BlXGgvT-.js} +21 -18
- package/lib/{index-BsFvo9PG.cjs → index-BqL4vAWE.cjs} +1 -1
- package/lib/{index-RcSPeQHn.js → index-CDFAs4RT.js} +1508 -1464
- package/lib/index-CMLwKzI0.cjs +1 -0
- package/lib/index-COCTP78Y.cjs +12 -0
- package/lib/{index-DqruLhsu.js → index-CZ1_8JQQ.js} +23 -23
- package/lib/{index-neeeY2o7.cjs → index-CnePcUeF.cjs} +3 -3
- package/lib/index-D7wfvzJg.cjs +1 -0
- package/lib/index-DwSnESy-.cjs +24 -0
- package/lib/{index-Do_dsOGB.js → index-cPEuL4Zr.js} +175 -158
- package/lib/index.cjs +1 -1
- package/lib/index.js +33 -41
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.js +1 -1
- package/lib/plugins/image-upload.d.ts +1 -1
- package/lib/popover-C2BbhsXH.js +24 -0
- package/lib/popover-DCJpsZx0.cjs +1 -0
- package/lib/{renderNodeView-BEkECnnY.js → renderNodeView-CmnUEfby.js} +2 -2
- package/lib/{renderNodeView-DfLmGrgA.cjs → renderNodeView-DQjWzXDA.cjs} +1 -1
- package/lib/{separator-BLp6xpSY.cjs → separator-BuG1zwKa.cjs} +1 -1
- package/lib/separator-lkMWuUvf.js +293 -0
- package/lib/store/editor.d.ts +1 -1
- package/lib/store/store.d.ts +1 -1
- package/lib/style.css +1 -1
- package/lib/theme.js +1 -1
- package/lib/types.d.ts +3 -3
- package/lib/updatePosition-D6AScA-1.cjs +1 -0
- package/lib/updatePosition-DYuAiqx-.js +16 -0
- package/lib/utils/columns.d.ts +1 -1
- package/lib/utils/pdf.d.ts +1 -1
- package/lib/utils/utils.d.ts +1 -1
- package/package.json +262 -247
- package/lib/ActionMenuButton-B_E2mbAW.cjs +0 -1
- package/lib/Drawer-DQ4CxBwG.js +0 -1373
- package/lib/Drawer-FUeUKshi.cjs +0 -1
- package/lib/Iframe-EVWXCqe4.cjs +0 -1
- package/lib/Indent-q9cEWAa_.cjs +0 -1
- package/lib/Katex-ClqcEnN_.cjs +0 -4
- package/lib/LinkEditBlock-DZXk4ln_.cjs +0 -5
- package/lib/Table-BmDopO43.cjs +0 -9
- package/lib/Twitter-BbMD3Ybp.cjs +0 -1
- package/lib/clsx-CXbNJWDD.cjs +0 -54
- package/lib/clsx-DaPvp9ji.js +0 -7391
- package/lib/index-BCzvbrf5.cjs +0 -12
- package/lib/index-BnVcq33n.cjs +0 -1
- package/lib/index-CjhjjJsN.cjs +0 -1
- package/lib/index-Cs6cp0Y6.cjs +0 -1
- package/lib/index-Qcl3BG94.js +0 -1351
- package/lib/popover-CtinPbiy.js +0 -24
- package/lib/popover-DIMT3pae.cjs +0 -1
- package/lib/select-CYyIeImH.cjs +0 -1
- package/lib/select-CmV5uTXr.js +0 -117
- package/lib/separator-C7luvaG8.js +0 -327
- package/lib/textarea-CkVKMPqK.js +0 -20
- package/lib/textarea-Cn75Cm2n.cjs +0 -1
- package/lib/updatePosition-Cjuj2E26.cjs +0 -1
- package/lib/updatePosition-DRmKQBGm.js +0 -16
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as Po, n as Io, m as Ro } from "./index-BVRHx_ha.js";
|
|
2
|
+
import { N as $o, a as Eo } from "./clsx-OumA9x-8.js";
|
|
2
3
|
import { jsx as er, jsxs as Nr } from "react/jsx-runtime";
|
|
3
|
-
import { useState as Ur, useRef as xo, useEffect as Bo, useMemo as Hr, useCallback as To } from "react";
|
|
4
4
|
import Xa from "katex";
|
|
5
|
-
import {
|
|
5
|
+
import { useState as Ur, useRef as xo, useEffect as Bo, useMemo as Hr, useCallback as To } from "react";
|
|
6
|
+
import { u as Mo, d as jo, h as Co, D as Do, m as Fo, A as _o, n as No, o as Wo, L as un, F as fn, t as ko, B as Lo } from "./index-CDFAs4RT.js";
|
|
6
7
|
import "./theme.js";
|
|
7
|
-
import {
|
|
8
|
-
import { u as Uo } from "./index-C07N8gA1.js";
|
|
8
|
+
import { u as Uo } from "./index-BlXGgvT-.js";
|
|
9
9
|
var Gr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function Ho(r) {
|
|
11
11
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
@@ -106,23 +106,23 @@ function zo() {
|
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
r = function(h) {
|
|
109
|
-
var S = h !== null && typeof h == "object", R = n.call(h) === "[object Function]", w = a(h), q = S && n.call(h) === "[object String]",
|
|
109
|
+
var S = h !== null && typeof h == "object", R = n.call(h) === "[object Function]", w = a(h), q = S && n.call(h) === "[object String]", A = [];
|
|
110
110
|
if (!S && !R && !w)
|
|
111
111
|
throw new TypeError("Object.keys called on a non-object");
|
|
112
112
|
var m = i && R;
|
|
113
113
|
if (q && h.length > 0 && !e.call(h, 0))
|
|
114
|
-
for (var
|
|
115
|
-
|
|
114
|
+
for (var x = 0; x < h.length; ++x)
|
|
115
|
+
A.push(String(x));
|
|
116
116
|
if (w && h.length > 0)
|
|
117
117
|
for (var X = 0; X < h.length; ++X)
|
|
118
|
-
|
|
118
|
+
A.push(String(X));
|
|
119
119
|
else
|
|
120
120
|
for (var H in h)
|
|
121
|
-
!(m && H === "prototype") && e.call(h, H) &&
|
|
121
|
+
!(m && H === "prototype") && e.call(h, H) && A.push(String(H));
|
|
122
122
|
if (f)
|
|
123
123
|
for (var F = p(h), D = 0; D < o.length; ++D)
|
|
124
|
-
!(F && o[D] === "constructor") && e.call(h, o[D]) &&
|
|
125
|
-
return
|
|
124
|
+
!(F && o[D] === "constructor") && e.call(h, o[D]) && A.push(o[D]);
|
|
125
|
+
return A;
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
return oe = r, oe;
|
|
@@ -508,19 +508,19 @@ function pr() {
|
|
|
508
508
|
return w('"use strict"; return (' + j + ").constructor;")();
|
|
509
509
|
} catch {
|
|
510
510
|
}
|
|
511
|
-
},
|
|
511
|
+
}, A = /* @__PURE__ */ Or(), m = /* @__PURE__ */ zr(), x = function() {
|
|
512
512
|
throw new o();
|
|
513
|
-
}, X =
|
|
513
|
+
}, X = A ? (function() {
|
|
514
514
|
try {
|
|
515
|
-
return arguments.callee,
|
|
515
|
+
return arguments.callee, x;
|
|
516
516
|
} catch {
|
|
517
517
|
try {
|
|
518
|
-
return
|
|
518
|
+
return A(arguments, "callee").get;
|
|
519
519
|
} catch {
|
|
520
|
-
return
|
|
520
|
+
return x;
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
})() :
|
|
523
|
+
})() : x, H = Gt()(), F = Jt(), D = eo(), P = ro(), _ = Vt(), L = zt(), N = {}, U = typeof Uint8Array > "u" || !F ? r : F(Uint8Array), V = {
|
|
524
524
|
__proto__: null,
|
|
525
525
|
"%AggregateError%": typeof AggregateError > "u" ? r : AggregateError,
|
|
526
526
|
"%Array%": Array,
|
|
@@ -564,7 +564,7 @@ function pr() {
|
|
|
564
564
|
"%Math%": Math,
|
|
565
565
|
"%Number%": Number,
|
|
566
566
|
"%Object%": e,
|
|
567
|
-
"%Object.getOwnPropertyDescriptor%":
|
|
567
|
+
"%Object.getOwnPropertyDescriptor%": A,
|
|
568
568
|
"%parseFloat%": parseFloat,
|
|
569
569
|
"%parseInt%": parseInt,
|
|
570
570
|
"%Promise%": typeof Promise > "u" ? r : Promise,
|
|
@@ -611,22 +611,22 @@ function pr() {
|
|
|
611
611
|
var ur = F(F(j));
|
|
612
612
|
V["%Error.prototype%"] = ur;
|
|
613
613
|
}
|
|
614
|
-
var Pr = function j(
|
|
614
|
+
var Pr = function j(O) {
|
|
615
615
|
var I;
|
|
616
|
-
if (
|
|
616
|
+
if (O === "%AsyncFunction%")
|
|
617
617
|
I = q("async function () {}");
|
|
618
|
-
else if (
|
|
618
|
+
else if (O === "%GeneratorFunction%")
|
|
619
619
|
I = q("function* () {}");
|
|
620
|
-
else if (
|
|
620
|
+
else if (O === "%AsyncGeneratorFunction%")
|
|
621
621
|
I = q("async function* () {}");
|
|
622
|
-
else if (
|
|
622
|
+
else if (O === "%AsyncGenerator%") {
|
|
623
623
|
var b = j("%AsyncGeneratorFunction%");
|
|
624
624
|
b && (I = b.prototype);
|
|
625
|
-
} else if (
|
|
626
|
-
var
|
|
627
|
-
|
|
625
|
+
} else if (O === "%AsyncIteratorPrototype%") {
|
|
626
|
+
var B = j("%AsyncGenerator%");
|
|
627
|
+
B && F && (I = F(B.prototype));
|
|
628
628
|
}
|
|
629
|
-
return V[
|
|
629
|
+
return V[O] = I, I;
|
|
630
630
|
}, mr = {
|
|
631
631
|
__proto__: null,
|
|
632
632
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
@@ -680,53 +680,53 @@ function pr() {
|
|
|
680
680
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
681
681
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
682
682
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
683
|
-
}, ar = jr(), G = /* @__PURE__ */ Yt(), Sr = ar.call(L, Array.prototype.concat), Ir = ar.call(_, Array.prototype.splice), br = ar.call(L, String.prototype.replace), yr = ar.call(L, String.prototype.slice), g = ar.call(L, RegExp.prototype.exec), d = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, E = /\\(\\)?/g, $ = function(
|
|
684
|
-
var I = yr(
|
|
683
|
+
}, ar = jr(), G = /* @__PURE__ */ Yt(), Sr = ar.call(L, Array.prototype.concat), Ir = ar.call(_, Array.prototype.splice), br = ar.call(L, String.prototype.replace), yr = ar.call(L, String.prototype.slice), g = ar.call(L, RegExp.prototype.exec), d = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, E = /\\(\\)?/g, $ = function(O) {
|
|
684
|
+
var I = yr(O, 0, 1), b = yr(O, -1);
|
|
685
685
|
if (I === "%" && b !== "%")
|
|
686
686
|
throw new i("invalid intrinsic syntax, expected closing `%`");
|
|
687
687
|
if (b === "%" && I !== "%")
|
|
688
688
|
throw new i("invalid intrinsic syntax, expected opening `%`");
|
|
689
|
-
var
|
|
690
|
-
return br(
|
|
691
|
-
|
|
692
|
-
}),
|
|
693
|
-
}, M = function(
|
|
694
|
-
var b =
|
|
695
|
-
if (G(mr, b) && (
|
|
689
|
+
var B = [];
|
|
690
|
+
return br(O, d, function(z, K, J, Y) {
|
|
691
|
+
B[B.length] = J ? br(Y, E, "$1") : K || z;
|
|
692
|
+
}), B;
|
|
693
|
+
}, M = function(O, I) {
|
|
694
|
+
var b = O, B;
|
|
695
|
+
if (G(mr, b) && (B = mr[b], b = "%" + B[0] + "%"), G(V, b)) {
|
|
696
696
|
var z = V[b];
|
|
697
697
|
if (z === N && (z = Pr(b)), typeof z > "u" && !I)
|
|
698
|
-
throw new o("intrinsic " +
|
|
698
|
+
throw new o("intrinsic " + O + " exists, but is not available. Please file an issue!");
|
|
699
699
|
return {
|
|
700
|
-
alias:
|
|
700
|
+
alias: B,
|
|
701
701
|
name: b,
|
|
702
702
|
value: z
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
|
-
throw new i("intrinsic " +
|
|
705
|
+
throw new i("intrinsic " + O + " does not exist!");
|
|
706
706
|
};
|
|
707
|
-
return He = function(
|
|
708
|
-
if (typeof
|
|
707
|
+
return He = function(O, I) {
|
|
708
|
+
if (typeof O != "string" || O.length === 0)
|
|
709
709
|
throw new o("intrinsic name must be a non-empty string");
|
|
710
710
|
if (arguments.length > 1 && typeof I != "boolean")
|
|
711
711
|
throw new o('"allowMissing" argument must be a boolean');
|
|
712
|
-
if (g(/^%?[^%]*%?$/,
|
|
712
|
+
if (g(/^%?[^%]*%?$/, O) === null)
|
|
713
713
|
throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
714
|
-
var b = $(
|
|
715
|
-
Z && (
|
|
714
|
+
var b = $(O), B = b.length > 0 ? b[0] : "", z = M("%" + B + "%", I), K = z.name, J = z.value, Y = !1, Z = z.alias;
|
|
715
|
+
Z && (B = Z[0], Ir(b, Sr([0, 1], Z)));
|
|
716
716
|
for (var fr = 1, or = !0; fr < b.length; fr += 1) {
|
|
717
717
|
var rr = b[fr], sr = yr(rr, 0, 1), lr = yr(rr, -1);
|
|
718
718
|
if ((sr === '"' || sr === "'" || sr === "`" || lr === '"' || lr === "'" || lr === "`") && sr !== lr)
|
|
719
719
|
throw new i("property names with quotes must have matching quotes");
|
|
720
|
-
if ((rr === "constructor" || !or) && (Y = !0),
|
|
720
|
+
if ((rr === "constructor" || !or) && (Y = !0), B += "." + rr, K = "%" + B + "%", G(V, K))
|
|
721
721
|
J = V[K];
|
|
722
722
|
else if (J != null) {
|
|
723
723
|
if (!(rr in J)) {
|
|
724
724
|
if (!I)
|
|
725
|
-
throw new o("base intrinsic for " +
|
|
725
|
+
throw new o("base intrinsic for " + O + " exists, but the property is not available.");
|
|
726
726
|
return;
|
|
727
727
|
}
|
|
728
|
-
if (
|
|
729
|
-
var cr =
|
|
728
|
+
if (A && fr + 1 >= b.length) {
|
|
729
|
+
var cr = A(J, rr);
|
|
730
730
|
or = !!cr, or && "get" in cr && !("originalValue" in cr.get) ? J = cr.get : J = J[rr];
|
|
731
731
|
} else
|
|
732
732
|
or = G(J, rr), J = J[rr];
|
|
@@ -823,11 +823,11 @@ function no() {
|
|
|
823
823
|
var q = R[w];
|
|
824
824
|
f(y, q) && t(h, q);
|
|
825
825
|
}
|
|
826
|
-
for (var
|
|
827
|
-
var m = h[
|
|
826
|
+
for (var A = 0; A < h.length; ++A) {
|
|
827
|
+
var m = h[A];
|
|
828
828
|
if (f(y, m)) {
|
|
829
|
-
var
|
|
830
|
-
v[m] =
|
|
829
|
+
var x = y[m];
|
|
830
|
+
v[m] = x;
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
833
|
}
|
|
@@ -1046,7 +1046,7 @@ var ut, pa;
|
|
|
1046
1046
|
function Kr() {
|
|
1047
1047
|
if (pa) return ut;
|
|
1048
1048
|
pa = 1;
|
|
1049
|
-
var r = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, n = r && e && typeof e.get == "function" ? e.get : null, a = r && Map.prototype.forEach, t = typeof Set == "function" && Set.prototype, f = Object.getOwnPropertyDescriptor && t ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, i = t && f && typeof f.get == "function" ? f.get : null, o = t && Set.prototype.forEach, u = typeof WeakMap == "function" && WeakMap.prototype, c = u ? WeakMap.prototype.has : null, v = typeof WeakSet == "function" && WeakSet.prototype, p = v ? WeakSet.prototype.has : null, y = typeof WeakRef == "function" && WeakRef.prototype, h = y ? WeakRef.prototype.deref : null, S = Boolean.prototype.valueOf, R = Object.prototype.toString, w = Function.prototype.toString, q = String.prototype.match,
|
|
1049
|
+
var r = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, n = r && e && typeof e.get == "function" ? e.get : null, a = r && Map.prototype.forEach, t = typeof Set == "function" && Set.prototype, f = Object.getOwnPropertyDescriptor && t ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, i = t && f && typeof f.get == "function" ? f.get : null, o = t && Set.prototype.forEach, u = typeof WeakMap == "function" && WeakMap.prototype, c = u ? WeakMap.prototype.has : null, v = typeof WeakSet == "function" && WeakSet.prototype, p = v ? WeakSet.prototype.has : null, y = typeof WeakRef == "function" && WeakRef.prototype, h = y ? WeakRef.prototype.deref : null, S = Boolean.prototype.valueOf, R = Object.prototype.toString, w = Function.prototype.toString, q = String.prototype.match, A = String.prototype.slice, m = String.prototype.replace, x = String.prototype.toUpperCase, X = String.prototype.toLowerCase, H = RegExp.prototype.test, F = Array.prototype.concat, D = Array.prototype.join, P = Array.prototype.slice, _ = Math.floor, L = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, N = Object.getOwnPropertySymbols, U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, V = typeof Symbol == "function" && typeof Symbol.iterator == "object", ur = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === V || !0) ? Symbol.toStringTag : null, Pr = Object.prototype.propertyIsEnumerable, mr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(s) {
|
|
1050
1050
|
return s.__proto__;
|
|
1051
1051
|
} : null);
|
|
1052
1052
|
function ar(s, l) {
|
|
@@ -1056,8 +1056,8 @@ function Kr() {
|
|
|
1056
1056
|
if (typeof s == "number") {
|
|
1057
1057
|
var W = s < 0 ? -_(-s) : _(s);
|
|
1058
1058
|
if (W !== s) {
|
|
1059
|
-
var k = String(W),
|
|
1060
|
-
return m.call(k, C, "$&_") + "." + m.call(m.call(
|
|
1059
|
+
var k = String(W), T = A.call(l, k.length + 1);
|
|
1060
|
+
return m.call(k, C, "$&_") + "." + m.call(m.call(T, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
1061
1061
|
}
|
|
1062
1062
|
}
|
|
1063
1063
|
return m.call(l, C, "$&_");
|
|
@@ -1072,19 +1072,19 @@ function Kr() {
|
|
|
1072
1072
|
single: /(['\\])/g
|
|
1073
1073
|
};
|
|
1074
1074
|
ut = function s(l, C, W, k) {
|
|
1075
|
-
var
|
|
1076
|
-
if (Y(
|
|
1075
|
+
var T = C || {};
|
|
1076
|
+
if (Y(T, "quoteStyle") && !Y(br, T.quoteStyle))
|
|
1077
1077
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
1078
|
-
if (Y(
|
|
1078
|
+
if (Y(T, "maxStringLength") && (typeof T.maxStringLength == "number" ? T.maxStringLength < 0 && T.maxStringLength !== 1 / 0 : T.maxStringLength !== null))
|
|
1079
1079
|
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
1080
|
-
var hr = Y(
|
|
1080
|
+
var hr = Y(T, "customInspect") ? T.customInspect : !0;
|
|
1081
1081
|
if (typeof hr != "boolean" && hr !== "symbol")
|
|
1082
1082
|
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
1083
|
-
if (Y(
|
|
1083
|
+
if (Y(T, "indent") && T.indent !== null && T.indent !== " " && !(parseInt(T.indent, 10) === T.indent && T.indent > 0))
|
|
1084
1084
|
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
1085
|
-
if (Y(
|
|
1085
|
+
if (Y(T, "numericSeparator") && typeof T.numericSeparator != "boolean")
|
|
1086
1086
|
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
1087
|
-
var Ar =
|
|
1087
|
+
var Ar = T.numericSeparator;
|
|
1088
1088
|
if (typeof l > "u")
|
|
1089
1089
|
return "undefined";
|
|
1090
1090
|
if (l === null)
|
|
@@ -1092,7 +1092,7 @@ function Kr() {
|
|
|
1092
1092
|
if (typeof l == "boolean")
|
|
1093
1093
|
return l ? "true" : "false";
|
|
1094
1094
|
if (typeof l == "string")
|
|
1095
|
-
return Rr(l,
|
|
1095
|
+
return Rr(l, T);
|
|
1096
1096
|
if (typeof l == "number") {
|
|
1097
1097
|
if (l === 0)
|
|
1098
1098
|
return 1 / 0 / l > 0 ? "0" : "-0";
|
|
@@ -1103,10 +1103,10 @@ function Kr() {
|
|
|
1103
1103
|
var dr = String(l) + "n";
|
|
1104
1104
|
return Ar ? ar(l, dr) : dr;
|
|
1105
1105
|
}
|
|
1106
|
-
var Xr = typeof
|
|
1106
|
+
var Xr = typeof T.depth > "u" ? 5 : T.depth;
|
|
1107
1107
|
if (typeof W > "u" && (W = 0), W >= Xr && Xr > 0 && typeof l == "object")
|
|
1108
1108
|
return $(l) ? "[Array]" : "[Object]";
|
|
1109
|
-
var $r = Oo(
|
|
1109
|
+
var $r = Oo(T, W);
|
|
1110
1110
|
if (typeof k > "u")
|
|
1111
1111
|
k = [];
|
|
1112
1112
|
else if (or(k, l) >= 0)
|
|
@@ -1114,11 +1114,11 @@ function Kr() {
|
|
|
1114
1114
|
function ir(Er, _r, qo) {
|
|
1115
1115
|
if (_r && (k = P.call(k), k.push(_r)), qo) {
|
|
1116
1116
|
var on = {
|
|
1117
|
-
depth:
|
|
1117
|
+
depth: T.depth
|
|
1118
1118
|
};
|
|
1119
|
-
return Y(
|
|
1119
|
+
return Y(T, "quoteStyle") && (on.quoteStyle = T.quoteStyle), s(Er, on, W + 1, k);
|
|
1120
1120
|
}
|
|
1121
|
-
return s(Er,
|
|
1121
|
+
return s(Er, T, W + 1, k);
|
|
1122
1122
|
}
|
|
1123
1123
|
if (typeof l == "function" && !j(l)) {
|
|
1124
1124
|
var Qt = fr(l), Zt = Dr(l, ir);
|
|
@@ -1130,7 +1130,7 @@ function Kr() {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
if (vr(l)) {
|
|
1132
1132
|
for (var Tr = "<" + X.call(String(l.nodeName)), Qr = l.attributes || [], Fr = 0; Fr < Qr.length; Fr++)
|
|
1133
|
-
Tr += " " + Qr[Fr].name + "=" + g(d(Qr[Fr].value), "double",
|
|
1133
|
+
Tr += " " + Qr[Fr].name + "=" + g(d(Qr[Fr].value), "double", T);
|
|
1134
1134
|
return Tr += ">", l.childNodes && l.childNodes.length && (Tr += "..."), Tr += "</" + X.call(String(l.nodeName)) + ">", Tr;
|
|
1135
1135
|
}
|
|
1136
1136
|
if ($(l)) {
|
|
@@ -1139,7 +1139,7 @@ function Kr() {
|
|
|
1139
1139
|
var Zr = Dr(l, ir);
|
|
1140
1140
|
return $r && !Ao(Zr) ? "[" + Yr(Zr, $r) + "]" : "[ " + D.call(Zr, ", ") + " ]";
|
|
1141
1141
|
}
|
|
1142
|
-
if (
|
|
1142
|
+
if (O(l)) {
|
|
1143
1143
|
var re = Dr(l, ir);
|
|
1144
1144
|
return !("cause" in Error.prototype) && "cause" in l && !Pr.call(l, "cause") ? "{ [" + String(l) + "] " + D.call(F.call("[cause]: " + ir(l.cause), re), ", ") + " }" : re.length === 0 ? "[" + String(l) + "]" : "{ [" + String(l) + "] " + D.call(re, ", ") + " }";
|
|
1145
1145
|
}
|
|
@@ -1171,7 +1171,7 @@ function Kr() {
|
|
|
1171
1171
|
return gr(ir(Number(l)));
|
|
1172
1172
|
if (K(l))
|
|
1173
1173
|
return gr(ir(L.call(l)));
|
|
1174
|
-
if (
|
|
1174
|
+
if (B(l))
|
|
1175
1175
|
return gr(S.call(l));
|
|
1176
1176
|
if (I(l))
|
|
1177
1177
|
return gr(ir(String(l)));
|
|
@@ -1180,7 +1180,7 @@ function Kr() {
|
|
|
1180
1180
|
if (typeof globalThis < "u" && l === globalThis || typeof Gr < "u" && l === Gr)
|
|
1181
1181
|
return "{ [object globalThis] }";
|
|
1182
1182
|
if (!M(l) && !j(l)) {
|
|
1183
|
-
var ee = Dr(l, ir), nn = mr ? mr(l) === Object.prototype : l instanceof Object || l.constructor === Object, te = l instanceof Object ? "" : "null prototype", an = !nn && ur && Object(l) === l && ur in l ?
|
|
1183
|
+
var ee = Dr(l, ir), nn = mr ? mr(l) === Object.prototype : l instanceof Object || l.constructor === Object, te = l instanceof Object ? "" : "null prototype", an = !nn && ur && Object(l) === l && ur in l ? A.call(Z(l), 8, -1) : te ? "Object" : "", wo = nn || typeof l.constructor != "function" ? "" : l.constructor.name ? l.constructor.name + " " : "", ne = wo + (an || te ? "[" + D.call(F.call([], an || [], te || []), ": ") + "] " : "");
|
|
1184
1184
|
return ee.length === 0 ? ne + "{}" : $r ? ne + "{" + Yr(ee, $r) + "}" : ne + "{ " + D.call(ee, ", ") + " }";
|
|
1185
1185
|
}
|
|
1186
1186
|
return String(l);
|
|
@@ -1204,7 +1204,7 @@ function Kr() {
|
|
|
1204
1204
|
function j(s) {
|
|
1205
1205
|
return Z(s) === "[object RegExp]" && E(s);
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1207
|
+
function O(s) {
|
|
1208
1208
|
return Z(s) === "[object Error]" && E(s);
|
|
1209
1209
|
}
|
|
1210
1210
|
function I(s) {
|
|
@@ -1213,7 +1213,7 @@ function Kr() {
|
|
|
1213
1213
|
function b(s) {
|
|
1214
1214
|
return Z(s) === "[object Number]" && E(s);
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function B(s) {
|
|
1217
1217
|
return Z(s) === "[object Boolean]" && E(s);
|
|
1218
1218
|
}
|
|
1219
1219
|
function z(s) {
|
|
@@ -1336,12 +1336,12 @@ function Kr() {
|
|
|
1336
1336
|
function Rr(s, l) {
|
|
1337
1337
|
if (s.length > l.maxStringLength) {
|
|
1338
1338
|
var C = s.length - l.maxStringLength, W = "... " + C + " more character" + (C > 1 ? "s" : "");
|
|
1339
|
-
return Rr(
|
|
1339
|
+
return Rr(A.call(s, 0, l.maxStringLength), l) + W;
|
|
1340
1340
|
}
|
|
1341
1341
|
var k = yr[l.quoteStyle || "single"];
|
|
1342
1342
|
k.lastIndex = 0;
|
|
1343
|
-
var
|
|
1344
|
-
return g(
|
|
1343
|
+
var T = m.call(m.call(s, k, "\\$1"), /[\x00-\x1f]/g, Br);
|
|
1344
|
+
return g(T, "single", l);
|
|
1345
1345
|
}
|
|
1346
1346
|
function Br(s) {
|
|
1347
1347
|
var l = s.charCodeAt(0), C = {
|
|
@@ -1351,7 +1351,7 @@ function Kr() {
|
|
|
1351
1351
|
12: "f",
|
|
1352
1352
|
13: "r"
|
|
1353
1353
|
}[l];
|
|
1354
|
-
return C ? "\\" + C : "\\x" + (l < 16 ? "0" : "") +
|
|
1354
|
+
return C ? "\\" + C : "\\x" + (l < 16 ? "0" : "") + x.call(l.toString(16));
|
|
1355
1355
|
}
|
|
1356
1356
|
function gr(s) {
|
|
1357
1357
|
return "Object(" + s + ")";
|
|
@@ -1398,17 +1398,17 @@ function Kr() {
|
|
|
1398
1398
|
for (var k = 0; k < s.length; k++)
|
|
1399
1399
|
W[k] = Y(s, k) ? l(s[k], s) : "";
|
|
1400
1400
|
}
|
|
1401
|
-
var
|
|
1401
|
+
var T = typeof N == "function" ? N(s) : [], hr;
|
|
1402
1402
|
if (V) {
|
|
1403
1403
|
hr = {};
|
|
1404
|
-
for (var Ar = 0; Ar <
|
|
1405
|
-
hr["$" +
|
|
1404
|
+
for (var Ar = 0; Ar < T.length; Ar++)
|
|
1405
|
+
hr["$" + T[Ar]] = T[Ar];
|
|
1406
1406
|
}
|
|
1407
1407
|
for (var tr in s)
|
|
1408
1408
|
Y(s, tr) && (C && String(Number(tr)) === tr && tr < s.length || V && hr["$" + tr] instanceof Symbol || (H.call(/[^\w$]/, tr) ? W.push(l(tr, s) + ": " + l(s[tr], s)) : W.push(tr + ": " + l(s[tr], s))));
|
|
1409
1409
|
if (typeof N == "function")
|
|
1410
|
-
for (var dr = 0; dr <
|
|
1411
|
-
Pr.call(s,
|
|
1410
|
+
for (var dr = 0; dr < T.length; dr++)
|
|
1411
|
+
Pr.call(s, T[dr]) && W.push("[" + l(T[dr]) + "]: " + l(s[T[dr]], s));
|
|
1412
1412
|
return W;
|
|
1413
1413
|
}
|
|
1414
1414
|
return ut;
|
|
@@ -1793,9 +1793,9 @@ function qi() {
|
|
|
1793
1793
|
return S(P, !0);
|
|
1794
1794
|
};
|
|
1795
1795
|
else {
|
|
1796
|
-
var R = /* @__PURE__ */ yo(), w = /* @__PURE__ */ vo(), q = u("Map.prototype.forEach", !0),
|
|
1796
|
+
var R = /* @__PURE__ */ yo(), w = /* @__PURE__ */ vo(), q = u("Map.prototype.forEach", !0), A = u("Set.prototype.forEach", !0);
|
|
1797
1797
|
if (typeof process > "u" || !process.versions || !process.versions.node)
|
|
1798
|
-
var m = u("Map.prototype.iterator", !0),
|
|
1798
|
+
var m = u("Map.prototype.iterator", !0), x = u("Set.prototype.iterator", !0);
|
|
1799
1799
|
var X = u("Map.prototype.@@iterator", !0) || u("Map.prototype._es6-shim iterator_", !0), H = u("Set.prototype.@@iterator", !0) || u("Set.prototype._es6-shim iterator_", !0), F = function(P) {
|
|
1800
1800
|
if (R(P)) {
|
|
1801
1801
|
if (m)
|
|
@@ -1810,13 +1810,13 @@ function qi() {
|
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
1812
1812
|
if (w(P)) {
|
|
1813
|
-
if (
|
|
1814
|
-
return e(
|
|
1813
|
+
if (x)
|
|
1814
|
+
return e(x(P));
|
|
1815
1815
|
if (H)
|
|
1816
1816
|
return H(P);
|
|
1817
|
-
if (
|
|
1817
|
+
if (A) {
|
|
1818
1818
|
var L = [];
|
|
1819
|
-
return
|
|
1819
|
+
return A(P, function(N) {
|
|
1820
1820
|
c(L, N);
|
|
1821
1821
|
}), h(L);
|
|
1822
1822
|
}
|
|
@@ -2177,15 +2177,15 @@ function Ni() {
|
|
|
2177
2177
|
}), a = {}, e(function() {
|
|
2178
2178
|
throw 42;
|
|
2179
2179
|
}, null, n);
|
|
2180
|
-
} catch (
|
|
2181
|
-
|
|
2180
|
+
} catch (A) {
|
|
2181
|
+
A !== a && (e = null);
|
|
2182
2182
|
}
|
|
2183
2183
|
else
|
|
2184
2184
|
e = null;
|
|
2185
2185
|
var t = /^\s*class\b/, f = function(m) {
|
|
2186
2186
|
try {
|
|
2187
|
-
var
|
|
2188
|
-
return t.test(
|
|
2187
|
+
var x = r.call(m);
|
|
2188
|
+
return t.test(x);
|
|
2189
2189
|
} catch {
|
|
2190
2190
|
return !1;
|
|
2191
2191
|
}
|
|
@@ -2203,8 +2203,8 @@ function Ni() {
|
|
|
2203
2203
|
o.call(q) === o.call(document.all) && (w = function(m) {
|
|
2204
2204
|
if ((R || !m) && (typeof m > "u" || typeof m == "object"))
|
|
2205
2205
|
try {
|
|
2206
|
-
var
|
|
2207
|
-
return (
|
|
2206
|
+
var x = o.call(m);
|
|
2207
|
+
return (x === p || x === y || x === h || x === u) && m("") == null;
|
|
2208
2208
|
} catch {
|
|
2209
2209
|
}
|
|
2210
2210
|
return !1;
|
|
@@ -2217,8 +2217,8 @@ function Ni() {
|
|
|
2217
2217
|
return !1;
|
|
2218
2218
|
try {
|
|
2219
2219
|
e(m, null, n);
|
|
2220
|
-
} catch (
|
|
2221
|
-
if (
|
|
2220
|
+
} catch (x) {
|
|
2221
|
+
if (x !== a)
|
|
2222
2222
|
return !1;
|
|
2223
2223
|
}
|
|
2224
2224
|
return !f(m) && i(m);
|
|
@@ -2231,8 +2231,8 @@ function Ni() {
|
|
|
2231
2231
|
return i(m);
|
|
2232
2232
|
if (f(m))
|
|
2233
2233
|
return !1;
|
|
2234
|
-
var
|
|
2235
|
-
return
|
|
2234
|
+
var x = o.call(m);
|
|
2235
|
+
return x !== c && x !== v && !/^\[object HTML/.test(x) ? !1 : i(m);
|
|
2236
2236
|
}, Mt;
|
|
2237
2237
|
}
|
|
2238
2238
|
var jt, Ua;
|
|
@@ -2292,29 +2292,40 @@ function Ui() {
|
|
|
2292
2292
|
if (za) return Ft;
|
|
2293
2293
|
za = 1;
|
|
2294
2294
|
var r = Wi(), e = /* @__PURE__ */ Li(), n = xr(), a = /* @__PURE__ */ Q(), t = /* @__PURE__ */ Or(), f = Jt(), i = a("Object.prototype.toString"), o = qr()(), u = typeof globalThis > "u" ? Gr : globalThis, c = e(), v = a("String.prototype.slice"), p = a("Array.prototype.indexOf", !0) || function(w, q) {
|
|
2295
|
-
for (var
|
|
2296
|
-
if (w[
|
|
2297
|
-
return
|
|
2295
|
+
for (var A = 0; A < w.length; A += 1)
|
|
2296
|
+
if (w[A] === q)
|
|
2297
|
+
return A;
|
|
2298
2298
|
return -1;
|
|
2299
2299
|
}, y = { __proto__: null };
|
|
2300
2300
|
o && t && f ? r(c, function(R) {
|
|
2301
2301
|
var w = new u[R]();
|
|
2302
2302
|
if (Symbol.toStringTag in w && f) {
|
|
2303
|
-
var q = f(w),
|
|
2304
|
-
if (!
|
|
2303
|
+
var q = f(w), A = t(q, Symbol.toStringTag);
|
|
2304
|
+
if (!A && q) {
|
|
2305
2305
|
var m = f(q);
|
|
2306
|
-
|
|
2306
|
+
A = t(m, Symbol.toStringTag);
|
|
2307
|
+
}
|
|
2308
|
+
if (A && A.get) {
|
|
2309
|
+
var x = n(A.get);
|
|
2310
|
+
y[
|
|
2311
|
+
/** @type {`$${import('.').TypedArrayName}`} */
|
|
2312
|
+
"$" + R
|
|
2313
|
+
] = x;
|
|
2307
2314
|
}
|
|
2308
|
-
y["$" + R] = n(O.get);
|
|
2309
2315
|
}
|
|
2310
2316
|
}) : r(c, function(R) {
|
|
2311
2317
|
var w = new u[R](), q = w.slice || w.set;
|
|
2312
|
-
q
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
+
if (q) {
|
|
2319
|
+
var A = (
|
|
2320
|
+
/** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
2321
|
+
// @ts-expect-error TODO FIXME
|
|
2322
|
+
n(q)
|
|
2323
|
+
);
|
|
2324
|
+
y[
|
|
2325
|
+
/** @type {`$${import('.').TypedArrayName}`} */
|
|
2326
|
+
"$" + R
|
|
2327
|
+
] = A;
|
|
2328
|
+
}
|
|
2318
2329
|
});
|
|
2319
2330
|
var h = function(w) {
|
|
2320
2331
|
var q = !1;
|
|
@@ -2322,10 +2333,10 @@ function Ui() {
|
|
|
2322
2333
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
2323
2334
|
y,
|
|
2324
2335
|
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
2325
|
-
function(
|
|
2336
|
+
function(A, m) {
|
|
2326
2337
|
if (!q)
|
|
2327
2338
|
try {
|
|
2328
|
-
"$" +
|
|
2339
|
+
"$" + A(w) === m && (q = /** @type {import('.').TypedArrayName} */
|
|
2329
2340
|
v(m, 1));
|
|
2330
2341
|
} catch {
|
|
2331
2342
|
}
|
|
@@ -2337,10 +2348,10 @@ function Ui() {
|
|
|
2337
2348
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
2338
2349
|
y,
|
|
2339
2350
|
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
2340
|
-
function(
|
|
2351
|
+
function(A, m) {
|
|
2341
2352
|
if (!q)
|
|
2342
2353
|
try {
|
|
2343
|
-
|
|
2354
|
+
A(w), q = /** @type {import('.').TypedArrayName} */
|
|
2344
2355
|
v(m, 1);
|
|
2345
2356
|
} catch {
|
|
2346
2357
|
}
|
|
@@ -2370,7 +2381,7 @@ var Nt, Ka;
|
|
|
2370
2381
|
function Gi() {
|
|
2371
2382
|
if (Ka) return Nt;
|
|
2372
2383
|
Ka = 1;
|
|
2373
|
-
var r = pi(), e = oo(), n = hi(), a = /* @__PURE__ */ pr(), t = qi(), f = lo(), i = Ii(), o = /* @__PURE__ */ fo(), u = co(), c = /* @__PURE__ */ mo(), v = /* @__PURE__ */ Ri(), p = So(), y = /* @__PURE__ */ $i(), h = Wt(), S = Ci(), R = /* @__PURE__ */ _i(), w = /* @__PURE__ */ Ui(), q = /* @__PURE__ */ Hi(),
|
|
2384
|
+
var r = pi(), e = oo(), n = hi(), a = /* @__PURE__ */ pr(), t = qi(), f = lo(), i = Ii(), o = /* @__PURE__ */ fo(), u = co(), c = /* @__PURE__ */ mo(), v = /* @__PURE__ */ Ri(), p = So(), y = /* @__PURE__ */ $i(), h = Wt(), S = Ci(), R = /* @__PURE__ */ _i(), w = /* @__PURE__ */ Ui(), q = /* @__PURE__ */ Hi(), A = e("SharedArrayBuffer.prototype.byteLength", !0), m = e("Date.prototype.getTime"), x = Object.getPrototypeOf, X = e("Object.prototype.toString"), H = a("%Set%", !0), F = e("Map.prototype.has", !0), D = e("Map.prototype.get", !0), P = e("Map.prototype.size", !0), _ = e("Set.prototype.add", !0), L = e("Set.prototype.delete", !0), N = e("Set.prototype.has", !0), U = e("Set.prototype.size", !0);
|
|
2374
2385
|
function V(g, d, E, $) {
|
|
2375
2386
|
for (var M = t(g), j; (j = M.next()) && !j.done; )
|
|
2376
2387
|
if (G(d, j.value, E, $))
|
|
@@ -2384,18 +2395,18 @@ function Gi() {
|
|
|
2384
2395
|
return typeof g == "symbol" ? !1 : typeof g == "string" || typeof g == "number" ? +g == +g : !0;
|
|
2385
2396
|
}
|
|
2386
2397
|
function Pr(g, d, E, $, M, j) {
|
|
2387
|
-
var
|
|
2388
|
-
if (
|
|
2389
|
-
return
|
|
2390
|
-
var I = D(d,
|
|
2391
|
-
return typeof I > "u" && !F(d,
|
|
2398
|
+
var O = ur(E);
|
|
2399
|
+
if (O != null)
|
|
2400
|
+
return O;
|
|
2401
|
+
var I = D(d, O), b = r({}, M, { strict: !1 });
|
|
2402
|
+
return typeof I > "u" && !F(d, O) || !G($, I, b, j) ? !1 : !F(g, O) && G($, I, b, j);
|
|
2392
2403
|
}
|
|
2393
2404
|
function mr(g, d, E) {
|
|
2394
2405
|
var $ = ur(E);
|
|
2395
2406
|
return $ ?? (N(d, $) && !N(g, $));
|
|
2396
2407
|
}
|
|
2397
2408
|
function ar(g, d, E, $, M, j) {
|
|
2398
|
-
for (var
|
|
2409
|
+
for (var O = t(g), I, b; (I = O.next()) && !I.done; )
|
|
2399
2410
|
if (b = I.value, // eslint-disable-next-line no-use-before-define
|
|
2400
2411
|
G(E, b, M, j) && G($, D(d, b), M, j))
|
|
2401
2412
|
return L(g, b), !0;
|
|
@@ -2405,18 +2416,18 @@ function Gi() {
|
|
|
2405
2416
|
var M = E || {};
|
|
2406
2417
|
if (M.strict ? i(g, d) : g === d)
|
|
2407
2418
|
return !0;
|
|
2408
|
-
var j = S(g),
|
|
2409
|
-
if (j !==
|
|
2419
|
+
var j = S(g), O = S(d);
|
|
2420
|
+
if (j !== O)
|
|
2410
2421
|
return !1;
|
|
2411
2422
|
if (!g || !d || typeof g != "object" && typeof d != "object")
|
|
2412
2423
|
return M.strict ? i(g, d) : g == d;
|
|
2413
|
-
var I = $.has(g), b = $.has(d),
|
|
2424
|
+
var I = $.has(g), b = $.has(d), B;
|
|
2414
2425
|
if (I && b) {
|
|
2415
2426
|
if ($.get(g) === $.get(d))
|
|
2416
2427
|
return !0;
|
|
2417
2428
|
} else
|
|
2418
|
-
|
|
2419
|
-
return I || $.set(g,
|
|
2429
|
+
B = {};
|
|
2430
|
+
return I || $.set(g, B), b || $.set(d, B), yr(g, d, M, $);
|
|
2420
2431
|
}
|
|
2421
2432
|
function Sr(g) {
|
|
2422
2433
|
return !g || typeof g != "object" || typeof g.length != "number" || typeof g.copy != "function" || typeof g.slice != "function" || g.length > 0 && typeof g[0] != "number" ? !1 : !!(g.constructor && g.constructor.isBuffer && g.constructor.isBuffer(g));
|
|
@@ -2424,13 +2435,13 @@ function Gi() {
|
|
|
2424
2435
|
function Ir(g, d, E, $) {
|
|
2425
2436
|
if (U(g) !== U(d))
|
|
2426
2437
|
return !1;
|
|
2427
|
-
for (var M = t(g), j = t(d),
|
|
2428
|
-
if (
|
|
2429
|
-
b || (b = new H()), _(b,
|
|
2430
|
-
else if (!N(d,
|
|
2431
|
-
if (E.strict || !mr(g, d,
|
|
2438
|
+
for (var M = t(g), j = t(d), O, I, b; (O = M.next()) && !O.done; )
|
|
2439
|
+
if (O.value && typeof O.value == "object")
|
|
2440
|
+
b || (b = new H()), _(b, O.value);
|
|
2441
|
+
else if (!N(d, O.value)) {
|
|
2442
|
+
if (E.strict || !mr(g, d, O.value))
|
|
2432
2443
|
return !1;
|
|
2433
|
-
b || (b = new H()), _(b,
|
|
2444
|
+
b || (b = new H()), _(b, O.value);
|
|
2434
2445
|
}
|
|
2435
2446
|
if (b) {
|
|
2436
2447
|
for (; (I = j.next()) && !I.done; )
|
|
@@ -2446,20 +2457,20 @@ function Gi() {
|
|
|
2446
2457
|
function br(g, d, E, $) {
|
|
2447
2458
|
if (P(g) !== P(d))
|
|
2448
2459
|
return !1;
|
|
2449
|
-
for (var M = t(g), j = t(d),
|
|
2450
|
-
if (
|
|
2451
|
-
b || (b = new H()), _(b,
|
|
2452
|
-
else if (K = D(d,
|
|
2453
|
-
if (E.strict || !Pr(g, d,
|
|
2460
|
+
for (var M = t(g), j = t(d), O, I, b, B, z, K; (O = M.next()) && !O.done; )
|
|
2461
|
+
if (B = O.value[0], z = O.value[1], B && typeof B == "object")
|
|
2462
|
+
b || (b = new H()), _(b, B);
|
|
2463
|
+
else if (K = D(d, B), typeof K > "u" && !F(d, B) || !G(z, K, E, $)) {
|
|
2464
|
+
if (E.strict || !Pr(g, d, B, z, E, $))
|
|
2454
2465
|
return !1;
|
|
2455
|
-
b || (b = new H()), _(b,
|
|
2466
|
+
b || (b = new H()), _(b, B);
|
|
2456
2467
|
}
|
|
2457
2468
|
if (b) {
|
|
2458
2469
|
for (; (I = j.next()) && !I.done; )
|
|
2459
|
-
if (
|
|
2460
|
-
if (!ar(b, g,
|
|
2470
|
+
if (B = I.value[0], K = I.value[1], B && typeof B == "object") {
|
|
2471
|
+
if (!ar(b, g, B, K, E, $))
|
|
2461
2472
|
return !1;
|
|
2462
|
-
} else if (!E.strict && (!g.has(
|
|
2473
|
+
} else if (!E.strict && (!g.has(B) || !G(D(g, B), K, E, $)) && !ar(b, g, B, K, r({}, E, { strict: !1 }), $))
|
|
2463
2474
|
return !1;
|
|
2464
2475
|
return U(b) === 0;
|
|
2465
2476
|
}
|
|
@@ -2469,17 +2480,17 @@ function Gi() {
|
|
|
2469
2480
|
var M, j;
|
|
2470
2481
|
if (typeof g != typeof d || g == null || d == null || X(g) !== X(d) || o(g) !== o(d))
|
|
2471
2482
|
return !1;
|
|
2472
|
-
var
|
|
2473
|
-
if (
|
|
2483
|
+
var O = u(g), I = u(d);
|
|
2484
|
+
if (O !== I)
|
|
2474
2485
|
return !1;
|
|
2475
|
-
var b = g instanceof Error,
|
|
2476
|
-
if (b !==
|
|
2486
|
+
var b = g instanceof Error, B = d instanceof Error;
|
|
2487
|
+
if (b !== B || (b || B) && (g.name !== d.name || g.message !== d.message))
|
|
2477
2488
|
return !1;
|
|
2478
2489
|
var z = p(g), K = p(d);
|
|
2479
2490
|
if (z !== K || (z || K) && (g.source !== d.source || n(g) !== n(d)))
|
|
2480
2491
|
return !1;
|
|
2481
2492
|
var J = v(g), Y = v(d);
|
|
2482
|
-
if (J !== Y || (J || Y) && m(g) !== m(d) || E.strict &&
|
|
2493
|
+
if (J !== Y || (J || Y) && m(g) !== m(d) || E.strict && x && x(g) !== x(d))
|
|
2483
2494
|
return !1;
|
|
2484
2495
|
var Z = w(g), fr = w(d);
|
|
2485
2496
|
if (Z !== fr)
|
|
@@ -2512,7 +2523,7 @@ function Gi() {
|
|
|
2512
2523
|
if (cr !== Cr)
|
|
2513
2524
|
return !1;
|
|
2514
2525
|
if (cr || Cr)
|
|
2515
|
-
return
|
|
2526
|
+
return A(g) !== A(d) ? !1 : typeof Uint8Array == "function" && G(new Uint8Array(g), new Uint8Array(d), E, $);
|
|
2516
2527
|
if (typeof g != typeof d)
|
|
2517
2528
|
return !1;
|
|
2518
2529
|
var vr = h(g), Rr = h(d);
|
|
@@ -2540,7 +2551,10 @@ function Ji(r, e, n, a) {
|
|
|
2540
2551
|
const t = Ki, [f, i] = Ur(t(n)), o = xo(f);
|
|
2541
2552
|
return Bo(() => {
|
|
2542
2553
|
const u = () => {
|
|
2543
|
-
const c = {
|
|
2554
|
+
const c = {
|
|
2555
|
+
...n,
|
|
2556
|
+
...r.getAttributes(e)
|
|
2557
|
+
};
|
|
2544
2558
|
Object.keys(c).forEach((p) => {
|
|
2545
2559
|
(c[p] === null || c[p] === void 0) && (c[p] = n ? n[p] : null);
|
|
2546
2560
|
});
|
|
@@ -2553,8 +2567,7 @@ function Ji(r, e, n, a) {
|
|
|
2553
2567
|
}, [r, n, e, t]), f;
|
|
2554
2568
|
}
|
|
2555
2569
|
function bo(r, e = {}) {
|
|
2556
|
-
if (typeof r == "object")
|
|
2557
|
-
return r;
|
|
2570
|
+
if (typeof r == "object") return r;
|
|
2558
2571
|
try {
|
|
2559
2572
|
return JSON.parse(r);
|
|
2560
2573
|
} catch {
|
|
@@ -2571,17 +2584,11 @@ function Yi({ node: r }) {
|
|
|
2571
2584
|
return e;
|
|
2572
2585
|
}
|
|
2573
2586
|
}, [e, n]), t = Hr(
|
|
2574
|
-
() => e.trim() ? /* @__PURE__ */ er(
|
|
2575
|
-
"span",
|
|
2576
|
-
{
|
|
2577
|
-
contentEditable: !1,
|
|
2578
|
-
dangerouslySetInnerHTML: { __html: a }
|
|
2579
|
-
}
|
|
2580
|
-
) : /* @__PURE__ */ er("span", { contentEditable: !1, children: "Not enter a formula" }),
|
|
2587
|
+
() => e.trim() ? /* @__PURE__ */ er("span", { contentEditable: !1, dangerouslySetInnerHTML: { __html: a } }) : /* @__PURE__ */ er("span", { contentEditable: !1, children: "Not enter a formula" }),
|
|
2581
2588
|
[e, a]
|
|
2582
2589
|
);
|
|
2583
2590
|
return /* @__PURE__ */ er(
|
|
2584
|
-
|
|
2591
|
+
$o,
|
|
2585
2592
|
{
|
|
2586
2593
|
as: "span",
|
|
2587
2594
|
style: {
|
|
@@ -2605,7 +2612,7 @@ function ou() {
|
|
|
2605
2612
|
text: encodeURIComponent(h),
|
|
2606
2613
|
macros: encodeURIComponent(R)
|
|
2607
2614
|
}).run(), S(""), w(""), n(!1);
|
|
2608
|
-
}, [c, h, R]),
|
|
2615
|
+
}, [c, h, R]), A = Hr(() => {
|
|
2609
2616
|
try {
|
|
2610
2617
|
return Xa.renderToString(h, {
|
|
2611
2618
|
macros: bo(R)
|
|
@@ -2613,104 +2620,79 @@ function ou() {
|
|
|
2613
2620
|
} catch {
|
|
2614
2621
|
return h;
|
|
2615
2622
|
}
|
|
2616
|
-
}, [R, h]), m = Hr(
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
icon: t,
|
|
2636
|
-
tooltip: f,
|
|
2637
|
-
tooltipOptions: i,
|
|
2638
|
-
action: () => {
|
|
2639
|
-
u || n(!0);
|
|
2640
|
-
}
|
|
2641
|
-
}
|
|
2642
|
-
)
|
|
2643
|
-
}
|
|
2644
|
-
),
|
|
2645
|
-
/* @__PURE__ */ Nr(No, { className: "richtext-z-[99999] !richtext-max-w-[1300px]", children: [
|
|
2646
|
-
/* @__PURE__ */ er(Wo, { children: r("editor.formula.dialog.text") }),
|
|
2623
|
+
}, [R, h]), m = Hr(() => `${h}`.trim() ? A : null, [h, A]);
|
|
2624
|
+
return /* @__PURE__ */ Nr(Do, { onOpenChange: n, open: e, children: [
|
|
2625
|
+
/* @__PURE__ */ er(Fo, { asChild: !0, disabled: u, children: /* @__PURE__ */ er(
|
|
2626
|
+
_o,
|
|
2627
|
+
{
|
|
2628
|
+
disabled: u,
|
|
2629
|
+
icon: t,
|
|
2630
|
+
tooltip: f,
|
|
2631
|
+
tooltipOptions: i,
|
|
2632
|
+
action: () => {
|
|
2633
|
+
u || n(!0);
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
) }),
|
|
2637
|
+
/* @__PURE__ */ Nr(No, { className: "richtext-z-[99999] !richtext-max-w-[1300px]", children: [
|
|
2638
|
+
/* @__PURE__ */ er(Wo, { children: r("editor.formula.dialog.text") }),
|
|
2639
|
+
/* @__PURE__ */ er("div", { style: { height: "100%", border: "1px solid hsl(var(--border))" }, children: /* @__PURE__ */ Nr("div", { className: "richtext-flex richtext-gap-[10px] richtext-rounded-[10px] richtext-p-[10px]", children: [
|
|
2640
|
+
/* @__PURE__ */ Nr("div", { className: "richtext-flex-1", children: [
|
|
2641
|
+
/* @__PURE__ */ er(un, { className: "mb-[6px]", children: "Expression" }),
|
|
2647
2642
|
/* @__PURE__ */ er(
|
|
2648
|
-
|
|
2643
|
+
fn,
|
|
2649
2644
|
{
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
placeholder: "Text",
|
|
2661
|
-
required: !0,
|
|
2662
|
-
rows: 10,
|
|
2663
|
-
value: h,
|
|
2664
|
-
style: {
|
|
2665
|
-
color: "hsl(var(--foreground))"
|
|
2666
|
-
}
|
|
2667
|
-
}
|
|
2668
|
-
),
|
|
2669
|
-
/* @__PURE__ */ er(un, { className: "mb-[6px]", children: "Macros" }),
|
|
2670
|
-
/* @__PURE__ */ er(
|
|
2671
|
-
fn,
|
|
2672
|
-
{
|
|
2673
|
-
className: "richtext-flex-1",
|
|
2674
|
-
placeholder: "Macros",
|
|
2675
|
-
rows: 10,
|
|
2676
|
-
value: R,
|
|
2677
|
-
onChange: (T) => {
|
|
2678
|
-
w(T.target.value);
|
|
2679
|
-
},
|
|
2680
|
-
style: {
|
|
2681
|
-
color: "hsl(var(--foreground))"
|
|
2682
|
-
}
|
|
2683
|
-
}
|
|
2684
|
-
)
|
|
2685
|
-
] }),
|
|
2686
|
-
/* @__PURE__ */ er(
|
|
2687
|
-
"div",
|
|
2688
|
-
{
|
|
2689
|
-
className: "richtext-flex richtext-flex-1 richtext-items-center richtext-justify-center richtext-rounded-[10px] richtext-p-[10px]",
|
|
2690
|
-
dangerouslySetInnerHTML: { __html: m || "" },
|
|
2691
|
-
style: { height: "100%", borderWidth: 1, minHeight: 500, background: "#fff" }
|
|
2692
|
-
}
|
|
2693
|
-
)
|
|
2694
|
-
] })
|
|
2645
|
+
autoFocus: !0,
|
|
2646
|
+
className: "richtext-mb-[10px]",
|
|
2647
|
+
onChange: (x) => S(x.target.value),
|
|
2648
|
+
placeholder: "Text",
|
|
2649
|
+
required: !0,
|
|
2650
|
+
rows: 10,
|
|
2651
|
+
value: h,
|
|
2652
|
+
style: {
|
|
2653
|
+
color: "hsl(var(--foreground))"
|
|
2654
|
+
}
|
|
2695
2655
|
}
|
|
2696
2656
|
),
|
|
2697
|
-
/* @__PURE__ */ er(
|
|
2698
|
-
|
|
2657
|
+
/* @__PURE__ */ er(un, { className: "mb-[6px]", children: "Macros" }),
|
|
2658
|
+
/* @__PURE__ */ er(
|
|
2659
|
+
fn,
|
|
2699
2660
|
{
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2661
|
+
className: "richtext-flex-1",
|
|
2662
|
+
placeholder: "Macros",
|
|
2663
|
+
rows: 10,
|
|
2664
|
+
value: R,
|
|
2665
|
+
onChange: (x) => {
|
|
2666
|
+
w(x.target.value);
|
|
2667
|
+
},
|
|
2668
|
+
style: {
|
|
2669
|
+
color: "hsl(var(--foreground))"
|
|
2670
|
+
}
|
|
2703
2671
|
}
|
|
2704
|
-
)
|
|
2705
|
-
] })
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2672
|
+
)
|
|
2673
|
+
] }),
|
|
2674
|
+
/* @__PURE__ */ er(
|
|
2675
|
+
"div",
|
|
2676
|
+
{
|
|
2677
|
+
className: "richtext-flex richtext-flex-1 richtext-items-center richtext-justify-center richtext-rounded-[10px] richtext-p-[10px]",
|
|
2678
|
+
dangerouslySetInnerHTML: { __html: m || "" },
|
|
2679
|
+
style: {
|
|
2680
|
+
height: "100%",
|
|
2681
|
+
borderWidth: 1,
|
|
2682
|
+
minHeight: 500,
|
|
2683
|
+
background: "#fff"
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
)
|
|
2687
|
+
] }) }),
|
|
2688
|
+
/* @__PURE__ */ er(ko, { children: /* @__PURE__ */ er(Lo, { onClick: q, type: "button", children: "Save changes" }) })
|
|
2689
|
+
] })
|
|
2690
|
+
] });
|
|
2709
2691
|
}
|
|
2710
2692
|
function Ja(r) {
|
|
2711
2693
|
return (e) => e.getAttribute(r);
|
|
2712
2694
|
}
|
|
2713
|
-
const Ya = /* @__PURE__ */
|
|
2695
|
+
const Ya = /* @__PURE__ */ Po.create({
|
|
2714
2696
|
name: "katex",
|
|
2715
2697
|
group: "inline",
|
|
2716
2698
|
inline: !0,
|
|
@@ -2749,7 +2731,10 @@ const Ya = /* @__PURE__ */ Io.create({
|
|
|
2749
2731
|
return [{ tag: "span.katex" }];
|
|
2750
2732
|
},
|
|
2751
2733
|
renderHTML({ HTMLAttributes: r }) {
|
|
2752
|
-
return [
|
|
2734
|
+
return [
|
|
2735
|
+
"span",
|
|
2736
|
+
Ro(this.options && this.options.HTMLAttributes || {}, r)
|
|
2737
|
+
];
|
|
2753
2738
|
},
|
|
2754
2739
|
addCommands() {
|
|
2755
2740
|
return {
|
|
@@ -2761,14 +2746,14 @@ const Ya = /* @__PURE__ */ Io.create({
|
|
|
2761
2746
|
},
|
|
2762
2747
|
addInputRules() {
|
|
2763
2748
|
return [
|
|
2764
|
-
|
|
2749
|
+
Io({
|
|
2765
2750
|
find: /^\$katex\$$/,
|
|
2766
2751
|
type: this.type
|
|
2767
2752
|
})
|
|
2768
2753
|
];
|
|
2769
2754
|
},
|
|
2770
2755
|
addNodeView() {
|
|
2771
|
-
return
|
|
2756
|
+
return Eo(Yi);
|
|
2772
2757
|
}
|
|
2773
2758
|
});
|
|
2774
2759
|
export {
|