@pie-element/number-line 13.1.2-next.2 → 13.1.2-next.3

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.
@@ -1,4 +1,4 @@
1
- import { $ as e, $a as t, $i as n, $n as r, $o as i, $r as a, $t as o, A as s, Aa as c, Ai as l, An as u, Ao as d, Ar as f, As as p, At as m, B as h, Ba as g, Bi as _, Bn as v, Bo as y, Br as b, Bt as x, C as S, Ca as C, Ci as w, Cn as T, Co as E, Cr as D, Cs as O, Ct as k, D as A, Da as j, Di as M, Dn as N, Do as P, Dr as F, Ds as ee, Dt as I, E as te, Ea as ne, Ei as L, En as re, Eo as ie, Er as ae, Es as oe, Et as se, F as ce, Fa as le, Fi as ue, Fn as de, Fo as fe, Fr as pe, Fs as me, Ft as he, G as ge, Ga as _e, Gi as ve, Gn as ye, Go as be, Gr as xe, Gt as Se, H as Ce, Ha as we, Hi as Te, Hn as Ee, Ho as De, Hr as Oe, Ht as ke, I as Ae, Ia as je, Ii as Me, In as Ne, Io as Pe, Ir as Fe, It as Ie, J as R, Ja as Le, Ji as Re, Jn as ze, Jo as Be, Jr as Ve, Jt as He, K as Ue, Ka as We, Ki as Ge, Kn as Ke, Ko as z, Kr as qe, Kt as Je, L as Ye, La as Xe, Li as Ze, Ln as Qe, Lo as $e, Lr as et, Lt as tt, M as nt, Ma as rt, Mi as it, Mn as at, Mo as ot, Mr as st, Ms as ct, Mt as lt, N as ut, Na as dt, Ni as ft, Nn as pt, No as mt, Nr as ht, Ns as gt, Nt as _t, O as vt, Oa as yt, Oi as bt, On as xt, Oo as St, Or as Ct, Os as wt, Ot as Tt, P as Et, Pa as Dt, Pi as Ot, Pn as kt, Po as At, Pr as jt, Ps as Mt, Pt as Nt, Q as B, Qa as Pt, Qi as Ft, Qn as It, Qo as Lt, Qr as Rt, Qt as zt, R as Bt, Ra as Vt, Ri as Ht, Rn as Ut, Ro as Wt, Rr as V, Rs as Gt, Rt as Kt, S as qt, Sa as Jt, Si as Yt, Sn as Xt, So as Zt, Sr as Qt, Ss as $t, St as en, T as tn, Ta as nn, Ti as rn, Tn as an, To as on, Tr as sn, Ts as cn, Tt as ln, U as un, Ua as dn, Ui as fn, Un as pn, Uo as mn, Ur as hn, Ut as gn, V as _n, Va as vn, Vi as yn, Vn as bn, Vo as xn, Vr as Sn, Vt as Cn, W as wn, Wa as H, Wi as Tn, Wn as En, Wo as Dn, Wr as On, Wt as kn, X as An, Xa as jn, Xi as Mn, Xn as Nn, Xo as U, Xr as Pn, Xt as Fn, Y as In, Ya as Ln, Yi as Rn, Yn as zn, Yo as Bn, Yr as Vn, Yt as Hn, Z as Un, Za as Wn, Zi as Gn, Zn as Kn, Zo as qn, Zr as Jn, Zt as Yn, _a as Xn, _i as Zn, _n as Qn, _o as $n, _r as er, _s as W, _t as tr, aa as nr, ai as rr, an as ir, ao as ar, ar as or, as as sr, at as cr, ba as lr, bi as ur, bn as dr, bo as fr, br as pr, bs as mr, bt as hr, ca as gr, ci as _r, cn as vr, co as yr, cr as br, cs as xr, ct as Sr, da as Cr, di as wr, dn as Tr, do as Er, dr as Dr, ds as Or, dt as kr, ea as Ar, ei as jr, en as Mr, eo as Nr, er as Pr, es as Fr, et as Ir, fa as Lr, fi as Rr, fn as zr, fo as Br, fr as Vr, fs as Hr, ft as Ur, ga as Wr, gi as Gr, gn as Kr, go as qr, gr as Jr, gs as Yr, gt as Xr, ha as Zr, hi as Qr, hn as $r, ho as ei, hr as ti, hs as ni, ht as ri, ia as ii, ii as ai, in as oi, io as si, ir as ci, is as li, it as ui, j as di, ja as fi, ji as pi, jn as mi, jo as hi, jr as gi, js as G, jt as _i, k as vi, ka as yi, ki as bi, kn as xi, ko as Si, kr as Ci, ks as wi, kt as Ti, la as Ei, li as Di, ln as Oi, lo as ki, lr as Ai, ls as ji, lt as Mi, ma as Ni, mi as Pi, mn as Fi, mo as Ii, mr as Li, ms as K, mt as Ri, na as zi, ni as Bi, nn as Vi, no as Hi, nr as Ui, ns as Wi, nt as Gi, oa as Ki, oi as qi, on as Ji, oo as Yi, or as Xi, os as q, ot as Zi, pa as Qi, pi as $i, pn as ea, po as ta, pr as na, ps as ra, pt as ia, q as aa, qa as oa, qi as sa, qn as ca, qo as la, qr as ua, qt as da, ra as fa, ri as pa, rn as ma, ro as ha, rr as ga, rs as _a, rt as va, sa as ya, si as ba, sn as xa, so as Sa, sr as Ca, ss as wa, st as Ta, ta as Ea, ti as Da, tn as Oa, to as ka, tr as Aa, ts as ja, tt as Ma, ua as Na, ui as Pa, un as Fa, uo as Ia, ur as La, us as Ra, ut as za, va as Ba, vi as Va, vn as Ha, vo as J, vr as Ua, vs as Wa, vt as Ga, w as Ka, wa as qa, wi as Ja, wn as Ya, wo as Xa, wr as Za, ws as Qa, wt as $a, x as eo, xa as to, xi as no, xn as ro, xo as io, xr as ao, xs as Y, xt as oo, ya as so, yi as co, yn as lo, yr as uo, ys as fo, yt as po, z as mo, za as ho, zi as go, zn as _o, zo as vo, zr as yo, zt as bo } from "./dist-D5T-OaLo.js";
1
+ import { $ as e, $a as t, $i as n, $n as r, $o as i, $r as a, $t as o, A as s, Aa as c, Ai as l, An as u, Ao as d, Ar as f, As as p, At as m, B as h, Ba as g, Bi as _, Bn as v, Bo as y, Br as b, Bt as x, C as S, Ca as C, Ci as w, Cn as T, Co as E, Cr as D, Cs as O, Ct as k, D as A, Da as j, Di as M, Dn as N, Do as P, Dr as F, Ds as I, Dt as ee, E as te, Ea as L, Ei as ne, En as re, Eo as ie, Er as R, Es as ae, Et as oe, F as se, Fa as ce, Fi as le, Fn as ue, Fo as de, Fr as fe, Ft as pe, G as me, Ga as he, Gi as ge, Gn as _e, Go as z, Gr as ve, Gt as ye, H as be, Ha as xe, Hi as Se, Hn as Ce, Ho as we, Hr as Te, Ht as Ee, I as De, Ia as Oe, Ii as ke, In as Ae, Io as je, Ir as Me, It as B, J as Ne, Ja as Pe, Ji as Fe, Jn as Ie, Jo as Le, Jr as Re, Jt as ze, K as Be, Ka as Ve, Ki as He, Kn as Ue, Ko as We, Kr as Ge, Kt as Ke, L as qe, La as Je, Li as Ye, Ln as Xe, Lo as Ze, Lr as Qe, Ls as $e, Lt as et, M as tt, Ma as nt, Mi as rt, Mn as it, Mo as at, Mr as ot, Ms as st, Mt as ct, N as lt, Na as ut, Ni as dt, Nn as ft, No as pt, Nr as mt, Ns as ht, Nt as gt, O as _t, Oa as vt, Oi as yt, On as bt, Oo as xt, Or as St, Os as Ct, Ot as wt, P as Tt, Pa as Et, Pi as Dt, Pn as Ot, Po as kt, Pr as At, Ps as jt, Pt as Mt, Q as V, Qa as Nt, Qi as Pt, Qn as Ft, Qo as It, Qr as Lt, Qt as Rt, R as zt, Ra as Bt, Ri as Vt, Rn as Ht, Ro as Ut, Rr as H, Rt as Wt, S as Gt, Sa as Kt, Si as qt, Sn as Jt, So as Yt, Sr as Xt, Ss as Zt, St as Qt, T as $t, Ta as en, Ti as tn, Tn as nn, To as rn, Tr as an, Ts as on, Tt as sn, U as cn, Ua as ln, Ui as un, Un as dn, Uo as fn, Ur as pn, Ut as mn, V as hn, Va as gn, Vi as _n, Vn as vn, Vo as yn, Vr as bn, Vt as xn, W as Sn, Wa as U, Wi as Cn, Wn as wn, Wo as Tn, Wr as En, Wt as Dn, X as On, Xa as kn, Xi as An, Xn as jn, Xo as Mn, Xr as Nn, Xt as Pn, Y as Fn, Ya as In, Yi as Ln, Yn as Rn, Yo as W, Yr as zn, Yt as Bn, Z as Vn, Za as Hn, Zi as Un, Zn as Wn, Zo as Gn, Zr as Kn, Zt as qn, _a as Jn, _i as Yn, _n as Xn, _o as Zn, _r as Qn, _s as $n, _t as er, aa as tr, ai as nr, an as rr, ao as ir, ar, as as G, at as or, ba as sr, bi as cr, bn as lr, bo as ur, br as dr, bs as K, bt as fr, ca as pr, ci as mr, cn as hr, co as gr, cr as _r, cs as vr, ct as yr, da as br, di as xr, dn as Sr, do as Cr, dr as wr, ds as Tr, dt as Er, ea as Dr, ei as Or, en as kr, eo as Ar, er as jr, es as Mr, et as Nr, fa as Pr, fi as Fr, fn as Ir, fo as Lr, fr as Rr, fs as zr, ft as Br, ga as Vr, gi as Hr, gn as Ur, go as Wr, gr as Gr, gs as q, gt as Kr, ha as qr, hi as Jr, hn as Yr, ho as Xr, hr as Zr, hs as Qr, ht as $r, ia as ei, ii as ti, in as ni, io as ri, ir as ii, is as ai, it as oi, j as si, ja as ci, ji as li, jn as ui, jo as di, jr as fi, js as pi, jt as mi, k as hi, ka as gi, ki as _i, kn as vi, ko as yi, kr as bi, ks as xi, kt as Si, la as Ci, li as wi, ln as Ti, lo as Ei, lr as Di, ls as Oi, lt as ki, ma as Ai, mi as ji, mn as Mi, mo as Ni, mr as Pi, ms as Fi, mt as Ii, na as Li, ni as Ri, nn as zi, no as Bi, nr as Vi, ns as Hi, nt as Ui, oa as Wi, oi as Gi, on as Ki, oo as qi, or as Ji, os as Yi, ot as Xi, pa as Zi, pi as Qi, pn as $i, po as ea, pr as ta, ps as J, pt as na, q as ra, qa as ia, qi as aa, qn as oa, qo as sa, qr as ca, qt as la, ra as ua, ri as da, rn as fa, ro as pa, rr as ma, rs as ha, rt as ga, sa as _a, si as va, sn as ya, so as ba, sr as xa, ss as Sa, st as Ca, ta as wa, ti as Ta, tn as Ea, to as Da, tr as Oa, ts as ka, tt as Aa, ua as ja, ui as Ma, un as Na, uo as Pa, ur as Fa, us as Ia, ut as La, va as Ra, vi as za, vn as Ba, vo as Y, vr as Va, vs as Ha, vt as Ua, w as Wa, wa as Ga, wi as Ka, wn as qa, wo as Ja, wr as Ya, ws as Xa, wt as Za, x as Qa, xa as $a, xi as eo, xn as to, xo as no, xr as ro, xs as io, xt as ao, ya as oo, yi as so, yn as co, yo as lo, yr as uo, ys as fo, yt as po, z as mo, za as ho, zi as go, zn as _o, zo as vo, zr as yo, zt as bo } from "./dist-CVf3Suzc.js";
2
2
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/keywords.js
3
3
  var xo = new Set(["end"]), So = /* #__PURE__ */ z("Node", ["mathWithTransform"], (e) => {
4
4
  var { mathWithTransform: t } = e;
@@ -18,7 +18,7 @@ var xo = new Set(["end"]), So = /* #__PURE__ */ z("Node", ["mathWithTransform"],
18
18
  compile() {
19
19
  var e = this._compile(t, {}), r = {}, i = null;
20
20
  function a(t) {
21
- var a = wt(t);
21
+ var a = I(t);
22
22
  return n(a), e(a, r, i);
23
23
  }
24
24
  return { evaluate: a };
@@ -33,7 +33,7 @@ var xo = new Set(["end"]), So = /* #__PURE__ */ z("Node", ["mathWithTransform"],
33
33
  throw Error("Cannot run map on a Node interface");
34
34
  }
35
35
  _ifNode(e) {
36
- if (!K(e)) throw TypeError("Callback function must return a Node");
36
+ if (!J(e)) throw TypeError("Callback function must return a Node");
37
37
  return e;
38
38
  }
39
39
  traverse(e) {
@@ -67,7 +67,7 @@ var xo = new Set(["end"]), So = /* #__PURE__ */ z("Node", ["mathWithTransform"],
67
67
  });
68
68
  }
69
69
  equals(e) {
70
- return e ? this.type === e.type && Bn(this, e) : !1;
70
+ return e ? this.type === e.type && Le(this, e) : !1;
71
71
  }
72
72
  toString(e) {
73
73
  var t = this._getCustomString(e);
@@ -116,7 +116,7 @@ var xo = new Set(["end"]), So = /* #__PURE__ */ z("Node", ["mathWithTransform"],
116
116
  //#endregion
117
117
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/transform/utils/errorTransform.js
118
118
  function X(e) {
119
- return e && e.isIndexError ? new y(e.index + 1, e.min + 1, e.max === void 0 ? void 0 : e.max + 1) : e;
119
+ return e && e.isIndexError ? new vo(e.index + 1, e.min + 1, e.max === void 0 ? void 0 : e.max + 1) : e;
120
120
  }
121
121
  //#endregion
122
122
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/node/utils/access.js
@@ -129,7 +129,7 @@ function Co(e) {
129
129
  if (typeof e == "string") return t(e, n);
130
130
  if (typeof e == "object") {
131
131
  if (!n.isObjectProperty()) throw TypeError("Cannot apply a numeric index as object property");
132
- return G(e, n.getObjectProperty());
132
+ return p(e, n.getObjectProperty());
133
133
  } else throw TypeError("Cannot apply index: unsupported type of object");
134
134
  } catch (e) {
135
135
  throw X(e);
@@ -140,14 +140,14 @@ function Co(e) {
140
140
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/node/AccessorNode.js
141
141
  var wo = "AccessorNode", To = /* #__PURE__ */ z(wo, ["subset", "Node"], (e) => {
142
142
  var { subset: t, Node: n } = e, r = Co({ subset: t });
143
- function i(e) {
144
- return !(Lt(e) || Fr(e) || q(e) || Ra(e) || Yr(e) || Wa(e) || Y(e));
143
+ function a(e) {
144
+ return !(Gn(e) || i(e) || G(e) || Oi(e) || Qr(e) || $n(e) || K(e));
145
145
  }
146
- class a extends n {
146
+ class o extends n {
147
147
  constructor(e, t) {
148
148
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
149
- if (super(), !K(e)) throw TypeError("Node expected for parameter \"object\"");
150
- if (!Hr(t)) throw TypeError("IndexNode expected for parameter \"index\"");
149
+ if (super(), !J(e)) throw TypeError("Node expected for parameter \"object\"");
150
+ if (!Tr(t)) throw TypeError("IndexNode expected for parameter \"index\"");
151
151
  this.object = e, this.index = t, this.optionalChaining = n;
152
152
  }
153
153
  get name() {
@@ -160,7 +160,7 @@ var wo = "AccessorNode", To = /* #__PURE__ */ z(wo, ["subset", "Node"], (e) => {
160
160
  return !0;
161
161
  }
162
162
  _compile(e, t) {
163
- var n = this.object._compile(e, t), i = this.index._compile(e, t), a = this.optionalChaining, o = Lt(this.object) && this.object.optionalChaining;
163
+ var n = this.object._compile(e, t), i = this.index._compile(e, t), a = this.optionalChaining, o = Gn(this.object) && this.object.optionalChaining;
164
164
  if (this.index.isObjectProperty()) {
165
165
  var s = this.index.getObjectProperty();
166
166
  return function(e, t, r) {
@@ -169,7 +169,7 @@ var wo = "AccessorNode", To = /* #__PURE__ */ z(wo, ["subset", "Node"], (e) => {
169
169
  i.optionalShortCircuit = !0;
170
170
  return;
171
171
  }
172
- if (!(o && i != null && i.optionalShortCircuit)) return G(c, s);
172
+ if (!(o && i != null && i.optionalShortCircuit)) return p(c, s);
173
173
  };
174
174
  } else return function(e, t, s) {
175
175
  var c = s || {}, l = n(e, t, c);
@@ -184,24 +184,24 @@ var wo = "AccessorNode", To = /* #__PURE__ */ z(wo, ["subset", "Node"], (e) => {
184
184
  e(this.object, "object", this), e(this.index, "index", this);
185
185
  }
186
186
  map(e) {
187
- return new a(this._ifNode(e(this.object, "object", this)), this._ifNode(e(this.index, "index", this)), this.optionalChaining);
187
+ return new o(this._ifNode(e(this.object, "object", this)), this._ifNode(e(this.index, "index", this)), this.optionalChaining);
188
188
  }
189
189
  clone() {
190
- return new a(this.object, this.index, this.optionalChaining);
190
+ return new o(this.object, this.index, this.optionalChaining);
191
191
  }
192
192
  _toString(e) {
193
193
  var t = this.object.toString(e);
194
- i(this.object) && (t = "(" + t + ")");
194
+ a(this.object) && (t = "(" + t + ")");
195
195
  var n = this.optionalChaining ? this.index.dotNotation ? "?" : "?." : "";
196
196
  return t + n + this.index.toString(e);
197
197
  }
198
198
  _toHTML(e) {
199
199
  var t = this.object.toHTML(e);
200
- return i(this.object) && (t = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + t + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), t + this.index.toHTML(e);
200
+ return a(this.object) && (t = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + t + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), t + this.index.toHTML(e);
201
201
  }
202
202
  _toTex(e) {
203
203
  var t = this.object.toTex(e);
204
- return i(this.object) && (t = "\\left(' + object + '\\right)"), t + this.index.toTex(e);
204
+ return a(this.object) && (t = "\\left(' + object + '\\right)"), t + this.index.toTex(e);
205
205
  }
206
206
  toJSON() {
207
207
  return {
@@ -212,10 +212,10 @@ var wo = "AccessorNode", To = /* #__PURE__ */ z(wo, ["subset", "Node"], (e) => {
212
212
  };
213
213
  }
214
214
  static fromJSON(e) {
215
- return new a(e.object, e.index, e.optionalChaining);
215
+ return new o(e.object, e.index, e.optionalChaining);
216
216
  }
217
217
  }
218
- return J(a, "name", wo), a;
218
+ return Y(o, "name", wo), o;
219
219
  }, {
220
220
  isClass: !0,
221
221
  isNode: !0
@@ -223,7 +223,7 @@ var wo = "AccessorNode", To = /* #__PURE__ */ z(wo, ["subset", "Node"], (e) => {
223
223
  var { Node: t } = e;
224
224
  class n extends t {
225
225
  constructor(e) {
226
- if (super(), this.items = e || [], !Array.isArray(this.items) || !this.items.every(K)) throw TypeError("Array containing Nodes expected");
226
+ if (super(), this.items = e || [], !Array.isArray(this.items) || !this.items.every(J)) throw TypeError("Array containing Nodes expected");
227
227
  }
228
228
  get type() {
229
229
  return Eo;
@@ -232,18 +232,18 @@ var wo = "AccessorNode", To = /* #__PURE__ */ z(wo, ["subset", "Node"], (e) => {
232
232
  return !0;
233
233
  }
234
234
  _compile(e, t) {
235
- var n = vo(this.items, function(n) {
235
+ var n = Ut(this.items, function(n) {
236
236
  return n._compile(e, t);
237
237
  });
238
238
  if (e.config.matrix !== "Array") {
239
239
  var r = e.matrix;
240
240
  return function(e, t, i) {
241
- return r(vo(n, function(n) {
241
+ return r(Ut(n, function(n) {
242
242
  return n(e, t, i);
243
243
  }));
244
244
  };
245
245
  } else return function(e, t, r) {
246
- return vo(n, function(n) {
246
+ return Ut(n, function(n) {
247
247
  return n(e, t, r);
248
248
  });
249
249
  };
@@ -282,15 +282,15 @@ var wo = "AccessorNode", To = /* #__PURE__ */ z(wo, ["subset", "Node"], (e) => {
282
282
  }
283
283
  _toTex(e) {
284
284
  function t(n, r) {
285
- var i = n.some(Fr) && !n.every(Fr), a = r || i, o = a ? "&" : "\\\\", s = n.map(function(n) {
285
+ var a = n.some(i) && !n.every(i), o = r || a, s = o ? "&" : "\\\\", c = n.map(function(n) {
286
286
  return n.items ? t(n.items, !r) : n.toTex(e);
287
- }).join(o);
288
- return i || !a || a && !r ? "\\begin{bmatrix}" + s + "\\end{bmatrix}" : s;
287
+ }).join(s);
288
+ return a || !o || o && !r ? "\\begin{bmatrix}" + c + "\\end{bmatrix}" : c;
289
289
  }
290
290
  return t(this.items, !1);
291
291
  }
292
292
  }
293
- return J(n, "name", Eo), n;
293
+ return Y(n, "name", Eo), n;
294
294
  }, {
295
295
  isClass: !0,
296
296
  isNode: !0
@@ -308,7 +308,7 @@ function Oo(e) {
308
308
  if (typeof e == "string") return t(e, r, i);
309
309
  if (typeof e == "object") {
310
310
  if (!r.isObjectProperty()) throw TypeError("Cannot apply a numeric index as object property");
311
- return gt(e, r.getObjectProperty(), i), e;
311
+ return st(e, r.getObjectProperty(), i), e;
312
312
  } else throw TypeError("Cannot apply index: unsupported type of object");
313
313
  } catch (e) {
314
314
  throw X(e);
@@ -524,7 +524,7 @@ var ko = [
524
524
  ];
525
525
  function Ao(e, t) {
526
526
  if (!t || t !== "auto") return e;
527
- for (var n = e; Wa(n);) n = n.content;
527
+ for (var n = e; $n(n);) n = n.content;
528
528
  return n;
529
529
  }
530
530
  function Z(e, t, n, r) {
@@ -536,7 +536,7 @@ function Z(e, t, n, r) {
536
536
  }
537
537
  if (a === "OperatorNode:multiply" && i.implicit && n !== "show") {
538
538
  var c = Ao(i.args[0], t);
539
- !(q(c) && r && r.getIdentifier() === "OperatorNode:divide" && O(Ao(r.args[0], t))) && !(c.getIdentifier() === "OperatorNode:divide" && O(Ao(c.args[0], t)) && q(Ao(c.args[1]))) && (o += 1);
539
+ !(G(c) && r && r.getIdentifier() === "OperatorNode:divide" && Zt(Ao(r.args[0], t))) && !(c.getIdentifier() === "OperatorNode:divide" && Zt(Ao(c.args[0], t)) && G(Ao(c.args[1]))) && (o += 1);
540
540
  }
541
541
  return o;
542
542
  }
@@ -546,7 +546,7 @@ function jo(e, t) {
546
546
  var r = n.getIdentifier(), i = Z(n, t);
547
547
  if (i === null) return null;
548
548
  var a = ko[i][r];
549
- if (U(a, "associativity")) {
549
+ if (W(a, "associativity")) {
550
550
  if (a.associativity === "left") return "left";
551
551
  if (a.associativity === "right") return "right";
552
552
  throw Error("'" + r + "' has the invalid associativity '" + a.associativity + "'.");
@@ -557,7 +557,7 @@ function Mo(e, t, n) {
557
557
  var r = n === "keep" ? e : e.getContent(), i = n === "keep" ? t : e.getContent(), a = r.getIdentifier(), o = i.getIdentifier(), s = Z(r, n);
558
558
  if (s === null) return null;
559
559
  var c = ko[s][a];
560
- if (U(c, "associativeWith") && c.associativeWith instanceof Array) {
560
+ if (W(c, "associativeWith") && c.associativeWith instanceof Array) {
561
561
  for (var l = 0; l < c.associativeWith.length; l++) if (c.associativeWith[l] === o) return !0;
562
562
  return !1;
563
563
  }
@@ -586,10 +586,10 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
586
586
  }
587
587
  class s extends r {
588
588
  constructor(e, t, n) {
589
- if (super(), this.object = e, this.index = n ? t : null, this.value = n || t, !Y(e) && !Lt(e)) throw TypeError("SymbolNode or AccessorNode expected as \"object\"");
590
- if (Y(e) && e.name === "end") throw Error("Cannot assign to symbol \"end\"");
591
- if (this.index && !Hr(this.index)) throw TypeError("IndexNode expected as \"index\"");
592
- if (!K(this.value)) throw TypeError("Node expected as \"value\"");
589
+ if (super(), this.object = e, this.index = n ? t : null, this.value = n || t, !K(e) && !Gn(e)) throw TypeError("SymbolNode or AccessorNode expected as \"object\"");
590
+ if (K(e) && e.name === "end") throw Error("Cannot assign to symbol \"end\"");
591
+ if (this.index && !Tr(this.index)) throw TypeError("IndexNode expected as \"index\"");
592
+ if (!J(this.value)) throw TypeError("Node expected as \"value\"");
593
593
  }
594
594
  get name() {
595
595
  return this.index ? this.index.isObjectProperty() ? this.index.getObjectProperty() : "" : this.object.name || "";
@@ -603,7 +603,7 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
603
603
  _compile(e, t) {
604
604
  var n = this.object._compile(e, t), r = this.index ? this.index._compile(e, t) : null, o = this.value._compile(e, t), s = this.object.name;
605
605
  if (!this.index) {
606
- if (!Y(this.object)) throw TypeError("SymbolNode expected as object");
606
+ if (!K(this.object)) throw TypeError("SymbolNode expected as object");
607
607
  return function(e, t, n) {
608
608
  var r = o(e, t, n);
609
609
  return e.set(s, r), r;
@@ -612,9 +612,9 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
612
612
  var c = this.index.getObjectProperty();
613
613
  return function(e, t, r) {
614
614
  var i = n(e, t, r), a = o(e, t, r);
615
- return gt(i, c, a), a;
615
+ return st(i, c, a), a;
616
616
  };
617
- } else if (Y(this.object)) return function(e, t, i) {
617
+ } else if (K(this.object)) return function(e, t, i) {
618
618
  var c = n(e, t, i), l = o(e, t, i), u = r(e, t, c);
619
619
  return e.set(s, a(c, u, l)), l;
620
620
  };
@@ -623,8 +623,8 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
623
623
  if (this.object.index.isObjectProperty()) {
624
624
  var u = this.object.index.getObjectProperty();
625
625
  return function(e, t, n) {
626
- var i = l(e, t, n), s = G(i, u), c = r(e, t, s), d = o(e, t, n);
627
- return gt(i, u, a(s, c, d)), d;
626
+ var i = l(e, t, n), s = p(i, u), c = r(e, t, s), d = o(e, t, n);
627
+ return st(i, u, a(s, c, d)), d;
628
628
  };
629
629
  } else {
630
630
  var d = this.object.index._compile(e, t);
@@ -668,7 +668,7 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
668
668
  return o(this, e && e.parenthesis, e && e.implicit) && (r = `\\left(${r}\\right)`), t + n + "=" + r;
669
669
  }
670
670
  }
671
- return J(s, "name", Po), s;
671
+ return Y(s, "name", Po), s;
672
672
  }, {
673
673
  isClass: !0,
674
674
  isNode: !0
@@ -679,7 +679,7 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
679
679
  if (super(), !Array.isArray(e)) throw Error("Array expected");
680
680
  this.blocks = e.map(function(e) {
681
681
  var t = e && e.node, n = e && e.visible !== void 0 ? e.visible : !0;
682
- if (!K(t)) throw TypeError("Property \"node\" must be a Node");
682
+ if (!J(t)) throw TypeError("Property \"node\" must be a Node");
683
683
  if (typeof n != "boolean") throw TypeError("Property \"visible\" must be a boolean");
684
684
  return {
685
685
  node: t,
@@ -694,7 +694,7 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
694
694
  return !0;
695
695
  }
696
696
  _compile(e, n) {
697
- var r = vo(this.blocks, function(t) {
697
+ var r = Ut(this.blocks, function(t) {
698
698
  return {
699
699
  evaluate: t.node._compile(e, n),
700
700
  visible: t.visible
@@ -702,7 +702,7 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
702
702
  });
703
703
  return function(e, n, i) {
704
704
  var a = [];
705
- return $e(r, function(t) {
705
+ return je(r, function(t) {
706
706
  var r = t.evaluate(e, n, i);
707
707
  t.visible && a.push(r);
708
708
  }), new t(a);
@@ -754,7 +754,7 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
754
754
  }).join("\\;\\;\n");
755
755
  }
756
756
  }
757
- return J(r, "name", Io), r;
757
+ return Y(r, "name", Io), r;
758
758
  }, {
759
759
  isClass: !0,
760
760
  isNode: !0
@@ -763,18 +763,18 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
763
763
  function n(e) {
764
764
  if (typeof e == "number" || typeof e == "boolean" || typeof e == "string") return !!e;
765
765
  if (e) {
766
- if (Wi(e)) return !e.isZero();
767
- if (sr(e)) return !!(e.re || e.im);
768
- if ($t(e)) return !!e.value;
766
+ if (ka(e)) return !e.isZero();
767
+ if (ai(e)) return !!(e.re || e.im);
768
+ if (io(e)) return !!e.value;
769
769
  }
770
770
  if (e == null) return !1;
771
- throw TypeError("Unsupported type of condition \"" + Qa(e) + "\"");
771
+ throw TypeError("Unsupported type of condition \"" + O(e) + "\"");
772
772
  }
773
773
  class r extends t {
774
774
  constructor(e, t, n) {
775
- if (super(), !K(e)) throw TypeError("Parameter condition must be a Node");
776
- if (!K(t)) throw TypeError("Parameter trueExpr must be a Node");
777
- if (!K(n)) throw TypeError("Parameter falseExpr must be a Node");
775
+ if (super(), !J(e)) throw TypeError("Parameter condition must be a Node");
776
+ if (!J(t)) throw TypeError("Parameter trueExpr must be a Node");
777
+ if (!J(n)) throw TypeError("Parameter falseExpr must be a Node");
778
778
  this.condition = e, this.trueExpr = t, this.falseExpr = n;
779
779
  }
780
780
  get type() {
@@ -829,11 +829,11 @@ var Po = "AssignmentNode", Fo = /* #__PURE__ */ z(Po, [
829
829
  return "\\begin{cases} {" + this.trueExpr.toTex(e) + "}, &\\quad{\\text{if }\\;" + this.condition.toTex(e) + "}\\\\{" + this.falseExpr.toTex(e) + "}, &\\quad{\\text{otherwise}}\\end{cases}";
830
830
  }
831
831
  }
832
- return J(r, "name", Ro), r;
832
+ return Y(r, "name", Ro), r;
833
833
  }, {
834
834
  isClass: !0,
835
835
  isNode: !0
836
- }), Bo = /* @__PURE__ */ Gt((/* @__PURE__ */ me(((e, t) => {
836
+ }), Bo = /* @__PURE__ */ $e((/* @__PURE__ */ jt(((e, t) => {
837
837
  var n = Object.assign || function(e) {
838
838
  for (var t = 1; t < arguments.length; t++) {
839
839
  var n = arguments[t];
@@ -1127,7 +1127,7 @@ function Go(e) {
1127
1127
  return (0, Bo.default)(e, { preserveFormatting: !0 });
1128
1128
  }
1129
1129
  function Ko(e, t) {
1130
- return t = t === void 0 ? !1 : t, t ? U(Wo, e) ? Wo[e] : "\\mathrm{" + Go(e) + "}" : U(Vo, e) ? Vo[e] : Go(e);
1130
+ return t = t === void 0 ? !1 : t, t ? W(Wo, e) ? Wo[e] : "\\mathrm{" + Go(e) + "}" : W(Vo, e) ? Vo[e] : Go(e);
1131
1131
  }
1132
1132
  //#endregion
1133
1133
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/node/ConstantNode.js
@@ -1157,11 +1157,11 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1157
1157
  return new r(this.value);
1158
1158
  }
1159
1159
  _toString(e) {
1160
- return De(this.value, e);
1160
+ return yn(this.value, e);
1161
1161
  }
1162
1162
  _toHTML(e) {
1163
1163
  var t = this._toString(e);
1164
- switch (Qa(this.value)) {
1164
+ switch (O(this.value)) {
1165
1165
  case "number":
1166
1166
  case "bigint":
1167
1167
  case "BigNumber":
@@ -1184,7 +1184,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1184
1184
  }
1185
1185
  _toTex(e) {
1186
1186
  var t = this._toString(e);
1187
- switch (Qa(this.value)) {
1187
+ switch (O(this.value)) {
1188
1188
  case "string": return "\\mathtt{" + Go(t) + "}";
1189
1189
  case "number":
1190
1190
  case "BigNumber":
@@ -1197,7 +1197,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1197
1197
  }
1198
1198
  }
1199
1199
  }
1200
- return J(r, "name", qo), r;
1200
+ return Y(r, "name", qo), r;
1201
1201
  }, {
1202
1202
  isClass: !0,
1203
1203
  isNode: !0
@@ -1211,7 +1211,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1211
1211
  constructor(e, t, n) {
1212
1212
  if (super(), typeof e != "string") throw TypeError("String expected for parameter \"name\"");
1213
1213
  if (!Array.isArray(t)) throw TypeError("Array containing strings or objects expected for parameter \"params\"");
1214
- if (!K(n)) throw TypeError("Node expected for parameter \"expr\"");
1214
+ if (!J(n)) throw TypeError("Node expected for parameter \"expr\"");
1215
1215
  if (xo.has(e)) throw Error("Illegal function name, \"" + e + "\" is a reserved keyword");
1216
1216
  var r = /* @__PURE__ */ new Set();
1217
1217
  for (var i of t) {
@@ -1233,10 +1233,10 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1233
1233
  }
1234
1234
  _compile(e, n) {
1235
1235
  var r = Object.create(n);
1236
- $e(this.params, function(e) {
1236
+ je(this.params, function(e) {
1237
1237
  r[e] = !0;
1238
1238
  });
1239
- var i = this.expr, a = i._compile(e, r), o = this.name, s = this.params, c = Wt(this.types, ","), l = o + "(" + Wt(this.params, ", ") + ")";
1239
+ var i = this.expr, a = i._compile(e, r), o = this.name, s = this.params, c = Ze(this.types, ","), l = o + "(" + Ze(this.params, ", ") + ")";
1240
1240
  return function(e, n, r) {
1241
1241
  var u = {};
1242
1242
  u[c] = function() {
@@ -1279,16 +1279,16 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1279
1279
  return new i(e.name, e.params, e.expr);
1280
1280
  }
1281
1281
  _toHTML(e) {
1282
- for (var t = e && e.parenthesis ? e.parenthesis : "keep", n = [], i = 0; i < this.params.length; i++) n.push("<span class=\"math-symbol math-parameter\">" + xn(this.params[i]) + "</span>");
1282
+ for (var t = e && e.parenthesis ? e.parenthesis : "keep", n = [], i = 0; i < this.params.length; i++) n.push("<span class=\"math-symbol math-parameter\">" + y(this.params[i]) + "</span>");
1283
1283
  var a = this.expr.toHTML(e);
1284
- return r(this, t, e && e.implicit) && (a = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + a + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), "<span class=\"math-function\">" + xn(this.name) + "</span><span class=\"math-parenthesis math-round-parenthesis\">(</span>" + n.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-parenthesis math-round-parenthesis\">)</span><span class=\"math-operator math-assignment-operator math-variable-assignment-operator math-binary-operator\">=</span>" + a;
1284
+ return r(this, t, e && e.implicit) && (a = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + a + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), "<span class=\"math-function\">" + y(this.name) + "</span><span class=\"math-parenthesis math-round-parenthesis\">(</span>" + n.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-parenthesis math-round-parenthesis\">)</span><span class=\"math-operator math-assignment-operator math-variable-assignment-operator math-binary-operator\">=</span>" + a;
1285
1285
  }
1286
1286
  _toTex(e) {
1287
1287
  var t = e && e.parenthesis ? e.parenthesis : "keep", n = this.expr.toTex(e);
1288
1288
  return r(this, t, e && e.implicit) && (n = `\\left(${n}\\right)`), "\\mathrm{" + this.name + "}\\left(" + this.params.map(Ko).join(",") + "\\right)=" + n;
1289
1289
  }
1290
1290
  }
1291
- return J(i, "name", Yo), i;
1291
+ return Y(i, "name", Yo), i;
1292
1292
  }, {
1293
1293
  isClass: !0,
1294
1294
  isNode: !0
@@ -1296,7 +1296,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1296
1296
  var { Node: t, size: n } = e;
1297
1297
  class r extends t {
1298
1298
  constructor(e, t) {
1299
- if (super(), this.dimensions = e, this.dotNotation = t || !1, !Array.isArray(e) || !e.every(K)) throw TypeError("Array containing Nodes expected for parameter \"dimensions\"");
1299
+ if (super(), this.dimensions = e, this.dotNotation = t || !1, !Array.isArray(e) || !e.every(J)) throw TypeError("Array containing Nodes expected for parameter \"dimensions\"");
1300
1300
  if (this.dotNotation && !this.isObjectProperty()) throw Error("dotNotation only applicable for object properties");
1301
1301
  }
1302
1302
  get type() {
@@ -1306,20 +1306,20 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1306
1306
  return !0;
1307
1307
  }
1308
1308
  _compile(e, t) {
1309
- var r = vo(this.dimensions, function(r, a) {
1309
+ var r = Ut(this.dimensions, function(r, i) {
1310
1310
  if (r.filter((e) => e.isSymbolNode && e.name === "end").length > 0) {
1311
- var o = Object.create(t);
1312
- o.end = !0;
1313
- var s = r._compile(e, o);
1311
+ var a = Object.create(t);
1312
+ a.end = !0;
1313
+ var o = r._compile(e, a);
1314
1314
  return function(e, t, r) {
1315
- if (!ra(r) && !i(r) && !mr(r)) throw TypeError("Cannot resolve \"end\": context must be a Matrix, Array, or string but is " + Qa(r));
1316
- var o = n(r), c = Object.create(t);
1317
- return c.end = o[a], s(e, c, r);
1315
+ if (!zr(r) && !It(r) && !fo(r)) throw TypeError("Cannot resolve \"end\": context must be a Matrix, Array, or string but is " + O(r));
1316
+ var a = n(r), s = Object.create(t);
1317
+ return s.end = a[i], o(e, s, r);
1318
1318
  };
1319
1319
  } else return r._compile(e, t);
1320
- }), a = G(e, "index");
1320
+ }), i = p(e, "index");
1321
1321
  return function(e, t, n) {
1322
- return a(...vo(r, function(r) {
1322
+ return i(...Ut(r, function(r) {
1323
1323
  return r(e, t, n);
1324
1324
  }));
1325
1325
  };
@@ -1335,7 +1335,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1335
1335
  return new r(this.dimensions.slice(0), this.dotNotation);
1336
1336
  }
1337
1337
  isObjectProperty() {
1338
- return this.dimensions.length === 1 && q(this.dimensions[0]) && typeof this.dimensions[0].value == "string";
1338
+ return this.dimensions.length === 1 && G(this.dimensions[0]) && typeof this.dimensions[0].value == "string";
1339
1339
  }
1340
1340
  getObjectProperty() {
1341
1341
  return this.isObjectProperty() ? this.dimensions[0].value : null;
@@ -1355,7 +1355,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1355
1355
  }
1356
1356
  _toHTML(e) {
1357
1357
  for (var t = [], n = 0; n < this.dimensions.length; n++) t[n] = this.dimensions[n].toHTML();
1358
- return this.dotNotation ? "<span class=\"math-operator math-accessor-operator\">.</span><span class=\"math-symbol math-property\">" + xn(this.getObjectProperty()) + "</span>" : "<span class=\"math-parenthesis math-square-parenthesis\">[</span>" + t.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-parenthesis math-square-parenthesis\">]</span>";
1358
+ return this.dotNotation ? "<span class=\"math-operator math-accessor-operator\">.</span><span class=\"math-symbol math-property\">" + y(this.getObjectProperty()) + "</span>" : "<span class=\"math-parenthesis math-square-parenthesis\">[</span>" + t.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-parenthesis math-square-parenthesis\">]</span>";
1359
1359
  }
1360
1360
  _toTex(e) {
1361
1361
  var t = this.dimensions.map(function(t) {
@@ -1364,7 +1364,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1364
1364
  return this.dotNotation ? "." + this.getObjectProperty() : "_{" + t.join(",") + "}";
1365
1365
  }
1366
1366
  }
1367
- return J(r, "name", Zo), r;
1367
+ return Y(r, "name", Zo), r;
1368
1368
  }, {
1369
1369
  isClass: !0,
1370
1370
  isNode: !0
@@ -1373,7 +1373,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1373
1373
  class n extends t {
1374
1374
  constructor(e) {
1375
1375
  if (super(), this.properties = e || {}, e && (typeof e != "object" || !Object.keys(e).every(function(t) {
1376
- return K(e[t]);
1376
+ return J(e[t]);
1377
1377
  }))) throw TypeError("Object containing Nodes expected");
1378
1378
  }
1379
1379
  get type() {
@@ -1384,32 +1384,32 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1384
1384
  }
1385
1385
  _compile(e, t) {
1386
1386
  var n = {};
1387
- for (var r in this.properties) if (U(this.properties, r)) {
1388
- var i = mn(r), a = JSON.parse(i);
1389
- n[a] = G(this.properties, r)._compile(e, t);
1387
+ for (var r in this.properties) if (W(this.properties, r)) {
1388
+ var i = we(r), a = JSON.parse(i);
1389
+ n[a] = p(this.properties, r)._compile(e, t);
1390
1390
  }
1391
1391
  return function(e, t, r) {
1392
1392
  var i = {};
1393
- for (var a in n) U(n, a) && (i[a] = n[a](e, t, r));
1393
+ for (var a in n) W(n, a) && (i[a] = n[a](e, t, r));
1394
1394
  return i;
1395
1395
  };
1396
1396
  }
1397
1397
  forEach(e) {
1398
- for (var t in this.properties) U(this.properties, t) && e(this.properties[t], "properties[" + mn(t) + "]", this);
1398
+ for (var t in this.properties) W(this.properties, t) && e(this.properties[t], "properties[" + we(t) + "]", this);
1399
1399
  }
1400
1400
  map(e) {
1401
1401
  var t = {};
1402
- for (var r in this.properties) U(this.properties, r) && (t[r] = this._ifNode(e(this.properties[r], "properties[" + mn(r) + "]", this)));
1402
+ for (var r in this.properties) W(this.properties, r) && (t[r] = this._ifNode(e(this.properties[r], "properties[" + we(r) + "]", this)));
1403
1403
  return new n(t);
1404
1404
  }
1405
1405
  clone() {
1406
1406
  var e = {};
1407
- for (var t in this.properties) U(this.properties, t) && (e[t] = this.properties[t]);
1407
+ for (var t in this.properties) W(this.properties, t) && (e[t] = this.properties[t]);
1408
1408
  return new n(e);
1409
1409
  }
1410
1410
  _toString(e) {
1411
1411
  var t = [];
1412
- for (var n in this.properties) U(this.properties, n) && t.push(mn(n) + ": " + this.properties[n].toString(e));
1412
+ for (var n in this.properties) W(this.properties, n) && t.push(we(n) + ": " + this.properties[n].toString(e));
1413
1413
  return "{" + t.join(", ") + "}";
1414
1414
  }
1415
1415
  toJSON() {
@@ -1423,16 +1423,16 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1423
1423
  }
1424
1424
  _toHTML(e) {
1425
1425
  var t = [];
1426
- for (var n in this.properties) U(this.properties, n) && t.push("<span class=\"math-symbol math-property\">" + xn(n) + "</span><span class=\"math-operator math-assignment-operator math-property-assignment-operator math-binary-operator\">:</span>" + this.properties[n].toHTML(e));
1426
+ for (var n in this.properties) W(this.properties, n) && t.push("<span class=\"math-symbol math-property\">" + y(n) + "</span><span class=\"math-operator math-assignment-operator math-property-assignment-operator math-binary-operator\">:</span>" + this.properties[n].toHTML(e));
1427
1427
  return "<span class=\"math-parenthesis math-curly-parenthesis\">{</span>" + t.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-parenthesis math-curly-parenthesis\">}</span>";
1428
1428
  }
1429
1429
  _toTex(e) {
1430
1430
  var t = [];
1431
- for (var n in this.properties) U(this.properties, n) && t.push("\\mathbf{" + n + ":} & " + this.properties[n].toTex(e) + "\\\\");
1431
+ for (var n in this.properties) W(this.properties, n) && t.push("\\mathbf{" + n + ":} & " + this.properties[n].toTex(e) + "\\\\");
1432
1432
  return "\\left\\{\\begin{array}{ll}" + t.join("\n") + "\\end{array}\\right\\}";
1433
1433
  }
1434
1434
  }
1435
- return J(n, "name", $o), n;
1435
+ return Y(n, "name", $o), n;
1436
1436
  }, {
1437
1437
  isClass: !0,
1438
1438
  isNode: !0
@@ -1440,7 +1440,7 @@ var qo = "ConstantNode", Jo = /* #__PURE__ */ z(qo, ["Node", "isBounded"], (e) =
1440
1440
  //#endregion
1441
1441
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/utils/scope.js
1442
1442
  function ts(e, t) {
1443
- return new oe(e, new cn(t), new Set(Object.keys(t)));
1443
+ return new on(e, new Xa(t), new Set(Object.keys(t)));
1444
1444
  }
1445
1445
  //#endregion
1446
1446
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/node/OperatorNode.js
@@ -1448,8 +1448,8 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1448
1448
  var { Node: t } = e;
1449
1449
  function n(e, t) {
1450
1450
  var r = e;
1451
- if (t === "auto") for (; Wa(r);) r = r.content;
1452
- return q(r) ? !0 : W(r) ? n(r.args[0], t) : !1;
1451
+ if (t === "auto") for (; $n(r);) r = r.content;
1452
+ return G(r) ? !0 : q(r) ? n(r.args[0], t) : !1;
1453
1453
  }
1454
1454
  function r(e, t, r, i, a) {
1455
1455
  var o = Z(e, t, r), s = jo(e, t);
@@ -1507,14 +1507,14 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1507
1507
  }));
1508
1508
  break;
1509
1509
  }
1510
- if (i.length >= 2 && e.getIdentifier() === "OperatorNode:multiply" && e.implicit && t !== "all" && r === "hide") for (var x = 1; x < c.length; ++x) n(i[x], t) && !c[x - 1] && (t !== "keep" || !Wa(i[x - 1])) && (c[x] = !0);
1510
+ if (i.length >= 2 && e.getIdentifier() === "OperatorNode:multiply" && e.implicit && t !== "all" && r === "hide") for (var x = 1; x < c.length; ++x) n(i[x], t) && !c[x - 1] && (t !== "keep" || !$n(i[x - 1])) && (c[x] = !0);
1511
1511
  return c;
1512
1512
  }
1513
1513
  class i extends t {
1514
1514
  constructor(e, t, n, r, i) {
1515
1515
  if (super(), typeof e != "string") throw TypeError("string expected for parameter \"op\"");
1516
1516
  if (typeof t != "string") throw TypeError("string expected for parameter \"fn\"");
1517
- if (!Array.isArray(n) || !n.every(K)) throw TypeError("Array containing Nodes expected for parameter \"args\"");
1517
+ if (!Array.isArray(n) || !n.every(J)) throw TypeError("Array containing Nodes expected for parameter \"args\"");
1518
1518
  this.implicit = r === !0, this.isPercentage = i === !0, this.op = e, this.fn = t, this.args = n || [];
1519
1519
  }
1520
1520
  get type() {
@@ -1524,8 +1524,8 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1524
1524
  return !0;
1525
1525
  }
1526
1526
  _compile(e, t) {
1527
- if (typeof this.fn != "string" || !ct(e, this.fn)) throw e[this.fn] ? Error("No access to function \"" + this.fn + "\"") : Error("Function " + this.fn + " missing in provided namespace \"math\"");
1528
- var n = G(e, this.fn), r = vo(this.args, function(n) {
1527
+ if (typeof this.fn != "string" || !pi(e, this.fn)) throw e[this.fn] ? Error("No access to function \"" + this.fn + "\"") : Error("Function " + this.fn + " missing in provided namespace \"math\"");
1528
+ var n = p(e, this.fn), r = Ut(this.args, function(n) {
1529
1529
  return n._compile(e, t);
1530
1530
  });
1531
1531
  if (typeof n == "function" && n.rawArgs === !0) {
@@ -1544,7 +1544,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1544
1544
  return n(o(e, t, r), s(e, t, r));
1545
1545
  };
1546
1546
  } else return function(e, t, i) {
1547
- return n.apply(null, vo(r, function(n) {
1547
+ return n.apply(null, Ut(r, function(n) {
1548
1548
  return n(e, t, i);
1549
1549
  }));
1550
1550
  };
@@ -1599,15 +1599,15 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1599
1599
  var t = e && e.parenthesis ? e.parenthesis : "keep", n = e && e.implicit ? e.implicit : "hide", i = this.args, a = r(this, t, n, i, !1);
1600
1600
  if (i.length === 1) {
1601
1601
  var o = jo(this, t), s = i[0].toHTML(e);
1602
- return a[0] && (s = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + s + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), o === "right" ? "<span class=\"math-operator math-unary-operator math-lefthand-unary-operator\">" + xn(this.op) + "</span>" + s : s + "<span class=\"math-operator math-unary-operator math-righthand-unary-operator\">" + xn(this.op) + "</span>";
1602
+ return a[0] && (s = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + s + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), o === "right" ? "<span class=\"math-operator math-unary-operator math-lefthand-unary-operator\">" + y(this.op) + "</span>" + s : s + "<span class=\"math-operator math-unary-operator math-righthand-unary-operator\">" + y(this.op) + "</span>";
1603
1603
  } else if (i.length === 2) {
1604
1604
  var c = i[0].toHTML(e), l = i[1].toHTML(e);
1605
- return a[0] && (c = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + c + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), a[1] && (l = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + l + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), this.implicit && this.getIdentifier() === "OperatorNode:multiply" && n === "hide" ? c + "<span class=\"math-operator math-binary-operator math-implicit-binary-operator\"></span>" + l : c + "<span class=\"math-operator math-binary-operator math-explicit-binary-operator\">" + xn(this.op) + "</span>" + l;
1605
+ return a[0] && (c = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + c + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), a[1] && (l = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + l + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), this.implicit && this.getIdentifier() === "OperatorNode:multiply" && n === "hide" ? c + "<span class=\"math-operator math-binary-operator math-implicit-binary-operator\"></span>" + l : c + "<span class=\"math-operator math-binary-operator math-explicit-binary-operator\">" + y(this.op) + "</span>" + l;
1606
1606
  } else {
1607
1607
  var u = i.map(function(t, n) {
1608
1608
  return t = t.toHTML(e), a[n] && (t = "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + t + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>"), t;
1609
1609
  });
1610
- return i.length > 2 && (this.getIdentifier() === "OperatorNode:add" || this.getIdentifier() === "OperatorNode:multiply") ? this.implicit && this.getIdentifier() === "OperatorNode:multiply" && n === "hide" ? u.join("<span class=\"math-operator math-binary-operator math-implicit-binary-operator\"></span>") : u.join("<span class=\"math-operator math-binary-operator math-explicit-binary-operator\">" + xn(this.op) + "</span>") : "<span class=\"math-function\">" + xn(this.fn) + "</span><span class=\"math-paranthesis math-round-parenthesis\">(</span>" + u.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-paranthesis math-round-parenthesis\">)</span>";
1610
+ return i.length > 2 && (this.getIdentifier() === "OperatorNode:add" || this.getIdentifier() === "OperatorNode:multiply") ? this.implicit && this.getIdentifier() === "OperatorNode:multiply" && n === "hide" ? u.join("<span class=\"math-operator math-binary-operator math-implicit-binary-operator\"></span>") : u.join("<span class=\"math-operator math-binary-operator math-explicit-binary-operator\">" + y(this.op) + "</span>") : "<span class=\"math-function\">" + y(this.fn) + "</span><span class=\"math-paranthesis math-round-parenthesis\">(</span>" + u.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-paranthesis math-round-parenthesis\">)</span>";
1611
1611
  }
1612
1612
  }
1613
1613
  _toTex(e) {
@@ -1645,7 +1645,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1645
1645
  return this.type + ":" + this.fn;
1646
1646
  }
1647
1647
  }
1648
- return J(i, "name", ns), i;
1648
+ return Y(i, "name", ns), i;
1649
1649
  }, {
1650
1650
  isClass: !0,
1651
1651
  isNode: !0
@@ -1653,7 +1653,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1653
1653
  var { Node: t } = e;
1654
1654
  class n extends t {
1655
1655
  constructor(e) {
1656
- if (super(), !K(e)) throw TypeError("Node expected for parameter \"content\"");
1656
+ if (super(), !J(e)) throw TypeError("Node expected for parameter \"content\"");
1657
1657
  this.content = e;
1658
1658
  }
1659
1659
  get type() {
@@ -1696,7 +1696,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1696
1696
  return !e || e && !e.parenthesis || e && e.parenthesis === "keep" ? `\\left(${this.content.toTex(e)}\\right)` : this.content.toTex(e);
1697
1697
  }
1698
1698
  }
1699
- return J(n, "name", is), n;
1699
+ return Y(n, "name", is), n;
1700
1700
  }, {
1701
1701
  isClass: !0,
1702
1702
  isNode: !0
@@ -1713,7 +1713,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1713
1713
  }
1714
1714
  class r extends t {
1715
1715
  constructor(e, t, n) {
1716
- if (super(), !K(e) || !K(t) || n && !K(n)) throw TypeError("Node expected");
1716
+ if (super(), !J(e) || !J(t) || n && !J(n)) throw TypeError("Node expected");
1717
1717
  if (arguments.length > 3) throw Error("Too many arguments");
1718
1718
  this.start = e, this.end = t, this.step = n || null;
1719
1719
  }
@@ -1725,7 +1725,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1725
1725
  }
1726
1726
  needsEnd() {
1727
1727
  return this.filter(function(e) {
1728
- return Y(e) && e.name === "end";
1728
+ return K(e) && e.name === "end";
1729
1729
  }).length > 0;
1730
1730
  }
1731
1731
  _compile(e, t) {
@@ -1787,7 +1787,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1787
1787
  return r.end && (o = `\\left(${o}\\right)`), i += ":" + o, i;
1788
1788
  }
1789
1789
  }
1790
- return J(r, "name", os), r;
1790
+ return Y(r, "name", os), r;
1791
1791
  }, {
1792
1792
  isClass: !0,
1793
1793
  isNode: !0
@@ -1816,7 +1816,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1816
1816
  _compile(e, t) {
1817
1817
  var n = this, r = this.params.map((n) => n._compile(e, t));
1818
1818
  return function(t, i, a) {
1819
- for (var o, s = r[0](t, i, a), c = 0; c < n.conditionals.length; c++) if (o = s, s = r[c + 1](t, i, a), !G(e, n.conditionals[c])(o, s)) return !1;
1819
+ for (var o, s = r[0](t, i, a), c = 0; c < n.conditionals.length; c++) if (o = s, s = r[c + 1](t, i, a), !p(e, n.conditionals[c])(o, s)) return !1;
1820
1820
  return !0;
1821
1821
  };
1822
1822
  }
@@ -1850,7 +1850,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1850
1850
  for (var t = e && e.parenthesis ? e.parenthesis : "keep", r = Z(this, t, e && e.implicit), i = this.params.map(function(n, i) {
1851
1851
  var a = Z(n, t, e && e.implicit);
1852
1852
  return t === "all" || a !== null && a <= r ? "<span class=\"math-parenthesis math-round-parenthesis\">(</span>" + n.toHTML(e) + "<span class=\"math-parenthesis math-round-parenthesis\">)</span>" : n.toHTML(e);
1853
- }), a = i[0], o = 0; o < this.conditionals.length; o++) a += "<span class=\"math-operator math-binary-operator math-explicit-binary-operator\">" + xn(n[this.conditionals[o]]) + "</span>" + i[o + 1];
1853
+ }), a = i[0], o = 0; o < this.conditionals.length; o++) a += "<span class=\"math-operator math-binary-operator math-explicit-binary-operator\">" + y(n[this.conditionals[o]]) + "</span>" + i[o + 1];
1854
1854
  return a;
1855
1855
  }
1856
1856
  _toTex(e) {
@@ -1861,7 +1861,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1861
1861
  return i;
1862
1862
  }
1863
1863
  }
1864
- return J(r, "name", cs), r;
1864
+ return Y(r, "name", cs), r;
1865
1865
  }, {
1866
1866
  isClass: !0,
1867
1867
  isNode: !0
@@ -1888,10 +1888,10 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1888
1888
  _compile(e, t) {
1889
1889
  var r = this.name;
1890
1890
  if (t[r] === !0) return function(e, t, n) {
1891
- return G(t, r);
1891
+ return p(t, r);
1892
1892
  };
1893
1893
  if (r in e) return function(t, n, i) {
1894
- return t.has(r) ? t.get(r) : G(e, r);
1894
+ return t.has(r) ? t.get(r) : p(e, r);
1895
1895
  };
1896
1896
  var o = i(r);
1897
1897
  return function(e, t, i) {
@@ -1912,7 +1912,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1912
1912
  return this.name;
1913
1913
  }
1914
1914
  _toHTML(e) {
1915
- var t = xn(this.name);
1915
+ var t = y(this.name);
1916
1916
  return t === "true" || t === "false" ? "<span class=\"math-symbol math-boolean\">" + t + "</span>" : t === "i" ? "<span class=\"math-symbol math-imaginary-symbol\">" + t + "</span>" : t === "Infinity" ? "<span class=\"math-symbol math-infinity-symbol\">" + t + "</span>" : t === "NaN" ? "<span class=\"math-symbol math-nan-symbol\">" + t + "</span>" : t === "null" ? "<span class=\"math-symbol math-null-symbol\">" + t + "</span>" : t === "undefined" ? "<span class=\"math-symbol math-undefined-symbol\">" + t + "</span>" : "<span class=\"math-symbol\">" + t + "</span>";
1917
1917
  }
1918
1918
  toJSON() {
@@ -1940,7 +1940,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1940
1940
  "Node",
1941
1941
  "SymbolNode"
1942
1942
  ], (e) => {
1943
- var t, { math: n, Node: r, SymbolNode: i } = e, a = (e) => De(e, { truncate: 78 });
1943
+ var t, { math: n, Node: r, SymbolNode: i } = e, a = (e) => yn(e, { truncate: 78 });
1944
1944
  function o(e, t, n) {
1945
1945
  for (var r = "", i = /\$(?:\{([a-z_][a-z_0-9]*)(?:\[([0-9]+)\])?\}|\$)/gi, a = 0, o; (o = i.exec(e)) !== null;) if (r += e.substring(a, o.index), a = o.index, o[0] === "$$") r += "$", a++;
1946
1946
  else {
@@ -1952,24 +1952,24 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1952
1952
  r += s;
1953
1953
  break;
1954
1954
  case "object":
1955
- if (K(s)) r += s.toTex(n);
1955
+ if (J(s)) r += s.toTex(n);
1956
1956
  else if (Array.isArray(s)) r += s.map(function(e, t) {
1957
- if (K(e)) return e.toTex(n);
1957
+ if (J(e)) return e.toTex(n);
1958
1958
  throw TypeError("Template: " + o[1] + "[" + t + "] is not a Node.");
1959
1959
  }).join(",");
1960
1960
  else throw TypeError("Template: " + o[1] + " has to be a Node, String or array of Nodes");
1961
1961
  break;
1962
1962
  default: throw TypeError("Template: " + o[1] + " has to be a Node, String or array of Nodes");
1963
1963
  }
1964
- else if (K(s[o[2]] && s[o[2]])) r += s[o[2]].toTex(n);
1964
+ else if (J(s[o[2]] && s[o[2]])) r += s[o[2]].toTex(n);
1965
1965
  else throw TypeError("Template: " + o[1] + "[" + o[2] + "] is not a Node.");
1966
1966
  }
1967
1967
  return r += e.slice(a), r;
1968
1968
  }
1969
1969
  class s extends r {
1970
1970
  constructor(e, t, n) {
1971
- if (super(), typeof e == "string" && (e = new i(e)), !K(e)) throw TypeError("Node expected as parameter \"fn\"");
1972
- if (!Array.isArray(t) || !t.every(K)) throw TypeError("Array containing Nodes expected for parameter \"args\"");
1971
+ if (super(), typeof e == "string" && (e = new i(e)), !J(e)) throw TypeError("Node expected as parameter \"fn\"");
1972
+ if (!Array.isArray(t) || !t.every(J)) throw TypeError("Array containing Nodes expected for parameter \"args\"");
1973
1973
  var r = typeof n;
1974
1974
  if (!(r === "undefined" || r === "boolean")) throw TypeError("optional flag, if specified, must be boolean");
1975
1975
  this.fn = e, this.args = t || [], this.optional = !!n;
@@ -1984,13 +1984,13 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1984
1984
  return !0;
1985
1985
  }
1986
1986
  _compile(e, t) {
1987
- var n = this.args.map((n) => n._compile(e, t)), r = this.optional || Lt(this.fn) && this.fn.optionalChaining;
1988
- if (Y(this.fn)) {
1987
+ var n = this.args.map((n) => n._compile(e, t)), r = this.optional || Gn(this.fn) && this.fn.optionalChaining;
1988
+ if (K(this.fn)) {
1989
1989
  var i = this.fn.name;
1990
1990
  if (t[i]) {
1991
1991
  var o = this.args;
1992
1992
  return function(t, s, c) {
1993
- var l = G(s, i);
1993
+ var l = p(s, i);
1994
1994
  if (!(r && l === void 0)) {
1995
1995
  if (typeof l != "function") throw TypeError(`Argument '${i}' was not a function; received: ${a(l)}`);
1996
1996
  if (l.rawArgs) return l(o, e, ts(t, s));
@@ -1999,10 +1999,10 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
1999
1999
  }
2000
2000
  };
2001
2001
  } else {
2002
- var c = i in e ? G(e, i) : void 0, l = typeof c == "function" && c.rawArgs === !0, u = (t) => {
2002
+ var c = i in e ? p(e, i) : void 0, l = typeof c == "function" && c.rawArgs === !0, u = (t) => {
2003
2003
  var n;
2004
2004
  if (t.has(i)) n = t.get(i);
2005
- else if (i in e) n = G(e, i);
2005
+ else if (i in e) n = p(e, i);
2006
2006
  else if (r) n = void 0;
2007
2007
  else return s.onUndefinedFunction(i);
2008
2008
  if (typeof n == "function" || r && n === void 0) return n;
@@ -2040,12 +2040,12 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2040
2040
  };
2041
2041
  }
2042
2042
  }
2043
- } else if (Lt(this.fn) && Hr(this.fn.index) && this.fn.index.isObjectProperty()) {
2043
+ } else if (Gn(this.fn) && Tr(this.fn.index) && this.fn.index.isObjectProperty()) {
2044
2044
  var f = this.fn.object._compile(e, t), m = this.fn.index.getObjectProperty(), h = this.args;
2045
2045
  return function(t, i, a) {
2046
2046
  var o = f(t, i, a);
2047
2047
  if (!(r && (o == null || o[m] === void 0))) {
2048
- var s = p(o, m);
2048
+ var s = xi(o, m);
2049
2049
  if (s != null && s.rawArgs) return s(h, e, ts(t, i));
2050
2050
  var c = n.map((e) => e(t, i, a));
2051
2051
  return s.apply(o, c);
@@ -2078,13 +2078,13 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2078
2078
  }
2079
2079
  toString(e) {
2080
2080
  var t, n = this.fn.toString(e);
2081
- return e && typeof e.handler == "object" && U(e.handler, n) && (t = e.handler[n](this, e)), t === void 0 ? super.toString(e) : t;
2081
+ return e && typeof e.handler == "object" && W(e.handler, n) && (t = e.handler[n](this, e)), t === void 0 ? super.toString(e) : t;
2082
2082
  }
2083
2083
  _toString(e) {
2084
2084
  var t = this.args.map(function(t) {
2085
2085
  return t.toString(e);
2086
2086
  });
2087
- return (ji(this.fn) ? "(" + this.fn.toString(e) + ")" : this.fn.toString(e)) + "(" + t.join(", ") + ")";
2087
+ return (vr(this.fn) ? "(" + this.fn.toString(e) + ")" : this.fn.toString(e)) + "(" + t.join(", ") + ")";
2088
2088
  }
2089
2089
  toJSON() {
2090
2090
  return {
@@ -2097,11 +2097,11 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2097
2097
  var t = this.args.map(function(t) {
2098
2098
  return t.toHTML(e);
2099
2099
  });
2100
- return "<span class=\"math-function\">" + xn(this.fn) + "</span><span class=\"math-paranthesis math-round-parenthesis\">(</span>" + t.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-paranthesis math-round-parenthesis\">)</span>";
2100
+ return "<span class=\"math-function\">" + y(this.fn) + "</span><span class=\"math-paranthesis math-round-parenthesis\">(</span>" + t.join("<span class=\"math-separator\">,</span>") + "<span class=\"math-paranthesis math-round-parenthesis\">)</span>";
2101
2101
  }
2102
2102
  toTex(e) {
2103
2103
  var t;
2104
- return e && typeof e.handler == "object" && U(e.handler, this.name) && (t = e.handler[this.name](this, e)), t === void 0 ? super.toTex(e) : t;
2104
+ return e && typeof e.handler == "object" && W(e.handler, this.name) && (t = e.handler[this.name](this, e)), t === void 0 ? super.toTex(e) : t;
2105
2105
  }
2106
2106
  _toTex(e) {
2107
2107
  var t = this.args.map(function(t) {
@@ -2131,9 +2131,9 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2131
2131
  return this.type + ":" + this.name;
2132
2132
  }
2133
2133
  }
2134
- return t = s, J(s, "name", ds), J(s, "onUndefinedFunction", function(e) {
2134
+ return t = s, Y(s, "name", ds), Y(s, "onUndefinedFunction", function(e) {
2135
2135
  throw Error("Undefined function " + e);
2136
- }), J(s, "fromJSON", function(e) {
2136
+ }), Y(s, "fromJSON", function(e) {
2137
2137
  return new t(e.fn, e.args);
2138
2138
  }), s;
2139
2139
  }, {
@@ -2161,21 +2161,21 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2161
2161
  ], (e) => {
2162
2162
  var { typed: t, numeric: n, config: r, AccessorNode: i, ArrayNode: a, AssignmentNode: o, BlockNode: s, ConditionalNode: c, ConstantNode: l, FunctionAssignmentNode: u, FunctionNode: d, IndexNode: f, ObjectNode: p, OperatorNode: m, ParenthesisNode: h, RangeNode: g, RelationalNode: _, SymbolNode: v } = e, y = t(ps, {
2163
2163
  string: function(e) {
2164
- return te(e, {});
2164
+ return ee(e, {});
2165
2165
  },
2166
2166
  "Array | Matrix": function(e) {
2167
2167
  return b(e, {});
2168
2168
  },
2169
2169
  "string, Object": function(e, t) {
2170
- return te(e, t.nodes === void 0 ? {} : t.nodes);
2170
+ return ee(e, t.nodes === void 0 ? {} : t.nodes);
2171
2171
  },
2172
2172
  "Array | Matrix, Object": b
2173
2173
  });
2174
2174
  function b(e) {
2175
2175
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.nodes === void 0 ? {} : t.nodes;
2176
- return Pe(e, function(e) {
2176
+ return de(e, function(e) {
2177
2177
  if (typeof e != "string") throw TypeError("String expected");
2178
- return te(e, n);
2178
+ return ee(e, n);
2179
2179
  });
2180
2180
  }
2181
2181
  var x = {
@@ -2259,90 +2259,90 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2259
2259
  conditionalLevel: null
2260
2260
  };
2261
2261
  }
2262
- function k(e, t) {
2262
+ function O(e, t) {
2263
2263
  return e.expression.substr(e.index, t);
2264
2264
  }
2265
- function A(e) {
2266
- return k(e, 1);
2265
+ function k(e) {
2266
+ return O(e, 1);
2267
2267
  }
2268
- function j(e) {
2268
+ function A(e) {
2269
2269
  e.index++;
2270
2270
  }
2271
- function M(e) {
2271
+ function j(e) {
2272
2272
  return e.expression.charAt(e.index - 1);
2273
2273
  }
2274
- function N(e) {
2274
+ function M(e) {
2275
2275
  return e.expression.charAt(e.index + 1);
2276
2276
  }
2277
- function P(e) {
2277
+ function N(e) {
2278
2278
  for (e.tokenType = x.NULL, e.token = "", e.comment = "";;) {
2279
- if (A(e) === "#") for (; A(e) !== "\n" && A(e) !== "";) e.comment += A(e), j(e);
2280
- if (y.isWhitespace(A(e), e.nestingLevel)) j(e);
2279
+ if (k(e) === "#") for (; k(e) !== "\n" && k(e) !== "";) e.comment += k(e), A(e);
2280
+ if (y.isWhitespace(k(e), e.nestingLevel)) A(e);
2281
2281
  else break;
2282
2282
  }
2283
- if (A(e) === "") {
2283
+ if (k(e) === "") {
2284
2284
  e.tokenType = x.DELIMITER;
2285
2285
  return;
2286
2286
  }
2287
- if (A(e) === "\n" && !e.nestingLevel) {
2288
- e.tokenType = x.DELIMITER, e.token = A(e), j(e);
2287
+ if (k(e) === "\n" && !e.nestingLevel) {
2288
+ e.tokenType = x.DELIMITER, e.token = k(e), A(e);
2289
2289
  return;
2290
2290
  }
2291
- var t = A(e), n = k(e, 2), r = k(e, 3);
2291
+ var t = k(e), n = O(e, 2), r = O(e, 3);
2292
2292
  if (r.length === 3 && S[r]) {
2293
- e.tokenType = x.DELIMITER, e.token = r, j(e), j(e), j(e);
2293
+ e.tokenType = x.DELIMITER, e.token = r, A(e), A(e), A(e);
2294
2294
  return;
2295
2295
  }
2296
2296
  if (n.length === 2 && S[n] && (n !== "?." || !y.isDigit(e.expression.charAt(e.index + 2)))) {
2297
- e.tokenType = x.DELIMITER, e.token = n, j(e), j(e);
2297
+ e.tokenType = x.DELIMITER, e.token = n, A(e), A(e);
2298
2298
  return;
2299
2299
  }
2300
2300
  if (S[t]) {
2301
- e.tokenType = x.DELIMITER, e.token = t, j(e);
2301
+ e.tokenType = x.DELIMITER, e.token = t, A(e);
2302
2302
  return;
2303
2303
  }
2304
2304
  if (y.isDigitDot(t)) {
2305
2305
  e.tokenType = x.NUMBER;
2306
- var i = k(e, 2);
2306
+ var i = O(e, 2);
2307
2307
  if (i === "0b" || i === "0o" || i === "0x") {
2308
- for (e.token += A(e), j(e), e.token += A(e), j(e); y.isAlpha(A(e), M(e), N(e)) || y.isDigit(A(e));) e.token += A(e), j(e);
2309
- if (A(e) === ".") for (e.token += ".", j(e); y.isAlpha(A(e), M(e), N(e)) || y.isDigit(A(e));) e.token += A(e), j(e);
2310
- else if (A(e) === "i") for (e.token += "i", j(e); y.isDigit(A(e));) e.token += A(e), j(e);
2308
+ for (e.token += k(e), A(e), e.token += k(e), A(e); y.isAlpha(k(e), j(e), M(e)) || y.isDigit(k(e));) e.token += k(e), A(e);
2309
+ if (k(e) === ".") for (e.token += ".", A(e); y.isAlpha(k(e), j(e), M(e)) || y.isDigit(k(e));) e.token += k(e), A(e);
2310
+ else if (k(e) === "i") for (e.token += "i", A(e); y.isDigit(k(e));) e.token += k(e), A(e);
2311
2311
  return;
2312
2312
  }
2313
- if (A(e) === ".") {
2314
- if (e.token += A(e), j(e), !y.isDigit(A(e))) {
2313
+ if (k(e) === ".") {
2314
+ if (e.token += k(e), A(e), !y.isDigit(k(e))) {
2315
2315
  e.tokenType = x.DELIMITER;
2316
2316
  return;
2317
2317
  }
2318
2318
  } else {
2319
- for (; y.isDigit(A(e));) e.token += A(e), j(e);
2320
- y.isDecimalMark(A(e), N(e)) && (e.token += A(e), j(e));
2319
+ for (; y.isDigit(k(e));) e.token += k(e), A(e);
2320
+ y.isDecimalMark(k(e), M(e)) && (e.token += k(e), A(e));
2321
2321
  }
2322
- for (; y.isDigit(A(e));) e.token += A(e), j(e);
2323
- if (A(e) === "E" || A(e) === "e") {
2324
- if (y.isDigit(N(e)) || N(e) === "-" || N(e) === "+") {
2325
- if (e.token += A(e), j(e), (A(e) === "+" || A(e) === "-") && (e.token += A(e), j(e)), !y.isDigit(A(e))) throw R(e, "Digit expected, got \"" + A(e) + "\"");
2326
- for (; y.isDigit(A(e));) e.token += A(e), j(e);
2327
- if (y.isDecimalMark(A(e), N(e))) throw R(e, "Digit expected, got \"" + A(e) + "\"");
2328
- } else if (y.isDecimalMark(N(e), e.expression.charAt(e.index + 2))) throw j(e), R(e, "Digit expected, got \"" + A(e) + "\"");
2322
+ for (; y.isDigit(k(e));) e.token += k(e), A(e);
2323
+ if (k(e) === "E" || k(e) === "e") {
2324
+ if (y.isDigit(M(e)) || M(e) === "-" || M(e) === "+") {
2325
+ if (e.token += k(e), A(e), (k(e) === "+" || k(e) === "-") && (e.token += k(e), A(e)), !y.isDigit(k(e))) throw B(e, "Digit expected, got \"" + k(e) + "\"");
2326
+ for (; y.isDigit(k(e));) e.token += k(e), A(e);
2327
+ if (y.isDecimalMark(k(e), M(e))) throw B(e, "Digit expected, got \"" + k(e) + "\"");
2328
+ } else if (y.isDecimalMark(M(e), e.expression.charAt(e.index + 2))) throw A(e), B(e, "Digit expected, got \"" + k(e) + "\"");
2329
2329
  }
2330
2330
  return;
2331
2331
  }
2332
- if (y.isAlpha(A(e), M(e), N(e))) {
2333
- for (; y.isAlpha(A(e), M(e), N(e)) || y.isDigit(A(e));) e.token += A(e), j(e);
2334
- U(C, e.token) ? e.tokenType = x.DELIMITER : e.tokenType = x.SYMBOL;
2332
+ if (y.isAlpha(k(e), j(e), M(e))) {
2333
+ for (; y.isAlpha(k(e), j(e), M(e)) || y.isDigit(k(e));) e.token += k(e), A(e);
2334
+ W(C, e.token) ? e.tokenType = x.DELIMITER : e.tokenType = x.SYMBOL;
2335
2335
  return;
2336
2336
  }
2337
- for (e.tokenType = x.UNKNOWN; A(e) !== "";) e.token += A(e), j(e);
2338
- throw R(e, "Syntax error in part \"" + e.token + "\"");
2337
+ for (e.tokenType = x.UNKNOWN; k(e) !== "";) e.token += k(e), A(e);
2338
+ throw B(e, "Syntax error in part \"" + e.token + "\"");
2339
2339
  }
2340
- function F(e) {
2340
+ function P(e) {
2341
2341
  do
2342
- P(e);
2342
+ N(e);
2343
2343
  while (e.token === "\n");
2344
2344
  }
2345
- function ee(e) {
2345
+ function F(e) {
2346
2346
  e.nestingLevel++;
2347
2347
  }
2348
2348
  function I(e) {
@@ -2363,327 +2363,327 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2363
2363
  }, y.isDigit = function(e) {
2364
2364
  return e >= "0" && e <= "9";
2365
2365
  };
2366
- function te(e, t) {
2366
+ function ee(e, t) {
2367
2367
  var n = D();
2368
- Mt(n, {
2368
+ ht(n, {
2369
2369
  expression: e,
2370
2370
  extraNodes: t
2371
- }), P(n);
2372
- var r = ne(n);
2373
- if (n.token !== "") throw n.tokenType === x.DELIMITER ? Le(n, "Unexpected operator " + n.token) : R(n, "Unexpected part \"" + n.token + "\"");
2371
+ }), N(n);
2372
+ var r = te(n);
2373
+ if (n.token !== "") throw n.tokenType === x.DELIMITER ? Ne(n, "Unexpected operator " + n.token) : B(n, "Unexpected part \"" + n.token + "\"");
2374
2374
  return r;
2375
2375
  }
2376
- function ne(e) {
2376
+ function te(e) {
2377
2377
  var t, n = [], r;
2378
2378
  for (e.token !== "" && e.token !== "\n" && e.token !== ";" && (t = L(e), e.comment && (t.comment = e.comment)); e.token === "\n" || e.token === ";";) n.length === 0 && t && (r = e.token !== ";", n.push({
2379
2379
  node: t,
2380
2380
  visible: r
2381
- })), P(e), e.token !== "\n" && e.token !== ";" && e.token !== "" && (t = L(e), e.comment && (t.comment = e.comment), r = e.token !== ";", n.push({
2381
+ })), N(e), e.token !== "\n" && e.token !== ";" && e.token !== "" && (t = L(e), e.comment && (t.comment = e.comment), r = e.token !== ";", n.push({
2382
2382
  node: t,
2383
2383
  visible: r
2384
2384
  }));
2385
2385
  return n.length > 0 ? new s(n) : (t || (t = new l(void 0), e.comment && (t.comment = e.comment)), t);
2386
2386
  }
2387
2387
  function L(e) {
2388
- var t, n, r, i, a = re(e);
2388
+ var t, n, r, i, a = ne(e);
2389
2389
  if (e.token === "=") {
2390
- if (Y(a)) return t = a.name, F(e), r = L(e), new o(new v(t), r);
2391
- if (Lt(a)) {
2392
- if (a.optionalChaining) throw R(e, "Cannot assign to optional chain");
2393
- return F(e), r = L(e), new o(a.object, a.index, r);
2394
- } else if (Ra(a) && Y(a.fn) && (i = !0, n = [], t = a.name, a.args.forEach(function(e, t) {
2395
- Y(e) ? n[t] = e.name : i = !1;
2396
- }), i)) return F(e), r = L(e), new u(t, n, r);
2397
- throw R(e, "Invalid left hand side of assignment operator =");
2390
+ if (K(a)) return t = a.name, P(e), r = L(e), new o(new v(t), r);
2391
+ if (Gn(a)) {
2392
+ if (a.optionalChaining) throw B(e, "Cannot assign to optional chain");
2393
+ return P(e), r = L(e), new o(a.object, a.index, r);
2394
+ } else if (Oi(a) && K(a.fn) && (i = !0, n = [], t = a.name, a.args.forEach(function(e, t) {
2395
+ K(e) ? n[t] = e.name : i = !1;
2396
+ }), i)) return P(e), r = L(e), new u(t, n, r);
2397
+ throw B(e, "Invalid left hand side of assignment operator =");
2398
2398
  }
2399
2399
  return a;
2400
2400
  }
2401
- function re(e) {
2402
- for (var t = ie(e); e.token === "?";) {
2401
+ function ne(e) {
2402
+ for (var t = re(e); e.token === "?";) {
2403
2403
  var n = e.conditionalLevel;
2404
- e.conditionalLevel = e.nestingLevel, F(e);
2404
+ e.conditionalLevel = e.nestingLevel, P(e);
2405
2405
  var r = t, i = L(e);
2406
- if (e.token !== ":") throw R(e, "False part of conditional expression expected");
2407
- e.conditionalLevel = null, F(e), t = new c(r, i, L(e)), e.conditionalLevel = n;
2406
+ if (e.token !== ":") throw B(e, "False part of conditional expression expected");
2407
+ e.conditionalLevel = null, P(e), t = new c(r, i, L(e)), e.conditionalLevel = n;
2408
2408
  }
2409
2409
  return t;
2410
2410
  }
2411
+ function re(e) {
2412
+ for (var t = ie(e); e.token === "or";) P(e), t = new m("or", "or", [t, ie(e)]);
2413
+ return t;
2414
+ }
2411
2415
  function ie(e) {
2412
- for (var t = ae(e); e.token === "or";) F(e), t = new m("or", "or", [t, ae(e)]);
2416
+ for (var t = R(e); e.token === "xor";) P(e), t = new m("xor", "xor", [t, R(e)]);
2417
+ return t;
2418
+ }
2419
+ function R(e) {
2420
+ for (var t = ae(e); e.token === "and";) P(e), t = new m("and", "and", [t, ae(e)]);
2413
2421
  return t;
2414
2422
  }
2415
2423
  function ae(e) {
2416
- for (var t = oe(e); e.token === "xor";) F(e), t = new m("xor", "xor", [t, oe(e)]);
2424
+ for (var t = oe(e); e.token === "|";) P(e), t = new m("|", "bitOr", [t, oe(e)]);
2417
2425
  return t;
2418
2426
  }
2419
2427
  function oe(e) {
2420
- for (var t = se(e); e.token === "and";) F(e), t = new m("and", "and", [t, se(e)]);
2428
+ for (var t = se(e); e.token === "^|";) P(e), t = new m("^|", "bitXor", [t, se(e)]);
2421
2429
  return t;
2422
2430
  }
2423
2431
  function se(e) {
2424
- for (var t = ce(e); e.token === "|";) F(e), t = new m("|", "bitOr", [t, ce(e)]);
2432
+ for (var t = ce(e); e.token === "&";) P(e), t = new m("&", "bitAnd", [t, ce(e)]);
2425
2433
  return t;
2426
2434
  }
2427
2435
  function ce(e) {
2428
- for (var t = le(e); e.token === "^|";) F(e), t = new m("^|", "bitXor", [t, le(e)]);
2429
- return t;
2430
- }
2431
- function le(e) {
2432
- for (var t = ue(e); e.token === "&";) F(e), t = new m("&", "bitAnd", [t, ue(e)]);
2433
- return t;
2434
- }
2435
- function ue(e) {
2436
- for (var t = [de(e)], n = [], r = {
2436
+ for (var t = [le(e)], n = [], r = {
2437
2437
  "==": "equal",
2438
2438
  "!=": "unequal",
2439
2439
  "<": "smaller",
2440
2440
  ">": "larger",
2441
2441
  "<=": "smallerEq",
2442
2442
  ">=": "largerEq"
2443
- }; U(r, e.token);) {
2443
+ }; W(r, e.token);) {
2444
2444
  var i = {
2445
2445
  name: e.token,
2446
2446
  fn: r[e.token]
2447
2447
  };
2448
- n.push(i), F(e), t.push(de(e));
2448
+ n.push(i), P(e), t.push(le(e));
2449
2449
  }
2450
2450
  return t.length === 1 ? t[0] : t.length === 2 ? new m(n[0].name, n[0].fn, t) : new _(n.map((e) => e.fn), t);
2451
2451
  }
2452
- function de(e) {
2453
- for (var t = fe(e), n, r, i, a = {
2452
+ function le(e) {
2453
+ for (var t = ue(e), n, r, i, a = {
2454
2454
  "<<": "leftShift",
2455
2455
  ">>": "rightArithShift",
2456
2456
  ">>>": "rightLogShift"
2457
- }; U(a, e.token);) n = e.token, r = a[n], F(e), i = [t, fe(e)], t = new m(n, r, i);
2457
+ }; W(a, e.token);) n = e.token, r = a[n], P(e), i = [t, ue(e)], t = new m(n, r, i);
2458
2458
  return t;
2459
2459
  }
2460
- function fe(e) {
2461
- for (var t = pe(e), n, r, i, a = {
2460
+ function ue(e) {
2461
+ for (var t = fe(e), n, r, i, a = {
2462
2462
  to: "to",
2463
2463
  in: "to"
2464
- }; U(a, e.token);) n = e.token, r = a[n], F(e), n === "in" && "])},;".includes(e.token) ? t = new m("*", "multiply", [t, new v("in")], !0) : (i = [t, pe(e)], t = new m(n, r, i));
2464
+ }; W(a, e.token);) n = e.token, r = a[n], P(e), n === "in" && "])},;".includes(e.token) ? t = new m("*", "multiply", [t, new v("in")], !0) : (i = [t, fe(e)], t = new m(n, r, i));
2465
2465
  return t;
2466
2466
  }
2467
- function pe(e) {
2467
+ function fe(e) {
2468
2468
  var t, n = [];
2469
2469
  if (e.token === ":") {
2470
- if (e.conditionalLevel === e.nestingLevel) throw R(e, "The true-expression of a conditional operator may not be empty");
2470
+ if (e.conditionalLevel === e.nestingLevel) throw B(e, "The true-expression of a conditional operator may not be empty");
2471
2471
  t = new l(1);
2472
- } else t = me(e);
2472
+ } else t = pe(e);
2473
2473
  if (e.token === ":" && e.conditionalLevel !== e.nestingLevel) {
2474
- for (n.push(t); e.token === ":" && n.length < 3;) F(e), e.token === ")" || e.token === "]" || e.token === "," || e.token === "" ? n.push(new v("end")) : n.push(me(e));
2474
+ for (n.push(t); e.token === ":" && n.length < 3;) P(e), e.token === ")" || e.token === "]" || e.token === "," || e.token === "" ? n.push(new v("end")) : n.push(pe(e));
2475
2475
  t = n.length === 3 ? new g(n[0], n[2], n[1]) : new g(n[0], n[1]);
2476
2476
  }
2477
2477
  return t;
2478
2478
  }
2479
- function me(e) {
2480
- for (var t = he(e), n, r, i, a = {
2479
+ function pe(e) {
2480
+ for (var t = me(e), n, r, i, a = {
2481
2481
  "+": "add",
2482
2482
  "-": "subtract"
2483
- }; U(a, e.token);) {
2484
- n = e.token, r = a[n], F(e);
2485
- var o = he(e);
2483
+ }; W(a, e.token);) {
2484
+ n = e.token, r = a[n], P(e);
2485
+ var o = me(e);
2486
2486
  i = o.isPercentage ? [t, new m("*", "multiply", [t, o])] : [t, o], t = new m(n, r, i);
2487
2487
  }
2488
2488
  return t;
2489
2489
  }
2490
- function he(e) {
2491
- for (var t = ge(e), n = t, r, i, a = {
2490
+ function me(e) {
2491
+ for (var t = he(e), n = t, r, i, a = {
2492
2492
  "*": "multiply",
2493
2493
  ".*": "dotMultiply",
2494
2494
  "/": "divide",
2495
2495
  "./": "dotDivide",
2496
2496
  "%": "mod",
2497
2497
  mod: "mod"
2498
- }; U(a, e.token);) r = e.token, i = a[r], F(e), n = ge(e), t = new m(r, i, [t, n]);
2498
+ }; W(a, e.token);) r = e.token, i = a[r], P(e), n = he(e), t = new m(r, i, [t, n]);
2499
2499
  return t;
2500
2500
  }
2501
- function ge(e) {
2502
- for (var t = _e(e), n = t; e.tokenType === x.SYMBOL || e.token === "in" && q(t) || e.token === "in" && W(t) && t.fn === "unaryMinus" && q(t.args[0]) || e.tokenType === x.NUMBER && !q(n) && (!W(n) || n.op === "!") || e.token === "(";) n = _e(e), t = new m("*", "multiply", [t, n], !0);
2501
+ function he(e) {
2502
+ for (var t = ge(e), n = t; e.tokenType === x.SYMBOL || e.token === "in" && G(t) || e.token === "in" && q(t) && t.fn === "unaryMinus" && G(t.args[0]) || e.tokenType === x.NUMBER && !G(n) && (!q(n) || n.op === "!") || e.token === "(";) n = ge(e), t = new m("*", "multiply", [t, n], !0);
2503
2503
  return t;
2504
2504
  }
2505
- function _e(e) {
2506
- for (var t = ve(e), n = t, r = []; e.token === "/" && O(n);) if (r.push(Mt({}, e)), F(e), e.tokenType === x.NUMBER) if (r.push(Mt({}, e)), F(e), e.tokenType === x.SYMBOL || e.token === "(" || e.token === "in") Mt(e, r.pop()), r.pop(), n = ve(e), t = new m("/", "divide", [t, n]);
2505
+ function ge(e) {
2506
+ for (var t = _e(e), n = t, r = []; e.token === "/" && Zt(n);) if (r.push(ht({}, e)), P(e), e.tokenType === x.NUMBER) if (r.push(ht({}, e)), P(e), e.tokenType === x.SYMBOL || e.token === "(" || e.token === "in") ht(e, r.pop()), r.pop(), n = _e(e), t = new m("/", "divide", [t, n]);
2507
2507
  else {
2508
- r.pop(), Mt(e, r.pop());
2508
+ r.pop(), ht(e, r.pop());
2509
2509
  break;
2510
2510
  }
2511
2511
  else {
2512
- Mt(e, r.pop());
2512
+ ht(e, r.pop());
2513
2513
  break;
2514
2514
  }
2515
2515
  return t;
2516
2516
  }
2517
- function ve(e) {
2518
- var t = ye(e);
2517
+ function _e(e) {
2518
+ var t = z(e);
2519
2519
  if (e.token === "%") {
2520
- var n = Mt({}, e);
2521
- F(e);
2520
+ var n = ht({}, e);
2521
+ P(e);
2522
2522
  try {
2523
- ye(e), Mt(e, n);
2523
+ z(e), ht(e, n);
2524
2524
  } catch {
2525
2525
  t = new m("/", "divide", [t, new l(100)], !1, !0);
2526
2526
  }
2527
2527
  }
2528
2528
  return t;
2529
2529
  }
2530
- function ye(e) {
2530
+ function z(e) {
2531
2531
  var t, n, r, i = {
2532
2532
  "-": "unaryMinus",
2533
2533
  "+": "unaryPlus",
2534
2534
  "~": "bitNot",
2535
2535
  not: "not"
2536
2536
  };
2537
- return U(i, e.token) ? (r = i[e.token], t = e.token, F(e), n = [ye(e)], new m(t, r, n)) : xe(e);
2537
+ return W(i, e.token) ? (r = i[e.token], t = e.token, P(e), n = [z(e)], new m(t, r, n)) : ve(e);
2538
2538
  }
2539
- function xe(e) {
2540
- var t = Se(e), n, r, i;
2541
- return (e.token === "^" || e.token === ".^") && (n = e.token, r = n === "^" ? "pow" : "dotPow", F(e), i = [t, ye(e)], t = new m(n, r, i)), t;
2539
+ function ve(e) {
2540
+ var t = ye(e), n, r, i;
2541
+ return (e.token === "^" || e.token === ".^") && (n = e.token, r = n === "^" ? "pow" : "dotPow", P(e), i = [t, z(e)], t = new m(n, r, i)), t;
2542
2542
  }
2543
- function Se(e) {
2544
- for (var t = Ce(e); e.token === "??";) F(e), t = new m("??", "nullish", [t, Ce(e)]);
2543
+ function ye(e) {
2544
+ for (var t = be(e); e.token === "??";) P(e), t = new m("??", "nullish", [t, be(e)]);
2545
2545
  return t;
2546
2546
  }
2547
- function Ce(e) {
2548
- for (var t = we(e), n, r, i, a = {
2547
+ function be(e) {
2548
+ for (var t = xe(e), n, r, i, a = {
2549
2549
  "!": "factorial",
2550
2550
  "'": "ctranspose"
2551
- }; U(a, e.token);) n = e.token, r = a[n], P(e), i = [t], t = new m(n, r, i), t = Ee(e, t);
2551
+ }; W(a, e.token);) n = e.token, r = a[n], N(e), i = [t], t = new m(n, r, i), t = Ce(e, t);
2552
2552
  return t;
2553
2553
  }
2554
- function we(e) {
2554
+ function xe(e) {
2555
2555
  var t = [];
2556
- if (e.tokenType === x.SYMBOL && U(e.extraNodes, e.token)) {
2556
+ if (e.tokenType === x.SYMBOL && W(e.extraNodes, e.token)) {
2557
2557
  var n = e.extraNodes[e.token];
2558
- if (P(e), e.token === "(") {
2559
- if (t = [], ee(e), P(e), e.token !== ")") for (t.push(L(e)); e.token === ",";) P(e), t.push(L(e));
2560
- if (e.token !== ")") throw R(e, "Parenthesis ) expected");
2561
- I(e), P(e);
2558
+ if (N(e), e.token === "(") {
2559
+ if (t = [], F(e), N(e), e.token !== ")") for (t.push(L(e)); e.token === ",";) N(e), t.push(L(e));
2560
+ if (e.token !== ")") throw B(e, "Parenthesis ) expected");
2561
+ I(e), N(e);
2562
2562
  }
2563
2563
  return new n(t);
2564
2564
  }
2565
- return Te(e);
2565
+ return Se(e);
2566
2566
  }
2567
- function Te(e) {
2567
+ function Se(e) {
2568
2568
  var t, r;
2569
- return e.tokenType === x.SYMBOL || e.tokenType === x.DELIMITER && e.token in C ? (r = e.token, P(e), t = U(w, r) ? new l(w[r]) : T.includes(r) ? new l(n(r, "number")) : new v(r), t = Ee(e, t), t) : De(e);
2569
+ return e.tokenType === x.SYMBOL || e.tokenType === x.DELIMITER && e.token in C ? (r = e.token, N(e), t = W(w, r) ? new l(w[r]) : T.includes(r) ? new l(n(r, "number")) : new v(r), t = Ce(e, t), t) : we(e);
2570
2570
  }
2571
- function Ee(e, t, n) {
2571
+ function Ce(e, t, n) {
2572
2572
  for (var r;;) {
2573
2573
  var a = !1;
2574
- e.token === "?." && (a = !0, P(e));
2574
+ e.token === "?." && (a = !0, N(e));
2575
2575
  var o = (e.token === "(" || e.token === "[" || e.token === ".") && (!n || n.includes(e.token));
2576
2576
  if (!(a || o)) break;
2577
- if (r = [], e.token === "(") if (a || Y(t) || Lt(t)) {
2578
- if (ee(e), P(e), e.token !== ")") for (r.push(L(e)); e.token === ",";) P(e), r.push(L(e));
2579
- if (e.token !== ")") throw R(e, "Parenthesis ) expected");
2580
- I(e), P(e), t = new d(t, r, a);
2577
+ if (r = [], e.token === "(") if (a || K(t) || Gn(t)) {
2578
+ if (F(e), N(e), e.token !== ")") for (r.push(L(e)); e.token === ",";) N(e), r.push(L(e));
2579
+ if (e.token !== ")") throw B(e, "Parenthesis ) expected");
2580
+ I(e), N(e), t = new d(t, r, a);
2581
2581
  } else return t;
2582
2582
  else if (e.token === "[") {
2583
- if (ee(e), P(e), e.token !== "]") for (r.push(L(e)); e.token === ",";) P(e), r.push(L(e));
2584
- if (e.token !== "]") throw R(e, "Parenthesis ] expected");
2585
- I(e), P(e), t = new i(t, new f(r), a);
2583
+ if (F(e), N(e), e.token !== "]") for (r.push(L(e)); e.token === ",";) N(e), r.push(L(e));
2584
+ if (e.token !== "]") throw B(e, "Parenthesis ] expected");
2585
+ I(e), N(e), t = new i(t, new f(r), a);
2586
2586
  } else {
2587
- if (a || P(e), !(e.tokenType === x.SYMBOL || e.tokenType === x.DELIMITER && e.token in C)) {
2587
+ if (a || N(e), !(e.tokenType === x.SYMBOL || e.tokenType === x.DELIMITER && e.token in C)) {
2588
2588
  var s = "Property name expected after ";
2589
- throw s += a ? "optional chain" : "dot", R(e, s);
2589
+ throw s += a ? "optional chain" : "dot", B(e, s);
2590
2590
  }
2591
- r.push(new l(e.token)), P(e), t = new i(t, new f(r, !0), a);
2591
+ r.push(new l(e.token)), N(e), t = new i(t, new f(r, !0), a);
2592
2592
  }
2593
2593
  }
2594
2594
  return t;
2595
2595
  }
2596
- function De(e) {
2596
+ function we(e) {
2597
2597
  var t, n;
2598
- return e.token === "\"" || e.token === "'" ? (n = Oe(e, e.token), t = new l(n), t = Ee(e, t), t) : ke(e);
2598
+ return e.token === "\"" || e.token === "'" ? (n = Te(e, e.token), t = new l(n), t = Ce(e, t), t) : Ee(e);
2599
2599
  }
2600
- function Oe(e, t) {
2601
- for (var n = ""; A(e) !== "" && A(e) !== t;) if (A(e) === "\\") {
2602
- j(e);
2603
- var r = A(e), i = E[r];
2600
+ function Te(e, t) {
2601
+ for (var n = ""; k(e) !== "" && k(e) !== t;) if (k(e) === "\\") {
2602
+ A(e);
2603
+ var r = k(e), i = E[r];
2604
2604
  if (i !== void 0) n += i, e.index += 1;
2605
2605
  else if (r === "u") {
2606
2606
  var a = e.expression.slice(e.index + 1, e.index + 5);
2607
2607
  if (/^[0-9A-Fa-f]{4}$/.test(a)) n += String.fromCharCode(parseInt(a, 16)), e.index += 5;
2608
- else throw R(e, `Invalid unicode character \\u${a}`);
2609
- } else throw R(e, `Bad escape character \\${r}`);
2610
- } else n += A(e), j(e);
2611
- if (P(e), e.token !== t) throw R(e, `End of string ${t} expected`);
2612
- return P(e), n;
2608
+ else throw B(e, `Invalid unicode character \\u${a}`);
2609
+ } else throw B(e, `Bad escape character \\${r}`);
2610
+ } else n += k(e), A(e);
2611
+ if (N(e), e.token !== t) throw B(e, `End of string ${t} expected`);
2612
+ return N(e), n;
2613
2613
  }
2614
- function ke(e) {
2614
+ function Ee(e) {
2615
2615
  var t, n, r, i;
2616
2616
  if (e.token === "[") {
2617
- if (ee(e), P(e), e.token !== "]") {
2618
- var o = Ae(e);
2617
+ if (F(e), N(e), e.token !== "]") {
2618
+ var o = De(e);
2619
2619
  if (e.token === ";") {
2620
- for (r = 1, n = [o]; e.token === ";";) P(e), e.token !== "]" && (n[r] = Ae(e), r++);
2621
- if (e.token !== "]") throw R(e, "End of matrix ] expected");
2622
- I(e), P(e), i = n[0].items.length;
2623
- for (var s = 1; s < r; s++) if (n[s].items.length !== i) throw Le(e, "Column dimensions mismatch (" + n[s].items.length + " !== " + i + ")");
2620
+ for (r = 1, n = [o]; e.token === ";";) N(e), e.token !== "]" && (n[r] = De(e), r++);
2621
+ if (e.token !== "]") throw B(e, "End of matrix ] expected");
2622
+ I(e), N(e), i = n[0].items.length;
2623
+ for (var s = 1; s < r; s++) if (n[s].items.length !== i) throw Ne(e, "Column dimensions mismatch (" + n[s].items.length + " !== " + i + ")");
2624
2624
  t = new a(n);
2625
2625
  } else {
2626
- if (e.token !== "]") throw R(e, "End of matrix ] expected");
2627
- I(e), P(e), t = o;
2626
+ if (e.token !== "]") throw B(e, "End of matrix ] expected");
2627
+ I(e), N(e), t = o;
2628
2628
  }
2629
- } else I(e), P(e), t = new a([]);
2630
- return Ee(e, t);
2629
+ } else I(e), N(e), t = new a([]);
2630
+ return Ce(e, t);
2631
2631
  }
2632
- return je(e);
2632
+ return Oe(e);
2633
2633
  }
2634
- function Ae(e) {
2635
- for (var t = [L(e)], n = 1; e.token === ",";) P(e), e.token !== "]" && e.token !== ";" && (t[n] = L(e), n++);
2634
+ function De(e) {
2635
+ for (var t = [L(e)], n = 1; e.token === ",";) N(e), e.token !== "]" && e.token !== ";" && (t[n] = L(e), n++);
2636
2636
  return new a(t);
2637
2637
  }
2638
- function je(e) {
2638
+ function Oe(e) {
2639
2639
  if (e.token === "{") {
2640
- ee(e);
2640
+ F(e);
2641
2641
  var t, n = {};
2642
2642
  do
2643
- if (P(e), e.token !== "}") {
2644
- if (e.token === "\"" || e.token === "'") t = Oe(e, e.token);
2645
- else if (e.tokenType === x.SYMBOL || e.tokenType === x.DELIMITER && e.token in C) t = e.token, P(e);
2646
- else throw R(e, "Symbol or string expected as object key");
2647
- if (e.token !== ":") throw R(e, "Colon : expected after object key");
2648
- P(e), n[t] = L(e);
2643
+ if (N(e), e.token !== "}") {
2644
+ if (e.token === "\"" || e.token === "'") t = Te(e, e.token);
2645
+ else if (e.tokenType === x.SYMBOL || e.tokenType === x.DELIMITER && e.token in C) t = e.token, N(e);
2646
+ else throw B(e, "Symbol or string expected as object key");
2647
+ if (e.token !== ":") throw B(e, "Colon : expected after object key");
2648
+ N(e), n[t] = L(e);
2649
2649
  }
2650
2650
  while (e.token === ",");
2651
- if (e.token !== "}") throw R(e, "Comma , or bracket } expected after object value");
2652
- I(e), P(e);
2651
+ if (e.token !== "}") throw B(e, "Comma , or bracket } expected after object value");
2652
+ I(e), N(e);
2653
2653
  var r = new p(n);
2654
- return r = Ee(e, r), r;
2654
+ return r = Ce(e, r), r;
2655
2655
  }
2656
- return Me(e);
2656
+ return ke(e);
2657
2657
  }
2658
- function Me(e) {
2658
+ function ke(e) {
2659
2659
  var t;
2660
2660
  if (e.tokenType === x.NUMBER) {
2661
- t = e.token, P(e);
2662
- var i = be(t, r);
2661
+ t = e.token, N(e);
2662
+ var i = Tn(t, r);
2663
2663
  return new l(n(t, i));
2664
2664
  }
2665
- return Ne(e);
2665
+ return Ae(e);
2666
2666
  }
2667
- function Ne(e) {
2667
+ function Ae(e) {
2668
2668
  var t;
2669
2669
  if (e.token === "(") {
2670
- if (ee(e), P(e), t = L(e), e.token !== ")") throw R(e, "Parenthesis ) expected");
2671
- return I(e), P(e), t = new h(t), t = Ee(e, t), t;
2670
+ if (F(e), N(e), t = L(e), e.token !== ")") throw B(e, "Parenthesis ) expected");
2671
+ return I(e), N(e), t = new h(t), t = Ce(e, t), t;
2672
2672
  }
2673
- return Fe(e);
2673
+ return je(e);
2674
2674
  }
2675
- function Fe(e) {
2676
- throw e.token === "" ? R(e, "Unexpected end of expression") : R(e, "Value expected");
2675
+ function je(e) {
2676
+ throw e.token === "" ? B(e, "Unexpected end of expression") : B(e, "Value expected");
2677
2677
  }
2678
- function Ie(e) {
2678
+ function Me(e) {
2679
2679
  return e.index - e.token.length + 1;
2680
2680
  }
2681
- function R(e, t) {
2682
- var n = Ie(e), r = /* @__PURE__ */ SyntaxError(t + " (char " + n + ")");
2681
+ function B(e, t) {
2682
+ var n = Me(e), r = /* @__PURE__ */ SyntaxError(t + " (char " + n + ")");
2683
2683
  return r.char = n, r;
2684
2684
  }
2685
- function Le(e, t) {
2686
- var n = Ie(e), r = /* @__PURE__ */ SyntaxError(t + " (char " + n + ")");
2685
+ function Ne(e, t) {
2686
+ var n = Me(e), r = /* @__PURE__ */ SyntaxError(t + " (char " + n + ")");
2687
2687
  return r.char = n, r;
2688
2688
  }
2689
2689
  return t.addConversion({
@@ -2698,7 +2698,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2698
2698
  return n(e).compile();
2699
2699
  },
2700
2700
  "Array | Matrix": function(e) {
2701
- return Pe(e, function(e) {
2701
+ return de(e, function(e) {
2702
2702
  return n(e).compile();
2703
2703
  });
2704
2704
  }
@@ -2707,20 +2707,20 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2707
2707
  var { typed: t, parse: n } = e;
2708
2708
  return t(_s, {
2709
2709
  string: function(e) {
2710
- var t = ee();
2710
+ var t = ae();
2711
2711
  return n(e).compile().evaluate(t);
2712
2712
  },
2713
2713
  "string, Map | Object": function(e, t) {
2714
2714
  return n(e).compile().evaluate(t);
2715
2715
  },
2716
2716
  "Array | Matrix": function(e) {
2717
- var t = ee();
2718
- return Pe(e, function(e) {
2717
+ var t = ae();
2718
+ return de(e, function(e) {
2719
2719
  return n(e).compile().evaluate(t);
2720
2720
  });
2721
2721
  },
2722
2722
  "Array | Matrix, Map | Object": function(e, t) {
2723
- return Pe(e, function(e) {
2723
+ return de(e, function(e) {
2724
2724
  return n(e).compile().evaluate(t);
2725
2725
  });
2726
2726
  }
@@ -2730,7 +2730,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2730
2730
  function r() {
2731
2731
  if (!(this instanceof r)) throw SyntaxError("Constructor must be called with the new operator");
2732
2732
  Object.defineProperty(this, "scope", {
2733
- value: ee(),
2733
+ value: ae(),
2734
2734
  writable: !1
2735
2735
  });
2736
2736
  }
@@ -2739,7 +2739,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2739
2739
  }, r.prototype.get = function(e) {
2740
2740
  if (this.scope.has(e)) return this.scope.get(e);
2741
2741
  }, r.prototype.getAll = function() {
2742
- return wi(this.scope);
2742
+ return Ct(this.scope);
2743
2743
  }, r.prototype.getAllAsMap = function() {
2744
2744
  return this.scope;
2745
2745
  };
@@ -2764,7 +2764,7 @@ var ns = "OperatorNode", rs = /* #__PURE__ */ z(ns, ["Node"], (e) => {
2764
2764
  variables: {},
2765
2765
  functions: {}
2766
2766
  };
2767
- for (var [t, n] of this.scope) if (xr(n)) {
2767
+ for (var [t, n] of this.scope) if (Sa(n)) {
2768
2768
  if (!bs(n)) throw Error(`Cannot serialize external function ${t}`);
2769
2769
  e.functions[t] = `${n.syntax} = ${n.expr}`;
2770
2770
  } else e.variables[t] = n;
@@ -2810,13 +2810,13 @@ var xs = "parser", Ss = /* #__PURE__ */ z(xs, ["typed", "Parser"], (e) => {
2810
2810
  } catch (e) {
2811
2811
  c = e;
2812
2812
  }
2813
- c !== void 0 && !Or(c) && (n += " " + De(c, { precision: 14 }) + "\n");
2813
+ c !== void 0 && !Ia(c) && (n += " " + yn(c, { precision: 14 }) + "\n");
2814
2814
  }
2815
2815
  n += "\n", r && t("config(originalConfig)", { originalConfig: i });
2816
2816
  }
2817
2817
  return e.mayThrow && e.mayThrow.length && (n += "Throws: " + e.mayThrow.join(", ") + "\n\n"), e.seealso && e.seealso.length && (n += "See also: " + e.seealso.join(", ") + "\n"), n;
2818
2818
  }, n.prototype.toJSON = function() {
2819
- var e = Be(this.doc);
2819
+ var e = sa(this.doc);
2820
2820
  return e.mathjs = "Help", e;
2821
2821
  }, n.fromJSON = function(e) {
2822
2822
  var t = {};
@@ -2832,14 +2832,14 @@ var xs = "parser", Ss = /* #__PURE__ */ z(xs, ["typed", "Parser"], (e) => {
2832
2832
  var { on: t, math: n, typed: r } = e;
2833
2833
  function i(e) {
2834
2834
  if (!(this instanceof i)) throw SyntaxError("Constructor must be called with the new operator");
2835
- _a(e) ? this.value = e.value : this.value = e;
2835
+ Hi(e) ? this.value = e.value : this.value = e;
2836
2836
  }
2837
2837
  i.prototype.type = "Chain", i.prototype.isChain = !0, i.prototype.done = function() {
2838
2838
  return this.value;
2839
2839
  }, i.prototype.valueOf = function() {
2840
2840
  return this.value;
2841
2841
  }, i.prototype.toString = function() {
2842
- return De(this.value);
2842
+ return yn(this.value);
2843
2843
  }, i.prototype.toJSON = function() {
2844
2844
  return {
2845
2845
  mathjs: "Chain",
@@ -2852,7 +2852,7 @@ var xs = "parser", Ss = /* #__PURE__ */ z(xs, ["typed", "Parser"], (e) => {
2852
2852
  typeof t == "function" && (i.prototype[e] = s(t));
2853
2853
  }
2854
2854
  function o(e, t) {
2855
- qn(i.prototype, e, function() {
2855
+ Mn(i.prototype, e, function() {
2856
2856
  var e = t();
2857
2857
  if (typeof e == "function") return s(e);
2858
2858
  });
@@ -2873,7 +2873,7 @@ var xs = "parser", Ss = /* #__PURE__ */ z(xs, ["typed", "Parser"], (e) => {
2873
2873
  if (typeof e == "string") a(e, t);
2874
2874
  else {
2875
2875
  var n = function(t) {
2876
- U(e, t) && c[t] === void 0 && o(t, () => e[t]);
2876
+ W(e, t) && c[t] === void 0 && o(t, () => e[t]);
2877
2877
  };
2878
2878
  for (var r in e) n(r);
2879
2879
  }
@@ -7168,12 +7168,12 @@ var xs = "parser", Ss = /* #__PURE__ */ z(xs, ["typed", "Parser"], (e) => {
7168
7168
  return t(Rs, { any: function(e) {
7169
7169
  var t, i = e;
7170
7170
  if (typeof e != "string") {
7171
- for (t in n) if (U(n, t) && e === n[t]) {
7171
+ for (t in n) if (W(n, t) && e === n[t]) {
7172
7172
  i = t;
7173
7173
  break;
7174
7174
  }
7175
7175
  }
7176
- var a = G(Ls, i);
7176
+ var a = p(Ls, i);
7177
7177
  if (!a) {
7178
7178
  var o = typeof i == "function" ? i.name : i;
7179
7179
  throw Error("No documentation found on \"" + o + "\"");
@@ -7205,10 +7205,10 @@ var xs = "parser", Ss = /* #__PURE__ */ z(xs, ["typed", "Parser"], (e) => {
7205
7205
  //#endregion
7206
7206
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/function/algebra/simplify/wildcards.js
7207
7207
  function Ws(e) {
7208
- return q(e) || W(e) && e.isUnary() && q(e.args[0]);
7208
+ return G(e) || q(e) && e.isUnary() && G(e.args[0]);
7209
7209
  }
7210
7210
  function Gs(e) {
7211
- return !!(q(e) || (Ra(e) || W(e)) && e.args.every(Gs) || Wa(e) && Gs(e.content));
7211
+ return !!(G(e) || (Oi(e) || q(e)) && e.args.every(Gs) || $n(e) && Gs(e.content));
7212
7212
  }
7213
7213
  //#endregion
7214
7214
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/function/algebra/simplify/util.js
@@ -7226,7 +7226,7 @@ function qs(e) {
7226
7226
  for (var t = 1; t < arguments.length; t++) {
7227
7227
  var n = arguments[t] == null ? {} : arguments[t];
7228
7228
  t % 2 ? Ks(Object(n), !0).forEach(function(t) {
7229
- J(e, t, n[t]);
7229
+ Y(e, t, n[t]);
7230
7230
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ks(Object(n)).forEach(function(t) {
7231
7231
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
7232
7232
  });
@@ -7291,18 +7291,18 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7291
7291
  };
7292
7292
  function u(e, t) {
7293
7293
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : s, r = o;
7294
- if (typeof e == "string" ? r = e : W(e) ? r = e.fn.toString() : Ra(e) ? r = e.name : Wa(e) && (r = "paren"), U(n, r)) {
7294
+ if (typeof e == "string" ? r = e : q(e) ? r = e.fn.toString() : Oi(e) ? r = e.name : $n(e) && (r = "paren"), W(n, r)) {
7295
7295
  var i = n[r];
7296
- if (U(i, t)) return i[t];
7297
- if (U(s, r)) return s[r][t];
7296
+ if (W(i, t)) return i[t];
7297
+ if (W(s, r)) return s[r][t];
7298
7298
  }
7299
- if (U(n, o)) {
7299
+ if (W(n, o)) {
7300
7300
  var a = n[o];
7301
- return U(a, t) ? a[t] : s[o][t];
7301
+ return W(a, t) ? a[t] : s[o][t];
7302
7302
  }
7303
- if (U(s, r)) {
7303
+ if (W(s, r)) {
7304
7304
  var c = s[r];
7305
- if (U(c, t)) return c[t];
7305
+ if (W(c, t)) return c[t];
7306
7306
  }
7307
7307
  return s[o][t];
7308
7308
  }
@@ -7314,7 +7314,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7314
7314
  }
7315
7315
  function p(e, t) {
7316
7316
  var n = qs({}, e);
7317
- for (var r in t) U(e, r) ? n[r] = qs(qs({}, t[r]), e[r]) : n[r] = t[r];
7317
+ for (var r in t) W(e, r) ? n[r] = qs(qs({}, t[r]), e[r]) : n[r] = t[r];
7318
7318
  return n;
7319
7319
  }
7320
7320
  function m(e, t) {
@@ -7326,7 +7326,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7326
7326
  var n, r = [], i = function(e) {
7327
7327
  for (var t = 0; t < e.args.length; t++) {
7328
7328
  var a = e.args[t];
7329
- W(a) && n === a.op ? i(a) : r.push(a);
7329
+ q(a) && n === a.op ? i(a) : r.push(a);
7330
7330
  }
7331
7331
  };
7332
7332
  return f(e, t) ? (n = e.op, i(e), r) : e.args;
@@ -7350,7 +7350,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7350
7350
  }
7351
7351
  }
7352
7352
  function v(e) {
7353
- return W(e) ? function(t) {
7353
+ return q(e) ? function(t) {
7354
7354
  try {
7355
7355
  return new n(e.op, e.fn, t, e.implicit);
7356
7356
  } catch (e) {
@@ -7400,7 +7400,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7400
7400
  t.addConversion({
7401
7401
  from: "Object",
7402
7402
  to: "Map",
7403
- convert: wt
7403
+ convert: I
7404
7404
  });
7405
7405
  var O = t("simplify", {
7406
7406
  Node: F,
@@ -7413,11 +7413,11 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7413
7413
  t.removeConversion({
7414
7414
  from: "Object",
7415
7415
  to: "Map",
7416
- convert: wt
7416
+ convert: I
7417
7417
  }), O.defaultContext = T, O.realContext = E, O.positiveContext = D;
7418
7418
  function k(e) {
7419
7419
  return e.transform(function(e) {
7420
- return Wa(e) ? k(e.content) : e;
7420
+ return $n(e) ? k(e.content) : e;
7421
7421
  });
7422
7422
  }
7423
7423
  var A = {
@@ -7711,7 +7711,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7711
7711
  return new h("_p" + N++);
7712
7712
  }
7713
7713
  function F(e, t) {
7714
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ee(), r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, a = r.consoleDebug;
7714
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ae(), r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, a = r.consoleDebug;
7715
7715
  t = M(t || O.rules, r.context);
7716
7716
  var o = i(e, n);
7717
7717
  o = k(o);
@@ -7731,7 +7731,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7731
7731
  }
7732
7732
  return o;
7733
7733
  }
7734
- function I(e, t, n) {
7734
+ function ee(e, t, n) {
7735
7735
  var r = e;
7736
7736
  if (e) for (var i = 0; i < e.length; ++i) {
7737
7737
  var a = te(e[i], t, n);
@@ -7745,7 +7745,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7745
7745
  }
7746
7746
  var a = b(t.imposeContext, n), o = e;
7747
7747
  if (o instanceof p || o instanceof u) {
7748
- var l = I(o.args, t, n);
7748
+ var l = ee(o.args, t, n);
7749
7749
  l !== o.args && (o = o.clone(), o.args = l);
7750
7750
  } else if (o instanceof m) {
7751
7751
  if (o.content) {
@@ -7753,7 +7753,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7753
7753
  h !== o.content && (o = new m(h));
7754
7754
  }
7755
7755
  } else if (o instanceof c) {
7756
- var g = I(o.items, t, n);
7756
+ var g = ee(o.items, t, n);
7757
7757
  g !== o.items && (o = new c(g));
7758
7758
  } else if (o instanceof s) {
7759
7759
  var v = o.object;
@@ -7761,23 +7761,23 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7761
7761
  var y = o.index;
7762
7762
  o.index && (y = te(o.index, t, n)), (v !== o.object || y !== o.index) && (o = new s(v, y));
7763
7763
  } else if (o instanceof d) {
7764
- var x = I(o.dimensions, t, n);
7764
+ var x = ee(o.dimensions, t, n);
7765
7765
  x !== o.dimensions && (o = new d(x));
7766
7766
  } else if (o instanceof f) {
7767
7767
  var S = !1, C = {};
7768
7768
  for (var w in o.properties) C[w] = te(o.properties[w], t, n), C[w] !== o.properties[w] && (S = !0);
7769
7769
  S && (o = new f(C));
7770
7770
  }
7771
- var T = t.r, E = ae(t.l, o, a)[0];
7772
- if (!E && t.expanded && (T = t.expanded.r, E = ae(t.expanded.l, o, a)[0]), !E && t.expandedNC1 && (T = t.expandedNC1.r, E = ae(t.expandedNC1.l, o, a)[0], E ||= (T = t.expandedNC2.r, ae(t.expandedNC2.l, o, a)[0])), E) {
7771
+ var T = t.r, E = R(t.l, o, a)[0];
7772
+ if (!E && t.expanded && (T = t.expanded.r, E = R(t.expanded.l, o, a)[0]), !E && t.expandedNC1 && (T = t.expandedNC1.r, E = R(t.expandedNC1.l, o, a)[0], E ||= (T = t.expandedNC2.r, R(t.expandedNC2.l, o, a)[0])), E) {
7773
7773
  var D = o.implicit;
7774
7774
  o = T.clone(), D && "implicit" in T && (o.implicit = !0), o = o.transform(function(e) {
7775
- return e.isSymbolNode && U(E.placeholders, e.name) ? E.placeholders[e.name].clone() : e;
7775
+ return e.isSymbolNode && W(E.placeholders, e.name) ? E.placeholders[e.name].clone() : e;
7776
7776
  });
7777
7777
  }
7778
7778
  return t.repeat && o !== e && (o = te(o, t, n)), o;
7779
7779
  }
7780
- function ne(e, t) {
7780
+ function L(e, t) {
7781
7781
  var n = [], r, i, a = w(e);
7782
7782
  if (v(e, t)) for (var o = 0; o < e.args.length; o++) i = e.args.slice(0), i.splice(o, 1), r = i.length === 1 ? i[0] : a(i), n.push(a([e.args[o], r]));
7783
7783
  else for (var s = 1; s < e.args.length; s++) {
@@ -7786,19 +7786,19 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7786
7786
  }
7787
7787
  return n;
7788
7788
  }
7789
- function L(e, t) {
7789
+ function ne(e, t) {
7790
7790
  var n = { placeholders: {} };
7791
7791
  if (!e.placeholders && !t.placeholders) return n;
7792
7792
  if (!e.placeholders) return t;
7793
7793
  if (!t.placeholders) return e;
7794
- for (var r in e.placeholders) if (U(e.placeholders, r) && (n.placeholders[r] = e.placeholders[r], U(t.placeholders, r) && !oe(e.placeholders[r], t.placeholders[r]))) return null;
7795
- for (var i in t.placeholders) U(t.placeholders, i) && (n.placeholders[i] = t.placeholders[i]);
7794
+ for (var r in e.placeholders) if (W(e.placeholders, r) && (n.placeholders[r] = e.placeholders[r], W(t.placeholders, r) && !oe(e.placeholders[r], t.placeholders[r]))) return null;
7795
+ for (var i in t.placeholders) W(t.placeholders, i) && (n.placeholders[i] = t.placeholders[i]);
7796
7796
  return n;
7797
7797
  }
7798
7798
  function re(e, t) {
7799
7799
  var n = [];
7800
7800
  if (e.length === 0 || t.length === 0) return n;
7801
- for (var r, i = 0; i < e.length; i++) for (var a = 0; a < t.length; a++) r = L(e[i], t[a]), r && n.push(r);
7801
+ for (var r, i = 0; i < e.length; i++) for (var a = 0; a < t.length; a++) r = ne(e[i], t[a]), r && n.push(r);
7802
7802
  return n;
7803
7803
  }
7804
7804
  function ie(e) {
@@ -7809,7 +7809,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7809
7809
  }
7810
7810
  return n;
7811
7811
  }
7812
- function ae(e, t, n, i) {
7812
+ function R(e, t, n, i) {
7813
7813
  var a = [{ placeholders: {} }];
7814
7814
  if (e instanceof p && t instanceof p || e instanceof u && t instanceof u) {
7815
7815
  if (e instanceof p) {
@@ -7817,23 +7817,23 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7817
7817
  } else if (e instanceof u && e.name !== t.name) return [];
7818
7818
  if (t.args.length === 1 && e.args.length === 1 || !y(t, n) && t.args.length === e.args.length || i) {
7819
7819
  for (var o = [], s = 0; s < e.args.length; s++) {
7820
- var c = ae(e.args[s], t.args[s], n);
7820
+ var c = R(e.args[s], t.args[s], n);
7821
7821
  if (c.length === 0) break;
7822
7822
  o.push(c);
7823
7823
  }
7824
7824
  if (o.length !== e.args.length) {
7825
7825
  if (!v(t, n) || e.args.length === 1) return [];
7826
7826
  if (e.args.length > 2) throw Error("permuting >2 commutative non-associative rule arguments not yet implemented");
7827
- var d = ae(e.args[0], t.args[1], n);
7827
+ var d = R(e.args[0], t.args[1], n);
7828
7828
  if (d.length === 0) return [];
7829
- var f = ae(e.args[1], t.args[0], n);
7829
+ var f = R(e.args[1], t.args[0], n);
7830
7830
  if (f.length === 0) return [];
7831
7831
  o = [d, f];
7832
7832
  }
7833
7833
  a = ie(o);
7834
7834
  } else if (t.args.length >= 2 && e.args.length === 2) {
7835
- for (var m = ne(t, n), g = [], _ = 0; _ < m.length; _++) {
7836
- var b = ae(e, m[_], n, !0);
7835
+ for (var m = L(t, n), g = [], _ = 0; _ < m.length; _++) {
7836
+ var b = R(e, m[_], n, !0);
7837
7837
  g = g.concat(b);
7838
7838
  }
7839
7839
  return g;
@@ -7850,15 +7850,15 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7850
7850
  break;
7851
7851
  case "c":
7852
7852
  case "cl":
7853
- if (q(t)) a[0].placeholders[e.name] = t;
7853
+ if (G(t)) a[0].placeholders[e.name] = t;
7854
7854
  else return [];
7855
7855
  break;
7856
7856
  case "v":
7857
- if (!q(t)) a[0].placeholders[e.name] = t;
7857
+ if (!G(t)) a[0].placeholders[e.name] = t;
7858
7858
  else return [];
7859
7859
  break;
7860
7860
  case "vl":
7861
- if (Y(t)) a[0].placeholders[e.name] = t;
7861
+ if (K(t)) a[0].placeholders[e.name] = t;
7862
7862
  else return [];
7863
7863
  break;
7864
7864
  case "cd":
@@ -7916,61 +7916,61 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7916
7916
  "OperatorNode",
7917
7917
  "SymbolNode"
7918
7918
  ], (e) => {
7919
- var { typed: t, config: n, mathWithTransform: r, matrix: i, isBounded: a, fraction: o, bignumber: s, AccessorNode: c, ArrayNode: l, ConstantNode: u, FunctionNode: d, IndexNode: f, ObjectNode: p, OperatorNode: m, SymbolNode: h } = e, { isCommutative: g, isAssociative: _, allChildren: v, createMakeNodeFunction: y } = Js({
7920
- FunctionNode: d,
7921
- OperatorNode: m,
7922
- SymbolNode: h
7923
- }), b = t("simplifyConstant", {
7924
- Node: (e) => w(M(e, {})),
7919
+ var { typed: t, config: n, mathWithTransform: r, matrix: a, isBounded: o, fraction: s, bignumber: c, AccessorNode: l, ArrayNode: u, ConstantNode: d, FunctionNode: f, IndexNode: p, ObjectNode: m, OperatorNode: h, SymbolNode: g } = e, { isCommutative: _, isAssociative: v, allChildren: y, createMakeNodeFunction: b } = Js({
7920
+ FunctionNode: f,
7921
+ OperatorNode: h,
7922
+ SymbolNode: g
7923
+ }), x = t("simplifyConstant", {
7924
+ Node: (e) => T(N(e, {})),
7925
7925
  "Node, Object": function(e, t) {
7926
- return w(M(e, t));
7926
+ return T(N(e, t));
7927
7927
  }
7928
7928
  });
7929
- function x(e) {
7930
- return wa(e) ? e.valueOf() : e instanceof Array ? e.map(x) : ra(e) ? i(x(e.valueOf())) : e;
7929
+ function S(e) {
7930
+ return Yi(e) ? e.valueOf() : e instanceof Array ? e.map(S) : zr(e) ? a(S(e.valueOf())) : e;
7931
7931
  }
7932
- function S(e, t, n) {
7932
+ function C(e, t, n) {
7933
7933
  try {
7934
7934
  return r[e].apply(null, t);
7935
7935
  } catch {
7936
- return t = t.map(x), D(r[e].apply(null, t), n);
7936
+ return t = t.map(S), O(r[e].apply(null, t), n);
7937
7937
  }
7938
7938
  }
7939
- var C = t({
7940
- Fraction: k,
7939
+ var w = t({
7940
+ Fraction: A,
7941
7941
  number: function(e) {
7942
- return e < 0 ? O(new u(-e)) : new u(e);
7942
+ return e < 0 ? k(new d(-e)) : new d(e);
7943
7943
  },
7944
7944
  BigNumber: function(e) {
7945
- return e < 0 ? O(new u(-e)) : new u(e);
7945
+ return e < 0 ? k(new d(-e)) : new d(e);
7946
7946
  },
7947
7947
  bigint: function(e) {
7948
- return e < 0n ? O(new u(-e)) : new u(e);
7948
+ return e < 0n ? k(new d(-e)) : new d(e);
7949
7949
  },
7950
7950
  Complex: function(e) {
7951
7951
  throw Error("Cannot convert Complex number to Node");
7952
7952
  },
7953
7953
  string: function(e) {
7954
- return new u(e);
7954
+ return new d(e);
7955
7955
  },
7956
7956
  Matrix: function(e) {
7957
- return new l(e.valueOf().map((e) => C(e)));
7957
+ return new u(e.valueOf().map((e) => w(e)));
7958
7958
  }
7959
7959
  });
7960
- function w(e) {
7961
- return K(e) ? e : C(e);
7960
+ function T(e) {
7961
+ return J(e) ? e : w(e);
7962
7962
  }
7963
- function T(e, t) {
7964
- if (t && t.exactFractions !== !1 && a(e) && o) {
7965
- var n = o(e), r = t && typeof t.fractionsLimit == "number" ? t.fractionsLimit : Infinity;
7963
+ function D(e, t) {
7964
+ if (t && t.exactFractions !== !1 && o(e) && s) {
7965
+ var n = s(e), r = t && typeof t.fractionsLimit == "number" ? t.fractionsLimit : Infinity;
7966
7966
  if (n.valueOf() === e && n.n < r && n.d < r) return n;
7967
7967
  }
7968
7968
  return e;
7969
7969
  }
7970
- var D = t({
7970
+ var O = t({
7971
7971
  "string, Object": function(e, t) {
7972
- var r = be(e, n);
7973
- return r === "BigNumber" ? (s === void 0 && E(), s(e)) : r === "bigint" ? BigInt(e) : r === "Fraction" ? (o === void 0 && Xa(), o(e)) : T(parseFloat(e), t);
7972
+ var r = Tn(e, n);
7973
+ return r === "BigNumber" ? (c === void 0 && Yt(), c(e)) : r === "bigint" ? BigInt(e) : r === "Fraction" ? (s === void 0 && E(), s(e)) : D(parseFloat(e), t);
7974
7974
  },
7975
7975
  "Fraction, Object": function(e, t) {
7976
7976
  return e;
@@ -7979,112 +7979,112 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
7979
7979
  return e;
7980
7980
  },
7981
7981
  "number, Object": function(e, t) {
7982
- return T(e, t);
7982
+ return D(e, t);
7983
7983
  },
7984
7984
  "bigint, Object": function(e, t) {
7985
7985
  return e;
7986
7986
  },
7987
7987
  "Complex, Object": function(e, t) {
7988
- return e.im === 0 ? T(e.re, t) : e;
7988
+ return e.im === 0 ? D(e.re, t) : e;
7989
7989
  },
7990
7990
  "Matrix, Object": function(e, t) {
7991
- return i(T(e.valueOf()));
7991
+ return a(D(e.valueOf()));
7992
7992
  },
7993
7993
  "Array, Object": function(e, t) {
7994
- return e.map(T);
7994
+ return e.map(D);
7995
7995
  }
7996
7996
  });
7997
- function O(e) {
7998
- return new m("-", "unaryMinus", [e]);
7999
- }
8000
7997
  function k(e) {
8001
- var t = (e) => n.number === "BigNumber" && s ? s(e) : Number(e), r = e.s * e.n, i = r < 0n ? new m("-", "unaryMinus", [new u(-t(r))]) : new u(t(r));
8002
- return e.d === 1n ? i : new m("/", "divide", [i, new u(t(e.d))]);
7998
+ return new h("-", "unaryMinus", [e]);
8003
7999
  }
8004
- function A(e, t, n) {
8005
- if (!Hr(t)) return new c(w(e), w(t));
8006
- if (Fr(e) || ra(e)) {
8007
- for (var r = Array.from(t.dimensions); r.length > 0;) if (q(r[0]) && typeof r[0].value != "string") {
8008
- var a = D(r.shift().value, n);
8009
- Fr(e) ? e = e.items[a - 1] : (e = e.valueOf()[a - 1], e instanceof Array && (e = i(e)));
8010
- } else if (r.length > 1 && q(r[1]) && typeof r[1].value != "string") {
8011
- var o = D(r[1].value, n), s = [], d = Fr(e) ? e.items : e.valueOf();
8012
- for (var p of d) if (Fr(p)) s.push(p.items[o - 1]);
8013
- else if (ra(e)) s.push(p[o - 1]);
8000
+ function A(e) {
8001
+ var t = (e) => n.number === "BigNumber" && c ? c(e) : Number(e), r = e.s * e.n, i = r < 0n ? new h("-", "unaryMinus", [new d(-t(r))]) : new d(t(r));
8002
+ return e.d === 1n ? i : new h("/", "divide", [i, new d(t(e.d))]);
8003
+ }
8004
+ function j(e, t, n) {
8005
+ if (!Tr(t)) return new l(T(e), T(t));
8006
+ if (i(e) || zr(e)) {
8007
+ for (var r = Array.from(t.dimensions); r.length > 0;) if (G(r[0]) && typeof r[0].value != "string") {
8008
+ var o = O(r.shift().value, n);
8009
+ i(e) ? e = e.items[o - 1] : (e = e.valueOf()[o - 1], e instanceof Array && (e = a(e)));
8010
+ } else if (r.length > 1 && G(r[1]) && typeof r[1].value != "string") {
8011
+ var s = O(r[1].value, n), c = [], f = i(e) ? e.items : e.valueOf();
8012
+ for (var m of f) if (i(m)) c.push(m.items[s - 1]);
8013
+ else if (zr(e)) c.push(m[s - 1]);
8014
8014
  else break;
8015
- if (s.length === d.length) e = Fr(e) ? new l(s) : i(s), r.splice(1, 1);
8015
+ if (c.length === f.length) e = i(e) ? new u(c) : a(c), r.splice(1, 1);
8016
8016
  else break;
8017
8017
  } else break;
8018
- return r.length === t.dimensions.length ? new c(w(e), t) : r.length > 0 ? (t = new f(r), new c(w(e), t)) : e;
8018
+ return r.length === t.dimensions.length ? new l(T(e), t) : r.length > 0 ? (t = new p(r), new l(T(e), t)) : e;
8019
8019
  }
8020
- if (Yr(e) && t.dimensions.length === 1 && q(t.dimensions[0])) {
8021
- var m = t.dimensions[0].value;
8022
- return m in e.properties ? e.properties[m] : new u();
8020
+ if (Qr(e) && t.dimensions.length === 1 && G(t.dimensions[0])) {
8021
+ var h = t.dimensions[0].value;
8022
+ return h in e.properties ? e.properties[h] : new d();
8023
8023
  }
8024
- return new c(w(e), t);
8024
+ return new l(T(e), t);
8025
8025
  }
8026
- function j(e, t, n, r) {
8026
+ function M(e, t, n, r) {
8027
8027
  var i = t.shift(), a = t.reduce((t, i) => {
8028
- if (!K(i)) {
8028
+ if (!J(i)) {
8029
8029
  var a = t.pop();
8030
- if (K(a)) return [a, i];
8030
+ if (J(a)) return [a, i];
8031
8031
  try {
8032
- return t.push(S(e, [a, i], r)), t;
8032
+ return t.push(C(e, [a, i], r)), t;
8033
8033
  } catch {
8034
8034
  t.push(a);
8035
8035
  }
8036
8036
  }
8037
- return t.push(w(t.pop())), [n([t.length === 1 ? t[0] : n(t), w(i)])];
8037
+ return t.push(T(t.pop())), [n([t.length === 1 ? t[0] : n(t), T(i)])];
8038
8038
  }, [i]);
8039
- return a.length === 1 ? a[0] : n([a[0], C(a[1])]);
8039
+ return a.length === 1 ? a[0] : n([a[0], w(a[1])]);
8040
8040
  }
8041
- function M(e, t) {
8041
+ function N(e, t) {
8042
8042
  switch (e.type) {
8043
8043
  case "SymbolNode": return e;
8044
8044
  case "ConstantNode":
8045
8045
  switch (typeof e.value) {
8046
- case "number": return D(e.value, t);
8047
- case "bigint": return D(e.value, t);
8046
+ case "number": return O(e.value, t);
8047
+ case "bigint": return O(e.value, t);
8048
8048
  case "string": return e.value;
8049
- default: if (!isNaN(e.value)) return D(e.value, t);
8049
+ default: if (!isNaN(e.value)) return O(e.value, t);
8050
8050
  }
8051
8051
  return e;
8052
8052
  case "FunctionNode":
8053
8053
  if (r[e.name] && r[e.name].rawArgs) return e;
8054
8054
  if (!["add", "multiply"].includes(e.name)) {
8055
- var n = e.args.map((e) => M(e, t));
8056
- if (!n.some(K)) try {
8057
- return S(e.name, n, t);
8055
+ var n = e.args.map((e) => N(e, t));
8056
+ if (!n.some(J)) try {
8057
+ return C(e.name, n, t);
8058
8058
  } catch {}
8059
- if (e.name === "size" && n.length === 1 && Fr(n[0])) {
8060
- for (var a = [], o = n[0]; Fr(o);) a.push(o.items.length), o = o.items[0];
8061
- return i(a);
8059
+ if (e.name === "size" && n.length === 1 && i(n[0])) {
8060
+ for (var o = [], s = n[0]; i(s);) o.push(s.items.length), s = s.items[0];
8061
+ return a(o);
8062
8062
  }
8063
- return new d(e.name, n.map(w));
8063
+ return new f(e.name, n.map(T));
8064
8064
  }
8065
8065
  case "OperatorNode":
8066
- var s = e.fn.toString(), c, u, m = y(e);
8067
- if (W(e) && e.isUnary()) c = [M(e.args[0], t)], u = K(c[0]) ? m(c) : S(s, c, t);
8068
- else if (_(e, t.context)) if (c = v(e, t.context), c = c.map((e) => M(e, t)), g(s, t.context)) {
8069
- for (var h = [], x = [], C = 0; C < c.length; C++) K(c[C]) ? x.push(c[C]) : h.push(c[C]);
8070
- h.length > 1 ? (u = j(s, h, m, t), x.unshift(u), u = j(s, x, m, t)) : u = j(s, c, m, t);
8071
- } else u = j(s, c, m, t);
8072
- else c = e.args.map((e) => M(e, t)), u = j(s, c, m, t);
8073
- return u;
8074
- case "ParenthesisNode": return M(e.content, t);
8075
- case "AccessorNode": return A(M(e.object, t), M(e.index, t), t);
8066
+ var c = e.fn.toString(), l, d, h = b(e);
8067
+ if (q(e) && e.isUnary()) l = [N(e.args[0], t)], d = J(l[0]) ? h(l) : C(c, l, t);
8068
+ else if (v(e, t.context)) if (l = y(e, t.context), l = l.map((e) => N(e, t)), _(c, t.context)) {
8069
+ for (var g = [], S = [], w = 0; w < l.length; w++) J(l[w]) ? S.push(l[w]) : g.push(l[w]);
8070
+ g.length > 1 ? (d = M(c, g, h, t), S.unshift(d), d = M(c, S, h, t)) : d = M(c, l, h, t);
8071
+ } else d = M(c, l, h, t);
8072
+ else l = e.args.map((e) => N(e, t)), d = M(c, l, h, t);
8073
+ return d;
8074
+ case "ParenthesisNode": return N(e.content, t);
8075
+ case "AccessorNode": return j(N(e.object, t), N(e.index, t), t);
8076
8076
  case "ArrayNode":
8077
- var T = e.items.map((e) => M(e, t));
8078
- return T.some(K) ? new l(T.map(w)) : i(T);
8079
- case "IndexNode": return new f(e.dimensions.map((e) => b(e, t)));
8077
+ var E = e.items.map((e) => N(e, t));
8078
+ return E.some(J) ? new u(E.map(T)) : a(E);
8079
+ case "IndexNode": return new p(e.dimensions.map((e) => x(e, t)));
8080
8080
  case "ObjectNode":
8081
- var E = {};
8082
- for (var O in e.properties) E[O] = b(e.properties[O], t);
8083
- return new p(E);
8081
+ var D = {};
8082
+ for (var k in e.properties) D[k] = x(e.properties[k], t);
8083
+ return new m(D);
8084
8084
  default: throw Error(`Unimplemented node type in simplifyConstant: ${e.type}`);
8085
8085
  }
8086
8086
  }
8087
- return b;
8087
+ return x;
8088
8088
  }), Zs = "simplifyCore", Qs = /* #__PURE__ */ z(Zs, [
8089
8089
  "typed",
8090
8090
  "parse",
@@ -8105,106 +8105,106 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8105
8105
  "ParenthesisNode",
8106
8106
  "SymbolNode"
8107
8107
  ], (e) => {
8108
- var { typed: t, parse: n, equal: r, isZero: i, add: a, subtract: o, multiply: s, divide: c, pow: l, AccessorNode: u, ArrayNode: d, ConstantNode: f, FunctionNode: p, IndexNode: m, ObjectNode: h, OperatorNode: g, ParenthesisNode: _, SymbolNode: v } = e, y = new f(0), b = new f(1), x = new f(!0), S = new f(!1);
8109
- function C(e) {
8110
- return W(e) && [
8108
+ var { typed: t, parse: n, equal: r, isZero: a, add: o, subtract: s, multiply: c, divide: l, pow: u, AccessorNode: d, ArrayNode: f, ConstantNode: p, FunctionNode: m, IndexNode: h, ObjectNode: g, OperatorNode: _, ParenthesisNode: v, SymbolNode: y } = e, b = new p(0), x = new p(1), S = new p(!0), C = new p(!1);
8109
+ function w(e) {
8110
+ return q(e) && [
8111
8111
  "and",
8112
8112
  "not",
8113
8113
  "or"
8114
8114
  ].includes(e.op);
8115
8115
  }
8116
- var { hasProperty: w, isCommutative: T } = Js({
8117
- FunctionNode: p,
8118
- OperatorNode: g,
8119
- SymbolNode: v
8116
+ var { hasProperty: T, isCommutative: E } = Js({
8117
+ FunctionNode: m,
8118
+ OperatorNode: _,
8119
+ SymbolNode: y
8120
8120
  });
8121
- function E(e) {
8121
+ function D(e) {
8122
8122
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t ? t.context : void 0;
8123
- if (w(e, "trivial", n)) {
8124
- if (Ra(e) && e.args.length === 1) return E(e.args[0], t);
8125
- var a = !1, o = 0;
8123
+ if (T(e, "trivial", n)) {
8124
+ if (Oi(e) && e.args.length === 1) return D(e.args[0], t);
8125
+ var o = !1, s = 0;
8126
8126
  if (e.forEach((e) => {
8127
- ++o, o === 1 && (a = E(e, t));
8128
- }), o === 1) return a;
8129
- }
8130
- var s = e;
8131
- if (Ra(s)) {
8132
- var c = No(s.name);
8133
- if (c) {
8134
- if (s.args.length > 2 && w(s, "associative", n)) for (; s.args.length > 2;) {
8135
- var l = s.args.pop(), f = s.args.pop();
8136
- s.args.push(new g(c, s.name, [l, f]));
8127
+ ++s, s === 1 && (o = D(e, t));
8128
+ }), s === 1) return o;
8129
+ }
8130
+ var c = e;
8131
+ if (Oi(c)) {
8132
+ var l = No(c.name);
8133
+ if (l) {
8134
+ if (c.args.length > 2 && T(c, "associative", n)) for (; c.args.length > 2;) {
8135
+ var u = c.args.pop(), p = c.args.pop();
8136
+ c.args.push(new _(l, c.name, [u, p]));
8137
8137
  }
8138
- s = new g(c, s.name, s.args);
8139
- } else return new p(E(s.fn), s.args.map((e) => E(e, t)));
8140
- }
8141
- if (W(s) && s.isUnary()) {
8142
- var _ = E(s.args[0], t);
8143
- if (s.op === "~" && W(_) && _.isUnary() && _.op === "~" || s.op === "not" && W(_) && _.isUnary() && _.op === "not" && C(_.args[0])) return _.args[0];
8144
- var v = !0;
8145
- if (s.op === "-" && W(_) && (_.isBinary() && _.fn === "subtract" && (s = new g("-", "subtract", [_.args[1], _.args[0]]), v = !1), _.isUnary() && _.op === "-")) return _.args[0];
8146
- if (v) return new g(s.op, s.fn, [_]);
8147
- }
8148
- if (W(s) && s.isBinary()) {
8149
- var D = E(s.args[0], t), O = E(s.args[1], t);
8150
- if (s.op === "+") {
8151
- if (q(D) && i(D.value)) return O;
8152
- if (q(O) && i(O.value)) return D;
8153
- W(O) && O.isUnary() && O.op === "-" && (O = O.args[0], s = new g("-", "subtract", [D, O]));
8138
+ c = new _(l, c.name, c.args);
8139
+ } else return new m(D(c.fn), c.args.map((e) => D(e, t)));
8140
+ }
8141
+ if (q(c) && c.isUnary()) {
8142
+ var v = D(c.args[0], t);
8143
+ if (c.op === "~" && q(v) && v.isUnary() && v.op === "~" || c.op === "not" && q(v) && v.isUnary() && v.op === "not" && w(v.args[0])) return v.args[0];
8144
+ var y = !0;
8145
+ if (c.op === "-" && q(v) && (v.isBinary() && v.fn === "subtract" && (c = new _("-", "subtract", [v.args[1], v.args[0]]), y = !1), v.isUnary() && v.op === "-")) return v.args[0];
8146
+ if (y) return new _(c.op, c.fn, [v]);
8147
+ }
8148
+ if (q(c) && c.isBinary()) {
8149
+ var O = D(c.args[0], t), k = D(c.args[1], t);
8150
+ if (c.op === "+") {
8151
+ if (G(O) && a(O.value)) return k;
8152
+ if (G(k) && a(k.value)) return O;
8153
+ q(k) && k.isUnary() && k.op === "-" && (k = k.args[0], c = new _("-", "subtract", [O, k]));
8154
8154
  }
8155
- if (s.op === "-") return W(O) && O.isUnary() && O.op === "-" ? E(new g("+", "add", [D, O.args[0]]), t) : q(D) && i(D.value) ? E(new g("-", "unaryMinus", [O])) : q(O) && i(O.value) ? D : new g(s.op, s.fn, [D, O]);
8156
- if (s.op === "*") {
8157
- if (q(D)) {
8158
- if (i(D.value)) return y;
8159
- if (r(D.value, 1)) return O;
8155
+ if (c.op === "-") return q(k) && k.isUnary() && k.op === "-" ? D(new _("+", "add", [O, k.args[0]]), t) : G(O) && a(O.value) ? D(new _("-", "unaryMinus", [k])) : G(k) && a(k.value) ? O : new _(c.op, c.fn, [O, k]);
8156
+ if (c.op === "*") {
8157
+ if (G(O)) {
8158
+ if (a(O.value)) return b;
8159
+ if (r(O.value, 1)) return k;
8160
8160
  }
8161
- if (q(O)) {
8162
- if (i(O.value)) return y;
8163
- if (r(O.value, 1)) return D;
8164
- if (T(s, n)) return new g(s.op, s.fn, [O, D], s.implicit);
8161
+ if (G(k)) {
8162
+ if (a(k.value)) return b;
8163
+ if (r(k.value, 1)) return O;
8164
+ if (E(c, n)) return new _(c.op, c.fn, [k, O], c.implicit);
8165
8165
  }
8166
- return new g(s.op, s.fn, [D, O], s.implicit);
8166
+ return new _(c.op, c.fn, [O, k], c.implicit);
8167
8167
  }
8168
- if (s.op === "/") return q(D) && i(D.value) ? y : q(O) && r(O.value, 1) ? D : new g(s.op, s.fn, [D, O]);
8169
- if (s.op === "^" && q(O)) {
8170
- if (i(O.value)) return b;
8171
- if (r(O.value, 1)) return D;
8168
+ if (c.op === "/") return G(O) && a(O.value) ? b : G(k) && r(k.value, 1) ? O : new _(c.op, c.fn, [O, k]);
8169
+ if (c.op === "^" && G(k)) {
8170
+ if (a(k.value)) return x;
8171
+ if (r(k.value, 1)) return O;
8172
8172
  }
8173
- if (s.op === "and") {
8174
- if (q(D)) if (D.value) {
8175
- if (C(O)) return O;
8176
- if (q(O)) return O.value ? x : S;
8177
- } else return S;
8178
- if (q(O)) if (O.value) {
8179
- if (C(D)) return D;
8180
- } else return S;
8173
+ if (c.op === "and") {
8174
+ if (G(O)) if (O.value) {
8175
+ if (w(k)) return k;
8176
+ if (G(k)) return k.value ? S : C;
8177
+ } else return C;
8178
+ if (G(k)) if (k.value) {
8179
+ if (w(O)) return O;
8180
+ } else return C;
8181
8181
  }
8182
- if (s.op === "or") {
8183
- if (q(D)) {
8184
- if (D.value) return x;
8185
- if (C(O)) return O;
8182
+ if (c.op === "or") {
8183
+ if (G(O)) {
8184
+ if (O.value) return S;
8185
+ if (w(k)) return k;
8186
8186
  }
8187
- if (q(O)) {
8188
- if (O.value) return x;
8189
- if (C(D)) return D;
8187
+ if (G(k)) {
8188
+ if (k.value) return S;
8189
+ if (w(O)) return O;
8190
8190
  }
8191
8191
  }
8192
- return new g(s.op, s.fn, [D, O]);
8192
+ return new _(c.op, c.fn, [O, k]);
8193
8193
  }
8194
- if (W(s)) return new g(s.op, s.fn, s.args.map((e) => E(e, t)));
8195
- if (Fr(s)) return new d(s.items.map((e) => E(e, t)));
8196
- if (Lt(s)) return new u(E(s.object, t), E(s.index, t));
8197
- if (Hr(s)) return new m(s.dimensions.map((e) => E(e, t)));
8198
- if (Yr(s)) {
8199
- var k = {};
8200
- for (var A in s.properties) k[A] = E(s.properties[A], t);
8201
- return new h(k);
8194
+ if (q(c)) return new _(c.op, c.fn, c.args.map((e) => D(e, t)));
8195
+ if (i(c)) return new f(c.items.map((e) => D(e, t)));
8196
+ if (Gn(c)) return new d(D(c.object, t), D(c.index, t));
8197
+ if (Tr(c)) return new h(c.dimensions.map((e) => D(e, t)));
8198
+ if (Qr(c)) {
8199
+ var A = {};
8200
+ for (var j in c.properties) A[j] = D(c.properties[j], t);
8201
+ return new g(A);
8202
8202
  }
8203
- return s;
8203
+ return c;
8204
8204
  }
8205
8205
  return t(Zs, {
8206
- Node: E,
8207
- "Node,Object": E
8206
+ Node: D,
8207
+ "Node,Object": D
8208
8208
  });
8209
8209
  }), $s = /* #__PURE__ */ z("resolve", [
8210
8210
  "typed",
@@ -8218,25 +8218,25 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8218
8218
  function s(e, t) {
8219
8219
  var c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : /* @__PURE__ */ new Set();
8220
8220
  if (!t) return e;
8221
- if (Y(e)) {
8221
+ if (K(e)) {
8222
8222
  if (c.has(e.name)) {
8223
8223
  var l = Array.from(c).join(", ");
8224
8224
  throw ReferenceError(`recursive loop of variable definitions among {${l}}`);
8225
8225
  }
8226
8226
  var u = t.get(e.name);
8227
- if (K(u)) {
8227
+ if (J(u)) {
8228
8228
  var d = new Set(c);
8229
8229
  return d.add(e.name), s(u, t, d);
8230
8230
  } else if (typeof u == "number") return n(String(u));
8231
8231
  else if (u !== void 0) return new r(u);
8232
8232
  else return e;
8233
- } else if (W(e)) {
8233
+ } else if (q(e)) {
8234
8234
  var f = e.args.map(function(e) {
8235
8235
  return s(e, t, c);
8236
8236
  });
8237
8237
  return new a(e.op, e.fn, f, e.implicit);
8238
- } else if (Wa(e)) return new o(s(e.content, t, c));
8239
- else if (Ra(e)) {
8238
+ } else if ($n(e)) return new o(s(e.content, t, c));
8239
+ else if (Oi(e)) {
8240
8240
  var p = e.args.map(function(e) {
8241
8241
  return s(e, t, c);
8242
8242
  });
@@ -8247,11 +8247,11 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8247
8247
  return t("resolve", {
8248
8248
  Node: s,
8249
8249
  "Node, Map | null | undefined": s,
8250
- "Node, Object": (e, t) => s(e, wt(t)),
8250
+ "Node, Object": (e, t) => s(e, I(t)),
8251
8251
  "Array | Matrix": t.referToSelf((e) => (t) => t.map((t) => e(t))),
8252
8252
  "Array | Matrix, null | undefined": t.referToSelf((e) => (t) => t.map((t) => e(t))),
8253
- "Array, Object": t.referTo("Array,Map", (e) => (t, n) => e(t, wt(n))),
8254
- "Matrix, Object": t.referTo("Matrix,Map", (e) => (t, n) => e(t, wt(n))),
8253
+ "Array, Object": t.referTo("Array,Map", (e) => (t, n) => e(t, I(n))),
8254
+ "Matrix, Object": t.referTo("Matrix,Map", (e) => (t, n) => e(t, I(n))),
8255
8255
  "Array | Matrix, Map": t.referToSelf((e) => (t, n) => t.map((t) => e(t, n)))
8256
8256
  });
8257
8257
  }), ec = "symbolicEqual", tc = /* #__PURE__ */ z(ec, [
@@ -8263,7 +8263,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8263
8263
  var { parse: t, simplify: n, typed: r, OperatorNode: i } = e;
8264
8264
  function a(e, t) {
8265
8265
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n(new i("-", "subtract", [e, t]), {}, r);
8266
- return q(a) && !a.value;
8266
+ return G(a) && !a.value;
8267
8267
  }
8268
8268
  return r(ec, {
8269
8269
  "Node, Node": a,
@@ -8311,10 +8311,10 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8311
8311
  };
8312
8312
  var g = t("_derivTex", {
8313
8313
  "Node, SymbolNode": function(e, t) {
8314
- return q(e) && Qa(e.value) === "string" ? g(r(e.value).toString(), t.toString(), 1) : g(e.toTex(), t.toString(), 1);
8314
+ return G(e) && O(e.value) === "string" ? g(r(e.value).toString(), t.toString(), 1) : g(e.toTex(), t.toString(), 1);
8315
8315
  },
8316
8316
  "Node, ConstantNode": function(e, t) {
8317
- if (Qa(t.value) === "string") return g(e, r(t.value));
8317
+ if (O(t.value) === "string") return g(e, r(t.value));
8318
8318
  throw Error("The second parameter to 'derivative' is a non-string constant");
8319
8319
  },
8320
8320
  "Node, SymbolNode, ConstantNode": function(e, t, n) {
@@ -8489,9 +8489,9 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8489
8489
  }
8490
8490
  if (e.op === "^" && e.isBinary()) {
8491
8491
  var d = e.args[0], f = e.args[1];
8492
- if (t(d)) return q(d) && (o(d.value) || a(d.value, 1)) ? y(0) : new u("*", "multiply", [e, new u("*", "multiply", [new l("log", [d.clone()]), v(f.clone(), t)])]);
8492
+ if (t(d)) return G(d) && (o(d.value) || a(d.value, 1)) ? y(0) : new u("*", "multiply", [e, new u("*", "multiply", [new l("log", [d.clone()]), v(f.clone(), t)])]);
8493
8493
  if (t(f)) {
8494
- if (q(f)) {
8494
+ if (G(f)) {
8495
8495
  if (o(f.value)) return y(0);
8496
8496
  if (a(f.value, 1)) return v(d, t);
8497
8497
  }
@@ -8504,7 +8504,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8504
8504
  }
8505
8505
  });
8506
8506
  function y(e, t) {
8507
- return new c(s(e, t || be(String(e), n)));
8507
+ return new c(s(e, t || Tn(String(e), n)));
8508
8508
  }
8509
8509
  return h;
8510
8510
  }), ic = "rationalize", ac = /* #__PURE__ */ z(ic, /* @__PURE__ */ "config.typed.equal.isZero.add.subtract.multiply.divide.pow.parse.simplifyConstant.simplifyCore.simplify.?bignumber.?fraction.mathWithTransform.matrix.AccessorNode.ArrayNode.ConstantNode.FunctionNode.IndexNode.ObjectNode.OperatorNode.SymbolNode.ParenthesisNode".split("."), (e) => {
@@ -8538,7 +8538,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8538
8538
  var t = e.type;
8539
8539
  if (t === "FunctionNode") throw Error("There is an unsolved function call");
8540
8540
  if (t === "OperatorNode") if (e.op === "^") {
8541
- if (e.args[1].type !== "ConstantNode" || !Dn(parseFloat(e.args[1].value))) throw Error("There is a non-integer exponent");
8541
+ if (e.args[1].type !== "ConstantNode" || !fn(parseFloat(e.args[1].value))) throw Error("There is a non-integer exponent");
8542
8542
  c(e.args[0]);
8543
8543
  } else {
8544
8544
  if (!o.includes(e.op)) throw Error("Operator " + e.op + " invalid in polynomial expression");
@@ -8781,7 +8781,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8781
8781
  var r = e.type, i = arguments.length > 1;
8782
8782
  if (r === "OperatorNode" && e.isBinary()) {
8783
8783
  var a = !1, o;
8784
- if (e.op === "^" && (e.args[0].type === "ParenthesisNode" || e.args[0].type === "OperatorNode") && e.args[1].type === "ConstantNode" && (o = parseFloat(e.args[1].value), a = o >= 2 && Dn(o)), a) {
8784
+ if (e.op === "^" && (e.args[0].type === "ParenthesisNode" || e.args[0].type === "OperatorNode") && e.args[1].type === "ConstantNode" && (o = parseFloat(e.args[1].value), a = o >= 2 && fn(o)), a) {
8785
8785
  if (o > 2) {
8786
8786
  var s = e.args[0];
8787
8787
  e = new w("*", "multiply", [s, new w("^", "pow", [e.args[0].cloneDeep(), new b(o - 1)])]);
@@ -8838,7 +8838,7 @@ var Js = /* #__PURE__ */ z("simplifyUtil", [
8838
8838
  }
8839
8839
  if (n.op === "^") {
8840
8840
  if (a.noFil !== 1) throw Error("Constant cannot be powered");
8841
- if (!Dn(c) || c <= 0) throw Error("Non-integer exponent is not allowed");
8841
+ if (!fn(c) || c <= 0) throw Error("Non-integer exponent is not allowed");
8842
8842
  for (var l = r + 1; l < c; l++) t[l] = 0;
8843
8843
  c > r && (t[c] = 0), t[c] += a.cte * (a.oper === "+" ? 1 : -1), r = Math.max(c, r);
8844
8844
  return;
@@ -8870,7 +8870,7 @@ function cc(e) {
8870
8870
  for (var t = 1; t < arguments.length; t++) {
8871
8871
  var n = arguments[t] == null ? {} : arguments[t];
8872
8872
  t % 2 ? sc(Object(n), !0).forEach(function(t) {
8873
- J(e, t, n[t]);
8873
+ Y(e, t, n[t]);
8874
8874
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sc(Object(n)).forEach(function(t) {
8875
8875
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
8876
8876
  });
@@ -8878,26 +8878,26 @@ function cc(e) {
8878
8878
  return e;
8879
8879
  }
8880
8880
  var lc = /* #__PURE__ */ z("mapSlices", ["typed", "isInteger"], (e) => {
8881
- var { typed: t, isInteger: n } = e, r = fe({
8881
+ var { typed: t, isInteger: n } = e, r = kt({
8882
8882
  typed: t,
8883
8883
  isInteger: n
8884
8884
  });
8885
8885
  return t("mapSlices", { "...any": function(e) {
8886
8886
  var t = e[1];
8887
- ni(t) ? e[1] = t - 1 : Wi(t) && (e[1] = t.minus(1));
8887
+ Fi(t) ? e[1] = t - 1 : ka(t) && (e[1] = t.minus(1));
8888
8888
  try {
8889
8889
  return r.apply(null, e);
8890
8890
  } catch (e) {
8891
8891
  throw X(e);
8892
8892
  }
8893
8893
  } });
8894
- }, cc({ isTransformFunction: !0 }, fe.meta)), uc = /* #__PURE__ */ z("column", [
8894
+ }, cc({ isTransformFunction: !0 }, kt.meta)), uc = /* #__PURE__ */ z("column", [
8895
8895
  "typed",
8896
8896
  "Index",
8897
8897
  "matrix",
8898
8898
  "range"
8899
8899
  ], (e) => {
8900
- var { typed: t, Index: n, matrix: r, range: i } = e, a = Si({
8900
+ var { typed: t, Index: n, matrix: r, range: i } = e, a = xt({
8901
8901
  typed: t,
8902
8902
  Index: n,
8903
8903
  matrix: r,
@@ -8905,7 +8905,7 @@ var lc = /* #__PURE__ */ z("mapSlices", ["typed", "isInteger"], (e) => {
8905
8905
  });
8906
8906
  return t("column", { "...any": function(e) {
8907
8907
  var t = e.length - 1, n = e[t];
8908
- ni(n) && (e[t] = n - 1);
8908
+ Fi(n) && (e[t] = n - 1);
8909
8909
  try {
8910
8910
  return a.apply(null, e);
8911
8911
  } catch (e) {
@@ -8917,10 +8917,10 @@ var lc = /* #__PURE__ */ z("mapSlices", ["typed", "isInteger"], (e) => {
8917
8917
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/transform/utils/compileInlineExpression.js
8918
8918
  function dc(e, t, n) {
8919
8919
  var r = e.filter(function(e) {
8920
- return Y(e) && !(e.name in t) && !n.has(e.name);
8920
+ return K(e) && !(e.name in t) && !n.has(e.name);
8921
8921
  })[0];
8922
8922
  if (!r) throw Error("No undefined variable found in inline expression \"" + e + "\"");
8923
- var i = r.name, a = /* @__PURE__ */ new Map(), o = new oe(n, a, new Set([i])), s = e.compile();
8923
+ var i = r.name, a = /* @__PURE__ */ new Map(), o = new on(n, a, new Set([i])), s = e.compile();
8924
8924
  return function(e) {
8925
8925
  return a.set(i, e), s.evaluate(o);
8926
8926
  };
@@ -8953,12 +8953,12 @@ function mc(e) {
8953
8953
  var hc = /* #__PURE__ */ z("filter", ["typed"], (e) => {
8954
8954
  var { typed: t } = e;
8955
8955
  function n(e, n, i) {
8956
- var a = St({ typed: t }), o = fc({ typed: t });
8956
+ var a = P({ typed: t }), o = fc({ typed: t });
8957
8957
  if (e.length === 0) return a();
8958
8958
  var s = e[0];
8959
8959
  if (e.length === 1) return a(s);
8960
8960
  var c = e.length - 1, l = e[c];
8961
- return s &&= r(s, i), l &&= Y(l) || ji(l) ? r(l, i) : dc(l, n, i), a(s, o(l, c));
8961
+ return s &&= r(s, i), l &&= K(l) || vr(l) ? r(l, i) : dc(l, n, i), a(s, o(l, c));
8962
8962
  }
8963
8963
  n.rawArgs = !0;
8964
8964
  function r(e, t) {
@@ -8966,13 +8966,13 @@ var hc = /* #__PURE__ */ z("filter", ["typed"], (e) => {
8966
8966
  }
8967
8967
  return n;
8968
8968
  }, { isTransformFunction: !0 }), gc = /* #__PURE__ */ z("forEach", ["typed"], (e) => {
8969
- var { typed: t } = e, n = P({ typed: t }), r = fc({ typed: t });
8969
+ var { typed: t } = e, n = ie({ typed: t }), r = fc({ typed: t });
8970
8970
  function i(e, t, i) {
8971
8971
  if (e.length === 0) return n();
8972
8972
  var o = e[0];
8973
8973
  if (e.length === 1) return n(o);
8974
8974
  var s = e.length - 1, c = e[s];
8975
- return o &&= a(o, i), c &&= Y(c) || ji(c) ? a(c, i) : dc(c, t, i), n(o, r(c, s));
8975
+ return o &&= a(o, i), c &&= K(c) || vr(c) ? a(c, i) : dc(c, t, i), n(o, r(c, s));
8976
8976
  }
8977
8977
  i.rawArgs = !0;
8978
8978
  function a(e, t) {
@@ -8982,30 +8982,30 @@ var hc = /* #__PURE__ */ z("filter", ["typed"], (e) => {
8982
8982
  }, { isTransformFunction: !0 }), _c = /* #__PURE__ */ z("index", ["Index", "getMatrixDataType"], (e) => {
8983
8983
  var { Index: t, getMatrixDataType: n } = e;
8984
8984
  return function() {
8985
- for (var e = [], r = 0, a = arguments.length; r < a; r++) {
8986
- var o = arguments[r];
8987
- if (fo(o)) o.start--, o.end -= o.step > 0 ? 0 : 2;
8988
- else if (o && o.isSet === !0) o = o.map(function(e) {
8985
+ for (var e = [], r = 0, i = arguments.length; r < i; r++) {
8986
+ var a = arguments[r];
8987
+ if (Ha(a)) a.start--, a.end -= a.step > 0 ? 0 : 2;
8988
+ else if (a && a.isSet === !0) a = a.map(function(e) {
8989
8989
  return e - 1;
8990
8990
  });
8991
- else if (i(o) || ra(o)) n(o) !== "boolean" && (o = o.map(function(e) {
8991
+ else if (It(a) || zr(a)) n(a) !== "boolean" && (a = a.map(function(e) {
8992
8992
  return e - 1;
8993
8993
  }));
8994
- else if (ni(o) || ja(o)) o--;
8995
- else if (Wi(o)) o = o.toNumber() - 1;
8996
- else if (typeof o != "string") throw TypeError("Dimension must be an Array, Matrix, number, bigint, string, or Range");
8997
- e[r] = o;
8994
+ else if (Fi(a) || Mr(a)) a--;
8995
+ else if (ka(a)) a = a.toNumber() - 1;
8996
+ else if (typeof a != "string") throw TypeError("Dimension must be an Array, Matrix, number, bigint, string, or Range");
8997
+ e[r] = a;
8998
8998
  }
8999
- var s = new t();
9000
- return t.apply(s, e), s;
8999
+ var o = new t();
9000
+ return t.apply(o, e), o;
9001
9001
  };
9002
9002
  }, { isTransformFunction: !0 }), vc = /* #__PURE__ */ z("map", ["typed"], (e) => {
9003
- var { typed: t } = e, n = ie({ typed: t }), r = fc({ typed: t });
9003
+ var { typed: t } = e, n = rn({ typed: t }), r = fc({ typed: t });
9004
9004
  function i(e, t, i) {
9005
9005
  if (e.length === 0) return n();
9006
9006
  if (e.length === 1) return n(e[0]);
9007
9007
  var a = e.length - 1, o = e.slice(0, a), s = e[a];
9008
- return o = o.map((e) => c(e, i)), s &&= Y(s) || ji(s) ? c(s, i) : dc(s, t, i), n(...o, r(s, a));
9008
+ return o = o.map((e) => c(e, i)), s &&= K(s) || vr(s) ? c(s, i) : dc(s, t, i), n(...o, r(s, a));
9009
9009
  function c(e, t) {
9010
9010
  return e.compile().evaluate(t);
9011
9011
  }
@@ -9015,15 +9015,15 @@ var hc = /* #__PURE__ */ z("filter", ["typed"], (e) => {
9015
9015
  //#endregion
9016
9016
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/transform/utils/dimToZeroBase.js
9017
9017
  function yc(e) {
9018
- return ni(e) ? e - 1 : Wi(e) ? e.minus(1) : e;
9018
+ return Fi(e) ? e - 1 : ka(e) ? e.minus(1) : e;
9019
9019
  }
9020
9020
  function bc(e) {
9021
- return ni(e) || Wi(e);
9021
+ return Fi(e) || ka(e);
9022
9022
  }
9023
9023
  //#endregion
9024
9024
  //#region ../../../node_modules/.bun/mathjs@15.2.0/node_modules/mathjs/lib/esm/expression/transform/utils/lastDimToZeroBase.js
9025
9025
  function xc(e) {
9026
- if (e.length === 2 && li(e[0])) {
9026
+ if (e.length === 2 && ha(e[0])) {
9027
9027
  e = e.slice();
9028
9028
  var t = e[1];
9029
9029
  bc(t) && (e[1] = yc(t));
@@ -9037,7 +9037,7 @@ var Sc = /* #__PURE__ */ z("max", [
9037
9037
  "larger",
9038
9038
  "isNaN"
9039
9039
  ], (e) => {
9040
- var { typed: t, config: n, numeric: r, larger: i, isNaN: a } = e, o = Ii({
9040
+ var { typed: t, config: n, numeric: r, larger: i, isNaN: a } = e, o = Ni({
9041
9041
  typed: t,
9042
9042
  config: n,
9043
9043
  numeric: r,
@@ -9057,7 +9057,7 @@ var Sc = /* #__PURE__ */ z("max", [
9057
9057
  "add",
9058
9058
  "divide"
9059
9059
  ], (e) => {
9060
- var { typed: t, add: n, divide: r } = e, i = Ia({
9060
+ var { typed: t, add: n, divide: r } = e, i = Pa({
9061
9061
  typed: t,
9062
9062
  add: n,
9063
9063
  divide: r
@@ -9077,7 +9077,7 @@ var Sc = /* #__PURE__ */ z("max", [
9077
9077
  "smaller",
9078
9078
  "isNaN"
9079
9079
  ], (e) => {
9080
- var { typed: t, config: n, numeric: r, smaller: i, isNaN: a } = e, o = ta({
9080
+ var { typed: t, config: n, numeric: r, smaller: i, isNaN: a } = e, o = ea({
9081
9081
  typed: t,
9082
9082
  config: n,
9083
9083
  numeric: r,
@@ -9106,7 +9106,7 @@ var Sc = /* #__PURE__ */ z("max", [
9106
9106
  "isZero",
9107
9107
  "isPositive"
9108
9108
  ], (e) => {
9109
- var { typed: t, config: n, matrix: r, bignumber: i, equal: a, smaller: o, smallerEq: s, larger: c, largerEq: l, add: u, isZero: d, isPositive: f } = e, p = Zt({
9109
+ var { typed: t, config: n, matrix: r, bignumber: i, equal: a, smaller: o, smallerEq: s, larger: c, largerEq: l, add: u, isZero: d, isPositive: f } = e, p = no({
9110
9110
  typed: t,
9111
9111
  config: n,
9112
9112
  matrix: r,
@@ -9129,7 +9129,7 @@ var Sc = /* #__PURE__ */ z("max", [
9129
9129
  "matrix",
9130
9130
  "range"
9131
9131
  ], (e) => {
9132
- var { typed: t, Index: n, matrix: r, range: i } = e, a = io({
9132
+ var { typed: t, Index: n, matrix: r, range: i } = e, a = ur({
9133
9133
  typed: t,
9134
9134
  Index: n,
9135
9135
  matrix: r,
@@ -9137,7 +9137,7 @@ var Sc = /* #__PURE__ */ z("max", [
9137
9137
  });
9138
9138
  return t("row", { "...any": function(e) {
9139
9139
  var t = e.length - 1, n = e[t];
9140
- ni(n) && (e[t] = n - 1);
9140
+ Fi(n) && (e[t] = n - 1);
9141
9141
  try {
9142
9142
  return a.apply(null, e);
9143
9143
  } catch (e) {
@@ -9150,7 +9150,7 @@ var Sc = /* #__PURE__ */ z("max", [
9150
9150
  "zeros",
9151
9151
  "add"
9152
9152
  ], (e) => {
9153
- var { typed: t, matrix: n, zeros: r, add: i } = e, a = fr({
9153
+ var { typed: t, matrix: n, zeros: r, add: i } = e, a = lo({
9154
9154
  typed: t,
9155
9155
  matrix: n,
9156
9156
  zeros: r,
@@ -9168,14 +9168,14 @@ var Sc = /* #__PURE__ */ z("max", [
9168
9168
  "matrix",
9169
9169
  "isInteger"
9170
9170
  ], (e) => {
9171
- var { typed: t, matrix: n, isInteger: r } = e, i = d({
9171
+ var { typed: t, matrix: n, isInteger: r } = e, i = yi({
9172
9172
  typed: t,
9173
9173
  matrix: n,
9174
9174
  isInteger: r
9175
9175
  });
9176
9176
  return t("concat", { "...any": function(e) {
9177
9177
  var t = e.length - 1, n = e[t];
9178
- ni(n) ? e[t] = n - 1 : Wi(n) && (e[t] = n.minus(1));
9178
+ Fi(n) ? e[t] = n - 1 : ka(n) && (e[t] = n.minus(1));
9179
9179
  try {
9180
9180
  return i.apply(null, e);
9181
9181
  } catch (e) {
@@ -9189,7 +9189,7 @@ var Sc = /* #__PURE__ */ z("max", [
9189
9189
  "number",
9190
9190
  "bignumber"
9191
9191
  ], (e) => {
9192
- var { typed: t, matrix: n, subtract: r, number: i, bignumber: a } = e, o = on({
9192
+ var { typed: t, matrix: n, subtract: r, number: i, bignumber: a } = e, o = Ja({
9193
9193
  typed: t,
9194
9194
  matrix: n,
9195
9195
  subtract: r,
@@ -9210,7 +9210,7 @@ var Sc = /* #__PURE__ */ z("max", [
9210
9210
  "sqrt",
9211
9211
  "variance"
9212
9212
  ], (e) => {
9213
- var { typed: t, map: n, sqrt: r, variance: i } = e, a = Sa({
9213
+ var { typed: t, map: n, sqrt: r, variance: i } = e, a = ba({
9214
9214
  typed: t,
9215
9215
  map: n,
9216
9216
  sqrt: r,
@@ -9230,7 +9230,7 @@ var Sc = /* #__PURE__ */ z("max", [
9230
9230
  "add",
9231
9231
  "numeric"
9232
9232
  ], (e) => {
9233
- var { typed: t, config: n, add: r, numeric: i } = e, a = Br({
9233
+ var { typed: t, config: n, add: r, numeric: i } = e, a = Lr({
9234
9234
  typed: t,
9235
9235
  config: n,
9236
9236
  add: r,
@@ -9259,7 +9259,7 @@ var Sc = /* #__PURE__ */ z("max", [
9259
9259
  "larger",
9260
9260
  "mapSlices"
9261
9261
  ], (e) => {
9262
- var { typed: t, bignumber: n, add: r, subtract: i, divide: a, multiply: o, partitionSelect: s, compare: c, isInteger: l, smaller: u, smallerEq: d, larger: f, mapSlices: p } = e, m = yr({
9262
+ var { typed: t, bignumber: n, add: r, subtract: i, divide: a, multiply: o, partitionSelect: s, compare: c, isInteger: l, smaller: u, smallerEq: d, larger: f, mapSlices: p } = e, m = gr({
9263
9263
  typed: t,
9264
9264
  bignumber: n,
9265
9265
  add: r,
@@ -9292,15 +9292,15 @@ var Sc = /* #__PURE__ */ z("max", [
9292
9292
  "add",
9293
9293
  "unaryPlus"
9294
9294
  ], (e) => {
9295
- var { typed: t, add: n, unaryPlus: r } = e, i = Er({
9295
+ var { typed: t, add: n, unaryPlus: r } = e, i = Cr({
9296
9296
  typed: t,
9297
9297
  add: n,
9298
9298
  unaryPlus: r
9299
9299
  });
9300
9300
  return t(Fc, { "...any": function(e) {
9301
- if (e.length === 2 && li(e[0])) {
9301
+ if (e.length === 2 && ha(e[0])) {
9302
9302
  var t = e[1];
9303
- ni(t) ? e[1] = t - 1 : Wi(t) && (e[1] = t.minus(1));
9303
+ Fi(t) ? e[1] = t - 1 : ka(t) && (e[1] = t.minus(1));
9304
9304
  }
9305
9305
  try {
9306
9306
  return i.apply(null, e);
@@ -9317,7 +9317,7 @@ var Sc = /* #__PURE__ */ z("max", [
9317
9317
  "mapSlices",
9318
9318
  "isNaN"
9319
9319
  ], (e) => {
9320
- var { typed: t, add: n, subtract: r, multiply: i, divide: a, mapSlices: o, isNaN: s } = e, c = ki({
9320
+ var { typed: t, add: n, subtract: r, multiply: i, divide: a, mapSlices: o, isNaN: s } = e, c = Ei({
9321
9321
  typed: t,
9322
9322
  add: n,
9323
9323
  subtract: r,
@@ -9340,7 +9340,7 @@ var Sc = /* #__PURE__ */ z("max", [
9340
9340
  "zeros",
9341
9341
  "add"
9342
9342
  ], (e) => {
9343
- var { typed: t, matrix: n, zeros: r, add: i } = e, a = qr({
9343
+ var { typed: t, matrix: n, zeros: r, add: i } = e, a = Wr({
9344
9344
  typed: t,
9345
9345
  matrix: n,
9346
9346
  zeros: r,
@@ -9355,7 +9355,7 @@ var Sc = /* #__PURE__ */ z("max", [
9355
9355
  }
9356
9356
  });
9357
9357
  function o(e) {
9358
- return e.replace($n, (e) => "$" + e.slice(1).split(".").map(function(e) {
9358
+ return e.replace(Zn, (e) => "$" + e.slice(1).split(".").map(function(e) {
9359
9359
  return !isNaN(e) && e.length > 0 ? parseInt(e) - 1 : e;
9360
9360
  }).join("."));
9361
9361
  }
@@ -9368,7 +9368,7 @@ var Sc = /* #__PURE__ */ z("max", [
9368
9368
  "not",
9369
9369
  "concat"
9370
9370
  ], (e) => {
9371
- var { typed: t, matrix: n, equalScalar: r, zeros: i, not: a, concat: o } = e, s = ei({
9371
+ var { typed: t, matrix: n, equalScalar: r, zeros: i, not: a, concat: o } = e, s = Xr({
9372
9372
  typed: t,
9373
9373
  matrix: n,
9374
9374
  equalScalar: r,
@@ -9378,7 +9378,7 @@ var Sc = /* #__PURE__ */ z("max", [
9378
9378
  });
9379
9379
  function c(e, t, n) {
9380
9380
  var r = e[0].compile().evaluate(n);
9381
- return !li(r) && !s(r, !0) ? !1 : s(r, e[1].compile().evaluate(n));
9381
+ return !ha(r) && !s(r, !0) ? !1 : s(r, e[1].compile().evaluate(n));
9382
9382
  }
9383
9383
  return c.rawArgs = !0, c;
9384
9384
  }, { isTransformFunction: !0 }), Hc = /* #__PURE__ */ z("or", [
@@ -9388,7 +9388,7 @@ var Sc = /* #__PURE__ */ z("max", [
9388
9388
  "DenseMatrix",
9389
9389
  "concat"
9390
9390
  ], (e) => {
9391
- var { typed: t, matrix: n, equalScalar: r, DenseMatrix: i, concat: a } = e, o = hi({
9391
+ var { typed: t, matrix: n, equalScalar: r, DenseMatrix: i, concat: a } = e, o = d({
9392
9392
  typed: t,
9393
9393
  matrix: n,
9394
9394
  equalScalar: r,
@@ -9397,7 +9397,7 @@ var Sc = /* #__PURE__ */ z("max", [
9397
9397
  });
9398
9398
  function s(e, t, n) {
9399
9399
  var r = e[0].compile().evaluate(n);
9400
- return !li(r) && o(r, !1) ? !0 : o(r, e[1].compile().evaluate(n));
9400
+ return !ha(r) && o(r, !1) ? !0 : o(r, e[1].compile().evaluate(n));
9401
9401
  }
9402
9402
  return s.rawArgs = !0, s;
9403
9403
  }, { isTransformFunction: !0 }), Uc = /* #__PURE__ */ z("nullish", [
@@ -9407,7 +9407,7 @@ var Sc = /* #__PURE__ */ z("max", [
9407
9407
  "flatten",
9408
9408
  "deepEqual"
9409
9409
  ], (e) => {
9410
- var { typed: t, matrix: n, size: r, flatten: i, deepEqual: a } = e, o = ot({
9410
+ var { typed: t, matrix: n, size: r, flatten: i, deepEqual: a } = e, o = di({
9411
9411
  typed: t,
9412
9412
  matrix: n,
9413
9413
  size: r,
@@ -9416,7 +9416,7 @@ var Sc = /* #__PURE__ */ z("max", [
9416
9416
  });
9417
9417
  function s(e, t, n) {
9418
9418
  var r = e[0].compile().evaluate(n);
9419
- return !li(r) && r != null && r !== void 0 ? r : o(r, e[1].compile().evaluate(n));
9419
+ return !ha(r) && r != null && r !== void 0 ? r : o(r, e[1].compile().evaluate(n));
9420
9420
  }
9421
9421
  return s.rawArgs = !0, s;
9422
9422
  }, { isTransformFunction: !0 }), Wc = /* #__PURE__ */ z("bitAnd", [
@@ -9428,7 +9428,7 @@ var Sc = /* #__PURE__ */ z("max", [
9428
9428
  "not",
9429
9429
  "concat"
9430
9430
  ], (e) => {
9431
- var { typed: t, matrix: n, equalScalar: r, zeros: i, not: a, concat: o } = e, s = At({
9431
+ var { typed: t, matrix: n, equalScalar: r, zeros: i, not: a, concat: o } = e, s = pt({
9432
9432
  typed: t,
9433
9433
  matrix: n,
9434
9434
  equalScalar: r,
@@ -9438,7 +9438,7 @@ var Sc = /* #__PURE__ */ z("max", [
9438
9438
  });
9439
9439
  function c(e, t, n) {
9440
9440
  var r = e[0].compile().evaluate(n);
9441
- if (!li(r)) {
9441
+ if (!ha(r)) {
9442
9442
  if (isNaN(r)) return NaN;
9443
9443
  if (r === 0 || r === !1) return 0;
9444
9444
  }
@@ -9452,7 +9452,7 @@ var Sc = /* #__PURE__ */ z("max", [
9452
9452
  "DenseMatrix",
9453
9453
  "concat"
9454
9454
  ], (e) => {
9455
- var { typed: t, matrix: n, equalScalar: r, DenseMatrix: i, concat: a } = e, o = mt({
9455
+ var { typed: t, matrix: n, equalScalar: r, DenseMatrix: i, concat: a } = e, o = at({
9456
9456
  typed: t,
9457
9457
  matrix: n,
9458
9458
  equalScalar: r,
@@ -9461,7 +9461,7 @@ var Sc = /* #__PURE__ */ z("max", [
9461
9461
  });
9462
9462
  function s(e, t, n) {
9463
9463
  var r = e[0].compile().evaluate(n);
9464
- if (!li(r)) {
9464
+ if (!ha(r)) {
9465
9465
  if (isNaN(r)) return NaN;
9466
9466
  if (r === -1) return -1;
9467
9467
  if (r === !0) return 1;
@@ -9471,27 +9471,27 @@ var Sc = /* #__PURE__ */ z("max", [
9471
9471
  return s.rawArgs = !0, s;
9472
9472
  }, { isTransformFunction: !0 }), Kc = {}, qc = {}, Jc = {}, $ = So({ mathWithTransform: qc }), Yc = es({ Node: $ }), Xc = rs({ Node: $ }), Zc = as({ Node: $ }), Qc = ls({ Node: $ }), $c = Do({ Node: $ }), el = Lo({
9473
9473
  Node: $,
9474
- ResultSet: Et
9474
+ ResultSet: Tt
9475
9475
  }), tl = zo({ Node: $ }), nl = ss({ Node: $ }), rl = oc({ classes: Jc }), il = ws({
9476
9476
  math: Kc,
9477
- typed: H
9477
+ typed: U
9478
9478
  }), al = Xo({
9479
9479
  Node: $,
9480
- typed: H
9480
+ typed: U
9481
9481
  }), ol = Vs({
9482
9482
  Chain: il,
9483
- typed: H
9483
+ typed: U
9484
9484
  }), sl = Jo({
9485
9485
  Node: $,
9486
- isBounded: Xi
9486
+ isBounded: Ji
9487
9487
  }), cl = Qo({
9488
9488
  Node: $,
9489
- size: Qi
9489
+ size: Zi
9490
9490
  }), ll = To({
9491
9491
  Node: $,
9492
9492
  subset: c
9493
9493
  }), ul = Fo({
9494
- matrix: V,
9494
+ matrix: H,
9495
9495
  Node: $,
9496
9496
  subset: c
9497
9497
  }), dl = us({
@@ -9518,18 +9518,18 @@ var Sc = /* #__PURE__ */ z("max", [
9518
9518
  RangeNode: nl,
9519
9519
  RelationalNode: Qc,
9520
9520
  SymbolNode: dl,
9521
- config: la,
9522
- numeric: Pa,
9523
- typed: H
9521
+ config: We,
9522
+ numeric: Ma,
9523
+ typed: U
9524
9524
  }), ml = $s({
9525
9525
  ConstantNode: sl,
9526
9526
  FunctionNode: fl,
9527
9527
  OperatorNode: Xc,
9528
9528
  ParenthesisNode: Zc,
9529
9529
  parse: pl,
9530
- typed: H
9530
+ typed: U
9531
9531
  }), hl = Xs({
9532
- bignumber: Ri,
9532
+ bignumber: Ii,
9533
9533
  fraction: _o,
9534
9534
  AccessorNode: ll,
9535
9535
  ArrayNode: $c,
@@ -9539,17 +9539,17 @@ var Sc = /* #__PURE__ */ z("max", [
9539
9539
  ObjectNode: Yc,
9540
9540
  OperatorNode: Xc,
9541
9541
  SymbolNode: dl,
9542
- config: la,
9543
- isBounded: Xi,
9542
+ config: We,
9543
+ isBounded: Ji,
9544
9544
  mathWithTransform: qc,
9545
- matrix: V,
9546
- typed: H
9545
+ matrix: H,
9546
+ typed: U
9547
9547
  }), gl = gs({
9548
9548
  parse: pl,
9549
- typed: H
9549
+ typed: U
9550
9550
  }), _l = vs({
9551
9551
  parse: pl,
9552
- typed: H
9552
+ typed: U
9553
9553
  }), vl = Cs({ evaluate: _l }), yl = ys({
9554
9554
  evaluate: _l,
9555
9555
  parse: pl
@@ -9563,19 +9563,19 @@ var Sc = /* #__PURE__ */ z("max", [
9563
9563
  OperatorNode: Xc,
9564
9564
  ParenthesisNode: Zc,
9565
9565
  SymbolNode: dl,
9566
- add: B,
9567
- divide: vr,
9568
- equal: dr,
9569
- isZero: Li,
9566
+ add: V,
9567
+ divide: hr,
9568
+ equal: lr,
9569
+ isZero: Pi,
9570
9570
  multiply: a,
9571
9571
  parse: pl,
9572
9572
  pow: M,
9573
- subtract: fi,
9574
- typed: H
9573
+ subtract: ci,
9574
+ typed: U
9575
9575
  }), xl = zs({
9576
9576
  Help: vl,
9577
9577
  mathWithTransform: qc,
9578
- typed: H
9578
+ typed: U
9579
9579
  }), Sl = Ys({
9580
9580
  AccessorNode: ll,
9581
9581
  ArrayNode: $c,
@@ -9586,325 +9586,325 @@ var Sc = /* #__PURE__ */ z("max", [
9586
9586
  OperatorNode: Xc,
9587
9587
  ParenthesisNode: Zc,
9588
9588
  SymbolNode: dl,
9589
- equal: dr,
9589
+ equal: lr,
9590
9590
  parse: pl,
9591
9591
  replacer: go,
9592
9592
  resolve: ml,
9593
9593
  simplifyConstant: hl,
9594
9594
  simplifyCore: bl,
9595
- typed: H
9595
+ typed: U
9596
9596
  });
9597
- Mt(Kc, {
9598
- e: Fi,
9599
- false: Ce,
9600
- fineStructure: at,
9601
- i: Kn,
9597
+ ht(Kc, {
9598
+ e: Mi,
9599
+ false: be,
9600
+ fineStructure: it,
9601
+ i: Wn,
9602
9602
  Infinity: h,
9603
- LN10: vt,
9603
+ LN10: _t,
9604
9604
  LOG10E: s,
9605
- NaN: _n,
9606
- null: un,
9607
- phi: Gr,
9608
- SQRT1_2: ce,
9609
- sackurTetrode: Rn,
9610
- tau: Xe,
9611
- true: wn,
9612
- E: Fi,
9605
+ NaN: hn,
9606
+ null: cn,
9607
+ phi: Hr,
9608
+ SQRT1_2: se,
9609
+ sackurTetrode: Ln,
9610
+ tau: Je,
9611
+ true: Sn,
9612
+ E: Mi,
9613
9613
  version: t,
9614
- efimovFactor: $r,
9615
- LN2: vi,
9616
- pi: Zn,
9614
+ efimovFactor: Yr,
9615
+ LN2: hi,
9616
+ pi: Yn,
9617
9617
  replacer: go,
9618
9618
  reviver: rl,
9619
- SQRT2: Ae,
9620
- typed: H,
9621
- PI: Zn,
9622
- weakMixingAngle: Nr,
9623
- abs: ge,
9624
- acos: Ue,
9625
- acot: R,
9626
- acsc: An,
9619
+ SQRT2: De,
9620
+ typed: U,
9621
+ PI: Yn,
9622
+ weakMixingAngle: Ar,
9623
+ abs: me,
9624
+ acos: Be,
9625
+ acot: Ne,
9626
+ acsc: On,
9627
9627
  addScalar: e,
9628
- arg: Ma,
9629
- asech: va,
9630
- asinh: cr,
9631
- atan: Zi,
9632
- atanh: Sr,
9633
- bigint: ia,
9634
- bitNot: tr,
9628
+ arg: Aa,
9629
+ asech: ga,
9630
+ asinh: or,
9631
+ atan: Xi,
9632
+ atanh: yr,
9633
+ bigint: na,
9634
+ bitNot: er,
9635
9635
  boolean: k,
9636
- clone: Tt,
9636
+ clone: wt,
9637
9637
  combinations: m,
9638
- complex: he,
9638
+ complex: pe,
9639
9639
  conj: bo,
9640
- cos: Cn,
9641
- cot: gn,
9642
- csc: Fn,
9640
+ cos: xn,
9641
+ cot: mn,
9642
+ csc: Pn,
9643
9643
  cube: o,
9644
- equalScalar: ro,
9644
+ equalScalar: to,
9645
9645
  erf: T,
9646
- exp: Ya,
9646
+ exp: qa,
9647
9647
  expm1: re,
9648
- filter: mi,
9649
- flatten: de,
9650
- forEach: Qe,
9651
- format: Ut,
9652
- getMatrixDataType: En,
9653
- hex: zn,
9654
- im: Pr,
9655
- isBounded: Xi,
9656
- isNaN: Ai,
9657
- isNumeric: Dr,
9658
- isPrime: na,
9659
- LOG2E: di,
9660
- lgamma: Qt,
9661
- log10: Za,
9662
- log2: ae,
9663
- map: Fe,
9664
- mode: ua,
9665
- multiplyScalar: jr,
9666
- not: pa,
9667
- number: Di,
9668
- oct: wr,
9669
- pickRandom: Va,
9670
- print: bt,
9671
- random: Ot,
9672
- re: Ze,
9673
- sec: Gn,
9674
- sign: Na,
9675
- sin: Cr,
9676
- size: Qi,
9677
- splitUnit: to,
9678
- square: qa,
9679
- string: yi,
9680
- subtractScalar: rt,
9681
- tan: le,
9648
+ filter: ui,
9649
+ flatten: ue,
9650
+ forEach: Xe,
9651
+ format: Ht,
9652
+ getMatrixDataType: wn,
9653
+ hex: Rn,
9654
+ im: jr,
9655
+ isBounded: Ji,
9656
+ isNaN: Di,
9657
+ isNumeric: wr,
9658
+ isPrime: ta,
9659
+ LOG2E: si,
9660
+ lgamma: Xt,
9661
+ log10: Ya,
9662
+ log2: R,
9663
+ map: Me,
9664
+ mode: ca,
9665
+ multiplyScalar: Or,
9666
+ not: da,
9667
+ number: wi,
9668
+ oct: xr,
9669
+ pickRandom: za,
9670
+ print: yt,
9671
+ random: Dt,
9672
+ re: Ye,
9673
+ sec: Un,
9674
+ sign: ja,
9675
+ sin: br,
9676
+ size: Zi,
9677
+ splitUnit: $a,
9678
+ square: Ga,
9679
+ string: gi,
9680
+ subtractScalar: nt,
9681
+ tan: ce,
9682
9682
  toBest: g,
9683
- typeOf: dn,
9684
- acosh: aa,
9685
- acsch: Un,
9686
- asec: Gi,
9687
- bignumber: Ri,
9683
+ typeOf: ln,
9684
+ acosh: ra,
9685
+ acsch: Vn,
9686
+ asec: Ui,
9687
+ bignumber: Ii,
9688
9688
  chain: ol,
9689
- combinationsWithRep: _i,
9690
- cosh: ke,
9691
- csch: Yn,
9692
- dot: Fa,
9693
- hasNumericValue: ze,
9694
- isFinite: Ca,
9695
- isNegative: La,
9696
- isZero: Li,
9697
- matrix: V,
9689
+ combinationsWithRep: mi,
9690
+ cosh: Ee,
9691
+ csch: qn,
9692
+ dot: Na,
9693
+ hasNumericValue: Ie,
9694
+ isFinite: xa,
9695
+ isNegative: Fa,
9696
+ isZero: Pi,
9697
+ matrix: H,
9698
9698
  matrixFromFunction: b,
9699
9699
  multiply: a,
9700
- ones: Rr,
9701
- randomInt: ue,
9702
- resize: yn,
9703
- sech: Ft,
9704
- sinh: Lr,
9705
- sparse: so,
9706
- sqrt: Jt,
9707
- squeeze: nn,
9708
- tanh: je,
9709
- transpose: we,
9710
- xgcd: Hi,
9711
- zeros: si,
9712
- acoth: In,
9713
- asin: ui,
9714
- bin: ri,
9715
- coth: kn,
9716
- ctranspose: zt,
9717
- diag: ir,
9718
- equal: dr,
9700
+ ones: Fr,
9701
+ randomInt: le,
9702
+ resize: _n,
9703
+ sech: Pt,
9704
+ sinh: Pr,
9705
+ sparse: oo,
9706
+ sqrt: Kt,
9707
+ squeeze: en,
9708
+ tanh: Oe,
9709
+ transpose: xe,
9710
+ xgcd: Bi,
9711
+ zeros: ri,
9712
+ acoth: Fn,
9713
+ asin: oi,
9714
+ bin: $r,
9715
+ coth: Dn,
9716
+ ctranspose: Rt,
9717
+ diag: rr,
9718
+ equal: lr,
9719
9719
  fraction: _o,
9720
- identity: It,
9721
- isInteger: br,
9722
- kron: er,
9723
- mapSlices: et,
9720
+ identity: Ft,
9721
+ isInteger: _r,
9722
+ kron: Qn,
9723
+ mapSlices: Qe,
9724
9724
  matrixFromColumns: yo,
9725
- num: _r,
9725
+ num: mr,
9726
9726
  reshape: _,
9727
- round: Ge,
9728
- unaryMinus: _e,
9729
- bernoulli: Ur,
9730
- cbrt: ln,
9731
- concat: tt,
9732
- deepEqual: Oa,
9733
- dotMultiply: zr,
9734
- floor: Ne,
9735
- gcd: pn,
9736
- isPositive: Vr,
9737
- larger: Ua,
9738
- lcm: pr,
9739
- leftShift: ao,
9740
- mod: qe,
9741
- nthRoot: ai,
9742
- nullish: ba,
9743
- numeric: Pa,
9744
- prod: bi,
9745
- rightArithShift: Te,
9746
- smaller: Zr,
9747
- subtract: fi,
9727
+ round: He,
9728
+ unaryMinus: he,
9729
+ bernoulli: Br,
9730
+ cbrt: sn,
9731
+ concat: et,
9732
+ deepEqual: Ea,
9733
+ dotMultiply: Ir,
9734
+ floor: Ae,
9735
+ gcd: dn,
9736
+ isPositive: Rr,
9737
+ larger: Va,
9738
+ lcm: dr,
9739
+ leftShift: ro,
9740
+ mod: Ge,
9741
+ nthRoot: ti,
9742
+ nullish: va,
9743
+ numeric: Ma,
9744
+ prod: _i,
9745
+ rightArithShift: Se,
9746
+ smaller: qr,
9747
+ subtract: ci,
9748
9748
  to: ho,
9749
- unaryPlus: We,
9750
- xor: ha,
9751
- add: B,
9752
- atan2: Ta,
9753
- bitAnd: Xr,
9754
- bitOr: Ga,
9749
+ unaryPlus: Ve,
9750
+ xor: pa,
9751
+ add: V,
9752
+ atan2: Ca,
9753
+ bitAnd: Kr,
9754
+ bitOr: Ua,
9755
9755
  bitXor: po,
9756
- ceil: se,
9757
- compare: lt,
9758
- compareText: Nt,
9759
- composition: Ie,
9760
- count: da,
9761
- cross: Hn,
9762
- diff: Ji,
9763
- divideScalar: Oi,
9764
- equalText: Xt,
9765
- fix: kt,
9766
- hypot: Nn,
9767
- intersect: Ui,
9768
- invmod: or,
9756
+ ceil: oe,
9757
+ compare: ct,
9758
+ compareText: Mt,
9759
+ composition: B,
9760
+ count: la,
9761
+ cross: Bn,
9762
+ diff: Ki,
9763
+ divideScalar: Ti,
9764
+ equalText: Jt,
9765
+ fix: Ot,
9766
+ hypot: jn,
9767
+ intersect: Vi,
9768
+ invmod: ar,
9769
9769
  largerEq: uo,
9770
9770
  log: D,
9771
- lsolve: Ct,
9772
- matrixFromRows: Sn,
9773
- min: xe,
9774
- nthRoots: rr,
9775
- partitionSelect: Pi,
9776
- qr: pi,
9777
- rightLogShift: fn,
9778
- slu: Ni,
9771
+ lsolve: St,
9772
+ matrixFromRows: bn,
9773
+ min: ve,
9774
+ nthRoots: nr,
9775
+ partitionSelect: ji,
9776
+ qr: li,
9777
+ rightLogShift: un,
9778
+ slu: Ai,
9779
9779
  subset: c,
9780
- sum: dt,
9781
- trace: vn,
9782
- usolve: Ln,
9783
- zpk2tf: Yi,
9784
- catalan: $a,
9785
- compareNatural: _t,
9786
- cumsum: Mr,
9787
- det: ma,
9788
- dotDivide: Tr,
9789
- index: Aa,
9790
- inv: ga,
9791
- log1p: sn,
9792
- lsolveAll: Ci,
9793
- max: Oe,
9794
- or: $i,
9795
- pinv: co,
9780
+ sum: ut,
9781
+ trace: gn,
9782
+ usolve: In,
9783
+ zpk2tf: qi,
9784
+ catalan: Za,
9785
+ compareNatural: gt,
9786
+ cumsum: kr,
9787
+ det: fa,
9788
+ dotDivide: Sr,
9789
+ index: Oa,
9790
+ inv: ma,
9791
+ log1p: an,
9792
+ lsolveAll: bi,
9793
+ max: Te,
9794
+ or: Qi,
9795
+ pinv: so,
9796
9796
  pow: M,
9797
- setCartesian: Ar,
9798
- setDistinct: zi,
9799
- setIsSubset: ii,
9800
- setPowerset: Ki,
9801
- smallerEq: Wr,
9802
- sort: Ba,
9797
+ setCartesian: Dr,
9798
+ setDistinct: Li,
9799
+ setIsSubset: ei,
9800
+ setPowerset: Wi,
9801
+ smallerEq: Vr,
9802
+ sort: Ra,
9803
9803
  sqrtm: C,
9804
- unequal: oa,
9805
- usolveAll: jn,
9806
- and: Ir,
9807
- den: Vi,
9808
- distance: xa,
9809
- dotPow: ea,
9810
- expm: an,
9804
+ unequal: ia,
9805
+ usolveAll: kn,
9806
+ and: Nr,
9807
+ den: zi,
9808
+ distance: ya,
9809
+ dotPow: $i,
9810
+ expm: nn,
9811
9811
  fft: u,
9812
- gamma: bn,
9812
+ gamma: vn,
9813
9813
  ifft: r,
9814
9814
  lup: f,
9815
- range: Me,
9816
- row: sa,
9817
- setDifference: Ea,
9818
- setMultiplicity: nr,
9819
- setSymDifference: gr,
9820
- vacuumImpedance: Wn,
9821
- wienDisplacement: ka,
9822
- atomicMass: Mi,
9823
- bohrMagneton: hr,
9824
- boltzmann: en,
9825
- column: Ti,
9826
- conductanceQuantum: Kt,
9827
- coulomb: Se,
9828
- createUnit: He,
9829
- deuteronMass: oi,
9830
- eigs: Kr,
9831
- electronMass: Ha,
9815
+ range: ke,
9816
+ row: aa,
9817
+ setDifference: wa,
9818
+ setMultiplicity: tr,
9819
+ setSymDifference: pr,
9820
+ vacuumImpedance: Hn,
9821
+ wienDisplacement: Da,
9822
+ atomicMass: ki,
9823
+ bohrMagneton: fr,
9824
+ boltzmann: Qt,
9825
+ column: Si,
9826
+ conductanceQuantum: Wt,
9827
+ coulomb: ye,
9828
+ createUnit: ze,
9829
+ deuteronMass: ni,
9830
+ eigs: Ur,
9831
+ electronMass: Ba,
9832
9832
  factorial: N,
9833
- fermiCoupling: xi,
9834
- gasConstant: Ee,
9835
- gravity: Ke,
9836
- klitzing: Jr,
9833
+ fermiCoupling: vi,
9834
+ gasConstant: Ce,
9835
+ gravity: Ue,
9836
+ klitzing: Gr,
9837
9837
  loschmidt: F,
9838
- magneticConstant: jt,
9839
- molarMass: Ve,
9840
- molarPlanckConstant: Pn,
9841
- neutronMass: Da,
9842
- nuclearMagneton: qi,
9843
- permutations: Qr,
9844
- planckConstant: no,
9838
+ magneticConstant: At,
9839
+ molarMass: Re,
9840
+ molarPlanckConstant: Nn,
9841
+ neutronMass: Ta,
9842
+ nuclearMagneton: Gi,
9843
+ permutations: Jr,
9844
+ planckConstant: eo,
9845
9845
  planckMass: w,
9846
- planckTime: rn,
9846
+ planckTime: tn,
9847
9847
  protonMass: l,
9848
- quantumOfCirculation: ft,
9849
- reducedPlanckConstant: Ht,
9848
+ quantumOfCirculation: dt,
9849
+ reducedPlanckConstant: Vt,
9850
9850
  secondRadiation: n,
9851
- setSize: ya,
9852
- speedOfLight: lr,
9851
+ setSize: _a,
9852
+ speedOfLight: sr,
9853
9853
  stefanBoltzmann: j,
9854
- thomsonCrossSection: Vt,
9855
- avogadro: za,
9856
- bohrRadius: oo,
9857
- coulombConstant: Je,
9858
- divide: vr,
9859
- elementaryCharge: lo,
9860
- faraday: xt,
9854
+ thomsonCrossSection: Bt,
9855
+ avogadro: La,
9856
+ bohrRadius: ao,
9857
+ coulombConstant: Ke,
9858
+ divide: hr,
9859
+ elementaryCharge: co,
9860
+ faraday: bt,
9861
9861
  freqz: v,
9862
- gravitationConstant: ye,
9863
- inverseConductanceQuantum: ci,
9864
- lusolve: gi,
9865
- magneticFluxQuantum: pe,
9866
- molarMassC12: Vn,
9867
- multinomial: Rt,
9868
- planckCharge: ur,
9869
- planckTemperature: Ja,
9870
- quantileSeq: it,
9871
- rydberg: Re,
9872
- setIntersect: fa,
9873
- solveODE: Xn,
9874
- stirlingS2: yt,
9875
- unit: Le,
9876
- bellNumbers: kr,
9877
- electricConstant: Qn,
9878
- firstRadiation: pt,
9879
- hartreeEnergy: ca,
9880
- kldivergence: ti,
9881
- mean: hn,
9882
- molarVolume: Jn,
9883
- planckLength: Yt,
9884
- setUnion: Ei,
9885
- variance: Pt,
9886
- classicalElectronRadius: I,
9862
+ gravitationConstant: _e,
9863
+ inverseConductanceQuantum: ii,
9864
+ lusolve: fi,
9865
+ magneticFluxQuantum: fe,
9866
+ molarMassC12: zn,
9867
+ multinomial: Lt,
9868
+ planckCharge: cr,
9869
+ planckTemperature: Ka,
9870
+ quantileSeq: rt,
9871
+ rydberg: Fe,
9872
+ setIntersect: ua,
9873
+ solveODE: Jn,
9874
+ stirlingS2: vt,
9875
+ unit: Pe,
9876
+ bellNumbers: Er,
9877
+ electricConstant: Xn,
9878
+ firstRadiation: ft,
9879
+ hartreeEnergy: oa,
9880
+ kldivergence: Zr,
9881
+ mean: pn,
9882
+ molarVolume: Kn,
9883
+ planckLength: qt,
9884
+ setUnion: Ci,
9885
+ variance: Nt,
9886
+ classicalElectronRadius: ee,
9887
9887
  corr: x,
9888
- median: On,
9888
+ median: En,
9889
9889
  parse: pl,
9890
- polynomialRoot: L,
9890
+ polynomialRoot: ne,
9891
9891
  resolve: ml,
9892
9892
  simplifyConstant: hl,
9893
- std: ne,
9894
- zeta: ar,
9893
+ std: L,
9894
+ zeta: ir,
9895
9895
  compile: gl,
9896
9896
  evaluate: _l,
9897
- mad: ht,
9897
+ mad: mt,
9898
9898
  simplifyCore: bl,
9899
9899
  help: xl,
9900
- norm: Bi,
9901
- rotationMatrix: ve,
9900
+ norm: Ri,
9901
+ rotationMatrix: ge,
9902
9902
  simplify: Sl,
9903
9903
  symbolicEqual: tc({
9904
9904
  OperatorNode: Xc,
9905
9905
  parse: pl,
9906
9906
  simplify: Sl,
9907
- typed: H
9907
+ typed: U
9908
9908
  }),
9909
9909
  derivative: rc({
9910
9910
  ConstantNode: sl,
@@ -9912,25 +9912,25 @@ Mt(Kc, {
9912
9912
  OperatorNode: Xc,
9913
9913
  ParenthesisNode: Zc,
9914
9914
  SymbolNode: dl,
9915
- config: la,
9916
- equal: dr,
9917
- isZero: Li,
9918
- numeric: Pa,
9915
+ config: We,
9916
+ equal: lr,
9917
+ isZero: Pi,
9918
+ numeric: Ma,
9919
9919
  parse: pl,
9920
9920
  simplify: Sl,
9921
- typed: H
9921
+ typed: U
9922
9922
  }),
9923
9923
  parser: Ss({
9924
9924
  Parser: yl,
9925
- typed: H
9925
+ typed: U
9926
9926
  }),
9927
- rotate: Tn,
9927
+ rotate: Cn,
9928
9928
  leafCount: Us({
9929
9929
  parse: pl,
9930
- typed: H
9930
+ typed: U
9931
9931
  }),
9932
9932
  rationalize: ac({
9933
- bignumber: Ri,
9933
+ bignumber: Ii,
9934
9934
  fraction: _o,
9935
9935
  AccessorNode: ll,
9936
9936
  ArrayNode: $c,
@@ -9941,199 +9941,199 @@ Mt(Kc, {
9941
9941
  OperatorNode: Xc,
9942
9942
  ParenthesisNode: Zc,
9943
9943
  SymbolNode: dl,
9944
- add: B,
9945
- config: la,
9946
- divide: vr,
9947
- equal: dr,
9948
- isZero: Li,
9944
+ add: V,
9945
+ config: We,
9946
+ divide: hr,
9947
+ equal: lr,
9948
+ isZero: Pi,
9949
9949
  mathWithTransform: qc,
9950
- matrix: V,
9950
+ matrix: H,
9951
9951
  multiply: a,
9952
9952
  parse: pl,
9953
9953
  pow: M,
9954
9954
  simplify: Sl,
9955
9955
  simplifyConstant: hl,
9956
9956
  simplifyCore: bl,
9957
- subtract: fi,
9958
- typed: H
9957
+ subtract: ci,
9958
+ typed: U
9959
9959
  }),
9960
- schur: Mn,
9961
- sylvester: Dt,
9962
- lyap: st,
9963
- config: la
9964
- }), Mt(qc, Kc, {
9965
- map: vc({ typed: H }),
9966
- filter: hc({ typed: H }),
9967
- forEach: gc({ typed: H }),
9960
+ schur: An,
9961
+ sylvester: Et,
9962
+ lyap: ot,
9963
+ config: We
9964
+ }), ht(qc, Kc, {
9965
+ map: vc({ typed: U }),
9966
+ filter: hc({ typed: U }),
9967
+ forEach: gc({ typed: U }),
9968
9968
  mapSlices: lc({
9969
- isInteger: br,
9970
- typed: H
9969
+ isInteger: _r,
9970
+ typed: U
9971
9971
  }),
9972
9972
  or: Hc({
9973
9973
  DenseMatrix: S,
9974
- concat: tt,
9975
- equalScalar: ro,
9976
- matrix: V,
9977
- typed: H
9974
+ concat: et,
9975
+ equalScalar: to,
9976
+ matrix: H,
9977
+ typed: U
9978
9978
  }),
9979
9979
  and: Vc({
9980
- add: B,
9981
- concat: tt,
9982
- equalScalar: ro,
9983
- matrix: V,
9984
- not: pa,
9985
- typed: H,
9986
- zeros: si
9980
+ add: V,
9981
+ concat: et,
9982
+ equalScalar: to,
9983
+ matrix: H,
9984
+ not: da,
9985
+ typed: U,
9986
+ zeros: ri
9987
9987
  }),
9988
9988
  cumsum: Ic({
9989
- add: B,
9990
- typed: H,
9991
- unaryPlus: We
9989
+ add: V,
9990
+ typed: U,
9991
+ unaryPlus: Ve
9992
9992
  }),
9993
9993
  max: Sc({
9994
- config: la,
9995
- isNaN: Ai,
9996
- larger: Ua,
9997
- numeric: Pa,
9998
- typed: H
9994
+ config: We,
9995
+ isNaN: Di,
9996
+ larger: Va,
9997
+ numeric: Ma,
9998
+ typed: U
9999
9999
  }),
10000
10000
  nullish: Uc({
10001
- deepEqual: Oa,
10002
- flatten: de,
10003
- matrix: V,
10004
- size: Qi,
10005
- typed: H
10001
+ deepEqual: Ea,
10002
+ flatten: ue,
10003
+ matrix: H,
10004
+ size: Zi,
10005
+ typed: U
10006
10006
  }),
10007
10007
  print: Bc({
10008
- add: B,
10009
- matrix: V,
10010
- typed: H,
10011
- zeros: si
10008
+ add: V,
10009
+ matrix: H,
10010
+ typed: U,
10011
+ zeros: ri
10012
10012
  }),
10013
10013
  bitAnd: Wc({
10014
- add: B,
10015
- concat: tt,
10016
- equalScalar: ro,
10017
- matrix: V,
10018
- not: pa,
10019
- typed: H,
10020
- zeros: si
10014
+ add: V,
10015
+ concat: et,
10016
+ equalScalar: to,
10017
+ matrix: H,
10018
+ not: da,
10019
+ typed: U,
10020
+ zeros: ri
10021
10021
  }),
10022
10022
  concat: Oc({
10023
- isInteger: br,
10024
- matrix: V,
10025
- typed: H
10023
+ isInteger: _r,
10024
+ matrix: H,
10025
+ typed: U
10026
10026
  }),
10027
10027
  diff: Ac({
10028
- bignumber: Ri,
10029
- matrix: V,
10030
- number: Di,
10031
- subtract: fi,
10032
- typed: H
10028
+ bignumber: Ii,
10029
+ matrix: H,
10030
+ number: wi,
10031
+ subtract: ci,
10032
+ typed: U
10033
10033
  }),
10034
10034
  min: wc({
10035
- config: la,
10036
- isNaN: Ai,
10037
- numeric: Pa,
10038
- smaller: Zr,
10039
- typed: H
10035
+ config: We,
10036
+ isNaN: Di,
10037
+ numeric: Ma,
10038
+ smaller: qr,
10039
+ typed: U
10040
10040
  }),
10041
10041
  subset: Dc({
10042
- add: B,
10043
- matrix: V,
10044
- typed: H,
10045
- zeros: si
10042
+ add: V,
10043
+ matrix: H,
10044
+ typed: U,
10045
+ zeros: ri
10046
10046
  }),
10047
10047
  bitOr: Gc({
10048
10048
  DenseMatrix: S,
10049
- concat: tt,
10050
- equalScalar: ro,
10051
- matrix: V,
10052
- typed: H
10049
+ concat: et,
10050
+ equalScalar: to,
10051
+ matrix: H,
10052
+ typed: U
10053
10053
  }),
10054
10054
  sum: Nc({
10055
- add: B,
10056
- config: la,
10057
- numeric: Pa,
10058
- typed: H
10055
+ add: V,
10056
+ config: We,
10057
+ numeric: Ma,
10058
+ typed: U
10059
10059
  }),
10060
10060
  index: _c({
10061
10061
  Index: A,
10062
- getMatrixDataType: En
10062
+ getMatrixDataType: wn
10063
10063
  }),
10064
10064
  row: Ec({
10065
10065
  Index: A,
10066
- matrix: V,
10067
- range: Me,
10068
- typed: H
10066
+ matrix: H,
10067
+ range: ke,
10068
+ typed: U
10069
10069
  }),
10070
10070
  column: uc({
10071
10071
  Index: A,
10072
- matrix: V,
10073
- range: Me,
10074
- typed: H
10072
+ matrix: H,
10073
+ range: ke,
10074
+ typed: U
10075
10075
  }),
10076
10076
  mean: Cc({
10077
- add: B,
10078
- divide: vr,
10079
- typed: H
10077
+ add: V,
10078
+ divide: hr,
10079
+ typed: U
10080
10080
  }),
10081
10081
  range: Tc({
10082
- bignumber: Ri,
10083
- matrix: V,
10084
- add: B,
10085
- config: la,
10086
- equal: dr,
10087
- isPositive: Vr,
10088
- isZero: Li,
10089
- larger: Ua,
10082
+ bignumber: Ii,
10083
+ matrix: H,
10084
+ add: V,
10085
+ config: We,
10086
+ equal: lr,
10087
+ isPositive: Rr,
10088
+ isZero: Pi,
10089
+ larger: Va,
10090
10090
  largerEq: uo,
10091
- smaller: Zr,
10092
- smallerEq: Wr,
10093
- typed: H
10091
+ smaller: qr,
10092
+ smallerEq: Vr,
10093
+ typed: U
10094
10094
  }),
10095
10095
  variance: Rc({
10096
- add: B,
10097
- divide: vr,
10098
- isNaN: Ai,
10099
- mapSlices: et,
10096
+ add: V,
10097
+ divide: hr,
10098
+ isNaN: Di,
10099
+ mapSlices: Qe,
10100
10100
  multiply: a,
10101
- subtract: fi,
10102
- typed: H
10101
+ subtract: ci,
10102
+ typed: U
10103
10103
  }),
10104
10104
  quantileSeq: Pc({
10105
- add: B,
10106
- bignumber: Ri,
10107
- compare: lt,
10108
- divide: vr,
10109
- isInteger: br,
10110
- larger: Ua,
10111
- mapSlices: et,
10105
+ add: V,
10106
+ bignumber: Ii,
10107
+ compare: ct,
10108
+ divide: hr,
10109
+ isInteger: _r,
10110
+ larger: Va,
10111
+ mapSlices: Qe,
10112
10112
  multiply: a,
10113
- partitionSelect: Pi,
10114
- smaller: Zr,
10115
- smallerEq: Wr,
10116
- subtract: fi,
10117
- typed: H
10113
+ partitionSelect: ji,
10114
+ smaller: qr,
10115
+ smallerEq: Vr,
10116
+ subtract: ci,
10117
+ typed: U
10118
10118
  }),
10119
10119
  std: jc({
10120
- map: Fe,
10121
- sqrt: Jt,
10122
- typed: H,
10123
- variance: Pt
10120
+ map: Me,
10121
+ sqrt: Kt,
10122
+ typed: U,
10123
+ variance: Nt
10124
10124
  })
10125
- }), Mt(Jc, {
10126
- BigNumber: eo,
10127
- Complex: qt,
10128
- Fraction: tn,
10129
- Matrix: nt,
10125
+ }), ht(Jc, {
10126
+ BigNumber: Qa,
10127
+ Complex: Gt,
10128
+ Fraction: $t,
10129
+ Matrix: tt,
10130
10130
  Node: $,
10131
10131
  ObjectNode: Yc,
10132
10132
  OperatorNode: Xc,
10133
10133
  ParenthesisNode: Zc,
10134
- Range: ut,
10134
+ Range: lt,
10135
10135
  RelationalNode: Qc,
10136
- ResultSet: Et,
10136
+ ResultSet: Tt,
10137
10137
  ArrayNode: $c,
10138
10138
  BlockNode: el,
10139
10139
  ConditionalNode: tl,
@@ -10141,13 +10141,13 @@ Mt(Kc, {
10141
10141
  RangeNode: nl,
10142
10142
  Chain: il,
10143
10143
  FunctionAssignmentNode: al,
10144
- SparseMatrix: Bt,
10144
+ SparseMatrix: zt,
10145
10145
  ConstantNode: sl,
10146
10146
  IndexNode: cl,
10147
- FibonacciHeap: Ka,
10147
+ FibonacciHeap: Wa,
10148
10148
  ImmutableDenseMatrix: te,
10149
10149
  Index: A,
10150
- Spa: Ye,
10150
+ Spa: qe,
10151
10151
  AccessorNode: ll,
10152
10152
  AssignmentNode: ul,
10153
10153
  Unit: mo,
@@ -10159,4 +10159,4 @@ Mt(Kc, {
10159
10159
  //#endregion
10160
10160
  export { _l as t };
10161
10161
 
10162
- //# sourceMappingURL=impureFunctionsAny.generated-Bqfato71.js.map
10162
+ //# sourceMappingURL=impureFunctionsAny.generated-oSB8bQ6J.js.map