@pie-players/pie-section-player 0.3.66 → 0.3.68
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 +158 -0
- package/dist/chunks/module-a516757f.js +388 -394
- package/dist/chunks/nl-NL-9312c316.js +503 -0
- package/dist/chunks/nl-NL-ef6dd604.js +503 -0
- package/dist/chunks/pie-api-client-22de9d9c.js +161 -0
- package/dist/chunks/rolldown-runtime-1287ba31.js +20 -0
- package/dist/chunks/sre-0162a7a9.js +3431 -3428
- package/dist/components/shared/section-player-host-runtime.d.ts +11 -7
- package/dist/components/shared/section-player-shell-layout.svelte.d.ts +55 -0
- package/dist/components/shared/section-player-view-state.d.ts +35 -0
- package/dist/components/shared/use-interface-i18n.svelte.d.ts +20 -0
- package/dist/controllers/SectionController.d.ts +174 -0
- package/dist/controllers/types.d.ts +128 -2
- package/dist/pie-section-player.js +19906 -15523
- package/package.json +10 -10
- package/dist/components/shared/section-player-props.d.ts +0 -1
- package/dist/components/shared/tool-surface-host.d.ts +0 -28
|
@@ -4690,7 +4690,7 @@ Ml.MmlMaction = (function(e) {
|
|
|
4690
4690
|
selection: 1
|
|
4691
4691
|
}), t;
|
|
4692
4692
|
})(V2.AbstractMmlNode);
|
|
4693
|
-
var xn = {},
|
|
4693
|
+
var xn = {}, Hv = y && y.__extends || /* @__PURE__ */ (function() {
|
|
4694
4694
|
var e = function(t, r) {
|
|
4695
4695
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && (function(n, o) {
|
|
4696
4696
|
n.__proto__ = o;
|
|
@@ -4718,7 +4718,7 @@ var xn = {}, H1 = y && y.__extends || /* @__PURE__ */ (function() {
|
|
|
4718
4718
|
Object.defineProperty(xn, "__esModule", { value: !0 });
|
|
4719
4719
|
xn.MmlMsup = xn.MmlMsub = xn.MmlMsubsup = void 0;
|
|
4720
4720
|
var W2 = ce, Kc = (function(e) {
|
|
4721
|
-
|
|
4721
|
+
Hv(t, e);
|
|
4722
4722
|
function t() {
|
|
4723
4723
|
return e !== null && e.apply(this, arguments) || this;
|
|
4724
4724
|
}
|
|
@@ -4762,7 +4762,7 @@ var W2 = ce, Kc = (function(e) {
|
|
|
4762
4762
|
})(W2.AbstractMmlBaseNode);
|
|
4763
4763
|
xn.MmlMsubsup = Kc;
|
|
4764
4764
|
xn.MmlMsub = (function(e) {
|
|
4765
|
-
|
|
4765
|
+
Hv(t, e);
|
|
4766
4766
|
function t() {
|
|
4767
4767
|
return e !== null && e.apply(this, arguments) || this;
|
|
4768
4768
|
}
|
|
@@ -4781,7 +4781,7 @@ xn.MmlMsub = (function(e) {
|
|
|
4781
4781
|
}), t.defaults = rs({}, Kc.defaults), t;
|
|
4782
4782
|
})(Kc);
|
|
4783
4783
|
xn.MmlMsup = (function(e) {
|
|
4784
|
-
|
|
4784
|
+
Hv(t, e);
|
|
4785
4785
|
function t() {
|
|
4786
4786
|
return e !== null && e.apply(this, arguments) || this;
|
|
4787
4787
|
}
|
|
@@ -4811,7 +4811,7 @@ xn.MmlMsup = (function(e) {
|
|
|
4811
4811
|
configurable: !0
|
|
4812
4812
|
}), t.defaults = rs({}, Kc.defaults), t;
|
|
4813
4813
|
})(Kc);
|
|
4814
|
-
var Kn = {},
|
|
4814
|
+
var Kn = {}, qv = y && y.__extends || /* @__PURE__ */ (function() {
|
|
4815
4815
|
var e = function(t, r) {
|
|
4816
4816
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && (function(n, o) {
|
|
4817
4817
|
n.__proto__ = o;
|
|
@@ -4839,7 +4839,7 @@ var Kn = {}, q1 = y && y.__extends || /* @__PURE__ */ (function() {
|
|
|
4839
4839
|
Object.defineProperty(Kn, "__esModule", { value: !0 });
|
|
4840
4840
|
Kn.MmlMover = Kn.MmlMunder = Kn.MmlMunderover = void 0;
|
|
4841
4841
|
var $2 = ce, Jc = (function(e) {
|
|
4842
|
-
|
|
4842
|
+
qv(t, e);
|
|
4843
4843
|
function t() {
|
|
4844
4844
|
return e !== null && e.apply(this, arguments) || this;
|
|
4845
4845
|
}
|
|
@@ -4904,7 +4904,7 @@ var $2 = ce, Jc = (function(e) {
|
|
|
4904
4904
|
})($2.AbstractMmlBaseNode);
|
|
4905
4905
|
Kn.MmlMunderover = Jc;
|
|
4906
4906
|
Kn.MmlMunder = (function(e) {
|
|
4907
|
-
|
|
4907
|
+
qv(t, e);
|
|
4908
4908
|
function t() {
|
|
4909
4909
|
return e !== null && e.apply(this, arguments) || this;
|
|
4910
4910
|
}
|
|
@@ -4923,7 +4923,7 @@ Kn.MmlMunder = (function(e) {
|
|
|
4923
4923
|
}), t.defaults = ns({}, Jc.defaults), t;
|
|
4924
4924
|
})(Jc);
|
|
4925
4925
|
Kn.MmlMover = (function(e) {
|
|
4926
|
-
|
|
4926
|
+
qv(t, e);
|
|
4927
4927
|
function t() {
|
|
4928
4928
|
return e !== null && e.apply(this, arguments) || this;
|
|
4929
4929
|
}
|
|
@@ -4957,7 +4957,7 @@ Kn.MmlMover = (function(e) {
|
|
|
4957
4957
|
"accentunder"
|
|
4958
4958
|
], t;
|
|
4959
4959
|
})(Jc);
|
|
4960
|
-
var Jn = {},
|
|
4960
|
+
var Jn = {}, Gv = y && y.__extends || /* @__PURE__ */ (function() {
|
|
4961
4961
|
var e = function(t, r) {
|
|
4962
4962
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && (function(n, o) {
|
|
4963
4963
|
n.__proto__ = o;
|
|
@@ -4986,7 +4986,7 @@ Object.defineProperty(Jn, "__esModule", { value: !0 });
|
|
|
4986
4986
|
Jn.MmlNone = Jn.MmlMprescripts = Jn.MmlMmultiscripts = void 0;
|
|
4987
4987
|
var Jp = ce, z2 = xn;
|
|
4988
4988
|
Jn.MmlMmultiscripts = (function(e) {
|
|
4989
|
-
|
|
4989
|
+
Gv(t, e);
|
|
4990
4990
|
function t() {
|
|
4991
4991
|
return e !== null && e.apply(this, arguments) || this;
|
|
4992
4992
|
}
|
|
@@ -5026,7 +5026,7 @@ Jn.MmlMmultiscripts = (function(e) {
|
|
|
5026
5026
|
}, t.defaults = Yc({}, z2.MmlMsubsup.defaults), t;
|
|
5027
5027
|
})(z2.MmlMsubsup);
|
|
5028
5028
|
Jn.MmlMprescripts = (function(e) {
|
|
5029
|
-
|
|
5029
|
+
Gv(t, e);
|
|
5030
5030
|
function t() {
|
|
5031
5031
|
return e !== null && e.apply(this, arguments) || this;
|
|
5032
5032
|
}
|
|
@@ -5047,7 +5047,7 @@ Jn.MmlMprescripts = (function(e) {
|
|
|
5047
5047
|
}, t.defaults = Yc({}, Jp.AbstractMmlNode.defaults), t;
|
|
5048
5048
|
})(Jp.AbstractMmlNode);
|
|
5049
5049
|
Jn.MmlNone = (function(e) {
|
|
5050
|
-
|
|
5050
|
+
Gv(t, e);
|
|
5051
5051
|
function t() {
|
|
5052
5052
|
return e !== null && e.apply(this, arguments) || this;
|
|
5053
5053
|
}
|
|
@@ -5597,7 +5597,7 @@ Tl.MmlMglyph = (function(e) {
|
|
|
5597
5597
|
valign: "0em"
|
|
5598
5598
|
}), t;
|
|
5599
5599
|
})(Hy.AbstractMmlTokenNode);
|
|
5600
|
-
var Yn = {},
|
|
5600
|
+
var Yn = {}, Xv = y && y.__extends || /* @__PURE__ */ (function() {
|
|
5601
5601
|
var e = function(t, r) {
|
|
5602
5602
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && (function(n, o) {
|
|
5603
5603
|
n.__proto__ = o;
|
|
@@ -5626,7 +5626,7 @@ Object.defineProperty(Yn, "__esModule", { value: !0 });
|
|
|
5626
5626
|
Yn.MmlAnnotation = Yn.MmlAnnotationXML = Yn.MmlSemantics = void 0;
|
|
5627
5627
|
var nd = ce;
|
|
5628
5628
|
Yn.MmlSemantics = (function(e) {
|
|
5629
|
-
|
|
5629
|
+
Xv(t, e);
|
|
5630
5630
|
function t() {
|
|
5631
5631
|
return e !== null && e.apply(this, arguments) || this;
|
|
5632
5632
|
}
|
|
@@ -5654,7 +5654,7 @@ Yn.MmlSemantics = (function(e) {
|
|
|
5654
5654
|
}), t;
|
|
5655
5655
|
})(nd.AbstractMmlBaseNode);
|
|
5656
5656
|
var qg = (function(e) {
|
|
5657
|
-
|
|
5657
|
+
Xv(t, e);
|
|
5658
5658
|
function t() {
|
|
5659
5659
|
return e !== null && e.apply(this, arguments) || this;
|
|
5660
5660
|
}
|
|
@@ -5675,7 +5675,7 @@ var qg = (function(e) {
|
|
|
5675
5675
|
})(nd.AbstractMmlNode);
|
|
5676
5676
|
Yn.MmlAnnotationXML = qg;
|
|
5677
5677
|
Yn.MmlAnnotation = (function(e) {
|
|
5678
|
-
|
|
5678
|
+
Xv(t, e);
|
|
5679
5679
|
function t() {
|
|
5680
5680
|
var r = e !== null && e.apply(this, arguments) || this;
|
|
5681
5681
|
return r.properties = { isChars: !0 }, r;
|
|
@@ -6295,7 +6295,7 @@ var nt = {};
|
|
|
6295
6295
|
e.lookup = g;
|
|
6296
6296
|
})(nt);
|
|
6297
6297
|
te(nt);
|
|
6298
|
-
var
|
|
6298
|
+
var Vv = y && y.__extends || /* @__PURE__ */ (function() {
|
|
6299
6299
|
var e = function(t, r) {
|
|
6300
6300
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && (function(n, o) {
|
|
6301
6301
|
n.__proto__ = o;
|
|
@@ -6351,7 +6351,7 @@ var V1 = y && y.__extends || /* @__PURE__ */ (function() {
|
|
|
6351
6351
|
});
|
|
6352
6352
|
Object.defineProperty(Xn, "__esModule", { value: !0 });
|
|
6353
6353
|
var iA = Xn.AssistiveMmlHandler = Xn.AssistiveMmlMathDocumentMixin = Xn.AssistiveMmlMathItemMixin = Xn.LimitedMmlVisitor = void 0, Zc = Qr, L_ = As, R_ = nt, aA = (function(e) {
|
|
6354
|
-
|
|
6354
|
+
Vv(t, e);
|
|
6355
6355
|
function t() {
|
|
6356
6356
|
return e !== null && e.apply(this, arguments) || this;
|
|
6357
6357
|
}
|
|
@@ -6363,7 +6363,7 @@ Xn.LimitedMmlVisitor = aA;
|
|
|
6363
6363
|
(0, Zc.newState)("ASSISTIVEMML", 153);
|
|
6364
6364
|
function sA(e) {
|
|
6365
6365
|
return (function(t) {
|
|
6366
|
-
|
|
6366
|
+
Vv(r, t);
|
|
6367
6367
|
function r() {
|
|
6368
6368
|
return t !== null && t.apply(this, arguments) || this;
|
|
6369
6369
|
}
|
|
@@ -6385,7 +6385,7 @@ Xn.AssistiveMmlMathItemMixin = sA;
|
|
|
6385
6385
|
function cA(e) {
|
|
6386
6386
|
var t;
|
|
6387
6387
|
return t = (function(r) {
|
|
6388
|
-
|
|
6388
|
+
Vv(n, r);
|
|
6389
6389
|
function n() {
|
|
6390
6390
|
for (var o = [], i = 0; i < arguments.length; i++) o[i] = arguments[i];
|
|
6391
6391
|
var a = r.apply(this, __([], N_(o), !1)) || this, s = a.constructor, c = s.ProcessBits;
|
|
@@ -6562,7 +6562,10 @@ var P_ = class {
|
|
|
6562
6562
|
const t = e.split("."), r = {};
|
|
6563
6563
|
if (t.length > this.order.length) throw new Error("Invalid dynamic constraint: " + r);
|
|
6564
6564
|
let n = 0;
|
|
6565
|
-
for (let o = 0, i; i = this.order[o], t.length; o++, n++)
|
|
6565
|
+
for (let o = 0, i; i = this.order[o], t.length; o++, n++) {
|
|
6566
|
+
const a = t.shift();
|
|
6567
|
+
r[i] = a;
|
|
6568
|
+
}
|
|
6566
6569
|
return new gn(r, this.order.slice(0, n));
|
|
6567
6570
|
}
|
|
6568
6571
|
};
|
|
@@ -6669,7 +6672,7 @@ _i.url = "https://cdn.jsdelivr.net/npm/speech-rule-engine@" + _i.VERSION + "/lib
|
|
|
6669
6672
|
_i.WGXpath = "https://cdn.jsdelivr.net/npm/wicked-good-xpath@1.3.0/dist/wgxpath.install.js";
|
|
6670
6673
|
Object.defineProperty(jr, "__esModule", { value: !0 });
|
|
6671
6674
|
jr.SystemExternal = void 0;
|
|
6672
|
-
var
|
|
6675
|
+
var Wv = Fo, rt = class uA {
|
|
6673
6676
|
static nodeRequire() {
|
|
6674
6677
|
return k2;
|
|
6675
6678
|
}
|
|
@@ -6689,9 +6692,9 @@ rt.xpath = rt.documentSupported ? document : (function() {
|
|
|
6689
6692
|
};
|
|
6690
6693
|
return rt.extRequire("wicked-good-xpath").install(e), e.document.XPathResult = e.XPathResult, e.document;
|
|
6691
6694
|
})();
|
|
6692
|
-
rt.mathmapsIePath = "https://cdn.jsdelivr.net/npm/sre-mathmaps-ie@" +
|
|
6695
|
+
rt.mathmapsIePath = "https://cdn.jsdelivr.net/npm/sre-mathmaps-ie@" + Wv.Variables.VERSION + "mathmaps_ie.js";
|
|
6693
6696
|
rt.fs = rt.documentSupported ? null : rt.extRequire("fs");
|
|
6694
|
-
rt.url =
|
|
6697
|
+
rt.url = Wv.Variables.url;
|
|
6695
6698
|
rt.jsonPath = (function() {
|
|
6696
6699
|
if (rt.documentSupported) return rt.url;
|
|
6697
6700
|
if (process.env.SRE_JSON_PATH || y.SRE_JSON_PATH) return process.env.SRE_JSON_PATH || y.SRE_JSON_PATH;
|
|
@@ -6705,7 +6708,7 @@ rt.jsonPath = (function() {
|
|
|
6705
6708
|
}
|
|
6706
6709
|
return typeof __dirname < "u" ? __dirname + (__dirname.match(/lib?$/) ? "/mathmaps" : "/lib/mathmaps") : process.cwd() + "/lib/mathmaps";
|
|
6707
6710
|
})();
|
|
6708
|
-
rt.WGXpath =
|
|
6711
|
+
rt.WGXpath = Wv.Variables.WGXpath;
|
|
6709
6712
|
rt.wgxpath = null;
|
|
6710
6713
|
jr.default = rt;
|
|
6711
6714
|
Object.defineProperty(en, "__esModule", { value: !0 });
|
|
@@ -6859,7 +6862,7 @@ function H_(e) {
|
|
|
6859
6862
|
}
|
|
6860
6863
|
}
|
|
6861
6864
|
}
|
|
6862
|
-
var $
|
|
6865
|
+
var $v = class $g {
|
|
6863
6866
|
static get(t = Ns.getInstance().locale) {
|
|
6864
6867
|
return $g.promises[t] || Promise.resolve("");
|
|
6865
6868
|
}
|
|
@@ -6867,9 +6870,9 @@ var $1 = class $g {
|
|
|
6867
6870
|
return Promise.all(Object.values($g.promises));
|
|
6868
6871
|
}
|
|
6869
6872
|
};
|
|
6870
|
-
Ae.EnginePromise = $
|
|
6871
|
-
$
|
|
6872
|
-
$
|
|
6873
|
+
Ae.EnginePromise = $v;
|
|
6874
|
+
$v.loaded = {};
|
|
6875
|
+
$v.promises = {};
|
|
6873
6876
|
var _s = {}, ws = {}, Nt = {}, he = {}, kt = {};
|
|
6874
6877
|
(function(e) {
|
|
6875
6878
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.xpath = void 0, e.resolveNameSpace = a, e.evalXPath = l, e.evaluateBoolean = u, e.evaluateString = p, e.updateEvaluator = d;
|
|
@@ -7880,15 +7883,15 @@ function uw(e, t) {
|
|
|
7880
7883
|
return e === Mn.LOCALE.MESSAGES.MS.ROOTINDEX || e === Mn.LOCALE.MESSAGES.MS.INDEX ? e : e + " " + t;
|
|
7881
7884
|
}
|
|
7882
7885
|
function pw(e) {
|
|
7883
|
-
return
|
|
7886
|
+
return zv(Mn.LOCALE.MESSAGES.font[e], e);
|
|
7884
7887
|
}
|
|
7885
7888
|
function dw(e) {
|
|
7886
|
-
return
|
|
7889
|
+
return zv(Mn.LOCALE.MESSAGES.role[e], e);
|
|
7887
7890
|
}
|
|
7888
7891
|
function hw(e) {
|
|
7889
|
-
return
|
|
7892
|
+
return zv(Mn.LOCALE.MESSAGES.enclose[e], e);
|
|
7890
7893
|
}
|
|
7891
|
-
function
|
|
7894
|
+
function zv(e, t) {
|
|
7892
7895
|
return e === void 0 ? t : typeof e == "string" ? e : e[0];
|
|
7893
7896
|
}
|
|
7894
7897
|
function fw(e) {
|
|
@@ -8033,7 +8036,7 @@ function fw(e) {
|
|
|
8033
8036
|
i.getInstance().setCorrection("localFont", n.localFont), i.getInstance().setCorrection("localRole", n.localRole), i.getInstance().setCorrection("localEnclose", n.localEnclose), i.getInstance().setCorrection("ignoreFont", a), i.getInstance().setPreprocessor("annotation", c), i.getInstance().setPreprocessor("noTranslateText", u), i.getInstance().setCorrection("ignoreCaps", s), i.getInstance().setPreprocessor("numbers2alpha", l);
|
|
8034
8037
|
})(Nt);
|
|
8035
8038
|
te(Nt);
|
|
8036
|
-
var
|
|
8039
|
+
var Kv = {}, Jv = {};
|
|
8037
8040
|
(function(e) {
|
|
8038
8041
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8039
8042
|
const t = _t;
|
|
@@ -8077,11 +8080,11 @@ var K1 = {}, J1 = {};
|
|
|
8077
8080
|
numberToWords: n,
|
|
8078
8081
|
numberToOrdinal: o
|
|
8079
8082
|
});
|
|
8080
|
-
})(
|
|
8081
|
-
te(
|
|
8082
|
-
Object.defineProperty(
|
|
8083
|
-
|
|
8084
|
-
var mw = Nt, yw = vt, gw = Ie, wS =
|
|
8083
|
+
})(Jv);
|
|
8084
|
+
te(Jv);
|
|
8085
|
+
Object.defineProperty(Kv, "__esModule", { value: !0 });
|
|
8086
|
+
Kv.af = Sw;
|
|
8087
|
+
var mw = Nt, yw = vt, gw = Ie, wS = Jv, vw = Bt, bw = function(e, t, r) {
|
|
8085
8088
|
return e = r ? r + " " + e : e, t ? e + " " + t : e;
|
|
8086
8089
|
}, Vy = null;
|
|
8087
8090
|
function Sw() {
|
|
@@ -8093,7 +8096,7 @@ function Ew() {
|
|
|
8093
8096
|
return new RegExp("((^" + t + " )|( " + t + "$))");
|
|
8094
8097
|
}, e.ALPHABETS.combiner = vw.Combiners.prefixCombiner, e.ALPHABETS.digitTrans.default = wS.NUMBERS.numberToWords, e.CORRECTIONS.article = (t) => mw.Grammar.getInstance().getParameter("noArticle") ? "" : t, e;
|
|
8095
8098
|
}
|
|
8096
|
-
var
|
|
8099
|
+
var Yv = {}, Zv = {};
|
|
8097
8100
|
(function(e) {
|
|
8098
8101
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8099
8102
|
const t = Nt, r = _t;
|
|
@@ -8141,11 +8144,11 @@ var Y1 = {}, Z1 = {};
|
|
|
8141
8144
|
numberToWords: i,
|
|
8142
8145
|
numberToOrdinal: a
|
|
8143
8146
|
});
|
|
8144
|
-
})(
|
|
8145
|
-
te(
|
|
8146
|
-
Object.defineProperty(
|
|
8147
|
-
|
|
8148
|
-
var xw = Ie, Mw = vt, Ow =
|
|
8147
|
+
})(Zv);
|
|
8148
|
+
te(Zv);
|
|
8149
|
+
Object.defineProperty(Yv, "__esModule", { value: !0 });
|
|
8150
|
+
Yv.ca = Cw;
|
|
8151
|
+
var xw = Ie, Mw = vt, Ow = Zv, Aw = Bt, Tw = function(e, t, r) {
|
|
8149
8152
|
return e = "sans serif " + (r ? r + " " + e : e), t ? e + " " + t : e;
|
|
8150
8153
|
}, Wy = null;
|
|
8151
8154
|
function Cw() {
|
|
@@ -8155,7 +8158,7 @@ function Nw() {
|
|
|
8155
8158
|
const e = (0, xw.createLocale)();
|
|
8156
8159
|
return e.NUMBERS = Ow.NUMBERS, e.COMBINERS.sansserif = Tw, e.FUNCTIONS.fracNestDepth = (t) => !1, e.FUNCTIONS.combineRootIndex = Mw.combinePostfixIndex, e.FUNCTIONS.combineNestedRadical = (t, r, n) => t + n, e.FUNCTIONS.fontRegexp = (t) => RegExp("^" + t + " "), e.FUNCTIONS.plural = (t) => /.*os$/.test(t) ? t + "sos" : /.*s$/.test(t) ? t + "os" : /.*ga$/.test(t) ? t.slice(0, -2) + "gues" : /.*ça$/.test(t) ? t.slice(0, -2) + "ces" : /.*ca$/.test(t) ? t.slice(0, -2) + "ques" : /.*ja$/.test(t) ? t.slice(0, -2) + "ges" : /.*qua$/.test(t) ? t.slice(0, -3) + "qües" : /.*a$/.test(t) ? t.slice(0, -1) + "es" : /.*(e|i)$/.test(t) ? t + "ns" : /.*í$/.test(t) ? t.slice(0, -1) + "ins" : t + "s", e.FUNCTIONS.si = (t, r) => (r.match(/^metre/) && (t = t.replace(/a$/, "à").replace(/o$/, "ò").replace(/i$/, "í")), t + r), e.ALPHABETS.combiner = Aw.Combiners.prefixCombiner, e;
|
|
8157
8160
|
}
|
|
8158
|
-
var
|
|
8161
|
+
var Qv = {}, e1 = {};
|
|
8159
8162
|
(function(e) {
|
|
8160
8163
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8161
8164
|
const t = _t;
|
|
@@ -8205,11 +8208,11 @@ var Q1 = {}, ev = {};
|
|
|
8205
8208
|
numberToWords: o,
|
|
8206
8209
|
numberToOrdinal: i
|
|
8207
8210
|
});
|
|
8208
|
-
})(
|
|
8209
|
-
te(
|
|
8210
|
-
Object.defineProperty(
|
|
8211
|
-
|
|
8212
|
-
var _w = Ie, ww = vt, LS =
|
|
8211
|
+
})(e1);
|
|
8212
|
+
te(e1);
|
|
8213
|
+
Object.defineProperty(Qv, "__esModule", { value: !0 });
|
|
8214
|
+
Qv.da = Rw;
|
|
8215
|
+
var _w = Ie, ww = vt, LS = e1, Lw = Bt, $y = null;
|
|
8213
8216
|
function Rw() {
|
|
8214
8217
|
return $y || ($y = Iw()), $y;
|
|
8215
8218
|
}
|
|
@@ -8217,7 +8220,7 @@ function Iw() {
|
|
|
8217
8220
|
const e = (0, _w.createLocale)();
|
|
8218
8221
|
return e.NUMBERS = LS.NUMBERS, e.FUNCTIONS.radicalNestDepth = ww.nestingToString, e.FUNCTIONS.fontRegexp = (t) => t === e.ALPHABETS.capPrefix.default ? RegExp("^" + t + " ") : RegExp(" " + t + "$"), e.ALPHABETS.combiner = Lw.Combiners.postfixCombiner, e.ALPHABETS.digitTrans.default = LS.NUMBERS.numberToWords, e;
|
|
8219
8222
|
}
|
|
8220
|
-
var
|
|
8223
|
+
var t1 = {}, r1 = {};
|
|
8221
8224
|
(function(e) {
|
|
8222
8225
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8223
8226
|
const t = _t;
|
|
@@ -8265,11 +8268,11 @@ var tv = {}, rv = {};
|
|
|
8265
8268
|
numberToWords: o,
|
|
8266
8269
|
numberToOrdinal: i
|
|
8267
8270
|
});
|
|
8268
|
-
})(
|
|
8269
|
-
te(
|
|
8270
|
-
Object.defineProperty(
|
|
8271
|
-
|
|
8272
|
-
var zy = Nt, Pw = vt, kw = Ie, Bw =
|
|
8271
|
+
})(r1);
|
|
8272
|
+
te(r1);
|
|
8273
|
+
Object.defineProperty(t1, "__esModule", { value: !0 });
|
|
8274
|
+
t1.de = Fw;
|
|
8275
|
+
var zy = Nt, Pw = vt, kw = Ie, Bw = r1, Dw = function(e, t, r) {
|
|
8273
8276
|
return r === "s" && (t = t.split(" ").map(function(n) {
|
|
8274
8277
|
return n.replace(/s$/, "");
|
|
8275
8278
|
}).join(" "), r = ""), e = r ? r + " " + e : e, t ? t + " " + e : e;
|
|
@@ -8303,7 +8306,7 @@ function Uw() {
|
|
|
8303
8306
|
}[t] : t;
|
|
8304
8307
|
}, e.CORRECTIONS.masculine = (t) => zy.Grammar.getInstance().getParameter("case") === "dative" ? t + "n" : t, e;
|
|
8305
8308
|
}
|
|
8306
|
-
var
|
|
8309
|
+
var n1 = {}, o1 = {};
|
|
8307
8310
|
(function(e) {
|
|
8308
8311
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8309
8312
|
const t = _t;
|
|
@@ -8348,11 +8351,11 @@ var nv = {}, ov = {};
|
|
|
8348
8351
|
numberToWords: n,
|
|
8349
8352
|
numberToOrdinal: o
|
|
8350
8353
|
});
|
|
8351
|
-
})(
|
|
8352
|
-
te(
|
|
8353
|
-
Object.defineProperty(
|
|
8354
|
-
|
|
8355
|
-
var Hw = Nt, qw = Ie, Gw = vt, RS =
|
|
8354
|
+
})(o1);
|
|
8355
|
+
te(o1);
|
|
8356
|
+
Object.defineProperty(n1, "__esModule", { value: !0 });
|
|
8357
|
+
n1.en = Vw;
|
|
8358
|
+
var Hw = Nt, qw = Ie, Gw = vt, RS = o1, Xw = Bt, Jy = null;
|
|
8356
8359
|
function Vw() {
|
|
8357
8360
|
return Jy || (Jy = Ww()), Jy;
|
|
8358
8361
|
}
|
|
@@ -8360,7 +8363,7 @@ function Ww() {
|
|
|
8360
8363
|
const e = (0, qw.createLocale)();
|
|
8361
8364
|
return e.NUMBERS = RS.NUMBERS, e.FUNCTIONS.radicalNestDepth = Gw.nestingToString, e.FUNCTIONS.plural = (t) => /.*s$/.test(t) ? t : t + "s", e.ALPHABETS.combiner = Xw.Combiners.prefixCombiner, e.ALPHABETS.digitTrans.default = RS.NUMBERS.numberToWords, e.CORRECTIONS.article = (t) => Hw.Grammar.getInstance().getParameter("noArticle") ? "" : t, e;
|
|
8362
8365
|
}
|
|
8363
|
-
var
|
|
8366
|
+
var i1 = {}, a1 = {};
|
|
8364
8367
|
(function(e) {
|
|
8365
8368
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8366
8369
|
const t = Nt, r = _t;
|
|
@@ -8406,11 +8409,11 @@ var iv = {}, av = {};
|
|
|
8406
8409
|
numberToWords: i,
|
|
8407
8410
|
numberToOrdinal: a
|
|
8408
8411
|
});
|
|
8409
|
-
})(
|
|
8410
|
-
te(
|
|
8411
|
-
Object.defineProperty(
|
|
8412
|
-
|
|
8413
|
-
var $w = Ie, zw = vt, Kw =
|
|
8412
|
+
})(a1);
|
|
8413
|
+
te(a1);
|
|
8414
|
+
Object.defineProperty(i1, "__esModule", { value: !0 });
|
|
8415
|
+
i1.es = Zw;
|
|
8416
|
+
var $w = Ie, zw = vt, Kw = a1, Jw = Bt, Yw = function(e, t, r) {
|
|
8414
8417
|
return e = "sans serif " + (r ? r + " " + e : e), t ? e + " " + t : e;
|
|
8415
8418
|
}, Yy = null;
|
|
8416
8419
|
function Zw() {
|
|
@@ -8420,14 +8423,14 @@ function Qw() {
|
|
|
8420
8423
|
const e = (0, $w.createLocale)();
|
|
8421
8424
|
return e.NUMBERS = Kw.NUMBERS, e.COMBINERS.sansserif = Yw, e.FUNCTIONS.fracNestDepth = (t) => !1, e.FUNCTIONS.combineRootIndex = zw.combinePostfixIndex, e.FUNCTIONS.combineNestedRadical = (t, r, n) => t + n, e.FUNCTIONS.fontRegexp = (t) => RegExp("^" + t + " "), e.FUNCTIONS.plural = (t) => /.*(a|e|i|o|u)$/.test(t) ? t + "s" : /.*z$/.test(t) ? t.slice(0, -1) + "ces" : /.*c$/.test(t) ? t.slice(0, -1) + "ques" : /.*g$/.test(t) ? t + "ues" : /.*\u00f3n$/.test(t) ? t.slice(0, -2) + "ones" : t + "es", e.FUNCTIONS.si = (t, r) => (r.match(/^metro/) && (t = t.replace(/a$/, "á").replace(/o$/, "ó").replace(/i$/, "í")), t + r), e.ALPHABETS.combiner = Jw.Combiners.prefixCombiner, e;
|
|
8422
8425
|
}
|
|
8423
|
-
var
|
|
8424
|
-
Object.defineProperty(
|
|
8425
|
-
|
|
8426
|
+
var s1 = {};
|
|
8427
|
+
Object.defineProperty(s1, "__esModule", { value: !0 });
|
|
8428
|
+
s1.euro = t8;
|
|
8426
8429
|
var e8 = Ie, Zy = null;
|
|
8427
8430
|
function t8() {
|
|
8428
8431
|
return Zy || (Zy = (0, e8.createLocale)()), Zy;
|
|
8429
8432
|
}
|
|
8430
|
-
var
|
|
8433
|
+
var c1 = {}, l1 = {};
|
|
8431
8434
|
(function(e) {
|
|
8432
8435
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8433
8436
|
const t = Ae, r = Nt, n = _t;
|
|
@@ -8489,11 +8492,11 @@ var cv = {}, lv = {};
|
|
|
8489
8492
|
numberToWords: i,
|
|
8490
8493
|
numberToOrdinal: s
|
|
8491
8494
|
});
|
|
8492
|
-
})(
|
|
8493
|
-
te(
|
|
8494
|
-
Object.defineProperty(
|
|
8495
|
-
|
|
8496
|
-
var r8 = Nt, n8 = Ie, IS = vt, o8 =
|
|
8495
|
+
})(l1);
|
|
8496
|
+
te(l1);
|
|
8497
|
+
Object.defineProperty(c1, "__esModule", { value: !0 });
|
|
8498
|
+
c1.fr = a8;
|
|
8499
|
+
var r8 = Nt, n8 = Ie, IS = vt, o8 = l1, i8 = Bt, Qy = null;
|
|
8497
8500
|
function a8() {
|
|
8498
8501
|
return Qy || (Qy = s8()), Qy;
|
|
8499
8502
|
}
|
|
@@ -8509,7 +8512,7 @@ function s8() {
|
|
|
8509
8512
|
]
|
|
8510
8513
|
}, e;
|
|
8511
8514
|
}
|
|
8512
|
-
var
|
|
8515
|
+
var u1 = {}, p1 = {};
|
|
8513
8516
|
(function(e) {
|
|
8514
8517
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8515
8518
|
const t = Nt, r = _t;
|
|
@@ -8549,11 +8552,11 @@ var uv = {}, pv = {};
|
|
|
8549
8552
|
numberToWords: o,
|
|
8550
8553
|
numberToOrdinal: i
|
|
8551
8554
|
});
|
|
8552
|
-
})(
|
|
8553
|
-
te(
|
|
8554
|
-
Object.defineProperty(
|
|
8555
|
-
|
|
8556
|
-
var c8 = Ie, l8 =
|
|
8555
|
+
})(p1);
|
|
8556
|
+
te(p1);
|
|
8557
|
+
Object.defineProperty(u1, "__esModule", { value: !0 });
|
|
8558
|
+
u1.hi = d8;
|
|
8559
|
+
var c8 = Ie, l8 = p1, u8 = Bt, p8 = vt, e0 = null;
|
|
8557
8560
|
function d8() {
|
|
8558
8561
|
return e0 || (e0 = h8()), e0;
|
|
8559
8562
|
}
|
|
@@ -8561,7 +8564,7 @@ function h8() {
|
|
|
8561
8564
|
const e = (0, c8.createLocale)();
|
|
8562
8565
|
return e.NUMBERS = l8.NUMBERS, e.ALPHABETS.combiner = u8.Combiners.prefixCombiner, e.FUNCTIONS.radicalNestDepth = p8.nestingToString, e;
|
|
8563
8566
|
}
|
|
8564
|
-
var
|
|
8567
|
+
var d1 = {}, h1 = {};
|
|
8565
8568
|
(function(e) {
|
|
8566
8569
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8567
8570
|
const t = _t;
|
|
@@ -8596,11 +8599,11 @@ var dv = {}, hv = {};
|
|
|
8596
8599
|
numberToWords: n,
|
|
8597
8600
|
numberToOrdinal: o
|
|
8598
8601
|
});
|
|
8599
|
-
})(
|
|
8600
|
-
te(
|
|
8601
|
-
Object.defineProperty(
|
|
8602
|
-
|
|
8603
|
-
var t0 = Nt, f8 = Ie, m8 = vt, PS =
|
|
8602
|
+
})(h1);
|
|
8603
|
+
te(h1);
|
|
8604
|
+
Object.defineProperty(d1, "__esModule", { value: !0 });
|
|
8605
|
+
d1.ko = g8;
|
|
8606
|
+
var t0 = Nt, f8 = Ie, m8 = vt, PS = h1, y8 = Bt, r0 = null;
|
|
8604
8607
|
function g8() {
|
|
8605
8608
|
return r0 || (r0 = v8()), r0;
|
|
8606
8609
|
}
|
|
@@ -8633,7 +8636,7 @@ function v8() {
|
|
|
8633
8636
|
return n !== void 0 && r ? n : t;
|
|
8634
8637
|
}, e;
|
|
8635
8638
|
}
|
|
8636
|
-
var
|
|
8639
|
+
var f1 = {}, m1 = {};
|
|
8637
8640
|
(function(e) {
|
|
8638
8641
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8639
8642
|
const t = Nt, r = _t;
|
|
@@ -8681,11 +8684,11 @@ var fv = {}, mv = {};
|
|
|
8681
8684
|
numberToWords: o,
|
|
8682
8685
|
numberToOrdinal: i
|
|
8683
8686
|
});
|
|
8684
|
-
})(
|
|
8685
|
-
te(
|
|
8686
|
-
Object.defineProperty(
|
|
8687
|
-
|
|
8688
|
-
var kS = vt, b8 = Ie, S8 =
|
|
8687
|
+
})(m1);
|
|
8688
|
+
te(m1);
|
|
8689
|
+
Object.defineProperty(f1, "__esModule", { value: !0 });
|
|
8690
|
+
f1.it = M8;
|
|
8691
|
+
var kS = vt, b8 = Ie, S8 = m1, E8 = Bt, x8 = function(e, t, r) {
|
|
8689
8692
|
return e.match(/^[a-zA-Z]$/) && (t = t.replace("cerchiato", "cerchiata")), e = r ? e + " " + r : e, t ? e + " " + t : e;
|
|
8690
8693
|
}, n0 = null;
|
|
8691
8694
|
function M8() {
|
|
@@ -8695,7 +8698,7 @@ function O8() {
|
|
|
8695
8698
|
const e = (0, b8.createLocale)();
|
|
8696
8699
|
return e.NUMBERS = S8.NUMBERS, e.COMBINERS.italianPostfix = x8, e.FUNCTIONS.radicalNestDepth = kS.nestingToString, e.FUNCTIONS.combineRootIndex = kS.combinePostfixIndex, e.FUNCTIONS.combineNestedFraction = (t, r, n) => n.replace(/ $/g, "") + r + t, e.FUNCTIONS.combineNestedRadical = (t, r, n) => n + " " + t, e.FUNCTIONS.fontRegexp = (t) => RegExp(" (en |)" + t + "$"), e.ALPHABETS.combiner = E8.Combiners.romanceCombiner, e;
|
|
8697
8700
|
}
|
|
8698
|
-
var
|
|
8701
|
+
var y1 = {}, jd = {};
|
|
8699
8702
|
(function(e) {
|
|
8700
8703
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8701
8704
|
const t = Ae, r = _t;
|
|
@@ -8782,8 +8785,8 @@ var yv = {}, jd = {};
|
|
|
8782
8785
|
}
|
|
8783
8786
|
})(jd);
|
|
8784
8787
|
te(jd);
|
|
8785
|
-
Object.defineProperty(
|
|
8786
|
-
|
|
8788
|
+
Object.defineProperty(y1, "__esModule", { value: !0 });
|
|
8789
|
+
y1.nb = N8;
|
|
8787
8790
|
var A8 = Ie, T8 = vt, BS = jd, C8 = Bt, o0 = null;
|
|
8788
8791
|
function N8() {
|
|
8789
8792
|
return o0 || (o0 = _8()), o0;
|
|
@@ -8792,7 +8795,7 @@ function _8() {
|
|
|
8792
8795
|
const e = (0, A8.createLocale)();
|
|
8793
8796
|
return e.NUMBERS = BS.NUMBERS, e.ALPHABETS.combiner = C8.Combiners.prefixCombiner, e.ALPHABETS.digitTrans.default = BS.NUMBERS.numberToWords, e.FUNCTIONS.radicalNestDepth = T8.nestingToString, e;
|
|
8794
8797
|
}
|
|
8795
|
-
var
|
|
8798
|
+
var g1 = {}, v1 = {};
|
|
8796
8799
|
(function(e) {
|
|
8797
8800
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8798
8801
|
const t = _t;
|
|
@@ -8805,11 +8808,11 @@ var gv = {}, vv = {};
|
|
|
8805
8808
|
numberToWords: r,
|
|
8806
8809
|
numberToOrdinal: r
|
|
8807
8810
|
});
|
|
8808
|
-
})(
|
|
8809
|
-
te(
|
|
8810
|
-
Object.defineProperty(
|
|
8811
|
-
|
|
8812
|
-
var w8 = Ie, DS =
|
|
8811
|
+
})(v1);
|
|
8812
|
+
te(v1);
|
|
8813
|
+
Object.defineProperty(g1, "__esModule", { value: !0 });
|
|
8814
|
+
g1.nemeth = D8;
|
|
8815
|
+
var w8 = Ie, DS = v1, L8 = Bt, Ls = function(e) {
|
|
8813
8816
|
return e.match(RegExp("^" + Np.ALPHABETS.languagePrefix.english)) ? e.slice(1) : e;
|
|
8814
8817
|
}, R8 = function(e, t, r) {
|
|
8815
8818
|
return e = Ls(e), t ? e + t : e;
|
|
@@ -8835,9 +8838,9 @@ function j8() {
|
|
|
8835
8838
|
parensCombiner: B8
|
|
8836
8839
|
}, e.FUNCTIONS.fracNestDepth = (t) => !1, e.FUNCTIONS.fontRegexp = (t) => RegExp("^" + t), e.FUNCTIONS.si = L8.identityTransformer, e.ALPHABETS.combiner = (t, r, n) => r ? r + n + t : Ls(t), e.ALPHABETS.digitTrans = { default: DS.NUMBERS.numberToWords }, e;
|
|
8837
8840
|
}
|
|
8838
|
-
var
|
|
8839
|
-
Object.defineProperty(
|
|
8840
|
-
|
|
8841
|
+
var b1 = {};
|
|
8842
|
+
Object.defineProperty(b1, "__esModule", { value: !0 });
|
|
8843
|
+
b1.nn = q8;
|
|
8841
8844
|
var F8 = Ie, U8 = vt, jS = jd, H8 = Bt, i0 = null;
|
|
8842
8845
|
function q8() {
|
|
8843
8846
|
return i0 || (i0 = G8()), i0;
|
|
@@ -8850,7 +8853,7 @@ function G8() {
|
|
|
8850
8853
|
all: ["", "alt"]
|
|
8851
8854
|
}, e;
|
|
8852
8855
|
}
|
|
8853
|
-
var
|
|
8856
|
+
var S1 = {}, E1 = {};
|
|
8854
8857
|
(function(e) {
|
|
8855
8858
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.NUMBERS = void 0;
|
|
8856
8859
|
const t = _t;
|
|
@@ -8893,11 +8896,11 @@ var Sv = {}, Ev = {};
|
|
|
8893
8896
|
numberToWords: n,
|
|
8894
8897
|
numberToOrdinal: o
|
|
8895
8898
|
});
|
|
8896
|
-
})(
|
|
8897
|
-
te(
|
|
8898
|
-
Object.defineProperty(
|
|
8899
|
-
|
|
8900
|
-
var X8 = Ie, V8 = vt, FS =
|
|
8899
|
+
})(E1);
|
|
8900
|
+
te(E1);
|
|
8901
|
+
Object.defineProperty(S1, "__esModule", { value: !0 });
|
|
8902
|
+
S1.sv = $8;
|
|
8903
|
+
var X8 = Ie, V8 = vt, FS = E1, W8 = Bt, a0 = null;
|
|
8901
8904
|
function $8() {
|
|
8902
8905
|
return a0 || (a0 = z8()), a0;
|
|
8903
8906
|
}
|
|
@@ -8909,7 +8912,7 @@ function z8() {
|
|
|
8909
8912
|
}
|
|
8910
8913
|
(function(e) {
|
|
8911
8914
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.locales = void 0, e.setLocale = E, e.completeLocale = A;
|
|
8912
|
-
const t = Ae, r = Fo, n = Nt, o =
|
|
8915
|
+
const t = Ae, r = Fo, n = Nt, o = Kv, i = Yv, a = Qv, s = t1, c = n1, l = i1, u = s1, p = c1, d = u1, h = d1, f = f1, m = y1, b = g1, g = b1, v = S1, S = Ie;
|
|
8913
8916
|
e.locales = {
|
|
8914
8917
|
af: o.af,
|
|
8915
8918
|
ca: i.ca,
|
|
@@ -10497,7 +10500,7 @@ function iL(e, t, r) {
|
|
|
10497
10500
|
r
|
|
10498
10501
|
].join(".")) || {};
|
|
10499
10502
|
}
|
|
10500
|
-
var
|
|
10503
|
+
var x1 = {}, M1 = {}, io = {};
|
|
10501
10504
|
Object.defineProperty(io, "__esModule", { value: !0 });
|
|
10502
10505
|
io.nodeCounter = cL;
|
|
10503
10506
|
io.pauseSeparator = lL;
|
|
@@ -10585,7 +10588,7 @@ tn.matchingFences = PL;
|
|
|
10585
10588
|
tn.fencedArguments = BL;
|
|
10586
10589
|
tn.simpleArguments = DL;
|
|
10587
10590
|
tn.wordOrdinal = FL;
|
|
10588
|
-
var
|
|
10591
|
+
var O1 = Ar, bA = he, hL = Ae, Ud = kt, id = Ie, fL = Bt, mL = Nt, yL = io, SA = Gi, EA = ro, gL = Or, le = xe;
|
|
10589
10592
|
function vL(e, t) {
|
|
10590
10593
|
const r = t.split("-"), n = yL.nodeCounter(e, r[0] || ""), o = r[1] || "", i = r[2] || "";
|
|
10591
10594
|
let a = !0;
|
|
@@ -10595,21 +10598,21 @@ function vL(e, t) {
|
|
|
10595
10598
|
};
|
|
10596
10599
|
}
|
|
10597
10600
|
function bL(e) {
|
|
10598
|
-
return
|
|
10601
|
+
return tv(e) || ML(e) || xL(e) || EL(e) || SL(e);
|
|
10599
10602
|
}
|
|
10600
10603
|
function SL(e) {
|
|
10601
|
-
return e.type === le.SemanticType.APPL && (e.childNodes[0].role === le.SemanticRole.PREFIXFUNC || e.childNodes[0].role === le.SemanticRole.SIMPLEFUNC) && (
|
|
10604
|
+
return e.type === le.SemanticType.APPL && (e.childNodes[0].role === le.SemanticRole.PREFIXFUNC || e.childNodes[0].role === le.SemanticRole.SIMPLEFUNC) && (ev(e.childNodes[1]) || e.childNodes[1].type === le.SemanticType.FENCED && ev(e.childNodes[1].childNodes[0]));
|
|
10602
10605
|
}
|
|
10603
10606
|
function EL(e) {
|
|
10604
|
-
return e.type === le.SemanticType.PREFIXOP && e.role === le.SemanticRole.NEGATIVE &&
|
|
10607
|
+
return e.type === le.SemanticType.PREFIXOP && e.role === le.SemanticRole.NEGATIVE && ev(e.childNodes[0]) && e.childNodes[0].type !== le.SemanticType.PREFIXOP && e.childNodes[0].type !== le.SemanticType.APPL && e.childNodes[0].type !== le.SemanticType.PUNCTUATED;
|
|
10605
10608
|
}
|
|
10606
10609
|
function xL(e) {
|
|
10607
10610
|
return e.type === le.SemanticType.PUNCTUATED && e.role === le.SemanticRole.ENDPUNCT && e.childNodes.length === 2 && e.childNodes[1].role === le.SemanticRole.DEGREE && (vi(e.childNodes[0]) || ad(e.childNodes[0]) || e.childNodes[0].type === le.SemanticType.PREFIXOP && e.childNodes[0].role === le.SemanticRole.NEGATIVE && (vi(e.childNodes[0].childNodes[0]) || ad(e.childNodes[0].childNodes[0])));
|
|
10608
10611
|
}
|
|
10609
10612
|
function ML(e) {
|
|
10610
|
-
return vi(e) || e.type === le.SemanticType.INFIXOP && e.role === le.SemanticRole.IMPLICIT && (e.childNodes.length === 2 && (vi(e.childNodes[0]) ||
|
|
10613
|
+
return vi(e) || e.type === le.SemanticType.INFIXOP && e.role === le.SemanticRole.IMPLICIT && (e.childNodes.length === 2 && (vi(e.childNodes[0]) || tv(e.childNodes[0])) && vi(e.childNodes[1]) || e.childNodes.length === 3 && tv(e.childNodes[0]) && vi(e.childNodes[1]) && vi(e.childNodes[2]));
|
|
10611
10614
|
}
|
|
10612
|
-
function
|
|
10615
|
+
function ev(e) {
|
|
10613
10616
|
return e.hasAnnotation("clearspeak", "simple");
|
|
10614
10617
|
}
|
|
10615
10618
|
function vi(e) {
|
|
@@ -10618,7 +10621,7 @@ function vi(e) {
|
|
|
10618
10621
|
function ad(e) {
|
|
10619
10622
|
return e.type === le.SemanticType.NUMBER && (e.role === le.SemanticRole.INTEGER || e.role === le.SemanticRole.FLOAT);
|
|
10620
10623
|
}
|
|
10621
|
-
function
|
|
10624
|
+
function tv(e) {
|
|
10622
10625
|
return ad(e) || OL(e);
|
|
10623
10626
|
}
|
|
10624
10627
|
function OL(e) {
|
|
@@ -10669,7 +10672,7 @@ function LL(e) {
|
|
|
10669
10672
|
}));
|
|
10670
10673
|
function RL(e) {
|
|
10671
10674
|
const t = parseInt(e.textContent, 10);
|
|
10672
|
-
return [
|
|
10675
|
+
return [O1.Span.stringEmpty(isNaN(t) ? e.textContent : t > 10 ? id.LOCALE.NUMBERS.numericOrdinal(t) : id.LOCALE.NUMBERS.wordOrdinal(t))];
|
|
10673
10676
|
}
|
|
10674
10677
|
var US = null;
|
|
10675
10678
|
function IL(e) {
|
|
@@ -10677,7 +10680,7 @@ function IL(e) {
|
|
|
10677
10680
|
const r = e.textContent, n = e.getAttribute("role") === "open" ? 0 : 1;
|
|
10678
10681
|
let o = e.parentNode;
|
|
10679
10682
|
for (; o; ) o.tagName === le.SemanticType.FENCED && o.childNodes[0].childNodes[n].textContent === r && t++, o = o.parentNode;
|
|
10680
|
-
return US = t > 1 ? id.LOCALE.NUMBERS.wordOrdinal(t) : "", [
|
|
10683
|
+
return US = t > 1 ? id.LOCALE.NUMBERS.wordOrdinal(t) : "", [O1.Span.stringEmpty(US)];
|
|
10681
10684
|
}
|
|
10682
10685
|
function PL(e) {
|
|
10683
10686
|
const t = e.previousSibling;
|
|
@@ -10708,7 +10711,7 @@ function jL(e) {
|
|
|
10708
10711
|
return !!e && (e.tagName === le.SemanticType.MATRIX || e.tagName === le.SemanticType.VECTOR);
|
|
10709
10712
|
}
|
|
10710
10713
|
function FL(e) {
|
|
10711
|
-
return [
|
|
10714
|
+
return [O1.Span.stringEmpty(id.LOCALE.NUMBERS.wordOrdinal(parseInt(e.textContent, 10)))];
|
|
10712
10715
|
}
|
|
10713
10716
|
var ve = {}, ao = {};
|
|
10714
10717
|
Object.defineProperty(ao, "__esModule", { value: !0 });
|
|
@@ -10751,10 +10754,10 @@ var ks = {}, Bs = {};
|
|
|
10751
10754
|
};
|
|
10752
10755
|
})(Bs);
|
|
10753
10756
|
te(Bs);
|
|
10754
|
-
var Ds = {}, Zn = {},
|
|
10755
|
-
Object.defineProperty(
|
|
10756
|
-
|
|
10757
|
-
var
|
|
10757
|
+
var Ds = {}, Zn = {}, A1 = {};
|
|
10758
|
+
Object.defineProperty(A1, "__esModule", { value: !0 });
|
|
10759
|
+
A1.reduce = VL;
|
|
10760
|
+
var rv = xe, MA = [];
|
|
10758
10761
|
function GL(e) {
|
|
10759
10762
|
MA.push(e);
|
|
10760
10763
|
}
|
|
@@ -10788,12 +10791,12 @@ var WL = class {
|
|
|
10788
10791
|
}
|
|
10789
10792
|
};
|
|
10790
10793
|
function $L(e, t) {
|
|
10791
|
-
return e.role ===
|
|
10794
|
+
return e.role === rv.SemanticRole.SIMPLEFUNC ? 1 : t.role === rv.SemanticRole.SIMPLEFUNC ? -1 : 0;
|
|
10792
10795
|
}
|
|
10793
|
-
new WL($L,
|
|
10796
|
+
new WL($L, rv.SemanticType.IDENTIFIER);
|
|
10794
10797
|
Object.defineProperty(Zn, "__esModule", { value: !0 });
|
|
10795
10798
|
Zn.SemanticMeaningCollator = Zn.SemanticNodeCollator = Zn.SemanticDefault = void 0;
|
|
10796
|
-
var zL = Or, KL =
|
|
10799
|
+
var zL = Or, KL = A1;
|
|
10797
10800
|
function Qc(e, t) {
|
|
10798
10801
|
return e.match(/^.+:.+$/) || !t ? e : e + ":" + t;
|
|
10799
10802
|
}
|
|
@@ -11031,8 +11034,8 @@ js.SemanticNode = void 0;
|
|
|
11031
11034
|
var ua = he, pR = Or, wu = xe, dR = Fe;
|
|
11032
11035
|
js.SemanticNode = class jn {
|
|
11033
11036
|
static fromXml(t) {
|
|
11034
|
-
const r =
|
|
11035
|
-
return
|
|
11037
|
+
const r = parseInt(t.getAttribute("id"), 10), n = new jn(r);
|
|
11038
|
+
return n.type = t.tagName, jn.setAttribute(n, t, "role"), jn.setAttribute(n, t, "font"), jn.setAttribute(n, t, "embellished"), jn.setAttribute(n, t, "fencepointer", "fencePointer"), t.getAttribute("annotation") && n.parseAnnotation(t.getAttribute("annotation")), dR.addAttributes(n, t), jn.processChildren(n, t), n;
|
|
11036
11039
|
}
|
|
11037
11040
|
static setAttribute(t, r, n, o) {
|
|
11038
11041
|
o = o || n;
|
|
@@ -11272,9 +11275,9 @@ Me.isPrefixFunctionBoundary = SR;
|
|
|
11272
11275
|
Me.isBigOpBoundary = ER;
|
|
11273
11276
|
Me.isIntegralDxBoundary = xR;
|
|
11274
11277
|
Me.isIntegralDxBoundarySingle = MR;
|
|
11275
|
-
Me.isGeneralFunctionBoundary =
|
|
11278
|
+
Me.isGeneralFunctionBoundary = C1;
|
|
11276
11279
|
Me.isEmbellished = OR;
|
|
11277
|
-
Me.isOperator =
|
|
11280
|
+
Me.isOperator = N1;
|
|
11278
11281
|
Me.isRelation = RA;
|
|
11279
11282
|
Me.isPunctuation = IA;
|
|
11280
11283
|
Me.isFence = PA;
|
|
@@ -11291,9 +11294,9 @@ Me.isSimpleFunctionHead = IR;
|
|
|
11291
11294
|
Me.singlePunctAtPosition = PR;
|
|
11292
11295
|
Me.isSimpleFunction = kR;
|
|
11293
11296
|
Me.isSetNode = jR;
|
|
11294
|
-
Me.isSingletonSetContent =
|
|
11297
|
+
Me.isSingletonSetContent = nv;
|
|
11295
11298
|
Me.isUnitCounter = FA;
|
|
11296
|
-
Me.isPureUnit =
|
|
11299
|
+
Me.isPureUnit = ov;
|
|
11297
11300
|
Me.isUnitProduct = qR;
|
|
11298
11301
|
Me.isImplicit = GR;
|
|
11299
11302
|
Me.isImplicitOp = XR;
|
|
@@ -11302,7 +11305,7 @@ Me.compareNeutralFences = VR;
|
|
|
11302
11305
|
Me.elligibleLeftNeutral = WR;
|
|
11303
11306
|
Me.elligibleRightNeutral = $R;
|
|
11304
11307
|
Me.isMembership = zR;
|
|
11305
|
-
var
|
|
11308
|
+
var T1 = Or, $ = xe, GS = Fe;
|
|
11306
11309
|
function Le(e, t) {
|
|
11307
11310
|
return e.type === t;
|
|
11308
11311
|
}
|
|
@@ -11323,22 +11326,22 @@ function bR(e) {
|
|
|
11323
11326
|
return !(r.type === $.SemanticType.INFIXOP && (r.role !== $.SemanticRole.IMPLICIT || r.childNodes.some((n) => Le(n, $.SemanticType.INFIXOP))));
|
|
11324
11327
|
}
|
|
11325
11328
|
function SR(e) {
|
|
11326
|
-
return
|
|
11329
|
+
return N1(e) && !oo(e, $.SemanticRole.DIVISION) || Le(e, $.SemanticType.APPL) || C1(e);
|
|
11327
11330
|
}
|
|
11328
11331
|
function ER(e) {
|
|
11329
|
-
return
|
|
11332
|
+
return N1(e) || C1(e);
|
|
11330
11333
|
}
|
|
11331
11334
|
function xR(e, t) {
|
|
11332
|
-
return !!t && Le(t, $.SemanticType.IDENTIFIER) &&
|
|
11335
|
+
return !!t && Le(t, $.SemanticType.IDENTIFIER) && T1.SemanticMap.Secondary.has(e.textContent, $.SemanticSecondary.D);
|
|
11333
11336
|
}
|
|
11334
11337
|
function MR(e) {
|
|
11335
11338
|
if (Le(e, $.SemanticType.IDENTIFIER)) {
|
|
11336
11339
|
const t = e.textContent[0];
|
|
11337
|
-
return t && e.textContent[1] &&
|
|
11340
|
+
return t && e.textContent[1] && T1.SemanticMap.Secondary.has(t, $.SemanticSecondary.D);
|
|
11338
11341
|
}
|
|
11339
11342
|
return !1;
|
|
11340
11343
|
}
|
|
11341
|
-
function
|
|
11344
|
+
function C1(e) {
|
|
11342
11345
|
return RA(e) || IA(e);
|
|
11343
11346
|
}
|
|
11344
11347
|
function OR(e) {
|
|
@@ -11347,7 +11350,7 @@ function OR(e) {
|
|
|
11347
11350
|
function AR(e) {
|
|
11348
11351
|
return e === $.SemanticType.OPERATOR || e === $.SemanticType.RELATION || e === $.SemanticType.FENCE || e === $.SemanticType.PUNCTUATION;
|
|
11349
11352
|
}
|
|
11350
|
-
function
|
|
11353
|
+
function N1(e) {
|
|
11351
11354
|
return Le(e, $.SemanticType.OPERATOR) || Hd(e, $.SemanticType.OPERATOR);
|
|
11352
11355
|
}
|
|
11353
11356
|
function RA(e) {
|
|
@@ -11439,9 +11442,9 @@ var FR = [
|
|
|
11439
11442
|
$.SemanticType.OVERSCORE,
|
|
11440
11443
|
$.SemanticType.TENSOR
|
|
11441
11444
|
];
|
|
11442
|
-
function
|
|
11445
|
+
function nv(e) {
|
|
11443
11446
|
const t = e.type;
|
|
11444
|
-
return FR.indexOf(t) !== -1 || t === $.SemanticType.INFIXOP && e.role !== $.SemanticRole.IMPLICIT ? !1 : t === $.SemanticType.FENCED ? e.role === $.SemanticRole.LEFTRIGHT ?
|
|
11447
|
+
return FR.indexOf(t) !== -1 || t === $.SemanticType.INFIXOP && e.role !== $.SemanticRole.IMPLICIT ? !1 : t === $.SemanticType.FENCED ? e.role === $.SemanticRole.LEFTRIGHT ? nv(e.childNodes[0]) : !0 : UR.indexOf(t) !== -1 ? nv(e.childNodes[0]) : !0;
|
|
11445
11448
|
}
|
|
11446
11449
|
function HR(e) {
|
|
11447
11450
|
return e.type === $.SemanticType.NUMBER && (e.role === $.SemanticRole.INTEGER || e.role === $.SemanticRole.FLOAT);
|
|
@@ -11449,16 +11452,16 @@ function HR(e) {
|
|
|
11449
11452
|
function FA(e) {
|
|
11450
11453
|
return HR(e) || e.role === $.SemanticRole.VULGAR || e.role === $.SemanticRole.MIXED;
|
|
11451
11454
|
}
|
|
11452
|
-
function
|
|
11455
|
+
function ov(e) {
|
|
11453
11456
|
const t = e.childNodes;
|
|
11454
11457
|
return e.role === $.SemanticRole.UNIT && (!t.length || t[0].role === $.SemanticRole.UNIT);
|
|
11455
11458
|
}
|
|
11456
11459
|
function qR(e) {
|
|
11457
11460
|
const t = e.childNodes;
|
|
11458
|
-
return e.type === $.SemanticType.INFIXOP && (e.role === $.SemanticRole.MULTIPLICATION || e.role === $.SemanticRole.IMPLICIT) && t.length && (
|
|
11461
|
+
return e.type === $.SemanticType.INFIXOP && (e.role === $.SemanticRole.MULTIPLICATION || e.role === $.SemanticRole.IMPLICIT) && t.length && (ov(t[0]) || FA(t[0])) && e.childNodes.slice(1).every(ov);
|
|
11459
11462
|
}
|
|
11460
11463
|
function GR(e) {
|
|
11461
|
-
return e.type === $.SemanticType.INFIXOP && (e.role === $.SemanticRole.IMPLICIT || e.role === $.SemanticRole.UNIT && !!e.contentNodes.length && e.contentNodes[0].textContent ===
|
|
11464
|
+
return e.type === $.SemanticType.INFIXOP && (e.role === $.SemanticRole.IMPLICIT || e.role === $.SemanticRole.UNIT && !!e.contentNodes.length && e.contentNodes[0].textContent === T1.NamedSymbol.invisibleTimes);
|
|
11462
11465
|
}
|
|
11463
11466
|
function XR(e) {
|
|
11464
11467
|
return e.type === $.SemanticType.INFIXOP && e.role === $.SemanticRole.IMPLICIT;
|
|
@@ -12566,7 +12569,7 @@ ve.generateBaselineConstraint = II;
|
|
|
12566
12569
|
ve.removeParens = PI;
|
|
12567
12570
|
ve.generateTensorRules = DI;
|
|
12568
12571
|
ve.smallRoot = jI;
|
|
12569
|
-
var We = Ar, JR = ao,
|
|
12572
|
+
var We = Ar, JR = ao, _1 = he, UA = kt, ee = Ie, Oe = xe, YR = ks, ka = {};
|
|
12570
12573
|
function ZR(e) {
|
|
12571
12574
|
return Array.from(e.textContent).map(We.Span.stringEmpty);
|
|
12572
12575
|
}
|
|
@@ -12612,7 +12615,7 @@ function qd(e, t, r, n, o, i) {
|
|
|
12612
12615
|
n = n || Ll, o = o || {}, i = i || (function(c) {
|
|
12613
12616
|
return !1;
|
|
12614
12617
|
});
|
|
12615
|
-
const a =
|
|
12618
|
+
const a = _1.serializeXml(t);
|
|
12616
12619
|
if (ka[e] || (ka[e] = {}), ka[e][a]) return ka[e][a];
|
|
12617
12620
|
if (i(t) || r.indexOf(t.tagName) < 0) return 0;
|
|
12618
12621
|
const s = qA(t, r, JR.setdifference(n, r), o, i, 0);
|
|
@@ -12620,13 +12623,13 @@ function qd(e, t, r, n, o, i) {
|
|
|
12620
12623
|
}
|
|
12621
12624
|
function rI(e, t) {
|
|
12622
12625
|
if (!e.attributes) return !1;
|
|
12623
|
-
const r =
|
|
12626
|
+
const r = _1.toArray(e.attributes);
|
|
12624
12627
|
for (let n = 0, o; o = r[n]; n++) if (t[o.nodeName] === o.nodeValue) return !0;
|
|
12625
12628
|
return !1;
|
|
12626
12629
|
}
|
|
12627
12630
|
function qA(e, t, r, n, o, i) {
|
|
12628
12631
|
if (o(e) || r.indexOf(e.tagName) > -1 || rI(e, n) || (t.indexOf(e.tagName) > -1 && i++, !e.childNodes || e.childNodes.length === 0)) return i;
|
|
12629
|
-
const a =
|
|
12632
|
+
const a = _1.toArray(e.childNodes);
|
|
12630
12633
|
return Math.max.apply(null, a.map(function(s) {
|
|
12631
12634
|
return qA(s, t, r, n, o, i);
|
|
12632
12635
|
}));
|
|
@@ -12904,8 +12907,8 @@ function XI(e) {
|
|
|
12904
12907
|
const t = FI.toArray(e.parentNode.childNodes);
|
|
12905
12908
|
return Dc.Span.singleton(bi.LOCALE.NUMBERS.numericOrdinal(t.indexOf(e) + 1).toString());
|
|
12906
12909
|
}
|
|
12907
|
-
Object.defineProperty(
|
|
12908
|
-
|
|
12910
|
+
Object.defineProperty(M1, "__esModule", { value: !0 });
|
|
12911
|
+
M1.ClearspeakRules = KI;
|
|
12909
12912
|
var VI = ht, XS = io, Rn = tn, WI = ve, $I = Ho, zI = qi;
|
|
12910
12913
|
function KI() {
|
|
12911
12914
|
zI.addStore(VI.DynamicCstr.BASE_LOCALE + ".speech.clearspeak", "", {
|
|
@@ -12924,7 +12927,7 @@ function KI() {
|
|
|
12924
12927
|
CQFspaceoutNumber: WI.spaceoutNumber
|
|
12925
12928
|
});
|
|
12926
12929
|
}
|
|
12927
|
-
var
|
|
12930
|
+
var w1 = {}, qo = {};
|
|
12928
12931
|
Object.defineProperty(qo, "__esModule", { value: !0 });
|
|
12929
12932
|
qo.baselineVerbose = JI;
|
|
12930
12933
|
qo.baselineBrief = YI;
|
|
@@ -12983,7 +12986,7 @@ $e.ordinalConversion = v5;
|
|
|
12983
12986
|
$e.decreasedOrdinalConversion = b5;
|
|
12984
12987
|
$e.listOrdinalConversion = S5;
|
|
12985
12988
|
$e.checkDepth = E5;
|
|
12986
|
-
$e.getDepthValue =
|
|
12989
|
+
$e.getDepthValue = L1;
|
|
12987
12990
|
var Mt = Ar, Pl = ve, Ee = Ie, wi = kt;
|
|
12988
12991
|
function kl(e, t, r) {
|
|
12989
12992
|
const n = Pl.fractionNestingDepth(e), o = [...Array(n)].map((i) => t);
|
|
@@ -13064,22 +13067,22 @@ function S5(e) {
|
|
|
13064
13067
|
return Mt.Span.singleton(Ee.LOCALE.NUMBERS.wordOrdinal(t.length - r.length));
|
|
13065
13068
|
}
|
|
13066
13069
|
function E5(e) {
|
|
13067
|
-
return
|
|
13070
|
+
return L1(e, []) > 3 ? [] : [e];
|
|
13068
13071
|
}
|
|
13069
|
-
function
|
|
13072
|
+
function L1(e, t) {
|
|
13070
13073
|
const r = e.getAttribute("role");
|
|
13071
13074
|
t.indexOf(r) > -1 || t.push(r);
|
|
13072
13075
|
const n = wi.evalXPath("children/*", e);
|
|
13073
13076
|
let o = 0, i = 0;
|
|
13074
13077
|
return n.length ? (n.forEach((a) => {
|
|
13075
|
-
i =
|
|
13078
|
+
i = L1(a, t), o = i > o ? i : o;
|
|
13076
13079
|
}), o + 1) : 0;
|
|
13077
13080
|
}
|
|
13078
13081
|
var Xd = {};
|
|
13079
13082
|
Object.defineProperty(Xd, "__esModule", { value: !0 });
|
|
13080
13083
|
Xd.unitMultipliers = O5;
|
|
13081
13084
|
Xd.oneLeft = N5;
|
|
13082
|
-
var x5 = xr,
|
|
13085
|
+
var x5 = xr, R1 = kt, M5 = Ie, Lu = xe;
|
|
13083
13086
|
function O5(e, t) {
|
|
13084
13087
|
const r = e;
|
|
13085
13088
|
let n = 0;
|
|
@@ -13097,7 +13100,7 @@ var A5 = [
|
|
|
13097
13100
|
function T5(e) {
|
|
13098
13101
|
for (; e; ) {
|
|
13099
13102
|
if (e.getAttribute("role") === "unit") return !0;
|
|
13100
|
-
const t = e.tagName, r =
|
|
13103
|
+
const t = e.tagName, r = R1.evalXPath("children/*", e);
|
|
13101
13104
|
e = A5.indexOf(t) !== -1 ? r[0] : r[r.length - 1];
|
|
13102
13105
|
}
|
|
13103
13106
|
return !1;
|
|
@@ -13105,7 +13108,7 @@ function T5(e) {
|
|
|
13105
13108
|
function C5(e) {
|
|
13106
13109
|
for (; e; ) {
|
|
13107
13110
|
if (e.getAttribute("role") === "unit") return !0;
|
|
13108
|
-
e =
|
|
13111
|
+
e = R1.evalXPath("children/*", e)[0];
|
|
13109
13112
|
}
|
|
13110
13113
|
return !1;
|
|
13111
13114
|
}
|
|
@@ -13113,12 +13116,12 @@ function N5(e) {
|
|
|
13113
13116
|
for (; e; ) {
|
|
13114
13117
|
if (e.tagName === "number" && e.textContent === "1") return [e];
|
|
13115
13118
|
if (e.tagName !== "infixop" || e.getAttribute("role") !== "multiplication" && e.getAttribute("role") !== "implicit") return [];
|
|
13116
|
-
e =
|
|
13119
|
+
e = R1.evalXPath("children/*", e)[0];
|
|
13117
13120
|
}
|
|
13118
13121
|
return [];
|
|
13119
13122
|
}
|
|
13120
|
-
Object.defineProperty(
|
|
13121
|
-
|
|
13123
|
+
Object.defineProperty(w1, "__esModule", { value: !0 });
|
|
13124
|
+
w1.MathspeakRules = w5;
|
|
13122
13125
|
var Ru = ht, _5 = io, pa = qo, Jt = $e, Se = ve, u0 = Ho, Iu = qi, VS = Xd;
|
|
13123
13126
|
function w5() {
|
|
13124
13127
|
Iu.addStore(Ru.DynamicCstr.BASE_LOCALE + ".speech.mathspeak", "", {
|
|
@@ -13211,7 +13214,7 @@ Tr.indexRadical = F5;
|
|
|
13211
13214
|
Tr.relationIterator = V5;
|
|
13212
13215
|
Tr.implicitIterator = W5;
|
|
13213
13216
|
Tr.contentIterator = z5;
|
|
13214
|
-
var Gn = xr, Dl = Ar, sd = he, WA = kt, Vd = Nt,
|
|
13217
|
+
var Gn = xr, Dl = Ar, sd = he, WA = kt, Vd = Nt, iv = Ae, I1 = Gi, $A = ro, Tt = xe, It = Ie, qs = ve, L5 = io;
|
|
13215
13218
|
function R5(e) {
|
|
13216
13219
|
const t = qs.fractionNestingDepth(e);
|
|
13217
13220
|
return Dl.Span.singleton(new Array(t).join(It.LOCALE.MESSAGES.MS.FRACTION_REPEAT) + It.LOCALE.MESSAGES.MS.FRACTION_START);
|
|
@@ -13231,7 +13234,7 @@ function k5(e) {
|
|
|
13231
13234
|
function B5(e) {
|
|
13232
13235
|
return It.LOCALE.MESSAGES.regexp.HYPER === qs.fractionNestingDepth(e).toString() ? [e] : [];
|
|
13233
13236
|
}
|
|
13234
|
-
function
|
|
13237
|
+
function P1(e, t) {
|
|
13235
13238
|
const r = zA(e);
|
|
13236
13239
|
return Dl.Span.singleton(r === 1 ? t : new Array(r).join(It.LOCALE.MESSAGES.MS.NESTED) + t);
|
|
13237
13240
|
}
|
|
@@ -13240,13 +13243,13 @@ function zA(e, t) {
|
|
|
13240
13243
|
return e.parentNode ? zA(e.parentNode, e.tagName === "root" || e.tagName === "sqrt" ? r + 1 : r) : r;
|
|
13241
13244
|
}
|
|
13242
13245
|
function D5(e) {
|
|
13243
|
-
return
|
|
13246
|
+
return P1(e, It.LOCALE.MESSAGES.MS.STARTROOT);
|
|
13244
13247
|
}
|
|
13245
13248
|
function j5(e) {
|
|
13246
|
-
return
|
|
13249
|
+
return P1(e, It.LOCALE.MESSAGES.MS.ENDROOT);
|
|
13247
13250
|
}
|
|
13248
13251
|
function F5(e) {
|
|
13249
|
-
return
|
|
13252
|
+
return P1(e, It.LOCALE.MESSAGES.MS.ROOTINDEX);
|
|
13250
13253
|
}
|
|
13251
13254
|
function U5(e) {
|
|
13252
13255
|
if (e.length === 1) return "⠠" + e;
|
|
@@ -13281,12 +13284,12 @@ function G5(e, t) {
|
|
|
13281
13284
|
script: t.script
|
|
13282
13285
|
}]);
|
|
13283
13286
|
}
|
|
13284
|
-
(0,
|
|
13287
|
+
(0, I1.register)(new $A.SemanticVisitor("nemeth", "number", G5, { number: !0 }));
|
|
13285
13288
|
function X5(e) {
|
|
13286
13289
|
return e.parent ? [parseInt(e.parent.annotation.depth[0]) + 1] : [1];
|
|
13287
13290
|
}
|
|
13288
|
-
(0,
|
|
13289
|
-
(0,
|
|
13291
|
+
(0, I1.register)(new $A.SemanticVisitor("depth", "depth", X5));
|
|
13292
|
+
(0, I1.activate)("depth", "depth");
|
|
13290
13293
|
function V5(e, t) {
|
|
13291
13294
|
var r;
|
|
13292
13295
|
const n = e.slice(0);
|
|
@@ -13299,7 +13302,7 @@ function V5(e, t) {
|
|
|
13299
13302
|
const h = u ? qs.nestedSubSuper(u, "", {
|
|
13300
13303
|
sup: It.LOCALE.MESSAGES.MS.SUPER,
|
|
13301
13304
|
sub: It.LOCALE.MESSAGES.MS.SUB
|
|
13302
|
-
}) : "", f = u && sd.tagName(u) !== "EMPTY" || o && i && i.previousSibling ? [Gn.AuditoryDescription.create({ text: It.LOCALE.MESSAGES.regexp.SPACE + h }, {})] : [], m = p && sd.tagName(p) !== "EMPTY" || !c.length && i && i.nextSibling ? [Gn.AuditoryDescription.create({ text: It.LOCALE.MESSAGES.regexp.SPACE }, {})] : [], b =
|
|
13305
|
+
}) : "", f = u && sd.tagName(u) !== "EMPTY" || o && i && i.previousSibling ? [Gn.AuditoryDescription.create({ text: It.LOCALE.MESSAGES.regexp.SPACE + h }, {})] : [], m = p && sd.tagName(p) !== "EMPTY" || !c.length && i && i.nextSibling ? [Gn.AuditoryDescription.create({ text: It.LOCALE.MESSAGES.regexp.SPACE }, {})] : [], b = iv.Engine.evaluateNode(l);
|
|
13303
13306
|
return b.unshift(new Gn.AuditoryDescription({
|
|
13304
13307
|
text: "",
|
|
13305
13308
|
layout: `beginrel${s}`
|
|
@@ -13338,7 +13341,7 @@ function z5(e, t) {
|
|
|
13338
13341
|
};
|
|
13339
13342
|
}
|
|
13340
13343
|
function K5(e) {
|
|
13341
|
-
const t = (r) =>
|
|
13344
|
+
const t = (r) => iv.Engine.getInstance().evaluator(r, iv.Engine.getInstance().dynamicCstr);
|
|
13342
13345
|
return Array.from(e).map(t).join("");
|
|
13343
13346
|
}
|
|
13344
13347
|
Vd.Grammar.getInstance().setCorrection("literal", K5);
|
|
@@ -13382,9 +13385,9 @@ function Q5() {
|
|
|
13382
13385
|
CTFimplicitIterator: Gr.implicitIterator
|
|
13383
13386
|
}), za.addStore("euro.braille.default", "nemeth.braille.default", {});
|
|
13384
13387
|
}
|
|
13385
|
-
Object.defineProperty(
|
|
13386
|
-
|
|
13387
|
-
var e6 =
|
|
13388
|
+
Object.defineProperty(x1, "__esModule", { value: !0 });
|
|
13389
|
+
x1.init = r6;
|
|
13390
|
+
var e6 = M1, t6 = w1, d0 = Bl, zS = !1;
|
|
13388
13391
|
function r6() {
|
|
13389
13392
|
zS || ((0, t6.MathspeakRules)(), (0, e6.ClearspeakRules)(), (0, d0.PrefixRules)(), (0, d0.OtherRules)(), (0, d0.BrailleRules)(), zS = !0);
|
|
13390
13393
|
}
|
|
@@ -13443,22 +13446,20 @@ var JA = class wp {
|
|
|
13443
13446
|
switch (r.type) {
|
|
13444
13447
|
case tr.TEXT:
|
|
13445
13448
|
if (n[0] === '"') {
|
|
13446
|
-
const o =
|
|
13449
|
+
const o = av(n, "\\(")[0].trim();
|
|
13447
13450
|
if (o.slice(-1) !== '"') throw new Ka("Invalid string syntax.");
|
|
13448
13451
|
r.content = o, n = n.slice(o.length).trim(), n.indexOf("(") === -1 && (n = "");
|
|
13449
13452
|
break;
|
|
13450
13453
|
}
|
|
13451
13454
|
case tr.NODE:
|
|
13452
|
-
case tr.MULTI:
|
|
13453
|
-
|
|
13454
|
-
|
|
13455
|
-
|
|
13456
|
-
|
|
13457
|
-
break;
|
|
13458
|
-
}
|
|
13459
|
-
r.content = n.substring(0, o).trim(), n = n.slice(o).trim();
|
|
13455
|
+
case tr.MULTI: {
|
|
13456
|
+
const o = n.indexOf(" (");
|
|
13457
|
+
if (o === -1) {
|
|
13458
|
+
r.content = n.trim(), n = "";
|
|
13459
|
+
break;
|
|
13460
13460
|
}
|
|
13461
|
-
|
|
13461
|
+
r.content = n.substring(0, o).trim(), n = n.slice(o).trim();
|
|
13462
|
+
}
|
|
13462
13463
|
}
|
|
13463
13464
|
if (n) {
|
|
13464
13465
|
const o = wp.attributesFromString(n);
|
|
@@ -13468,7 +13469,7 @@ var JA = class wp {
|
|
|
13468
13469
|
}
|
|
13469
13470
|
static attributesFromString(t) {
|
|
13470
13471
|
if (t[0] !== "(" || t.slice(-1) !== ")") throw new Ka("Invalid attribute expression: " + t);
|
|
13471
|
-
const r = {}, n =
|
|
13472
|
+
const r = {}, n = av(t.slice(1, -1), ",");
|
|
13472
13473
|
for (const o of n) {
|
|
13473
13474
|
const i = o.indexOf(":");
|
|
13474
13475
|
if (i === -1) r[o.trim()] = "true";
|
|
@@ -13511,7 +13512,7 @@ var JA = class wp {
|
|
|
13511
13512
|
Qt.Component = JA;
|
|
13512
13513
|
Qt.Action = class Lp {
|
|
13513
13514
|
static fromString(t) {
|
|
13514
|
-
const r =
|
|
13515
|
+
const r = av(t, ";").filter(function(o) {
|
|
13515
13516
|
return o.match(/\S/);
|
|
13516
13517
|
}).map(function(o) {
|
|
13517
13518
|
return o.trim();
|
|
@@ -13548,7 +13549,7 @@ Qt.Action = class Lp {
|
|
|
13548
13549
|
}).join("; ");
|
|
13549
13550
|
}
|
|
13550
13551
|
};
|
|
13551
|
-
var
|
|
13552
|
+
var k1 = class Fc {
|
|
13552
13553
|
static constraintValue(t, r) {
|
|
13553
13554
|
for (let n = 0, o; o = r[n]; n++) if (t.match(o)) return ++n;
|
|
13554
13555
|
return 0;
|
|
@@ -13582,14 +13583,14 @@ var kv = class Fc {
|
|
|
13582
13583
|
return [!0, isNaN(r) ? 0 : r];
|
|
13583
13584
|
}
|
|
13584
13585
|
};
|
|
13585
|
-
Qt.Precondition =
|
|
13586
|
-
|
|
13586
|
+
Qt.Precondition = k1;
|
|
13587
|
+
k1.queryPriorities = [
|
|
13587
13588
|
/^self::\*$/,
|
|
13588
13589
|
/^self::[\w-]+$/,
|
|
13589
13590
|
/^self::\*\[.+\]$/,
|
|
13590
13591
|
/^self::[\w-]+\[.+\]$/
|
|
13591
13592
|
];
|
|
13592
|
-
|
|
13593
|
+
k1.attributePriorities = [
|
|
13593
13594
|
/^@[\w-]+$/,
|
|
13594
13595
|
/^@[\w-]+!=".+"$/,
|
|
13595
13596
|
/^not\(contains\(@[\w-]+,\s*".+"\)\)$/,
|
|
@@ -13602,7 +13603,7 @@ var Ka = class extends n6.SREError {
|
|
|
13602
13603
|
}
|
|
13603
13604
|
};
|
|
13604
13605
|
Qt.OutputError = Ka;
|
|
13605
|
-
function
|
|
13606
|
+
function av(e, t) {
|
|
13606
13607
|
const r = [];
|
|
13607
13608
|
let n = "";
|
|
13608
13609
|
for (; e !== ""; ) {
|
|
@@ -13725,7 +13726,7 @@ $d.SpeechRuleContext = d6;
|
|
|
13725
13726
|
Object.defineProperty(Wd, "__esModule", { value: !0 });
|
|
13726
13727
|
Wd.BaseRuleStore = void 0;
|
|
13727
13728
|
var JS = xr, da = ht, ha = Qt, h6 = $d;
|
|
13728
|
-
Wd.BaseRuleStore = class
|
|
13729
|
+
Wd.BaseRuleStore = class sv {
|
|
13729
13730
|
static compareStaticConstraints_(t, r) {
|
|
13730
13731
|
if (t.length !== r.length) return !1;
|
|
13731
13732
|
for (let n = 0, o; o = t[n]; n++) if (r.indexOf(o) === -1) return !1;
|
|
@@ -13733,7 +13734,7 @@ Wd.BaseRuleStore = class s1 {
|
|
|
13733
13734
|
}
|
|
13734
13735
|
static comparePreconditions_(t, r) {
|
|
13735
13736
|
const n = t.precondition, o = r.precondition;
|
|
13736
|
-
return n.query !== o.query ? !1 :
|
|
13737
|
+
return n.query !== o.query ? !1 : sv.compareStaticConstraints_(n.constraints, o.constraints);
|
|
13737
13738
|
}
|
|
13738
13739
|
constructor() {
|
|
13739
13740
|
this.context = new h6.SpeechRuleContext(), this.parseOrder = da.DynamicCstr.DEFAULT_ORDER, this.parser = new da.DynamicCstrParser(this.parseOrder), this.locale = da.DynamicCstr.DEFAULT_VALUES[da.Axis.LOCALE], this.modality = da.DynamicCstr.DEFAULT_VALUES[da.Axis.MODALITY], this.domain = "", this.initialized = !1, this.inherits = null, this.kind = "standard", this.customTranscriptions = {}, this.preconditions = /* @__PURE__ */ new Map(), this.speechRules_ = [], this.rank = 0, this.parseMethods = {
|
|
@@ -13785,7 +13786,7 @@ Wd.BaseRuleStore = class s1 {
|
|
|
13785
13786
|
});
|
|
13786
13787
|
}
|
|
13787
13788
|
removeDuplicates(t) {
|
|
13788
|
-
for (let r = this.speechRules_.length - 1, n; n = this.speechRules_[r]; r--) n !== t && t.dynamicCstr.equal(n.dynamicCstr) &&
|
|
13789
|
+
for (let r = this.speechRules_.length - 1, n; n = this.speechRules_[r]; r--) n !== t && t.dynamicCstr.equal(n.dynamicCstr) && sv.comparePreconditions_(n, t) && this.speechRules_.splice(r, 1);
|
|
13789
13790
|
}
|
|
13790
13791
|
getSpeechRules() {
|
|
13791
13792
|
return this.speechRules_;
|
|
@@ -14106,7 +14107,7 @@ var ZS;
|
|
|
14106
14107
|
(function(e) {
|
|
14107
14108
|
e.ROOT = "root", e.DYNAMIC = "dynamic", e.QUERY = "query", e.BOOLEAN = "boolean", e.STATIC = "static";
|
|
14108
14109
|
})(ZS || (Gs.TrieNodeKind = ZS = {}));
|
|
14109
|
-
var
|
|
14110
|
+
var B1 = {}, Li = {};
|
|
14110
14111
|
Object.defineProperty(Li, "__esModule", { value: !0 });
|
|
14111
14112
|
Li.StaticTrieNode = Li.AbstractTrieNode = void 0;
|
|
14112
14113
|
var E6 = en, QA = Gs, eT = class {
|
|
@@ -14163,8 +14164,8 @@ var x6 = class extends eT {
|
|
|
14163
14164
|
}
|
|
14164
14165
|
};
|
|
14165
14166
|
Li.StaticTrieNode = x6;
|
|
14166
|
-
Object.defineProperty(
|
|
14167
|
-
|
|
14167
|
+
Object.defineProperty(B1, "__esModule", { value: !0 });
|
|
14168
|
+
B1.getNode = O6;
|
|
14168
14169
|
var QS = he, f0 = kt, eE = Nt, M6 = Is, tT = Li, rT = Li, No = Gs;
|
|
14169
14170
|
function O6(e, t, r) {
|
|
14170
14171
|
switch (e) {
|
|
@@ -14281,7 +14282,7 @@ var C6 = class extends rT.StaticTrieNode {
|
|
|
14281
14282
|
};
|
|
14282
14283
|
Object.defineProperty(Kd, "__esModule", { value: !0 });
|
|
14283
14284
|
Kd.Trie = void 0;
|
|
14284
|
-
var ho = Gs, rE =
|
|
14285
|
+
var ho = Gs, rE = B1;
|
|
14285
14286
|
Kd.Trie = class Ba {
|
|
14286
14287
|
static collectRules_(t) {
|
|
14287
14288
|
const r = [];
|
|
@@ -14384,7 +14385,7 @@ Kd.Trie = class Ba {
|
|
|
14384
14385
|
};
|
|
14385
14386
|
Object.defineProperty(Ps, "__esModule", { value: !0 });
|
|
14386
14387
|
Ps.SpeechRuleEngine = void 0;
|
|
14387
|
-
var Fn = xr, _6 = Ar, fo = en, m0 = he, Un = Ae, fa = je, nE = kt, w6 = qi, L6 =
|
|
14388
|
+
var Fn = xr, _6 = Ar, fo = en, m0 = he, Un = Ae, fa = je, nE = kt, w6 = qi, L6 = x1, oE = is, bt = ht, ma = Nt, R6 = jl, Bu = Qt, I6 = Kd, cv = class Hn {
|
|
14388
14389
|
static getInstance() {
|
|
14389
14390
|
return Hn.instance = Hn.instance || new Hn(), Hn.instance;
|
|
14390
14391
|
}
|
|
@@ -14635,7 +14636,7 @@ var Fn = xr, _6 = Ar, fo = en, m0 = he, Un = Ae, fa = je, nE = kt, w6 = qi, L6 =
|
|
|
14635
14636
|
}), fo.Debugger.getInstance().generateOutput((() => r.map((o) => o.name + "(" + o.dynamicCstr.toString() + ")")).bind(this)), r[0];
|
|
14636
14637
|
}
|
|
14637
14638
|
};
|
|
14638
|
-
Ps.SpeechRuleEngine =
|
|
14639
|
+
Ps.SpeechRuleEngine = cv;
|
|
14639
14640
|
var y0 = /* @__PURE__ */ new Map();
|
|
14640
14641
|
function P6(e, t) {
|
|
14641
14642
|
return t === "braille" && e === "euro" ? new oE.EuroStore() : t === "braille" ? new oE.BrailleStore() : new R6.MathStore();
|
|
@@ -14650,7 +14651,7 @@ function k6(e) {
|
|
|
14650
14651
|
const r = P6(e.locale, e.modality);
|
|
14651
14652
|
return y0.set(t, r), e.inherits && (r.inherits = y0.get(`${e.inherits}.${e.modality}.${e.domain}`)), r.parse(e), r.initialize(), r;
|
|
14652
14653
|
}
|
|
14653
|
-
Un.Engine.nodeEvaluator =
|
|
14654
|
+
Un.Engine.nodeEvaluator = cv.getInstance().evaluateNode.bind(cv.getInstance());
|
|
14654
14655
|
var B6 = [
|
|
14655
14656
|
"⠆",
|
|
14656
14657
|
"⠒",
|
|
@@ -14676,7 +14677,7 @@ var Jd = {};
|
|
|
14676
14677
|
Object.defineProperty(Jd, "__esModule", { value: !0 });
|
|
14677
14678
|
Jd.generateBase = U6;
|
|
14678
14679
|
Jd.generate = H6;
|
|
14679
|
-
var oT = _l, g0 = Ae, iE = ws, Qn = Ie, j6 = vt,
|
|
14680
|
+
var oT = _l, g0 = Ae, iE = ws, Qn = Ie, j6 = vt, D1 = Is, Ja = {
|
|
14680
14681
|
small: ["default"],
|
|
14681
14682
|
capital: ["default"],
|
|
14682
14683
|
digit: ["default"]
|
|
@@ -14691,7 +14692,7 @@ function F6() {
|
|
|
14691
14692
|
function U6() {
|
|
14692
14693
|
for (const e of oT.INTERVALS.values()) {
|
|
14693
14694
|
const t = e.unicode;
|
|
14694
|
-
for (const r of t)
|
|
14695
|
+
for (const r of t) D1.baseStores.set(r, {
|
|
14695
14696
|
key: r,
|
|
14696
14697
|
category: e.category
|
|
14697
14698
|
});
|
|
@@ -14699,7 +14700,7 @@ function U6() {
|
|
|
14699
14700
|
}
|
|
14700
14701
|
function H6(e) {
|
|
14701
14702
|
const t = g0.Engine.getInstance().locale;
|
|
14702
|
-
g0.Engine.getInstance().locale = e, iE.setLocale(),
|
|
14703
|
+
g0.Engine.getInstance().locale = e, iE.setLocale(), D1.changeLocale({ locale: e }), F6();
|
|
14703
14704
|
for (const r of oT.INTERVALS.values()) {
|
|
14704
14705
|
const n = r.unicode;
|
|
14705
14706
|
if ("offset" in r) G6(n, r.font, r.offset || 0);
|
|
@@ -14731,7 +14732,7 @@ function G6(e, t, r) {
|
|
|
14731
14732
|
function aT(e, t, r, n, o, i, a) {
|
|
14732
14733
|
for (let s = 0, c; c = a[s]; s++) {
|
|
14733
14734
|
const l = c in i ? i[c] : i.default, u = c in o ? o[c] : o.default;
|
|
14734
|
-
|
|
14735
|
+
D1.defineRule(c, "default", t, e(l(r), n, u));
|
|
14735
14736
|
}
|
|
14736
14737
|
}
|
|
14737
14738
|
var v0 = y && y.__awaiter || (function(e, t, r, n) {
|
|
@@ -14764,7 +14765,7 @@ var v0 = y && y.__awaiter || (function(e, t, r, n) {
|
|
|
14764
14765
|
Object.defineProperty(wl, "__esModule", { value: !0 });
|
|
14765
14766
|
wl.loadLocale = $6;
|
|
14766
14767
|
wl.standardLoader = lT;
|
|
14767
|
-
var aE = Hi, Rt = Ae, Ip = je,
|
|
14768
|
+
var aE = Hi, Rt = Ae, Ip = je, j1 = Rs, sT = jr, sE = ht, Da = Is, X6 = Ps, V6 = ws, cT = Jd, W6 = {
|
|
14768
14769
|
functions: Da.addFunctionRules,
|
|
14769
14770
|
symbols: Da.addSymbolRules,
|
|
14770
14771
|
units: Da.addUnitRules,
|
|
@@ -14836,7 +14837,7 @@ function pT(e, t) {
|
|
|
14836
14837
|
uT(aE.mapsForIE, e);
|
|
14837
14838
|
}
|
|
14838
14839
|
function Z6(e) {
|
|
14839
|
-
const t =
|
|
14840
|
+
const t = j1.localePath(e);
|
|
14840
14841
|
return new Promise((r, n) => {
|
|
14841
14842
|
sT.SystemExternal.fs.readFile(t, "utf8", (o, i) => {
|
|
14842
14843
|
if (o) return n(o);
|
|
@@ -14845,7 +14846,7 @@ function Z6(e) {
|
|
|
14845
14846
|
});
|
|
14846
14847
|
}
|
|
14847
14848
|
function Q6(e) {
|
|
14848
|
-
const t =
|
|
14849
|
+
const t = j1.localePath(e);
|
|
14849
14850
|
return new Promise((r, n) => {
|
|
14850
14851
|
let o = "{}";
|
|
14851
14852
|
try {
|
|
@@ -14857,7 +14858,7 @@ function Q6(e) {
|
|
|
14857
14858
|
});
|
|
14858
14859
|
}
|
|
14859
14860
|
function e9(e) {
|
|
14860
|
-
const t =
|
|
14861
|
+
const t = j1.localePath(e), r = new XMLHttpRequest();
|
|
14861
14862
|
return new Promise((n, o) => {
|
|
14862
14863
|
r.onreadystatechange = function() {
|
|
14863
14864
|
if (r.readyState === 4) {
|
|
@@ -15028,9 +15029,9 @@ Ur.isMarkupElement = el;
|
|
|
15028
15029
|
Ur.isPauseElement = Ri;
|
|
15029
15030
|
var hE = ao, Wr = je, d9 = Ae, fE = Ar;
|
|
15030
15031
|
function h9(e, t, r) {
|
|
15031
|
-
return e ? { pause:
|
|
15032
|
+
return e ? { pause: F1(e.pause, t.pause, r) } : t;
|
|
15032
15033
|
}
|
|
15033
|
-
function
|
|
15034
|
+
function F1(e, t, r) {
|
|
15034
15035
|
return (r || (function(n, o) {
|
|
15035
15036
|
return typeof n == "number" && typeof o == "number" ? n + o : typeof n == "number" ? o : typeof o == "number" ? n : [e, t].sort()[0];
|
|
15036
15037
|
})).call(null, e, t);
|
|
@@ -15082,7 +15083,7 @@ function mE(e, t) {
|
|
|
15082
15083
|
return;
|
|
15083
15084
|
}
|
|
15084
15085
|
if (Ri(t) && Ri(r)) {
|
|
15085
|
-
r.pause =
|
|
15086
|
+
r.pause = F1(r.pause, t.pause);
|
|
15086
15087
|
return;
|
|
15087
15088
|
}
|
|
15088
15089
|
e.push(t);
|
|
@@ -15145,7 +15146,7 @@ function S9(e, t, r, n, o, i = !1) {
|
|
|
15145
15146
|
let s;
|
|
15146
15147
|
if (a && (s = a[Wr.personalityProps.JOIN]), a && !t.speech && o && Ri(a)) {
|
|
15147
15148
|
const c = Wr.personalityProps.PAUSE;
|
|
15148
|
-
a[c] =
|
|
15149
|
+
a[c] = F1(a[c], o[c]), o = null;
|
|
15149
15150
|
}
|
|
15150
15151
|
if (a && t.speech && Object.keys(r).length === 0 && cd(a)) {
|
|
15151
15152
|
if (typeof s < "u") {
|
|
@@ -15418,11 +15419,11 @@ function tl(e) {
|
|
|
15418
15419
|
const t = k9[zr.tagName(e)];
|
|
15419
15420
|
return t ? t(e) : e.textContent;
|
|
15420
15421
|
}
|
|
15421
|
-
var
|
|
15422
|
+
var lv = /* @__PURE__ */ new Map();
|
|
15422
15423
|
function B9(e) {
|
|
15423
|
-
if (
|
|
15424
|
+
if (lv.clear(), !e) return;
|
|
15424
15425
|
const t = Object.keys(e).map((r) => parseInt(r)).sort();
|
|
15425
|
-
for (let r = 0, n; n = t[r]; r++)
|
|
15426
|
+
for (let r = 0, n; n = t[r]; r++) lv.set(n, r + 1);
|
|
15426
15427
|
}
|
|
15427
15428
|
function D9(e) {
|
|
15428
15429
|
E0 = "";
|
|
@@ -15432,7 +15433,7 @@ function D9(e) {
|
|
|
15432
15433
|
function qa(e, t) {
|
|
15433
15434
|
if (!e || !t) return e + t;
|
|
15434
15435
|
const r = ud(e), n = ud(t), o = r - n;
|
|
15435
|
-
e = o < 0 ?
|
|
15436
|
+
e = o < 0 ? uv(e, n, Ii(e)) : e, t = o > 0 ? uv(t, r, Ii(t)) : t;
|
|
15436
15437
|
const i = e.split(/\r\n|\r|\n/), a = t.split(/\r\n|\r|\n/), s = [];
|
|
15437
15438
|
for (let c = 0; c < i.length; c++) s.push(i[c] + a[c]);
|
|
15438
15439
|
return s.join(`
|
|
@@ -15469,7 +15470,7 @@ function F9(e, t) {
|
|
|
15469
15470
|
return n.join(`
|
|
15470
15471
|
`);
|
|
15471
15472
|
}
|
|
15472
|
-
function
|
|
15473
|
+
function uv(e, t, r) {
|
|
15473
15474
|
return e = j9(e, t), F9(e, r);
|
|
15474
15475
|
}
|
|
15475
15476
|
function Qd(e) {
|
|
@@ -15487,7 +15488,7 @@ function th(e, t) {
|
|
|
15487
15488
|
for (const n of e) {
|
|
15488
15489
|
if (n.height === 0) continue;
|
|
15489
15490
|
const o = [];
|
|
15490
|
-
for (let i = 0; i < n.cells.length; i++) o.push(
|
|
15491
|
+
for (let i = 0; i < n.cells.length; i++) o.push(uv(n.cells[i], n.height, t[i]));
|
|
15491
15492
|
n.cells = o, r.push(n);
|
|
15492
15493
|
}
|
|
15493
15494
|
return r;
|
|
@@ -15596,7 +15597,7 @@ function SE(e) {
|
|
|
15596
15597
|
}
|
|
15597
15598
|
function EE(e) {
|
|
15598
15599
|
if (!ld.Engine.getInstance().linebreaks) return Ei(e);
|
|
15599
|
-
const t =
|
|
15600
|
+
const t = lv.get(parseInt(e.getAttribute("value")));
|
|
15600
15601
|
return (t ? `<br value="${t}"/>` : "") + Ei(e);
|
|
15601
15602
|
}
|
|
15602
15603
|
var nh = {};
|
|
@@ -16004,28 +16005,28 @@ ah.SemanticMathml = class kp extends bP.SemanticAbstractParser {
|
|
|
16004
16005
|
var wo = {};
|
|
16005
16006
|
Object.defineProperty(wo, "__esModule", { value: !0 });
|
|
16006
16007
|
wo.SemanticMmlHeuristic = wo.SemanticMultiHeuristic = wo.SemanticTreeHeuristic = void 0;
|
|
16007
|
-
var
|
|
16008
|
+
var U1 = class {
|
|
16008
16009
|
constructor(e, t, r = (n) => !1) {
|
|
16009
16010
|
this.name = e, this.apply = t, this.applicable = r;
|
|
16010
16011
|
}
|
|
16011
|
-
}, xP = class extends
|
|
16012
|
+
}, xP = class extends U1 {
|
|
16012
16013
|
};
|
|
16013
16014
|
wo.SemanticTreeHeuristic = xP;
|
|
16014
|
-
var MP = class extends
|
|
16015
|
+
var MP = class extends U1 {
|
|
16015
16016
|
};
|
|
16016
16017
|
wo.SemanticMultiHeuristic = MP;
|
|
16017
|
-
var OP = class extends
|
|
16018
|
+
var OP = class extends U1 {
|
|
16018
16019
|
};
|
|
16019
16020
|
wo.SemanticMmlHeuristic = OP;
|
|
16020
16021
|
var so = {}, Re = {};
|
|
16021
16022
|
Object.defineProperty(Re, "__esModule", { value: !0 });
|
|
16022
16023
|
Re.EnrichAttributes = Re.Attribute = void 0;
|
|
16023
|
-
Re.makeIdList =
|
|
16024
|
+
Re.makeIdList = pv;
|
|
16024
16025
|
Re.setAttributes = CP;
|
|
16025
16026
|
Re.removeAttributePrefix = _P;
|
|
16026
16027
|
Re.addPrefix = wP;
|
|
16027
16028
|
Re.addMrow = LP;
|
|
16028
|
-
var AP = he, TP = xe,
|
|
16029
|
+
var AP = he, TP = xe, H1 = "data-semantic-", He;
|
|
16029
16030
|
(function(e) {
|
|
16030
16031
|
e.ADDED = "data-semantic-added", e.ALTERNATIVE = "data-semantic-alternative", e.CHILDREN = "data-semantic-children", e.COLLAPSED = "data-semantic-collapsed", e.CONTENT = "data-semantic-content", e.EMBELLISHED = "data-semantic-embellished", e.FENCEPOINTER = "data-semantic-fencepointer", e.FONT = "data-semantic-font", e.ID = "data-semantic-id", e.ANNOTATION = "data-semantic-annotation", e.ATTRIBUTES = "data-semantic-attributes", e.OPERATOR = "data-semantic-operator", e.OWNS = "data-semantic-owns", e.PARENT = "data-semantic-parent", e.POSTFIX = "data-semantic-postfix", e.PREFIX = "data-semantic-prefix", e.ROLE = "data-semantic-role", e.SPEECH = "data-semantic-speech", e.STRUCTURE = "data-semantic-structure", e.SUMMARY = "data-semantic-summary", e.TYPE = "data-semantic-type";
|
|
16031
16032
|
})(He || (Re.Attribute = He = {}));
|
|
@@ -16052,7 +16053,7 @@ Re.EnrichAttributes = [
|
|
|
16052
16053
|
He.SUMMARY,
|
|
16053
16054
|
He.TYPE
|
|
16054
16055
|
];
|
|
16055
|
-
function
|
|
16056
|
+
function pv(e) {
|
|
16056
16057
|
return e.map(function(t) {
|
|
16057
16058
|
return t.id;
|
|
16058
16059
|
}).join(",");
|
|
@@ -16060,8 +16061,8 @@ function p1(e) {
|
|
|
16060
16061
|
function CP(e, t) {
|
|
16061
16062
|
e.setAttribute(He.TYPE, t.type);
|
|
16062
16063
|
const r = t.allAttributes();
|
|
16063
|
-
for (let o = 0, i; i = r[o]; o++) e.setAttribute(
|
|
16064
|
-
t.childNodes.length && e.setAttribute(He.CHILDREN,
|
|
16064
|
+
for (let o = 0, i; i = r[o]; o++) e.setAttribute(H1 + i[0].toLowerCase(), i[1]);
|
|
16065
|
+
t.childNodes.length && e.setAttribute(He.CHILDREN, pv(t.childNodes)), t.contentNodes.length && e.setAttribute(He.CONTENT, pv(t.contentNodes)), t.parent && e.setAttribute(He.PARENT, t.parent.id.toString());
|
|
16065
16066
|
const n = t.attributesXml();
|
|
16066
16067
|
n && e.setAttribute(He.ATTRIBUTES, n), NP(e, t);
|
|
16067
16068
|
}
|
|
@@ -16070,10 +16071,10 @@ function NP(e, t) {
|
|
|
16070
16071
|
t.role === TP.SemanticRole.MGLYPH && r.push("image"), t.attributes.href && r.push("link"), r.length && e.setAttribute(He.POSTFIX, r.join(" "));
|
|
16071
16072
|
}
|
|
16072
16073
|
function _P(e) {
|
|
16073
|
-
return e.toString().replace(new RegExp(
|
|
16074
|
+
return e.toString().replace(new RegExp(H1, "g"), "");
|
|
16074
16075
|
}
|
|
16075
16076
|
function wP(e) {
|
|
16076
|
-
return
|
|
16077
|
+
return H1 + e;
|
|
16077
16078
|
}
|
|
16078
16079
|
function LP() {
|
|
16079
16080
|
const e = AP.createElement("mrow");
|
|
@@ -16224,7 +16225,7 @@ so.SemanticSkeleton = class Ne {
|
|
|
16224
16225
|
return r(n.slice(1), o), o;
|
|
16225
16226
|
}
|
|
16226
16227
|
};
|
|
16227
|
-
var yo = en, ch = Ae, pd = Or, Et = Bs, sr = wo, ne = xe, dr = Me, ko = ks,
|
|
16228
|
+
var yo = en, ch = Ae, pd = Or, Et = Bs, sr = wo, ne = xe, dr = Me, ko = ks, dv = Fe, IP = so, Bp = Fe, Za = he;
|
|
16228
16229
|
Et.SemanticHeuristics.add(new sr.SemanticTreeHeuristic("combine_juxtaposition", PP));
|
|
16229
16230
|
function PP(e) {
|
|
16230
16231
|
for (let t = e.childNodes.length - 1, r; r = e.childNodes[t]; t--) !dr.isImplicitOp(r) || r.nobreaking || (e.childNodes.splice(t, 1, ...r.childNodes), e.contentNodes.splice(t, 0, ...r.contentNodes), r.childNodes.concat(r.contentNodes).forEach(function(n) {
|
|
@@ -16246,12 +16247,12 @@ Et.SemanticHeuristics.add(new sr.SemanticTreeHeuristic("multioperator", (e) => {
|
|
|
16246
16247
|
e.role !== ne.SemanticRole.UNKNOWN || e.textContent.length <= 1 || (ko.SemanticProcessor.compSemantics(e, "role", ne.SemanticRole), ko.SemanticProcessor.compSemantics(e, "type", ne.SemanticType));
|
|
16247
16248
|
}));
|
|
16248
16249
|
Et.SemanticHeuristics.add(new sr.SemanticMultiHeuristic("convert_juxtaposition", (e) => {
|
|
16249
|
-
let t =
|
|
16250
|
+
let t = dv.partitionNodes(e, function(r) {
|
|
16250
16251
|
return r.textContent === pd.NamedSymbol.invisibleTimes && r.type === ne.SemanticType.OPERATOR;
|
|
16251
16252
|
});
|
|
16252
16253
|
t = t.rel.length ? kP(t) : t, e = t.comp[0];
|
|
16253
16254
|
for (let r = 1, n, o; n = t.comp[r], o = t.rel[r - 1]; r++) e.push(o), e = e.concat(n);
|
|
16254
|
-
return t =
|
|
16255
|
+
return t = dv.partitionNodes(e, function(r) {
|
|
16255
16256
|
return r.textContent === pd.NamedSymbol.invisibleTimes && (r.type === ne.SemanticType.OPERATOR || r.type === ne.SemanticType.INFIXOP);
|
|
16256
16257
|
}), t.rel.length ? ja(t.comp.shift(), t.rel, t.comp) : e;
|
|
16257
16258
|
}));
|
|
@@ -16441,7 +16442,7 @@ Et.SemanticHeuristics.add(new sr.SemanticMultiHeuristic("bracketed_interval", (e
|
|
|
16441
16442
|
}, (e) => {
|
|
16442
16443
|
const t = e[0], r = e[1], n = e.slice(2);
|
|
16443
16444
|
if (!(t && (t.textContent === "]" || t.textContent === "[") && r && (r.textContent === "]" || r.textContent === "["))) return !1;
|
|
16444
|
-
const o =
|
|
16445
|
+
const o = dv.partitionNodes(n, dr.isPunctuation);
|
|
16445
16446
|
return !!(o.rel.length === 1 && o.comp[0].length && o.comp[1].length);
|
|
16446
16447
|
}));
|
|
16447
16448
|
Et.SemanticHeuristics.add(new sr.SemanticMmlHeuristic("function_from_identifiers", (e) => {
|
|
@@ -16510,17 +16511,17 @@ Ws.SemanticTree = class Uc {
|
|
|
16510
16511
|
var $P = new GP.SemanticVisitor("general", "unit", (e, t) => (WP.isUnitProduct(e) && (e.role = XP.SemanticRole.UNIT), !1));
|
|
16511
16512
|
Object.defineProperty(Vs, "__esModule", { value: !0 });
|
|
16512
16513
|
Vs.xmlTree = JP;
|
|
16513
|
-
Vs.getTree =
|
|
16514
|
+
Vs.getTree = q1;
|
|
16514
16515
|
Vs.getTreeFromString = YP;
|
|
16515
16516
|
var zP = he, KP = Ws;
|
|
16516
16517
|
function JP(e) {
|
|
16517
|
-
return
|
|
16518
|
+
return q1(e).xml();
|
|
16518
16519
|
}
|
|
16519
|
-
function
|
|
16520
|
+
function q1(e) {
|
|
16520
16521
|
return new KP.SemanticTree(e);
|
|
16521
16522
|
}
|
|
16522
16523
|
function YP(e) {
|
|
16523
|
-
return
|
|
16524
|
+
return q1(zP.parseInput(e));
|
|
16524
16525
|
}
|
|
16525
16526
|
var ut = {}, lh = {};
|
|
16526
16527
|
(function(e) {
|
|
@@ -16543,15 +16544,15 @@ ut.rewriteMfenced = ST;
|
|
|
16543
16544
|
ut.setOperatorAttribute = xT;
|
|
16544
16545
|
ut.getInnerNode = ql;
|
|
16545
16546
|
ut.collapsePunctuated = g3;
|
|
16546
|
-
var Kt = en, lt = he, ZP = Ae, QP = Or,
|
|
16547
|
+
var Kt = en, lt = he, ZP = Ae, QP = Or, G1 = xe, e3 = Bs, X1 = so, Br = Fe, t3 = Fe, Ct = Re, r3 = lh, Dp = {
|
|
16547
16548
|
collapsed: !0,
|
|
16548
16549
|
implicit: !0,
|
|
16549
16550
|
wiki: !0
|
|
16550
|
-
},
|
|
16551
|
+
}, hv = /* @__PURE__ */ new Map();
|
|
16551
16552
|
function n3(e, t) {
|
|
16552
|
-
|
|
16553
|
+
hv.clear();
|
|
16553
16554
|
const r = lt.cloneNode(e);
|
|
16554
|
-
return ss(t.root), ZP.Engine.getInstance().structure && e.setAttribute(Ct.Attribute.STRUCTURE,
|
|
16555
|
+
return ss(t.root), ZP.Engine.getInstance().structure && e.setAttribute(Ct.Attribute.STRUCTURE, X1.SemanticSkeleton.fromStructure(e, t).toString()), Kt.Debugger.getInstance().generateOutput(() => [
|
|
16555
16556
|
A0(r, "Original MathML", Dp.wiki),
|
|
16556
16557
|
A0(t, "Semantic Tree", Dp.wiki),
|
|
16557
16558
|
A0(e, "Semantically enriched MathML", Dp.wiki)
|
|
@@ -16565,20 +16566,20 @@ function ss(e) {
|
|
|
16565
16566
|
if (e.mathml.length === 1) {
|
|
16566
16567
|
if (Kt.Debugger.getInstance().output("Walktree Case 0"), !e.childNodes.length) return Kt.Debugger.getInstance().output("Walktree Case 0.1"), r = e.mathml[0], Ct.setAttributes(r, e), Kt.Debugger.getInstance().output("WALKING END: " + e.toString()), Hc(r);
|
|
16567
16568
|
const a = e.childNodes[0];
|
|
16568
|
-
if (e.childNodes.length === 1 && a.type ===
|
|
16569
|
+
if (e.childNodes.length === 1 && a.type === G1.SemanticType.EMPTY) return Kt.Debugger.getInstance().output("Walktree Case 0.2"), r = e.mathml[0], Ct.setAttributes(r, e), r.appendChild(ss(a)), Kt.Debugger.getInstance().output("WALKING END: " + e.toString()), Hc(r);
|
|
16569
16570
|
e.childNodes.forEach((s) => {
|
|
16570
16571
|
s.mathml.length || (s.mathml = [ET(s)]);
|
|
16571
16572
|
});
|
|
16572
16573
|
}
|
|
16573
16574
|
const n = e.contentNodes.map(bT);
|
|
16574
16575
|
xT(e, n);
|
|
16575
|
-
const o = e.childNodes.map(ss), i =
|
|
16576
|
+
const o = e.childNodes.map(ss), i = X1.SemanticSkeleton.combineContentChildren(e.type, e.role, n, o);
|
|
16576
16577
|
if (r = e.mathmlTree, r === null) Kt.Debugger.getInstance().output("Walktree Case 1"), r = yT(i, e);
|
|
16577
16578
|
else {
|
|
16578
16579
|
const a = dd(i);
|
|
16579
16580
|
Kt.Debugger.getInstance().output("Walktree Case 2"), a ? (Kt.Debugger.getInstance().output("Walktree Case 2.1"), r = Cn(a)) : (Kt.Debugger.getInstance().output("Walktree Case 2.2"), r = ql(r));
|
|
16580
16581
|
}
|
|
16581
|
-
return r = ST(r), c3(r, i, e),
|
|
16582
|
+
return r = ST(r), c3(r, i, e), hv.has(e.id) || (hv.set(e.id, !0), Ct.setAttributes(r, e)), Kt.Debugger.getInstance().output("WALKING END: " + e.toString()), Hc(r);
|
|
16582
16583
|
}
|
|
16583
16584
|
function yT(e, t) {
|
|
16584
16585
|
const r = d3(e);
|
|
@@ -16671,7 +16672,7 @@ function s3(e, t) {
|
|
|
16671
16672
|
}
|
|
16672
16673
|
function c3(e, t, r) {
|
|
16673
16674
|
if (!t.length || t.length === 1 && e === t[0]) return;
|
|
16674
|
-
const n = r.role ===
|
|
16675
|
+
const n = r.role === G1.SemanticRole.IMPLICIT && e3.SemanticHeuristics.flags.combine_juxtaposition ? a3(e, t, r) : lt.toArray(e.childNodes);
|
|
16675
16676
|
if (!n.length) {
|
|
16676
16677
|
t.forEach(function(i) {
|
|
16677
16678
|
e.appendChild(i);
|
|
@@ -16789,19 +16790,19 @@ function vT(e) {
|
|
|
16789
16790
|
function m3(e) {
|
|
16790
16791
|
const t = Cn(e);
|
|
16791
16792
|
return !t || !Br.hasEmptyTag(t) ? !1 : lt.toArray(t.childNodes).every(function(r) {
|
|
16792
|
-
return r === e ||
|
|
16793
|
+
return r === e || V1(r);
|
|
16793
16794
|
});
|
|
16794
16795
|
}
|
|
16795
|
-
function
|
|
16796
|
+
function V1(e) {
|
|
16796
16797
|
if (e.nodeType !== lt.NodeType.ELEMENT_NODE || !e || Br.hasIgnoreTag(e)) return !0;
|
|
16797
16798
|
const t = lt.toArray(e.childNodes);
|
|
16798
|
-
return !Br.hasEmptyTag(e) && t.length || Br.hasDisplayTag(e) || e.hasAttribute(Ct.Attribute.TYPE) || Br.isOrphanedGlyph(e) ? !1 : lt.toArray(e.childNodes).every(
|
|
16799
|
+
return !Br.hasEmptyTag(e) && t.length || Br.hasDisplayTag(e) || e.hasAttribute(Ct.Attribute.TYPE) || Br.isOrphanedGlyph(e) ? !1 : lt.toArray(e.childNodes).every(V1);
|
|
16799
16800
|
}
|
|
16800
16801
|
function Cn(e) {
|
|
16801
16802
|
return e.parentNode;
|
|
16802
16803
|
}
|
|
16803
16804
|
function y3(e, t) {
|
|
16804
|
-
const r = new
|
|
16805
|
+
const r = new X1.SemanticSkeleton(t);
|
|
16805
16806
|
e.setAttribute(Ct.Attribute.COLLAPSED, r.toString());
|
|
16806
16807
|
}
|
|
16807
16808
|
function bT(e) {
|
|
@@ -16835,9 +16836,9 @@ function ql(e) {
|
|
|
16835
16836
|
const t = lt.toArray(e.childNodes);
|
|
16836
16837
|
if (!t) return e;
|
|
16837
16838
|
const r = t.filter(function(o) {
|
|
16838
|
-
return !
|
|
16839
|
+
return !V1(o);
|
|
16839
16840
|
}), n = [];
|
|
16840
|
-
for (let o = 0, i; i = r[o]; o++) if (Br.hasEmptyTag(i) && i.getAttribute(Ct.Attribute.TYPE) !==
|
|
16841
|
+
for (let o = 0, i; i = r[o]; o++) if (Br.hasEmptyTag(i) && i.getAttribute(Ct.Attribute.TYPE) !== G1.SemanticType.PUNCTUATION) {
|
|
16841
16842
|
const a = ql(i);
|
|
16842
16843
|
a && a !== i && n.push(a);
|
|
16843
16844
|
} else n.push(i);
|
|
@@ -17292,22 +17293,22 @@ lh.factory.push({
|
|
|
17292
17293
|
constr: (e) => new ix.CaseText(e)
|
|
17293
17294
|
});
|
|
17294
17295
|
Object.defineProperty($i, "__esModule", { value: !0 });
|
|
17295
|
-
$i.semanticMathmlNode = $
|
|
17296
|
+
$i.semanticMathmlNode = $1;
|
|
17296
17297
|
$i.semanticMathmlSync = AT;
|
|
17297
17298
|
$i.semanticMathml = i7;
|
|
17298
17299
|
$i.testTranslation = a7;
|
|
17299
17300
|
$i.prepareMmlString = TT;
|
|
17300
|
-
var ax = en,
|
|
17301
|
-
function $
|
|
17302
|
-
const t =
|
|
17301
|
+
var ax = en, W1 = he, r7 = Ae, n7 = Vs, o7 = ut;
|
|
17302
|
+
function $1(e) {
|
|
17303
|
+
const t = W1.cloneNode(e), r = n7.getTree(t);
|
|
17303
17304
|
return o7.enrich(t, r);
|
|
17304
17305
|
}
|
|
17305
17306
|
function AT(e) {
|
|
17306
|
-
return $
|
|
17307
|
+
return $1(W1.parseInput(e));
|
|
17307
17308
|
}
|
|
17308
17309
|
function i7(e, t) {
|
|
17309
17310
|
r7.EnginePromise.getall().then(() => {
|
|
17310
|
-
t($
|
|
17311
|
+
t($1(W1.parseInput(e)));
|
|
17311
17312
|
});
|
|
17312
17313
|
}
|
|
17313
17314
|
function a7(e) {
|
|
@@ -17478,7 +17479,7 @@ function h7(e) {
|
|
|
17478
17479
|
const t = (r) => (r = Math.max(r, 0), r = Math.min(255, r), Math.round(r));
|
|
17479
17480
|
return e.red = t(e.red), e.green = t(e.green), e.blue = t(e.blue), e.alpha = Math.max(e.alpha, 0), e.alpha = Math.min(1, e.alpha), e;
|
|
17480
17481
|
}
|
|
17481
|
-
var
|
|
17482
|
+
var z1 = class Fa {
|
|
17482
17483
|
static toHex(t) {
|
|
17483
17484
|
const r = t.toString(16);
|
|
17484
17485
|
return r.length === 1 ? "0" + r : r;
|
|
@@ -17518,9 +17519,9 @@ var zv = class Fa {
|
|
|
17518
17519
|
};
|
|
17519
17520
|
}
|
|
17520
17521
|
};
|
|
17521
|
-
Bo.ColorPicker =
|
|
17522
|
-
|
|
17523
|
-
|
|
17522
|
+
Bo.ColorPicker = z1;
|
|
17523
|
+
z1.DEFAULT_BACKGROUND_ = "blue";
|
|
17524
|
+
z1.DEFAULT_FOREGROUND_ = "black";
|
|
17524
17525
|
function f7(e, t, r) {
|
|
17525
17526
|
t = t > 1 ? t / 100 : t, r = r > 1 ? r / 100 : r;
|
|
17526
17527
|
const n = (1 - Math.abs(2 * r - 1)) * t, o = n * (1 - Math.abs(e / 60 % 2 - 1)), i = r - n / 2;
|
|
@@ -17594,7 +17595,7 @@ var v7 = he, b7 = zi, S7 = class extends b7.AbstractHighlighter {
|
|
|
17594
17595
|
const n = e.bbox;
|
|
17595
17596
|
if (n && n.w) {
|
|
17596
17597
|
const o = v7.createElement("span"), i = parseFloat(e.style.paddingLeft || "0");
|
|
17597
|
-
o.style.backgroundColor = r.background, o.style.opacity = r.alphaback.toString(), o.style.display = "inline-block", o.style.height = n.h + n.d +
|
|
17598
|
+
o.style.backgroundColor = r.background, o.style.opacity = r.alphaback.toString(), o.style.display = "inline-block", o.style.height = n.h + n.d + 0.1 + "em", o.style.verticalAlign = -n.d + "em", o.style.marginTop = o.style.marginBottom = "-0.05em", o.style.width = n.w + 0 + "em", o.style.marginLeft = i - 0 + "em", o.style.marginRight = -n.w - 0 - i + "em", e.parentNode.insertBefore(o, e), t.box = o;
|
|
17598
17599
|
}
|
|
17599
17600
|
return t;
|
|
17600
17601
|
}
|
|
@@ -17673,7 +17674,7 @@ var lx = he, A7 = zi, T7 = class extends A7.AbstractHighlighter {
|
|
|
17673
17674
|
const a = lx.createElementNS("http://www.w3.org/2000/svg", "g");
|
|
17674
17675
|
e.parentNode.insertBefore(a, e), a.appendChild(e), o = a.getBBox(), a.parentNode.replaceChild(e, a);
|
|
17675
17676
|
} else o = e.getBBox();
|
|
17676
|
-
r.setAttribute("x", (o.x - n).toString()), r.setAttribute("y", (o.y - n).toString()), r.setAttribute("width", (o.width +
|
|
17677
|
+
r.setAttribute("x", (o.x - n).toString()), r.setAttribute("y", (o.y - n).toString()), r.setAttribute("width", (o.width + 80).toString()), r.setAttribute("height", (o.height + 80).toString());
|
|
17677
17678
|
const i = e.getAttribute("transform");
|
|
17678
17679
|
return i && r.setAttribute("transform", i), r.setAttribute("fill", this.colorString().background), r.setAttribute(this.ATTR, "true"), e.parentNode.insertBefore(r, e), t = {
|
|
17679
17680
|
node: r,
|
|
@@ -17718,7 +17719,7 @@ var C7 = he, N7 = kt, _7 = Bo, w7 = $l, L7 = class extends w7.SvgHighlighter {
|
|
|
17718
17719
|
const r = C7.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
17719
17720
|
r.setAttribute("sre-highlighter-added", "true");
|
|
17720
17721
|
const n = 40, o = e.getBBox();
|
|
17721
|
-
r.setAttribute("x", (o.x - n).toString()), r.setAttribute("y", (o.y - n).toString()), r.setAttribute("width", (o.width +
|
|
17722
|
+
r.setAttribute("x", (o.x - n).toString()), r.setAttribute("y", (o.y - n).toString()), r.setAttribute("width", (o.width + 80).toString()), r.setAttribute("height", (o.height + 80).toString());
|
|
17722
17723
|
const i = e.getAttribute("transform");
|
|
17723
17724
|
if (i && r.setAttribute("transform", i), r.setAttribute("fill", this.colorString().background), e.setAttribute(this.ATTR, "true"), e.parentNode.insertBefore(r, e), t = {
|
|
17724
17725
|
node: e,
|
|
@@ -17754,7 +17755,7 @@ $s.update = U7;
|
|
|
17754
17755
|
$s.addEvents = H7;
|
|
17755
17756
|
var R7 = vh, CT = Bo, I7 = zs, P7 = bh, k7 = Sh, B7 = Eh, D7 = $l, j7 = xh;
|
|
17756
17757
|
function F7(e, t, r) {
|
|
17757
|
-
const n = new CT.ColorPicker(e, t), o = new (
|
|
17758
|
+
const n = new CT.ColorPicker(e, t), o = new (fv[r.renderer === "NativeMML" && r.browser === "Safari" ? "MML-CSS" : r.renderer === "SVG" && r.browser === "v3" ? "SVG-V3" : r.renderer] || fv.NativeMML)();
|
|
17758
17759
|
return o.setColor(n), o;
|
|
17759
17760
|
}
|
|
17760
17761
|
function U7(e, t, r) {
|
|
@@ -17762,10 +17763,10 @@ function U7(e, t, r) {
|
|
|
17762
17763
|
r.setColor(n);
|
|
17763
17764
|
}
|
|
17764
17765
|
function H7(e, t, r) {
|
|
17765
|
-
const n =
|
|
17766
|
+
const n = fv[r.renderer];
|
|
17766
17767
|
n && new n().addEvents(e, t);
|
|
17767
17768
|
}
|
|
17768
|
-
var
|
|
17769
|
+
var fv = {
|
|
17769
17770
|
SVG: D7.SvgHighlighter,
|
|
17770
17771
|
"SVG-V3": j7.SvgV3Highlighter,
|
|
17771
17772
|
NativeMML: B7.MmlHighlighter,
|
|
@@ -17780,7 +17781,7 @@ cr.getAttribute = G7;
|
|
|
17780
17781
|
cr.getSemanticRoot = X7;
|
|
17781
17782
|
cr.getBySemanticId = V7;
|
|
17782
17783
|
cr.getAllBySemanticId = W7;
|
|
17783
|
-
var
|
|
17784
|
+
var K1 = he, _o = Re;
|
|
17784
17785
|
function q7(e) {
|
|
17785
17786
|
return e ? e.split(/,/) : [];
|
|
17786
17787
|
}
|
|
@@ -17789,15 +17790,15 @@ function G7(e, t) {
|
|
|
17789
17790
|
}
|
|
17790
17791
|
function X7(e) {
|
|
17791
17792
|
if (e.hasAttribute(_o.Attribute.TYPE) && !e.hasAttribute(_o.Attribute.PARENT)) return e;
|
|
17792
|
-
const t =
|
|
17793
|
+
const t = K1.querySelectorAllByAttr(e, _o.Attribute.TYPE);
|
|
17793
17794
|
for (let r = 0, n; n = t[r]; r++) if (!n.hasAttribute(_o.Attribute.PARENT)) return n;
|
|
17794
17795
|
return e;
|
|
17795
17796
|
}
|
|
17796
17797
|
function V7(e, t) {
|
|
17797
|
-
return e.getAttribute(_o.Attribute.ID) === t ? e :
|
|
17798
|
+
return e.getAttribute(_o.Attribute.ID) === t ? e : K1.querySelectorAllByAttrValue(e, _o.Attribute.ID, t)[0];
|
|
17798
17799
|
}
|
|
17799
17800
|
function W7(e, t) {
|
|
17800
|
-
return e.getAttribute(_o.Attribute.ID) === t ? [e] :
|
|
17801
|
+
return e.getAttribute(_o.Attribute.ID) === t ? [e] : K1.querySelectorAllByAttrValue(e, _o.Attribute.ID, t);
|
|
17801
17802
|
}
|
|
17802
17803
|
Object.defineProperty(Ki, "__esModule", { value: !0 });
|
|
17803
17804
|
Ki.RebuildStree = void 0;
|
|
@@ -17895,7 +17896,7 @@ var rr = {};
|
|
|
17895
17896
|
Object.defineProperty(rr, "__esModule", { value: !0 });
|
|
17896
17897
|
rr.computeSpeech = Oh;
|
|
17897
17898
|
rr.computeMarkup = Q7;
|
|
17898
|
-
rr.recomputeMarkup =
|
|
17899
|
+
rr.recomputeMarkup = J1;
|
|
17899
17900
|
rr.addSpeech = e4;
|
|
17900
17901
|
rr.addModality = t4;
|
|
17901
17902
|
rr.addPrefix = r4;
|
|
@@ -17914,16 +17915,16 @@ function Q7(e) {
|
|
|
17914
17915
|
const t = Oh(e);
|
|
17915
17916
|
return Kl.markup(t);
|
|
17916
17917
|
}
|
|
17917
|
-
function
|
|
17918
|
+
function J1(e) {
|
|
17918
17919
|
const t = Z7(e);
|
|
17919
17920
|
return Kl.markup(t);
|
|
17920
17921
|
}
|
|
17921
17922
|
function e4(e, t, r) {
|
|
17922
|
-
const n = Qa.querySelectorAllByAttrValue(r, "id", t.id.toString())[0], o = n ? Kl.markup(Oh(n)) :
|
|
17923
|
+
const n = Qa.querySelectorAllByAttrValue(r, "id", t.id.toString())[0], o = n ? Kl.markup(Oh(n)) : J1(t);
|
|
17923
17924
|
e.setAttribute(qn.Attribute.SPEECH, o);
|
|
17924
17925
|
}
|
|
17925
17926
|
function t4(e, t, r) {
|
|
17926
|
-
const n =
|
|
17927
|
+
const n = J1(t);
|
|
17927
17928
|
e.setAttribute(r, n);
|
|
17928
17929
|
}
|
|
17929
17930
|
function r4(e, t) {
|
|
@@ -17995,9 +17996,9 @@ function c4(e, t = {}) {
|
|
|
17995
17996
|
var Jl = {};
|
|
17996
17997
|
Object.defineProperty(Jl, "__esModule", { value: !0 });
|
|
17997
17998
|
Jl.ClearspeakPreferences = void 0;
|
|
17998
|
-
var
|
|
17999
|
+
var Y1 = Ae, l4 = je, fi = ht, Zt = ht, u4 = Is, p4 = Ps, ue = xe, bn = class Ao extends fi.DynamicCstr {
|
|
17999
18000
|
static comparator() {
|
|
18000
|
-
return new d4(
|
|
18001
|
+
return new d4(Y1.Engine.getInstance().dynamicCstr, Zt.DynamicProperties.createProp([fi.DynamicCstr.DEFAULT_VALUES[Zt.Axis.LOCALE]], [fi.DynamicCstr.DEFAULT_VALUES[Zt.Axis.MODALITY]], [fi.DynamicCstr.DEFAULT_VALUES[Zt.Axis.DOMAIN]], [fi.DynamicCstr.DEFAULT_VALUES[Zt.Axis.STYLE]]));
|
|
18001
18002
|
}
|
|
18002
18003
|
static fromPreference(t) {
|
|
18003
18004
|
const r = t.split(":"), n = {}, o = I0.getProperties(), i = Object.keys(o);
|
|
@@ -18401,8 +18402,8 @@ var I0 = new Zt.DynamicProperties({
|
|
|
18401
18402
|
}
|
|
18402
18403
|
return e;
|
|
18403
18404
|
})();
|
|
18404
|
-
|
|
18405
|
-
|
|
18405
|
+
Y1.Engine.getInstance().comparators.clearspeak = bn.comparator;
|
|
18406
|
+
Y1.Engine.getInstance().parsers.clearspeak = new h4();
|
|
18406
18407
|
Object.defineProperty(co, "__esModule", { value: !0 });
|
|
18407
18408
|
co.AbstractSpeechGenerator = void 0;
|
|
18408
18409
|
var y4 = _s, ux = Re, px = Ki, g4 = rr, dx = je, P0 = Ie, Oc = Jl, v4 = class {
|
|
@@ -18597,10 +18598,10 @@ Rh.Focus = void 0;
|
|
|
18597
18598
|
var yx = cr;
|
|
18598
18599
|
Rh.Focus = class mi {
|
|
18599
18600
|
static factory(t, r, n, o) {
|
|
18600
|
-
const i = (
|
|
18601
|
-
return a[
|
|
18602
|
-
}), a[t]);
|
|
18603
|
-
return
|
|
18601
|
+
const i = (p) => yx.getBySemanticId(o, p), a = n.nodeDict, s = i(t), c = r.map(i), l = r.map(function(p) {
|
|
18602
|
+
return a[p];
|
|
18603
|
+
}), u = new mi(l, a[t]);
|
|
18604
|
+
return u.domNodes = c, u.domPrimary_ = s, u.allNodes = mi.generateAllVisibleNodes_(r, c, a, o), u;
|
|
18604
18605
|
}
|
|
18605
18606
|
static generateAllVisibleNodes_(t, r, n, o) {
|
|
18606
18607
|
let i = [];
|
|
@@ -18670,7 +18671,7 @@ Pi.WalkerState = wT;
|
|
|
18670
18671
|
wT.STATE = {};
|
|
18671
18672
|
Object.defineProperty(Ks, "__esModule", { value: !0 });
|
|
18672
18673
|
Ks.AbstractWalker = void 0;
|
|
18673
|
-
var D0 = xr, Ku = Fr, j0 = he, z4 = _s, ir = $r, kn = Re, F0 = Ie, U0 = Nt, K4 = so, J4 = zl, Ea = rr, vx = Rh, Y4 = Ki, pt = Pi, Xr = cr, H0 = kt,
|
|
18674
|
+
var D0 = xr, Ku = Fr, j0 = he, z4 = _s, ir = $r, kn = Re, F0 = Ie, U0 = Nt, K4 = so, J4 = zl, Ea = rr, vx = Rh, Y4 = Ki, pt = Pi, Xr = cr, H0 = kt, Z1 = class Ua {
|
|
18674
18675
|
constructor(t, r, n, o) {
|
|
18675
18676
|
this.node = t, this.generator = r, this.highlighter = n, this.modifier = !1, this.keyMapping = /* @__PURE__ */ new Map([
|
|
18676
18677
|
[ir.KeyCode.UP, this.up.bind(this)],
|
|
@@ -18948,9 +18949,9 @@ var D0 = xr, Ku = Fr, j0 = he, z4 = _s, ir = $r, kn = Re, F0 = Ie, U0 = Nt, K4 =
|
|
|
18948
18949
|
return r.setAttribute("alternative", n), i;
|
|
18949
18950
|
}
|
|
18950
18951
|
};
|
|
18951
|
-
Ks.AbstractWalker =
|
|
18952
|
-
|
|
18953
|
-
|
|
18952
|
+
Ks.AbstractWalker = Z1;
|
|
18953
|
+
Z1.ID_COUNTER = 0;
|
|
18954
|
+
Z1.SRE_ID_ATTR = "sre-explorer-id";
|
|
18954
18955
|
Object.defineProperty(Lh, "__esModule", { value: !0 });
|
|
18955
18956
|
Lh.DummyWalker = void 0;
|
|
18956
18957
|
var Z4 = Ks, Q4 = class extends Z4.AbstractWalker {
|
|
@@ -19197,7 +19198,7 @@ Ql.SyntaxWalker = ik;
|
|
|
19197
19198
|
var Ph = {};
|
|
19198
19199
|
Object.defineProperty(Ph, "__esModule", { value: !0 });
|
|
19199
19200
|
Ph.TableWalker = void 0;
|
|
19200
|
-
var Sx = he, Lr = $r, ar = xe, ak = Ql, Ac = Pi,
|
|
19201
|
+
var Sx = he, Lr = $r, ar = xe, ak = Ql, Ac = Pi, Q1 = class mv extends ak.SyntaxWalker {
|
|
19201
19202
|
constructor(t, r, n, o) {
|
|
19202
19203
|
super(t, r, n, o), this.node = t, this.generator = r, this.highlighter = n, this.firstJump = null, this.key_ = null, this.row_ = 0, this.currentTable_ = null, this.keyMapping.set(Lr.KeyCode.ZERO, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.ONE, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.TWO, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.THREE, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.FOUR, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.FIVE, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.SIX, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.SEVEN, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.EIGHT, this.jumpCell.bind(this)), this.keyMapping.set(Lr.KeyCode.NINE, this.jumpCell.bind(this));
|
|
19203
19204
|
}
|
|
@@ -19228,7 +19229,7 @@ var Sx = he, Lr = $r, ar = xe, ak = Ql, Ac = Pi, Qv = class m1 extends ak.Syntax
|
|
|
19228
19229
|
}
|
|
19229
19230
|
eligibleCell_() {
|
|
19230
19231
|
const t = this.getFocus().getSemanticPrimary();
|
|
19231
|
-
return this.modifier && t.type === ar.SemanticType.CELL &&
|
|
19232
|
+
return this.modifier && t.type === ar.SemanticType.CELL && mv.ELIGIBLE_CELL_ROLES.indexOf(t.role) !== -1;
|
|
19232
19233
|
}
|
|
19233
19234
|
verticalMove_(t) {
|
|
19234
19235
|
const r = this.previousLevel();
|
|
@@ -19261,14 +19262,14 @@ var Sx = he, Lr = $r, ar = xe, ak = Ql, Ac = Pi, Qv = class m1 extends ak.Syntax
|
|
|
19261
19262
|
isInTable_() {
|
|
19262
19263
|
let t = this.getFocus().getSemanticPrimary();
|
|
19263
19264
|
for (; t; ) {
|
|
19264
|
-
if (
|
|
19265
|
+
if (mv.ELIGIBLE_TABLE_TYPES.indexOf(t.type) !== -1) return this.currentTable_ = t, !0;
|
|
19265
19266
|
t = t.parent;
|
|
19266
19267
|
}
|
|
19267
19268
|
return !1;
|
|
19268
19269
|
}
|
|
19269
19270
|
};
|
|
19270
|
-
Ph.TableWalker =
|
|
19271
|
-
|
|
19271
|
+
Ph.TableWalker = Q1;
|
|
19272
|
+
Q1.ELIGIBLE_CELL_ROLES = [
|
|
19272
19273
|
ar.SemanticRole.DETERMINANT,
|
|
19273
19274
|
ar.SemanticRole.ROWVECTOR,
|
|
19274
19275
|
ar.SemanticRole.BINOMIAL,
|
|
@@ -19279,7 +19280,7 @@ Qv.ELIGIBLE_CELL_ROLES = [
|
|
|
19279
19280
|
ar.SemanticRole.CASES,
|
|
19280
19281
|
ar.SemanticRole.TABLE
|
|
19281
19282
|
];
|
|
19282
|
-
|
|
19283
|
+
Q1.ELIGIBLE_TABLE_TYPES = [
|
|
19283
19284
|
ar.SemanticType.MULTILINE,
|
|
19284
19285
|
ar.SemanticType.MATRIX,
|
|
19285
19286
|
ar.SemanticType.VECTOR,
|
|
@@ -19328,7 +19329,7 @@ Object.defineProperty(Fl, "__esModule", { value: !0 });
|
|
|
19328
19329
|
Fl.process = Bh;
|
|
19329
19330
|
Fl.output = bk;
|
|
19330
19331
|
Fl.keypress = Sk;
|
|
19331
|
-
var Lo = Fr, hk = $i, fk = $s, tb = Ie, nl = Vs,
|
|
19332
|
+
var Lo = Fr, hk = $i, fk = $s, tb = Ie, nl = Vs, yv = zl, ls = rr, mk = wh, yk = cr, gk = Ki, Kr = he, er = Ae, xi = je, dt = cs, gv = kt, PT = /* @__PURE__ */ new Map();
|
|
19332
19333
|
function Nr(e) {
|
|
19333
19334
|
PT.set(e.name, e);
|
|
19334
19335
|
}
|
|
@@ -19373,7 +19374,7 @@ Nr(new dt.Processor("semantic", {
|
|
|
19373
19374
|
const n = Kr.cloneNode(e);
|
|
19374
19375
|
let o = ls.computeMarkup(n);
|
|
19375
19376
|
if (r === xi.Speech.SHALLOW) return e.setAttribute("speech", Lo.finalize(o)), e;
|
|
19376
|
-
const i =
|
|
19377
|
+
const i = gv.evalXPath(".//*[@id]", e), a = gv.evalXPath(".//*[@id]", n);
|
|
19377
19378
|
for (let s = 0, c, l; c = i[s], l = a[s]; s++) o = ls.computeMarkup(l), c.setAttribute("speech", Lo.finalize(o));
|
|
19378
19379
|
return e;
|
|
19379
19380
|
},
|
|
@@ -19402,7 +19403,7 @@ Nr(new dt.Processor("json", {
|
|
|
19402
19403
|
const n = Kr.parseInput(t), o = nl.xmlTree(n), i = ls.computeMarkup(o);
|
|
19403
19404
|
if (r === xi.Speech.SHALLOW) return e.stree.speech = Lo.finalize(i), e;
|
|
19404
19405
|
const a = (s) => {
|
|
19405
|
-
const c =
|
|
19406
|
+
const c = gv.evalXPath(`.//*[@id=${s.id}]`, o)[0], l = ls.computeMarkup(c);
|
|
19406
19407
|
s.speech = Lo.finalize(l), s.children && s.children.forEach(a);
|
|
19407
19408
|
};
|
|
19408
19409
|
return a(e.stree), e;
|
|
@@ -19437,11 +19438,10 @@ Nr(new dt.Processor("enriched", {
|
|
|
19437
19438
|
case xi.Speech.NONE:
|
|
19438
19439
|
break;
|
|
19439
19440
|
case xi.Speech.SHALLOW:
|
|
19440
|
-
n =
|
|
19441
|
+
n = yv.generator("Adhoc"), n.getSpeech(r, e);
|
|
19441
19442
|
break;
|
|
19442
19443
|
case xi.Speech.DEEP:
|
|
19443
|
-
n =
|
|
19444
|
-
break;
|
|
19444
|
+
n = yv.generator("Tree"), n.getSpeech(e, e);
|
|
19445
19445
|
}
|
|
19446
19446
|
return e;
|
|
19447
19447
|
},
|
|
@@ -19459,7 +19459,7 @@ Nr(new dt.Processor("rebuild", {
|
|
|
19459
19459
|
}));
|
|
19460
19460
|
Nr(new dt.Processor("walker", {
|
|
19461
19461
|
processor: function(e) {
|
|
19462
|
-
const t =
|
|
19462
|
+
const t = yv.generator("Node");
|
|
19463
19463
|
dt.Processor.LocalState.speechGenerator = t, t.setOptions({
|
|
19464
19464
|
modality: er.Engine.getInstance().modality,
|
|
19465
19465
|
locale: er.Engine.getInstance().locale,
|
|
@@ -23574,14 +23574,14 @@ of.asyncLoad = eD;
|
|
|
23574
23574
|
e.numeric = c;
|
|
23575
23575
|
})(Yi);
|
|
23576
23576
|
te(Yi);
|
|
23577
|
-
var
|
|
23578
|
-
return
|
|
23577
|
+
var vv = y && y.__assign || (function() {
|
|
23578
|
+
return vv = Object.assign || (function(e) {
|
|
23579
23579
|
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
23580
23580
|
t = arguments[r];
|
|
23581
23581
|
for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
|
|
23582
23582
|
}
|
|
23583
23583
|
return e;
|
|
23584
|
-
}),
|
|
23584
|
+
}), vv.apply(this, arguments);
|
|
23585
23585
|
}), tD = y && y.__createBinding || (Object.create ? function(e, t, r, n) {
|
|
23586
23586
|
n === void 0 && (n = r);
|
|
23587
23587
|
var o = Object.getOwnPropertyDescriptor(t, r);
|
|
@@ -23675,7 +23675,6 @@ nf.MathMLCompile = (function() {
|
|
|
23675
23675
|
break;
|
|
23676
23676
|
case "script-align":
|
|
23677
23677
|
t.setProperty("scriptalign", u);
|
|
23678
|
-
break;
|
|
23679
23678
|
}
|
|
23680
23679
|
else if (l !== "class") {
|
|
23681
23680
|
var p = u.toLowerCase();
|
|
@@ -23754,7 +23753,7 @@ nf.MathMLCompile = (function() {
|
|
|
23754
23753
|
}, e.OPTIONS = {
|
|
23755
23754
|
MmlFactory: null,
|
|
23756
23755
|
fixMisplacedChildren: !0,
|
|
23757
|
-
verify:
|
|
23756
|
+
verify: vv({}, eM.AbstractMmlNode.verifyDefaults),
|
|
23758
23757
|
translateEntities: !0
|
|
23759
23758
|
}, e;
|
|
23760
23759
|
})();
|
|
@@ -23959,7 +23958,7 @@ var ab = {}, Qe = {}, Z0 = y && y.__values || (function(e) {
|
|
|
23959
23958
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
23960
23959
|
});
|
|
23961
23960
|
Object.defineProperty(Qe, "__esModule", { value: !0 });
|
|
23962
|
-
var sM = ce, dD = Ui,
|
|
23961
|
+
var sM = ce, dD = Ui, bv;
|
|
23963
23962
|
(function(e) {
|
|
23964
23963
|
var t = /* @__PURE__ */ new Map([
|
|
23965
23964
|
["autoOP", !0],
|
|
@@ -24105,8 +24104,8 @@ var sM = ce, dD = Ui, b1;
|
|
|
24105
24104
|
return null;
|
|
24106
24105
|
}
|
|
24107
24106
|
e.getForm = O;
|
|
24108
|
-
})(
|
|
24109
|
-
Qe.default =
|
|
24107
|
+
})(bv || (bv = {}));
|
|
24108
|
+
Qe.default = bv;
|
|
24110
24109
|
var oi = y && y.__values || (function(e) {
|
|
24111
24110
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
24112
24111
|
if (r) return r.call(e);
|
|
@@ -24121,7 +24120,7 @@ var oi = y && y.__values || (function(e) {
|
|
|
24121
24120
|
return e && e.__esModule ? e : { default: e };
|
|
24122
24121
|
});
|
|
24123
24122
|
Object.defineProperty(ab, "__esModule", { value: !0 });
|
|
24124
|
-
var cM = ce, zt = hD(Qe),
|
|
24123
|
+
var cM = ce, zt = hD(Qe), Sv;
|
|
24125
24124
|
(function(e) {
|
|
24126
24125
|
e.cleanStretchy = function(i) {
|
|
24127
24126
|
var a, s, c = i.data;
|
|
@@ -24294,8 +24293,8 @@ var cM = ce, zt = hD(Qe), S1;
|
|
|
24294
24293
|
}, e.setInherited = function(i) {
|
|
24295
24294
|
i.data.root.setInheritedAttributes({}, i.math.display, 0, !1);
|
|
24296
24295
|
};
|
|
24297
|
-
})(
|
|
24298
|
-
ab.default =
|
|
24296
|
+
})(Sv || (Sv = {}));
|
|
24297
|
+
ab.default = Sv;
|
|
24299
24298
|
var Xt = {}, Ge = {}, Be = {};
|
|
24300
24299
|
Object.defineProperty(Be, "__esModule", { value: !0 });
|
|
24301
24300
|
Be.default = (function() {
|
|
@@ -24341,7 +24340,7 @@ var op = y && y.__read || (function(e, t) {
|
|
|
24341
24340
|
return e && e.__esModule ? e : { default: e };
|
|
24342
24341
|
});
|
|
24343
24342
|
Object.defineProperty(Ge, "__esModule", { value: !0 });
|
|
24344
|
-
var Ma = ce, tt = sb(Qe), Oa = sb(Xt), vo = sb(Be), uM = Yi,
|
|
24343
|
+
var Ma = ce, tt = sb(Qe), Oa = sb(Xt), vo = sb(Be), uM = Yi, Ev;
|
|
24345
24344
|
(function(e) {
|
|
24346
24345
|
var t = 7.2, r = 72, n = {
|
|
24347
24346
|
em: function(U) {
|
|
@@ -24654,8 +24653,8 @@ var Ma = ce, tt = sb(Qe), Oa = sb(Xt), vo = sb(Be), uM = Yi, E1;
|
|
|
24654
24653
|
U.slice(X)
|
|
24655
24654
|
];
|
|
24656
24655
|
}
|
|
24657
|
-
})(
|
|
24658
|
-
Ge.default =
|
|
24656
|
+
})(Ev || (Ev = {}));
|
|
24657
|
+
Ge.default = Ev;
|
|
24659
24658
|
var sf = {}, fD = y && y.__values || (function(e) {
|
|
24660
24659
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
24661
24660
|
if (r) return r.call(e);
|
|
@@ -24914,7 +24913,6 @@ Xt.default = (function() {
|
|
|
24914
24913
|
break;
|
|
24915
24914
|
case "}":
|
|
24916
24915
|
if (--o === 0) return this.string.slice(n, this.i - 1);
|
|
24917
|
-
break;
|
|
24918
24916
|
}
|
|
24919
24917
|
throw new pn.default("MissingCloseBrace", "Missing close brace");
|
|
24920
24918
|
}
|
|
@@ -24934,7 +24932,6 @@ Xt.default = (function() {
|
|
|
24934
24932
|
break;
|
|
24935
24933
|
case "]":
|
|
24936
24934
|
if (o === 0) return this.string.slice(n, this.i - 1);
|
|
24937
|
-
break;
|
|
24938
24935
|
}
|
|
24939
24936
|
throw new pn.default("MissingCloseBracket", "Could not find closing ']' for argument to %1", this.currentCS);
|
|
24940
24937
|
}, e.prototype.GetDelimiter = function(t, r) {
|
|
@@ -24964,7 +24961,6 @@ Xt.default = (function() {
|
|
|
24964
24961
|
case "}":
|
|
24965
24962
|
if (o === 0) throw new pn.default("ExtraCloseLooking", "Extra close brace while looking for %1", r);
|
|
24966
24963
|
o--;
|
|
24967
|
-
break;
|
|
24968
24964
|
}
|
|
24969
24965
|
if (o === 0 && a === r) return this.string.slice(n, i);
|
|
24970
24966
|
}
|
|
@@ -25002,7 +24998,7 @@ var cf = {}, lb = {}, Jr = {}, ED = y && y.__extends || /* @__PURE__ */ (functio
|
|
|
25002
24998
|
}
|
|
25003
24999
|
t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
|
|
25004
25000
|
};
|
|
25005
|
-
})(),
|
|
25001
|
+
})(), xv = y && y.__read || (function(e, t) {
|
|
25006
25002
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
25007
25003
|
if (!r) return e;
|
|
25008
25004
|
var n = r.call(e), o, i = [], a;
|
|
@@ -25048,7 +25044,7 @@ var hM = MD(Be), zT = (function() {
|
|
|
25048
25044
|
configurable: !0
|
|
25049
25045
|
}), e.prototype.Push = function() {
|
|
25050
25046
|
for (var t, r = [], n = 0; n < arguments.length; n++) r[n] = arguments[n];
|
|
25051
|
-
(t = this._nodes).push.apply(t, dM([],
|
|
25047
|
+
(t = this._nodes).push.apply(t, dM([], xv(r), !1));
|
|
25052
25048
|
}, e.prototype.Pop = function() {
|
|
25053
25049
|
return this._nodes.pop();
|
|
25054
25050
|
}, Object.defineProperty(e.prototype, "First", {
|
|
@@ -25079,7 +25075,7 @@ var hM = MD(Be), zT = (function() {
|
|
|
25079
25075
|
return t === void 0 && (t = !0), this._nodes.length === 1 && !r ? this.First : this.create("node", t ? "inferredMrow" : "mrow", this._nodes, {});
|
|
25080
25076
|
}, e.prototype.create = function(t) {
|
|
25081
25077
|
for (var r, n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
|
|
25082
|
-
return (r = this.factory.configuration.nodeFactory).create.apply(r, dM([t],
|
|
25078
|
+
return (r = this.factory.configuration.nodeFactory).create.apply(r, dM([t], xv(n), !1));
|
|
25083
25079
|
}, e;
|
|
25084
25080
|
})();
|
|
25085
25081
|
Jr.MmlStack = zT;
|
|
@@ -25141,7 +25137,7 @@ Jr.BaseItem = (function(e) {
|
|
|
25141
25137
|
throw new hM.default("Misplaced", "Misplaced %1", r.getName());
|
|
25142
25138
|
}
|
|
25143
25139
|
if (r.isClose && this.getErrors(r.kind)) {
|
|
25144
|
-
var n =
|
|
25140
|
+
var n = xv(this.getErrors(r.kind), 2), o = n[0], i = n[1];
|
|
25145
25141
|
throw new hM.default(o, i, r.getName());
|
|
25146
25142
|
}
|
|
25147
25143
|
return r.isFinal ? (this.Push(r.First), t.fail) : t.success;
|
|
@@ -26221,7 +26217,7 @@ var pe = {}, ft = y && y.__extends || /* @__PURE__ */ (function() {
|
|
|
26221
26217
|
}
|
|
26222
26218
|
}
|
|
26223
26219
|
return i;
|
|
26224
|
-
}),
|
|
26220
|
+
}), Mv = y && y.__spreadArray || (function(e, t, r) {
|
|
26225
26221
|
if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++) (i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
26226
26222
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
26227
26223
|
}), hb = y && y.__importDefault || (function(e) {
|
|
@@ -26356,7 +26352,7 @@ pe.SubsupItem = (function(e) {
|
|
|
26356
26352
|
"sub",
|
|
26357
26353
|
"sup"
|
|
26358
26354
|
][o]);
|
|
26359
|
-
throw new (Do.default.bind.apply(Do.default,
|
|
26355
|
+
throw new (Do.default.bind.apply(Do.default, Mv([
|
|
26360
26356
|
void 0,
|
|
26361
26357
|
i[0],
|
|
26362
26358
|
i[1]
|
|
@@ -26807,9 +26803,9 @@ pe.EqnArrayItem = (function(e) {
|
|
|
26807
26803
|
e.prototype.EndTable.call(this), this.factory.configuration.tags.end(), this.extendArray("columnalign", this.maxrow), this.extendArray("columnwidth", this.maxrow), this.extendArray("columnspacing", this.maxrow - 1);
|
|
26808
26804
|
}, t.prototype.extendArray = function(r, n) {
|
|
26809
26805
|
if (this.arraydef[r]) {
|
|
26810
|
-
var o = this.arraydef[r].split(/ /), i =
|
|
26806
|
+
var o = this.arraydef[r].split(/ /), i = Mv([], fd(o), !1);
|
|
26811
26807
|
if (i.length > 1) {
|
|
26812
|
-
for (; i.length < n; ) i.push.apply(i,
|
|
26808
|
+
for (; i.length < n; ) i.push.apply(i, Mv([], fd(o), !1));
|
|
26813
26809
|
this.arraydef[r] = i.slice(0, n).join(" ");
|
|
26814
26810
|
}
|
|
26815
26811
|
}
|
|
@@ -27073,7 +27069,7 @@ var ds = y && y.__assign || (function() {
|
|
|
27073
27069
|
return e && e.__esModule ? e : { default: e };
|
|
27074
27070
|
});
|
|
27075
27071
|
Object.defineProperty(fr, "__esModule", { value: !0 });
|
|
27076
|
-
var mb = FD(pe), re = lf(Qe), Pt = lf(Be), uf = lf(Xt), yb = Vt, xt = lf(Ge), oc = ce, rC = Nn, nC = mr,
|
|
27072
|
+
var mb = FD(pe), re = lf(Qe), Pt = lf(Be), uf = lf(Xt), yb = Vt, xt = lf(Ge), oc = ce, rC = Nn, nC = mr, Ov = Yi, UD = nt, se = {}, HD = 1.2 / 0.85, qD = {
|
|
27077
27073
|
fontfamily: 1,
|
|
27078
27074
|
fontsize: 1,
|
|
27079
27075
|
fontweight: 1,
|
|
@@ -27092,7 +27088,7 @@ se.Close = function(e, t) {
|
|
|
27092
27088
|
e.Push(e.itemFactory.create("close"));
|
|
27093
27089
|
};
|
|
27094
27090
|
se.Tilde = function(e, t) {
|
|
27095
|
-
e.Push(e.create("token", "mtext", {},
|
|
27091
|
+
e.Push(e.create("token", "mtext", {}, Ov.entities.nbsp));
|
|
27096
27092
|
};
|
|
27097
27093
|
se.Space = function(e, t) {
|
|
27098
27094
|
};
|
|
@@ -27128,8 +27124,8 @@ se.Prime = function(e, t) {
|
|
|
27128
27124
|
var n = "";
|
|
27129
27125
|
e.i--;
|
|
27130
27126
|
do
|
|
27131
|
-
n +=
|
|
27132
|
-
while (t === "'" || t ===
|
|
27127
|
+
n += Ov.entities.prime, e.i++, t = e.GetNext();
|
|
27128
|
+
while (t === "'" || t === Ov.entities.rsquo);
|
|
27133
27129
|
n = [
|
|
27134
27130
|
"",
|
|
27135
27131
|
"′",
|
|
@@ -27614,7 +27610,7 @@ var nn = {}, GD = y && y.__read || (function(e, t) {
|
|
|
27614
27610
|
return e && e.__esModule ? e : { default: e };
|
|
27615
27611
|
});
|
|
27616
27612
|
Object.defineProperty(nn, "__esModule", { value: !0 });
|
|
27617
|
-
var VD = iC(Qe), ng = Vt, vM = iC(Ge),
|
|
27613
|
+
var VD = iC(Qe), ng = Vt, vM = iC(Ge), Av;
|
|
27618
27614
|
(function(e) {
|
|
27619
27615
|
function t(l, u) {
|
|
27620
27616
|
var p = vM.default.getFontDef(l), d = l.stack.env;
|
|
@@ -27670,8 +27666,8 @@ var VD = iC(Qe), ng = Vt, vM = iC(Ge), A1;
|
|
|
27670
27666
|
f = p.apply(void 0, XD([l, f], GD(d.slice(1)), !1)), l.Push(f);
|
|
27671
27667
|
}
|
|
27672
27668
|
e.environment = c;
|
|
27673
|
-
})(
|
|
27674
|
-
nn.default =
|
|
27669
|
+
})(Av || (Av = {}));
|
|
27670
|
+
nn.default = Av;
|
|
27675
27671
|
var WD = y && y.__createBinding || (Object.create ? function(e, t, r, n) {
|
|
27676
27672
|
n === void 0 && (n = r);
|
|
27677
27673
|
var o = Object.getOwnPropertyDescriptor(t, r);
|
|
@@ -28795,7 +28791,7 @@ uC = ib.TeX = (function(e) {
|
|
|
28795
28791
|
FindTeX: null,
|
|
28796
28792
|
packages: ["base"],
|
|
28797
28793
|
digits: /^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)?|\.[0-9]+)/,
|
|
28798
|
-
maxBuffer:
|
|
28794
|
+
maxBuffer: 5120,
|
|
28799
28795
|
formatError: function(r, n) {
|
|
28800
28796
|
return r.formatError(n);
|
|
28801
28797
|
}
|
|
@@ -35685,7 +35681,7 @@ var vC = y && y.__extends || /* @__PURE__ */ (function() {
|
|
|
35685
35681
|
})();
|
|
35686
35682
|
Object.defineProperty(gs, "__esModule", { value: !0 });
|
|
35687
35683
|
gs.CHTMLmlabeledtr = gs.CHTMLmtr = void 0;
|
|
35688
|
-
var CH = ot, NH = Bi, _H = Bi, bC = Ci,
|
|
35684
|
+
var CH = ot, NH = Bi, _H = Bi, bC = Ci, Tv = (function(e) {
|
|
35689
35685
|
vC(t, e);
|
|
35690
35686
|
function t() {
|
|
35691
35687
|
return e !== null && e.apply(this, arguments) || this;
|
|
@@ -35703,7 +35699,7 @@ var CH = ot, NH = Bi, _H = Bi, bC = Ci, T1 = (function(e) {
|
|
|
35703
35699
|
'mjx-mtr[rowalign="axis"] > mjx-mtd': { "vertical-align": ".25em" }
|
|
35704
35700
|
}, t;
|
|
35705
35701
|
})((0, NH.CommonMtrMixin)(CH.CHTMLWrapper));
|
|
35706
|
-
gs.CHTMLmtr =
|
|
35702
|
+
gs.CHTMLmtr = Tv;
|
|
35707
35703
|
gs.CHTMLmlabeledtr = (function(e) {
|
|
35708
35704
|
vC(t, e);
|
|
35709
35705
|
function t() {
|
|
@@ -35718,7 +35714,7 @@ gs.CHTMLmlabeledtr = (function(e) {
|
|
|
35718
35714
|
this.adaptor.append(this.parent.labels, a);
|
|
35719
35715
|
}
|
|
35720
35716
|
}, t.prototype.markUsed = function() {
|
|
35721
|
-
e.prototype.markUsed.call(this), this.jax.wrapperUsage.add(
|
|
35717
|
+
e.prototype.markUsed.call(this), this.jax.wrapperUsage.add(Tv.kind);
|
|
35722
35718
|
}, t.kind = bC.MmlMlabeledtr.prototype.kind, t.styles = {
|
|
35723
35719
|
"mjx-mlabeledtr": { display: "table-row" },
|
|
35724
35720
|
'mjx-mlabeledtr[rowalign="top"] > mjx-mtd': { "vertical-align": "top" },
|
|
@@ -35727,7 +35723,7 @@ gs.CHTMLmlabeledtr = (function(e) {
|
|
|
35727
35723
|
'mjx-mlabeledtr[rowalign="baseline"] > mjx-mtd': { "vertical-align": "baseline" },
|
|
35728
35724
|
'mjx-mlabeledtr[rowalign="axis"] > mjx-mtd': { "vertical-align": ".25em" }
|
|
35729
35725
|
}, t;
|
|
35730
|
-
})((0, _H.CommonMlabeledtrMixin)(
|
|
35726
|
+
})((0, _H.CommonMlabeledtrMixin)(Tv));
|
|
35731
35727
|
var $f = {}, zf = {}, wH = y && y.__extends || /* @__PURE__ */ (function() {
|
|
35732
35728
|
var e = function(t, r) {
|
|
35733
35729
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && (function(n, o) {
|
|
@@ -36468,8 +36464,8 @@ var fq = y && y.__extends || /* @__PURE__ */ (function() {
|
|
|
36468
36464
|
};
|
|
36469
36465
|
})();
|
|
36470
36466
|
Object.defineProperty(df, "__esModule", { value: !0 });
|
|
36471
|
-
var
|
|
36472
|
-
|
|
36467
|
+
var Cv = df.CHTMLWrapperFactory = void 0, mq = hf, yq = mf;
|
|
36468
|
+
Cv = df.CHTMLWrapperFactory = (function(e) {
|
|
36473
36469
|
fq(t, e);
|
|
36474
36470
|
function t() {
|
|
36475
36471
|
return e !== null && e.apply(this, arguments) || this;
|
|
@@ -56488,14 +56484,14 @@ var bs = {}, Di = {}, TC = y && y.__extends || /* @__PURE__ */ (function() {
|
|
|
56488
56484
|
}
|
|
56489
56485
|
t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
|
|
56490
56486
|
};
|
|
56491
|
-
})(),
|
|
56492
|
-
return
|
|
56487
|
+
})(), Nv = y && y.__assign || (function() {
|
|
56488
|
+
return Nv = Object.assign || (function(e) {
|
|
56493
56489
|
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
56494
56490
|
t = arguments[r];
|
|
56495
56491
|
for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
|
|
56496
56492
|
}
|
|
56497
56493
|
return e;
|
|
56498
|
-
}),
|
|
56494
|
+
}), Nv.apply(this, arguments);
|
|
56499
56495
|
}), Vb = y && y.__importDefault || (function(e) {
|
|
56500
56496
|
return e && e.__esModule ? e : { default: e };
|
|
56501
56497
|
});
|
|
@@ -56559,7 +56555,7 @@ Di.FlalignItem = (function(e) {
|
|
|
56559
56555
|
this.row.length > this.maxrow && (this.maxrow = this.row.length), e.prototype.EndRow.call(this);
|
|
56560
56556
|
var i = this.table[this.table.length - 1];
|
|
56561
56557
|
if (this.getProperty("zeroWidthLabel") && i.isKind("mlabeledtr")) {
|
|
56562
|
-
var a = Pr.default.getChildren(i)[0], s = this.factory.configuration.options.tagSide, c =
|
|
56558
|
+
var a = Pr.default.getChildren(i)[0], s = this.factory.configuration.options.tagSide, c = Nv({ width: 0 }, s === "right" ? { lspace: "-1width" } : {}), l = this.create("node", "mpadded", Pr.default.getChildren(a), c);
|
|
56563
56559
|
a.setChildren([l]);
|
|
56564
56560
|
}
|
|
56565
56561
|
}, t.prototype.EndTable = function() {
|
|
@@ -56781,14 +56777,14 @@ var aX = y && y.__createBinding || (Object.create ? function(e, t, r, n) {
|
|
|
56781
56777
|
return sX(t, e), t;
|
|
56782
56778
|
}), _C = y && y.__importDefault || (function(e) {
|
|
56783
56779
|
return e && e.__esModule ? e : { default: e };
|
|
56784
|
-
}), oy = Qi, lo = cX(de), Yt = Vt, ic = _C(nn), si = _C(Ge), Xc = ce,
|
|
56780
|
+
}), oy = Qi, lo = cX(de), Yt = Vt, ic = _C(nn), si = _C(Ge), Xc = ce, _v = mr;
|
|
56785
56781
|
new lo.CharacterMap("AMSmath-mathchar0mo", ic.default.mathchar0mo, { iiiint: ["⨌", { texClass: Xc.TEXCLASS.OP }] });
|
|
56786
56782
|
new lo.RegExpMap("AMSmath-operatorLetter", oy.AmsMethods.operatorLetter, /[-*]/i);
|
|
56787
56783
|
new lo.CommandMap("AMSmath-macros", {
|
|
56788
56784
|
mathring: ["Accent", "02DA"],
|
|
56789
56785
|
nobreakspace: "Tilde",
|
|
56790
|
-
negmedspace: ["Spacer",
|
|
56791
|
-
negthickspace: ["Spacer",
|
|
56786
|
+
negmedspace: ["Spacer", _v.MATHSPACE.negativemediummathspace],
|
|
56787
|
+
negthickspace: ["Spacer", _v.MATHSPACE.negativethickmathspace],
|
|
56792
56788
|
idotsint: ["MultiIntegral", "\\int\\cdots\\int"],
|
|
56793
56789
|
dddot: ["Accent", "20DB"],
|
|
56794
56790
|
ddddot: ["Accent", "20DC"],
|
|
@@ -56885,7 +56881,7 @@ new lo.EnvironmentMap("AMSmath-environment", ic.default.environment, {
|
|
|
56885
56881
|
!1,
|
|
56886
56882
|
!0,
|
|
56887
56883
|
"rcl",
|
|
56888
|
-
si.default.cols(0,
|
|
56884
|
+
si.default.cols(0, _v.MATHSPACE.thickmathspace),
|
|
56889
56885
|
".5em"
|
|
56890
56886
|
],
|
|
56891
56887
|
align: [
|
|
@@ -58144,7 +58140,7 @@ var Qb = {}, IX = y && y.__createBinding || (Object.create ? function(e, t, r, n
|
|
|
58144
58140
|
return e && e.__esModule ? e : { default: e };
|
|
58145
58141
|
});
|
|
58146
58142
|
Object.defineProperty(Qb, "__esModule", { value: !0 });
|
|
58147
|
-
var Zr = e2(Be), Sg = e2(Xt),
|
|
58143
|
+
var Zr = e2(Be), Sg = e2(Xt), wv = e2(Ge), zn = kX(hu), _n = {};
|
|
58148
58144
|
_n.Prooftree = function(e, t) {
|
|
58149
58145
|
return e.Push(t), e.itemFactory.create("proofTree").setProperties({
|
|
58150
58146
|
name: t.getName(),
|
|
@@ -58160,7 +58156,7 @@ _n.Axiom = function(e, t) {
|
|
|
58160
58156
|
zn.setProperty(n, "axiom", !0), r.Push(n);
|
|
58161
58157
|
};
|
|
58162
58158
|
var HC = function(e, t) {
|
|
58163
|
-
var r =
|
|
58159
|
+
var r = wv.default.internalMath(e, wv.default.trimSpaces(t), 0);
|
|
58164
58160
|
if (!r[0].childNodes[0].childNodes.length) return e.create("node", "mrow", []);
|
|
58165
58161
|
var n = e.create("node", "mspace", [], { width: ".5ex" }), o = e.create("node", "mspace", [], { width: ".5ex" });
|
|
58166
58162
|
return e.create("node", "mrow", MO(MO([n], UC(r), !1), [o], !1));
|
|
@@ -58209,7 +58205,7 @@ function qC(e, t, r, n, o, i, a) {
|
|
|
58209
58205
|
_n.Label = function(e, t, r) {
|
|
58210
58206
|
var n = e.stack.Top();
|
|
58211
58207
|
if (n.kind !== "proofTree") throw new Zr.default("IllegalProofCommand", "Proof commands only allowed in prooftree environment.");
|
|
58212
|
-
var o =
|
|
58208
|
+
var o = wv.default.internalMath(e, e.GetArgument(t), 0), i = o.length > 1 ? e.create("node", "mrow", o, {}) : o[0];
|
|
58213
58209
|
n.setProperty(r, i);
|
|
58214
58210
|
};
|
|
58215
58211
|
_n.SetLine = function(e, t, r, n) {
|
|
@@ -59008,7 +59004,7 @@ var a2 = {}, fu = {}, ac = {}, QC = y && y.__importDefault || (function(e) {
|
|
|
59008
59004
|
return e && e.__esModule ? e : { default: e };
|
|
59009
59005
|
});
|
|
59010
59006
|
Object.defineProperty(ac, "__esModule", { value: !0 });
|
|
59011
|
-
var Mg = QC(Ge), ci = QC(Be), Ap = Yr,
|
|
59007
|
+
var Mg = QC(Ge), ci = QC(Be), Ap = Yr, Lv;
|
|
59012
59008
|
(function(e) {
|
|
59013
59009
|
function t(d, h) {
|
|
59014
59010
|
var f = [d, h.char];
|
|
@@ -59083,8 +59079,8 @@ var Mg = QC(Ge), ci = QC(Be), Ap = Yr, L1;
|
|
|
59083
59079
|
d.configuration.handlers.retrieve(e.NEW_ENVIRONMENT).add(h, new Ap.Macro(h, f, m));
|
|
59084
59080
|
}
|
|
59085
59081
|
e.addEnvironment = p, e.NEW_DELIMITER = "new-Delimiter", e.NEW_COMMAND = "new-Command", e.NEW_ENVIRONMENT = "new-Environment";
|
|
59086
|
-
})(
|
|
59087
|
-
ac.default =
|
|
59082
|
+
})(Lv || (Lv = {}));
|
|
59083
|
+
ac.default = Lv;
|
|
59088
59084
|
var QX = y && y.__createBinding || (Object.create ? function(e, t, r, n) {
|
|
59089
59085
|
n === void 0 && (n = r);
|
|
59090
59086
|
var o = Object.getOwnPropertyDescriptor(t, r);
|
|
@@ -59263,12 +59259,12 @@ var eN = y && y.__values || (function(e) {
|
|
|
59263
59259
|
}), Og;
|
|
59264
59260
|
Object.defineProperty(a2, "__esModule", { value: !0 });
|
|
59265
59261
|
a2.ConfigMacrosConfiguration = void 0;
|
|
59266
|
-
var rN = _e, _O = nt, wO = de, sV = tN(nn),
|
|
59262
|
+
var rN = _e, _O = nt, wO = de, sV = tN(nn), Rv = Yr, Iv = tN(fu), LO = mu, Pv = "configmacros-map", kv = "configmacros-env-map";
|
|
59267
59263
|
function cV(e) {
|
|
59268
|
-
new wO.CommandMap(
|
|
59264
|
+
new wO.CommandMap(Pv, {}, {}), new wO.EnvironmentMap(kv, sV.default.environment, {}, {}), e.append(rN.Configuration.local({
|
|
59269
59265
|
handler: {
|
|
59270
|
-
macro: [
|
|
59271
|
-
environment: [
|
|
59266
|
+
macro: [Pv],
|
|
59267
|
+
environment: [kv]
|
|
59272
59268
|
},
|
|
59273
59269
|
priority: 3
|
|
59274
59270
|
}));
|
|
@@ -59277,10 +59273,10 @@ function lV(e, t) {
|
|
|
59277
59273
|
uV(t), pV(t);
|
|
59278
59274
|
}
|
|
59279
59275
|
function uV(e) {
|
|
59280
|
-
var t, r, n = e.parseOptions.handlers.retrieve(
|
|
59276
|
+
var t, r, n = e.parseOptions.handlers.retrieve(Pv), o = e.parseOptions.options.macros;
|
|
59281
59277
|
try {
|
|
59282
59278
|
for (var i = eN(Object.keys(o)), a = i.next(); !a.done; a = i.next()) {
|
|
59283
|
-
var s = a.value, c = typeof o[s] == "string" ? [o[s]] : o[s], l = Array.isArray(c[2]) ? new
|
|
59279
|
+
var s = a.value, c = typeof o[s] == "string" ? [o[s]] : o[s], l = Array.isArray(c[2]) ? new Rv.Macro(s, Iv.default.MacroWithTemplate, c.slice(0, 2).concat(c[2])) : new Rv.Macro(s, Iv.default.Macro, c);
|
|
59284
59280
|
n.add(s, l);
|
|
59285
59281
|
}
|
|
59286
59282
|
} catch (u) {
|
|
@@ -59294,11 +59290,11 @@ function uV(e) {
|
|
|
59294
59290
|
}
|
|
59295
59291
|
}
|
|
59296
59292
|
function pV(e) {
|
|
59297
|
-
var t, r, n = e.parseOptions.handlers.retrieve(
|
|
59293
|
+
var t, r, n = e.parseOptions.handlers.retrieve(kv), o = e.parseOptions.options.environments;
|
|
59298
59294
|
try {
|
|
59299
59295
|
for (var i = eN(Object.keys(o)), a = i.next(); !a.done; a = i.next()) {
|
|
59300
59296
|
var s = a.value;
|
|
59301
|
-
n.add(s, new
|
|
59297
|
+
n.add(s, new Rv.Macro(s, Iv.default.BeginEnv, [!0].concat(o[s])));
|
|
59302
59298
|
}
|
|
59303
59299
|
} catch (c) {
|
|
59304
59300
|
t = { error: c };
|
|
@@ -62881,7 +62877,7 @@ var v2 = {}, nW = y && y.__read || (function(e, t) {
|
|
|
62881
62877
|
return e && e.__esModule ? e : { default: e };
|
|
62882
62878
|
});
|
|
62883
62879
|
Object.defineProperty(v2, "__esModule", { value: !0 });
|
|
62884
|
-
var b2 = vu(fr), Gt = vu(Xt), Ss = vu(Be), S2 = ce, zc = vu(Ge),
|
|
62880
|
+
var b2 = vu(fr), Gt = vu(Xt), Ss = vu(Be), S2 = ce, zc = vu(Ge), Bv = vu(Qe), oW = rc, Xe = {}, lN = {
|
|
62885
62881
|
"(": ")",
|
|
62886
62882
|
"[": "]",
|
|
62887
62883
|
"{": "}",
|
|
@@ -62907,7 +62903,7 @@ Xe.Quantity = function(e, t, r, n, o, i, a) {
|
|
|
62907
62903
|
}
|
|
62908
62904
|
if (i) {
|
|
62909
62905
|
var h = e.create("token", "mi", { texClass: S2.TEXCLASS.OP }, i);
|
|
62910
|
-
a &&
|
|
62906
|
+
a && Bv.default.setAttribute(h, "mathvariant", a), e.Push(e.itemFactory.create("fn", h));
|
|
62911
62907
|
}
|
|
62912
62908
|
if (c === "{") {
|
|
62913
62909
|
var f = e.GetArgument(t);
|
|
@@ -62955,7 +62951,7 @@ function Ic(e, t) {
|
|
|
62955
62951
|
}
|
|
62956
62952
|
function uW(e, t, r, n) {
|
|
62957
62953
|
var o = e.configuration.parser, i = oW.NodeFactory.createToken(e, t, r, n), a = n.codePointAt(0);
|
|
62958
|
-
return n.length === 1 && !o.stack.env.font && o.stack.env.vectorFont && (Ic(a, iW) || Ic(a, aW) || Ic(a, sW) || Ic(a, lW) || Ic(a, cW) && o.stack.env.vectorStar ||
|
|
62954
|
+
return n.length === 1 && !o.stack.env.font && o.stack.env.vectorFont && (Ic(a, iW) || Ic(a, aW) || Ic(a, sW) || Ic(a, lW) || Ic(a, cW) && o.stack.env.vectorStar || Bv.default.getAttribute(i, "accent")) && Bv.default.setAttribute(i, "mathvariant", o.stack.env.vectorFont), i;
|
|
62959
62955
|
}
|
|
62960
62956
|
Xe.VectorBold = function(e, t) {
|
|
62961
62957
|
var r = e.GetStar(), n = e.GetArgument(t), o = e.configuration.nodeFactory.get("token"), i = e.stack.env.font;
|
|
@@ -63108,7 +63104,6 @@ Xe.MatrixQuantity = function(e, t, r) {
|
|
|
63108
63104
|
break;
|
|
63109
63105
|
default:
|
|
63110
63106
|
s = "(", c = ")";
|
|
63111
|
-
break;
|
|
63112
63107
|
}
|
|
63113
63108
|
var l = (s ? "\\left" : "") + s + "\\begin{" + i + "}{} " + a + "\\end{" + i + "}" + (s ? "\\right" : "") + c;
|
|
63114
63109
|
e.Push(new Gt.default(l, e.stack.env, e.configuration).mml());
|
|
@@ -63168,7 +63163,6 @@ Xe.PauliMatrix = function(e, t) {
|
|
|
63168
63163
|
case "3":
|
|
63169
63164
|
case "z":
|
|
63170
63165
|
n += " 1 & 0\\\\ 0 & -1";
|
|
63171
|
-
break;
|
|
63172
63166
|
}
|
|
63173
63167
|
e.string = n + e.string.slice(e.i), e.i = 0;
|
|
63174
63168
|
};
|
|
@@ -63865,7 +63859,6 @@ sc.TextMacrosMethods = {
|
|
|
63865
63859
|
break;
|
|
63866
63860
|
case "}":
|
|
63867
63861
|
i === 0 && e.Error("ExtraCloseMissingOpen", "Extra close brace or missing open brace"), i--;
|
|
63868
|
-
break;
|
|
63869
63862
|
}
|
|
63870
63863
|
e.Error("MathNotTerminated", "Math-mode is not properly terminated");
|
|
63871
63864
|
},
|
|
@@ -64395,8 +64388,8 @@ var _W = y && y.__importDefault || (function(e) {
|
|
|
64395
64388
|
}), Pa;
|
|
64396
64389
|
Object.defineProperty(ll, "__esModule", { value: !0 });
|
|
64397
64390
|
ll.TextMacrosConfiguration = ll.TextBaseConfiguration = void 0;
|
|
64398
|
-
var
|
|
64399
|
-
ll.TextBaseConfiguration =
|
|
64391
|
+
var Dv = _e, wW = _W(cf), VO = Nn, Mo = pe, WO = bu, LW = sc;
|
|
64392
|
+
ll.TextBaseConfiguration = Dv.Configuration.create("text-base", {
|
|
64400
64393
|
parser: "text",
|
|
64401
64394
|
handler: {
|
|
64402
64395
|
character: ["command", "text-special"],
|
|
@@ -64417,9 +64410,9 @@ function RW(e, t, r, n) {
|
|
|
64417
64410
|
var o = e.configuration.packageData.get("textmacros");
|
|
64418
64411
|
return e instanceof WO.TextParser || (o.texParser = e), [new WO.TextParser(t, n ? { mathvariant: n } : {}, o.parseOptions, r).mml()];
|
|
64419
64412
|
}
|
|
64420
|
-
ll.TextMacrosConfiguration =
|
|
64413
|
+
ll.TextMacrosConfiguration = Dv.Configuration.create("textmacros", {
|
|
64421
64414
|
config: function(e, t) {
|
|
64422
|
-
var r = new
|
|
64415
|
+
var r = new Dv.ParserConfiguration(t.parseOptions.options.textmacros.packages, ["tex", "text"]);
|
|
64423
64416
|
r.init();
|
|
64424
64417
|
var n = new wW.default(r, []);
|
|
64425
64418
|
n.options = t.parseOptions.options, r.config(t), VO.TagsFactory.addTags(r.tags), n.tags = VO.TagsFactory.getDefault(), n.tags.configuration = n, n.packageData = t.parseOptions.packageData, n.packageData.set("textmacros", {
|
|
@@ -64710,11 +64703,11 @@ var O$ = (e, t) => (t.node && t.node.kind === "text" && (e += t.node.text), e),
|
|
|
64710
64703
|
const r = M$(e - this.columns.length).map(() => "__pad__");
|
|
64711
64704
|
return t === "right" ? [...r, ...this.columns] : [...this.columns, ...r];
|
|
64712
64705
|
}
|
|
64713
|
-
},
|
|
64706
|
+
}, jv = (e) => e.childNodes.reduce(O$, "").split(""), T$ = (e) => {
|
|
64714
64707
|
if (!e || !e.kind) return [];
|
|
64715
64708
|
if (e.kind === "msrow") throw new Error("msrow in msrow?");
|
|
64716
|
-
if (e.kind === "mo") return console.warn("mo that is not 1st node in msrow?"),
|
|
64717
|
-
if (e.kind === "mn") return
|
|
64709
|
+
if (e.kind === "mo") return console.warn("mo that is not 1st node in msrow?"), jv(e);
|
|
64710
|
+
if (e.kind === "mn") return jv(e);
|
|
64718
64711
|
if (e.toCHTML) return e;
|
|
64719
64712
|
}, C$ = (e) => {
|
|
64720
64713
|
if (!(!e || !e.kind)) {
|
|
@@ -64723,7 +64716,7 @@ var O$ = (e, t) => (t.node && t.node.kind === "text" && (e += t.node.text), e),
|
|
|
64723
64716
|
const t = b$(e.childNodes);
|
|
64724
64717
|
return new kc(m$((t && t.kind === "mo" ? S$(e.childNodes) : e.childNodes).map(T$)), t.kind === "mo" ? t : void 0);
|
|
64725
64718
|
}
|
|
64726
|
-
if (e.kind === "mn") return new kc(
|
|
64719
|
+
if (e.kind === "mn") return new kc(jv(e), void 0);
|
|
64727
64720
|
if (e.kind === "mo") return console.warn("mo on its own row?"), new kc([], e);
|
|
64728
64721
|
if (e.kind === "msline") return new A$();
|
|
64729
64722
|
if (e.toCHTML) return new kc([e]);
|
|
@@ -64790,7 +64783,7 @@ var _$ = class extends ce.AbstractMmlNode {
|
|
|
64790
64783
|
msline: R$,
|
|
64791
64784
|
msrow: L$,
|
|
64792
64785
|
none: _$
|
|
64793
|
-
},
|
|
64786
|
+
}, Fv = { exports: {} }, xs = 1e3, Ms = xs * 60, Os = Ms * 60, ji = Os * 24, k$ = ji * 7, B$ = ji * 365.25, D$ = function(e, t) {
|
|
64794
64787
|
t = t || {};
|
|
64795
64788
|
var r = typeof e;
|
|
64796
64789
|
if (r === "string" && e.length > 0) return j$(e);
|
|
@@ -65061,8 +65054,8 @@ var q$ = H$;
|
|
|
65061
65054
|
return "[UnexpectedJSONParseError]: " + l.message;
|
|
65062
65055
|
}
|
|
65063
65056
|
};
|
|
65064
|
-
})(
|
|
65065
|
-
var G$ =
|
|
65057
|
+
})(Fv, Fv.exports);
|
|
65058
|
+
var G$ = Fv.exports, qt = {};
|
|
65066
65059
|
qt.ROUND_BRACKETS = "round_brackets";
|
|
65067
65060
|
qt.SQUARE_BRACKETS = "square_brackets";
|
|
65068
65061
|
qt.DOLLAR = "dollar";
|
|
@@ -65092,7 +65085,7 @@ var QO = {
|
|
|
65092
65085
|
unwrapped: e,
|
|
65093
65086
|
wrapType: qt.ROUND_BRACKETS
|
|
65094
65087
|
});
|
|
65095
|
-
function
|
|
65088
|
+
function Uv(e) {
|
|
65096
65089
|
let t, r = e[0], n = 1;
|
|
65097
65090
|
for (; n < e.length; ) {
|
|
65098
65091
|
const o = e[n], i = e[n + 1];
|
|
@@ -65151,8 +65144,8 @@ var X$ = new As.SerializedMmlVisitor(), _N = (e) => X$.visitTree(e), V$ = G$("pi
|
|
|
65151
65144
|
$a.MathJax && $a.MathJax.version !== Er.mathjax.version && (window.MathJax._ = window.MathJax._ || {}, window.MathJax.config = window.MathJax.config || {}, a = window.MathJax, Object.assign($a.MathJax, Er.mathjax));
|
|
65152
65145
|
const s = {
|
|
65153
65146
|
fontURL: `https://unpkg.com/mathjax-full@${Er.mathjax.version}/ts/output/chtml/fonts/tex-woff-v2`,
|
|
65154
|
-
wrapperFactory: new
|
|
65155
|
-
...
|
|
65147
|
+
wrapperFactory: new Cv({
|
|
65148
|
+
...Cv.defaultNodes,
|
|
65156
65149
|
...I$
|
|
65157
65150
|
})
|
|
65158
65151
|
}, c = new $T(i), l = new Vg({
|
|
@@ -65208,7 +65201,7 @@ var X$ = new As.SerializedMmlVisitor(), _N = (e) => X$.visitTree(e), V$ = G$("pi
|
|
|
65208
65201
|
} catch {
|
|
65209
65202
|
console.warn("[math-rendering] Speech-rule-engine not fully initialized, skipping speech attachment"), Vc = !1;
|
|
65210
65203
|
}
|
|
65211
|
-
i = i.addMenu().updateDocument(), !Lg && typeof
|
|
65204
|
+
i = i.addMenu().updateDocument(), !Lg && typeof Uv([
|
|
65212
65205
|
i,
|
|
65213
65206
|
"access",
|
|
65214
65207
|
(a) => a.math,
|
|
@@ -65253,7 +65246,7 @@ var X$ = new As.SerializedMmlVisitor(), _N = (e) => X$.visitTree(e), V$ = G$("pi
|
|
|
65253
65246
|
V$("el is undefined");
|
|
65254
65247
|
return;
|
|
65255
65248
|
}
|
|
65256
|
-
if (e instanceof Element &&
|
|
65249
|
+
if (e instanceof Element && Uv([
|
|
65257
65250
|
yi,
|
|
65258
65251
|
"call",
|
|
65259
65252
|
(o) => o(),
|
|
@@ -65262,7 +65255,7 @@ var X$ = new As.SerializedMmlVisitor(), _N = (e) => X$.visitTree(e), V$ = G$("pi
|
|
|
65262
65255
|
"optionalAccess",
|
|
65263
65256
|
(o) => o.Typeset
|
|
65264
65257
|
])) yi().instance.Typeset(e);
|
|
65265
|
-
else if (e.length &&
|
|
65258
|
+
else if (e.length && Uv([
|
|
65266
65259
|
yi,
|
|
65267
65260
|
"call",
|
|
65268
65261
|
(o) => o(),
|
|
@@ -68718,7 +68711,8 @@ var A2 = { exports: {} };
|
|
|
68718
68711
|
return this._applyCommand(g, v);
|
|
68719
68712
|
}
|
|
68720
68713
|
_applyCommand(f, m) {
|
|
68721
|
-
|
|
68714
|
+
const b = this._mathmlElement.name.match(/under/) ? h.Under : h.Over;
|
|
68715
|
+
return new d(b).apply(f, m);
|
|
68722
68716
|
}
|
|
68723
68717
|
};
|
|
68724
68718
|
class d {
|