js-gei 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/js-gei.es.js CHANGED
@@ -939,13 +939,13 @@ let Qh = {};
939
939
  function No() {
940
940
  return Qh;
941
941
  }
942
- function ai(r, e) {
942
+ function ii(r, e) {
943
943
  var l, u, s, c;
944
944
  const t = No(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((u = (l = e == null ? void 0 : e.locale) == null ? void 0 : l.options) == null ? void 0 : u.weekStartsOn) ?? t.weekStartsOn ?? ((c = (s = t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? 0, a = Yt(r, e == null ? void 0 : e.in), i = a.getDay(), o = (i < n ? 7 : 0) + i - n;
945
945
  return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
946
946
  }
947
947
  function Zi(r, e) {
948
- return ai(r, { ...e, weekStartsOn: 1 });
948
+ return ii(r, { ...e, weekStartsOn: 1 });
949
949
  }
950
950
  function Av(r, e) {
951
951
  const t = Yt(r, e == null ? void 0 : e.in), n = t.getFullYear(), a = Cn(t, 0);
@@ -1111,7 +1111,7 @@ const sg = {
1111
1111
  nextWeek: "eeee 'at' p",
1112
1112
  other: "P"
1113
1113
  }, mg = (r, e, t, n) => fg[r];
1114
- function ja(r) {
1114
+ function Xa(r) {
1115
1115
  return (e, t) => {
1116
1116
  const n = t != null && t.context ? String(t.context) : "standalone";
1117
1117
  let a;
@@ -1253,31 +1253,31 @@ const vg = {
1253
1253
  return t + "th";
1254
1254
  }, wg = {
1255
1255
  ordinalNumber: bg,
1256
- era: ja({
1256
+ era: Xa({
1257
1257
  values: vg,
1258
1258
  defaultWidth: "wide"
1259
1259
  }),
1260
- quarter: ja({
1260
+ quarter: Xa({
1261
1261
  values: pg,
1262
1262
  defaultWidth: "wide",
1263
1263
  argumentCallback: (r) => r - 1
1264
1264
  }),
1265
- month: ja({
1265
+ month: Xa({
1266
1266
  values: dg,
1267
1267
  defaultWidth: "wide"
1268
1268
  }),
1269
- day: ja({
1269
+ day: Xa({
1270
1270
  values: hg,
1271
1271
  defaultWidth: "wide"
1272
1272
  }),
1273
- dayPeriod: ja({
1273
+ dayPeriod: Xa({
1274
1274
  values: gg,
1275
1275
  defaultWidth: "wide",
1276
1276
  formattingValues: yg,
1277
1277
  defaultFormattingWidth: "wide"
1278
1278
  })
1279
1279
  };
1280
- function Xa(r) {
1280
+ function Qa(r) {
1281
1281
  return (e, t = {}) => {
1282
1282
  const n = t.width, a = n && r.matchPatterns[n] || r.matchPatterns[r.defaultMatchWidth], i = e.match(a);
1283
1283
  if (!i)
@@ -1390,32 +1390,32 @@ const Eg = /^(\d+)(th|st|nd|rd)?/i, Ag = /\d+/i, Sg = {
1390
1390
  parsePattern: Ag,
1391
1391
  valueCallback: (r) => parseInt(r, 10)
1392
1392
  }),
1393
- era: Xa({
1393
+ era: Qa({
1394
1394
  matchPatterns: Sg,
1395
1395
  defaultMatchWidth: "wide",
1396
1396
  parsePatterns: Cg,
1397
1397
  defaultParseWidth: "any"
1398
1398
  }),
1399
- quarter: Xa({
1399
+ quarter: Qa({
1400
1400
  matchPatterns: Mg,
1401
1401
  defaultMatchWidth: "wide",
1402
1402
  parsePatterns: _g,
1403
1403
  defaultParseWidth: "any",
1404
1404
  valueCallback: (r) => r + 1
1405
1405
  }),
1406
- month: Xa({
1406
+ month: Qa({
1407
1407
  matchPatterns: Tg,
1408
1408
  defaultMatchWidth: "wide",
1409
1409
  parsePatterns: Fg,
1410
1410
  defaultParseWidth: "any"
1411
1411
  }),
1412
- day: Xa({
1412
+ day: Qa({
1413
1413
  matchPatterns: Og,
1414
1414
  defaultMatchWidth: "wide",
1415
1415
  parsePatterns: Bg,
1416
1416
  defaultParseWidth: "any"
1417
1417
  }),
1418
- dayPeriod: Xa({
1418
+ dayPeriod: Qa({
1419
1419
  matchPatterns: Rg,
1420
1420
  defaultMatchWidth: "any",
1421
1421
  parsePatterns: Ig,
@@ -1445,18 +1445,18 @@ function Sv(r, e) {
1445
1445
  var c, f, m, v;
1446
1446
  const t = Yt(r, e == null ? void 0 : e.in), n = t.getFullYear(), a = No(), i = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((f = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((v = (m = a.locale) == null ? void 0 : m.options) == null ? void 0 : v.firstWeekContainsDate) ?? 1, o = Cn((e == null ? void 0 : e.in) || r, 0);
1447
1447
  o.setFullYear(n + 1, 0, i), o.setHours(0, 0, 0, 0);
1448
- const l = ai(o, e), u = Cn((e == null ? void 0 : e.in) || r, 0);
1448
+ const l = ii(o, e), u = Cn((e == null ? void 0 : e.in) || r, 0);
1449
1449
  u.setFullYear(n, 0, i), u.setHours(0, 0, 0, 0);
1450
- const s = ai(u, e);
1450
+ const s = ii(u, e);
1451
1451
  return +t >= +l ? n + 1 : +t >= +s ? n : n - 1;
1452
1452
  }
1453
1453
  function Lg(r, e) {
1454
1454
  var l, u, s, c;
1455
1455
  const t = No(), n = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((u = (l = e == null ? void 0 : e.locale) == null ? void 0 : l.options) == null ? void 0 : u.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((c = (s = t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, a = Sv(r, e), i = Cn((e == null ? void 0 : e.in) || r, 0);
1456
- return i.setFullYear(a, 0, n), i.setHours(0, 0, 0, 0), ai(i, e);
1456
+ return i.setFullYear(a, 0, n), i.setHours(0, 0, 0, 0), ii(i, e);
1457
1457
  }
1458
1458
  function Ug(r, e) {
1459
- const t = Yt(r, e == null ? void 0 : e.in), n = +ai(t, e) - +Lg(t, e);
1459
+ const t = Yt(r, e == null ? void 0 : e.in), n = +ii(t, e) - +Lg(t, e);
1460
1460
  return Math.round(n / Ev) + 1;
1461
1461
  }
1462
1462
  function Er(r, e) {
@@ -2545,12 +2545,12 @@ function Fv(r, e) {
2545
2545
  }
2546
2546
  };
2547
2547
  }
2548
- function ii() {
2548
+ function oi() {
2549
2549
  return /* @__PURE__ */ new Map();
2550
2550
  }
2551
2551
  function Na(r) {
2552
2552
  if (!r)
2553
- return ii();
2553
+ return oi();
2554
2554
  if (Rv(r))
2555
2555
  return r;
2556
2556
  if (So(r))
@@ -2573,13 +2573,13 @@ function Ye(r) {
2573
2573
  function or(r) {
2574
2574
  return !r || typeof r != "object" || typeof r.constructor != "function" ? !1 : r.isBigNumber === !0 && typeof r.constructor.prototype == "object" && r.constructor.prototype.isBigNumber === !0 || typeof r.constructor.isDecimal == "function" && r.constructor.isDecimal(r) === !0;
2575
2575
  }
2576
- function ti(r) {
2576
+ function ni(r) {
2577
2577
  return typeof r == "bigint";
2578
2578
  }
2579
2579
  function vn(r) {
2580
2580
  return r && typeof r == "object" && Object.getPrototypeOf(r).isComplex === !0 || !1;
2581
2581
  }
2582
- function ci(r) {
2582
+ function fi(r) {
2583
2583
  return r && typeof r == "object" && Object.getPrototypeOf(r).isFraction === !0 || !1;
2584
2584
  }
2585
2585
  function Mt(r) {
@@ -2626,7 +2626,7 @@ function w0(r) {
2626
2626
  return r instanceof RegExp;
2627
2627
  }
2628
2628
  function So(r) {
2629
- return !!(r && typeof r == "object" && r.constructor === Object && !vn(r) && !ci(r));
2629
+ return !!(r && typeof r == "object" && r.constructor === Object && !vn(r) && !fi(r));
2630
2630
  }
2631
2631
  function Rv(r) {
2632
2632
  return r ? r instanceof Map || r instanceof Eo || typeof r.set == "function" && typeof r.get == "function" && typeof r.keys == "function" && typeof r.has == "function" : !1;
@@ -2658,7 +2658,7 @@ function gr(r) {
2658
2658
  function us(r) {
2659
2659
  return gr(r) || Lr(r) && r.args.length === 1 && gr(r.args[0]) && "-+~".includes(r.op);
2660
2660
  }
2661
- function fi(r) {
2661
+ function mi(r) {
2662
2662
  return r && r.isFunctionAssignmentNode === !0 && r.constructor.prototype.isNode === !0 || !1;
2663
2663
  }
2664
2664
  function Mn(r) {
@@ -3450,17 +3450,17 @@ function $v() {
3450
3450
  const lr = ye[0] && ye[0].params.length <= 2 && !g(ye[0].params), dr = ye[1] && ye[1].params.length <= 2 && !g(ye[1].params), ar = ye[2] && ye[2].params.length <= 2 && !g(ye[2].params), _r = ye[3] && ye[3].params.length <= 2 && !g(ye[3].params), T = ye[4] && ye[4].params.length <= 2 && !g(ye[4].params), K = ye[5] && ye[5].params.length <= 2 && !g(ye[5].params), de = lr && dr && ar && _r && T && K;
3451
3451
  for (let Pe = 0; Pe < ye.length; ++Pe)
3452
3452
  ye[Pe].test = A(ye[Pe].params);
3453
- const Se = lr ? b(ye[0].params[0]) : Bt, qe = dr ? b(ye[1].params[0]) : Bt, Xe = ar ? b(ye[2].params[0]) : Bt, jr = _r ? b(ye[3].params[0]) : Bt, St = T ? b(ye[4].params[0]) : Bt, Wa = K ? b(ye[5].params[0]) : Bt, Ya = lr ? b(ye[0].params[1]) : Bt, Ni = dr ? b(ye[1].params[1]) : Bt, Za = ar ? b(ye[2].params[1]) : Bt, en = _r ? b(ye[3].params[1]) : Bt, la = T ? b(ye[4].params[1]) : Bt, ca = K ? b(ye[5].params[1]) : Bt;
3453
+ const Se = lr ? b(ye[0].params[0]) : Bt, qe = dr ? b(ye[1].params[0]) : Bt, Xe = ar ? b(ye[2].params[0]) : Bt, jr = _r ? b(ye[3].params[0]) : Bt, St = T ? b(ye[4].params[0]) : Bt, Ya = K ? b(ye[5].params[0]) : Bt, Za = lr ? b(ye[0].params[1]) : Bt, Ni = dr ? b(ye[1].params[1]) : Bt, Ja = ar ? b(ye[2].params[1]) : Bt, en = _r ? b(ye[3].params[1]) : Bt, la = T ? b(ye[4].params[1]) : Bt, ca = K ? b(ye[5].params[1]) : Bt;
3454
3454
  for (let Pe = 0; Pe < ye.length; ++Pe)
3455
3455
  ye[Pe].implementation = V(ye[Pe].params, ye[Pe].fn);
3456
- const Yo = lr ? ye[0].implementation : ma, Ja = dr ? ye[1].implementation : ma, Zo = ar ? ye[2].implementation : ma, zr = _r ? ye[3].implementation : ma, B = T ? ye[4].implementation : ma, Z = K ? ye[5].implementation : ma, te = lr ? ye[0].params.length : -1, ae = dr ? ye[1].params.length : -1, ce = ar ? ye[2].params.length : -1, fe = _r ? ye[3].params.length : -1, ge = T ? ye[4].params.length : -1, Ae = K ? ye[5].params.length : -1, Ee = de ? 6 : 0, Fe = ye.length, Re = ye.map((Pe) => Pe.test), pr = ye.map((Pe) => Pe.implementation), Ve = function() {
3456
+ const Yo = lr ? ye[0].implementation : ma, ja = dr ? ye[1].implementation : ma, Zo = ar ? ye[2].implementation : ma, zr = _r ? ye[3].implementation : ma, B = T ? ye[4].implementation : ma, Z = K ? ye[5].implementation : ma, te = lr ? ye[0].params.length : -1, ae = dr ? ye[1].params.length : -1, ce = ar ? ye[2].params.length : -1, fe = _r ? ye[3].params.length : -1, ge = T ? ye[4].params.length : -1, Ae = K ? ye[5].params.length : -1, Ee = de ? 6 : 0, Fe = ye.length, Re = ye.map((Pe) => Pe.test), pr = ye.map((Pe) => Pe.implementation), Ve = function() {
3457
3457
  for (let cr = Ee; cr < Fe; cr++)
3458
3458
  if (Re[cr](arguments))
3459
3459
  return pr[cr].apply(this, arguments);
3460
3460
  return o.onMismatch(R, arguments, ye);
3461
3461
  };
3462
3462
  function je(Pe, cr) {
3463
- return arguments.length === te && Se(Pe) && Ya(cr) ? Yo.apply(this, arguments) : arguments.length === ae && qe(Pe) && Ni(cr) ? Ja.apply(this, arguments) : arguments.length === ce && Xe(Pe) && Za(cr) ? Zo.apply(this, arguments) : arguments.length === fe && jr(Pe) && en(cr) ? zr.apply(this, arguments) : arguments.length === ge && St(Pe) && la(cr) ? B.apply(this, arguments) : arguments.length === Ae && Wa(Pe) && ca(cr) ? Z.apply(this, arguments) : Ve.apply(this, arguments);
3463
+ return arguments.length === te && Se(Pe) && Za(cr) ? Yo.apply(this, arguments) : arguments.length === ae && qe(Pe) && Ni(cr) ? ja.apply(this, arguments) : arguments.length === ce && Xe(Pe) && Ja(cr) ? Zo.apply(this, arguments) : arguments.length === fe && jr(Pe) && en(cr) ? zr.apply(this, arguments) : arguments.length === ge && St(Pe) && la(cr) ? B.apply(this, arguments) : arguments.length === Ae && Ya(Pe) && ca(cr) ? Z.apply(this, arguments) : Ve.apply(this, arguments);
3464
3464
  }
3465
3465
  try {
3466
3466
  Object.defineProperty(je, "name", {
@@ -3751,7 +3751,7 @@ function qv(r) {
3751
3751
  wordSize: n
3752
3752
  };
3753
3753
  }
3754
- function mi(r) {
3754
+ function vi(r) {
3755
3755
  var e = String(r).toLowerCase().match(/^(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);
3756
3756
  if (!e)
3757
3757
  throw new SyntaxError("Invalid number " + r);
@@ -3771,7 +3771,7 @@ function mi(r) {
3771
3771
  function U0(r, e) {
3772
3772
  if (isNaN(r) || !Number.isFinite(r))
3773
3773
  return String(r);
3774
- var t = mi(r), n = Mo(t, e), a = n.exponent, i = n.coefficients, o = a % 3 === 0 ? a : a < 0 ? a - 3 - a % 3 : a - a % 3;
3774
+ var t = vi(r), n = Mo(t, e), a = n.exponent, i = n.coefficients, o = a % 3 === 0 ? a : a < 0 ? a - 3 - a % 3 : a - a % 3;
3775
3775
  if (Ye(e))
3776
3776
  for (; e > i.length || a - o + 1 > i.length; )
3777
3777
  i.push(0);
@@ -3786,13 +3786,13 @@ function U0(r, e) {
3786
3786
  function zv(r, e) {
3787
3787
  if (isNaN(r) || !Number.isFinite(r))
3788
3788
  return String(r);
3789
- var t = mi(r), n = typeof e == "number" ? Mo(t, t.exponent + 1 + e) : t, a = n.coefficients, i = n.exponent + 1, o = i + (e || 0);
3789
+ var t = vi(r), n = typeof e == "number" ? Mo(t, t.exponent + 1 + e) : t, a = n.coefficients, i = n.exponent + 1, o = i + (e || 0);
3790
3790
  return a.length < o && (a = a.concat(Ea(o - a.length))), i < 0 && (a = Ea(-i + 1).concat(a), i = 1), i < a.length && a.splice(i, 0, i === 0 ? "0." : "."), n.sign + a.join("");
3791
3791
  }
3792
3792
  function Lv(r, e) {
3793
3793
  if (isNaN(r) || !Number.isFinite(Number(r)))
3794
3794
  return String(r);
3795
- var t = mi(r), n = e ? Mo(t, e) : t, a = n.coefficients, i = n.exponent;
3795
+ var t = vi(r), n = e ? Mo(t, e) : t, a = n.coefficients, i = n.exponent;
3796
3796
  a.length < e && (a = a.concat(Ea(e - a.length)));
3797
3797
  var o = a.shift();
3798
3798
  return n.sign + o + (a.length > 0 ? "." + a.join("") : "") + "e" + (i >= 0 ? "+" : "") + i;
@@ -3800,7 +3800,7 @@ function Lv(r, e) {
3800
3800
  function k0(r, e, t) {
3801
3801
  if (isNaN(r) || !Number.isFinite(r))
3802
3802
  return String(r);
3803
- var n = Gu(t == null ? void 0 : t.lowerExp, -3), a = Gu(t == null ? void 0 : t.upperExp, 5), i = mi(r), o = e ? Mo(i, e) : i;
3803
+ var n = Gu(t == null ? void 0 : t.lowerExp, -3), a = Gu(t == null ? void 0 : t.upperExp, 5), i = vi(r), o = e ? Mo(i, e) : i;
3804
3804
  if (o.exponent < n || o.exponent >= a)
3805
3805
  return Lv(r, e);
3806
3806
  var l = o.coefficients, u = o.exponent;
@@ -3893,11 +3893,11 @@ var Uv = function() {
3893
3893
  },
3894
3894
  {
3895
3895
  name: "bigint",
3896
- test: ti
3896
+ test: ni
3897
3897
  },
3898
3898
  {
3899
3899
  name: "Fraction",
3900
- test: ci
3900
+ test: fi
3901
3901
  },
3902
3902
  {
3903
3903
  name: "Unit",
@@ -4006,7 +4006,7 @@ var Uv = function() {
4006
4006
  },
4007
4007
  {
4008
4008
  name: "FunctionAssignmentNode",
4009
- test: fi
4009
+ test: mi
4010
4010
  },
4011
4011
  {
4012
4012
  name: "IndexNode",
@@ -4505,13 +4505,13 @@ Ne.logarithm = Ne.log = function(r) {
4505
4505
  for (a = t[0]; a % 10 === 0; ) a /= 10;
4506
4506
  i = a !== 1;
4507
4507
  }
4508
- if (ir = !1, l = f + v, o = En(s, l), n = e ? eo(c, l + 10) : En(r, l), u = Br(o, n, l, 1), oi(u.d, a = f, m))
4508
+ if (ir = !1, l = f + v, o = En(s, l), n = e ? eo(c, l + 10) : En(r, l), u = Br(o, n, l, 1), si(u.d, a = f, m))
4509
4509
  do
4510
4510
  if (l += 10, o = En(s, l), n = e ? eo(c, l + 10) : En(r, l), u = Br(o, n, l, 1), !i) {
4511
4511
  +nt(u.d).slice(a + 1, a + 15) + 1 == 1e14 && (u = Ze(u, f + 1, 0));
4512
4512
  break;
4513
4513
  }
4514
- while (oi(u.d, a += 10, m));
4514
+ while (si(u.d, a += 10, m));
4515
4515
  return ir = !0, Ze(u, f, m);
4516
4516
  };
4517
4517
  Ne.minus = Ne.sub = function(r) {
@@ -4689,7 +4689,7 @@ Ne.toPower = Ne.pow = function(r) {
4689
4689
  if (r.d[e] & 1 || (o = 1), l.e == 0 && l.d[0] == 1 && l.d.length == 1)
4690
4690
  return l.s = o, l;
4691
4691
  }
4692
- return t = Hr(+l, s), e = t == 0 || !isFinite(t) ? lt(s * (Math.log("0." + nt(l.d)) / Math.LN10 + l.e + 1)) : new u(t + "").e, e > u.maxE + 1 || e < u.minE - 1 ? new u(e > 0 ? o / 0 : 0) : (ir = !1, u.rounding = l.s = 1, t = Math.min(12, (e + "").length), a = ms(r.times(En(l, n + t)), n), a.d && (a = Ze(a, n + 5, 1), oi(a.d, n, i) && (e = n + 10, a = Ze(ms(r.times(En(l, e + t)), e), e + 5, 1), +nt(a.d).slice(n + 1, n + 15) + 1 == 1e14 && (a = Ze(a, n + 1, 0)))), a.s = o, ir = !0, u.rounding = i, Ze(a, n, i));
4692
+ return t = Hr(+l, s), e = t == 0 || !isFinite(t) ? lt(s * (Math.log("0." + nt(l.d)) / Math.LN10 + l.e + 1)) : new u(t + "").e, e > u.maxE + 1 || e < u.minE - 1 ? new u(e > 0 ? o / 0 : 0) : (ir = !1, u.rounding = l.s = 1, t = Math.min(12, (e + "").length), a = ms(r.times(En(l, n + t)), n), a.d && (a = Ze(a, n + 5, 1), si(a.d, n, i) && (e = n + 10, a = Ze(ms(r.times(En(l, e + t)), e), e + 5, 1), +nt(a.d).slice(n + 1, n + 15) + 1 == 1e14 && (a = Ze(a, n + 1, 0)))), a.s = o, ir = !0, u.rounding = i, Ze(a, n, i));
4693
4693
  };
4694
4694
  Ne.toPrecision = function(r, e) {
4695
4695
  var t, n = this, a = n.constructor;
@@ -4725,7 +4725,7 @@ function At(r, e, t) {
4725
4725
  if (r !== ~~r || r < e || r > t)
4726
4726
  throw Error(_n + r);
4727
4727
  }
4728
- function oi(r, e, t, n) {
4728
+ function si(r, e, t, n) {
4729
4729
  var a, i, o, l;
4730
4730
  for (i = r[0]; i >= 10; i /= 10) --e;
4731
4731
  return --e < 0 ? (e += Qe, a = 0) : (a = Math.ceil((e + 1) / Qe), e %= Qe), i = Hr(10, Qe - e), l = r[a] % i | 0, n == null ? e < 3 ? (e == 0 ? l = l / 100 | 0 : e == 1 && (l = l / 10 | 0), o = t < 4 && l == 99999 || t > 3 && l == 49999 || l == 5e4 || l == 0) : o = (t < 4 && l + 1 == i || t > 3 && l + 1 == i / 2) && (r[a + 1] / i / 100 | 0) == Hr(10, e - 2) - 1 || (l == i / 2 || l == 0) && (r[a + 1] / i / 100 | 0) == 0 : e < 4 ? (e == 0 ? l = l / 1e3 | 0 : e == 1 ? l = l / 100 | 0 : e == 2 && (l = l / 10 | 0), o = (n || t < 4) && l == 9999 || !n && t > 3 && l == 4999) : o = ((n || t < 4) && l + 1 == i || !n && t > 3 && l + 1 == i / 2) && (r[a + 1] / i / 1e3 | 0) == Hr(10, e - 3) - 1, o;
@@ -4909,7 +4909,7 @@ function ms(r, e) {
4909
4909
  if (i = Ze(i.times(r), u, 1), t = t.times(++c), l = o.plus(Br(i, t, u, 1)), nt(l.d).slice(0, u) === nt(o.d).slice(0, u)) {
4910
4910
  for (a = f; a--; ) o = Ze(o.times(o), u, 1);
4911
4911
  if (e == null)
4912
- if (s < 3 && oi(o.d, u - n, v, s))
4912
+ if (s < 3 && si(o.d, u - n, v, s))
4913
4913
  m.precision = u += 10, t = i = l = new m(1), c = 0, s++;
4914
4914
  else
4915
4915
  return Ze(o, m.precision = p, v, ir = !0);
@@ -4932,7 +4932,7 @@ function En(r, e) {
4932
4932
  for (f = d, u = o = d = Br(d.minus(1), d.plus(1), c, 1), m = Ze(d.times(d), c, 1), a = 3; ; ) {
4933
4933
  if (o = Ze(o.times(m), c, 1), s = u.plus(Br(o, new w(a), c, 1)), nt(s.d).slice(0, c) === nt(u.d).slice(0, c))
4934
4934
  if (u = u.times(2), i !== 0 && (u = u.plus(eo(w, c + 2, h).times(i + ""))), u = Br(u, new w(v), c, 1), e == null)
4935
- if (oi(u.d, c - p, D, l))
4935
+ if (si(u.d, c - p, D, l))
4936
4936
  w.precision = c += p, s = o = d = Br(f.minus(1), f.plus(1), c, 1), m = Ze(d.times(d), c, 1), a = l = 1;
4937
4937
  else
4938
4938
  return Ze(u, w.precision = h, D, ir = !0);
@@ -6140,7 +6140,7 @@ typeof BigInt > "u" && (BigInt = function(r) {
6140
6140
  if (isNaN(r)) throw new Error("");
6141
6141
  return r;
6142
6142
  });
6143
- const He = BigInt(0), vr = BigInt(1), Kr = BigInt(2), ni = BigInt(3), ba = BigInt(5), Nt = BigInt(10);
6143
+ const He = BigInt(0), vr = BigInt(1), Kr = BigInt(2), ai = BigInt(3), ba = BigInt(5), Nt = BigInt(10);
6144
6144
  BigInt(Number.MAX_SAFE_INTEGER);
6145
6145
  const a1 = 2e3, Be = {
6146
6146
  s: vr,
@@ -6166,7 +6166,7 @@ function Rr(r, e) {
6166
6166
  const n = Hn(r, e);
6167
6167
  return t.n = r / n, t.d = e / n, t;
6168
6168
  }
6169
- const i1 = [Kr * Kr, Kr, Kr * Kr, Kr, Kr * Kr, Kr * ni, Kr, Kr * ni];
6169
+ const i1 = [Kr * Kr, Kr, Kr * Kr, Kr, Kr * Kr, Kr * ai, Kr, Kr * ai];
6170
6170
  function pa(r) {
6171
6171
  const e = /* @__PURE__ */ Object.create(null);
6172
6172
  if (r <= vr)
@@ -6176,8 +6176,8 @@ function pa(r) {
6176
6176
  };
6177
6177
  for (; r % Kr === He; )
6178
6178
  t(Kr), r /= Kr;
6179
- for (; r % ni === He; )
6180
- t(ni), r /= ni;
6179
+ for (; r % ai === He; )
6180
+ t(ai), r /= ai;
6181
6181
  for (; r % ba === He; )
6182
6182
  t(ba), r /= ba;
6183
6183
  for (let n = 0, a = Kr + ba; a * a <= r; ) {
@@ -6691,19 +6691,19 @@ var l1 = "Fraction", c1 = [], f1 = /* @__PURE__ */ U(l1, c1, () => (Object.defin
6691
6691
  if (a) {
6692
6692
  if (or(e))
6693
6693
  e = e.toNumber();
6694
- else if (typeof e != "number" && !ti(e))
6694
+ else if (typeof e != "number" && !ni(e))
6695
6695
  throw new TypeError("Parameter start must be a number or bigint");
6696
6696
  }
6697
6697
  if (i) {
6698
6698
  if (or(t))
6699
6699
  t = t.toNumber();
6700
- else if (typeof t != "number" && !ti(t))
6700
+ else if (typeof t != "number" && !ni(t))
6701
6701
  throw new TypeError("Parameter end must be a number or bigint");
6702
6702
  }
6703
6703
  if (o) {
6704
6704
  if (or(n))
6705
6705
  n = n.toNumber();
6706
- else if (typeof n != "number" && !ti(n))
6706
+ else if (typeof n != "number" && !ni(n))
6707
6707
  throw new TypeError("Parameter step must be a number or bigint");
6708
6708
  }
6709
6709
  if (this.start = a ? parseFloat(e) : 0, this.end = i ? parseFloat(t) : 0, this.step = o ? parseFloat(n) : 1, o && rt(this.step, 0))
@@ -7902,10 +7902,10 @@ function hp(r) {
7902
7902
  return r;
7903
7903
  }
7904
7904
  hp.signature = Jt;
7905
- function ei(r) {
7905
+ function ri(r) {
7906
7906
  return z0(r);
7907
7907
  }
7908
- ei.signature = Jt;
7908
+ ri.signature = Jt;
7909
7909
  function gp(r) {
7910
7910
  return r * r * r;
7911
7911
  }
@@ -7974,7 +7974,7 @@ function Np(r, e) {
7974
7974
  return r * r < 1 && e === 1 / 0 || r * r > 1 && e === -1 / 0 ? 0 : Math.pow(r, e);
7975
7975
  }
7976
7976
  Np.signature = Pa;
7977
- function Qa(r) {
7977
+ function Ka(r) {
7978
7978
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
7979
7979
  if (!Ue(e) || e < 0 || e > 15)
7980
7980
  throw new Error("Number of decimals in function round must be an integer from 0 to 15 inclusive");
@@ -9452,7 +9452,7 @@ var _l = "addScalar", rw = ["typed"], tw = /* @__PURE__ */ U(_l, rw, (r) => {
9452
9452
  Fraction: u
9453
9453
  } = r;
9454
9454
  return t(Fl, {
9455
- number: ei,
9455
+ number: ri,
9456
9456
  // note: signature 'number, boolean' is also supported,
9457
9457
  // created by typed as it knows how to convert number to Complex
9458
9458
  Complex: s,
@@ -9463,9 +9463,9 @@ var _l = "addScalar", rw = ["typed"], tw = /* @__PURE__ */ U(_l, rw, (r) => {
9463
9463
  Unit: c
9464
9464
  });
9465
9465
  function s(f, m) {
9466
- var v = f.arg() / 3, p = f.abs(), d = new o(ei(p), 0).mul(new o(0, v).exp());
9466
+ var v = f.arg() / 3, p = f.abs(), d = new o(ri(p), 0).mul(new o(0, v).exp());
9467
9467
  if (m) {
9468
- var y = [d, new o(ei(p), 0).mul(new o(0, v + Math.PI * 2 / 3).exp()), new o(ei(p), 0).mul(new o(0, v - Math.PI * 2 / 3).exp())];
9468
+ var y = [d, new o(ri(p), 0).mul(new o(0, v + Math.PI * 2 / 3).exp()), new o(ri(p), 0).mul(new o(0, v - Math.PI * 2 / 3).exp())];
9469
9469
  return e.matrix === "Array" ? y : i(y);
9470
9470
  } else
9471
9471
  return d;
@@ -9478,7 +9478,7 @@ var _l = "addScalar", rw = ["typed"], tw = /* @__PURE__ */ U(_l, rw, (r) => {
9478
9478
  var v = n(f.value);
9479
9479
  v && (f.value = a(f.value));
9480
9480
  var p;
9481
- or(f.value) ? p = new l(1).div(3) : ci(f.value) ? p = new u(1, 3) : p = 1 / 3;
9481
+ or(f.value) ? p = new l(1).div(3) : fi(f.value) ? p = new u(1, 3) : p = 1 / 3;
9482
9482
  var d = f.pow(p);
9483
9483
  return v && (d.value = a(d.value)), d;
9484
9484
  }
@@ -11012,7 +11012,7 @@ function _x(r, e) {
11012
11012
  return n & a;
11013
11013
  });
11014
11014
  }
11015
- function si(r) {
11015
+ function ui(r) {
11016
11016
  if (r.isFinite() && !r.isInteger())
11017
11017
  throw new Error("Integer expected in function bitNot");
11018
11018
  var e = r.constructor, t = e.precision;
@@ -11038,13 +11038,13 @@ function Tx(r, e) {
11038
11038
  function ks(r, e, t) {
11039
11039
  var n = r.constructor, a, i, o = +(r.s < 0), l = +(e.s < 0);
11040
11040
  if (o) {
11041
- a = Ci(si(r));
11041
+ a = Ci(ui(r));
11042
11042
  for (var u = 0; u < a.length; ++u)
11043
11043
  a[u] ^= 1;
11044
11044
  } else
11045
11045
  a = Ci(r);
11046
11046
  if (l) {
11047
- i = Ci(si(e));
11047
+ i = Ci(ui(e));
11048
11048
  for (var s = 0; s < i.length; ++s)
11049
11049
  i[s] ^= 1;
11050
11050
  } else
@@ -11098,7 +11098,7 @@ function Fx(r, e) {
11098
11098
  if (r.eq(e))
11099
11099
  return new t(0);
11100
11100
  var n = new t(-1);
11101
- return r.eq(n) ? si(e) : e.eq(n) ? si(r) : !r.isFinite() || !e.isFinite() ? !r.isFinite() && !e.isFinite() ? n : new t(r.isNegative() === e.isNegative() ? 1 / 0 : -1 / 0) : ks(r, e, function(a, i) {
11101
+ return r.eq(n) ? ui(e) : e.eq(n) ? ui(r) : !r.isFinite() || !e.isFinite() ? !r.isFinite() && !e.isFinite() ? n : new t(r.isNegative() === e.isNegative() ? 1 / 0 : -1 / 0) : ks(r, e, function(a, i) {
11102
11102
  return a ^ i;
11103
11103
  });
11104
11104
  }
@@ -11149,7 +11149,7 @@ var Jl = "bitAnd", Rx = ["typed", "matrix", "equalScalar", "concat"], ad = /* @_
11149
11149
  } = r;
11150
11150
  return e(jl, {
11151
11151
  number: Ap,
11152
- BigNumber: si,
11152
+ BigNumber: ui,
11153
11153
  bigint: (t) => ~t,
11154
11154
  "Array | Matrix": e.referToSelf((t) => (n) => tr(n, t))
11155
11155
  });
@@ -12609,27 +12609,27 @@ var Cc = "transpose", YD = ["typed", "matrix"], ZD = /* @__PURE__ */ U(Cc, YD, (
12609
12609
  }
12610
12610
  });
12611
12611
  });
12612
- function ui(r) {
12612
+ function li(r) {
12613
12613
  "@babel/helpers - typeof";
12614
- return ui = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
12614
+ return li = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
12615
12615
  return typeof e;
12616
12616
  } : function(e) {
12617
12617
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
12618
- }, ui(r);
12618
+ }, li(r);
12619
12619
  }
12620
12620
  function nN(r, e) {
12621
- if (ui(r) != "object" || !r) return r;
12621
+ if (li(r) != "object" || !r) return r;
12622
12622
  var t = r[Symbol.toPrimitive];
12623
12623
  if (t !== void 0) {
12624
12624
  var n = t.call(r, e);
12625
- if (ui(n) != "object") return n;
12625
+ if (li(n) != "object") return n;
12626
12626
  throw new TypeError("@@toPrimitive must return a primitive value.");
12627
12627
  }
12628
12628
  return (e === "string" ? String : Number)(r);
12629
12629
  }
12630
12630
  function aN(r) {
12631
12631
  var e = nN(r, "string");
12632
- return ui(e) == "symbol" ? e : e + "";
12632
+ return li(e) == "symbol" ? e : e + "";
12633
12633
  }
12634
12634
  function Gr(r, e, t) {
12635
12635
  return (e = aN(e)) in r ? Object.defineProperty(r, e, {
@@ -13259,19 +13259,19 @@ var kc = "to", TN = ["typed", "matrix", "concat"], FN = /* @__PURE__ */ U(kc, TN
13259
13259
  typed: e
13260
13260
  });
13261
13261
  function f(m) {
13262
- return Math.abs(mi(m).exponent);
13262
+ return Math.abs(vi(m).exponent);
13263
13263
  }
13264
13264
  return e(Yc, {
13265
13265
  number: function(v) {
13266
- var p = Qa(v, f(t.relTol)), d = rt(v, p, t.relTol, t.absTol) ? p : v;
13267
- return Qa(d);
13266
+ var p = Ka(v, f(t.relTol)), d = rt(v, p, t.relTol, t.absTol) ? p : v;
13267
+ return Ka(d);
13268
13268
  },
13269
13269
  "number, number": function(v, p) {
13270
13270
  var d = f(t.relTol);
13271
13271
  if (p >= d)
13272
- return Qa(v, p);
13273
- var y = Qa(v, d), w = rt(v, y, t.relTol, t.absTol) ? y : v;
13274
- return Qa(w, p);
13272
+ return Ka(v, p);
13273
+ var y = Ka(v, d), w = rt(v, y, t.relTol, t.absTol) ? y : v;
13274
+ return Ka(w, p);
13275
13275
  },
13276
13276
  "number, BigNumber": function(v, p) {
13277
13277
  if (!p.isInteger())
@@ -13506,7 +13506,7 @@ var kc = "to", TN = ["typed", "matrix", "concat"], FN = /* @__PURE__ */ U(kc, TN
13506
13506
  sS: m
13507
13507
  }));
13508
13508
  });
13509
- function vi(r) {
13509
+ function pi(r) {
13510
13510
  var {
13511
13511
  DenseMatrix: e
13512
13512
  } = r;
@@ -13598,7 +13598,7 @@ var Kc = "lsolve", t2 = ["typed", "matrix", "divideScalar", "multiplyScalar", "s
13598
13598
  subtractScalar: i,
13599
13599
  equalScalar: o,
13600
13600
  DenseMatrix: l
13601
- } = r, u = vi({
13601
+ } = r, u = pi({
13602
13602
  DenseMatrix: l
13603
13603
  });
13604
13604
  return e(Kc, {
@@ -13668,7 +13668,7 @@ var Kc = "lsolve", t2 = ["typed", "matrix", "divideScalar", "multiplyScalar", "s
13668
13668
  subtractScalar: i,
13669
13669
  equalScalar: o,
13670
13670
  DenseMatrix: l
13671
- } = r, u = vi({
13671
+ } = r, u = pi({
13672
13672
  DenseMatrix: l
13673
13673
  });
13674
13674
  return e(ef, {
@@ -13738,7 +13738,7 @@ var Kc = "lsolve", t2 = ["typed", "matrix", "divideScalar", "multiplyScalar", "s
13738
13738
  subtractScalar: i,
13739
13739
  equalScalar: o,
13740
13740
  DenseMatrix: l
13741
- } = r, u = vi({
13741
+ } = r, u = pi({
13742
13742
  DenseMatrix: l
13743
13743
  });
13744
13744
  return e(rf, {
@@ -13827,7 +13827,7 @@ var Kc = "lsolve", t2 = ["typed", "matrix", "divideScalar", "multiplyScalar", "s
13827
13827
  subtractScalar: i,
13828
13828
  equalScalar: o,
13829
13829
  DenseMatrix: l
13830
- } = r, u = vi({
13830
+ } = r, u = pi({
13831
13831
  DenseMatrix: l
13832
13832
  });
13833
13833
  return e(tf, {
@@ -15156,7 +15156,7 @@ function dE(r) {
15156
15156
  }
15157
15157
  };
15158
15158
  }
15159
- function pi(r) {
15159
+ function di(r) {
15160
15160
  var {
15161
15161
  hasher: e,
15162
15162
  limit: t
@@ -15175,19 +15175,19 @@ function pi(r) {
15175
15175
  return n.cache.values.set(o, l), n.cache.values.delete(n.cache.lru.hit(o)), l;
15176
15176
  };
15177
15177
  }
15178
- var hE = pi(function(r) {
15178
+ var hE = di(function(r) {
15179
15179
  return new r(1).exp();
15180
15180
  }, {
15181
15181
  hasher: Po
15182
- }), gE = pi(function(r) {
15182
+ }), gE = di(function(r) {
15183
15183
  return new r(1).plus(new r(5).sqrt()).div(2);
15184
15184
  }, {
15185
15185
  hasher: Po
15186
- }), Ys = pi(function(r) {
15186
+ }), Ys = di(function(r) {
15187
15187
  return r.acos(-1);
15188
15188
  }, {
15189
15189
  hasher: Po
15190
- }), yE = pi(function(r) {
15190
+ }), yE = di(function(r) {
15191
15191
  return Ys(r).times(2);
15192
15192
  }, {
15193
15193
  hasher: Po
@@ -15405,7 +15405,7 @@ var bE = "Unit", wE = ["?on", "config", "addScalar", "subtractScalar", "multiply
15405
15405
  }
15406
15406
  return R;
15407
15407
  };
15408
- var P = pi((G) => {
15408
+ var P = di((G) => {
15409
15409
  if (ze(z, G)) {
15410
15410
  var ee = z[G], R = ee.prefixes[""];
15411
15411
  return {
@@ -19971,7 +19971,7 @@ function Sr(r, e, t, n) {
19971
19971
  }
19972
19972
  return o;
19973
19973
  }
19974
- function Ka(r, e) {
19974
+ function ei(r, e) {
19975
19975
  var t = r;
19976
19976
  e !== "keep" && (t = r.getContent());
19977
19977
  var n = t.getIdentifier(), a = Sr(t, e);
@@ -21664,7 +21664,7 @@ var Ri = "ConstantNode", CS = ["Node", "isBounded"], MS = /* @__PURE__ */ U(Ri,
21664
21664
  isClass: !0,
21665
21665
  isNode: !0
21666
21666
  });
21667
- function ri(r, e) {
21667
+ function ti(r, e) {
21668
21668
  return new Tv(r, new Eo(e), new Set(Object.keys(e)));
21669
21669
  }
21670
21670
  var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
@@ -21678,7 +21678,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
21678
21678
  return gr(l) ? !0 : Lr(l) ? t(l.args[0], o) : !1;
21679
21679
  }
21680
21680
  function n(i, o, l, u, s) {
21681
- var c = Sr(i, o, l), f = Ka(i, o);
21681
+ var c = Sr(i, o, l), f = ei(i, o);
21682
21682
  if (o === "all" || u.length > 2 && i.getIdentifier() !== "OperatorNode:add" && i.getIdentifier() !== "OperatorNode:multiply")
21683
21683
  return u.map(function(S) {
21684
21684
  switch (S.getContent().type) {
@@ -21735,7 +21735,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
21735
21735
  break;
21736
21736
  default:
21737
21737
  (i.getIdentifier() === "OperatorNode:add" || i.getIdentifier() === "OperatorNode:multiply") && (m = u.map(function(S) {
21738
- var C = Sr(S, o, l, i), M = ns(i, S, o), O = Ka(S, o);
21738
+ var C = Sr(S, o, l, i), M = ns(i, S, o), O = ei(S, o);
21739
21739
  return C === null ? !1 : c === C && f === O && !M ? !0 : C < c;
21740
21740
  }));
21741
21741
  break;
@@ -21794,7 +21794,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
21794
21794
  if (typeof u == "function" && u.rawArgs === !0) {
21795
21795
  var c = this.args;
21796
21796
  return function(d, y, w) {
21797
- return u(c, o, ri(d, y));
21797
+ return u(c, o, ti(d, y));
21798
21798
  };
21799
21799
  } else if (s.length === 1) {
21800
21800
  var f = s[0];
@@ -21865,7 +21865,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
21865
21865
  _toString(o) {
21866
21866
  var l = o && o.parenthesis ? o.parenthesis : "keep", u = o && o.implicit ? o.implicit : "hide", s = this.args, c = n(this, l, u, s, !1);
21867
21867
  if (s.length === 1) {
21868
- var f = Ka(this, l), m = s[0].toString(o);
21868
+ var f = ei(this, l), m = s[0].toString(o);
21869
21869
  c[0] && (m = "(" + m + ")");
21870
21870
  var v = /[a-zA-Z]+/.test(this.op);
21871
21871
  return f === "right" ? this.op + (v ? " " : "") + m : f === "left" ? m + (v ? " " : "") + this.op : m + this.op;
@@ -21918,7 +21918,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
21918
21918
  _toHTML(o) {
21919
21919
  var l = o && o.parenthesis ? o.parenthesis : "keep", u = o && o.implicit ? o.implicit : "hide", s = this.args, c = n(this, l, u, s, !1);
21920
21920
  if (s.length === 1) {
21921
- var f = Ka(this, l), m = s[0].toHTML(o);
21921
+ var f = ei(this, l), m = s[0].toHTML(o);
21922
21922
  return c[0] && (m = '<span class="math-parenthesis math-round-parenthesis">(</span>' + m + '<span class="math-parenthesis math-round-parenthesis">)</span>'), f === "right" ? '<span class="math-operator math-unary-operator math-lefthand-unary-operator">' + $t(this.op) + "</span>" + m : m + '<span class="math-operator math-unary-operator math-righthand-unary-operator">' + $t(this.op) + "</span>";
21923
21923
  } else if (s.length === 2) {
21924
21924
  var v = s[0].toHTML(o), p = s[1].toHTML(o);
@@ -21938,7 +21938,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
21938
21938
  _toTex(o) {
21939
21939
  var l = o && o.parenthesis ? o.parenthesis : "keep", u = o && o.implicit ? o.implicit : "hide", s = this.args, c = n(this, l, u, s, !0), f = br[this.fn];
21940
21940
  if (f = typeof f > "u" ? this.op : f, s.length === 1) {
21941
- var m = Ka(this, l), v = s[0].toTex(o);
21941
+ var m = ei(this, l), v = s[0].toTex(o);
21942
21942
  return c[0] && (v = "\\left(".concat(v, "\\right)")), m === "right" ? f + v : v + f;
21943
21943
  } else if (s.length === 2) {
21944
21944
  var p = s[0], d = p.toTex(o);
@@ -22661,7 +22661,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
22661
22661
  if (typeof O != "function")
22662
22662
  throw new TypeError("Argument '".concat(v, "' was not a function; received: ").concat(i(O)));
22663
22663
  if (O.rawArgs)
22664
- return O(D, s, ri(S, C));
22664
+ return O(D, s, ti(S, C));
22665
22665
  var I = f.map((k) => k(S, C, M));
22666
22666
  return O.apply(O, I);
22667
22667
  }
@@ -22685,7 +22685,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
22685
22685
  return function(S, C, M) {
22686
22686
  var O = y(S);
22687
22687
  if (O.rawArgs === !0)
22688
- return O(w, s, ri(S, C));
22688
+ return O(w, s, ti(S, C));
22689
22689
  var I = f.map((k) => k(S, C, M));
22690
22690
  return O(...I);
22691
22691
  };
@@ -22730,7 +22730,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
22730
22730
  if (!(m && (O == null || O[x] === void 0))) {
22731
22731
  var I = v0(O, x);
22732
22732
  if (I != null && I.rawArgs)
22733
- return I(g, s, ri(S, C));
22733
+ return I(g, s, ti(S, C));
22734
22734
  var k = f.map((_) => _(S, C, M));
22735
22735
  return I.apply(O, k);
22736
22736
  }
@@ -22744,7 +22744,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
22744
22744
  throw new TypeError("Expression '".concat(b, "' did not evaluate to a function; value is:") + `
22745
22745
  `.concat(i(O)));
22746
22746
  if (O.rawArgs)
22747
- return O(N, s, ri(S, C));
22747
+ return O(N, s, ti(S, C));
22748
22748
  var I = f.map((k) => k(S, C, M));
22749
22749
  return O.apply(O, I);
22750
22750
  }
@@ -22806,7 +22806,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
22806
22806
  _toString(s) {
22807
22807
  var c = this.args.map(function(m) {
22808
22808
  return m.toString(s);
22809
- }), f = fi(this.fn) ? "(" + this.fn.toString(s) + ")" : this.fn.toString(s);
22809
+ }), f = mi(this.fn) ? "(" + this.fn.toString(s) + ")" : this.fn.toString(s);
22810
22810
  return f + "(" + c.join(", ") + ")";
22811
22811
  }
22812
22812
  /**
@@ -23441,8 +23441,8 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
23441
23441
  throw St += qe ? "optional chain" : "dot", ar(T, St);
23442
23442
  }
23443
23443
  Se.push(new s(T.token)), P(T);
23444
- var Wa = !0;
23445
- K = new a(K, new m(Se, Wa), qe);
23444
+ var Ya = !0;
23445
+ K = new a(K, new m(Se, Ya), qe);
23446
23446
  }
23447
23447
  }
23448
23448
  return K;
@@ -23587,14 +23587,14 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
23587
23587
  } = r;
23588
23588
  return e(um, {
23589
23589
  string: function(a) {
23590
- var i = ii();
23590
+ var i = oi();
23591
23591
  return t(a).compile().evaluate(i);
23592
23592
  },
23593
23593
  "string, Map | Object": function(a, i) {
23594
23594
  return t(a).compile().evaluate(i);
23595
23595
  },
23596
23596
  "Array | Matrix": function(a) {
23597
- var i = ii();
23597
+ var i = oi();
23598
23598
  return tr(a, function(o) {
23599
23599
  return t(o).compile().evaluate(i);
23600
23600
  });
@@ -23614,7 +23614,7 @@ var qi = "OperatorNode", IS = ["Node"], PS = /* @__PURE__ */ U(qi, IS, (r) => {
23614
23614
  if (!(this instanceof n))
23615
23615
  throw new SyntaxError("Constructor must be called with the new operator");
23616
23616
  Object.defineProperty(this, "scope", {
23617
- value: ii(),
23617
+ value: oi(),
23618
23618
  writable: !1
23619
23619
  });
23620
23620
  }
@@ -24384,7 +24384,7 @@ var dm = "lusolve", RC = ["typed", "matrix", "lup", "slu", "usolve", "lsolve", "
24384
24384
  usolve: i,
24385
24385
  lsolve: o,
24386
24386
  DenseMatrix: l
24387
- } = r, u = vi({
24387
+ } = r, u = pi({
24388
24388
  DenseMatrix: l
24389
24389
  });
24390
24390
  return e(dm, {
@@ -27697,7 +27697,7 @@ var L3 = "eigs", U3 = ["config", "typed", "matrix", "addScalar", "equal", "subtr
27697
27697
  for (var X = !1, se = !1, re = !1, pe = 0; pe < Y; pe++)
27698
27698
  for (var ve = 0; ve < Y; ve++) {
27699
27699
  var De = me[pe][ve];
27700
- if (Ye(De) || ci(De))
27700
+ if (Ye(De) || fi(De))
27701
27701
  X = !0;
27702
27702
  else if (or(De))
27703
27703
  se = !0;
@@ -30288,7 +30288,7 @@ var gB = "simplifyUtil", yB = ["FunctionNode", "OperatorNode", "SymbolNode"], ru
30288
30288
  return new d("_p" + P++);
30289
30289
  }
30290
30290
  function q(Y, z) {
30291
- var X = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ii(), se = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, re = se.consoleDebug;
30291
+ var X = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : oi(), se = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, re = se.consoleDebug;
30292
30292
  z = _(z || M.rules, se.context);
30293
30293
  var pe = a(Y, X);
30294
30294
  pe = O(pe);
@@ -30576,7 +30576,7 @@ var gB = "simplifyUtil", yB = ["FunctionNode", "OperatorNode", "SymbolNode"], ru
30576
30576
  }
30577
30577
  });
30578
30578
  function g(_) {
30579
- return ci(_) ? _.valueOf() : _ instanceof Array ? _.map(g) : Je(_) ? a(g(_.valueOf())) : _;
30579
+ return fi(_) ? _.valueOf() : _ instanceof Array ? _.map(g) : Je(_) ? a(g(_.valueOf())) : _;
30580
30580
  }
30581
30581
  function b(_, P, V) {
30582
30582
  try {
@@ -32098,7 +32098,7 @@ var hR = "filter", gR = ["typed"], yR = /* @__PURE__ */ U(hR, gR, (r) => {
32098
32098
  if (a.length === 1)
32099
32099
  return l(s);
32100
32100
  var c = a.length - 1, f = a[c];
32101
- return s && (s = n(s, o)), f && (et(f) || fi(f) ? f = n(f, o) : f = tu(f, i, o)), l(s, u(f, c));
32101
+ return s && (s = n(s, o)), f && (et(f) || mi(f) ? f = n(f, o) : f = tu(f, i, o)), l(s, u(f, c));
32102
32102
  }
32103
32103
  t.rawArgs = !0;
32104
32104
  function n(a, i) {
@@ -32122,7 +32122,7 @@ var hR = "filter", gR = ["typed"], yR = /* @__PURE__ */ U(hR, gR, (r) => {
32122
32122
  if (o.length === 1)
32123
32123
  return t(s);
32124
32124
  var c = o.length - 1, f = o[c];
32125
- return s && (s = i(s, u)), f && (et(f) || fi(f) ? f = i(f, u) : f = tu(f, l, u)), t(s, n(f, c));
32125
+ return s && (s = i(s, u)), f && (et(f) || mi(f) ? f = i(f, u) : f = tu(f, l, u)), t(s, n(f, c));
32126
32126
  }
32127
32127
  a.rawArgs = !0;
32128
32128
  function i(o, l) {
@@ -32149,7 +32149,7 @@ var hR = "filter", gR = ["typed"], yR = /* @__PURE__ */ U(hR, gR, (r) => {
32149
32149
  t(l) !== "boolean" && (l = l.map(function(s) {
32150
32150
  return s - 1;
32151
32151
  }));
32152
- else if (Ye(l) || ti(l))
32152
+ else if (Ye(l) || ni(l))
32153
32153
  l--;
32154
32154
  else if (or(l))
32155
32155
  l = l.toNumber() - 1;
@@ -32175,7 +32175,7 @@ var hR = "filter", gR = ["typed"], yR = /* @__PURE__ */ U(hR, gR, (r) => {
32175
32175
  if (i.length === 1)
32176
32176
  return t(i[0]);
32177
32177
  var u = i.length - 1, s = i.slice(0, u), c = i[u];
32178
- return s = s.map((m) => f(m, l)), c && (et(c) || fi(c) ? c = f(c, l) : c = tu(c, o, l)), t(...s, n(c, u));
32178
+ return s = s.map((m) => f(m, l)), c && (et(c) || mi(c) ? c = f(c, l) : c = tu(c, o, l)), t(...s, n(c, u));
32179
32179
  function f(m, v) {
32180
32180
  return m.compile().evaluate(v);
32181
32181
  }
@@ -32869,16 +32869,16 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
32869
32869
  typed: W
32870
32870
  }), mI = /* @__PURE__ */ fd({
32871
32871
  typed: W
32872
- }), di = /* @__PURE__ */ DN({
32872
+ }), hi = /* @__PURE__ */ DN({
32873
32873
  typed: W
32874
32874
  }), iu = /* @__PURE__ */ gD({
32875
32875
  typed: W
32876
32876
  }), vI = /* @__PURE__ */ MN({
32877
- format: di,
32877
+ format: hi,
32878
32878
  typed: W
32879
32879
  }), ou = /* @__PURE__ */ Yx({
32880
32880
  typed: W
32881
- }), hi = /* @__PURE__ */ ib({
32881
+ }), gi = /* @__PURE__ */ ib({
32882
32882
  typed: W
32883
32883
  }), pn = /* @__PURE__ */ nb({
32884
32884
  typed: W
@@ -32913,7 +32913,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
32913
32913
  }), an = /* @__PURE__ */ wb({
32914
32914
  typed: W
32915
32915
  }), bI = /* @__PURE__ */ SN({
32916
- format: di,
32916
+ format: hi,
32917
32917
  typed: W
32918
32918
  }), wI = /* @__PURE__ */ tB({
32919
32919
  config: be,
@@ -32987,7 +32987,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
32987
32987
  isNumeric: na,
32988
32988
  typed: W
32989
32989
  }), PI = /* @__PURE__ */ sb({
32990
- isBounded: hi,
32990
+ isBounded: gi,
32991
32991
  map: $n,
32992
32992
  typed: W
32993
32993
  }), qn = /* @__PURE__ */ Y1({
@@ -33040,7 +33040,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33040
33040
  typed: W
33041
33041
  }), HI = /* @__PURE__ */ SA({
33042
33042
  typed: W
33043
- }), gi = /* @__PURE__ */ ZD({
33043
+ }), yi = /* @__PURE__ */ ZD({
33044
33044
  matrix: Ce,
33045
33045
  typed: W
33046
33046
  }), Vd = /* @__PURE__ */ Dx({
@@ -33063,14 +33063,14 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33063
33063
  config: be,
33064
33064
  typed: W
33065
33065
  }), ZI = /* @__PURE__ */ EN({
33066
- format: di,
33066
+ format: hi,
33067
33067
  typed: W
33068
33068
  }), JI = /* @__PURE__ */ lA({
33069
33069
  BigNumber: Me,
33070
33070
  typed: W
33071
33071
  }), cu = /* @__PURE__ */ jD({
33072
33072
  conj: ra,
33073
- transpose: gi,
33073
+ transpose: yi,
33074
33074
  typed: W
33075
33075
  }), Gd = /* @__PURE__ */ lD({
33076
33076
  DenseMatrix: sr,
@@ -33100,7 +33100,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33100
33100
  matrix: Ce,
33101
33101
  multiplyScalar: qr,
33102
33102
  typed: W
33103
- }), li = /* @__PURE__ */ xs({
33103
+ }), ci = /* @__PURE__ */ xs({
33104
33104
  isInteger: dt,
33105
33105
  typed: W
33106
33106
  }), fu = /* @__PURE__ */ Gb({
@@ -33145,7 +33145,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33145
33145
  isInteger: dt,
33146
33146
  matrix: Ce,
33147
33147
  typed: W
33148
- }), yi = /* @__PURE__ */ Y2({
33148
+ }), bi = /* @__PURE__ */ Y2({
33149
33149
  equal: xt,
33150
33150
  typed: W
33151
33151
  }), KI = /* @__PURE__ */ Mx({
@@ -33211,7 +33211,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33211
33211
  matrix: Ce,
33212
33212
  typed: W
33213
33213
  }), a8 = /* @__PURE__ */ od({
33214
- deepEqual: yi,
33214
+ deepEqual: bi,
33215
33215
  flatten: ta,
33216
33216
  matrix: Ce,
33217
33217
  size: Zr,
@@ -33471,7 +33471,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33471
33471
  largerEq: Vo,
33472
33472
  multiply: Dr,
33473
33473
  subtract: kr,
33474
- transpose: gi,
33474
+ transpose: yi,
33475
33475
  typed: W
33476
33476
  }), th = /* @__PURE__ */ pE({
33477
33477
  FibonacciHeap: Xd,
@@ -33528,7 +33528,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33528
33528
  subtractScalar: Ut,
33529
33529
  typed: W,
33530
33530
  unaryMinus: on
33531
- }), bi = /* @__PURE__ */ r2({
33531
+ }), wi = /* @__PURE__ */ r2({
33532
33532
  DenseMatrix: sr,
33533
33533
  SparseMatrix: Jr,
33534
33534
  concat: xr,
@@ -33579,10 +33579,10 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33579
33579
  Complex: Mr,
33580
33580
  add: hr,
33581
33581
  ctranspose: cu,
33582
- deepEqual: yi,
33582
+ deepEqual: bi,
33583
33583
  divideScalar: Ir,
33584
33584
  dot: ko,
33585
- dotDivide: bi,
33585
+ dotDivide: wi,
33586
33586
  equal: xt,
33587
33587
  inv: sa,
33588
33588
  matrix: Ce,
@@ -33677,7 +33677,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33677
33677
  }), U8 = /* @__PURE__ */ nO({
33678
33678
  abs: wt,
33679
33679
  addScalar: Yr,
33680
- deepEqual: yi,
33680
+ deepEqual: bi,
33681
33681
  divideScalar: Ir,
33682
33682
  multiplyScalar: qr,
33683
33683
  sqrt: Xt,
@@ -33703,7 +33703,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33703
33703
  ceil: vu,
33704
33704
  conj: ra,
33705
33705
  divideScalar: Ir,
33706
- dotDivide: bi,
33706
+ dotDivide: wi,
33707
33707
  exp: Ud,
33708
33708
  i: Pd,
33709
33709
  log2: su,
@@ -33721,7 +33721,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33721
33721
  typed: W
33722
33722
  }), G8 = /* @__PURE__ */ tN({
33723
33723
  conj: ra,
33724
- dotDivide: bi,
33724
+ dotDivide: wi,
33725
33725
  fft: oh,
33726
33726
  typed: W
33727
33727
  }), sh = /* @__PURE__ */ sC({
@@ -33786,7 +33786,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33786
33786
  divideScalar: Ir,
33787
33787
  equal: xt,
33788
33788
  fix: Qd,
33789
- format: di,
33789
+ format: hi,
33790
33790
  isNumeric: na,
33791
33791
  multiplyScalar: qr,
33792
33792
  number: an,
@@ -33871,7 +33871,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33871
33871
  BigNumber: Me,
33872
33872
  Unit: Ke,
33873
33873
  config: be
33874
- }), wi = /* @__PURE__ */ TO({
33874
+ }), xi = /* @__PURE__ */ TO({
33875
33875
  gamma: bu,
33876
33876
  typed: W
33877
33877
  }), nP = /* @__PURE__ */ _4({
@@ -33915,7 +33915,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
33915
33915
  Unit: Ke,
33916
33916
  config: be
33917
33917
  }), vP = /* @__PURE__ */ PO({
33918
- factorial: wi,
33918
+ factorial: xi,
33919
33919
  typed: W
33920
33920
  }), pP = /* @__PURE__ */ m4({
33921
33921
  BigNumber: Me,
@@ -34021,7 +34021,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34021
34021
  }), IP = /* @__PURE__ */ RO({
34022
34022
  add: hr,
34023
34023
  divide: it,
34024
- factorial: wi,
34024
+ factorial: xi,
34025
34025
  isInteger: dt,
34026
34026
  isPositive: ia,
34027
34027
  multiply: Dr,
@@ -34041,7 +34041,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34041
34041
  divide: it,
34042
34042
  isInteger: dt,
34043
34043
  larger: ht,
34044
- mapSlices: li,
34044
+ mapSlices: ci,
34045
34045
  multiply: Dr,
34046
34046
  partitionSelect: Go,
34047
34047
  smaller: gt,
@@ -34080,7 +34080,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34080
34080
  addScalar: Yr,
34081
34081
  combinations: zo,
34082
34082
  divideScalar: Ir,
34083
- factorial: wi,
34083
+ factorial: xi,
34084
34084
  isInteger: dt,
34085
34085
  isNegative: qn,
34086
34086
  larger: ht,
@@ -34112,7 +34112,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34112
34112
  config: be
34113
34113
  }), WP = /* @__PURE__ */ OO({
34114
34114
  divide: it,
34115
- dotDivide: bi,
34115
+ dotDivide: wi,
34116
34116
  isNumeric: na,
34117
34117
  log: pu,
34118
34118
  map: $n,
@@ -34144,7 +34144,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34144
34144
  add: hr,
34145
34145
  divide: it,
34146
34146
  isNaN: pn,
34147
- mapSlices: li,
34147
+ mapSlices: ci,
34148
34148
  multiply: Dr,
34149
34149
  subtract: kr,
34150
34150
  typed: W
@@ -34195,9 +34195,9 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34195
34195
  config: be,
34196
34196
  divide: it,
34197
34197
  equal: xt,
34198
- factorial: wi,
34198
+ factorial: xi,
34199
34199
  gamma: bu,
34200
- isBounded: hi,
34200
+ isBounded: gi,
34201
34201
  isNegative: qn,
34202
34202
  multiply: Dr,
34203
34203
  pi: Ts,
@@ -34265,16 +34265,16 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34265
34265
  schur: yh,
34266
34266
  subset: Ot,
34267
34267
  subtract: kr,
34268
- transpose: gi,
34268
+ transpose: yi,
34269
34269
  typed: W
34270
34270
  }), n6 = /* @__PURE__ */ Q3({
34271
34271
  matrix: Ce,
34272
34272
  multiply: Dr,
34273
34273
  sylvester: bh,
34274
- transpose: gi,
34274
+ transpose: yi,
34275
34275
  typed: W
34276
- }), Ua = {}, xi = {}, wh = {}, mt = uS({
34277
- mathWithTransform: xi
34276
+ }), Ua = {}, Di = {}, wh = {}, mt = uS({
34277
+ mathWithTransform: Di
34278
34278
  }), ka = RS({
34279
34279
  Node: mt
34280
34280
  }), yn = PS({
@@ -34305,7 +34305,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34305
34305
  typed: W
34306
34306
  }), Ln = MS({
34307
34307
  Node: mt,
34308
- isBounded: hi
34308
+ isBounded: gi
34309
34309
  }), Ga = OS({
34310
34310
  Node: mt,
34311
34311
  size: Zr
@@ -34362,8 +34362,8 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34362
34362
  OperatorNode: yn,
34363
34363
  SymbolNode: Un,
34364
34364
  config: be,
34365
- isBounded: hi,
34366
- mathWithTransform: xi,
34365
+ isBounded: gi,
34366
+ mathWithTransform: Di,
34367
34367
  matrix: Ce,
34368
34368
  typed: W
34369
34369
  }), o6 = XS({
@@ -34398,7 +34398,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34398
34398
  typed: W
34399
34399
  }), s6 = _3({
34400
34400
  Help: Mh,
34401
- mathWithTransform: xi,
34401
+ mathWithTransform: Di,
34402
34402
  typed: W
34403
34403
  }), Wo = xB({
34404
34404
  AccessorNode: Ha,
@@ -34458,7 +34458,7 @@ var TR = "max", FR = ["typed", "config", "numeric", "larger", "isNaN"], OR = /*
34458
34458
  divide: it,
34459
34459
  equal: xt,
34460
34460
  isZero: kt,
34461
- mathWithTransform: xi,
34461
+ mathWithTransform: Di,
34462
34462
  matrix: Ce,
34463
34463
  multiply: Dr,
34464
34464
  parse: Kt,
@@ -34523,11 +34523,11 @@ Ur(Ua, {
34523
34523
  filter: fI,
34524
34524
  flatten: ta,
34525
34525
  forEach: mI,
34526
- format: di,
34526
+ format: hi,
34527
34527
  getMatrixDataType: iu,
34528
34528
  hex: vI,
34529
34529
  im: ou,
34530
- isBounded: hi,
34530
+ isBounded: gi,
34531
34531
  isNaN: pn,
34532
34532
  isNumeric: na,
34533
34533
  isPrime: pI,
@@ -34581,7 +34581,7 @@ Ur(Ua, {
34581
34581
  sqrt: Xt,
34582
34582
  squeeze: GI,
34583
34583
  tanh: HI,
34584
- transpose: gi,
34584
+ transpose: yi,
34585
34585
  xgcd: Vd,
34586
34586
  zeros: at,
34587
34587
  acoth: WI,
@@ -34595,7 +34595,7 @@ Ur(Ua, {
34595
34595
  identity: zn,
34596
34596
  isInteger: dt,
34597
34597
  kron: jI,
34598
- mapSlices: li,
34598
+ mapSlices: ci,
34599
34599
  matrixFromColumns: fu,
34600
34600
  num: XI,
34601
34601
  reshape: Hd,
@@ -34604,7 +34604,7 @@ Ur(Ua, {
34604
34604
  bernoulli: QI,
34605
34605
  cbrt: Wd,
34606
34606
  concat: xr,
34607
- deepEqual: yi,
34607
+ deepEqual: bi,
34608
34608
  dotMultiply: KI,
34609
34609
  floor: Yd,
34610
34610
  gcd: e8,
@@ -34660,7 +34660,7 @@ Ur(Ua, {
34660
34660
  compareNatural: sn,
34661
34661
  cumsum: C8,
34662
34662
  det: nh,
34663
- dotDivide: bi,
34663
+ dotDivide: wi,
34664
34664
  index: ah,
34665
34665
  inv: sa,
34666
34666
  log1p: M8,
@@ -34704,7 +34704,7 @@ Ur(Ua, {
34704
34704
  deuteronMass: rP,
34705
34705
  eigs: fh,
34706
34706
  electronMass: tP,
34707
- factorial: wi,
34707
+ factorial: xi,
34708
34708
  fermiCoupling: nP,
34709
34709
  gasConstant: aP,
34710
34710
  gravity: iP,
@@ -34786,7 +34786,7 @@ Ur(Ua, {
34786
34786
  lyap: n6,
34787
34787
  config: be
34788
34788
  });
34789
- Ur(xi, Ua, {
34789
+ Ur(Di, Ua, {
34790
34790
  map: CR({
34791
34791
  typed: W
34792
34792
  }),
@@ -34829,7 +34829,7 @@ Ur(xi, Ua, {
34829
34829
  typed: W
34830
34830
  }),
34831
34831
  nullish: x5({
34832
- deepEqual: yi,
34832
+ deepEqual: bi,
34833
34833
  flatten: ta,
34834
34834
  matrix: Ce,
34835
34835
  size: Zr,
@@ -34927,7 +34927,7 @@ Ur(xi, Ua, {
34927
34927
  add: hr,
34928
34928
  divide: it,
34929
34929
  isNaN: pn,
34930
- mapSlices: li,
34930
+ mapSlices: ci,
34931
34931
  multiply: Dr,
34932
34932
  subtract: kr,
34933
34933
  typed: W
@@ -34939,7 +34939,7 @@ Ur(xi, Ua, {
34939
34939
  divide: it,
34940
34940
  isInteger: dt,
34941
34941
  larger: ht,
34942
- mapSlices: li,
34942
+ mapSlices: ci,
34943
34943
  multiply: Dr,
34944
34944
  partitionSelect: Go,
34945
34945
  smaller: gt,
@@ -35816,7 +35816,7 @@ class xa {
35816
35816
  return null;
35817
35817
  const a = e[(u = this.Parent) == null ? void 0 : u.Tablename], i = Object.keys(a);
35818
35818
  for (let p = 0; p < i.length; p++) {
35819
- const d = i[p], y = a[d].Type, w = a[d].Alias ?? d;
35819
+ const d = i[p], y = a[d].Type, w = a[d].AliasExport ?? d;
35820
35820
  let D = this.Record[d], h = null;
35821
35821
  switch (y == null ? void 0 : y.toLowerCase()) {
35822
35822
  case "date": {
@@ -36288,13 +36288,16 @@ class Th {
36288
36288
  }, {});
36289
36289
  }
36290
36290
  }
36291
- class Di {
36291
+ class Wa {
36292
36292
  static hasKey(e) {
36293
36293
  return this.getFromSessionStorage(e) != null;
36294
36294
  }
36295
36295
  static getFromSessionStorage(e) {
36296
36296
  return localStorage.getItem(e);
36297
36297
  }
36298
+ static deleteFromSessionStorage(e) {
36299
+ return localStorage.removeItem(e);
36300
+ }
36298
36301
  static setToSessionStorage(e, t) {
36299
36302
  typeof t == "object" && (t = JSON.stringify(t)), localStorage.setItem(e, t);
36300
36303
  }
@@ -36980,14 +36983,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
36980
36983
  L.isUndefined(pr) && Re !== Ae || (te[Fe] = pr);
36981
36984
  }), te;
36982
36985
  }
36983
- var Wa = "1.4.0", Ya = {};
36986
+ var Ya = "1.4.0", Za = {};
36984
36987
  ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(B, Z) {
36985
- Ya[B] = function(te) {
36988
+ Za[B] = function(te) {
36986
36989
  return r(te) === B || "a" + (Z < 1 ? "n " : " ") + B;
36987
36990
  };
36988
36991
  });
36989
36992
  var Ni = {};
36990
- Ya.transitional = function(B, Z, te) {
36993
+ Za.transitional = function(B, Z, te) {
36991
36994
  function ae(ce, fe) {
36992
36995
  return "[Axios v1.4.0] Transitional option '" + ce + "'" + fe + (te ? ". " + te : "");
36993
36996
  }
@@ -36996,7 +36999,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
36996
36999
  return Z && !Ni[fe] && (Ni[fe] = !0, console.warn(ae(fe, " has been deprecated since v" + Z + " and will be removed in the near future"))), !B || B(ce, fe, ge);
36997
37000
  };
36998
37001
  };
36999
- var Za = { assertOptions: function(B, Z, te) {
37002
+ var Ja = { assertOptions: function(B, Z, te) {
37000
37003
  if (r(B) !== "object") throw new $("options must be an object", $.ERR_BAD_OPTION_VALUE);
37001
37004
  for (var ae = Object.keys(B), ce = ae.length; ce-- > 0; ) {
37002
37005
  var fe = ae[ce], ge = Z[fe];
@@ -37005,14 +37008,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
37005
37008
  if (Ee !== !0) throw new $("option " + fe + " must be " + Ee, $.ERR_BAD_OPTION_VALUE);
37006
37009
  } else if (te !== !0) throw new $("Unknown option " + fe, $.ERR_BAD_OPTION);
37007
37010
  }
37008
- }, validators: Ya }, en = Za.validators, la = function() {
37011
+ }, validators: Za }, en = Ja.validators, la = function() {
37009
37012
  function B(Z) {
37010
37013
  e(this, B), this.defaults = Z, this.interceptors = { request: new Le(), response: new Le() };
37011
37014
  }
37012
37015
  return n(B, [{ key: "request", value: function(Z, te) {
37013
37016
  typeof Z == "string" ? (te = te || {}).url = Z : te = Z || {};
37014
37017
  var ae, ce = te = St(this.defaults, te), fe = ce.transitional, ge = ce.paramsSerializer, Ae = ce.headers;
37015
- fe !== void 0 && Za.assertOptions(fe, { silentJSONParsing: en.transitional(en.boolean), forcedJSONParsing: en.transitional(en.boolean), clarifyTimeoutError: en.transitional(en.boolean) }, !1), ge != null && (L.isFunction(ge) ? te.paramsSerializer = { serialize: ge } : Za.assertOptions(ge, { encode: en.function, serialize: en.function }, !0)), te.method = (te.method || this.defaults.method || "get").toLowerCase(), (ae = Ae && L.merge(Ae.common, Ae[te.method])) && L.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function(Or) {
37018
+ fe !== void 0 && Ja.assertOptions(fe, { silentJSONParsing: en.transitional(en.boolean), forcedJSONParsing: en.transitional(en.boolean), clarifyTimeoutError: en.transitional(en.boolean) }, !1), ge != null && (L.isFunction(ge) ? te.paramsSerializer = { serialize: ge } : Ja.assertOptions(ge, { encode: en.function, serialize: en.function }, !0)), te.method = (te.method || this.defaults.method || "get").toLowerCase(), (ae = Ae && L.merge(Ae.common, Ae[te.method])) && L.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function(Or) {
37016
37019
  delete Ae[Or];
37017
37020
  }), te.headers = ye.concat(ae, Ae);
37018
37021
  var Ee = [], Fe = !0;
@@ -37102,18 +37105,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
37102
37105
  Z = te;
37103
37106
  }), cancel: Z };
37104
37107
  } }]), B;
37105
- }(), Ja = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 };
37106
- Object.entries(Ja).forEach(function(B) {
37108
+ }(), ja = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 };
37109
+ Object.entries(ja).forEach(function(B) {
37107
37110
  var Z = a(B, 2), te = Z[0], ae = Z[1];
37108
- Ja[ae] = te;
37111
+ ja[ae] = te;
37109
37112
  });
37110
- var Zo = Ja, zr = function B(Z) {
37113
+ var Zo = ja, zr = function B(Z) {
37111
37114
  var te = new ca(Z), ae = o(ca.prototype.request, te);
37112
37115
  return L.extend(ae, ca.prototype, te, { allOwnKeys: !0 }), L.extend(ae, te, null, { allOwnKeys: !0 }), ae.create = function(ce) {
37113
37116
  return B(St(Z, ce));
37114
37117
  }, ae;
37115
37118
  }(Q);
37116
- return zr.Axios = ca, zr.CanceledError = dr, zr.CancelToken = Yo, zr.isCancel = lr, zr.VERSION = Wa, zr.toFormData = re, zr.AxiosError = $, zr.Cancel = zr.CanceledError, zr.all = function(B) {
37119
+ return zr.Axios = ca, zr.CanceledError = dr, zr.CancelToken = Yo, zr.isCancel = lr, zr.VERSION = Ya, zr.toFormData = re, zr.AxiosError = $, zr.Cancel = zr.CanceledError, zr.all = function(B) {
37117
37120
  return Promise.all(B);
37118
37121
  }, zr.spread = function(B) {
37119
37122
  return function(Z) {
@@ -37580,19 +37583,19 @@ const h6 = async (r, e) => {
37580
37583
  Vr.call(t, n).done(function(a) {
37581
37584
  return e != null && e(a), a;
37582
37585
  }).post(Cu());
37583
- }, x6 = async (r, e) => {
37586
+ }, D6 = async (r, e) => {
37584
37587
  Vr.config = {}, Vr.config.url = r + "/json.rpc", Vr.config.cors = !0;
37585
37588
  var t = "EOLN.GetNewEditObj", n = {};
37586
37589
  Vr.call(t, n).done(function(a) {
37587
- return e != null && e(a), a;
37590
+ return e != null && (g6(), e(a)), a;
37588
37591
  }).post(Cu());
37589
- }, D6 = async (r, e, t, n, a) => {
37592
+ }, N6 = async (r, e, t, n, a) => {
37590
37593
  Vr.config = {}, Vr.config.url = r + "/json.rpc", Vr.config.cors = !0;
37591
37594
  var i = "GEI.CreateXML", o = { Legislation: e, Version: t, InputObj: Fh(n) };
37592
37595
  Vr.call(i, o).done(function(l) {
37593
37596
  return a != null && a(l), l;
37594
37597
  }).post(Cu());
37595
- }, N6 = (r, e) => {
37598
+ }, E6 = (r, e) => {
37596
37599
  r.Invoice == null && (r.Invoice = r), console.log("Edit obj:"), console.log(r);
37597
37600
  var t = Fh(r);
37598
37601
  console.log("Tech obj:"), console.log(t);
@@ -37600,14 +37603,16 @@ const h6 = async (r, e) => {
37600
37603
  n.Evaluate() || console.log("Errors:");
37601
37604
  const a = n.getAliasObject();
37602
37605
  console.log("Aliased obj:"), console.log(a);
37603
- const i = y6(a, r);
37606
+ const i = b6(a, r);
37604
37607
  console.log("Edit obj new:"), console.log(i);
37605
37608
  var o = n.getViewObject();
37606
- return console.log("View obj:"), console.log(o), Di.setToSessionStorage("ViewObject", o), i;
37607
- }, E6 = () => {
37608
- var r = Di.getFromSessionStorage("ViewObject");
37609
+ return console.log("View obj:"), console.log(o), Wa.setToSessionStorage("ViewObject", o), i;
37610
+ }, g6 = () => {
37611
+ Wa.deleteFromSessionStorage("ViewObject");
37612
+ }, A6 = () => {
37613
+ var r = Wa.getFromSessionStorage("ViewObject");
37609
37614
  return r != null ? JSON.parse(r) : null;
37610
- }, A6 = (r) => {
37615
+ }, S6 = (r) => {
37611
37616
  var e = Au("Invoice", r);
37612
37617
  return e;
37613
37618
  }, Au = (r, e) => {
@@ -37622,9 +37627,9 @@ const h6 = async (r, e) => {
37622
37627
  }
37623
37628
  t = n;
37624
37629
  } else
37625
- t = g6(r, e);
37630
+ t = y6(r, e);
37626
37631
  return t;
37627
- }, g6 = (r, e) => {
37632
+ }, y6 = (r, e) => {
37628
37633
  var t = {};
37629
37634
  if (e._details != null) {
37630
37635
  var n = e._details, a = Object.keys(n), i = {};
@@ -37668,7 +37673,7 @@ const h6 = async (r, e) => {
37668
37673
  }
37669
37674
  }
37670
37675
  return Object.keys(t).length == 0 ? null : t;
37671
- }, y6 = (r, e) => {
37676
+ }, b6 = (r, e) => {
37672
37677
  var t = Su("Invoice", r.Invoice, e.Invoice);
37673
37678
  return t;
37674
37679
  }, Su = (r, e, t) => {
@@ -37683,9 +37688,9 @@ const h6 = async (r, e) => {
37683
37688
  }
37684
37689
  n = a;
37685
37690
  } else
37686
- n = b6(r, e, t);
37691
+ n = w6(r, e, t);
37687
37692
  return n;
37688
- }, b6 = (r, e, t) => {
37693
+ }, w6 = (r, e, t) => {
37689
37694
  var n = {};
37690
37695
  if (e._details != null) {
37691
37696
  var a = e._details, i = t._details ?? {}, o = Object.keys(a), l = {};
@@ -37725,36 +37730,36 @@ const h6 = async (r, e) => {
37725
37730
  }
37726
37731
  e[n] = r[n].Value;
37727
37732
  }), e;
37728
- }, S6 = (r, e) => {
37729
- var t = Di.getFromSessionStorage("ClientInfo");
37733
+ }, C6 = (r, e) => {
37734
+ var t = Wa.getFromSessionStorage("ClientInfo");
37730
37735
  if (t == null) {
37731
37736
  var n = (i) => {
37732
- i.result != null ? i.result.Status == "OK" ? (w6(i.result.Result), e(i.result.Result)) : console.error("Error getting client info from server: " + i.result.Reason) : console.error("Error getting client info from server:" + i.error.data);
37737
+ i.result != null ? i.result.Status == "OK" ? (x6(i.result.Result), e(i.result.Result)) : console.error("Error getting client info from server: " + i.result.Reason) : console.error("Error getting client info from server:" + i.error.data);
37733
37738
  };
37734
37739
  h6(r, n);
37735
37740
  } else {
37736
37741
  var a = JSON.parse(t);
37737
37742
  e(a);
37738
37743
  }
37739
- }, C6 = () => {
37740
- var r = Di.getFromSessionStorage("ClientInfo");
37744
+ }, M6 = () => {
37745
+ var r = Wa.getFromSessionStorage("ClientInfo");
37741
37746
  if (r != null)
37742
37747
  return JSON.parse(r);
37743
37748
  throw new Error("Client info not found in session storage");
37744
- }, w6 = (r) => {
37745
- Di.setToSessionStorage("ClientInfo", r);
37749
+ }, x6 = (r) => {
37750
+ Wa.setToSessionStorage("ClientInfo", r);
37746
37751
  }, Cu = () => Vr.context().onRpcError(function(r) {
37747
37752
  }).onDefaultApiError(function(r) {
37748
37753
  }).onDefaultApiSuccess(function(r) {
37749
37754
  });
37750
37755
  export {
37751
- N6 as evaluateEdit,
37756
+ E6 as evaluateEdit,
37752
37757
  Fh as fromEditToTech,
37753
- A6 as fromEditToView,
37754
- D6 as generateXMLFromServer,
37755
- S6 as getClientInfo,
37758
+ S6 as fromEditToView,
37759
+ N6 as generateXMLFromServer,
37760
+ C6 as getClientInfo,
37756
37761
  h6 as getClientInfoFromServer,
37757
- C6 as getClientInfoInternal,
37758
- x6 as getEditNewFromServer,
37759
- E6 as getViewObject
37762
+ M6 as getClientInfoInternal,
37763
+ D6 as getEditNewFromServer,
37764
+ A6 as getViewObject
37760
37765
  };