@sheetxl/sdk 0.6.3 → 0.6.4
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/{I_VfhXNyTWVzJH17.cjs → 4v4n-OqVJTTDq9pb.cjs} +1 -1
- package/browser/cjs/{BuqJzhXsgW7u5MYG.cjs → B1KoTcvtAGrHbRmP.cjs} +1 -1
- package/browser/cjs/{BX5T3MKMPhtGCuWI.cjs → B2Wlm7POkbiHTH-c.cjs} +1 -1
- package/browser/cjs/B41PzxC0w5TPpEci.cjs +54 -0
- package/browser/cjs/{B7aSrdNhAu3YPmKY.cjs → B4dcFJt-2JEynxPm.cjs} +1 -1
- package/browser/cjs/{M-THW9W66wtKo2hj.cjs → BHYAYtEaA5UKRD1j.cjs} +1 -1
- package/browser/cjs/{MMqKicnyH0WnMgQt.cjs → BXOQC771M92mrEBF.cjs} +1 -1
- package/browser/cjs/{C8jkUk-iY0bu9Bc2.cjs → B_MVp8Uera_7QlWk.cjs} +1 -1
- package/browser/cjs/{fStg4-9fenwnVE6E.cjs → CBZzApuqkMQgmy16.cjs} +1 -1
- package/browser/cjs/{zsHrQ-zbAlQ0tA9v.cjs → CUzZS6wq23TI9nzy.cjs} +2 -2
- package/browser/cjs/{RcN6zAGgrwyHOrlO.cjs → CWg4C5sljKTRYdKu.cjs} +1 -1
- package/browser/cjs/{C37EQ6wTy6zRi0b_.cjs → CXzQZlKCoA_oNpmL.cjs} +1 -1
- package/browser/cjs/{C-78O5T-glBvYaQL.cjs → CfBNfYalNe9euDiV.cjs} +1 -1
- package/browser/cjs/{C6QXyjy1PGyEX68F.cjs → Cjm0rHltIC6u1Prf.cjs} +1 -1
- package/browser/cjs/{jTv-mLbezNGe8EUD.cjs → CrQzC8s0fsrVYXnk.cjs} +1 -1
- package/browser/cjs/{CTdOZfswQOKeCaPF.cjs → D0IVkMoNN-COZmjl.cjs} +1 -1
- package/browser/cjs/{Bse8YStFOPTm75yq.cjs → D9lnpzNEAf2gilen.cjs} +1 -1
- package/browser/cjs/{D36nRoLYLx7i_aS9.cjs → DFMiwOZ9joCPvFPQ.cjs} +1 -1
- package/browser/cjs/{km9cnbV7di2dq2Ff.cjs → DIeYQNnruuFhxKb_.cjs} +1 -1
- package/browser/cjs/{D5KrA2TSGsH7WBpn.cjs → DS1hyy_SNvhatUvW.cjs} +1 -1
- package/browser/cjs/{Hf8USYcItoojGATA.cjs → DUDXGRhi2q5FiQBv.cjs} +3 -3
- package/browser/cjs/{o89elSRRIGLs0hvL.cjs → DiM4wNuhjj13Mguw.cjs} +1 -1
- package/browser/cjs/{IKg7k-beNg74DZ3L.cjs → SIbWAxmy_evb5nrx.cjs} +2 -2
- package/browser/cjs/{j3ddmq8gezG5RCdi.cjs → SYjopsO7Qi_S-bix.cjs} +1 -1
- package/browser/cjs/{OpUBKLAOF1oHKqjb.cjs → XssBrF8DDaZC5xE1.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{Bem8IEdD3zw5V2Il.cjs → pF3P2vRwWY3wGbeT.cjs} +1 -1
- package/browser/cjs/{CqF41LKo7R0Hyf2h.cjs → tzwNtSPsJUgIEY5N.cjs} +1 -1
- package/browser/esm/{Vo2gdpW5nSPwZTqF.mjs → 5MSPmJYNZG1iyBl_.mjs} +1 -1
- package/browser/esm/{BBFQTm4WF6ZdLn_s.mjs → 6YN2Drt6CsylnbOR.mjs} +1 -1
- package/{node/esm/DeXdulcbXtPSKIC5.mjs → browser/esm/7PllkK7I5Ma9nBvh.mjs} +1 -1
- package/browser/esm/{BMC24Q0xN7guTENW.mjs → B1fsnPY1VCsnJRMa.mjs} +1 -1
- package/browser/esm/{B5_hE71PsStnzdBO.mjs → BKbpJ6RK8plx1ssY.mjs} +1 -1
- package/{node/esm/hvRiRIKk-vLVqy9h.mjs → browser/esm/BNJSuQacBzjSwdGc.mjs} +1 -1
- package/{node/esm/CYKwEkvT1JA24zbO.mjs → browser/esm/BOftZSycTYB8XEoK.mjs} +1 -1
- package/browser/esm/{reTbqkUQn_8r1Gjg.mjs → BRoVd_kyqC92p76r.mjs} +1 -1
- package/{node/esm/DLbtnQx_HH3gYRiU.mjs → browser/esm/BXHL2Ok9ZqB0te78.mjs} +1 -1
- package/{node/esm/tAdsxJ6GZTOjbZaj.mjs → browser/esm/BzXXnfiES9dnA1Ph.mjs} +1 -1
- package/browser/esm/{bxvj7SfTPz4IgjJ3.mjs → BzoFQzdPKafR43T-.mjs} +3 -3
- package/browser/esm/{Cq00SglUWB2ucZOS.mjs → CL16UiUgzijmkg8u.mjs} +1 -1
- package/browser/esm/{DlLVTu3Y-FMfbu_n.mjs → CW0BShcAxwxHqGt6.mjs} +2 -2
- package/{node/esm/DLYGMNx8kQI4xeo2.mjs → browser/esm/Cp0hh02_xUlxr0U7.mjs} +1 -1
- package/browser/esm/{YZlMulquudnZjDrf.mjs → CpLTnZ9vIvIL0L5Q.mjs} +1 -1
- package/{node/esm/CDenTnFR8DqmqdbH.mjs → browser/esm/Cs2e5lJOt1S5w-_j.mjs} +1 -1
- package/browser/esm/{OfmoZFR3Nv7IR8ba.mjs → D-cmDaBDeqr-JwVo.mjs} +1 -1
- package/browser/esm/{BNN5q2NnsatyJlGR.mjs → DA579Xh9gs99eik6.mjs} +1 -1
- package/browser/esm/{Cwn1pv316wS8Tvhm.mjs → DFlrI09lk7wnQtws.mjs} +4916 -4904
- package/browser/esm/{CaZEU1k6epwCB3xV.mjs → DK66Wl0or5RCrTtT.mjs} +1 -1
- package/{node/esm/DeNVVj-Te4OSmVxj.mjs → browser/esm/Gbn__Vno84xZlVnt.mjs} +1 -1
- package/browser/esm/{Cu1x26RQdb96IZj5.mjs → KGsrafeyxbtvDiYV.mjs} +1 -1
- package/browser/esm/{zaWM4ZhyMWMFvdi0.mjs → b_HbgLccVmok2VW-.mjs} +1 -1
- package/{node/esm/DMEYBbUqMiMm4APB.mjs → browser/esm/glk2UtTouO1QiFvQ.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/{node/esm/DvNHjmU-XB5SN2Ye.mjs → browser/esm/ldR3glHnHE11RRmr.mjs} +1 -1
- package/browser/esm/{E_I8C2Lp5z4JCaQs.mjs → s8drfDrkJDhCgKWX.mjs} +2 -2
- package/{node/esm/BjlYIWEgeSyv4wz2.mjs → browser/esm/zqoD7V9tPRS22VZ5.mjs} +1 -1
- package/node/esm/{BBFQTm4WF6ZdLn_s.mjs → 6YN2Drt6CsylnbOR.mjs} +1 -1
- package/{browser/esm/DeXdulcbXtPSKIC5.mjs → node/esm/7PllkK7I5Ma9nBvh.mjs} +1 -1
- package/node/esm/{BMC24Q0xN7guTENW.mjs → B1fsnPY1VCsnJRMa.mjs} +1 -1
- package/node/esm/{B5_hE71PsStnzdBO.mjs → BKbpJ6RK8plx1ssY.mjs} +1 -1
- package/{browser/esm/hvRiRIKk-vLVqy9h.mjs → node/esm/BNJSuQacBzjSwdGc.mjs} +1 -1
- package/{browser/esm/CYKwEkvT1JA24zbO.mjs → node/esm/BOftZSycTYB8XEoK.mjs} +1 -1
- package/node/esm/{reTbqkUQn_8r1Gjg.mjs → BRoVd_kyqC92p76r.mjs} +1 -1
- package/node/esm/{DKWxioBweqUuAjwR.mjs → BWtH79heK7fg3_LF.mjs} +1 -1
- package/{browser/esm/DLbtnQx_HH3gYRiU.mjs → node/esm/BXHL2Ok9ZqB0te78.mjs} +1 -1
- package/{browser/esm/tAdsxJ6GZTOjbZaj.mjs → node/esm/BzXXnfiES9dnA1Ph.mjs} +1 -1
- package/node/esm/{CDp7CZJ27n55UJJS.mjs → CDaKOmNh-HKQ4LWe.mjs} +1 -1
- package/node/esm/{P1-6wk2bFx0eAYQd.mjs → CeXbTuC9o_uwcAJF.mjs} +2 -2
- package/{browser/esm/DLYGMNx8kQI4xeo2.mjs → node/esm/Cp0hh02_xUlxr0U7.mjs} +1 -1
- package/{browser/esm/CDenTnFR8DqmqdbH.mjs → node/esm/Cs2e5lJOt1S5w-_j.mjs} +1 -1
- package/node/esm/{BgSDlYglpSKo1A5s.mjs → Ctf652tPvLr789G5.mjs} +1 -1
- package/node/esm/{CKx5g_8FfhAJva_D.mjs → DH19S1M27hG0ushG.mjs} +1 -1
- package/node/esm/{BjCfh27EcOZz63HB.mjs → DYISAZs_msPEZGTC.mjs} +1 -1
- package/node/esm/{DZBZ7kYNW5bcZ7tQ.mjs → DfxuMCa7ZBn-0NUn.mjs} +1 -1
- package/node/esm/{d1Ola8sUNmUZOmTN.mjs → FHnPl5ZAdB4OT30o.mjs} +1 -1
- package/{browser/esm/DeNVVj-Te4OSmVxj.mjs → node/esm/Gbn__Vno84xZlVnt.mjs} +1 -1
- package/node/esm/{zaWM4ZhyMWMFvdi0.mjs → b_HbgLccVmok2VW-.mjs} +1 -1
- package/node/esm/{Cfnn9kiE5KnRR-z4.mjs → fJL7nZqnPg5A1d2y.mjs} +1 -1
- package/{browser/esm/DMEYBbUqMiMm4APB.mjs → node/esm/glk2UtTouO1QiFvQ.mjs} +1 -1
- package/node/esm/index.mjs +566 -571
- package/{browser/esm/DvNHjmU-XB5SN2Ye.mjs → node/esm/ldR3glHnHE11RRmr.mjs} +1 -1
- package/{browser/esm/BjlYIWEgeSyv4wz2.mjs → node/esm/zqoD7V9tPRS22VZ5.mjs} +1 -1
- package/package.json +4 -4
- package/browser/cjs/Du7q96hwiHKCBYsI.cjs +0 -54
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.4
|
|
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.
|
|
@@ -377,18 +377,18 @@ class L extends s {
|
|
|
377
377
|
}
|
|
378
378
|
const B = () => {
|
|
379
379
|
try {
|
|
380
|
-
return "0.6.
|
|
380
|
+
return "0.6.4";
|
|
381
381
|
} catch (t2) {
|
|
382
382
|
return "";
|
|
383
383
|
}
|
|
384
|
-
},
|
|
384
|
+
}, P = Object.freeze(Object.defineProperty({ __proto__: null, getBuildDate: () => {
|
|
385
385
|
try {
|
|
386
386
|
return "Thu Aug 21 2025";
|
|
387
387
|
} catch (t2) {
|
|
388
388
|
return "";
|
|
389
389
|
}
|
|
390
|
-
}, getBuildVersion: B }, Symbol.toStringTag, { value: "Module" })),
|
|
391
|
-
https://www.sheetxl.com ${B()}`, H = "#1976d2",
|
|
390
|
+
}, getBuildVersion: B }, Symbol.toStringTag, { value: "Module" })), z = "\n███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗\n██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║\n███████╗███████║█████╗ █████╗ ██║ ╚███╔╝ ██║\n╚════██║██╔══██║██╔══╝ ██╔══╝ ██║ ██╔██╗ ██║\n███████║██║ ██║███████╗███████╗ ██║ ██╔╝ ██╗███████╗\n╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝", W = `
|
|
391
|
+
https://www.sheetxl.com ${B()}`, H = "#1976d2", j = "#FFA726", V = Object.freeze(Object.defineProperty({ __proto__: null, generateNodeId: async () => {
|
|
392
392
|
if (!o.isNode()) return null;
|
|
393
393
|
const t2 = await import(
|
|
394
394
|
/* @vite-ignore */
|
|
@@ -412,10 +412,10 @@ const B = () => {
|
|
|
412
412
|
"chalk"
|
|
413
413
|
)).default;
|
|
414
414
|
t3.level = 2;
|
|
415
|
-
const e2 = t3.hex(H), n2 = t3.hex(
|
|
416
|
-
return console.log(e2(
|
|
415
|
+
const e2 = t3.hex(H), n2 = t3.hex(j);
|
|
416
|
+
return console.log(e2(z) + n2(W));
|
|
417
417
|
} catch (t3) {
|
|
418
|
-
return console.log(
|
|
418
|
+
return console.log(z + "\n" + W + "\n");
|
|
419
419
|
}
|
|
420
420
|
}, printDetails: async (t2, e2 = false, n2 = false, r2 = false) => {
|
|
421
421
|
let o2;
|
|
@@ -425,7 +425,7 @@ const B = () => {
|
|
|
425
425
|
"chalk"
|
|
426
426
|
)).default;
|
|
427
427
|
s2.level = 2;
|
|
428
|
-
const i2 = s2.red, a2 = s2.hex(H), l2 = s2.hex(
|
|
428
|
+
const i2 = s2.red, a2 = s2.hex(H), l2 = s2.hex(j);
|
|
429
429
|
if (t2.isEval() ? (o2 = "Evaluation Only", console.log(i2(o2)), o2 = "Please visit https://my.sheetxl.com to register.", console.log(a2(o2))) : (o2 = `Licensee: ${t2.licensee() ?? "Invalid License"}
|
|
430
430
|
`, o2 += `Expires: ${t2.expiration()?.toLocaleDateString() ?? "Never"}`, t2.domains() && t2.domains().length > 0 && (o2 += `
|
|
431
431
|
Domains: ${t2.domains().join(", ")}`), t2.cpuCount() > 0 && (o2 += `
|
|
@@ -454,11 +454,17 @@ KeyFrom: '${t2.keyFrom()}'`, console.log(l2(o2))), Promise.resolve();
|
|
|
454
454
|
for (let t4 = 0; t4 < r2.length; t4++) r2[t4].charCodeAt(0) <= n3 && (r2[t4] = String.fromCharCode((r2[t4].charCodeAt(0) + e3) % n3));
|
|
455
455
|
return r2.join("");
|
|
456
456
|
})(t2, n2 - e2), G = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
|
|
457
|
-
function U(
|
|
458
|
-
const
|
|
459
|
-
return U = function(
|
|
460
|
-
|
|
461
|
-
|
|
457
|
+
function U() {
|
|
458
|
+
const t2 = ["WPldGepcM8ovoYdcJSkTpCkMWQC", "WO3cHvZcN8kBtG", "sL16WRG/mSkvW7tdOYBdN8keW49g", "W6zqW7Dxb8oK", "FNbrWPGzc8kT", "W7tcQ8oLj2FcUG", "oKLbWOvSWPlcPCkstMW3W4jcgsLeuMLQW7K", "W5BcOmk0F8odwq", "i8k6s2ddK8oUWQxdISofW7f3F3K", "WOTOW4BdVrRdUW", "WRb+W6rjWRKSih3dGmoMW43cR8kAW6lcOsm", "WQ3cQCkhmW", "ENVcU3rOWPBcQ8oSfSkhtCofEmoF", "WQK/WPzovSkPrMi", "xqPIwG", "WOpcJSolW7ZcV8o8WPWJW5jsW7PRCq", "fujwWPb1WONcPmob", "mqFcV8kLW4LrCq", "wgtdNxj3WRmK", "WPVdOttcNmoYWPNcV8o+", "fCo1dSkYjCo3cmowhG", "WPJdQItcJmonW5JdRmk4W7W", "k28fcXRcPG", "wmoPow7cUeO", "bZ7cMsvwWOGkWPLnWOW", "WO8sg058W5CqEmkPWPaiFaC", "W4jszmogWPTKW6HbiG", "WOLLW6fa", "mSo8WPZdGSoGW5CZ", "W5xcQSkHC8olrq", "qN7dIMDUWQK", "q30cWPJdSdfIWPegELyyWOq5", "DSoAWOijWPKwlKXHW6ldRg8", "a1vyWOLPWOJcPa", "WObFkwxcJsa", "WRVcHMVcGmkuvNm0W5G5wrm", "m8oDW60LWRvFCNpcR8k9mXO", "bd7cNYPjWO4YWR1WWR8", "yYhcTSk7W6DhlxrLW5ej", "WReXW6zUymkBW40", "cLBcR3vKW7S", "WRVcM8onW4hcUmoLWR0", "WP1YW5hdMq/dUKpdN1Ll", "WOpcOCojW6FcVSo8WRCzW7K", "xw/dHxrVWRi", "gCkHWQyMymooeYhcO3XXm8k8W5pcHCkbw2VdNmki", "a1vEWOP0WRNcOmoCtgaM", "jSoSdmk/omo6bSom", "WR4sWOWbuSkWFLRcICorz8kFqmk5", "rrmfW5jnWQNcI8odBgq", "WPtcHhdcH8ko", "W4vxkdhcNmkB", "W6rgW4b+eCoUkG", "c2iTW64", "eflcRwD1W5xcVa", "qwJcRh1TWP3cUSo9aq", "iSo4WOhdG8oPW5mgW5v4WRZcH3yX", "WOtcTKvgWP4E", "sebKWRq/kG", "hevDWOfJWO8", "WOKwaufWW4KZ", "W4eqixq", "WQyUW6DMFq", "WO3cHCkWW67cNSov", "xIVdPmouWR/cUM8+W4emfvddRSkieG", "sHyhW5e1W47cTCovAfidW64", "W7XvpZ3cImkk", "jSoiW7JdPmksWQrhCmoxW4S", "WRNcHSojW7ZcO8oX", "cgm/W7qGFmoohf4b", "WPlcKmkYW6dcNG", "uCkabMFcQG", "WQGEbvrGW6qYEmkHWOC", "v3dcU3bOWPdcV8kPamkRt8orF8of", "FMzdWQBdRsfqWPybDW", "W4/cVt3cPCoVWRpcSCo0", "WRdcQmkRkaS3", "a8khWPucwmo/o17cG1Xre8kCW7pcPCo+E0VdVa", "s8oxWQnr", "WQRdLuxcSmoojGJcJ8kDpCk7WQ5w", "W4tcKG/dRmoKoGpcPSkyoa", "cMzYwmoyW5Cy", "WRVcM8onW5hcTmo8WRKVW4Pa", "D23cG35GWPW", "W5O/WOFcMeNdNeddMw5IWRK", "reTcWRWHoSkf", "WOtcMmk9W6ZcMSojWOK3WR/cVW", "iwFdPSkSW5Pud0L6", "WOJdRJZcMSoaWRBcVq", "bZXRFhmWWOJdT8kiW4ZdISkcEG", "umkjhuRcRCkQpLClWO8wW5BcK8owEW", "gqeJW65/bSk1W77dRGJdJW", "CcddPSo3WQBcUMD6W5SabeBdQCkugCkvWPWXmSoJjCo7c8omW4dcLKy", "nCkKt2JdKCoZWOxcJ8ouW6HUENJdPcLYWPNcRq", "vCo1gMdcTueZ", "WRVcHMVcGmkuvG", "WRi7W79nFmkCW5iQdCogWOFdKq", "uGtdSsqHWQhdVmksWQ43umoNWOZdUW", "kYRdUsHwWQ3cQCoCf8kw", "WP3cKmkwpSo3rSoqWRrsW5j9WQe", "W5FcT8kLtSoquw0", "W4nuurdcHe4QlmoQWQzVWQiTW4FcOq", "W6ngW5DFf8oP", "orqICq", "WQtcRuvdWODFWQjczComfsTftNWHwZa", "WP4hffjTW5yxy8k0WPy", "qvf3WRGJimkeW5RdIda", "cMzQvSoqW5S", "W4RcTSkSiNBcH8oVW6FdLmoNWQOm", "c8oiW6SiWR5FuxVcRCkG", "W4hcKGFdR8kryhRdNCkolmkHWPnqWPa", "xuP7WRaKimke", "lSoeW6/dOmkvWRTrA8oaW5TbWR/dRCkO", "gWKKWOW1i8ktW5ldUa", "vw/dN3jYWRyZWRHXWOr2eCkBAa", "W6H4WOHS", "WOuCbLr3W4qTBW", "BZ3cTrnwdmo+DZ3cGetdVq", "WQ/cISoyW6FcPCo7WO8VW5jB", "evlcSKjIW7RcPmorWQWJ", "adJcNd0RW7rWW4yY", "W6/cOSkJC8oxseOpheBdImoo", "lSoMg8k/jCo/gSoYcCkiW5GKECkf", "xmkUvMZdJSk6WO/dGmofWRbZCN7dPJu7", "c2uXW6S9Fmo8", "WOBcHCkWW6ZcMmoCWPq9WP/cO8k5WPmrW78", "owZcSwb/W6FcPCo6WPy", "WRKXW6W", "bSoiW7JdPmksWQrhg8oxW4PFWQldUSkPW7Pzj27cOW", "w8kfcM3cTSkWn1y", "W7Lind7cM8kiW799na84", "WRxcVSkaor4Z", "la81AGCPWOldTq", "wCoxWRPrW51CW5fM", "gW3dQ8kOW4LEz29yWObsW5tdJqLsksxcOwi", "W7xcPmkWDSkzCgenf0BdNSozW5y0A0u", "WRyUW75mzSkaW5a6", "amoiW7eRWQ9d", "W6LclHtcM8kmW4LNkbGweSo5", "l8ozW7JdPmkmWQnlvmoCW4e", "bhbqDSoN", "nLfwWOH1WPRcTCoBtwT0W5DjgculxsX2WQ/cVmkYyCoYW4m", "W5zoot3cNmkCW4KPnriPv8o2W7RcOt8IySoKEu/cNSoFE1OFW50Oja", "EJFcVXHspmoYBdlcMG", "WR/dGSoOW6DnaCkeW6LrAt40", "jGFcV8kiW4LEz29yWOa5W4hdHG", "W7TmW7vxamoGkW3cICowuSkBCSkFmMPmza", "W6xcSSkKigVcP8oRW6FdKa", "W4dcOmk+D8oqt20", "jqGYFd4ZWPpdLSoWWPm", "WQvQW7hcHCo3mGtdIJdcSa", "WOOwawjSW4WSBSkeWP8iFa", "EmoVkdXsWOhdSSkeWPK", "jGRcRSkHW5rfBG", "WR0BWO1GeCoNespcOq", "WPP/W7XBWROPiqRdH8o9W4hcHmk8W5xdThyPWO/dTa", "BZ3cSXblo8o+", "i8k8wgxdLmo+WOddM8ou", "eKhcQhn8", "W5qtm3a", "rL1TWPS/pmkm", "W4RdJSocBSklfW", "WQ5MW6BcOSoSka3dPrhcQmopWOC", "osatW6xcQcT0WPepAJa", "WQhdVYlcHSolWOq", "jCkXFMqpW5JcPmofWQNdKSkEWPyLxW", "AmkAcgtcSCkNm0C4", "yxDmWRpdRtO", "W4D9WOLTCSkE", "W7TbvZVcN1m", "buzBWPfLWR3cTW", "e3OdkrhcQW", "W4nuurBcLfmNiCoqWRa", "DIVcVmkWW6nXjxvLW4C", "vCknb2BcVCkXaKe0WOqqW4dcNG", "xsVdPmo3WQpcV3akW6uacvFdOSkd", "W57cOCkXlwVcR8o5", "pgnfvCoDW5ODW6mh", "fsH2EG", "b3CsbWdcQNtdJXpcLHpdQ8oFWRNdO8ogW6i1W6S", "WPtcG2RcGq", "W48HWQj5WQ01nH7dUW", "vaFdUgTzW4lcICo2WRG", "F2xcI3D0WRCHWOfTWP44fSkoACogF3mMu1W", "WP1ZW4ddMWNdRgFdHx1rWQtcKH0", "W6CjlxvIW5m7WRP1", "tavZuW", "fJHXwxm7", "W5xdQruEW4nhWQvfCmoxCW", "usddVbHAomoYCt3cNuhdOCoT", "WOpcGCkWW6FcJ8opWRaQWRJcOSkPWPm8", "lmoXcSk7nSo2", "WO4Agq51W500B8kLWPyp", "WRdcM8oxW7lcPCoG", "W5ydjg10W5G", "i8kvsxVdKSoUWO7dSmoU", "sv1GWRWKp8ksW4hdNYddLCkvW6ng", "W6HgW418bSo1jGhcOCoe", "WOxcHCkQW6JcG8orWPmiWQpcPCkZWOi9W78", "W58XWOJcNJ/dOvVdULXh", "dc5azhCU", "jSoMaCk5omo7", "WRNcKmop", "dc5tC3ORWRW", "wH1Twf/cUbRcTWPUW6RcP0C", "ztRcRmk8W6CL", "xSkvWQSuWQLnzLNcRq"];
|
|
459
|
+
return (U = function() {
|
|
460
|
+
return t2;
|
|
461
|
+
})();
|
|
462
|
+
}
|
|
463
|
+
function q(t2, e2) {
|
|
464
|
+
const n2 = U();
|
|
465
|
+
return q = function(e3, r2) {
|
|
466
|
+
let o2 = n2[e3 -= 466];
|
|
467
|
+
if (void 0 === q.SNvjyU) {
|
|
462
468
|
const e4 = function(t3, e5) {
|
|
463
469
|
let n3, r3, o3 = [], s3 = 0, i3 = "";
|
|
464
470
|
for (t3 = function(t4) {
|
|
@@ -472,369 +478,358 @@ function U(t2, e2) {
|
|
|
472
478
|
for (let e6 = 0; e6 < t3.length; e6++) r3 = (r3 + 1) % 256, s3 = (s3 + o3[r3]) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3, i3 += String.fromCharCode(t3.charCodeAt(e6) ^ o3[(o3[r3] + o3[s3]) % 256]);
|
|
473
479
|
return i3;
|
|
474
480
|
};
|
|
475
|
-
|
|
481
|
+
q.kHWGoo = e4, t2 = arguments, q.SNvjyU = true;
|
|
476
482
|
}
|
|
477
483
|
const s2 = e3 + n2[0], i2 = t2[s2];
|
|
478
|
-
return i2 ? o2 = i2 : (void 0 ===
|
|
479
|
-
},
|
|
484
|
+
return i2 ? o2 = i2 : (void 0 === q.CWzrYc && (q.CWzrYc = true), o2 = q.kHWGoo(o2, r2), t2[s2] = o2), o2;
|
|
485
|
+
}, q(t2, e2);
|
|
486
|
+
}
|
|
487
|
+
function J(t2, e2, n2, r2, o2) {
|
|
488
|
+
return q(t2 - -904, n2);
|
|
480
489
|
}
|
|
481
|
-
function
|
|
482
|
-
return
|
|
490
|
+
function K(t2, e2, n2, r2, o2) {
|
|
491
|
+
return q(o2 - 141, r2);
|
|
483
492
|
}
|
|
484
493
|
!function() {
|
|
485
|
-
const t2 =
|
|
486
|
-
function
|
|
487
|
-
return
|
|
494
|
+
const t2 = "d$Kf", e2 = 691, n2 = 91, r2 = "2868", o2 = 569, s2 = "7jbf", i2 = 968, a2 = 650, l2 = 623, c2 = "LA*E", h2 = 117, d2 = 532, u2 = 24, g2 = 74;
|
|
495
|
+
function m2(t3, e3, n3, r3, o3) {
|
|
496
|
+
return q(r3 - -407, n3);
|
|
488
497
|
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
return U(n3 - -451, e3);
|
|
498
|
+
function f2(t3, e3, n3, r3, o3) {
|
|
499
|
+
return q(r3 - -1e3, t3);
|
|
492
500
|
}
|
|
493
|
-
function
|
|
494
|
-
return
|
|
501
|
+
function p2(t3, e3, n3, r3, o3) {
|
|
502
|
+
return q(r3 - g2, e3);
|
|
495
503
|
}
|
|
496
|
-
function
|
|
497
|
-
return
|
|
504
|
+
function _2(t3, e3, n3, r3, o3) {
|
|
505
|
+
return q(n3 - u2, r3);
|
|
498
506
|
}
|
|
499
|
-
function
|
|
500
|
-
return
|
|
507
|
+
function S2(t3, e3, n3, r3, o3) {
|
|
508
|
+
return q(o3 - 326, t3);
|
|
501
509
|
}
|
|
510
|
+
const w2 = U();
|
|
502
511
|
for (; ; ) try {
|
|
503
|
-
if (
|
|
504
|
-
|
|
512
|
+
if (829276 === -parseInt(p2(0, "uXkR", 0, 583)) / 1 * (parseInt(p2(0, t2, 0, e2)) / 2) + -parseInt(m2(0, 0, "^qeP", n2)) / 3 * (parseInt(p2(0, r2, 0, o2)) / 4) + -parseInt(m2(0, 0, "6i2C", 103)) / 5 + parseInt(S2(s2, 0, 0, 0, i2)) / 6 * (parseInt(f2("2868", 0, 0, -390)) / 7) + -parseInt(p2(0, "C6R)", 0, a2)) / 8 + -parseInt(_2(0, 0, l2, c2)) / 9 * (parseInt(m2(0, 0, "##Gq", h2)) / 10) + -parseInt(_2(0, 0, d2, "QlI0")) / 11 * (-parseInt(f2("!A7N", 0, 0, -514)) / 12)) break;
|
|
513
|
+
w2.push(w2.shift());
|
|
505
514
|
} catch (t3) {
|
|
506
|
-
|
|
515
|
+
w2.push(w2.shift());
|
|
507
516
|
}
|
|
508
517
|
}();
|
|
509
|
-
const
|
|
510
|
-
const t2 = "
|
|
511
|
-
if (typeof window ===
|
|
512
|
-
var n2, r2;
|
|
518
|
+
const X = () => {
|
|
519
|
+
const t2 = 1354, e2 = 1395, n2 = "1I)J", r2 = ")qFJ";
|
|
520
|
+
if (typeof window === s2(1286, 1161, "OmU7", 1190, 1200)) return window[s2(t2, 1365, "qI2G", 1349, e2)][i2(-139, -62, n2)];
|
|
513
521
|
function s2(t3, e3, n3, r3, o2) {
|
|
514
|
-
return
|
|
522
|
+
return q(o2 - 730, n3);
|
|
515
523
|
}
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
const t2 = 255, e2 = "iWmV";
|
|
519
|
-
function n2(t3, e3, n3, r2, o2) {
|
|
520
|
-
return U(r2 - -24, t3);
|
|
524
|
+
function i2(t3, e3, n3, r3, o2) {
|
|
525
|
+
return q(t3 - -666, n3);
|
|
521
526
|
}
|
|
522
|
-
return
|
|
527
|
+
return o[i2(-115, 0, r2)]();
|
|
528
|
+
}, Y = () => {
|
|
529
|
+
const t2 = 1344;
|
|
530
|
+
return X()[e2 = "!A7N", n2 = 794, q(n2 - 157, e2)](q(t2 - 781, "C6R)")) || X() === q(415 - -116, "7jbf");
|
|
531
|
+
var e2, n2;
|
|
523
532
|
};
|
|
524
|
-
function
|
|
525
|
-
return
|
|
526
|
-
}
|
|
527
|
-
function Y(t2, e2, n2, r2, o2) {
|
|
528
|
-
return U(t2 - -428, e2);
|
|
533
|
+
function Q(t2, e2, n2, r2, o2) {
|
|
534
|
+
return q(e2 - 253, t2);
|
|
529
535
|
}
|
|
530
|
-
const
|
|
531
|
-
const e2 =
|
|
532
|
-
|
|
533
|
-
return U(r3 - -291, t3);
|
|
534
|
-
}
|
|
535
|
-
function d2(t3, e3, n3, r3, o2) {
|
|
536
|
-
return U(n3 - 684, r3);
|
|
537
|
-
}
|
|
538
|
-
let u2 = o[d2(0, 0, 900, "tVLl")];
|
|
539
|
-
if (K() || o[h2("6[qS", 0, 0, -57)]()) {
|
|
540
|
-
const t3 = z[d2(0, 0, 1021, ")85a")](), r3 = new Date(t3), o2 = /* @__PURE__ */ new Date(), s3 = 864e5;
|
|
541
|
-
Math[h2("yLs6", 0, 0, 7)]((o2[m2("Wrqk", 868, 857)]() - r3[f2(1079, "5xIB")]()) / s3) >= 120 && (u2 = [m2("6[qS", e2, n2)]);
|
|
542
|
-
} else u2 = [];
|
|
536
|
+
const Z = (t2) => {
|
|
537
|
+
const e2 = "nOdw", n2 = 629, r2 = "A!0W", s2 = "nCNx", i2 = 516, a2 = "OmU7", l2 = 1219, c2 = "JOf5", h2 = 586, d2 = 667;
|
|
538
|
+
let u2 = o[p2(630, "1I)J")];
|
|
543
539
|
function g2(t3, e3, n3, r3, o2) {
|
|
544
|
-
return
|
|
540
|
+
return q(t3 - 5, e3);
|
|
545
541
|
}
|
|
546
|
-
|
|
547
|
-
|
|
542
|
+
if (Y() || o[p2(665, ")qFJ")]()) {
|
|
543
|
+
const t3 = P[g2(623, e2)](), o2 = new Date(t3), c3 = /* @__PURE__ */ new Date(), h3 = 864e5;
|
|
544
|
+
Math[p2(n2, r2)]((c3[p2(806, s2)]() - o2[g2(i2, "p]Yg")]()) / h3) >= 120 && (u2 = [(m2 = a2, f2 = l2, q(f2 - d2, m2))]);
|
|
545
|
+
} else u2 = [];
|
|
546
|
+
var m2, f2;
|
|
547
|
+
function p2(t3, e3, n3, r3, o2) {
|
|
548
|
+
return q(t3 - 147, e3);
|
|
548
549
|
}
|
|
549
|
-
function
|
|
550
|
-
return
|
|
550
|
+
function _2(t3, e3, n3, r3, o2) {
|
|
551
|
+
return q(t3 - h2, r3);
|
|
551
552
|
}
|
|
552
|
-
return { licensee: () =>
|
|
553
|
-
},
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
553
|
+
return { licensee: () => _2(1101, 0, 0, "LA*E"), expiration: () => null, domains: () => [X()], developerCount: () => 1, cpuCount: () => 0, type: () => g2(477, "9VZb"), isEval: () => true, exceptions: () => u2, isValidFor: () => 0 === u2[_2(1060, 0, 0, "NbSG")], isValid: () => false, features: () => Object[_2(1188, 0, 0, "qI2G")]({}), keyFrom: () => t2, getBuildVersion: P[g2(480, c2)], getBuildDate: P[_2(1148, 0, 0, "1I)J")] };
|
|
554
|
+
}, tt = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
|
|
555
|
+
function et(t2, e2, n2, r2, o2) {
|
|
556
|
+
return q(n2 - -756, t2);
|
|
557
|
+
}
|
|
558
|
+
let nt = false, rt = false;
|
|
559
|
+
const ot = at("1I)J", 1356, 1339, 1352, 1432)[Q("NbSG", 734)]("")[at("9VZb", 1391, 1333, 1356, 1434)]((t2, e2) => e2 + t2, "");
|
|
560
|
+
class st {
|
|
557
561
|
constructor() {
|
|
558
|
-
const t2 =
|
|
559
|
-
var r2, o2, s2, i2, a2, l2;
|
|
560
|
-
this[a2 =
|
|
562
|
+
const t2 = "!A7N", e2 = 467;
|
|
563
|
+
var n2, r2, o2, s2, i2, a2, l2;
|
|
564
|
+
this[i2 = 134, a2 = 64, l2 = "Wn[A", at(l2, i2 - 292, a2 - 320, l2 - 173, i2 - -1301)][n2 = -132, r2 = t2, o2 = -245, s2 = -171, at(r2, n2 - e2, r2 - 449, o2 - 244, s2 - -1499)] = null;
|
|
561
565
|
}
|
|
562
|
-
async [
|
|
563
|
-
const n2 =
|
|
564
|
-
function k2(t3, e3, n3, r3, o2) {
|
|
565
|
-
return st(n3, e3 - M2, n3 - N2, t3 - T2);
|
|
566
|
-
}
|
|
566
|
+
async [K(0, 0, 0, "z(dt", 690)](t2, e2 = false) {
|
|
567
|
+
const n2 = 36, r2 = "1I)J", s2 = 887, i2 = 814, a2 = "LA*E", l2 = 776, c2 = "wvfQ", h2 = 727, d2 = "QlI0", u2 = 795, g2 = "2868", m2 = "esxO", f2 = 49, p2 = "yK&N", _2 = 48, S2 = "A!0W", w2 = 67, y2 = "VOEF", E2 = "WWj8", C2 = 87, b2 = "dRzh", v2 = 802, x2 = "kBqj", I2 = 878, R2 = "CJpR", A2 = "tdMk", M2 = "!A7N", N2 = "OmU7", T2 = 114, k2 = 45;
|
|
567
568
|
function F2(t3, e3, n3, r3, o2) {
|
|
568
|
-
return
|
|
569
|
+
return K(0, 0, 0, n3, e3 - -842);
|
|
569
570
|
}
|
|
570
|
-
if (!t2 || t2[
|
|
571
|
+
if (!t2 || t2[B2("nCNx", -60, -54)](B2("^qeP", n2, 33)) || t2[O2(856, 844, r2, s2, i2)](P2(-79, a2, -35, -4)) || t2[O2(l2, 745, c2, h2, 783)](B2(d2, 87, -14)) || t2[D2(u2, 954, g2, 875)](B2(m2, 138, f2))) return nt = true, await this[B2(")qFJ", 88, 5)](true);
|
|
571
572
|
function O2(t3, e3, n3, r3, o2) {
|
|
572
|
-
return
|
|
573
|
+
return Q(n3, o2 - k2);
|
|
573
574
|
}
|
|
574
575
|
function D2(t3, e3, n3, r3, o2) {
|
|
575
|
-
return
|
|
576
|
+
return Q(n3, r3 - -38);
|
|
577
|
+
}
|
|
578
|
+
if (nt = false, !e2 && tt[P2(14, p2, 22, _2)]) {
|
|
579
|
+
const t3 = await this[P2(30, S2, 50, w2)]();
|
|
580
|
+
if (t3[D2(0, 0, ")qFJ", 707)]() && !t3[D2(0, 0, "kBqj", 834)]()) return t3;
|
|
576
581
|
}
|
|
577
|
-
|
|
578
|
-
|
|
582
|
+
tt[D2(0, 0, y2, 775)] = t2, tt[B2(E2, 53, C2)] = O2(0, 0, b2, 0, 854), tt[D2(0, 0, "(@by", v2)] = null, tt[D2(0, 0, "p]Yg", 774)] = null;
|
|
583
|
+
const L2 = await this[B2("uXkR", -23, -117)]();
|
|
584
|
+
if (!L2[F2(0, -87, "tdMk")]()) throw await this[P2(-41, x2, -57, 4)](true), new Error(D2(0, 0, "VYKu", I2));
|
|
585
|
+
function B2(t3, e3, n3, r3, o2) {
|
|
586
|
+
return K(0, 0, 0, t3, n3 - -724);
|
|
579
587
|
}
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
if (t3[O2(-450, 0, 0, 0, l2)]() && !t3[O2(-278, 0, 0, 0, "vSVL")]()) return t3;
|
|
588
|
+
function P2(t3, e3, n3, r3, o2) {
|
|
589
|
+
return at(e3, e3 - T2, n3 - 311, r3 - 468, t3 - -1376);
|
|
583
590
|
}
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
if (o[L2(-581, 0, w2, -501)]()) {
|
|
588
|
-
await j[k2(y2, 162, "asym")](t2, e2);
|
|
589
|
-
if (!(await this[O2(-380, 0, 0, 0, E2)]())[k2(C2, 186, "[k#(")]()) throw await this[k2(97, b2, v2)](true), new Error(k2(x2, 116, I2));
|
|
591
|
+
if (o[B2(R2, 0, 58)]()) {
|
|
592
|
+
await V[F2(0, -103, A2)](t2, e2);
|
|
593
|
+
if (!(await this[P2(21, "Wn[A", -59, -42)]())[P2(-51, "##Gq", 9, -16)]()) throw await this[F2(0, -126, M2)](true), new Error(F2(0, -77, N2));
|
|
590
594
|
}
|
|
591
|
-
return
|
|
595
|
+
return L2;
|
|
592
596
|
}
|
|
593
|
-
async [
|
|
594
|
-
const e2 =
|
|
595
|
-
if (
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
597
|
+
async [et("qI2G", 0, -118)](t2 = false) {
|
|
598
|
+
const e2 = 151, n2 = "OmU7", r2 = 251, s2 = 96, i2 = 155, a2 = "QlI0", l2 = 141, c2 = 420, h2 = 490, d2 = "OmU7", u2 = 460, g2 = 526, m2 = "##Gq", f2 = 339, p2 = 269, _2 = 453, S2 = "8Srj", w2 = "##Gq", y2 = "#ra[", E2 = 295, C2 = "p]Yg", b2 = 363, v2 = 480, x2 = 525, I2 = 552, R2 = "nCNx", A2 = "VYKu", M2 = 410, N2 = "dRzh", T2 = "VaPF", k2 = 282, F2 = 444, O2 = 274, D2 = "z(dt", L2 = "7jbf", B2 = 340, z2 = 351, W2 = 290, H2 = 366, j2 = "wvfQ", U2 = "Gy]v", st2 = 446, it2 = "d$Kf", lt2 = 240, ct2 = 331, ht2 = 466, dt2 = "[^tn", ut2 = "(J]Y", gt2 = 254, mt2 = 75, ft2 = "NbSG", pt2 = 426, _t2 = 242, St2 = "WWj8", wt2 = 458, yt2 = 400, Et2 = 327, Ct2 = 448, bt2 = 711, vt2 = 761, xt2 = 411, It2 = 3;
|
|
599
|
+
if (tt[Nt2(64, 103, "QMwf", 196, 139)]) return tt[Nt2(e2, 333, n2, r2, 255)];
|
|
600
|
+
function Rt2(t3, e3, n3, r3, o2) {
|
|
601
|
+
return at(r3, e3 - 182, n3 - xt2, r3 - It2, t3 - -990);
|
|
602
|
+
}
|
|
603
|
+
function At2(t3, e3, n3, r3, o2) {
|
|
604
|
+
return J(r3 - 721, 0, t3);
|
|
605
|
+
}
|
|
606
|
+
if (!this[Nt2(s2, i2, a2, 52, l2)][Rt2(c2, h2, 515, d2)] && (this[Nt2(223, 182, "nCNx", 177, 265)][Ft2(u2, 541, g2, 464, "QlI0")] = new Error("FV")), tt[At2(m2, 0, 0, f2)]) return tt[Ft2(355, p2, _2, 262, "8Srj")];
|
|
607
|
+
let Mt2 = null;
|
|
608
|
+
function Nt2(t3, e3, n3, r3, o2) {
|
|
609
|
+
return Q(n3, o2 - -649);
|
|
599
610
|
}
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
Lt2 = t3;
|
|
611
|
+
tt[At2(S2, 0, 0, 384)] = new Promise((t3) => {
|
|
612
|
+
Mt2 = t3;
|
|
603
613
|
});
|
|
604
|
-
let
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
614
|
+
let Tt2, kt2 = null;
|
|
615
|
+
function Ft2(t3, e3, n3, r3, o2) {
|
|
616
|
+
return K(0, 0, 0, o2, t3 - -353);
|
|
617
|
+
}
|
|
618
|
+
const Ot2 = async (t3, e3) => {
|
|
619
|
+
function n3(t4, e4, n4, r3, o2) {
|
|
620
|
+
return Ft2(n4 - 369, 0, 0, 0, r3);
|
|
609
621
|
}
|
|
610
622
|
try {
|
|
611
|
-
const
|
|
623
|
+
const r3 = ((t4) => {
|
|
612
624
|
let e4 = t4;
|
|
613
|
-
const
|
|
614
|
-
if (e4 = e4.substring(0, e4.length - 1), e4 = e4.split("").reverse().join(""), e4 = G(e4), e4 = e4.trim(), e4[e4.length - 1] !==
|
|
625
|
+
const n4 = e4[e4.length - 1], r4 = n4.charCodeAt(0) - 52;
|
|
626
|
+
if (e4 = e4.substring(0, e4.length - 1), e4 = e4.split("").reverse().join(""), e4 = G(e4), e4 = e4.trim(), e4[e4.length - 1] !== n4) throw new Error();
|
|
615
627
|
e4 = e4.substring(0, e4.length - 1), e4 = $(e4, r4);
|
|
616
628
|
try {
|
|
617
629
|
e4.startsWith("{") || (e4 = "{" + e4);
|
|
618
|
-
const t5 = JSON.parse(e4),
|
|
619
|
-
return t5.f && (
|
|
630
|
+
const t5 = JSON.parse(e4), n5 = { licensee: t5.l, domains: t5.d, nodeId: t5.n, expiry: t5.e, developerCount: t5.dc, cpuCount: t5.cc, type: t5.t };
|
|
631
|
+
return t5.f && (n5.features = t5.f), n5;
|
|
620
632
|
} catch (t5) {
|
|
621
633
|
throw new Error("Invalid license key.");
|
|
622
634
|
}
|
|
623
|
-
})(e3), s3 = ((t4, e4,
|
|
624
|
-
const r4 =
|
|
625
|
-
function
|
|
626
|
-
return
|
|
635
|
+
})(e3), s3 = ((t4, e4, n4) => {
|
|
636
|
+
const r4 = 376, o2 = 126;
|
|
637
|
+
function s4(t5, e5, n5, r5, o3) {
|
|
638
|
+
return q(o3 - 1e3, n5);
|
|
627
639
|
}
|
|
628
|
-
function
|
|
629
|
-
return
|
|
640
|
+
function i3(t5, e5, n5, r5, o3) {
|
|
641
|
+
return q(o3 - -998, t5);
|
|
630
642
|
}
|
|
631
|
-
function
|
|
632
|
-
return
|
|
643
|
+
function a3(t5, e5, n5, r5, o3) {
|
|
644
|
+
return q(r5 - -131, n5);
|
|
633
645
|
}
|
|
634
|
-
|
|
635
|
-
return
|
|
646
|
+
return { licensee: () => t4[i3("A!0W", 0, 0, 0, -458)], expiration: () => new Date(t4[a3(0, 0, "##Gq", 338)]), domains: () => t4[a3(0, 0, "CJpR", 374)] ?? [], developerCount: () => t4[s4(0, 0, "uXkR", 0, 1630)] ?? 1, cpuCount: () => t4[i3("RbIb", 0, 0, 0, -451)] ?? 0, type: () => t4[s4(0, 0, "esxO", 0, 1597)] ?? i3("9VZb", 0, 0, 0, -402), exceptions: () => e4, isValidFor: (t5) => {
|
|
647
|
+
return !(e4?.[n5 = o2, r5 = "Gy]v", s4(0, 0, r5, 0, n5 - -1416)] > 0);
|
|
648
|
+
var n5, r5;
|
|
649
|
+
}, isValid: () => true, isEval: () => false, features: () => Object[a3(0, 0, "z(dt", 346)](t4[s4(0, 0, "hYmg", 0, 1544)] ?? {}), keyFrom: () => n4, getBuildVersion: P[s4(0, 0, "A!0W", 0, 1501)], getBuildDate: P[a3(0, 0, "RbIb", r4)] };
|
|
650
|
+
})(r3, await (async (t4) => {
|
|
651
|
+
const e4 = 1040, n4 = 1505, r4 = 1406, s4 = "6i2C", i3 = 982, a3 = 1444, l3 = "9VZb", c3 = 206, h3 = "#ra[", d3 = 1417, u3 = 237, g3 = "WWj8", m3 = "VOEF", f3 = 1397, p3 = 1414, _3 = "kBqj", S3 = 308, w3 = "#vX3", y3 = 214, E3 = "Wn[A", C3 = "QlI0", b3 = 274, v3 = "KfOy", x3 = 223, I3 = "uXkR", R3 = 393, A3 = 878, M3 = 844, N3 = t4[O3(-23, -4, -57, 66, "RbIb")], T3 = t4[O3(-201, -290, -154, -128, "nCNx")] ? new Date(t4[L3(1090, "p]Yg", e4)]) : null, k3 = t4[F3(n4, r4, 1363, 1416, s4)];
|
|
652
|
+
function F3(t5, e5, n5, r5, o2) {
|
|
653
|
+
return q(r5 - M3, o2);
|
|
636
654
|
}
|
|
637
|
-
function
|
|
638
|
-
return
|
|
655
|
+
function O3(t5, e5, n5, r5, o2) {
|
|
656
|
+
return q(t5 - -680, o2);
|
|
639
657
|
}
|
|
640
|
-
|
|
641
|
-
return
|
|
642
|
-
var n6, s5;
|
|
643
|
-
}, isValid: () => true, isEval: () => false, features: () => Object[h3(-641, 0, 0, "#*4i")](t4[l3("[k#(", 0, 872)] ?? {}), keyFrom: () => n5, getBuildVersion: z[i3(0, -214, "drd9")], getBuildDate: z[i3(0, -357, "yZ]2")] };
|
|
644
|
-
})(n4, await (async (t4) => {
|
|
645
|
-
const e4 = 1085, n5 = 983, r4 = "E(St", s4 = "4v8g", i3 = 1044, a3 = "AeP1", l3 = 956, c3 = "bLj6", h3 = "HKU*", d3 = "9s$#", u3 = "drd9", g3 = 756, m3 = 859, f3 = "drd9", p3 = "kmZo", _3 = 1099, S3 = 621, w3 = 793, y3 = t4[A3(902, 907, 931, "q]ND")], E3 = t4[A3(e4, n5, 883, "Qu)l")] ? new Date(t4[b3(-538, "WxOz", -593, -610)]) : null, C3 = t4[b3(-783, "AxLi", -745, -712)];
|
|
646
|
-
function b3(t5, e5, n6, r5, o2) {
|
|
647
|
-
return U(r5 - -961, e5);
|
|
658
|
+
function D3(t5, e5, n5, r5, o2) {
|
|
659
|
+
return q(o2 - A3, t5);
|
|
648
660
|
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
return U(o2 - w3, r5);
|
|
661
|
+
function L3(t5, e5, n5, r5, o2) {
|
|
662
|
+
return q(n5 - R3, e5);
|
|
652
663
|
}
|
|
653
|
-
function
|
|
654
|
-
return
|
|
664
|
+
function B3(t5, e5, n5, r5, o2) {
|
|
665
|
+
return q(e5 - -320, o2);
|
|
655
666
|
}
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
t5
|
|
667
|
+
const P2 = [];
|
|
668
|
+
if (T3 ? isNaN(T3) ? P2[O3(-110, 0, 0, 0, l3)](O3(-176, 0, 0, 0, "Wn[A")) : T3 < /* @__PURE__ */ new Date() && P2[B3(0, c3, 0, 0, "4uM7")](D3(h3, 0, 0, 0, d3) + T3[B3(0, u3, 0, 0, g3)]()) : P2[L3(0, "tdMk", i3)](F3(0, 0, 0, a3, "8Srj")), o[L3(0, "uXkR", 887)]()) {
|
|
669
|
+
if (!k3) return P2[O3(-166, 0, 0, 0, m3)](F3(0, 0, 0, f3, "z(dt")), P2;
|
|
670
|
+
const t5 = await V[D3("NbSG", 0, 0, 0, p3)]();
|
|
671
|
+
t5 !== k3 && P2[F3(0, 0, 0, 1435, _3)](B3(0, S3, 0, 0, w3) + k3 + B3(0, y3, 0, 0, E3) + t5);
|
|
660
672
|
} else {
|
|
661
|
-
if (
|
|
662
|
-
if (
|
|
673
|
+
if (Y()) return P2;
|
|
674
|
+
if (N3 && 0 !== N3[L3(0, C3, 1051)]) {
|
|
663
675
|
let t5 = false;
|
|
664
|
-
const e5 =
|
|
665
|
-
for (let
|
|
666
|
-
!t5 &&
|
|
667
|
-
} else
|
|
676
|
+
const e5 = X();
|
|
677
|
+
for (let n5 = 0; !t5 && n5 < N3[B3(0, 332, 0, 0, v3)]; n5++) t5 = e5[B3(0, x3, 0, 0, m3)](N3[n5]);
|
|
678
|
+
!t5 && P2[D3(w3, 0, 0, 0, 1523)](D3(I3, 0, 0, 0, 1362));
|
|
679
|
+
} else P2[O3(-9, 0, 0, 0, "QMwf")](B3(0, b3, 0, 0, "7jbf"));
|
|
668
680
|
}
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
function A3(t5, e5, n6, r5, o2) {
|
|
673
|
-
return U(e5 - S3, r5);
|
|
674
|
-
}
|
|
675
|
-
return v3;
|
|
676
|
-
})(n4), t3);
|
|
677
|
-
return s3[r3(604, Mt2, Nt2, "E(St")]()[r3(Tt2, kt2, Ft2, Ot2)] > 0 && (Bt2 = s3), s3;
|
|
681
|
+
return P2;
|
|
682
|
+
})(r3), t3);
|
|
683
|
+
return s3[n3(0, 0, bt2, "8Srj")]()[n3(0, 0, vt2, "nCNx")] > 0 && (Tt2 = s3), s3;
|
|
678
684
|
} catch (e4) {
|
|
679
|
-
|
|
680
|
-
function e5(t5, e6, n5,
|
|
681
|
-
return
|
|
685
|
+
Tt2 = ((t4) => {
|
|
686
|
+
function e5(t5, e6, n5, r4, o3) {
|
|
687
|
+
return q(e6 - -620, r4);
|
|
682
688
|
}
|
|
683
|
-
function n4(t5, e6, n5,
|
|
684
|
-
return
|
|
689
|
+
function n4(t5, e6, n5, r4, o3) {
|
|
690
|
+
return q(t5 - 453, o3);
|
|
685
691
|
}
|
|
686
|
-
return { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () =>
|
|
687
|
-
return [(
|
|
688
|
-
var
|
|
689
|
-
}, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, features: () => Object[
|
|
690
|
-
var
|
|
692
|
+
return { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => n4(1089, 0, 0, 0, "7jbf"), exceptions: () => {
|
|
693
|
+
return [(e6 = "JOf5", r4 = 859, n4(r4 - -97, 0, 0, 0, e6) + t4 + "'")];
|
|
694
|
+
var e6, r4;
|
|
695
|
+
}, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, features: () => Object[e5(0, 5, 0, "p]Yg")]({}), keyFrom: () => t4, getBuildVersion: P[e5(0, -108, 0, "[^tn")], getBuildDate: P[r3 = "yK&N", o2 = -302, q(o2 - -875, r3)] };
|
|
696
|
+
var r3, o2;
|
|
691
697
|
})(t3);
|
|
692
698
|
}
|
|
693
699
|
};
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
if (!zt2) {
|
|
705
|
-
const t3 = process[$t2(y2, 610, E2, 555, C2)], e3 = t3[Ht2(b2, v2, 926)] || t3[jt2(x2, I2, R2, "asym")] || t3[Vt2(266, 0, A2, M2, N2)] || t3[jt2(T2, k2, 164, "yZ]2")];
|
|
706
|
-
e3 && (zt2 = await Pt2(jt2(251, d2, 247, "4NTp"), e3));
|
|
700
|
+
function Dt2(t3, e3, n3, r3, o2) {
|
|
701
|
+
return et(t3, 0, o2 - Ct2);
|
|
702
|
+
}
|
|
703
|
+
tt[Rt2(356, 383, 360, m2)] && (kt2 = await Ot2(tt[Ft2(359, 0, 0, 0, w2)], tt[At2(y2, 0, 0, E2)]));
|
|
704
|
+
let Lt2 = false;
|
|
705
|
+
if (nt && (Lt2 = true, kt2 = Z(At2(C2, 0, 0, b2))), !kt2) {
|
|
706
|
+
if (o[Rt2(v2, x2, I2, "CJpR")]()) {
|
|
707
|
+
if (!kt2) {
|
|
708
|
+
const t3 = process[Rt2(452, 530, 393, R2)], e3 = t3[At2(A2, 0, 0, 305)] || t3[Ft2(M2, 0, 0, 0, "##Gq")] || t3[At2(N2, 0, 0, 381)] || t3[Dt2(T2, 0, 0, 0, k2)];
|
|
709
|
+
e3 && (kt2 = await Ot2(At2("2868", 0, 0, F2), e3));
|
|
707
710
|
}
|
|
708
|
-
if (!
|
|
709
|
-
const t3 = await
|
|
710
|
-
t3 && (
|
|
711
|
+
if (!kt2) {
|
|
712
|
+
const t3 = await V[Dt2(T2, 0, 0, 0, O2)]();
|
|
713
|
+
t3 && (kt2 = await Ot2(Nt2(0, 0, D2, 0, 145), t3));
|
|
711
714
|
}
|
|
712
|
-
!
|
|
715
|
+
!kt2 && (Lt2 = true);
|
|
713
716
|
} else {
|
|
714
|
-
if (!
|
|
715
|
-
const t3 = await fetch("./" +
|
|
717
|
+
if (!kt2) try {
|
|
718
|
+
const t3 = await fetch("./" + ot);
|
|
716
719
|
let e3 = null;
|
|
717
|
-
if (200 === t3[
|
|
718
|
-
const n3 = (await t3[
|
|
719
|
-
for (let t4 = 0; !e3 && t4 < n3[
|
|
720
|
-
const r3 = n3[t4][
|
|
721
|
-
r3[
|
|
720
|
+
if (200 === t3[Dt2(L2, 0, 0, 0, B2)]) {
|
|
721
|
+
const n3 = (await t3[Rt2(328, 373, z2, "hYmg")]())[At2("RbIb", 0, 0, W2)]("\n");
|
|
722
|
+
for (let t4 = 0; !e3 && t4 < n3[Ft2(H2, 0, 0, 0, j2)]; t4++) {
|
|
723
|
+
const r3 = n3[t4][At2(U2, 0, 0, st2)]();
|
|
724
|
+
r3[Nt2(0, 0, "QMwf", 0, 84)]("#") || 0 === r3[Dt2(it2, 0, 0, 0, lt2)] || (e3 = r3);
|
|
722
725
|
}
|
|
723
726
|
}
|
|
724
727
|
if (e3) {
|
|
725
|
-
const t4 =
|
|
726
|
-
|
|
728
|
+
const t4 = Dt2("!A7N", 0, 0, 0, ct2) + ot + "')";
|
|
729
|
+
kt2 = await Ot2(t4, e3);
|
|
727
730
|
}
|
|
728
731
|
} catch (t3) {
|
|
729
732
|
}
|
|
730
|
-
!
|
|
733
|
+
!kt2 && Y() && (Lt2 = true);
|
|
731
734
|
}
|
|
732
735
|
}
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
if (et) return void setTimeout(() => {
|
|
739
|
-
var t3, e3, n3, r3;
|
|
740
|
-
this[t3 = vt2, e3 = 795, n3 = xt2, r3 = ")i&]", Vt2(t3 - 123, 0, n3 - 18, e3 - 521, r3)](false, false);
|
|
736
|
+
if (!kt2 && Lt2 && (kt2 = Z(At2("wvfQ", 0, 0, ht2))), !kt2 && Tt2 && (kt2 = Tt2), !kt2 && (kt2 = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => false, exceptions: () => [Ft2(333, 0, 0, 0, "dRzh")], isValidFor: (t3) => false, isValid: () => false, features: () => Object[Rt2(441, 438, 374, "qI2G")]({}), keyFrom: () => Dt2("(@by", 0, 0, 0, 315), getBuildVersion: P[Rt2(351, 408, 334, dt2)], getBuildDate: P[Nt2(0, 0, ut2, 0, gt2)] }), tt[Nt2(0, 0, "1I)J", 0, mt2)] = kt2, Mt2(kt2), t2) {
|
|
737
|
+
if (!(tt[Ft2(389, 0, 0, 0, ft2)] && tt[At2("NbSG", 0, 0, pt2)]) && (Lt2 || kt2[Dt2("#ra[", 0, 0, 0, _t2)]()[Rt2(352, 266, 378, St2)] > 0 || kt2[Rt2(473, wt2, yt2, "OmU7")]()?.pb)) {
|
|
738
|
+
if (rt) return void setTimeout(() => {
|
|
739
|
+
var t3, e3, n3;
|
|
740
|
+
this[t3 = "[^tn", e3 = 283, n3 = 198, Rt2(n3 - -221, e3 - 142, n3 - 73, t3)](false, false);
|
|
741
741
|
}, 8e3);
|
|
742
|
-
await this[Dt2("
|
|
742
|
+
await this[Dt2("4uM7", 0, 0, 0, 271)](false, false);
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
|
|
746
|
-
return st(o2, e3 - Ct2, n3 - 366, t3 - bt2);
|
|
747
|
-
}
|
|
748
|
-
return Z[$t2(wt2, yt2, 545, 0, Et2)];
|
|
745
|
+
return tt[Dt2("dRzh", 0, 0, 0, Et2)];
|
|
749
746
|
}
|
|
750
|
-
async [
|
|
751
|
-
const e2 =
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
function g2(t3, e3, n3, r3, o3) {
|
|
755
|
-
return st(o3, e3 - 127, n3 - d2, e3 - -484);
|
|
747
|
+
async [Q("Bo3R", 808)](t2) {
|
|
748
|
+
const e2 = "WWj8", n2 = "OmU7", r2 = 1096, o2 = "^qeP", s2 = "qI2G", i2 = 921, a2 = 473, l2 = 10, c2 = 77, h2 = 257;
|
|
749
|
+
function d2(t3, e3, n3, r3, o3) {
|
|
750
|
+
return K(0, 0, 0, r3, t3 - -748);
|
|
756
751
|
}
|
|
757
|
-
|
|
758
|
-
|
|
752
|
+
var u2, g2;
|
|
753
|
+
tt[u2 = 776, g2 = "lEu#", et(g2, 0, u2 - 1065)] = true;
|
|
754
|
+
const m2 = await this[f2 = e2, p2 = 325, et(f2, 0, p2 - a2)]();
|
|
755
|
+
var f2, p2, _2, S2, w2, y2;
|
|
756
|
+
function E2(t3, e3, n3, r3, o3) {
|
|
757
|
+
return J(e3 - i2, 0, t3);
|
|
759
758
|
}
|
|
760
|
-
|
|
761
|
-
return X(0, r3, n3 - -300);
|
|
762
|
-
}
|
|
763
|
-
return await j[f2(e2, n2, r2, "[k#(")](t2), !Z[m2(727, e2, "#*4i", o2)] && (u2[m2(s2, i2, "7G5z", a2)]() || u2[g2(0, -377, -411, 0, l2)]()[g2(0, -426, -324, 0, "#*4i")] > 0) && await this[g2(0, -333, -273, 0, "[$^u")](t2), Promise[m2(676, 0, c2, 600)]();
|
|
759
|
+
return await V[_2 = n2, S2 = 1005, w2 = 1182, y2 = r2, at(_2, S2 - l2, w2 - c2, y2 - h2, y2 - -397)](t2), !tt[d2(-82, 0, 0, "7jbf")] && (m2[d2(-120, 0, 0, "Gy]v")]() || m2[E2(o2, 601)]()[E2(s2, 629)] > 0) && await this[E2("Wn[A", 643)](t2), Promise[E2("lEu#", 663)]();
|
|
764
760
|
}
|
|
765
|
-
async [
|
|
766
|
-
const r2 =
|
|
767
|
-
|
|
768
|
-
|
|
761
|
+
async [J(-271, 0, "nCNx")](t2 = false, e2 = false, n2 = false) {
|
|
762
|
+
const r2 = 495, o2 = 522, s2 = "[^tn", i2 = "tdMk", a2 = 1123, l2 = 1381, c2 = "NbSG", h2 = 1546, d2 = 1598, u2 = "7jbf", g2 = "p]Yg", m2 = 1044, f2 = 575, p2 = 803, _2 = 1416;
|
|
763
|
+
tt[w2(624, 474, 525, "JOf5")] = true;
|
|
764
|
+
const S2 = await this[w2(517, r2, o2, s2)]();
|
|
765
|
+
function w2(t3, e3, n3, r3, o3) {
|
|
766
|
+
return at(r3, e3 - 447, n3 - 479, r3 - 97, n3 - -890);
|
|
769
767
|
}
|
|
770
|
-
Z[y2(1061, 982, 1163, ")85a", 1081)] = true;
|
|
771
|
-
const f2 = await this[y2(r2, o2, s2, i2, a2)]();
|
|
772
|
-
var p2, _2, S2, w2;
|
|
773
|
-
Z[y2(1119, 1104, 1037, l2, 1034)] || !(f2[S2 = "XA*m", w2 = -634, X(0, S2, w2 - -1474)]() || f2[m2(0, 0, "asym", 1184)]()[y2(1073, c2, h2, d2, 1122)] > 0) ? await j[m2(0, 0, "yLs6", 1168)](f2, t2, e2, n2) : await this[p2 = u2, _2 = "mzrd", Y(p2 - 1056, _2)](t2);
|
|
774
768
|
function y2(t3, e3, n3, r3, o3) {
|
|
775
|
-
return
|
|
769
|
+
return J(o3 - _2, 0, t3);
|
|
770
|
+
}
|
|
771
|
+
function E2(t3, e3, n3, r3, o3) {
|
|
772
|
+
return et(o3, 0, e3 - p2);
|
|
776
773
|
}
|
|
774
|
+
function C2(t3, e3, n3, r3, o3) {
|
|
775
|
+
return et(o3, 0, t3 - 1720);
|
|
776
|
+
}
|
|
777
|
+
tt[E2(0, 632, 0, 0, "A!0W")] || !(S2[y2(i2, 0, 0, 0, a2)]() || S2[C2(1461, 1526, 1543, l2, c2)]()[C2(1626, h2, 1589, d2, u2)] > 0) ? await V[E2(0, f2, 0, 0, "8Srj")](S2, t2, e2, n2) : await this[y2(g2, 0, 0, 0, m2)](t2);
|
|
777
778
|
}
|
|
778
|
-
async [
|
|
779
|
-
const n2 =
|
|
780
|
-
if (!t2 && (
|
|
781
|
-
function
|
|
782
|
-
return
|
|
779
|
+
async [Q("z(dt", 922)](t2, e2) {
|
|
780
|
+
const n2 = 121, r2 = 211, s2 = "qI2G", i2 = "1I)J", a2 = 1482, l2 = 822, c2 = 1306, h2 = 1345, d2 = 1251, u2 = "Wn[A", g2 = 1119, m2 = 118, f2 = 50, p2 = 386, _2 = 331;
|
|
781
|
+
if (!t2 && (tt[w2(1557, "esxO", 1439, 1621, 1521)] || tt[y2(n2, 109, r2, s2)])) return;
|
|
782
|
+
function S2(t3, e3, n3, r3, o2) {
|
|
783
|
+
return at(e3, e3 - 117, n3 - _2, r3 - 12, r3 - -144);
|
|
784
|
+
}
|
|
785
|
+
function w2(t3, e3, n3, r3, o2) {
|
|
786
|
+
return at(e3, e3 - m2, n3 - f2, r3 - p2, o2 - 77);
|
|
783
787
|
}
|
|
784
|
-
function
|
|
785
|
-
return
|
|
788
|
+
function y2(t3, e3, n3, r3, o2) {
|
|
789
|
+
return Q(r3, t3 - -665);
|
|
786
790
|
}
|
|
787
|
-
function
|
|
788
|
-
return
|
|
791
|
+
function E2(t3, e3, n3, r3, o2) {
|
|
792
|
+
return J(t3 - g2, 0, e3);
|
|
789
793
|
}
|
|
790
|
-
|
|
791
|
-
const
|
|
792
|
-
|
|
794
|
+
tt[w2(0, i2, 1562, a2, 1549)] = true, tt[E2(l2, "##Gq")] = true, await this[y2(241, 0, 0, "kBqj")](t2);
|
|
795
|
+
const C2 = o[S2(0, "WWj8", 1235, c2)](), b2 = t2 || C2 ? console[E2(753, "RbIb")] : o[S2(0, "#vX3", h2, d2)];
|
|
796
|
+
C2 && b2(""), await this[E2(841, u2)](t2, e2), b2("");
|
|
793
797
|
}
|
|
794
|
-
[
|
|
795
|
-
return this[t2 =
|
|
798
|
+
[J(-384, 0, "d$Kf")]() {
|
|
799
|
+
return this[t2 = 1417, e2 = "(@by", et(e2, 0, t2 - 1615)]();
|
|
796
800
|
var t2, e2;
|
|
797
801
|
}
|
|
798
|
-
[
|
|
799
|
-
return this[e2 =
|
|
802
|
+
[K(0, 0, 0, "kBqj", 809)](t2) {
|
|
803
|
+
return this[e2 = 355, n2 = "VaPF", Q(n2, e2 - -538)](true, t2);
|
|
800
804
|
var e2, n2;
|
|
801
805
|
}
|
|
802
|
-
[
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
var n2, r2, o2, s2, i2, a2;
|
|
806
|
+
[K(0, 0, 0, "QlI0", 671)]() {
|
|
807
|
+
return tt[n2 = "tdMk", r2 = 716, J(r2 - 1120, 0, n2)] || tt[t2 = "#ra[", e2 = -278, J(e2 - 103, 0, t2)];
|
|
808
|
+
var t2, e2, n2, r2;
|
|
806
809
|
}
|
|
807
|
-
[
|
|
808
|
-
|
|
810
|
+
[J(-309, 0, "2868")](t2) {
|
|
811
|
+
rt = true;
|
|
809
812
|
}
|
|
810
|
-
async [
|
|
811
|
-
return this[t2 =
|
|
813
|
+
async [K(0, 0, 0, "^qeP", 797)]() {
|
|
814
|
+
return this[t2 = 15, e2 = "d$Kf", et(e2, 0, t2 - 117)](true);
|
|
812
815
|
var t2, e2;
|
|
813
816
|
}
|
|
814
|
-
async [
|
|
815
|
-
const n2 = "
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
817
|
+
async [et("(@by", 0, -237)](t2, e2) {
|
|
818
|
+
const n2 = "nCNx", r2 = 123, o2 = 120;
|
|
819
|
+
function s2(t3, e3, n3, r3, o3) {
|
|
820
|
+
return J(r3 - 534, 0, n3);
|
|
821
|
+
}
|
|
822
|
+
const i2 = await this[s2(0, 0, n2, r2)]();
|
|
823
|
+
return await this[s2(0, 0, "nOdw", o2)](true, t2, e2), i2;
|
|
819
824
|
}
|
|
820
|
-
async [
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
return await j[e2 = -104, n2 = -212, r2 = -123, o2 = "#aGz", st(o2, e2 - 405, n2 - t2, r2 - -234)]();
|
|
825
|
+
async [K(0, 0, 0, "&fYW", 785)]() {
|
|
826
|
+
var t2, e2;
|
|
827
|
+
return await V[t2 = 313, e2 = "##Gq", K(0, 0, 0, e2, t2 - -448)]();
|
|
824
828
|
}
|
|
825
829
|
}
|
|
826
|
-
const
|
|
827
|
-
function
|
|
828
|
-
return
|
|
829
|
-
}
|
|
830
|
-
function it(t2, e2, n2, r2, o2) {
|
|
831
|
-
return U(o2 - -635, e2);
|
|
832
|
-
}
|
|
833
|
-
function at() {
|
|
834
|
-
const t2 = ["BCk1A8kzWRXmE8oQwCk4W51CW7SlnG", "x8oBlmojv8k7", "D244oG", "WPDmFSo4phlcRmo8us/dJZO", "EwldQCo6W47cIq", "s3iOn8oCW7yaW6mub8kMW7JcQ8oLb8kmEhi4", "WRlcLSoCW7W", "W7K1WRrfyZ1HjtlcTe/dMmoo", "WPxcQ8oJvIWRWOlcJ8o8tuP1", "oSoErGRdJCkxkJPCESkVW77dLIhdJqS", "lmk4W6BcOGtdKJG", "WQ/dKGtcJmkzWPtdMmoiyJ8", "v8kMW5FcV8kGW4RdPSoT", "WOJdGuioW7uTWPe2EZK", "W556W7ddSCkriG", "WO7dRqXSoWzPmSk2EtiUWP8", "n8oZW7/dSmoxWQC", "W6FcLNtdMa", "W6NcQttdLbmpbNH1aa", "WQ9HW7GvowmMeXJcUwVdLCoTWQm", "W7VcHMNdLZ0+", "yMmOn8ocW7emWQWFda", "WOGyWQZdNG", "W53dJhOnW4dcPWFcRCoNW5FdT21NWP4", "zSo0iHlcTv/dL8oulCoE", "WQ7cOmowW6PwWQhcRa", "W556W7ddSCkriSkfWOrrFmk1rd4", "W6BdSbTZgSo/W7T4W7WQFGnbv8kgw3rPB0yJW65RW7aAWO83", "fKNcG8kOW7ldV8keuSo9WRq", "E8kMW4xcRCkBW4RdTSkLpbVcLZDUW5y", "W6VcTcpdSXysa3nFeSoYW7C", "cbn9W6ytfW", "erjCW6qEara", "WPyvzCkD", "W5abWRWSt8omWOlcN8kgi8kyW6NdKG", "WOnSAL1JFr5ErCoG", "CwldS8o8W5pcJxS", "BSoFurS", "WOnbB8oFpwpcRmohEsFdMdRcNSotWOtcMfqcvG", "W6hdSu15e8oV", "WQ9zEmotj2/cGSo5EYddNI0", "W5/cHCkiWOXuzCo/W69aWOO", "WQ3dNH1SWRC+xmklW4zfWR0hWQS/", "W4NdM2CcW53cJXhcICo0W5FdTwO", "W4KdlhvTW6W5", "avJcLSk7W6/dOmkGA8o7WRxdOuKApW", "ACkACgSwdW", "W77cKmoGW51KWOlcV8kMrWqikgK", "kcLxnmkCaCkJcCkAyXldVa", "WR/dOw7cGfrdxKjSmCoEW5Dd", "a1JcG8kUW7pdVSk2sa", "qCk8W5lcUmkcW5a", "WQRcHSopW7W/jmkekq", "W6yhiNrTW7S9z8o1", "W4VcV3OLl1m", "W4JcK3xdMsCIz3mBgWjY", "W58djN1+W7O", "W6pcKmoHW4y", "CxzNWPpdQbzGoZicWQKh", "CCo8CtfFgCoAWPJdIq", "vComj8olwCk2", "W6BdTN4EW4BcVXVcOSok", "nseYW5dcUgDu", "W6ZcMYldVSoSn0qYCW", "edXrh8khha", "W4/cTfe4FeWX", "WPmiWQBdSmoVW4Ty", "W7RcGZxdS8oPoKfMEG7dJCofdmkkvmkufqdcHmoC", "W7pcHNpdKsa6vG", "W7pcQ8oGW4SDhSk3", "W4hcU8klW5LimCoJE8o1vYfRWRu", "W4LCW6ZcH8kKWPuhcIzUW6uYsa", "W5xcR3eRAvG", "W7RcG8oRW5z7WPu", "W4ubWRWdtSkhW4ddN8oA", "j8o/WRLCu8oMC2tcL8k6WQhcN37cKW", "WPvhBSojhNlcTmoW", "p8kLW6FcValdJtJcGSkOWRLdW7nip8oaW5ldO3BcMq", "W5VcKmkAWQ5sF8ogW7jrWOy", "WPveA8otjtS", "W43dVWn8e8oKW48QW5KTAqnl", "t8oijCozsmkyWPW", "WPqeWRZdK8oZW5DqjIjD", "W7JcNSoJW5jOWP7cNa", "WRSIwmkSW59FWOTjtSkxWOdcLW", "W4ZcLCoGW4DMWPtdRSo9mSkeWOtcLG", "W4dcV2ajpKi", "W54XoaPUyIXtCmod", "WOddMhhcOSk3zrukrdldMSoTfW", "CCoFucNdJmoykq", "WQddIcvMWR80", "de7cTmk7W6RdPCk3", "W4VcLmkDWRXvF8oeW6jIWOD7W6rdWPRdIG", "pSkRW6FcOqJdKW3cP8kOWQnFW5Hd", "W5RcI8oKW49KWONdImk8mmkdWOlcGCoVySoGpCosa8otDa", "WOpcTCoLvYO", "WOpdKatcKSkeWOpdRSovCW", "yM0QpG", "WPjqDqmtaq", "WPJcQ10IqCkUW54cW7y2EY0", "WQlcGmobW7G4oCks", "CmoytSo+", "fK3cJSkZW7i", "eaORaW", "W4TDW6BcH8kQWPWeodbMW4SGCq", "W4RdJhOGW4dcQbhcK8oMW5VdKNX7", "s8oBCsPcfa", "EwJdPmo8W47cIgC4", "W7VcLmo6W7DKWOtcJSk9qHK", "s8oByIzagCoCWQJdUmoW", "CMldS8ozW5/cLwK/WPhcUa", "W7dcMmoTW5zVWOpcISkFsXm", "WPDmFSo4phlcRmo8qYVdIsZcMCopWO8", "iL1RWRVcL8okWRejuSorz8k7W6VdKa", "kJmqW4RcUuq", "W6zVW7BdLSkqmSkKWQHb", "W5NcJcFdLcy7rhSBbKDZWOjSW5GiWODMW73cQq", "WPBdIXLGWRuLAmklW4bNWRSEWRy", "W6xcHNtdNYuGqa", "WR3dNLSuW7GUWOiQDcxcQG", "W4vTrSoObvlcLG", "CmoawCoeouy", "W7WuWROjsmoB", "WPRdSY5mWO8jymkXW7HpWPe3WOSyzvhdJayV", "W4rXaa", "WPlcISk8W5WQWQNdHKhcSW", "jbzsW6uceWhdLdDQWRBcSWJdOmkNbd0bW4tdLKK4b0C8", "W4JcLmkDWP9jESoBW5zgWOTNW6npWPe", "CmoPntZcOfi", "EmofvmowxW", "DW48W6JdKmkCWOCOCSo5ASkT", "W7/dU8k+WQPoWP7dJd4TWPW", "zSoFkmoarmk6WOT/eq", "WPxdQ8onWQ0FC8kYxSolCq", "W4VcLmkDWRXvF8oeW6jWWOn9W7i", "W77cJLS5W6XPBCk0W7jZWRq5", "WOJcGmkmW5u4nmkeiI7cIsxdQc8e", "DSoFrWJdISoF", "umoebdlcKxpdSG", "WQ3dNH9OWRi9x8k+W4zVWRWgWQaV", "DCoLmH7cSqS", "WPKXtCkcWOP6WO5oB8kyWOFcL8oChfddVG", "DM7dQ8kZW5BcMxWZWPJcOXq", "WO3dRqDSmqvVm8kpvW4aWRG", "WQ/cNmoIW7y1mG", "Fr17l8k+oCkm", "W7dcHNpdSJW/sxyJebvZWPTMW5u", "bmoMW6pdVSonWRS", "kJrth8kBeq", "qSk6W5ZcOCkEW5ddTW", "CMldS8ojW5pcJg0", "W61ZhCoCW4LAWRbRwSkS", "m8kOW6pcQG7dLq", "hZJcKIyXWRhdMmkVW7yABfZcMa", "nuPSWRdcKq", "yCoTlXNcOfNdRSojkSodW4bsW7q", "weq7imoDW7ekWPWU", "W67cSdNdNWyjp2vYhCoYW7D/", "WQj3W4iBngO", "W6NcQsFdMbec", "WRedWQNdL8oXW41rtsjCW6mmw8khySoIWO3cMq", "WQ7dGCk8WOfsWQBcL8k+xrG", "W7JcQMyRnu/cOmkpfc7cJtNdMG", "WRqeWRZdK8oZW5DqtsLlW6Dfx8khESoIWOBdL8osWRHcavVcSgGpDCoTiq", "WRRdLadcM8kxWOi", "W4OxWO0wr8od", "EmoBrWhdM8offcDbnmk2W7RdHG", "WQDHW6itjgC", "W4pdUWn1aSo+", "xCompConrmkYWPLBbLxdJdfYWRK", "WPxdQ8onWR0tASk2", "bmoSW6O", "DSoovSo4yaRcGG", "amo4WOhdVSkKW7xdQSoVkWy", "WPBcQCoMusW", "zCoBxmo6", "WQ7dG1WCW6ulWRaWDtlcVq", "WRZdOCkzWOutzmk2wCouz3vwWRjPW77dG8ouWQKl", "W7FcGmoMW49HWOZdNW", "ea03bSk2W5mZ", "bt7cGsmQWQtdQmkJW60vjxZcGN01W4ldOqK", "sxrRn8okW7umWReqc8k/W77cTW", "WOX1FhTIEXvH", "WRRdJWP7WQ8IE8khW4bU", "CCoPjqlcPK4", "W5hdHN0yW4FcQHNcMa", "fu/cI8k0W7ldJSkYvCoNWRNdVq", "CCotCYPEgq", "W6BdSbTZgSo/W7T4W54SEqnMqmozwW", "WOnCESoko37cS8oRrtZdKJhcHa", "cqWDhCk+W4W", "gmoXW6ldTmoqWQbG", "WPVdVCoVWOGwBSk3", "cvJcJmk9W7ldPa", "W4D6fZGWa8o5W7y", "WO4iB8krWRFcKmoUzCkP", "qmoquSoWyHC", "WO7cK8kWW502WQpdJKhcRW", "wmocBtzvk8od", "WQ/cNmo6W7G9pSkf", "hmoSW4hdTSoAWRjPvmomv8oFnCorW5xcTcldJhO", "n8o1W6ZdTCoqWRDKrCoT", "W556W7ddSCkriSkdWOblC8k5wG", "WPjwW79ofSkbW5FdN8oe", "W5ZdQGXGaSoLW4GXW4qR", "W4JcRL08za"];
|
|
835
|
-
return (at = function() {
|
|
836
|
-
return t2;
|
|
837
|
-
})();
|
|
830
|
+
const it = new st();
|
|
831
|
+
function at(t2, e2, n2, r2, o2) {
|
|
832
|
+
return q(o2 - 829, t2);
|
|
838
833
|
}
|
|
839
834
|
const lt = (t2, e2) => {
|
|
840
835
|
const n2 = [];
|
|
@@ -1771,8 +1766,8 @@ function Bt(t2) {
|
|
|
1771
1766
|
return { value: c2, rest: e2.slice(i2.length) };
|
|
1772
1767
|
};
|
|
1773
1768
|
}
|
|
1774
|
-
var
|
|
1775
|
-
const
|
|
1769
|
+
var Pt;
|
|
1770
|
+
const zt = { code: "en-US", formatDistance: (t2, e2, n2) => {
|
|
1776
1771
|
let r2;
|
|
1777
1772
|
const o2 = kt[t2];
|
|
1778
1773
|
return r2 = "string" == typeof o2 ? o2 : 1 === e2 ? o2.one : o2.other.replace("{{count}}", e2.toString()), n2?.addSuffix ? n2.comparison && n2.comparison > 0 ? "in " + r2 : r2 + " ago" : r2;
|
|
@@ -1787,12 +1782,12 @@ const Pt = { code: "en-US", formatDistance: (t2, e2, n2) => {
|
|
|
1787
1782
|
return n2 + "rd";
|
|
1788
1783
|
}
|
|
1789
1784
|
return n2 + "th";
|
|
1790
|
-
}, era: Lt({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Lt({ values: { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"] }, defaultWidth: "wide", argumentCallback: (t2) => t2 - 1 }), month: Lt({ values: { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] }, defaultWidth: "wide" }), day: Lt({ values: { narrow: ["S", "M", "T", "W", "T", "F", "S"], short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] }, defaultWidth: "wide" }), dayPeriod: Lt({ values: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" } }, defaultWidth: "wide", formattingValues: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" } }, defaultFormattingWidth: "wide" }) }, match: { ordinalNumber: (
|
|
1791
|
-
const n2 = t2.match(
|
|
1785
|
+
}, era: Lt({ values: { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] }, defaultWidth: "wide" }), quarter: Lt({ values: { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"] }, defaultWidth: "wide", argumentCallback: (t2) => t2 - 1 }), month: Lt({ values: { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] }, defaultWidth: "wide" }), day: Lt({ values: { narrow: ["S", "M", "T", "W", "T", "F", "S"], short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] }, defaultWidth: "wide" }), dayPeriod: Lt({ values: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "morning", afternoon: "afternoon", evening: "evening", night: "night" } }, defaultWidth: "wide", formattingValues: { narrow: { am: "a", pm: "p", midnight: "mi", noon: "n", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, abbreviated: { am: "AM", pm: "PM", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" }, wide: { am: "a.m.", pm: "p.m.", midnight: "midnight", noon: "noon", morning: "in the morning", afternoon: "in the afternoon", evening: "in the evening", night: "at night" } }, defaultFormattingWidth: "wide" }) }, match: { ordinalNumber: (Pt = { matchPattern: /^(\d+)(th|st|nd|rd)?/i, parsePattern: /\d+/i, valueCallback: (t2) => parseInt(t2, 10) }, (t2, e2 = {}) => {
|
|
1786
|
+
const n2 = t2.match(Pt.matchPattern);
|
|
1792
1787
|
if (!n2) return null;
|
|
1793
|
-
const r2 = n2[0], o2 = t2.match(
|
|
1788
|
+
const r2 = n2[0], o2 = t2.match(Pt.parsePattern);
|
|
1794
1789
|
if (!o2) return null;
|
|
1795
|
-
let s2 =
|
|
1790
|
+
let s2 = Pt.valueCallback ? Pt.valueCallback(o2[0]) : o2[0];
|
|
1796
1791
|
return s2 = e2.valueCallback ? e2.valueCallback(s2) : s2, { value: s2, rest: t2.slice(r2.length) };
|
|
1797
1792
|
}), era: Bt({ matchPatterns: { narrow: /^(b|a)/i, abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, wide: /^(before christ|before common era|anno domini|common era)/i }, defaultMatchWidth: "wide", parsePatterns: { any: [/^b/i, /^(a|c)/i] }, defaultParseWidth: "any" }), quarter: Bt({ matchPatterns: { narrow: /^[1234]/i, abbreviated: /^q[1234]/i, wide: /^[1234](th|st|nd|rd)? quarter/i }, defaultMatchWidth: "wide", parsePatterns: { any: [/1/i, /2/i, /3/i, /4/i] }, defaultParseWidth: "any", valueCallback: (t2) => t2 + 1 }), month: Bt({ matchPatterns: { narrow: /^[jfmasond]/i, abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i }, defaultMatchWidth: "wide", parsePatterns: { narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] }, defaultParseWidth: "any" }), day: Bt({ matchPatterns: { narrow: /^[smtwf]/i, short: /^(su|mo|tu|we|th|fr|sa)/i, abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i }, defaultMatchWidth: "wide", parsePatterns: { narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] }, defaultParseWidth: "any" }), dayPeriod: Bt({ matchPatterns: { narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i }, defaultMatchWidth: "any", parsePatterns: { any: { am: /^a/i, pm: /^p/i, midnight: /^mi/i, noon: /^no/i, morning: /morning/i, afternoon: /afternoon/i, evening: /evening/i, night: /night/i } }, defaultParseWidth: "any" }) }, options: { weekStartsOn: 0, firstWeekContainsDate: 1 } }, Wt = (t2, e2) => {
|
|
1798
1793
|
switch (t2) {
|
|
@@ -1816,7 +1811,7 @@ const Pt = { code: "en-US", formatDistance: (t2, e2, n2) => {
|
|
|
1816
1811
|
default:
|
|
1817
1812
|
return e2.time({ width: "full" });
|
|
1818
1813
|
}
|
|
1819
|
-
},
|
|
1814
|
+
}, jt = { p: Ht, P: (t2, e2) => {
|
|
1820
1815
|
const n2 = t2.match(/(P+)(p+)?/) || [], r2 = n2[1], o2 = n2[2];
|
|
1821
1816
|
if (!o2) return Wt(t2, e2);
|
|
1822
1817
|
let s2;
|
|
@@ -1834,9 +1829,9 @@ const Pt = { code: "en-US", formatDistance: (t2, e2, n2) => {
|
|
|
1834
1829
|
s2 = e2.dateTime({ width: "full" });
|
|
1835
1830
|
}
|
|
1836
1831
|
return s2.replace("{{date}}", Wt(r2, e2)).replace("{{time}}", Ht(o2, e2));
|
|
1837
|
-
} },
|
|
1832
|
+
} }, Vt = /^D+$/, $t = /^Y+$/, Gt = ["D", "DD", "YY", "YYYY"];
|
|
1838
1833
|
function Ut(t2) {
|
|
1839
|
-
return
|
|
1834
|
+
return Vt.test(t2);
|
|
1840
1835
|
}
|
|
1841
1836
|
function qt(t2) {
|
|
1842
1837
|
return $t.test(t2);
|
|
@@ -2043,12 +2038,12 @@ const _e = { y: new class extends re {
|
|
|
2043
2038
|
}
|
|
2044
2039
|
}() }, Se = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, we = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ye = /^'([^]*?)'?$/, Ee = /''/g, Ce = /\S/, be = /[a-zA-Z]/;
|
|
2045
2040
|
function ve(t2, e2, n2, r2) {
|
|
2046
|
-
const o2 = () => Xt(r2?.in || n2, NaN), s2 = Object.assign({}, Qt()), i2 = r2?.locale ?? s2.locale ??
|
|
2041
|
+
const o2 = () => Xt(r2?.in || n2, NaN), s2 = Object.assign({}, Qt()), i2 = r2?.locale ?? s2.locale ?? zt, a2 = r2?.firstWeekContainsDate ?? r2?.locale?.options?.firstWeekContainsDate ?? s2.firstWeekContainsDate ?? s2.locale?.options?.firstWeekContainsDate ?? 1, l2 = r2?.weekStartsOn ?? r2?.locale?.options?.weekStartsOn ?? s2.weekStartsOn ?? s2.locale?.options?.weekStartsOn ?? 0;
|
|
2047
2042
|
if (!e2) return t2 ? o2() : Zt(n2, r2?.in);
|
|
2048
2043
|
const c2 = { firstWeekContainsDate: a2, weekStartsOn: l2, locale: i2 }, h2 = [new ne(r2?.in, n2)], d2 = e2.match(we).map((t3) => {
|
|
2049
2044
|
const e3 = t3[0];
|
|
2050
|
-
if (e3 in
|
|
2051
|
-
return (0,
|
|
2045
|
+
if (e3 in jt) {
|
|
2046
|
+
return (0, jt[e3])(t3, i2.formatLong);
|
|
2052
2047
|
}
|
|
2053
2048
|
return t3;
|
|
2054
2049
|
}).join("").match(Se), u2 = [];
|
|
@@ -2129,14 +2124,14 @@ function Oe(t2, e2) {
|
|
|
2129
2124
|
function De(t2, e2) {
|
|
2130
2125
|
return e2 = e2 || 0, t2.length >= 7 + e2 && 103 == (32 | t2.charCodeAt(e2)) && 101 == (32 | t2.charCodeAt(e2 + 1)) && 110 == (32 | t2.charCodeAt(e2 + 2)) && 101 == (32 | t2.charCodeAt(e2 + 3)) && 114 == (32 | t2.charCodeAt(e2 + 4)) && 97 == (32 | t2.charCodeAt(e2 + 5)) && 108 == (32 | t2.charCodeAt(e2 + 6));
|
|
2131
2126
|
}
|
|
2132
|
-
var Le = [["Sun", "Sunday"], ["Mon", "Monday"], ["Tue", "Tuesday"], ["Wed", "Wednesday"], ["Thu", "Thursday"], ["Fri", "Friday"], ["Sat", "Saturday"]], Be = [["J", "Jan", "January"], ["F", "Feb", "February"], ["M", "Mar", "March"], ["A", "Apr", "April"], ["M", "May", "May"], ["J", "Jun", "June"], ["J", "Jul", "July"], ["A", "Aug", "August"], ["S", "Sep", "September"], ["O", "Oct", "October"], ["N", "Nov", "November"], ["D", "Dec", "December"]],
|
|
2127
|
+
var Le = [["Sun", "Sunday"], ["Mon", "Monday"], ["Tue", "Tuesday"], ["Wed", "Wednesday"], ["Thu", "Thursday"], ["Fri", "Friday"], ["Sat", "Saturday"]], Be = [["J", "Jan", "January"], ["F", "Feb", "February"], ["M", "Mar", "March"], ["A", "Apr", "April"], ["M", "May", "May"], ["J", "Jun", "June"], ["J", "Jul", "July"], ["A", "Aug", "August"], ["S", "Sep", "September"], ["O", "Oct", "October"], ["N", "Nov", "November"], ["D", "Dec", "December"]], Pe = { 0: "General", 1: "0", 2: "0.00", 3: "#,##0", 4: "#,##0.00", 5: "$#,##0_);($#,##0)", 6: "$#,##0_);[Red]($#,##0)", 7: "$#,##0.00_);($#,##0.00)", 8: "$#,##0.00_);[Red]($#,##0.00)", 9: "0%", 10: "0.00%", 11: "0.00E+00", 12: "# ?/?", 13: "# ??/??", 14: "m/d/yy", 15: "d-mmm-yy", 16: "d-mmm", 17: "mmm-yy", 18: "h:mm AM/PM", 19: "h:mm:ss AM/PM", 20: "h:mm", 21: "h:mm:ss", 22: "m/d/yy h:mm", 23: "General", 24: "General", 25: "General", 26: "General", 27: "m/d/yyyy", 28: "m/d/yyyy", 29: "m/d/yyyy", 30: "m/d/yyyy", 32: "h:mm:ss", 31: "m/d/yyyy", 33: "h:mm:ss", 34: "h:mm:ss", 35: "h:mm:ss", 36: "m/d/yyyy", 37: "#,##0_);(#,##0)", 38: "#,##0_);[Red](#,##0)", 39: "#,##0.00_);(#,##0.00)", 40: "#,##0.00_);[Red](#,##0.00)", 41: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', 42: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)', 43: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', 44: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', 45: "mm:ss", 46: "[h]:mm:ss", 47: "mmss.0", 48: "##0.0E+0", 49: "@", 50: "m/d/yyyy", 51: "m/d/yyyy", 52: "m/d/yyyy", 53: "m/d/yyyy", 54: "m/d/yyyy", 55: "m/d/yyyy", 56: '"上午/下午 "hh"時"mm"分"ss"秒 "' }, ze = { 5: 37, 6: 38, 7: 39, 8: 40, 23: 0, 24: 0, 25: 0, 26: 0, 27: 14, 28: 14, 29: 14, 30: 14, 31: 14, 50: 14, 51: 14, 52: 14, 53: 14, 54: 14, 55: 14, 56: 14, 57: 14, 58: 14, 59: 1, 60: 2, 61: 3, 62: 4, 67: 9, 68: 10, 69: 12, 70: 13, 71: 14, 72: 14, 73: 15, 74: 16, 75: 17, 76: 20, 77: 21, 78: 22, 79: 45, 80: 46, 81: 47, 82: 0 }, We = { 5: '"$"#,##0_);\\("$"#,##0\\)', 63: '"$"#,##0_);\\("$"#,##0\\)', 6: '"$"#,##0_);[Red]\\("$"#,##0\\)', 64: '"$"#,##0_);[Red]\\("$"#,##0\\)', 7: '"$"#,##0.00_);\\("$"#,##0.00\\)', 65: '"$"#,##0.00_);\\("$"#,##0.00\\)', 8: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', 66: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', 41: '_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)', 42: '_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)', 43: '_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)', 44: '_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)' };
|
|
2133
2128
|
function He(t2, e2, n2) {
|
|
2134
2129
|
for (var r2 = t2 < 0 ? -1 : 1, o2 = t2 * r2, s2 = 0, i2 = 1, a2 = 0, l2 = 1, c2 = 0, h2 = 0, d2 = Math.floor(o2); c2 < e2 && (a2 = (d2 = Math.floor(o2)) * i2 + s2, h2 = d2 * c2 + l2, !(o2 - d2 < 5e-8)); ) o2 = 1 / (o2 - d2), s2 = i2, i2 = a2, l2 = c2, c2 = h2;
|
|
2135
2130
|
if (h2 > e2 && (c2 > e2 ? (h2 = l2, a2 = s2) : (h2 = c2, a2 = i2)), !n2) return [0, r2 * a2, h2];
|
|
2136
2131
|
var u2 = Math.floor(r2 * a2 / h2);
|
|
2137
2132
|
return [u2, r2 * a2 - u2 * h2, h2];
|
|
2138
2133
|
}
|
|
2139
|
-
function
|
|
2134
|
+
function je(t2, e2, n2) {
|
|
2140
2135
|
if (t2 > 2958465 || t2 < 0) return null;
|
|
2141
2136
|
var r2 = 0 | t2, o2 = Math.floor(86400 * (t2 - r2)), s2 = 0, i2 = [], a2 = { D: r2, T: o2, u: 86400 * (t2 - r2) - o2, y: 0, m: 0, d: 0, H: 0, M: 0, S: 0, q: 0 };
|
|
2142
2137
|
if (Math.abs(a2.u) < 1e-6 && (a2.u = 0), e2 && e2.date1904 && (r2 += 1462), a2.u > 0.9999 && (a2.u = 0, 86400 === ++o2 && (a2.T = o2 = 0, ++r2, ++a2.D)), 60 === r2) i2 = n2 ? [1317, 10, 29] : [1900, 2, 29], s2 = 3;
|
|
@@ -2153,10 +2148,10 @@ function Ve(t2, e2, n2) {
|
|
|
2153
2148
|
}
|
|
2154
2149
|
return a2.y = i2[0], a2.m = i2[1], a2.d = i2[2], a2.S = o2 % 60, o2 = Math.floor(o2 / 60), a2.M = o2 % 60, o2 = Math.floor(o2 / 60), a2.H = o2, a2.q = s2, a2;
|
|
2155
2150
|
}
|
|
2156
|
-
var
|
|
2151
|
+
var Ve = new Date(1899, 11, 31, 0, 0, 0), $e = Ve.getTime(), Ge = new Date(1900, 2, 1, 0, 0, 0);
|
|
2157
2152
|
function Ue(t2, e2 = false) {
|
|
2158
2153
|
var n2 = t2.getTime();
|
|
2159
|
-
return e2 ? n2 -= 1262304e5 : t2 >= Ge && (n2 += 864e5), (n2 - ($e + 6e4 * (t2.getTimezoneOffset() -
|
|
2154
|
+
return e2 ? n2 -= 1262304e5 : t2 >= Ge && (n2 += 864e5), (n2 - ($e + 6e4 * (t2.getTimezoneOffset() - Ve.getTimezoneOffset()))) / 864e5;
|
|
2160
2155
|
}
|
|
2161
2156
|
function qe(t2) {
|
|
2162
2157
|
return -1 === t2.indexOf(".") ? t2 : t2.replace(/(?:\.0*|(\.\d*[1-9])0+)$/, "$1");
|
|
@@ -2619,7 +2614,7 @@ function Sn(t2, e2, n2) {
|
|
|
2619
2614
|
r2 = "m/d/yy" === t2 && n2.dateNF ? n2.dateNF : t2;
|
|
2620
2615
|
break;
|
|
2621
2616
|
case "number":
|
|
2622
|
-
null == (r2 = 14 === t2 && n2.dateNF ? n2.dateNF : (null != n2.table ? n2.table :
|
|
2617
|
+
null == (r2 = 14 === t2 && n2.dateNF ? n2.dateNF : (null != n2.table ? n2.table : Pe)[t2]) && (r2 = n2.table && n2.table[ze[t2]] || Pe[ze[t2]]), null == r2 && (r2 = We[t2] || "General");
|
|
2623
2618
|
}
|
|
2624
2619
|
if (De(r2, 0)) return Ke(e2, n2);
|
|
2625
2620
|
Ie(e2) && (e2 = Ue(e2, n2.date1904));
|
|
@@ -2671,7 +2666,7 @@ function Sn(t2, e2, n2) {
|
|
|
2671
2666
|
case "B":
|
|
2672
2667
|
case "b":
|
|
2673
2668
|
if ("1" === t3.charAt(c2 + 1) || "2" === t3.charAt(c2 + 1)) {
|
|
2674
|
-
if (null == o2 && null == (o2 =
|
|
2669
|
+
if (null == o2 && null == (o2 = je(e3, n3, "2" === t3.charAt(c2 + 1)))) return "";
|
|
2675
2670
|
a2[a2.length] = { t: "X", v: t3.substr(c2, 2) }, d2 = h2, c2 += 2;
|
|
2676
2671
|
break;
|
|
2677
2672
|
}
|
|
@@ -2690,7 +2685,7 @@ function Sn(t2, e2, n2) {
|
|
|
2690
2685
|
case "e":
|
|
2691
2686
|
case "g":
|
|
2692
2687
|
if (e3 < 0) return "";
|
|
2693
|
-
if (null == o2 && null == (o2 =
|
|
2688
|
+
if (null == o2 && null == (o2 = je(e3, n3))) return "";
|
|
2694
2689
|
for (l2 = h2; ++c2 < t3.length && t3.charAt(c2).toLowerCase() === h2; ) l2 += h2;
|
|
2695
2690
|
"m" === h2 && "h" === d2.toLowerCase() && (h2 = "M"), "h" === h2 && (h2 = u2), a2[a2.length] = { t: h2, v: l2 }, d2 = h2;
|
|
2696
2691
|
break;
|
|
@@ -2698,14 +2693,14 @@ function Sn(t2, e2, n2) {
|
|
|
2698
2693
|
case "a":
|
|
2699
2694
|
case "上":
|
|
2700
2695
|
var p2 = { t: h2, v: h2 };
|
|
2701
|
-
if (null == o2 && (o2 =
|
|
2696
|
+
if (null == o2 && (o2 = je(e3, n3)), "A/P" === t3.substr(c2, 3).toUpperCase() ? (null != o2 && (p2.v = o2.H >= 12 ? "P" : "A"), p2.t = "T", u2 = "h", c2 += 3) : "AM/PM" === t3.substr(c2, 5).toUpperCase() ? (null != o2 && (p2.v = o2.H >= 12 ? "PM" : "AM"), p2.t = "T", c2 += 5, u2 = "h") : "上午/下午" === t3.substr(c2, 5).toUpperCase() ? (null != o2 && (p2.v = o2.H >= 12 ? "下午" : "上午"), p2.t = "T", c2 += 5, u2 = "h") : (p2.t = "t", ++c2), null == o2 && "T" === p2.t) return "";
|
|
2702
2697
|
a2[a2.length] = p2, d2 = h2;
|
|
2703
2698
|
break;
|
|
2704
2699
|
case "[":
|
|
2705
2700
|
for (l2 = h2; "]" !== t3.charAt(c2++) && c2 < t3.length; ) l2 += t3.charAt(c2);
|
|
2706
2701
|
if ("]" !== l2.slice(-1)) throw new Error('unterminated "[" block: |' + l2 + "|");
|
|
2707
2702
|
if (l2.match(mn)) {
|
|
2708
|
-
if (null == o2 && null == (o2 =
|
|
2703
|
+
if (null == o2 && null == (o2 = je(e3, n3))) return "";
|
|
2709
2704
|
a2[a2.length] = { t: "Z", v: l2.toLowerCase() }, d2 = l2.charAt(1);
|
|
2710
2705
|
} else l2.indexOf("$") > -1 && (l2 = (l2.match(/\$([^-[\]]*)/) || [])[1] || "$", fn(t3) || (a2[a2.length] = { t: "t", v: l2 }));
|
|
2711
2706
|
break;
|
|
@@ -2856,20 +2851,20 @@ function Sn(t2, e2, n2) {
|
|
|
2856
2851
|
function wn(t2, e2) {
|
|
2857
2852
|
if ("number" != typeof e2) {
|
|
2858
2853
|
e2 = +e2 || -1;
|
|
2859
|
-
for (var n2 = 0; n2 < 392; ++n2) if (void 0 !==
|
|
2860
|
-
if (
|
|
2854
|
+
for (var n2 = 0; n2 < 392; ++n2) if (void 0 !== Pe[n2]) {
|
|
2855
|
+
if (Pe[n2] === t2) {
|
|
2861
2856
|
e2 = n2;
|
|
2862
2857
|
break;
|
|
2863
2858
|
}
|
|
2864
2859
|
} else e2 < 0 && (e2 = n2);
|
|
2865
2860
|
e2 < 0 && (e2 = 391);
|
|
2866
2861
|
}
|
|
2867
|
-
return
|
|
2862
|
+
return Pe[e2] = t2, e2;
|
|
2868
2863
|
}
|
|
2869
|
-
const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table:
|
|
2864
|
+
const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: Pe, load_table: function(t2) {
|
|
2870
2865
|
for (var e2 = 0; 392 !== e2; ++e2) void 0 !== t2[e2] && wn(t2[e2], e2);
|
|
2871
|
-
}, parse_date_code:
|
|
2872
|
-
return yn._table =
|
|
2866
|
+
}, parse_date_code: je, is_date: fn, get_table: function() {
|
|
2867
|
+
return yn._table = Pe;
|
|
2873
2868
|
} }, En = "\\s*([-]?[0-9e]*[.]?[0-9]+)", Cn = new RegExp(`^rgb\\(${En},${En},${En}\\)$`), bn = new RegExp(`^rgba\\(${En},${En},${En},${En}\\)$`), vn = new RegExp(`^lrgb\\(${En},${En},${En}\\)$`), xn = new RegExp(`^lrgba\\(${En},${En},${En},${En}\\)$`), In = new RegExp(`^hsl\\(${En},${En},${En}\\)$`), Rn = new RegExp(`^hsla\\(${En},${En},${En},${En}\\)$`), An = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Mn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Nn = new RegExp("^index(\\d+)$", "i"), Tn = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], kn = (t2, e2 = 255) => {
|
|
2874
2869
|
const n2 = [...t2];
|
|
2875
2870
|
for (var r2 = 0; r2 < t2.length; r2++) n2[r2] = t2[r2] / e2;
|
|
@@ -2884,18 +2879,18 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: ze,
|
|
|
2884
2879
|
return n2;
|
|
2885
2880
|
}, Dn = (t2) => Math.max(0, Math.min(1, t2)), Ln = (t2) => ((t2 %= 360) < 0 && (t2 -= 360), t2), Bn = (t2) => {
|
|
2886
2881
|
const e2 = [...t2];
|
|
2887
|
-
for (var n2 = 0; n2 < t2.length; n2++) e2[n2] =
|
|
2882
|
+
for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = zn(t2[n2]);
|
|
2888
2883
|
return e2;
|
|
2889
|
-
},
|
|
2884
|
+
}, Pn = (t2) => {
|
|
2890
2885
|
const e2 = [...t2];
|
|
2891
2886
|
for (var n2 = 0; n2 < t2.length; n2++) e2[n2] = Wn(t2[n2]);
|
|
2892
2887
|
return e2;
|
|
2893
|
-
},
|
|
2888
|
+
}, zn = (t2) => t2 < 0.04045 ? t2 / 12.92 : Math.pow((t2 + 0.055) / 1.055, 2.4), Wn = (t2) => t2 < 31308e-7 ? 12.92 * t2 : 1.055 * Math.pow(t2, 1 / 2.4) - 0.055, Hn = (t2) => {
|
|
2894
2889
|
let e2 = t2[0], n2 = t2[1], r2 = t2[2];
|
|
2895
2890
|
e2 %= 360, e2 /= 360, n2 /= 100, r2 /= 100;
|
|
2896
2891
|
let o2 = r2 < 0.5 ? r2 * (1 + n2) : r2 + n2 - n2 * r2, s2 = 2 * r2 - o2;
|
|
2897
|
-
return [Math.max(0,
|
|
2898
|
-
},
|
|
2892
|
+
return [Math.max(0, jn(s2, o2, e2 + 1 / 3)), Math.max(0, jn(s2, o2, e2)), Math.max(0, jn(s2, o2, e2 - 1 / 3))];
|
|
2893
|
+
}, jn = (t2, e2, n2) => (n2 < 0 && (n2 += 1), n2 > 1 && (n2 -= 1), 6 * n2 < 1 ? t2 + 6 * (e2 - t2) * n2 : 2 * n2 < 1 ? e2 : 3 * n2 < 2 ? t2 + 6 * (e2 - t2) * (2 / 3 - n2) : t2), Vn = (t2) => {
|
|
2899
2894
|
let e2 = t2[0], n2 = t2[1], r2 = t2[2], o2 = Math.min(e2, Math.min(n2, r2)), s2 = Math.max(e2, Math.max(n2, r2)), i2 = 0;
|
|
2900
2895
|
s2 === o2 ? i2 = 0 : s2 === e2 ? i2 = (60 * (n2 - r2) / (s2 - o2) + 360) % 360 : s2 === n2 ? i2 = 60 * (r2 - e2) / (s2 - o2) + 120 : s2 === r2 && (i2 = 60 * (e2 - n2) / (s2 - o2) + 240);
|
|
2901
2896
|
const a2 = (s2 + o2) / 2;
|
|
@@ -2906,11 +2901,11 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: ze,
|
|
|
2906
2901
|
return ((t3, e3) => {
|
|
2907
2902
|
let n3 = Bn(t3);
|
|
2908
2903
|
n3[0] = e3(n3[0], n3), n3[1] = e3(n3[1], n3), n3[2] = e3(n3[2], n3);
|
|
2909
|
-
let r2 =
|
|
2904
|
+
let r2 = Pn(n3);
|
|
2910
2905
|
return r2 = On(r2), r2;
|
|
2911
2906
|
})(t2, (t3, e3) => t3 * n2);
|
|
2912
2907
|
}, tr = 2.55, er = (t2, e2) => {
|
|
2913
|
-
const n2 =
|
|
2908
|
+
const n2 = Vn(t2), r2 = n2[2], s2 = o.roundAccurately((i2 = r2, (a2 = e2) > 0 ? (i2 * tr * (1 - a2) + (255 - 255 * (1 - a2))) / tr : a2 < 0 ? i2 * tr * (1 + a2) / tr : i2), 3);
|
|
2914
2909
|
var i2, a2;
|
|
2915
2910
|
n2[2] = s2;
|
|
2916
2911
|
let l2 = Hn(n2);
|
|
@@ -2918,15 +2913,15 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: ze,
|
|
|
2918
2913
|
}, nr = (t2, e2) => {
|
|
2919
2914
|
let n2 = Bn(t2), r2 = e2 / 100;
|
|
2920
2915
|
for (var o2 = 0; o2 < 3; o2++) n2[o2] = n2[o2] * r2 + (1 - r2);
|
|
2921
|
-
let s2 =
|
|
2916
|
+
let s2 = Pn(n2);
|
|
2922
2917
|
return s2 = On(s2), s2;
|
|
2923
2918
|
}, rr = (t2, e2, n2) => {
|
|
2924
|
-
let r2 =
|
|
2919
|
+
let r2 = Vn(e2), o2 = n2 / 1;
|
|
2925
2920
|
t2 === $n && (o2 = Ln(n2)), r2[t2] = o2;
|
|
2926
2921
|
let s2 = Hn(r2);
|
|
2927
2922
|
return s2 = On(s2), s2;
|
|
2928
2923
|
}, or = (t2, e2, n2) => {
|
|
2929
|
-
let r2 =
|
|
2924
|
+
let r2 = Vn(e2);
|
|
2930
2925
|
if (t2 === $n) {
|
|
2931
2926
|
let t3 = n2 / 360;
|
|
2932
2927
|
r2[$n] = 360 * (r2[$n] / 360 + t3), r2[$n] %= 360, r2[$n] < 0 && (r2[$n] -= 360);
|
|
@@ -2937,36 +2932,36 @@ const yn = { format: Sn, dateNumLocal: Ue, load: wn, split_fmt: gn, _table: ze,
|
|
|
2937
2932
|
let o2 = Hn(r2);
|
|
2938
2933
|
return o2 = On(o2), o2;
|
|
2939
2934
|
}, sr = (t2, e2, n2) => {
|
|
2940
|
-
let r2 =
|
|
2935
|
+
let r2 = Vn(e2), o2 = n2 / 100;
|
|
2941
2936
|
r2[t2] = r2[t2] * o2, t2 === $n && (r2[$n] = Ln(r2[$n]));
|
|
2942
2937
|
let s2 = Hn(r2);
|
|
2943
2938
|
return s2 = On(s2), s2;
|
|
2944
2939
|
}, ir = (t2, e2, n2, r2) => {
|
|
2945
2940
|
let o2 = Bn(e2), s2 = n2 / 100;
|
|
2946
2941
|
r2 === Xn ? o2[t2] = s2 : r2 === Yn ? o2[t2] += s2 : r2 === Qn && (o2[t2] *= s2);
|
|
2947
|
-
let i2 =
|
|
2942
|
+
let i2 = Pn(o2);
|
|
2948
2943
|
return i2 = On(i2), i2;
|
|
2949
2944
|
}, ar = (t2) => {
|
|
2950
2945
|
let e2 = Bn(t2), n2 = 0.213 * e2[qn] + 0.715 * e2[Jn] + 0.072 * e2[Kn];
|
|
2951
2946
|
e2[0] = n2, e2[1] = n2, e2[2] = n2;
|
|
2952
|
-
let r2 =
|
|
2947
|
+
let r2 = Pn(e2);
|
|
2953
2948
|
return r2 = On(r2), r2;
|
|
2954
2949
|
}, lr = (t2) => {
|
|
2955
|
-
let e2 =
|
|
2950
|
+
let e2 = Vn(t2);
|
|
2956
2951
|
e2[$n] += 180, e2[$n] %= 360, e2[$n] < 0 && (e2[$n] -= 360);
|
|
2957
2952
|
let n2 = Hn(e2);
|
|
2958
2953
|
return n2 = On(n2), n2;
|
|
2959
2954
|
}, cr = (t2, e2 = true) => {
|
|
2960
2955
|
let n2 = e2 ? Bn(t2) : [...t2];
|
|
2961
2956
|
const r2 = e2 ? 1 : 255;
|
|
2962
|
-
return n2[0] = r2 - n2[0], n2[1] = r2 - n2[1], n2[2] = r2 - n2[2], e2 && (n2 =
|
|
2957
|
+
return n2[0] = r2 - n2[0], n2[1] = r2 - n2[1], n2[2] = r2 - n2[2], e2 && (n2 = Pn(n2)), n2 = On(n2, e2), n2;
|
|
2963
2958
|
}, hr = (t2) => {
|
|
2964
2959
|
const e2 = [0, 0, 0];
|
|
2965
2960
|
e2[0] = Wn(t2[0]), e2[1] = Wn(t2[1]), e2[2] = Wn(t2[2]);
|
|
2966
2961
|
return On(e2);
|
|
2967
2962
|
}, dr = (t2) => {
|
|
2968
2963
|
const e2 = [0, 0, 0];
|
|
2969
|
-
e2[0] =
|
|
2964
|
+
e2[0] = zn(t2[0]), e2[1] = zn(t2[1]), e2[2] = zn(t2[2]);
|
|
2970
2965
|
return On(e2);
|
|
2971
2966
|
}, ur = (t2, e2, n2, r2 = null) => {
|
|
2972
2967
|
const o2 = (t3) => {
|
|
@@ -3104,18 +3099,18 @@ const xr = () => vr || (vr = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
3104
3099
|
void 0 !== n2 && (e2 = Cr(n2).toString());
|
|
3105
3100
|
}
|
|
3106
3101
|
return e2;
|
|
3107
|
-
}, Or = "=", Dr = "<>", Lr = ">", Br = "<",
|
|
3108
|
-
Wr.set(Or, (t2, e2) => t2 === e2), Wr.set(Dr, (t2, e2) => t2 !== e2), Wr.set(Lr, (t2, e2) => t2 > e2), Wr.set(Br, (t2, e2) => t2 < e2), Wr.set(
|
|
3109
|
-
const Hr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i,
|
|
3102
|
+
}, Or = "=", Dr = "<>", Lr = ">", Br = "<", Pr = ">=", zr = "<=", Wr = /* @__PURE__ */ new Map();
|
|
3103
|
+
Wr.set(Or, (t2, e2) => t2 === e2), Wr.set(Dr, (t2, e2) => t2 !== e2), Wr.set(Lr, (t2, e2) => t2 > e2), Wr.set(Br, (t2, e2) => t2 < e2), Wr.set(Pr, (t2, e2) => t2 >= e2), Wr.set(zr, (t2, e2) => t2 <= e2);
|
|
3104
|
+
const Hr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, jr = /(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)/i, Vr = /\[(.*?)\]/g, $r = (t2, e2) => {
|
|
3110
3105
|
const n2 = { color: null, condition: null };
|
|
3111
|
-
let r2 = null, o2 = new RegExp(
|
|
3106
|
+
let r2 = null, o2 = new RegExp(Vr);
|
|
3112
3107
|
for (; null !== (r2 = o2.exec(t2)); ) {
|
|
3113
3108
|
let e3 = false, o3 = Hr.exec(r2[1]);
|
|
3114
3109
|
if (o3) {
|
|
3115
3110
|
if (e3 = true, n2.color) throw new Error(`format error, two colors specified: '${t2}' and '${n2.color}'.`);
|
|
3116
3111
|
n2.color = Fr(o3[1]), n2.color || console.warn("Unable to parse LegacyColor", o3[1]);
|
|
3117
3112
|
}
|
|
3118
|
-
let s2 =
|
|
3113
|
+
let s2 = jr.exec(r2[1]);
|
|
3119
3114
|
if (s2) {
|
|
3120
3115
|
if (e3 = true, n2.condition) throw new Error(`Format error, two conditions specified: ' ${t2}'`);
|
|
3121
3116
|
n2.condition = { op: s2[1], comp: parseFloat(s2[2]) };
|
|
@@ -3130,7 +3125,7 @@ const Hr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Vr =
|
|
|
3130
3125
|
const n3 = t3.split(";");
|
|
3131
3126
|
for (let t4 = 0; t4 < n3.length; t4++) {
|
|
3132
3127
|
let r3 = null;
|
|
3133
|
-
2 === n3.length ? 0 === t4 ? r3 = { op:
|
|
3128
|
+
2 === n3.length ? 0 === t4 ? r3 = { op: Pr, comp: 0 } : 1 === t4 && (r3 = { op: Br, comp: 0 }) : 3 !== n3.length && 4 !== n3.length || (r3 = 0 === t4 ? { op: Lr, comp: 0 } : 1 === t4 ? { op: Br, comp: 0 } : 2 === t4 ? { op: Or, comp: 0 } : null);
|
|
3134
3129
|
const o2 = n3[t4], s2 = $r(o2, r3);
|
|
3135
3130
|
e3.push({ format: o2, colorAndCondition: s2 });
|
|
3136
3131
|
}
|
|
@@ -3340,19 +3335,19 @@ const Eo = (t2, e2, n2 = 1e3) => {
|
|
|
3340
3335
|
return false;
|
|
3341
3336
|
}
|
|
3342
3337
|
return ("http:" === e2.protocol || "https:" === e2.protocol) && Ao.test(t2);
|
|
3343
|
-
}, Do = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Lo = (t2) => !!t2.toLowerCase().startsWith("mailto:") || Do.test(t2), Bo = (t2) => ((t2 >= 26 ? Bo((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(),
|
|
3338
|
+
}, Do = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Lo = (t2) => !!t2.toLowerCase().startsWith("mailto:") || Do.test(t2), Bo = (t2) => ((t2 >= 26 ? Bo((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), Po = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: No, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: Co, clampString: xo, countDecimals: Io, findValidTextValue: Eo, getBaseName: (t2, e2 = false) => {
|
|
3344
3339
|
if (!t2 || "string" != typeof t2) return "";
|
|
3345
3340
|
const n2 = t2.split(/[\\/]/).pop() || "";
|
|
3346
3341
|
if ("" === n2) return "";
|
|
3347
3342
|
const r2 = bo(n2), o2 = 0 === r2.length ? n2 : n2.slice(0, n2.length - r2.length - 1);
|
|
3348
3343
|
return e2 ? Co(o2, true) : o2;
|
|
3349
|
-
}, getFileNameExtension: bo, isQuoted: (t2) => t2 && t2.length > 1 && Ro.test(t2) && t2[0] === t2[t2.length - 1], isValidEmail: Lo, isValidHttpUrl: Oo, numberToAlphabet: Bo, quote: ko, snakeToCamel: vo, splitUnquoted: Fo, unquote: To }, Symbol.toStringTag, { value: "Module" })),
|
|
3344
|
+
}, getFileNameExtension: bo, isQuoted: (t2) => t2 && t2.length > 1 && Ro.test(t2) && t2[0] === t2[t2.length - 1], isValidEmail: Lo, isValidHttpUrl: Oo, numberToAlphabet: Bo, quote: ko, snakeToCamel: vo, splitUnquoted: Fo, unquote: To }, Symbol.toStringTag, { value: "Module" })), zo = (t2, e2, n2, r2 = null) => {
|
|
3350
3345
|
const o2 = (e2 || 11 * Jo.getDeviceScale()) / Jo.getDeviceScale(), s2 = r2?.letterSpacing || 0, i2 = t2.length;
|
|
3351
3346
|
const a2 = i2 * (0.55 * o2) - (t2.match(/[il.,;!|]/g) || []).length * o2 * 0.15 + (t2.match(/[mwMW]/g) || []).length * o2 * 0.1 + (i2 > 0 ? (i2 - 1) * s2 : 0), l2 = Math.ceil(1.2 * o2), c2 = Math.ceil(0.8 * o2), h2 = Math.ceil(0.2 * o2), d2 = Math.ceil(0.45 * o2), u2 = Math.ceil(1.1 * o2), g2 = Math.max(1, Math.ceil(0.08 * o2));
|
|
3352
3347
|
return { width: a2, lineHeight: l2, baseline: c2, lineGap: h2, strikePosition: d2, underlinePosition: u2, strikeThickness: g2, underlineThickness: g2, actualBoundingBoxLeft: 0, actualBoundingBoxRight: a2, actualBoundingBoxAscent: c2, actualBoundingBoxDescent: l2 - c2, fontBoundingBoxAscent: c2, fontBoundingBoxDescent: l2 - c2, emHeightAscent: c2, emHeightDescent: l2 - c2, hangingBaseline: 0.8 * c2, alphabeticBaseline: c2, ideographicBaseline: l2 };
|
|
3353
|
-
}, Wo = () =>
|
|
3348
|
+
}, Wo = () => zo;
|
|
3354
3349
|
let Ho = "./packages/sdk/src/__tests__/fonts/";
|
|
3355
|
-
const
|
|
3350
|
+
const jo = /* @__PURE__ */ new Map(), Vo = /* @__PURE__ */ new Set(), $o = (t2, e2, n2, r2 = null) => {
|
|
3356
3351
|
const o2 = e2, s2 = Ho + n2.toLowerCase() + ".ttf";
|
|
3357
3352
|
let i2 = null;
|
|
3358
3353
|
try {
|
|
@@ -3363,10 +3358,10 @@ const Vo = /* @__PURE__ */ new Map(), jo = /* @__PURE__ */ new Set(), $o = (t2,
|
|
|
3363
3358
|
i2 = R(Ho + "calibri.ttf");
|
|
3364
3359
|
} catch (t3) {
|
|
3365
3360
|
}
|
|
3366
|
-
if (!i2) return
|
|
3361
|
+
if (!i2) return Vo.has(s2) || Vo.add(s2), Wo().call(null, t2, e2, n2, r2);
|
|
3367
3362
|
const a2 = `${s2}${t2}${o2}`;
|
|
3368
|
-
let l2 =
|
|
3369
|
-
l2 || (l2 = i2.layout(t2), t2.length < 2 &&
|
|
3363
|
+
let l2 = jo.get(a2);
|
|
3364
|
+
l2 || (l2 = i2.layout(t2), t2.length < 2 && jo.set(a2, l2));
|
|
3370
3365
|
const c2 = o2;
|
|
3371
3366
|
let h2 = Math.max(0, l2.bbox.width / i2.unitsPerEm * c2), d2 = i2.ascent || 0;
|
|
3372
3367
|
const u2 = d2 - (i2.descent || 0);
|
|
@@ -4226,7 +4221,7 @@ var Ts, ks, Fs, Os, Ds, Ls;
|
|
|
4226
4221
|
};
|
|
4227
4222
|
})(Ts || (Ts = {})), ks || (ks = {}), (Os = Fs || (Fs = {})).Type = { None: "none", Solid: "solid", Gradient: "gradient", Pattern: "pattern", Image: "pattern", Background: "background", Group: "group", Custom: "custom" }, Os.GradientType = { Linear: "linear", Path: "path", Circular: "circular", Rect: "rect" }, Os.TileMirror = { None: "none", Vertical: "v", Horizontal: "h", Both: "b" }, Os.BuiltInSheetPattern = { None: "none", Solid: "solid", DarkGray: "darkGray", MediumGray: "mediumGray", LightGray: "lightGray", Gray0625: "gray0625", Gray125: "gray125", DarkHorizontal: "darkHorizontal", DarkVertical: "darkVertical", DarkDown: "darkDown", DarkUp: "darkUp", DarkGrid: "darkGrid", DarkTrellis: "darkTrellis", LightHorizontal: "lightHorizontal", LightVertical: "lightVertical", LightDown: "lightDown", LightUp: "lightUp", LightGrid: "lightGrid", LightTrellis: "lightTrellis", Custom: "custom" }, (Ls = Ds || (Ds = {})).AdjustmentType = { Alpha: "alpha", AlphaOff: "alphaOff", AlphaMod: "alphaMod", Hue: "hue", Sat: "sat", Lum: "lum", HueOff: "hueOff", SatOff: "satOff", LumOff: "lumOff", HueMod: "hueMod", SatMod: "satMod", LumMod: "lumMod", Red: "red", Green: "green", Blue: "blue", RedOff: "redOff", GreenOff: "greenOff", BlueOff: "blueOff", RedMod: "redMod", GreenMod: "greenMod", BlueMod: "blueMod", Shade: "shade", Tint: "tint", ETint: "eTint", Gray: "gray", Comp: "comp", Inv: "inv", Gamma: "gamma", InvGamma: "invGamma" }, Ls.Named = { ActiveBorder: "activeBorder", ActiveCaption: "activeCaption", CaptionText: "captionText", AppWorkspace: "appWorkspace", BtnFace: "btnFace", BtnShadow: "btnShadow", DkShadow3d: "3dDkShadow", BtnHighlight: "btnHighlight", Light3d: "3dLight", BtnText: "btnText", Background: "background", GrayText: "grayText", Highlight: "highlight", HighlightText: "highlightText", HotLight: "hotLight", InactiveBorder: "inactiveBorder", InactiveCaption: "inactiveCaption", InactiveCaptionText: "inactiveCaptionText", InfoBk: "infoBk", InfoText: "infoText", Menu: "menu", MenuText: "menuText", ScrollBar: "scrollBar", Window: "window", WindowFrame: "windowFrame", WindowText: "windowText", Transparent: "transparent", AliceBlue: "aliceBlue", AntiqueWhite: "antiqueWhite", Aqua: "aqua", Aquamarine: "aquamarine", Azure: "azure", Beige: "beige", Bisque: "bisque", Black: "black", BlanchedAlmond: "blanchedAlmond", Blue: "blue", BlueViolet: "blueViolet", Brown: "brown", BurlyWood: "burlyWood", CadetBlue: "cadetBlue", Chartreuse: "chartreuse", Chocolate: "chocolate", Coral: "coral", CornflowerBlue: "cornflowerBlue", Cornsilk: "cornsilk", Crimson: "crimson", Cyan: "cyan", DkBlue: "dkBlue", DkCyan: "dkCyan", DkGoldenrod: "dkGoldenrod", DkGray: "dkGray", DkGreen: "dkGreen", DkKhaki: "dkKhaki", DkMagenta: "dkMagenta", DkOliveGreen: "dkOliveGreen", DkOrange: "dkOrange", DkOrchid: "dkOrchid", DkRed: "dkRed", DkSalmon: "dkSalmon", DkSeaGreen: "dkSeaGreen", DkSlateBlue: "dkSlateBlue", DkSlateGray: "dkSlateGray", DkTurquoise: "dkTurquoise", DkViolet: "dkViolet", DeepPink: "deepPink", DeepSkyBlue: "deepSkyBlue", DimGray: "dimGray", DodgerBlue: "dodgerBlue", Firebrick: "firebrick", FloralWhite: "floralWhite", ForestGreen: "forestGreen", Fuchsia: "fuchsia", Gainsboro: "gainsboro", GhostWhite: "ghostWhite", Gold: "gold", Goldenrod: "goldenrod", Gray: "gray", Green: "green", GreenYellow: "greenYellow", Honeydew: "honeydew", HotPink: "hotPink", IndianRed: "indianRed", Indigo: "indigo", Ivory: "ivory", Khaki: "khaki", Lavender: "lavender", LavenderBlush: "lavenderBlush", LawnGreen: "lawnGreen", LemonChiffon: "lemonChiffon", LtBlue: "ltBlue", LtCoral: "ltCoral", LtCyan: "ltCyan", LtGoldenrodYellow: "ltGoldenrodYellow", LtGray: "ltGray", LtGreen: "ltGreen", LtPink: "ltPink", LtSalmon: "ltSalmon", LtSeaGreen: "ltSeaGreen", LtSkyBlue: "ltSkyBlue", LtSlateGray: "ltSlateGray", LtSteelBlue: "ltSteelBlue", LtYellow: "ltYellow", Lime: "lime", LimeGreen: "limeGreen", Linen: "linen", Magenta: "magenta", Maroon: "maroon", MedAquamarine: "medAquamarine", MedBlue: "medBlue", MedOrchid: "medOrchid", MedPurple: "medPurple", MedSeaGreen: "medSeaGreen", MedSlateBlue: "medSlateBlue", MedSpringGreen: "medSpringGreen", MedTurquoise: "medTurquoise", MedVioletRed: "medVioletRed", MidnightBlue: "midnightBlue", MintCream: "mintCream", MistyRose: "mistyRose", Moccasin: "moccasin", NavajoWhite: "navajoWhite", Navy: "navy", OldLace: "oldLace", Olive: "olive", OliveDrab: "oliveDrab", Orange: "orange", OrangeRed: "orangeRed", Orchid: "orchid", PaleGoldenrod: "paleGoldenrod", PaleGreen: "paleGreen", PaleTurquoise: "paleTurquoise", PaleVioletRed: "paleVioletRed", PapayaWhip: "papayaWhip", PeachPuff: "peachPuff", Peru: "peru", Pink: "pink", Plum: "plum", PowderBlue: "powderBlue", Purple: "purple", Red: "red", RosyBrown: "rosyBrown", RoyalBlue: "royalBlue", SaddleBrown: "saddleBrown", Salmon: "salmon", SandyBrown: "sandyBrown", SeaGreen: "seaGreen", SeaShell: "seaShell", Sienna: "sienna", Silver: "silver", SkyBlue: "skyBlue", SlateBlue: "slateBlue", SlateGray: "slateGray", Snow: "snow", SpringGreen: "springGreen", SteelBlue: "steelBlue", Tan: "tan", Teal: "teal", Thistle: "thistle", Tomato: "tomato", Turquoise: "turquoise", Violet: "violet", Wheat: "wheat", White: "white", WhiteSmoke: "whiteSmoke", Yellow: "yellow", YellowGreen: "yellowGreen", ButtonFace: "buttonFace", ButtonHighlight: "buttonHighlight", ButtonShadow: "buttonShadow", GradientActiveCaption: "gradientActiveCaption", GradientInactiveCaption: "gradientInactiveCaption", MenuBar: "menuBar", MenuHighlight: "menuHighlight" }, Ls.Scheme = { Bg1: "bg1", Bg2: "bg2", Tx1: "tx1", Tx2: "tx2", Accent1: "accent1", Accent2: "accent2", Accent3: "accent3", Accent4: "accent4", Accent5: "accent5", Accent6: "accent6", Hlink: "hlink", FolHlink: "folHlink" }, Ls.Type = { Scheme: "scheme", Named: "named", Index: "index", HSL: "hsl", RGB: "rgb", LRGB: "lrgb", Hex: "hex" };
|
|
4228
4223
|
const Bs = [[4290032820, 1, Ds.Named.ActiveBorder, true], [4288263377, 2, Ds.Named.ActiveCaption, true], [4278190080, 3, Ds.Named.CaptionText, true], [4289440683, 4, Ds.Named.AppWorkspace, true], [4293980400, 5, Ds.Named.BtnFace, true], [4285098345, 6, Ds.Named.BtnShadow, true], [4278190080, 7, Ds.Named.DkShadow3d, true], [4293125091, 8, Ds.Named.BtnHighlight, true], [4293125091, 9, Ds.Named.Light3d, true], [4278190080, 10, Ds.Named.BtnText, true], [4278190080, 11, Ds.Named.Background, true], [4285361517, 12, Ds.Named.GrayText, true], [4281571839, 13, Ds.Named.Highlight, true], [4294967295, 14, Ds.Named.HighlightText, true], [4278216396, 15, Ds.Named.HotLight, true], [4294244348, 16, Ds.Named.InactiveBorder, true], [4290760155, 17, Ds.Named.InactiveCaption, true], [4278190080, 18, Ds.Named.InactiveCaptionText, true], [4294967265, 19, Ds.Named.InfoBk, true], [4278190080, 20, Ds.Named.InfoText, true], [4293980400, 21, Ds.Named.Menu, true], [4278190080, 22, Ds.Named.MenuText, true], [4291348680, 23, Ds.Named.ScrollBar, true], [4294967295, 24, Ds.Named.Window, true], [4284769380, 25, Ds.Named.WindowFrame, true], [4278190080, 26, Ds.Named.WindowText, true], [16777215, 27, Ds.Named.Transparent], [4293982463, 28, Ds.Named.AliceBlue], [4294634455, 29, Ds.Named.AntiqueWhite], [4278255615, 30, Ds.Named.Aqua], [4286578644, 31, Ds.Named.Aquamarine], [4293984255, 32, Ds.Named.Azure], [4294309340, 33, Ds.Named.Beige], [4294960324, 34, Ds.Named.Bisque], [4278190080, 35, Ds.Named.Black], [4294962125, 36, Ds.Named.BlanchedAlmond], [4278190335, 37, Ds.Named.Blue], [4287245282, 38, Ds.Named.BlueViolet], [4289014314, 39, Ds.Named.Brown], [4292786311, 40, Ds.Named.BurlyWood], [4284456608, 41, Ds.Named.CadetBlue], [4286578432, 42, Ds.Named.Chartreuse], [4291979550, 43, Ds.Named.Chocolate], [4294934352, 44, Ds.Named.Coral], [4284782061, 45, Ds.Named.CornflowerBlue], [4294965468, 46, Ds.Named.Cornsilk], [4292613180, 47, Ds.Named.Crimson], [4278255615, 48, Ds.Named.Cyan], [4278190219, 49, Ds.Named.DkBlue], [4278225803, 50, Ds.Named.DkCyan], [4290283019, 51, Ds.Named.DkGoldenrod], [4289309097, 52, Ds.Named.DkGray], [4278215680, 53, Ds.Named.DkGreen], [4290623339, 54, Ds.Named.DkKhaki], [4287299723, 55, Ds.Named.DkMagenta], [4283788079, 56, Ds.Named.DkOliveGreen], [4294937600, 57, Ds.Named.DkOrange], [4288230092, 58, Ds.Named.DkOrchid], [4287299584, 59, Ds.Named.DkRed], [4293498490, 60, Ds.Named.DkSalmon], [4287609995, 61, Ds.Named.DkSeaGreen], [4282924427, 62, Ds.Named.DkSlateBlue], [4281290575, 63, Ds.Named.DkSlateGray], [4278243025, 64, Ds.Named.DkTurquoise], [4287889619, 65, Ds.Named.DkViolet], [4294907027, 66, Ds.Named.DeepPink], [4278239231, 67, Ds.Named.DeepSkyBlue], [4285098345, 68, Ds.Named.DimGray], [4280193279, 69, Ds.Named.DodgerBlue], [4289864226, 70, Ds.Named.Firebrick], [4294966e3, 71, Ds.Named.FloralWhite], [4280453922, 72, Ds.Named.ForestGreen], [4294902015, 73, Ds.Named.Fuchsia], [4292664540, 74, Ds.Named.Gainsboro], [4294506751, 75, Ds.Named.GhostWhite], [4294956800, 76, Ds.Named.Gold], [4292519200, 77, Ds.Named.Goldenrod], [4286611584, 78, Ds.Named.Gray], [4278222848, 79, Ds.Named.Green], [4289593135, 80, Ds.Named.GreenYellow], [4293984240, 81, Ds.Named.Honeydew], [4294928820, 82, Ds.Named.HotPink], [4291648604, 83, Ds.Named.IndianRed], [4283105410, 84, Ds.Named.Indigo], [4294967280, 85, Ds.Named.Ivory], [4293977740, 86, Ds.Named.Khaki], [4293322490, 87, Ds.Named.Lavender], [4294963445, 88, Ds.Named.LavenderBlush], [4286381056, 89, Ds.Named.LawnGreen], [4294965965, 90, Ds.Named.LemonChiffon], [4289583334, 91, Ds.Named.LtBlue], [4293951616, 92, Ds.Named.LtCoral], [4292935679, 93, Ds.Named.LtCyan], [4294638200, 94, Ds.Named.LtGoldenrodYellow], [4292072403, 95, Ds.Named.LtGray], [4287688336, 96, Ds.Named.LtGreen], [4294948545, 97, Ds.Named.LtPink], [4294942842, 98, Ds.Named.LtSalmon], [4280332970, 99, Ds.Named.LtSeaGreen], [4287090426, 100, Ds.Named.LtSkyBlue], [4286023833, 101, Ds.Named.LtSlateGray], [4289774814, 102, Ds.Named.LtSteelBlue], [4294967264, 103, Ds.Named.LtYellow], [4278255360, 104, Ds.Named.Lime], [4281519410, 105, Ds.Named.LimeGreen], [4294635750, 106, Ds.Named.Linen], [4294902015, 107, Ds.Named.Magenta], [4286578688, 108, Ds.Named.Maroon], [4284927402, 109, Ds.Named.MedAquamarine], [4278190285, 110, Ds.Named.MedBlue], [4290401747, 111, Ds.Named.MedOrchid], [4287852763, 112, Ds.Named.MedPurple], [4282168177, 113, Ds.Named.MedSeaGreen], [4286277870, 114, Ds.Named.MedSlateBlue], [4278254234, 115, Ds.Named.MedSpringGreen], [4282962380, 116, Ds.Named.MedTurquoise], [4291237253, 117, Ds.Named.MedVioletRed], [4279834992, 118, Ds.Named.MidnightBlue], [4294311930, 119, Ds.Named.MintCream], [4294960353, 120, Ds.Named.MistyRose], [4294960309, 121, Ds.Named.Moccasin], [4294958765, 122, Ds.Named.NavajoWhite], [4278190208, 123, Ds.Named.Navy], [4294833638, 124, Ds.Named.OldLace], [4286611456, 125, Ds.Named.Olive], [4285238819, 126, Ds.Named.OliveDrab], [4294944e3, 127, Ds.Named.Orange], [4294919424, 128, Ds.Named.OrangeRed], [4292505814, 129, Ds.Named.Orchid], [4293847210, 130, Ds.Named.PaleGoldenrod], [4288215960, 131, Ds.Named.PaleGreen], [4289720046, 132, Ds.Named.PaleTurquoise], [4292571283, 133, Ds.Named.PaleVioletRed], [4294963157, 134, Ds.Named.PapayaWhip], [4294957753, 135, Ds.Named.PeachPuff], [4291659071, 136, Ds.Named.Peru], [4294951115, 137, Ds.Named.Pink], [4292714717, 138, Ds.Named.Plum], [4289781990, 139, Ds.Named.PowderBlue], [4286578816, 140, Ds.Named.Purple], [4294901760, 141, Ds.Named.Red], [4290547599, 142, Ds.Named.RosyBrown], [4282477025, 143, Ds.Named.RoyalBlue], [4287317267, 144, Ds.Named.SaddleBrown], [4294606962, 145, Ds.Named.Salmon], [4294222944, 146, Ds.Named.SandyBrown], [4281240407, 147, Ds.Named.SeaGreen], [4294964718, 148, Ds.Named.SeaShell], [4288696877, 149, Ds.Named.Sienna], [4290822336, 150, Ds.Named.Silver], [4287090411, 151, Ds.Named.SkyBlue], [4285160141, 152, Ds.Named.SlateBlue], [4285563024, 153, Ds.Named.SlateGray], [4294966010, 154, Ds.Named.Snow], [4278255487, 155, Ds.Named.SpringGreen], [4282811060, 156, Ds.Named.SteelBlue], [4291998860, 157, Ds.Named.Tan], [4278222976, 158, Ds.Named.Teal], [4292394968, 159, Ds.Named.Thistle], [4294927175, 160, Ds.Named.Tomato], [4282441936, 161, Ds.Named.Turquoise], [4293821166, 162, Ds.Named.Violet], [4294303411, 163, Ds.Named.Wheat], [4294967295, 164, Ds.Named.White], [4294309365, 165, Ds.Named.WhiteSmoke], [4294967040, 166, Ds.Named.Yellow], [4288335154, 167, Ds.Named.YellowGreen], [4293980400, 168, Ds.Named.ButtonFace], [4294967295, 169, Ds.Named.ButtonHighlight], [4288716960, 170, Ds.Named.ButtonShadow], [4290367978, 171, Ds.Named.GradientActiveCaption], [4292338930, 172, Ds.Named.GradientInactiveCaption], [4293980400, 173, Ds.Named.MenuBar], [4281571839, 174, Ds.Named.MenuHighlight]];
|
|
4229
|
-
const
|
|
4224
|
+
const Ps = new class {
|
|
4230
4225
|
constructor() {
|
|
4231
4226
|
this._lookupByName = /* @__PURE__ */ new Map();
|
|
4232
4227
|
for (let t2 = 0; t2 < Bs.length; t2++) {
|
|
@@ -4237,11 +4232,11 @@ const zs = new class {
|
|
|
4237
4232
|
valueOfName(t2) {
|
|
4238
4233
|
return this._lookupByName.get(t2 ? t2.toLowerCase() : "transparent");
|
|
4239
4234
|
}
|
|
4240
|
-
}(),
|
|
4241
|
-
for (let t2 = 0; t2 <
|
|
4242
|
-
const Hs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], alpha: void 0 !== t2.alpha ? t2.alpha : 1 } : null,
|
|
4235
|
+
}(), zs = [{ scheme: Ds.Scheme.Tx1, description: "First Text Color" }, { scheme: Ds.Scheme.Tx2, description: "Second Text Color" }, { scheme: Ds.Scheme.Bg1, description: "First Background Color" }, { scheme: Ds.Scheme.Bg2, description: "Second Background Color" }, { scheme: Ds.Scheme.Accent1, description: "Accent 1" }, { scheme: Ds.Scheme.Accent2, description: "Accent 2" }, { scheme: Ds.Scheme.Accent3, description: "Accent 3" }, { scheme: Ds.Scheme.Accent4, description: "Accent 4" }, { scheme: Ds.Scheme.Accent5, description: "Accent 5" }, { scheme: Ds.Scheme.Accent6, description: "Accent 6" }, { scheme: Ds.Scheme.Hlink, description: "Hyperlink" }, { scheme: Ds.Scheme.FolHlink, description: "Followed Hyperlink" }, { scheme: "dk1", description: "Text/Background - Dark 1" }, { scheme: "lt1", description: "Text/Background - Light 1" }, { scheme: "dk2", description: "Text/Background - Dark 2" }, { scheme: "lt2", description: "Text/Background - Light 2" }], Ws = /* @__PURE__ */ new Map();
|
|
4236
|
+
for (let t2 = 0; t2 < zs.length; t2++) Ws.set(zs[t2].scheme.toLowerCase(), zs[t2]);
|
|
4237
|
+
const Hs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], alpha: void 0 !== t2.alpha ? t2.alpha : 1 } : null, js = function(t2, e2, n2, r2) {
|
|
4243
4238
|
let o2 = Hs(((t3) => {
|
|
4244
|
-
let e3 =
|
|
4239
|
+
let e3 = Ps.valueOfName(t3);
|
|
4245
4240
|
return e3 ? new pr.RGBA(e3.rgbaColor.r, e3.rgbaColor.g, e3.rgbaColor.b, e3.rgbaColor.a) : null;
|
|
4246
4241
|
})(t2)), s2 = null, i2 = null, a2 = null;
|
|
4247
4242
|
if (null === o2 && (l2 = t2, Ws.get(l2.toLowerCase()))) {
|
|
@@ -4267,7 +4262,7 @@ const Hs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
|
|
|
4267
4262
|
let e3 = t2.match(vn) || t2.match(xn);
|
|
4268
4263
|
if (e3) {
|
|
4269
4264
|
let t3 = Tn(e3[1], e3[2], e3[3]);
|
|
4270
|
-
t3 = kn(t3, 100), t3 =
|
|
4265
|
+
t3 = kn(t3, 100), t3 = Pn(t3), t3 = On(t3), o2 = { srgb: t3, alpha: e3[4] ? Dn(parseFloat(e3[4])) : 1 }, a2 = Ds.Type.LRGB;
|
|
4271
4266
|
}
|
|
4272
4267
|
}
|
|
4273
4268
|
if (null === o2) {
|
|
@@ -4287,8 +4282,8 @@ const Hs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
|
|
|
4287
4282
|
}
|
|
4288
4283
|
if (null === o2) throw new Error("Not a valid color format: " + t2);
|
|
4289
4284
|
return { srgbAlpha: o2, key: s2, color: i2, type: a2 };
|
|
4290
|
-
},
|
|
4291
|
-
for (let t2 = 0; t2 < $s.length; t2++)
|
|
4285
|
+
}, Vs = /* @__PURE__ */ new Map(), $s = Object.keys(Ds.AdjustmentType);
|
|
4286
|
+
for (let t2 = 0; t2 < $s.length; t2++) Vs.set(Ds.AdjustmentType[$s[t2]].toLowerCase(), Ds.AdjustmentType[$s[t2]]);
|
|
4292
4287
|
const Gs = new RegExp("\\s+\\s*(?![^()]*\\))|,\\s*(?![^()]*\\))"), Us = new RegExp("\\s*[,]\\s*|\\s+");
|
|
4293
4288
|
let qs = null;
|
|
4294
4289
|
const Js = { [Ds.Scheme.Bg1]: "window", [Ds.Scheme.Bg2]: "E7E6E6", [Ds.Scheme.Tx1]: "windowText", [Ds.Scheme.Tx2]: "44546A", [Ds.Scheme.Accent1]: "4472C4", [Ds.Scheme.Accent2]: "ED7D31", [Ds.Scheme.Accent3]: "A5A5A5", [Ds.Scheme.Accent4]: "FFC000", [Ds.Scheme.Accent5]: "5B9BD5", [Ds.Scheme.Accent6]: "70AD47", [Ds.Scheme.Hlink]: "0563C1", [Ds.Scheme.FolHlink]: "954F72" };
|
|
@@ -4301,7 +4296,7 @@ class Ks {
|
|
|
4301
4296
|
o2 = e3.val, s2 = e3.adjs;
|
|
4302
4297
|
} else t2?.val && (o2 = t2.val, s2 = t2.adjs);
|
|
4303
4298
|
if (!o2) throw new Error("Unable to determine color value");
|
|
4304
|
-
this._private = { val: o2, adjs: s2, schemeLookup: e2, indexedLookup: n2, parsedVal:
|
|
4299
|
+
this._private = { val: o2, adjs: s2, schemeLookup: e2, indexedLookup: n2, parsedVal: js(o2, e2, n2), adjusted: null, resolved: null };
|
|
4305
4300
|
}
|
|
4306
4301
|
_parse(t2) {
|
|
4307
4302
|
let e2 = null, n2 = t2.toLowerCase().trim();
|
|
@@ -4311,7 +4306,7 @@ class Ks {
|
|
|
4311
4306
|
for (let t3 = 0; t3 < s2.length; t3++) {
|
|
4312
4307
|
const e3 = s2[t3];
|
|
4313
4308
|
if (!e3) continue;
|
|
4314
|
-
const n3 =
|
|
4309
|
+
const n3 = Vs.get(e3.toLowerCase());
|
|
4315
4310
|
if (!n3) throw new Error("Invalid adjustment type:" + e3);
|
|
4316
4311
|
let r3 = null;
|
|
4317
4312
|
if (n3 === Ds.AdjustmentType.Gray || n3 === Ds.AdjustmentType.Comp || n3 === Ds.AdjustmentType.Inv || n3 === Ds.AdjustmentType.Gamma || n3 === Ds.AdjustmentType.InvGamma) ;
|
|
@@ -4337,9 +4332,9 @@ class Ks {
|
|
|
4337
4332
|
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)];
|
|
4338
4333
|
})(n2, 180), n2 = cr(n2, false);
|
|
4339
4334
|
let r2 = Bn(n2);
|
|
4340
|
-
const o2 =
|
|
4341
|
-
if (o2[Un] = 0.95 * o2[Un], r2 = Hn(o2), n2 =
|
|
4342
|
-
const s2 =
|
|
4335
|
+
const o2 = Vn(r2);
|
|
4336
|
+
if (o2[Un] = 0.95 * o2[Un], r2 = Hn(o2), n2 = Pn(r2), n2 = Fn(n2), n2 = On(n2, false), t2) return new pr.RGBA(n2[0], n2[1], n2[2], e2.alpha);
|
|
4337
|
+
const s2 = Vn(Bn(n2));
|
|
4343
4338
|
return new pr.HSLA(s2[0], s2[1], s2[2], e2.alpha);
|
|
4344
4339
|
}
|
|
4345
4340
|
_resolve() {
|
|
@@ -4348,7 +4343,7 @@ class Ks {
|
|
|
4348
4343
|
let t3 = this._private.schemeLookup(this._private.parsedVal.key);
|
|
4349
4344
|
if (t3 === this._private.parsedVal.color || t3?.isEqual(this._private.parsedVal.color)) return;
|
|
4350
4345
|
}
|
|
4351
|
-
const t2 =
|
|
4346
|
+
const t2 = js(this._private.val, this._private.schemeLookup, this._private.indexedLookup, this._private.last);
|
|
4352
4347
|
let e2 = ((t3, e3) => {
|
|
4353
4348
|
let n3 = [...t3.srgb], r3 = void 0 !== t3.alpha ? t3.alpha : 1;
|
|
4354
4349
|
for (var o2 = 0; e3 && o2 < e3.length; o2++) {
|
|
@@ -4379,7 +4374,7 @@ class Ks {
|
|
|
4379
4374
|
for (let e3 = 0; e3 < o3.length; e3++) {
|
|
4380
4375
|
const n3 = o3[e3];
|
|
4381
4376
|
if (!n3) continue;
|
|
4382
|
-
const r3 =
|
|
4377
|
+
const r3 = Vs.get(n3.toLowerCase());
|
|
4383
4378
|
if (!r3) throw new Error("Invalid adjustment type:" + n3);
|
|
4384
4379
|
let s3 = null;
|
|
4385
4380
|
if (r3 === Ds.AdjustmentType.Gray || r3 === Ds.AdjustmentType.Comp || r3 === Ds.AdjustmentType.Inv || r3 === Ds.AdjustmentType.Gamma || r3 === Ds.AdjustmentType.InvGamma) ;
|
|
@@ -4432,7 +4427,7 @@ class Ks {
|
|
|
4432
4427
|
}
|
|
4433
4428
|
toHSLA(t2 = false) {
|
|
4434
4429
|
if (this._resolve(), t2) return this._forceDark(false);
|
|
4435
|
-
let e2 =
|
|
4430
|
+
let e2 = Vn(this._private.adjusted.srgb);
|
|
4436
4431
|
return new pr.HSLA(e2[0], e2[1], e2[2], Dn(this._private.adjusted.alpha ?? 1));
|
|
4437
4432
|
}
|
|
4438
4433
|
toHex(t2 = false) {
|
|
@@ -4632,7 +4627,7 @@ const Bi = new class {
|
|
|
4632
4627
|
return null;
|
|
4633
4628
|
}
|
|
4634
4629
|
}();
|
|
4635
|
-
class
|
|
4630
|
+
class Pi {
|
|
4636
4631
|
constructor(t2, e2 = Bi) {
|
|
4637
4632
|
this._delegate = e2, this._fromJSON(t2);
|
|
4638
4633
|
}
|
|
@@ -4691,7 +4686,7 @@ class zi {
|
|
|
4691
4686
|
return e2 && (t2.name = e2), t2;
|
|
4692
4687
|
}
|
|
4693
4688
|
}
|
|
4694
|
-
const
|
|
4689
|
+
const zi = new class {
|
|
4695
4690
|
constructor() {
|
|
4696
4691
|
this._colors = {};
|
|
4697
4692
|
for (let t2 = 0; t2 < Mi.length; t2++) {
|
|
@@ -4716,7 +4711,7 @@ const Pi = new class {
|
|
|
4716
4711
|
}
|
|
4717
4712
|
}();
|
|
4718
4713
|
class Wi {
|
|
4719
|
-
constructor(t2, e2 =
|
|
4714
|
+
constructor(t2, e2 = zi) {
|
|
4720
4715
|
this._delegate = e2, this._fromJSON(t2);
|
|
4721
4716
|
}
|
|
4722
4717
|
_fromJSON(t2) {
|
|
@@ -4757,7 +4752,7 @@ class Hi {
|
|
|
4757
4752
|
n3 && (e2 = n3);
|
|
4758
4753
|
}
|
|
4759
4754
|
if (!e2 && Li && (e2 = Li.get(Ri.toLowerCase())), this._name = t2?.name ?? e2?.getName(), !this._name) throw new Error("Theme must have a name.");
|
|
4760
|
-
this._builtInID = n2, this._delegate = e2, this._colors = new
|
|
4755
|
+
this._builtInID = n2, this._delegate = e2, this._colors = new Pi(t2?.colors, this._delegate?.getColorScheme()), this._fonts = new Wi(t2?.fonts, this._delegate?.getFontScheme());
|
|
4761
4756
|
const r2 = Ii, o2 = {}, s2 = Object.keys(r2);
|
|
4762
4757
|
for (let t3 = 0; t3 < s2.length; t3++) {
|
|
4763
4758
|
const e3 = s2[t3];
|
|
@@ -4804,7 +4799,7 @@ class Hi {
|
|
|
4804
4799
|
return n2 && (Object.keys(n2).length > 1 || n2.name && n2.name !== t2.name) && (t2.fonts = n2), 1 === Object.keys(t2).length && t2.name === Ri ? null : t2;
|
|
4805
4800
|
}
|
|
4806
4801
|
}
|
|
4807
|
-
const
|
|
4802
|
+
const ji = () => {
|
|
4808
4803
|
if (Li) return Li;
|
|
4809
4804
|
const t2 = ((t3, e3, n2) => {
|
|
4810
4805
|
const r2 = [];
|
|
@@ -4820,9 +4815,9 @@ const Vi = () => {
|
|
|
4820
4815
|
}
|
|
4821
4816
|
return Li = e2, e2;
|
|
4822
4817
|
};
|
|
4823
|
-
class
|
|
4818
|
+
class Vi {
|
|
4824
4819
|
constructor(t2 = null, e2 = false) {
|
|
4825
|
-
|
|
4820
|
+
ji(), this._isReadOnly = e2, this._customMap = /* @__PURE__ */ new Map(), this._defaultTheme = this.getByName("Office");
|
|
4826
4821
|
}
|
|
4827
4822
|
getDefaultTheme() {
|
|
4828
4823
|
return this._defaultTheme;
|
|
@@ -5896,7 +5891,7 @@ class Ma {
|
|
|
5896
5891
|
return t2 && this._insert(t2, this.data.height - 1), this;
|
|
5897
5892
|
}
|
|
5898
5893
|
clear() {
|
|
5899
|
-
return this.data =
|
|
5894
|
+
return this.data = ja([]), this;
|
|
5900
5895
|
}
|
|
5901
5896
|
remove(t2, e2) {
|
|
5902
5897
|
if (!t2) return this;
|
|
@@ -5935,13 +5930,13 @@ class Ma {
|
|
|
5935
5930
|
_build(t2, e2, n2, r2) {
|
|
5936
5931
|
const o2 = n2 - e2 + 1;
|
|
5937
5932
|
let s2, i2 = this._maxEntries;
|
|
5938
|
-
if (o2 <= i2) return s2 =
|
|
5939
|
-
r2 || (r2 = Math.ceil(Math.log(o2) / Math.log(i2)), i2 = Math.ceil(o2 / Math.pow(i2, r2 - 1))), s2 =
|
|
5933
|
+
if (o2 <= i2) return s2 = ja(t2.slice(e2, n2 + 1)), Ta(s2, this.toBBox), s2;
|
|
5934
|
+
r2 || (r2 = Math.ceil(Math.log(o2) / Math.log(i2)), i2 = Math.ceil(o2 / Math.pow(i2, r2 - 1))), s2 = ja([]), s2.leaf = false, s2.height = r2;
|
|
5940
5935
|
const a2 = Math.ceil(o2 / i2), l2 = a2 * Math.ceil(Math.sqrt(i2));
|
|
5941
|
-
|
|
5936
|
+
Va(t2, e2, n2, l2, this.compareMinX);
|
|
5942
5937
|
for (let o3 = e2; o3 <= n2; o3 += l2) {
|
|
5943
5938
|
const e3 = Math.min(o3 + l2 - 1, n2);
|
|
5944
|
-
|
|
5939
|
+
Va(t2, o3, e3, a2, this.compareMinY);
|
|
5945
5940
|
for (let n3 = o3; n3 <= e3; n3 += a2) {
|
|
5946
5941
|
const o4 = Math.min(n3 + a2 - 1, e3);
|
|
5947
5942
|
s2.children.push(this._build(t2, n3, o4, r2 - 1));
|
|
@@ -5953,7 +5948,7 @@ class Ma {
|
|
|
5953
5948
|
for (; r2.push(e2), !e2.leaf && r2.length - 1 !== n2; ) {
|
|
5954
5949
|
let n3, r3 = 1 / 0, o2 = 1 / 0;
|
|
5955
5950
|
for (let s2 = 0; s2 < e2.children.length; s2++) {
|
|
5956
|
-
const i2 = e2.children[s2], a2 = La(i2), l2 =
|
|
5951
|
+
const i2 = e2.children[s2], a2 = La(i2), l2 = Pa(t2, i2) - a2;
|
|
5957
5952
|
l2 < o2 ? (o2 = l2, r3 = a2 < r3 ? a2 : r3, n3 = i2) : l2 === o2 && a2 < r3 && (r3 = a2, n3 = i2);
|
|
5958
5953
|
}
|
|
5959
5954
|
e2 = n3 || e2.children[0];
|
|
@@ -5968,16 +5963,16 @@ class Ma {
|
|
|
5968
5963
|
_split(t2, e2) {
|
|
5969
5964
|
const n2 = t2[e2], r2 = n2.children.length, o2 = this._minEntries;
|
|
5970
5965
|
this._chooseSplitAxis(n2, o2, r2);
|
|
5971
|
-
const s2 = this._chooseSplitIndex(n2, o2, r2), i2 =
|
|
5966
|
+
const s2 = this._chooseSplitIndex(n2, o2, r2), i2 = ja(n2.children.splice(s2, n2.children.length - s2));
|
|
5972
5967
|
i2.height = n2.height, i2.leaf = n2.leaf, Ta(n2, this.toBBox), Ta(i2, this.toBBox), e2 ? t2[e2 - 1].children.push(i2) : this._splitRoot(n2, i2);
|
|
5973
5968
|
}
|
|
5974
5969
|
_splitRoot(t2, e2) {
|
|
5975
|
-
this.data =
|
|
5970
|
+
this.data = ja([t2, e2]), this.data.height = t2.height + 1, this.data.leaf = false, Ta(this.data, this.toBBox);
|
|
5976
5971
|
}
|
|
5977
5972
|
_chooseSplitIndex(t2, e2, n2) {
|
|
5978
5973
|
let r2 = -1, o2 = 1 / 0, s2 = 1 / 0;
|
|
5979
5974
|
for (let i2 = e2; i2 <= n2 - e2; i2++) {
|
|
5980
|
-
const e3 = ka(t2, 0, i2, this.toBBox), a2 = ka(t2, i2, n2, this.toBBox), l2 =
|
|
5975
|
+
const e3 = ka(t2, 0, i2, this.toBBox), a2 = ka(t2, i2, n2, this.toBBox), l2 = za(e3, a2), c2 = La(e3) + La(a2);
|
|
5981
5976
|
l2 < o2 ? (o2 = l2, r2 = i2, s2 = c2 < s2 ? c2 : s2) : l2 === o2 && c2 < s2 && (s2 = c2, r2 = i2);
|
|
5982
5977
|
}
|
|
5983
5978
|
return r2 || n2 - e2;
|
|
@@ -6016,7 +6011,7 @@ function Ta(t2, e2) {
|
|
|
6016
6011
|
ka(t2, 0, t2.children.length, e2, t2);
|
|
6017
6012
|
}
|
|
6018
6013
|
function ka(t2, e2, n2, r2, o2 = null) {
|
|
6019
|
-
o2 || (o2 =
|
|
6014
|
+
o2 || (o2 = ja(null)), o2.minX = 1 / 0, o2.minY = 1 / 0, o2.maxX = -1 / 0, o2.maxY = -1 / 0;
|
|
6020
6015
|
for (let s2 = e2; s2 < n2; s2++) {
|
|
6021
6016
|
const e3 = t2.children[s2];
|
|
6022
6017
|
Fa(o2, t2.leaf ? r2(e3) : e3);
|
|
@@ -6038,10 +6033,10 @@ function La(t2) {
|
|
|
6038
6033
|
function Ba(t2) {
|
|
6039
6034
|
return t2.maxX - t2.minX + (t2.maxY - t2.minY);
|
|
6040
6035
|
}
|
|
6041
|
-
function
|
|
6036
|
+
function Pa(t2, e2) {
|
|
6042
6037
|
return (Math.max(e2.maxX, t2.maxX) - Math.min(e2.minX, t2.minX)) * (Math.max(e2.maxY, t2.maxY) - Math.min(e2.minY, t2.minY));
|
|
6043
6038
|
}
|
|
6044
|
-
function
|
|
6039
|
+
function za(t2, e2) {
|
|
6045
6040
|
const n2 = Math.max(t2.minX, e2.minX), r2 = Math.max(t2.minY, e2.minY), o2 = Math.min(t2.maxX, e2.maxX), s2 = Math.min(t2.maxY, e2.maxY);
|
|
6046
6041
|
return Math.max(0, o2 - n2) * Math.max(0, s2 - r2);
|
|
6047
6042
|
}
|
|
@@ -6051,10 +6046,10 @@ function Wa(t2, e2) {
|
|
|
6051
6046
|
function Ha(t2, e2) {
|
|
6052
6047
|
return e2.minX <= t2.maxX && e2.minY <= t2.maxY && e2.maxX >= t2.minX && e2.maxY >= t2.minY;
|
|
6053
6048
|
}
|
|
6054
|
-
function
|
|
6049
|
+
function ja(t2) {
|
|
6055
6050
|
return { children: t2, height: 1, leaf: true, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
|
|
6056
6051
|
}
|
|
6057
|
-
function
|
|
6052
|
+
function Va(t2, e2, n2, r2, o2) {
|
|
6058
6053
|
const s2 = [e2, n2];
|
|
6059
6054
|
for (; s2.length; ) {
|
|
6060
6055
|
if ((n2 = s2.pop()) - (e2 = s2.pop()) <= r2) continue;
|
|
@@ -7208,13 +7203,13 @@ class Cl {
|
|
|
7208
7203
|
L2 = O2.next();
|
|
7209
7204
|
}
|
|
7210
7205
|
const B2 = this._optionsMinor;
|
|
7211
|
-
let
|
|
7206
|
+
let P2 = false;
|
|
7212
7207
|
for (let t3 = 0; t3 < F2.length; t3++) {
|
|
7213
7208
|
const e3 = F2[t3], n3 = e3.majorIndex, r3 = e3.run;
|
|
7214
7209
|
let o3 = k2.get(n3);
|
|
7215
|
-
o3 || (o3 = new fa(B2), k2.set(n3, o3), x2.push([n3, o3]),
|
|
7210
|
+
o3 || (o3 = new fa(B2), k2.set(n3, o3), x2.push([n3, o3]), P2 = true), o3.setRunAt(e3.minorIndex, r3), b2 += r3.length, I2 = Math.min(I2, n3), R2 = Math.max(R2, n3), T2 && T2.delete(n3);
|
|
7216
7211
|
}
|
|
7217
|
-
if (this._updateMajorSpan(x2,
|
|
7212
|
+
if (this._updateMajorSpan(x2, P2), T2 && T2.size > 0) {
|
|
7218
7213
|
const t3 = Array.from(T2.values()), e3 = xs(t3);
|
|
7219
7214
|
for (let t4 = 0; t4 < e3.length; t4++) {
|
|
7220
7215
|
const n4 = e3[t4];
|
|
@@ -7332,7 +7327,7 @@ class Nl {
|
|
|
7332
7327
|
case Ol:
|
|
7333
7328
|
return !!r2;
|
|
7334
7329
|
case Bl:
|
|
7335
|
-
case
|
|
7330
|
+
case Pl:
|
|
7336
7331
|
return this._cv(n2, o2 ? Number(r2) : r2);
|
|
7337
7332
|
case Dl:
|
|
7338
7333
|
return this._vi64[o2 ? t2 : r2];
|
|
@@ -7340,11 +7335,11 @@ class Nl {
|
|
|
7340
7335
|
return this._vf64[o2 ? t2 : r2];
|
|
7341
7336
|
case Hl:
|
|
7342
7337
|
return Number.NaN;
|
|
7343
|
-
case Vl:
|
|
7344
|
-
return Number.MAX_SAFE_INTEGER;
|
|
7345
7338
|
case jl:
|
|
7339
|
+
return Number.MAX_SAFE_INTEGER;
|
|
7340
|
+
case Vl:
|
|
7346
7341
|
return Number.MIN_SAFE_INTEGER;
|
|
7347
|
-
case
|
|
7342
|
+
case zl:
|
|
7348
7343
|
return 1 / 0;
|
|
7349
7344
|
case Wl:
|
|
7350
7345
|
return -1 / 0;
|
|
@@ -7411,7 +7406,7 @@ class Nl {
|
|
|
7411
7406
|
u2[n3] = r3;
|
|
7412
7407
|
break;
|
|
7413
7408
|
case Bl:
|
|
7414
|
-
case
|
|
7409
|
+
case Pl:
|
|
7415
7410
|
d2[n3] = BigInt(e2?.(y2, r3) ?? 0);
|
|
7416
7411
|
break;
|
|
7417
7412
|
default:
|
|
@@ -7439,7 +7434,7 @@ class Nl {
|
|
|
7439
7434
|
_2[r3] = n3, f2[n3] = o3, n3++;
|
|
7440
7435
|
break;
|
|
7441
7436
|
case Bl:
|
|
7442
|
-
case
|
|
7437
|
+
case Pl:
|
|
7443
7438
|
d2[r3] = e2?.(y2, o3) ?? 0;
|
|
7444
7439
|
break;
|
|
7445
7440
|
default:
|
|
@@ -7450,16 +7445,16 @@ class Nl {
|
|
|
7450
7445
|
return new Nl({ length: s2, types: c2 ? i2 : null, type: h2, values32: p2, values64: g2, getCoercedValue: n2 });
|
|
7451
7446
|
}
|
|
7452
7447
|
}
|
|
7453
|
-
const Tl = 0.1, kl = 1, Fl = 2, Ol = 3, Dl = 4, Ll = 5, Bl = 6,
|
|
7448
|
+
const Tl = 0.1, kl = 1, Fl = 2, Ol = 3, Dl = 4, Ll = 5, Bl = 6, Pl = 7, zl = 8, Wl = 9, Hl = 10, jl = 11, Vl = 12, $l = 13, Gl = 14, Ul = 127, ql = { Undefined: Gl }, Jl = (t2, e2) => {
|
|
7454
7449
|
switch (typeof t2) {
|
|
7455
7450
|
case "number":
|
|
7456
7451
|
const n2 = t2;
|
|
7457
7452
|
if (Number.isNaN(n2)) return Hl;
|
|
7458
|
-
if (n2 === 1 / 0) return
|
|
7453
|
+
if (n2 === 1 / 0) return zl;
|
|
7459
7454
|
if (n2 === -1 / 0) return Wl;
|
|
7460
7455
|
if (Object.is(n2, -0)) return Fl;
|
|
7461
|
-
if (n2 === Number.MAX_SAFE_INTEGER) return
|
|
7462
|
-
if (n2 === Number.MIN_SAFE_INTEGER) return
|
|
7456
|
+
if (n2 === Number.MAX_SAFE_INTEGER) return jl;
|
|
7457
|
+
if (n2 === Number.MIN_SAFE_INTEGER) return Vl;
|
|
7463
7458
|
if (Number.isInteger(n2) && n2 <= 2147483647 && n2 >= -2147483648) return kl;
|
|
7464
7459
|
return Math.fround(n2) === n2 ? Fl : Ll;
|
|
7465
7460
|
case "string":
|
|
@@ -7468,7 +7463,7 @@ const Tl = 0.1, kl = 1, Fl = 2, Ol = 3, Dl = 4, Ll = 5, Bl = 6, zl = 7, Pl = 8,
|
|
|
7468
7463
|
return Ol;
|
|
7469
7464
|
case "object":
|
|
7470
7465
|
if (null === t2) return $l;
|
|
7471
|
-
if (t2 instanceof Error) return
|
|
7466
|
+
if (t2 instanceof Error) return Pl;
|
|
7472
7467
|
if (!e2) return Ul;
|
|
7473
7468
|
const r2 = e2(t2);
|
|
7474
7469
|
if (r2 < 128 || r2 > 255) throw new Error("Custom type must be between 128 and 255");
|
|
@@ -7986,7 +7981,7 @@ const rc = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
|
|
|
7986
7981
|
case t.String:
|
|
7987
7982
|
let r3 = 0;
|
|
7988
7983
|
try {
|
|
7989
|
-
const t2 =
|
|
7984
|
+
const t2 = jg(e2);
|
|
7990
7985
|
r3 = t2 && "number" == typeof t2.value ? t2.value : Number.NaN;
|
|
7991
7986
|
} catch (t2) {
|
|
7992
7987
|
}
|
|
@@ -8159,11 +8154,11 @@ const Oc = (t2) => {
|
|
|
8159
8154
|
if (!t2) return Ic;
|
|
8160
8155
|
const e2 = Oc(t2.colIndex), n2 = Tc(t2.rowIndex);
|
|
8161
8156
|
return (t2.$colIndex ? "$" + e2 : e2) + (t2.$rowIndex ? "$" + n2 : n2);
|
|
8162
|
-
},
|
|
8157
|
+
}, Pc = (t2, e2) => {
|
|
8163
8158
|
let n2 = t2 ?? e2;
|
|
8164
8159
|
var r2;
|
|
8165
8160
|
return n2 && (n2 = To(n2), n2 = n2.replace(/'/g, "''"), r2 = n2, Dc.test(r2) && (n2 = ko(n2))), n2;
|
|
8166
|
-
},
|
|
8161
|
+
}, zc = (t2, e2) => t2 ? t2 + (t2.endsWith("!") ? "" : "!") + e2 : Ic, Wc = (t2, e2, n2 = Lc) => {
|
|
8167
8162
|
if (!t2) return null;
|
|
8168
8163
|
const r2 = t2.colStart, o2 = t2.rowStart, s2 = t2.colEnd, i2 = t2.rowEnd;
|
|
8169
8164
|
if (r2 === s2 && o2 === i2) return n2({ colIndex: r2, rowIndex: o2 });
|
|
@@ -8178,11 +8173,11 @@ const Oc = (t2) => {
|
|
|
8178
8173
|
const r2 = t2.colIndex, o2 = t2.rowIndex, s2 = r2 === Number.MIN_SAFE_INTEGER;
|
|
8179
8174
|
let i2 = null;
|
|
8180
8175
|
if (o2 === Number.MIN_SAFE_INTEGER ? (i2 = Oc(r2), t2.$colIndex && (i2 = "$" + i2)) : s2 ? (i2 = Tc(o2), t2.$rowIndex && (i2 = "$" + i2)) : i2 = n2(t2), t2.sheetName || e2) {
|
|
8181
|
-
const n3 =
|
|
8182
|
-
i2 =
|
|
8176
|
+
const n3 = Pc(t2.sheetName, e2);
|
|
8177
|
+
i2 = zc(n3, i2);
|
|
8183
8178
|
}
|
|
8184
8179
|
return i2;
|
|
8185
|
-
},
|
|
8180
|
+
}, jc = (t2, e2, n2 = Bc) => {
|
|
8186
8181
|
if (!t2) return Ic;
|
|
8187
8182
|
const r2 = void 0 !== t2.rowStart && t2.rowStart === t2.rowEnd;
|
|
8188
8183
|
if (void 0 !== t2.colStart && t2.colStart === t2.colEnd && r2) return n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
|
|
@@ -8192,9 +8187,9 @@ const Oc = (t2) => {
|
|
|
8192
8187
|
o2 ? (i2 = Oc(t2.colStart), i2 = t2.$colStart ? "$" + i2 : i2) : s2 ? (i2 = Tc(t2.rowStart), i2 = t2.$rowStart ? "$" + i2 : i2) : i2 = n2({ colIndex: t2.colStart, rowIndex: t2.rowStart, $colIndex: t2.$colStart, $rowIndex: t2.$rowStart });
|
|
8193
8188
|
let a2 = null;
|
|
8194
8189
|
return o2 ? (a2 = Oc(t2.colEnd), a2 = t2.$colEnd ? "$" + a2 : a2) : s2 ? (a2 = Tc(t2.rowEnd), a2 = t2.$rowEnd ? "$" + a2 : a2) : a2 = n2({ colIndex: t2.colEnd, rowIndex: t2.rowEnd, $colIndex: t2.$colEnd, $rowIndex: t2.$rowEnd }), i2 + ":" + a2;
|
|
8195
|
-
},
|
|
8196
|
-
const r2 =
|
|
8197
|
-
return
|
|
8190
|
+
}, Vc = (t2, e2, n2 = Bc) => {
|
|
8191
|
+
const r2 = jc(t2, e2, n2), o2 = Pc(t2?.sheetName, e2?.sheetName);
|
|
8192
|
+
return zc(o2, r2);
|
|
8198
8193
|
}, $c = (t2, e2 = false) => {
|
|
8199
8194
|
if (!t2) return null;
|
|
8200
8195
|
let n2 = 0, r2 = 0, o2 = false, s2 = false;
|
|
@@ -8246,7 +8241,7 @@ const Oc = (t2) => {
|
|
|
8246
8241
|
o2.sheetName = r2[0];
|
|
8247
8242
|
} else o2 = Gc(t2, e2, n2);
|
|
8248
8243
|
return o2 || null;
|
|
8249
|
-
}, qc = (t2, e2, n2 =
|
|
8244
|
+
}, qc = (t2, e2, n2 = jc, r2 = Bc) => {
|
|
8250
8245
|
if (!t2 || 0 === t2.length) return null;
|
|
8251
8246
|
const o2 = [], s2 = t2.length;
|
|
8252
8247
|
for (let i2 = 0; i2 < s2; i2++) {
|
|
@@ -8255,7 +8250,7 @@ const Oc = (t2) => {
|
|
|
8255
8250
|
s3 ? void 0 !== s3.rowIndex || void 0 !== s3.colIndex ? a2 = r2(s3) : void 0 !== s3.rowStart || void 0 !== s3.colStart ? a2 = n2(s3, e2, r2) : "string" == typeof s3 && (a2 = s3) : a2 = Ic, a2 && o2.push(a2);
|
|
8256
8251
|
}
|
|
8257
8252
|
return o2;
|
|
8258
|
-
}, Jc = (t2, e2, n2 =
|
|
8253
|
+
}, Jc = (t2, e2, n2 = Vc, r2 = Bc) => {
|
|
8259
8254
|
const o2 = qc(t2, e2, n2, r2);
|
|
8260
8255
|
return o2 ? o2.join(",") : Ic;
|
|
8261
8256
|
}, Kc = (t2, e2, n2, r2 = Uc, o2, s2 = false) => {
|
|
@@ -8411,7 +8406,7 @@ const Oc = (t2) => {
|
|
|
8411
8406
|
r2 !== Number.MIN_SAFE_INTEGER && (t2.$rowIndex ? n2 += `R${r2 + 1}` : n2 += 0 === r2 ? "R" : `R[${r2 + 1}]`);
|
|
8412
8407
|
let o2 = "";
|
|
8413
8408
|
const s2 = t2.colIndex;
|
|
8414
|
-
return s2 !== Number.MIN_SAFE_INTEGER && (t2.$colIndex ? o2 += `C${s2 + 1}` : o2 += 0 === s2 ? "C" : `C[${s2 + 1}]`), t2.sheetName && (n2 =
|
|
8409
|
+
return s2 !== Number.MIN_SAFE_INTEGER && (t2.$colIndex ? o2 += `C${s2 + 1}` : o2 += 0 === s2 ? "C" : `C[${s2 + 1}]`), t2.sheetName && (n2 = Pc(t2.sheetName, e2) + "!" + n2), n2 + o2;
|
|
8415
8410
|
}, hh = (t2, e2, n2) => {
|
|
8416
8411
|
let r2 = "";
|
|
8417
8412
|
const o2 = t2.colIndex;
|
|
@@ -8613,7 +8608,7 @@ var Ih;
|
|
|
8613
8608
|
(Ih || (Ih = {})).Type = { Style: "style", Table: "table", Merge: "merge", Hyperlink: "hyperlink", Comments: "comments", Unlock: "unlock", Contentful: "contentful", Conditional: "conditional", Formula: "formula", Spill: "spill", Continuous: "continuous", Pending: "pending", CalcError: "calcError" };
|
|
8614
8609
|
const Rh = Object.freeze({ [Ih.Type.Style]: false, [Ih.Type.Table]: false, [Ih.Type.Merge]: false, [Ih.Type.Hyperlink]: false, [Ih.Type.Comments]: false, [Ih.Type.Unlock]: false, [Ih.Type.Formula]: false, [Ih.Type.Spill]: false, [Ih.Type.Pending]: false, [Ih.Type.CalcError]: false, [Ih.Type.Contentful]: false, [Ih.Type.Conditional]: false, [Ih.Type.Continuous]: false }), Ah = Object.freeze({ [Ih.Type.Style]: false, [Ih.Type.Table]: false, [Ih.Type.Merge]: false, [Ih.Type.Hyperlink]: false, [Ih.Type.Comments]: false, [Ih.Type.Unlock]: false, [Ih.Type.Formula]: false, [Ih.Type.Spill]: false, [Ih.Type.Pending]: false, [Ih.Type.CalcError]: false, [Ih.Type.Conditional]: false, [Ih.Type.Continuous]: false }), Mh = Object.freeze({ [Ih.Type.Style]: false, [Ih.Type.Table]: true, [Ih.Type.Merge]: false, [Ih.Type.Hyperlink]: false, [Ih.Type.Comments]: false, [Ih.Type.Unlock]: false, [Ih.Type.Formula]: false });
|
|
8615
8610
|
Object.freeze({ [Ih.Type.Style]: false, [Ih.Type.Table]: false, [Ih.Type.Hyperlink]: false, [Ih.Type.Comments]: false, [Ih.Type.Unlock]: false, [Ih.Type.Contentful]: false, [Ih.Type.Formula]: false });
|
|
8616
|
-
const Nh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Th = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, kh = "The range is outside of the bounds of the sheet.", Fh = "Listener can not be null", Oh = "We can't insert items. The sheet is protected.", Dh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Lh = "Overlapping ranges can not be merged.", Bh = "We can't insert cells because this would push values off the end of the worksheet. These cells may appear empty but they have some formatting or formulas. Delete enough rows or columns and try again.",
|
|
8611
|
+
const Nh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Th = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, kh = "The range is outside of the bounds of the sheet.", Fh = "Listener can not be null", Oh = "We can't insert items. The sheet is protected.", Dh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Lh = "Overlapping ranges can not be merged.", Bh = "We can't insert cells because this would push values off the end of the worksheet. These cells may appear empty but they have some formatting or formulas. Delete enough rows or columns and try again.", Ph = "Unable to partially fill over merged cells.", zh = "Unable to sort merged cells unless they are all the same size.", Wh = "Sheet has been closed. No further operations are allowed.", Hh = "IteratorContext can only be used during visit.", jh = "When using addresses directly from the sheet do not include the sheet name.", Vh = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, $h = "'setValue' expects a single value; when working with an array use 'setValue'.", Gh = "Multiple selection ranges can not be copied.", Uh = "Unable to determine source.", qh = "When pasting before or after the cut area both areas must align.";
|
|
8617
8612
|
var Jh, Kh;
|
|
8618
8613
|
(Kh = Jh || (Jh = {})).CalcStatus = { Ready: "ready", Stale: "stale", Pending: "pending", Streaming: "streaming" }, Kh.Content = { Values: "values", Formats: "formats", Formulas: "formula", Hyperlinks: "hyperlinks", Tables: "tables", Notes: "notes", Comments: "comments", Warnings: "warnings", Errors: "errors", Merges: "merges" };
|
|
8619
8614
|
class Xh {
|
|
@@ -8671,9 +8666,9 @@ const Yh = (t2) => {
|
|
|
8671
8666
|
return '"' + e2 + '"';
|
|
8672
8667
|
}, ad = "Thin", ld = "Hairline", cd = "Extra Light", hd = "Ultra Light", dd = "Light", ud = "Normal", gd = "Regular", md = "Medium", fd = "Semi Bold", pd = "Demi Bold", _d = "Bold", Sd = "Extra Bold", wd = "Ultra Bold", yd = "Black", Ed = "Heavy", Cd = "Extra Black", bd = "Ultra Black", vd = "lighter", xd = "normal", Id = "bold", Rd = "bolder", Ad = /* @__PURE__ */ new Map();
|
|
8673
8668
|
Ad.set(o.textToKey(ad), 100), Ad.set(o.textToKey(ld), 100), Ad.set(o.textToKey(cd), 200), Ad.set(o.textToKey(hd), 200), Ad.set(o.textToKey(dd), 300), Ad.set(o.textToKey(ud), 400), Ad.set(o.textToKey(gd), 400), Ad.set(o.textToKey(md), 500), Ad.set(o.textToKey(fd), 600), Ad.set(o.textToKey(pd), 600), Ad.set(o.textToKey(ud), 400), Ad.set(o.textToKey(_d), 700), Ad.set(o.textToKey(Sd), 800), Ad.set(o.textToKey(wd), 800), Ad.set(o.textToKey(yd), 900), Ad.set(o.textToKey(Ed), 900), Ad.set(o.textToKey(Cd), 950), Ad.set(o.textToKey(bd), 950), Ad.set(o.textToKey(vd), 100), Ad.set(o.textToKey(xd), 400), Ad.set(o.textToKey(Id), 700), Ad.set(o.textToKey(Rd), 700);
|
|
8674
|
-
const Md = "xx-small", Nd = "x-small", Td = "small", kd = "medium", Fd = "large", Od = "x-large", Dd = "xx-large", Ld = "xxx-large", Bd = "smaller",
|
|
8675
|
-
Hd.set(o.textToKey(Md), (t2) => 0.4 * t2), Hd.set(o.textToKey(Nd), (t2) => 0.5 * t2), Hd.set(o.textToKey(Td), (t2) => 0.6 * t2), Hd.set(o.textToKey(kd), (t2) => t2), Hd.set(o.textToKey(Fd), (t2) => 1.1 * t2), Hd.set(o.textToKey(Od), (t2) => 1.25 * t2), Hd.set(o.textToKey(Dd), (t2) => 1.5 * t2), Hd.set(o.textToKey(Ld), (t2) => 2 * t2), Hd.set(o.textToKey(Bd), (t2) => 0.9 * t2), Hd.set(o.textToKey(
|
|
8676
|
-
const
|
|
8669
|
+
const Md = "xx-small", Nd = "x-small", Td = "small", kd = "medium", Fd = "large", Od = "x-large", Dd = "xx-large", Ld = "xxx-large", Bd = "smaller", Pd = "larger", zd = "math", Wd = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), Hd = /* @__PURE__ */ new Map();
|
|
8670
|
+
Hd.set(o.textToKey(Md), (t2) => 0.4 * t2), Hd.set(o.textToKey(Nd), (t2) => 0.5 * t2), Hd.set(o.textToKey(Td), (t2) => 0.6 * t2), Hd.set(o.textToKey(kd), (t2) => t2), Hd.set(o.textToKey(Fd), (t2) => 1.1 * t2), Hd.set(o.textToKey(Od), (t2) => 1.25 * t2), Hd.set(o.textToKey(Dd), (t2) => 1.5 * t2), Hd.set(o.textToKey(Ld), (t2) => 2 * t2), Hd.set(o.textToKey(Bd), (t2) => 0.9 * t2), Hd.set(o.textToKey(Pd), (t2) => 1.1 * t2), Hd.set(o.textToKey(zd), (t2) => t2);
|
|
8671
|
+
const jd = (t2, e2 = 11, n2 = "pt") => {
|
|
8677
8672
|
if (!t2) return null;
|
|
8678
8673
|
let r2 = e2;
|
|
8679
8674
|
t2 = t2.trim().toLowerCase();
|
|
@@ -8692,11 +8687,11 @@ const Vd = (t2, e2 = 11, n2 = "pt") => {
|
|
|
8692
8687
|
if (r3) return r3(e2);
|
|
8693
8688
|
}
|
|
8694
8689
|
return isNaN(r2) ? null : r2;
|
|
8695
|
-
},
|
|
8696
|
-
|
|
8690
|
+
}, Vd = /* @__PURE__ */ new Map();
|
|
8691
|
+
Vd.set(Fs.BuiltInSheetPattern.None, { description: "None", cssKey: "none" }), Vd.set(Fs.BuiltInSheetPattern.Solid, { description: "Solid", cssKey: "solid" }), Vd.set(Fs.BuiltInSheetPattern.DarkGray, { description: "75% gray", cssKey: "gray-75" }), Vd.set(Fs.BuiltInSheetPattern.MediumGray, { description: "50% gray", cssKey: "gray-50" }), Vd.set(Fs.BuiltInSheetPattern.LightGray, { description: "25% gray", cssKey: "gray-25" }), Vd.set(Fs.BuiltInSheetPattern.Gray125, { description: "12.5% Gray", cssKey: "gray-125" }), Vd.set(Fs.BuiltInSheetPattern.Gray0625, { description: "6.25% Gray", cssKey: "gray-0625" }), Vd.set(Fs.BuiltInSheetPattern.DarkHorizontal, { description: "Horizontal Strip", cssKey: "horz-stripe" }), Vd.set(Fs.BuiltInSheetPattern.DarkVertical, { description: "Vertical Strip", cssKey: "vert-stripe" }), Vd.set(Fs.BuiltInSheetPattern.DarkDown, { description: "Reverse Diagonal Stripe", cssKey: "reverse-diag-stripe" }), Vd.set(Fs.BuiltInSheetPattern.DarkUp, { description: "Diagonal Strip", cssKey: "diag-stripe" }), Vd.set(Fs.BuiltInSheetPattern.DarkGrid, { description: "Diagonal Crosshatch", cssKey: "diag-cross" }), Vd.set(Fs.BuiltInSheetPattern.DarkTrellis, { description: "Thick Diagonal Crosshatch", cssKey: "thick-diag-cross" }), Vd.set(Fs.BuiltInSheetPattern.LightHorizontal, { description: "Thin Horizontal Stripe", cssKey: "thin-horz-stripe" }), Vd.set(Fs.BuiltInSheetPattern.LightVertical, { description: "Thin Vertical Stripe", cssKey: "thin-vert-stripe" }), Vd.set(Fs.BuiltInSheetPattern.LightDown, { description: "Thin Reverse Diagonal Stripe", cssKey: "thin-reverse-diag-stripe" }), Vd.set(Fs.BuiltInSheetPattern.LightUp, { description: "Thin Diagonal Stripe", cssKey: "thin-diag-stripe" }), Vd.set(Fs.BuiltInSheetPattern.LightGrid, { description: "Thin Horizontal Cross", cssKey: "thin-horz-cross" }), Vd.set(Fs.BuiltInSheetPattern.LightTrellis, { description: "Thin Diagonal Cross", cssKey: "thin-diag-cross" });
|
|
8697
8692
|
let $d = "";
|
|
8698
8693
|
const Gd = /* @__PURE__ */ new Map();
|
|
8699
|
-
|
|
8694
|
+
Vd.forEach((t2, e2) => {
|
|
8700
8695
|
$d.length > 0 && ($d += "|"), $d += "\\b" + t2.cssKey + "\\b", Gd.set(t2.cssKey, e2);
|
|
8701
8696
|
});
|
|
8702
8697
|
const Ud = new RegExp(`(\\s*(?:${$d}))`, "g"), qd = (t2) => {
|
|
@@ -8818,7 +8813,7 @@ const bu = (t2, e2) => {
|
|
|
8818
8813
|
const e3 = Yh(t2);
|
|
8819
8814
|
if (e3) {
|
|
8820
8815
|
const t3 = {};
|
|
8821
|
-
if (e3.family && (t3.family = e3.family), e3.fallbacks && (t3.fallbacks = e3.fallbacks), e3.size && (t3.size =
|
|
8816
|
+
if (e3.family && (t3.family = e3.family), e3.fallbacks && (t3.fallbacks = e3.fallbacks), e3.size && (t3.size = jd(e3.size)), Object.keys(e3).length > 0) return t3;
|
|
8822
8817
|
}
|
|
8823
8818
|
}
|
|
8824
8819
|
return t2;
|
|
@@ -8830,7 +8825,7 @@ const bu = (t2, e2) => {
|
|
|
8830
8825
|
return n2.fallbacks && (r2 = r2.concat(n2.fallbacks)), r2;
|
|
8831
8826
|
} }, size: { shorthand: (t2, e2) => {
|
|
8832
8827
|
let n2 = t2;
|
|
8833
|
-
return "string" == typeof t2 && (n2 =
|
|
8828
|
+
return "string" == typeof t2 && (n2 = jd(t2, e2.getNormal().getFont().getSize())), isNaN(n2) || "number" != typeof n2 ? null : (n2 = Math.max(1, Math.min(o.roundAccurately(n2, 1), 409)), n2);
|
|
8834
8829
|
} }, weight: { shorthand: (t2, e2) => {
|
|
8835
8830
|
if ("string" != typeof t2) return t2;
|
|
8836
8831
|
const n2 = ((t3) => {
|
|
@@ -8930,7 +8925,7 @@ const bu = (t2, e2) => {
|
|
|
8930
8925
|
}
|
|
8931
8926
|
const b2 = Gr(s2, e2), v2 = { displayText: l2 ?? "", conditionalColor: b2 ? i2(b2) : null, repeatChars: h2 ?? o.EmptyArray, spacingChars: d2 ?? o.EmptyArray, repeatPlaceholder: c2, formattedRuns: f2, canWrap: y2, asDate: m2, isDateFormat: u2, isTimeFormat: g2, isDate1904: a2 };
|
|
8932
8927
|
return Object.freeze(v2);
|
|
8933
|
-
}, Ou = Object.freeze({ fallbacks: o.EmptyArray, weight: 400, style: Jo.Style.Normal, fill: Ds.Scheme.Tx1, letterSpacing: null, underline: Jo.UnderlineStyle.None, strike: false, scheme: Jo.Scheme.Minor, verticalAlign: Jo.VerticalAlignment.Baseline, shadow: false, outline: false, extend: false }), Du = Object.freeze({ style: Xs.StrokeStyle.None, color: Ds.Scheme.Tx1 }), Lu = Object.freeze({ [Xs.Edge.Top]: Du, [Xs.Edge.Left]: Du, [Xs.Edge.Bottom]: Du, [Xs.Edge.Right]: Du, [Xs.Edge.Horizontal]: Du, [Xs.Edge.Vertical]: Du, [Xs.Edge.DiagonalUp]: Du, [Xs.Edge.DiagonalDown]: Du }), Bu = Object.freeze({ horizontal: wo.HorizontalAlignment.General, vertical: wo.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: wo.Overflow.Visible, rotation: 0, stacked: false, quotePrefix: false, justifyLastLine: false, readingOrder: wo.ReadingDirection.Auto, readingDirection: wo.ReadingDirection.Auto }),
|
|
8928
|
+
}, Ou = Object.freeze({ fallbacks: o.EmptyArray, weight: 400, style: Jo.Style.Normal, fill: Ds.Scheme.Tx1, letterSpacing: null, underline: Jo.UnderlineStyle.None, strike: false, scheme: Jo.Scheme.Minor, verticalAlign: Jo.VerticalAlignment.Baseline, shadow: false, outline: false, extend: false }), Du = Object.freeze({ style: Xs.StrokeStyle.None, color: Ds.Scheme.Tx1 }), Lu = Object.freeze({ [Xs.Edge.Top]: Du, [Xs.Edge.Left]: Du, [Xs.Edge.Bottom]: Du, [Xs.Edge.Right]: Du, [Xs.Edge.Horizontal]: Du, [Xs.Edge.Vertical]: Du, [Xs.Edge.DiagonalUp]: Du, [Xs.Edge.DiagonalDown]: Du }), Bu = Object.freeze({ horizontal: wo.HorizontalAlignment.General, vertical: wo.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: wo.Overflow.Visible, rotation: 0, stacked: false, quotePrefix: false, justifyLastLine: false, readingOrder: wo.ReadingDirection.Auto, readingDirection: wo.ReadingDirection.Auto }), Pu = Object.freeze({ locked: false, formulaHidden: false }), zu = Object.freeze({ fill: { type: Fs.Type.None }, numberFormat: "General", alignment: Bu, font: Ou, border: Lu, protection: Pu, quotePrefix: false, namedStyle: null }), Wu = (() => {
|
|
8934
8929
|
const t2 = [{ named: pi.BuiltInName.Normal }, { named: pi.BuiltInName.RowLevel }, { named: pi.BuiltInName.ColLevel }, { named: pi.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: pi.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: pi.BuiltInName.Percent, numberFormat: "0%" }, { named: pi.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: pi.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: pi.BuiltInName.Hyperlink, font: { ...Ou, fill: Ds.Scheme.Hlink, underline: Jo.UnderlineStyle.Single } }, { named: pi.BuiltInName.FollowedHyperlink, font: { ...Ou, fill: Ds.Scheme.FolHlink, underline: Jo.UnderlineStyle.Single } }, { named: pi.BuiltInName.Note, fill: "FFFFFFCC", font: { ...Ou, style: Jo.Style.Normal, fill: Ds.Scheme.Tx1 }, border: { left: { style: Xs.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: Xs.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: Xs.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: Xs.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: pi.BuiltInName.WarningText, font: { ...Ou, fill: "FFFF0000" } }, { named: pi.BuiltInName.Unknown12 }, { named: pi.BuiltInName.Unknown13 }, { named: pi.BuiltInName.Unknown14 }, { named: pi.BuiltInName.Title, font: { ...Ou, size: 18, fill: Ds.Scheme.Tx2 } }, { named: pi.BuiltInName.Heading1, font: { ...Ou, size: 15, weight: "bold", fill: Ds.Scheme.Tx2 }, border: { bottom: { style: Xs.StrokeStyle.Thick, color: Ds.Scheme.Accent1 } } }, { named: pi.BuiltInName.Heading2, font: { ...Ou, size: 13, weight: "bold", fill: Ds.Scheme.Tx2 }, border: { bottom: { style: Xs.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: pi.BuiltInName.Heading3, font: { ...Ou, weight: "bold", fill: Ds.Scheme.Tx2 }, border: { bottom: { style: Xs.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: pi.BuiltInName.Heading4, font: { weight: "bold", fill: Ds.Scheme.Tx2, ...Ou } }, { named: pi.BuiltInName.Input, fill: "FFFFCC99", font: { ...Ou, fill: "FF3F3F76" }, border: { left: { style: Xs.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: Xs.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: Xs.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: Xs.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: pi.BuiltInName.Output, fill: "FFF2F2F2", font: { ...Ou, fill: "FF3F3F3F" }, border: { left: { style: Xs.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: Xs.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: Xs.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: Xs.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: pi.BuiltInName.Calculation, fill: "FFF2F2F2", font: { ...Ou, fill: "FFFA7D00" }, border: { left: { style: Xs.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: Xs.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: Xs.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: Xs.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: pi.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { ...Ou, fill: Ds.Scheme.Bg1 }, border: { left: { style: Xs.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: Xs.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: Xs.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: Xs.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: pi.BuiltInName.LinkedCell, font: { ...Ou, fill: "FFFA7D00" }, border: { bottom: { style: Xs.StrokeStyle.Double, color: "FFFF8001" } } }, { named: pi.BuiltInName.Total, font: { ...Ou, weight: "bold", fill: Ds.Scheme.Tx1 }, border: { top: { style: Xs.StrokeStyle.Thin, color: Ds.Scheme.Accent1 }, bottom: { style: Xs.StrokeStyle.Double, color: Ds.Scheme.Accent1 } } }, { named: pi.BuiltInName.Good, fill: "FFC6EFCE", font: { ...Ou, fill: "FF006100" } }, { named: pi.BuiltInName.Bad, fill: "FFFFC7CE", font: { ...Ou, fill: "FF9C0006" } }, { named: pi.BuiltInName.Neutral, fill: "FFFFEB9C", font: { ...Ou, fill: "FF9C5700" } }, { named: pi.BuiltInName.Accent1 }, { named: pi.BuiltInName.Accent1_20 }, { named: pi.BuiltInName.Accent1_40 }, { named: pi.BuiltInName.Accent1_60 }, { named: pi.BuiltInName.Accent2 }, { named: pi.BuiltInName.Accent2_20 }, { named: pi.BuiltInName.Accent2_40 }, { named: pi.BuiltInName.Accent2_60 }, { named: pi.BuiltInName.Accent3 }, { named: pi.BuiltInName.Accent3_20 }, { named: pi.BuiltInName.Accent3_40 }, { named: pi.BuiltInName.Accent3_60 }, { named: pi.BuiltInName.Accent4 }, { named: pi.BuiltInName.Accent4_20 }, { named: pi.BuiltInName.Accent4_40 }, { named: pi.BuiltInName.Accent4_60 }, { named: pi.BuiltInName.Accent5 }, { named: pi.BuiltInName.Accent5_20 }, { named: pi.BuiltInName.Accent5_40 }, { named: pi.BuiltInName.Accent5_60 }, { named: pi.BuiltInName.Accent6 }, { named: pi.BuiltInName.Accent6_20 }, { named: pi.BuiltInName.Accent6_40 }, { named: pi.BuiltInName.Accent6_60 }, { named: pi.BuiltInName.ExplanatoryText, font: { ...Ou, style: Jo.Style.Italic, fill: "FF7F7F7F" } }];
|
|
8935
8930
|
for (let e2 = 29; e2 <= 52; e2++) {
|
|
8936
8931
|
const n2 = (e2 - 29) % 4, r2 = Math.floor((e2 - 29) / 4);
|
|
@@ -8946,7 +8941,7 @@ const Hu = new class {
|
|
|
8946
8941
|
toCSS(t2, e2, n2) {
|
|
8947
8942
|
return t2 && t2 !== Fs.BuiltInSheetPattern.None ? t2 === Fs.BuiltInSheetPattern.Solid ? { background: n2 } : t2 === Fs.BuiltInSheetPattern.Gray0625 ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 4.5 L 0.5 5.5 M 4.5 2.5 L 4.5 3.5 M 4.5 6.5 L 4.5 7.5", 8) : t2 === Fs.BuiltInSheetPattern.LightGray ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 2.5 L 0.5 3.5 M 2.5 -0.5 L 2.5 0.5 M 2.5 1.5 L 2.5 2.5 M 2.5 3.5 L 2.5 4.5", 4) : t2 === Fs.BuiltInSheetPattern.MediumGray ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 1.5 L 1.5 2.5 M 1.5 -0.5 L 1.5 0.5 M -0.5 -0.5 L -0.5 0.5", 2) : t2 === Fs.BuiltInSheetPattern.DarkGray ? this._svgImage(e2, n2, "M 0 0 L 0 4 M 1 1 L 1 2 M 1 3 L 1 4 M 2 0 L 2 4 M 3 0.5 L 3 1.5 M 3 2.5 L 3 3.5 M 4 0 L 4 4", 4) : t2 === Fs.BuiltInSheetPattern.LightHorizontal ? this._svgImage(e2, n2, "M 0 2 L 4 2", 4) : t2 === Fs.BuiltInSheetPattern.DarkHorizontal ? this._svgImage(e2, n2, "M 0 2 L 4 2 M 0 3 L 4 3", 4) : t2 === Fs.BuiltInSheetPattern.LightVertical ? this._svgImage(e2, n2, "M 2 0 L 2 4", 4) : t2 === Fs.BuiltInSheetPattern.DarkVertical ? this._svgImage(e2, n2, "M 2 0 L 2 4 M 3 0 L 3 4", 4) : t2 === Fs.BuiltInSheetPattern.LightUp ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 3.5 L 1.5 4.5 M 1.5 -0.5 L 1.5 0.5 M 2.5 2.5 L 2.5 3.5 M 3.5 1.5 L 3.5 2.5", 4) : t2 === Fs.BuiltInSheetPattern.DarkUp ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 1.5 M 0.5 3.5 L 0.5 4.5 M 1.5 2.5 L 1.5 4.5 M 2.5 1.5 L 2.5 3.5 M 3.5 0.5 L 3.5 2.5 M 1.5 -0.5 L 1.5 0.5", 4) : t2 === Fs.BuiltInSheetPattern.LightDown ? this._svgImage(e2, n2, "M 0.5 0 L 0.5 1 M 1.5 1 L 1.5 2 M 2.5 2 L 2.5 3 M 3.5 3 L 3.5 4", 4) : t2 === Fs.BuiltInSheetPattern.DarkDown ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 2 M 1.5 1 L 1.5 3 M 2.5 2 L 2.5 4 M 3.5 3 L 3.5 5 M 3.5 -0.5 L 3.5 1.0", 4) : t2 === Fs.BuiltInSheetPattern.LightGrid ? this._svgImage(e2, n2, "M 1.5 -0.5 L 1.5 4.5 M -0.5 1.5 L 4.5 1.5", 4) : t2 === Fs.BuiltInSheetPattern.DarkGrid ? this._svgImage(e2, n2, "M 0.5 -0.5 L 0.5 1.5 M 1.5 -0.5 L 1.5 1.5 M 2.5 1.5 L 2.5 3.5 M 3.5 1.5 L 3.5 3.5 M 0.5 3.5 L 0.5 4.5 M 1.5 3.5 L 1.5 4.5", 4) : t2 === Fs.BuiltInSheetPattern.LightTrellis ? this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 1.5 3.5 L 1.5 4.5 M 1.5 -0.5 L 1.5 0.5 M 2.5 2.5 L 2.5 3.5 M 3.5 1.5 L 3.5 2.5 M 1.5 1.5 L 1.5 2.5 M 3.5 3.5 L 3.5 4.5 M 3.5 -0.5 L 3.5 0.5", 4) : t2 === Fs.BuiltInSheetPattern.DarkTrellis ? this._svgImage(e2, n2, "M 0 0 L 4 0 M 0 1 L 2 1 M 0 2 L 4 2 M 2 3 L 4 3 M 0 4 L 4 4", 4) : (Fs.BuiltInSheetPattern.Custom, this._svgImage(e2, n2, "M 0.5 0.5 L 0.5 1.5 M 0.5 4.5 L 0.5 5.5 M 2.5 2.5 L 2.5 3.5 M 2.5 6.5 L 2.5 7.5 M 4.5 0.5 L 4.5 1.5 M 4.5 4.5 L 4.5 5.5 M 6.5 2.5 L 6.5 3.5 M 6.5 6.5 L 6.5 7.5", 8)) : { background: "none" };
|
|
8948
8943
|
}
|
|
8949
|
-
}(),
|
|
8944
|
+
}(), ju = (t2, e2, n2) => {
|
|
8950
8945
|
if (void 0 === e2) return;
|
|
8951
8946
|
if (null === e2) return null;
|
|
8952
8947
|
if (e2.isIStyle) return e2._p.getProperties();
|
|
@@ -8956,7 +8951,7 @@ const Hu = new class {
|
|
|
8956
8951
|
} else r2 = e2;
|
|
8957
8952
|
return r2;
|
|
8958
8953
|
};
|
|
8959
|
-
class
|
|
8954
|
+
class Vu {
|
|
8960
8955
|
constructor(t2, e2) {
|
|
8961
8956
|
this._c = t2, this._p = Object.freeze(Array.isArray(e2) ? e2 : [e2 ?? null]);
|
|
8962
8957
|
}
|
|
@@ -9285,7 +9280,7 @@ class tg extends $u {
|
|
|
9285
9280
|
}
|
|
9286
9281
|
class eg {
|
|
9287
9282
|
constructor(t2) {
|
|
9288
|
-
this._options = t2, this._c = t2.styles, this._p = new
|
|
9283
|
+
this._options = t2, this._c = t2.styles, this._p = new Vu(t2.styles, t2.properties), this._hasVisibleStyling = !this.getFill() || this.getFill().getType() !== Fs.Type.None || !this.getBorder().isEmpty();
|
|
9289
9284
|
}
|
|
9290
9285
|
hasVisibleStyling() {
|
|
9291
9286
|
return this._hasVisibleStyling;
|
|
@@ -9298,7 +9293,7 @@ class eg {
|
|
|
9298
9293
|
return this._c.getNamed(t2);
|
|
9299
9294
|
}
|
|
9300
9295
|
createTemporaryStyle(t2) {
|
|
9301
|
-
const e2 = this._c, n2 =
|
|
9296
|
+
const e2 = this._c, n2 = ju(0, t2, this), r2 = this._options, o2 = r2.range, s2 = r2.direct.cloneWithUpdate(n2);
|
|
9302
9297
|
return ng(e2, s2, o2);
|
|
9303
9298
|
}
|
|
9304
9299
|
measureText(t2, e2 = this.getFont().getSize(), n2, r2) {
|
|
@@ -9350,7 +9345,7 @@ class eg {
|
|
|
9350
9345
|
}
|
|
9351
9346
|
}
|
|
9352
9347
|
const ng = (t2, e2, n2) => {
|
|
9353
|
-
const r2 = n2?.rowStart ?? c.EmptyCell.rowIndex, o2 = n2?.colStart ?? c.EmptyCell.colIndex, s2 = [
|
|
9348
|
+
const r2 = n2?.rowStart ?? c.EmptyCell.rowIndex, o2 = n2?.colStart ?? c.EmptyCell.colIndex, s2 = [zu], i2 = t2.getNormalRanged(), a2 = i2.getPropertiesAt(r2, o2, null);
|
|
9354
9349
|
if (a2 && s2.push(a2), !e2) {
|
|
9355
9350
|
return new rg({ styles: t2, range: n2, properties: s2, layerTypes: null, direct: i2 });
|
|
9356
9351
|
}
|
|
@@ -9537,7 +9532,7 @@ const dg = new class {
|
|
|
9537
9532
|
let t2 = o2?.get(f2);
|
|
9538
9533
|
if (!t2) {
|
|
9539
9534
|
const e3 = f2.length, n3 = f2.charAt(0);
|
|
9540
|
-
"=" === n3 && e3 > 1 ? (u2 = f2.substring(1), c2 = null) : (t2 =
|
|
9535
|
+
"=" === n3 && e3 > 1 ? (u2 = f2.substring(1), c2 = null) : (t2 = jg(f2, r2), !t2 || "string" != typeof t2.value || "+" !== n3 && "-" !== n3 || (u2 = "=" + f2, c2 = null), void 0 !== t2 && o2 && o2.set(f2, t2));
|
|
9541
9536
|
}
|
|
9542
9537
|
t2 && (void 0 !== t2.value && (c2 = t2.value, l2 = lc(c2)), void 0 !== t2.style && (g2 = t2.style), void 0 !== t2.hyperlink && (d2 = t2.hyperlink)), !s2 && r2.parse && (m2 = f2);
|
|
9543
9538
|
}
|
|
@@ -9670,7 +9665,7 @@ const wg = (t2, e2, n2, r2) => {
|
|
|
9670
9665
|
const d2 = e2 === t.String, u2 = n2.getFont(), g2 = u2.getWeight(), m2 = u2.getSize(), f2 = u2.getFamily(), p2 = n2.getAlignment(), _2 = p2.getOverflow(), S2 = p2.getRotation(), w2 = p2.getVertical(), y2 = n2.getNumberFormat(), E2 = d2 && _2 === wo.Overflow.Visible, C2 = d2 && (_2 === wo.Overflow.Wrap || w2 === wo.VerticalAlignment.Justify || w2 === wo.VerticalAlignment.Distributed), b2 = (c2 ?? "") + "\0" + m2 + f2 + g2 + y2 + S2 + E2 + C2 + a2 + l2 + (c2 ? "" : r2), v2 = h2.get(b2);
|
|
9671
9666
|
if (v2) return v2;
|
|
9672
9667
|
let x2 = null, I2 = null;
|
|
9673
|
-
const R2 = fg(e2, n2), A2 = R2.top + R2.bottom + +
|
|
9668
|
+
const R2 = fg(e2, n2), A2 = R2.top + R2.bottom + +Vg(n2);
|
|
9674
9669
|
let M2 = false, N2 = false;
|
|
9675
9670
|
l2 && (N2 = true, (0 !== S2 || C2) && (N2 = false));
|
|
9676
9671
|
const T2 = N2 ? void 0 : mg(e2, n2, r2, s2), k2 = R2.left + R2.right + 2;
|
|
@@ -9725,7 +9720,7 @@ class Cg {
|
|
|
9725
9720
|
}
|
|
9726
9721
|
getA1() {
|
|
9727
9722
|
const t2 = this._coords;
|
|
9728
|
-
return t2 ?
|
|
9723
|
+
return t2 ? jc(this._options.resolveRange(t2).getCoords()) : Ic;
|
|
9729
9724
|
}
|
|
9730
9725
|
getSheet() {
|
|
9731
9726
|
return this._options.sheet;
|
|
@@ -9832,7 +9827,7 @@ class Cg {
|
|
|
9832
9827
|
const n2 = ug(t2, this._options);
|
|
9833
9828
|
let r2 = this._rs;
|
|
9834
9829
|
if (void 0 !== n2.style) {
|
|
9835
|
-
const t3 = this._coords ?? c.EmptyCell, o3 = c.cellToRange(t3), s3 = () => wg(0, o3, this._rs, this._options), i2 =
|
|
9830
|
+
const t3 = this._coords ?? c.EmptyCell, o3 = c.cellToRange(t3), s3 = () => wg(0, o3, this._rs, this._options), i2 = ju(this._options.styles, n2.style, s3), a2 = (this._rs?.directStyle ?? new sg(e2.styles, o3)).cloneWithUpdate(i2);
|
|
9836
9831
|
r2 = { ...r2, directStyle: a2 };
|
|
9837
9832
|
}
|
|
9838
9833
|
let o2 = this._t, s2 = this._v;
|
|
@@ -10063,12 +10058,12 @@ const Rg = (t2, n2, r2, o2 = false) => {
|
|
|
10063
10058
|
toString() {
|
|
10064
10059
|
return `${this._coords ? Lc(this._coords) : Ic} => ${this._v ?? "{blank}"}`;
|
|
10065
10060
|
}
|
|
10066
|
-
}(),
|
|
10067
|
-
}, [Symbol.iterator]: Dg, entries: Dg, select: Sh, find: Sh, calculate: Sh, getCell: () => Bg, getValue: Og, setValue: Sh, setFormula: Sh, setValues: Sh, updateCells: Sh, updateStyle: Sh, getCells: () => [[Bg]], getStyleUpdater: Sh, getValues: () => [[null]], getBounds: Og, getIntersect:
|
|
10061
|
+
}(), Pg = () => zg, zg = { forEach: () => {
|
|
10062
|
+
}, [Symbol.iterator]: Dg, entries: Dg, select: Sh, find: Sh, calculate: Sh, getCell: () => Bg, getValue: Og, setValue: Sh, setFormula: Sh, setValues: Sh, updateCells: Sh, updateStyle: Sh, getCells: () => [[Bg]], getStyleUpdater: Sh, getValues: () => [[null]], getBounds: Og, getIntersect: Pg, getUnion: Pg, getDifferences: Sh, getResizeBy: Pg, getResizeTo: Pg, getOffsetBy: Pg, getOffsetTo: Pg, getFixed: Pg, getUsedRange: Pg, getEntireRows: Pg, getEntireColumns: Pg, getSurrounding: Sh, getExtended: Sh, isEntireRows: kg, isEntireColumns: kg, isEntireRange: kg, getWidth: Lg, getHeight: Lg, size: 0, sort: Sh, clear: Sh, setHyperlink: Sh, setComments: Sh, merge: Sh, unmerge: Sh, getMerges: Sh, insert: Sh, insertFrom: Sh, delete: Sh, getDefaultShiftOrientation: Sh, getDefaultSortCriteria: Sh, autoFill: Sh, autoFit: Sh, getSnapshot: Sh, copyFrom: Sh, doBatch: Sh, startIncrementalUpdates: Sh, getRowHeaders: Sh, getColumnHeaders: Sh, getCounts: Sh, getCount: Lg, isContentful: kg, addListener: Sh, getColumnStart: Lg, getRowStart: Lg, getColumnEnd: Lg, getRowEnd: Lg, getRowCount: Lg, getColumnCount: Lg, getVisible: Sh, getCoords: Og, isEmpty: Fg, toString: () => Ic, getA1: () => Ic, isInvalid: Fg, getSheet: Og, isReadOnly: Fg, isICellRange: true };
|
|
10068
10063
|
function Wg(t2, e2 = null, n2 = null, r2 = Ic) {
|
|
10069
|
-
return t2 || n2 ? Object.freeze({ ...
|
|
10064
|
+
return t2 || n2 ? Object.freeze({ ...zg, getSheet: () => t2, bounds: () => n2, getA1: () => r2, toString: () => n2 ? Wc(n2, e2) : r2 }) : zg;
|
|
10070
10065
|
}
|
|
10071
|
-
const Hg = /^[\\+-]?[0-9]*\.?[0-9]*$/,
|
|
10066
|
+
const Hg = /^[\\+-]?[0-9]*\.?[0-9]*$/, jg = (t2, e2, r2) => {
|
|
10072
10067
|
if (void 0 === t2) throw new Error("A value is required to create a cell from a text.");
|
|
10073
10068
|
const s2 = r2 ?? { value: null };
|
|
10074
10069
|
if ("" === (t2 = o.castToString(t2)).trim()) return s2;
|
|
@@ -10168,7 +10163,7 @@ const Hg = /^[\\+-]?[0-9]*\.?[0-9]*$/, Vg = (t2, e2, r2) => {
|
|
|
10168
10163
|
}
|
|
10169
10164
|
const _2 = n.getBuiltInByLabel(t2);
|
|
10170
10165
|
return _2 ? (s2.value = _2, s2) : (s2.value = t2, Oo(t2) ? s2.hyperlink = t2 : Lo(t2) && (s2.hyperlink = t2, s2.hyperlink.toLowerCase().startsWith("mailto:") || (s2.hyperlink = `mailto:${s2.hyperlink}`)), t2.includes("\n") && (s2.style = { ...s2?.style, alignment: { overflow: wo.Overflow.Wrap } }), s2);
|
|
10171
|
-
},
|
|
10166
|
+
}, Vg = (t2) => {
|
|
10172
10167
|
const e2 = t2.getFont().getUnderline() === Jo.UnderlineStyle.SingleAccounting, n2 = t2.getFont().getUnderline() === Jo.UnderlineStyle.DoubleAccounting;
|
|
10173
10168
|
let r2 = 0;
|
|
10174
10169
|
if (e2 || n2) {
|
|
@@ -10189,7 +10184,7 @@ const Hg = /^[\\+-]?[0-9]*\.?[0-9]*$/, Vg = (t2, e2, r2) => {
|
|
|
10189
10184
|
const a2 = o2?.orientation ?? e.Orientation.Row, l2 = o2?.maxSize ?? 1e4, c2 = t2({ includeEmpty: true, orientation: a2, reverse: o2?.reverse, excludeHidden: o2?.excludeHidden, includeMergeOverflow: o2?.includeMergeOverflow, includeRangeTypes: i2, bounds: n2, excludeCellDetails: !s2 }), h2 = a2 !== e.Orientation.Row, d2 = [];
|
|
10190
10185
|
let u2, g2 = -1, m2 = null, f2 = 0;
|
|
10191
10186
|
for (u2 = c2.next(); !u2.done; ) {
|
|
10192
|
-
if (f2 > l2) throw new Error(
|
|
10187
|
+
if (f2 > l2) throw new Error(Vh(l2));
|
|
10193
10188
|
const t3 = u2.value, e2 = t3.context.getCoords(), n3 = h2 ? e2.colIndex : e2.rowIndex;
|
|
10194
10189
|
n3 !== g2 && (m2 = [], d2.push(m2), g2 = n3);
|
|
10195
10190
|
let o3 = t3.value;
|
|
@@ -10875,7 +10870,7 @@ class ym extends rm {
|
|
|
10875
10870
|
return this.getUsedRange().select(t2);
|
|
10876
10871
|
}
|
|
10877
10872
|
getRange() {
|
|
10878
|
-
return this._range ? this._range : this._getState() ? this._range = this._sheet.getRange(this._getState().anchor) :
|
|
10873
|
+
return this._range ? this._range : this._getState() ? this._range = this._sheet.getRange(this._getState().anchor) : zg;
|
|
10879
10874
|
}
|
|
10880
10875
|
_processRestoreOrRevert(t2, e2, n2) {
|
|
10881
10876
|
this._styleCache = null, super._processRestoreOrRevert(t2, e2, n2);
|
|
@@ -10885,7 +10880,7 @@ class ym extends rm {
|
|
|
10885
10880
|
}
|
|
10886
10881
|
getUsedRange() {
|
|
10887
10882
|
const t2 = this._getUsedCoords();
|
|
10888
|
-
return t2 ? this._sheet.getRange(t2) :
|
|
10883
|
+
return t2 ? this._sheet.getRange(t2) : zg;
|
|
10889
10884
|
}
|
|
10890
10885
|
_getUsedCoords() {
|
|
10891
10886
|
const t2 = this._getState(), e2 = t2.headerRowCount, n2 = t2.totalsRowCount, r2 = t2.anchor;
|
|
@@ -10895,7 +10890,7 @@ class ym extends rm {
|
|
|
10895
10890
|
}
|
|
10896
10891
|
getHeaderRange() {
|
|
10897
10892
|
const t2 = this._getHeaderCoords();
|
|
10898
|
-
return t2 ? this._sheet.getRange(t2) :
|
|
10893
|
+
return t2 ? this._sheet.getRange(t2) : zg;
|
|
10899
10894
|
}
|
|
10900
10895
|
_getHeaderCoords() {
|
|
10901
10896
|
const t2 = this._getState(), e2 = t2.headerRowCount;
|
|
@@ -10905,7 +10900,7 @@ class ym extends rm {
|
|
|
10905
10900
|
}
|
|
10906
10901
|
getTotalRange() {
|
|
10907
10902
|
const t2 = this._getTotalCoords();
|
|
10908
|
-
return t2 ? this._sheet.getRange(t2) :
|
|
10903
|
+
return t2 ? this._sheet.getRange(t2) : zg;
|
|
10909
10904
|
}
|
|
10910
10905
|
_getTotalCoords() {
|
|
10911
10906
|
const t2 = this._getState(), e2 = t2.totalsRowCount;
|
|
@@ -11462,7 +11457,7 @@ let Mm = class {
|
|
|
11462
11457
|
};
|
|
11463
11458
|
class Nm {
|
|
11464
11459
|
constructor(t2 = null, e2 = null, n2 = 11) {
|
|
11465
|
-
this._emitter = null, this._normalRanged = null, this._theme = t2 ?? new
|
|
11460
|
+
this._emitter = null, this._normalRanged = null, this._theme = t2 ?? new Vi().getDefaultTheme(), this._defaultFontSize = n2;
|
|
11466
11461
|
const r2 = this;
|
|
11467
11462
|
this._emitter = new Ji(this), this._schemeLookup = (t3) => r2._theme.schemeLookup()(t3), this._indexedColors = this._fromJSONIndexedColors(e2), this._indexedLookup = (t3) => {
|
|
11468
11463
|
const e3 = this._indexedColors[t3];
|
|
@@ -11594,7 +11589,7 @@ class Nm {
|
|
|
11594
11589
|
const t3 = this._customCellStyles.get(r2) ?? o2;
|
|
11595
11590
|
i2 = t3?._properties ?? null;
|
|
11596
11591
|
}
|
|
11597
|
-
const a2 =
|
|
11592
|
+
const a2 = ju(0, t2.style, this.getNormal());
|
|
11598
11593
|
t2 = { ...t2, style: a2 };
|
|
11599
11594
|
const l2 = f.resolveTypedUpdates(t2, Tu, this, i2), c2 = new Am(this, l2, this._hideOrRemoveNamed.bind(this), s2);
|
|
11600
11595
|
return l2.name === pi.BuiltInName.Normal && (this._normalRanged = c2.getRanged(), this._normalStyle = ng(this, null)), this._customCellStyles.set(r2, c2), c2;
|
|
@@ -11648,7 +11643,7 @@ class Nm {
|
|
|
11648
11643
|
}
|
|
11649
11644
|
normalize(t2) {
|
|
11650
11645
|
if (!t2) return null;
|
|
11651
|
-
const e2 = f.resolveTypedUpdates(t2, Nu, this), n2 =
|
|
11646
|
+
const e2 = f.resolveTypedUpdates(t2, Nu, this), n2 = zu;
|
|
11652
11647
|
let r2 = null;
|
|
11653
11648
|
if (r2 = e2.named ? this.getNamed(e2.named)?.getRanged().getPropertiesAt(0, 0, null) : this._normalRanged.getPropertiesAt(0, 0, null), r2) {
|
|
11654
11649
|
const t3 = { ...r2 };
|
|
@@ -11977,8 +11972,8 @@ class Bm {
|
|
|
11977
11972
|
});
|
|
11978
11973
|
}
|
|
11979
11974
|
}
|
|
11980
|
-
var
|
|
11981
|
-
|
|
11975
|
+
var Pm, zm;
|
|
11976
|
+
Pm || (Pm = {});
|
|
11982
11977
|
class Wm extends Ki {
|
|
11983
11978
|
constructor(t2) {
|
|
11984
11979
|
super(t2), t2.json && (this._resource = t2.fromResourceId(t2.json.resId));
|
|
@@ -12028,10 +12023,10 @@ class Wm extends Ki {
|
|
|
12028
12023
|
super._processDelete();
|
|
12029
12024
|
}
|
|
12030
12025
|
}
|
|
12031
|
-
(
|
|
12026
|
+
(zm || (zm = {})).Status = { Ready: "ready", Error: "error", Starting: "starting", Stopping: "stopping", Off: "off" };
|
|
12032
12027
|
class Hm extends nc {
|
|
12033
12028
|
constructor(t2, e2 = null, n2, r2, o2) {
|
|
12034
|
-
if (super(t2, n2, e2), this._sheetName = r2 || null, this._getEntireCoords = o2 ?? ac, this._coords =
|
|
12029
|
+
if (super(t2, n2, e2), this._sheetName = r2 || null, this._getEntireCoords = o2 ?? ac, this._coords = jm(n2, this._getEntireCoords()), !n2) throw new Error("ReferenceRange requires a coords");
|
|
12035
12030
|
this._validateCoords(n2);
|
|
12036
12031
|
}
|
|
12037
12032
|
toType(t2) {
|
|
@@ -12057,10 +12052,10 @@ class Hm extends nc {
|
|
|
12057
12052
|
return `${Wc(this._coords, this._getEntireCoords?.())}`;
|
|
12058
12053
|
}
|
|
12059
12054
|
}
|
|
12060
|
-
const
|
|
12055
|
+
const jm = (t2, e2) => {
|
|
12061
12056
|
let n2 = t2.rowStart, r2 = t2.rowEnd, o2 = t2.colStart, s2 = t2.colEnd, i2 = false;
|
|
12062
12057
|
return o2 === Number.MIN_SAFE_INTEGER && (o2 = e2.colStart, i2 = true), n2 === Number.MIN_SAFE_INTEGER && (n2 = e2.rowStart, i2 = true), r2 === Number.MAX_SAFE_INTEGER && (r2 = e2.rowEnd, i2 = true), s2 === Number.MAX_SAFE_INTEGER && (s2 = e2.colEnd, i2 = true), i2 ? { rowStart: n2, rowEnd: r2, colStart: o2, colEnd: s2 } : t2;
|
|
12063
|
-
},
|
|
12058
|
+
}, Vm = (t2, e2) => t2.value?.once === e2.value?.once, $m = (t2, e2) => t2.colStart === e2.colStart && t2.rowStart === e2.rowStart, Gm = (t2, e2, n2) => !!n2 && (t2 === n2.rowStart && e2 === n2.colStart), Um = (t2, n2 = 0, r2 = 0) => {
|
|
12064
12059
|
const o2 = t2._values, s2 = t2._coords, i2 = o2.getRuns({ bounds: s2 }), a2 = o2.getOrientation() !== e.Orientation.Row, l2 = a2 ? s2.colStart : s2.rowStart, c2 = a2 ? s2.rowStart : s2.colStart, h2 = new Tt.Builder(null, n2, r2);
|
|
12065
12060
|
let d2 = i2.next();
|
|
12066
12061
|
for (; !d2.done; ) {
|
|
@@ -12168,7 +12163,7 @@ class Km {
|
|
|
12168
12163
|
const h2 = e4.colStart, d2 = e4.rowStart, u2 = e4.colEnd - h2, g2 = e4.rowEnd - d2;
|
|
12169
12164
|
for (let e5 = 0; e5 < c2; e5++) {
|
|
12170
12165
|
const n3 = l2[e5], r5 = n3.value, o4 = r5.blockEntry?.value ?? r5, c3 = o4.ref, m2 = c3.colEnd - c3.colStart, f2 = c3.rowEnd - c3.rowStart, p2 = n3.colEnd - n3.colStart - m2, _2 = n3.rowEnd - n3.rowStart - f2, S2 = r5.once;
|
|
12171
|
-
if (S2) S2.markId <= t3 && (S2.removed ? (s3.remove(n3,
|
|
12166
|
+
if (S2) S2.markId <= t3 && (S2.removed ? (s3.remove(n3, Vm), S2.removed = false) : i2[a2++] = S2, S2.markId = t3);
|
|
12172
12167
|
else {
|
|
12173
12168
|
let e6 = 0, s4 = 0, l3 = m2, c4 = f2;
|
|
12174
12169
|
if (!r5.$absHeight) {
|
|
@@ -12599,7 +12594,7 @@ class Km {
|
|
|
12599
12594
|
});
|
|
12600
12595
|
}
|
|
12601
12596
|
_setInputs(t2, n2, r2) {
|
|
12602
|
-
if (this._calculation.getStatus() ===
|
|
12597
|
+
if (this._calculation.getStatus() === zm.Status.Starting) return this._addToPending(() => {
|
|
12603
12598
|
const e2 = this._setInputs(t2, n2, r2), s3 = { formulaInserts: e2.inserts ?? o.EmptyArray, formulaRemoves: e2.removes ?? o.EmptyArray, cycleId: this._cycleId, bounds: c.unionRanges(c.unionRangesArrays(e2.inserts), c.unionRangesArrays(e2.removes)) };
|
|
12604
12599
|
return Promise.resolve(s3);
|
|
12605
12600
|
}), If;
|
|
@@ -12813,11 +12808,11 @@ class Km {
|
|
|
12813
12808
|
}, (t4) => {
|
|
12814
12809
|
});
|
|
12815
12810
|
}
|
|
12816
|
-
let B2 = 1,
|
|
12817
|
-
const
|
|
12811
|
+
let B2 = 1, P2 = 1;
|
|
12812
|
+
const z2 = I2 instanceof nc;
|
|
12818
12813
|
let W2;
|
|
12819
12814
|
const H2 = I2 instanceof n.Spill;
|
|
12820
|
-
if (
|
|
12815
|
+
if (z2 || H2) {
|
|
12821
12816
|
of.colStart = v2, of.rowStart = x2, of.colEnd = v2, of.rowEnd = x2;
|
|
12822
12817
|
const t3 = f2.search(of);
|
|
12823
12818
|
for (let e3 = 0; !W2 && e3 < t3.length; e3++) {
|
|
@@ -12825,20 +12820,20 @@ class Km {
|
|
|
12825
12820
|
n2.colStart === v2 && n2.rowStart === x2 && (W2 = n2);
|
|
12826
12821
|
}
|
|
12827
12822
|
if (W2) {
|
|
12828
|
-
if (
|
|
12823
|
+
if (z2) {
|
|
12829
12824
|
const t5 = I2;
|
|
12830
|
-
B2 = t5.getWidth(),
|
|
12825
|
+
B2 = t5.getWidth(), P2 = t5.getHeight();
|
|
12831
12826
|
}
|
|
12832
|
-
const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + B2 - 1, rowEnd: x2 +
|
|
12827
|
+
const t4 = { colStart: v2, rowStart: x2, colEnd: v2 + B2 - 1, rowEnd: x2 + P2 - 1 };
|
|
12833
12828
|
f2.remove(W2), W2 && W2.value.getError() || (d2.insertNonOverlapping({ ...t4, value: null }), p2.delete(t4), u2.insertNonOverlapping(t4));
|
|
12834
12829
|
}
|
|
12835
12830
|
}
|
|
12836
|
-
let
|
|
12831
|
+
let j2 = 1, V2 = 1;
|
|
12837
12832
|
const $2 = F2, G2 = $2?.isIRange;
|
|
12838
12833
|
let U2, q2 = F2 instanceof n.Spill;
|
|
12839
12834
|
if (G2 && $2.size > 1) {
|
|
12840
|
-
|
|
12841
|
-
const t3 = { colStart: v2, rowStart: x2, colEnd: v2 +
|
|
12835
|
+
j2 = $2.getWidth(), V2 = $2.getHeight();
|
|
12836
|
+
const t3 = { colStart: v2, rowStart: x2, colEnd: v2 + j2 - 1, rowEnd: x2 + V2 - 1 }, e3 = r2.getEntireCoords(), o3 = !c.isRangeWithinRange(t3, e3);
|
|
12842
12837
|
if (o3 && (t3.colEnd = Math.min(t3.colEnd, e3.colEnd), t3.rowEnd = Math.min(t3.rowEnd, e3.rowEnd)), q2 = o3, !q2) {
|
|
12843
12838
|
const e4 = d2.search(t3);
|
|
12844
12839
|
if (q2 = e4.length > 1, !q2 && 1 === e4.length) {
|
|
@@ -12848,7 +12843,7 @@ class Km {
|
|
|
12848
12843
|
}
|
|
12849
12844
|
let s3, i3;
|
|
12850
12845
|
if (q2) {
|
|
12851
|
-
F2 = n.BuiltIn.Spill,
|
|
12846
|
+
F2 = n.BuiltIn.Spill, j2 = 1, V2 = 1;
|
|
12852
12847
|
s3 = [[N2, [[T2, [F2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
|
|
12853
12848
|
} else {
|
|
12854
12849
|
const e4 = Um($2, N2, T2);
|
|
@@ -12856,7 +12851,7 @@ class Km {
|
|
|
12856
12851
|
}
|
|
12857
12852
|
U2 = { ...t3, value: new wh(t3, l2, q2) }, f2.insert(U2), E2 = Jm(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new yh(i3, _2) });
|
|
12858
12853
|
}
|
|
12859
|
-
(!c.isEqualRanges(W2, U2) || q2 || H2) && (W2 && g2.insert(W2), U2 && g2.insert(U2)),
|
|
12854
|
+
(!c.isEqualRanges(W2, U2) || q2 || H2) && (W2 && g2.insert(W2), U2 && g2.insert(U2)), j2 === B2 && V2 === P2 || (C2.state = bh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(j2, B2) - 1, rowEnd: x2 + Math.max(V2, P2) - 1 }), a2 = false);
|
|
12860
12855
|
let J2 = F2 && F2.isFormulaError ? F2 : null;
|
|
12861
12856
|
k2.getError() && (J2 = k2.getError()), (J2 || R2 && !t2) && (J2 && !J2.equals(R2) || R2 && R2.equals(J2)), C2.cachedValue = F2, s2[i2++] = C2;
|
|
12862
12857
|
}
|
|
@@ -12868,8 +12863,8 @@ class Km {
|
|
|
12868
12863
|
}
|
|
12869
12864
|
async calculate(t2) {
|
|
12870
12865
|
const e2 = this._calculation.getStatus();
|
|
12871
|
-
if (e2 ===
|
|
12872
|
-
if (e2 !==
|
|
12866
|
+
if (e2 === zm.Status.Starting) return void this._addToPending(() => this.calculate(t2));
|
|
12867
|
+
if (e2 !== zm.Status.Ready) return;
|
|
12873
12868
|
let n2 = this._fullCalcRequired;
|
|
12874
12869
|
n2 || ("boolean" == typeof t2 ? n2 = t2 : t2 && (n2 = t2.full ?? false));
|
|
12875
12870
|
const r2 = this._invalidations;
|
|
@@ -12893,7 +12888,7 @@ class Km {
|
|
|
12893
12888
|
const t3 = this._markAndPlan(o2, a2, i2).onces;
|
|
12894
12889
|
if (t3) {
|
|
12895
12890
|
const e4 = this._precedentSpatial, n3 = t3.length;
|
|
12896
|
-
for (let r3 = 0; r3 < n3; r3++) e4.remove(t3[r3],
|
|
12891
|
+
for (let r3 = 0; r3 < n3; r3++) e4.remove(t3[r3], Vm);
|
|
12897
12892
|
}
|
|
12898
12893
|
a2.length = 0;
|
|
12899
12894
|
const e3 = this._evaluate(o2);
|
|
@@ -12952,8 +12947,8 @@ class Km {
|
|
|
12952
12947
|
}
|
|
12953
12948
|
fromJSON(t2) {
|
|
12954
12949
|
const r2 = this._calculation.getStatus();
|
|
12955
|
-
if (r2 ===
|
|
12956
|
-
if (r2 !==
|
|
12950
|
+
if (r2 === zm.Status.Starting) return void this._addToPending(() => Promise.resolve(this.fromJSON(t2)));
|
|
12951
|
+
if (r2 !== zm.Status.Ready) return;
|
|
12957
12952
|
this._clearAll();
|
|
12958
12953
|
const o2 = { cycleId: 0, isFull: true };
|
|
12959
12954
|
if (!t2) return o2;
|
|
@@ -13166,9 +13161,9 @@ class Af {
|
|
|
13166
13161
|
this._instanceScope = t2;
|
|
13167
13162
|
}
|
|
13168
13163
|
async _initialize() {
|
|
13169
|
-
const t2 = await
|
|
13164
|
+
const t2 = await it._validate(true), e2 = Nf();
|
|
13170
13165
|
this._calcScope = e2, this._runtime = new Mf(this._options, t2);
|
|
13171
|
-
const { initializeBuiltIns: n2 } = await import("./
|
|
13166
|
+
const { initializeBuiltIns: n2 } = await import("./CeXbTuC9o_uwcAJF.mjs"), r2 = this;
|
|
13172
13167
|
return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
|
|
13173
13168
|
}
|
|
13174
13169
|
getBuiltInFunctions() {
|
|
@@ -13341,7 +13336,7 @@ class Mf {
|
|
|
13341
13336
|
}
|
|
13342
13337
|
getVersion() {
|
|
13343
13338
|
try {
|
|
13344
|
-
const t2 = "0.6.
|
|
13339
|
+
const t2 = "0.6.4";
|
|
13345
13340
|
if (-1 === t2.indexOf(".env.")) return `${t2}`;
|
|
13346
13341
|
} catch (t2) {
|
|
13347
13342
|
return "local";
|
|
@@ -13444,20 +13439,20 @@ class Df {
|
|
|
13444
13439
|
}
|
|
13445
13440
|
}
|
|
13446
13441
|
const Lf = new Df(), Bf = "__SHEETXL";
|
|
13447
|
-
let
|
|
13448
|
-
const
|
|
13442
|
+
let Pf;
|
|
13443
|
+
const zf = { FormulaContext: Pf, ScalarType: t, IRange: e, FormulaError: n, Observable: r };
|
|
13449
13444
|
let Wf;
|
|
13450
13445
|
function Hf(t2) {
|
|
13451
|
-
|
|
13446
|
+
Pf || (Pf = Lf, zf.FormulaContext = Pf), Wf = globalThis[Bf], globalThis[Bf] = zf, Pf._setScope(t2);
|
|
13452
13447
|
}
|
|
13453
|
-
function
|
|
13454
|
-
Wf ? (globalThis[Bf] = Wf, Wf = void 0) : delete globalThis[Bf],
|
|
13448
|
+
function jf() {
|
|
13449
|
+
Wf ? (globalThis[Bf] = Wf, Wf = void 0) : delete globalThis[Bf], Pf && Pf._setScope(null);
|
|
13455
13450
|
}
|
|
13456
|
-
var
|
|
13457
|
-
(
|
|
13451
|
+
var Vf;
|
|
13452
|
+
(Vf || (Vf = {})).Context = { Workbook: "workbook", Sheet: "sheet", Ranges: "ranges", Range: "range", Calculation: "calculation" };
|
|
13458
13453
|
class $f {
|
|
13459
13454
|
constructor(t2, e2, n2, r2 = null, o2 = false) {
|
|
13460
|
-
this._ct =
|
|
13455
|
+
this._ct = Vf.Context.Calculation, this._builtIn = false, this._broadcast = false, this._pj = null, this._json = t2, this._n = t2.name, this._d = new Xf(t2), this._ct = t2.context ?? Vf.Context.Calculation;
|
|
13461
13456
|
const s2 = t2.parameters;
|
|
13462
13457
|
let i2;
|
|
13463
13458
|
this._pj = s2, e2 || (console.log(`TypeFunction '${t2.name}' was not provided a function implementation.`), e2 = () => {
|
|
@@ -13546,7 +13541,7 @@ class $f {
|
|
|
13546
13541
|
} catch (t2) {
|
|
13547
13542
|
throw t2;
|
|
13548
13543
|
} finally {
|
|
13549
|
-
|
|
13544
|
+
jf();
|
|
13550
13545
|
}
|
|
13551
13546
|
return c2;
|
|
13552
13547
|
}
|
|
@@ -13850,7 +13845,7 @@ class tp {
|
|
|
13850
13845
|
}
|
|
13851
13846
|
class ep extends Ki {
|
|
13852
13847
|
constructor(t2) {
|
|
13853
|
-
super(t2), this._status =
|
|
13848
|
+
super(t2), this._status = zm.Status.Off, this._statusTransition = null, this._emitter = new Ji(this);
|
|
13854
13849
|
}
|
|
13855
13850
|
_getContext() {
|
|
13856
13851
|
return this._context;
|
|
@@ -13860,16 +13855,16 @@ class ep extends Ki {
|
|
|
13860
13855
|
}
|
|
13861
13856
|
start() {
|
|
13862
13857
|
return this._statusTransition || (this._statusTransition = (async () => {
|
|
13863
|
-
if (this._status ===
|
|
13864
|
-
this._status =
|
|
13858
|
+
if (this._status === zm.Status.Off) try {
|
|
13859
|
+
this._status = zm.Status.Starting, this._emitter.notify("onStatusChange"), this._emitter.notify("onStarting");
|
|
13865
13860
|
const t2 = this, e2 = this._options, n2 = (n3) => t2.getFunctions().getByName(n3) ?? e2?.getFunction?.(n3), r2 = new Af({ ...e2, getFunction: n2 });
|
|
13866
13861
|
this._context = r2;
|
|
13867
13862
|
const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
|
|
13868
13863
|
this._functions = new tp({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
|
|
13869
|
-
const i2 = await import("./
|
|
13870
|
-
this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status =
|
|
13864
|
+
const i2 = await import("./FHnPl5ZAdB4OT30o.mjs");
|
|
13865
|
+
this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = zm.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
|
|
13871
13866
|
} catch (t2) {
|
|
13872
|
-
throw this._status =
|
|
13867
|
+
throw this._status = zm.Status.Off, this._emitter.notify("onError", t2), this._emitter.notify("onStatusChange"), t2;
|
|
13873
13868
|
} finally {
|
|
13874
13869
|
this._statusTransition = null;
|
|
13875
13870
|
}
|
|
@@ -13880,7 +13875,7 @@ class ep extends Ki {
|
|
|
13880
13875
|
return new Km({ ...e2, ...t2, getFormulaParser: () => this._formulaParser, calculation: this });
|
|
13881
13876
|
}
|
|
13882
13877
|
async stop() {
|
|
13883
|
-
this._status ===
|
|
13878
|
+
this._status === zm.Status.Ready && (this._status = zm.Status.Stopping, this._emitter.notify("onStatusChange"), this._emitter.notify("onStopping"), this._status = zm.Status.Off, this._emitter.notify("onStatusChange"), this._emitter.notify("onStop"));
|
|
13884
13879
|
}
|
|
13885
13880
|
getStatus() {
|
|
13886
13881
|
return this._status;
|
|
@@ -13892,15 +13887,15 @@ class ep extends Ki {
|
|
|
13892
13887
|
return this._checkReady(), this._runtime;
|
|
13893
13888
|
}
|
|
13894
13889
|
_checkReady() {
|
|
13895
|
-
if (this._status !==
|
|
13890
|
+
if (this._status !== zm.Status.Ready) throw new Error(this._statusMessage());
|
|
13896
13891
|
}
|
|
13897
13892
|
_statusMessage() {
|
|
13898
13893
|
switch (this._status) {
|
|
13899
|
-
case
|
|
13894
|
+
case zm.Status.Off:
|
|
13900
13895
|
return "Calculation is off";
|
|
13901
|
-
case
|
|
13896
|
+
case zm.Status.Starting:
|
|
13902
13897
|
return "Calculation is starting";
|
|
13903
|
-
case
|
|
13898
|
+
case zm.Status.Ready:
|
|
13904
13899
|
return "Calculation is ready";
|
|
13905
13900
|
default:
|
|
13906
13901
|
return "Unknown calculation status";
|
|
@@ -13992,9 +13987,9 @@ class hp {
|
|
|
13992
13987
|
const o2 = n2(r2);
|
|
13993
13988
|
if ("userset" !== o2.msoHeightSource) return;
|
|
13994
13989
|
let s2 = r2.getAttribute("height") ?? o2.height, i2 = null;
|
|
13995
|
-
if (s2 && (i2 =
|
|
13990
|
+
if (s2 && (i2 = jd(s2, this._styles.getNormal().getFont().getSize(), "px")), null === i2) for (let t3 = 0; t3 < r2.cells.length; t3++) {
|
|
13996
13991
|
const e3 = r2.cells[t3], o3 = e3.getAttribute("height") ?? n2(e3).height;
|
|
13997
|
-
let s3 =
|
|
13992
|
+
let s3 = jd(o3, this._styles.getNormal().getFont().getSize(), "px");
|
|
13998
13993
|
null !== s3 && (i2 = Math.max(s3, i2 ?? 0));
|
|
13999
13994
|
}
|
|
14000
13995
|
null !== i2 && this._rowsReading.push({ address: { min: this._topLeft.rowIndex + t2, max: this._topLeft.rowIndex + t2 + e2 - 1 }, update: { size: i2 * Jo.getDeviceScale() } });
|
|
@@ -14003,7 +13998,7 @@ class hp {
|
|
|
14003
13998
|
const o2 = n2(r2);
|
|
14004
13999
|
if ("userset" !== o2.msoWidthSource) return;
|
|
14005
14000
|
let s2 = r2.getAttribute("width") ?? o2.width, i2 = null;
|
|
14006
|
-
s2 && (i2 =
|
|
14001
|
+
s2 && (i2 = jd(s2, this._styles.getNormal().getFont().getSize(), "px")), null !== i2 && this._colsReading.push({ address: { min: this._topLeft.colIndex + t2, max: this._topLeft.colIndex + t2 + e2 - 1 }, update: { size: i2 * Jo.getDeviceScale() } });
|
|
14007
14002
|
}
|
|
14008
14003
|
onDone() {
|
|
14009
14004
|
this._colsReading.length > 0 && this._sheet.getColumnHeaders().updateHeaderPairs(this._colsReading), this._rowsReading.length > 0 && this._sheet.getRowHeaders().updateHeaderPairs(this._rowsReading), this._sheet.doBatch(() => {
|
|
@@ -15136,7 +15131,7 @@ const Dp = (t2, n2, r2) => {
|
|
|
15136
15131
|
if (0 === e2) return o2;
|
|
15137
15132
|
s2 ? o2 += e2 : o2 -= e2;
|
|
15138
15133
|
}
|
|
15139
|
-
}, Lp = Object.freeze({ colIndex: 0, rowIndex: 0 }), Bp = Object.freeze([]),
|
|
15134
|
+
}, Lp = Object.freeze({ colIndex: 0, rowIndex: 0 }), Bp = Object.freeze([]), Pp = Object.freeze({ cell: c.EmptyCell, ranges: Bp, rangeIndex: -1 }), zp = (t2, n2 = e.Direction.Right, r2, o2, s2, i2 = null) => {
|
|
15140
15135
|
if (i2 && c.isEqualSelectionCoords(i2, t2)) return t2;
|
|
15141
15136
|
const a2 = t2.ranges[t2.rangeIndex];
|
|
15142
15137
|
if (!c.isRangesIntersect({ rowStart: t2.cell.rowIndex, colStart: t2.cell.colIndex, rowEnd: t2.cell.rowIndex, colEnd: t2.cell.colIndex }, a2)) return t2;
|
|
@@ -15206,13 +15201,13 @@ const Dp = (t2, n2, r2) => {
|
|
|
15206
15201
|
case e.Direction.Up:
|
|
15207
15202
|
t2.ranges[h2].rowStart === g2.rowStart && t2.ranges[h2].rowEnd === g2.rowEnd && (l2.colIndex = g2.colStart), l2.colIndex === g2.colStart ? l2.rowIndex = g2.rowStart + 1 : l2.rowIndex = g2.rowStart;
|
|
15208
15203
|
}
|
|
15209
|
-
return i2 && console.warn("call recursive > 1"),
|
|
15204
|
+
return i2 && console.warn("call recursive > 1"), zp({ cell: l2, ranges: t2.ranges, rangeIndex: h2 }, n2, r2, o2, s2, i2 ?? t2);
|
|
15210
15205
|
}
|
|
15211
15206
|
return { ranges: t2.ranges, cell: l2, rangeIndex: h2 };
|
|
15212
15207
|
};
|
|
15213
15208
|
class Wp {
|
|
15214
15209
|
constructor(t2) {
|
|
15215
|
-
this._adjusting = null, this._emitter = null, this._coords =
|
|
15210
|
+
this._adjusting = null, this._emitter = null, this._coords = Pp, this._sheet = t2.sheet, this._emitter = new Ji(this);
|
|
15216
15211
|
const n2 = t2.sheet;
|
|
15217
15212
|
this._adjusting = null, this._hiddenRowsAt = (t3, e2) => n2.getRowHeaders().hiddenHeadersAt(t3, e2), this._hiddenColumnsAt = (t3, e2) => n2.getColumnHeaders().hiddenHeadersAt(t3, e2), this._getCellCoordsAsRangeCoords = (t3) => {
|
|
15218
15213
|
const e2 = c.cellToRange(t3);
|
|
@@ -15323,7 +15318,7 @@ class Wp {
|
|
|
15323
15318
|
const e2 = this._coords;
|
|
15324
15319
|
if (c.isEqualSelectionCoords(e2, t2)) return;
|
|
15325
15320
|
const n2 = ((t3, e3, n3) => {
|
|
15326
|
-
if (!t3) return
|
|
15321
|
+
if (!t3) return Pp;
|
|
15327
15322
|
let r2 = e3.cell;
|
|
15328
15323
|
c.isEqualCells(r2, t3?.cell) || (r2 = Object.freeze({ colIndex: Math.max(0, Math.min(t3?.cell?.colIndex ?? e3.cell?.colIndex ?? 0)), rowIndex: Math.max(0, Math.min(t3?.cell?.rowIndex ?? e3?.cell?.rowIndex ?? 0)) }));
|
|
15329
15324
|
const o2 = t3?.ranges ? [...t3.ranges] : [];
|
|
@@ -15336,7 +15331,7 @@ class Wp {
|
|
|
15336
15331
|
}
|
|
15337
15332
|
let l2 = e3?.ranges ?? [];
|
|
15338
15333
|
!s2 && c.isEqualRangesArrays(l2, o2) || (l2 = o2);
|
|
15339
|
-
let h2 = t3?.rangeIndex ?? e3?.rangeIndex ??
|
|
15334
|
+
let h2 = t3?.rangeIndex ?? e3?.rangeIndex ?? Pp.rangeIndex;
|
|
15340
15335
|
if (h2 = Math.max(-1, Math.min(h2, l2.length - 1)), !a2) {
|
|
15341
15336
|
const t4 = l2[h2];
|
|
15342
15337
|
let e4 = r2.rowIndex;
|
|
@@ -15367,7 +15362,7 @@ class Wp {
|
|
|
15367
15362
|
if (0 === o2.ranges.length) return this.navigate(r2);
|
|
15368
15363
|
const s2 = this._getCellCoordsAsRangeCoords(o2.cell);
|
|
15369
15364
|
if (c.isEqualRangesArrays([s2], o2.ranges)) return this.navigate(r2);
|
|
15370
|
-
const i2 =
|
|
15365
|
+
const i2 = zp(o2, r2, this._getCellCoordsAsRangeCoords.bind(this), this._hiddenRowsAt.bind(this), this._hiddenColumnsAt.bind(this));
|
|
15371
15366
|
this.updateCoords(i2);
|
|
15372
15367
|
}
|
|
15373
15368
|
clear() {
|
|
@@ -15465,7 +15460,7 @@ class Hp {
|
|
|
15465
15460
|
return [new Hp(t2[0], e2), new Hp(t2[1], e2)];
|
|
15466
15461
|
}
|
|
15467
15462
|
}
|
|
15468
|
-
class
|
|
15463
|
+
class jp extends Ki {
|
|
15469
15464
|
constructor(t2) {
|
|
15470
15465
|
if (super({ ...t2 }), this._coordsCache = null, !t2.json) throw new Error("json is required");
|
|
15471
15466
|
this._sheet = t2.sheet, this._styles = t2.sheet?.getStyles() ?? new Nm(), this._options = { ...t2 }, t2.setOnContainerCoordsChange(this._processCoordsChange.bind(this)), t2.setCreateSpatial(this._createSpatial.bind(this)), this._getContainerRanges = t2.getContainerRanges, this._setContainerRanges = t2.setContainerRanges;
|
|
@@ -15604,7 +15599,7 @@ class Vp extends Ki {
|
|
|
15604
15599
|
return true;
|
|
15605
15600
|
}
|
|
15606
15601
|
}
|
|
15607
|
-
class
|
|
15602
|
+
class Vp {
|
|
15608
15603
|
constructor(t2, e2) {
|
|
15609
15604
|
this._add = t2, this._get = e2;
|
|
15610
15605
|
}
|
|
@@ -15631,7 +15626,7 @@ const $p = (t2, e2) => {
|
|
|
15631
15626
|
if (n2.getPatternType() === Fs.BuiltInSheetPattern.Solid) t2["mso-pattern"] = `${t2.background} none`, t2.background = r2;
|
|
15632
15627
|
else {
|
|
15633
15628
|
const e3 = ((t3) => {
|
|
15634
|
-
const e4 =
|
|
15629
|
+
const e4 = Vd.get(t3);
|
|
15635
15630
|
return e4?.cssKey ?? "solid";
|
|
15636
15631
|
})(n2.getPatternType());
|
|
15637
15632
|
t2["mso-pattern"] = r2 + (e3 ? " " : "") + e3;
|
|
@@ -15840,7 +15835,7 @@ const t_ = (t2, e2, n2, r2) => {
|
|
|
15840
15835
|
const e3 = void 0 === n2?.sz ? t2.getDefaultSize() : n2?.sz * t2.getScaleFactor();
|
|
15841
15836
|
c2 = c2?.(e3);
|
|
15842
15837
|
}
|
|
15843
|
-
if ("string" == typeof c2 && (c2 =
|
|
15838
|
+
if ("string" == typeof c2 && (c2 = jd(c2, e2.getNormal().getFont().getSize(), "px")), "number" == typeof c2) {
|
|
15844
15839
|
const e3 = t2.getMinSize(), n3 = t2.getMaxSize();
|
|
15845
15840
|
if (c2 = Math.max(e3, Math.min(o.roundAccurately(c2, e3), n3)), true !== s2.relativeSize) {
|
|
15846
15841
|
c2 /= t2.getScaleFactor();
|
|
@@ -16018,7 +16013,7 @@ class i_ {
|
|
|
16018
16013
|
if (l2 && l2.break) return l2.break;
|
|
16019
16014
|
}, s2 = () => {
|
|
16020
16015
|
const t3 = n2._isColumn ? { colStart: r2.min, colEnd: r2.max } : { rowStart: r2.min, rowEnd: r2.max };
|
|
16021
|
-
return
|
|
16016
|
+
return jc(t3, n2._maxRangeCoords) ?? Ic;
|
|
16022
16017
|
}, i2 = { getCoords: () => r2, getA1: s2, toString: s2, forEach: (t3, e3) => {
|
|
16023
16018
|
let n3 = Number.MAX_SAFE_INTEGER, s3 = null;
|
|
16024
16019
|
const i3 = { getIndex: () => n3, getCellHeader: () => s3.getCellHeader(), getA1: (t4) => s3.getA1(t4), getCoords: () => s3.getCoords() };
|
|
@@ -16758,7 +16753,7 @@ class p_ {
|
|
|
16758
16753
|
}
|
|
16759
16754
|
}
|
|
16760
16755
|
async function __() {
|
|
16761
|
-
const { getCrypto: t2 } = await import("./
|
|
16756
|
+
const { getCrypto: t2 } = await import("./Ctf652tPvLr789G5.mjs");
|
|
16762
16757
|
return t2();
|
|
16763
16758
|
}
|
|
16764
16759
|
const S_ = async (t2, e2, ...n2) => {
|
|
@@ -17149,7 +17144,7 @@ class x_ {
|
|
|
17149
17144
|
return false;
|
|
17150
17145
|
}
|
|
17151
17146
|
getA1() {
|
|
17152
|
-
return Jc(this.getCoords(), this._sheet._entireCoords,
|
|
17147
|
+
return Jc(this.getCoords(), this._sheet._entireCoords, jc, Bc);
|
|
17153
17148
|
}
|
|
17154
17149
|
getSheet() {
|
|
17155
17150
|
return this._sheet;
|
|
@@ -17206,7 +17201,7 @@ class I_ {
|
|
|
17206
17201
|
}
|
|
17207
17202
|
_validateMaxSize(t2 = 5e4) {
|
|
17208
17203
|
const e2 = this.getCoords(), n2 = this._sheet, r2 = n2._colHeaders.getVisibleCount(e2.colStart, e2.colEnd);
|
|
17209
|
-
if (n2._rowHeaders.getVisibleCount(e2.rowStart, e2.rowEnd) * r2 > t2) throw new Error(
|
|
17204
|
+
if (n2._rowHeaders.getVisibleCount(e2.rowStart, e2.rowEnd) * r2 > t2) throw new Error(Vh(t2));
|
|
17210
17205
|
}
|
|
17211
17206
|
[Symbol.iterator]() {
|
|
17212
17207
|
const t2 = this.entries({ excludeCellDetails: true });
|
|
@@ -17249,7 +17244,7 @@ class I_ {
|
|
|
17249
17244
|
const o2 = this.getCoords();
|
|
17250
17245
|
r2 || (r2 = o2);
|
|
17251
17246
|
const s2 = this._sheet, i2 = s2._isDataColumn, a2 = { majorStart: i2 ? o2.colStart : o2.rowStart, majorEnd: i2 ? o2.colEnd : o2.rowEnd, minorStart: i2 ? o2.rowStart : o2.colStart, minorEnd: i2 ? o2.rowEnd : o2.colEnd }, l2 = (n2?.orientation ?? e.Orientation.Row) === e.Orientation.Column !== i2, h2 = _l(Array.isArray(t2) ? t2 : [[t2]], l2, a2);
|
|
17252
|
-
return s2._updateTuples(h2, { description: n2?.description ?? `Set ${c.isSingleCell(r2) ? "Cell" : "Range"} ${
|
|
17247
|
+
return s2._updateTuples(h2, { description: n2?.description ?? `Set ${c.isSingleCell(r2) ? "Cell" : "Range"} ${jc(r2, s2._entireCoords)}`, ...n2 }, null, { isCell: true }), this;
|
|
17253
17248
|
}
|
|
17254
17249
|
setValues(t2, e2) {
|
|
17255
17250
|
if (!Array.isArray(t2)) throw new Error("'setValues' expects a 2d array; when working with a single value use 'setValue'.");
|
|
@@ -17276,7 +17271,7 @@ class I_ {
|
|
|
17276
17271
|
}
|
|
17277
17272
|
const h2 = { majorStart: i2 ? r2.colStart : r2.rowStart, majorEnd: i2 ? r2.colEnd : r2.rowEnd, minorStart: i2 ? r2.rowStart : r2.colStart, minorEnd: i2 ? r2.rowEnd : r2.colEnd }, d2 = a2 !== i2;
|
|
17278
17273
|
let u2 = null;
|
|
17279
|
-
return u2 = l2 ? _l(Array.isArray(t2) ? t2 : [[t2]], d2, h2) : pl(t2, h2, i2), s2._updateTuples(u2, { description: n2?.description ?? `Set ${c.isSingleCell(r2) ? "Value" : "Values"} ${
|
|
17274
|
+
return u2 = l2 ? _l(Array.isArray(t2) ? t2 : [[t2]], d2, h2) : pl(t2, h2, i2), s2._updateTuples(u2, { description: n2?.description ?? `Set ${c.isSingleCell(r2) ? "Value" : "Values"} ${jc(r2, s2._entireCoords)}`, ...n2 }), o2;
|
|
17280
17275
|
}
|
|
17281
17276
|
getValues(t2) {
|
|
17282
17277
|
this._validateMaxSize(t2?.maxSize);
|
|
@@ -17552,14 +17547,14 @@ class I_ {
|
|
|
17552
17547
|
}
|
|
17553
17548
|
getA1() {
|
|
17554
17549
|
const t2 = this._sheet;
|
|
17555
|
-
return
|
|
17550
|
+
return jc(this.getCoords(), t2._entireCoords);
|
|
17556
17551
|
}
|
|
17557
17552
|
get [Symbol.toStringTag]() {
|
|
17558
17553
|
return "[SheetRange]";
|
|
17559
17554
|
}
|
|
17560
17555
|
toString() {
|
|
17561
17556
|
const t2 = this._sheet;
|
|
17562
|
-
return
|
|
17557
|
+
return jc(this.getCoords(), t2._entireCoords);
|
|
17563
17558
|
}
|
|
17564
17559
|
get isICellRange() {
|
|
17565
17560
|
return true;
|
|
@@ -17573,7 +17568,7 @@ class D_ {
|
|
|
17573
17568
|
constructor(t2) {
|
|
17574
17569
|
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;
|
|
17575
17570
|
const e2 = Object.freeze({ ...t2 });
|
|
17576
|
-
|
|
17571
|
+
it._validate(true), this._transactions = e2.transactions ?? new k(), this._ownTransactions = !e2.transactions;
|
|
17577
17572
|
const n2 = this._beginCommit({ description: "New Sheet" }), r2 = this;
|
|
17578
17573
|
try {
|
|
17579
17574
|
this._entireCoords = Object.freeze({ colStart: 0, rowStart: 0, colEnd: (e2.maxColumns ?? R_) - 1, rowEnd: (e2.maxRows ?? A_) - 1 }), this._strings = e2.strings ?? new Bm(), this._ownStrings = !e2.strings;
|
|
@@ -17609,7 +17604,7 @@ class D_ {
|
|
|
17609
17604
|
}, (t4) => {
|
|
17610
17605
|
const e3 = r2._getState();
|
|
17611
17606
|
return e3 ? e3.tableMapName.get(t4.toLocaleLowerCase()) : null;
|
|
17612
|
-
}), this._conditionals = new
|
|
17607
|
+
}), this._conditionals = new Vp(this._addConditional.bind(this), (t4, e3, n3) => {
|
|
17613
17608
|
const o3 = t4 ? this._rangeToCoords(t4) : this._entireCoords, s2 = /* @__PURE__ */ new Set();
|
|
17614
17609
|
return r2._getRangedEntries("conditionalSpatial", [o3], { excludeHidden: e3, fullyContained: n3, onEntry: (t5) => {
|
|
17615
17610
|
s2.add(t5.getModel());
|
|
@@ -17717,7 +17712,7 @@ class D_ {
|
|
|
17717
17712
|
const e3 = s2.getNames()?.getByName(t3);
|
|
17718
17713
|
if (e3) return e3.getRanges().getCoords();
|
|
17719
17714
|
const n3 = this._options.resolveRange?.(t3);
|
|
17720
|
-
if (n3 && n3.getSheet() === s2) return console.warn(
|
|
17715
|
+
if (n3 && n3.getSheet() === s2) return console.warn(jh), [n3.getCoords()];
|
|
17721
17716
|
throw new Error(`Invalid sheet reference '${t3}'.`);
|
|
17722
17717
|
}
|
|
17723
17718
|
}), a2 = i2.length;
|
|
@@ -17726,7 +17721,7 @@ class D_ {
|
|
|
17726
17721
|
if (e3) {
|
|
17727
17722
|
if (r2) {
|
|
17728
17723
|
const t4 = e3.sheetName;
|
|
17729
|
-
if (t4 && t4 !== this.getName()) throw new Error(
|
|
17724
|
+
if (t4 && t4 !== this.getName()) throw new Error(jh);
|
|
17730
17725
|
}
|
|
17731
17726
|
this._validateCoords(e3);
|
|
17732
17727
|
}
|
|
@@ -17959,7 +17954,7 @@ class D_ {
|
|
|
17959
17954
|
for (let n3 = 0; n3 < p2; n3++) {
|
|
17960
17955
|
const o2 = (t3, e3) => {
|
|
17961
17956
|
let n4 = null;
|
|
17962
|
-
const r3 =
|
|
17957
|
+
const r3 = ju(0, e3, () => {
|
|
17963
17958
|
if (n4) return n4;
|
|
17964
17959
|
const e4 = t3.getCoords();
|
|
17965
17960
|
return n4 = ng(f2, t3, e4), n4;
|
|
@@ -17993,7 +17988,7 @@ class D_ {
|
|
|
17993
17988
|
}
|
|
17994
17989
|
}
|
|
17995
17990
|
if (this._lastUsedCoordsRead.coords = null, this._updateState({ directStyleSpatial: d2, continuousFillSpatial: u2 }), n2?.autoFit) {
|
|
17996
|
-
const e3 = "boolean" == typeof n2.autoFit ?
|
|
17991
|
+
const e3 = "boolean" == typeof n2.autoFit ? V_ : n2.autoFit;
|
|
17997
17992
|
this._autoFit(t2, e3);
|
|
17998
17993
|
}
|
|
17999
17994
|
this._emitter.notify("onStyleChange"), r2 ? this._commitAndAutoSelect(i2, a2, n2?.autoSelect, { viewAfter: { ranges: t2 } }) : i2.commit({ forceAmend: true });
|
|
@@ -18050,9 +18045,9 @@ class D_ {
|
|
|
18050
18045
|
} while (T2);
|
|
18051
18046
|
return T2;
|
|
18052
18047
|
};
|
|
18053
|
-
const F2 = c2.getState(this), O2 = F2.cellValuesGrid.clone(), D2 = F2.calcGraph.clone(), L2 = F2.formulaSpatial.clone(), B2 = F2.spillSpatial.clone(),
|
|
18048
|
+
const F2 = c2.getState(this), O2 = F2.cellValuesGrid.clone(), D2 = F2.calcGraph.clone(), L2 = F2.formulaSpatial.clone(), B2 = F2.spillSpatial.clone(), P2 = F2.pendingSpatial.clone(), z2 = F2.calcErrorsSpatial.clone(), W2 = F2.contentfulSpatial.clone(), H2 = El(u2), j2 = El(u2, (t3, e2) => {
|
|
18054
18049
|
if (t3 === e2) return e2;
|
|
18055
|
-
}),
|
|
18050
|
+
}), V2 = El(u2, (t3, e2) => {
|
|
18056
18051
|
if (t3 === e2) return e2;
|
|
18057
18052
|
}), $2 = El(u2, (t3, e2) => {
|
|
18058
18053
|
if (t3 === e2) return e2;
|
|
@@ -18090,9 +18085,9 @@ class D_ {
|
|
|
18090
18085
|
}
|
|
18091
18086
|
if (!i2) {
|
|
18092
18087
|
const t4 = o3.style;
|
|
18093
|
-
void 0 === t4 || null === t4 && !s2 ||
|
|
18088
|
+
void 0 === t4 || null === t4 && !s2 || j2.append(e2, n3, t4);
|
|
18094
18089
|
const r4 = o3.hyperlink;
|
|
18095
|
-
void 0 === r4 || null === r4 && !s2 ||
|
|
18090
|
+
void 0 === r4 || null === r4 && !s2 || V2.append(e2, n3, r4);
|
|
18096
18091
|
}
|
|
18097
18092
|
const l3 = o3.formula;
|
|
18098
18093
|
return void 0 === l3 || null === l3 && !s2 || $2.append(e2, n3, l3), a3;
|
|
@@ -18146,11 +18141,11 @@ class D_ {
|
|
|
18146
18141
|
}
|
|
18147
18142
|
const f3 = Qg(J2, u2), C3 = f3.length;
|
|
18148
18143
|
for (let t4 = 0; t4 < C3; t4++) W2.insertNonOverlapping(f3[t4]);
|
|
18149
|
-
const b3 =
|
|
18144
|
+
const b3 = j2.done();
|
|
18150
18145
|
b3.length > 0 && this._updateStyles(b3), G2.length > 0 && this._merge(G2);
|
|
18151
|
-
const x3 =
|
|
18152
|
-
if (x3.length > 0 && this._setHyperlinks(x3), this._updateState({ cellValuesGrid: O2, contentfulSpatial: W2, calcGraph: D2, formulaSpatial: L2, spillSpatial: B2, pendingSpatial:
|
|
18153
|
-
const t4 = "boolean" == typeof n2.autoFit ?
|
|
18146
|
+
const x3 = V2.done();
|
|
18147
|
+
if (x3.length > 0 && this._setHyperlinks(x3), this._updateState({ cellValuesGrid: O2, contentfulSpatial: W2, calcGraph: D2, formulaSpatial: L2, spillSpatial: B2, pendingSpatial: P2, calcErrorsSpatial: z2 }), g3 && g3.length > 0 && this._updateStyles(g3, void 0, {}, true), n2?.autoFit) {
|
|
18148
|
+
const t4 = "boolean" == typeof n2.autoFit ? V_ : n2.autoFit;
|
|
18154
18149
|
this._autoFit([E2], t4);
|
|
18155
18150
|
}
|
|
18156
18151
|
h2 = { ranges: [E2] }, this._addEvent("data", E2), this._commitAndAutoSelect(c2, h2, n2?.autoSelect, { viewAfter: { formulas: [E2], ranges: [E2] } });
|
|
@@ -18167,11 +18162,11 @@ class D_ {
|
|
|
18167
18162
|
if (a2.length > 0) {
|
|
18168
18163
|
i2 = true;
|
|
18169
18164
|
let e2 = a2[0];
|
|
18170
|
-
if (o2 = e2.colEnd - e2.colStart + 1, s2 = e2.rowEnd - e2.rowStart + 1, (t2.colEnd - t2.colStart + 1) % o2 != 0 || (t2.rowEnd - t2.rowStart + 1) % s2 != 0) throw new Error(
|
|
18165
|
+
if (o2 = e2.colEnd - e2.colStart + 1, s2 = e2.rowEnd - e2.rowStart + 1, (t2.colEnd - t2.colStart + 1) % o2 != 0 || (t2.rowEnd - t2.rowStart + 1) % s2 != 0) throw new Error(zh);
|
|
18171
18166
|
const n3 = a2.length;
|
|
18172
18167
|
for (let t3 = 1; t3 < n3; t3++) {
|
|
18173
18168
|
const e3 = a2[t3];
|
|
18174
|
-
if (e3.colEnd - e3.colStart + 1 !== o2 || e3.rowEnd - e3.rowStart + 1 !== s2) throw new Error(
|
|
18169
|
+
if (e3.colEnd - e3.colStart + 1 !== o2 || e3.rowEnd - e3.rowStart + 1 !== s2) throw new Error(zh);
|
|
18175
18170
|
}
|
|
18176
18171
|
}
|
|
18177
18172
|
const l2 = n2?.orientation ?? e.Orientation.Row, c2 = l2 === e.Orientation.Row;
|
|
@@ -18254,21 +18249,21 @@ class D_ {
|
|
|
18254
18249
|
const L2 = this._beginCommit({ description: r2 });
|
|
18255
18250
|
let B2 = [u2];
|
|
18256
18251
|
v2 || (B2 = this._getVisible(B2, { orientations: c2 ? e.Orientations.Row : e.Orientations.Column })), this._clear(B2, void 0, void 0, true);
|
|
18257
|
-
const
|
|
18258
|
-
let
|
|
18252
|
+
const P2 = this._createIncrementalUpdater({ orientation: l2 });
|
|
18253
|
+
let z2 = c2 ? u2.rowStart : u2.colStart;
|
|
18259
18254
|
const W2 = S2.length;
|
|
18260
18255
|
for (let t3 = 0; t3 < W2; t3++) {
|
|
18261
18256
|
const e2 = S2[t3];
|
|
18262
|
-
if (b2 && (
|
|
18257
|
+
if (b2 && (z2 = b2(z2)), e2) {
|
|
18263
18258
|
const t4 = e2.values, n3 = t4.length;
|
|
18264
18259
|
for (let e3 = 0; e3 < n3; e3++) {
|
|
18265
|
-
const n4 = t4[e3], r3 = c2 ?
|
|
18266
|
-
|
|
18260
|
+
const n4 = t4[e3], r3 = c2 ? z2 : n4.getCoords().rowIndex, o3 = c2 ? n4.getCoords().colIndex : z2;
|
|
18261
|
+
P2.pushAt(r3, o3, n4);
|
|
18267
18262
|
}
|
|
18268
18263
|
}
|
|
18269
|
-
|
|
18264
|
+
z2 += I2;
|
|
18270
18265
|
}
|
|
18271
|
-
return
|
|
18266
|
+
return P2.apply(), L2.commit(), u2;
|
|
18272
18267
|
}
|
|
18273
18268
|
_autoFill(t2, n2, r2) {
|
|
18274
18269
|
const { direction: o2, amount: s2 } = ((t3, n3) => {
|
|
@@ -18284,7 +18279,7 @@ class D_ {
|
|
|
18284
18279
|
const p2 = { ...t2 };
|
|
18285
18280
|
let _2 = { ...t2 };
|
|
18286
18281
|
const S2 = [t2], w2 = this._getMerges(S2);
|
|
18287
|
-
if (w2.length > 0 && !c.isRangeWithinRange(c.unionRangesArrays(w2), t2)) throw new Error(
|
|
18282
|
+
if (w2.length > 0 && !c.isRangeWithinRange(c.unionRangesArrays(w2), t2)) throw new Error(Ph);
|
|
18288
18283
|
const y2 = { ..._2 };
|
|
18289
18284
|
let E2 = 1;
|
|
18290
18285
|
if (o2 === e.Direction.Left) p2.colStart = _2.colStart = t2.colStart - s2, p2.colEnd = t2.colStart - 1, E2 = 0 === w2.length ? E2 : t2.colEnd + 1 - t2.colStart, y2.rowStart = y2.rowEnd;
|
|
@@ -18319,12 +18314,12 @@ class D_ {
|
|
|
18319
18314
|
}
|
|
18320
18315
|
B2 = L2.next();
|
|
18321
18316
|
}
|
|
18322
|
-
const
|
|
18323
|
-
for (let t3 = 0; t3 <
|
|
18317
|
+
const P2 = O2.length;
|
|
18318
|
+
for (let t3 = 0; t3 < P2; t3++) {
|
|
18324
18319
|
const e2 = O2[t3].values;
|
|
18325
18320
|
for (let t4 = e2.length; t4 < x2; t4++) e2.push(null);
|
|
18326
18321
|
}
|
|
18327
|
-
const
|
|
18322
|
+
const z2 = (t3, e2) => {
|
|
18328
18323
|
if (t3.canFill(e2[0], [])) {
|
|
18329
18324
|
const n3 = t3.createFillAt(e2, g2);
|
|
18330
18325
|
if (n3) return n3;
|
|
@@ -18334,7 +18329,7 @@ class D_ {
|
|
|
18334
18329
|
if (h2) {
|
|
18335
18330
|
const t3 = O2[O2.length - 1];
|
|
18336
18331
|
if (O2[O2.length - 1]?.oppositeIndex !== F2) return null;
|
|
18337
|
-
const n3 =
|
|
18332
|
+
const n3 = z2(u2, t3.values);
|
|
18338
18333
|
return h2((t4) => {
|
|
18339
18334
|
const r3 = W2._rangeToCoords(t4);
|
|
18340
18335
|
let s3;
|
|
@@ -18344,10 +18339,10 @@ class D_ {
|
|
|
18344
18339
|
return c2 = d2 ? this.createTemporaryCell(l3, s3) : this.createTemporaryCell(null, s3).createTemporaryCell(l3), c2;
|
|
18345
18340
|
}), false;
|
|
18346
18341
|
}
|
|
18347
|
-
const H2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }),
|
|
18342
|
+
const H2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }), j2 = O2.length;
|
|
18348
18343
|
O2.sort((t3, e2) => t3.oppositeIndex - e2.oppositeIndex);
|
|
18349
|
-
for (let t3 = 0; t3 <
|
|
18350
|
-
const e2 = t3, n3 =
|
|
18344
|
+
for (let t3 = 0; t3 < j2; t3++) {
|
|
18345
|
+
const e2 = t3, n3 = z2(u2, O2[e2].values), r3 = O2[e2].oppositeIndex, o3 = N2 ? x2 : x2 + k2 - 1, s3 = this.isDate1904();
|
|
18351
18346
|
for (let t4 = 0; t4 < k2; t4++) {
|
|
18352
18347
|
let e3 = n3(o3 + (N2 ? t4 : -t4));
|
|
18353
18348
|
Jr(e3) && (e3 = eo(e3, s3));
|
|
@@ -18356,23 +18351,23 @@ class D_ {
|
|
|
18356
18351
|
}
|
|
18357
18352
|
}
|
|
18358
18353
|
this._clear([p2], r2?.contentsOnly ? Jh.Content.Formats : void 0), H2.apply();
|
|
18359
|
-
const
|
|
18360
|
-
if (
|
|
18361
|
-
if (
|
|
18354
|
+
const V2 = this._getMerges([_2]), $2 = c.unionRangesArrays(V2);
|
|
18355
|
+
if (V2.length > 0 && !c.isRangeWithinRange($2, _2)) throw new Error(Ph);
|
|
18356
|
+
if (V2.length > 0) {
|
|
18362
18357
|
const n3 = [], r3 = s2 / E2;
|
|
18363
18358
|
if (i2) {
|
|
18364
|
-
const s3 = t2.rowEnd - t2.rowStart + 1, i3 = o2 === e.Direction.Up ? p2.rowStart : t2.rowEnd + 1, a3 =
|
|
18359
|
+
const s3 = t2.rowEnd - t2.rowStart + 1, i3 = o2 === e.Direction.Up ? p2.rowStart : t2.rowEnd + 1, a3 = V2.length;
|
|
18365
18360
|
for (let e2 = 0; e2 < a3; e2++) {
|
|
18366
|
-
const o3 =
|
|
18361
|
+
const o3 = V2[e2], a4 = o3.rowStart - t2.rowStart, l3 = o3.rowEnd - o3.rowStart + 1;
|
|
18367
18362
|
for (let t3 = 0; t3 < r3; t3++) {
|
|
18368
18363
|
const e3 = t3 * s3;
|
|
18369
18364
|
n3.push({ colStart: o3.colStart, rowStart: i3 + e3 + a4, colEnd: o3.colEnd, rowEnd: i3 + e3 + a4 + l3 - 1 });
|
|
18370
18365
|
}
|
|
18371
18366
|
}
|
|
18372
18367
|
} else {
|
|
18373
|
-
const s3 = t2.colEnd - t2.colStart + 1, i3 = o2 === e.Direction.Left ? p2.colStart : t2.colEnd + 1, a3 =
|
|
18368
|
+
const s3 = t2.colEnd - t2.colStart + 1, i3 = o2 === e.Direction.Left ? p2.colStart : t2.colEnd + 1, a3 = V2.length;
|
|
18374
18369
|
for (let e2 = 0; e2 < a3; e2++) {
|
|
18375
|
-
const o3 =
|
|
18370
|
+
const o3 = V2[e2], a4 = o3.colStart - t2.colStart, l3 = o3.colEnd - o3.colStart + 1;
|
|
18376
18371
|
for (let t3 = 0; t3 < r3; t3++) {
|
|
18377
18372
|
const e3 = t3 * s3;
|
|
18378
18373
|
n3.push({ colStart: i3 + e3 + a4, rowStart: o3.rowStart, colEnd: i3 + e3 + a4 + l3 - 1, rowEnd: o3.rowEnd });
|
|
@@ -18573,7 +18568,7 @@ class D_ {
|
|
|
18573
18568
|
const m2 = t2.formulaInserts;
|
|
18574
18569
|
if (m2) {
|
|
18575
18570
|
const t3 = Za(m2);
|
|
18576
|
-
this._autoFit(t3,
|
|
18571
|
+
this._autoFit(t3, V_);
|
|
18577
18572
|
}
|
|
18578
18573
|
a2.commit({ forceAmend: true, viewAfter: { calculationSideEffect: true } });
|
|
18579
18574
|
if ((t2.bounds || t2.isFull) && !this._initializing) {
|
|
@@ -19027,8 +19022,8 @@ class D_ {
|
|
|
19027
19022
|
}
|
|
19028
19023
|
const k2 = n2._getState(), F2 = {}, O2 = { transpose: s3 ?? false };
|
|
19029
19024
|
g2 && (F2.directStyleSpatial = k2.directStyleSpatial, F2.continuousFillSpatial = k2.continuousFillSpatial, F2.mergeSpatial = k2.mergeSpatial), u2 && (t2._clear([d2], void 0, void 0, false, true), E2.push(d2), F2.rangesListenerSpatial2 = k2.rangesListenerSpatial2);
|
|
19030
|
-
const D2 = l2, L2 = D2._getState(), B2 = Object.keys(F2),
|
|
19031
|
-
for (let t3 = 0; t3 <
|
|
19025
|
+
const D2 = l2, L2 = D2._getState(), B2 = Object.keys(F2), P2 = B2.length;
|
|
19026
|
+
for (let t3 = 0; t3 < P2; t3++) {
|
|
19032
19027
|
const e2 = B2[t3], n3 = F2[e2].createCopiedEntries(d2, v2, O2), r4 = L2[e2].clone(), o2 = n3.removes, s4 = o2.length;
|
|
19033
19028
|
for (let t4 = 0; t4 < s4; t4++) r4.remove(o2[t4]);
|
|
19034
19029
|
r4.load(n3.inserts), L2[e2] = r4;
|
|
@@ -19222,18 +19217,18 @@ class D_ {
|
|
|
19222
19217
|
let m3 = -1, f3 = false, R3 = C2, M3 = 1, N3 = 1;
|
|
19223
19218
|
const F2 = I2[n3];
|
|
19224
19219
|
let O2 = F2.colStart, D2 = F2.rowStart, L2 = F2.colEnd, B2 = F2.rowEnd;
|
|
19225
|
-
const
|
|
19226
|
-
(u2 || d2) &&
|
|
19227
|
-
const
|
|
19228
|
-
let H2,
|
|
19220
|
+
const P2 = this._getUsedCoords();
|
|
19221
|
+
(u2 || d2) && P2 && (O2 = u2 ? P2.colStart : F2.colStart, D2 = d2 ? P2.rowStart : F2.rowStart, L2 = u2 ? P2.colEnd : F2.colEnd, B2 = d2 ? P2.rowEnd : F2.rowEnd);
|
|
19222
|
+
const z2 = { includeRangeTypes: { [Ih.Type.Style]: false, [Ih.Type.Merge]: false, [Ih.Type.Contentful]: false }, excludeHidden: false, bounds: { colStart: O2, rowStart: D2, colEnd: L2, rowEnd: B2 }, orientation: e.Orientation.Column }, W2 = this._cellStateIterator({ ...z2, includeRangeTypes: { [Ih.Type.Merge]: false, [Ih.Type.Table]: false, [Ih.Type.Style]: false }, ignoreEmptyIntersections: true });
|
|
19223
|
+
let H2, j2, V2, $2 = W2.next(), G2 = 1, U2 = 1;
|
|
19229
19224
|
for (; !$2.done; ) {
|
|
19230
19225
|
const e2 = $2.value, n4 = e2[0], l3 = e2[2];
|
|
19231
19226
|
let h3 = C2;
|
|
19232
19227
|
const d3 = l3?.directStyle ?? l3?.table.getStyle() ?? null;
|
|
19233
|
-
d3 === H2 ? h3 =
|
|
19228
|
+
d3 === H2 ? h3 = j2 : (h3 = d3 ? wg(0, c.cellToRange(n4, B_), l3, b2) : C2, j2 = h3);
|
|
19234
19229
|
let u3 = 1, g3 = 1;
|
|
19235
19230
|
const v3 = l3?.merge ?? null;
|
|
19236
|
-
if (v3 ===
|
|
19231
|
+
if (v3 === V2) u3 = G2, g3 = U2;
|
|
19237
19232
|
else {
|
|
19238
19233
|
if (v3) {
|
|
19239
19234
|
const t2 = v3.getCoords();
|
|
@@ -19250,7 +19245,7 @@ class D_ {
|
|
|
19250
19245
|
}
|
|
19251
19246
|
D3 && (O3 = false);
|
|
19252
19247
|
}
|
|
19253
|
-
if (H2 = d3,
|
|
19248
|
+
if (H2 = d3, V2 = v3, (m3 !== x3 || O3) && (-1 !== m3 && r3.push({ col: m3, style: R3, spanWidth: u3, spanHeight: g3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: p2, hasFalse: S2, hasTrue: _2, hasEmpty: w2, minRow: y2, maxRow: E2, colWidth: this._colHeaders.getSpanSize(m3), measureWidth: -1, measureHeight: -1, isFit: f3 }), m3 = x3, R3 = h3, f3 = k3, M3 = u3, N3 = g3, o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", p2 = -1, S2 = false, _2 = false, w2 = false, y2 = I3), E2 = I3, !D3) if (null === A3) w2 = true;
|
|
19254
19249
|
else switch (T3) {
|
|
19255
19250
|
case t.Number:
|
|
19256
19251
|
0 === A3 && (i3 = true), o3 = Math.min(o3, A3), s3 = Math.max(s3, A3);
|
|
@@ -19434,7 +19429,7 @@ class D_ {
|
|
|
19434
19429
|
_addRangesListeners(t2, e2, n2) {
|
|
19435
19430
|
if (this._closed) throw new Error(Wh);
|
|
19436
19431
|
if (!e2) throw new Error(Fh);
|
|
19437
|
-
n2 = n2 ? { ...
|
|
19432
|
+
n2 = n2 ? { ...z_, ...n2 } : z_;
|
|
19438
19433
|
const r2 = n2?.transactional ?? false, o2 = this, s2 = k_++ % Number.MAX_SAFE_INTEGER, i2 = () => {
|
|
19439
19434
|
let t3 = null, e3 = null;
|
|
19440
19435
|
if (r2) {
|
|
@@ -19474,7 +19469,7 @@ class D_ {
|
|
|
19474
19469
|
_addRangesListeners2(t2, e2, n2, r2) {
|
|
19475
19470
|
if (this._closed) throw new Error(Wh);
|
|
19476
19471
|
if (!e2) throw new Error(Fh);
|
|
19477
|
-
n2 = n2 ? { ...
|
|
19472
|
+
n2 = n2 ? { ...z_, ...n2 } : z_;
|
|
19478
19473
|
const s2 = n2?.transactional ?? false, i2 = this, a2 = o.uuidV4(), l2 = O_++, h2 = () => {
|
|
19479
19474
|
let t3 = null, e3 = null;
|
|
19480
19475
|
const n3 = i2._getState();
|
|
@@ -19524,7 +19519,7 @@ class D_ {
|
|
|
19524
19519
|
return !!this._contentCounts(t2, void 0, e2);
|
|
19525
19520
|
}
|
|
19526
19521
|
_getCount(t2, e2 = false) {
|
|
19527
|
-
const n2 = this._contentCounts(t2,
|
|
19522
|
+
const n2 = this._contentCounts(t2, j_, e2);
|
|
19528
19523
|
return n2 ? n2[Jh.Content.Values] ?? 0 : 0;
|
|
19529
19524
|
}
|
|
19530
19525
|
_contentCounts(t2, e2, n2) {
|
|
@@ -20281,18 +20276,18 @@ class D_ {
|
|
|
20281
20276
|
this._rowHeaders.getRange(e2).forEachVisibleSpan((e3, n3) => {
|
|
20282
20277
|
this._colHeaders.getRange(t4).forEachVisibleSpan((t5, r4) => {
|
|
20283
20278
|
u2(h2.search({ colStart: t5, rowStart: e3, colEnd: r4, rowEnd: n3 }, i2));
|
|
20284
|
-
},
|
|
20285
|
-
},
|
|
20279
|
+
}, P_);
|
|
20280
|
+
}, P_);
|
|
20286
20281
|
} else if (s2 === e.Orientation.Column) {
|
|
20287
20282
|
const t4 = { min: r3.colStart, max: r3.colEnd };
|
|
20288
20283
|
this._colHeaders.getRange(t4).forEachVisibleSpan((t5, e2) => {
|
|
20289
20284
|
u2(h2.search({ colStart: t5, rowStart: r3.rowStart, colEnd: e2, rowEnd: r3.rowEnd }, i2));
|
|
20290
|
-
},
|
|
20285
|
+
}, P_);
|
|
20291
20286
|
} else if (s2 === e.Orientation.Row) {
|
|
20292
20287
|
const t4 = { min: r3.rowStart, max: r3.rowEnd };
|
|
20293
20288
|
this._rowHeaders.getRange(t4).forEachVisibleSpan((t5, e2) => {
|
|
20294
20289
|
u2(h2.search({ colStart: r3.colStart, rowStart: t5, colEnd: r3.colEnd, rowEnd: e2 }, i2));
|
|
20295
|
-
},
|
|
20290
|
+
}, P_);
|
|
20296
20291
|
}
|
|
20297
20292
|
} else u2(h2.search(r3, i2));
|
|
20298
20293
|
}
|
|
@@ -20791,7 +20786,7 @@ class D_ {
|
|
|
20791
20786
|
throw n3.rollback(), t4;
|
|
20792
20787
|
}
|
|
20793
20788
|
}, isReadOnly: () => false, setContainerReadOnlyCallback(t3) {
|
|
20794
|
-
} }, new
|
|
20789
|
+
} }, new jp({ ...p2, createDescription: `New ${r2}` })), d2.removeListener = d2.model.addListeners({ onAnyChange(t3) {
|
|
20795
20790
|
c2._emitter.notify("onStyleChange");
|
|
20796
20791
|
} }, { transactional: false }), m2(a2, d2, e2), d2.model;
|
|
20797
20792
|
}
|
|
@@ -21077,9 +21072,9 @@ class D_ {
|
|
|
21077
21072
|
return true;
|
|
21078
21073
|
}
|
|
21079
21074
|
}
|
|
21080
|
-
const L_ = { address: null, scope: null }, B_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 },
|
|
21075
|
+
const L_ = { address: null, scope: null }, B_ = { colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }, P_ = { includeHidden: false };
|
|
21081
21076
|
Object.freeze({ [Jh.Content.Values]: Number.MAX_SAFE_INTEGER, [Jh.Content.Formulas]: Number.MAX_SAFE_INTEGER }), Object.freeze({ [Jh.Content.Values]: 1, [Jh.Content.Formulas]: 1 });
|
|
21082
|
-
const
|
|
21077
|
+
const z_ = { ignoreDataChanges: false }, W_ = { colStart: -1, rowStart: -1, colEnd: -1, rowEnd: -1 }, H_ = [{ colIndex: -1, rowIndex: -1 }, null, null, null, null], j_ = [Jh.Content.Values], V_ = { skipCustomSize: true, expandOnly: true, minContent: true }, $_ = { rowStart: 0, colStart: 0, rowEnd: 0, colEnd: 0 }, G_ = { showFormulaBar: true, showTabs: true, tabRatio: 600, showHorizontalScrollbar: true, showVerticalScrollbar: true, showStatusBar: true, activeSheetId: null };
|
|
21083
21078
|
class U_ {
|
|
21084
21079
|
constructor(t2) {
|
|
21085
21080
|
this._emitter = null, this._emitter = new Ji(this), this._state = { ...G_ }, t2?.json && this._fromJSON(t2?.json);
|
|
@@ -21268,16 +21263,16 @@ class Q_ extends $f {
|
|
|
21268
21263
|
try {
|
|
21269
21264
|
const t3 = [];
|
|
21270
21265
|
switch (n2) {
|
|
21271
|
-
case
|
|
21266
|
+
case Vf.Context.Workbook:
|
|
21272
21267
|
t3.push(e2);
|
|
21273
21268
|
break;
|
|
21274
|
-
case
|
|
21269
|
+
case Vf.Context.Sheet:
|
|
21275
21270
|
t3.push(e2.getSelectedSheet());
|
|
21276
21271
|
break;
|
|
21277
|
-
case
|
|
21272
|
+
case Vf.Context.Ranges:
|
|
21278
21273
|
t3.push(e2.getSelectedRanges());
|
|
21279
21274
|
break;
|
|
21280
|
-
case
|
|
21275
|
+
case Vf.Context.Range:
|
|
21281
21276
|
t3.push(e2.getSelectedRange());
|
|
21282
21277
|
break;
|
|
21283
21278
|
default:
|
|
@@ -21307,11 +21302,11 @@ class Q_ extends $f {
|
|
|
21307
21302
|
try {
|
|
21308
21303
|
Hf({ getPosition: () => n4.getCell().getCoords() }), Y_ = globalThis[K_], globalThis[K_] = X_;
|
|
21309
21304
|
const e3 = this._fn;
|
|
21310
|
-
o2 = e3.call(s2, ...t3), Y_ ? (globalThis[K_] = Y_, Y_ = void 0) : delete globalThis[K_],
|
|
21305
|
+
o2 = e3.call(s2, ...t3), Y_ ? (globalThis[K_] = Y_, Y_ = void 0) : delete globalThis[K_], jf();
|
|
21311
21306
|
} catch (t4) {
|
|
21312
21307
|
throw t4;
|
|
21313
21308
|
} finally {
|
|
21314
|
-
|
|
21309
|
+
jf();
|
|
21315
21310
|
}
|
|
21316
21311
|
await r2(n4, o2);
|
|
21317
21312
|
} catch (t4) {
|
|
@@ -21370,7 +21365,7 @@ const tS = async (t2, e2) => {
|
|
|
21370
21365
|
} catch (t3) {
|
|
21371
21366
|
throw new Error("Invalid Javascript module.", { cause: t3 });
|
|
21372
21367
|
} finally {
|
|
21373
|
-
|
|
21368
|
+
jf();
|
|
21374
21369
|
}
|
|
21375
21370
|
if (!e2) throw new Error(`No function available for '${t2.name ?? t2.commitId}'.`);
|
|
21376
21371
|
const r2 = e2.name;
|
|
@@ -21383,7 +21378,7 @@ const tS = async (t2, e2) => {
|
|
|
21383
21378
|
const s2 = n2[o2], i2 = s2[0], a2 = s2[1];
|
|
21384
21379
|
let l2, c2 = e2 ? () => {
|
|
21385
21380
|
} : await tS(t2, i2);
|
|
21386
|
-
l2 = i2.context && i2.context !==
|
|
21381
|
+
l2 = i2.context && i2.context !== Vf.Context.Calculation ? new Q_(i2, c2, () => null, a2) : new $f(i2, c2, () => null, a2), r2.set(i2.name.toUpperCase(), l2);
|
|
21387
21382
|
}
|
|
21388
21383
|
return new Z_({ json: t2, readonlyFunctions: r2 });
|
|
21389
21384
|
};
|
|
@@ -21507,7 +21502,7 @@ class mS {
|
|
|
21507
21502
|
return this._get().length;
|
|
21508
21503
|
}
|
|
21509
21504
|
}
|
|
21510
|
-
const fS = new RegExp(/[\\/\\*?:[\]]+/), pS = new RegExp(/\(((\d+)(?!.*\d))\)$/, "g"), _S = (t2) => `Sheet${t2 + 1}`, SS = (t2, e2) => ({ ...
|
|
21505
|
+
const fS = new RegExp(/[\\/\\*?:[\]]+/), pS = new RegExp(/\(((\d+)(?!.*\d))\)$/, "g"), _S = (t2) => `Sheet${t2 + 1}`, SS = (t2, e2) => ({ ...zg, getSheet: () => null, toString: () => Vc(t2, e2) }), wS = (t2, e2 = false) => {
|
|
21511
21506
|
if (!t2) throw new Error(dS);
|
|
21512
21507
|
if (fS.test(t2)) {
|
|
21513
21508
|
if (!e2) throw new Error(((t3) => `${t3 ? `'${t3}'` : hS} can not contain any of the following characters '\\ , / , * , ? , : , [ , ]'.`)(t2));
|
|
@@ -21570,7 +21565,7 @@ class yS extends x_ {
|
|
|
21570
21565
|
}
|
|
21571
21566
|
toString() {
|
|
21572
21567
|
const t2 = this.getCoords(), e2 = this._sheet, n2 = e2.getEntireRange().getCoords(), r2 = { sheetName: e2.getName(), ...n2 };
|
|
21573
|
-
return Jc(t2, r2,
|
|
21568
|
+
return Jc(t2, r2, Vc, Bc);
|
|
21574
21569
|
}
|
|
21575
21570
|
}
|
|
21576
21571
|
class ES extends I_ {
|
|
@@ -21596,7 +21591,7 @@ class ES extends I_ {
|
|
|
21596
21591
|
}
|
|
21597
21592
|
toString() {
|
|
21598
21593
|
const t2 = this._sheet, e2 = t2?.getEntireRange().getCoords() ?? null;
|
|
21599
|
-
return
|
|
21594
|
+
return Vc(this.getCoords(), { ...e2, sheetName: t2.getName() });
|
|
21600
21595
|
}
|
|
21601
21596
|
addListener(t2, e2) {
|
|
21602
21597
|
if (!this.getCoords()) return () => {
|
|
@@ -21682,7 +21677,7 @@ class CS {
|
|
|
21682
21677
|
_initState() {
|
|
21683
21678
|
let t2 = this._getSheetRefs();
|
|
21684
21679
|
for (let e3 = t2 && t2.length - 1; e3 >= 0; e3--) ;
|
|
21685
|
-
this._isDate1904 = this._options.date1904 ?? false, this._theme = this._options.theme ?? new
|
|
21680
|
+
this._isDate1904 = this._options.date1904 ?? false, this._theme = this._options.theme ?? new Vi().getDefaultTheme(), this._styles = this._options?.styles ?? new Nm(this._theme), this._ownStyles = !this._options.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new U_()), this._listenerProtection?.(), this._protection = new oS(void 0, this._options.readonly ?? false), this._listenerProtection = this._protection.addListeners({ onChange: (t3) => {
|
|
21686
21681
|
e2._emitter.notify("onProtectionChange");
|
|
21687
21682
|
} });
|
|
21688
21683
|
const e2 = this;
|
|
@@ -22255,7 +22250,7 @@ class CS {
|
|
|
22255
22250
|
_createScripts(t2) {
|
|
22256
22251
|
return new nS({ transactions: this._transactions, json: t2, workbook: this, onAdd: (t3, e2) => {
|
|
22257
22252
|
const n2 = this._calculation;
|
|
22258
|
-
n2.getStatus() !==
|
|
22253
|
+
n2.getStatus() !== zm.Status.Off && n2.start().then(() => {
|
|
22259
22254
|
const t4 = e2.getFunctions().getItems({ type: "formula" });
|
|
22260
22255
|
for (let e3 = 0; e3 < t4.length; e3++) {
|
|
22261
22256
|
const n3 = t4[e3];
|
|
@@ -22373,7 +22368,7 @@ export {
|
|
|
22373
22368
|
Gi as IAnchored,
|
|
22374
22369
|
sp as IAutoFilter,
|
|
22375
22370
|
Xs as IBorder,
|
|
22376
|
-
|
|
22371
|
+
zm as ICalculation,
|
|
22377
22372
|
Jh as ICell,
|
|
22378
22373
|
rp as ICellHeaderRange,
|
|
22379
22374
|
np as ICellRange,
|
|
@@ -22383,7 +22378,7 @@ export {
|
|
|
22383
22378
|
Jo as IFont,
|
|
22384
22379
|
os as IFontCollection,
|
|
22385
22380
|
op as IMovable,
|
|
22386
|
-
|
|
22381
|
+
Pm as IPicture,
|
|
22387
22382
|
ks as IPrint,
|
|
22388
22383
|
Sp as ISheet,
|
|
22389
22384
|
cp as ISheetView,
|
|
@@ -22394,7 +22389,7 @@ export {
|
|
|
22394
22389
|
wo as ITextFrame,
|
|
22395
22390
|
yi as ITheme,
|
|
22396
22391
|
Ei as IThemeCollection,
|
|
22397
|
-
|
|
22392
|
+
it as LicenseManager,
|
|
22398
22393
|
mi as NumberFormat,
|
|
22399
22394
|
Wm as Picture,
|
|
22400
22395
|
pp as RangeClipboardItem,
|
|
@@ -22407,9 +22402,9 @@ export {
|
|
|
22407
22402
|
Nm as StyleCollection,
|
|
22408
22403
|
$f as T,
|
|
22409
22404
|
ym as Table,
|
|
22410
|
-
|
|
22405
|
+
Po as TextUtils,
|
|
22411
22406
|
Hi as Theme,
|
|
22412
|
-
|
|
22407
|
+
Vi as ThemeCollection,
|
|
22413
22408
|
k as TransactionStore,
|
|
22414
22409
|
L as TransactionUndoManager,
|
|
22415
22410
|
Tt as Tuple,
|