@sheetxl/sdk 0.4.14 → 0.4.15
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/browser/cjs/{B06_i0NVsMlV7sL3.cjs → 17vteff17iwu-nts.cjs} +2 -2
- package/browser/cjs/{Dq9JXD1VUC_eXNv8.cjs → B1o0X3p_6PiLx4jI.cjs} +3 -3
- package/browser/cjs/{DTAOALsCBhuSuEiG.cjs → B339rTr1BsEIo2__.cjs} +1 -1
- package/browser/cjs/{C4rkyi5ne70h0eUM.cjs → B6Vc2J26WiHxBQya.cjs} +2 -2
- package/browser/cjs/{BeFLdMQtixEQOMIf.cjs → BKAC72r7ywoOltA0.cjs} +1 -1
- package/browser/cjs/{p9-P5tsRY2aEac88.cjs → BVA-ijQaNPkp7YbF.cjs} +2 -2
- package/browser/cjs/{BSaEFx_1qH-bqkxA.cjs → BXtVRHEodCTlDHKt.cjs} +4 -4
- package/browser/cjs/{CZpCJ_mGf8uvTyHs.cjs → Br5SOD3y14JWQxmm.cjs} +1 -1
- package/browser/cjs/{Bypbx3PA2wZ-MxR7.cjs → BsZ6vhnXHmCHlGZX.cjs} +4 -4
- package/browser/cjs/{QgxQTHhUBOvKb5Sp.cjs → Bv5GejhVjiiKkQo4.cjs} +1 -1
- package/browser/cjs/{BMzm6e19THp5R5SS.cjs → Bve-_MKdvTST-nYO.cjs} +1 -1
- package/browser/cjs/{CpD5wln4iVlrPfkY.cjs → C2h4aMcaEv25R8td.cjs} +1 -1
- package/browser/cjs/{Depd1YehybNaiyCe.cjs → CK47_UoX6YUMsgbq.cjs} +1 -1
- package/browser/cjs/{v59Hlj7XX2HjAklI.cjs → CkXszTzijjKe-x3s.cjs} +1 -1
- package/browser/cjs/{CeW7HtHiebPU1ZrI.cjs → CnOPibl4Egdph8iO.cjs} +1 -1
- package/browser/cjs/{CK7GKaY19eDwb72K.cjs → CnoRxKqF7cmfYPie.cjs} +1 -1
- package/browser/cjs/{rdaInA-ytvORY7dI.cjs → CwNSe9CinOcKHt9p.cjs} +1 -1
- package/browser/cjs/{CQtudwvjokdRI8w7.cjs → D-TMUgYRD9-WKuJt.cjs} +1 -1
- package/browser/cjs/{DNRSQjR0UdY_4fl9.cjs → D65Kj_FHrWptDBz6.cjs} +2 -2
- package/browser/cjs/{mD326DVwUY2qz53z.cjs → DDwxGPgeEH75VzI6.cjs} +1 -1
- package/browser/cjs/DEnI4zCWAmN4uqYL.cjs +60 -0
- package/browser/cjs/{DE3tCi_X6QIZF8tS.cjs → DEyIncQzUFxinblH.cjs} +1 -1
- package/browser/cjs/{D6h0MMq-X27_iD6g.cjs → DJwiyf8nrWTrcqsg.cjs} +1 -1
- package/browser/cjs/{BSQ6GwaDgEhp4-Jm.cjs → DN99k_K8Xt6Cxpbg.cjs} +1 -1
- package/browser/cjs/{8JuguQ-v_wjzRAJQ.cjs → DR8AZfpEdPwolzLA.cjs} +1 -1
- package/browser/cjs/{DaV0-3D2kIZdcEfA.cjs → DY7NS5zPRAYW9B4z.cjs} +1 -1
- package/browser/cjs/{D1hmSqsrlX7CR2o_.cjs → DZoB22ts1B-Uo1_8.cjs} +1 -1
- package/browser/cjs/{CxNcIlUbtVSt64Tm.cjs → HFD-Ka0JKfOFb-v8.cjs} +1 -1
- package/browser/cjs/{D4c1Sr1XvF3nMs-j.cjs → HrYBZlmkaRPlgpBr.cjs} +1 -1
- package/browser/cjs/{is67OzV6HSQv8hND.cjs → J0QRcnocFqaCEpXb.cjs} +1 -1
- package/browser/cjs/{DveSU-1M1dKih8ss.cjs → dL-d0P2RzXjtzTKk.cjs} +1 -1
- package/browser/cjs/{DSUl7vRzR8mV1Myf.cjs → f4q2aiebC4Dk2JpQ.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{D0KawW_CBCzUbAwf.cjs → jAhE-WFeXtkOENRt.cjs} +1 -1
- package/browser/esm/{8jrILMSMxtRYp4Ml.mjs → 1RDByGQ0b6fJxh7d.mjs} +1 -1
- package/browser/esm/{DGSd15RAMHKU4TTh.mjs → B1J_tEX0ArjgmDxo.mjs} +1 -1
- package/browser/esm/{D7vGd1TA1pYs2r8i.mjs → B6bUGsiDUEqxcpxj.mjs} +1 -1
- package/browser/esm/{CZH9NjmkPt5qOZvo.mjs → B7TVQO7b5fKHjmdS.mjs} +1 -1
- package/browser/esm/{D5m4uOGT4rzpeawH.mjs → B9pQrZA0Y-_hUwWi.mjs} +1 -1
- package/{node/esm/Co_XNsi04fa0kXfc.mjs → browser/esm/BUjgpjT28_Y-kidw.mjs} +1 -1
- package/{node/esm/_9LudTdmURafvtbM.mjs → browser/esm/Be8lmKk3pIbpatrW.mjs} +1 -1
- package/browser/esm/{CEPVn5ObLgMnhFuG.mjs → BqlVyzcHZSLgnGUm.mjs} +1 -1
- package/browser/esm/{D2d6F8a0L2i5KG9B.mjs → C6ugA4r8ZBnWJ7SS.mjs} +4 -4
- package/browser/esm/{c0yMyZrKHAQcuk34.mjs → CL7ql8UZhgDNpfsM.mjs} +1 -1
- package/{node/esm/utnJnW2cCjLr_J5j.mjs → browser/esm/CVlNXQ7d_YZ1bp7F.mjs} +1 -1
- package/browser/esm/{c8TPaGQuorNwRY5P.mjs → C_viEPf8wfrM9XrP.mjs} +4 -4
- package/{node/esm/Ds3gLJ0AViDNAZBb.mjs → browser/esm/Cf9USLOKImk5ry05.mjs} +1 -1
- package/{node/esm/Dv-eMLsSU3GgM0IG.mjs → browser/esm/CqsGDFsS_swdf3vs.mjs} +1 -1
- package/{node/esm/BwAtcwzMrBFQsJrt.mjs → browser/esm/D6yAkYqQpt4Mti36.mjs} +1 -1
- package/browser/esm/{CASK_saDBb0E8-gc.mjs → D8PCv7S4DISHUIuf.mjs} +2 -2
- package/{node/esm/Dq1c2fRK8fy1wIZ0.mjs → browser/esm/DC2efMTBtgG0Qg9v.mjs} +1 -1
- package/browser/esm/{IF7Bu3bAljYlYAhG.mjs → DJGZqsQxGcCptrL0.mjs} +1 -1
- package/browser/esm/{Ijz2AYZo5041p_E0.mjs → DJSB1iCmSRlSH8T3.mjs} +2 -2
- package/browser/esm/{CA81BqhGVQdWnnU-.mjs → DOkO-X1qYgsIKnNj.mjs} +3 -3
- package/{node/esm/DDcxalm5bxkWR6yr.mjs → browser/esm/DYE2NR7zRrGqd22q.mjs} +1 -1
- package/browser/esm/{B1U-ZkWRkC7EsWhJ.mjs → DZh5MHkoTH4JibFE.mjs} +1 -1
- package/browser/esm/{D799n_-syMIKHsZB.mjs → DoyfObpnizfLGHs3.mjs} +1 -1
- package/browser/esm/{BjMYkedmgsLBSeIL.mjs → Dqvs0M5ZN2pHLCwm.mjs} +1 -1
- package/browser/esm/{D5MCJciGCVt9S3_d.mjs → DxIixek4CImRs91l.mjs} +1 -1
- package/browser/esm/{0y8470lJoPLFzYRG.mjs → PWnhitKV1qE65Z3V.mjs} +1 -1
- package/browser/esm/{Bg1s7CT60pr7m6Wv.mjs → QkxRNX4E_VTO1B3P.mjs} +4388 -4385
- package/{node/esm/CJSlOHcd-GRplhJb.mjs → browser/esm/SLFayFhlPi4T8AO6.mjs} +1 -1
- package/browser/esm/{6ofNyUJ2bff5hQAb.mjs → Sr5fscnOJ2IHKKrp.mjs} +1 -1
- package/browser/esm/{flS4x_DXemCnqZYx.mjs → WUmLxNLfFn0Ozmm-.mjs} +1 -1
- package/browser/esm/{DML06qJVWAeMmTeF.mjs → favrNBo9HOjnV2Y3.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{BaQ-kJ0S48-mIDOB.mjs → jdkRKboN0ZTz9YBf.mjs} +1 -1
- package/browser/esm/{CXCFBAK8GNqcf4NZ.mjs → tJR0NVUIbWFQCJp0.mjs} +2 -2
- package/licenses/dependencies.txt +3 -3
- package/node/esm/{igBKvoiyyirwpnsa.mjs → AfI5dmtnxoAFOc1C.mjs} +1 -1
- package/node/esm/{BVwiUEUE8Kq6Q-Md.mjs → B1E5b-6lOZJnl4aN.mjs} +2 -2
- package/node/esm/{DGSd15RAMHKU4TTh.mjs → B1J_tEX0ArjgmDxo.mjs} +1 -1
- package/node/esm/{D5m4uOGT4rzpeawH.mjs → B9pQrZA0Y-_hUwWi.mjs} +1 -1
- package/node/esm/{BkSSbBdHw5fSDT9u.mjs → BEvzdM3wAA2DOPpb.mjs} +1 -1
- package/node/esm/{BAJg2qwLifwsMs48.mjs → BEwii9DEp24ukOxk.mjs} +1 -1
- package/node/esm/{CmZcNpOTEY__HcNE.mjs → BRakFf60UlCdEoH2.mjs} +2 -2
- package/{browser/esm/Co_XNsi04fa0kXfc.mjs → node/esm/BUjgpjT28_Y-kidw.mjs} +1 -1
- package/node/esm/{Ciz3vgy9vMXs8dGv.mjs → BWh89wRFsoTmi9Ib.mjs} +1 -1
- package/node/esm/{Be8IGMeEVQrqyIbz.mjs → Bd7nQztitF7jnRgP.mjs} +1 -1
- package/{browser/esm/_9LudTdmURafvtbM.mjs → node/esm/Be8lmKk3pIbpatrW.mjs} +1 -1
- package/node/esm/{Dbv1kS3xRdworJhn.mjs → C9Z0bg7XW6ng3z7k.mjs} +3 -3
- package/node/esm/{Cg0Rg6HBC4czGxnY.mjs → CBuT_Rm4rHFEv2-k.mjs} +1 -1
- package/node/esm/{c0yMyZrKHAQcuk34.mjs → CL7ql8UZhgDNpfsM.mjs} +1 -1
- package/node/esm/{Dw228_AFFTiN-qSG.mjs → CV_B2BH1zuSdWD_e.mjs} +1 -1
- package/{browser/esm/utnJnW2cCjLr_J5j.mjs → node/esm/CVlNXQ7d_YZ1bp7F.mjs} +1 -1
- package/node/esm/{D1IiK4HwSFrtL98j.mjs → C_eVpG1TqI_0_Zfz.mjs} +1 -1
- package/{browser/esm/Ds3gLJ0AViDNAZBb.mjs → node/esm/Cf9USLOKImk5ry05.mjs} +1 -1
- package/node/esm/{D-ebNw7-IJtP0UVf.mjs → Cm8B2CXlnA5r12FE.mjs} +1 -1
- package/node/esm/{HHRD6y1sXoRYiRM-.mjs → CpNeEylJssyF4zm3.mjs} +2 -2
- package/{browser/esm/Dv-eMLsSU3GgM0IG.mjs → node/esm/CqsGDFsS_swdf3vs.mjs} +1 -1
- package/{browser/esm/BwAtcwzMrBFQsJrt.mjs → node/esm/D6yAkYqQpt4Mti36.mjs} +1 -1
- package/{browser/esm/Dq1c2fRK8fy1wIZ0.mjs → node/esm/DC2efMTBtgG0Qg9v.mjs} +1 -1
- package/node/esm/{IF7Bu3bAljYlYAhG.mjs → DJGZqsQxGcCptrL0.mjs} +1 -1
- package/{browser/esm/DDcxalm5bxkWR6yr.mjs → node/esm/DYE2NR7zRrGqd22q.mjs} +1 -1
- package/node/esm/{DmYC6rfHbxzRi-xv.mjs → DmxrrAcKGuZW16bw.mjs} +4 -4
- package/node/esm/{D5MCJciGCVt9S3_d.mjs → DxIixek4CImRs91l.mjs} +1 -1
- package/node/esm/{0y8470lJoPLFzYRG.mjs → PWnhitKV1qE65Z3V.mjs} +1 -1
- package/node/esm/{BlMT23s2F34fCyyF.mjs → RP8av-gx71hD40p7.mjs} +1 -1
- package/{browser/esm/CJSlOHcd-GRplhJb.mjs → node/esm/SLFayFhlPi4T8AO6.mjs} +1 -1
- package/node/esm/{6ofNyUJ2bff5hQAb.mjs → Sr5fscnOJ2IHKKrp.mjs} +1 -1
- package/node/esm/index.mjs +611 -603
- package/package.json +4 -4
- package/browser/cjs/DejSF-jvG3xB_8YE.cjs +0 -60
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -300,11 +300,11 @@ let _ = class {
|
|
|
300
300
|
super(t5), this.name = "NotImplementedError";
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
|
-
const y = Object.freeze({ colIndex: 0, rowIndex: 0 }), E = Object.freeze({ colStart: 0, rowStart: 0, colEnd: Math.pow(2, 14) - 1, rowEnd: Math.pow(2, 20) - 1 }), b = { getCurrencySymbol: () => "$", getNumberDecimalSeparator: () => ".", getNumberGroupSeparator: () => ",", isDate1904: () => false, getLocation: () => "unknown", getVersion: () => "1.0.0", getOS: () => "unknown", getUser: () => "unidentified", getDescription: () => "Stubbed Formula Context" }, C = new S(), v = { Up: "up", Down: "down", Left: "left", Right: "right" }, x = { TopLeft: "tl", Top: "t", TopRight: "tr", Left: "l", Center: "c", Right: "r", BottomLeft: "bl", Bottom: "b", BottomRight: "br" }, I = { html: "text/html", plain: "text/plain", png: "image/png" }, R = Object.freeze({ left: 0, top: 0 }), A = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), M = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), T = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: M, EmptyRect: A, EmptyTopLeft: R }, Symbol.toStringTag, { value: "Module" })), N = { Column: "column", Row: "row" }, k = { ...N, Both: "both" }, F = Object.freeze({ colIndex: 0, rowIndex: 0 }), O = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), D = (t5, e2) => t5.colStart === e2.colStart ? t5.rowStart - e2.rowStart : t5.colStart - e2.colStart, L = (t5, e2) => t5.rowStart === e2.rowStart ? t5.colStart - e2.colStart : t5.rowStart - e2.rowStart, B = (t5, e2) => t5.rowEnd === e2.rowEnd ? e2.colEnd - t5.colEnd : e2.rowEnd - t5.rowEnd, P = (t5, e2) => t5.colEnd === e2.colEnd ? e2.rowEnd - t5.rowEnd : e2.colEnd - t5.colEnd, z = (t5, e2) => t5.colIndex === e2.colIndex ? t5.rowIndex - e2.rowIndex : t5.colIndex - e2.colIndex,
|
|
303
|
+
const y = Object.freeze({ colIndex: 0, rowIndex: 0 }), E = Object.freeze({ colStart: 0, rowStart: 0, colEnd: Math.pow(2, 14) - 1, rowEnd: Math.pow(2, 20) - 1 }), b = { getCurrencySymbol: () => "$", getNumberDecimalSeparator: () => ".", getNumberGroupSeparator: () => ",", isDate1904: () => false, getLocation: () => "unknown", getVersion: () => "1.0.0", getOS: () => "unknown", getUser: () => "unidentified", getDescription: () => "Stubbed Formula Context" }, C = new S(), v = { Up: "up", Down: "down", Left: "left", Right: "right" }, x = { TopLeft: "tl", Top: "t", TopRight: "tr", Left: "l", Center: "c", Right: "r", BottomLeft: "bl", Bottom: "b", BottomRight: "br" }, I = { html: "text/html", plain: "text/plain", png: "image/png" }, R = Object.freeze({ left: 0, top: 0 }), A = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), M = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), T = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: M, EmptyRect: A, EmptyTopLeft: R }, Symbol.toStringTag, { value: "Module" })), N = { Column: "column", Row: "row" }, k = { ...N, Both: "both" }, F = Object.freeze({ colIndex: 0, rowIndex: 0 }), O = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), D = (t5, e2) => t5.colStart === e2.colStart ? t5.rowStart - e2.rowStart : t5.colStart - e2.colStart, L = (t5, e2) => t5.rowStart === e2.rowStart ? t5.colStart - e2.colStart : t5.rowStart - e2.rowStart, B = (t5, e2) => t5.rowEnd === e2.rowEnd ? e2.colEnd - t5.colEnd : e2.rowEnd - t5.rowEnd, P = (t5, e2) => t5.colEnd === e2.colEnd ? e2.rowEnd - t5.rowEnd : e2.colEnd - t5.colEnd, z = (t5, e2) => t5.colIndex === e2.colIndex ? t5.rowIndex - e2.rowIndex : t5.colIndex - e2.colIndex, j = (t5, e2) => t5.rowIndex === e2.rowIndex ? t5.colIndex - e2.colIndex : t5.rowIndex - e2.rowIndex, W = (t5 = N.Row, e2 = false) => e2 ? t5 !== N.Column ? B : P : t5 !== N.Column ? L : D, H = (t5, e2) => t5 === e2 || !(!t5 || !e2) && t5.rowIndex === e2.rowIndex && t5.colIndex === e2.colIndex, V = (t5, e2) => t5 === e2 || !(!t5 || !e2) && t5.rowStart === e2.rowStart && t5.rowEnd === e2.rowEnd && t5.colStart === e2.colStart && t5.colEnd === e2.colEnd, $ = (t5, e2) => !(!t5 || !e2 || t5.colStart > e2.colEnd || e2.colStart > t5.colEnd || t5.rowStart > e2.rowEnd || e2.rowStart > t5.rowEnd), G = (t5, e2) => {
|
|
304
304
|
if (t5 === e2) return true;
|
|
305
305
|
if (!t5 || !e2) return false;
|
|
306
306
|
if (t5.length !== e2.length) return false;
|
|
307
|
-
for (let n2 = 0; n2 < t5.length; n2++) if (
|
|
307
|
+
for (let n2 = 0; n2 < t5.length; n2++) if (!V(t5[n2], e2[n2])) return false;
|
|
308
308
|
return true;
|
|
309
309
|
}, U = (t5, e2, n2) => {
|
|
310
310
|
if (!t5 && !e2) return null;
|
|
@@ -318,7 +318,7 @@ const y = Object.freeze({ colIndex: 0, rowIndex: 0 }), E = Object.freeze({ colSt
|
|
|
318
318
|
const n2 = { ...t5 };
|
|
319
319
|
for (let t6 = 0; t6 < e2.length; t6++) {
|
|
320
320
|
const r2 = e2[t6];
|
|
321
|
-
|
|
321
|
+
$(n2, r2) && (n2.rowStart = Math.min(n2.rowStart, r2.rowStart), n2.colStart = Math.min(n2.colStart, r2.colStart), n2.rowEnd = Math.max(n2.rowEnd, r2.rowEnd), n2.colEnd = Math.max(n2.colEnd, r2.colEnd));
|
|
322
322
|
}
|
|
323
323
|
return n2;
|
|
324
324
|
}, q = [null, null], K = (t5, e2, n2) => {
|
|
@@ -329,7 +329,7 @@ function X(t5, e2 = 2, n2, r2 = N.Row, o2) {
|
|
|
329
329
|
if (e2 <= 0 || t5.length <= 1) return s2;
|
|
330
330
|
let i2 = r2 === N.Column, a2 = 0, l2 = false;
|
|
331
331
|
do {
|
|
332
|
-
const t6 = s2.sort(
|
|
332
|
+
const t6 = s2.sort(W(i2 ? N.Row : N.Column));
|
|
333
333
|
s2 = [], s2.push(t6[0]);
|
|
334
334
|
const e3 = t6.length;
|
|
335
335
|
let c2 = 0, h2 = t6[0], u2 = h2.colStart, d2 = h2.rowStart, g2 = h2.colEnd, m2 = h2.rowEnd;
|
|
@@ -357,7 +357,7 @@ const Y = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: F, E
|
|
|
357
357
|
if (!t5) return null;
|
|
358
358
|
let n2 = e2;
|
|
359
359
|
return n2 || (n2 = { ...t5 }, delete n2.colIndex, delete n2.rowIndex), n2.colStart = t5.colIndex ?? 0, n2.rowStart = t5.rowIndex ?? 0, n2.colEnd = t5.colIndex ?? 0, n2.rowEnd = t5.rowIndex ?? 0, n2;
|
|
360
|
-
}, columnFirstCellComparator: z, columnFirstRangeComparator: D, createCellComparator: (t5 = N.Row, e2 = false) => e2 ? t5 !== N.Column ? (t6, e3) => t6.rowIndex === e3.rowIndex ? e3.colIndex - t6.colIndex : e3.rowIndex - t6.rowIndex : (t6, e3) => t6.colIndex === e3.colIndex ? e3.rowIndex - t6.rowIndex : e3.colIndex - t6.colIndex : t5 !== N.Column ?
|
|
360
|
+
}, columnFirstCellComparator: z, columnFirstRangeComparator: D, createCellComparator: (t5 = N.Row, e2 = false) => e2 ? t5 !== N.Column ? (t6, e3) => t6.rowIndex === e3.rowIndex ? e3.colIndex - t6.colIndex : e3.rowIndex - t6.rowIndex : (t6, e3) => t6.colIndex === e3.colIndex ? e3.rowIndex - t6.rowIndex : e3.colIndex - t6.colIndex : t5 !== N.Column ? j : z, createConflatingRanges: (t5, e2 = false) => {
|
|
361
361
|
const n2 = [];
|
|
362
362
|
let r2, o2, s2 = Number.MIN_SAFE_INTEGER, i2 = Number.MIN_SAFE_INTEGER;
|
|
363
363
|
return { append: (a2, l2, c2) => {
|
|
@@ -372,14 +372,14 @@ const Y = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: F, E
|
|
|
372
372
|
const d2 = e2 ? a2 : l2, g2 = e2 ? l2 : a2;
|
|
373
373
|
r2 = { colStart: d2, rowStart: g2, colEnd: d2, rowEnd: g2 }, u2 && (r2.value = c2), s2 = a2, i2 = l2, o2 = c2;
|
|
374
374
|
}, done: (t6) => (r2 && (n2.push(r2), r2 = null), t6 ? X(n2, 3, true === t6 ? K : t6, e2 ? N.Column : N.Row, q) : n2) };
|
|
375
|
-
}, createRangeComparator:
|
|
375
|
+
}, createRangeComparator: W, defaultRange: (t5, e2, n2) => t5 ? n2 ? (n2.colStart = t5.colStart ?? e2.colStart, n2.rowStart = t5.rowStart ?? e2.rowStart, n2.colEnd = t5.colEnd ?? e2.colEnd, n2.rowEnd = t5.rowEnd ?? e2.rowEnd, n2) : { colStart: t5.colStart ?? e2.colStart, rowStart: t5.rowStart ?? e2.rowStart, colEnd: t5.colEnd ?? e2.colEnd, rowEnd: t5.rowEnd ?? e2.rowEnd } : e2, extendRangeToIntersectingRanges: J, extendRangeToUnionRanges: (t5, e2) => {
|
|
376
376
|
if (!e2 || 0 === e2.length) return t5;
|
|
377
377
|
let n2 = t5, r2 = null;
|
|
378
|
-
for (;
|
|
378
|
+
for (; !V(n2, r2); ) r2 = n2, n2 = J(r2, e2);
|
|
379
379
|
return n2;
|
|
380
380
|
}, indexOfCoords: (t5, e2) => {
|
|
381
381
|
const n2 = { colStart: t5.colIndex, rowStart: t5.rowIndex, colEnd: t5.colIndex, rowEnd: t5.rowIndex };
|
|
382
|
-
for (let t6 = e2.length - 1; t6 >= 0; t6--) if (
|
|
382
|
+
for (let t6 = e2.length - 1; t6 >= 0; t6--) if ($(n2, e2[t6])) return t6;
|
|
383
383
|
return -1;
|
|
384
384
|
}, intersectRanges: (t5, e2, n2) => {
|
|
385
385
|
if (!t5) return n2 ? e2 : { ...e2 };
|
|
@@ -389,7 +389,7 @@ const Y = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: F, E
|
|
|
389
389
|
const r2 = Math.max(t5.colStart, e2.colStart), o2 = Math.max(t5.rowStart, e2.rowStart), s2 = Math.min(t5.colEnd, e2.colEnd), i2 = Math.min(t5.rowEnd, e2.rowEnd);
|
|
390
390
|
let a2 = n2;
|
|
391
391
|
return a2 ? (a2.colStart = r2, a2.rowStart = o2, a2.colEnd = s2, a2.rowEnd = i2) : a2 = { colStart: r2, rowStart: o2, colEnd: s2, rowEnd: i2 }, a2;
|
|
392
|
-
}, isCellWithinRange: (t5, e2) => !(!t5 || !e2 || t5.rowIndex < e2.rowStart || t5.rowIndex > e2.rowEnd || t5.colIndex < e2.colStart || t5.colIndex > e2.colEnd), isEqualCells: H, isEqualRanges:
|
|
392
|
+
}, isCellWithinRange: (t5, e2) => !(!t5 || !e2 || t5.rowIndex < e2.rowStart || t5.rowIndex > e2.rowEnd || t5.colIndex < e2.colStart || t5.colIndex > e2.colEnd), isEqualCells: H, isEqualRanges: V, isEqualRangesArrays: G, isEqualSelectionCoords: (t5, e2) => t5 === e2 || !(!t5 || !e2) && t5.rangeIndex === e2.rangeIndex && !!H(t5.cell, e2.cell) && G(t5.ranges, e2.ranges), isRangeWithinRange: (t5, e2) => !(t5.rowStart < e2.rowStart || t5.rowEnd > e2.rowEnd || t5.colStart < e2.colStart || t5.colEnd > e2.colEnd), isRangesIntersect: $, isSingleCell: (t5) => !!t5 && t5.rowEnd === t5.rowStart && t5.colStart === t5.colEnd, isValidRange: (t5) => !(!t5 || "number" != typeof t5.colStart || t5.colStart < 0 || "number" != typeof t5.colEnd || t5.colEnd < t5.colStart || "number" != typeof t5.rowStart || t5.rowStart < 0 || "number" != typeof t5.rowEnd || t5.rowEnd < t5.rowStart), mergeRangedValues: X, rowFirstCellComparator: j, rowFirstRangeComparator: L, sanitizeRange: (t5) => t5 ? { colStart: t5.colIndex ?? t5.colStart ?? 0, rowStart: t5.rowIndex ?? t5.rowStart ?? 0, colEnd: t5.colIndex ?? t5.colEnd ?? 0, rowEnd: t5.rowIndex ?? t5.rowEnd ?? 0 } : null, translateRange: (t5, e2 = -t5.rowStart, n2 = -t5.colStart, r2) => r2 ? (r2.colStart = t5.colStart + n2, r2.rowStart = t5.rowStart + e2, r2.colEnd = t5.colEnd + n2, r2.rowEnd = t5.rowEnd + e2, r2) : { colStart: t5.colStart + n2, rowStart: t5.rowStart + e2, colEnd: t5.colEnd + n2, rowEnd: t5.rowEnd + e2 }, unionRanges: U, unionRangesArrays: (t5, e2, n2) => {
|
|
393
393
|
if (!t5 || 0 === t5.length) return null;
|
|
394
394
|
if (1 === t5.length && !e2) return t5[0];
|
|
395
395
|
let r2 = t5[0];
|
|
@@ -887,12 +887,12 @@ class zt extends Lt {
|
|
|
887
887
|
super(t5, e2);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
class
|
|
890
|
+
class jt extends Lt {
|
|
891
891
|
constructor(t5 = "Null not supported", e2 = null) {
|
|
892
892
|
super(t5, e2);
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
|
-
class
|
|
895
|
+
class Wt extends Error {
|
|
896
896
|
constructor(t5 = "Null not supported", e2) {
|
|
897
897
|
super(t5), this._type = e2;
|
|
898
898
|
}
|
|
@@ -905,7 +905,7 @@ class Ht extends Lt {
|
|
|
905
905
|
super(t5, e2);
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
|
-
const
|
|
908
|
+
const Vt = "The Safari browser does not support advanced copy and paste.\nCopy and paste will be limited to within the browser tab.\n\nPlease use Chrome or Edge if external copy and paste is required.", $t = "You do not have permissions to access the clipboard.\nAll copy and paste operations will be limited to the browser tab.", Gt = { Safari: "The Safari browser does not support advanced copy and paste.\nCopy and paste will be limited to within the browser tab.\n\nPlease use Chrome or Edge if external copy and paste is required.", Perms: $t, PermsWrite: wt() === St.Safari ? Vt : $t, PermsRead: wt() === St.Safari ? Vt : $t }, Ut = async () => new Promise((t5) => {
|
|
909
909
|
document.hasFocus() ? t5() : globalThis.addEventListener?.("focus", () => {
|
|
910
910
|
t5();
|
|
911
911
|
}, { once: true }), document.activeElement.focus?.();
|
|
@@ -1630,13 +1630,13 @@ class fe extends ae {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
const pe = () => {
|
|
1632
1632
|
try {
|
|
1633
|
-
return "0.4.
|
|
1633
|
+
return "0.4.15";
|
|
1634
1634
|
} catch (t5) {
|
|
1635
1635
|
return "";
|
|
1636
1636
|
}
|
|
1637
1637
|
}, _e = Object.freeze(Object.defineProperty({ __proto__: null, getBuildDate: () => {
|
|
1638
1638
|
try {
|
|
1639
|
-
return "
|
|
1639
|
+
return "Sat Aug 09 2025";
|
|
1640
1640
|
} catch (t5) {
|
|
1641
1641
|
return "";
|
|
1642
1642
|
}
|
|
@@ -1704,387 +1704,392 @@ KeyFrom: '${t5.keyFrom()}'`, console.log(l2(o2))), Promise.resolve();
|
|
|
1704
1704
|
}
|
|
1705
1705
|
} }, Symbol.toStringTag, { value: "Module" }));
|
|
1706
1706
|
function Ce(t5, e2, n2, r2, o2) {
|
|
1707
|
-
return je(
|
|
1707
|
+
return je(n2 - 68, o2);
|
|
1708
1708
|
}
|
|
1709
1709
|
!function() {
|
|
1710
|
-
const t5 =
|
|
1711
|
-
function
|
|
1712
|
-
return je(
|
|
1713
|
-
}
|
|
1714
|
-
function g2(t6, e3, n3, r3, o3) {
|
|
1715
|
-
return je(n3 - -802, o3);
|
|
1710
|
+
const t5 = 1382, e2 = 1345, n2 = "[&Tq", r2 = "3J4O", o2 = 1305, s2 = "W15C", i2 = "Ij23", a2 = 1287, l2 = 812, c2 = 875;
|
|
1711
|
+
function h2(t6, e3, n3, r3, o3) {
|
|
1712
|
+
return je(o3 - c2, r3);
|
|
1716
1713
|
}
|
|
1717
|
-
function
|
|
1718
|
-
return je(
|
|
1714
|
+
function u2(t6, e3, n3, r3, o3) {
|
|
1715
|
+
return je(n3 - l2, r3);
|
|
1719
1716
|
}
|
|
1720
|
-
function
|
|
1721
|
-
return je(
|
|
1717
|
+
function d2(t6, e3, n3, r3, o3) {
|
|
1718
|
+
return je(n3 - -523, o3);
|
|
1722
1719
|
}
|
|
1723
|
-
const
|
|
1724
|
-
function
|
|
1725
|
-
return je(
|
|
1720
|
+
const g2 = Fe();
|
|
1721
|
+
function m2(t6, e3, n3, r3, o3) {
|
|
1722
|
+
return je(r3 - 706, e3);
|
|
1726
1723
|
}
|
|
1727
1724
|
for (; ; ) try {
|
|
1728
|
-
if (
|
|
1729
|
-
|
|
1725
|
+
if (113604 === -parseInt(u2(0, 0, t5, "MFi1")) / 1 + parseInt(u2(0, 0, e2, n2)) / 2 + -parseInt(m2(0, r2, 0, 1226)) / 3 * (-parseInt(m2(0, "b3o5", 0, 1337)) / 4) + parseInt(u2(0, 0, o2, s2)) / 5 + -parseInt(d2(0, 0, -46, 0, i2)) / 6 + -parseInt(m2(0, "Rq[X", 0, 1136)) / 7 + parseInt(h2(0, 0, 0, "C5EQ", a2)) / 8) break;
|
|
1726
|
+
g2.push(g2.shift());
|
|
1730
1727
|
} catch (t6) {
|
|
1731
|
-
|
|
1728
|
+
g2.push(g2.shift());
|
|
1732
1729
|
}
|
|
1733
1730
|
}();
|
|
1734
1731
|
const ve = () => {
|
|
1735
|
-
const t5 =
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
function c2(t6, e3, n3, r3, o3) {
|
|
1739
|
-
return je(n3 - -535, t6);
|
|
1732
|
+
const t5 = "MFi1", e2 = "Epjv", n2 = 1062, r2 = 618, o2 = "C5EQ", s2 = 429;
|
|
1733
|
+
function i2(t6, e3, n3, r3, o3) {
|
|
1734
|
+
return je(o3 - -485, n3);
|
|
1740
1735
|
}
|
|
1741
|
-
return
|
|
1736
|
+
return typeof window === i2(0, 0, "^vL)", 0, 101) ? window[i2(0, 0, t5, 0, -75)][a2 = e2, l2 = n2, je(l2 - s2, a2)] : bt[c2 = r2, h2 = o2, je(c2 - 127, h2)]();
|
|
1737
|
+
var a2, l2, c2, h2;
|
|
1738
|
+
}, xe = () => {
|
|
1739
|
+
const t5 = 574, e2 = "m!@X", n2 = "#ooQ", r2 = 15;
|
|
1740
|
+
function o2(t6, e3, n3, o3, s2) {
|
|
1741
|
+
return je(n3 - r2, s2);
|
|
1742
|
+
}
|
|
1743
|
+
return ve()[o2(0, 0, 521, 0, "#ooQ")](o2(0, 0, t5, 0, e2)) || ve() === je(1155 - 659, n2);
|
|
1742
1744
|
};
|
|
1743
|
-
function
|
|
1744
|
-
return je(e2 - -
|
|
1745
|
+
function Ie(t5, e2, n2, r2, o2) {
|
|
1746
|
+
return je(e2 - -916, n2);
|
|
1747
|
+
}
|
|
1748
|
+
function Re(t5, e2, n2, r2, o2) {
|
|
1749
|
+
return je(r2 - -222, t5);
|
|
1745
1750
|
}
|
|
1746
|
-
const
|
|
1747
|
-
const
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
return je(e4 - -93, t7);
|
|
1761
|
-
}
|
|
1762
|
-
return h2[u2(l2, 0, 0, 1236)]("");
|
|
1763
|
-
})(t5, n2 - e2), Ae = (t5) => {
|
|
1764
|
-
const e2 = 1067, n2 = "@vf8", r2 = "N$k7", o2 = 1191, s2 = "HcaU", i2 = 67, a2 = 1055, l2 = "@tQk", c2 = "$KAs", h2 = 1182, u2 = "jFMT", d2 = "w]t*", g2 = 636, m2 = 1141, f2 = "*frx", p2 = 123, _2 = 311, S2 = 656, w2 = 711;
|
|
1765
|
-
let y2 = t5;
|
|
1766
|
-
const E2 = y2[y2[v2(1235, "ksI(", 1117)] - 1];
|
|
1751
|
+
const Ae = (t5, e2, n2 = 126) => ((t6, e3, n3 = 126) => {
|
|
1752
|
+
const r2 = 606, o2 = "ziDj", s2 = 541, i2 = 599, a2 = "RSr#", l2 = 598, c2 = 509, h2 = "IOD&", u2 = 388, d2 = "7yH*", g2 = 177;
|
|
1753
|
+
let m2 = t6[f2 = 579, p2 = "oOLc", je(f2 - -34, p2)]("");
|
|
1754
|
+
var f2, p2;
|
|
1755
|
+
for (let t7 = 0; t7 < m2[S2(644, r2, o2, 648)]; t7++) m2[t7][_2(s2, 605, 513, i2, a2)](0) <= n3 && (m2[t7] = String[_2(543, 601, l2, c2, "$&gR")]((m2[t7][_2(508, 581, 566, 505, h2)](0) + e3) % n3));
|
|
1756
|
+
function _2(t7, e4, n4, r3, o3) {
|
|
1757
|
+
return je(t7 - -65, o3);
|
|
1758
|
+
}
|
|
1759
|
+
function S2(t7, e4, n4, r3, o3) {
|
|
1760
|
+
return je(r3 - g2, n4);
|
|
1761
|
+
}
|
|
1762
|
+
return m2[_2(u2, 0, 0, 0, d2)]("");
|
|
1763
|
+
})(t5, n2 - e2), Me = (t5) => {
|
|
1764
|
+
const e2 = 106, n2 = 102, r2 = 869, o2 = "oOLc", s2 = "&kwF", i2 = "hzhK", a2 = 957, l2 = 136, c2 = 202, h2 = 126, u2 = "U&Qg", d2 = 1034, g2 = 155, m2 = 149, f2 = 110, p2 = 1040, _2 = "MGcS", S2 = 109, w2 = "MFi1", y2 = 256, E2 = 537;
|
|
1767
1765
|
function b2(t6, e3, n3, r3, o3) {
|
|
1768
|
-
return je(
|
|
1766
|
+
return je(n3 - 429, t6);
|
|
1769
1767
|
}
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1768
|
+
let C2 = t5;
|
|
1769
|
+
const v2 = C2[C2[M2(-6, 114, 78, -35, "zQcw")] - 1], x2 = v2[M2(124, -4, e2, n2, "Pzcf")](0) - 52;
|
|
1770
|
+
function I2(t6, e3, n3, r3, o3) {
|
|
1771
|
+
return je(n3 - E2, t6);
|
|
1772
|
+
}
|
|
1773
|
+
function R2(t6, e3, n3, r3, o3) {
|
|
1774
|
+
return je(r3 - y2, o3);
|
|
1773
1775
|
}
|
|
1774
|
-
function
|
|
1775
|
-
return je(
|
|
1776
|
+
function A2(t6, e3, n3, r3, o3) {
|
|
1777
|
+
return je(e3 - -449, t6);
|
|
1776
1778
|
}
|
|
1777
|
-
if (
|
|
1778
|
-
const e3 =
|
|
1779
|
+
if (C2 = C2[A2("MGcS", 128)](0, C2[A2("fl2i", -38)] - 1), C2 = C2[R2(0, 0, 0, r2, o2)]("")[R2(0, 0, 0, 827, s2)]()[b2(i2, 0, a2)](""), C2 = ((t6) => {
|
|
1780
|
+
const e3 = 229, n3 = 374, r3 = 461, o3 = "m!@X";
|
|
1781
|
+
function s3(t7, e4, n4, r4, o4) {
|
|
1782
|
+
return je(e4 - -208, o4);
|
|
1783
|
+
}
|
|
1779
1784
|
function i3(t7, e4, n4, r4, o4) {
|
|
1780
|
-
return je(n4 - -
|
|
1785
|
+
return je(n4 - -77, o4);
|
|
1781
1786
|
}
|
|
1782
|
-
return typeof window ===
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
return je(o3 - -533, t6);
|
|
1787
|
+
return typeof window === s3(0, 420, 0, 0, "RSr#") ? window[s3(0, e3, 0, 0, "]s^g")](t6) : Buffer[i3(0, 0, 389, 0, "56Ay")](t6, i3(0, 0, n3, 0, "oOLc"))[i3(0, 0, r3, 0, o3)](s3(0, 384, 0, 0, "Pzcf"));
|
|
1788
|
+
})(C2), C2 = C2[M2(l2, c2, h2, 26, "wsnS")](), C2[C2[R2(0, 0, 0, 730, "[#l2")] - 1] !== v2) throw new Error();
|
|
1789
|
+
function M2(t6, e3, n3, r3, o3) {
|
|
1790
|
+
return je(n3 - -381, o3);
|
|
1787
1791
|
}
|
|
1788
|
-
|
|
1792
|
+
C2 = C2[I2(u2, 0, d2)](0, C2[M2(g2, 51, m2, f2, "#ooQ")] - 1), C2 = Ae(C2, x2);
|
|
1789
1793
|
try {
|
|
1790
|
-
!
|
|
1791
|
-
const t6 = JSON[
|
|
1792
|
-
return t6.f && (e3[I2(
|
|
1794
|
+
!C2[b2("iuj7", 0, p2)]("{") && (C2 = "{" + C2);
|
|
1795
|
+
const t6 = JSON[R2(0, 0, 0, 803, "MFi1")](C2), e3 = { licensee: t6.l, domains: t6.d, nodeId: t6.n, expiry: t6.e, developerCount: t6.dc, cpuCount: t6.cc, type: t6.t };
|
|
1796
|
+
return t6.f && (e3[I2(_2, 0, 1163)] = t6.f), e3;
|
|
1793
1797
|
} catch (t6) {
|
|
1794
|
-
throw new Error(
|
|
1798
|
+
throw new Error(M2(0, 0, S2, 0, w2));
|
|
1795
1799
|
}
|
|
1796
|
-
},
|
|
1797
|
-
const o2 = "
|
|
1798
|
-
function
|
|
1799
|
-
return je(n3 -
|
|
1800
|
+
}, Te = (t5, e2, n2, r2) => {
|
|
1801
|
+
const o2 = 411, s2 = 534, i2 = "x**i", a2 = 56;
|
|
1802
|
+
function l2(t6, e3, n3, r3, o3) {
|
|
1803
|
+
return je(n3 - 20, t6);
|
|
1800
1804
|
}
|
|
1801
|
-
function
|
|
1802
|
-
return je(
|
|
1805
|
+
function c2(t6, e3, n3, r3, o3) {
|
|
1806
|
+
return je(n3 - -132, t6);
|
|
1803
1807
|
}
|
|
1804
|
-
return { licensee: () => t5[a2("H%qG", 539)], expiration: () => new Date(t5[a2("w]t*", 648)]), domains: () => t5[i2(0, 0, 14, "C$7D")] ?? [], developerCount: () => t5[i2(0, 0, -97, "s)#F")] ?? 1, cpuCount: () => t5[a2("@tQk", 612)] ?? 0, type: () => {
|
|
1805
|
-
return t5[e3 = "8Ws]", n3 = 520, je(n3 - 11, e3)] ?? je(510 - 91, "jFMT");
|
|
1806
|
-
var e3, n3;
|
|
1807
|
-
}, exceptions: () => e2, isValidFor: (t6) => {
|
|
1808
|
-
return !(e2?.[n3 = 205, r3 = o2, a2(r3, n3 - -458)] > 0);
|
|
1809
|
-
var n3, r3;
|
|
1810
|
-
}, isValid: () => true, isEval: () => false, features: () => Object[i2(0, 0, -2, "&8Wa")](t5[a2("SR)E", 497)] ?? {}), keyFrom: () => n2, getBuildVersion: _e[i2(0, 0, -115, "cS^j")], getBuildDate: _e[i2(0, 0, -94, "s)#F")] };
|
|
1811
|
-
}, Te = (t5) => {
|
|
1812
|
-
const e2 = "w]t*", n2 = "@tQk", r2 = 407, o2 = "[r#Z", s2 = "n%qQ", i2 = "[r#Z", a2 = "^X)m", l2 = 1094, c2 = 568;
|
|
1813
1808
|
function h2(t6, e3, n3, r3, o3) {
|
|
1814
|
-
return je(
|
|
1809
|
+
return je(n3 - -744, t6);
|
|
1815
1810
|
}
|
|
1816
|
-
|
|
1817
|
-
return
|
|
1811
|
+
return { licensee: () => t5[c2("[#l2", 0, 431)], expiration: () => new Date(t5[l2("kS21", 0, 481)]), domains: () => t5[c2("nNu1", 0, 283)] ?? [], developerCount: () => t5[l2("]s^g", 0, 576)] ?? 1, cpuCount: () => t5[h2("[Q&D", 0, -300)] ?? 0, type: () => t5[h2("En!u", 0, -140)] ?? h2("x**i", 0, -175), exceptions: () => e2, isValidFor: (t6) => {
|
|
1812
|
+
return !(e2?.[n3 = s2, r3 = i2, c2(r3, 0, n3 - a2)] > 0);
|
|
1813
|
+
var n3, r3;
|
|
1814
|
+
}, isValid: () => true, isEval: () => false, features: () => {
|
|
1815
|
+
return Object[e3 = -357, n3 = "Ve7f", je(e3 - -956, n3)](t5[c2("Uj9R", 0, 318)] ?? {});
|
|
1816
|
+
var e3, n3;
|
|
1817
|
+
}, keyFrom: () => n2, getBuildVersion: _e[h2("[Q&D", 0, -266)], getBuildDate: _e[c2("C5EQ", 0, o2)] };
|
|
1818
|
+
}, Ne = (t5) => {
|
|
1819
|
+
const e2 = 958, n2 = "zQcw", r2 = 990, o2 = "x**i", s2 = 390, i2 = "jIJP";
|
|
1820
|
+
function a2(t6, e3, n3, r3, o3) {
|
|
1821
|
+
return je(t6 - -226, o3);
|
|
1818
1822
|
}
|
|
1819
|
-
|
|
1820
|
-
|
|
1823
|
+
let l2 = bt[u2(1033, "@)jj", 946, 933, 1022)];
|
|
1824
|
+
function c2(t6, e3, n3, r3, o3) {
|
|
1825
|
+
return je(t6 - -910, o3);
|
|
1821
1826
|
}
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
return je(t6 - -37, e3);
|
|
1827
|
+
function h2(t6, e3, n3, r3, o3) {
|
|
1828
|
+
return je(e3 - -357, r3);
|
|
1825
1829
|
}
|
|
1826
|
-
if (
|
|
1827
|
-
const t6 = _e[u2(
|
|
1828
|
-
Math[
|
|
1829
|
-
} else
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
}
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
const t5 = ["W68saCkQCSkhzCo3WQC", "W73cK8kjomo5W4u", "WPtcQ8kBWOTmdW", "WRu2fJamW47cKq", "mGLYpmkKBSkfnfq", "sXiomSkcW64+cCohCSoCW7K", "xcSzWRFcGmoFarbZwq", "vWujo8kcW4i", "WPBcKCk9umo7W4O8W6lcMmoF", "f8kvW5FcGWe", "WP8QWPdcKSoTW6y", "smoGpSowB8oNE34IW6fcW7zHpmkAW4S", "wJKkW5VdSxBcNSo1pYHtW6hdQq", "zCoRpSosB8oHBZS+W41jW6zgla", "WQKPWQZcLmoNW7C", "W5u8W5HlimkTDWjTWQldQ8o0W7RdQ8oXW7VdLmodWQy", "zSoRpmo1DSoNCZOiW69sW7y", "zmkyBmkBitW", "WOTtF8khE8oeDrdcI8kRz3inW7S", "WRaOWOVcLCo3W5b4qmoXW5LD", "sdSDWOpcL8ooeWPpwmkfk8ot", "W5X9W5fmWOHk", "uHmPm8ksW48", "WQy2WO3cLmoX", "W7ZdKmobWQJdM8kA", "qCoSvWfwWO9KWP/dV34", "mg7dUCktwJxcQYFcIMhcKmkyCtuIW7pdQ0RcTG", "WRrJn27dOdG5W5L6W7e", "ACkpCmk4ktBcTG", "eHVcVGRdOCoPWPlcR8k/xmkHW5NdLa", "WO1yWPmjg0i", "WQhcO2e3W7XRjw4", "WPVcU8k6W4bNW4ngWOawh2jJW5q", "WP3cKCkNC8oQW5y", "W496WOZdHCkfauxdUvSQWPjGWRS", "W4C4W6fH", "W5/cN8oRsJPg", "W6K2WPXskSkR", "W55VWOpdMCkuaeldOKyS", "WPDEWOamafD8W4ZcSZ7cNSo+W7ZcGSoLWQlcN8oTW5DOW7LlW55McW", "cx9EW4BdNCkDurfBBCk7p8oc", "FJGmWP/cKmokfbbWrmomcCooWQ3dP8oEq8oN", "dSkhu8kzW6pdOMddKCoSW6S5j8ouW6hcPmo8uSk+WQC", "kN3dVmoBW4JdMxmuW5FcLHlcPSo1WQq", "CCkAzCkxlW", "vSkAW5bD", "W4S9W5zSA8oEWP4", "WOFdHCoFWPKaW7W", "W51PWO3dHSkjaha", "W4XXW4KPWOflgCkKW4KzW5K", "WRhdHSoJWP8kW63dKCobqmkQW6q1W5O", "vf3dGc3dMa", "fSkvW4lcUcFcVCksWQG", "W5BdJmkeqCoIha", "zmkpAmkklIVcVSoy", "W47cNmkeWPX3nsa", "W7Wna8kJDCkqyCkJWQZcSCkGWPBcNSoCbg3cOYKjuYddIG/cHSkIbSk8zdm", "W5BcGSoMsd5AW61BkCo2", "WO3cHCk6WRBdQKv9B8kQfG", "W5lcOaldMvLNjG", "zmo2k8osC8o6DJeIW70", "uWBdHmoOlYtdUW", "F1/dRvFcSmk5W4VcK8kT", "WPfhWOWnafHHW5hcPq", "WQ5uASkdECoEDhVcISk9", "W48Xa0NcQSk4xc/cPSkRkWfe", "bKJdMmkLwqtcKXa", "WPuRnJamW47cKCk7BMzzWO92mgHUEW4", "W7mkpCoqi8kDjhFcQSkuBueY", "vIddRSkMWPNcJI4YW5pcSxJcHmov", "WOldK8o/WPeqW7e", "WP02n8o6W5tcN8ov", "phNdJmkKyrNcIcFcMq", "WPlcNmkOzSoDW5e5W67cTCoy", "WP1nE8kpECoz", "BmksAmkfmfm", "WQGGocu", "l8kaW5hcPtZcUW", "WO7cR8kzWPLDiri", "WO52rba", "sXuuna", "BdRdRSkoimkpBxrRW5T5aq", "WOZcOCo2z8oFW6tcKSo2W61c", "FtBdQCkLiCog", "vaddQSk+oSksBK9W", "WORcNmk3WR3dV0neCSkTc8oMjt8", "mG9HoCkJFSkMiv/dTMGF", "WPWYpx/dRSoO", "dg1kWR3cQspdJG", "WQNcUt7dMq", "l8kVW5pcVJ3cU8kyWOr0", "W59+WPhdHmkmbxa", "xSobtmoVxmk+W5bObG", "WQ/cRIhdKvJdJ8kf", "zSoswConwSk+W5rvbW", "WQtcUuCKW7n0", "z8oswCoGxCoYWPyYta", "WPyLphu", "WP3dK8oLWROnW7RdSmokr8kUW4y8W5a", "hCopiCoLWPvT", "W6r1WPtdISkmgNhcQ14TWOvGWRhdImksA8obW4PYra", "rXBdG8oH", "WPDWCG7dU8oH", "vvJcL8opW4NdRx8", "WO40lCouW5lcMCoEWPK", "wWBdNSoUmIa", "WQHQW4eEFSo4jWLhWQ/cOCoTW6u", "wCkeqmoot8ozsSofWRRdMtTex1W", "W7pdKCoQWQldHCkA", "rSo/sZXnWPvV", "WOrde1NdTW8r", "WO/cMmk3WRBdQfbGzCkkcSo2jrj7", "W74LWPLl", "dmoEpSoPW5C", "W73cOH/dNv5G", "WR5nWO8hav4", "b8kdqmkiW7tdKhFcG8oOW6O", "WOddG8k8fhKyWRfrhSoTW6r7W5C", "W6SGW7zSA8oEWP47ymkRCJnlWQmKW5hdHmkYWPmcWODhW7hdISkXw3K", "yCkfDmkMofNcPW", "WRfiA8kvy8oFEf7cIa", "WRFcJCkRWRRdTeu", "o2lcRSo+W4/dJLiFW5dcKLVcGCoJ", "WPFdOL3cHarBiJ7cTmkVWPS", "W6NcUGK+WOtcKfO", "W4f+WOZdJmkugW", "W5aZph3dQCkGW79Gwe/dMx1OW7ioWQ4", "ahFcQmo2W4JdLMuQW5BcMLZcMCo1WRK", "vXdcHmkGwIxcHI3cHq", "W6SYWOPula", "WO3cK8kV", "BZRdRSkTpmkkCKbDW5nJemk0CG", "BJhdVSk/aSkpDxG", "y8ktsmkwk1O", "CSkFESkw", "WPmeW4TvB8oGWPm", "W7C8WP8", "vHddK8oGlW", "W4z2W5nMWOfAcq", "W4T9W5fMWOrFhSkrW54yW4qWW7RdMW", "xHGxnCkeW5m", "W51PWOVdHCku", "WQ5JW4GxFCkbCYP7WR/cGa", "W4fLzdBcQSkUWQeHhq", "W57cR8kOWQpdLwnq", "W6JcUXijWOZcJa", "W6/cTaOXWOJcJhLDmLj/qra", "WQfsz8kaFSokqKtcGmk2BW", "WP4OW4jeWRHelSk7", "s8keF8kFnZdcV8klmLhdJY/cOqRcHWm/B3ZcTG", "ws8dWP3cGmozmaT2rmkyimod", "W6G2WOXRimkTDWjTWQlcGmoHW7e", "WP0PWPyYW5ufxmkPW6G2W70+W7O", "f1/dJmkZ", "CSkAWPLyW43dLq", "WQW/WOZcNmo3W7O", "C8o7rt1rWOD+WOldTxtdJW4NEGm", "WR/cM8oPCmoXW5m8W6lcMSoFrY3cOCoADCkewSoWAGK", "W7SzW6lcNt7dJCoe", "W5NcOSklWRTpsqaPtG", "vqldNSoNiZRdMe/dMCoocgRcUW", "WQ8NixhdTmo0W5nUqGhdKw4", "WQeUWO3cMq", "WQzAWOGn", "W6WoW7NcTdldISoaW6hdQCow", "u8kxW5nwW4VdMa", "zCkpFCk8lJdcT8opcf3dNJNcPHBcJa", "whTMWQtcRY/dVW", "WP7cVmkqWOLcaG", "mmkagCk1aCoQWOrBjGhcKbGW", "cHPNeSk4y8kijhxdUxKi", "zCoswCoIxmk2W4jmetJcMt4ddW", "W5uCemkVACkA", "zv/dRvFdUCkrW4pcHmkTCmkyW5xcSv1VWRe", "b2fDWOZcRJ3dJSomecu", "WOH7jhxdJsmFW51vW6SgzG", "WOOHlmovW4JcHCoCWONdKmkLWPFcVa", "l0DummkeW67cHmoLEghdOCkDW6fim8oCW6pdJq", "WQZdImoqj8obWQ0hkfy", "WQ8WiIiuW5xcNmo1Ba", "cLxdQSk3yGtcGW", "l0Dlk8kvW6BcHSoN", "WRbUiL7dLJ4XW5HTW6arz0PyiG", "baXDp8kPBW", "teddII3dGmkUW4e3", "W6ueW6NcLr7dMG", "mSkCwCksW7NdK2tcN8oNW7y7", "W4GHW6LJ", "WQvyFCkICSozCfNcG8k3", "WOJcP8oMDSoFW7BcMSoy", "ggbBWOZcTdBdHW", "e1RdLhBcTSk8W74", "umkqW5DuW5ZdHa", "W47cTWpdK0r8", "WQ8XismuW5tcOSoYF3y", "sZSEWPS", "zd4FWPRcI8oFjbXRs8kfkCou", "WPyLphxdMCoOW7b9BWddKhK", "crPNmCkKzSkx", "WRhdHSoJWP8kW63dL8ofwSkLW6GR", "W6pdPmo4WPm6WPixW5iWaNrcW4HQCfVdNIVdOSoz", "BCosq8oKqCkY", "WQ7cVZBdHL7dJ8k3rxb3", "b2DDWOJcRcBdHmo0aq", "W5hcPGZdHKrNfbhcPCk/", "W6RcVCkjWRjixGqwtH4", "WRSGnbOfW54", "vYSdWPtcKCod", "f2BcVCoLW5xdIuetW5dcMW", "W5e6W6f/C8oeWQ1YwmkQ", "sdOmWOFcKmoy", "W5mmaCk0wmkmymoMWOpcQG", "W6JcJmkbp8oHWQedcxrAWONcGq", "xCkAE8kxns3cN8ookLNdHsBcVa", "W4ddHSo9jCkUWOTVW7JcOCozma3cMG", "caDWnCk9FSknl1/dQW", "W4PGW5vUWP9k", "WQ9JWRDQkmkAqZq", "WRNcRIpdLupdKmkt", "vCoIsIjlWOPVWRZdS27cHY8MrrvJW6dcISow", "WPiQydqyW5FcNmoPAMPaWOLQ", "vK7dHtNdKCkbW5G", "r0RdNq7dGCkUW4i9WP7dQshcTq", "dg1kWQVcTsFdH8oJiZLuW5BdSSkNDa", "W5/cHSo2WRuXW67dLSoE", "ACo7rt1nWOjRWP/dVW", "WPXIwrBdV8o/pI7cMSkWcdDR", "WP40nmo+W4K", "W77cM8kjjCoGWPCddG", "W7SEW77cMa", "eNpcSmoIW4tdVga", "WQhcK8oaWORdNSkRzmkL", "W5qbfmkNCSkpD8otWRdcT8k6W4lcJCoz", "crb+mCkKzmkx", "a3FcQmovW5tdK3OEW7lcLKdcNSo5WRldLG", "WRnUiN3dIJSUW6XjW6Wnyezt", "WOJcU8kgWOq", "dmogn8oLW5CHW5DlrIz4W5/dJaxdIGRcRCk7DG", "W4mudmkVBW"];
|
|
1839
|
-
return (Oe = function() {
|
|
1830
|
+
if (xe() || bt[h2(0, 187, 0, "[&Tq")]()) {
|
|
1831
|
+
const t6 = _e[u2(923, "5%1V", 966, 904, e2)](), r3 = new Date(t6), o3 = /* @__PURE__ */ new Date(), s3 = 864e5;
|
|
1832
|
+
Math[c2(-329, 0, 0, 0, "5aIw")]((o3[a2(230, 0, 0, 0, "kS21")]() - r3[h2(0, 275, 0, "m!@X")]()) / s3) >= 120 && (l2 = [a2(316, 0, 0, 0, n2)]);
|
|
1833
|
+
} else l2 = [u2(1033, "kS21", 1028, 1043, r2)];
|
|
1834
|
+
function u2(t6, e3, n3, r3, o3) {
|
|
1835
|
+
return je(o3 - 485, e3);
|
|
1836
|
+
}
|
|
1837
|
+
return { licensee: () => a2(399, 0, 0, 0, "Pzcf"), expiration: () => null, domains: () => [ve()], developerCount: () => 1, cpuCount: () => 0, type: () => c2(-319, 0, 0, 0, "x**i"), isEval: () => true, exceptions: () => l2, isValidFor: () => 0 === l2[a2(248, 0, 0, 0, "[#l2")], isValid: () => false, features: () => Object[u2(0, "x**i", 0, 0, 1092)]({}), keyFrom: () => t5, getBuildVersion: _e[c2(-456, 0, 0, 0, o2)], getBuildDate: _e[a2(s2, 0, 0, 0, i2)] };
|
|
1838
|
+
}, ke = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
|
|
1839
|
+
function Fe() {
|
|
1840
|
+
const t5 = ["WPy7WQ7cLbjrW7e", "ztW7Amk/E8ojWQRdHsK", "c8oNCSo7WRG", "WO7dPXmUia", "WQqTbhq", "W54sEsVcMG", "dSo+BCo7WRHE", "pKFcNeVdSqC", "W5KeBIhcM8kMWPjJDW", "zSoDidFdUSoqbmkwW4/dI1zdla", "WOHui3xdHCk4W5GGh8kIgSou", "amohW4RcMmofgSk4WQxdRXmqW6L0lG", "zJy9Amk1AG", "WRvQtmkQWOJdLLVdOYBdRmkvW4G", "WPZcQG/dQYpdVCo1W7FdTG/cUebXW6e", "WPXrW4r6ASkSlSoYW6/cQq", "W73cV8oDpSo4WRhcRCoPDSooWQpdICoP", "W4Cfrmoy", "WO0NlCklWQtdVG", "WPHCW5fmtmk3k8o+W4lcRG", "WQCPah1DW5q", "DSkqW4lcOHxcTConCx8Cjmkf", "sLOswmoaACk7W47dNWyyWOS", "WQ0+c39tW5K", "fmolW5pcQ0ZdVN4KWO/dKG", "WQ9KeXX8W6fGWOtcJZvEjmoV", "W4PwW7pcMvS", "W695emkaW4Lh", "BCopadBdU8oh", "y8ozoHVdQSolomkaW6ldHfzd", "rSoZW5fcWQdcH8o1", "W7u0wMm5WRG9", "EmkBWOxdImkDqCkiW43dRbGWW7S", "W6b1eSojW5fxaCoehSkTbG", "WQCSnSkJzbpdJSoAW4JdGCkAiG", "oSk8W5eSi8kgWPOuzKy", "WO7cRHFdVY/dL8oW", "W5G9W754qZpcGK9oBCkCldvHiCoaWQeSCG", "W7OxEY7cHSoVW4eKn8kQD8oSW7BcJw1YW53dJG", "W7NcPKHThwZcIwW", "WP4+mCkxWRpdGtO", "WPrwW5PBBmkS", "WRhdGsi2BmoCWOS7W5TtWOFdVCkYhW", "bSoEsfXtlW", "nCoTW5ZcMSoFWObJWPxcPxK", "W4xcQSoBa8o/WQJcJa", "tSkGw8kTaIVcTmkk", "uSoJW5zl", "WORdPXuIjsFcHG", "b8ohWQP/D1hcOCkk", "tSoZW4TeWR3cGW", "EmkCWOZdGmkErCoSW6ddMsKsW7L7", "W7SPqea7WQm5WO7cSXm", "omoGWOXBv2dcGG", "aCofW6mcbJvY", "W4WWW69FqIlcGNr0yCknoJj9kG", "CdeRzq", "ySomqCkRBgHF", "WPBcOb/dRWpdTq", "W7SPu0W5WQ4", "fmoAW4BcLvhdRKWJWOJdN8onErK", "W5bDgNeKWRXlW5fBW57cRc3cPSkQW6lcRaBdSCkRW7S", "W5XSdmkoW5nBmCoed8kKha5r", "W6Phdwq9WQy", "B8kfW64aD8o8bq", "WOKPWPtcGbT+W6m", "W6zqW77cNeyCW5ldNhu", "W78vv8oyWQdcRvv2W7SjFJpcHSk1FrhdLmornCkoW73dK8ovEbbhySoTW64", "w2HZW7bdF8k+W49op8o7nCoVb2G6Eu8", "pmkklSo9nJDwwHT9cs4", "c8oAW5ZcVKZdPq", "o8omW5JcJmokfG", "FCoMW5DkWQFcN8oejXjUW4hdVa", "jComW5lcNSoDgW", "mKhcLKJcKsbtW7uRyZlcJa", "ESkRWQuUW7FdHuxcLSkmiCkeW6tcRxm", "fmoOW5up", "WOJcVrtdPYpdOSoJ", "W61kzSkMWPlcTbC", "W6bwxCkMWPFcSWa", "oSoDW53cI8oDamklW6ZdVXq", "BmoAy8keB2vEFJG", "q2jrW7HuDG", "WRf/tCkRWPldILNdSW", "vSk9qCk3ga", "WO1zkhddI8ohW7Wae8kUpq", "WOddH8kQAWBdNcLlWQm", "W4dcRSoboCoZWRFcUCo+A8obWR7dGmo+", "f8obgLLuomkrWR3cT8olWQlcO3zSzd1xzSkB", "jfBcNLlcKbztW7i", "W5ThW6ZcLrLm", "WQCIp8kJe2ZdNCo/W5NdRa", "eKO3W7C", "WQy+evPsW5GswZtcGCkKiafKoG", "Bc07AmkHFmofWO7dJIm", "WRldGsidBmoDWP0", "cCkLW4aGi8kbWRS6D14+y08", "W6mVgaJcHCofW4NdOY1v", "WOW/WQZcHGn/", "W6WJrmopWQhcQL8jW4O", "WRddNcy+D8oj", "g8oAWQbWD3ZcQ8kqWOWQW5hdMa", "FK8zD8oCCSku", "W6mHgGe", "b8oajJOswCoA", "W7GJteG", "W7BcSgXVcxi", "BmoAECkVCMbpuHj0id/cU1i", "W6nJWPRcV0CV", "WQ41W6lcIHjU", "BxVdGSo9k8oe", "hSobbZGFtW", "sgjlW51vD8k+W45op8o7nq", "kCoMw8o4htG", "imoAW7lcLSonfG", "W6q2fqpcKmodW7ddVIPiWQVcGYu", "WRSOW6/dVX91u8kQrwZdGmo9", "WRvQtmkQWOJdLLVdOZtdQmktW54JWPqe", "emoxprmExSoEW6H5WRu", "W7JcPKD8gN/cMhPiW48KFmolWQm", "W6bZemkuW5jdemo2eSkXhsXnuSoKosfZwW", "z8oAECkTDgK", "uSk9qCk0", "oSoAW7Wkas8", "imoTqW", "nSo4pSoEWQuDsGBdPSkeDrxdV8o8", "W5WjEZdcSmoHW5eOgCkW", "oSoAW7Wkas9dW6vWW4ZdSvy", "W60LqLC/WQqhWOJcQqG", "iSogWR9/B1hcQSoeWOeQW57dJM4stvtdTNqQW7y", "lSomW4JcTSo6", "W4G7mSkhWQxcPYlcIInPcqddPMhcNCkb", "W4ioidpdUh7cT8kMWPlcJ3e", "kSoSW4GeW5/cSq", "WRvQtmkSWPJdI1BdRG7dVG", "zGBdRHpcOev1WOCH", "BmkcW6mEASo9cCoLW6S", "W6/cTLPX", "W5KHgGhcNmovW4hdUcy", "ESkAW6aeCSkV", "W7JcPL1BhxFcGhTcW4e0Fa", "W7XqW77cNa80W5RdI3uBrCkgWONcUhddNa", "W6WkvCorWQFcULeIW7a", "FeqwumocDmkD", "WPddKJC7CmorWOWcW4zuW4NdPSk5fYm", "mLRcVu7dHWiXW4e", "lCoCu1G", "jehcMKpcNWe", "f8opW70maY1K", "emoYW54EW6BcRmo+oa", "b8onWQD5D1a", "W6zMACo4nfBdRW", "D8khW5NcHdpcPa", "bmoAldipuSot", "FCoMW5DkWQFcNW", "W4G6W7v7xIZcVwrnDSkA", "gSoZr8o2bYq", "W7b5cSkSW5Hw", "WRDNsr/cK8oLW6hdJHe", "WRujaSk1WPJcItjwja", "W51dW6VcKuyuW4a", "W5hcRaL9b3pcJxzOW5nGASoYWQlcLxtdHZiGW5i", "pSoiW4/cQCoBgSkYW7hdRHG", "W4tcLSkAdmoDhCocW63cMY7cVW", "f8o9W5qdW5tcT8oAiNiodCkbAa", "WQFcUrRdPIpdTCoNW5pdOq", "hmoYASoZWQusxdJdP8kioYRdV8oH", "F0ujxW", "xmklW47cQJJcRSoji1KlmmkjWOC3sK7dImosoG", "o1hcT1RdPam", "W73cOKD3dwZcVg1VW440FmoM", "E8ksW7umD8oJe8oBW77dSmomWQqyWOO", "WRiUr8owWOKDiCoPhmkHobe", "W5uouCoyWRtcUW", "W64Kue0", "BSohDmkVChvswdjO", "WR3cOGVdVJpdKmo0W5xdPr8", "W5BcOmo8i8oKWQZcH8oR", "W5vpW7ZcLuelW5BdO3um", "W5ThW7hcNKOkW6pdMNKBqSkgW40", "nSo3vmoThspcIJu4W7u", "WQuSWQpcJqj2W7n/ECkoW5BdLSkwFCosWPZdQ8o+cYVcLSk2Cg1y", "lSomW4JcU8oCgSkWW6hdJX0jW60", "W6PVmmkiW5Lk", "oSozW5dcKmoD", "W7P7yq", "g8ojWRTTzG", "W4zfdxWHWRfoWOvs", "W5JcJCkqb8ohlmogW4JcKdi", "tCk1WPpdJCo9WQbqW7hcMuVdICoeoY0MW5tdL8oX", "W40WW7PPqJNcI2m", "W48tDs/cMSo9W5a", "sweusSoGWOzuvZhdOeC", "ymkxW57cPW", "WQBdKsyND8ovWOSyW7LiWOddP8kJ", "eCo5W4WiW53cQSo6nwKJfSkrySoM", "W4BcQSoBnSo/WQNcMG", "aSopW7ONcI9GW61YW5e", "W47cOmomnSo6WQ3cHSo/DG", "cCkkW4i7iSkbWPaaxa", "W7PXAmoYku0", "W4PYcmkgW5fgeCkbf8kSfGDmCSoUBdH1r8oW", "kCoQvSo6bYpcUdK", "W5bDgNeKWRXlW5fzW5JcQY3cGCk9WR3cRa", "W6arAcVcNCo6", "nCoXxmoXhrlcVdiIW7JdQa", "WR1tBMVcOxtcPCokWQtcVMH9vmkpW4RcPCkwC0KSpJ1mW4ehmmkJ", "W5ysqSoRWQ/cRa", "WOi0chvsW58xsXS", "wCkqW7SSo3hcH8kPWQyPW5C", "WQ3dLmk9yH3dIY0", "uCoIW4rrWR3cMmorlWHO", "fmoAkcu4rCoBW6ruWRi", "zYeSt8k6zSomWQhdVt9ukCkkWOyI", "nmoyWRT3BuZcISkbWPKIW5tdH3m", "mCoMtCoR", "W6ZcTKTQhgZcHxfH", "W4vCq8oqcx3dHSoKW4ZdR8kTiZpdLtvwnmk/vG", "uCoZW5fVWQdcImoJka9LW6/dQ8o7", "W7RcI8otb8orl8okW7hcLd/cPglcNW", "hSo7CCo9WR4", "WP7dSa4UjtJcKb81smkvnKGx", "WQTIAhJcOMNcRSk1WRC", "nCo2rSo3", "CZa5F8k7Fmo3WQZdNZi", "W7zrbNuRWQe"];
|
|
1841
|
+
return (Fe = function() {
|
|
1840
1842
|
return t5;
|
|
1841
1843
|
})();
|
|
1842
1844
|
}
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
+
let Oe = false, De = false;
|
|
1846
|
+
function Le(t5, e2, n2, r2, o2) {
|
|
1847
|
+
return je(n2 - 365, o2);
|
|
1845
1848
|
}
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
return je(r2 - 240, t5);
|
|
1849
|
-
}
|
|
1850
|
-
const Pe = De(0, "sl%g", 580)[Fe(0, 579, "@vf8")]("")[Fe(0, 617, "#WOr")]((t5, e2) => e2 + t5, "");
|
|
1851
|
-
class ze {
|
|
1849
|
+
const Be = Re("[&Tq", 0, 0, 398)[Re("5aIw", 0, 0, 367)]("")[Re("C5EQ", 0, 0, 210)]((t5, e2) => e2 + t5, "");
|
|
1850
|
+
class Pe {
|
|
1852
1851
|
constructor() {
|
|
1853
|
-
const t5 =
|
|
1854
|
-
var
|
|
1855
|
-
this[
|
|
1852
|
+
const t5 = 539, e2 = 705;
|
|
1853
|
+
var n2, r2, o2, s2, i2, a2;
|
|
1854
|
+
this[i2 = "En!u", a2 = 657, Re(i2, 0, 0, a2 - 419)][n2 = t5, r2 = "zQcw", o2 = 601, s2 = e2, We(n2 - 250, r2 - 4, o2 - 658, s2 - 474, r2)] = null;
|
|
1856
1855
|
}
|
|
1857
|
-
async [
|
|
1858
|
-
const n2 =
|
|
1859
|
-
if (!t5 || t5[
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1856
|
+
async [Re("iuj7", 0, 0, 199)](t5, e2 = false) {
|
|
1857
|
+
const n2 = 546, r2 = "5aIw", o2 = 734, s2 = "[#l2", i2 = "U&Qg", a2 = 1475, l2 = 1497, c2 = "Ve7f", h2 = 1419, u2 = 1163, d2 = "C5EQ", g2 = 1311, m2 = 1276, f2 = "&kwF", p2 = "7j#l", _2 = 467, S2 = 567, w2 = 532, y2 = 1420, E2 = "#ooQ", b2 = "gJ4r", C2 = "hzhK", v2 = "fl2i", x2 = 1386, I2 = "En!u", R2 = 1484, A2 = "zQcw", M2 = "[&Tq", T2 = 1543, N2 = 1499, k2 = 1346, F2 = 1251, O2 = "^vL)", D2 = 464, L2 = 1203;
|
|
1858
|
+
if (!t5 || t5[j2("56Ay", -344, -441, -390)](H2(n2, 519, r2, o2, 626)) || t5[j2(s2, -292, -225, -191)](z2(-323, -234, -211, -346, i2)) || t5[B2(a2, l2, c2, 1566)](P2(1444, 1465, h2, "qjuK")) || t5[P2(1178, u2, 1270, d2)](z2(-359, -427, -457, -357, "eQn("))) return Oe = true, await this[P2(1165, g2, m2, f2)](true);
|
|
1859
|
+
function B2(t6, e3, n3, r3, o3) {
|
|
1860
|
+
return Re(n3, 0, 0, r3 - L2);
|
|
1861
|
+
}
|
|
1862
|
+
function P2(t6, e3, n3, r3, o3) {
|
|
1863
|
+
return Le(0, 0, n3 - D2, 0, r3);
|
|
1864
|
+
}
|
|
1865
|
+
if (Oe = false, !e2 && ke[B2(0, 0, p2, 1603)]) {
|
|
1866
|
+
const t6 = await this[H2(612, _2, "eQn(", S2, w2)]();
|
|
1867
|
+
if (t6[B2(0, 0, "3J4O", y2)]() && !t6[z2(-229, -144, -180, -173, E2)]()) return t6;
|
|
1863
1868
|
}
|
|
1864
1869
|
function z2(t6, e3, n3, r3, o3) {
|
|
1865
|
-
return
|
|
1870
|
+
return Ie(0, t6 - 93, o3);
|
|
1866
1871
|
}
|
|
1867
|
-
function
|
|
1868
|
-
return
|
|
1872
|
+
function j2(t6, e3, n3, r3, o3) {
|
|
1873
|
+
return Le(0, 0, e3 - -1198, 0, t6);
|
|
1869
1874
|
}
|
|
1870
|
-
|
|
1871
|
-
const
|
|
1875
|
+
ke[j2(b2, -284, -224, -179)] = t5, ke[B2(0, 0, C2, 1444)] = z2(-244, 0, 0, 0, v2), ke[P2(0, 0, x2, "m!@X")] = null, ke[B2(0, 0, "qjuK", 1390)] = null;
|
|
1876
|
+
const W2 = await this[B2(0, 0, I2, R2)]();
|
|
1877
|
+
if (!W2[z2(-397, 0, 0, 0, A2)]()) throw await this[j2("nNu1", -349)](true), new Error(B2(0, 0, M2, T2));
|
|
1872
1878
|
function H2(t6, e3, n3, r3, o3) {
|
|
1873
|
-
return
|
|
1879
|
+
return Ie(0, o3 - 949, n3);
|
|
1874
1880
|
}
|
|
1875
|
-
if (
|
|
1876
|
-
|
|
1877
|
-
|
|
1881
|
+
if (bt[z2(-208, 0, 0, 0, "jIJP")]()) {
|
|
1882
|
+
await be[B2(0, 0, "[&Tq", N2)](t5, e2);
|
|
1883
|
+
if (!(await this[z2(-275, 0, 0, 0, "^vL)")]())[j2("Rq[X", -415)]()) throw await this[P2(0, 0, k2, s2)](true), new Error(P2(0, 0, F2, O2));
|
|
1878
1884
|
}
|
|
1879
|
-
|
|
1880
|
-
await be[$2(0, D2, 0, 0, "sl%g")](t5, e2);
|
|
1881
|
-
if (!(await this[z2(L2, 0, 0, 0, "n%qQ")]())[$2(0, B2, 0, 0, "8Ws]")]()) throw await this[H2("p#^*", 0, 0, 0, -57)](true), new Error(z2(696, 0, 0, 0, "gGav"));
|
|
1882
|
-
}
|
|
1883
|
-
return j2;
|
|
1885
|
+
return W2;
|
|
1884
1886
|
}
|
|
1885
|
-
async [
|
|
1886
|
-
const e2 =
|
|
1887
|
-
if (
|
|
1888
|
-
if (!this[
|
|
1889
|
-
let
|
|
1890
|
-
|
|
1891
|
-
|
|
1887
|
+
async [We(-282, -165, -217, -252, "oOLc")](t5 = false) {
|
|
1888
|
+
const e2 = 492, n2 = 543, r2 = 631, o2 = 1572, s2 = 1469, i2 = "mknK", a2 = 1442, l2 = 827, c2 = 1457, h2 = 1473, u2 = 1383, d2 = 1433, g2 = 765, m2 = "Pzcf", f2 = "Ve7f", p2 = 1097, _2 = 1137, S2 = "oOLc", w2 = 648, y2 = 808, E2 = "jIJP", b2 = 1253, C2 = "[#l2", v2 = 1569, x2 = "MFi1", I2 = 565, R2 = 732, A2 = 612, M2 = 738, T2 = 770, N2 = 775, k2 = 774, F2 = "$&gR", O2 = 1195, D2 = 1311, L2 = 1243, B2 = 1198, P2 = 542, z2 = "^vL)", j2 = 782, W2 = "[#l2", H2 = 656, V2 = 663, $2 = 1184, G2 = 1030, U2 = 1116, J2 = 629, q2 = 638, K2 = "MFi1", X2 = 1431, Y2 = 778, Q2 = 684, Z2 = 837, tt2 = 751, et2 = 823, nt2 = "fl2i", rt2 = "oOLc", ot2 = 1327, st2 = 1205, it2 = 1222, at2 = "kS21", lt2 = 1332, ct2 = 1311, ht2 = 728, ut2 = 654, dt2 = "Rq[X", gt2 = 683, mt2 = 623, ft2 = 1505, pt2 = 1575, _t2 = 1209, St2 = 27, wt2 = 417, yt2 = "5%1V", Et2 = 410, Ct2 = 282, vt2 = 1326, xt2 = 95, It2 = 1589, Rt2 = 305;
|
|
1889
|
+
if (ke[Ot2(614, 511, 556, 657, "@)jj")]) return ke[Ot2(535, e2, n2, r2, "U&Qg")];
|
|
1890
|
+
if (!this[Mt2(1622, 1528, 1531, "W15C")][Mt2(1510, o2, s2, i2)] && (this[Mt2(a2, 1505, 1505, "7j#l")][Bt2(793, l2, "@)jj", 853, 774)] = new Error("FV")), ke[Mt2(1428, c2, h2, "@UJ0")]) return ke[Mt2(u2, 1410, d2, "IOD&")];
|
|
1891
|
+
let At2 = null;
|
|
1892
|
+
function Mt2(t6, e3, n3, r3, o3) {
|
|
1893
|
+
return We(t6 - 211, e3 - 318, e3 - It2, r3 - Rt2, r3);
|
|
1894
|
+
}
|
|
1895
|
+
ke[Ot2(750, g2, 670, 611, m2)] = new Promise((t6) => {
|
|
1896
|
+
At2 = t6;
|
|
1892
1897
|
});
|
|
1893
|
-
let
|
|
1894
|
-
|
|
1895
|
-
|
|
1898
|
+
let Tt2, Nt2 = null;
|
|
1899
|
+
function kt2(t6, e3, n3, r3, o3) {
|
|
1900
|
+
return We(t6 - Et2, e3 - Ct2, o3 - vt2, r3 - xt2, t6);
|
|
1901
|
+
}
|
|
1902
|
+
const Ft2 = async (t6, e3) => {
|
|
1903
|
+
const n3 = 469, r3 = 480;
|
|
1904
|
+
function o3(t7, e4, o4, s3, i3) {
|
|
1905
|
+
return kt2(s3, e4 - n3, 0, s3 - r3, t7 - -1456);
|
|
1906
|
+
}
|
|
1896
1907
|
try {
|
|
1897
|
-
const
|
|
1898
|
-
const e4 = "
|
|
1899
|
-
function
|
|
1900
|
-
return je(
|
|
1908
|
+
const n4 = Me(e3), r4 = await (async (t7) => {
|
|
1909
|
+
const e4 = "mknK", n5 = 284, r5 = 1251, o4 = 281, s4 = 1489, i3 = "gJ4r", a3 = 1414, l3 = 1509, c3 = "$&gR", h3 = "C5EQ", u3 = 1239, d3 = 418, g3 = "$&gR", m3 = "En!u", f3 = 1192, p3 = "Rq[X", _3 = "fl2i", S3 = "^vL)", w3 = "mknK", y3 = 274, E3 = "[&Tq", b3 = "MGcS", C3 = 182, v3 = 374, x3 = "]s^g", I3 = "56Ay", R3 = 764;
|
|
1910
|
+
function A3(t8, e5, n6, r6, o5) {
|
|
1911
|
+
return je(e5 - -340, n6);
|
|
1901
1912
|
}
|
|
1902
|
-
const
|
|
1903
|
-
function
|
|
1904
|
-
return je(
|
|
1913
|
+
const M3 = t7[N3(-59, "3J4O", -15, -19, -57)];
|
|
1914
|
+
function T3(t8, e5, n6, r6, o5) {
|
|
1915
|
+
return je(e5 - -136, n6);
|
|
1905
1916
|
}
|
|
1906
|
-
function
|
|
1907
|
-
return je(o5 - -
|
|
1917
|
+
function N3(t8, e5, n6, r6, o5) {
|
|
1918
|
+
return je(o5 - -497, e5);
|
|
1908
1919
|
}
|
|
1909
|
-
|
|
1910
|
-
|
|
1920
|
+
const k3 = t7[N3(0, e4, 0, 0, 108)] ? new Date(t7[T3(0, n5, "56Ay")]) : null, F3 = t7[L3(1412, "@)jj", 1409, r5, 1348)], O3 = [];
|
|
1921
|
+
function D3(t8, e5, n6, r6, o5) {
|
|
1922
|
+
return je(o5 - R3, t8);
|
|
1911
1923
|
}
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
t8 !== z3 && W3[O3(0, 0, 487, 0, S3)](O3(0, 0, w3, 0, y3) + z3 + L3(0, 0, E3, b3) + t8);
|
|
1924
|
+
if (k3 ? isNaN(k3) ? O3[T3(0, 448, "[#l2")](T3(0, 414, "b3o5")) : k3 < /* @__PURE__ */ new Date() && O3[D3(c3, 0, 0, 0, 1318)](D3("$&gR", 0, 0, 0, 1293) + k3[A3(0, 89, "5%1V")]()) : O3[T3(0, o4, "Ve7f")](L3(s4, i3, a3, 1407, l3)), bt[D3(h3, 0, 0, 0, u3)]()) {
|
|
1925
|
+
if (!F3) return O3[T3(0, d3, g3)](D3(m3, 0, 0, 0, f3)), O3;
|
|
1926
|
+
const t8 = await be[A3(0, 128, p3)]();
|
|
1927
|
+
t8 !== F3 && O3[D3(_3, 0, 0, 0, 1172)](N3(0, S3, 0, 0, 67) + F3 + N3(0, w3, 0, 0, -5) + t8);
|
|
1917
1928
|
} else {
|
|
1918
|
-
if (
|
|
1919
|
-
if (
|
|
1929
|
+
if (xe()) return O3;
|
|
1930
|
+
if (M3 && 0 !== M3[A3(0, y3, E3)]) {
|
|
1920
1931
|
let t8 = false;
|
|
1921
1932
|
const e5 = ve();
|
|
1922
|
-
for (let
|
|
1923
|
-
!t8 &&
|
|
1924
|
-
} else
|
|
1933
|
+
for (let n6 = 0; !t8 && n6 < M3[N3(0, p3, 0, 0, -15)]; n6++) t8 = e5[T3(0, v3, x3)](M3[n6]);
|
|
1934
|
+
!t8 && O3[N3(0, I3, 0, 0, 38)](N3(0, "C5EQ", 0, 0, 101));
|
|
1935
|
+
} else O3[A3(0, 158, b3)](A3(0, C3, b3));
|
|
1925
1936
|
}
|
|
1926
|
-
function
|
|
1927
|
-
return je(
|
|
1937
|
+
function L3(t8, e5, n6, r6, o5) {
|
|
1938
|
+
return je(o5 - 929, e5);
|
|
1928
1939
|
}
|
|
1929
|
-
return
|
|
1930
|
-
})(
|
|
1931
|
-
return
|
|
1940
|
+
return O3;
|
|
1941
|
+
})(n4), s3 = Te(n4, r4, t6);
|
|
1942
|
+
return s3[o3(-186, -196, 0, "Ve7f")]()[o3(-331, -wt2, 0, yt2)] > 0 && (Tt2 = s3), s3;
|
|
1932
1943
|
} catch (e4) {
|
|
1933
|
-
|
|
1934
|
-
const e5 = "
|
|
1935
|
-
function
|
|
1936
|
-
return je(n5 -
|
|
1944
|
+
Tt2 = ((t7) => {
|
|
1945
|
+
const e5 = "MGcS", n4 = 1243, r4 = "W15C", o4 = 724;
|
|
1946
|
+
function s3(t8, e6, n5, r5, s4) {
|
|
1947
|
+
return je(n5 - o4, r5);
|
|
1937
1948
|
}
|
|
1938
|
-
|
|
1939
|
-
return
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
var e6, r5;
|
|
1944
|
-
}, isValidFor: (t8) => false, isValid: () => false, isEval: () => false, features: () => Object[o4("we&T", 0, -467)]({}), keyFrom: () => t7, getBuildVersion: _e[s4(0, "*frx", 0, 1476)], getBuildDate: _e[o4(e5, 0, -652)] };
|
|
1949
|
+
return { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => s3(0, 0, 1228, "hzhK"), exceptions: () => {
|
|
1950
|
+
return [(e6 = n4, o5 = r4, s3(0, 0, e6 - -48, o5) + t7 + "'")];
|
|
1951
|
+
var e6, o5;
|
|
1952
|
+
}, isValidFor: (t8) => false, isValid: () => false, isEval: () => false, features: () => Object[s3(0, 0, 1258, "En!u")]({}), keyFrom: () => t7, getBuildVersion: _e[s3(0, 0, 1140, "nGr&")], getBuildDate: _e[i3 = 73, a3 = e5, je(i3 - -428, a3)] };
|
|
1953
|
+
var i3, a3;
|
|
1945
1954
|
})(t6);
|
|
1946
1955
|
}
|
|
1947
|
-
var o3, s3, i3, a3, l3, c3;
|
|
1948
1956
|
};
|
|
1949
|
-
function
|
|
1950
|
-
return
|
|
1951
|
-
}
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
if (!pt2) {
|
|
1963
|
-
const t6 = process[St2("csup", 0, 0, y2)], e3 = t6[Ct2(-43, -94, E2)] || t6[wt2(0, b2, -496)] || t6[wt2(0, "[r#Z", -416)] || t6[vt2(C2, v2, 921, x2, I2)];
|
|
1964
|
-
e3 && (pt2 = await _t2(wt2(0, "C$7D", -461), e3));
|
|
1957
|
+
function Ot2(t6, e3, n3, r3, o3) {
|
|
1958
|
+
return We(t6 - St2, e3 - 249, n3 - 762, r3 - 421, o3);
|
|
1959
|
+
}
|
|
1960
|
+
ke[kt2(f2, 1047, 0, p2, _2)] && (Nt2 = await Ft2(ke[Mt2(1460, 1563, 0, "56Ay")], ke[Lt2(833, 745, 818, S2)]));
|
|
1961
|
+
let Dt2 = false;
|
|
1962
|
+
function Lt2(t6, e3, n3, r3, o3) {
|
|
1963
|
+
return Le(0, 0, e3 - -159, 0, r3);
|
|
1964
|
+
}
|
|
1965
|
+
if (Oe && (Dt2 = true, Nt2 = Ne(Lt2(w2, 708, y2, "oOLc"))), !Nt2) {
|
|
1966
|
+
if (bt[kt2(E2, b2, 0, 1268, 1297)]()) {
|
|
1967
|
+
if (!Nt2) {
|
|
1968
|
+
const t6 = process[Lt2(0, 691, 0, C2)], e3 = t6[Mt2(v2, 1523, 0, "@UJ0")] || t6[Bt2(678, 645, x2, 542, I2)] || t6[Ot2(R2, A2, 632, 633, "IOD&")] || t6[Bt2(881, M2, "nGr&", T2, N2)];
|
|
1969
|
+
e3 && (Nt2 = await Ft2(Lt2(0, k2, 0, "En!u"), e3));
|
|
1965
1970
|
}
|
|
1966
|
-
if (!
|
|
1967
|
-
const t6 = await be[
|
|
1968
|
-
t6 && (
|
|
1971
|
+
if (!Nt2) {
|
|
1972
|
+
const t6 = await be[kt2(F2, 1118, 0, 1306, O2)]();
|
|
1973
|
+
t6 && (Nt2 = await Ft2(kt2("nGr&", D2, 0, L2, B2), t6));
|
|
1969
1974
|
}
|
|
1970
|
-
!
|
|
1975
|
+
!Nt2 && (Dt2 = true);
|
|
1971
1976
|
} else {
|
|
1972
|
-
if (!
|
|
1973
|
-
const t6 = await fetch("./" +
|
|
1977
|
+
if (!Nt2) try {
|
|
1978
|
+
const t6 = await fetch("./" + Be);
|
|
1974
1979
|
let e3 = null;
|
|
1975
|
-
if (200 === t6[
|
|
1976
|
-
const n3 = (await t6[
|
|
1977
|
-
for (let t7 = 0; !e3 && t7 < n3[
|
|
1978
|
-
const r3 = n3[t7][
|
|
1979
|
-
r3[
|
|
1980
|
+
if (200 === t6[Ot2(509, 523, P2, 522, z2)]) {
|
|
1981
|
+
const n3 = (await t6[Lt2(0, j2, 0, W2)]())[Ot2(H2, R2, V2, 630, "C5EQ")]("\n");
|
|
1982
|
+
for (let t7 = 0; !e3 && t7 < n3[kt2("C5EQ", 1130, 0, G2, U2)]; t7++) {
|
|
1983
|
+
const r3 = n3[t7][Bt2(574, 613, "Epjv", 595, 634)]();
|
|
1984
|
+
r3[Lt2(0, 778, 0, "fl2i")]("#") || 0 === r3[Ot2(558, 687, J2, q2, K2)] || (e3 = r3);
|
|
1980
1985
|
}
|
|
1981
1986
|
}
|
|
1982
1987
|
if (e3) {
|
|
1983
|
-
const t7 =
|
|
1984
|
-
|
|
1988
|
+
const t7 = Lt2(0, 801, 0, "Pzcf") + Be + "')";
|
|
1989
|
+
Nt2 = await Ft2(t7, e3);
|
|
1985
1990
|
}
|
|
1986
1991
|
} catch (t6) {
|
|
1987
1992
|
}
|
|
1988
|
-
!
|
|
1993
|
+
!Nt2 && xe() && (Dt2 = true);
|
|
1989
1994
|
}
|
|
1990
1995
|
}
|
|
1991
|
-
function
|
|
1992
|
-
return
|
|
1993
|
-
}
|
|
1994
|
-
function vt2(t6, e3, n3, r3, o3) {
|
|
1995
|
-
return Fe(0, o3 - ot2, t6);
|
|
1996
|
+
function Bt2(t6, e3, n3, r3, o3) {
|
|
1997
|
+
return Re(n3, 0, 0, o3 - 373);
|
|
1996
1998
|
}
|
|
1997
|
-
if (!
|
|
1998
|
-
if (!(
|
|
1999
|
-
if (
|
|
2000
|
-
var t6, e3;
|
|
2001
|
-
this[t6 =
|
|
1999
|
+
if (!Nt2 && Dt2 && (Nt2 = Ne(Mt2(1498, X2, 0, "5aIw"))), !Nt2 && Tt2 && (Nt2 = Tt2), !Nt2 && (Nt2 = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => false, exceptions: () => [Mt2(1485, 1394, 0, "wsnS")], isValidFor: (t6) => false, isValid: () => false, features: () => Object[Bt2(575, 695, "Uj9R", 591, 659)]({}), keyFrom: () => kt2("zQcw", 1208, 0, 1228, 1152), getBuildVersion: _e[Ot2(756, Y2, 692, 707, "Ve7f")], getBuildDate: _e[Bt2(698, Q2, "[Q&D", Z2, tt2)] }), ke[Lt2(0, et2, 0, nt2)] = Nt2, At2(Nt2), t5) {
|
|
2000
|
+
if (!(ke[kt2(rt2, ot2, 0, st2, it2)] && ke[kt2(at2, lt2, 0, 1209, ct2)]) && (Dt2 || Nt2[Ot2(605, ht2, ut2, 657, dt2)]()[kt2("iuj7", 1006, 0, 1187, 1113)] > 0 || Nt2[Ot2(gt2, mt2, 669, 713, "nGr&")]()?.pb)) {
|
|
2001
|
+
if (De) return void setTimeout(() => {
|
|
2002
|
+
var t6, e3, n3, r3;
|
|
2003
|
+
this[t6 = -297, e3 = -341, n3 = -321, r3 = "Pzcf", kt2(r3, e3 - 211, 0, n3 - 155, t6 - -1544)](false, false);
|
|
2002
2004
|
}, 8e3);
|
|
2003
|
-
await this[
|
|
2005
|
+
await this[Mt2(ft2, pt2, 0, "wsnS")](false, false);
|
|
2004
2006
|
}
|
|
2005
2007
|
}
|
|
2006
|
-
return
|
|
2008
|
+
return ke[kt2(S2, _t2, 0, $2, 1203)];
|
|
2007
2009
|
}
|
|
2008
|
-
async [
|
|
2009
|
-
const e2 =
|
|
2010
|
-
|
|
2011
|
-
const
|
|
2012
|
-
function
|
|
2013
|
-
return
|
|
2010
|
+
async [We(-105, -193, -211, -138, "fl2i")](t5) {
|
|
2011
|
+
const e2 = "IOD&", n2 = "5aIw", r2 = 167, o2 = 775, s2 = "MGcS", i2 = 758, a2 = 696, l2 = 785, c2 = "eQn(", h2 = "[&Tq", u2 = 171, d2 = 159, g2 = "MFi1", m2 = 556, f2 = 1300, p2 = 209, _2 = 62, S2 = 328, w2 = 96;
|
|
2012
|
+
ke[E2("jIJP", 44, -7, -30, -68)] = true;
|
|
2013
|
+
const y2 = await this[E2(e2, -212, -203, -294, -185)]();
|
|
2014
|
+
function E2(t6, e3, n3, r3, o3) {
|
|
2015
|
+
return Le(0, 0, o3 - -1029, 0, t6);
|
|
2014
2016
|
}
|
|
2015
|
-
function
|
|
2016
|
-
return
|
|
2017
|
+
function b2(t6, e3, n3, r3, o3) {
|
|
2018
|
+
return Ie(0, n3 - m2, e3);
|
|
2017
2019
|
}
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
+
var C2, v2, x2, I2, R2, A2;
|
|
2021
|
+
function M2(t6, e3, n3, r3, o3) {
|
|
2022
|
+
return Le(0, 0, t6 - -65, 0, o3);
|
|
2020
2023
|
}
|
|
2021
|
-
return await be[
|
|
2022
|
-
var u2, d2, g2, m2;
|
|
2024
|
+
return await be[E2("[#l2", 0, 0, 0, -98)](t5), !ke[b2(0, n2, r2)] && (y2[M2(767, 845, 797, o2, s2)]() || y2[M2(i2, a2, 652, l2, c2)]()[b2(0, h2, 254)] > 0) && await this[C2 = u2, v2 = d2, x2 = g2, I2 = 259, We(C2 - p2, v2 - _2, I2 - S2, I2 - w2, x2)](t5), Promise[R2 = "nNu1", A2 = 893, Ie(0, A2 - f2, R2)]();
|
|
2023
2025
|
}
|
|
2024
|
-
async [
|
|
2025
|
-
const r2 =
|
|
2026
|
-
function
|
|
2027
|
-
return
|
|
2026
|
+
async [Le(0, 0, 788, 0, "[&Tq")](t5 = false, e2 = false, n2 = false) {
|
|
2027
|
+
const r2 = 220, o2 = "RSr#", s2 = 693, i2 = "Ij23", a2 = "56Ay", l2 = 179, c2 = "@UJ0", h2 = "nNu1", u2 = 630;
|
|
2028
|
+
function d2(t6, e3, n3, r3, o3) {
|
|
2029
|
+
return Ce(0, 0, e3 - 127, 0, o3);
|
|
2028
2030
|
}
|
|
2029
|
-
function
|
|
2030
|
-
return
|
|
2031
|
+
function g2(t6, e3, n3, r3, o3) {
|
|
2032
|
+
return Ce(0, 0, t6 - -450, 0, e3);
|
|
2031
2033
|
}
|
|
2032
|
-
|
|
2033
|
-
const
|
|
2034
|
-
var
|
|
2035
|
-
|
|
2034
|
+
ke[g2(200, "qjuK", 169, 162)] = true;
|
|
2035
|
+
const m2 = await this[g2(r2, o2)]();
|
|
2036
|
+
var f2, p2;
|
|
2037
|
+
ke[f2 = s2, p2 = "eQn(", Le(0, 0, f2 - -148, 0, p2)] || !(m2[g2(87, i2)]() || m2[d2(0, 608, 0, 0, a2)]()[g2(l2, c2)] > 0) ? await be[d2(0, u2, 0, 0, "Uj9R")](m2, t5, e2, n2) : await this[g2(106, h2)](t5);
|
|
2036
2038
|
}
|
|
2037
|
-
async [
|
|
2038
|
-
const n2 =
|
|
2039
|
-
if (!t5 && (
|
|
2040
|
-
function
|
|
2041
|
-
return
|
|
2039
|
+
async [Ie(0, -422, "]s^g")](t5, e2) {
|
|
2040
|
+
const n2 = 565, r2 = 551, o2 = "fl2i", s2 = "IOD&", i2 = 762, a2 = "m!@X", l2 = 944, c2 = 796;
|
|
2041
|
+
if (!t5 && (ke[p2(699, 706, 747, "MGcS")] || ke[p2(593, n2, 652, "2#rO")])) return;
|
|
2042
|
+
function h2(t6, e3, n3, r3, o3) {
|
|
2043
|
+
return Le(0, 0, n3 - -1289, 0, r3);
|
|
2042
2044
|
}
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
+
var u2, d2;
|
|
2046
|
+
ke[p2(564, r2, 664, "m!@X")] = true, ke[u2 = 629, d2 = "@)jj", Ie(0, u2 - l2, d2)] = true, await this[h2(0, 0, -491, o2)](t5);
|
|
2047
|
+
const g2 = bt[m2 = 13, f2 = s2, Re(f2, 0, 0, m2 - -237)]();
|
|
2048
|
+
var m2, f2;
|
|
2049
|
+
function p2(t6, e3, n3, r3, o3) {
|
|
2050
|
+
return Ce(0, 0, n3 - 148, 0, r3);
|
|
2045
2051
|
}
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
w2 && y2(""), await this[E2 = g2, b2 = m2, De(0, E2, b2 - 349)](t5, e2), y2("");
|
|
2052
|
+
const _2 = t5 || g2 ? console[p2(0, 0, i2, "@UJ0")] : bt[S2 = 1055, w2 = "[&Tq", Re(w2, 0, 0, S2 - c2)];
|
|
2053
|
+
var S2, w2;
|
|
2054
|
+
g2 && _2(""), await this[h2(0, 0, -321, a2)](t5, e2), _2("");
|
|
2050
2055
|
}
|
|
2051
|
-
[
|
|
2052
|
-
return this[t5 =
|
|
2056
|
+
[Re("[Q&D", 0, 0, 273)]() {
|
|
2057
|
+
return this[t5 = 574, e2 = "@)jj", Ie(0, t5 - 964, e2)]();
|
|
2053
2058
|
var t5, e2;
|
|
2054
2059
|
}
|
|
2055
|
-
[
|
|
2056
|
-
return this[e2 =
|
|
2060
|
+
[Le(0, 0, 810, 0, "Epjv")](t5) {
|
|
2061
|
+
return this[e2 = 1466, n2 = "fl2i", Ie(0, e2 - 1867, n2)](true, t5);
|
|
2057
2062
|
var e2, n2;
|
|
2058
2063
|
}
|
|
2059
|
-
[
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
var n2, r2, o2, s2;
|
|
2064
|
+
[Ce(0, 0, 591, 0, "C5EQ")]() {
|
|
2065
|
+
return ke[n2 = 999, r2 = "]s^g", Ce(0, 0, n2 - 406, 0, r2)] || ke[t5 = -118, e2 = "U&Qg", Re(e2, 0, 0, t5 - -428)];
|
|
2066
|
+
var t5, e2, n2, r2;
|
|
2063
2067
|
}
|
|
2064
|
-
[
|
|
2065
|
-
|
|
2068
|
+
[Ie(0, -361, "kS21")](t5) {
|
|
2069
|
+
De = true;
|
|
2066
2070
|
}
|
|
2067
|
-
async [
|
|
2068
|
-
return this[t5 =
|
|
2071
|
+
async [We(-58, -213, -120, -102, "gJ4r")]() {
|
|
2072
|
+
return this[t5 = "hzhK", e2 = 1109, Re(t5, 0, 0, e2 - 722)](true);
|
|
2069
2073
|
var t5, e2;
|
|
2070
2074
|
}
|
|
2071
|
-
async [
|
|
2072
|
-
const n2 =
|
|
2073
|
-
const
|
|
2074
|
-
var
|
|
2075
|
-
return await this[
|
|
2075
|
+
async [Ie(0, -454, "MFi1")](t5, e2) {
|
|
2076
|
+
const n2 = 960, r2 = "7j#l", o2 = 913, s2 = 388, i2 = 334;
|
|
2077
|
+
const a2 = await this[l2 = n2, c2 = "nNu1", Ce(0, 0, l2 - i2, 0, c2)]();
|
|
2078
|
+
var l2, c2, h2, u2;
|
|
2079
|
+
return await this[h2 = r2, u2 = o2, Ce(0, 0, u2 - s2, 0, h2)](true, t5, e2), a2;
|
|
2076
2080
|
}
|
|
2077
|
-
async [
|
|
2078
|
-
|
|
2079
|
-
|
|
2081
|
+
async [We(-235, -252, -202, -194, "Rq[X")]() {
|
|
2082
|
+
const t5 = 1011, e2 = "MGcS", n2 = 1447;
|
|
2083
|
+
var r2, o2;
|
|
2084
|
+
return await be[r2 = t5, o2 = e2, Ie(0, r2 - n2, o2)]();
|
|
2080
2085
|
}
|
|
2081
2086
|
}
|
|
2082
|
-
const
|
|
2087
|
+
const ze = new Pe();
|
|
2083
2088
|
function je(t5, e2) {
|
|
2084
|
-
const n2 =
|
|
2089
|
+
const n2 = Fe();
|
|
2085
2090
|
return je = function(e3, r2) {
|
|
2086
|
-
let o2 = n2[e3 -=
|
|
2087
|
-
if (void 0 === je.
|
|
2091
|
+
let o2 = n2[e3 -= 408];
|
|
2092
|
+
if (void 0 === je.zGRuZE) {
|
|
2088
2093
|
const e4 = function(t6, e5) {
|
|
2089
2094
|
let n3, r3, o3 = [], s3 = 0, i3 = "";
|
|
2090
2095
|
for (t6 = function(t7) {
|
|
@@ -2098,12 +2103,15 @@ function je(t5, e2) {
|
|
|
2098
2103
|
for (let e6 = 0; e6 < t6.length; e6++) r3 = (r3 + 1) % 256, s3 = (s3 + o3[r3]) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3, i3 += String.fromCharCode(t6.charCodeAt(e6) ^ o3[(o3[r3] + o3[s3]) % 256]);
|
|
2099
2104
|
return i3;
|
|
2100
2105
|
};
|
|
2101
|
-
je.
|
|
2106
|
+
je.zKztzF = e4, t5 = arguments, je.zGRuZE = true;
|
|
2102
2107
|
}
|
|
2103
2108
|
const s2 = e3 + n2[0], i2 = t5[s2];
|
|
2104
|
-
return i2 ? o2 = i2 : (void 0 === je.
|
|
2109
|
+
return i2 ? o2 = i2 : (void 0 === je.gkkBpU && (je.gkkBpU = true), o2 = je.zKztzF(o2, r2), t5[s2] = o2), o2;
|
|
2105
2110
|
}, je(t5, e2);
|
|
2106
2111
|
}
|
|
2112
|
+
function We(t5, e2, n2, r2, o2) {
|
|
2113
|
+
return je(n2 - -644, o2);
|
|
2114
|
+
}
|
|
2107
2115
|
const He = (t5, e2) => {
|
|
2108
2116
|
const n2 = [];
|
|
2109
2117
|
for (let r2 = 0; r2 < t5.length; r2++) {
|
|
@@ -2111,12 +2119,12 @@ const He = (t5, e2) => {
|
|
|
2111
2119
|
n2.push({ x: o2.x + e2.x, y: o2.y + e2.y });
|
|
2112
2120
|
}
|
|
2113
2121
|
return n2;
|
|
2114
|
-
},
|
|
2122
|
+
}, Ve = (t5, e2) => {
|
|
2115
2123
|
if (!t5) return { ...e2 };
|
|
2116
2124
|
if (!e2) return { ...t5 };
|
|
2117
2125
|
let n2 = Math.min(t5.x, e2.x), r2 = Math.min(t5.y, e2.y);
|
|
2118
2126
|
return { x: n2, y: r2, width: Math.max(t5.width + t5.x, e2.width + e2.x) - n2, height: Math.max(t5.height + t5.y, e2.height + e2.y) - r2 };
|
|
2119
|
-
},
|
|
2127
|
+
}, $e = (t5) => [{ x: t5.x, y: t5.y }, { x: t5.x + t5.width, y: t5.y }, { x: t5.x + t5.width, y: t5.y + t5.height }, { x: t5.x, y: t5.y + t5.height }], Ge = (t5) => {
|
|
2120
2128
|
let e2 = Number.MAX_SAFE_INTEGER, n2 = Number.MAX_SAFE_INTEGER, r2 = Number.MIN_SAFE_INTEGER, o2 = Number.MIN_SAFE_INTEGER;
|
|
2121
2129
|
for (let s2 = 0; s2 < t5.length; s2++) {
|
|
2122
2130
|
let i2 = t5[s2];
|
|
@@ -2154,10 +2162,10 @@ const He = (t5, e2) => {
|
|
|
2154
2162
|
}, Qe = Object.freeze(Object.defineProperty({ __proto__: null, angleToPoints: (t5, e2) => {
|
|
2155
2163
|
const n2 = (180 - t5) / 180 * Math.PI, r2 = Math.abs(e2.width * Math.sin(n2)) + Math.abs(e2.height * Math.cos(n2)), o2 = Math.sin(n2) * r2 / 2, s2 = Math.cos(n2) * r2 / 2, i2 = e2.width / 2, a2 = e2.height / 2;
|
|
2156
2164
|
return { x1: i2 - o2, y1: a2 - s2, x2: i2 + o2, y2: a2 + s2 };
|
|
2157
|
-
}, boundsToPoints:
|
|
2165
|
+
}, boundsToPoints: $e, centerPoint: (t5) => ({ x: t5.width / 2 + t5.x, y: t5.height / 2 + t5.y }), clipToOuterRect: (t5, e2, n2 = 0) => {
|
|
2158
2166
|
if (n2 < 0 && (n2 += 360), n2 > 90 && n2 <= 180 ? n2 += 180 : n2 > 180 && n2 <= 270 && (n2 -= 180), 0 === n2 || 180 === n2) return { height: e2.height, width: e2.width };
|
|
2159
2167
|
if (90 === n2 || 270 === n2) return { height: e2.width, width: e2.height };
|
|
2160
|
-
let r2 =
|
|
2168
|
+
let r2 = $e({ ...e2, x: 0, y: 0 }), o2 = $e({ ...t5, x: 0, y: 0 });
|
|
2161
2169
|
o2 = He(o2, { x: e2.width / 2 - t5.width / 2, y: e2.height / 2 - t5.height / 2 }), o2 = Ue(o2, n2);
|
|
2162
2170
|
let s2 = Ke(o2), i2 = Ke(r2);
|
|
2163
2171
|
if (n2 > 90) {
|
|
@@ -2196,7 +2204,7 @@ const He = (t5, e2) => {
|
|
|
2196
2204
|
for (let c3 = 0; c3 < l2; c3++) i2 = c3 + 1, a2 = t5[c3], null == a2 || isNaN(a2) || (e2 += i2, n2 += a2, o2 += i2 * i2, r2 += i2 * a2, s2++);
|
|
2197
2205
|
const c2 = (s2 * r2 - e2 * n2) / (s2 * o2 - e2 * e2);
|
|
2198
2206
|
return { m: c2, b: n2 / s2 - c2 * e2 / s2 };
|
|
2199
|
-
}, minBoundingRect: Ge, rotatePoints: Ue, unionBounds:
|
|
2207
|
+
}, minBoundingRect: Ge, rotatePoints: Ue, unionBounds: Ve }, Symbol.toStringTag, { value: "Module" }));
|
|
2200
2208
|
class Ze {
|
|
2201
2209
|
constructor(t5, e2, n2) {
|
|
2202
2210
|
this._root = sn, this._size = 0, this._maxNodeSize = n2 >= 4 ? Math.min(n2, 256) : 32, this._compare = e2 || Ze.defaultComparator, t5 && this.setPairs(t5);
|
|
@@ -3168,7 +3176,7 @@ let Pn = class {
|
|
|
3168
3176
|
return true;
|
|
3169
3177
|
}
|
|
3170
3178
|
};
|
|
3171
|
-
const zn = /^(1[0-2]|0?\d)/,
|
|
3179
|
+
const zn = /^(1[0-2]|0?\d)/, jn = /^(3[0-1]|[0-2]?\d)/, Wn = /^\d/, Hn = /^\d{1,2}/, Vn = /^\d{1,3}/, $n = /^\d{1,4}/;
|
|
3172
3180
|
function Gn(t5, e2) {
|
|
3173
3181
|
return t5 ? { value: e2(t5.value), rest: t5.rest } : t5;
|
|
3174
3182
|
}
|
|
@@ -3179,13 +3187,13 @@ function Un(t5, e2) {
|
|
|
3179
3187
|
function Jn(t5, e2) {
|
|
3180
3188
|
switch (t5) {
|
|
3181
3189
|
case 1:
|
|
3182
|
-
return Un(
|
|
3190
|
+
return Un(Wn, e2);
|
|
3183
3191
|
case 2:
|
|
3184
3192
|
return Un(Hn, e2);
|
|
3185
3193
|
case 3:
|
|
3186
|
-
return Un($n, e2);
|
|
3187
|
-
case 4:
|
|
3188
3194
|
return Un(Vn, e2);
|
|
3195
|
+
case 4:
|
|
3196
|
+
return Un($n, e2);
|
|
3189
3197
|
default:
|
|
3190
3198
|
return Un(new RegExp("^\\d{1," + t5 + "}"), e2);
|
|
3191
3199
|
}
|
|
@@ -3269,7 +3277,7 @@ const Qn = { y: new class extends Pn {
|
|
|
3269
3277
|
parse(t5, e2, n2) {
|
|
3270
3278
|
switch (e2) {
|
|
3271
3279
|
case "d":
|
|
3272
|
-
return Un(
|
|
3280
|
+
return Un(jn, t5);
|
|
3273
3281
|
case "do":
|
|
3274
3282
|
return n2.ordinalNumber(t5, { unit: "date" });
|
|
3275
3283
|
default:
|
|
@@ -3602,11 +3610,11 @@ function zr(t5) {
|
|
|
3602
3610
|
}
|
|
3603
3611
|
return e2;
|
|
3604
3612
|
}
|
|
3605
|
-
function
|
|
3613
|
+
function jr(t5, e2) {
|
|
3606
3614
|
var n2 = Math.pow(10, e2);
|
|
3607
3615
|
return "" + Math.round(t5 * n2) / n2;
|
|
3608
3616
|
}
|
|
3609
|
-
function
|
|
3617
|
+
function Wr(t5, e2) {
|
|
3610
3618
|
var n2 = Math.pow(10, e2);
|
|
3611
3619
|
return Math.round(t5 * n2) / n2;
|
|
3612
3620
|
}
|
|
@@ -3614,10 +3622,10 @@ function Hr(t5, e2) {
|
|
|
3614
3622
|
var n2 = t5 - Math.floor(t5), r2 = Math.pow(10, e2);
|
|
3615
3623
|
return e2 < ("" + Math.round(n2 * r2)).length ? 0 : Math.round(n2 * r2);
|
|
3616
3624
|
}
|
|
3617
|
-
function
|
|
3625
|
+
function Vr(t5, e2, n2) {
|
|
3618
3626
|
if (40 === t5.charCodeAt(0) && !e2.match(Br)) {
|
|
3619
3627
|
var r2 = e2.replace(/\( */, "").replace(/ \)/, "").replace(/\)/, "");
|
|
3620
|
-
return n2 >= 0 ?
|
|
3628
|
+
return n2 >= 0 ? Vr("n", r2, n2) : "(" + Vr("n", r2, -n2) + ")";
|
|
3621
3629
|
}
|
|
3622
3630
|
if (44 === e2.charCodeAt(e2.length - 1)) return function(t6, e3, n3) {
|
|
3623
3631
|
let r3 = e3.length - 1;
|
|
@@ -3629,7 +3637,7 @@ function $r(t5, e2, n2) {
|
|
|
3629
3637
|
return Ur(t6, r3, n3 * Math.pow(10, 2 * o3)) + cr("%", o3);
|
|
3630
3638
|
}(t5, e2, n2);
|
|
3631
3639
|
if (-1 !== e2.indexOf("E")) return Or(e2, n2);
|
|
3632
|
-
if (36 === e2.charCodeAt(0)) return "$" +
|
|
3640
|
+
if (36 === e2.charCodeAt(0)) return "$" + Vr(t5, e2.substr(" " === e2.charAt(1) ? 2 : 1), n2);
|
|
3633
3641
|
var o2, s2, i2, a2, l2 = Math.abs(n2), c2 = n2 < 0 ? "-" : "";
|
|
3634
3642
|
if (e2.match(/^00+$/)) return c2 + fr(l2, e2.length);
|
|
3635
3643
|
if (e2.match(/^[#?]+$/)) return "0" === (o2 = fr(n2, 0)) && (o2 = ""), o2.length > e2.length ? o2 : zr(e2.substr(0, e2.length - o2.length)) + o2;
|
|
@@ -3639,58 +3647,58 @@ function $r(t5, e2, n2) {
|
|
|
3639
3647
|
}(s2, l2, c2);
|
|
3640
3648
|
if (e2.match(/^#+0+$/)) return c2 + fr(l2, e2.length - e2.indexOf("0"));
|
|
3641
3649
|
if (s2 = e2.match(Lr)) {
|
|
3642
|
-
i2 = Math.trunc(
|
|
3650
|
+
i2 = Math.trunc(jr(n2, s2[2].length));
|
|
3643
3651
|
var h2 = function(t6) {
|
|
3644
3652
|
if (!isFinite(t6)) return 0;
|
|
3645
3653
|
for (var e3 = 1, n3 = 0; Math.round(t6 * e3) / e3 !== t6; ) e3 *= 10, n3++;
|
|
3646
3654
|
return n3;
|
|
3647
|
-
}(a2 =
|
|
3648
|
-
return a2 = (a2 = "" +
|
|
3655
|
+
}(a2 = Wr(Math.abs(i2 - n2), s2[2].length));
|
|
3656
|
+
return a2 = (a2 = "" + Wr(a2, h2)).replace(/^0\./, ""), o2 = lr("" + Math.abs(i2), s2[1]) + "." + lr("" + a2, s2[2], true), o2 = -1 !== e2.indexOf("0.") ? o2 : o2.replace(/^0\./, "."), n2 < 0 ? "-" + o2 : o2;
|
|
3649
3657
|
}
|
|
3650
|
-
if (s2 = (e2 = e2.replace(/^#+([0.])/, "$1")).match(/^(0*)\.(#*)$/)) return c2 +
|
|
3658
|
+
if (s2 = (e2 = e2.replace(/^#+([0.])/, "$1")).match(/^(0*)\.(#*)$/)) return c2 + jr(l2, s2[2].length).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, s2[1].length ? "0." : ".");
|
|
3651
3659
|
if (s2 = e2.match(/^#{1,3},##0(\.?)$/)) return c2 + kr(fr(l2, 0));
|
|
3652
|
-
if (s2 = e2.match(/^#,##0\.([#0]*0)$/)) return n2 < 0 ? "-" +
|
|
3660
|
+
if (s2 = e2.match(/^#,##0\.([#0]*0)$/)) return n2 < 0 ? "-" + Vr(t5, e2, -n2) : kr("" + (Math.floor(n2) + function(t6, e3) {
|
|
3653
3661
|
return e3 < ("" + Math.round((t6 - Math.floor(t6)) * Math.pow(10, e3))).length ? 1 : 0;
|
|
3654
3662
|
}(n2, s2[1].length))) + "." + ur(Hr(n2, s2[1].length), s2[1].length);
|
|
3655
|
-
if (s2 = e2.match(/^#,#*,#0/)) return
|
|
3656
|
-
if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = hr(
|
|
3663
|
+
if (s2 = e2.match(/^#,#*,#0/)) return Vr(t5, e2.replace(/^#,#*,/, ""), n2);
|
|
3664
|
+
if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = hr(Vr(t5, e2.replace(/[\\-]/g, ""), n2)), i2 = 0, hr(hr(e2.replace(/\\/g, "")).replace(/[0#]/g, function(t6) {
|
|
3657
3665
|
return i2 < o2.length ? o2.charAt(i2++) : "0" === t6 ? "0" : "";
|
|
3658
3666
|
}));
|
|
3659
|
-
if (e2.match(Pr)) return "(" + (o2 =
|
|
3667
|
+
if (e2.match(Pr)) return "(" + (o2 = Vr(t5, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
|
|
3660
3668
|
var u2 = "";
|
|
3661
3669
|
if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = br(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (u2 = Ur("n", s2[1], a2[1])).charAt(u2.length - 1) && (u2 = u2.substr(0, u2.length - 1) + "0"), o2 += u2 + s2[2] + "/" + s2[3], (u2 = gr(a2[2], i2)).length < s2[4].length && (u2 = zr(s2[4].substr(s2[4].length - u2.length)) + u2), o2 += u2;
|
|
3662
|
-
if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = br(l2, Math.pow(10, i2) - 1, true), c2 +
|
|
3670
|
+
if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = br(l2, Math.pow(10, i2) - 1, true), c2 + Vr(t5, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? dr(a2[1], i2) + s2[2] + "/" + s2[3] + gr(a2[2], i2) : cr(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
|
|
3663
3671
|
if (s2 = e2.match(/^[#0?]+$/)) return o2 = fr(n2, 0), e2.length <= o2.length ? o2 : zr(e2.substr(0, e2.length - o2.length)) + o2;
|
|
3664
3672
|
if (s2 = e2.match(/^([#0?]+)\.([#0]+)$/)) {
|
|
3665
3673
|
o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
|
|
3666
3674
|
var d2 = e2.indexOf(".") - i2, g2 = e2.length - o2.length - d2;
|
|
3667
3675
|
return zr(e2.substr(0, d2) + o2 + e2.substr(e2.length - g2));
|
|
3668
3676
|
}
|
|
3669
|
-
if (s2 = e2.match(/^00,000\.([#0]*0)$/)) return i2 = Hr(n2, s2[1].length), n2 < 0 ? "-" +
|
|
3677
|
+
if (s2 = e2.match(/^00,000\.([#0]*0)$/)) return i2 = Hr(n2, s2[1].length), n2 < 0 ? "-" + Vr(t5, e2, -n2) : kr(function(t6) {
|
|
3670
3678
|
return t6 < 2147483647 && t6 > -2147483648 ? "" + (t6 >= 0 ? 0 | t6 : t6 - 1 | 0) : "" + Math.floor(t6);
|
|
3671
3679
|
}(n2)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(t6) {
|
|
3672
3680
|
return "00," + (t6.length < 3 ? ur(0, 3 - t6.length) : "") + t6;
|
|
3673
3681
|
}) + "." + ur(i2, s2[1].length);
|
|
3674
3682
|
switch (e2) {
|
|
3675
3683
|
case "###,##0.00":
|
|
3676
|
-
return
|
|
3684
|
+
return Vr(t5, "#,##0.00", n2);
|
|
3677
3685
|
case "###,###":
|
|
3678
3686
|
case "##,###":
|
|
3679
3687
|
case "#,###":
|
|
3680
3688
|
var m2 = kr(fr(l2, 0));
|
|
3681
3689
|
return "0" !== m2 ? c2 + m2 : "";
|
|
3682
3690
|
case "###,###.00":
|
|
3683
|
-
return
|
|
3691
|
+
return Vr(t5, "###,##0.00", n2).replace(/^0\./, ".");
|
|
3684
3692
|
case "#,###.00":
|
|
3685
|
-
return
|
|
3693
|
+
return Vr(t5, "#,##0.00", n2).replace(/^0\./, ".");
|
|
3686
3694
|
}
|
|
3687
3695
|
throw new Error("unsupported format |" + e2 + "|");
|
|
3688
3696
|
}
|
|
3689
|
-
function
|
|
3697
|
+
function $r(t5, e2) {
|
|
3690
3698
|
var n2, r2 = t5.indexOf("E") - t5.indexOf(".") - 1;
|
|
3691
3699
|
if (t5.match(/^#+0.0E\+0$/)) {
|
|
3692
3700
|
if (0 === e2) return "0.0E+0";
|
|
3693
|
-
if (e2 < 0) return "-" +
|
|
3701
|
+
if (e2 < 0) return "-" + $r(t5, -e2);
|
|
3694
3702
|
var o2 = t5.indexOf(".");
|
|
3695
3703
|
-1 === o2 && (o2 = t5.indexOf("E"));
|
|
3696
3704
|
var s2 = Math.floor(Math.log(e2) * Math.LOG10E) % o2;
|
|
@@ -3717,7 +3725,7 @@ function Gr(t5, e2, n2) {
|
|
|
3717
3725
|
var r3 = e3.replace(Fr, ""), o3 = e3.length - r3.length;
|
|
3718
3726
|
return Ur(t6, r3, n3 * Math.pow(10, 2 * o3)) + cr("%", o3);
|
|
3719
3727
|
}(t5, e2, n2);
|
|
3720
|
-
if (-1 !== e2.indexOf("E")) return
|
|
3728
|
+
if (-1 !== e2.indexOf("E")) return $r(e2, n2);
|
|
3721
3729
|
if (36 === e2.charCodeAt(0)) return "$" + Gr(t5, e2.substr(" " === e2.charAt(1) ? 2 : 1), n2);
|
|
3722
3730
|
var o2, s2, i2, a2, l2 = Math.abs(n2), c2 = n2 < 0 ? "-" : "";
|
|
3723
3731
|
if (e2.match(/^00+$/)) return c2 + ur(l2, e2.length);
|
|
@@ -3761,7 +3769,7 @@ function Gr(t5, e2, n2) {
|
|
|
3761
3769
|
throw new Error("unsupported format |" + e2 + "|");
|
|
3762
3770
|
}
|
|
3763
3771
|
function Ur(t5, e2, n2) {
|
|
3764
|
-
return (0 | n2) === n2 ? Gr(t5, e2, n2) :
|
|
3772
|
+
return (0 | n2) === n2 ? Gr(t5, e2, n2) : Vr(t5, e2, n2);
|
|
3765
3773
|
}
|
|
3766
3774
|
function Jr(t5) {
|
|
3767
3775
|
var e2 = [], n2 = false;
|
|
@@ -4208,12 +4216,12 @@ const to = { format: Qr, dateNumLocal: Rr, load: Zr, split_fmt: Jr, _table: wr,
|
|
|
4208
4216
|
}
|
|
4209
4217
|
let o2 = bo(r2);
|
|
4210
4218
|
return o2 = fo(o2), o2;
|
|
4211
|
-
},
|
|
4219
|
+
}, jo = (t5, e2, n2) => {
|
|
4212
4220
|
let r2 = vo(e2), o2 = n2 / 100;
|
|
4213
4221
|
r2[t5] = r2[t5] * o2, t5 === xo && (r2[xo] = _o(r2[xo]));
|
|
4214
4222
|
let s2 = bo(r2);
|
|
4215
4223
|
return s2 = fo(s2), s2;
|
|
4216
|
-
},
|
|
4224
|
+
}, Wo = (t5, e2, n2, r2) => {
|
|
4217
4225
|
let o2 = So(e2), s2 = n2 / 100;
|
|
4218
4226
|
r2 === No ? o2[t5] = s2 : r2 === ko ? o2[t5] += s2 : r2 === Fo && (o2[t5] *= s2);
|
|
4219
4227
|
let i2 = wo(o2);
|
|
@@ -4223,12 +4231,12 @@ const to = { format: Qr, dateNumLocal: Rr, load: Zr, split_fmt: Jr, _table: wr,
|
|
|
4223
4231
|
e2[0] = n2, e2[1] = n2, e2[2] = n2;
|
|
4224
4232
|
let r2 = wo(e2);
|
|
4225
4233
|
return r2 = fo(r2), r2;
|
|
4226
|
-
},
|
|
4234
|
+
}, Vo = (t5) => {
|
|
4227
4235
|
let e2 = vo(t5);
|
|
4228
4236
|
e2[xo] += 180, e2[xo] %= 360, e2[xo] < 0 && (e2[xo] -= 360);
|
|
4229
4237
|
let n2 = bo(e2);
|
|
4230
4238
|
return n2 = fo(n2), n2;
|
|
4231
|
-
},
|
|
4239
|
+
}, $o = (t5, e2 = true) => {
|
|
4232
4240
|
let n2 = e2 ? So(t5) : [...t5];
|
|
4233
4241
|
const r2 = e2 ? 1 : 255;
|
|
4234
4242
|
return n2[0] = r2 - n2[0], n2[1] = r2 - n2[1], n2[2] = r2 - n2[2], e2 && (n2 = wo(n2)), n2 = fo(n2, e2), n2;
|
|
@@ -4468,7 +4476,7 @@ const bs = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Cs =
|
|
|
4468
4476
|
n2.push({ parseFormat: e2[t6][0], numberFormat: e2[t6][1], todaysYear: !r2, windowYear: true, containsDot: o2, containsDash: s2 }), r2 && n2.push({ parseFormat: e2[t6][0].replace(/yyy/g, "yyyy"), numberFormat: e2[t6][1], todaysYear: false, windowYear: false, containsDot: o2, containsDash: s2 });
|
|
4469
4477
|
}
|
|
4470
4478
|
return n2;
|
|
4471
|
-
})([["MM-d", "d-mmm"], ["MM-yyy", "mmm-yy"], ["M-yyy", "mmm-yy"], ["M-d-yyy", "m/d/yyyy"], ["yyy-M-d", "m/d/yyyy"], ["yyy-d-M", "m/d/yyyy"], ["d.MMM", "d-mmm"], ["d.MMMM", "d-mmm"], ["d.MMM.yyy", "d-mmm-yy"], ["d.MMMM.yyy", "d-mmm-yy"], ["MMM.d", "d-mmm"], ["MMMM.d", "d-mmm"], ["MMM.yyy", "mmm-yy"], ["MMMM.yyy", "mmm-yy"], ["MMM dd, yyy", "d-mmm-yy"], ["MMMM dd, yyy", "d-mmm-yy"], ["EEE, MMMM dd, yyy", "[$-x-sysdate]ddd, mmmm dd, yyyy"], ["EEEE, MMMM dd, yyy", "[$-x-sysdate]dddd, mmmm dd, yyyy"]]), zs = { year: 0, month: 1, day: 0, hour: 0, minute: 0, second: 0, millis: 0 },
|
|
4479
|
+
})([["MM-d", "d-mmm"], ["MM-yyy", "mmm-yy"], ["M-yyy", "mmm-yy"], ["M-d-yyy", "m/d/yyyy"], ["yyy-M-d", "m/d/yyyy"], ["yyy-d-M", "m/d/yyyy"], ["d.MMM", "d-mmm"], ["d.MMMM", "d-mmm"], ["d.MMM.yyy", "d-mmm-yy"], ["d.MMMM.yyy", "d-mmm-yy"], ["MMM.d", "d-mmm"], ["MMMM.d", "d-mmm"], ["MMM.yyy", "mmm-yy"], ["MMMM.yyy", "mmm-yy"], ["MMM dd, yyy", "d-mmm-yy"], ["MMMM dd, yyy", "d-mmm-yy"], ["EEE, MMMM dd, yyy", "[$-x-sysdate]ddd, mmmm dd, yyyy"], ["EEEE, MMMM dd, yyy", "[$-x-sysdate]dddd, mmmm dd, yyyy"]]), zs = { year: 0, month: 1, day: 0, hour: 0, minute: 0, second: 0, millis: 0 }, js = (t5, e2 = false) => {
|
|
4472
4480
|
const n2 = { ...zs, ...t5 };
|
|
4473
4481
|
return n2.year = e2 ? 1904 : 1900, n2.dow = -1, n2.oaDateTime = ((t6, e3 = false) => {
|
|
4474
4482
|
if (!t6) return null;
|
|
@@ -4477,8 +4485,8 @@ const bs = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Cs =
|
|
|
4477
4485
|
const o2 = new Date(t6.year, t6.month - 1, n3, r2, t6.minute, t6.second, t6.millis);
|
|
4478
4486
|
return Ls(o2, e3);
|
|
4479
4487
|
})(n2, e2), n2;
|
|
4480
|
-
},
|
|
4481
|
-
if (!t5 || t5.trim().length < 2 || -1 === t5.indexOf(":") && null === t5.match(
|
|
4488
|
+
}, Ws = new RegExp("([0-9]{1,2})\\s*(P[M]?|A[M]?)\\s*$", "i"), Hs = new RegExp("([0-9]+)\\s*\\:$", "i"), Vs = new RegExp("(\\s*[0-9]{1,2})\\s+(P[M]?|A[M]?)\\s*$", "i"), $s = new RegExp("(\\s*[0-9]{1,4})\\s*([\\.]{1}\\s*[0-9]+)?\\s*\\:", "i"), Gs = new RegExp("(\\s*[0-9]{1,4})\\s*([\\.]{1}\\s*[0-9]*)?\\s*$", "i"), Us = (t5, e2 = false, n2 = false) => {
|
|
4489
|
+
if (!t5 || t5.trim().length < 2 || -1 === t5.indexOf(":") && null === t5.match(Vs)) return null;
|
|
4482
4490
|
let r2 = null, o2 = null, s2 = null, i2 = false, a2 = false, l2 = "h:mm AM/PM", c2 = [], h2 = t5, u2 = null;
|
|
4483
4491
|
do {
|
|
4484
4492
|
let t6 = h2.indexOf(":");
|
|
@@ -4510,18 +4518,18 @@ const bs = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Cs =
|
|
|
4510
4518
|
const m2 = [];
|
|
4511
4519
|
if (c2.length > 0) {
|
|
4512
4520
|
let t6 = d2(c2[0], Hs, false);
|
|
4513
|
-
if (null === t6 && (t6 = g2(c2[0],
|
|
4521
|
+
if (null === t6 && (t6 = g2(c2[0], Ws)), null === t6) return null;
|
|
4514
4522
|
m2.push(t6);
|
|
4515
4523
|
}
|
|
4516
4524
|
if (c2.length > 2) {
|
|
4517
|
-
let t6 = d2(c2[1],
|
|
4518
|
-
if (null === t6 && (t6 = g2(c2[0],
|
|
4525
|
+
let t6 = d2(c2[1], $s, true);
|
|
4526
|
+
if (null === t6 && (t6 = g2(c2[0], Vs)), null === t6) return null;
|
|
4519
4527
|
m2.push(t6);
|
|
4520
4528
|
}
|
|
4521
4529
|
if (c2.length > 1) {
|
|
4522
4530
|
const t6 = c2[c2.length - 1];
|
|
4523
|
-
let e3 = d2(t6,
|
|
4524
|
-
if (null === e3 && (e3 = d2(t6, Gs, false)), null === e3 && (e3 = g2(t6,
|
|
4531
|
+
let e3 = d2(t6, $s, false);
|
|
4532
|
+
if (null === e3 && (e3 = d2(t6, Gs, false)), null === e3 && (e3 = g2(t6, Vs)), null === e3) return null;
|
|
4525
4533
|
m2.push(e3);
|
|
4526
4534
|
}
|
|
4527
4535
|
if (null !== u2 && u2.length > 0 && !n2) return null;
|
|
@@ -4533,7 +4541,7 @@ const bs = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Cs =
|
|
|
4533
4541
|
} else l2 = c2.length > 2 ? "h:mm:ss" : "h:mm", m2[0] > 23 && (l2 = "[h]:mm:ss"), null !== r2 && (l2 = "mm:ss.0"), m2[1] >= 60 && (l2 = "General"), m2[2] >= 60 && (l2 = "General");
|
|
4534
4542
|
"General" !== l2 && (1 === m2.length && m2.push(0), 2 === m2.length && (null === r2 ? m2.push(0) : m2.unshift(0)));
|
|
4535
4543
|
let f2 = { hour: m2[0] ?? 0, minute: m2[1] ?? 0, second: m2[2] ?? 0, millis: 1e3 * (r2 ?? 0) };
|
|
4536
|
-
return { numberFormat: l2, parsed:
|
|
4544
|
+
return { numberFormat: l2, parsed: js(f2, e2), leadingText: u2 };
|
|
4537
4545
|
}, Js = {}, qs = (t5, e2 = false, n2 = null) => {
|
|
4538
4546
|
const r2 = n2 ?? Date.now(), o2 = new Date(r2).getFullYear();
|
|
4539
4547
|
let s2 = t5.trim().replaceAll(/\s+/g, " ");
|
|
@@ -4782,11 +4790,11 @@ class zi {
|
|
|
4782
4790
|
return qi(t5, this._defaultFont, this._alignment, e2 ?? this._private.wrapped);
|
|
4783
4791
|
}
|
|
4784
4792
|
get bounds() {
|
|
4785
|
-
if (null === this._bounds) throw new Error(
|
|
4793
|
+
if (null === this._bounds) throw new Error(ji);
|
|
4786
4794
|
return this._bounds;
|
|
4787
4795
|
}
|
|
4788
4796
|
get textBounds() {
|
|
4789
|
-
if (null === this._textBounds) throw new Error(
|
|
4797
|
+
if (null === this._textBounds) throw new Error(ji);
|
|
4790
4798
|
return this._textBounds;
|
|
4791
4799
|
}
|
|
4792
4800
|
get lines() {
|
|
@@ -4835,8 +4843,8 @@ class zi {
|
|
|
4835
4843
|
return this._private.paragraphs;
|
|
4836
4844
|
}
|
|
4837
4845
|
}
|
|
4838
|
-
const
|
|
4839
|
-
class
|
|
4846
|
+
const ji = "bounds can not be used until layout";
|
|
4847
|
+
class Wi {
|
|
4840
4848
|
static {
|
|
4841
4849
|
this.NL = "\n";
|
|
4842
4850
|
}
|
|
@@ -4849,7 +4857,7 @@ class ji {
|
|
|
4849
4857
|
}
|
|
4850
4858
|
class Hi {
|
|
4851
4859
|
constructor(t5) {
|
|
4852
|
-
this._private = { defaultFontSize: 11, defaultTabSize:
|
|
4860
|
+
this._private = { defaultFontSize: 11, defaultTabSize: Wi.DefaultTabWidth, tabOverrides: bt.EmptyArray, spacingBefore: 0, spacingAfter: 0, lineSpacing: Wi.DefaultLineSpacing, align: Zs.HorizontalAlignment.Left, endParagraphSize: 0, indentLevel: 0, leadingIndent: 0, hangingIndent: 0, rightMargin: 0, bullet: null }, this._private = Object.assign(this._private, t5 || {});
|
|
4853
4861
|
}
|
|
4854
4862
|
clone(t5) {
|
|
4855
4863
|
const e2 = t5?.visitTextParagraph?.(this, 0, 1), n2 = Object.assign(this._private, e2 || {});
|
|
@@ -4904,13 +4912,13 @@ class Hi {
|
|
|
4904
4912
|
return this._private.runs;
|
|
4905
4913
|
}
|
|
4906
4914
|
}
|
|
4907
|
-
class
|
|
4915
|
+
class Vi {
|
|
4908
4916
|
constructor(t5, e2 = null) {
|
|
4909
4917
|
this._private = { text: null, fontName: "Arial", bold: false, italic: false, superSub: false, fontSize: 11, letterSpacing: 0, kerningMin: 10, smallCaps: Ys.SmallCaps.None, offset: 0, strikeStyle: Ys.StrikeStyle.None }, this._private = { ...this._private, ...t5 }, this._bounds = e2;
|
|
4910
4918
|
}
|
|
4911
4919
|
clone(t5) {
|
|
4912
4920
|
const e2 = t5?.visitTextRun?.(this, 0, 1), n2 = Object.assign(this._private, e2 || {});
|
|
4913
|
-
return delete n2.bounds, new
|
|
4921
|
+
return delete n2.bounds, new Vi(n2);
|
|
4914
4922
|
}
|
|
4915
4923
|
equals(t5) {
|
|
4916
4924
|
return bt.deepEqual(this._private, t5._private);
|
|
@@ -4952,7 +4960,7 @@ class $i {
|
|
|
4952
4960
|
return this._private.strikeStyle;
|
|
4953
4961
|
}
|
|
4954
4962
|
}
|
|
4955
|
-
class
|
|
4963
|
+
class $i {
|
|
4956
4964
|
constructor(t5, e2, n2) {
|
|
4957
4965
|
this._private = {}, this._private = { bounds: t5, baseline: e2, runs: n2 };
|
|
4958
4966
|
}
|
|
@@ -5058,8 +5066,8 @@ const Ui = (t5, e2, n2, r2 = null, o2 = Ai.getSharedMeasurer()) => {
|
|
|
5058
5066
|
let f2 = [];
|
|
5059
5067
|
const p2 = m2.lines, _2 = p2.length, S2 = new Array(_2);
|
|
5060
5068
|
for (let t6 = 0; t6 < _2; t6++) {
|
|
5061
|
-
const e3 = p2[t6], n3 = { x: e3.x, y: e3.y, width: e3.width, height: e3.height }, r3 = new
|
|
5062
|
-
f2.push(r3), S2[t6] = new
|
|
5069
|
+
const e3 = p2[t6], n3 = { x: e3.x, y: e3.y, width: e3.width, height: e3.height }, r3 = new Vi({ text: e3.text, fontName: i2.fontFamily, fontSize: i2.fontSize, bold: i2.bold, italic: i2.italic, superSub: i2.superSub, letterSpacing: i2.letterSpacing }, n3);
|
|
5070
|
+
f2.push(r3), S2[t6] = new $i(n3, e3.baseline, [r3]);
|
|
5063
5071
|
}
|
|
5064
5072
|
const w2 = new Hi({ runs: f2, align: a2.align });
|
|
5065
5073
|
return new zi({ paragraphs: [w2], wrapped: t5.wrapped, verticalAlignment: t5.verticalAlignment }, e2, n2, S2, { x: m2.bounds.x, y: m2.bounds.y, width: m2.bounds.widthWhitespace, height: m2.bounds.height }, { x: m2.bounds.x, y: m2.bounds.y, width: m2.bounds.width, height: m2.bounds.height });
|
|
@@ -5072,9 +5080,9 @@ const Ui = (t5, e2, n2, r2 = null, o2 = Ai.getSharedMeasurer()) => {
|
|
|
5072
5080
|
return e2 ? 1 : n2 ? -1 : 0;
|
|
5073
5081
|
}, qi = (t5, e2, n2, r2, o2 = false) => {
|
|
5074
5082
|
if (null == t5) return null;
|
|
5075
|
-
const s2 = new
|
|
5083
|
+
const s2 = new Vi({ text: t5, fontName: e2.toCSS().fontFamily, fontSize: e2.getSize(), bold: e2.getWeight() > 400, italic: e2.getStyle() === Ai.Style.Italic, superSub: !o2 && (e2.getVerticalAlignment() === Ai.VerticalAlignment.Sub || e2.getVerticalAlignment() === Ai.VerticalAlignment.Super), letterSpacing: e2.getLetterSpacing() }), i2 = o2 ? Zs.HorizontalAlignment.Left : n2.getHorizontal(), a2 = n2.getVertical(), l2 = new Hi({ runs: [s2], align: i2 });
|
|
5076
5084
|
let c2 = [];
|
|
5077
|
-
c2.push(new
|
|
5085
|
+
c2.push(new $i(null, e2.getSize(), [s2]));
|
|
5078
5086
|
return new zi({ paragraphs: [l2], wrapped: r2 && (n2.getOverflow() === Zs.Overflow.Wrap || i2 === Zs.HorizontalAlignment.Justify || i2 === Zs.HorizontalAlignment.Distributed || a2 === Zs.VerticalAlignment.Justify || a2 === Zs.VerticalAlignment.Distributed), verticalAlignment: a2 }, e2, n2, c2);
|
|
5079
5087
|
}, Ki = (t5, e2, n2, r2) => ({ x: t5 * r2 - e2 * n2, y: t5 * n2 + e2 * r2 }), Xi = (t5) => {
|
|
5080
5088
|
let e2 = 0, n2 = 0, r2 = 0, o2 = 0, s2 = 0, i2 = 0, a2 = 0, l2 = t5.length;
|
|
@@ -5613,7 +5621,7 @@ class Ta {
|
|
|
5613
5621
|
n3[0] = qo + 0.7874 * r3 - qo * o3, n3[1] = Ko - Ko * r3 - Ko * o3, n3[2] = Xo - Xo * r3 + 0.9278 * o3, n3[3] = qo - qo * r3 + 0.143 * o3, n3[4] = Ko + (1 - Ko) * r3 + 0.14 * o3, n3[5] = Xo - Xo * r3 - 0.283 * o3, n3[6] = qo - qo * r3 - 0.7874 * o3, n3[7] = Ko - Ko * r3 + Ko * o3, n3[8] = Xo + 0.9278 * r3 + Xo * o3;
|
|
5614
5622
|
const s3 = (t7) => Math.round(Math.max(0, Math.min(255, t7))), i2 = t6[0], a2 = t6[1], l2 = t6[2];
|
|
5615
5623
|
return [s3(n3[0] * i2 + n3[1] * a2 + n3[2] * l2), s3(n3[3] * i2 + n3[4] * a2 + n3[5] * l2), s3(n3[6] * i2 + n3[7] * a2 + n3[8] * l2)];
|
|
5616
|
-
})(n2, 180), n2 =
|
|
5624
|
+
})(n2, 180), n2 = $o(n2, false);
|
|
5617
5625
|
let r2 = So(n2);
|
|
5618
5626
|
const o2 = vo(r2);
|
|
5619
5627
|
if (o2[Ro] = 0.95 * o2[Ro], r2 = bo(o2), n2 = wo(r2), n2 = mo(n2), n2 = fo(n2, false), t5) return new Yo.RGBA(n2[0], n2[1], n2[2], e2.alpha);
|
|
@@ -5631,7 +5639,7 @@ class Ta {
|
|
|
5631
5639
|
let n3 = [...t6.srgb], r3 = void 0 !== t6.alpha ? t6.alpha : 1;
|
|
5632
5640
|
for (var o2 = 0; e3 && o2 < e3.length; o2++) {
|
|
5633
5641
|
const t7 = e3[o2], s2 = Object.keys(t7)[0], i2 = t7[s2];
|
|
5634
|
-
s2 === pa.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === pa.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === pa.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === pa.AdjustmentType.Hue ? n3 = Po(xo, n3, i2) : s2 === pa.AdjustmentType.Sat ? n3 = Po(Io, n3, i2) : s2 === pa.AdjustmentType.Lum ? n3 = Po(Ro, n3, i2) : s2 === pa.AdjustmentType.HueOff ? n3 = zo(xo, n3, i2) : s2 === pa.AdjustmentType.SatOff ? n3 = zo(Io, n3, i2) : s2 === pa.AdjustmentType.LumOff ? n3 = zo(Ro, n3, i2) : s2 === pa.AdjustmentType.HueMod ? n3 =
|
|
5642
|
+
s2 === pa.AdjustmentType.Alpha ? (r3 = i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === pa.AdjustmentType.AlphaOff ? (r3 += i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === pa.AdjustmentType.AlphaMod ? (r3 *= i2 / 100, r3 = Math.max(0, Math.min(1, r3))) : s2 === pa.AdjustmentType.Hue ? n3 = Po(xo, n3, i2) : s2 === pa.AdjustmentType.Sat ? n3 = Po(Io, n3, i2) : s2 === pa.AdjustmentType.Lum ? n3 = Po(Ro, n3, i2) : s2 === pa.AdjustmentType.HueOff ? n3 = zo(xo, n3, i2) : s2 === pa.AdjustmentType.SatOff ? n3 = zo(Io, n3, i2) : s2 === pa.AdjustmentType.LumOff ? n3 = zo(Ro, n3, i2) : s2 === pa.AdjustmentType.HueMod ? n3 = jo(xo, n3, i2) : s2 === pa.AdjustmentType.SatMod ? n3 = jo(Io, n3, i2) : s2 === pa.AdjustmentType.LumMod ? n3 = jo(Ro, n3, i2) : s2 === pa.AdjustmentType.Red ? n3 = Wo(Ao, n3, i2, No) : s2 === pa.AdjustmentType.Green ? n3 = Wo(Mo, n3, i2, No) : s2 === pa.AdjustmentType.Blue ? n3 = Wo(To, n3, i2, No) : s2 === pa.AdjustmentType.RedOff ? n3 = Wo(Ao, n3, i2, ko) : s2 === pa.AdjustmentType.GreenOff ? n3 = Wo(Mo, n3, i2, ko) : s2 === pa.AdjustmentType.BlueOff ? n3 = Wo(To, n3, i2, ko) : s2 === pa.AdjustmentType.RedMod ? n3 = Wo(Ao, n3, i2, Fo) : s2 === pa.AdjustmentType.GreenMod ? n3 = Wo(Mo, n3, i2, Fo) : s2 === pa.AdjustmentType.BlueMod ? n3 = Wo(To, n3, i2, Fo) : s2 === pa.AdjustmentType.Shade ? n3 = Oo(n3, i2) : s2 === pa.AdjustmentType.Tint ? n3 = Bo(n3, i2) : s2 === pa.AdjustmentType.ETint ? n3 = Lo(n3, i2) : s2 === pa.AdjustmentType.Gray ? n3 = Ho(n3) : s2 === pa.AdjustmentType.Comp ? n3 = Vo(n3) : s2 === pa.AdjustmentType.Inv ? n3 = $o(n3, i2) : s2 === pa.AdjustmentType.Gamma ? n3 = Go(n3) : s2 === pa.AdjustmentType.InvGamma ? n3 = Uo(n3) : console.warn("unknown adjustmentType: " + s2);
|
|
5635
5643
|
}
|
|
5636
5644
|
return { srgb: n3, alpha: r3 };
|
|
5637
5645
|
})(t5.srgbAlpha, this._private.adjs), n2 = ((t6, e3 = 255) => {
|
|
@@ -5776,31 +5784,31 @@ const La = { Text: "text", Repeat: "repeat", Spacing: "spacing" }, Ba = (t5) =>
|
|
|
5776
5784
|
let s2 = cs(t5);
|
|
5777
5785
|
for (let t6 = 0; t6 < s2.length; t6++) o2.push(r2(s2[t6].trim(), e2));
|
|
5778
5786
|
return o2.join(";");
|
|
5779
|
-
} }), za = to._table,
|
|
5780
|
-
for (let t5 = 0; t5 <
|
|
5781
|
-
let e2 =
|
|
5782
|
-
|
|
5787
|
+
} }), za = to._table, ja = (t5) => 14 === t5 ? "Short Date" : za[t5] ?? null, Wa = [{ numberFormat: "General", formatType: os.General, primary: 1 }, { numberFormat: "0", formatType: os.Number, regMatch: /^0[.]{0,1}[0]*$/, args: { decimalPlaces: 0, separator: false } }, { numberFormat: "#,##0.00", formatType: os.Number, regMatch: /^#,##0[.]{0,1}[0]*$/, primary: 2, args: { decimalPlaces: 2, separator: true } }, { numberFormat: "#,##0_);(#,##0)", formatType: os.Number, args: { decimalPlaces: 0, separator: true } }, { numberFormat: "#,##0_);[Red](#,##0)", formatType: os.Number, args: { decimalPlaces: 0, separator: true } }, { numberFormat: "#,##0.00_);(#,##0.00)", formatType: os.Number, args: { decimalPlaces: 2, separator: true } }, { numberFormat: "#,##0.00_);[Red](#,##0.00)", formatType: os.Number, args: { decimalPlaces: 2, separator: true } }, { numberFormat: "$#,##0.00", formatType: os.Currency, primary: 3, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0_);($#,##0)", formatType: os.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0_);[Red]($#,##0)", formatType: os.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);($#,##0.00)", formatType: os.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);[Red]($#,##0.00)", formatType: os.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', primary: 4, formatType: os.Accounting }, { numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)', formatType: os.Accounting }, { numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', formatType: os.Accounting }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: os.Accounting }, { numberFormat: "Short Date", formatType: os.ShortDate, primary: 5 }, { numberFormat: "d-mmm-yy", formatType: os.MediumDate, primary: 5.5 }, { numberFormat: "Long Date", formatType: os.LongDate, primary: 6 }, { numberFormat: "h:mm", formatType: os.ShortTime, primary: 7 }, { numberFormat: "h:mm AM/PM", formatType: os.MediumTime, primary: 7.5 }, { numberFormat: "Long Time", formatType: os.LongTime, primary: 8 }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: os.Comma, primary: 9 }, { numberFormat: "0.00%", formatType: os.Percentage, primary: 10, args: { decimalPlaces: 2 }, regMatch: /^^[0#?]*[.]{0,1}[0#?]*%*$/ }, { numberFormat: "0%", formatType: os.Percentage, args: { decimalPlaces: 0 } }, { numberFormat: "# ?/?", formatType: os.Fraction, primary: 11 }, { numberFormat: "# ??/??", formatType: os.Fraction }, { numberFormat: "0.00E+00", formatType: os.Scientific, primary: 12, args: { decimalPlaces: 2 }, regMatch: /^[0#?]*[.]{0,1}[0#?]*E\+[0#?]*$/ }, { numberFormat: "##0.0E+0", formatType: os.Custom, args: { decimalPlaces: 0 } }, { numberFormat: "@", formatType: os.Text, primary: 13 }, { numberFormat: "d-mmm", formatType: os.Custom }, { numberFormat: "mmm-yy", formatType: os.Custom }, { numberFormat: "h:mm:ss", formatType: os.Custom }, { numberFormat: "m/d/yyyy h:mm", formatType: os.Custom }, { numberFormat: "mm:ss", formatType: os.Custom }, { numberFormat: "mm:ss.0", formatType: os.Custom }, { numberFormat: "[h]:mm:ss", formatType: os.Custom }], Ha = [{ numberFormat: "00000", formatType: os.Special, primary: 11 }, { numberFormat: "00000-0000", formatType: os.Special }, { numberFormat: "[<=9999999]###-####;(###) ###-####", formatType: os.Special }, { numberFormat: "000-00-0000", formatType: os.Special }], Va = /* @__PURE__ */ new Map(), $a = [];
|
|
5788
|
+
for (let t5 = 0; t5 < Wa.length; t5++) {
|
|
5789
|
+
let e2 = Wa[t5].numberFormat.toLowerCase();
|
|
5790
|
+
Va.set(e2, Wa[t5]), Wa[t5].regMatch && $a.unshift(Wa[t5]);
|
|
5783
5791
|
}
|
|
5784
5792
|
for (let t5 = 0; t5 < Ha.length; t5++) {
|
|
5785
5793
|
let e2 = Ha[t5].numberFormat.toLowerCase();
|
|
5786
|
-
|
|
5794
|
+
Va.set(e2, Ha[t5]);
|
|
5787
5795
|
}
|
|
5788
5796
|
const Ga = [], Ua = /* @__PURE__ */ new Map();
|
|
5789
|
-
|
|
5797
|
+
Va.forEach(function(t5, e2, n2) {
|
|
5790
5798
|
t5.primary && (Ga.push(t5), Ua.set(bt.textToKey(t5.formatType), t5.numberFormat));
|
|
5791
5799
|
}), Ga.sort(function(t5, e2) {
|
|
5792
5800
|
return t5.primary - e2.primary;
|
|
5793
5801
|
});
|
|
5794
|
-
const Ja =
|
|
5802
|
+
const Ja = Va.get(os.General.toLowerCase());
|
|
5795
5803
|
class qa {
|
|
5796
5804
|
lookupStyle(t5) {
|
|
5797
5805
|
if (!t5) return Ja;
|
|
5798
|
-
if ("number" == typeof t5 && (t5 =
|
|
5806
|
+
if ("number" == typeof t5 && (t5 = ja(t5)), !t5.toLowerCase) return console.warn("Invalid numberFormat", t5), Ja;
|
|
5799
5807
|
t5 = t5.toLowerCase();
|
|
5800
|
-
let e2 =
|
|
5808
|
+
let e2 = Va.get(t5);
|
|
5801
5809
|
if (e2) return e2;
|
|
5802
|
-
for (let n2 = 0; !e2 && n2 <
|
|
5803
|
-
t5.match(
|
|
5810
|
+
for (let n2 = 0; !e2 && n2 < $a.length; n2++) if ($a[n2].regMatch) {
|
|
5811
|
+
t5.match($a[n2].regMatch) && (e2 = $a[n2]);
|
|
5804
5812
|
}
|
|
5805
5813
|
return e2 || { numberFormat: t5, formatType: os.Custom };
|
|
5806
5814
|
}
|
|
@@ -6435,7 +6443,7 @@ const Dl = (t5, e2, n2, r2) => {
|
|
|
6435
6443
|
return e2 = i2, i2;
|
|
6436
6444
|
};
|
|
6437
6445
|
}, Pl = Object.freeze({ done: true, value: void 0 }), zl = Object.freeze({ next: () => Pl, [Symbol.iterator]: () => zl });
|
|
6438
|
-
var
|
|
6446
|
+
var jl;
|
|
6439
6447
|
Object.seal({ done: false, value: void 0 }), ((t5) => {
|
|
6440
6448
|
t5.isList = (t6) => !!t6 && !!t6.isIList, t5.isListLike = (t6) => !!t6 && ("number" == typeof t6.length && "function" == typeof t6.at), t5.fromArray = (t6, n2, r2, o2) => new e2(t6, n2, r2, o2);
|
|
6441
6449
|
class e2 {
|
|
@@ -6471,11 +6479,11 @@ Object.seal({ done: false, value: void 0 }), ((t5) => {
|
|
|
6471
6479
|
}
|
|
6472
6480
|
}
|
|
6473
6481
|
t5.ArrayList = e2;
|
|
6474
|
-
})(
|
|
6475
|
-
class
|
|
6482
|
+
})(jl || (jl = {}));
|
|
6483
|
+
class Wl {
|
|
6476
6484
|
constructor(t5) {
|
|
6477
6485
|
if (this._s = null, this._r = null, this._l = 0, t5 && t5.length > 0) {
|
|
6478
|
-
const e2 =
|
|
6486
|
+
const e2 = jl.isList(t5) && !Array.isArray(t5) ? t5 : new jl.ArrayList(t5);
|
|
6479
6487
|
this._s = e2, this._l = t5.length;
|
|
6480
6488
|
}
|
|
6481
6489
|
}
|
|
@@ -6537,15 +6545,15 @@ class jl {
|
|
|
6537
6545
|
}
|
|
6538
6546
|
const u2 = { next: (t6) => {
|
|
6539
6547
|
let h3, u3 = c2 + l2;
|
|
6540
|
-
return void 0 !== t6 && (t6 < 0 && (t6 = e2 + t6), u3 = t6), u3 < i2 || u3 > a2 || r2 && (u3 = r2(u3, !s2), u3 < i2 || u3 > a2) ? Pl : (h3 = o2(u3), c2 = u3, n2 ? (
|
|
6548
|
+
return void 0 !== t6 && (t6 < 0 && (t6 = e2 + t6), u3 = t6), u3 < i2 || u3 > a2 || r2 && (u3 = r2(u3, !s2), u3 < i2 || u3 > a2) ? Pl : (h3 = o2(u3), c2 = u3, n2 ? ($l.done = false, $l.value[0] = u3, $l.value[1] = h3, $l) : { done: false, value: [c2, h3] });
|
|
6541
6549
|
}, [Symbol.iterator]: () => u2 };
|
|
6542
6550
|
return u2;
|
|
6543
6551
|
}
|
|
6544
6552
|
slice(t5, e2 = void 0) {
|
|
6545
6553
|
const n2 = this._r ?? Hl(this._s);
|
|
6546
|
-
if (!n2) return
|
|
6554
|
+
if (!n2) return Vl;
|
|
6547
6555
|
const r2 = this.length;
|
|
6548
|
-
if (t5 = Math.min(Math.max(0, t5), r2), (e2 = Math.min(Math.max(0, e2 ?? r2), r2)) - t5 <= 0) return
|
|
6556
|
+
if (t5 = Math.min(Math.max(0, t5), r2), (e2 = Math.min(Math.max(0, e2 ?? r2), r2)) - t5 <= 0) return Vl;
|
|
6549
6557
|
if (t5 <= 0 && e2 >= r2) return this;
|
|
6550
6558
|
const o2 = t5, s2 = e2 - 1;
|
|
6551
6559
|
let i2 = [], a2 = 0;
|
|
@@ -6568,14 +6576,14 @@ class jl {
|
|
|
6568
6576
|
const c2 = Math.max(0, o2 - l3), h2 = Math.max(0, r3 - s2), u2 = h2 + c2, d2 = e3.value;
|
|
6569
6577
|
i2.push({ min: l3 - a2, max: r3 - u2 - a2, value: { s: d2.s + c2, e: d2.e - h2, v: d2.v } }), a2 += u2;
|
|
6570
6578
|
}
|
|
6571
|
-
const l2 = new
|
|
6579
|
+
const l2 = new Wl();
|
|
6572
6580
|
return l2._r = i2, l2._l = s2 - o2 + 1, l2;
|
|
6573
6581
|
}
|
|
6574
6582
|
concat(t5) {
|
|
6575
6583
|
if (!t5) return this;
|
|
6576
|
-
if (!
|
|
6584
|
+
if (!jl.isListLike(t5)) throw new Error("Value must be IListLike");
|
|
6577
6585
|
const e2 = this._l;
|
|
6578
|
-
if (0 === e2) return t5.isIReadableList ? t5 : 0 === t5.length ?
|
|
6586
|
+
if (0 === e2) return t5.isIReadableList ? t5 : 0 === t5.length ? Vl : new Wl(t5);
|
|
6579
6587
|
const n2 = t5, r2 = t5.length;
|
|
6580
6588
|
if (0 === r2) return this;
|
|
6581
6589
|
const o2 = this._r ?? Hl(this._s), s2 = o2.slice(0, o2.length - 1);
|
|
@@ -6594,7 +6602,7 @@ class jl {
|
|
|
6594
6602
|
const o3 = l2 + 1, d3 = o3 + r3;
|
|
6595
6603
|
i2 = { min: o3, max: d3, value: t6 }, a2 = o3, l2 = d3, c2 = i2 ? i2.value : null, h2 = c2 ? c2.v : null, u2 = c2 ? c2.e - c2.s : 0;
|
|
6596
6604
|
};
|
|
6597
|
-
if (t5 instanceof
|
|
6605
|
+
if (t5 instanceof Wl) {
|
|
6598
6606
|
const e3 = t5._s;
|
|
6599
6607
|
if (e3) d2({ s: 0, e: e3.length - 1, v: e3 });
|
|
6600
6608
|
else {
|
|
@@ -6605,7 +6613,7 @@ class jl {
|
|
|
6605
6613
|
}
|
|
6606
6614
|
} else d2({ s: 0, e: r2 - 1, v: n2 });
|
|
6607
6615
|
s2.push(i2);
|
|
6608
|
-
const g2 = new
|
|
6616
|
+
const g2 = new Wl(), m2 = e2 + r2;
|
|
6609
6617
|
return 1 === s2.length && 0 === s2[0].min && s2[0].max === m2 - 1 ? g2._s = s2[0].value.v : g2._r = s2, g2._l = m2, g2;
|
|
6610
6618
|
}
|
|
6611
6619
|
get length() {
|
|
@@ -6635,7 +6643,7 @@ class jl {
|
|
|
6635
6643
|
return e2;
|
|
6636
6644
|
}
|
|
6637
6645
|
}
|
|
6638
|
-
const Hl = (t5) => [{ min: 0, max: t5.length - 1, value: { s: 0, e: t5.length - 1, v: t5 } }],
|
|
6646
|
+
const Hl = (t5) => [{ min: 0, max: t5.length - 1, value: { s: 0, e: t5.length - 1, v: t5 } }], Vl = new Wl(), $l = Object.seal({ done: false, value: [-1, null] }), Gl = Object.freeze({ reverse: false, bounds: { min: 0, max: Number.MAX_SAFE_INTEGER }, skipRuns: null, reuseResult: $l }), Ul = 4;
|
|
6639
6647
|
var Jl;
|
|
6640
6648
|
((t5) => {
|
|
6641
6649
|
const e2 = (t6, e3) => {
|
|
@@ -7018,7 +7026,7 @@ class Xl {
|
|
|
7018
7026
|
if (u2.editRange(ic, ac, true, (t6, e3, n3) => {
|
|
7019
7027
|
const r3 = t6.min, u3 = t6.max;
|
|
7020
7028
|
return r3 < o2 && u3 + 1 >= o2 && (a2 = r3, c2 = e3), r3 - 1 <= s2 && u3 > s2 && (l2 = r3, h2 = e3), i2 -= u3 - r3 + 1, d2 = true, Ze.DeleteValue;
|
|
7021
|
-
}), n2 || void 0 === r2 || (n2 = new
|
|
7029
|
+
}), n2 || void 0 === r2 || (n2 = new Wl([r2])), n2) {
|
|
7022
7030
|
let t6 = n2;
|
|
7023
7031
|
d2 = true;
|
|
7024
7032
|
let e3 = o2;
|
|
@@ -7027,12 +7035,12 @@ class Xl {
|
|
|
7027
7035
|
return this._updateCount(i2), d2;
|
|
7028
7036
|
}
|
|
7029
7037
|
setAt(t5, e2) {
|
|
7030
|
-
if (void 0 === t5) throw new
|
|
7038
|
+
if (void 0 === t5) throw new jt();
|
|
7031
7039
|
return this._validateBounds(t5, t5), this._update(t5, 1, null, e2);
|
|
7032
7040
|
}
|
|
7033
7041
|
setRunAt(t5, e2) {
|
|
7034
7042
|
if (!e2 || 0 === e2.length) return false;
|
|
7035
|
-
if (void 0 === t5 || !e2.length) throw new
|
|
7043
|
+
if (void 0 === t5 || !e2.length) throw new jt();
|
|
7036
7044
|
const n2 = e2.length;
|
|
7037
7045
|
return this._validateBounds(t5, t5 + n2 - 1), this._update(t5, n2, e2);
|
|
7038
7046
|
}
|
|
@@ -7435,13 +7443,13 @@ class Mc {
|
|
|
7435
7443
|
if ((i2 ? t6.colEnd < e2.colStart : t6.rowEnd < e2.rowStart) && !y2) return;
|
|
7436
7444
|
const r3 = zc(e2, t6, i2 ? k.Column : k.Row), l3 = t6.group;
|
|
7437
7445
|
if (E2 && !l3 && e2.colStart <= t6.colStart && e2.rowStart <= t6.rowStart && e2.colEnd >= t6.colEnd && e2.rowEnd >= t6.rowEnd) {
|
|
7438
|
-
const n3 =
|
|
7446
|
+
const n3 = jc(t6, null, { after: null, before: t6, intersect: e2, isSplit: r3, orientation: a2, amount: c2 }, C2, b2, s2, false);
|
|
7439
7447
|
if (void 0 === n3) return;
|
|
7440
7448
|
if (null === n3) return d2 = Y.unionRanges(d2, t6), T2 && T2.push(t6), void h2.push(t6);
|
|
7441
7449
|
}
|
|
7442
7450
|
let g3 = { ...t6 };
|
|
7443
7451
|
n2 === v.Right ? e2.colStart <= g3.colStart ? (g3.colStart += c2, g3.colEnd += c2) : g3.colEnd += c2 : n2 === v.Left ? e2.colStart < g3.colStart ? (g3.colStart = Math.max(g3.colStart + c2, e2.colStart), g3.colEnd = Math.max(g3.colEnd + c2, g3.colStart - 1)) : g3.colEnd += Math.max(c2, e2.colStart - g3.colEnd - 1) : n2 === v.Down ? e2.rowStart <= g3.rowStart ? (g3.rowStart += c2, g3.rowEnd += c2) : g3.rowEnd += c2 : n2 === v.Up && (e2.rowStart < g3.rowStart ? (g3.rowStart = Math.max(g3.rowStart + c2, e2.rowStart), g3.rowEnd = Math.max(g3.rowEnd + c2, e2.rowStart - 1)) : g3.rowEnd += Math.max(c2, e2.rowStart - g3.rowEnd - 1)), (g3.colEnd < g3.colStart || g3.rowEnd < g3.rowStart) && (g3 = null);
|
|
7444
|
-
const m3 =
|
|
7452
|
+
const m3 = jc(t6, g3, { after: g3, before: t6, intersect: e2, isSplit: r3, orientation: a2, amount: c2 }, C2, b2, s2, w2 && c2 > 0);
|
|
7445
7453
|
if (void 0 === m3) return;
|
|
7446
7454
|
const _3 = null === m3 ? [g3] : m3, S3 = _3.length;
|
|
7447
7455
|
if (_3[0] !== t6 || 1 !== S3) {
|
|
@@ -7591,7 +7599,7 @@ class Mc {
|
|
|
7591
7599
|
return this.load(t5), this._options?.updateEntryOptions?.onGroupUpdate?.(t5, e2), this;
|
|
7592
7600
|
}
|
|
7593
7601
|
createCopiedEntries(t5, e2, n2, r2, o2) {
|
|
7594
|
-
return
|
|
7602
|
+
return Wc(this, t5, e2, n2, r2, o2, this._options?.updateEntryOptions?.getSplit ?? Bc);
|
|
7595
7603
|
}
|
|
7596
7604
|
_updateGroupedEntries(t5, e2) {
|
|
7597
7605
|
const n2 = [], r2 = [], o2 = /* @__PURE__ */ new Map(), s2 = t5.values();
|
|
@@ -7691,7 +7699,7 @@ function kc(t5, e2) {
|
|
|
7691
7699
|
}
|
|
7692
7700
|
function Fc(t5, e2, n2 = null, r2 = true) {
|
|
7693
7701
|
if (Y.isEqualRanges(t5, e2)) return [{ ...t5 }];
|
|
7694
|
-
const o2 = Y.intersectRanges(t5, e2,
|
|
7702
|
+
const o2 = Y.intersectRanges(t5, e2, Vc);
|
|
7695
7703
|
if (!o2) return null;
|
|
7696
7704
|
const s2 = [], i2 = t5.uuid;
|
|
7697
7705
|
let a2 = t5;
|
|
@@ -7814,7 +7822,7 @@ const zc = (t5, e2, n2 = k.Both) => {
|
|
|
7814
7822
|
let o2 = n2 === k.Column, s2 = n2 === k.Row;
|
|
7815
7823
|
return n2 === k.Both && (o2 = s2 = true), !(!o2 || !r2(true)) || !(!s2 || !r2(false));
|
|
7816
7824
|
};
|
|
7817
|
-
function
|
|
7825
|
+
function jc(t5, e2, n2, r2, o2, s2, i2) {
|
|
7818
7826
|
const a2 = n2.orientation === N.Column, l2 = n2.intersect, c2 = (e3, c3) => {
|
|
7819
7827
|
let h2 = e3.value, u2 = null, d2 = c3.after;
|
|
7820
7828
|
if (i2) {
|
|
@@ -7857,7 +7865,7 @@ function Wc(t5, e2, n2, r2, o2, s2, i2) {
|
|
|
7857
7865
|
}
|
|
7858
7866
|
return c2(t5, n2);
|
|
7859
7867
|
}
|
|
7860
|
-
const
|
|
7868
|
+
const Wc = (t5, e2, n2, r2, o2, s2, i2) => {
|
|
7861
7869
|
const a2 = n2.colEnd - n2.colStart + 1, l2 = n2.rowEnd - n2.rowStart + 1, c2 = n2.colStart - e2.colStart, h2 = n2.rowStart - e2.rowStart, u2 = r2?.transpose ?? false;
|
|
7862
7870
|
let d2 = 1, g2 = 1;
|
|
7863
7871
|
u2 ? (d2 = e2.rowEnd - e2.rowStart + 1, g2 = e2.colEnd - e2.colStart + 1) : (d2 = e2.colEnd - e2.colStart + 1, g2 = e2.rowEnd - e2.rowStart + 1);
|
|
@@ -7893,7 +7901,7 @@ const jc = (t5, e2, n2, r2, o2, s2, i2) => {
|
|
|
7893
7901
|
}
|
|
7894
7902
|
}
|
|
7895
7903
|
}, v.Right), { inserts: p2, removes: _2 };
|
|
7896
|
-
}, Hc = [null, null],
|
|
7904
|
+
}, Hc = [null, null], Vc = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, $c = (t5 = Number.MIN_SAFE_INTEGER, e2 = Number.MIN_SAFE_INTEGER, n2 = Number.MAX_SAFE_INTEGER, r2 = Number.MAX_SAFE_INTEGER, o2, s2, i2) => {
|
|
7897
7905
|
if (s2 && (t5 !== Number.MIN_SAFE_INTEGER && t5 < s2.colStart || e2 !== Number.MIN_SAFE_INTEGER && e2 < s2.rowStart || n2 !== Number.MAX_SAFE_INTEGER && n2 > s2.colEnd || r2 !== Number.MAX_SAFE_INTEGER && r2 > s2.rowEnd)) throw new Pt();
|
|
7898
7906
|
return i2 && (t5 = Math.max(i2.colStart, t5), e2 = Math.max(i2.rowStart, e2), n2 = Math.min(i2.colEnd, n2), r2 = Math.min(i2.rowEnd, r2), n2 < t5 || r2 < e2) ? null : (Uc.majorStart = o2 ? t5 : e2, Uc.majorEnd = o2 ? n2 : r2, Uc.minorStart = o2 ? e2 : t5, Uc.minorEnd = o2 ? r2 : n2, Uc);
|
|
7899
7907
|
}, Gc = (t5, e2, n2) => {
|
|
@@ -8162,7 +8170,7 @@ const Yc = "Must be an array of arrays.", Qc = (t5, e2, n2) => {
|
|
|
8162
8170
|
};
|
|
8163
8171
|
class oh {
|
|
8164
8172
|
constructor(t5) {
|
|
8165
|
-
this._major = null, this._dataCoords = null, this._count = 0, this._isColumn = true, this._lastMajor = Number.MIN_SAFE_INTEGER, this._lastMinorSpan = null, this._maxCoords = null, this._isShared = false, this._options = { orientation: N.Row, ...t5 }, this._isColumn = (t5?.orientation ?? N.Column) === N.Column, t5?.maxCoords && (this._maxCoords = Object.freeze({ colStart: Math.max(0, t5.maxCoords.colStart ?? 0), rowStart: Math.max(0, t5.maxCoords.rowStart ?? 0), colEnd: Math.min(Number.MAX_SAFE_INTEGER, t5.maxCoords.colEnd ?? Number.MAX_SAFE_INTEGER), rowEnd: Math.min(Number.MAX_SAFE_INTEGER, t5.maxCoords.rowEnd ?? Number.MAX_SAFE_INTEGER) })), this._createRun = t5?.createRun ?? ((t6) => new
|
|
8173
|
+
this._major = null, this._dataCoords = null, this._count = 0, this._isColumn = true, this._lastMajor = Number.MIN_SAFE_INTEGER, this._lastMinorSpan = null, this._maxCoords = null, this._isShared = false, this._options = { orientation: N.Row, ...t5 }, this._isColumn = (t5?.orientation ?? N.Column) === N.Column, t5?.maxCoords && (this._maxCoords = Object.freeze({ colStart: Math.max(0, t5.maxCoords.colStart ?? 0), rowStart: Math.max(0, t5.maxCoords.rowStart ?? 0), colEnd: Math.min(Number.MAX_SAFE_INTEGER, t5.maxCoords.colEnd ?? Number.MAX_SAFE_INTEGER), rowEnd: Math.min(Number.MAX_SAFE_INTEGER, t5.maxCoords.rowEnd ?? Number.MAX_SAFE_INTEGER) })), this._createRun = t5?.createRun ?? ((t6) => new Wl(t6)), this._optionsMinor = {}, this._major = new Xl({ nodeSize: sh });
|
|
8166
8174
|
}
|
|
8167
8175
|
getRuns(t5) {
|
|
8168
8176
|
const e2 = this._isColumn, n2 = this._maxCoords, r2 = this.getCoords();
|
|
@@ -8170,7 +8178,7 @@ class oh {
|
|
|
8170
8178
|
const o2 = t5?.bounds;
|
|
8171
8179
|
let s2, i2;
|
|
8172
8180
|
if (o2) {
|
|
8173
|
-
const t6 =
|
|
8181
|
+
const t6 = $c(o2?.colStart ?? Number.MIN_SAFE_INTEGER, o2?.rowStart ?? Number.MIN_SAFE_INTEGER, o2?.colEnd ?? Number.MAX_SAFE_INTEGER, o2?.rowEnd ?? Number.MAX_SAFE_INTEGER, e2, n2, r2);
|
|
8174
8182
|
if (!t6) return zl;
|
|
8175
8183
|
s2 = { bounds: { min: t6.majorStart, max: t6.majorEnd } }, i2 = { bounds: { min: t6.minorStart, max: t6.minorEnd } };
|
|
8176
8184
|
}
|
|
@@ -8195,14 +8203,14 @@ class oh {
|
|
|
8195
8203
|
entries(t5) {
|
|
8196
8204
|
const e2 = this._isColumn;
|
|
8197
8205
|
let n2 = e2, r2 = true;
|
|
8198
|
-
const o2 = this._maxCoords, s2 = this.getCoords(), i2 =
|
|
8206
|
+
const o2 = this._maxCoords, s2 = this.getCoords(), i2 = $c(Number.MIN_SAFE_INTEGER, Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER, e2, o2, s2);
|
|
8199
8207
|
if (!i2) return zl;
|
|
8200
8208
|
let a2, l2, c2, h2 = i2.majorStart, u2 = i2.majorEnd, d2 = i2.minorStart, g2 = i2.minorEnd, m2 = false;
|
|
8201
8209
|
if (t5) {
|
|
8202
8210
|
t5?.orientation && (n2 = t5?.orientation === N.Column, r2 = e2 === n2);
|
|
8203
8211
|
const i3 = t5?.bounds;
|
|
8204
8212
|
if (i3) {
|
|
8205
|
-
const t6 =
|
|
8213
|
+
const t6 = $c(i3.colStart, i3.rowStart, i3.colEnd, i3.rowEnd, e2, o2, s2);
|
|
8206
8214
|
if (!t6) return zl;
|
|
8207
8215
|
h2 = t6.majorStart, u2 = t6.majorEnd, d2 = t6.minorStart, g2 = t6.minorEnd;
|
|
8208
8216
|
}
|
|
@@ -8307,12 +8315,12 @@ class oh {
|
|
|
8307
8315
|
let o2 = r2[0], s2 = o2, i2 = [r2[1]];
|
|
8308
8316
|
for (let e3 = 1; e3 < t5.length; e3++) {
|
|
8309
8317
|
const r3 = t5[e3], a2 = r3[0], l2 = r3[1];
|
|
8310
|
-
a2 === s2 + 1 ? i2.push(l2) : (n2.setRunAt(o2, new
|
|
8318
|
+
a2 === s2 + 1 ? i2.push(l2) : (n2.setRunAt(o2, new Wl(i2)), o2 = a2, i2 = [l2]), s2 = a2;
|
|
8311
8319
|
}
|
|
8312
|
-
i2.length > 0 && n2.setRunAt(o2, new
|
|
8320
|
+
i2.length > 0 && n2.setRunAt(o2, new Wl(i2));
|
|
8313
8321
|
}
|
|
8314
8322
|
setValues(t5) {
|
|
8315
|
-
if (!t5) throw new
|
|
8323
|
+
if (!t5) throw new jt();
|
|
8316
8324
|
if (0 === t5.length) return this;
|
|
8317
8325
|
const e2 = (t5 = t5.sort(Jc))[0][0], n2 = t5[t5.length - 1][0];
|
|
8318
8326
|
let r2 = Number.MIN_SAFE_INTEGER, o2 = Number.MAX_SAFE_INTEGER;
|
|
@@ -8386,7 +8394,7 @@ class oh {
|
|
|
8386
8394
|
delete(t5) {
|
|
8387
8395
|
const e2 = this._count;
|
|
8388
8396
|
if (!t5) return this.clear(), e2 > 0;
|
|
8389
|
-
const n2 = this._isColumn, r2 = this._maxCoords, o2 = this.getCoords(), s2 =
|
|
8397
|
+
const n2 = this._isColumn, r2 = this._maxCoords, o2 = this.getCoords(), s2 = $c(t5.colStart, t5.rowStart, t5.colEnd, t5.rowEnd, n2, r2, o2);
|
|
8390
8398
|
if (!s2 || 0 === e2) return false;
|
|
8391
8399
|
if (Y.isRangeWithinRange(o2, t5)) return this.clear(), e2 > 0;
|
|
8392
8400
|
const i2 = s2.majorStart, a2 = s2.majorEnd, l2 = s2.minorStart, c2 = s2.minorEnd;
|
|
@@ -8434,14 +8442,14 @@ class oh {
|
|
|
8434
8442
|
return m2 ? (this._count += f2, this._dataCoords = null, true) : 0 === b2 ? (this._count += f2, 0 !== f2) : (this._updateCountAndCoords(f2, h2, d2, u2, g2, true), 0 !== f2);
|
|
8435
8443
|
}
|
|
8436
8444
|
shift(t5, e2) {
|
|
8437
|
-
if (!t5 || !e2) throw new
|
|
8438
|
-
const n2 = this._isColumn, r2 = this._maxCoords, o2 = e2 === v.Right || e2 === v.Down, s2 = e2 === v.Left || e2 === v.Right, i2 =
|
|
8445
|
+
if (!t5 || !e2) throw new jt();
|
|
8446
|
+
const n2 = this._isColumn, r2 = this._maxCoords, o2 = e2 === v.Right || e2 === v.Down, s2 = e2 === v.Left || e2 === v.Right, i2 = $c(t5.colStart, t5.rowStart, t5.colEnd, t5.rowEnd, n2, r2, t5);
|
|
8439
8447
|
if (!i2) return false;
|
|
8440
8448
|
const a2 = i2.majorStart, l2 = i2.majorEnd, c2 = i2.minorStart, h2 = i2.minorEnd, u2 = this.getCoords();
|
|
8441
8449
|
if (!u2) return false;
|
|
8442
8450
|
const d2 = n2 ? u2.colStart : u2.rowStart, g2 = n2 ? u2.colEnd : u2.rowEnd, m2 = n2 ? u2.rowStart : u2.colStart, f2 = n2 ? u2.rowEnd : u2.colEnd, p2 = c2 <= m2 && h2 >= f2, _2 = n2 === s2;
|
|
8443
8451
|
if (_2 && p2 || !_2 && (a2 <= d2 && l2 >= g2)) {
|
|
8444
|
-
if (
|
|
8452
|
+
if (!$c(u2.colStart, u2.rowStart, u2.colEnd + (o2 && s2 ? t5.colEnd - t5.colStart + 1 : 0), u2.rowEnd + (o2 && !s2 ? t5.rowEnd - t5.rowStart + 1 : 0), n2, r2)) return false;
|
|
8445
8453
|
}
|
|
8446
8454
|
if (_2 && a2 > g2 || !_2 && c2 > f2) return false;
|
|
8447
8455
|
let S2 = _2 ? l2 - a2 + 1 : h2 - c2 + 1;
|
|
@@ -8530,10 +8538,10 @@ class oh {
|
|
|
8530
8538
|
const a2 = Y.cellToRange(e2);
|
|
8531
8539
|
a2.colEnd = n2.colEnd - n2.colStart + e2.colIndex, a2.rowEnd = n2.rowEnd - n2.rowStart + e2.rowIndex;
|
|
8532
8540
|
const l2 = this._isColumn, c2 = this._maxCoords, h2 = this.getCoords();
|
|
8533
|
-
let u2, d2 =
|
|
8541
|
+
let u2, d2 = $c(n2.colStart ?? Number.MIN_SAFE_INTEGER, n2.rowStart ?? Number.MIN_SAFE_INTEGER, n2.colEnd ?? Number.MAX_SAFE_INTEGER, n2.rowEnd ?? Number.MAX_SAFE_INTEGER, l2, c2, h2);
|
|
8534
8542
|
d2 = { ...d2 };
|
|
8535
8543
|
const g2 = o2 !== N.Row, m2 = t5.getMaxCoords();
|
|
8536
|
-
u2 =
|
|
8544
|
+
u2 = $c(a2?.colStart ?? Number.MIN_SAFE_INTEGER, a2?.rowStart ?? Number.MIN_SAFE_INTEGER, a2?.colEnd ?? Number.MAX_SAFE_INTEGER, a2?.rowEnd ?? Number.MAX_SAFE_INTEGER, g2, m2), u2 = { ...u2 };
|
|
8537
8545
|
const f2 = u2.majorStart - d2.majorStart, p2 = u2.minorStart - d2.minorStart, _2 = r2 === o2 ? new dn.Builder() : new dn.TransposedBuilder();
|
|
8538
8546
|
for (; !i2.done; ) {
|
|
8539
8547
|
const t6 = i2.value[0];
|
|
@@ -8856,7 +8864,7 @@ class Ph {
|
|
|
8856
8864
|
let o2 = this._values.getValueAt(t5 + r2.rowStart, e2 + r2.colStart) ?? null;
|
|
8857
8865
|
void 0 === o2 && (o2 = null);
|
|
8858
8866
|
const s2 = n2?.type, i2 = void 0 !== s2 ? s2 : this._type;
|
|
8859
|
-
return i2 && (o2 = qh(o2,
|
|
8867
|
+
return i2 && (o2 = qh(o2, $h(o2, true), i2)), o2;
|
|
8860
8868
|
}
|
|
8861
8869
|
_applyBuilder(t5, e2, n2 = false) {
|
|
8862
8870
|
if (!e2) return t5;
|
|
@@ -9006,7 +9014,7 @@ class Ph {
|
|
|
9006
9014
|
if (t5.isIRange) u2 = t5;
|
|
9007
9015
|
else {
|
|
9008
9016
|
const e3 = this._values.clone();
|
|
9009
|
-
e3.setValueAt(0, 0, t5), u2 = new Ph(e3, Y.EmptyRange,
|
|
9017
|
+
e3.setValueAt(0, 0, t5), u2 = new Ph(e3, Y.EmptyRange, $h(t5, true));
|
|
9010
9018
|
}
|
|
9011
9019
|
const d2 = u2, g2 = this.getWidth(), m2 = this.getHeight(), f2 = d2.getWidth(), p2 = d2.getHeight();
|
|
9012
9020
|
let _2 = Math.min(g2, f2), S2 = Math.min(m2, p2), w2 = Math.max(g2, f2), y2 = Math.max(m2, p2);
|
|
@@ -9049,11 +9057,11 @@ class Ph {
|
|
|
9049
9057
|
if (E2 && w2 > _2 || y2 > S2) {
|
|
9050
9058
|
const t6 = this._values.clone();
|
|
9051
9059
|
if (this._applyBuilder(t6, F2), w2 > _2) {
|
|
9052
|
-
const e3 =
|
|
9060
|
+
const e3 = $c(M2 + _2, T2, M2 + w2 - 1, T2 + y2 - 1, x2), n3 = Qc(E2, e3, x2);
|
|
9053
9061
|
t6.setValues(n3.tuples);
|
|
9054
9062
|
}
|
|
9055
9063
|
if (y2 > S2) {
|
|
9056
|
-
const e3 =
|
|
9064
|
+
const e3 = $c(M2, T2 + S2, M2 + w2 - 1, T2 + y2 - 1, x2), n3 = Qc(E2, e3, x2);
|
|
9057
9065
|
t6.setValues(n3.tuples);
|
|
9058
9066
|
}
|
|
9059
9067
|
D2 = new Ph(t6, { colStart: M2, rowStart: T2, colEnd: M2 + w2 - 1, rowEnd: T2 + y2 - 1 }, this._type);
|
|
@@ -9062,7 +9070,7 @@ class Ph {
|
|
|
9062
9070
|
}
|
|
9063
9071
|
_fill(t5, e2, n2) {
|
|
9064
9072
|
if (null === n2) return void t5.delete(e2);
|
|
9065
|
-
const r2 = t5.getOrientation() === i.Orientation.Column, o2 =
|
|
9073
|
+
const r2 = t5.getOrientation() === i.Orientation.Column, o2 = $c(e2.colStart, e2.rowStart, e2.colEnd, e2.rowEnd, r2), s2 = Qc(n2, o2, r2);
|
|
9066
9074
|
t5.setValues(s2.tuples);
|
|
9067
9075
|
}
|
|
9068
9076
|
_validateCoords(t5) {
|
|
@@ -9167,7 +9175,7 @@ class Ph {
|
|
|
9167
9175
|
let c2 = l2;
|
|
9168
9176
|
if (null == c2) c2 = r2;
|
|
9169
9177
|
else if (n2 && (s2 || !a2)) {
|
|
9170
|
-
let t7 =
|
|
9178
|
+
let t7 = $h(c2, true), e4 = t7 !== n2;
|
|
9171
9179
|
if (e4 && (s2 && (c2 = qh(c2, t7, n2, i2), e4 = c2?.isFormulaError), e4 && !a2)) continue;
|
|
9172
9180
|
}
|
|
9173
9181
|
return c2 === l2 ? t6 : { done: false, value: [e3[0], c2] };
|
|
@@ -9185,7 +9193,7 @@ class Ph {
|
|
|
9185
9193
|
if (!n2) {
|
|
9186
9194
|
e2.includeEmpty = false, e2.reverse = true;
|
|
9187
9195
|
const t6 = this.entries(e2).next();
|
|
9188
|
-
if (t6.done) return
|
|
9196
|
+
if (t6.done) return jh;
|
|
9189
9197
|
const n3 = t6.value.coords;
|
|
9190
9198
|
e2.bounds.colEnd = n3.colIndex, e2.bounds.rowEnd = n3.rowIndex, e2.includeEmpty = true, e2.reverse = false;
|
|
9191
9199
|
}
|
|
@@ -9253,7 +9261,7 @@ class Ph {
|
|
|
9253
9261
|
return true;
|
|
9254
9262
|
}
|
|
9255
9263
|
}
|
|
9256
|
-
const zh = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGER, colEnd: Number.MAX_SAFE_INTEGER, rowEnd: Number.MAX_SAFE_INTEGER },
|
|
9264
|
+
const zh = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGER, colEnd: Number.MAX_SAFE_INTEGER, rowEnd: Number.MAX_SAFE_INTEGER }, jh = Object.freeze([Object.freeze([null])]), Wh = Object.freeze({ colStart: 0, rowStart: 0, colEnd: Math.pow(2, 14) - 1, rowEnd: Math.pow(2, 20) - 1 }), Hh = Object.freeze({ colIndex: 0, rowIndex: 0 }), Vh = () => Wh, $h = (t5, e2 = false) => "number" == typeof t5 ? isNaN(t5) || t5 === 1 / 0 || t5 === -1 / 0 ? s.Error : s.Number : "string" == typeof t5 ? s.String : "boolean" == typeof t5 ? s.Boolean : t5?.isFormulaError ? s.Error : null === t5 ? s.Null : bt.isObject(t5) && t5.hasOwnProperty("type") && "string" == typeof t5.type ? s.RichData : e2 && Ms(t5) ? "Date" : void 0 === t5 ? (console.warn("undefined"), s.Null) : null, Gh = /* @__PURE__ */ new Map([[s.Null, "any"], [s.Number, "number"], [s.String, "string"], [s.Boolean, "boolean"], [s.Error, "FormulaError"], [s.RichData, "richData"], ["*", "Scalar"]]), Uh = /* @__PURE__ */ new Map([["p", "IReferenceRange"], ["r", "IRange"]]), Jh = { orientation: i.Orientation.Row }, qh = (t5, e2, n2 = s.Number, r2 = false, o2 = false) => {
|
|
9257
9265
|
if (e2 === n2 || !n2) return e2 === s.Number && (t5 = Qh(t5, null, "number")), t5;
|
|
9258
9266
|
if (n2 === s.Number) {
|
|
9259
9267
|
switch (e2) {
|
|
@@ -9338,7 +9346,7 @@ const zh = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
|
|
|
9338
9346
|
if (n3 instanceof l.Value) return n3;
|
|
9339
9347
|
} else {
|
|
9340
9348
|
if (r2) {
|
|
9341
|
-
if (i3 = qh(i3,
|
|
9349
|
+
if (i3 = qh(i3, $h(i3, true), r2, s2), s2) continue;
|
|
9342
9350
|
if (i3 instanceof l.Value) return i3;
|
|
9343
9351
|
}
|
|
9344
9352
|
e2.push(i3);
|
|
@@ -9361,7 +9369,7 @@ const zh = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
|
|
|
9361
9369
|
})(n2.values({ type: r2, coerce: true, includeMistyped: !s2, ...Jh }), e2);
|
|
9362
9370
|
}
|
|
9363
9371
|
if (r2) {
|
|
9364
|
-
if (n2 = qh(n2,
|
|
9372
|
+
if (n2 = qh(n2, $h(n2, true), r2, null !== o2), s2) return;
|
|
9365
9373
|
if (n2 instanceof l.Value) return n2;
|
|
9366
9374
|
}
|
|
9367
9375
|
e2.push(n2);
|
|
@@ -9385,7 +9393,7 @@ const zh = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
|
|
|
9385
9393
|
const s2 = t7.length, i3 = new Array(s2);
|
|
9386
9394
|
for (let e4 = 0; e4 < s2; e4++) {
|
|
9387
9395
|
let n3 = t7[e4];
|
|
9388
|
-
if (r2 && (n3 = qh(n3,
|
|
9396
|
+
if (r2 && (n3 = qh(n3, $h(n3, true), r2)), n3 instanceof l.Value) return n3;
|
|
9389
9397
|
i3[e4] = n3;
|
|
9390
9398
|
}
|
|
9391
9399
|
o3[e3] = i3;
|
|
@@ -9395,7 +9403,7 @@ const zh = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
|
|
|
9395
9403
|
} else {
|
|
9396
9404
|
if (a2) r2 && a2.getScalarType() !== r2 && (a2 = a2.toType(r2));
|
|
9397
9405
|
else try {
|
|
9398
|
-
if (!i2 && (n2 = Qh(n2), r2 && (n2 = qh(n2,
|
|
9406
|
+
if (!i2 && (n2 = Qh(n2), r2 && (n2 = qh(n2, $h(n2, true), r2, true), n2?.isFormulaError && r2 !== s.Error))) return e2.push(n2), n2;
|
|
9399
9407
|
a2 = t5.getRange(n2), r2 && (a2 = a2.toType(r2));
|
|
9400
9408
|
} catch (t6) {
|
|
9401
9409
|
return t6;
|
|
@@ -9415,7 +9423,7 @@ const zh = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
|
|
|
9415
9423
|
}, Zh = (t5, e2, n2, r2) => {
|
|
9416
9424
|
let o2;
|
|
9417
9425
|
o2 = Array.isArray(t5) ? Array.isArray(t5[0]) ? t5 : [t5] : [[t5]], e2 || (e2 = new oh({ orientation: i.Orientation.Column }));
|
|
9418
|
-
const s2 = e2.getOrientation() === i.Orientation.Column, a2 = Zc(o2, s2,
|
|
9426
|
+
const s2 = e2.getOrientation() === i.Orientation.Column, a2 = Zc(o2, s2, $c(n2?.colStart ?? 0, n2?.rowStart ?? 0, void 0, void 0, s2), true), l2 = Gc(a2.bounds, s2);
|
|
9419
9427
|
e2.setValues(a2.tuples);
|
|
9420
9428
|
return new Ph(e2, l2, r2, !n2);
|
|
9421
9429
|
}, tu = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), eu = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), nu = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), ru = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), ou = /\s+/g, su = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, iu = /[\uE000-\uF8FF]/g, au = "#REF!", lu = Math.pow(2, 14), cu = Math.pow(2, 20);
|
|
@@ -9493,7 +9501,7 @@ const fu = (t5) => {
|
|
|
9493
9501
|
}
|
|
9494
9502
|
const a2 = {};
|
|
9495
9503
|
return e2 || 0 !== r2 && 0 !== n2 ? (n2 > 0 && (a2.colIndex = n2 - 1, o2 && (a2.$colIndex = o2)), r2 > 0 && (a2.rowIndex = r2 - 1, (s2 || e2 && o2) && (a2.$rowIndex = s2 || e2 && o2)), a2) : null;
|
|
9496
|
-
}, Iu = (t5, e2 =
|
|
9504
|
+
}, Iu = (t5, e2 = Wh, n2 = false) => {
|
|
9497
9505
|
if (!t5) return null;
|
|
9498
9506
|
let r2 = t5.toUpperCase();
|
|
9499
9507
|
const o2 = Bu(r2, n2);
|
|
@@ -9670,10 +9678,10 @@ const fu = (t5) => {
|
|
|
9670
9678
|
t5 = t5.slice(o2 + 1), i2 = Ou(e3, Pu), -1 !== i2.colIndex && -1 !== i2.rowIndex && (a2(), s2 += ":");
|
|
9671
9679
|
}
|
|
9672
9680
|
return i2 = Ou(t5, Pu), !l2 && i2.colIndex > r2 ? t5 : (a2(), s2);
|
|
9673
|
-
},
|
|
9681
|
+
}, ju = [], Wu = (t5) => (ju.push(t5), String.fromCharCode(57344 + ju.length - 1)), Hu = (t5) => {
|
|
9674
9682
|
const e2 = t5.charCodeAt(0) - 57344;
|
|
9675
|
-
return
|
|
9676
|
-
},
|
|
9683
|
+
return ju[e2];
|
|
9684
|
+
}, Vu = (t5, e2, n2) => {
|
|
9677
9685
|
let r2 = "";
|
|
9678
9686
|
const o2 = t5.length;
|
|
9679
9687
|
for (let s2 = 0; s2 < o2; s2++) {
|
|
@@ -9681,7 +9689,7 @@ const fu = (t5) => {
|
|
|
9681
9689
|
r2 += "string" == typeof o3 ? o3 : Gu(o3, e2, n2);
|
|
9682
9690
|
}
|
|
9683
9691
|
return r2;
|
|
9684
|
-
},
|
|
9692
|
+
}, $u = (t5, e2) => {
|
|
9685
9693
|
let n2 = "";
|
|
9686
9694
|
const r2 = t5.rowIndex;
|
|
9687
9695
|
r2 !== Number.MIN_SAFE_INTEGER && (t5.$rowIndex ? n2 += `R${r2 + 1}` : n2 += 0 === r2 ? "R" : `R[${r2 + 1}]`);
|
|
@@ -9708,12 +9716,12 @@ const fu = (t5) => {
|
|
|
9708
9716
|
let d2;
|
|
9709
9717
|
return r2 ? (d2 = r2, d2.colStart = o2, d2.rowStart = s2, d2.colEnd = i2, d2.rowEnd = a2, d2.$colStart = l2, d2.$rowStart = c2, d2.$colEnd = h2, d2.$rowEnd = u2) : d2 = { colStart: o2, rowStart: s2, colEnd: i2, rowEnd: a2, $colStart: l2, $rowStart: c2, $colEnd: h2, $rowEnd: u2 }, t5.sheetName && (d2.sheetName = t5.sheetName), d2;
|
|
9710
9718
|
}, Ju = (t5, e2, n2, r2) => {
|
|
9711
|
-
|
|
9712
|
-
let o2 = 0, s2 = t5.replace(su,
|
|
9719
|
+
ju.length = 0;
|
|
9720
|
+
let o2 = 0, s2 = t5.replace(su, Wu), i2 = 0, a2 = s2.replace(ru, (t6, a3, l2) => {
|
|
9713
9721
|
const c2 = zu(t6, e2, n2);
|
|
9714
9722
|
if (r2) {
|
|
9715
9723
|
if (l2 > i2) {
|
|
9716
|
-
const t7 = s2.slice(i2, l2).replace(iu, (t8, e3) =>
|
|
9724
|
+
const t7 = s2.slice(i2, l2).replace(iu, (t8, e3) => ju[o2++]);
|
|
9717
9725
|
r2.push(t7);
|
|
9718
9726
|
}
|
|
9719
9727
|
const a4 = t6.lastIndexOf(":");
|
|
@@ -9726,7 +9734,7 @@ const fu = (t5) => {
|
|
|
9726
9734
|
});
|
|
9727
9735
|
if (r2 && i2 < s2.length) {
|
|
9728
9736
|
const t6 = s2.slice(i2);
|
|
9729
|
-
r2.push(t6.replace(iu, (t7, e3) =>
|
|
9737
|
+
r2.push(t6.replace(iu, (t7, e3) => ju[o2++]));
|
|
9730
9738
|
}
|
|
9731
9739
|
return a2 = a2.toUpperCase().replace(ou, ""), a2.replace(iu, Hu);
|
|
9732
9740
|
}, qu = "Must specify an address.", Ku = "Only a single range is allowed for this operation. Use 'getRanges' instead.", Xu = "Invalid range. The Range must be specified as '{ TOP_LEFT:BOTTOM_RIGHT }'.", Yu = (t5) => `Invalid address. Can not parse ${"string" == typeof t5 ? `'${t5}' ` : ""}as an address or named item.`, Qu = () => {
|
|
@@ -9892,7 +9900,7 @@ var Ad, Md;
|
|
|
9892
9900
|
(Md = Ad || (Ad = {})).CalcStatus = { Ready: "ready", Stale: "stale", Pending: "pending", Streaming: "streaming" }, Md.Content = { Values: "values", Formats: "formats", Formulas: "formula", Hyperlinks: "hyperlinks", Tables: "tables", Notes: "notes", Comments: "comments", Warnings: "warnings", Errors: "errors", Merges: "merges" };
|
|
9893
9901
|
class Td {
|
|
9894
9902
|
constructor(t5, e2, n2) {
|
|
9895
|
-
if (!n2) throw new
|
|
9903
|
+
if (!n2) throw new jt();
|
|
9896
9904
|
if ("string" == typeof n2 && (n2 = { address: n2 }), "string" != typeof n2.address) throw new Error("Invalid hyperlink");
|
|
9897
9905
|
this._t = t5, this._r = e2, this._p = n2;
|
|
9898
9906
|
}
|
|
@@ -9936,15 +9944,15 @@ const Nd = (t5) => {
|
|
|
9936
9944
|
let n2 = "";
|
|
9937
9945
|
if (t5 && (t5.includes(" ") && (t5 = '"' + t5 + '"'), n2 = t5), e2) for (let t6 = 0; t6 < e2.length; t6++) n2.length > 0 && (n2 += ", "), n2 += e2[t6];
|
|
9938
9946
|
return n2;
|
|
9939
|
-
},
|
|
9947
|
+
}, jd = (t5) => {
|
|
9940
9948
|
let e2 = "", n2 = false, r2 = "";
|
|
9941
9949
|
for (let o2 = 0; o2 < t5.length; o2++) {
|
|
9942
9950
|
const s2 = t5.charAt(o2);
|
|
9943
9951
|
n2 && "]" !== s2 && '"' !== s2 ? e2 += s2 : '"' === s2 ? (e2 += "\\0022", n2 = !n2) : ["[", "]", ",", "#", ".", "@", "/", ":", ";", "-", " "].includes(s2) ? (e2 += "\\" + s2, "[" === s2 ? n2 = true : "]" === s2 && (n2 = false)) : ["(", ")"].includes(s2) ? e2 += "_" === r2 ? "\\" + s2 : "\\\\\\" + s2 : ["$"].includes(s2) ? e2 += "\\0022" + s2 + "\\0022" : e2 += s2, r2 = s2;
|
|
9944
9952
|
}
|
|
9945
9953
|
return '"' + e2 + '"';
|
|
9946
|
-
},
|
|
9947
|
-
lg.set(bt.textToKey(
|
|
9954
|
+
}, Wd = "Thin", Hd = "Hairline", Vd = "Extra Light", $d = "Ultra Light", Gd = "Light", Ud = "Normal", Jd = "Regular", qd = "Medium", Kd = "Semi Bold", Xd = "Demi Bold", Yd = "Bold", Qd = "Extra Bold", Zd = "Ultra Bold", tg = "Black", eg = "Heavy", ng = "Extra Black", rg = "Ultra Black", og = "lighter", sg = "normal", ig = "bold", ag = "bolder", lg = /* @__PURE__ */ new Map();
|
|
9955
|
+
lg.set(bt.textToKey(Wd), 100), lg.set(bt.textToKey(Hd), 100), lg.set(bt.textToKey(Vd), 200), lg.set(bt.textToKey($d), 200), lg.set(bt.textToKey(Gd), 300), lg.set(bt.textToKey(Ud), 400), lg.set(bt.textToKey(Jd), 400), lg.set(bt.textToKey(qd), 500), lg.set(bt.textToKey(Kd), 600), lg.set(bt.textToKey(Xd), 600), lg.set(bt.textToKey(Ud), 400), lg.set(bt.textToKey(Yd), 700), lg.set(bt.textToKey(Qd), 800), lg.set(bt.textToKey(Zd), 800), lg.set(bt.textToKey(tg), 900), lg.set(bt.textToKey(eg), 900), lg.set(bt.textToKey(ng), 950), lg.set(bt.textToKey(rg), 950), lg.set(bt.textToKey(og), 100), lg.set(bt.textToKey(sg), 400), lg.set(bt.textToKey(ig), 700), lg.set(bt.textToKey(ag), 700);
|
|
9948
9956
|
const cg = "xx-small", hg = "x-small", ug = "small", dg = "medium", gg = "large", mg = "x-large", fg = "xx-large", pg = "xxx-large", _g = "smaller", Sg = "larger", wg = "math", yg = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), Eg = /* @__PURE__ */ new Map();
|
|
9949
9957
|
Eg.set(bt.textToKey(cg), (t5) => 0.4 * t5), Eg.set(bt.textToKey(hg), (t5) => 0.5 * t5), Eg.set(bt.textToKey(ug), (t5) => 0.6 * t5), Eg.set(bt.textToKey(dg), (t5) => t5), Eg.set(bt.textToKey(gg), (t5) => 1.1 * t5), Eg.set(bt.textToKey(mg), (t5) => 1.25 * t5), Eg.set(bt.textToKey(fg), (t5) => 1.5 * t5), Eg.set(bt.textToKey(pg), (t5) => 2 * t5), Eg.set(bt.textToKey(_g), (t5) => 0.9 * t5), Eg.set(bt.textToKey(Sg), (t5) => 1.1 * t5), Eg.set(bt.textToKey(wg), (t5) => t5);
|
|
9950
9958
|
const bg = (t5, e2 = 11, n2 = "pt") => {
|
|
@@ -10052,8 +10060,8 @@ const Bg = new RegExp(`(\\s*(?:${Lg}))`, "g"), Pg = new RegExp("(\\s*[0-9]*[.]?[
|
|
|
10052
10060
|
const i2 = e2 ? e2.trim() : null;
|
|
10053
10061
|
let a2 = null === s2 ? o2 : `${s2.toString()} ${o2}`, l2 = Fg.get(a2);
|
|
10054
10062
|
return l2 || (l2 = Fg.get(o2)), l2 ? { color: i2, style: l2 } : null;
|
|
10055
|
-
},
|
|
10056
|
-
em.set(bt.textToKey(
|
|
10063
|
+
}, jg = "start", Wg = "end", Hg = "left", Vg = "right", $g = "center", Gg = "justify", Ug = "justify-all", Jg = "baseline", qg = "top", Kg = "middle", Xg = "bottom", Yg = "sub", Qg = "text-top", Zg = "justify", tm = "distributed", em = /* @__PURE__ */ new Map();
|
|
10064
|
+
em.set(bt.textToKey(jg), Zs.HorizontalAlignment.Left), em.set(bt.textToKey(Hg), Zs.HorizontalAlignment.Left), em.set(bt.textToKey(Wg), Zs.HorizontalAlignment.Right), em.set(bt.textToKey(Vg), Zs.HorizontalAlignment.Right), em.set(bt.textToKey($g), Zs.HorizontalAlignment.Center), em.set(bt.textToKey(Gg), Zs.HorizontalAlignment.Justify), em.set(bt.textToKey(Ug), Zs.HorizontalAlignment.Justify);
|
|
10057
10065
|
const nm = /* @__PURE__ */ new Map();
|
|
10058
10066
|
nm.set(bt.textToKey(Jg), Zs.VerticalAlignment.Bottom), nm.set(bt.textToKey(qg), Zs.VerticalAlignment.Top), nm.set(bt.textToKey(Kg), Zs.VerticalAlignment.Center), nm.set(bt.textToKey(Xg), Zs.VerticalAlignment.Bottom), nm.set(bt.textToKey(Yg), Zs.VerticalAlignment.Bottom), nm.set(bt.textToKey(Qg), Zs.VerticalAlignment.Top), nm.set(bt.textToKey(Zg), Zs.VerticalAlignment.Justify), nm.set(bt.textToKey(tm), Zs.VerticalAlignment.Distributed);
|
|
10059
10067
|
const rm = (t5, e2) => {
|
|
@@ -10142,7 +10150,7 @@ const rm = (t5, e2) => {
|
|
|
10142
10150
|
return void 0 !== e3 ? e3 : t5;
|
|
10143
10151
|
}
|
|
10144
10152
|
if ("number" == typeof t5) {
|
|
10145
|
-
return
|
|
10153
|
+
return ja(t5);
|
|
10146
10154
|
}
|
|
10147
10155
|
return null;
|
|
10148
10156
|
} } } }, dm = { properties: { style: um } }, gm = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: bt.EmptyArray, spacingChars: bt.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: bt.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: false, asDate: null, isDateFormat: false, isTimeFormat: false, isDate1904: false }), mm = (t5, e2, n2, r2, o2, i2 = false) => {
|
|
@@ -10614,7 +10622,7 @@ class Lm {
|
|
|
10614
10622
|
}
|
|
10615
10623
|
getNumberFormat() {
|
|
10616
10624
|
const t5 = this._p.value("numberFormat");
|
|
10617
|
-
return "number" == typeof t5 ?
|
|
10625
|
+
return "number" == typeof t5 ? ja(t5) : t5;
|
|
10618
10626
|
}
|
|
10619
10627
|
getQuotePrefix() {
|
|
10620
10628
|
return this._p.value("quotePrefix");
|
|
@@ -10647,7 +10655,7 @@ const zm = (t5, e2) => {
|
|
|
10647
10655
|
let r2 = e2.color;
|
|
10648
10656
|
return (e2 && e2.color).isIColor && (r2 = e2.color.toString()), n2 === r2;
|
|
10649
10657
|
};
|
|
10650
|
-
class
|
|
10658
|
+
class jm {
|
|
10651
10659
|
constructor(t5, e2, n2, r2) {
|
|
10652
10660
|
this._c = t5, this._r = e2, this._p = n2 ?? null, this._t = r2 ?? null, this._e = null === this._p || 1 === Object.keys(this._p).length && this._p.named === Ya.BuiltInName.Normal;
|
|
10653
10661
|
}
|
|
@@ -10663,18 +10671,18 @@ class Wm {
|
|
|
10663
10671
|
cloneWithUpdate(t5) {
|
|
10664
10672
|
if (void 0 === t5) return this;
|
|
10665
10673
|
const e2 = this._c, n2 = this._r, r2 = this._p, o2 = Ot.resolveTypedUpdates(t5, um, e2, r2);
|
|
10666
|
-
return new
|
|
10674
|
+
return new jm(e2, n2, o2);
|
|
10667
10675
|
}
|
|
10668
10676
|
copyTo(t5, e2) {
|
|
10669
10677
|
const n2 = this._c, r2 = this._r, o2 = t5.rowStart - r2.rowStart, s2 = t5.colStart - r2.colStart;
|
|
10670
10678
|
let i2 = null;
|
|
10671
|
-
return Y.isEqualRanges(r2, this._t) || (i2 = Y.translateRange(r2, o2, s2)), new
|
|
10679
|
+
return Y.isEqualRanges(r2, this._t) || (i2 = Y.translateRange(r2, o2, s2)), new jm(n2, t5, this._p, i2);
|
|
10672
10680
|
}
|
|
10673
10681
|
canTile(t5, e2) {
|
|
10674
10682
|
return !this._p.border;
|
|
10675
10683
|
}
|
|
10676
10684
|
_createShifted(t5) {
|
|
10677
|
-
return new
|
|
10685
|
+
return new jm(this._c, t5, this._p);
|
|
10678
10686
|
}
|
|
10679
10687
|
getShifted(t5) {
|
|
10680
10688
|
return t5.after ? { ...t5.after, value: this._createShifted(Y.sanitizeRange(t5.after)) } : null;
|
|
@@ -10696,7 +10704,7 @@ class Wm {
|
|
|
10696
10704
|
}
|
|
10697
10705
|
}
|
|
10698
10706
|
const u2 = this._t;
|
|
10699
|
-
return [new
|
|
10707
|
+
return [new jm(n2, t5[0], s2, u2), new jm(n2, t5[1], l2, u2)];
|
|
10700
10708
|
}
|
|
10701
10709
|
getMerged(t5, e2, n2) {
|
|
10702
10710
|
const r2 = n2 === i.Orientation.Column, o2 = this._p, s2 = t5._p;
|
|
@@ -10725,9 +10733,9 @@ class Wm {
|
|
|
10725
10733
|
if (g2 > 1 && !zm(w2, h2[_2])) return;
|
|
10726
10734
|
if (!zm(S2, w2)) return;
|
|
10727
10735
|
const y2 = { border: { [n3]: c2[n3], [s3]: c2[s3], [m2]: c2[m2], [_2]: S2, [p2]: c2[p2], [f2]: h2[f2] } }, E2 = Ot.resolveTypedUpdates(y2, um, u2, o2);
|
|
10728
|
-
return new
|
|
10736
|
+
return new jm(u2, e2, E2);
|
|
10729
10737
|
}
|
|
10730
|
-
return new
|
|
10738
|
+
return new jm(u2, e2, this._p);
|
|
10731
10739
|
}
|
|
10732
10740
|
hasTrailingEdge() {
|
|
10733
10741
|
return true;
|
|
@@ -10779,7 +10787,7 @@ class Wm {
|
|
|
10779
10787
|
return bt.toSafeJSON(this._p);
|
|
10780
10788
|
}
|
|
10781
10789
|
}
|
|
10782
|
-
const
|
|
10790
|
+
const Wm = Object.freeze({ value: null, style: null, hyperlink: null, formula: null, type: s.Null, stringToParse: null }), Hm = Object.seal({ value: void 0, style: void 0, hyperlink: void 0, formula: void 0, type: void 0, stringToParse: void 0 }), Vm = Object.seal({ value: void 0, style: void 0, hyperlink: void 0, formula: void 0 }), $m = Object.freeze({ width: 1, height: 1 }), Gm = new t({ max: 1e3 });
|
|
10783
10791
|
const Um = new class {
|
|
10784
10792
|
isEditAllowed() {
|
|
10785
10793
|
return true;
|
|
@@ -10792,18 +10800,18 @@ const Um = new class {
|
|
|
10792
10800
|
}
|
|
10793
10801
|
}(), Jm = (t5, e2, n2 = null, r2 = null, o2 = false) => {
|
|
10794
10802
|
if (void 0 === t5) return;
|
|
10795
|
-
if (null === t5) return
|
|
10803
|
+
if (null === t5) return Wm;
|
|
10796
10804
|
if (t5 && t5.isICell) {
|
|
10797
10805
|
const e3 = t5, n3 = Hm;
|
|
10798
10806
|
n3.value = e3.getValue();
|
|
10799
10807
|
return e3.getStyle().isNormal() || (n3.style = e3.getStyle()._p.getProperties()), n3.formula = e3.getFormulaText(), n3.hyperlink = e3.getHyperlink(), n3.type = e3.getType(), n3;
|
|
10800
10808
|
}
|
|
10801
10809
|
let i2;
|
|
10802
|
-
void 0 !== t5.value || void 0 !== t5.style || void 0 !== t5.hyperlink ? i2 = t5 : (i2 =
|
|
10810
|
+
void 0 !== t5.value || void 0 !== t5.style || void 0 !== t5.hyperlink ? i2 = t5 : (i2 = Vm, i2.value = t5, i2.style = void 0, i2.hyperlink = void 0);
|
|
10803
10811
|
const a2 = Hm;
|
|
10804
10812
|
a2.type = void 0, a2.value = void 0, a2.style = void 0, a2.formula = void 0, a2.hyperlink = void 0, a2.stringToParse = void 0;
|
|
10805
10813
|
let l2, c2 = i2.value, h2 = false;
|
|
10806
|
-
if (void 0 !== i2.value && (l2 =
|
|
10814
|
+
if (void 0 !== i2.value && (l2 = $h(c2), l2 || (h2 = Ms(c2), h2 && (l2 = s.Number)), !l2)) throw new Error("Invalid cell type. See documentation for information on valid built in cell types and creating custom cell types.");
|
|
10807
10815
|
let u2, d2, g2 = null, m2 = null;
|
|
10808
10816
|
let f2;
|
|
10809
10817
|
if (l2 === s.String) {
|
|
@@ -10813,7 +10821,7 @@ const Um = new class {
|
|
|
10813
10821
|
const e3 = f2.length, o3 = f2.charAt(0);
|
|
10814
10822
|
"=" === o3 && e3 > 1 ? (d2 = f2.substring(1), c2 = null) : (t6 = vf(f2, n2), !t6 || "string" != typeof t6.value || "+" !== o3 && "-" !== o3 || (d2 = "=" + f2, c2 = null), void 0 !== t6 && r2 && r2.set(f2, t6));
|
|
10815
10823
|
}
|
|
10816
|
-
t6 && (void 0 !== t6.value && (c2 = t6.value, l2 =
|
|
10824
|
+
t6 && (void 0 !== t6.value && (c2 = t6.value, l2 = $h(c2)), void 0 !== t6.style && (g2 = t6.style), void 0 !== t6.hyperlink && (u2 = t6.hyperlink)), !o2 && n2.parse && (m2 = f2);
|
|
10817
10825
|
}
|
|
10818
10826
|
} else if (h2) {
|
|
10819
10827
|
const t6 = n2?.date1904 ?? e2.date1904;
|
|
@@ -11102,7 +11110,7 @@ class rf {
|
|
|
11102
11110
|
const n2 = Jm(t5, this._options);
|
|
11103
11111
|
let r2 = this._rs;
|
|
11104
11112
|
if (void 0 !== n2.style) {
|
|
11105
|
-
const t6 = this._coords ?? Y.EmptyCell, o3 = Y.cellToRange(t6), s3 = () => tf(0, o3, this._rs, this._options), i2 = Cm(this._options.styles, n2.style, s3), a2 = (this._rs?.directStyle ?? new
|
|
11113
|
+
const t6 = this._coords ?? Y.EmptyCell, o3 = Y.cellToRange(t6), s3 = () => tf(0, o3, this._rs, this._options), i2 = Cm(this._options.styles, n2.style, s3), a2 = (this._rs?.directStyle ?? new jm(e2.styles, o3)).cloneWithUpdate(i2);
|
|
11106
11114
|
r2 = { ...r2, directStyle: a2 };
|
|
11107
11115
|
}
|
|
11108
11116
|
let o2 = this._t, s2 = this._v;
|
|
@@ -11174,7 +11182,7 @@ class rf {
|
|
|
11174
11182
|
}
|
|
11175
11183
|
getSpans() {
|
|
11176
11184
|
const t5 = this._rs?.merge;
|
|
11177
|
-
if (!t5) return
|
|
11185
|
+
if (!t5) return $m;
|
|
11178
11186
|
const e2 = t5.getCoords();
|
|
11179
11187
|
return Object.freeze({ width: e2.colEnd - e2.colStart + 1, height: e2.rowEnd - e2.rowStart + 1 });
|
|
11180
11188
|
}
|
|
@@ -11490,7 +11498,7 @@ class Tf {
|
|
|
11490
11498
|
}
|
|
11491
11499
|
o2 && 0 === Object.keys(o2).length && (o2 = null);
|
|
11492
11500
|
let s2 = r3;
|
|
11493
|
-
return void 0 === r3 ? (this._t = null, this._v = null, s2 = null) : (this._t =
|
|
11501
|
+
return void 0 === r3 ? (this._t = null, this._v = null, s2 = null) : (this._t = $h(s2), this._v = s2), this._r = o2, this._p = t6[3], this._n = t6[4], this._c = n3, s2;
|
|
11494
11502
|
}, this.clear = () => {
|
|
11495
11503
|
r2._c = null;
|
|
11496
11504
|
}, this.context = { getCoords() {
|
|
@@ -11547,7 +11555,7 @@ const Nf = (t5, e2) => {
|
|
|
11547
11555
|
if (f2.colStart > f2.colEnd || f2.rowStart > f2.rowEnd || Y.isSingleCell(f2)) return null;
|
|
11548
11556
|
const p2 = Math.min(Math.max(n2?.colIndex ?? 0, f2.colStart), f2.colEnd), _2 = Math.min(Math.max(n2?.rowIndex ?? 0, f2.rowStart), f2.rowEnd);
|
|
11549
11557
|
return { coords: f2, options: { ...Fl.DefaultRangeOptions, hasHeader: u2, orientation: r2, offset: r2 === i.Orientation.Row ? p2 - f2.colStart : _2 - f2.rowStart }, headers: h2 };
|
|
11550
|
-
}, Ff = (t5, e2, n2 = null) =>
|
|
11558
|
+
}, Ff = (t5, e2, n2 = null) => jl.fromArray(t5, (t6, n3) => {
|
|
11551
11559
|
const r2 = t6?.[1];
|
|
11552
11560
|
if (null == r2) return null;
|
|
11553
11561
|
let o2 = t6[0] ?? null;
|
|
@@ -11560,7 +11568,7 @@ const Nf = (t5, e2) => {
|
|
|
11560
11568
|
}
|
|
11561
11569
|
return o2;
|
|
11562
11570
|
}, (t6, n3) => {
|
|
11563
|
-
const r2 =
|
|
11571
|
+
const r2 = $h(t6);
|
|
11564
11572
|
let o2 = t6;
|
|
11565
11573
|
switch (r2) {
|
|
11566
11574
|
case s.String:
|
|
@@ -11716,16 +11724,16 @@ class zf {
|
|
|
11716
11724
|
return true;
|
|
11717
11725
|
}
|
|
11718
11726
|
}
|
|
11719
|
-
var
|
|
11720
|
-
(
|
|
11721
|
-
const Hf = (t5, e2) => t5.offset - e2.offset,
|
|
11727
|
+
var jf, Wf;
|
|
11728
|
+
(Wf = jf || (jf = {})).fastStringToCol = Du, Wf.fastStringToCell = ku, Wf.fastStringToRange = Lu, Wf.rangeToString = Eu, Wf.cellToString = Su, Wf.normalizeA1ToR1C1 = Ju, Wf.resolveRelativeToA1 = Vu;
|
|
11729
|
+
const Hf = (t5, e2) => t5.offset - e2.offset, Vf = (t5) => {
|
|
11722
11730
|
if (!t5 || 0 === t5.size) return [];
|
|
11723
11731
|
let e2 = [];
|
|
11724
11732
|
return t5.forEach((t6, n2) => {
|
|
11725
11733
|
t6 && 0 !== Object.keys(t6).length && e2.push({ ...t6, offset: n2 });
|
|
11726
11734
|
}), e2.sort(Hf);
|
|
11727
11735
|
};
|
|
11728
|
-
class
|
|
11736
|
+
class $f extends zf {
|
|
11729
11737
|
constructor(t5) {
|
|
11730
11738
|
super({ ...t5, createDescription: "Insert AutoSort" }), this._apply = t5.apply, this._processUpdate = t5.processUpdate, this._fromJSON(t5.json);
|
|
11731
11739
|
}
|
|
@@ -11759,7 +11767,7 @@ class Vf extends zf {
|
|
|
11759
11767
|
super._processStateChange(t5, e2, n2), this._processUpdate?.();
|
|
11760
11768
|
}
|
|
11761
11769
|
reapply() {
|
|
11762
|
-
const t5 = this._getState(), e2 =
|
|
11770
|
+
const t5 = this._getState(), e2 = Vf(t5.byOffset);
|
|
11763
11771
|
return this._apply?.(e2), this;
|
|
11764
11772
|
}
|
|
11765
11773
|
clear() {
|
|
@@ -11776,8 +11784,8 @@ class Vf extends zf {
|
|
|
11776
11784
|
}
|
|
11777
11785
|
toJSON() {
|
|
11778
11786
|
const t5 = {}, e2 = this._getState();
|
|
11779
|
-
e2.anchor && (t5.ref =
|
|
11780
|
-
const n2 =
|
|
11787
|
+
e2.anchor && (t5.ref = jf.rangeToString(e2.anchor, this._options.maxRangeCoords));
|
|
11788
|
+
const n2 = Vf(e2.byOffset);
|
|
11781
11789
|
return n2.length > 0 && (t5.fields = n2), 0 === Object.keys(t5).length ? null : t5;
|
|
11782
11790
|
}
|
|
11783
11791
|
}
|
|
@@ -12243,7 +12251,7 @@ class np extends zf {
|
|
|
12243
12251
|
}
|
|
12244
12252
|
_createSort(t5) {
|
|
12245
12253
|
const e2 = this;
|
|
12246
|
-
return new
|
|
12254
|
+
return new $f({ initialAnchor: this._getUsedCoords(), maxRangeCoords: this._options.maxRangeCoords, json: t5, transactions: this._getTransactions(), deleteFromContainer: (t6) => {
|
|
12247
12255
|
this._updateState({ sort: null }, { description: t6?.description ?? "Delete Sort" }), e2._processUpdate?.();
|
|
12248
12256
|
}, apply: (t6) => {
|
|
12249
12257
|
e2._applyFilterAndSort();
|
|
@@ -12619,7 +12627,7 @@ class ap {
|
|
|
12619
12627
|
}
|
|
12620
12628
|
}
|
|
12621
12629
|
const lp = { rowIndex: 0, colIndex: 0 };
|
|
12622
|
-
class cp extends
|
|
12630
|
+
class cp extends jm {
|
|
12623
12631
|
constructor(t5, e2) {
|
|
12624
12632
|
super(t5, Y.EmptyRange, e2);
|
|
12625
12633
|
}
|
|
@@ -12632,17 +12640,17 @@ class cp extends Wm {
|
|
|
12632
12640
|
cloneWithUpdate(t5) {
|
|
12633
12641
|
if (void 0 === t5) return this;
|
|
12634
12642
|
const e2 = this._c, n2 = this._r, r2 = Ot.resolveTypedUpdates(t5, um, e2, this._p);
|
|
12635
|
-
return new
|
|
12643
|
+
return new jm(e2, n2, r2);
|
|
12636
12644
|
}
|
|
12637
12645
|
_createShifted(t5) {
|
|
12638
|
-
return new
|
|
12646
|
+
return new jm(this._c, t5, this._p);
|
|
12639
12647
|
}
|
|
12640
12648
|
getShifted(t5) {
|
|
12641
12649
|
return t5.after ? { ...t5.after, value: this._createShifted(Y.sanitizeRange(t5.after)) } : null;
|
|
12642
12650
|
}
|
|
12643
12651
|
getSplit(t5, e2) {
|
|
12644
12652
|
const n2 = this._c, r2 = this._p;
|
|
12645
|
-
return [new
|
|
12653
|
+
return [new jm(n2, t5[0], r2), new jm(n2, t5[1], r2)];
|
|
12646
12654
|
}
|
|
12647
12655
|
getMerged(t5, e2, n2) {
|
|
12648
12656
|
const r2 = this._p, o2 = t5._p;
|
|
@@ -12654,7 +12662,7 @@ class cp extends Wm {
|
|
|
12654
12662
|
if (!bt.deepEqual(n3, i3)) return;
|
|
12655
12663
|
}
|
|
12656
12664
|
const a2 = this._c;
|
|
12657
|
-
return new
|
|
12665
|
+
return new jm(a2, e2, this._p);
|
|
12658
12666
|
}
|
|
12659
12667
|
getPropertiesAt(t5, e2) {
|
|
12660
12668
|
return this._p;
|
|
@@ -12850,7 +12858,7 @@ class dp {
|
|
|
12850
12858
|
return t5.sort((t6, e2) => t6.getName().localeCompare(e2.getName())), t5;
|
|
12851
12859
|
}
|
|
12852
12860
|
setNamed(t5, e2 = false) {
|
|
12853
|
-
if (!t5 || !t5.name || !t5.style) throw new
|
|
12861
|
+
if (!t5 || !t5.name || !t5.style) throw new jt();
|
|
12854
12862
|
this.validateStyleName(t5.name, false);
|
|
12855
12863
|
const n2 = this._setCustomCellStyleInternal(t5, e2);
|
|
12856
12864
|
return this._emitter.notify("onNamedStylesChange"), this._emitter.notify("onAnyChange"), n2;
|
|
@@ -13289,7 +13297,7 @@ class bp extends Tl {
|
|
|
13289
13297
|
(Ep || (Ep = {})).Status = { Ready: "ready", Error: "error", Starting: "starting", Stopping: "stopping", Off: "off" };
|
|
13290
13298
|
class Cp extends Ph {
|
|
13291
13299
|
constructor(t5, e2 = null, n2, r2, o2) {
|
|
13292
|
-
if (super(t5, n2, e2), this._sheetName = r2 || null, this._getEntireCoords = o2 ??
|
|
13300
|
+
if (super(t5, n2, e2), this._sheetName = r2 || null, this._getEntireCoords = o2 ?? Vh, this._coords = vp(n2, this._getEntireCoords()), !n2) throw new Error("ReferenceRange requires a coords");
|
|
13293
13301
|
this._validateCoords(n2);
|
|
13294
13302
|
}
|
|
13295
13303
|
toType(t5) {
|
|
@@ -13401,7 +13409,7 @@ class Np {
|
|
|
13401
13409
|
constructor(t5) {
|
|
13402
13410
|
this._fullCalcRequired = false, this._iterationId = 0, this._cycleId = 1, this._pendingInvalidations = /* @__PURE__ */ new Set(), this._emitter = null, this._isProcessingJSON = false, this._collectDirties = (t6, e3 = false, n3, r3) => {
|
|
13403
13411
|
const o2 = this._formulaSpatial, s2 = this._precedentSpatial;
|
|
13404
|
-
let i2 =
|
|
13412
|
+
let i2 = $p, a2 = 0;
|
|
13405
13413
|
if (e3) {
|
|
13406
13414
|
const e4 = o2.all();
|
|
13407
13415
|
for (let n4 = 0; n4 < e4.length; n4++) {
|
|
@@ -13463,7 +13471,7 @@ class Np {
|
|
|
13463
13471
|
}
|
|
13464
13472
|
return i2.length = a2, i2;
|
|
13465
13473
|
};
|
|
13466
|
-
const e2 = (t5 = { strings: new wp(), ...t5 }).getEntireCoords ??
|
|
13474
|
+
const e2 = (t5 = { strings: new wp(), ...t5 }).getEntireCoords ?? Vh;
|
|
13467
13475
|
if (this._getEntireCoords = e2, this._options = t5, this._strings = t5.strings, this._onCalculated = t5?.onCalculated ?? (() => {
|
|
13468
13476
|
}), this._cycleId = 1, this._values = new oh({ orientation: i.Orientation.Column }), this._getFormulaParser = t5.getFormulaParser, !this._getFormulaParser) throw new Error("Formula parser is not defined");
|
|
13469
13477
|
this._latest = { graph: this }, this._iterationId = 0;
|
|
@@ -13783,7 +13791,7 @@ class Np {
|
|
|
13783
13791
|
}
|
|
13784
13792
|
}
|
|
13785
13793
|
o3 && (t6 = r2.concat(o3)), t6.sort(Y.columnFirstRangeComparator);
|
|
13786
|
-
const s3 = new dn.Builder((t7) => new
|
|
13794
|
+
const s3 = new dn.Builder((t7) => new Wl(t7));
|
|
13787
13795
|
let a3;
|
|
13788
13796
|
const l3 = e2._values, d3 = l3.getOrientation() === i.Orientation.Column, g3 = t6.length;
|
|
13789
13797
|
for (let e3 = 0; e3 < g3; e3++) {
|
|
@@ -14074,10 +14082,10 @@ class Np {
|
|
|
14074
14082
|
let L2 = 1, B2 = 1;
|
|
14075
14083
|
const P2 = x2 instanceof Ph;
|
|
14076
14084
|
let z2;
|
|
14077
|
-
const
|
|
14078
|
-
if (P2 ||
|
|
14079
|
-
|
|
14080
|
-
const t6 = m2.search(
|
|
14085
|
+
const j2 = x2 instanceof l.Spill;
|
|
14086
|
+
if (P2 || j2) {
|
|
14087
|
+
jp.colStart = C2, jp.rowStart = v2, jp.colEnd = C2, jp.rowEnd = v2;
|
|
14088
|
+
const t6 = m2.search(jp);
|
|
14081
14089
|
for (let e3 = 0; !z2 && e3 < t6.length; e3++) {
|
|
14082
14090
|
const n3 = t6[e3];
|
|
14083
14091
|
n3.colStart === C2 && n3.rowStart === v2 && (z2 = n3);
|
|
@@ -14091,12 +14099,12 @@ class Np {
|
|
|
14091
14099
|
m2.remove(z2), z2 && z2.value.getError() || (h2.insertNonOverlapping({ ...t7, value: null }), f2.delete(t7), u2.insertNonOverlapping(t7));
|
|
14092
14100
|
}
|
|
14093
14101
|
}
|
|
14094
|
-
let
|
|
14095
|
-
const
|
|
14102
|
+
let W2 = 1, H2 = 1;
|
|
14103
|
+
const V2 = k2, $2 = V2?.isIRange;
|
|
14096
14104
|
let G2, U2 = k2 instanceof l.Spill;
|
|
14097
|
-
if (
|
|
14098
|
-
|
|
14099
|
-
const t6 = { colStart: C2, rowStart: v2, colEnd: C2 +
|
|
14105
|
+
if ($2 && V2.size > 1) {
|
|
14106
|
+
W2 = V2.getWidth(), H2 = V2.getHeight();
|
|
14107
|
+
const t6 = { colStart: C2, rowStart: v2, colEnd: C2 + W2 - 1, rowEnd: v2 + H2 - 1 }, n3 = e2.getEntireCoords(), r3 = !Y.isRangeWithinRange(t6, n3);
|
|
14100
14108
|
if (r3 && (t6.colEnd = Math.min(t6.colEnd, n3.colEnd), t6.rowEnd = Math.min(t6.rowEnd, n3.rowEnd)), U2 = r3, !U2) {
|
|
14101
14109
|
const e3 = h2.search(t6);
|
|
14102
14110
|
if (U2 = e3.length > 1, !U2 && 1 === e3.length) {
|
|
@@ -14106,15 +14114,15 @@ class Np {
|
|
|
14106
14114
|
}
|
|
14107
14115
|
let o3, s3;
|
|
14108
14116
|
if (U2) {
|
|
14109
|
-
k2 = l.BuiltIn.Spill,
|
|
14117
|
+
k2 = l.BuiltIn.Spill, W2 = 1, H2 = 1;
|
|
14110
14118
|
o3 = [[M2, [[T2, [k2]]]]], f2.setValues(o3), s3 = { colStart: C2, rowStart: v2, colEnd: C2, rowEnd: v2 };
|
|
14111
14119
|
} else {
|
|
14112
|
-
const e3 = Ap(
|
|
14120
|
+
const e3 = Ap(V2, M2, T2);
|
|
14113
14121
|
e3 && (o3 = e3.tuples), o3 && f2.setValues(o3), s3 = t6;
|
|
14114
14122
|
}
|
|
14115
14123
|
G2 = { ...t6, value: new Zu(t6, a2, U2) }, m2.insert(G2), y2 = Tp(y2, E2, t6), u2.insertNonOverlapping(s3), c2.insertNonOverlapping(s3), h2.insertNonOverlapping({ ...s3, value: new td(s3, p2) });
|
|
14116
14124
|
}
|
|
14117
|
-
(!Y.isEqualRanges(z2, G2) || U2 ||
|
|
14125
|
+
(!Y.isEqualRanges(z2, G2) || U2 || j2) && (z2 && d2.insert(z2), G2 && d2.insert(G2)), W2 === L2 && H2 === B2 || (E2.state = rd, c2.insertNonOverlapping({ colStart: C2, rowStart: v2, colEnd: C2 + Math.max(W2, L2) - 1, rowEnd: v2 + Math.max(H2, B2) - 1 }), s2 = false);
|
|
14118
14126
|
let J2 = k2 && k2.isFormulaError ? k2 : null;
|
|
14119
14127
|
N2.getError() && (J2 = N2.getError()), (J2 || I2 && !t5) && (J2 && !J2.equals(I2) || I2 && I2.equals(J2)), E2.cachedValue = k2, r2[o2++] = E2;
|
|
14120
14128
|
}
|
|
@@ -14169,7 +14177,7 @@ class Np {
|
|
|
14169
14177
|
}
|
|
14170
14178
|
_clearScope() {
|
|
14171
14179
|
const t5 = this._calculation._getScope();
|
|
14172
|
-
t5 && (t5.rowIndex = 0, t5.colIndex = 0, t5.node = null, t5.values = this._values, t5.formulaSpatial = this._formulaSpatial, t5.volatile = this._volatile, t5.conflatingFormats = null, t5.dynamicPrecedentsInserts = null, t5.formula = null, t5.getEntireCoords =
|
|
14180
|
+
t5 && (t5.rowIndex = 0, t5.colIndex = 0, t5.node = null, t5.values = this._values, t5.formulaSpatial = this._formulaSpatial, t5.volatile = this._volatile, t5.conflatingFormats = null, t5.dynamicPrecedentsInserts = null, t5.formula = null, t5.getEntireCoords = Vh);
|
|
14173
14181
|
}
|
|
14174
14182
|
_resetScope() {
|
|
14175
14183
|
const t5 = this._calculation._getScope();
|
|
@@ -14347,7 +14355,7 @@ class Np {
|
|
|
14347
14355
|
}
|
|
14348
14356
|
}
|
|
14349
14357
|
const kp = (t5, e2, n2, r2) => {
|
|
14350
|
-
const o2 = new dn.Builder(
|
|
14358
|
+
const o2 = new dn.Builder(Wp), s2 = rh(r2);
|
|
14351
14359
|
t5.sort(r2 ? Y.columnFirstCellComparator : Y.rowFirstCellComparator);
|
|
14352
14360
|
const i2 = t5.length;
|
|
14353
14361
|
for (let e3 = 0; e3 < i2; e3++) {
|
|
@@ -14394,19 +14402,19 @@ const kp = (t5, e2, n2, r2) => {
|
|
|
14394
14402
|
else {
|
|
14395
14403
|
r2(c2[g2][d2]);
|
|
14396
14404
|
}
|
|
14397
|
-
}, Dp = { rowIndex: 0, colIndex: 0 }, Lp = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, Bp = [], Pp = [], zp = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 },
|
|
14405
|
+
}, Dp = { rowIndex: 0, colIndex: 0 }, Lp = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, Bp = [], Pp = [], zp = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, jp = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 };
|
|
14398
14406
|
new l.Calc("Cyclical dependency");
|
|
14399
|
-
const
|
|
14407
|
+
const Wp = (t5) => new Wl(t5);
|
|
14400
14408
|
let Hp = 0;
|
|
14401
|
-
const
|
|
14409
|
+
const Vp = 1e4, $p = new Array(Vp), Gp = new Array(Vp), Up = /* @__PURE__ */ new Set(), Jp = new Array(Vp);
|
|
14402
14410
|
let qp = 0;
|
|
14403
|
-
const Kp = new Array(
|
|
14411
|
+
const Kp = new Array(Vp);
|
|
14404
14412
|
let Xp = 0, Yp = 0;
|
|
14405
|
-
const Qp = new Array(
|
|
14413
|
+
const Qp = new Array(Vp);
|
|
14406
14414
|
let Zp = 0, t_ = 0;
|
|
14407
|
-
const e_ = new Array(
|
|
14415
|
+
const e_ = new Array(Vp);
|
|
14408
14416
|
let n_ = 0;
|
|
14409
|
-
const r_ = new Array(
|
|
14417
|
+
const r_ = new Array(Vp), o_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, s_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, i_ = [null, null], a_ = Object.freeze({ inserts: bt.EmptyArray, removes: bt.EmptyArray });
|
|
14410
14418
|
function l_(t5, e2, n2, r2) {
|
|
14411
14419
|
const o2 = t5;
|
|
14412
14420
|
if (o2?.getSplit) {
|
|
@@ -14424,9 +14432,9 @@ class c_ {
|
|
|
14424
14432
|
this._instanceScope = t5;
|
|
14425
14433
|
}
|
|
14426
14434
|
async _initialize() {
|
|
14427
|
-
const t5 = await
|
|
14435
|
+
const t5 = await ze._validate(true), e2 = u_();
|
|
14428
14436
|
this._calcScope = e2, this._runtime = new h_(this._options, t5);
|
|
14429
|
-
const { initializeBuiltIns: n2 } = await import("./
|
|
14437
|
+
const { initializeBuiltIns: n2 } = await import("./B1E5b-6lOZJnl4aN.mjs"), r2 = this;
|
|
14430
14438
|
return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
|
|
14431
14439
|
}
|
|
14432
14440
|
getBuiltInFunctions() {
|
|
@@ -14504,7 +14512,7 @@ class c_ {
|
|
|
14504
14512
|
n2 = [t5];
|
|
14505
14513
|
}
|
|
14506
14514
|
else n2 = [[t5]];
|
|
14507
|
-
const o2 = this._isColumn, s2 = o2 ? i.Orientation.Column : i.Orientation.Row, a2 = this._fromTuples(Zc(n2, o2,
|
|
14515
|
+
const o2 = this._isColumn, s2 = o2 ? i.Orientation.Column : i.Orientation.Row, a2 = this._fromTuples(Zc(n2, o2, $c(0, 0, void 0, void 0, o2), true), void 0, e2);
|
|
14508
14516
|
if (a2) return a2;
|
|
14509
14517
|
const c2 = new oh({ orientation: s2, maxCoords: this._calcScope.getEntireCoords() });
|
|
14510
14518
|
return new Ph(c2, Y.EmptyRange, void 0, e2);
|
|
@@ -14546,7 +14554,7 @@ class c_ {
|
|
|
14546
14554
|
getAddress(t5, e2 = false) {
|
|
14547
14555
|
t5 || (t5 = this.getPosition());
|
|
14548
14556
|
const n2 = this.getEntireCoords().sheetName;
|
|
14549
|
-
return void 0 !== t5.colIndex ? ((t6, e3, n3 = false) => n3 ?
|
|
14557
|
+
return void 0 !== t5.colIndex ? ((t6, e3, n3 = false) => n3 ? $u(t6, e3) : bu(t6, e3))(t5, n2, e2) : ((t6, e3, n3 = false) => (n3 ? $u({ colIndex: t6.colStart, rowIndex: t6.rowStart, $colIndex: t6.$colStart, $rowIndex: t6.$rowStart, sheetName: t6.sheetName }, e3) : bu({ colIndex: t6.colStart, rowIndex: t6.rowStart, $colIndex: t6.$colStart, $rowIndex: t6.$rowStart, sheetName: t6.sheetName }, e3)) + ":" + (n3 ? $u({ colIndex: t6.colEnd, rowIndex: t6.rowEnd, $colIndex: t6.$colEnd, $rowIndex: t6.$rowEnd }, null) : bu({ colIndex: t6.colEnd, rowIndex: t6.rowEnd, $colIndex: t6.$colEnd, $rowIndex: t6.$rowEnd }, null)))(t5, n2, e2);
|
|
14550
14558
|
}
|
|
14551
14559
|
parseAsDateTime(t5, e2 = false) {
|
|
14552
14560
|
return function(t6, e3 = false, n2 = false) {
|
|
@@ -14599,7 +14607,7 @@ class h_ {
|
|
|
14599
14607
|
}
|
|
14600
14608
|
getVersion() {
|
|
14601
14609
|
try {
|
|
14602
|
-
const t5 = "0.4.
|
|
14610
|
+
const t5 = "0.4.15";
|
|
14603
14611
|
if (-1 === t5.indexOf(".env.")) return `${t5}`;
|
|
14604
14612
|
} catch (t5) {
|
|
14605
14613
|
return "local";
|
|
@@ -14612,7 +14620,7 @@ class h_ {
|
|
|
14612
14620
|
return this._license?.licensee?.() ?? null;
|
|
14613
14621
|
}
|
|
14614
14622
|
}
|
|
14615
|
-
const u_ = () => ({ rowIndex: 0, colIndex: 0, sheetName: null, node: null, values: null, formulaSpatial: null, spillSpatial: null, volatile: null, conflatingFormats: null, dynamicPrecedentsInserts: null, formula: null, getEntireCoords: () =>
|
|
14623
|
+
const u_ = () => ({ rowIndex: 0, colIndex: 0, sheetName: null, node: null, values: null, formulaSpatial: null, spillSpatial: null, volatile: null, conflatingFormats: null, dynamicPrecedentsInserts: null, formula: null, getEntireCoords: () => Wh }), d_ = { getSheetIndex: (t5) => -1, getSheetCount: () => 1, getSheetName: () => null, getEntireCoords: () => Wh, getNamed: (t5, e2) => null, getFunction: (t5) => null, isDate1904: () => false }, g_ = (t5, e2) => {
|
|
14616
14624
|
if (!t5) return;
|
|
14617
14625
|
const n2 = t5.length;
|
|
14618
14626
|
if (0 === n2) return;
|
|
@@ -14636,7 +14644,7 @@ class p_ {
|
|
|
14636
14644
|
return this._getScope().getNumberFormat(t5, e2);
|
|
14637
14645
|
}
|
|
14638
14646
|
getEntireCoords() {
|
|
14639
|
-
return this._getScope().getEntireCoords() ??
|
|
14647
|
+
return this._getScope().getEntireCoords() ?? Wh;
|
|
14640
14648
|
}
|
|
14641
14649
|
isValidDate(t5) {
|
|
14642
14650
|
return this._getScope().isValidDate(t5);
|
|
@@ -14977,7 +14985,7 @@ const F_ = (t5, e2, n2, r2, o2, s2, i2, a2) => {
|
|
|
14977
14985
|
if (1 !== r3.size) return n3 ? l.BuiltIn.Value : r3;
|
|
14978
14986
|
r3 = r3.getValueAt(0, 0);
|
|
14979
14987
|
}
|
|
14980
|
-
return e3 && (r3 = qh(r3,
|
|
14988
|
+
return e3 && (r3 = qh(r3, $h(r3, true), e3)), r3;
|
|
14981
14989
|
})(n2, r2, true);
|
|
14982
14990
|
return t6 instanceof l.Known ? t6 : void e2.push(t6);
|
|
14983
14991
|
}
|
|
@@ -15007,7 +15015,7 @@ const F_ = (t5, e2, n2, r2, o2, s2, i2, a2) => {
|
|
|
15007
15015
|
}
|
|
15008
15016
|
{
|
|
15009
15017
|
if (!Array.isArray(n2)) {
|
|
15010
|
-
if (r2 && (n2 = qh(n2,
|
|
15018
|
+
if (r2 && (n2 = qh(n2, $h(n2, true), r2, false), n2?.isFormulaError)) return e2.push(n2), n2;
|
|
15011
15019
|
n2 = [n2];
|
|
15012
15020
|
}
|
|
15013
15021
|
const l2 = n2.length;
|
|
@@ -15124,7 +15132,7 @@ class L_ extends Tl {
|
|
|
15124
15132
|
this._context = r2;
|
|
15125
15133
|
const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
|
|
15126
15134
|
this._functions = new D_({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
|
|
15127
|
-
const i2 = await import("./
|
|
15135
|
+
const i2 = await import("./AfI5dmtnxoAFOc1C.mjs");
|
|
15128
15136
|
this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = Ep.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
|
|
15129
15137
|
} catch (t5) {
|
|
15130
15138
|
throw this._status = Ep.Status.Off, this._emitter.notify("onError", t5), this._emitter.notify("onStatusChange"), t5;
|
|
@@ -15165,8 +15173,8 @@ class L_ extends Tl {
|
|
|
15165
15173
|
}
|
|
15166
15174
|
}
|
|
15167
15175
|
}
|
|
15168
|
-
var B_, P_, z_,
|
|
15169
|
-
B_ || (B_ = {}), P_ || (P_ = {}), z_ || (z_ = {}), (
|
|
15176
|
+
var B_, P_, z_, j_, W_, H_, V_, $_;
|
|
15177
|
+
B_ || (B_ = {}), P_ || (P_ = {}), z_ || (z_ = {}), (W_ = j_ || (j_ = {})).NumberFilterOperatorType = { Equal: "equal", GreaterThan: "greaterThan", GreaterThanOrEqual: "greaterThanOrEqual", LessThan: "lessThan", LessThanOrEqual: "lessThanOrEqual", NotEqual: "notEqual" }, W_.Type = { Color: "color", Custom: "custom", Dynamic: "dynamic", Items: "items", Icon: "icon", Top10: "top10" }, W_.DynamicType = { AboveAverage: "aboveAverage", BelowAverage: "belowAverage", LastMonth: "lastMonth", LastQuarter: "lastQuarter", LastWeek: "lastWeek", LastYear: "lastYear", M1: "M1", M2: "M2", M3: "M3", M4: "M4", M5: "M5", M6: "M6", M7: "M7", M8: "M8", M9: "M9", M10: "M10", M11: "M11", M12: "M12", NextMonth: "nextMonth", NextQuarter: "nextQuarter", NextWeek: "nextWeek", Null: "null", Q1: "Q1", Q2: "Q2", Q3: "Q3", Q4: "Q4", ThisMonth: "thisMonth", ThisQuarter: "thisQuarter", ThisWeek: "thisWeek", Today: "today", Tomorrow: "tomorrow", YearToDate: "yearToDate", Yesterday: "yesterday" }, W_.DateItemGroupingType = { Day: "day", Hour: "hour", Minute: "minute", Month: "month", Second: "Second", Year: "year" }, (V_ = H_ || (H_ = {})).Type = { AboveAverage: "aboveAverage", BeginsWith: "beginsWith", CellIs: "cellIs", ColorScale: "colorScale", ContainsBlanks: "containsBlanks", ContainsErrors: "containsErrors", ContainsText: "containsText", DataBar: "dataBar", DuplicateValues: "duplicateValues", EndsWith: "endsWith", Expression: "expression", IconSet: "iconSet", NotContainsBlanks: "notContainsBlanks", NotContainsErrors: "notContainsErrors", NotContainsText: "notContainsText", TimePeriod: "timePeriod", Top10: "top10", UniqueValues: "uniqueValues" }, V_.OperatorType = { BeginsWith: "beginsWith", Between: "between", ContainsText: "containsText", EndsWith: "endsWith", Equal: "equal", GreaterThan: "greaterThan", GreaterThanOrEqual: "greaterThanOrEqual", LessThan: "lessThan", LessThanOrEqual: "lessThanOrEqual", NotBetween: "notBetween", NotContains: "notContains", NotEqual: "notEqual" }, V_.TimePeriod = { Last7Days: "last7Days", LastMonth: "lastMonth", LastWeek: "lastWeek", NextMonth: "nextMonth", NextWeek: "nextWeek", ThisMonth: "thisMonth", ThisWeek: "thisWeek", Today: "today", Tomorrow: "tomorrow", Yesterday: "yesterday" }, V_.ConditionalBoundsType = { Formula: "formula", Max: "max", Min: "min", Num: "num", Percent: "percent", Percentile: "percentile" }, ($_ || ($_ = {})).HeaderTextStyle = { A1: "a1", Zero: "zero", One: "one" };
|
|
15170
15178
|
class G_ {
|
|
15171
15179
|
constructor(t5, e2, n2, r2) {
|
|
15172
15180
|
this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = t5, this._topLeft = r2 ?? { rowIndex: 0, colIndex: 0 }, this._sheet = new pw({ styles: this._styles, date1904: e2, container: { getName: () => n2, getIndex: () => 1 } }), this._cellUpdater = this._sheet.getEntireRange().startIncrementalUpdates();
|
|
@@ -15477,7 +15485,7 @@ const q_ = (t5) => {
|
|
|
15477
15485
|
};
|
|
15478
15486
|
class Y_ {
|
|
15479
15487
|
constructor(t5) {
|
|
15480
|
-
if (!t5) throw new
|
|
15488
|
+
if (!t5) throw new jt("snapshot is required.");
|
|
15481
15489
|
this._snapshot = t5;
|
|
15482
15490
|
}
|
|
15483
15491
|
getItemType() {
|
|
@@ -15510,7 +15518,7 @@ class Y_ {
|
|
|
15510
15518
|
}
|
|
15511
15519
|
class Q_ {
|
|
15512
15520
|
constructor(t5, e2, n2, r2) {
|
|
15513
|
-
if (this._parsed = void 0, !t5) throw new
|
|
15521
|
+
if (this._parsed = void 0, !t5) throw new jt("nativeItems are required.");
|
|
15514
15522
|
this._native = t5, this._markOptions = Object.freeze(e2 ?? {}), this._styles = n2, this._isDate1904 = r2;
|
|
15515
15523
|
}
|
|
15516
15524
|
getItemType() {
|
|
@@ -16908,7 +16916,7 @@ class IS {
|
|
|
16908
16916
|
_createCSSStyle(t5) {
|
|
16909
16917
|
const e2 = this._normalStyle, n2 = {}, r2 = (t6, e3) => t6 === e3 || !(t6 && !e3) && (!(!t6 && e3) && e3.isEqual?.(t6)), o2 = t5.getFont(), s2 = e2.getFont();
|
|
16910
16918
|
var i2;
|
|
16911
|
-
r2(o2.getFill(), s2.getFill()) || (n2.color = kd(o2.getFill())), r2(o2.getSize(), s2.getSize()) || (n2["font-size"] = Fd(o2.getSize())), r2(o2.getWeight(), s2.getWeight()) || (n2["font-weight"] = o2.getWeight()), r2(o2.getStyle(), s2.getStyle()) || (n2["font-style"] = o2.getStyle()), r2(o2.getUnderline(), s2.getUnderline()) || (n2["text-decoration"] = "underline", n2["text-underline-style"] = (i2 = o2.getUnderline()) === Ai.UnderlineStyle.Single ? "single" : i2 === Ai.UnderlineStyle.Double ? "double" : i2 === Ai.UnderlineStyle.SingleAccounting ? "single-accounting" : i2 === Ai.UnderlineStyle.DoubleAccounting ? "double-accounting" : "none"), r2(o2.getFamily(), s2.getFamily()) && r2(o2.getFallbacks(), s2.getFallbacks()) || (n2["font-family"] = zd(o2.getFamily(), o2.getFallbacks())), r2(t5.getNumberFormat(), e2.getNumberFormat()) || (n2["mso-number-format"] =
|
|
16919
|
+
r2(o2.getFill(), s2.getFill()) || (n2.color = kd(o2.getFill())), r2(o2.getSize(), s2.getSize()) || (n2["font-size"] = Fd(o2.getSize())), r2(o2.getWeight(), s2.getWeight()) || (n2["font-weight"] = o2.getWeight()), r2(o2.getStyle(), s2.getStyle()) || (n2["font-style"] = o2.getStyle()), r2(o2.getUnderline(), s2.getUnderline()) || (n2["text-decoration"] = "underline", n2["text-underline-style"] = (i2 = o2.getUnderline()) === Ai.UnderlineStyle.Single ? "single" : i2 === Ai.UnderlineStyle.Double ? "double" : i2 === Ai.UnderlineStyle.SingleAccounting ? "single-accounting" : i2 === Ai.UnderlineStyle.DoubleAccounting ? "double-accounting" : "none"), r2(o2.getFamily(), s2.getFamily()) && r2(o2.getFallbacks(), s2.getFallbacks()) || (n2["font-family"] = zd(o2.getFamily(), o2.getFallbacks())), r2(t5.getNumberFormat(), e2.getNumberFormat()) || (n2["mso-number-format"] = jd(t5.getNumberFormat()));
|
|
16912
16920
|
const a2 = t5.getAlignment(), l2 = e2.getAlignment();
|
|
16913
16921
|
if (!r2(a2.getHorizontal(), l2.getHorizontal())) {
|
|
16914
16922
|
const t6 = a2.getHorizontal();
|
|
@@ -16929,7 +16937,7 @@ class IS {
|
|
|
16929
16937
|
}
|
|
16930
16938
|
_createCSSNormalStyle() {
|
|
16931
16939
|
const t5 = this._normalStyle, e2 = { "padding-top": "1px", "padding-left": "1px", "padding-right": "1px", "mso-ignore": "padding" }, n2 = t5.getFont(), r2 = t5.getAlignment();
|
|
16932
|
-
return e2.color = kd(n2.getFill()), xS(e2, t5.getFill()), e2["font-size"] = Fd(n2.getSize()), e2["font-weight"] = n2.getWeight(), e2["font-style"] = n2.getStyle(), e2["text-decoration"] = Od(n2.getUnderline(), n2.getStrike()), e2["font-family"] = zd(n2.getFamily(), n2.getFallbacks()), e2["mso-font-charset"] = "0", e2["mso-background-source"] = "auto", e2["mso-number-format"] =
|
|
16940
|
+
return e2.color = kd(n2.getFill()), xS(e2, t5.getFill()), e2["font-size"] = Fd(n2.getSize()), e2["font-weight"] = n2.getWeight(), e2["font-style"] = n2.getStyle(), e2["text-decoration"] = Od(n2.getUnderline(), n2.getStrike()), e2["font-family"] = zd(n2.getFamily(), n2.getFallbacks()), e2["mso-font-charset"] = "0", e2["mso-background-source"] = "auto", e2["mso-number-format"] = jd(t5.getNumberFormat()), e2["text-align"] = Zs.toCSSHorizontalTextAlign(r2.getHorizontal()), e2["vertical-align"] = Bd(r2.getVertical()), e2.border = "none", e2["mso-pattern"] = "auto", e2["white-space"] = Pd(r2.getOverflow()), r2.getOverflow() === Zs.Overflow.Shrink && (e2["mso-text-control"] = "shrinktofit"), e2["mso-rotate"] = "0", r2.getIndent() > 0 && (e2["mso-char-indent-count"] = r2.getIndent()), e2["mso-protection"] = "locked visible", e2;
|
|
16933
16941
|
}
|
|
16934
16942
|
onCell(t5, e2, n2) {
|
|
16935
16943
|
let r2;
|
|
@@ -17167,8 +17175,8 @@ class LS {
|
|
|
17167
17175
|
return true;
|
|
17168
17176
|
}
|
|
17169
17177
|
}
|
|
17170
|
-
const BS = "The columns are protected. To make a change, unprotect the sheet. You might be requested to enter a password.", PS = "The rows are protected. To make a change, unprotect the sheet. You might be requested to enter a password.", zS = "Rows",
|
|
17171
|
-
class
|
|
17178
|
+
const BS = "The columns are protected. To make a change, unprotect the sheet. You might be requested to enter a password.", PS = "The rows are protected. To make a change, unprotect the sheet. You might be requested to enter a password.", zS = "Rows", jS = "Columns";
|
|
17179
|
+
class WS {
|
|
17172
17180
|
constructor(t5) {
|
|
17173
17181
|
if (this._emitter = null, this._closed = false, this._scaleFactor = 1, this._defaultSize = -1, this._defaultCustomSize = -1, this._defaultPxSize = 1, this._isColumn = true, this._indexedSizes = [], this._indexedHidden = [], this._headerRunCoords = null, this._hasCustomFormats = false, this._hasStyles = false, this._hasHidden = false, this._lastHeaderRead = null, this._readCache = null, this._lastVisibleRunsRead = null, this._lastVisibleRunCoords = null, this._options = { isProtected: () => false, getUpdateId: () => null, scaleFactor: () => 1, defaultSize: () => 100, minSize: () => 0, maxSize: () => 500, orientation: i.Orientation.Column, createCellHeader: (t6, e3, n3) => new LS(t6, e3, n3), ...t5 }, !this._options.sheet) throw new Error("An ISheet must be provided");
|
|
17174
17182
|
if (this._emptyHeader = this._options.createCellHeader(this, null, null), this._scaleFactor = this._options.scaleFactor(), this._defaultSize = this._options.defaultSize(), this._defaultSize <= 0) throw new Error("defaultSize must be greater than 0");
|
|
@@ -17292,7 +17300,7 @@ class jS {
|
|
|
17292
17300
|
const n4 = t6(e4.min, e4.max);
|
|
17293
17301
|
return n4 && n4.break ? n4 : void 0;
|
|
17294
17302
|
}, n3, o3), s3 && s3.break) return s3.break;
|
|
17295
|
-
}, updateHeaders: (t6, e3) => (n2.updateHeaderPairs([{ address: r2, update: t6 }], { description: e3?.description ?? `Update ${n2._isColumn ?
|
|
17303
|
+
}, updateHeaders: (t6, e3) => (n2.updateHeaderPairs([{ address: r2, update: t6 }], { description: e3?.description ?? `Update ${n2._isColumn ? jS : zS} ${toString()}`, ...e3 }), i2), setHidden: (t6) => (n2.setHidden(r2, t6), i2), getUsedRange: (t6) => {
|
|
17296
17304
|
const e3 = n2._headerRunCoords;
|
|
17297
17305
|
if (!e3 || e3.min < 0 || e3.max > n2._maxDataIndex) return null;
|
|
17298
17306
|
return aa(e3, r2) ? n2.getRange(e3, t6) : null;
|
|
@@ -17367,11 +17375,11 @@ class jS {
|
|
|
17367
17375
|
}
|
|
17368
17376
|
setSize(t5, e2 = null, n2) {
|
|
17369
17377
|
(n2?.relativeSize ?? false) || "number" != typeof e2 || (e2 += "px");
|
|
17370
|
-
const r2 = { size: e2, autoSize: n2?.autoSize ?? false }, o2 = `Resize ${this._isColumn ?
|
|
17378
|
+
const r2 = { size: e2, autoSize: n2?.autoSize ?? false }, o2 = `Resize ${this._isColumn ? jS : zS}`;
|
|
17371
17379
|
return this.update(t5, r2, { description: o2, ...n2 }), this;
|
|
17372
17380
|
}
|
|
17373
17381
|
setHidden(t5, e2 = null) {
|
|
17374
|
-
const n2 = { hidden: e2 }, r2 = `${e2 ? "Unhide" : "Hide"} ${this._isColumn ?
|
|
17382
|
+
const n2 = { hidden: e2 }, r2 = `${e2 ? "Unhide" : "Hide"} ${this._isColumn ? jS : zS}`;
|
|
17375
17383
|
return this.update(t5, n2, { description: r2 }), this;
|
|
17376
17384
|
}
|
|
17377
17385
|
_clear(t5, e2) {
|
|
@@ -17417,7 +17425,7 @@ class jS {
|
|
|
17417
17425
|
}
|
|
17418
17426
|
_updatePairsInternal(t5, e2) {
|
|
17419
17427
|
if (!t5 || 0 === t5.length) return null;
|
|
17420
|
-
const n2 = e2?.skipCustomSize ?? false, r2 = this._isColumn, o2 = this.getSheet().getStyles(), s2 = this._beginCommit({ description: e2?.description ?? `Update ${r2 ?
|
|
17428
|
+
const n2 = e2?.skipCustomSize ?? false, r2 = this._isColumn, o2 = this.getSheet().getStyles(), s2 = this._beginCommit({ description: e2?.description ?? `Update ${r2 ? jS : zS}` });
|
|
17421
17429
|
let i2 = [...this._getState().headers], a2 = false, l2 = false;
|
|
17422
17430
|
const c2 = r2 ? Na.Edge.Top : Na.Edge.Left;
|
|
17423
17431
|
Na.oppositeEdge(c2);
|
|
@@ -17586,7 +17594,7 @@ class jS {
|
|
|
17586
17594
|
_insertHeaders(t5, e2) {
|
|
17587
17595
|
if (this.isProtected()) throw new Error(this._isColumn ? BS : PS);
|
|
17588
17596
|
if (e2 <= 0) return;
|
|
17589
|
-
const n2 = this._beginCommit({ description: `Insert ${this._isColumn ?
|
|
17597
|
+
const n2 = this._beginCommit({ description: `Insert ${this._isColumn ? jS : zS}` }), r2 = this._getState();
|
|
17590
17598
|
let o2 = [...r2.headers];
|
|
17591
17599
|
o2 = ra(((t6, e3, n3 = 1) => {
|
|
17592
17600
|
const r3 = bt.findEqualOrGreater(t6, e3, (t7) => t7.max), o3 = t6.slice(0, r3), s3 = [], i2 = [];
|
|
@@ -17600,7 +17608,7 @@ class jS {
|
|
|
17600
17608
|
}
|
|
17601
17609
|
_deleteHeaders(t5, e2) {
|
|
17602
17610
|
if (this.isProtected()) throw new Error(this._isColumn ? BS : PS);
|
|
17603
|
-
const n2 = this._beginCommit({ description: `Delete ${this._isColumn ?
|
|
17611
|
+
const n2 = this._beginCommit({ description: `Delete ${this._isColumn ? jS : zS}` }), r2 = this._getState();
|
|
17604
17612
|
let o2 = [...r2.headers];
|
|
17605
17613
|
o2 = ra(ea(o2, t5, e2));
|
|
17606
17614
|
const s2 = [{ min: t5, max: t5 + e2 }];
|
|
@@ -17678,9 +17686,9 @@ class HS {
|
|
|
17678
17686
|
return this._c;
|
|
17679
17687
|
}
|
|
17680
17688
|
}
|
|
17681
|
-
const
|
|
17689
|
+
const VS = (t5) => {
|
|
17682
17690
|
let e2 = "";
|
|
17683
|
-
const n2 =
|
|
17691
|
+
const n2 = $u, r2 = t5.length;
|
|
17684
17692
|
for (let o2 = 0; o2 < r2; o2++) {
|
|
17685
17693
|
const r3 = t5[o2];
|
|
17686
17694
|
if ("cell" === r3.type) {
|
|
@@ -17690,7 +17698,7 @@ const $S = (t5) => {
|
|
|
17690
17698
|
}
|
|
17691
17699
|
}
|
|
17692
17700
|
return e2;
|
|
17693
|
-
},
|
|
17701
|
+
}, $S = (t5, e2 = 0, n2 = 0) => {
|
|
17694
17702
|
let r2 = "";
|
|
17695
17703
|
const o2 = Gu, s2 = t5.length;
|
|
17696
17704
|
for (let i2 = 0; i2 < s2; i2++) {
|
|
@@ -17708,7 +17716,7 @@ class GS {
|
|
|
17708
17716
|
this._c = t5, this._tokens = e2, this._references = n2 || bt.EmptyArray;
|
|
17709
17717
|
}
|
|
17710
17718
|
getFormulaTextAt(t5, e2, n2 = false) {
|
|
17711
|
-
return n2 ?
|
|
17719
|
+
return n2 ? VS(this._tokens) : $S(this._tokens, t5, e2);
|
|
17712
17720
|
}
|
|
17713
17721
|
getTokensAt(t5, e2, n2) {
|
|
17714
17722
|
let r2 = this._tokens;
|
|
@@ -17830,7 +17838,7 @@ class JS {
|
|
|
17830
17838
|
processMerge(t5) {
|
|
17831
17839
|
}
|
|
17832
17840
|
}
|
|
17833
|
-
const qS = Object.freeze({ coords: Y.EmptyCell, topLeft: T.EmptyTopLeft }), KS = Object.freeze({ cell: Y.EmptyCell, ranges: bt.EmptyArray, rangeIndex: 0 }), XS = Object.freeze({ selection: KS, topLeft: T.EmptyTopLeft, freezePanes: qS, showRowHeaders: true, showColumnHeaders: true, showRowGridlines: true, showColumnGridlines: true, rowHeaderStyle:
|
|
17841
|
+
const qS = Object.freeze({ coords: Y.EmptyCell, topLeft: T.EmptyTopLeft }), KS = Object.freeze({ cell: Y.EmptyCell, ranges: bt.EmptyArray, rangeIndex: 0 }), XS = Object.freeze({ selection: KS, topLeft: T.EmptyTopLeft, freezePanes: qS, showRowHeaders: true, showColumnHeaders: true, showRowGridlines: true, showColumnGridlines: true, rowHeaderStyle: $_.HeaderTextStyle.One, columnHeaderStyle: $_.HeaderTextStyle.A1, showFormulas: false, showZeros: true, zoomScale: 100, gridLineColor: null });
|
|
17834
17842
|
class YS {
|
|
17835
17843
|
constructor(t5) {
|
|
17836
17844
|
if (this._emitter = null, !t5?.sheet) throw new Error("SheetView requires a sheet.");
|
|
@@ -18020,7 +18028,7 @@ class YS {
|
|
|
18020
18028
|
}
|
|
18021
18029
|
}
|
|
18022
18030
|
async function QS() {
|
|
18023
|
-
const { getCrypto: t5 } = await import("./
|
|
18031
|
+
const { getCrypto: t5 } = await import("./Cm8B2CXlnA5r12FE.mjs");
|
|
18024
18032
|
return t5();
|
|
18025
18033
|
}
|
|
18026
18034
|
const ZS = async (t5, e2, ...n2) => {
|
|
@@ -18051,7 +18059,7 @@ class nw {
|
|
|
18051
18059
|
return { salt: o2, hash: await nw._convertPasswordToHash(t5, o2, e2, n2) };
|
|
18052
18060
|
}
|
|
18053
18061
|
static async verifyPassword(t5, e2, n2 = nw.DefaultAlgo, r2 = nw.DefaultSpinCount) {
|
|
18054
|
-
if (!t5 || !e2) throw new
|
|
18062
|
+
if (!t5 || !e2) throw new jt();
|
|
18055
18063
|
return ((t6, e3) => {
|
|
18056
18064
|
const n3 = t6.length, r3 = e3.length;
|
|
18057
18065
|
let o2 = n3 === r3 ? 0 : 1;
|
|
@@ -18827,7 +18835,7 @@ class pw {
|
|
|
18827
18835
|
constructor(t5) {
|
|
18828
18836
|
this._lastTransactionUUID = null, this._emitter = null, this._initializing = true, this._emitterMovables = null, this._rangesListenerSorted = null, this._lastCellDecoded = { address: null, coords: null }, this._lastCellSelected = { coords: null, cell: null }, this._lastCellRead = { coords: null, cell: null }, this._lastValueRead = { range: null, isDateOrTime: null }, this._lastGetRangeRead = {}, this._lastUsedCoordsRead = { coords: null, range: null }, this._lastActiveRead = { selection: null, range: null, ranges: null }, this._lastRangeRead = { address: null, range: null, ranges: null }, this._isDataColumn = true, this._isDate1904 = false, this._colHeaders = null, this._colHeadersShiftCallback = null, this._colHeadersListener = null, this._colHeadersRemoveListener = null, this._rowHeaders = null, this._rowHeadersShiftCallback = null, this._rowHeadersListener = null, this._rowHeadersRemoveListener = null, this._closed = false;
|
|
18829
18837
|
const e2 = Object.freeze({ ...t5 });
|
|
18830
|
-
|
|
18838
|
+
ze._validate(true), this._transactions = e2.transactions ?? new ue(), this._ownTransactions = !e2.transactions;
|
|
18831
18839
|
const n2 = this._beginCommit({ description: "New Sheet" }), r2 = this;
|
|
18832
18840
|
try {
|
|
18833
18841
|
this._entireCoords = Object.freeze({ colStart: 0, rowStart: 0, colEnd: (e2.maxColumns ?? lw) - 1, rowEnd: (e2.maxRows ?? cw) - 1 }), this._strings = e2.strings ?? new wp(), this._ownStrings = !e2.strings;
|
|
@@ -19212,11 +19220,11 @@ class pw {
|
|
|
19212
19220
|
return n4 = Bm(g2, t6, e4), n4;
|
|
19213
19221
|
});
|
|
19214
19222
|
return t6.cloneWithUpdate(r3);
|
|
19215
|
-
}, s3 = t5[n3], i3 = s3.value, a3 = void 0 !== i3 ? i3 : e2, l3 = o4(new
|
|
19223
|
+
}, s3 = t5[n3], i3 = s3.value, a3 = void 0 !== i3 ? i3 : e2, l3 = o4(new jm(g2, s3), a3), h3 = (t6, e3) => {
|
|
19216
19224
|
if (r2 && t6.value && t6.value.getProperties()?.numberFormat) return t6;
|
|
19217
19225
|
const n4 = Y.sanitizeRange(t6);
|
|
19218
19226
|
let s4 = null, i4 = t6.value;
|
|
19219
|
-
"function" == typeof a3 && i4 ? s4 = o4(i4, a3) : (i4 || (i4 = new
|
|
19227
|
+
"function" == typeof a3 && i4 ? s4 = o4(i4, a3) : (i4 || (i4 = new jm(g2, n4)), s4 = i4.cloneWithUpdate(e3.value._p ?? null)), s4.isEmpty() && (s4 = null);
|
|
19220
19228
|
let l4 = false;
|
|
19221
19229
|
if (s4) {
|
|
19222
19230
|
const t7 = s4._p?.alignment?.horizontal;
|
|
@@ -19292,13 +19300,13 @@ class pw {
|
|
|
19292
19300
|
} while (T2);
|
|
19293
19301
|
return T2;
|
|
19294
19302
|
};
|
|
19295
|
-
const k2 = c2.getState(this), F2 = k2.cellValuesGrid.clone(), O2 = k2.calcGraph.clone(), D2 = k2.formulaSpatial.clone(), L2 = k2.spillSpatial.clone(), B2 = k2.pendingSpatial.clone(), P2 = k2.calcErrorsSpatial.clone(), z2 = k2.contentfulSpatial.clone(),
|
|
19303
|
+
const k2 = c2.getState(this), F2 = k2.cellValuesGrid.clone(), O2 = k2.calcGraph.clone(), D2 = k2.formulaSpatial.clone(), L2 = k2.spillSpatial.clone(), B2 = k2.pendingSpatial.clone(), P2 = k2.calcErrorsSpatial.clone(), z2 = k2.contentfulSpatial.clone(), j2 = rh(u2), W2 = rh(u2, (t6, e3) => {
|
|
19296
19304
|
if (t6 === e3) return e3;
|
|
19297
19305
|
}), H2 = rh(u2, (t6, e3) => {
|
|
19298
19306
|
if (t6 === e3) return e3;
|
|
19299
|
-
}),
|
|
19307
|
+
}), V2 = rh(u2, (t6, e3) => {
|
|
19300
19308
|
if (t6 === e3) return e3;
|
|
19301
|
-
}),
|
|
19309
|
+
}), $2 = [];
|
|
19302
19310
|
let G2 = null, U2 = null;
|
|
19303
19311
|
if (false !== e2?.textParser) {
|
|
19304
19312
|
const t6 = e2 && true !== e2.textParser ? e2.textParser : {};
|
|
@@ -19314,7 +19322,7 @@ class pw {
|
|
|
19314
19322
|
const r4 = t6;
|
|
19315
19323
|
if (r4.isTopLeft()) {
|
|
19316
19324
|
const t7 = r4.getSpans();
|
|
19317
|
-
|
|
19325
|
+
$2.push({ colStart: u2 ? e3 : n3, rowStart: u2 ? n3 : e3, colEnd: (u2 ? e3 : n3) + t7.width - 1, rowEnd: (u2 ? n3 : e3) + t7.height - 1 });
|
|
19318
19326
|
}
|
|
19319
19327
|
}
|
|
19320
19328
|
let i2 = Jm(t6, q2, U2, K2);
|
|
@@ -19332,12 +19340,12 @@ class pw {
|
|
|
19332
19340
|
}
|
|
19333
19341
|
if (!s2) {
|
|
19334
19342
|
const t7 = i2.style;
|
|
19335
|
-
void 0 === t7 || null === t7 && !o2 ||
|
|
19343
|
+
void 0 === t7 || null === t7 && !o2 || W2.append(e3, n3, t7);
|
|
19336
19344
|
const r4 = i2.hyperlink;
|
|
19337
19345
|
void 0 === r4 || null === r4 && !o2 || H2.append(e3, n3, r4);
|
|
19338
19346
|
}
|
|
19339
19347
|
const l3 = i2.formula;
|
|
19340
|
-
return void 0 === l3 || null === l3 && !o2 ||
|
|
19348
|
+
return void 0 === l3 || null === l3 && !o2 || V2.append(e3, n3, l3), a3;
|
|
19341
19349
|
};
|
|
19342
19350
|
let Q2 = -1, Z2 = -1;
|
|
19343
19351
|
try {
|
|
@@ -19357,7 +19365,7 @@ class pw {
|
|
|
19357
19365
|
const e5 = i3[t9];
|
|
19358
19366
|
let r5 = null;
|
|
19359
19367
|
if (C2 || "number" != typeof e5 ? (C2 || null !== e5 || o2) && (r5 = Y2(e5, n4, c3)) : r5 = e5, null == r5) {
|
|
19360
|
-
if (null === r5 &&
|
|
19368
|
+
if (null === r5 && j2.append(n4, c3), h3.length > 0) {
|
|
19361
19369
|
const t10 = X2(h3, f2);
|
|
19362
19370
|
s4.push([l3, t10]), h3 = [];
|
|
19363
19371
|
}
|
|
@@ -19372,7 +19380,7 @@ class pw {
|
|
|
19372
19380
|
}
|
|
19373
19381
|
s4.length > 0 && J2.push([n4, s4]);
|
|
19374
19382
|
}
|
|
19375
|
-
const n3 =
|
|
19383
|
+
const n3 = j2.done(), r3 = n3.length;
|
|
19376
19384
|
for (let t7 = 0; t7 < r3; t7++) {
|
|
19377
19385
|
const e3 = n3[t7];
|
|
19378
19386
|
F2.delete(n3[t7]), z2.insertNonOverlapping({ ...e3, value: null });
|
|
@@ -19381,15 +19389,15 @@ class pw {
|
|
|
19381
19389
|
}
|
|
19382
19390
|
let s3;
|
|
19383
19391
|
J2.length > 0 && (F2.setValues(J2), s3 = { tuples: J2, bounds: l2 });
|
|
19384
|
-
let d3, g3 =
|
|
19392
|
+
let d3, g3 = V2.done();
|
|
19385
19393
|
if (g3.length > 1 && (g3 = Dc(g3, i.Orientation.Column, 1)), s3 || g3.length > 0) {
|
|
19386
19394
|
const t7 = O2.setInputs(s3, g3);
|
|
19387
19395
|
d3 = this._updateFormulaSpatial(D2, t7.inserts, t7.removes, k2.directStyleSpatial);
|
|
19388
19396
|
}
|
|
19389
19397
|
const m3 = Of(J2, u2), E3 = m3.length;
|
|
19390
19398
|
for (let t7 = 0; t7 < E3; t7++) z2.insertNonOverlapping(m3[t7]);
|
|
19391
|
-
const b3 =
|
|
19392
|
-
b3.length > 0 && this._updateStyles(b3),
|
|
19399
|
+
const b3 = W2.done();
|
|
19400
|
+
b3.length > 0 && this._updateStyles(b3), $2.length > 0 && this._merge($2);
|
|
19393
19401
|
const v3 = H2.done();
|
|
19394
19402
|
if (v3.length > 0 && this._setHyperlinks(v3), this._updateState({ cellValuesGrid: F2, contentfulSpatial: z2, calcGraph: O2, formulaSpatial: D2, spillSpatial: L2, pendingSpatial: B2, calcErrorsSpatial: P2 }), d3 && d3.length > 0 && this._updateStyles(d3, void 0, {}, true), e2?.autoFit) {
|
|
19395
19403
|
const t7 = "boolean" == typeof e2.autoFit ? Rw : e2.autoFit;
|
|
@@ -19586,9 +19594,9 @@ class pw {
|
|
|
19586
19594
|
return c3 = h2 ? this.createTemporaryCell(l3, o3) : this.createTemporaryCell(null, o3).createTemporaryCell(l3), c3;
|
|
19587
19595
|
}), false;
|
|
19588
19596
|
}
|
|
19589
|
-
const z2 = this._createIncrementalUpdater({ orientation: s2 ? i.Orientation.Column : i.Orientation.Row }),
|
|
19597
|
+
const z2 = this._createIncrementalUpdater({ orientation: s2 ? i.Orientation.Column : i.Orientation.Row }), j2 = k2.length;
|
|
19590
19598
|
k2.sort((t6, e3) => t6.oppositeIndex - e3.oppositeIndex);
|
|
19591
|
-
for (let t6 = 0; t6 <
|
|
19599
|
+
for (let t6 = 0; t6 < j2; t6++) {
|
|
19592
19600
|
const e3 = t6, n3 = B2(u2, k2[e3].values), r3 = k2[e3].oppositeIndex, o3 = A2 ? C2 : C2 + T2 - 1, i2 = this.isDate1904();
|
|
19593
19601
|
for (let t7 = 0; t7 < T2; t7++) {
|
|
19594
19602
|
let e4 = n3(o3 + (A2 ? t7 : -t7));
|
|
@@ -19598,23 +19606,23 @@ class pw {
|
|
|
19598
19606
|
}
|
|
19599
19607
|
}
|
|
19600
19608
|
this._clear([f2], n2?.contentsOnly ? Ad.Content.Formats : void 0), z2.apply();
|
|
19601
|
-
const
|
|
19602
|
-
if (
|
|
19603
|
-
if (
|
|
19609
|
+
const W2 = this._getMerges([p2]), H2 = Y.unionRangesArrays(W2);
|
|
19610
|
+
if (W2.length > 0 && !Y.isRangeWithinRange(H2, p2)) throw new Error(wd);
|
|
19611
|
+
if (W2.length > 0) {
|
|
19604
19612
|
const e3 = [], n3 = o2 / y2;
|
|
19605
19613
|
if (s2) {
|
|
19606
|
-
const o3 = t5.rowEnd - t5.rowStart + 1, s3 = r2 === i.Direction.Up ? f2.rowStart : t5.rowEnd + 1, a3 =
|
|
19614
|
+
const o3 = t5.rowEnd - t5.rowStart + 1, s3 = r2 === i.Direction.Up ? f2.rowStart : t5.rowEnd + 1, a3 = W2.length;
|
|
19607
19615
|
for (let r3 = 0; r3 < a3; r3++) {
|
|
19608
|
-
const i2 =
|
|
19616
|
+
const i2 = W2[r3], a4 = i2.rowStart - t5.rowStart, l3 = i2.rowEnd - i2.rowStart + 1;
|
|
19609
19617
|
for (let t6 = 0; t6 < n3; t6++) {
|
|
19610
19618
|
const n4 = t6 * o3;
|
|
19611
19619
|
e3.push({ colStart: i2.colStart, rowStart: s3 + n4 + a4, colEnd: i2.colEnd, rowEnd: s3 + n4 + a4 + l3 - 1 });
|
|
19612
19620
|
}
|
|
19613
19621
|
}
|
|
19614
19622
|
} else {
|
|
19615
|
-
const o3 = t5.colEnd - t5.colStart + 1, s3 = r2 === i.Direction.Left ? f2.colStart : t5.colEnd + 1, a3 =
|
|
19623
|
+
const o3 = t5.colEnd - t5.colStart + 1, s3 = r2 === i.Direction.Left ? f2.colStart : t5.colEnd + 1, a3 = W2.length;
|
|
19616
19624
|
for (let r3 = 0; r3 < a3; r3++) {
|
|
19617
|
-
const i2 =
|
|
19625
|
+
const i2 = W2[r3], a4 = i2.colStart - t5.colStart, l3 = i2.colEnd - i2.colStart + 1;
|
|
19618
19626
|
for (let t6 = 0; t6 < n3; t6++) {
|
|
19619
19627
|
const n4 = t6 * o3;
|
|
19620
19628
|
e3.push({ colStart: s3 + n4 + a4, rowStart: i2.rowStart, colEnd: s3 + n4 + a4 + l3 - 1, rowEnd: i2.rowEnd });
|
|
@@ -19623,8 +19631,8 @@ class pw {
|
|
|
19623
19631
|
}
|
|
19624
19632
|
this._merge(e3);
|
|
19625
19633
|
}
|
|
19626
|
-
const
|
|
19627
|
-
G2.directStyleSpatial =
|
|
19634
|
+
const V2 = this._getState(), $2 = {}, G2 = {};
|
|
19635
|
+
G2.directStyleSpatial = V2.directStyleSpatial, G2.continuousFillSpatial = V2.continuousFillSpatial;
|
|
19628
19636
|
let U2 = t5, J2 = f2;
|
|
19629
19637
|
if (!A2) {
|
|
19630
19638
|
let e3 = (s2 ? p2.rowEnd + 1 - p2.rowStart : p2.colEnd + 1 - p2.colStart) % C2;
|
|
@@ -19633,9 +19641,9 @@ class pw {
|
|
|
19633
19641
|
}
|
|
19634
19642
|
const q2 = Object.keys(G2), K2 = q2.length;
|
|
19635
19643
|
for (let t6 = 0; t6 < K2; t6++) {
|
|
19636
|
-
const e3 = q2[t6], n3 = G2[e3].createCopiedEntries(U2, J2), r3 =
|
|
19644
|
+
const e3 = q2[t6], n3 = G2[e3].createCopiedEntries(U2, J2), r3 = V2[e3].clone(), o3 = n3.removes, s3 = o3.length;
|
|
19637
19645
|
for (let t7 = 0; t7 < s3; t7++) r3.remove(o3[t7]);
|
|
19638
|
-
r3.load(n3.inserts),
|
|
19646
|
+
r3.load(n3.inserts), $2[e3] = r3;
|
|
19639
19647
|
}
|
|
19640
19648
|
if (A2) {
|
|
19641
19649
|
const e3 = this.getTables().search({ address: { rowIndex: t5.rowEnd, colIndex: t5.colEnd } });
|
|
@@ -19644,8 +19652,8 @@ class pw {
|
|
|
19644
19652
|
t6.resize({ colStart: n3.colStart, rowStart: n3.rowStart, colEnd: s2 ? n3.colEnd : f2.colEnd, rowEnd: s2 ? f2.rowEnd : n3.rowEnd });
|
|
19645
19653
|
}
|
|
19646
19654
|
}
|
|
19647
|
-
const X2 =
|
|
19648
|
-
X2.autoFill(t5, f2),
|
|
19655
|
+
const X2 = V2.calcGraph.clone();
|
|
19656
|
+
X2.autoFill(t5, f2), $2.calcGraph = X2, this._updateState($2), m2 = { ...a2, ranges: l2 }, g2.commit({ viewBefore: { view: this.getView(), selection: Bf([t5]), selectOptions: n2?.autoSelect }, viewAfter: { view: this.getView(), selection: m2, selectOptions: n2?.autoSelect } }), this._autoSelect(n2?.autoSelect ?? false, m2);
|
|
19649
19657
|
} catch (t6) {
|
|
19650
19658
|
throw g2?.rollback(), t6;
|
|
19651
19659
|
}
|
|
@@ -19686,7 +19694,7 @@ class pw {
|
|
|
19686
19694
|
else {
|
|
19687
19695
|
c2.insertNonOverlapping({ ...r4, value: d2 });
|
|
19688
19696
|
const t6 = this._styles, e3 = (e4) => {
|
|
19689
|
-
const n4 = e4.value ?? new
|
|
19697
|
+
const n4 = e4.value ?? new jm(t6, Y.sanitizeRange(e4));
|
|
19690
19698
|
let r5 = { ...n4.getPropertiesAt(0, 0, null) };
|
|
19691
19699
|
if (r5.named) {
|
|
19692
19700
|
const e5 = t6.getNamed(r5.named)?.getRanged().getPropertiesAt(0, 0, null);
|
|
@@ -19930,7 +19938,7 @@ class pw {
|
|
|
19930
19938
|
const n4 = l3.search(t6), r3 = n4.length;
|
|
19931
19939
|
for (let o3 = 0; o3 < r3; o3++) {
|
|
19932
19940
|
const r4 = Y.intersectRanges(n4[o3], t6);
|
|
19933
|
-
if (r4 && (e5 += (r4.rowEnd - r4.rowStart + 1) * (r4.colEnd - r4.colStart + 1)), e5 > 1) throw new
|
|
19941
|
+
if (r4 && (e5 += (r4.rowEnd - r4.rowStart + 1) * (r4.colEnd - r4.colStart + 1)), e5 > 1) throw new Wt("Merging cells would cause some values to be discarded. Use 'discardMultipleValues' option if desired.", "discardMultipleValues");
|
|
19934
19942
|
}
|
|
19935
19943
|
}
|
|
19936
19944
|
if (n3 || (n3 = e4), !Y.isEqualCells(n3, e4)) {
|
|
@@ -19958,7 +19966,7 @@ class pw {
|
|
|
19958
19966
|
}
|
|
19959
19967
|
u2.apply(), this._indexMerges(d2), this._updateState({});
|
|
19960
19968
|
} catch (t6) {
|
|
19961
|
-
if (t6.type) throw new
|
|
19969
|
+
if (t6.type) throw new Wt(t6.message ?? "Unable to merge", t6.type);
|
|
19962
19970
|
throw new Error(t6.message ?? "Unable to merge");
|
|
19963
19971
|
}
|
|
19964
19972
|
a2 && (o2 = a2, this.getSelection().updateCoords(a2)), l2.commit({ viewAfter: { view: this.getView(), selection: o2, merges: t5, ranges: t5, selectOptions: e2?.autoSelect } }), this._autoSelect(e2?.autoSelect ?? false, o2);
|
|
@@ -20012,7 +20020,7 @@ class pw {
|
|
|
20012
20020
|
const t7 = n3.length;
|
|
20013
20021
|
for (let e4 = 0; e4 < t7; e4++) {
|
|
20014
20022
|
const t8 = n3[e4].getSnapshot?.(r3);
|
|
20015
|
-
t8 && (o3.push(t8), s3 =
|
|
20023
|
+
t8 && (o3.push(t8), s3 = Ve(t8.getCoords(), s3));
|
|
20016
20024
|
}
|
|
20017
20025
|
} else if (e3) {
|
|
20018
20026
|
const n4 = e3.length;
|
|
@@ -20020,7 +20028,7 @@ class pw {
|
|
|
20020
20028
|
const n5 = e3[a4], l4 = t6.getMovables().search({ excludeHidden: false, fullyContained: true, address: n5 }), c3 = l4.length;
|
|
20021
20029
|
for (let e4 = 0; e4 < c3; e4++) {
|
|
20022
20030
|
const a5 = l4[e4].getSnapshot?.(r3);
|
|
20023
|
-
a5 && (o3.push(a5), s3 =
|
|
20031
|
+
a5 && (o3.push(a5), s3 = Ve(t6.getRange(n5).getBounds(), s3), i3 = Y.unionRanges(i3, n5));
|
|
20024
20032
|
}
|
|
20025
20033
|
}
|
|
20026
20034
|
}
|
|
@@ -20321,7 +20329,7 @@ class pw {
|
|
|
20321
20329
|
return kf(this, t5, n2 ? this._cellToCoords(n2) : null, e2);
|
|
20322
20330
|
}
|
|
20323
20331
|
async _insertFrom(t5, e2, n2) {
|
|
20324
|
-
if (!e2) throw new
|
|
20332
|
+
if (!e2) throw new jt();
|
|
20325
20333
|
const r2 = this._snapShotFromSource(e2), o2 = r2.getCoords();
|
|
20326
20334
|
let s2 = Lh(t5[0], o2, n2?.fitDestination), a2 = Df([s2]), l2 = a2;
|
|
20327
20335
|
const c2 = n2?.orientation ?? this._getDefaultShiftOrientation(s2), h2 = this._beginCommit({ description: n2?.description ?? "Insert Copied Cells", autoSelect: n2?.autoSelect });
|
|
@@ -20424,7 +20432,7 @@ class pw {
|
|
|
20424
20432
|
const n2 = "Autofit";
|
|
20425
20433
|
let r2;
|
|
20426
20434
|
const o2 = uf(t5, this._entireCoords, true), a2 = hf(t5, this._entireCoords, true);
|
|
20427
|
-
!o2 && a2 ? (e2.orientations = e2.orientations ?? i.Orientations.Column, r2 = `${n2} ${
|
|
20435
|
+
!o2 && a2 ? (e2.orientations = e2.orientations ?? i.Orientations.Column, r2 = `${n2} ${jS}`) : !a2 && o2 ? (e2.orientations = e2.orientations ?? i.Orientations.Row, r2 = `${n2} ${zS}`) : a2 && o2 ? (e2.orientations = e2.orientations ?? i.Orientations.Both, r2 = `${n2} All`) : (e2.orientations = e2.orientations ?? i.Orientations.Both, r2 = `${n2}`);
|
|
20428
20436
|
let l2 = e2.orientations !== i.Orientations.Row;
|
|
20429
20437
|
this._colHeaders.isProtected() && (l2 = false);
|
|
20430
20438
|
let c2 = e2.orientations !== i.Orientations.Column;
|
|
@@ -20446,7 +20454,7 @@ class pw {
|
|
|
20446
20454
|
let O2 = F2.colStart, D2 = F2.rowStart, L2 = F2.colEnd, B2 = F2.rowEnd;
|
|
20447
20455
|
const P2 = this._getUsedCoords();
|
|
20448
20456
|
(u2 || h2) && P2 && (O2 = u2 ? P2.colStart : F2.colStart, D2 = h2 ? P2.rowStart : F2.rowStart, L2 = u2 ? P2.colEnd : F2.colEnd, B2 = h2 ? P2.rowEnd : F2.rowEnd);
|
|
20449
|
-
const z2 = { includeRangeTypes: { [id.Type.Style]: false, [id.Type.Contentful]: false }, excludeHidden: false, bounds: { colStart: O2, rowStart: D2, colEnd: L2, rowEnd: B2 }, orientation: i.Orientation.Column },
|
|
20457
|
+
const z2 = { includeRangeTypes: { [id.Type.Style]: false, [id.Type.Contentful]: false }, excludeHidden: false, bounds: { colStart: O2, rowStart: D2, colEnd: L2, rowEnd: B2 }, orientation: i.Orientation.Column }, j2 = c2 ? [] : void 0, W2 = l2 ? [] : void 0, H2 = (t7, e4, n4) => {
|
|
20450
20458
|
if (t7 > e4) return null;
|
|
20451
20459
|
const r4 = [];
|
|
20452
20460
|
let o4 = t7;
|
|
@@ -20465,30 +20473,30 @@ class pw {
|
|
|
20465
20473
|
r4.push(t8);
|
|
20466
20474
|
}
|
|
20467
20475
|
return r4;
|
|
20468
|
-
},
|
|
20469
|
-
let
|
|
20470
|
-
for (;
|
|
20471
|
-
const t7 =
|
|
20476
|
+
}, V2 = this._rangeStateIterator(z2);
|
|
20477
|
+
let $2 = V2.next();
|
|
20478
|
+
for (; !$2.done; ) {
|
|
20479
|
+
const t7 = $2.value, e4 = t7.intersection, n4 = t7.start, r4 = t7.end;
|
|
20472
20480
|
ww.colStart = n4.colIndex, ww.rowStart = n4.rowIndex, ww.colEnd = r4.colIndex, ww.rowEnd = r4.rowIndex;
|
|
20473
20481
|
const o4 = Y.intersectRanges(ww, F2, Sw), s2 = tf(0, o4, e4, b2).getBestFit();
|
|
20474
20482
|
if (c2) {
|
|
20475
20483
|
const t8 = Math.max(n4.rowIndex, D2), e5 = { address: { min: t8, max: Math.min(r4.rowIndex, B2) }, update: { size: T2(s2.height), autoSize: true } };
|
|
20476
|
-
|
|
20484
|
+
j2.push(e5);
|
|
20477
20485
|
}
|
|
20478
20486
|
if (l2) {
|
|
20479
20487
|
const t8 = Math.max(n4.colIndex, O2), e5 = { address: { min: t8, max: Math.min(r4.colIndex, L2) }, update: { size: N2(s2.width), autoSize: true } };
|
|
20480
|
-
|
|
20488
|
+
W2.push(e5);
|
|
20481
20489
|
}
|
|
20482
|
-
|
|
20490
|
+
$2 = V2.next();
|
|
20483
20491
|
}
|
|
20484
|
-
if (
|
|
20485
|
-
let t7 = this._colHeaders.updateHeaderPairs(
|
|
20492
|
+
if (W2) {
|
|
20493
|
+
let t7 = this._colHeaders.updateHeaderPairs(W2, R2);
|
|
20486
20494
|
t7 = ra(oa(sa(t7)));
|
|
20487
20495
|
const e4 = H2(F2.colStart, F2.colEnd, t7);
|
|
20488
20496
|
e4 && this._colHeaders.updateHeaderPairs(e4, R2);
|
|
20489
20497
|
}
|
|
20490
|
-
if (
|
|
20491
|
-
let t7 = this._rowHeaders.updateHeaderPairs(
|
|
20498
|
+
if (j2) {
|
|
20499
|
+
let t7 = this._rowHeaders.updateHeaderPairs(j2, R2);
|
|
20492
20500
|
t7 = ra(oa(sa(t7)));
|
|
20493
20501
|
const e4 = H2(F2.rowStart, F2.rowEnd, t7);
|
|
20494
20502
|
e4 && this._rowHeaders.updateHeaderPairs(e4, R2);
|
|
@@ -20510,7 +20518,7 @@ class pw {
|
|
|
20510
20518
|
} else u3 = 1, d3 = 1;
|
|
20511
20519
|
X2 = u3, Q2 = d3;
|
|
20512
20520
|
}
|
|
20513
|
-
const v3 = i2.colIndex, x3 = i2.rowIndex, R3 = t7[1], T3 =
|
|
20521
|
+
const v3 = i2.colIndex, x3 = i2.rowIndex, R3 = t7[1], T3 = $h(R3), N3 = Y.isCellWithinRange(i2, F2);
|
|
20514
20522
|
let O3 = false, D3 = false;
|
|
20515
20523
|
if (U2 !== h3 || u3 !== M3 || d3 !== k2 || T3 === s.String || T3 === s.Error || N3 !== m3) {
|
|
20516
20524
|
if (O3 = true, (u3 > 1 || d3 > 1 || T3 === s.RichData) && (D3 = true), !D3 && l3) {
|
|
@@ -21189,7 +21197,7 @@ class pw {
|
|
|
21189
21197
|
for (; !o4.done; ) {
|
|
21190
21198
|
const e3 = o4.value[0], i2 = e3.colIndex, g3 = e3.rowIndex;
|
|
21191
21199
|
i2 !== a4 && (d3 && t6.push(d3), c3 = [], u3 = [], d3 = [i2, u3], a4 = i2, l4 = g3 - 2), g3 > l4 + 1 && (c3 = [], h3 = [g3, c3], u3.push(h3));
|
|
21192
|
-
const m3 = o4.value[1], f3 =
|
|
21200
|
+
const m3 = o4.value[1], f3 = $h(m3);
|
|
21193
21201
|
let p3;
|
|
21194
21202
|
if (f3 === s.Number || f3 === s.Boolean) p3 = m3;
|
|
21195
21203
|
else if (f3 === s.String) {
|
|
@@ -21231,7 +21239,7 @@ class pw {
|
|
|
21231
21239
|
const n3 = [], r3 = o2.length;
|
|
21232
21240
|
for (let e3 = 0; e3 < r3; e3++) {
|
|
21233
21241
|
const r4 = o2[e3], s2 = t6.getElementID(r4.value.toJSON());
|
|
21234
|
-
n3.push({ r:
|
|
21242
|
+
n3.push({ r: jf.rangeToString(r4), v: s2 });
|
|
21235
21243
|
}
|
|
21236
21244
|
if (e2.directStyles = n3, this._ownStyles) {
|
|
21237
21245
|
const n4 = t6.toJSON();
|
|
@@ -21249,7 +21257,7 @@ class pw {
|
|
|
21249
21257
|
for (let e3 = 0; e3 < l2; e3++) {
|
|
21250
21258
|
const n3 = a2[e3];
|
|
21251
21259
|
let r3 = n3.value;
|
|
21252
|
-
t6.push({ r:
|
|
21260
|
+
t6.push({ r: jf.rangeToString(n3), v: r3 });
|
|
21253
21261
|
}
|
|
21254
21262
|
e2.hyperlinks = t6;
|
|
21255
21263
|
}
|
|
@@ -21258,7 +21266,7 @@ class pw {
|
|
|
21258
21266
|
const t6 = [];
|
|
21259
21267
|
for (let e3 = 0; e3 < h2; e3++) {
|
|
21260
21268
|
const n3 = c2[e3], r3 = { ...n3.value };
|
|
21261
|
-
r3.ref =
|
|
21269
|
+
r3.ref = jf.rangeToString(n3), t6.push(r3);
|
|
21262
21270
|
}
|
|
21263
21271
|
e2.comments = t6;
|
|
21264
21272
|
}
|
|
@@ -21482,7 +21490,7 @@ class pw {
|
|
|
21482
21490
|
return { colStart: n2.findIndex(t5.x), rowStart: e2.findIndex(t5.y), colEnd: n2.findIndex(t5.x + t5.width), rowEnd: e2.findIndex(t5.y + t5.height) };
|
|
21483
21491
|
}
|
|
21484
21492
|
getRangeAtBounds(t5, e2) {
|
|
21485
|
-
if (!t5) throw new
|
|
21493
|
+
if (!t5) throw new jt();
|
|
21486
21494
|
const n2 = this._getCoordsAtBounds(t5);
|
|
21487
21495
|
return this.getRange(n2, e2);
|
|
21488
21496
|
}
|
|
@@ -21819,9 +21827,9 @@ class pw {
|
|
|
21819
21827
|
} }, c2 = new YS({ sheet: this });
|
|
21820
21828
|
this._view = c2, this._clearState(), this._viewRemoveListener = c2.addListeners(l2, { transactional: false }), this._viewListener = l2, this._colHeadersRemoveListener?.();
|
|
21821
21829
|
const h2 = () => Math.round(this._defaultFontDims().width);
|
|
21822
|
-
this._colHeaders = new
|
|
21830
|
+
this._colHeaders = new WS({ sheet: t5, orientation: i.Orientation.Column, maxSheetCoords: this._entireCoords, transactions: this._transactions, isProtected: () => !t5._initializing && !t5.getProtection().isFormatColumnsAllowed(), getTextAt: (t6) => {
|
|
21823
21831
|
const e3 = this.getView().getColumnHeaderStyle();
|
|
21824
|
-
return e3 ===
|
|
21832
|
+
return e3 === $_.HeaderTextStyle.A1 ? uw(t6) : e3 === $_.HeaderTextStyle.Zero ? hw(t6) : e3 === $_.HeaderTextStyle.One ? dw(t6) : void 0;
|
|
21825
21833
|
}, defaultSize: () => {
|
|
21826
21834
|
const t6 = this.getView().isShowFormulas() ? 2 : 1;
|
|
21827
21835
|
return this._defaultColWidth() / h2() * t6;
|
|
@@ -21829,9 +21837,9 @@ class pw {
|
|
|
21829
21837
|
this._colHeadersShiftCallback = t6;
|
|
21830
21838
|
} }), this._colHeadersRemoveListener = this._colHeaders.addListeners(this._colHeadersListener, { transactional: true }), this._rowHeadersRemoveListener?.();
|
|
21831
21839
|
const u2 = Ai.getDeviceScale();
|
|
21832
|
-
this._rowHeaders = new
|
|
21840
|
+
this._rowHeaders = new WS({ sheet: t5, orientation: i.Orientation.Row, maxSheetCoords: this._entireCoords, transactions: this._transactions, isProtected: () => !t5._initializing && !t5.getProtection().isFormatRowsAllowed(), getTextAt: (t6) => {
|
|
21833
21841
|
const e3 = this.getView().getRowHeaderStyle();
|
|
21834
|
-
return e3 ===
|
|
21842
|
+
return e3 === $_.HeaderTextStyle.One ? dw(t6) : e3 === $_.HeaderTextStyle.Zero ? hw(t6) : e3 === $_.HeaderTextStyle.A1 ? uw(t6) : void 0;
|
|
21835
21843
|
}, defaultSize: () => this._defaultRowHeight(), scaleFactor: () => u2, minSize: () => 0, maxSize: () => 409, setContainerShiftedCallback: (t6) => {
|
|
21836
21844
|
this._rowHeadersShiftCallback = t6;
|
|
21837
21845
|
} }), this._rowHeadersRemoveListener = this._rowHeaders.addListeners(this._rowHeadersListener, { transactional: true }), this._defaultFontBoundsCache = null, this._defaultColWidthCache = null, this._defaultRowHeightCache = null;
|
|
@@ -22212,7 +22220,7 @@ class pw {
|
|
|
22212
22220
|
const p2 = this._entireCoords, _2 = c2.directStyleSpatial, S2 = c2.continuousFillSpatial, w2 = this._options.styles;
|
|
22213
22221
|
if (t5.directStyles) {
|
|
22214
22222
|
const e3 = [], n3 = [], r3 = t5.directStyles, o3 = (t6, r4) => {
|
|
22215
|
-
const o4 = l2.getElementJSON(r4), s2 = new
|
|
22223
|
+
const o4 = l2.getElementJSON(r4), s2 = new jm(w2, Y.sanitizeRange(t6), o4), i2 = { ...t6, value: s2 };
|
|
22216
22224
|
e3.push(i2);
|
|
22217
22225
|
const a3 = s2._p?.alignment?.horizontal;
|
|
22218
22226
|
!a3 || a3 !== Zs.HorizontalAlignment.CenterContinuous && a3 !== Zs.HorizontalAlignment.Fill || n3.push(i2);
|
|
@@ -22555,8 +22563,8 @@ class Lw extends x_ {
|
|
|
22555
22563
|
const n3 = await e3;
|
|
22556
22564
|
if (void 0 !== n3) if (null !== n3) {
|
|
22557
22565
|
if (Array.isArray(n3)) {
|
|
22558
|
-
if (
|
|
22559
|
-
} else if (
|
|
22566
|
+
if ($h(n3[0]?.[0])) return void t7.setValues(n3, { skipBoundsCheck: true });
|
|
22567
|
+
} else if ($h(n3)) return void t7.setValues([[n3]]);
|
|
22560
22568
|
n3.isICell ? t7.updateCells(n3) : n3.isICellRange && await t7.copyFrom(n3);
|
|
22561
22569
|
} else t7.clear();
|
|
22562
22570
|
};
|
|
@@ -22655,7 +22663,7 @@ const Pw = async (t5, e2) => {
|
|
|
22655
22663
|
}
|
|
22656
22664
|
return new Bw({ json: t5, readonlyFunctions: r2 });
|
|
22657
22665
|
};
|
|
22658
|
-
class
|
|
22666
|
+
class jw {
|
|
22659
22667
|
constructor(t5) {
|
|
22660
22668
|
this._options = t5, this._initState();
|
|
22661
22669
|
}
|
|
@@ -22665,7 +22673,7 @@ class Ww {
|
|
|
22665
22673
|
return this._modules;
|
|
22666
22674
|
}
|
|
22667
22675
|
async createModule(t5) {
|
|
22668
|
-
const e2 = await import("./
|
|
22676
|
+
const e2 = await import("./CpNeEylJssyF4zm3.mjs"), n2 = await e2.ScriptingUtils.compileTypescript(t5);
|
|
22669
22677
|
return n2 ? await zw(n2, t5?.declarationsOnly ?? false) : null;
|
|
22670
22678
|
}
|
|
22671
22679
|
addModule(t5, e2, n2) {
|
|
@@ -22730,7 +22738,7 @@ class Ww {
|
|
|
22730
22738
|
return t5.toJSON();
|
|
22731
22739
|
}
|
|
22732
22740
|
}
|
|
22733
|
-
const
|
|
22741
|
+
const Ww = Object.freeze({ lockStructure: false, lockWindows: false, lockRevision: false, workbookPassword: null, revisionsPassword: null });
|
|
22734
22742
|
class Hw extends rw {
|
|
22735
22743
|
isWindowsAllowed() {
|
|
22736
22744
|
return this._isPropertyAllowed("windows");
|
|
@@ -22751,13 +22759,13 @@ class Hw extends rw {
|
|
|
22751
22759
|
const n2 = Object.keys(e2), r2 = n2.length;
|
|
22752
22760
|
for (let o2 = 0; o2 < r2; o2++) {
|
|
22753
22761
|
const r3 = n2[o2], s2 = e2[r3];
|
|
22754
|
-
null != s2 && s2 !==
|
|
22762
|
+
null != s2 && s2 !== Ww[r3] && (t5[r3] = s2);
|
|
22755
22763
|
}
|
|
22756
22764
|
}
|
|
22757
22765
|
return super._toJSON(t5);
|
|
22758
22766
|
}
|
|
22759
22767
|
}
|
|
22760
|
-
const
|
|
22768
|
+
const Vw = (t5) => `Invalid SheetKey: ${t5}`, $w = "A workbook must contain at least one visible worksheet.", Gw = "Internal error no visible sheetRefs", Uw = "Workbook has been closed. No further operations are allowed.", Jw = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.", qw = "A sheet name", Kw = `${qw} can not be blank.`, Xw = `${qw} can not be longer than 31 characters.`, Yw = `${qw} can not begin or end with a "'" (single quote).`;
|
|
22761
22769
|
class Qw {
|
|
22762
22770
|
constructor(t5, e2) {
|
|
22763
22771
|
this._add = t5, this._get = e2;
|
|
@@ -23205,7 +23213,7 @@ class iy {
|
|
|
23205
23213
|
let e2 = this._getSheetRef(t5);
|
|
23206
23214
|
if (!e2) throw new Error(((t6) => `Invalid reference for delete: ${t6}`)(t5));
|
|
23207
23215
|
const n2 = this._getState().sheetRefsVisible;
|
|
23208
|
-
if (1 === n2.length && n2[0].id === e2.id) throw new Error(
|
|
23216
|
+
if (1 === n2.length && n2[0].id === e2.id) throw new Error($w);
|
|
23209
23217
|
}
|
|
23210
23218
|
_findOffsetForId(t5, e2) {
|
|
23211
23219
|
for (let n2 = 0; n2 < e2.length; n2++) if (e2[n2].id === t5) return n2;
|
|
@@ -23282,7 +23290,7 @@ class iy {
|
|
|
23282
23290
|
const e2 = this._getSheetRefs(), n2 = this.getSelectedSheetIndex();
|
|
23283
23291
|
let r2 = null;
|
|
23284
23292
|
if (t5) {
|
|
23285
|
-
if (r2 = this._getSheetRef(t5), !r2) throw new Error(
|
|
23293
|
+
if (r2 = this._getSheetRef(t5), !r2) throw new Error(Vw(r2));
|
|
23286
23294
|
} else r2 = e2[n2];
|
|
23287
23295
|
if (!r2) return null;
|
|
23288
23296
|
const o2 = r2.sheet, s2 = this._strings.beginPersist(), i2 = this.getResources().beginPersist(), a2 = this.getStyles().beginPersist();
|
|
@@ -23387,7 +23395,7 @@ class iy {
|
|
|
23387
23395
|
if (this._closed) throw new Error(Uw);
|
|
23388
23396
|
if (!this.getProtection().isStructureAllowed()) throw new Error(Jw);
|
|
23389
23397
|
const n2 = this._getSheetRef(t5);
|
|
23390
|
-
if (!n2) throw new Error(
|
|
23398
|
+
if (!n2) throw new Error(Vw(t5));
|
|
23391
23399
|
if (e2 === n2.name) return n2.sheet;
|
|
23392
23400
|
e2 = this._validateNewSheetName(e2);
|
|
23393
23401
|
const r2 = Object.freeze({ ...n2, name: e2 });
|
|
@@ -23414,7 +23422,7 @@ class iy {
|
|
|
23414
23422
|
const s2 = this.beginCommit(o2);
|
|
23415
23423
|
try {
|
|
23416
23424
|
const t6 = this._getState().sheetRefsVisible;
|
|
23417
|
-
if (e2 !== Z_.Visibility.Visible && 1 === t6.length && t6[0].id === n2.id) throw new Error(
|
|
23425
|
+
if (e2 !== Z_.Visibility.Visible && 1 === t6.length && t6[0].id === n2.id) throw new Error($w);
|
|
23418
23426
|
const o3 = { ...n2, visibility: e2 };
|
|
23419
23427
|
let i2 = -1;
|
|
23420
23428
|
e2 !== Z_.Visibility.Visible && (i2 = this._findOffsetForId(n2.id, t6));
|
|
@@ -23450,7 +23458,7 @@ class iy {
|
|
|
23450
23458
|
_setSelectedSheet(t5) {
|
|
23451
23459
|
if (this._closed) throw new Error(Uw);
|
|
23452
23460
|
const e2 = this._getSheetRef(t5);
|
|
23453
|
-
if (!e2) throw new Error(
|
|
23461
|
+
if (!e2) throw new Error(Vw(t5));
|
|
23454
23462
|
let n2 = null;
|
|
23455
23463
|
return e2.visibility !== Z_.Visibility.Visible && this._setSheetVisibility(e2, Z_.Visibility.Visible), this._view.setActiveSheetId(e2.id), n2 = e2.sheet, n2;
|
|
23456
23464
|
}
|
|
@@ -23494,7 +23502,7 @@ class iy {
|
|
|
23494
23502
|
};
|
|
23495
23503
|
}
|
|
23496
23504
|
_fromJSON(t5) {
|
|
23497
|
-
if (this._emitter.notify("onBeforeLoad", { params: t5 }), this._initState(), !t5.sheets || 0 === t5.sheets.length) throw new Error(
|
|
23505
|
+
if (this._emitter.notify("onBeforeLoad", { params: t5 }), this._initState(), !t5.sheets || 0 === t5.sheets.length) throw new Error($w);
|
|
23498
23506
|
t5.theme && (this._theme = new bl(t5.theme), this._styles.setTheme(this._theme));
|
|
23499
23507
|
const e2 = this._strings.beginPersist(), n2 = this._resources.beginPersist(), r2 = this._styles.beginPersist();
|
|
23500
23508
|
try {
|
|
@@ -23517,7 +23525,7 @@ class iy {
|
|
|
23517
23525
|
}
|
|
23518
23526
|
}
|
|
23519
23527
|
_createScripts(t5) {
|
|
23520
|
-
return new
|
|
23528
|
+
return new jw({ transactions: this._transactions, json: t5, workbook: this, onAdd: (t6, e2) => {
|
|
23521
23529
|
const n2 = this._calculation;
|
|
23522
23530
|
n2.getStatus() !== Ep.Status.Off && n2.start().then(() => {
|
|
23523
23531
|
const t7 = e2.getFunctions().search({ type: "formula" });
|
|
@@ -23627,7 +23635,7 @@ class iy {
|
|
|
23627
23635
|
}
|
|
23628
23636
|
const ay = { address: null, scope: null };
|
|
23629
23637
|
export {
|
|
23630
|
-
|
|
23638
|
+
jf as AddressUtils,
|
|
23631
23639
|
x as AnchorLocation,
|
|
23632
23640
|
da as AutoFill,
|
|
23633
23641
|
It as BufferUtils,
|
|
@@ -23646,7 +23654,7 @@ export {
|
|
|
23646
23654
|
l as FormulaError,
|
|
23647
23655
|
Qe as GeomUtils,
|
|
23648
23656
|
Il as IAnchored,
|
|
23649
|
-
|
|
23657
|
+
j_ as IAutoFilter,
|
|
23650
23658
|
Na as IBorder,
|
|
23651
23659
|
Ep as ICalculation,
|
|
23652
23660
|
Ad as ICell,
|
|
@@ -23662,7 +23670,7 @@ export {
|
|
|
23662
23670
|
ga as IPrint,
|
|
23663
23671
|
i as IRange,
|
|
23664
23672
|
Z_ as ISheet,
|
|
23665
|
-
|
|
23673
|
+
$_ as ISheetView,
|
|
23666
23674
|
kl as ISort,
|
|
23667
23675
|
Ya as IStyle,
|
|
23668
23676
|
xl as ITableStyle,
|
|
@@ -23673,10 +23681,10 @@ export {
|
|
|
23673
23681
|
Nt as ImageUtils,
|
|
23674
23682
|
se as InternalClipboard,
|
|
23675
23683
|
kt as JSONStableStringify,
|
|
23676
|
-
|
|
23684
|
+
ze as LicenseManager,
|
|
23677
23685
|
I as MimeType,
|
|
23678
23686
|
Ht as NotImplementedError,
|
|
23679
|
-
|
|
23687
|
+
jt as NullNotAllowedError,
|
|
23680
23688
|
Ka as NumberFormat,
|
|
23681
23689
|
_ as Observable,
|
|
23682
23690
|
Pt as OutOfBoundsError,
|
|
@@ -23702,21 +23710,21 @@ export {
|
|
|
23702
23710
|
ue as TransactionStore,
|
|
23703
23711
|
fe as TransactionUndoManager,
|
|
23704
23712
|
dn as Tuple,
|
|
23705
|
-
|
|
23713
|
+
Wt as TypedError,
|
|
23706
23714
|
Ot as TypedObject,
|
|
23707
23715
|
T as TypesUtils,
|
|
23708
23716
|
ae as UndoManager,
|
|
23709
23717
|
Bt as UserError,
|
|
23710
23718
|
iy as Workbook,
|
|
23711
23719
|
Tw as WorkbookView,
|
|
23712
|
-
|
|
23713
|
-
|
|
23720
|
+
$S as a,
|
|
23721
|
+
VS as b,
|
|
23714
23722
|
qh as c,
|
|
23715
23723
|
Uu as d,
|
|
23716
23724
|
fu as e,
|
|
23717
|
-
|
|
23725
|
+
Vh as f,
|
|
23718
23726
|
Zh as g,
|
|
23719
23727
|
Qh as m,
|
|
23720
23728
|
du as r,
|
|
23721
|
-
|
|
23729
|
+
$h as t
|
|
23722
23730
|
};
|