@sheetxl/formulas 0.7.28-beta.3 → 0.8.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/browser/cjs/index.cjs +1 -1
- package/browser/esm/{-K3H4uuFynImIzaZ.mjs → -f-RKKojiLg94hp9.mjs} +1 -1
- package/browser/esm/{BEcbx0ePT8A6OjyJ.mjs → 0amsHACCOHE_JjXI.mjs} +1 -1
- package/browser/esm/{CHfLioI7aeuBiog7.mjs → B3pEie3jQN0SvV5B.mjs} +1 -1
- package/{node/esm/Cy5JRFfnImDAp0Ll.mjs → browser/esm/B7750ljsJF3qA9kU.mjs} +1 -1
- package/browser/esm/{B6rygD_RAHNXcOAb.mjs → BM1YhvA2ppUZ3QLB.mjs} +1 -1
- package/browser/esm/{BlqScy7PLzA3TJWD.mjs → BR2ai1V5dGPphpRf.mjs} +1 -1
- package/browser/esm/{tRrV1IMjoctvX4ZH.mjs → BYRjnggsufwbb27W.mjs} +1 -1
- package/browser/esm/{od91bpLi591BCMYw.mjs → Bsb5i9Jq-Q8RTmvi.mjs} +1 -1
- package/browser/esm/{B3UCYNFvj_EjJphm.mjs → BzNFsi4RXuJrn_1n.mjs} +1 -1
- package/browser/esm/{B8wDjOEoDr9y2rBc.mjs → C7mAHEhFYDwSEU6O.mjs} +1 -1
- package/browser/esm/{DMcqvOS9dt8YgeTi.mjs → C9jpXFBeugwmOTbx.mjs} +1 -1
- package/browser/esm/{BDqiJ8pkk7cc_o9u.mjs → CCGjvL3YYwY09qF-.mjs} +1 -1
- package/{node/esm/BmmkpHOZkUEBeAyW.mjs → browser/esm/CG1Fn8D-2DrQZoD5.mjs} +1 -1
- package/browser/esm/{C75Qbz3eEqNXEhpL.mjs → CVv3DuciDQrnFFeu.mjs} +1 -1
- package/browser/esm/{CDZHVK66T1WYATSp.mjs → CWAtVXxcIz86XLzE.mjs} +1 -1
- package/browser/esm/{BghB7zHcCqFgdw90.mjs → Cdl7ZalV6WPZHHRE.mjs} +1 -1
- package/browser/esm/{DOUIWQ7CkAL8H3TI.mjs → CkG4LZN-kb7plKXG.mjs} +1 -1
- package/{node/esm/Dnec7DXcVTbiXqmG.mjs → browser/esm/CltdofO5ik8g_wQ8.mjs} +1 -1
- package/{node/esm/CwRS0LJWcQtYVRc8.mjs → browser/esm/Crb70T1Sp1S4uzq4.mjs} +1 -1
- package/{node/esm/B6y-wWIovFMjN5tD.mjs → browser/esm/Ct1gudv1TKk-5FMO.mjs} +1 -1
- package/{node/esm/Bl0eYznrlnTAaweo.mjs → browser/esm/Cyvobf2wi0quDD3U.mjs} +1 -1
- package/browser/esm/{B9-TE-YYGCaJ-yME.mjs → D2miaIrotHbpdWei.mjs} +1 -1
- package/browser/esm/{l-wX1u0rFT9w8qf4.mjs → DKFABgVKeBMflym9.mjs} +1 -1
- package/{node/esm/CJcU813BPMqm5rOx.mjs → browser/esm/DtqLXxtPFISlNoUd.mjs} +1 -1
- package/{node/esm/CitESUUMpeNocyom.mjs → browser/esm/HgVmqQQhKQ_2v0HD.mjs} +1 -1
- package/browser/esm/index.mjs +1048 -1032
- package/node/esm/{-K3H4uuFynImIzaZ.mjs → -f-RKKojiLg94hp9.mjs} +1 -1
- package/node/esm/{BSC7kpdD1DnC5HDg.mjs → 2TCIoMd-SYs6i4-N.mjs} +1 -1
- package/{browser/esm/Cy5JRFfnImDAp0Ll.mjs → node/esm/B7750ljsJF3qA9kU.mjs} +1 -1
- package/node/esm/{D4U0YPOGduCwF-01.mjs → B8rSUcOwH6g4MUgm.mjs} +1 -1
- package/node/esm/{BlqScy7PLzA3TJWD.mjs → BR2ai1V5dGPphpRf.mjs} +1 -1
- package/node/esm/{B3UCYNFvj_EjJphm.mjs → BzNFsi4RXuJrn_1n.mjs} +1 -1
- package/node/esm/{B8wDjOEoDr9y2rBc.mjs → C7mAHEhFYDwSEU6O.mjs} +1 -1
- package/node/esm/{DMcqvOS9dt8YgeTi.mjs → C9jpXFBeugwmOTbx.mjs} +1 -1
- package/node/esm/{BDqiJ8pkk7cc_o9u.mjs → CCGjvL3YYwY09qF-.mjs} +1 -1
- package/{browser/esm/BmmkpHOZkUEBeAyW.mjs → node/esm/CG1Fn8D-2DrQZoD5.mjs} +1 -1
- package/node/esm/{C75Qbz3eEqNXEhpL.mjs → CVv3DuciDQrnFFeu.mjs} +1 -1
- package/node/esm/{CDZHVK66T1WYATSp.mjs → CWAtVXxcIz86XLzE.mjs} +1 -1
- package/node/esm/{BghB7zHcCqFgdw90.mjs → Cdl7ZalV6WPZHHRE.mjs} +1 -1
- package/node/esm/{DOUIWQ7CkAL8H3TI.mjs → CkG4LZN-kb7plKXG.mjs} +1 -1
- package/{browser/esm/Dnec7DXcVTbiXqmG.mjs → node/esm/CltdofO5ik8g_wQ8.mjs} +1 -1
- package/{browser/esm/CwRS0LJWcQtYVRc8.mjs → node/esm/Crb70T1Sp1S4uzq4.mjs} +1 -1
- package/{browser/esm/B6y-wWIovFMjN5tD.mjs → node/esm/Ct1gudv1TKk-5FMO.mjs} +1 -1
- package/{browser/esm/Bl0eYznrlnTAaweo.mjs → node/esm/Cyvobf2wi0quDD3U.mjs} +1 -1
- package/node/esm/{B9-TE-YYGCaJ-yME.mjs → D2miaIrotHbpdWei.mjs} +1 -1
- package/node/esm/{BwSSmpNc_yz9k1Td.mjs → DDajoVNkJB39_Fkx.mjs} +1 -1
- package/node/esm/{l-wX1u0rFT9w8qf4.mjs → DKFABgVKeBMflym9.mjs} +1 -1
- package/{browser/esm/CJcU813BPMqm5rOx.mjs → node/esm/DtqLXxtPFISlNoUd.mjs} +1 -1
- package/node/esm/{B2aMDwqSRk2dNVyP.mjs → DxRD19RVMzj2YvKF.mjs} +1 -1
- package/{browser/esm/CitESUUMpeNocyom.mjs → node/esm/HgVmqQQhKQ_2v0HD.mjs} +1 -1
- package/node/esm/{CYv-b3CPx4IESjrY.mjs → ZUay0bTGgyrF8e04.mjs} +1 -1
- package/node/esm/index.mjs +1090 -1074
- package/package.json +3 -3
- package/types/src/_utils/AggregateIFS.d.ts +2 -2
- package/types/src/_utils/Errors.d.ts +1 -1
- package/types/src/information/Information.d.ts +6 -6
- package/types/src/lookupReference/Reference.d.ts +4 -4
- package/types/src/mathTrig/Math.d.ts +6 -3
package/browser/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.1
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -4568,13 +4568,13 @@ function hn(n, r) {
|
|
|
4568
4568
|
});
|
|
4569
4569
|
break;
|
|
4570
4570
|
case "col":
|
|
4571
|
-
i = r.getCoords().colStart + 1;
|
|
4571
|
+
r.getValueAt(0, 0), i = r.getCoords().colStart + 1;
|
|
4572
4572
|
break;
|
|
4573
4573
|
case "contents":
|
|
4574
4574
|
i = r.getValueAt(0, 0);
|
|
4575
4575
|
break;
|
|
4576
4576
|
case "row":
|
|
4577
|
-
i = r.getCoords().rowStart + 1;
|
|
4577
|
+
r.getValueAt(0, 0), i = r.getCoords().rowStart + 1;
|
|
4578
4578
|
break;
|
|
4579
4579
|
case "type":
|
|
4580
4580
|
let o = r.getValueAt(0, 0);
|
|
@@ -4615,7 +4615,7 @@ function yn(t) {
|
|
|
4615
4615
|
}
|
|
4616
4616
|
}
|
|
4617
4617
|
function bn(e) {
|
|
4618
|
-
return typeof e == "string" && (
|
|
4618
|
+
return typeof e == "string" && (e.length > 7 && e.substring(0, 7).toLowerCase() === "mailto:" ? !/\s/.test(e) : /^[^\s@]+@[^\s@]+\.[^\s@]+$/i.test(e));
|
|
4619
4619
|
}
|
|
4620
4620
|
function xn(e) {
|
|
4621
4621
|
return t.isError(e) && !(e instanceof t.NA);
|
|
@@ -4630,7 +4630,7 @@ function Cn(e) {
|
|
|
4630
4630
|
}
|
|
4631
4631
|
function wn(t) {
|
|
4632
4632
|
let n = t.getCoords(), r = n.scope ?? void 0;
|
|
4633
|
-
return t.
|
|
4633
|
+
return e.createRange(t.getRowCount(), t.getColumnCount(), (t, i) => e.getFormulaAt(n.rowStart + i.rowIndex, n.colStart + i.colIndex, r) !== null);
|
|
4634
4634
|
}
|
|
4635
4635
|
function Tn(e) {
|
|
4636
4636
|
return typeof e == "boolean";
|
|
@@ -4716,6 +4716,18 @@ function F(t, n, r, i, a) {
|
|
|
4716
4716
|
let o = null;
|
|
4717
4717
|
r && (o = e.getResizedReference(r.getCoords(), t.getRowCount(), t.getColumnCount()));
|
|
4718
4718
|
let s = e.createCriteria(n), c = s(null);
|
|
4719
|
+
if (o && !c) {
|
|
4720
|
+
let e = 0, n = t.entries(), r = n.next();
|
|
4721
|
+
for (; !r.done;) {
|
|
4722
|
+
let t = r.value;
|
|
4723
|
+
if (s(t.value)) {
|
|
4724
|
+
let n = t.coords;
|
|
4725
|
+
e = i(e, o.getValueAt(n.rowIndex, n.colIndex) ?? null);
|
|
4726
|
+
}
|
|
4727
|
+
r = n.next();
|
|
4728
|
+
}
|
|
4729
|
+
return e;
|
|
4730
|
+
}
|
|
4719
4731
|
return t.alignReduce(o ? [o] : [], (e, t) => s(t[0]) ? i(e, (o ? t[1] : t[0]) ?? null) : e, 0, c ? { emptyFold: a ?? ((e, t) => function(e, t, n) {
|
|
4720
4732
|
let r = e(t, null);
|
|
4721
4733
|
if (n === 1) return r;
|
|
@@ -4776,15 +4788,7 @@ function Xn() {
|
|
|
4776
4788
|
return !1;
|
|
4777
4789
|
}
|
|
4778
4790
|
function Zn(e) {
|
|
4779
|
-
|
|
4780
|
-
for (let i of e) {
|
|
4781
|
-
let e = i.entries({
|
|
4782
|
-
axis: n.Axis.Row,
|
|
4783
|
-
includeEmpty: !0
|
|
4784
|
-
}), a = e.next();
|
|
4785
|
-
for (; !a.done;) t.pushAt(r++, 0, a.value.value), a = e.next();
|
|
4786
|
-
}
|
|
4787
|
-
return t.build();
|
|
4791
|
+
return e.map((e) => e.flatten()).reduce((e, t) => e.concat(t));
|
|
4788
4792
|
}
|
|
4789
4793
|
function Qn(e, t, n = !1) {
|
|
4790
4794
|
return e ? t : n;
|
|
@@ -4899,53 +4903,53 @@ var gr = p({ PIVOTBY: () => _r });
|
|
|
4899
4903
|
function _r(e, n, r, i, a, o = 2, s, c = 2, l, u, d = 0) {
|
|
4900
4904
|
throw t.BuiltIn.NA;
|
|
4901
4905
|
}
|
|
4902
|
-
var
|
|
4906
|
+
var vr = Object.freeze({ includeEmpty: !0 }), L = Object.freeze({ axis: n.Axis.Column }), R = Object.freeze({ axis: n.Axis.Row }), yr = (Object.freeze({
|
|
4903
4907
|
type: i.Number,
|
|
4904
4908
|
axis: n.Axis.Column
|
|
4905
4909
|
}), p({
|
|
4906
|
-
ADDRESS: () =>
|
|
4907
|
-
AREAS: () =>
|
|
4908
|
-
ARRAYFORMULA: () =>
|
|
4909
|
-
ARRAY_CONSTRAIN: () =>
|
|
4910
|
-
CHOOSE: () =>
|
|
4911
|
-
CHOOSECOLS: () =>
|
|
4912
|
-
CHOOSEROWS: () =>
|
|
4913
|
-
COLUMN: () =>
|
|
4914
|
-
COLUMNS: () =>
|
|
4915
|
-
DROP: () =>
|
|
4916
|
-
EXPAND: () =>
|
|
4917
|
-
FIELDVALUE: () =>
|
|
4918
|
-
FILTER: () =>
|
|
4919
|
-
FORMULATEXT: () =>
|
|
4920
|
-
GETPIVOTDATA: () =>
|
|
4921
|
-
HLOOKUP: () =>
|
|
4922
|
-
HSTACK: () =>
|
|
4923
|
-
HYPERLINK: () =>
|
|
4924
|
-
IMAGE: () =>
|
|
4925
|
-
INDEX: () =>
|
|
4926
|
-
INDIRECT: () =>
|
|
4927
|
-
LOOKUP: () =>
|
|
4928
|
-
MATCH: () =>
|
|
4929
|
-
OFFSET: () =>
|
|
4930
|
-
ROW: () =>
|
|
4931
|
-
ROWS: () =>
|
|
4932
|
-
RTD: () =>
|
|
4933
|
-
SORT: () =>
|
|
4934
|
-
SORTBY: () =>
|
|
4935
|
-
TAKE: () =>
|
|
4936
|
-
TOCOL: () =>
|
|
4937
|
-
TOROW: () =>
|
|
4938
|
-
TRANSPOSE: () =>
|
|
4939
|
-
TRIMRANGE: () =>
|
|
4940
|
-
UNIQUE: () =>
|
|
4941
|
-
VLOOKUP: () =>
|
|
4942
|
-
VSTACK: () =>
|
|
4943
|
-
WRAPCOLS: () =>
|
|
4944
|
-
WRAPROWS: () =>
|
|
4945
|
-
XLOOKUP: () =>
|
|
4946
|
-
XMATCH: () =>
|
|
4910
|
+
ADDRESS: () => br,
|
|
4911
|
+
AREAS: () => xr,
|
|
4912
|
+
ARRAYFORMULA: () => Cr,
|
|
4913
|
+
ARRAY_CONSTRAIN: () => Sr,
|
|
4914
|
+
CHOOSE: () => wr,
|
|
4915
|
+
CHOOSECOLS: () => Tr,
|
|
4916
|
+
CHOOSEROWS: () => Er,
|
|
4917
|
+
COLUMN: () => Dr,
|
|
4918
|
+
COLUMNS: () => Or,
|
|
4919
|
+
DROP: () => kr,
|
|
4920
|
+
EXPAND: () => Ar,
|
|
4921
|
+
FIELDVALUE: () => jr,
|
|
4922
|
+
FILTER: () => Nr,
|
|
4923
|
+
FORMULATEXT: () => Pr,
|
|
4924
|
+
GETPIVOTDATA: () => Fr,
|
|
4925
|
+
HLOOKUP: () => Ir,
|
|
4926
|
+
HSTACK: () => Lr,
|
|
4927
|
+
HYPERLINK: () => Rr,
|
|
4928
|
+
IMAGE: () => zr,
|
|
4929
|
+
INDEX: () => Br,
|
|
4930
|
+
INDIRECT: () => Vr,
|
|
4931
|
+
LOOKUP: () => Hr,
|
|
4932
|
+
MATCH: () => Ur,
|
|
4933
|
+
OFFSET: () => Wr,
|
|
4934
|
+
ROW: () => Gr,
|
|
4935
|
+
ROWS: () => Kr,
|
|
4936
|
+
RTD: () => qr,
|
|
4937
|
+
SORT: () => Jr,
|
|
4938
|
+
SORTBY: () => Qr,
|
|
4939
|
+
TAKE: () => $r,
|
|
4940
|
+
TOCOL: () => ei,
|
|
4941
|
+
TOROW: () => ti,
|
|
4942
|
+
TRANSPOSE: () => ni,
|
|
4943
|
+
TRIMRANGE: () => ri,
|
|
4944
|
+
UNIQUE: () => ii,
|
|
4945
|
+
VLOOKUP: () => ai,
|
|
4946
|
+
VSTACK: () => oi,
|
|
4947
|
+
WRAPCOLS: () => si,
|
|
4948
|
+
WRAPROWS: () => ci,
|
|
4949
|
+
XLOOKUP: () => li,
|
|
4950
|
+
XMATCH: () => ui
|
|
4947
4951
|
}));
|
|
4948
|
-
function
|
|
4952
|
+
function br(n, r, i = 1, a = !0, o) {
|
|
4949
4953
|
if (n < 1 || r < 1 || i < 1 || i > 4) throw t.BuiltIn.Value;
|
|
4950
4954
|
let s = {
|
|
4951
4955
|
$colIndex: i === 1 || i === 3,
|
|
@@ -4956,10 +4960,10 @@ function xr(n, r, i = 1, a = !0, o) {
|
|
|
4956
4960
|
}, c = e.getAddress(s, !a);
|
|
4957
4961
|
return o === "" ? "!" + c : c;
|
|
4958
4962
|
}
|
|
4959
|
-
function
|
|
4963
|
+
function xr(e) {
|
|
4960
4964
|
return e.length;
|
|
4961
4965
|
}
|
|
4962
|
-
function
|
|
4966
|
+
function Sr(e, n, r) {
|
|
4963
4967
|
return n < 0 || r < 0 ? t.BuiltIn.Num : (n = Math.trunc(n), r = Math.trunc(r), n < 1 || r < 1 ? t.BuiltIn.Ref : e.slice({
|
|
4964
4968
|
rowStart: 0,
|
|
4965
4969
|
colStart: 0,
|
|
@@ -4967,17 +4971,17 @@ function Cr(e, n, r) {
|
|
|
4967
4971
|
colEnd: Math.min(r, e.getColumnCount()) - 1
|
|
4968
4972
|
}));
|
|
4969
4973
|
}
|
|
4970
|
-
function
|
|
4974
|
+
function Cr(e) {
|
|
4971
4975
|
return e;
|
|
4972
4976
|
}
|
|
4973
|
-
function
|
|
4977
|
+
function wr(e, n) {
|
|
4974
4978
|
let r = n.length;
|
|
4975
4979
|
if (r < 1 || r > 254) throw t.BuiltIn.Value;
|
|
4976
4980
|
let i = Math.trunc(e);
|
|
4977
4981
|
if (i < 1 || i > r) throw t.BuiltIn.Value;
|
|
4978
4982
|
return n[i - 1];
|
|
4979
4983
|
}
|
|
4980
|
-
function
|
|
4984
|
+
function Tr(e, r) {
|
|
4981
4985
|
let i = e.getColumnCount(), a = r.map((e) => {
|
|
4982
4986
|
if (e === 0) throw t.BuiltIn.Value;
|
|
4983
4987
|
let n = Math.trunc(e > 0 ? e - 1 : i + e);
|
|
@@ -4986,7 +4990,7 @@ function Er(e, r) {
|
|
|
4986
4990
|
});
|
|
4987
4991
|
return e.take(a, n.Axis.Column);
|
|
4988
4992
|
}
|
|
4989
|
-
function
|
|
4993
|
+
function Er(e, r) {
|
|
4990
4994
|
let i = e.getRowCount(), a = r.map((e) => {
|
|
4991
4995
|
if (e === 0) throw t.BuiltIn.Value;
|
|
4992
4996
|
let n = Math.trunc(e > 0 ? e - 1 : i + e);
|
|
@@ -4995,16 +4999,16 @@ function Dr(e, r) {
|
|
|
4995
4999
|
});
|
|
4996
5000
|
return e.take(a, n.Axis.Row);
|
|
4997
5001
|
}
|
|
4998
|
-
function
|
|
5002
|
+
function Dr(t) {
|
|
4999
5003
|
if (!t) return [e.getColumn() + 1];
|
|
5000
5004
|
let n = [], r = t.getCoords(), i = r.colStart, a = r.colEnd;
|
|
5001
5005
|
for (let e = i; e <= a; e++) n.push(e + 1);
|
|
5002
5006
|
return n;
|
|
5003
5007
|
}
|
|
5004
|
-
function
|
|
5008
|
+
function Or(e) {
|
|
5005
5009
|
return e.getColumnCount();
|
|
5006
5010
|
}
|
|
5007
|
-
function
|
|
5011
|
+
function kr(e, t, n) {
|
|
5008
5012
|
let r = e.getRowCount(), i = e.getColumnCount();
|
|
5009
5013
|
n = Math.trunc(n ?? 0);
|
|
5010
5014
|
let a = (t = Math.trunc(t)) >= 0 ? t : 0, o = t >= 0 ? r - 1 : r + t - 1, s = n >= 0 ? n : 0, c = n >= 0 ? i - 1 : i + n - 1;
|
|
@@ -5015,21 +5019,21 @@ function Ar(e, t, n) {
|
|
|
5015
5019
|
colEnd: c
|
|
5016
5020
|
});
|
|
5017
5021
|
}
|
|
5018
|
-
function
|
|
5022
|
+
function Ar(e, n, r, i = t.BuiltIn.NA) {
|
|
5019
5023
|
return r = Math.trunc(r ?? e.getColumnCount()), n < e.getRowCount() || r < e.getColumnCount() ? t.BuiltIn.Value : e.resize(n, r, i);
|
|
5020
5024
|
}
|
|
5021
|
-
function
|
|
5025
|
+
function jr(e, n) {
|
|
5022
5026
|
throw t.BuiltIn.Field;
|
|
5023
5027
|
}
|
|
5024
|
-
var
|
|
5025
|
-
function
|
|
5028
|
+
var Mr = Object.freeze({ type: null });
|
|
5029
|
+
function Nr(e, r, i) {
|
|
5026
5030
|
let a = e.getRowCount(), o = e.getColumnCount(), s = r.getRowCount(), c = r.getColumnCount(), l = c === 1, u = s === 1;
|
|
5027
5031
|
if (l && s !== a || u && c !== o || !l && !u) throw t.BuiltIn.Value;
|
|
5028
5032
|
let d = -1, f = null, p = e.filter((e, n) => {
|
|
5029
5033
|
if (t.isError(e)) return e;
|
|
5030
5034
|
let i = l ? n.rowIndex : n.colIndex;
|
|
5031
5035
|
if (i === d) return f;
|
|
5032
|
-
let a = l ? r.getValueAt(i, 0,
|
|
5036
|
+
let a = l ? r.getValueAt(i, 0, Mr) : r.getValueAt(0, i, Mr);
|
|
5033
5037
|
if (t.isError(a)) throw a;
|
|
5034
5038
|
if (typeof a == "string") throw t.BuiltIn.Value;
|
|
5035
5039
|
return d = i, f = !!a, f;
|
|
@@ -5043,22 +5047,22 @@ function Pr(e, r, i) {
|
|
|
5043
5047
|
}
|
|
5044
5048
|
return p;
|
|
5045
5049
|
}
|
|
5046
|
-
function
|
|
5050
|
+
function Pr(n) {
|
|
5047
5051
|
let r = n.getCoords(), i = r.scope ?? void 0;
|
|
5048
|
-
return n.
|
|
5052
|
+
return e.createRange(n.getRowCount(), n.getColumnCount(), (n, a) => {
|
|
5049
5053
|
let o = e.getFormulaAt(r.rowStart + a.rowIndex, r.colStart + a.colIndex, i);
|
|
5050
5054
|
return o === null ? t.BuiltIn.NA : "=" + o;
|
|
5051
|
-
})
|
|
5055
|
+
});
|
|
5052
5056
|
}
|
|
5053
|
-
function
|
|
5057
|
+
function Fr(e, n, r) {
|
|
5054
5058
|
throw t.BuiltIn.Ref;
|
|
5055
5059
|
}
|
|
5056
|
-
function
|
|
5060
|
+
function Ir(e, r, i, a = !0) {
|
|
5057
5061
|
if (t.isError(e)) return e;
|
|
5058
5062
|
if (i < 1) return t.BuiltIn.Value;
|
|
5059
5063
|
if (i > r.getRowCount()) return t.BuiltIn.Ref;
|
|
5060
5064
|
if (r.size === 1) return t.BuiltIn.NA;
|
|
5061
|
-
let o = typeof e, s =
|
|
5065
|
+
let o = typeof e, s = fi(e);
|
|
5062
5066
|
if (a) {
|
|
5063
5067
|
let a = null, s = -1, c = !0, l = !1, u = r.entries({
|
|
5064
5068
|
axis: n.Axis.Row,
|
|
@@ -5072,12 +5076,12 @@ function Lr(e, r, i, a = !0) {
|
|
|
5072
5076
|
d = u.next();
|
|
5073
5077
|
continue;
|
|
5074
5078
|
}
|
|
5075
|
-
let m =
|
|
5079
|
+
let m = z(n, e);
|
|
5076
5080
|
if (c) {
|
|
5077
5081
|
a = n, s = p, c = !1, m > 0 && (l = !0), d = u.next();
|
|
5078
5082
|
continue;
|
|
5079
5083
|
}
|
|
5080
|
-
let h =
|
|
5084
|
+
let h = z(a, e);
|
|
5081
5085
|
if (m > 0 && (l = !0), h > 0 && m > 0) return t.BuiltIn.NA;
|
|
5082
5086
|
if (l && h === 0 && m < 0 || a != null && m > 0 && h <= 0) return r.getValueAt(i - 1, s) ?? t.BuiltIn.NA;
|
|
5083
5087
|
a = n, s = p, d = u.next();
|
|
@@ -5091,17 +5095,17 @@ function Lr(e, r, i, a = !0) {
|
|
|
5091
5095
|
for (; !l.done;) {
|
|
5092
5096
|
let { value: n, coords: a } = l.value;
|
|
5093
5097
|
if (a.rowIndex !== 0) break;
|
|
5094
|
-
if (s ? s.test(typeof n == "string" ? n : String(n)) :
|
|
5098
|
+
if (s ? s.test(typeof n == "string" ? n : String(n)) : z(n, e) === 0) return r.getValueAt(i - 1, a.colIndex) ?? t.BuiltIn.NA;
|
|
5095
5099
|
l = c.next();
|
|
5096
5100
|
}
|
|
5097
5101
|
return t.BuiltIn.NA;
|
|
5098
5102
|
}
|
|
5099
|
-
function
|
|
5103
|
+
function Lr(e) {
|
|
5100
5104
|
return e.reduce((e, t) => e.concat(t, n.Axis.Column));
|
|
5101
5105
|
}
|
|
5102
|
-
function
|
|
5103
|
-
function
|
|
5104
|
-
function
|
|
5106
|
+
function Rr(e, t) {}
|
|
5107
|
+
function zr(e, t, n, r, i) {}
|
|
5108
|
+
function Br(n, r, i = 0, a = 1) {
|
|
5105
5109
|
if (r ??= 0, r < 0 || i < 0 || a < 1) return t.BuiltIn.Value;
|
|
5106
5110
|
if (a > n.length) return t.BuiltIn.Ref;
|
|
5107
5111
|
let o = n[a - 1], s = o.getRowCount(), c = o.getColumnCount();
|
|
@@ -5124,24 +5128,24 @@ function Vr(n, r, i = 0, a = 1) {
|
|
|
5124
5128
|
colEnd: f
|
|
5125
5129
|
});
|
|
5126
5130
|
}
|
|
5127
|
-
function
|
|
5131
|
+
function Vr(t, n = !0) {
|
|
5128
5132
|
return e.getReference(t, !n);
|
|
5129
5133
|
}
|
|
5130
|
-
function
|
|
5134
|
+
function Hr(n, r, i) {
|
|
5131
5135
|
if (t.isError(n)) return n;
|
|
5132
5136
|
if (i === null) return t.BuiltIn.Value;
|
|
5133
5137
|
let a = r.getRowCount(), o = r.getColumnCount(), s = a > 1 && o > 1;
|
|
5134
5138
|
if (s && !i) {
|
|
5135
5139
|
if (o > a) {
|
|
5136
|
-
let e =
|
|
5140
|
+
let e = hi(n, r, !0);
|
|
5137
5141
|
return e === -1 ? t.BuiltIn.NA : r.getValueAt(a - 1, e) ?? t.BuiltIn.NA;
|
|
5138
5142
|
}
|
|
5139
5143
|
{
|
|
5140
|
-
let e =
|
|
5144
|
+
let e = hi(n, r, !1);
|
|
5141
5145
|
return e === -1 ? t.BuiltIn.NA : r.getValueAt(e, o - 1) ?? t.BuiltIn.NA;
|
|
5142
5146
|
}
|
|
5143
5147
|
}
|
|
5144
|
-
let c = s ? o > a : a === 1, l =
|
|
5148
|
+
let c = s ? o > a : a === 1, l = hi(n, r, c);
|
|
5145
5149
|
return l === -1 ? t.BuiltIn.NA : i ? function(n, r, i) {
|
|
5146
5150
|
let a = n.getRowCount(), o = n.getColumnCount();
|
|
5147
5151
|
if (a > 1 && o > 1) return t.BuiltIn.NA;
|
|
@@ -5153,12 +5157,12 @@ function Ur(n, r, i) {
|
|
|
5153
5157
|
return r >= (s ? a : o) ? t.BuiltIn.NA : (s ? n.getValueAt(r, 0) : n.getValueAt(0, r)) ?? 0;
|
|
5154
5158
|
}(i, l, c ? o : a) : (c ? r.getValueAt(0, l) : r.getValueAt(l, 0)) ?? 0;
|
|
5155
5159
|
}
|
|
5156
|
-
function
|
|
5157
|
-
return
|
|
5160
|
+
function Ur(e, t, n = 1) {
|
|
5161
|
+
return di(e, t, n === 0 ? 0 : n > 0 ? -1 : 1, n === 0 ? 1 : n > 0 ? 2 : -2, n === 0);
|
|
5158
5162
|
}
|
|
5159
|
-
function
|
|
5163
|
+
function Wr(t, n, r, i, a) {
|
|
5160
5164
|
n = Math.trunc(n), r = Math.trunc(r);
|
|
5161
|
-
let o = t.getCoords(), [s, c] =
|
|
5165
|
+
let o = t.getCoords(), [s, c] = gi(o.rowStart + n, i ?? t.getRowCount()), [l, u] = gi(o.colStart + r, a ?? t.getColumnCount());
|
|
5162
5166
|
return e.getReference({
|
|
5163
5167
|
rowStart: s,
|
|
5164
5168
|
colStart: l,
|
|
@@ -5167,43 +5171,65 @@ function Gr(t, n, r, i, a) {
|
|
|
5167
5171
|
scope: o.scope
|
|
5168
5172
|
});
|
|
5169
5173
|
}
|
|
5170
|
-
function
|
|
5174
|
+
function Gr(t) {
|
|
5171
5175
|
if (!t) return [e.getRow() + 1];
|
|
5172
5176
|
let n = [], r = t.getCoords(), i = r.rowStart, a = r.rowEnd;
|
|
5173
5177
|
for (let e = i; e <= a; e++) n.push([e + 1]);
|
|
5174
5178
|
return n;
|
|
5175
5179
|
}
|
|
5176
|
-
function
|
|
5180
|
+
function Kr(e) {
|
|
5177
5181
|
return e.getRowCount();
|
|
5178
5182
|
}
|
|
5179
|
-
function
|
|
5183
|
+
function qr(e, n, r) {
|
|
5180
5184
|
return t.BuiltIn.NA;
|
|
5181
5185
|
}
|
|
5182
|
-
function
|
|
5183
|
-
let o = e.getRowCount(), s = e.getColumnCount(), c = a ? n.Axis.Column : n.Axis.Row, l = function(e, n) {
|
|
5186
|
+
function Jr(e, r, i, a = !1) {
|
|
5187
|
+
let o = e.getRowCount(), s = e.getColumnCount(), c = a ? n.Axis.Column : n.Axis.Row, l = a ? o : s, u = function(e, n) {
|
|
5188
|
+
if (e.length > n) throw t.BuiltIn.Value;
|
|
5184
5189
|
return e.map((e) => {
|
|
5185
5190
|
let r = Math.trunc(e);
|
|
5186
5191
|
if (!(r >= 1 && r <= n)) throw t.BuiltIn.Value;
|
|
5187
5192
|
return r - 1;
|
|
5188
5193
|
});
|
|
5189
|
-
}(r
|
|
5194
|
+
}(Xr(r), l), d = Zr(Xr(i), u.length), f = u.map((t) => a ? e.slice({
|
|
5190
5195
|
rowStart: t,
|
|
5191
5196
|
rowEnd: t
|
|
5192
5197
|
}) : e.slice({
|
|
5193
5198
|
colStart: t,
|
|
5194
5199
|
colEnd: t
|
|
5195
|
-
})),
|
|
5196
|
-
return e.take(
|
|
5200
|
+
})), p = e.argsort(f, d, c);
|
|
5201
|
+
return e.take(p, c).resize(o, s);
|
|
5202
|
+
}
|
|
5203
|
+
var Yr = Object.freeze({
|
|
5204
|
+
includeEmpty: !0,
|
|
5205
|
+
onError: "value"
|
|
5206
|
+
});
|
|
5207
|
+
function Xr(n) {
|
|
5208
|
+
if (!n) return [1];
|
|
5209
|
+
if (n.getRowCount() > 1 && n.getColumnCount() > 1) throw t.BuiltIn.Value;
|
|
5210
|
+
if (n.isIReferenceRange && n.getRowCount() === 1 && n.getColumnCount() === 1) {
|
|
5211
|
+
let e = n.getValueAt(0, 0);
|
|
5212
|
+
if (t.isError(e)) throw e;
|
|
5213
|
+
}
|
|
5214
|
+
return n.getValuesFlat(Yr).map((n) => {
|
|
5215
|
+
if (typeof n == "number") return n;
|
|
5216
|
+
if (n === null) return 0;
|
|
5217
|
+
if (typeof n == "boolean") return +!!n;
|
|
5218
|
+
if (typeof n == "string") return e.parseAsNumber(n);
|
|
5219
|
+
throw t.BuiltIn.Value;
|
|
5220
|
+
});
|
|
5197
5221
|
}
|
|
5198
|
-
function
|
|
5199
|
-
|
|
5222
|
+
function Zr(e, n) {
|
|
5223
|
+
if (e.length !== 1 && e.length !== n) throw t.BuiltIn.Value;
|
|
5224
|
+
let r = e.map((e) => {
|
|
5200
5225
|
let n = Math.trunc(e);
|
|
5201
5226
|
if (n !== 1 && n !== -1) throw t.BuiltIn.Value;
|
|
5202
5227
|
return n;
|
|
5203
5228
|
});
|
|
5229
|
+
return r.length === n ? r : Array(n).fill(r[0]);
|
|
5204
5230
|
}
|
|
5205
|
-
function
|
|
5206
|
-
let i = r.map(([e]) => e), a =
|
|
5231
|
+
function Qr(e, r) {
|
|
5232
|
+
let i = r.map(([e]) => e), a = Zr(r.map(([, e]) => e ?? 1), i.length), o = e.getRowCount(), s = e.getColumnCount();
|
|
5207
5233
|
for (let e = 0; e < i.length; e++) {
|
|
5208
5234
|
let n = i[e];
|
|
5209
5235
|
if (n.getColumnCount() !== 1 || n.getRowCount() !== o) return t.BuiltIn.Value;
|
|
@@ -5211,7 +5237,7 @@ function Zr(e, r) {
|
|
|
5211
5237
|
let c = e.argsort(i, a, n.Axis.Row);
|
|
5212
5238
|
return e.take(c, n.Axis.Row).resize(o, s);
|
|
5213
5239
|
}
|
|
5214
|
-
function
|
|
5240
|
+
function $r(e, n, r) {
|
|
5215
5241
|
if (n === 0 || r === 0) return t.BuiltIn.Calc;
|
|
5216
5242
|
let i = e.getRowCount(), a = e.getColumnCount(), o = n >= 0 ? 0 : Math.max(0, i + n), s = n >= 0 ? Math.min(n, i) : i, c = r === void 0 || r >= 0 ? 0 : Math.max(0, a + r), l = r === void 0 ? a : r >= 0 ? Math.min(r, a) : a;
|
|
5217
5243
|
return e.slice({
|
|
@@ -5221,11 +5247,12 @@ function Qr(e, n, r) {
|
|
|
5221
5247
|
colEnd: l - 1
|
|
5222
5248
|
});
|
|
5223
5249
|
}
|
|
5224
|
-
function
|
|
5225
|
-
|
|
5250
|
+
function ei(e, t = 0, r = !1) {
|
|
5251
|
+
if (t === 0) return e.flatten(r ? L : R);
|
|
5252
|
+
let i = e.getColumnCount(), a = e.getRowCount(), o = e.empty().sparseBuilder(n.Axis.Column), s = e.entries(r ? L : R), c = 0, l = 0, u = s.next();
|
|
5226
5253
|
for (; !u.done;) {
|
|
5227
5254
|
let { value: e, coords: n } = u.value;
|
|
5228
|
-
if (u = s.next(),
|
|
5255
|
+
if (u = s.next(), mi(e, t)) c++;
|
|
5229
5256
|
else if (t === 0 || t === 2) {
|
|
5230
5257
|
let t = r ? n.colIndex * a + n.rowIndex : n.rowIndex * i + n.colIndex;
|
|
5231
5258
|
o.pushAt(t - c, 0, e);
|
|
@@ -5233,11 +5260,12 @@ function $r(e, t = 0, r = !1) {
|
|
|
5233
5260
|
}
|
|
5234
5261
|
return o.build();
|
|
5235
5262
|
}
|
|
5236
|
-
function
|
|
5237
|
-
|
|
5263
|
+
function ti(e, t = 0, r = !1) {
|
|
5264
|
+
if (t === 0) return e.flatten(r ? L : R).transpose();
|
|
5265
|
+
let i = e.getColumnCount(), a = e.getRowCount(), o = e.empty().sparseBuilder(n.Axis.Row), s = e.entries(r ? L : R), c = 0, l = 0, u = s.next();
|
|
5238
5266
|
for (; !u.done;) {
|
|
5239
5267
|
let { value: e, coords: n } = u.value;
|
|
5240
|
-
if (u = s.next(),
|
|
5268
|
+
if (u = s.next(), mi(e, t)) c++;
|
|
5241
5269
|
else if (t === 0 || t === 2) {
|
|
5242
5270
|
let t = r ? n.colIndex * a + n.rowIndex : n.rowIndex * i + n.colIndex;
|
|
5243
5271
|
o.pushAt(0, t - c, e);
|
|
@@ -5245,10 +5273,10 @@ function ei(e, t = 0, r = !1) {
|
|
|
5245
5273
|
}
|
|
5246
5274
|
return o.build();
|
|
5247
5275
|
}
|
|
5248
|
-
function
|
|
5276
|
+
function ni(e) {
|
|
5249
5277
|
return e.transpose();
|
|
5250
5278
|
}
|
|
5251
|
-
function
|
|
5279
|
+
function ri(r, i = 3, a = 3) {
|
|
5252
5280
|
let o = 0, s = r.getRowCount() - 1, c = 0, l = r.getColumnCount() - 1, u = r.isIReferenceRange, d;
|
|
5253
5281
|
if (u) {
|
|
5254
5282
|
let e = r.getCoords();
|
|
@@ -5289,17 +5317,17 @@ function ni(r, i = 3, a = 3) {
|
|
|
5289
5317
|
}, p;
|
|
5290
5318
|
return u ? e.getReference(f) : (p = r.slice(f), p);
|
|
5291
5319
|
}
|
|
5292
|
-
function
|
|
5320
|
+
function ii(e, r = !1, i = !1) {
|
|
5293
5321
|
let a = r ? n.Axis.Column : n.Axis.Row, o = e.uniqueIndices(a, i);
|
|
5294
5322
|
if (o.length === 0) throw t.BuiltIn.Calc;
|
|
5295
5323
|
return e.take(o, a);
|
|
5296
5324
|
}
|
|
5297
|
-
function
|
|
5325
|
+
function ai(e, r, i, a = !0) {
|
|
5298
5326
|
if (t.isError(e)) return e;
|
|
5299
5327
|
if (i < 1) return t.BuiltIn.Value;
|
|
5300
5328
|
if (i > r.getColumnCount()) return t.BuiltIn.Ref;
|
|
5301
5329
|
if (r.size === 1) return t.BuiltIn.NA;
|
|
5302
|
-
let o = typeof e, s =
|
|
5330
|
+
let o = typeof e, s = fi(e);
|
|
5303
5331
|
if (a) {
|
|
5304
5332
|
let a = null, s = -1, c = !0, l = !1, u = r.entries({
|
|
5305
5333
|
axis: n.Axis.Column,
|
|
@@ -5313,12 +5341,12 @@ function ii(e, r, i, a = !0) {
|
|
|
5313
5341
|
d = u.next();
|
|
5314
5342
|
continue;
|
|
5315
5343
|
}
|
|
5316
|
-
let m =
|
|
5344
|
+
let m = z(n, e);
|
|
5317
5345
|
if (c) {
|
|
5318
5346
|
a = n, s = p, c = !1, m > 0 && (l = !0), d = u.next();
|
|
5319
5347
|
continue;
|
|
5320
5348
|
}
|
|
5321
|
-
let h =
|
|
5349
|
+
let h = z(a, e);
|
|
5322
5350
|
if (m > 0 && (l = !0), h > 0 && m > 0) return t.BuiltIn.NA;
|
|
5323
5351
|
if (l && h === 0 && m < 0 || a != null && m > 0 && h <= 0) return r.getValueAt(s, i - 1) ?? t.BuiltIn.NA;
|
|
5324
5352
|
a = n, s = p, d = u.next();
|
|
@@ -5332,15 +5360,15 @@ function ii(e, r, i, a = !0) {
|
|
|
5332
5360
|
for (; !l.done;) {
|
|
5333
5361
|
let { value: n, coords: a } = l.value;
|
|
5334
5362
|
if (a.colIndex !== 0) break;
|
|
5335
|
-
if (s ? s.test(typeof n == "string" ? n : String(n)) :
|
|
5363
|
+
if (s ? s.test(typeof n == "string" ? n : String(n)) : z(n, e) === 0) return r.getValueAt(a.rowIndex, i - 1) ?? t.BuiltIn.NA;
|
|
5336
5364
|
l = c.next();
|
|
5337
5365
|
}
|
|
5338
5366
|
return t.BuiltIn.NA;
|
|
5339
5367
|
}
|
|
5340
|
-
function
|
|
5368
|
+
function oi(e) {
|
|
5341
5369
|
return e.reduce((e, t) => e.concat(t, n.Axis.Row));
|
|
5342
5370
|
}
|
|
5343
|
-
function
|
|
5371
|
+
function si(e, r, i = t.BuiltIn.NA) {
|
|
5344
5372
|
let { rows: a, columns: o } = e.getShape();
|
|
5345
5373
|
if (a > 1 && o > 1) return t.BuiltIn.Value;
|
|
5346
5374
|
if (r <= 0 || !Number.isFinite(r)) return t.BuiltIn.Num;
|
|
@@ -5354,7 +5382,7 @@ function oi(e, r, i = t.BuiltIn.NA) {
|
|
|
5354
5382
|
for (let e = d + 1; e < l.size; e++) u.pushAt(e % r, Math.floor(e / r), i);
|
|
5355
5383
|
return u.build();
|
|
5356
5384
|
}
|
|
5357
|
-
function
|
|
5385
|
+
function ci(e, r, i = t.BuiltIn.NA) {
|
|
5358
5386
|
let { rows: a, columns: o } = e.getShape();
|
|
5359
5387
|
if (a > 1 && o > 1) return t.BuiltIn.Value;
|
|
5360
5388
|
if (r <= 0 || !Number.isFinite(r)) return t.BuiltIn.Num;
|
|
@@ -5368,7 +5396,7 @@ function si(e, r, i = t.BuiltIn.NA) {
|
|
|
5368
5396
|
for (let e = d + 1; e < l.size; e++) u.pushAt(c - 1, e % r, i);
|
|
5369
5397
|
return u.build();
|
|
5370
5398
|
}
|
|
5371
|
-
function
|
|
5399
|
+
function li(n, r, i, a = t.BuiltIn.NA, o = 0, s = 1) {
|
|
5372
5400
|
if (![
|
|
5373
5401
|
0,
|
|
5374
5402
|
-1,
|
|
@@ -5380,56 +5408,45 @@ function ci(n, r, i, a = t.BuiltIn.NA, o = 0, s = 1) {
|
|
|
5380
5408
|
2,
|
|
5381
5409
|
-2
|
|
5382
5410
|
].includes(s) || o === 2 && (s === 2 || s === -2) || r.getColumnCount() > 1 && r.getRowCount() > 1) throw t.BuiltIn.Value;
|
|
5383
|
-
let c = r.
|
|
5411
|
+
let c = r.getValuesFlat(vr), l = [], u = [];
|
|
5384
5412
|
for (let e = 0; e < c.length; e++) c[e] !== null && c[e] !== void 0 && (l.push(c[e]), u.push(e));
|
|
5385
5413
|
let d = r.getRowCount() === 1;
|
|
5386
|
-
if (n
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
colEnd: t.colStart + f,
|
|
5401
|
-
scope: t.scope
|
|
5402
|
-
} : {
|
|
5403
|
-
rowStart: t.rowStart + f,
|
|
5404
|
-
rowEnd: t.rowStart + f,
|
|
5405
|
-
colStart: t.colStart,
|
|
5406
|
-
colEnd: t.colEnd,
|
|
5407
|
-
scope: t.scope
|
|
5408
|
-
});
|
|
5409
|
-
}
|
|
5410
|
-
return i.slice(d ? {
|
|
5411
|
-
colStart: f,
|
|
5412
|
-
colEnd: f
|
|
5414
|
+
if (n == null) return a;
|
|
5415
|
+
if (t.isError(n)) return n;
|
|
5416
|
+
let f = pi(n, l, o, s);
|
|
5417
|
+
if (f === -1) return a;
|
|
5418
|
+
let p = u[f];
|
|
5419
|
+
if (p < (d ? i.getColumnCount() : i.getRowCount())) {
|
|
5420
|
+
if (!0 === i.isIReferenceRange) {
|
|
5421
|
+
let t = i.getCoords();
|
|
5422
|
+
return e.getReference(d ? {
|
|
5423
|
+
rowStart: t.rowStart,
|
|
5424
|
+
rowEnd: t.rowEnd,
|
|
5425
|
+
colStart: t.colStart + p,
|
|
5426
|
+
colEnd: t.colStart + p,
|
|
5427
|
+
scope: t.scope
|
|
5413
5428
|
} : {
|
|
5414
|
-
rowStart:
|
|
5415
|
-
rowEnd:
|
|
5429
|
+
rowStart: t.rowStart + p,
|
|
5430
|
+
rowEnd: t.rowStart + p,
|
|
5431
|
+
colStart: t.colStart,
|
|
5432
|
+
colEnd: t.colEnd,
|
|
5433
|
+
scope: t.scope
|
|
5416
5434
|
});
|
|
5417
5435
|
}
|
|
5418
|
-
return i.
|
|
5436
|
+
return i.slice(d ? {
|
|
5437
|
+
colStart: p,
|
|
5438
|
+
colEnd: p
|
|
5439
|
+
} : {
|
|
5440
|
+
rowStart: p,
|
|
5441
|
+
rowEnd: p
|
|
5442
|
+
});
|
|
5419
5443
|
}
|
|
5420
|
-
return
|
|
5421
|
-
if (e === null) return a;
|
|
5422
|
-
if (t.isError(e)) return e;
|
|
5423
|
-
let n = fi(e, l, o, s);
|
|
5424
|
-
if (n === -1) return a;
|
|
5425
|
-
let r = u[n];
|
|
5426
|
-
return i.getValueAt(d ? 0 : r, d ? r : 0);
|
|
5427
|
-
}, L);
|
|
5444
|
+
return i.getValueAt(d ? 0 : p, d ? p : 0);
|
|
5428
5445
|
}
|
|
5429
|
-
function
|
|
5430
|
-
return
|
|
5446
|
+
function ui(e, t, n = 0, r = 1) {
|
|
5447
|
+
return di(e, t, n, r, n === 2);
|
|
5431
5448
|
}
|
|
5432
|
-
function
|
|
5449
|
+
function di(e, n, r, i, a) {
|
|
5433
5450
|
if (![
|
|
5434
5451
|
0,
|
|
5435
5452
|
-1,
|
|
@@ -5441,30 +5458,28 @@ function ui(e, n, r, i, a) {
|
|
|
5441
5458
|
2,
|
|
5442
5459
|
-2
|
|
5443
5460
|
].includes(i) || r === 2 && (i === 2 || i === -2) || n.getColumnCount() > 1 && n.getRowCount() > 1) throw t.BuiltIn.Value;
|
|
5444
|
-
|
|
5461
|
+
if (e === null) return t.BuiltIn.NA;
|
|
5462
|
+
if (t.isError(e)) return e;
|
|
5463
|
+
let o = n.getValuesFlat(vr), s = [], c = [];
|
|
5445
5464
|
for (let e = 0; e < o.length; e++) o[e] !== null && o[e] !== void 0 && (s.push(o[e]), c.push(e));
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
if (t.isError(e)) return e;
|
|
5449
|
-
let n = fi(e, s, r, i, a);
|
|
5450
|
-
return n === -1 ? t.BuiltIn.NA : c[n] + 1;
|
|
5451
|
-
}, L);
|
|
5465
|
+
let l = pi(e, s, r, i, a);
|
|
5466
|
+
return l === -1 ? t.BuiltIn.NA : c[l] + 1;
|
|
5452
5467
|
}
|
|
5453
|
-
function
|
|
5468
|
+
function z(t, n) {
|
|
5454
5469
|
return typeof t == "number" && typeof n == "number" ? t < n ? -1 : +(t > n) : e.compare(t, n);
|
|
5455
5470
|
}
|
|
5456
|
-
function
|
|
5471
|
+
function fi(e, t = !1) {
|
|
5457
5472
|
return typeof e == "string" && (t ? /[*?~]/.test(e) : a.isWildCard(e)) ? a.toRegex(e, "i", !0) : null;
|
|
5458
5473
|
}
|
|
5459
|
-
function
|
|
5460
|
-
let a = i ?
|
|
5474
|
+
function pi(e, t, n, r, i = n === 2) {
|
|
5475
|
+
let a = i ? fi(e, n === 2) : null;
|
|
5461
5476
|
if (r === 2 || r === -2) return function(e, t, n, r) {
|
|
5462
5477
|
let i = 0, a = e.length - 1, o = -1;
|
|
5463
5478
|
for (; i <= a;) {
|
|
5464
|
-
let n = i + a >>> 1, s =
|
|
5479
|
+
let n = i + a >>> 1, s = z(e[n], t);
|
|
5465
5480
|
(r ? s <= 0 : s >= 0) ? (o = n, i = n + 1) : a = n - 1;
|
|
5466
5481
|
}
|
|
5467
|
-
return o !== -1 &&
|
|
5482
|
+
return o !== -1 && z(e[o], t) === 0 ? o : n === 0 || n === 2 ? -1 : (r ? n === -1 : n === 1) ? o : o + 1 < e.length ? o + 1 : -1;
|
|
5468
5483
|
}(t, e, n, r === 2);
|
|
5469
5484
|
let o = r === -1 ? -1 : 1, s = r === -1 ? t.length - 1 : 0, c = r === -1 ? -1 : t.length;
|
|
5470
5485
|
if (n === 0 || n === 2) {
|
|
@@ -5473,7 +5488,7 @@ function fi(e, t, n, r, i = n === 2) {
|
|
|
5473
5488
|
if (r != null) {
|
|
5474
5489
|
if (a) {
|
|
5475
5490
|
if (typeof r == "string" && a.test(r)) return n;
|
|
5476
|
-
} else if (
|
|
5491
|
+
} else if (z(r, e) === 0) return n;
|
|
5477
5492
|
}
|
|
5478
5493
|
}
|
|
5479
5494
|
return -1;
|
|
@@ -5482,16 +5497,16 @@ function fi(e, t, n, r, i = n === 2) {
|
|
|
5482
5497
|
for (let r = s; r !== c; r += o) {
|
|
5483
5498
|
let i = t[r];
|
|
5484
5499
|
if (i == null) continue;
|
|
5485
|
-
let a =
|
|
5500
|
+
let a = z(i, e);
|
|
5486
5501
|
if (a === 0) return r;
|
|
5487
|
-
n === -1 ? a < 0 && (l === -1 ||
|
|
5502
|
+
n === -1 ? a < 0 && (l === -1 || z(i, u) > 0) && (l = r, u = i) : a > 0 && (l === -1 || z(i, u) < 0) && (l = r, u = i);
|
|
5488
5503
|
}
|
|
5489
5504
|
return l;
|
|
5490
5505
|
}
|
|
5491
|
-
function
|
|
5506
|
+
function mi(e, n) {
|
|
5492
5507
|
return n !== 0 && ((n === 1 || n === 3) && e === null || !(n !== 2 && n !== 3 || !t.isError(e)));
|
|
5493
5508
|
}
|
|
5494
|
-
function
|
|
5509
|
+
function hi(e, r, i) {
|
|
5495
5510
|
let a = typeof e, o = -1, s = null, c = !1, l = i ? n.Axis.Row : n.Axis.Column, u = r.entries({
|
|
5496
5511
|
axis: l,
|
|
5497
5512
|
includeEmpty: !1
|
|
@@ -5511,21 +5526,21 @@ function mi(e, r, i) {
|
|
|
5511
5526
|
d = u.next();
|
|
5512
5527
|
continue;
|
|
5513
5528
|
}
|
|
5514
|
-
let f =
|
|
5529
|
+
let f = z(n, e);
|
|
5515
5530
|
if (f > 0 && (c = !0), f <= 0) {
|
|
5516
|
-
let t = s !== null &&
|
|
5531
|
+
let t = s !== null && z(s, e) === 0;
|
|
5517
5532
|
c && t || (o = l, s = n);
|
|
5518
5533
|
}
|
|
5519
5534
|
d = u.next();
|
|
5520
5535
|
}
|
|
5521
5536
|
return o;
|
|
5522
5537
|
}
|
|
5523
|
-
var
|
|
5538
|
+
var gi = (e, n) => {
|
|
5524
5539
|
if (n === 0) throw t.BuiltIn.Ref;
|
|
5525
5540
|
let r = Math.trunc(n), i = n > 0 ? e : e + r + 1, a = n > 0 ? e + r - 1 : e;
|
|
5526
5541
|
return i > a ? [a, i] : [i, a];
|
|
5527
5542
|
};
|
|
5528
|
-
function
|
|
5543
|
+
function B(e, n, r, i, a, o) {
|
|
5529
5544
|
let s = n.map((e) => e[0]), c = s[0].getColumnCount(), l = s[0].getRowCount();
|
|
5530
5545
|
for (let e = 1; e < s.length; e++) if (s[e].getColumnCount() !== c || s[e].getRowCount() !== l) throw t.BuiltIn.Value;
|
|
5531
5546
|
let u = s.length, d = Array(u), f = !0;
|
|
@@ -5533,82 +5548,83 @@ function z(e, n, r, i, a, o) {
|
|
|
5533
5548
|
let r = e.createCriteria(n[t][1]);
|
|
5534
5549
|
d[t] = r, r(null) || (f = !1);
|
|
5535
5550
|
}
|
|
5536
|
-
let p = s.slice(1), m = -1;
|
|
5537
|
-
i && (m = u, p.push(i));
|
|
5538
|
-
let
|
|
5551
|
+
let p = s.slice(1), m = -1, h = null;
|
|
5552
|
+
i && (f ? (m = u, p.push(i)) : h = i);
|
|
5553
|
+
let g = s[0].alignReduce(p, (e, t, n) => {
|
|
5539
5554
|
for (let n = 0; n < u; n++) if (!d[n](t[n])) return e;
|
|
5540
|
-
|
|
5555
|
+
let i = !0;
|
|
5556
|
+
return h ? i = h.getValueAt(n.rowIndex, n.colIndex) ?? null : m >= 0 && (i = t[m] ?? null), r(e, i);
|
|
5541
5557
|
}, null, f && o ? { emptyFold: o } : void 0);
|
|
5542
|
-
return
|
|
5543
|
-
}
|
|
5544
|
-
var
|
|
5545
|
-
ABS: () =>
|
|
5546
|
-
AGGREGATE: () =>
|
|
5547
|
-
ARABIC: () =>
|
|
5548
|
-
BASE: () =>
|
|
5549
|
-
CEILING: () =>
|
|
5550
|
-
CEILING_MATH: () =>
|
|
5551
|
-
CEILING_PRECISE: () =>
|
|
5552
|
-
COMBIN: () =>
|
|
5553
|
-
COMBINA: () =>
|
|
5554
|
-
DECIMAL: () =>
|
|
5555
|
-
DEGREES: () =>
|
|
5556
|
-
ECMA_CEILING: () =>
|
|
5557
|
-
EVEN: () =>
|
|
5558
|
-
EXP: () =>
|
|
5559
|
-
FACT: () =>
|
|
5560
|
-
FACTDOUBLE: () =>
|
|
5561
|
-
FLOOR: () =>
|
|
5562
|
-
FLOOR_MATH: () =>
|
|
5563
|
-
FLOOR_PRECISE: () =>
|
|
5564
|
-
GCD: () =>
|
|
5565
|
-
INT: () =>
|
|
5566
|
-
ISO_CEILING: () =>
|
|
5567
|
-
LCM: () =>
|
|
5568
|
-
LN: () =>
|
|
5569
|
-
LOG: () =>
|
|
5570
|
-
LOG10: () =>
|
|
5571
|
-
MDETERM: () =>
|
|
5572
|
-
MINVERSE: () =>
|
|
5573
|
-
MMULT: () =>
|
|
5574
|
-
MOD: () =>
|
|
5575
|
-
MROUND: () =>
|
|
5576
|
-
MULTINOMIAL: () =>
|
|
5577
|
-
MUNIT: () =>
|
|
5578
|
-
ODD: () =>
|
|
5579
|
-
PERCENTOF: () =>
|
|
5580
|
-
PI: () =>
|
|
5581
|
-
POWER: () =>
|
|
5582
|
-
PRODUCT: () =>
|
|
5583
|
-
QUOTIENT: () =>
|
|
5584
|
-
RADIANS: () =>
|
|
5585
|
-
RAND: () =>
|
|
5586
|
-
RANDARRAY: () =>
|
|
5587
|
-
RANDBETWEEN: () =>
|
|
5588
|
-
ROMAN: () =>
|
|
5589
|
-
ROUND: () =>
|
|
5590
|
-
ROUNDDOWN: () =>
|
|
5591
|
-
ROUNDUP: () =>
|
|
5592
|
-
SEQUENCE: () =>
|
|
5593
|
-
SERIESSUM: () =>
|
|
5594
|
-
SIGN: () =>
|
|
5595
|
-
SQRT: () =>
|
|
5596
|
-
SQRTPI: () =>
|
|
5597
|
-
SUBTOTAL: () =>
|
|
5598
|
-
SUM: () =>
|
|
5599
|
-
SUMIF: () =>
|
|
5600
|
-
SUMIFS: () =>
|
|
5601
|
-
SUMPRODUCT: () =>
|
|
5602
|
-
SUMSQ: () =>
|
|
5603
|
-
SUMX2MY2: () =>
|
|
5604
|
-
SUMX2PY2: () =>
|
|
5605
|
-
SUMXMY2: () =>
|
|
5606
|
-
TRUNC: () =>
|
|
5558
|
+
return g === null ? a : g;
|
|
5559
|
+
}
|
|
5560
|
+
var _i = p({
|
|
5561
|
+
ABS: () => vi,
|
|
5562
|
+
AGGREGATE: () => yi,
|
|
5563
|
+
ARABIC: () => bi,
|
|
5564
|
+
BASE: () => xi,
|
|
5565
|
+
CEILING: () => V,
|
|
5566
|
+
CEILING_MATH: () => Si,
|
|
5567
|
+
CEILING_PRECISE: () => Ci,
|
|
5568
|
+
COMBIN: () => H,
|
|
5569
|
+
COMBINA: () => Ti,
|
|
5570
|
+
DECIMAL: () => Ei,
|
|
5571
|
+
DEGREES: () => Di,
|
|
5572
|
+
ECMA_CEILING: () => wi,
|
|
5573
|
+
EVEN: () => Oi,
|
|
5574
|
+
EXP: () => ki,
|
|
5575
|
+
FACT: () => U,
|
|
5576
|
+
FACTDOUBLE: () => Ai,
|
|
5577
|
+
FLOOR: () => W,
|
|
5578
|
+
FLOOR_MATH: () => ji,
|
|
5579
|
+
FLOOR_PRECISE: () => Mi,
|
|
5580
|
+
GCD: () => Ni,
|
|
5581
|
+
INT: () => Pi,
|
|
5582
|
+
ISO_CEILING: () => Fi,
|
|
5583
|
+
LCM: () => Ii,
|
|
5584
|
+
LN: () => Li,
|
|
5585
|
+
LOG: () => Ri,
|
|
5586
|
+
LOG10: () => zi,
|
|
5587
|
+
MDETERM: () => Bi,
|
|
5588
|
+
MINVERSE: () => Vi,
|
|
5589
|
+
MMULT: () => Hi,
|
|
5590
|
+
MOD: () => Ui,
|
|
5591
|
+
MROUND: () => Wi,
|
|
5592
|
+
MULTINOMIAL: () => Gi,
|
|
5593
|
+
MUNIT: () => Ki,
|
|
5594
|
+
ODD: () => qi,
|
|
5595
|
+
PERCENTOF: () => Ji,
|
|
5596
|
+
PI: () => Yi,
|
|
5597
|
+
POWER: () => Xi,
|
|
5598
|
+
PRODUCT: () => Zi,
|
|
5599
|
+
QUOTIENT: () => Qi,
|
|
5600
|
+
RADIANS: () => $i,
|
|
5601
|
+
RAND: () => ea,
|
|
5602
|
+
RANDARRAY: () => ta,
|
|
5603
|
+
RANDBETWEEN: () => na,
|
|
5604
|
+
ROMAN: () => ra,
|
|
5605
|
+
ROUND: () => ia,
|
|
5606
|
+
ROUNDDOWN: () => aa,
|
|
5607
|
+
ROUNDUP: () => oa,
|
|
5608
|
+
SEQUENCE: () => sa,
|
|
5609
|
+
SERIESSUM: () => ca,
|
|
5610
|
+
SIGN: () => la,
|
|
5611
|
+
SQRT: () => ua,
|
|
5612
|
+
SQRTPI: () => da,
|
|
5613
|
+
SUBTOTAL: () => fa,
|
|
5614
|
+
SUM: () => pa,
|
|
5615
|
+
SUMIF: () => ma,
|
|
5616
|
+
SUMIFS: () => ha,
|
|
5617
|
+
SUMPRODUCT: () => ga,
|
|
5618
|
+
SUMSQ: () => _a,
|
|
5619
|
+
SUMX2MY2: () => va,
|
|
5620
|
+
SUMX2PY2: () => ya,
|
|
5621
|
+
SUMXMY2: () => ba,
|
|
5622
|
+
TRUNC: () => xa
|
|
5607
5623
|
});
|
|
5608
|
-
function
|
|
5624
|
+
function vi(e) {
|
|
5609
5625
|
return Math.abs(e);
|
|
5610
5626
|
}
|
|
5611
|
-
function
|
|
5627
|
+
function yi(r, i, a, ...o) {
|
|
5612
5628
|
let s = Math.trunc(r), c = Math.trunc(i);
|
|
5613
5629
|
if (s < 1 || s > 19 || c < 0 || c > 7) return t.BuiltIn.Value;
|
|
5614
5630
|
let l = s >= 14, u = l ? o[o.length - 1]?.getValueAt(0, 0) : void 0, d = l ? [a, ...o.slice(0, -1)] : [a, ...o];
|
|
@@ -5666,7 +5682,7 @@ function vi(r, i, a, ...o) {
|
|
|
5666
5682
|
default: return t.BuiltIn.Value;
|
|
5667
5683
|
}
|
|
5668
5684
|
}
|
|
5669
|
-
function
|
|
5685
|
+
function bi(e) {
|
|
5670
5686
|
if (e = e.toUpperCase(), !/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(e)) throw new t.Value("Invalid roman numeral in ARABIC evaluation.");
|
|
5671
5687
|
let n = 0;
|
|
5672
5688
|
return e.replace(/[MDLV]|C[MD]?|X[CL]?|I[XV]?/g, (e) => {
|
|
@@ -5687,57 +5703,57 @@ function yi(e) {
|
|
|
5687
5703
|
}[e];
|
|
5688
5704
|
}), n;
|
|
5689
5705
|
}
|
|
5690
|
-
function
|
|
5706
|
+
function xi(e, t, n = 0) {
|
|
5691
5707
|
if (e = Math.trunc(e), t = Math.trunc(t), n = Math.trunc(n), e < 0 || e >= 2 ** 53 || t < 2 || t > 36 || n < 0) return NaN;
|
|
5692
5708
|
let r = e.toString(t).toUpperCase();
|
|
5693
5709
|
return Array(Math.max(n + 1 - r.length, 0)).join("0") + r;
|
|
5694
5710
|
}
|
|
5695
|
-
function
|
|
5711
|
+
function V(e, t) {
|
|
5696
5712
|
if (t === 0) return 0;
|
|
5697
5713
|
if (e > 0 && t < 0) return NaN;
|
|
5698
5714
|
if (e / t % 1 == 0) return e;
|
|
5699
5715
|
let n = Math.abs(t), r = Math.floor(Math.abs(e) / n);
|
|
5700
5716
|
return e < 0 ? t < 0 ? -n * (r + 1) : -n * r : (r + 1) * n;
|
|
5701
5717
|
}
|
|
5702
|
-
function
|
|
5718
|
+
function Si(e, t, n = 0) {
|
|
5703
5719
|
if ((t = Math.abs(t ?? 1)) === 0) return 0;
|
|
5704
|
-
if (e >= 0) return
|
|
5720
|
+
if (e >= 0) return V(e, t);
|
|
5705
5721
|
let r = n ? t : 0;
|
|
5706
|
-
return
|
|
5707
|
-
}
|
|
5708
|
-
function Si(e, t = 1) {
|
|
5709
|
-
return t === 0 ? 0 : B(e, Math.abs(t));
|
|
5722
|
+
return V(e, t) - r;
|
|
5710
5723
|
}
|
|
5711
|
-
function Ci(e, t) {
|
|
5712
|
-
return
|
|
5713
|
-
}
|
|
5714
|
-
function V(e, t) {
|
|
5715
|
-
return e = Math.trunc(e), t = Math.trunc(t), e < 0 || t < 0 || e < t ? NaN : H(e) / H(t) / H(e - t);
|
|
5724
|
+
function Ci(e, t = 1) {
|
|
5725
|
+
return t === 0 ? 0 : V(e, Math.abs(t));
|
|
5716
5726
|
}
|
|
5717
5727
|
function wi(e, t) {
|
|
5718
|
-
return
|
|
5728
|
+
return V(e, t);
|
|
5729
|
+
}
|
|
5730
|
+
function H(e, t) {
|
|
5731
|
+
return e = Math.trunc(e), t = Math.trunc(t), e < 0 || t < 0 || e < t ? NaN : U(e) / U(t) / U(e - t);
|
|
5719
5732
|
}
|
|
5720
5733
|
function Ti(e, t) {
|
|
5734
|
+
return e = Math.trunc(e), (t = Math.trunc(t)) !== 0 || e !== 0 && e !== 1 ? e < 0 || t < 0 ? NaN : H(e + t - 1, e - 1) : 1;
|
|
5735
|
+
}
|
|
5736
|
+
function Ei(e, t) {
|
|
5721
5737
|
if ((t = Math.trunc(t)) < 2 || t > 36) return NaN;
|
|
5722
5738
|
let n = "0123456789abcdefghijklmnopqrstuvwxyz".slice(0, t);
|
|
5723
5739
|
return RegExp(`^[${n}]+$`, "i").test(e) ? parseInt(e, t) : NaN;
|
|
5724
5740
|
}
|
|
5725
|
-
function Ei(e) {
|
|
5726
|
-
return 180 / Math.PI * e;
|
|
5727
|
-
}
|
|
5728
5741
|
function Di(e) {
|
|
5729
|
-
return
|
|
5742
|
+
return 180 / Math.PI * e;
|
|
5730
5743
|
}
|
|
5731
5744
|
function Oi(e) {
|
|
5745
|
+
return V(e, e < 0 ? -2 : 2);
|
|
5746
|
+
}
|
|
5747
|
+
function ki(e) {
|
|
5732
5748
|
return Math.exp(e);
|
|
5733
5749
|
}
|
|
5734
|
-
function
|
|
5735
|
-
return (e = Math.trunc(e)) > 170 || e < 0 ? NaN : e <= 100 ?
|
|
5750
|
+
function U(e) {
|
|
5751
|
+
return (e = Math.trunc(e)) > 170 || e < 0 ? NaN : e <= 100 ? Sa[e] : G(e);
|
|
5736
5752
|
}
|
|
5737
|
-
function
|
|
5738
|
-
return (e = Math.trunc(e)) < -1 ? NaN : e === -1 ? 1 :
|
|
5753
|
+
function Ai(e) {
|
|
5754
|
+
return (e = Math.trunc(e)) < -1 ? NaN : e === -1 ? 1 : Ta(e);
|
|
5739
5755
|
}
|
|
5740
|
-
function
|
|
5756
|
+
function W(e, n) {
|
|
5741
5757
|
if (e === 0) return 0;
|
|
5742
5758
|
if (n === 0) throw t.BuiltIn.Div0;
|
|
5743
5759
|
if (n ??= e > 0 ? 1 : -1, e > 0 && n < 0) return NaN;
|
|
@@ -5745,56 +5761,60 @@ function U(e, n) {
|
|
|
5745
5761
|
let r = Math.abs(n), i = Math.floor(Math.abs(e) / r);
|
|
5746
5762
|
return e < 0 ? n < 0 ? -r * i : -r * (i + 1) : i * r;
|
|
5747
5763
|
}
|
|
5748
|
-
function
|
|
5749
|
-
return t === 0 ? 0 : n === 0 || e >= 0 ?
|
|
5764
|
+
function ji(e, t = e > 0 ? 1 : -1, n = 0) {
|
|
5765
|
+
return t === 0 ? 0 : n === 0 || e >= 0 ? W(e, Math.abs(t)) : W(e, t) + t;
|
|
5750
5766
|
}
|
|
5751
|
-
function
|
|
5752
|
-
return t === 0 ? 0 :
|
|
5767
|
+
function Mi(e, t = 1) {
|
|
5768
|
+
return t === 0 ? 0 : W(e, Math.abs(t));
|
|
5753
5769
|
}
|
|
5754
|
-
function
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5770
|
+
function Ni(e) {
|
|
5771
|
+
Oa(e);
|
|
5772
|
+
let t, n = e[0];
|
|
5773
|
+
if (n < 0 || n > K) return NaN;
|
|
5774
|
+
n = Math.abs(Math.trunc(n));
|
|
5775
|
+
let r = e.length;
|
|
5776
|
+
for (let i = 1; i < r; i++) {
|
|
5777
|
+
if (t = e[i], t < 0 || t > K) return NaN;
|
|
5778
|
+
for (t = Math.abs(Math.trunc(t)); n && t;) n > t ? n %= t : t %= n;
|
|
5779
|
+
n += t;
|
|
5763
5780
|
}
|
|
5764
|
-
return
|
|
5781
|
+
return n;
|
|
5765
5782
|
}
|
|
5766
|
-
function
|
|
5783
|
+
function Pi(e) {
|
|
5767
5784
|
return Math.floor(e);
|
|
5768
5785
|
}
|
|
5769
|
-
function
|
|
5770
|
-
return
|
|
5786
|
+
function Fi(e, t) {
|
|
5787
|
+
return Ci(e, t);
|
|
5771
5788
|
}
|
|
5772
|
-
function
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
if (
|
|
5789
|
+
function Ii(e) {
|
|
5790
|
+
Oa(e);
|
|
5791
|
+
let t, n, r, i = e[0];
|
|
5792
|
+
if (i < 0 || i > K) return NaN;
|
|
5793
|
+
i = Math.abs(Math.trunc(i));
|
|
5794
|
+
let a = e.length;
|
|
5795
|
+
for (let o = 1; o < a; o++) {
|
|
5796
|
+
let a = e[o];
|
|
5797
|
+
if (a < 0 || a > K) return NaN;
|
|
5798
|
+
if (t = Math.abs(Math.trunc(a)), i !== 0 && t !== 0) {
|
|
5799
|
+
for (n = i, r = t; n && r;) n > r ? n %= r : r %= n;
|
|
5800
|
+
if (i = i / (n + r) * t, i > K) return NaN;
|
|
5801
|
+
} else i = 0;
|
|
5782
5802
|
}
|
|
5783
|
-
return
|
|
5803
|
+
return i;
|
|
5784
5804
|
}
|
|
5785
|
-
function
|
|
5805
|
+
function Li(e) {
|
|
5786
5806
|
return e <= 0 ? NaN : Math.log(e);
|
|
5787
5807
|
}
|
|
5788
|
-
function
|
|
5808
|
+
function Ri(e, n) {
|
|
5789
5809
|
if (e <= 0) return NaN;
|
|
5790
5810
|
if (n === void 0) return Math.log10(e);
|
|
5791
5811
|
if (n === 1) throw t.BuiltIn.Div0;
|
|
5792
5812
|
return Math.log(e) / Math.log(n);
|
|
5793
5813
|
}
|
|
5794
|
-
function
|
|
5814
|
+
function zi(e) {
|
|
5795
5815
|
return e <= 0 ? NaN : Math.log10(e);
|
|
5796
5816
|
}
|
|
5797
|
-
function
|
|
5817
|
+
function Bi(e) {
|
|
5798
5818
|
let { rows: n, columns: r } = e.getShape();
|
|
5799
5819
|
if (n !== r) return t.BuiltIn.Value;
|
|
5800
5820
|
let i = e.getValues();
|
|
@@ -5813,7 +5833,7 @@ function zi(e) {
|
|
|
5813
5833
|
for (let e = 0; e < n; e++) s *= a[e][e];
|
|
5814
5834
|
return s;
|
|
5815
5835
|
}
|
|
5816
|
-
function
|
|
5836
|
+
function Vi(e) {
|
|
5817
5837
|
let { rows: n, columns: r } = e.getShape();
|
|
5818
5838
|
if (n !== r) return t.BuiltIn.Value;
|
|
5819
5839
|
let i = e.getValues().map((e, r) => [...e.map((e) => typeof e == "number" ? e : t.BuiltIn.Value), ...Array.from({ length: n }, (e, t) => +(r === t))]);
|
|
@@ -5831,7 +5851,7 @@ function Bi(e) {
|
|
|
5831
5851
|
}
|
|
5832
5852
|
return i.map((e) => e.slice(n));
|
|
5833
5853
|
}
|
|
5834
|
-
function
|
|
5854
|
+
function Hi(e, n) {
|
|
5835
5855
|
let { rows: r, columns: i } = e.getShape(), { rows: a, columns: o } = n.getShape();
|
|
5836
5856
|
if (i !== a) return t.BuiltIn.Value;
|
|
5837
5857
|
let s = e.getValues(), c = n.getValues(), l = Array(r);
|
|
@@ -5848,60 +5868,61 @@ function Vi(e, n) {
|
|
|
5848
5868
|
}
|
|
5849
5869
|
return l;
|
|
5850
5870
|
}
|
|
5851
|
-
function
|
|
5871
|
+
function Ui(e, n) {
|
|
5852
5872
|
if (n === 0) throw t.BuiltIn.Div0;
|
|
5853
|
-
return e - n *
|
|
5873
|
+
return e - n * Pi(e / n);
|
|
5854
5874
|
}
|
|
5855
|
-
function
|
|
5875
|
+
function Wi(e, t) {
|
|
5856
5876
|
return t === 0 ? 0 : e > 0 && t < 0 || e < 0 && t > 0 ? NaN : e / t % 1 == 0 ? e : Math.round(e / t) * t;
|
|
5857
5877
|
}
|
|
5858
|
-
function
|
|
5878
|
+
function Gi(e) {
|
|
5879
|
+
Oa(e);
|
|
5859
5880
|
let t = 0, n = 1, r = e.length;
|
|
5860
5881
|
for (let i = 0; i < r; i++) {
|
|
5861
5882
|
let r = e[i];
|
|
5862
5883
|
if (r < 0) return NaN;
|
|
5863
|
-
t += r, n *=
|
|
5884
|
+
t += r, n *= G(r);
|
|
5864
5885
|
}
|
|
5865
|
-
return
|
|
5886
|
+
return G(t) / n;
|
|
5866
5887
|
}
|
|
5867
|
-
function
|
|
5888
|
+
function Ki(n) {
|
|
5868
5889
|
if (n <= 0) return t.BuiltIn.Value;
|
|
5869
5890
|
let r = e.createRange().sparseBuilder();
|
|
5870
5891
|
for (let e = 0; e < n; e++) r.pushAt(e, e, 1);
|
|
5871
5892
|
return r.build();
|
|
5872
5893
|
}
|
|
5873
|
-
function
|
|
5894
|
+
function qi(e) {
|
|
5874
5895
|
if (e === 0) return 1;
|
|
5875
5896
|
let t = Math.ceil(Math.abs(e));
|
|
5876
5897
|
return t = 1 & t ? t : t + 1, e > 0 ? t : -t;
|
|
5877
5898
|
}
|
|
5878
|
-
function
|
|
5899
|
+
function Ji(e, n) {
|
|
5879
5900
|
let r = e.getStats().getSnappedSum(), i = n.getStats().getSnappedSum();
|
|
5880
5901
|
if (i === 0) throw t.BuiltIn.Div0;
|
|
5881
5902
|
return r / i;
|
|
5882
5903
|
}
|
|
5883
|
-
function
|
|
5904
|
+
function Yi() {
|
|
5884
5905
|
return Math.PI;
|
|
5885
5906
|
}
|
|
5886
|
-
function
|
|
5907
|
+
function Xi(e, t) {
|
|
5887
5908
|
return e === 0 && t === 0 ? NaN : e ** t;
|
|
5888
5909
|
}
|
|
5889
|
-
function
|
|
5910
|
+
function Zi(e) {
|
|
5890
5911
|
let t = 1;
|
|
5891
5912
|
for (let n of e) for (let e of n.values()) t *= e;
|
|
5892
5913
|
return t;
|
|
5893
5914
|
}
|
|
5894
|
-
function
|
|
5915
|
+
function Qi(e, n) {
|
|
5895
5916
|
if (n === 0) throw t.BuiltIn.Div0;
|
|
5896
5917
|
return Math.trunc(e / n);
|
|
5897
5918
|
}
|
|
5898
|
-
function
|
|
5919
|
+
function $i(e) {
|
|
5899
5920
|
return e / 180 * Math.PI;
|
|
5900
5921
|
}
|
|
5901
|
-
function
|
|
5922
|
+
function ea() {
|
|
5902
5923
|
return e.markVolatile(), Math.random();
|
|
5903
5924
|
}
|
|
5904
|
-
function
|
|
5925
|
+
function ta(n = 1, r = 1, i = 0, a = 1, o = !1) {
|
|
5905
5926
|
if (n === 0 || r === 0) return t.BuiltIn.Calc;
|
|
5906
5927
|
if (n < 0 || r < 0) return t.BuiltIn.Value;
|
|
5907
5928
|
if (i > a) return t.BuiltIn.NA;
|
|
@@ -5911,11 +5932,11 @@ function ea(n = 1, r = 1, i = 0, a = 1, o = !1) {
|
|
|
5911
5932
|
return o && (e = Math.floor(i + Math.random() * (a - i + 1)), e > a && (e = a)), e;
|
|
5912
5933
|
}));
|
|
5913
5934
|
}
|
|
5914
|
-
function
|
|
5935
|
+
function na(t, n) {
|
|
5915
5936
|
let r = e.parseAsNumber(t), i = e.parseAsNumber(n);
|
|
5916
5937
|
return r > i ? NaN : (e.markVolatile(), Math.floor(Math.random() * (i - r + 1) + r));
|
|
5917
5938
|
}
|
|
5918
|
-
function
|
|
5939
|
+
function ra(e, n = 0) {
|
|
5919
5940
|
if ((e = Math.trunc(e)) < 0 || e > 3999) return t.BuiltIn.Value;
|
|
5920
5941
|
if (e === 0) return "";
|
|
5921
5942
|
if (n !== 0) return t.BuiltIn.Value;
|
|
@@ -5923,11 +5944,11 @@ function na(e, n = 0) {
|
|
|
5923
5944
|
for (; o--;) a = (i[Number(r.pop()) + 10 * o] || "") + a;
|
|
5924
5945
|
return Array(+r.join("") + 1).join("M") + a;
|
|
5925
5946
|
}
|
|
5926
|
-
function
|
|
5947
|
+
function ia(e, t) {
|
|
5927
5948
|
let n = 10 ** Math.abs(t), r = e > 0 ? 1 : -1;
|
|
5928
5949
|
return t > 0 ? r * Math.round(Math.abs(e) * n) / n : t === 0 ? r * Math.round(Math.abs(e)) : r * Math.round(Math.abs(e) / n) * n;
|
|
5929
5950
|
}
|
|
5930
|
-
function
|
|
5951
|
+
function aa(e, t) {
|
|
5931
5952
|
let n = 10 ** Math.abs(t), r = e > 0 ? 1 : -1;
|
|
5932
5953
|
if (t > 0) {
|
|
5933
5954
|
let t = 1 / n * .5;
|
|
@@ -5939,11 +5960,11 @@ function ia(e, t) {
|
|
|
5939
5960
|
return r * Math.round((Math.abs(e) - t) / n) * n;
|
|
5940
5961
|
}
|
|
5941
5962
|
}
|
|
5942
|
-
function
|
|
5963
|
+
function oa(e, t) {
|
|
5943
5964
|
let n = Math.abs(e), r = e >= 0 ? 1 : -1, i = 10 ** Math.abs(t);
|
|
5944
5965
|
return t > 0 ? r * Math.ceil(n * i) / i : t === 0 ? r * Math.ceil(n) : r * Math.ceil(n / i) * i;
|
|
5945
5966
|
}
|
|
5946
|
-
function
|
|
5967
|
+
function sa(n, r = 1, i = 1, a = 1) {
|
|
5947
5968
|
if (n ??= 1, n === 0 || r === 0) return t.BuiltIn.Calc;
|
|
5948
5969
|
if (n < 0 || r < 0) return t.BuiltIn.Value;
|
|
5949
5970
|
let o = e.getEntireCoords();
|
|
@@ -5954,27 +5975,31 @@ function oa(n, r = 1, i = 1, a = 1) {
|
|
|
5954
5975
|
return s += a, e;
|
|
5955
5976
|
});
|
|
5956
5977
|
}
|
|
5957
|
-
function
|
|
5958
|
-
let o, s = 0;
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
})) {
|
|
5963
|
-
if (typeof c != "number") throw t.BuiltIn.Value;
|
|
5964
|
-
s === 0 ? o = c * e ** +n : o += c * e ** +(n + s * r), s++;
|
|
5978
|
+
function ca(n, r, i, a) {
|
|
5979
|
+
let o = e.getArgs().getRawAt(3), s = o, c = !0 === s?.isIRange, l = c && s.size === 1 && !0 === s.isIReferenceRange;
|
|
5980
|
+
if (!c || l) {
|
|
5981
|
+
let t = c ? s.getValueAt(0, 0) ?? null : o;
|
|
5982
|
+
return (t === null ? 0 : e.parseAsNumber(t)) * n ** +r;
|
|
5965
5983
|
}
|
|
5966
|
-
|
|
5984
|
+
if (a.getRowCount() > 1 && a.getColumnCount() > 1) throw t.BuiltIn.Value;
|
|
5985
|
+
let u = 0, d = 0;
|
|
5986
|
+
for (let e of a.values()) {
|
|
5987
|
+
if (t.isError(e)) throw e;
|
|
5988
|
+
if (typeof e != "number") throw t.BuiltIn.Value;
|
|
5989
|
+
u += e * n ** +(r + d * i), d++;
|
|
5990
|
+
}
|
|
5991
|
+
return u;
|
|
5967
5992
|
}
|
|
5968
|
-
function
|
|
5993
|
+
function la(e) {
|
|
5969
5994
|
return e > 0 ? 1 : e === 0 ? 0 : -1;
|
|
5970
5995
|
}
|
|
5971
|
-
function
|
|
5996
|
+
function ua(e) {
|
|
5972
5997
|
return Math.sqrt(e);
|
|
5973
5998
|
}
|
|
5974
|
-
function
|
|
5999
|
+
function da(e) {
|
|
5975
6000
|
return e < 0 ? NaN : Math.sqrt(e * Math.PI);
|
|
5976
6001
|
}
|
|
5977
|
-
function
|
|
6002
|
+
function fa(r, i) {
|
|
5978
6003
|
let a = Math.trunc(r), o = a >= 101, s = o ? a - 100 : a, c = (o ? i.map((t) => e.filterHidden(t)) : i).map((t) => e.filterTotals(t));
|
|
5979
6004
|
s !== 2 && s !== 3 && c.forEach(h);
|
|
5980
6005
|
let l = c.reduce((e, t) => e.concat(t, n.Axis.Row, null)), u = l.getStats().getAggregates();
|
|
@@ -6010,7 +6035,7 @@ function da(r, i) {
|
|
|
6010
6035
|
default: return t.BuiltIn.Value;
|
|
6011
6036
|
}
|
|
6012
6037
|
}
|
|
6013
|
-
function
|
|
6038
|
+
function pa(e) {
|
|
6014
6039
|
let t = 0, n = null;
|
|
6015
6040
|
for (let r of e) {
|
|
6016
6041
|
let e = r.getStats(), i = e.getAggregates();
|
|
@@ -6018,13 +6043,13 @@ function fa(e) {
|
|
|
6018
6043
|
}
|
|
6019
6044
|
return n ? n.getSnappedSum(t) : t;
|
|
6020
6045
|
}
|
|
6021
|
-
function
|
|
6046
|
+
function ma(e, t, n) {
|
|
6022
6047
|
return F(e, t, n, g((e, t) => (e === null && (e = 0), typeof t == "number" ? e + t : e)), I);
|
|
6023
6048
|
}
|
|
6024
|
-
function
|
|
6025
|
-
return
|
|
6049
|
+
function ha(t, n) {
|
|
6050
|
+
return B(e, n, g((e, t) => typeof t == "number" ? e === null ? t : e + t : e), t, 0, I);
|
|
6026
6051
|
}
|
|
6027
|
-
function
|
|
6052
|
+
function ga(e) {
|
|
6028
6053
|
let n = e[0], r = e.slice(1), i = n.getRowCount(), a = n.getColumnCount(), o = r.length;
|
|
6029
6054
|
for (let e = 0; e < o; e++) if (r[e].getRowCount() !== i || r[e].getColumnCount() !== a) throw t.BuiltIn.Value;
|
|
6030
6055
|
if (i === 1 && a === 1) {
|
|
@@ -6036,28 +6061,28 @@ function ha(e) {
|
|
|
6036
6061
|
for (let t of n.values()) typeof t == "number" && (e += t);
|
|
6037
6062
|
return e;
|
|
6038
6063
|
}
|
|
6039
|
-
return
|
|
6064
|
+
return Da(n, r, Ea);
|
|
6040
6065
|
}
|
|
6041
|
-
function
|
|
6066
|
+
function _a(e) {
|
|
6042
6067
|
let t = 0;
|
|
6043
6068
|
for (let n of e) for (let e of n.values()) t += e ** 2;
|
|
6044
6069
|
return t;
|
|
6045
6070
|
}
|
|
6046
|
-
function _a(e, t) {
|
|
6047
|
-
return Da(e, t, (e, t) => e ** 2 - t ** 2);
|
|
6048
|
-
}
|
|
6049
6071
|
function va(e, t) {
|
|
6050
|
-
return
|
|
6072
|
+
return ka(e, t, (e, t) => e ** 2 - t ** 2);
|
|
6051
6073
|
}
|
|
6052
6074
|
function ya(e, t) {
|
|
6053
|
-
return
|
|
6075
|
+
return ka(e, t, (e, t) => e ** 2 + t ** 2);
|
|
6076
|
+
}
|
|
6077
|
+
function ba(e, t) {
|
|
6078
|
+
return ka(e, t, (e, t) => (e - t) ** 2);
|
|
6054
6079
|
}
|
|
6055
|
-
function
|
|
6080
|
+
function xa(e, t = 0) {
|
|
6056
6081
|
if (t === 0) return Math.trunc(e);
|
|
6057
6082
|
let n = 10 ** t;
|
|
6058
6083
|
return Math.trunc(e * n) / n;
|
|
6059
6084
|
}
|
|
6060
|
-
var
|
|
6085
|
+
var Sa = [
|
|
6061
6086
|
1,
|
|
6062
6087
|
1,
|
|
6063
6088
|
2,
|
|
@@ -6159,219 +6184,222 @@ var xa = [
|
|
|
6159
6184
|
9426890448883248e138,
|
|
6160
6185
|
9332621544394415e140,
|
|
6161
6186
|
9332621544394415e142
|
|
6162
|
-
],
|
|
6163
|
-
function
|
|
6164
|
-
return e <= 100 ?
|
|
6187
|
+
], Ca = [], wa = [];
|
|
6188
|
+
function G(e) {
|
|
6189
|
+
return e <= 100 ? Sa[e] : Ca[e] > 0 ? Ca[e] : Ca[e] = G(e - 1) * e;
|
|
6165
6190
|
}
|
|
6166
|
-
function
|
|
6167
|
-
return e === 1 || e === 0 ? 1 : e === 2 ? 2 :
|
|
6191
|
+
function Ta(e) {
|
|
6192
|
+
return e === 1 || e === 0 ? 1 : e === 2 ? 2 : wa[e] > 0 ? wa[e] : wa[e] = Ta(e - 2) * e;
|
|
6168
6193
|
}
|
|
6169
|
-
var
|
|
6194
|
+
var Ea = (e) => {
|
|
6170
6195
|
let t = 1, n = e.length;
|
|
6171
6196
|
for (let r = 0; r < n; r++) t *= e[r];
|
|
6172
6197
|
return t;
|
|
6173
|
-
},
|
|
6198
|
+
}, Da = (e, t, n) => e.alignReduce(t, (e, t) => {
|
|
6174
6199
|
let r = t.length;
|
|
6175
6200
|
for (let n = 0; n < r; n++) if (typeof t[n] != "number") return e;
|
|
6176
6201
|
return e + n(t);
|
|
6177
|
-
}, 0),
|
|
6202
|
+
}, 0), Oa = (n) => {
|
|
6203
|
+
if (e.getArgs().getRepeatingArgsAt(0).isOmittedAt(0)) throw t.BuiltIn.NA;
|
|
6204
|
+
if (n.length === 0) throw t.BuiltIn.Value;
|
|
6205
|
+
}, ka = (e, n, r) => {
|
|
6178
6206
|
let i = e.getRowCount(), a = e.getColumnCount();
|
|
6179
6207
|
if (i * a !== n.getRowCount() * n.getColumnCount()) throw t.BuiltIn.NA;
|
|
6180
6208
|
if (i === n.getRowCount() && a === n.getColumnCount() || (n = n.reshape(i, a)), i === 1 && a === 1 && (e.getValueAt(0, 0) === null || n.getValueAt(0, 0) === null)) throw t.BuiltIn.Value;
|
|
6181
|
-
for (let n of e.values(
|
|
6182
|
-
for (let e of n.values(
|
|
6209
|
+
for (let n of e.values(Aa)) if (t.isError(n)) throw n;
|
|
6210
|
+
for (let e of n.values(Aa)) if (t.isError(e)) throw e;
|
|
6183
6211
|
let o = 0, s = e.alignReduce([n], (e, t) => typeof t[0] != "number" || typeof t[1] != "number" ? e : (o++, e + r(t[0], t[1])), 0);
|
|
6184
6212
|
if (o === 0) throw t.BuiltIn.Div0;
|
|
6185
6213
|
return s;
|
|
6186
|
-
},
|
|
6187
|
-
ACOS: () =>
|
|
6188
|
-
ACOSH: () =>
|
|
6189
|
-
ACOT: () =>
|
|
6190
|
-
ACOTH: () =>
|
|
6191
|
-
ASIN: () =>
|
|
6192
|
-
ASINH: () =>
|
|
6193
|
-
ATAN: () =>
|
|
6194
|
-
ATAN2: () =>
|
|
6195
|
-
ATANH: () =>
|
|
6196
|
-
COS: () =>
|
|
6197
|
-
COSH: () =>
|
|
6198
|
-
COT: () =>
|
|
6199
|
-
COTH: () =>
|
|
6200
|
-
CSC: () =>
|
|
6201
|
-
CSCH: () =>
|
|
6202
|
-
SEC: () =>
|
|
6203
|
-
SECH: () =>
|
|
6204
|
-
SIN: () =>
|
|
6205
|
-
SINH: () =>
|
|
6206
|
-
TAN: () =>
|
|
6207
|
-
TANH: () =>
|
|
6214
|
+
}, Aa = { axis: n.Axis.Row }, K = 9007199254740992, ja = p({
|
|
6215
|
+
ACOS: () => Ma,
|
|
6216
|
+
ACOSH: () => Na,
|
|
6217
|
+
ACOT: () => Pa,
|
|
6218
|
+
ACOTH: () => Fa,
|
|
6219
|
+
ASIN: () => Ia,
|
|
6220
|
+
ASINH: () => La,
|
|
6221
|
+
ATAN: () => Ra,
|
|
6222
|
+
ATAN2: () => za,
|
|
6223
|
+
ATANH: () => Ba,
|
|
6224
|
+
COS: () => Va,
|
|
6225
|
+
COSH: () => Ha,
|
|
6226
|
+
COT: () => Ua,
|
|
6227
|
+
COTH: () => Wa,
|
|
6228
|
+
CSC: () => Ga,
|
|
6229
|
+
CSCH: () => Ka,
|
|
6230
|
+
SEC: () => qa,
|
|
6231
|
+
SECH: () => Ja,
|
|
6232
|
+
SIN: () => Ya,
|
|
6233
|
+
SINH: () => Xa,
|
|
6234
|
+
TAN: () => Za,
|
|
6235
|
+
TANH: () => Qa
|
|
6208
6236
|
});
|
|
6209
|
-
function
|
|
6237
|
+
function Ma(e) {
|
|
6210
6238
|
return e > 1 || e < -1 ? NaN : Math.acos(e);
|
|
6211
6239
|
}
|
|
6212
|
-
function
|
|
6240
|
+
function Na(e) {
|
|
6213
6241
|
return e < 1 ? NaN : Math.acosh(e);
|
|
6214
6242
|
}
|
|
6215
|
-
function
|
|
6243
|
+
function Pa(e) {
|
|
6216
6244
|
return Math.PI / 2 - Math.atan(e);
|
|
6217
6245
|
}
|
|
6218
|
-
function
|
|
6246
|
+
function Fa(e) {
|
|
6219
6247
|
return Math.abs(e) <= 1 ? NaN : Math.atanh(1 / e);
|
|
6220
6248
|
}
|
|
6221
|
-
function
|
|
6249
|
+
function Ia(e) {
|
|
6222
6250
|
return e > 1 || e < -1 ? NaN : Math.asin(e);
|
|
6223
6251
|
}
|
|
6224
|
-
function
|
|
6252
|
+
function La(e) {
|
|
6225
6253
|
return Math.asinh(e);
|
|
6226
6254
|
}
|
|
6227
|
-
function
|
|
6255
|
+
function Ra(e) {
|
|
6228
6256
|
return Math.atan(e);
|
|
6229
6257
|
}
|
|
6230
|
-
function
|
|
6258
|
+
function za(e, n) {
|
|
6231
6259
|
if (n === 0 && e === 0) throw t.BuiltIn.Div0;
|
|
6232
6260
|
return Math.atan2(n, e);
|
|
6233
6261
|
}
|
|
6234
|
-
function
|
|
6262
|
+
function Ba(e) {
|
|
6235
6263
|
return Math.abs(e) > 1 ? NaN : Math.atanh(e);
|
|
6236
6264
|
}
|
|
6237
|
-
function
|
|
6238
|
-
return Math.abs(e) >=
|
|
6265
|
+
function Va(e) {
|
|
6266
|
+
return Math.abs(e) >= q ? NaN : Math.cos(e);
|
|
6239
6267
|
}
|
|
6240
|
-
function
|
|
6268
|
+
function Ha(e) {
|
|
6241
6269
|
return Math.cosh(e);
|
|
6242
6270
|
}
|
|
6243
|
-
function
|
|
6244
|
-
if (Math.abs(e) >=
|
|
6271
|
+
function Ua(e) {
|
|
6272
|
+
if (Math.abs(e) >= q) return NaN;
|
|
6245
6273
|
if (e === 0) throw t.BuiltIn.Div0;
|
|
6246
6274
|
return 1 / Math.tan(e);
|
|
6247
6275
|
}
|
|
6248
|
-
function
|
|
6276
|
+
function Wa(e) {
|
|
6249
6277
|
if (e === 0) throw t.BuiltIn.Div0;
|
|
6250
6278
|
return 1 / Math.tanh(e);
|
|
6251
6279
|
}
|
|
6252
|
-
function
|
|
6253
|
-
if (Math.abs(e) >=
|
|
6280
|
+
function Ga(e) {
|
|
6281
|
+
if (Math.abs(e) >= q) return NaN;
|
|
6254
6282
|
if (e === 0) throw t.BuiltIn.Div0;
|
|
6255
6283
|
return 1 / Math.sin(e);
|
|
6256
6284
|
}
|
|
6257
|
-
function
|
|
6285
|
+
function Ka(e) {
|
|
6258
6286
|
if (e === 0) throw t.BuiltIn.Div0;
|
|
6259
6287
|
return 1 / Math.sinh(e);
|
|
6260
6288
|
}
|
|
6261
|
-
function Ga(e) {
|
|
6262
|
-
return Math.abs(e) >= K ? NaN : 1 / Math.cos(e);
|
|
6263
|
-
}
|
|
6264
|
-
function Ka(e) {
|
|
6265
|
-
return 1 / Math.cosh(e);
|
|
6266
|
-
}
|
|
6267
6289
|
function qa(e) {
|
|
6268
|
-
return Math.abs(e) >=
|
|
6290
|
+
return Math.abs(e) >= q ? NaN : 1 / Math.cos(e);
|
|
6269
6291
|
}
|
|
6270
6292
|
function Ja(e) {
|
|
6271
|
-
return Math.
|
|
6293
|
+
return 1 / Math.cosh(e);
|
|
6272
6294
|
}
|
|
6273
6295
|
function Ya(e) {
|
|
6274
|
-
return Math.abs(e) >=
|
|
6296
|
+
return Math.abs(e) >= q ? NaN : Math.sin(e);
|
|
6275
6297
|
}
|
|
6276
6298
|
function Xa(e) {
|
|
6299
|
+
return Math.sinh(e);
|
|
6300
|
+
}
|
|
6301
|
+
function Za(e) {
|
|
6302
|
+
return Math.abs(e) >= q ? NaN : Math.tan(e);
|
|
6303
|
+
}
|
|
6304
|
+
function Qa(e) {
|
|
6277
6305
|
return Math.tanh(e);
|
|
6278
6306
|
}
|
|
6279
|
-
var
|
|
6280
|
-
ADD: () =>
|
|
6281
|
-
DIVIDE: () =>
|
|
6282
|
-
EQ: () =>
|
|
6283
|
-
GT: () =>
|
|
6284
|
-
GTE: () =>
|
|
6285
|
-
ISBETWEEN: () =>
|
|
6286
|
-
LT: () =>
|
|
6287
|
-
LTE: () =>
|
|
6288
|
-
MINUS: () =>
|
|
6289
|
-
MULTIPLY: () =>
|
|
6290
|
-
NE: () =>
|
|
6291
|
-
POW: () =>
|
|
6292
|
-
UMINUS: () =>
|
|
6293
|
-
UNARY_PERCENT: () =>
|
|
6294
|
-
UPLUS: () =>
|
|
6307
|
+
var q = 2 ** 27, $a = p({
|
|
6308
|
+
ADD: () => eo,
|
|
6309
|
+
DIVIDE: () => to,
|
|
6310
|
+
EQ: () => no,
|
|
6311
|
+
GT: () => ro,
|
|
6312
|
+
GTE: () => io,
|
|
6313
|
+
ISBETWEEN: () => ho,
|
|
6314
|
+
LT: () => ao,
|
|
6315
|
+
LTE: () => oo,
|
|
6316
|
+
MINUS: () => so,
|
|
6317
|
+
MULTIPLY: () => co,
|
|
6318
|
+
NE: () => lo,
|
|
6319
|
+
POW: () => uo,
|
|
6320
|
+
UMINUS: () => fo,
|
|
6321
|
+
UNARY_PERCENT: () => po,
|
|
6322
|
+
UPLUS: () => mo
|
|
6295
6323
|
});
|
|
6296
|
-
function
|
|
6324
|
+
function eo(e, t) {
|
|
6297
6325
|
return e + t;
|
|
6298
6326
|
}
|
|
6299
|
-
function
|
|
6327
|
+
function to(e, n) {
|
|
6300
6328
|
if (n === 0) throw t.BuiltIn.Div0;
|
|
6301
6329
|
return e / n;
|
|
6302
6330
|
}
|
|
6303
|
-
function
|
|
6331
|
+
function no(t, n) {
|
|
6304
6332
|
return e.compare(t, n) === 0;
|
|
6305
6333
|
}
|
|
6306
|
-
function
|
|
6334
|
+
function ro(t, n) {
|
|
6307
6335
|
return e.compare(t, n) > 0;
|
|
6308
6336
|
}
|
|
6309
|
-
function
|
|
6337
|
+
function io(t, n) {
|
|
6310
6338
|
return e.compare(t, n) >= 0;
|
|
6311
6339
|
}
|
|
6312
|
-
function
|
|
6340
|
+
function ao(t, n) {
|
|
6313
6341
|
return e.compare(t, n) < 0;
|
|
6314
6342
|
}
|
|
6315
|
-
function
|
|
6343
|
+
function oo(t, n) {
|
|
6316
6344
|
return e.compare(t, n) <= 0;
|
|
6317
6345
|
}
|
|
6318
|
-
function
|
|
6346
|
+
function so(e, t) {
|
|
6319
6347
|
return e - t;
|
|
6320
6348
|
}
|
|
6321
|
-
function
|
|
6349
|
+
function co(e, t) {
|
|
6322
6350
|
return e * t;
|
|
6323
6351
|
}
|
|
6324
|
-
function
|
|
6352
|
+
function lo(t, n) {
|
|
6325
6353
|
return e.compare(t, n) !== 0;
|
|
6326
6354
|
}
|
|
6327
|
-
function
|
|
6355
|
+
function uo(e, n) {
|
|
6328
6356
|
if (e === 0) {
|
|
6329
6357
|
if (n < 0) throw t.BuiltIn.Div0;
|
|
6330
6358
|
if (n === 0) return NaN;
|
|
6331
6359
|
}
|
|
6332
6360
|
return e ** n;
|
|
6333
6361
|
}
|
|
6334
|
-
function
|
|
6362
|
+
function fo(e) {
|
|
6335
6363
|
return -1 * e;
|
|
6336
6364
|
}
|
|
6337
|
-
function
|
|
6338
|
-
return
|
|
6365
|
+
function po(e) {
|
|
6366
|
+
return to(e, 100);
|
|
6339
6367
|
}
|
|
6340
|
-
function
|
|
6368
|
+
function mo(e) {
|
|
6341
6369
|
return e;
|
|
6342
6370
|
}
|
|
6343
|
-
function
|
|
6371
|
+
function ho(e, t, n, r = !0, i = !0) {
|
|
6344
6372
|
return (r ? e >= t : e > t) && (i ? e <= n : e < n);
|
|
6345
6373
|
}
|
|
6346
|
-
var
|
|
6347
|
-
AVEDEV: () =>
|
|
6348
|
-
AVERAGE: () =>
|
|
6349
|
-
AVERAGEA: () =>
|
|
6350
|
-
AVERAGEIF: () =>
|
|
6351
|
-
AVERAGEIFS: () =>
|
|
6352
|
-
AVERAGE_WEIGHTED: () =>
|
|
6353
|
-
COUNT: () =>
|
|
6354
|
-
COUNTA: () =>
|
|
6355
|
-
COUNTBLANK: () =>
|
|
6356
|
-
COUNTIF: () =>
|
|
6357
|
-
COUNTIFS: () =>
|
|
6358
|
-
COUNTUNIQUE: () =>
|
|
6359
|
-
COUNTUNIQUEIFS: () =>
|
|
6360
|
-
LARGE: () =>
|
|
6361
|
-
MAX: () =>
|
|
6362
|
-
MAXA: () =>
|
|
6363
|
-
MAXIF: () =>
|
|
6364
|
-
MAXIFS: () =>
|
|
6365
|
-
MEDIAN: () =>
|
|
6366
|
-
MIN: () =>
|
|
6367
|
-
MINA: () =>
|
|
6368
|
-
MINIF: () =>
|
|
6369
|
-
MINIFS: () =>
|
|
6370
|
-
PERMUT: () =>
|
|
6371
|
-
PERMUTATIONA: () =>
|
|
6372
|
-
SMALL: () =>
|
|
6374
|
+
var go = p({
|
|
6375
|
+
AVEDEV: () => _o,
|
|
6376
|
+
AVERAGE: () => J,
|
|
6377
|
+
AVERAGEA: () => vo,
|
|
6378
|
+
AVERAGEIF: () => yo,
|
|
6379
|
+
AVERAGEIFS: () => bo,
|
|
6380
|
+
AVERAGE_WEIGHTED: () => xo,
|
|
6381
|
+
COUNT: () => So,
|
|
6382
|
+
COUNTA: () => Co,
|
|
6383
|
+
COUNTBLANK: () => wo,
|
|
6384
|
+
COUNTIF: () => To,
|
|
6385
|
+
COUNTIFS: () => Eo,
|
|
6386
|
+
COUNTUNIQUE: () => Do,
|
|
6387
|
+
COUNTUNIQUEIFS: () => Oo,
|
|
6388
|
+
LARGE: () => ko,
|
|
6389
|
+
MAX: () => Ao,
|
|
6390
|
+
MAXA: () => jo,
|
|
6391
|
+
MAXIF: () => Mo,
|
|
6392
|
+
MAXIFS: () => No,
|
|
6393
|
+
MEDIAN: () => Po,
|
|
6394
|
+
MIN: () => Fo,
|
|
6395
|
+
MINA: () => Io,
|
|
6396
|
+
MINIF: () => Lo,
|
|
6397
|
+
MINIFS: () => Ro,
|
|
6398
|
+
PERMUT: () => zo,
|
|
6399
|
+
PERMUTATIONA: () => Bo,
|
|
6400
|
+
SMALL: () => Vo
|
|
6373
6401
|
});
|
|
6374
|
-
function
|
|
6402
|
+
function _o(e) {
|
|
6375
6403
|
let n = 0, r = [];
|
|
6376
6404
|
for (let t of e) for (let e of t.values()) n += e, r.push(e);
|
|
6377
6405
|
let i = r.length;
|
|
@@ -6381,21 +6409,21 @@ function ho(e) {
|
|
|
6381
6409
|
for (let e = 0; e < i; e++) n += Math.abs(r[e] - a);
|
|
6382
6410
|
return n / i;
|
|
6383
6411
|
}
|
|
6384
|
-
function
|
|
6385
|
-
return
|
|
6412
|
+
function J(e) {
|
|
6413
|
+
return Wo(e);
|
|
6386
6414
|
}
|
|
6387
|
-
function
|
|
6388
|
-
return
|
|
6415
|
+
function vo(e) {
|
|
6416
|
+
return Wo(e, Uo);
|
|
6389
6417
|
}
|
|
6390
|
-
function
|
|
6418
|
+
function yo(e, n, r) {
|
|
6391
6419
|
let i = F(e, n, r, (e, t) => typeof t == "number" ? e + 1 : e, I), a = F(e, n, r, g((e, t) => (e === null && (e = 0), typeof t == "number" ? e + t : e)), I);
|
|
6392
6420
|
return t.isError(a) ? a : i ? a / i : t.BuiltIn.Div0;
|
|
6393
6421
|
}
|
|
6394
|
-
function
|
|
6395
|
-
let i =
|
|
6422
|
+
function bo(n, r) {
|
|
6423
|
+
let i = B(e, r, g((e, t) => typeof t == "number" ? e === null ? t : e + t : e), n, null, I), a = B(e, r, (e, t) => typeof t == "number" ? e === null ? 1 : e + 1 : e, n, 0, I);
|
|
6396
6424
|
return t.isError(i) ? i : a === 0 || a === null ? t.BuiltIn.Div0 : i / a;
|
|
6397
6425
|
}
|
|
6398
|
-
function
|
|
6426
|
+
function xo(e) {
|
|
6399
6427
|
let n = 0, r = 0, i = e.length;
|
|
6400
6428
|
for (let a = 0; a < i; a++) {
|
|
6401
6429
|
let [i, o] = e[a], s = i.getRowCount() * i.getColumnCount();
|
|
@@ -6410,31 +6438,31 @@ function yo(e) {
|
|
|
6410
6438
|
if (r === 0) throw t.BuiltIn.Div0;
|
|
6411
6439
|
return n / r;
|
|
6412
6440
|
}
|
|
6413
|
-
function
|
|
6441
|
+
function So(e) {
|
|
6414
6442
|
let t = 0;
|
|
6415
6443
|
for (let n of e) t += n.getStats().getAggregates().numericalCount ?? 0;
|
|
6416
6444
|
return t;
|
|
6417
6445
|
}
|
|
6418
|
-
function
|
|
6446
|
+
function Co(e) {
|
|
6419
6447
|
let t = 0;
|
|
6420
6448
|
for (let n of e) t += n.getStats().getAggregates().count ?? 0;
|
|
6421
6449
|
return t;
|
|
6422
6450
|
}
|
|
6423
|
-
function
|
|
6451
|
+
function wo(e) {
|
|
6424
6452
|
return e.getColumnCount() * e.getRowCount() - (e.getStats().getAggregates().count ?? 0);
|
|
6425
6453
|
}
|
|
6426
|
-
function
|
|
6454
|
+
function To(e, t) {
|
|
6427
6455
|
return F(e, t, void 0, (e) => e === null ? 1 : e + 1, Gn);
|
|
6428
6456
|
}
|
|
6429
|
-
function
|
|
6430
|
-
return
|
|
6457
|
+
function Eo(t) {
|
|
6458
|
+
return B(e, t, (e) => e === null ? 1 : e + 1, void 0, 0, Gn);
|
|
6431
6459
|
}
|
|
6432
|
-
function
|
|
6460
|
+
function Do(e) {
|
|
6433
6461
|
let t = /* @__PURE__ */ new Set(), n = e.length;
|
|
6434
|
-
for (let r = 0; r < n; r++) for (let n of e[r].values()) t.add(
|
|
6462
|
+
for (let r = 0; r < n; r++) for (let n of e[r].values()) t.add(Ho(n));
|
|
6435
6463
|
return t.size;
|
|
6436
6464
|
}
|
|
6437
|
-
function
|
|
6465
|
+
function Oo(n, r) {
|
|
6438
6466
|
let i = n.getRowCount(), a = n.getColumnCount(), o = r.length, s = Array(o), c = Array(o);
|
|
6439
6467
|
for (let n = 0; n < o; n++) {
|
|
6440
6468
|
let o = r[n][0];
|
|
@@ -6446,30 +6474,30 @@ function Eo(n, r) {
|
|
|
6446
6474
|
let n = t[0];
|
|
6447
6475
|
if (n === null) return e;
|
|
6448
6476
|
for (let n = 0; n < o; n++) if (!c[n](t[n + 1])) return e;
|
|
6449
|
-
return l.add(
|
|
6477
|
+
return l.add(Ho(n)), e;
|
|
6450
6478
|
}, null), l.size;
|
|
6451
6479
|
}
|
|
6452
|
-
function
|
|
6480
|
+
function ko(e, t) {
|
|
6453
6481
|
let n = e.getStats().getSortedNumbers().getLarge(t);
|
|
6454
6482
|
return n === null ? NaN : n;
|
|
6455
6483
|
}
|
|
6456
|
-
function
|
|
6484
|
+
function Ao(e) {
|
|
6457
6485
|
let t = -(2 ** 53 - 1);
|
|
6458
6486
|
for (let n of e) t = Math.max(n.getStats().getAggregates().max ?? 0, t);
|
|
6459
6487
|
return t === -(2 ** 53 - 1) ? 0 : t;
|
|
6460
6488
|
}
|
|
6461
|
-
function
|
|
6489
|
+
function jo(e) {
|
|
6462
6490
|
let t = 0;
|
|
6463
|
-
for (let n of e) t = Math.max(n.getStats(
|
|
6491
|
+
for (let n of e) t = Math.max(n.getStats(Uo).getAggregates().max ?? 0, t);
|
|
6464
6492
|
return t;
|
|
6465
6493
|
}
|
|
6466
|
-
function
|
|
6494
|
+
function Mo(e, t, n) {
|
|
6467
6495
|
return F(e, t, n, g((e, t) => typeof t == "number" ? e === null ? t : Math.max(e, t) : e ?? 0), I);
|
|
6468
6496
|
}
|
|
6469
|
-
function
|
|
6470
|
-
return
|
|
6497
|
+
function No(t, n) {
|
|
6498
|
+
return B(e, n, g((e, t) => typeof t == "number" ? e === null ? t : Math.max(e, t) : e), t, 0, I);
|
|
6471
6499
|
}
|
|
6472
|
-
function
|
|
6500
|
+
function Po(e) {
|
|
6473
6501
|
let t = [];
|
|
6474
6502
|
for (let n of e) for (let e of n.values()) t.push(e);
|
|
6475
6503
|
if (t.length === 0) return NaN;
|
|
@@ -6481,45 +6509,45 @@ function Mo(e) {
|
|
|
6481
6509
|
}
|
|
6482
6510
|
return t[Math.floor(n / 2)];
|
|
6483
6511
|
}
|
|
6484
|
-
function
|
|
6512
|
+
function Fo(e) {
|
|
6485
6513
|
let t = 2 ** 53 - 1;
|
|
6486
6514
|
for (let n of e) t = Math.min(n.getStats().getAggregates().min ?? 0, t);
|
|
6487
6515
|
return t === 2 ** 53 - 1 ? 0 : t;
|
|
6488
6516
|
}
|
|
6489
|
-
function
|
|
6517
|
+
function Io(e) {
|
|
6490
6518
|
let t = 2 ** 53 - 1;
|
|
6491
|
-
for (let n of e) t = Math.min(n.getStats(
|
|
6519
|
+
for (let n of e) t = Math.min(n.getStats(Uo).getAggregates().min ?? t, t);
|
|
6492
6520
|
return t === 2 ** 53 - 1 ? 0 : t;
|
|
6493
6521
|
}
|
|
6494
|
-
function
|
|
6522
|
+
function Lo(e, t, n) {
|
|
6495
6523
|
return F(e, t, n, g((e, t) => typeof t == "number" ? e === null ? t : Math.min(e, t) : e ?? 0), I);
|
|
6496
6524
|
}
|
|
6497
|
-
function
|
|
6498
|
-
return
|
|
6525
|
+
function Ro(t, n) {
|
|
6526
|
+
return B(e, n, g((e, t) => typeof t == "number" ? e === null ? t : Math.min(e, t) : e), t, 0, I);
|
|
6499
6527
|
}
|
|
6500
|
-
function
|
|
6528
|
+
function zo(e, t) {
|
|
6501
6529
|
if (e = Math.trunc(e), t = Math.trunc(t), e < 0 || t < 0 || t > e) return NaN;
|
|
6502
6530
|
let n = 1;
|
|
6503
6531
|
for (let r = e; r > e - t; r--) n *= r;
|
|
6504
6532
|
return n;
|
|
6505
6533
|
}
|
|
6506
|
-
function
|
|
6534
|
+
function Bo(e, t) {
|
|
6507
6535
|
return e = Math.trunc(e), t = Math.trunc(t), e < 0 || t < 0 ? NaN : e ** +t;
|
|
6508
6536
|
}
|
|
6509
|
-
function
|
|
6537
|
+
function Vo(e, t) {
|
|
6510
6538
|
let n = e.getStats().getSortedNumbers().getSmall(t);
|
|
6511
6539
|
return n === null ? NaN : n;
|
|
6512
6540
|
}
|
|
6513
|
-
var
|
|
6541
|
+
var Ho = (e) => {
|
|
6514
6542
|
if (e === null) return "\0";
|
|
6515
6543
|
let n = typeof e;
|
|
6516
6544
|
return n === "number" ? "" + e.toString() : n === "string" ? "" + e : n === "boolean" ? "" + (e ? "1" : "0") : t.isError(e) ? "" + e.getCode() : "" + String(e);
|
|
6517
|
-
},
|
|
6545
|
+
}, Uo = Object.freeze({ coerce: (e, n, r, a) => {
|
|
6518
6546
|
if (n === i.String) return 0;
|
|
6519
6547
|
if (n === i.Boolean) return a.isLiteral() ? null : +!!e;
|
|
6520
6548
|
if (t.isError(e)) throw e;
|
|
6521
6549
|
return null;
|
|
6522
|
-
} }),
|
|
6550
|
+
} }), Wo = (e, n) => {
|
|
6523
6551
|
let r = 0, i = 0, a = null;
|
|
6524
6552
|
for (let t of e) {
|
|
6525
6553
|
let e = t.getStats(n), o = e.getAggregates();
|
|
@@ -6527,151 +6555,151 @@ var Bo = (e) => {
|
|
|
6527
6555
|
}
|
|
6528
6556
|
if (i === 0) throw t.BuiltIn.Div0;
|
|
6529
6557
|
return (a ? a.getSnappedSum(r) : r) / i;
|
|
6530
|
-
},
|
|
6531
|
-
BETADIST: () =>
|
|
6532
|
-
BETAINV: () =>
|
|
6533
|
-
BETA_DIST: () =>
|
|
6534
|
-
BETA_INV: () =>
|
|
6535
|
-
BINOMDIST: () =>
|
|
6536
|
-
BINOM_DIST: () =>
|
|
6537
|
-
BINOM_DIST_RANGE: () =>
|
|
6538
|
-
BINOM_INV: () =>
|
|
6539
|
-
CHIDIST: () =>
|
|
6540
|
-
CHIINV: () =>
|
|
6541
|
-
CHISQ_DIST: () =>
|
|
6542
|
-
CHISQ_DIST_RT: () =>
|
|
6543
|
-
CHISQ_INV: () =>
|
|
6544
|
-
CHISQ_INV_RT: () =>
|
|
6545
|
-
CHISQ_TEST: () =>
|
|
6546
|
-
CHITEST: () =>
|
|
6547
|
-
CONFIDENCE: () =>
|
|
6548
|
-
CONFIDENCE_NORM: () =>
|
|
6549
|
-
CONFIDENCE_T: () =>
|
|
6550
|
-
CORREL: () =>
|
|
6551
|
-
COVAR: () =>
|
|
6552
|
-
COVARIANCE_P: () =>
|
|
6553
|
-
COVARIANCE_S: () =>
|
|
6554
|
-
CRITBINOM: () =>
|
|
6555
|
-
DEVSQ: () =>
|
|
6556
|
-
EXPONDIST: () =>
|
|
6557
|
-
EXPON_DIST: () =>
|
|
6558
|
-
FDIST: () =>
|
|
6559
|
-
FINV: () =>
|
|
6560
|
-
FISHER: () =>
|
|
6561
|
-
FISHERINV: () =>
|
|
6562
|
-
FORECAST: () =>
|
|
6563
|
-
FORECAST_LINEAR: () =>
|
|
6564
|
-
FREQUENCY: () =>
|
|
6565
|
-
FTEST: () =>
|
|
6566
|
-
F_DIST: () =>
|
|
6567
|
-
F_DIST_RT: () =>
|
|
6568
|
-
F_INV: () =>
|
|
6569
|
-
F_INV_RT: () =>
|
|
6570
|
-
F_TEST: () =>
|
|
6571
|
-
GAMMA: () =>
|
|
6572
|
-
GAMMADIST: () =>
|
|
6573
|
-
GAMMAINV: () =>
|
|
6574
|
-
GAMMALN: () =>
|
|
6575
|
-
GAMMALN_PRECISE: () =>
|
|
6576
|
-
GAMMA_DIST: () =>
|
|
6577
|
-
GAMMA_INV: () =>
|
|
6578
|
-
GAUSS: () =>
|
|
6579
|
-
GEOMEAN: () =>
|
|
6580
|
-
HARMEAN: () =>
|
|
6581
|
-
HYPGEOMDIST: () =>
|
|
6582
|
-
HYPGEOM_DIST: () =>
|
|
6583
|
-
INTERCEPT: () =>
|
|
6584
|
-
KURT: () =>
|
|
6585
|
-
LOGINV: () =>
|
|
6586
|
-
LOGNORMDIST: () =>
|
|
6587
|
-
LOGNORM_DIST: () =>
|
|
6588
|
-
LOGNORM_INV: () =>
|
|
6589
|
-
MODE: () =>
|
|
6590
|
-
MODE_MULT: () =>
|
|
6591
|
-
MODE_SNGL: () =>
|
|
6592
|
-
NEGBINOMDIST: () =>
|
|
6593
|
-
NEGBINOM_DIST: () =>
|
|
6594
|
-
NORMDIST: () =>
|
|
6595
|
-
NORMINV: () =>
|
|
6596
|
-
NORMSDIST: () =>
|
|
6597
|
-
NORMSINV: () =>
|
|
6598
|
-
NORM_DIST: () =>
|
|
6599
|
-
NORM_INV: () =>
|
|
6600
|
-
NORM_S_DIST: () =>
|
|
6601
|
-
NORM_S_INV: () =>
|
|
6602
|
-
PEARSON: () =>
|
|
6603
|
-
PERCENTILE: () =>
|
|
6604
|
-
PERCENTILE_EXC: () =>
|
|
6605
|
-
PERCENTILE_INC: () =>
|
|
6606
|
-
PERCENTRANK: () =>
|
|
6607
|
-
PERCENTRANK_EXC: () =>
|
|
6608
|
-
PERCENTRANK_INC: () =>
|
|
6609
|
-
PHI: () =>
|
|
6610
|
-
POISSON: () =>
|
|
6611
|
-
POISSON_DIST: () =>
|
|
6612
|
-
PROB: () =>
|
|
6613
|
-
QUARTILE: () =>
|
|
6614
|
-
QUARTILE_EXC: () =>
|
|
6615
|
-
QUARTILE_INC: () =>
|
|
6616
|
-
RANK: () =>
|
|
6617
|
-
RANK_AVG: () =>
|
|
6618
|
-
RANK_EQ: () =>
|
|
6619
|
-
RSQ: () =>
|
|
6620
|
-
SKEW: () =>
|
|
6621
|
-
SKEW_P: () =>
|
|
6622
|
-
SLOPE: () =>
|
|
6623
|
-
STANDARDIZE: () =>
|
|
6624
|
-
STDEV: () =>
|
|
6625
|
-
STDEVA: () =>
|
|
6626
|
-
STDEVP: () =>
|
|
6627
|
-
STDEVPA: () =>
|
|
6628
|
-
STDEV_P: () =>
|
|
6629
|
-
STDEV_S: () =>
|
|
6630
|
-
STEYX: () =>
|
|
6631
|
-
TDIST: () =>
|
|
6632
|
-
TINV: () =>
|
|
6633
|
-
TRIMMEAN: () =>
|
|
6634
|
-
T_DIST: () =>
|
|
6635
|
-
T_DIST_2T: () =>
|
|
6636
|
-
T_DIST_RT: () =>
|
|
6637
|
-
T_INV: () =>
|
|
6638
|
-
T_INV_2T: () =>
|
|
6639
|
-
VAR: () =>
|
|
6640
|
-
VARA: () =>
|
|
6641
|
-
VARP: () =>
|
|
6642
|
-
VARPA: () =>
|
|
6643
|
-
VAR_P: () =>
|
|
6644
|
-
VAR_S: () =>
|
|
6645
|
-
WEIBULL: () =>
|
|
6646
|
-
WEIBULL_DIST: () =>
|
|
6647
|
-
ZTEST: () =>
|
|
6648
|
-
Z_TEST: () =>
|
|
6558
|
+
}, Go = p({
|
|
6559
|
+
BETADIST: () => qo,
|
|
6560
|
+
BETAINV: () => Yo,
|
|
6561
|
+
BETA_DIST: () => Ko,
|
|
6562
|
+
BETA_INV: () => Jo,
|
|
6563
|
+
BINOMDIST: () => Zo,
|
|
6564
|
+
BINOM_DIST: () => Xo,
|
|
6565
|
+
BINOM_DIST_RANGE: () => Qo,
|
|
6566
|
+
BINOM_INV: () => $o,
|
|
6567
|
+
CHIDIST: () => ts,
|
|
6568
|
+
CHIINV: () => is,
|
|
6569
|
+
CHISQ_DIST: () => es,
|
|
6570
|
+
CHISQ_DIST_RT: () => ns,
|
|
6571
|
+
CHISQ_INV: () => rs,
|
|
6572
|
+
CHISQ_INV_RT: () => as,
|
|
6573
|
+
CHISQ_TEST: () => os,
|
|
6574
|
+
CHITEST: () => ss,
|
|
6575
|
+
CONFIDENCE: () => ls,
|
|
6576
|
+
CONFIDENCE_NORM: () => cs,
|
|
6577
|
+
CONFIDENCE_T: () => us,
|
|
6578
|
+
CORREL: () => ds,
|
|
6579
|
+
COVAR: () => fs,
|
|
6580
|
+
COVARIANCE_P: () => ps,
|
|
6581
|
+
COVARIANCE_S: () => ms,
|
|
6582
|
+
CRITBINOM: () => hs,
|
|
6583
|
+
DEVSQ: () => gs,
|
|
6584
|
+
EXPONDIST: () => vs,
|
|
6585
|
+
EXPON_DIST: () => _s,
|
|
6586
|
+
FDIST: () => bs,
|
|
6587
|
+
FINV: () => Cs,
|
|
6588
|
+
FISHER: () => Ds,
|
|
6589
|
+
FISHERINV: () => Os,
|
|
6590
|
+
FORECAST: () => ks,
|
|
6591
|
+
FORECAST_LINEAR: () => As,
|
|
6592
|
+
FREQUENCY: () => js,
|
|
6593
|
+
FTEST: () => Es,
|
|
6594
|
+
F_DIST: () => ys,
|
|
6595
|
+
F_DIST_RT: () => xs,
|
|
6596
|
+
F_INV: () => Ss,
|
|
6597
|
+
F_INV_RT: () => ws,
|
|
6598
|
+
F_TEST: () => Ts,
|
|
6599
|
+
GAMMA: () => Ms,
|
|
6600
|
+
GAMMADIST: () => Ps,
|
|
6601
|
+
GAMMAINV: () => Is,
|
|
6602
|
+
GAMMALN: () => Ls,
|
|
6603
|
+
GAMMALN_PRECISE: () => Rs,
|
|
6604
|
+
GAMMA_DIST: () => Ns,
|
|
6605
|
+
GAMMA_INV: () => Fs,
|
|
6606
|
+
GAUSS: () => zs,
|
|
6607
|
+
GEOMEAN: () => Bs,
|
|
6608
|
+
HARMEAN: () => Vs,
|
|
6609
|
+
HYPGEOMDIST: () => Us,
|
|
6610
|
+
HYPGEOM_DIST: () => Hs,
|
|
6611
|
+
INTERCEPT: () => Ws,
|
|
6612
|
+
KURT: () => Gs,
|
|
6613
|
+
LOGINV: () => Ys,
|
|
6614
|
+
LOGNORMDIST: () => qs,
|
|
6615
|
+
LOGNORM_DIST: () => Ks,
|
|
6616
|
+
LOGNORM_INV: () => Js,
|
|
6617
|
+
MODE: () => Xs,
|
|
6618
|
+
MODE_MULT: () => Zs,
|
|
6619
|
+
MODE_SNGL: () => Qs,
|
|
6620
|
+
NEGBINOMDIST: () => ec,
|
|
6621
|
+
NEGBINOM_DIST: () => $s,
|
|
6622
|
+
NORMDIST: () => nc,
|
|
6623
|
+
NORMINV: () => ic,
|
|
6624
|
+
NORMSDIST: () => oc,
|
|
6625
|
+
NORMSINV: () => cc,
|
|
6626
|
+
NORM_DIST: () => tc,
|
|
6627
|
+
NORM_INV: () => rc,
|
|
6628
|
+
NORM_S_DIST: () => ac,
|
|
6629
|
+
NORM_S_INV: () => sc,
|
|
6630
|
+
PEARSON: () => lc,
|
|
6631
|
+
PERCENTILE: () => uc,
|
|
6632
|
+
PERCENTILE_EXC: () => dc,
|
|
6633
|
+
PERCENTILE_INC: () => fc,
|
|
6634
|
+
PERCENTRANK: () => pc,
|
|
6635
|
+
PERCENTRANK_EXC: () => mc,
|
|
6636
|
+
PERCENTRANK_INC: () => hc,
|
|
6637
|
+
PHI: () => gc,
|
|
6638
|
+
POISSON: () => vc,
|
|
6639
|
+
POISSON_DIST: () => _c,
|
|
6640
|
+
PROB: () => yc,
|
|
6641
|
+
QUARTILE: () => bc,
|
|
6642
|
+
QUARTILE_EXC: () => xc,
|
|
6643
|
+
QUARTILE_INC: () => Sc,
|
|
6644
|
+
RANK: () => Cc,
|
|
6645
|
+
RANK_AVG: () => wc,
|
|
6646
|
+
RANK_EQ: () => Tc,
|
|
6647
|
+
RSQ: () => Ec,
|
|
6648
|
+
SKEW: () => Dc,
|
|
6649
|
+
SKEW_P: () => Oc,
|
|
6650
|
+
SLOPE: () => kc,
|
|
6651
|
+
STANDARDIZE: () => Ac,
|
|
6652
|
+
STDEV: () => Mc,
|
|
6653
|
+
STDEVA: () => Fc,
|
|
6654
|
+
STDEVP: () => Pc,
|
|
6655
|
+
STDEVPA: () => Ic,
|
|
6656
|
+
STDEV_P: () => Nc,
|
|
6657
|
+
STDEV_S: () => jc,
|
|
6658
|
+
STEYX: () => Lc,
|
|
6659
|
+
TDIST: () => zc,
|
|
6660
|
+
TINV: () => Uc,
|
|
6661
|
+
TRIMMEAN: () => Gc,
|
|
6662
|
+
T_DIST: () => Rc,
|
|
6663
|
+
T_DIST_2T: () => Bc,
|
|
6664
|
+
T_DIST_RT: () => Vc,
|
|
6665
|
+
T_INV: () => Hc,
|
|
6666
|
+
T_INV_2T: () => Wc,
|
|
6667
|
+
VAR: () => Xc,
|
|
6668
|
+
VARA: () => Zc,
|
|
6669
|
+
VARP: () => Jc,
|
|
6670
|
+
VARPA: () => Qc,
|
|
6671
|
+
VAR_P: () => qc,
|
|
6672
|
+
VAR_S: () => Yc,
|
|
6673
|
+
WEIBULL: () => el,
|
|
6674
|
+
WEIBULL_DIST: () => $c,
|
|
6675
|
+
ZTEST: () => nl,
|
|
6676
|
+
Z_TEST: () => tl
|
|
6649
6677
|
});
|
|
6650
|
-
function
|
|
6678
|
+
function Ko(e, t, n, r, i = 0, a = 1) {
|
|
6651
6679
|
return t <= 0 || n <= 0 || e < i || e > a || i === a ? NaN : (e = (e - i) / (a - i), r ? O.default.beta.cdf(e, t, n) : O.default.beta.pdf(e, t, n) / (a - i));
|
|
6652
6680
|
}
|
|
6653
|
-
function
|
|
6654
|
-
return
|
|
6681
|
+
function qo(e, t, n, r = 0, i = 1) {
|
|
6682
|
+
return Ko(e, t, n, !0, r, i);
|
|
6655
6683
|
}
|
|
6656
|
-
function
|
|
6684
|
+
function Jo(e, t, n, r = 0, i = 1) {
|
|
6657
6685
|
return t <= 0 || n <= 0 || e < 0 || e > 1 ? NaN : O.default.beta.inv(e, t, n) * (i - r) + r;
|
|
6658
6686
|
}
|
|
6659
|
-
function
|
|
6660
|
-
return
|
|
6687
|
+
function Yo(e, t, n, r = 0, i = 1) {
|
|
6688
|
+
return Jo(e, t, n, r, i);
|
|
6661
6689
|
}
|
|
6662
|
-
function
|
|
6690
|
+
function Xo(e, t, n, r) {
|
|
6663
6691
|
return t < 0 || n < 0 || n > 1 || e < 0 || e > t ? NaN : r ? O.default.binomial.cdf(e, t, n) : O.default.binomial.pdf(e, t, n);
|
|
6664
6692
|
}
|
|
6665
|
-
function
|
|
6666
|
-
return
|
|
6693
|
+
function Zo(e, t, n, r) {
|
|
6694
|
+
return Xo(e, t, n, r);
|
|
6667
6695
|
}
|
|
6668
|
-
function
|
|
6696
|
+
function Qo(e, t, n, r = n) {
|
|
6669
6697
|
if (e < 0 || t < 0 || t > 1 || n < 0 || n > e || r < n || r > e) return NaN;
|
|
6670
6698
|
let i = 0;
|
|
6671
|
-
for (let a = n; a <= r; a++) i +=
|
|
6699
|
+
for (let a = n; a <= r; a++) i += H(e, a) * t ** +a * (1 - t) ** (e - a);
|
|
6672
6700
|
return i;
|
|
6673
6701
|
}
|
|
6674
|
-
function
|
|
6702
|
+
function $o(e, t, n) {
|
|
6675
6703
|
if (e < 0 || t < 0 || t > 1 || n <= 0 || n >= 1) return NaN;
|
|
6676
6704
|
let r = 0;
|
|
6677
6705
|
for (; r <= e;) {
|
|
@@ -6680,25 +6708,25 @@ function Zo(e, t, n) {
|
|
|
6680
6708
|
}
|
|
6681
6709
|
return NaN;
|
|
6682
6710
|
}
|
|
6683
|
-
function
|
|
6711
|
+
function es(e, t, n) {
|
|
6684
6712
|
return e < 0 || t < 1 || t > 10 ** 10 ? NaN : n ? O.default.chisquare.cdf(e, t) : O.default.chisquare.pdf(e, t);
|
|
6685
6713
|
}
|
|
6686
|
-
function
|
|
6687
|
-
return
|
|
6714
|
+
function ts(e, t) {
|
|
6715
|
+
return ns(e, t);
|
|
6688
6716
|
}
|
|
6689
|
-
function
|
|
6717
|
+
function ns(e, t) {
|
|
6690
6718
|
return t = Math.trunc(t), e < 0 || t < 1 || t > 10 ** 10 ? NaN : 1 - O.default.chisquare.cdf(e, t);
|
|
6691
6719
|
}
|
|
6692
|
-
function
|
|
6720
|
+
function rs(e, t) {
|
|
6693
6721
|
return t = Math.trunc(t), e < 0 || e > 1 || t < 1 || t > 10 ** 10 ? NaN : O.default.chisquare.inv(e, t);
|
|
6694
6722
|
}
|
|
6695
|
-
function
|
|
6696
|
-
return
|
|
6723
|
+
function is(e, t) {
|
|
6724
|
+
return as(e, t);
|
|
6697
6725
|
}
|
|
6698
|
-
function
|
|
6726
|
+
function as(e, t) {
|
|
6699
6727
|
return t = Math.trunc(t), e < 0 || e > 1 || t < 1 || t > 10 ** 10 ? NaN : O.default.chisquare.inv(1 - e, t);
|
|
6700
6728
|
}
|
|
6701
|
-
function
|
|
6729
|
+
function os(e, n) {
|
|
6702
6730
|
let r = e.getRowCount(), i = e.getColumnCount();
|
|
6703
6731
|
if (r * i !== n.getRowCount() * n.getColumnCount() || (h(e), h(n), r === 1 && i === 1)) throw t.BuiltIn.NA;
|
|
6704
6732
|
let a;
|
|
@@ -6711,38 +6739,38 @@ function is(e, n) {
|
|
|
6711
6739
|
o += (e - n) ** 2 / n;
|
|
6712
6740
|
}
|
|
6713
6741
|
}
|
|
6714
|
-
return
|
|
6742
|
+
return ns(o, a);
|
|
6715
6743
|
}
|
|
6716
|
-
function
|
|
6717
|
-
return
|
|
6744
|
+
function ss(e, t) {
|
|
6745
|
+
return os(e, t);
|
|
6718
6746
|
}
|
|
6719
|
-
function
|
|
6747
|
+
function cs(e, t, n) {
|
|
6720
6748
|
return n = Math.trunc(n), e <= 0 || e >= 1 || t <= 0 || n < 1 ? NaN : O.default.normalci(1, e, t, n)[1] - 1;
|
|
6721
6749
|
}
|
|
6722
|
-
function
|
|
6723
|
-
return
|
|
6750
|
+
function ls(e, t, n) {
|
|
6751
|
+
return cs(e, t, n);
|
|
6724
6752
|
}
|
|
6725
|
-
function
|
|
6753
|
+
function us(e, n, r) {
|
|
6726
6754
|
if (r = Math.trunc(r), e <= 0 || e >= 1 || n <= 0 || r < 1) return NaN;
|
|
6727
6755
|
if (r === 1) throw t.BuiltIn.Div0;
|
|
6728
6756
|
return O.default.tci(1, e, n, r)[1] - 1;
|
|
6729
6757
|
}
|
|
6730
|
-
function
|
|
6731
|
-
let r =
|
|
6758
|
+
function ds(e, n) {
|
|
6759
|
+
let r = Y(e, n);
|
|
6732
6760
|
return t.isError(r) ? r : r === null ? t.BuiltIn.NA : r.ssX === 0 || r.ssY === 0 ? t.BuiltIn.Div0 : r.ssXY / Math.sqrt(r.ssX * r.ssY);
|
|
6733
6761
|
}
|
|
6734
|
-
function
|
|
6735
|
-
return
|
|
6762
|
+
function fs(e, t) {
|
|
6763
|
+
return ps(e, t);
|
|
6736
6764
|
}
|
|
6737
|
-
function
|
|
6738
|
-
let r =
|
|
6765
|
+
function ps(e, n) {
|
|
6766
|
+
let r = Y(e, n);
|
|
6739
6767
|
return t.isError(r) ? r : r === null ? t.BuiltIn.NA : r.n === 0 ? t.BuiltIn.Div0 : r.ssXY / r.n;
|
|
6740
6768
|
}
|
|
6741
|
-
function
|
|
6742
|
-
let r =
|
|
6769
|
+
function ms(e, n) {
|
|
6770
|
+
let r = Y(e, n);
|
|
6743
6771
|
return t.isError(r) ? r : r === null ? t.BuiltIn.NA : r.n <= 1 ? t.BuiltIn.Div0 : r.ssXY / (r.n - 1);
|
|
6744
6772
|
}
|
|
6745
|
-
function
|
|
6773
|
+
function hs(e, t, n) {
|
|
6746
6774
|
if ((e = Math.floor(e)) < 0 || t < 0 || t > 1 || n <= 0 || n >= 1) return NaN;
|
|
6747
6775
|
let r = 0, i = e;
|
|
6748
6776
|
for (; r < i;) {
|
|
@@ -6751,7 +6779,7 @@ function ps(e, t, n) {
|
|
|
6751
6779
|
}
|
|
6752
6780
|
return r;
|
|
6753
6781
|
}
|
|
6754
|
-
function
|
|
6782
|
+
function gs(e) {
|
|
6755
6783
|
let t = 0, n = [];
|
|
6756
6784
|
for (let r of e) for (let e of r.values()) t += e, n.push(e);
|
|
6757
6785
|
let r = n.length, i = t / r;
|
|
@@ -6759,31 +6787,31 @@ function ms(e) {
|
|
|
6759
6787
|
for (let e = 0; e < r; e++) t += (n[e] - i) ** 2;
|
|
6760
6788
|
return t;
|
|
6761
6789
|
}
|
|
6762
|
-
function
|
|
6790
|
+
function _s(e, t, n) {
|
|
6763
6791
|
return e < 0 || t <= 0 ? NaN : n ? O.default.exponential.cdf(e, t) : O.default.exponential.pdf(e, t);
|
|
6764
6792
|
}
|
|
6765
|
-
function
|
|
6766
|
-
return
|
|
6793
|
+
function vs(e, t, n) {
|
|
6794
|
+
return _s(e, t, n);
|
|
6767
6795
|
}
|
|
6768
|
-
function
|
|
6796
|
+
function ys(e, t, n, r) {
|
|
6769
6797
|
return e < 0 || t < 1 || n < 1 ? NaN : (t = Math.trunc(t), n = Math.trunc(n), r ? O.default.centralF.cdf(e, t, n) : O.default.centralF.pdf(e, t, n));
|
|
6770
6798
|
}
|
|
6771
|
-
function
|
|
6772
|
-
return
|
|
6799
|
+
function bs(e, t, n) {
|
|
6800
|
+
return xs(e, t, n);
|
|
6773
6801
|
}
|
|
6774
|
-
function
|
|
6802
|
+
function xs(e, t, n) {
|
|
6775
6803
|
return e < 0 || t < 1 || n < 1 ? NaN : (t = Math.trunc(t), n = Math.trunc(n), 1 - O.default.centralF.cdf(e, t, n));
|
|
6776
6804
|
}
|
|
6777
|
-
function
|
|
6805
|
+
function Ss(e, t, n) {
|
|
6778
6806
|
return e < 0 || e > 1 || t < 1 || n < 1 ? NaN : (t = Math.trunc(t), n = Math.trunc(n), O.default.centralF.inv(e, t, n));
|
|
6779
6807
|
}
|
|
6780
|
-
function
|
|
6781
|
-
return
|
|
6808
|
+
function Cs(e, t, n) {
|
|
6809
|
+
return ws(e, t, n);
|
|
6782
6810
|
}
|
|
6783
|
-
function
|
|
6811
|
+
function ws(e, t, n) {
|
|
6784
6812
|
return e < 0 || e > 1 || t < 1 || t >= 10 ** 10 || n < 1 || n >= 10 ** 10 ? NaN : (t = Math.trunc(t), n = Math.trunc(n), O.default.centralF.inv(1 - e, t, n));
|
|
6785
6813
|
}
|
|
6786
|
-
function
|
|
6814
|
+
function Ts(e, n) {
|
|
6787
6815
|
let r = [], i = [];
|
|
6788
6816
|
for (let [t, a] of [[e, r], [n, i]]) t.forEach((e) => {
|
|
6789
6817
|
typeof e == "number" && a.push(e);
|
|
@@ -6801,29 +6829,29 @@ function Cs(e, n) {
|
|
|
6801
6829
|
let l = O.default.centralF.cdf(s / c, r.length - 1, i.length - 1);
|
|
6802
6830
|
return 2 * Math.min(l, 1 - l);
|
|
6803
6831
|
}
|
|
6804
|
-
function
|
|
6805
|
-
return
|
|
6832
|
+
function Es(e, t) {
|
|
6833
|
+
return Ts(e, t);
|
|
6806
6834
|
}
|
|
6807
|
-
function
|
|
6835
|
+
function Ds(e) {
|
|
6808
6836
|
if (e === 1 || e === -1) throw t.BuiltIn.Div0;
|
|
6809
6837
|
return Math.log((1 + e) / (1 - e)) / 2;
|
|
6810
6838
|
}
|
|
6811
|
-
function
|
|
6839
|
+
function Os(e) {
|
|
6812
6840
|
let t = Math.exp(2 * e);
|
|
6813
6841
|
return (t - 1) / (t + 1);
|
|
6814
6842
|
}
|
|
6815
|
-
function
|
|
6816
|
-
return
|
|
6843
|
+
function ks(e, t, n) {
|
|
6844
|
+
return As(e, t, n);
|
|
6817
6845
|
}
|
|
6818
|
-
function
|
|
6819
|
-
let i =
|
|
6846
|
+
function As(e, n, r) {
|
|
6847
|
+
let i = Y(n, r);
|
|
6820
6848
|
if (t.isError(i)) return i;
|
|
6821
6849
|
if (i === null || i.n === 0) return t.BuiltIn.NA;
|
|
6822
6850
|
if (i.ssX === 0) return t.BuiltIn.Div0;
|
|
6823
6851
|
let a = i.ssXY / i.ssX;
|
|
6824
6852
|
return i.yMean - a * i.xMean + a * e;
|
|
6825
6853
|
}
|
|
6826
|
-
function
|
|
6854
|
+
function js(e, t) {
|
|
6827
6855
|
let n = [];
|
|
6828
6856
|
for (let e of t.values()) typeof e == "number" && n.push(e);
|
|
6829
6857
|
let r = [];
|
|
@@ -6843,31 +6871,31 @@ function ks(e, t) {
|
|
|
6843
6871
|
for (let e = 0; e < r.length; e++) r[e] > o && s++;
|
|
6844
6872
|
return a[n.length][0] = s, a;
|
|
6845
6873
|
}
|
|
6846
|
-
function
|
|
6874
|
+
function Ms(e) {
|
|
6847
6875
|
return e === 0 || e < 0 && e === Math.trunc(e) ? NaN : O.default.gammafn(e);
|
|
6848
6876
|
}
|
|
6849
|
-
function
|
|
6877
|
+
function Ns(e, t, n, r) {
|
|
6850
6878
|
return e < 0 || t <= 0 || n <= 0 ? NaN : r ? O.default.gamma.cdf(e, t, n, !0) : O.default.gamma.pdf(e, t, n, !1);
|
|
6851
6879
|
}
|
|
6852
|
-
function
|
|
6853
|
-
return
|
|
6880
|
+
function Ps(e, t, n, r) {
|
|
6881
|
+
return Ns(e, t, n, r);
|
|
6854
6882
|
}
|
|
6855
|
-
function
|
|
6883
|
+
function Fs(e, t, n) {
|
|
6856
6884
|
return e < 0 || e > 1 || t <= 0 || n <= 0 ? NaN : O.default.gamma.inv(e, t, n);
|
|
6857
6885
|
}
|
|
6858
|
-
function
|
|
6859
|
-
return
|
|
6886
|
+
function Is(e, t, n) {
|
|
6887
|
+
return Fs(e, t, n);
|
|
6860
6888
|
}
|
|
6861
|
-
function
|
|
6889
|
+
function Ls(e) {
|
|
6862
6890
|
return e <= 0 ? NaN : O.default.gammaln(e);
|
|
6863
6891
|
}
|
|
6864
|
-
function
|
|
6892
|
+
function Rs(e) {
|
|
6865
6893
|
return e <= 0 ? NaN : O.default.gammaln(e);
|
|
6866
6894
|
}
|
|
6867
|
-
function
|
|
6895
|
+
function zs(e) {
|
|
6868
6896
|
return O.default.normal.cdf(e, 0, 1) - .5;
|
|
6869
6897
|
}
|
|
6870
|
-
function
|
|
6898
|
+
function Bs(e) {
|
|
6871
6899
|
let t = [];
|
|
6872
6900
|
for (let n of e) for (let e of n.values()) {
|
|
6873
6901
|
if (e <= 0) return NaN;
|
|
@@ -6875,7 +6903,7 @@ function Rs(e) {
|
|
|
6875
6903
|
}
|
|
6876
6904
|
return O.default.geomean(t);
|
|
6877
6905
|
}
|
|
6878
|
-
function
|
|
6906
|
+
function Vs(e) {
|
|
6879
6907
|
let t = 0, n = 0;
|
|
6880
6908
|
for (let r of e) for (let e of r.values()) {
|
|
6881
6909
|
if (e <= 0) return NaN;
|
|
@@ -6883,10 +6911,10 @@ function zs(e) {
|
|
|
6883
6911
|
}
|
|
6884
6912
|
return t / n;
|
|
6885
6913
|
}
|
|
6886
|
-
function
|
|
6914
|
+
function Hs(e, t, n, r, i) {
|
|
6887
6915
|
if (e = Math.trunc(e), t = Math.trunc(t), n = Math.trunc(n), (r = Math.trunc(r)) <= 0 || e < 0 || t <= 0 || n <= 0 || t > r || n > r || t < e || n < e || e < t - r + n) return NaN;
|
|
6888
6916
|
function a(e, t, n, r) {
|
|
6889
|
-
return
|
|
6917
|
+
return H(n, e) * H(r - n, t - e) / H(r, t);
|
|
6890
6918
|
}
|
|
6891
6919
|
return i ? function(e, t, n, r) {
|
|
6892
6920
|
let i = 0;
|
|
@@ -6894,18 +6922,18 @@ function Bs(e, t, n, r, i) {
|
|
|
6894
6922
|
return i;
|
|
6895
6923
|
}(e, t, n, r) : a(e, t, n, r);
|
|
6896
6924
|
}
|
|
6897
|
-
function
|
|
6898
|
-
return
|
|
6925
|
+
function Us(e, t, n, r) {
|
|
6926
|
+
return Hs(e, t, n, r, !1);
|
|
6899
6927
|
}
|
|
6900
|
-
function
|
|
6901
|
-
let r =
|
|
6928
|
+
function Ws(e, n) {
|
|
6929
|
+
let r = Y(e, n);
|
|
6902
6930
|
if (t.isError(r)) return r;
|
|
6903
6931
|
if (r === null) return t.BuiltIn.NA;
|
|
6904
6932
|
if (r.ssX === 0) return t.BuiltIn.Div0;
|
|
6905
6933
|
let i = r.ssXY / r.ssX;
|
|
6906
6934
|
return r.yMean - i * r.xMean;
|
|
6907
6935
|
}
|
|
6908
|
-
function
|
|
6936
|
+
function Gs(e) {
|
|
6909
6937
|
let n = 0, r = [];
|
|
6910
6938
|
for (let t of e) for (let e of t.values()) n += e, r.push(e);
|
|
6911
6939
|
let i = r.length;
|
|
@@ -6917,22 +6945,22 @@ function Us(e) {
|
|
|
6917
6945
|
if (o === 0) throw t.BuiltIn.Div0;
|
|
6918
6946
|
return a /= o ** 4, i * (i + 1) / ((i - 1) * (i - 2) * (i - 3)) * a - 3 * (i - 1) * (i - 1) / ((i - 2) * (i - 3));
|
|
6919
6947
|
}
|
|
6920
|
-
function
|
|
6948
|
+
function Ks(e, t, n, r) {
|
|
6921
6949
|
return e <= 0 || n <= 0 ? NaN : r ? O.default.lognormal.cdf(e, t, n) : O.default.lognormal.pdf(e, t, n);
|
|
6922
6950
|
}
|
|
6923
|
-
function
|
|
6924
|
-
return
|
|
6951
|
+
function qs(e, t, n) {
|
|
6952
|
+
return Ks(e, t, n, !0);
|
|
6925
6953
|
}
|
|
6926
|
-
function
|
|
6954
|
+
function Js(e, t, n) {
|
|
6927
6955
|
return e <= 0 || e >= 1 || n <= 0 ? NaN : O.default.lognormal.inv(e, t, n);
|
|
6928
6956
|
}
|
|
6929
|
-
function
|
|
6930
|
-
return
|
|
6957
|
+
function Ys(e, t, n) {
|
|
6958
|
+
return Js(e, t, n);
|
|
6931
6959
|
}
|
|
6932
|
-
function
|
|
6933
|
-
return
|
|
6960
|
+
function Xs(e) {
|
|
6961
|
+
return Qs(e);
|
|
6934
6962
|
}
|
|
6935
|
-
function
|
|
6963
|
+
function Zs(e) {
|
|
6936
6964
|
let n = /* @__PURE__ */ new Map(), r = 0;
|
|
6937
6965
|
for (let t of e) {
|
|
6938
6966
|
let e = t.entries({ includeEmpty: !1 }), i = e.next();
|
|
@@ -6953,7 +6981,7 @@ function Ys(e) {
|
|
|
6953
6981
|
let a = [...n.entries()].filter(([, { count: e }]) => e === i).sort((e, t) => e[1].firstSeen - t[1].firstSeen).map(([e]) => [e]);
|
|
6954
6982
|
return a.length === 0 ? t.BuiltIn.NA : a;
|
|
6955
6983
|
}
|
|
6956
|
-
function
|
|
6984
|
+
function Qs(e) {
|
|
6957
6985
|
let n = /* @__PURE__ */ new Map(), r = 0;
|
|
6958
6986
|
for (let t of e) {
|
|
6959
6987
|
let e = t.entries({ includeEmpty: !1 }), i = e.next();
|
|
@@ -6973,121 +7001,111 @@ function Xs(e) {
|
|
|
6973
7001
|
for (let [e, { count: t, firstSeen: r }] of n) t < 2 || (t > a || t === a && r < o) && (i = e, a = t, o = r);
|
|
6974
7002
|
return i === null ? t.BuiltIn.NA : i;
|
|
6975
7003
|
}
|
|
6976
|
-
function
|
|
7004
|
+
function $s(e, t, n, r) {
|
|
6977
7005
|
return e = Math.trunc(e), t = Math.trunc(t), n <= 0 || n >= 1 || e < 0 || t < 1 ? NaN : r ? O.default.negbin.cdf(e, t, n) : O.default.negbin.pdf(e, t, n);
|
|
6978
7006
|
}
|
|
6979
|
-
function
|
|
6980
|
-
return
|
|
7007
|
+
function ec(e, t, n) {
|
|
7008
|
+
return $s(e, t, n, !1);
|
|
6981
7009
|
}
|
|
6982
|
-
function
|
|
7010
|
+
function tc(e, t, n, r) {
|
|
6983
7011
|
return n <= 0 ? NaN : r ? O.default.normal.cdf(e, t, n) : O.default.normal.pdf(e, t, n);
|
|
6984
7012
|
}
|
|
6985
|
-
function
|
|
6986
|
-
return
|
|
7013
|
+
function nc(e, t, n, r) {
|
|
7014
|
+
return tc(e, t, n, r);
|
|
6987
7015
|
}
|
|
6988
|
-
function
|
|
7016
|
+
function rc(e, t, n) {
|
|
6989
7017
|
return e <= 0 || e >= 1 || n <= 0 ? NaN : O.default.normal.inv(e, t, n);
|
|
6990
7018
|
}
|
|
6991
|
-
function
|
|
6992
|
-
return
|
|
7019
|
+
function ic(e, t, n) {
|
|
7020
|
+
return rc(e, t, n);
|
|
6993
7021
|
}
|
|
6994
|
-
function
|
|
7022
|
+
function ac(e, t) {
|
|
6995
7023
|
return t ? O.default.normal.cdf(e, 0, 1) : O.default.normal.pdf(e, 0, 1);
|
|
6996
7024
|
}
|
|
6997
|
-
function
|
|
6998
|
-
return
|
|
7025
|
+
function oc(e) {
|
|
7026
|
+
return ac(e, !0);
|
|
6999
7027
|
}
|
|
7000
|
-
function
|
|
7028
|
+
function sc(e) {
|
|
7001
7029
|
return e <= 0 || e >= 1 ? NaN : O.default.normal.inv(e, 0, 1);
|
|
7002
7030
|
}
|
|
7003
|
-
function
|
|
7004
|
-
return
|
|
7031
|
+
function cc(e) {
|
|
7032
|
+
return sc(e);
|
|
7005
7033
|
}
|
|
7006
|
-
function
|
|
7007
|
-
return
|
|
7034
|
+
function lc(e, t) {
|
|
7035
|
+
return ds(e, t);
|
|
7008
7036
|
}
|
|
7009
|
-
function
|
|
7010
|
-
return
|
|
7037
|
+
function uc(e, t) {
|
|
7038
|
+
return fc(e, t);
|
|
7011
7039
|
}
|
|
7012
|
-
function
|
|
7040
|
+
function dc(e, t) {
|
|
7013
7041
|
if (t <= 0 || t >= 1) return NaN;
|
|
7014
7042
|
let n = e.getStats().getSortedNumbers().getPercentile(t, !0);
|
|
7015
7043
|
return n === null ? NaN : n;
|
|
7016
7044
|
}
|
|
7017
|
-
function
|
|
7045
|
+
function fc(e, t) {
|
|
7018
7046
|
if (t < 0 || t > 1) return NaN;
|
|
7019
7047
|
let n = e.getStats().getSortedNumbers().getPercentile(t, !1);
|
|
7020
7048
|
return n === null ? NaN : n;
|
|
7021
7049
|
}
|
|
7022
|
-
function
|
|
7023
|
-
return
|
|
7050
|
+
function pc(e, t, n = 3) {
|
|
7051
|
+
return hc(e, t, n);
|
|
7024
7052
|
}
|
|
7025
|
-
function
|
|
7053
|
+
function mc(e, n, r = 3) {
|
|
7026
7054
|
return e.getStats().getSortedNumbers().getPercentRankOf(n, !0, r) ?? t.BuiltIn.NA;
|
|
7027
7055
|
}
|
|
7028
|
-
function
|
|
7056
|
+
function hc(e, n, r = 3) {
|
|
7029
7057
|
return e.getStats().getSortedNumbers().getPercentRankOf(n, !1, r) ?? t.BuiltIn.NA;
|
|
7030
7058
|
}
|
|
7031
|
-
function
|
|
7032
|
-
return Math.exp(-.5 * e * e) /
|
|
7059
|
+
function gc(e) {
|
|
7060
|
+
return Math.exp(-.5 * e * e) / rl;
|
|
7033
7061
|
}
|
|
7034
|
-
function
|
|
7062
|
+
function _c(e, t, n) {
|
|
7035
7063
|
return e < 0 || t <= 0 ? NaN : (e = Math.trunc(e), n ? O.default.poisson.cdf(e, t) : O.default.poisson.pdf(e, t));
|
|
7036
7064
|
}
|
|
7037
|
-
function
|
|
7038
|
-
return
|
|
7065
|
+
function vc(e, t, n) {
|
|
7066
|
+
return _c(e, t, n);
|
|
7039
7067
|
}
|
|
7040
|
-
function
|
|
7041
|
-
let a = e.flatten(
|
|
7042
|
-
if (a.
|
|
7068
|
+
function yc(e, n, r, i) {
|
|
7069
|
+
let a = e.flatten(), o = n.flatten();
|
|
7070
|
+
if (a.getRowCount() !== o.getRowCount()) return t.BuiltIn.NA;
|
|
7043
7071
|
h(e), h(n);
|
|
7044
|
-
let s = 0;
|
|
7045
|
-
for (let e of o)
|
|
7046
|
-
|
|
7047
|
-
s += e;
|
|
7048
|
-
}
|
|
7049
|
-
if (Math.round(1e10 * s) !== 1e10) return t.BuiltIn.Num;
|
|
7050
|
-
let c = i ?? r, l = 0;
|
|
7051
|
-
for (let e = 0; e < a.length; e++) {
|
|
7052
|
-
let n = a[e];
|
|
7053
|
-
if (typeof n != "number") return t.BuiltIn.Num;
|
|
7054
|
-
n >= r && n <= c && (l += o[e] ?? 0);
|
|
7055
|
-
}
|
|
7056
|
-
return l;
|
|
7072
|
+
let s = i ?? r, c = 0, l = 0;
|
|
7073
|
+
for (let [[e, t]] of a.alignValues([o])) typeof e == "number" && typeof t == "number" && (c += t, e >= r && e <= s && (l += t));
|
|
7074
|
+
return Math.round(1e10 * c) === 1e10 ? l : t.BuiltIn.Num;
|
|
7057
7075
|
}
|
|
7058
|
-
function
|
|
7059
|
-
return
|
|
7076
|
+
function bc(e, t) {
|
|
7077
|
+
return Sc(e, t);
|
|
7060
7078
|
}
|
|
7061
|
-
function
|
|
7079
|
+
function xc(e, t) {
|
|
7062
7080
|
if ((t = Math.trunc(t)) < 1 || t > 3) return NaN;
|
|
7063
7081
|
let n = t / 4, r = e.getStats().getSortedNumbers().getPercentile(n, !0);
|
|
7064
7082
|
return r === null ? NaN : r;
|
|
7065
7083
|
}
|
|
7066
|
-
function
|
|
7084
|
+
function Sc(e, t) {
|
|
7067
7085
|
if ((t = Math.trunc(t)) < 0 || t > 4) return NaN;
|
|
7068
7086
|
let n = t / 4, r = e.getStats().getSortedNumbers().getPercentile(n, !1);
|
|
7069
7087
|
return r === null ? NaN : r;
|
|
7070
7088
|
}
|
|
7071
|
-
function
|
|
7072
|
-
return
|
|
7089
|
+
function Cc(e, t, n = 0) {
|
|
7090
|
+
return Tc(e, t, n);
|
|
7073
7091
|
}
|
|
7074
|
-
function
|
|
7092
|
+
function wc(e, n, r = 0) {
|
|
7075
7093
|
let i = n.getStats().getSortedNumbers().getRankOf(e, r === 0, !0);
|
|
7076
7094
|
return i === null ? t.BuiltIn.NA : i;
|
|
7077
7095
|
}
|
|
7078
|
-
function
|
|
7096
|
+
function Tc(e, n, r = 0) {
|
|
7079
7097
|
let i = n.getStats().getSortedNumbers().getRankOf(e, r === 0, !1);
|
|
7080
7098
|
return i === null ? t.BuiltIn.NA : i;
|
|
7081
7099
|
}
|
|
7082
|
-
function
|
|
7083
|
-
let r =
|
|
7100
|
+
function Ec(e, n) {
|
|
7101
|
+
let r = Y(e, n);
|
|
7084
7102
|
if (t.isError(r)) return r;
|
|
7085
7103
|
if (r === null) return t.BuiltIn.NA;
|
|
7086
7104
|
if (r.ssX === 0 || r.ssY === 0) return t.BuiltIn.Div0;
|
|
7087
7105
|
let i = r.ssXY / Math.sqrt(r.ssX * r.ssY);
|
|
7088
7106
|
return i * i;
|
|
7089
7107
|
}
|
|
7090
|
-
function
|
|
7108
|
+
function Dc(e) {
|
|
7091
7109
|
let n = 0, r = 0;
|
|
7092
7110
|
for (let t of e) t.forEach((e) => {
|
|
7093
7111
|
typeof e == "number" && (r += e, n++);
|
|
@@ -7105,7 +7123,7 @@ function Tc(e) {
|
|
|
7105
7123
|
});
|
|
7106
7124
|
return n / ((n - 1) * (n - 2)) * s;
|
|
7107
7125
|
}
|
|
7108
|
-
function
|
|
7126
|
+
function Oc(e) {
|
|
7109
7127
|
let n = 0, r = 0;
|
|
7110
7128
|
for (let t of e) t.forEach((e) => {
|
|
7111
7129
|
typeof e == "number" && (r += e, n++);
|
|
@@ -7123,66 +7141,66 @@ function Ec(e) {
|
|
|
7123
7141
|
});
|
|
7124
7142
|
return s / n;
|
|
7125
7143
|
}
|
|
7126
|
-
function
|
|
7127
|
-
let r =
|
|
7144
|
+
function kc(e, n) {
|
|
7145
|
+
let r = Y(e, n);
|
|
7128
7146
|
return t.isError(r) ? r : r === null ? t.BuiltIn.NA : r.ssX === 0 ? t.BuiltIn.Div0 : r.ssXY / r.ssX;
|
|
7129
7147
|
}
|
|
7130
|
-
function
|
|
7148
|
+
function Ac(e, t, n) {
|
|
7131
7149
|
return n <= 0 ? NaN : (e - t) / n;
|
|
7132
7150
|
}
|
|
7133
|
-
function kc(e) {
|
|
7134
|
-
let t = qc(e);
|
|
7135
|
-
return Math.sqrt(t);
|
|
7136
|
-
}
|
|
7137
|
-
function Ac(e) {
|
|
7138
|
-
return kc(e);
|
|
7139
|
-
}
|
|
7140
7151
|
function jc(e) {
|
|
7141
|
-
let t =
|
|
7152
|
+
let t = Yc(e);
|
|
7142
7153
|
return Math.sqrt(t);
|
|
7143
7154
|
}
|
|
7144
7155
|
function Mc(e) {
|
|
7145
7156
|
return jc(e);
|
|
7146
7157
|
}
|
|
7147
7158
|
function Nc(e) {
|
|
7148
|
-
let t =
|
|
7159
|
+
let t = qc(e);
|
|
7149
7160
|
return Math.sqrt(t);
|
|
7150
7161
|
}
|
|
7151
7162
|
function Pc(e) {
|
|
7152
|
-
|
|
7163
|
+
return Nc(e);
|
|
7164
|
+
}
|
|
7165
|
+
function Fc(e) {
|
|
7166
|
+
let t = Zc(e);
|
|
7153
7167
|
return Math.sqrt(t);
|
|
7154
7168
|
}
|
|
7155
|
-
function
|
|
7156
|
-
let
|
|
7169
|
+
function Ic(e) {
|
|
7170
|
+
let t = Qc(e);
|
|
7171
|
+
return Math.sqrt(t);
|
|
7172
|
+
}
|
|
7173
|
+
function Lc(e, n) {
|
|
7174
|
+
let r = Y(e, n);
|
|
7157
7175
|
return t.isError(r) ? r : r === null || r.n === 0 ? t.BuiltIn.NA : r.n < 3 || r.ssX === 0 ? t.BuiltIn.Div0 : Math.sqrt((r.ssY - r.ssXY * r.ssXY / r.ssX) / (r.n - 2));
|
|
7158
7176
|
}
|
|
7159
|
-
function
|
|
7177
|
+
function Rc(e, t, n) {
|
|
7160
7178
|
return t < 1 ? NaN : n ? e === 0 ? .5 : O.default.studentt.cdf(e, t) : O.default.studentt.pdf(e, t);
|
|
7161
7179
|
}
|
|
7162
|
-
function
|
|
7163
|
-
return e < 0 || (n = Math.trunc(n)) !== 1 && n !== 2 ? NaN : n === 1 ?
|
|
7180
|
+
function zc(e, t, n) {
|
|
7181
|
+
return e < 0 || (n = Math.trunc(n)) !== 1 && n !== 2 ? NaN : n === 1 ? Vc(e, t) : Bc(e, t);
|
|
7164
7182
|
}
|
|
7165
|
-
function
|
|
7183
|
+
function Bc(e, t) {
|
|
7166
7184
|
return t < 1 || e < 0 ? NaN : 2 * (1 - O.default.studentt.cdf(e, t));
|
|
7167
7185
|
}
|
|
7168
|
-
function
|
|
7186
|
+
function Vc(e, t) {
|
|
7169
7187
|
return t < 1 ? NaN : e === 0 ? .5 : 1 - O.default.studentt.cdf(e, t);
|
|
7170
7188
|
}
|
|
7171
|
-
function
|
|
7189
|
+
function Hc(e, t) {
|
|
7172
7190
|
return e <= 0 || e >= 1 || t < 1 ? NaN : (t = Math.trunc(t)) === 1 ? Math.tan(Math.PI * (e - .5)) : O.default.studentt.inv(e, t);
|
|
7173
7191
|
}
|
|
7174
|
-
function
|
|
7175
|
-
return
|
|
7192
|
+
function Uc(e, t) {
|
|
7193
|
+
return Wc(e, t);
|
|
7176
7194
|
}
|
|
7177
|
-
function
|
|
7195
|
+
function Wc(e, t) {
|
|
7178
7196
|
if (e <= 0 || t < 1) return NaN;
|
|
7179
7197
|
let n = 1 - e / 2;
|
|
7180
7198
|
return (t = Math.trunc(t)) === 1 ? Math.tan(Math.PI * (n - .5)) : O.default.studentt.inv(n, t);
|
|
7181
7199
|
}
|
|
7182
|
-
function
|
|
7200
|
+
function Gc(e, n) {
|
|
7183
7201
|
if (n < 0 || n >= 1) return NaN;
|
|
7184
7202
|
let r = [];
|
|
7185
|
-
for (let { value: t } of e.entries(
|
|
7203
|
+
for (let { value: t } of e.entries(Kc)) typeof t == "number" && r.push(t);
|
|
7186
7204
|
let i = r.length, a = Math.floor(i * n / 2), o = 0, s = 0;
|
|
7187
7205
|
if (a === 0) {
|
|
7188
7206
|
for (let e = 0; e < i; e++) o += r[e];
|
|
@@ -7198,18 +7216,18 @@ function Uc(e, n) {
|
|
|
7198
7216
|
if (s === 0) throw t.BuiltIn.Div0;
|
|
7199
7217
|
return o / s;
|
|
7200
7218
|
}
|
|
7201
|
-
var
|
|
7202
|
-
function
|
|
7203
|
-
let t = 0, n = 0, r =
|
|
7219
|
+
var Kc = { axis: n.Axis.Row };
|
|
7220
|
+
function qc(e) {
|
|
7221
|
+
let t = 0, n = 0, r = J(e);
|
|
7204
7222
|
for (let i of e) for (let e of i.values()) t += (e - r) ** 2, n++;
|
|
7205
7223
|
let i = t / n;
|
|
7206
7224
|
return isNaN(i) ? NaN : i;
|
|
7207
7225
|
}
|
|
7208
|
-
function
|
|
7209
|
-
return
|
|
7226
|
+
function Jc(e) {
|
|
7227
|
+
return qc(e);
|
|
7210
7228
|
}
|
|
7211
|
-
function
|
|
7212
|
-
let n = 0, r = 0, a =
|
|
7229
|
+
function Yc(e) {
|
|
7230
|
+
let n = 0, r = 0, a = J(e);
|
|
7213
7231
|
for (let t of e) for (let e of t.values({
|
|
7214
7232
|
type: i.Number,
|
|
7215
7233
|
onError: "value"
|
|
@@ -7217,45 +7235,45 @@ function qc(e) {
|
|
|
7217
7235
|
if (r < 2) throw t.BuiltIn.Div0;
|
|
7218
7236
|
return n / (r - 1);
|
|
7219
7237
|
}
|
|
7220
|
-
function
|
|
7221
|
-
return
|
|
7238
|
+
function Xc(e) {
|
|
7239
|
+
return Yc(e);
|
|
7222
7240
|
}
|
|
7223
|
-
function
|
|
7224
|
-
let n = 0, r = 0, i =
|
|
7241
|
+
function Zc(e) {
|
|
7242
|
+
let n = 0, r = 0, i = vo(e);
|
|
7225
7243
|
for (let t of e) for (let e of t.values({ type: null })) {
|
|
7226
|
-
let t =
|
|
7244
|
+
let t = il(e);
|
|
7227
7245
|
t !== null && (n += (t - i) ** 2, r++);
|
|
7228
7246
|
}
|
|
7229
7247
|
if (r < 2) throw t.BuiltIn.Div0;
|
|
7230
7248
|
return n / (r - 1);
|
|
7231
7249
|
}
|
|
7232
|
-
function
|
|
7233
|
-
let t =
|
|
7250
|
+
function Qc(e) {
|
|
7251
|
+
let t = vo(e), n = 0, r = 0;
|
|
7234
7252
|
for (let i of e) for (let e of i.values({ type: null })) {
|
|
7235
|
-
let i =
|
|
7253
|
+
let i = il(e);
|
|
7236
7254
|
i !== null && (n += (i - t) ** 2, r++);
|
|
7237
7255
|
}
|
|
7238
7256
|
return n / r;
|
|
7239
7257
|
}
|
|
7240
|
-
function
|
|
7258
|
+
function $c(e, t, n, r) {
|
|
7241
7259
|
return e < 0 || t <= 0 || n <= 0 ? NaN : r || e !== 0 ? r ? 1 - Math.exp(-((e / n) ** +t)) : e ** (t - 1) * Math.exp(-((e / n) ** +t)) * t / n ** +t : 0;
|
|
7242
7260
|
}
|
|
7243
|
-
function
|
|
7244
|
-
return
|
|
7261
|
+
function el(e, t, n, r) {
|
|
7262
|
+
return $c(e, t, n, r);
|
|
7245
7263
|
}
|
|
7246
|
-
function
|
|
7264
|
+
function tl(e, n, r = 0) {
|
|
7247
7265
|
let i = e.size;
|
|
7248
7266
|
if (!r) {
|
|
7249
7267
|
if (i < 2) throw t.BuiltIn.Div0;
|
|
7250
|
-
r =
|
|
7268
|
+
r = jc([e]);
|
|
7251
7269
|
}
|
|
7252
|
-
return 1 -
|
|
7270
|
+
return 1 - ac((J([e]) - n) / (r / Math.sqrt(i)), !0);
|
|
7253
7271
|
}
|
|
7254
|
-
function
|
|
7255
|
-
return
|
|
7272
|
+
function nl(e, t, n = 0) {
|
|
7273
|
+
return tl(e, t, n);
|
|
7256
7274
|
}
|
|
7257
|
-
var
|
|
7258
|
-
function
|
|
7275
|
+
var rl = 2.5066282746310002;
|
|
7276
|
+
function Y(e, n) {
|
|
7259
7277
|
let r = e.getRowCount(), i = e.getColumnCount();
|
|
7260
7278
|
if (r * i !== n.getRowCount() * n.getColumnCount()) return null;
|
|
7261
7279
|
n.getRowCount() === r && n.getColumnCount() === i || (n = n.reshape(r, i));
|
|
@@ -7282,14 +7300,14 @@ function J(e, n) {
|
|
|
7282
7300
|
ssXY: m
|
|
7283
7301
|
};
|
|
7284
7302
|
}
|
|
7285
|
-
function
|
|
7303
|
+
function il(e) {
|
|
7286
7304
|
return typeof e == "number" ? e : !0 === e ? 1 : !1 === e || typeof e == "string" ? 0 : null;
|
|
7287
7305
|
}
|
|
7288
|
-
var
|
|
7289
|
-
DELAY: () =>
|
|
7290
|
-
WAIT: () =>
|
|
7306
|
+
var al = p({
|
|
7307
|
+
DELAY: () => ol,
|
|
7308
|
+
WAIT: () => ul
|
|
7291
7309
|
});
|
|
7292
|
-
async function
|
|
7310
|
+
async function ol(e, t, n = "No label") {
|
|
7293
7311
|
return new Promise((n) => {
|
|
7294
7312
|
setTimeout(() => {
|
|
7295
7313
|
n(t);
|
|
@@ -7297,85 +7315,85 @@ async function il(e, t, n = "No label") {
|
|
|
7297
7315
|
});
|
|
7298
7316
|
}
|
|
7299
7317
|
globalThis.debugEventTarget ??= new EventTarget();
|
|
7300
|
-
var
|
|
7301
|
-
function
|
|
7318
|
+
var sl = globalThis.debugEventTarget, cl = /* @__PURE__ */ new Map();
|
|
7319
|
+
function ll(e) {
|
|
7302
7320
|
let { inbox: t, waiters: n } = function(e) {
|
|
7303
|
-
if (
|
|
7321
|
+
if (cl.has(e)) return cl.get(e);
|
|
7304
7322
|
let t = {
|
|
7305
7323
|
inbox: [],
|
|
7306
7324
|
waiters: []
|
|
7307
7325
|
};
|
|
7308
|
-
return
|
|
7326
|
+
return sl.addEventListener(e, (e) => {
|
|
7309
7327
|
t.waiters.length ? t.waiters.shift()(e.detail) : t.inbox.push(e.detail);
|
|
7310
|
-
}),
|
|
7328
|
+
}), cl.set(e, t), t;
|
|
7311
7329
|
}(e);
|
|
7312
7330
|
return t.length ? Promise.resolve(t.shift()) : new Promise((e) => n.push(e));
|
|
7313
7331
|
}
|
|
7314
|
-
async function
|
|
7315
|
-
let n = await
|
|
7332
|
+
async function ul(e, t) {
|
|
7333
|
+
let n = await ll(e), r = t?.getValueAt(0, 0) ?? "", i = `event["${e}"`;
|
|
7316
7334
|
return n !== void 0 && (i += `, payload: ${n}`), r !== "" && (i += `, input: ${r}`), i += "]", console.log(i), "" + n + r;
|
|
7317
7335
|
}
|
|
7318
|
-
var
|
|
7319
|
-
ARRAYTOTEXT: () =>
|
|
7320
|
-
ASC: () =>
|
|
7321
|
-
CHAR: () =>
|
|
7322
|
-
CLEAN: () =>
|
|
7323
|
-
CODE: () =>
|
|
7324
|
-
CONCAT: () =>
|
|
7325
|
-
CONCATENATE: () =>
|
|
7326
|
-
DBCS: () =>
|
|
7327
|
-
DETECTLANGUAGE: () =>
|
|
7328
|
-
DOLLAR: () =>
|
|
7329
|
-
EXACT: () =>
|
|
7330
|
-
FIND: () =>
|
|
7331
|
-
FINDB: () =>
|
|
7332
|
-
FIXED: () =>
|
|
7333
|
-
JOIN: () =>
|
|
7334
|
-
LEFT: () =>
|
|
7335
|
-
LEFTB: () =>
|
|
7336
|
-
LEN: () =>
|
|
7337
|
-
LENB: () =>
|
|
7338
|
-
LOWER: () =>
|
|
7339
|
-
MID: () =>
|
|
7340
|
-
MIDB: () =>
|
|
7341
|
-
NUMBERVALUE: () =>
|
|
7342
|
-
PROPER: () =>
|
|
7343
|
-
REPLACE: () =>
|
|
7344
|
-
REPLACEB: () =>
|
|
7345
|
-
REPT: () =>
|
|
7346
|
-
RIGHT: () =>
|
|
7347
|
-
RIGHTB: () =>
|
|
7348
|
-
SEARCH: () =>
|
|
7349
|
-
SEARCHB: () =>
|
|
7350
|
-
SPLIT: () =>
|
|
7351
|
-
SUBSTITUTE: () =>
|
|
7352
|
-
T: () =>
|
|
7353
|
-
TEXT: () =>
|
|
7354
|
-
TEXTAFTER: () =>
|
|
7355
|
-
TEXTBEFORE: () =>
|
|
7356
|
-
TEXTJOIN: () =>
|
|
7357
|
-
TEXTSPLIT: () =>
|
|
7358
|
-
TRANSLATE: () =>
|
|
7359
|
-
TRIM: () =>
|
|
7360
|
-
UNICHAR: () =>
|
|
7361
|
-
UNICODE: () =>
|
|
7362
|
-
UPPER: () =>
|
|
7363
|
-
VALUE: () =>
|
|
7364
|
-
VALUETOTEXT: () =>
|
|
7336
|
+
var dl = p({
|
|
7337
|
+
ARRAYTOTEXT: () => pl,
|
|
7338
|
+
ASC: () => fl,
|
|
7339
|
+
CHAR: () => ml,
|
|
7340
|
+
CLEAN: () => hl,
|
|
7341
|
+
CODE: () => gl,
|
|
7342
|
+
CONCAT: () => _l,
|
|
7343
|
+
CONCATENATE: () => yl,
|
|
7344
|
+
DBCS: () => xl,
|
|
7345
|
+
DETECTLANGUAGE: () => bl,
|
|
7346
|
+
DOLLAR: () => Sl,
|
|
7347
|
+
EXACT: () => Cl,
|
|
7348
|
+
FIND: () => wl,
|
|
7349
|
+
FINDB: () => Tl,
|
|
7350
|
+
FIXED: () => El,
|
|
7351
|
+
JOIN: () => Dl,
|
|
7352
|
+
LEFT: () => Ol,
|
|
7353
|
+
LEFTB: () => kl,
|
|
7354
|
+
LEN: () => Al,
|
|
7355
|
+
LENB: () => jl,
|
|
7356
|
+
LOWER: () => Ml,
|
|
7357
|
+
MID: () => Nl,
|
|
7358
|
+
MIDB: () => Pl,
|
|
7359
|
+
NUMBERVALUE: () => Fl,
|
|
7360
|
+
PROPER: () => Il,
|
|
7361
|
+
REPLACE: () => Ll,
|
|
7362
|
+
REPLACEB: () => Rl,
|
|
7363
|
+
REPT: () => zl,
|
|
7364
|
+
RIGHT: () => Bl,
|
|
7365
|
+
RIGHTB: () => Vl,
|
|
7366
|
+
SEARCH: () => Hl,
|
|
7367
|
+
SEARCHB: () => Ul,
|
|
7368
|
+
SPLIT: () => Wl,
|
|
7369
|
+
SUBSTITUTE: () => Gl,
|
|
7370
|
+
T: () => Kl,
|
|
7371
|
+
TEXT: () => ql,
|
|
7372
|
+
TEXTAFTER: () => Jl,
|
|
7373
|
+
TEXTBEFORE: () => Yl,
|
|
7374
|
+
TEXTJOIN: () => Xl,
|
|
7375
|
+
TEXTSPLIT: () => Zl,
|
|
7376
|
+
TRANSLATE: () => Ql,
|
|
7377
|
+
TRIM: () => $l,
|
|
7378
|
+
UNICHAR: () => eu,
|
|
7379
|
+
UNICODE: () => tu,
|
|
7380
|
+
UPPER: () => nu,
|
|
7381
|
+
VALUE: () => ru,
|
|
7382
|
+
VALUETOTEXT: () => iu
|
|
7365
7383
|
});
|
|
7366
|
-
function
|
|
7367
|
-
return
|
|
7384
|
+
function fl(e) {
|
|
7385
|
+
return au() ? uu(e) : e;
|
|
7368
7386
|
}
|
|
7369
|
-
function
|
|
7387
|
+
function pl(e, n = 0) {
|
|
7370
7388
|
if ((n = Math.floor(n)) !== 0 && n !== 1) throw t.BuiltIn.Value;
|
|
7371
7389
|
let r = n === 1, i = null;
|
|
7372
7390
|
if (!r) {
|
|
7373
7391
|
if (e.size === 1) {
|
|
7374
7392
|
let t = e.getValueAt(0, 0);
|
|
7375
|
-
return t === null ? null :
|
|
7393
|
+
return t === null ? null : iu(t, n);
|
|
7376
7394
|
}
|
|
7377
7395
|
let { rows: t, columns: r } = e.getShape(), i = [];
|
|
7378
|
-
for (let a = 0; a < t; a++) for (let t = 0; t < r; t++) i.push(
|
|
7396
|
+
for (let a = 0; a < t; a++) for (let t = 0; t < r; t++) i.push(iu(e.getValueAt(a, t), n));
|
|
7379
7397
|
return i.join(", ");
|
|
7380
7398
|
}
|
|
7381
7399
|
let a = e.getValues();
|
|
@@ -7383,35 +7401,35 @@ function dl(e, n = 0) {
|
|
|
7383
7401
|
let o = a.length;
|
|
7384
7402
|
for (let e = 0; e < o; e++) {
|
|
7385
7403
|
let t = a[e], r = t.length;
|
|
7386
|
-
for (let e = 0; e < r; e++) i +=
|
|
7404
|
+
for (let e = 0; e < r; e++) i += iu(t[e], n), e < r - 1 && (i += ",");
|
|
7387
7405
|
e < o - 1 && (i += ";");
|
|
7388
7406
|
}
|
|
7389
7407
|
return r && (i += "}"), i;
|
|
7390
7408
|
}
|
|
7391
|
-
function
|
|
7409
|
+
function ml(e) {
|
|
7392
7410
|
let n = Math.trunc(e);
|
|
7393
7411
|
if (!(n >= 1 && n <= 255)) throw t.BuiltIn.Value;
|
|
7394
7412
|
return String.fromCharCode(n);
|
|
7395
7413
|
}
|
|
7396
|
-
function
|
|
7414
|
+
function hl(e) {
|
|
7397
7415
|
return e.replace(/[\x00-\x1F\x80-\x9F]/g, "");
|
|
7398
7416
|
}
|
|
7399
|
-
function
|
|
7417
|
+
function gl(e) {
|
|
7400
7418
|
if (e.length === 0) throw t.BuiltIn.Value;
|
|
7401
7419
|
return e.charCodeAt(0);
|
|
7402
7420
|
}
|
|
7403
|
-
function
|
|
7421
|
+
function _l(e) {
|
|
7404
7422
|
let n = "";
|
|
7405
7423
|
for (let i of e) for (let e of i.values()) if (n += e, n.length > r.MAX_TEXT_LENGTH) throw t.BuiltIn.Calc;
|
|
7406
7424
|
return n;
|
|
7407
7425
|
}
|
|
7408
|
-
var
|
|
7426
|
+
var vl = {
|
|
7409
7427
|
type: i.String,
|
|
7410
7428
|
coerce: [i.Boolean, i.Number],
|
|
7411
7429
|
onError: "value",
|
|
7412
7430
|
misalignValue: t.BuiltIn.NA
|
|
7413
7431
|
};
|
|
7414
|
-
function
|
|
7432
|
+
function yl(n) {
|
|
7415
7433
|
let i = e.createRange(1, 1, "");
|
|
7416
7434
|
for (let e of n) i = i.broadcast(e, (e, n) => {
|
|
7417
7435
|
if (e !== null && t.isError(e)) return e;
|
|
@@ -7420,16 +7438,16 @@ function _l(n) {
|
|
|
7420
7438
|
if (i.length <= r.MAX_TEXT_LENGTH) return i;
|
|
7421
7439
|
let a = r.MAX_TEXT_LENGTH, o = i.charCodeAt(a - 1), s = i.charCodeAt(a);
|
|
7422
7440
|
return o >= 55296 && o <= 56319 && s >= 56320 && s <= 57343 && a--, i.slice(0, a);
|
|
7423
|
-
},
|
|
7441
|
+
}, vl);
|
|
7424
7442
|
return i;
|
|
7425
7443
|
}
|
|
7426
|
-
function
|
|
7444
|
+
function bl(e) {
|
|
7427
7445
|
return t.BuiltIn.NA;
|
|
7428
7446
|
}
|
|
7429
|
-
function
|
|
7430
|
-
return
|
|
7447
|
+
function xl(e) {
|
|
7448
|
+
return au() ? lu(e) : e;
|
|
7431
7449
|
}
|
|
7432
|
-
function
|
|
7450
|
+
function Sl(t, n = 2) {
|
|
7433
7451
|
if ((n = Math.trunc(n)) < 0) {
|
|
7434
7452
|
let e = 10 ** -n;
|
|
7435
7453
|
t = Math.round(t / e) * e, n = 0;
|
|
@@ -7437,10 +7455,10 @@ function bl(t, n = 2) {
|
|
|
7437
7455
|
let r = e.getRuntime().getLocaleProfile().currencySymbol, i = n > 0 ? `.${"0".repeat(n)}` : "", a = `${r}#,##0${i}_);(${r}#,##0${i})`;
|
|
7438
7456
|
return e.getNumberFormat(a, t).trim();
|
|
7439
7457
|
}
|
|
7440
|
-
function
|
|
7458
|
+
function Cl(e, t) {
|
|
7441
7459
|
return e === t;
|
|
7442
7460
|
}
|
|
7443
|
-
function
|
|
7461
|
+
function wl(e, n, r = 1) {
|
|
7444
7462
|
if (r = Math.trunc(r), !X(n)) {
|
|
7445
7463
|
if (r < 1 || r > n.length) throw t.BuiltIn.Value;
|
|
7446
7464
|
let i = n.indexOf(e, r - 1);
|
|
@@ -7450,12 +7468,12 @@ function Sl(e, n, r = 1) {
|
|
|
7450
7468
|
if (r < 1 || r > Z(n)) throw t.BuiltIn.Value;
|
|
7451
7469
|
let i = n.indexOf(e, Q(n, r - 1));
|
|
7452
7470
|
if (i === -1) throw t.BuiltIn.Value;
|
|
7453
|
-
return
|
|
7471
|
+
return pu(n, i) + 1;
|
|
7454
7472
|
}
|
|
7455
|
-
function
|
|
7456
|
-
return
|
|
7473
|
+
function Tl(e, t, n = 1) {
|
|
7474
|
+
return wl(e, t, n);
|
|
7457
7475
|
}
|
|
7458
|
-
function
|
|
7476
|
+
function El(t, n = 2, r = !1) {
|
|
7459
7477
|
if ((n = Math.trunc(n)) < 0) {
|
|
7460
7478
|
let e = 10 ** -n;
|
|
7461
7479
|
t = Math.round(t / e) * e, n = 0;
|
|
@@ -7463,35 +7481,35 @@ function wl(t, n = 2, r = !1) {
|
|
|
7463
7481
|
let i = `${r ? "" : "#,"}##0${n > 0 ? `.${"0".repeat(n)}` : ""}`;
|
|
7464
7482
|
return e.getNumberFormat(i, t).trim();
|
|
7465
7483
|
}
|
|
7466
|
-
function
|
|
7467
|
-
return
|
|
7484
|
+
function Dl(e, t) {
|
|
7485
|
+
return Xl(e, !0, [t]);
|
|
7468
7486
|
}
|
|
7469
|
-
function
|
|
7487
|
+
function Ol(e, n = 1) {
|
|
7470
7488
|
if (n < 0) throw t.BuiltIn.Value;
|
|
7471
7489
|
return X(e) ? e.slice(0, Q(e, n)) : n > e.length ? e : e.slice(0, n);
|
|
7472
7490
|
}
|
|
7473
|
-
function
|
|
7474
|
-
return
|
|
7491
|
+
function kl(e, t = 1) {
|
|
7492
|
+
return Ol(e, t);
|
|
7475
7493
|
}
|
|
7476
|
-
function
|
|
7494
|
+
function Al(e) {
|
|
7477
7495
|
return X(e) ? Z(e) : e.length;
|
|
7478
7496
|
}
|
|
7479
|
-
function
|
|
7480
|
-
return
|
|
7497
|
+
function jl(e) {
|
|
7498
|
+
return Al(e);
|
|
7481
7499
|
}
|
|
7482
|
-
function
|
|
7500
|
+
function Ml(e) {
|
|
7483
7501
|
return e.toLowerCase();
|
|
7484
7502
|
}
|
|
7485
|
-
function
|
|
7503
|
+
function Nl(e, n, r) {
|
|
7486
7504
|
if (n = Math.trunc(n), r = Math.trunc(r), n < 1 || r < 0) return t.BuiltIn.Value;
|
|
7487
7505
|
if (!X(e)) return n > e.length ? "" : e.slice(n - 1, n + r - 1);
|
|
7488
7506
|
let i = Q(e, n - 1);
|
|
7489
7507
|
return i >= e.length ? "" : e.slice(i, Q(e, n - 1 + r));
|
|
7490
7508
|
}
|
|
7491
|
-
function
|
|
7492
|
-
return
|
|
7509
|
+
function Pl(e, t, n) {
|
|
7510
|
+
return Nl(e, t, n);
|
|
7493
7511
|
}
|
|
7494
|
-
function
|
|
7512
|
+
function Fl(n, i, a) {
|
|
7495
7513
|
let o = e.getRuntime().getLocaleProfile();
|
|
7496
7514
|
if (i ??= o.decimal, a ??= o.group, i.length === 0 || a.length === 0) throw t.BuiltIn.Value;
|
|
7497
7515
|
if (n.length === 0) return 0;
|
|
@@ -7510,19 +7528,19 @@ function Nl(n, i, a) {
|
|
|
7510
7528
|
if (isNaN(v)) throw t.BuiltIn.Value;
|
|
7511
7529
|
return v /= 100 ** h, g || _ ? -v : v;
|
|
7512
7530
|
}
|
|
7513
|
-
function
|
|
7531
|
+
function Il(e) {
|
|
7514
7532
|
return (e = e.toLowerCase()).replace(/(^|\P{L})(\p{L})/gu, (e, t, n) => t + (n.length === 1 ? n.toUpperCase() : n));
|
|
7515
7533
|
}
|
|
7516
|
-
function
|
|
7534
|
+
function Ll(e, n, r, i) {
|
|
7517
7535
|
return n = Math.trunc(n), r = Math.trunc(r), n < 1 || r < 0 ? t.BuiltIn.Value : X(e) ? e.slice(0, Q(e, n - 1)) + i + e.slice(Q(e, n - 1 + r)) : e.slice(0, n - 1) + i + e.slice(n - 1 + r);
|
|
7518
7536
|
}
|
|
7519
|
-
function
|
|
7520
|
-
return
|
|
7537
|
+
function Rl(e, t, n, r) {
|
|
7538
|
+
return Ll(e, t, n, r);
|
|
7521
7539
|
}
|
|
7522
|
-
function
|
|
7540
|
+
function zl(e, n) {
|
|
7523
7541
|
return (n = Math.floor(n)) < 0 || e.length * n > r.MAX_TEXT_LENGTH ? t.BuiltIn.Value : e.repeat(n);
|
|
7524
7542
|
}
|
|
7525
|
-
function
|
|
7543
|
+
function Bl(e, n = 1) {
|
|
7526
7544
|
if (n < 0) throw t.BuiltIn.Value;
|
|
7527
7545
|
if (!X(e)) {
|
|
7528
7546
|
let t = e.length;
|
|
@@ -7531,23 +7549,23 @@ function Rl(e, n = 1) {
|
|
|
7531
7549
|
let r = Z(e);
|
|
7532
7550
|
return n >= r ? e : e.slice(Q(e, r - Math.trunc(n)));
|
|
7533
7551
|
}
|
|
7534
|
-
function
|
|
7535
|
-
return
|
|
7552
|
+
function Vl(e, t = 1) {
|
|
7553
|
+
return Bl(e, t);
|
|
7536
7554
|
}
|
|
7537
|
-
function
|
|
7555
|
+
function Hl(e, n, r = 1) {
|
|
7538
7556
|
let i = X(n), o = i ? Z(n) : n.length;
|
|
7539
7557
|
if (r < 1 || r > o) throw t.BuiltIn.Value;
|
|
7540
7558
|
let s = a.isWildCard(e) ? a.toRegex(e, "i") : new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "i"), c = i ? Q(n, r - 1) : r - 1, l = n.slice(c).search(s);
|
|
7541
7559
|
if (l === -1) throw t.BuiltIn.Value;
|
|
7542
|
-
return i ?
|
|
7560
|
+
return i ? pu(n, c + l) + 1 : l + r;
|
|
7543
7561
|
}
|
|
7544
|
-
function
|
|
7545
|
-
return
|
|
7562
|
+
function Ul(e, t, n = 1) {
|
|
7563
|
+
return Hl(e, t, n);
|
|
7546
7564
|
}
|
|
7547
|
-
function
|
|
7548
|
-
return
|
|
7565
|
+
function Wl(e, t, n = !0, r = !0) {
|
|
7566
|
+
return Zl(e, n ? t.split("") : [t], void 0, r);
|
|
7549
7567
|
}
|
|
7550
|
-
function
|
|
7568
|
+
function Gl(e, n, i, a) {
|
|
7551
7569
|
if (!e || !n) return e;
|
|
7552
7570
|
if (a === void 0) a = -1;
|
|
7553
7571
|
else if ((a = Math.floor(a)) <= 0) return t.BuiltIn.Value;
|
|
@@ -7559,10 +7577,10 @@ function Ul(e, n, i, a) {
|
|
|
7559
7577
|
} else s += n.length;
|
|
7560
7578
|
return o;
|
|
7561
7579
|
}
|
|
7562
|
-
function
|
|
7580
|
+
function Kl(e) {
|
|
7563
7581
|
return typeof e == "string" ? e : "";
|
|
7564
7582
|
}
|
|
7565
|
-
function
|
|
7583
|
+
function ql(n, r) {
|
|
7566
7584
|
if (n === null && (n = 0), typeof n == "string" && n.trim() !== "") try {
|
|
7567
7585
|
n = e.parseAsNumber(n.trim());
|
|
7568
7586
|
} catch {}
|
|
@@ -7572,21 +7590,21 @@ function Gl(n, r) {
|
|
|
7572
7590
|
return t.BuiltIn.Value;
|
|
7573
7591
|
}
|
|
7574
7592
|
}
|
|
7575
|
-
function
|
|
7593
|
+
function Jl(e, n, r = 1, i = 0, a = 0, o) {
|
|
7576
7594
|
if (!e || !n || (r = Math.floor(r)) === 0) return t.BuiltIn.Value;
|
|
7577
|
-
let s =
|
|
7595
|
+
let s = mu(e, n, i);
|
|
7578
7596
|
a === 1 && s.push([e.length, e.length]);
|
|
7579
7597
|
let c = r > 0 ? r - 1 : s.length + r;
|
|
7580
7598
|
return c < 0 || c >= s.length ? o ?? t.BuiltIn.NA : e.substring(s[c][1]);
|
|
7581
7599
|
}
|
|
7582
|
-
function
|
|
7600
|
+
function Yl(e, n, r = 1, i = 0, a = 0, o) {
|
|
7583
7601
|
if (!e || !n || (r = Math.floor(r)) === 0) return t.BuiltIn.Value;
|
|
7584
|
-
let s =
|
|
7602
|
+
let s = mu(e, n, i);
|
|
7585
7603
|
a === 1 && s.push([e.length, e.length]);
|
|
7586
7604
|
let c = r > 0 ? r - 1 : s.length + r;
|
|
7587
7605
|
return c < 0 || c >= s.length ? o ?? t.BuiltIn.NA : e.substring(0, s[c][0]);
|
|
7588
7606
|
}
|
|
7589
|
-
function
|
|
7607
|
+
function Xl(e, n, i) {
|
|
7590
7608
|
let a = "", o = !0;
|
|
7591
7609
|
for (let s of i) for (let i of s.values({ includeEmpty: !n })) if (i.length !== 0 || !n) {
|
|
7592
7610
|
if (o || (a += e), a += i, a.length > r.MAX_TEXT_LENGTH) return t.BuiltIn.Calc;
|
|
@@ -7594,13 +7612,13 @@ function Jl(e, n, i) {
|
|
|
7594
7612
|
}
|
|
7595
7613
|
return a;
|
|
7596
7614
|
}
|
|
7597
|
-
function
|
|
7615
|
+
function Zl(e, n, r, i = !1, a = 0, o = void 0) {
|
|
7598
7616
|
if (!e) return [[""]];
|
|
7599
7617
|
if (a !== 0 && a !== 1) throw t.BuiltIn.Value;
|
|
7600
7618
|
let s = (e) => {
|
|
7601
7619
|
if (e.length === 0) return null;
|
|
7602
7620
|
if (e.some((e) => e.length === 0)) throw t.BuiltIn.Value;
|
|
7603
|
-
return new RegExp(e.map((e) =>
|
|
7621
|
+
return new RegExp(e.map((e) => du(e)).join("|"), a === 1 ? "i" : "");
|
|
7604
7622
|
}, c = (e, t) => t ? e.split(t) : [e], l = s(n), u = [e];
|
|
7605
7623
|
if (r && (u = c(e, s(r))), i) {
|
|
7606
7624
|
let e = [];
|
|
@@ -7632,39 +7650,39 @@ function Yl(e, n, r, i = !1, a = 0, o = void 0) {
|
|
|
7632
7650
|
}
|
|
7633
7651
|
return d.length > 0 ? d : [[""]];
|
|
7634
7652
|
}
|
|
7635
|
-
function
|
|
7653
|
+
function Ql(e, n, r) {
|
|
7636
7654
|
return t.BuiltIn.NA;
|
|
7637
7655
|
}
|
|
7638
|
-
function
|
|
7656
|
+
function $l(e) {
|
|
7639
7657
|
return e.replace(/ +/g, " ").replace(/^ +| +$/g, "");
|
|
7640
7658
|
}
|
|
7641
|
-
function
|
|
7659
|
+
function eu(e) {
|
|
7642
7660
|
if (!(e >= 1)) throw t.BuiltIn.Value;
|
|
7643
7661
|
let n = Math.trunc(e);
|
|
7644
7662
|
if (n > 1114111) throw t.BuiltIn.Value;
|
|
7645
7663
|
if (n >= 55296 && n <= 57343 || n >= 64976 && n <= 65007 || (65535 & n) >= 65534) throw t.BuiltIn.NA;
|
|
7646
7664
|
return String.fromCodePoint(n);
|
|
7647
7665
|
}
|
|
7648
|
-
function
|
|
7666
|
+
function tu(e) {
|
|
7649
7667
|
if (e.length === 0) throw t.BuiltIn.Value;
|
|
7650
7668
|
let n = e.codePointAt(0);
|
|
7651
7669
|
if (n >= 55296 && n <= 57343) throw t.BuiltIn.Value;
|
|
7652
7670
|
return n;
|
|
7653
7671
|
}
|
|
7654
|
-
function
|
|
7672
|
+
function nu(e) {
|
|
7655
7673
|
return e.toUpperCase();
|
|
7656
7674
|
}
|
|
7657
|
-
function
|
|
7675
|
+
function ru(t) {
|
|
7658
7676
|
return t === null ? 0 : e.parseAsNumber(t);
|
|
7659
7677
|
}
|
|
7660
|
-
function
|
|
7678
|
+
function iu(n, r = 0) {
|
|
7661
7679
|
if ((r = Math.floor(r)) !== 0 && r !== 1) throw t.BuiltIn.Value;
|
|
7662
7680
|
return typeof n == "string" ? r === 1 ? "\"" + n + "\"" : n : e.toText(n);
|
|
7663
7681
|
}
|
|
7664
|
-
var
|
|
7682
|
+
var au = () => {
|
|
7665
7683
|
let t = e.getRuntime().getLocale().toLowerCase().split(/[-_]/)[0];
|
|
7666
7684
|
return t === "ja" || t === "zh" || t === "ko";
|
|
7667
|
-
},
|
|
7685
|
+
}, ou = {
|
|
7668
7686
|
latin: {
|
|
7669
7687
|
halfRE: /[!-~]/g,
|
|
7670
7688
|
fullRE: /[!-~]/g,
|
|
@@ -7690,11 +7708,11 @@ var nu = () => {
|
|
|
7690
7708
|
half: "¢£¬¯¦¥₩ |←↑→↓■°",
|
|
7691
7709
|
full: "¢£¬ ̄¦¥₩ │←↑→↓■○"
|
|
7692
7710
|
}
|
|
7693
|
-
},
|
|
7694
|
-
function
|
|
7711
|
+
}, su = (e, t) => e[`${t}RE`] || RegExp("[" + e[t] + "]", "g"), cu = Object.keys(ou).map((e) => ou[e]), lu = (e) => cu.reduce((e, t) => e.replace(su(t, "half"), ((e) => (t) => e.delta ? String.fromCharCode(t.charCodeAt(0) + e.delta) : [...e.full][[...e.half].indexOf(t)])(t)), e), uu = (e) => cu.reduce((e, t) => e.replace(su(t, "full"), ((e) => (t) => e.delta ? String.fromCharCode(t.charCodeAt(0) - e.delta) : [...e.half][[...e.full].indexOf(t)])(t)), e);
|
|
7712
|
+
function du(e) {
|
|
7695
7713
|
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
7696
7714
|
}
|
|
7697
|
-
var
|
|
7715
|
+
var fu = /[\uD800-\uDBFF][\uDC00-\uDFFF]/, X = (e) => fu.test(e), Z = (e) => {
|
|
7698
7716
|
let t = e.length, n = 0;
|
|
7699
7717
|
for (let r = 0; r < t - 1; r++) {
|
|
7700
7718
|
let t = e.charCodeAt(r);
|
|
@@ -7710,16 +7728,16 @@ var lu = /[\uD800-\uDBFF][\uDC00-\uDFFF]/, X = (e) => lu.test(e), Z = (e) => {
|
|
|
7710
7728
|
i += t >= 55296 && t <= 56319 && n >= 56320 && n <= 57343 ? 2 : 1;
|
|
7711
7729
|
}
|
|
7712
7730
|
return Math.min(i, r);
|
|
7713
|
-
},
|
|
7731
|
+
}, pu = (e, t) => Z(e.slice(0, t)), mu = (e, t, n) => {
|
|
7714
7732
|
let r = [];
|
|
7715
7733
|
if (n === 1) {
|
|
7716
|
-
let n = new RegExp(
|
|
7734
|
+
let n = new RegExp(du(t), "gi");
|
|
7717
7735
|
for (let t = n.exec(e); t !== null; t = n.exec(e)) r.push([t.index, t.index + t[0].length]), n.lastIndex = t.index + 1;
|
|
7718
7736
|
return r;
|
|
7719
7737
|
}
|
|
7720
7738
|
for (let n = e.indexOf(t); n !== -1; n = e.indexOf(t, n + 1)) r.push([n, n + t.length]);
|
|
7721
7739
|
return r;
|
|
7722
|
-
},
|
|
7740
|
+
}, hu = f((e, t) => {
|
|
7723
7741
|
var n = "", r = "หนึ่ง", i = [
|
|
7724
7742
|
"สาม",
|
|
7725
7743
|
"สี่",
|
|
@@ -7833,31 +7851,31 @@ var lu = /[\uD800-\uDBFF][\uDC00-\uDFFF]/, X = (e) => lu.test(e), Z = (e) => {
|
|
|
7833
7851
|
handleStringInput: _,
|
|
7834
7852
|
formatSatang: v
|
|
7835
7853
|
}, e.default = { bahttext: h };
|
|
7836
|
-
}),
|
|
7837
|
-
function
|
|
7854
|
+
}), gu = p({ BAHTTEXT: () => vu }), _u = hu();
|
|
7855
|
+
function vu(e) {
|
|
7838
7856
|
try {
|
|
7839
|
-
return (0,
|
|
7857
|
+
return (0, _u.bahttext)(e);
|
|
7840
7858
|
} catch (e) {
|
|
7841
7859
|
throw Error(`Error in https://github.com/jojoee/bahttext \n${e.toString()}`);
|
|
7842
7860
|
}
|
|
7843
7861
|
}
|
|
7844
|
-
var
|
|
7845
|
-
async function
|
|
7862
|
+
var yu = p({ FILTERXML: () => bu });
|
|
7863
|
+
async function bu(e, n) {
|
|
7846
7864
|
if ($) throw t.BuiltIn.Blocked;
|
|
7847
|
-
if (!
|
|
7848
|
-
|
|
7865
|
+
if (!Su || !Cu) try {
|
|
7866
|
+
wu ??= xu(), await wu;
|
|
7849
7867
|
} catch (e) {
|
|
7850
7868
|
throw $ || ($ = !0, console.warn(`FILTERXML is unavailable: XML libraries could not be loaded (${e?.message ?? e}).`)), t.BuiltIn.Blocked;
|
|
7851
7869
|
}
|
|
7852
|
-
if (!
|
|
7870
|
+
if (!Su) throw $ = !0, console.warn("Unable to load XML libraries"), t.BuiltIn.Blocked;
|
|
7853
7871
|
try {
|
|
7854
|
-
let t =
|
|
7855
|
-
return [[
|
|
7872
|
+
let t = Su.parseFromString(e, "text/xml");
|
|
7873
|
+
return [[Cu.evaluateXPathToString(n, t, null, {})]];
|
|
7856
7874
|
} catch {
|
|
7857
7875
|
throw t.BuiltIn.Value;
|
|
7858
7876
|
}
|
|
7859
7877
|
}
|
|
7860
|
-
var
|
|
7878
|
+
var xu = async () => {
|
|
7861
7879
|
let [e, t] = await Promise.all([import(
|
|
7862
7880
|
/* webpackIgnore: true */
|
|
7863
7881
|
/* @vite-ignore */
|
|
@@ -7867,17 +7885,17 @@ var vu = async () => {
|
|
|
7867
7885
|
/* @vite-ignore */
|
|
7868
7886
|
"https://esm.sh/@xmldom/xmldom@0.8.11"
|
|
7869
7887
|
)]);
|
|
7870
|
-
|
|
7888
|
+
Cu = e;
|
|
7871
7889
|
let n = t.DOMParser;
|
|
7872
|
-
|
|
7873
|
-
},
|
|
7874
|
-
ENCODEURL: () =>
|
|
7875
|
-
WEBSERVICE: () =>
|
|
7890
|
+
Su = new n();
|
|
7891
|
+
}, Su = null, Cu = null, $ = !1, wu = null, Tu = p({
|
|
7892
|
+
ENCODEURL: () => Eu,
|
|
7893
|
+
WEBSERVICE: () => Du
|
|
7876
7894
|
});
|
|
7877
|
-
function
|
|
7895
|
+
function Eu(e) {
|
|
7878
7896
|
return encodeURIComponent(e);
|
|
7879
7897
|
}
|
|
7880
|
-
async function
|
|
7898
|
+
async function Du(e) {
|
|
7881
7899
|
try {
|
|
7882
7900
|
let t = await fetch(e, {
|
|
7883
7901
|
method: "GET",
|
|
@@ -7892,7 +7910,7 @@ async function wu(e) {
|
|
|
7892
7910
|
throw t.BuiltIn.Value;
|
|
7893
7911
|
}
|
|
7894
7912
|
}
|
|
7895
|
-
var
|
|
7913
|
+
var Ou = {
|
|
7896
7914
|
DAVERAGE: {
|
|
7897
7915
|
p: [
|
|
7898
7916
|
{
|
|
@@ -8133,7 +8151,7 @@ var Tu = {
|
|
|
8133
8151
|
],
|
|
8134
8152
|
r: { s: "*" }
|
|
8135
8153
|
}
|
|
8136
|
-
},
|
|
8154
|
+
}, ku = {
|
|
8137
8155
|
DATE: {
|
|
8138
8156
|
p: [
|
|
8139
8157
|
{ n: "year" },
|
|
@@ -8314,7 +8332,7 @@ var Tu = {
|
|
|
8314
8332
|
p: [{ n: "serialNumber" }],
|
|
8315
8333
|
r: { s: "number" }
|
|
8316
8334
|
}
|
|
8317
|
-
},
|
|
8335
|
+
}, Au = {
|
|
8318
8336
|
BESSELI: {
|
|
8319
8337
|
p: [{
|
|
8320
8338
|
n: "x",
|
|
@@ -8355,7 +8373,7 @@ var Tu = {
|
|
|
8355
8373
|
}],
|
|
8356
8374
|
r: { s: "number" }
|
|
8357
8375
|
}
|
|
8358
|
-
},
|
|
8376
|
+
}, ju = {
|
|
8359
8377
|
BIN2DEC: {
|
|
8360
8378
|
p: [{
|
|
8361
8379
|
n: "number",
|
|
@@ -8544,7 +8562,7 @@ var Tu = {
|
|
|
8544
8562
|
}],
|
|
8545
8563
|
r: { s: "*" }
|
|
8546
8564
|
}
|
|
8547
|
-
},
|
|
8565
|
+
}, Mu = { CONVERT: {
|
|
8548
8566
|
p: [
|
|
8549
8567
|
{
|
|
8550
8568
|
n: "number",
|
|
@@ -8560,7 +8578,7 @@ var Tu = {
|
|
|
8560
8578
|
}
|
|
8561
8579
|
],
|
|
8562
8580
|
r: { s: "number" }
|
|
8563
|
-
} },
|
|
8581
|
+
} }, Nu = {
|
|
8564
8582
|
DELTA: {
|
|
8565
8583
|
p: [{
|
|
8566
8584
|
n: "number1",
|
|
@@ -8589,7 +8607,7 @@ var Tu = {
|
|
|
8589
8607
|
}],
|
|
8590
8608
|
r: { s: "number" }
|
|
8591
8609
|
}
|
|
8592
|
-
},
|
|
8610
|
+
}, Pu = {
|
|
8593
8611
|
ERF: {
|
|
8594
8612
|
p: [{
|
|
8595
8613
|
n: "lowerLimit",
|
|
@@ -8624,7 +8642,7 @@ var Tu = {
|
|
|
8624
8642
|
}],
|
|
8625
8643
|
r: { s: "number" }
|
|
8626
8644
|
}
|
|
8627
|
-
},
|
|
8645
|
+
}, Fu = {
|
|
8628
8646
|
COMPLEX: {
|
|
8629
8647
|
p: [
|
|
8630
8648
|
{
|
|
@@ -8862,7 +8880,7 @@ var Tu = {
|
|
|
8862
8880
|
}],
|
|
8863
8881
|
r: { s: "*" }
|
|
8864
8882
|
}
|
|
8865
|
-
},
|
|
8883
|
+
}, Iu = {
|
|
8866
8884
|
CELL: {
|
|
8867
8885
|
p: [{
|
|
8868
8886
|
n: "infoType",
|
|
@@ -9069,7 +9087,7 @@ var Tu = {
|
|
|
9069
9087
|
}],
|
|
9070
9088
|
r: { s: "number" }
|
|
9071
9089
|
}
|
|
9072
|
-
},
|
|
9090
|
+
}, Lu = {
|
|
9073
9091
|
DATESTRING: {
|
|
9074
9092
|
p: [{ n: "number" }],
|
|
9075
9093
|
r: { s: "*" }
|
|
@@ -9078,13 +9096,13 @@ var Tu = {
|
|
|
9078
9096
|
p: [{ n: "number" }, { n: "number2" }],
|
|
9079
9097
|
r: { s: "*" }
|
|
9080
9098
|
}
|
|
9081
|
-
},
|
|
9099
|
+
}, Ru = { PHONETIC: {
|
|
9082
9100
|
p: [{
|
|
9083
9101
|
n: "reference",
|
|
9084
9102
|
r: "p"
|
|
9085
9103
|
}],
|
|
9086
9104
|
r: { s: "*" }
|
|
9087
|
-
} },
|
|
9105
|
+
} }, zu = {
|
|
9088
9106
|
AND: {
|
|
9089
9107
|
p: [{
|
|
9090
9108
|
n: "logical",
|
|
@@ -9382,7 +9400,7 @@ var Tu = {
|
|
|
9382
9400
|
}],
|
|
9383
9401
|
r: { s: "*" }
|
|
9384
9402
|
}
|
|
9385
|
-
},
|
|
9403
|
+
}, Bu = { GROUPBY: {
|
|
9386
9404
|
p: [
|
|
9387
9405
|
{
|
|
9388
9406
|
n: "rowFields",
|
|
@@ -9432,7 +9450,7 @@ var Tu = {
|
|
|
9432
9450
|
s: "*",
|
|
9433
9451
|
r: "m"
|
|
9434
9452
|
}
|
|
9435
|
-
} },
|
|
9453
|
+
} }, Vu = { PIVOTBY: {
|
|
9436
9454
|
p: [
|
|
9437
9455
|
{
|
|
9438
9456
|
n: "rowFields",
|
|
@@ -9500,7 +9518,7 @@ var Tu = {
|
|
|
9500
9518
|
s: "*",
|
|
9501
9519
|
r: "m"
|
|
9502
9520
|
}
|
|
9503
|
-
} },
|
|
9521
|
+
} }, Hu = {
|
|
9504
9522
|
ADDRESS: {
|
|
9505
9523
|
p: [
|
|
9506
9524
|
{ n: "rowNum" },
|
|
@@ -9844,7 +9862,7 @@ var Tu = {
|
|
|
9844
9862
|
p: [
|
|
9845
9863
|
{
|
|
9846
9864
|
n: "lookupValue",
|
|
9847
|
-
|
|
9865
|
+
s: "*",
|
|
9848
9866
|
o: "accept"
|
|
9849
9867
|
},
|
|
9850
9868
|
{
|
|
@@ -9930,13 +9948,15 @@ var Tu = {
|
|
|
9930
9948
|
},
|
|
9931
9949
|
{
|
|
9932
9950
|
n: "sortIndex",
|
|
9933
|
-
|
|
9951
|
+
r: "r",
|
|
9952
|
+
o: "accept-ref",
|
|
9934
9953
|
m: "?",
|
|
9935
9954
|
u: 1
|
|
9936
9955
|
},
|
|
9937
9956
|
{
|
|
9938
9957
|
n: "sortOrder",
|
|
9939
|
-
|
|
9958
|
+
r: "r",
|
|
9959
|
+
o: "accept-ref",
|
|
9940
9960
|
m: "?",
|
|
9941
9961
|
u: 1
|
|
9942
9962
|
},
|
|
@@ -10161,7 +10181,7 @@ var Tu = {
|
|
|
10161
10181
|
p: [
|
|
10162
10182
|
{
|
|
10163
10183
|
n: "lookupValue",
|
|
10164
|
-
|
|
10184
|
+
s: "*",
|
|
10165
10185
|
o: "accept"
|
|
10166
10186
|
},
|
|
10167
10187
|
{
|
|
@@ -10199,7 +10219,7 @@ var Tu = {
|
|
|
10199
10219
|
p: [
|
|
10200
10220
|
{
|
|
10201
10221
|
n: "lookupValue",
|
|
10202
|
-
|
|
10222
|
+
s: "*",
|
|
10203
10223
|
o: "accept"
|
|
10204
10224
|
},
|
|
10205
10225
|
{
|
|
@@ -10221,7 +10241,7 @@ var Tu = {
|
|
|
10221
10241
|
],
|
|
10222
10242
|
r: { s: "*" }
|
|
10223
10243
|
}
|
|
10224
|
-
},
|
|
10244
|
+
}, Uu = {
|
|
10225
10245
|
ABS: {
|
|
10226
10246
|
p: [{ n: "number" }],
|
|
10227
10247
|
r: { s: "number" }
|
|
@@ -10368,12 +10388,10 @@ var Tu = {
|
|
|
10368
10388
|
r: { s: "number" }
|
|
10369
10389
|
},
|
|
10370
10390
|
GCD: {
|
|
10391
|
+
x: ["noReferenceLift", "noMemberFilter"],
|
|
10371
10392
|
p: [{
|
|
10372
10393
|
n: "number",
|
|
10373
|
-
g: [{
|
|
10374
|
-
n: "number",
|
|
10375
|
-
s: "*"
|
|
10376
|
-
}]
|
|
10394
|
+
g: [{ n: "number" }]
|
|
10377
10395
|
}],
|
|
10378
10396
|
r: { s: "number" }
|
|
10379
10397
|
},
|
|
@@ -10390,12 +10408,10 @@ var Tu = {
|
|
|
10390
10408
|
r: { s: "number" }
|
|
10391
10409
|
},
|
|
10392
10410
|
LCM: {
|
|
10411
|
+
x: ["noReferenceLift", "noMemberFilter"],
|
|
10393
10412
|
p: [{
|
|
10394
10413
|
n: "number",
|
|
10395
|
-
g: [{
|
|
10396
|
-
n: "number",
|
|
10397
|
-
s: "*"
|
|
10398
|
-
}]
|
|
10414
|
+
g: [{ n: "number" }]
|
|
10399
10415
|
}],
|
|
10400
10416
|
r: { s: "number" }
|
|
10401
10417
|
},
|
|
@@ -10457,6 +10473,7 @@ var Tu = {
|
|
|
10457
10473
|
r: { s: "number" }
|
|
10458
10474
|
},
|
|
10459
10475
|
MULTINOMIAL: {
|
|
10476
|
+
x: ["noReferenceLift", "noMemberFilter"],
|
|
10460
10477
|
p: [{
|
|
10461
10478
|
n: "number",
|
|
10462
10479
|
g: [{ n: "number" }]
|
|
@@ -10603,7 +10620,6 @@ var Tu = {
|
|
|
10603
10620
|
{ n: "m" },
|
|
10604
10621
|
{
|
|
10605
10622
|
n: "coefficients",
|
|
10606
|
-
s: "number",
|
|
10607
10623
|
r: "r"
|
|
10608
10624
|
}
|
|
10609
10625
|
],
|
|
@@ -10748,7 +10764,7 @@ var Tu = {
|
|
|
10748
10764
|
}],
|
|
10749
10765
|
r: { s: "number" }
|
|
10750
10766
|
}
|
|
10751
|
-
},
|
|
10767
|
+
}, Wu = {
|
|
10752
10768
|
ACOS: {
|
|
10753
10769
|
p: [{ n: "number" }],
|
|
10754
10770
|
r: { s: "number" }
|
|
@@ -10833,7 +10849,7 @@ var Tu = {
|
|
|
10833
10849
|
p: [{ n: "number" }],
|
|
10834
10850
|
r: { s: "number" }
|
|
10835
10851
|
}
|
|
10836
|
-
},
|
|
10852
|
+
}, Gu = {
|
|
10837
10853
|
ADD: {
|
|
10838
10854
|
p: [{ n: "value1" }, { n: "value2" }],
|
|
10839
10855
|
r: { s: "number" }
|
|
@@ -10946,7 +10962,7 @@ var Tu = {
|
|
|
10946
10962
|
],
|
|
10947
10963
|
r: { s: "boolean" }
|
|
10948
10964
|
}
|
|
10949
|
-
},
|
|
10965
|
+
}, Ku = {
|
|
10950
10966
|
"BETA.DIST": {
|
|
10951
10967
|
fn: "BETA_DIST",
|
|
10952
10968
|
p: [
|
|
@@ -12177,7 +12193,7 @@ var Tu = {
|
|
|
12177
12193
|
],
|
|
12178
12194
|
r: { s: "number" }
|
|
12179
12195
|
}
|
|
12180
|
-
},
|
|
12196
|
+
}, qu = {
|
|
12181
12197
|
AVEDEV: {
|
|
12182
12198
|
p: [{
|
|
12183
12199
|
n: "number",
|
|
@@ -12507,7 +12523,7 @@ var Tu = {
|
|
|
12507
12523
|
}, { n: "k" }],
|
|
12508
12524
|
r: { s: "number" }
|
|
12509
12525
|
}
|
|
12510
|
-
},
|
|
12526
|
+
}, Ju = {
|
|
12511
12527
|
DELAY: {
|
|
12512
12528
|
p: [
|
|
12513
12529
|
{ n: "time" },
|
|
@@ -12535,7 +12551,7 @@ var Tu = {
|
|
|
12535
12551
|
}],
|
|
12536
12552
|
r: { s: "string" }
|
|
12537
12553
|
}
|
|
12538
|
-
},
|
|
12554
|
+
}, Yu = {
|
|
12539
12555
|
ASC: {
|
|
12540
12556
|
p: [{
|
|
12541
12557
|
n: "text",
|
|
@@ -13141,10 +13157,10 @@ var Tu = {
|
|
|
13141
13157
|
}],
|
|
13142
13158
|
r: { s: "string" }
|
|
13143
13159
|
}
|
|
13144
|
-
},
|
|
13160
|
+
}, Xu = { BAHTTEXT: {
|
|
13145
13161
|
p: [{ n: "number" }],
|
|
13146
13162
|
r: { s: "string" }
|
|
13147
|
-
} },
|
|
13163
|
+
} }, Zu = { FILTERXML: {
|
|
13148
13164
|
p: [{
|
|
13149
13165
|
n: "xml",
|
|
13150
13166
|
s: "string"
|
|
@@ -13156,7 +13172,7 @@ var Tu = {
|
|
|
13156
13172
|
s: "*",
|
|
13157
13173
|
r: "m"
|
|
13158
13174
|
}
|
|
13159
|
-
} },
|
|
13175
|
+
} }, Qu = {
|
|
13160
13176
|
ENCODEURL: {
|
|
13161
13177
|
p: [{
|
|
13162
13178
|
n: "text",
|
|
@@ -13171,5 +13187,5 @@ var Tu = {
|
|
|
13171
13187
|
}],
|
|
13172
13188
|
r: { s: "string" }
|
|
13173
13189
|
}
|
|
13174
|
-
},
|
|
13175
|
-
export {
|
|
13190
|
+
}, $u = () => import("./CltdofO5ik8g_wQ8.mjs"), ed = () => import("./Ct1gudv1TKk-5FMO.mjs"), td = () => import("./Cyvobf2wi0quDD3U.mjs"), nd = () => import("./Cdl7ZalV6WPZHHRE.mjs"), rd = () => import("./B3pEie3jQN0SvV5B.mjs"), id = () => import("./CWAtVXxcIz86XLzE.mjs"), ad = () => import("./BM1YhvA2ppUZ3QLB.mjs"), od = () => import("./DKFABgVKeBMflym9.mjs"), sd = () => import("./B7750ljsJF3qA9kU.mjs"), cd = () => import("./DtqLXxtPFISlNoUd.mjs"), ld = () => import("./CG1Fn8D-2DrQZoD5.mjs"), ud = () => import("./CVv3DuciDQrnFFeu.mjs"), dd = () => import("./C9jpXFBeugwmOTbx.mjs"), fd = () => import("./Crb70T1Sp1S4uzq4.mjs"), pd = () => import("./-f-RKKojiLg94hp9.mjs"), md = () => import("./CkG4LZN-kb7plKXG.mjs"), hd = () => import("./HgVmqQQhKQ_2v0HD.mjs"), gd = () => import("./D2miaIrotHbpdWei.mjs"), _d = () => import("./BR2ai1V5dGPphpRf.mjs"), vd = () => import("./BzNFsi4RXuJrn_1n.mjs"), yd = () => import("./C7mAHEhFYDwSEU6O.mjs"), bd = () => import("./Bsb5i9Jq-Q8RTmvi.mjs"), xd = () => import("./BYRjnggsufwbb27W.mjs"), Sd = () => import("./0amsHACCOHE_JjXI.mjs"), Cd = () => import("./CCGjvL3YYwY09qF-.mjs"), wd = (e, t, n) => (n ||= /* @__PURE__ */ new Map(), t(n, e, _, Ou, $u, "Database"), t(n, e, ce, ku, ed, "Date & Time"), t(n, e, Ue, Au, td, "Engineering"), t(n, e, Ye, ju, nd, "Engineering"), t(n, e, _t, Mu, rd, "Engineering"), t(n, e, xt, Nu, id, "Engineering"), t(n, e, Tt, Pu, ad, "Engineering"), t(n, e, At, Fu, od, "Engineering"), t(n, e, mn, Iu, sd, "Information"), t(n, e, Bn, Lu, cd, "Japanese"), t(n, e, Un, Ru, ld, "Japanese"), t(n, e, Kn, zu, ud, "Logical"), t(n, e, mr, Bu, dd, "Lookup & Reference"), t(n, e, gr, Vu, fd, "Lookup & Reference"), t(n, e, yr, Hu, pd, "Lookup & Reference"), t(n, e, _i, Uu, md, "Math & Trig"), t(n, e, ja, Wu, hd, "Math & Trig"), t(n, e, $a, Gu, gd, "Operators"), t(n, e, Go, Ku, _d, "Statistical"), t(n, e, go, qu, vd, "Statistical"), t(n, e, al, Ju, yd, "Testing"), t(n, e, dl, Yu, bd, "Text"), t(n, e, gu, Xu, xd, "Thai"), t(n, e, yu, Zu, Sd, "Web"), t(n, e, Tu, Qu, Cd, "Web"), n);
|
|
13191
|
+
export { wd as default };
|