@sheetxl/sdk 0.6.17 → 0.6.19
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/{SDe43jbsWmUivkUh.cjs → B2TvFOBQI6T9tLdl.cjs} +1 -1
- package/browser/cjs/{g-p1ZhI1XIJx-vvq.cjs → B2iWYefJIM-ljJT7.cjs} +1 -1
- package/browser/cjs/{OlJ4WvknCU0tx9zr.cjs → BF2d4AT-8wC4o-bd.cjs} +2 -2
- package/browser/cjs/{Dudo2JNx8nSohuJ9.cjs → BH4dg2gmB8oqTsOx.cjs} +1 -1
- package/browser/cjs/{DAVtwWgUmRbYKaUI.cjs → BNKG49ksGHesGgun.cjs} +1 -1
- package/browser/cjs/{ByU95-ZXPn3w3tPi.cjs → BcBkNNZV_EjdyUd0.cjs} +1 -1
- package/browser/cjs/{vytrRYuoufF5SUFz.cjs → Brt1Qu7ve1aGQx6E.cjs} +1 -1
- package/browser/cjs/{C2z-2oeFQXCC2sdF.cjs → BsNHmPq15Y18d0RS.cjs} +1 -1
- package/browser/cjs/{g44jkX22Kjpaujd8.cjs → Bt1ddAjROFhxZRJS.cjs} +1 -1
- package/browser/cjs/{B8C0qJCXRmSK9w8i.cjs → CLELPc8mqn0NMEE9.cjs} +1 -1
- package/browser/cjs/{CNU-5-cLXkZdlc_I.cjs → CMez-Q0Fl_LdzGS5.cjs} +1 -1
- package/browser/cjs/{B0ZRkYe5vXS8AXl5.cjs → CPROWXJ7-Vzn3Sfn.cjs} +1 -1
- package/browser/cjs/{DS7I31gDrgGx-Kjc.cjs → Cjx3UtDpKKsZLfwU.cjs} +1 -1
- package/browser/cjs/{DwpsSlAaY2T3Rh0z.cjs → CqNMA0sKeFRmQ2Eh.cjs} +1 -1
- package/browser/cjs/{BynzHHQPUmhMyHYX.cjs → D2AM2GNT5nmryV8o.cjs} +3 -3
- package/browser/cjs/{Bt0KH5ry8A-H2XJc.cjs → D3wvl1Jt_Db2XuUu.cjs} +1 -1
- package/browser/cjs/{DbJg_p3YrWqNiONk.cjs → DUwY-SZSA-W33lwq.cjs} +1 -1
- package/browser/cjs/{QSfpWHpM3ExP8C31.cjs → DW_5WNX_b9CQh-Tg.cjs} +1 -1
- package/browser/cjs/{BjkUWCp2ObvYeP19.cjs → DZVCGZuIHKn--Olt.cjs} +1 -1
- package/browser/cjs/{PYxlwwf8LymgB6KF.cjs → Dm0H2roIEtmOOCde.cjs} +1 -1
- package/browser/cjs/DuOul6ocUy7X2XMm.cjs +54 -0
- package/browser/cjs/{Ck6yfrJGBKcCAnfo.cjs → DxUo5NgFA9Si-djI.cjs} +2 -2
- package/browser/cjs/{BrPDVJeOA7eotIdQ.cjs → QpFiQ0Vkb0hdVd6F.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{C_7BUvmtSDknJjxh.cjs → pCUVkGWuaJ-Fh1Sk.cjs} +1 -1
- package/browser/cjs/{MxGT1owu3LK7lzv4.cjs → tZ0zSXssfQb9NLB5.cjs} +1 -1
- package/browser/cjs/{DSBHJBPea75XkjbG.cjs → v9jptQ8YF5aYiSJW.cjs} +1 -1
- package/browser/cjs/{BiZu_UkuyEYl_49H.cjs → vkOpQTOL5enTWZbk.cjs} +1 -1
- package/{node/esm/DKVh-BpPSxRKNBg0.mjs → browser/esm/8cb_SvXseU1_3JEJ.mjs} +1 -1
- package/browser/esm/{D1kVfIYxJreinijW.mjs → B-hePdrUIvce5Afq.mjs} +1 -1
- package/browser/esm/{Dh0gG6If4az9wdA_.mjs → BEFnMNGlwKl-YIiP.mjs} +1 -1
- package/browser/esm/{DGvCi12sa7ZIIyrU.mjs → BSgF2mfKgB_KN3u_.mjs} +1 -1
- package/browser/esm/{D_RGE3EZfJC5ZZWR.mjs → BaH_dWF6RON0Ks5Q.mjs} +2 -2
- package/browser/esm/{xQmntmz9bIJQGGk5.mjs → Bg2jEBgucoRjg6NJ.mjs} +1 -1
- package/{node/esm/Cjbrqj_RTTjDFoIZ.mjs → browser/esm/BkOPvQxEjpcoCCwZ.mjs} +1 -1
- package/{node/esm/BbRFZyuCl2YcHE_O.mjs → browser/esm/C3_W7w2B3I_H-_2M.mjs} +1 -1
- package/browser/esm/{BcSMUT4Sx-YNny4I.mjs → C9WHn2CJSsdQlIko.mjs} +1 -1
- package/browser/esm/{v18e8vKmxVrtktOm.mjs → CF0OiNcWgfLgjof_.mjs} +1 -1
- package/browser/esm/{vbJIfJnzIQ7BWeaz.mjs → CJ8LhKbXvgTrTahT.mjs} +1 -1
- package/browser/esm/{Bj5dWxpiNTkchR1Y.mjs → CJkei1edw7hp_s9K.mjs} +1 -1
- package/browser/esm/{DbfaEgmktGZoVmR9.mjs → CsS2CAW3agbooMav.mjs} +1 -1
- package/browser/esm/{BCR-QupOzqFjIQ26.mjs → Ct-rS3MAxgjTsXsF.mjs} +5110 -5108
- package/browser/esm/{PC-0s4BlfmcUuM2n.mjs → D84oDwMsdQ_bB2af.mjs} +2 -2
- package/{node/esm/Bo9TMq-qqBydQB-d.mjs → browser/esm/DNoNAnp_rl_NdD23.mjs} +1 -1
- package/browser/esm/{sblqA0GEw7u_7uUc.mjs → DUKkVJORU61xxXI0.mjs} +1 -1
- package/browser/esm/{W2jVr33Yj6xCsoBI.mjs → DV7-4_-IS4EsPwJm.mjs} +3 -3
- package/browser/esm/{Bu-rq4yH8T1EwN2P.mjs → DYTm7pS8tXblZ9Px.mjs} +1 -1
- package/browser/esm/{CiDTEYF3f2Ays6hs.mjs → DjSI-5dgg1AkFmRQ.mjs} +1 -1
- package/browser/esm/{1H4OcVpECNdo2leo.mjs → Ds5GHQzEDJku499M.mjs} +1 -1
- package/browser/esm/{CF9WRmqFK1b5FwUY.mjs → DsmE784G2MKC2REI.mjs} +1 -1
- package/browser/esm/{CijgE8Xdf4U-p_n_.mjs → GgIszM2-0b6Y9TRR.mjs} +1 -1
- package/{node/esm/D3Dm6W1dzveetEon.mjs → browser/esm/Kzs5BIcFoiT86KC6.mjs} +1 -1
- package/{node/esm/Ls1ZSIs4_Dizy6M2.mjs → browser/esm/UJOf4aE3NfMEUpQv.mjs} +1 -1
- package/browser/esm/{VABCB8JWd3GRuJSJ.mjs → VPHBrGxnk0qHmeNP.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{BSkaqwyDqSBFahkS.mjs → zm4iD0p6YdIsQOZx.mjs} +1 -1
- package/node/esm/{DrAv_iWPmonAJ9-3.mjs → 5WQcSozNVbwlCV5N.mjs} +1 -1
- package/{browser/esm/DKVh-BpPSxRKNBg0.mjs → node/esm/8cb_SvXseU1_3JEJ.mjs} +1 -1
- package/node/esm/{D1kVfIYxJreinijW.mjs → B-hePdrUIvce5Afq.mjs} +1 -1
- package/node/esm/{Dh0gG6If4az9wdA_.mjs → BEFnMNGlwKl-YIiP.mjs} +1 -1
- package/node/esm/{C4eGsdqRlRQklHCI.mjs → BWdeYoMSneJZAsOO.mjs} +1 -1
- package/{browser/esm/Cjbrqj_RTTjDFoIZ.mjs → node/esm/BkOPvQxEjpcoCCwZ.mjs} +1 -1
- package/node/esm/{DkQjw7yUaMjLtVhs.mjs → BwbuTPf4DW30takd.mjs} +1 -1
- package/node/esm/{CV4lgmXng9GwC7Jc.mjs → C0uAe0nZkGOU2HsH.mjs} +2 -2
- package/{browser/esm/BbRFZyuCl2YcHE_O.mjs → node/esm/C3_W7w2B3I_H-_2M.mjs} +1 -1
- package/node/esm/{BcSMUT4Sx-YNny4I.mjs → C9WHn2CJSsdQlIko.mjs} +1 -1
- package/node/esm/{v18e8vKmxVrtktOm.mjs → CF0OiNcWgfLgjof_.mjs} +1 -1
- package/node/esm/{BpnjD3v17ME5wsuw.mjs → CJbCQvV-BcwJW3UX.mjs} +1 -1
- package/node/esm/{Bj5dWxpiNTkchR1Y.mjs → CJkei1edw7hp_s9K.mjs} +1 -1
- package/node/esm/{Ch4EonmIhss9y_h3.mjs → CSaexTW3s3AXopFP.mjs} +1 -1
- package/node/esm/{DbfaEgmktGZoVmR9.mjs → CsS2CAW3agbooMav.mjs} +1 -1
- package/{browser/esm/Bo9TMq-qqBydQB-d.mjs → node/esm/DNoNAnp_rl_NdD23.mjs} +1 -1
- package/node/esm/{sblqA0GEw7u_7uUc.mjs → DUKkVJORU61xxXI0.mjs} +1 -1
- package/node/esm/{Bu-rq4yH8T1EwN2P.mjs → DYTm7pS8tXblZ9Px.mjs} +1 -1
- package/node/esm/{60NBbrQpc9hm9XDF.mjs → DuHiX01S79dOmmsy.mjs} +1 -1
- package/node/esm/{CduvvHyonYr0CJdM.mjs → DuRBG5ttXEdHC_ll.mjs} +1 -1
- package/node/esm/{B-VscQXhRPYYzMBg.mjs → DuhJO8-AA9pqgggQ.mjs} +1 -1
- package/{browser/esm/D3Dm6W1dzveetEon.mjs → node/esm/Kzs5BIcFoiT86KC6.mjs} +1 -1
- package/{browser/esm/Ls1ZSIs4_Dizy6M2.mjs → node/esm/UJOf4aE3NfMEUpQv.mjs} +1 -1
- package/node/esm/{VABCB8JWd3GRuJSJ.mjs → VPHBrGxnk0qHmeNP.mjs} +1 -1
- package/node/esm/index.mjs +491 -505
- package/node/esm/{BSkaqwyDqSBFahkS.mjs → zm4iD0p6YdIsQOZx.mjs} +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +41 -5
- package/types/scripting.d.ts +46 -10
- package/browser/cjs/D_KL_f2CIY390LrK.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.19
|
|
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.
|
|
@@ -18,8 +18,8 @@ const M = (t2, e2) => {
|
|
|
18
18
|
e2.get(r2) !== t3 && n2.set(r2, t3);
|
|
19
19
|
}), n2;
|
|
20
20
|
};
|
|
21
|
-
let
|
|
22
|
-
class
|
|
21
|
+
let N = false;
|
|
22
|
+
class T {
|
|
23
23
|
constructor(t2) {
|
|
24
24
|
this._record = t2;
|
|
25
25
|
}
|
|
@@ -44,15 +44,15 @@ class N {
|
|
|
44
44
|
}
|
|
45
45
|
class F {
|
|
46
46
|
constructor(t2) {
|
|
47
|
-
this._listeners = /* @__PURE__ */ new Set(), this._listenersState = /* @__PURE__ */ new Map(), this._commits = /* @__PURE__ */ new Map(), this._locked = false, this._current = null, this._pending = null, this._isSync = t2?.sync ??
|
|
48
|
-
const e2 = { id: "0", description: "initial", meta: {}, author: this._author, timestamp: Date.now(), states: /* @__PURE__ */ new Map(), version: 0, previousId: null }, n2 = { record: e2, commit: new
|
|
47
|
+
this._listeners = /* @__PURE__ */ new Set(), this._listenersState = /* @__PURE__ */ new Map(), this._commits = /* @__PURE__ */ new Map(), this._locked = false, this._current = null, this._pending = null, this._isSync = t2?.sync ?? N, this._isTransient = t2?.transient ?? false, this._author = t2?.author;
|
|
48
|
+
const e2 = { id: "0", description: "initial", meta: {}, author: this._author, timestamp: Date.now(), states: /* @__PURE__ */ new Map(), version: 0, previousId: null }, n2 = { record: e2, commit: new T(e2) };
|
|
49
49
|
this._current = n2, this._cacheModel = null, this._cacheState = null, this._states = e2.states, this._transactionStack = [], this._transactionOpen = false;
|
|
50
50
|
const r2 = /* @__PURE__ */ new Map();
|
|
51
51
|
r2.set(e2.id, n2), this._commits = r2;
|
|
52
52
|
}
|
|
53
53
|
static {
|
|
54
54
|
this.setDefaultSync = (t2) => {
|
|
55
|
-
|
|
55
|
+
N = t2;
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
getLog(t2, e2 = 100) {
|
|
@@ -132,7 +132,7 @@ class F {
|
|
|
132
132
|
};
|
|
133
133
|
let l2;
|
|
134
134
|
if (0 === n2.length) {
|
|
135
|
-
const e3 = this._current.record, n3 = { states: /* @__PURE__ */ new Map(), id: o.uuidV4(), description: "string" == typeof t2 ? t2 : t2?.description ?? null, meta: {}, timestamp: Date.now(), author: null, version: e3.version + 1, previousId: e3.id, viewBefore: null, viewAfter: {}, operation: t2?.operation }, r3 = { record: n3, commit: new
|
|
135
|
+
const e3 = this._current.record, n3 = { states: /* @__PURE__ */ new Map(), id: o.uuidV4(), description: "string" == typeof t2 ? t2 : t2?.description ?? null, meta: {}, timestamp: Date.now(), author: null, version: e3.version + 1, previousId: e3.id, viewBefore: null, viewAfter: {}, operation: t2?.operation }, r3 = { record: n3, commit: new T(n3) };
|
|
136
136
|
this._pending = r3, this._notify("onCommitStart", r3.commit), l2 = new O(this, r3, e3?.states, t2, a2);
|
|
137
137
|
} else {
|
|
138
138
|
l2 = n2[n2.length - 1].beginTransaction(t2, a2);
|
|
@@ -377,7 +377,7 @@ class B extends s {
|
|
|
377
377
|
}
|
|
378
378
|
const L = () => {
|
|
379
379
|
try {
|
|
380
|
-
return "0.6.
|
|
380
|
+
return "0.6.19";
|
|
381
381
|
} catch (t2) {
|
|
382
382
|
return "";
|
|
383
383
|
}
|
|
@@ -457,101 +457,42 @@ KeyFrom: '${t2.keyFrom()}'`, console.log(l2(o2))), Promise.resolve();
|
|
|
457
457
|
return r2.join("");
|
|
458
458
|
})(t2, n2 - e2), G = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
|
|
459
459
|
function U(t2, e2, n2, r2, o2) {
|
|
460
|
-
return
|
|
460
|
+
return K(t2 - 749, r2);
|
|
461
461
|
}
|
|
462
|
-
function J(
|
|
463
|
-
|
|
462
|
+
function J() {
|
|
463
|
+
const t2 = ["bXdcLWKpeW", "pCoJW54oWQddNdBdICoXpSoqW4SP", "WO4TW7D8dGtcIWf9", "W6qYW6aqWRJdMq", "aqVcJq4p", "WR3cGGaRy8kGW5K", "W6lcQmk7lZFcQNldKCkcEcRcN8oY", "i3ihWP9RqhBcIMy", "n28RmXfGWQO", "f8kTW6JcPZhcNG", "uwmMWQVdRGi", "W7DaW6xcLCkBpG", "WRbYWQVcG8oZrfRdHHC7FKlcI8kYWRhcKmkQccW9", "WRr3WOZdKCofrwhdISkhW5RdOfz8", "WQldUSouWQtdOCoLk8oRWQ5E", "w2TPtaCPWRLflmo7", "BeSOWOrr", "W6tcRmkHidVcTfhdS8kzFZdcJSoZW6y", "FSk5WOrBmZO", "Be8LWPLqW64", "DmkUWO9zptC", "ELVcMmkfW53dMW", "W5GxW6Hf", "d8kzcdePmW", "WRG7A8klW5tcQ8k4ySo1", "WQ7dNSotg1ZcS8ox", "WQldKI5lfSkZCgXKwa", "m8oRW5mfWQVdNqpdSmo9kq", "bceZW5NcJCokW7i", "EmkaaCoUW5VcUa", "kSosWPToW4FcUYywWPqE", "A8k/WObmpsWJlmkEW4q", "WQBdKSoeh1VcRmobW4ZcPbe", "fSoei8kzW4FdG1O", "aczyW7FdVsHyWORcPSoC", "WRNdJ8ogcehcRmoZW67cTqa", "W7VdLuCCACkrW4JdOwW", "BCkaeCozW43cThzIWRRdS3GKECknBa", "Emo9js1HdmoVWPyQ", "ESkxcSo2W5hcRN8", "WPL4W7/cO8o5xvRdHHu7", "D8knWQLOW6RcNcyi", "peSGeCkqW4NdSY5VW5D8W6tcVNiU", "WQVcLH/cIa", "ueJcUetcI3WKWQWTW5T9qSkDf8oMfG", "t8oko8o6nmkfWRldRmo7WPVdMmkPEW", "W6G5W40AWQZdImk7vgiR", "W60NW5pcH8kuaq", "W5avW44eW6qinvm", "W50AW4NcKmkyatFdNSkO", "W6HrW6RcGmkBjCo/z3BcVW", "CYJcNSoHdCodpqZcJKeNW5CH", "W4GVWR7dLmkUgqldPaKhkvlcMG", "W4WQWPNcICksda", "WR8xW5ddNLJcJW", "keyXnSkrW5JdSW", "ss7cJCoK", "WQ/dJSkt", "DSoFkmoNl8kdWPpdUG", "W6pdSJugW6RcVW", "WPdcLWeTyCkI", "C2qPnWSUWRD+bZFcJXBdTIBcU8kc", "q3JdM8o1WQZcISk7", "E14WWOXmW7hcN2CnsHJdQCopCG", "fSoei8kdW4hdILRcKmok", "WRyFWQldTmoHvKW", "jmkmCCode8kcWP7dOCob", "WPmyWRFdSmoJte3cVmkTfSkjrxDoW6JdUSokW7tcPmkFW4u/WOhcMJGRAb0c", "ls7cRa9oAMq5W5ZcUSoTWQ4l", "W5GqW7jdW60YoXRdGmoKW4Pq", "WQZdRmoUWO/dOmo0", "iCkmFCkHASkOWQ7dP8oDWQ/dIq", "W7BcIhGCm8k8EubPCNG", "omoNW4qVWPy", "WR7dKSkmA8ok", "k8o+W5mkEwHceCkGW4nhWP/dPW", "WRpdUc3cKID+WO4Cymkbb0Wv", "W4ZcOmk2jdZcQ0FcG8koBI7cK8oKW6FdMCoLWRbqWRK", "w3KeW6RdPH99WQxcGCoeWOi", "f2WtWQTArtO", "AdS0xbyvWOS2cuNdNeql", "i3u1oG", "nSkBW63dISo1WQNcPmo3W7dcJsjR", "jmk4W7tcQsVcGK8zeKJdJSk1W5u", "W5xdSqizW6xcPW", "DComkmo/", "W7JdKKT1q8k+W6BdMMHs", "aCoujmkL", "D3xcRhf3W6hdICkiWONcVLpcHSkuaJqNW7egea", "bYeZW7RcKCopW60RumoIW4Sg", "k8kJW5NdLSkADeC", "lNakWQDFxZT1WOBcIwa5W6uVW4RdGSoOna", "dhypWP12zNBcKg0OqG", "yJzYyeHxWOf/iulcMG", "WPtdPepcMdTR", "xwGyWQ3dUb4", "pZq1W5hcISos", "WRGxW4FdV17cIdW", "cSkeW7hdKmo0WRhcG8obW7FcLY9xW6GHWP0tn8oUbG", "WO3cTbySW4FcN8o5iG", "qexcNmk6W5ldNq", "oSkNW5VdHSknu0xdR2ddNmkHW6/cUIa", "Bt8UEryE", "W5/cUCkNkdZcRa", "hSkWW6xcPtxcGMitcfO", "WPC/zCkkW5tcVmk8", "C1lcTKFdMq", "WQ3dNSotoedcTSoiW6pcHqNcTCog", "WQfcW7VcLCoZxvtdScy", "oCkAndCJiSoEWQ/dNSo1c8ov", "AMNdQcDAsgmPW6O", "WRRdICoif1ZcRmob", "W6/dIGiQW5dcK8oq", "v1JcNxHkW5RdOmk5WRBcKLVcPSkJ", "Cx4EWQxdPG5TW6dcGmodWPWLWQ3cSW", "W6SZW4SAWQBdMq", "amkyW5RdLCo6WRe", "WRZcHHJcPmoeW7/cMNBcSgW", "mL0cmSkjW4NdUW", "A0KTWOa", "bsKMW5hcImkg", "cCoGWP1lWR8ggG", "kaX0W54xWQtdNKewBIBdHCoL", "vCoFDgP9yCkQWPRdUSo0o8oxWQa", "WQqtW43dQv7cJJ/dHgy4", "oNmdjbLI", "r8k7WPnxjYSWimkEW417WOpdSq", "mJ7cSHHizW", "W70ZW4esWRxdJ8k3", "yYKmuX8oWR8", "lSo+j8k/W4hdMLdcHSoX", "edyUW5BcKmoKW6aHESoMW40", "BCk7WOfqW7FcNfFcI8oof8o0W5OVfa", "stu3xWyjWRiWgq", "W7hcQCkyWRddJCoIiSoQWOW", "WRSuWQddTmoKu1VdJmkXemktewrl", "i8odWOHcW5VcSq", "C1dcGmk0W4JdGq", "WQ7dLmokg1ZcSCox", "tJNcGSoMbSofkrVcK046W542", "W7DkW6JcK8kdpSohFxy", "W4ycW4yEW6u+nvtdStNcI04", "WRJdOwZcMYPVWPmhBSkBtM8sWQRdGCo0WQpcHW", "xhuCWQxdOWT6WPdcLSofWP8WWQhcUq", "W6FcRmkHaYFcSu7dH8kVDYRcNW", "W7NcJNuFnmkOt39JEq", "WPOCW4JdMedcJJxcKe81thm7WRaMog0DAt3cLXXpW5pcMmotaq", "WO5OW7JcJW", "nSkBW63dISo1WQK", "WQpcJHaHyCkLW5NdPW", "hmoXWOr9WRu1aMW", "nguOnWPVWQ10pxJcHHldIYe", "WOaNW7bRce3dGuO", "W4LpFqBdLu4", "egeiWPr2ta", "d8kXW7BcPq", "bsOJW4VcS8opW7uN", "W5mEW4SdW4ytjeG", "fItcNSkrW7FdLCoVyY7dT8kvs8kuWRa", "WQBdLmoeg0hcTSolW6K", "d2esWRHNxq", "WPxdKmkxy8oiW7BcGWDVWP9pyq", "BvpcN1vpW5ddOCo3WQNcNNpcPSk0iHryW5eMmhm", "sKJcUetdGLqSWRST", "fmoznmkOW57dMLBcTSoaW74", "fHZcKciowJmfWQhcTSk4WQldOYpdNG", "kJtcKbbFBNSVW4JcQCoWWQuSFgJcNsCD", "W5WhW6nz", "WPRdSNNcSZP6WOyhBCkg", "WQJcGGCgESk/W5ddPK5RgJ0", "ugK5DbClWQ5zpSoNW63dPLdcPG", "W7FcHNGup8kPEKzVBMKcWQu", "WPVdPwJcKIvR", "WQ7dNSotg1ZcS8oxW5FcSWhcR8oxlJ4", "WOSOzmkaW4NcPW", "qmoUman9aCoIWOyzWPH7WRr1pIy", "WO11W67cGSoOuvFdSbuHpvtcLCkKWRFcPSkNbda", "C0ZcVe3dKvu", "vsW7xHOdWROWbq", "WQhdHCkCtmouW63cRa", "v8o+nYK", "n2uYmXfIWQPbax7cJapdPYe", "lCkWW5RdJSkwqvq", "WOqNW6q", "AZz2yq9bWOHBmwC", "WRqxW4RdU1NcJJ3dLeC9w3m", "xvlcT8oGgCoyWQtcTczcW4uLWRG", "W4mUWO4tWRxdN8k3vx89kCkLW7dcGHuLWOOxW7G", "ECojh8oYnSkyWPi", "BxpdMCoaWQNcJSk6CXBdN8kHwSk/WQxdHmo0", "D1/cT0BdJKiDWR0HW5T6qSoz", "BJ8SvX8iWQSHeMtdH1qbW4G", "omopiCkSW4ldH1VdUCocW6qgWRFcIufFWRFcJHTgaW", "DCocoCo6kmki", "mH9AW58vWOCZqGqWWPldQSow", "WPq9zSkoW4K", "WRZcKXi2E8kLW6VdQ35I", "W65dW6pcU8k9erJcSSoY", "oCkCjZiKmSo9WRRdLq", "sK7cQ0hdHuqpWQ4MW5TRvq", "WOqTW614eKq", "W40AW7HiW6KcnWhdJ8o+", "W7NdTcydW7hcQSoOhMxdOSo7W5BdV8oLgmk6Edmqsd90j8kEW4i"];
|
|
464
|
+
return (J = function() {
|
|
465
|
+
return t2;
|
|
466
|
+
})();
|
|
464
467
|
}
|
|
465
468
|
!(function() {
|
|
466
|
-
const t2 =
|
|
469
|
+
const t2 = 532, e2 = "KUDT", n2 = "aQ0U", r2 = 497, o2 = "JHeb", s2 = 460, i2 = "Laa8", a2 = 230, l2 = "9(1p", c2 = 499, h2 = "9bL!", d2 = J();
|
|
470
|
+
function u2(t3, e3, n3, r3, o3) {
|
|
471
|
+
return K(o3 - -96, t3);
|
|
472
|
+
}
|
|
467
473
|
function g2(t3, e3, n3, r3, o3) {
|
|
468
|
-
return
|
|
474
|
+
return K(n3 - -871, r3);
|
|
469
475
|
}
|
|
470
476
|
function m2(t3, e3, n3, r3, o3) {
|
|
471
|
-
return
|
|
472
|
-
}
|
|
473
|
-
function f2(t3, e3, n3, r3, o3) {
|
|
474
|
-
return et(r3 - -521, t3);
|
|
475
|
-
}
|
|
476
|
-
function p2(t3, e3, n3, r3, o3) {
|
|
477
|
-
return et(e3 - -72, t3);
|
|
478
|
-
}
|
|
479
|
-
function _2(t3, e3, n3, r3, o3) {
|
|
480
|
-
return et(e3 - 58, n3);
|
|
477
|
+
return K(n3 - 149, e3);
|
|
481
478
|
}
|
|
482
479
|
for (; ; ) try {
|
|
483
|
-
if (
|
|
484
|
-
|
|
480
|
+
if (750795 === -parseInt(g2(0, 0, -597, "Q(]1")) / 1 * (parseInt(g2(0, 0, -t2, e2)) / 2) + -parseInt(m2(0, n2, 464)) / 3 + -parseInt(g2(0, 0, -r2, "yEut")) / 4 * (parseInt(m2(0, o2, s2)) / 5) + -parseInt(g2(0, 0, -509, i2)) / 6 + parseInt(u2("Wu[F", 0, 0, 0, a2)) / 7 * (parseInt(u2(l2, 0, 0, 0, 254)) / 8) + parseInt(u2("W9w)", 0, 0, 0, 157)) / 9 + parseInt(g2(0, 0, -c2, h2)) / 10) break;
|
|
481
|
+
d2.push(d2.shift());
|
|
485
482
|
} catch (t3) {
|
|
486
|
-
|
|
483
|
+
d2.push(d2.shift());
|
|
487
484
|
}
|
|
488
485
|
})();
|
|
489
486
|
const q = () => {
|
|
490
|
-
const t2 =
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
function o2(t3, e3, n3, r3, o3) {
|
|
500
|
-
return et(t3 - 25, n3);
|
|
501
|
-
}
|
|
502
|
-
return q()[o2(t2, 0, e2)](o2(n2, 0, "[9K!")) || q() === et(-184 - -364, r2);
|
|
503
|
-
}, X = (t2, e2, n2, r2) => {
|
|
504
|
-
const o2 = 344, s2 = "om)(", i2 = 102, a2 = 697;
|
|
505
|
-
function l2(t3, e3, n3, r3, o3) {
|
|
506
|
-
return et(r3 - 948, n3);
|
|
507
|
-
}
|
|
508
|
-
function c2(t3, e3, n3, r3, o3) {
|
|
509
|
-
return et(t3 - i2, n3);
|
|
510
|
-
}
|
|
511
|
-
function h2(t3, e3, n3, r3, o3) {
|
|
512
|
-
return et(o3 - -269, r3);
|
|
513
|
-
}
|
|
514
|
-
function d2(t3, e3, n3, r3, o3) {
|
|
515
|
-
return et(t3 - -636, o3);
|
|
516
|
-
}
|
|
517
|
-
return { licensee: () => t2[h2(0, 0, 0, "om)(", -145)], expiration: () => new Date(t2[h2(0, 0, 0, "o1M@", -82)]), domains: () => t2[l2(0, 0, "%Gg(", 1204)] ?? [], developerCount: () => t2[c2(251, 0, "yE5a")] ?? 1, cpuCount: () => t2[l2(0, 0, "gJUw", 1069)] ?? 0, type: () => t2[d2(-341, 0, 0, 0, "bl9f")] ?? h2(0, 0, 0, "%Gg(", -25), exceptions: () => e2, isValidFor: (t3) => {
|
|
518
|
-
if (e2?.[n3 = o2, r3 = s2, c2(n3 - -46, 0, r3)] > 0) return false;
|
|
519
|
-
var n3, r3;
|
|
520
|
-
return true;
|
|
521
|
-
}, isValid: () => true, isEval: () => false, features: () => {
|
|
522
|
-
return Object[e3 = "Kr(R", n3 = 844, et(n3 - a2, e3)](t2[c2(276, 0, "#G((")] ?? {});
|
|
523
|
-
var e3, n3;
|
|
524
|
-
}, keyFrom: () => n2, getBuildVersion: P[d2(-452, 0, 0, 0, "uoD^")], getBuildDate: P[d2(-502, 0, 0, 0, "Oid*")] };
|
|
525
|
-
}, Y = (t2) => {
|
|
526
|
-
const e2 = 799, n2 = 708, r2 = 850, s2 = 912, i2 = "taqr", a2 = "F5u0", l2 = "Oid*", c2 = 633;
|
|
527
|
-
function h2(t3, e3, n3, r3, o2) {
|
|
528
|
-
return et(r3 - 48, o2);
|
|
529
|
-
}
|
|
530
|
-
let d2 = o[u2(-122, -93, -170, "taqr")];
|
|
531
|
-
function u2(t3, e3, n3, r3, o2) {
|
|
532
|
-
return et(n3 - -389, r3);
|
|
533
|
-
}
|
|
534
|
-
function g2(t3, e3, n3, r3, o2) {
|
|
535
|
-
return et(e3 - -264, r3);
|
|
536
|
-
}
|
|
537
|
-
if (K() || o[u2(0, 0, -120, "yE5a")]()) {
|
|
538
|
-
const t3 = P[m2(e2, n2, "^nz7")](), o2 = new Date(t3), c3 = /* @__PURE__ */ new Date(), h3 = 864e5;
|
|
539
|
-
Math[m2(r2, s2, i2)]((c3[g2(0, -118, 0, a2)]() - o2[u2(0, 0, -156, l2)]()) / h3) >= 120 && (d2 = [g2(0, -81, 0, "Rfz&")]);
|
|
540
|
-
} else d2 = [];
|
|
541
|
-
function m2(t3, e3, n3, r3, o2) {
|
|
542
|
-
return et(t3 - c2, n3);
|
|
543
|
-
}
|
|
544
|
-
return { licensee: () => u2(0, 0, -237, "S^)E"), expiration: () => null, domains: () => [q()], developerCount: () => 1, cpuCount: () => 0, type: () => m2(929, 0, "tBpK"), isEval: () => true, exceptions: () => d2, isValidFor: () => 0 === d2[m2(756, 0, "gJUw")], isValid: () => false, features: () => Object[u2(0, 0, -246, "[9K!")]({}), keyFrom: () => t2, getBuildVersion: P[h2(0, 0, 0, 213, "p[hV")], getBuildDate: P[h2(0, 0, 0, 201, "%pc0")] };
|
|
545
|
-
}, Q = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
|
|
546
|
-
let Z = false;
|
|
547
|
-
function tt(t2, e2, n2, r2, o2) {
|
|
548
|
-
return et(o2 - 433, n2);
|
|
549
|
-
}
|
|
550
|
-
function et(t2, e2) {
|
|
551
|
-
const n2 = at();
|
|
552
|
-
return et = function(e3, r2) {
|
|
553
|
-
let o2 = n2[e3 -= 110];
|
|
554
|
-
if (void 0 === et.JoAcOW) {
|
|
487
|
+
const t2 = 1073, e2 = "c0Pj", n2 = 600, r2 = "9bL!", s2 = 93, i2 = 208;
|
|
488
|
+
return typeof window === K(-490 - -777, "W9w)") ? window[c2 = t2, h2 = e2, K(c2 - 674, h2)][a2 = n2, l2 = "F&SG", K(a2 - i2, l2)] : o[d2 = r2, u2 = 406, K(u2 - s2, d2)]();
|
|
489
|
+
var a2, l2, c2, h2, d2, u2;
|
|
490
|
+
};
|
|
491
|
+
function K(t2, e2) {
|
|
492
|
+
const n2 = J();
|
|
493
|
+
return K = function(e3, r2) {
|
|
494
|
+
let o2 = n2[e3 -= 242];
|
|
495
|
+
if (void 0 === K.HnOjjT) {
|
|
555
496
|
const e4 = function(t3, e5) {
|
|
556
497
|
let n3, r3, o3 = [], s3 = 0, i3 = "";
|
|
557
498
|
for (t3 = (function(t4) {
|
|
@@ -565,282 +506,327 @@ function et(t2, e2) {
|
|
|
565
506
|
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]);
|
|
566
507
|
return i3;
|
|
567
508
|
};
|
|
568
|
-
|
|
509
|
+
K.TVyABB = e4, t2 = arguments, K.HnOjjT = true;
|
|
569
510
|
}
|
|
570
511
|
const s2 = e3 + n2[0], i2 = t2[s2];
|
|
571
|
-
return i2 ? o2 = i2 : (void 0 ===
|
|
572
|
-
},
|
|
512
|
+
return i2 ? o2 = i2 : (void 0 === K.lDXIbv && (K.lDXIbv = true), o2 = K.TVyABB(o2, r2), t2[s2] = o2), o2;
|
|
513
|
+
}, K(t2, e2);
|
|
514
|
+
}
|
|
515
|
+
function X(t2, e2, n2, r2, o2) {
|
|
516
|
+
return K(t2 - 899, e2);
|
|
517
|
+
}
|
|
518
|
+
const Y = () => {
|
|
519
|
+
const t2 = 21;
|
|
520
|
+
function e2(t3, e3, n2, r2, o2) {
|
|
521
|
+
return K(n2 - -416, r2);
|
|
522
|
+
}
|
|
523
|
+
return q()[e2(0, 0, -19, "r[Gh")](e2(0, 0, -36, "m28W")) || q() === e2(0, 0, t2, "WIL*");
|
|
524
|
+
}, Q = (t2, e2, n2, r2) => {
|
|
525
|
+
const o2 = "Wu[F", s2 = 1062, i2 = 673, a2 = 885;
|
|
526
|
+
function l2(t3, e3, n3, r3, o3) {
|
|
527
|
+
return K(o3 - i2, e3);
|
|
528
|
+
}
|
|
529
|
+
function c2(t3, e3, n3, r3, o3) {
|
|
530
|
+
return K(o3 - -697, n3);
|
|
531
|
+
}
|
|
532
|
+
return { licensee: () => t2[l2(0, "Wu[F", 0, 0, 1062)], expiration: () => new Date(t2[l2(0, "JHeb", 0, 0, 1106)]), domains: () => t2[c2(0, 0, "c0Pj", 0, -319)] ?? [], developerCount: () => {
|
|
533
|
+
return t2[e3 = 1316, n3 = "&PgT", K(e3 - a2, n3)] ?? 1;
|
|
534
|
+
var e3, n3;
|
|
535
|
+
}, cpuCount: () => t2[c2(0, 0, "0sON", 0, -307)] ?? 0, type: () => t2[l2(0, "DKS!", 0, 0, 1068)] ?? l2(0, "&PgT", 0, 0, 1046), exceptions: () => e2, isValidFor: (t3) => {
|
|
536
|
+
if (e2?.[n3 = "DKS!", r3 = s2, c2(0, 0, n3, 0, r3 - 1510)] > 0) return false;
|
|
537
|
+
var n3, r3;
|
|
538
|
+
return true;
|
|
539
|
+
}, isValid: () => true, isEval: () => false, features: () => {
|
|
540
|
+
return Object[l2(0, "aQ0U", 0, 0, 931)](t2[e3 = "r[Gh", n3 = -281, K(n3 - -569, e3)] ?? {});
|
|
541
|
+
var e3, n3;
|
|
542
|
+
}, keyFrom: () => n2, getBuildVersion: P[l2(0, "cI7a", 0, 0, 955)], getBuildDate: P[c2(0, 0, o2, 0, -288)] };
|
|
543
|
+
}, Z = (t2) => {
|
|
544
|
+
const e2 = "7V$)", n2 = "#V](", r2 = 1253, s2 = 1088, i2 = 1102, a2 = 1077, l2 = 320, c2 = 347, h2 = "uwts", d2 = 275, u2 = "9d!v", g2 = "KUDT", m2 = 1264, f2 = 1267, p2 = 1173, _2 = "vqcn", S2 = 279, w2 = 731, y2 = 982;
|
|
545
|
+
let E2 = o[C2(1148, "1AG@", 1237)];
|
|
546
|
+
function C2(t3, e3, n3, r3, o2) {
|
|
547
|
+
return K(n3 - y2, e3);
|
|
548
|
+
}
|
|
549
|
+
if (Y() || o[C2(0, e2, 1316)]()) {
|
|
550
|
+
const t3 = P[x2(1110, n2, 1209, r2, 1156)](), e3 = new Date(t3), o2 = /* @__PURE__ */ new Date(), _3 = 864e5;
|
|
551
|
+
Math[x2(s2, "da%p", 978, i2, a2)]((o2[I2(l2, c2, 334, h2, d2)]() - e3[b2 = 425, v2 = u2, K(b2 - 123, v2)]()) / _3) >= 120 && (E2 = [x2(1192, g2, m2, f2, p2)]);
|
|
552
|
+
} else E2 = [];
|
|
553
|
+
var b2, v2;
|
|
554
|
+
function x2(t3, e3, n3, r3, o2) {
|
|
555
|
+
return K(o2 - w2, e3);
|
|
556
|
+
}
|
|
557
|
+
function I2(t3, e3, n3, r3, o2) {
|
|
558
|
+
return K(o2 - 2, r3);
|
|
559
|
+
}
|
|
560
|
+
return { licensee: () => x2(0, "7V$)", 0, 0, 1113), expiration: () => null, domains: () => [q()], developerCount: () => 1, cpuCount: () => 0, type: () => I2(0, 0, 0, "mtqW", 298), isEval: () => true, exceptions: () => E2, isValidFor: () => {
|
|
561
|
+
return 0 === E2[t3 = "aQ0U", e3 = 463, K(e3 - 203, t3)];
|
|
562
|
+
var t3, e3;
|
|
563
|
+
}, isValid: () => false, features: () => Object[C2(0, "R9Cs", 1337)]({}), keyFrom: () => t2, getBuildVersion: P[I2(0, 0, 0, _2, S2)], getBuildDate: P[C2(0, "c0Pj", 1329)] };
|
|
564
|
+
};
|
|
565
|
+
function tt(t2, e2, n2, r2, o2) {
|
|
566
|
+
return K(e2 - 602, r2);
|
|
573
567
|
}
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
568
|
+
const et = { promise: null, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
|
|
569
|
+
function nt(t2, e2, n2, r2, o2) {
|
|
570
|
+
return K(o2 - -357, t2);
|
|
571
|
+
}
|
|
572
|
+
let rt = false, ot = false;
|
|
573
|
+
function st(t2, e2, n2, r2, o2) {
|
|
574
|
+
return K(n2 - -84, t2);
|
|
575
|
+
}
|
|
576
|
+
const it = X(1217, "Q(]1")[X(1155, "Laa8")]("")[X(1168, "vqcn")]((t2, e2) => e2 + t2, "");
|
|
577
|
+
class at {
|
|
577
578
|
constructor() {
|
|
578
579
|
function t2(t3, e2, n2, r2, o2) {
|
|
579
|
-
return
|
|
580
|
+
return nt(e2, 0, 0, 0, t3 - -522);
|
|
580
581
|
}
|
|
581
|
-
this[t2(
|
|
582
|
+
this[t2(-590, "W9w)")][t2(-518, "0sON")] = null;
|
|
582
583
|
}
|
|
583
|
-
async [
|
|
584
|
-
const n2 =
|
|
585
|
-
if (!t2 || t2[
|
|
586
|
-
if (
|
|
587
|
-
const t3 = await this[
|
|
588
|
-
if (t3[
|
|
584
|
+
async [X(1252, "AryR")](t2, e2 = false) {
|
|
585
|
+
const n2 = 478, r2 = 545, s2 = "uWFN", i2 = 391, a2 = 392, l2 = 311, c2 = 476, h2 = 384, d2 = "m28W", u2 = "l#5W", g2 = 784, m2 = 883, f2 = 886, p2 = 399, _2 = 519, S2 = 449, w2 = 892, y2 = 920, E2 = "fZc%", C2 = "JHeb", b2 = 1088, v2 = 1105, x2 = 1039, I2 = "%Xy]", R2 = 956, A2 = "&mu@", M2 = 874, N2 = 610, T2 = "l#5W", F2 = "a5(V", k2 = 384, O2 = 291, D2 = "S22O", B2 = 840, L2 = 714, P2 = "K4]r", z2 = 691, W2 = 693, H2 = 733, V2 = 753, j2 = "&PgT", G2 = 980, U2 = "PXyL", J2 = 861, q2 = "el@B", K2 = 927, Y2 = "AryR", Q2 = 473;
|
|
586
|
+
if (!t2 || t2[lt2(552, 639, 494, "Wu[F")](lt2(559, n2, r2, s2)) || t2[lt2(i2, a2, l2, "c0Pj")](lt2(c2, 542, h2, "S22O")) || t2[st2(-421, -486, -417, d2)](Z2(-528, -621, u2, -520, -556)) || t2[ot2(846, "c0Pj", g2, m2, f2)](lt2(441, p2, 411, "JHeb"))) return rt = true, await this[lt2(_2, 602, S2, "da%p")](true);
|
|
587
|
+
if (rt = false, !e2 && et[ot2(w2, "9bL!", 844, y2, 878)]) {
|
|
588
|
+
const t3 = await this[st2(-464, -399, -449, E2)]();
|
|
589
|
+
if (t3[ot2(999, C2, b2, v2, x2)]() && !t3[Z2(-585, -479, I2, -599, -505)]()) return t3;
|
|
589
590
|
}
|
|
590
|
-
function
|
|
591
|
-
return
|
|
591
|
+
function Z2(t3, e3, n3, r3, o2) {
|
|
592
|
+
return nt(n3, 0, 0, 0, o2 - -513);
|
|
592
593
|
}
|
|
593
|
-
function
|
|
594
|
-
return
|
|
594
|
+
function ot2(t3, e3, n3, r3, o2) {
|
|
595
|
+
return X(o2 - -288, e3);
|
|
595
596
|
}
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
if (!nt2[rt2(703, 753, 847, P2)]()) throw await this[it2("lcv!", 124, -5, 126, z2)](true), new Error(it2(W2, 132, 128, H2, V2));
|
|
599
|
-
function rt2(t3, e3, n3, r3, o2) {
|
|
600
|
-
return st(e3 - 677, r3);
|
|
597
|
+
function st2(t3, e3, n3, r3, o2) {
|
|
598
|
+
return tt(0, t3 - -1313, 0, r3);
|
|
601
599
|
}
|
|
602
|
-
|
|
603
|
-
|
|
600
|
+
et[at2(802, R2, A2, 915, M2)] = t2, et[lt2(535, N2, 552, T2)] = st2(-277, -233, -175, F2), et[lt2(k2, 480, O2, D2)] = null, et[at2(B2, L2, P2, 877, 808)] = null;
|
|
601
|
+
const it2 = await this[at2(z2, W2, "(F2$", H2, V2)]();
|
|
602
|
+
if (!it2[ot2(0, j2, 0, 0, G2)]()) throw await this[st2(-368, 0, 0, U2)](true), new Error(Z2(0, 0, "uwts", 0, -438));
|
|
603
|
+
function at2(t3, e3, n3, r3, o2) {
|
|
604
|
+
return tt(0, o2 - -113, 0, n3);
|
|
604
605
|
}
|
|
605
|
-
function
|
|
606
|
-
return
|
|
606
|
+
function lt2(t3, e3, n3, r3, o2) {
|
|
607
|
+
return nt(r3, 0, 0, 0, t3 - Q2);
|
|
607
608
|
}
|
|
608
|
-
if (o[
|
|
609
|
-
await $[
|
|
610
|
-
if (!(await this[
|
|
609
|
+
if (o[ot2(0, "Q(]1", 0, 0, J2)]()) {
|
|
610
|
+
await $[lt2(516, 0, 0, "fZc%")](t2, e2);
|
|
611
|
+
if (!(await this[at2(0, 0, q2, 0, K2)]())[Z2(0, 0, "cI7a", 0, -512)]()) throw await this[lt2(415, 0, 0, "KUDT")](true), new Error(Z2(0, 0, Y2, 0, -468));
|
|
611
612
|
}
|
|
612
|
-
return
|
|
613
|
+
return it2;
|
|
613
614
|
}
|
|
614
|
-
async [
|
|
615
|
-
const e2 =
|
|
616
|
-
if (
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
return st(t3 - 268, n3);
|
|
615
|
+
async [st("&PgT", 0, 334)](t2 = false) {
|
|
616
|
+
const e2 = 1148, n2 = "uwts", r2 = 1114, s2 = 1154, i2 = "lx[Y", a2 = "xiTH", l2 = 1117, c2 = 1193, h2 = 1185, d2 = "0sON", u2 = "R9Cs", g2 = 349, m2 = "#V](", f2 = "eDcn", p2 = "el@B", _2 = "l#5W", S2 = "AryR", w2 = 326, y2 = 1109, E2 = "Z6pw", C2 = "&PgT", b2 = "&mu@", v2 = 337, x2 = 383, I2 = 256, R2 = "Laa8", A2 = 299, M2 = 366, N2 = 379, T2 = 377, F2 = 433, k2 = 249, O2 = 1183, D2 = "Laa8", B2 = 284, L2 = "aQ0U", z2 = 384, W2 = 586, H2 = 1043, V2 = 969, U2 = 1066, J2 = "1AG@", tt2 = "ZXq#", at2 = 413, lt2 = "PXyL", ct2 = "9bL!", ht2 = "p*]k", dt2 = 439, ut2 = 1084, gt2 = "S22O", mt2 = "c0Pj", ft2 = "GH6d", pt2 = 103, _t2 = 908, St2 = "DKS!", wt2 = 343;
|
|
617
|
+
if (et[At2(-505, -441, -370, "(F2$")]) return et[At2(-576, -507, -407, "vqcn")];
|
|
618
|
+
function yt2(t3, e3, n3, r3, o2) {
|
|
619
|
+
return X(e3 - -901, t3);
|
|
620
620
|
}
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
621
|
+
if (!this[Rt2(1103, 1201, e2, 1194, n2)][Rt2(1089, 1244, r2, s2, i2)] && (this[yt2(a2, 346)][Rt2(1167, l2, c2, h2, d2)] = new Error("FV")), et[Mt2(-174, -80, -148, i2)]) return et[At2(-387, -418, -344, u2)];
|
|
622
|
+
let Et2 = null;
|
|
623
|
+
et[yt2("c0Pj", g2)] = new Promise((t3) => {
|
|
624
|
+
Et2 = t3;
|
|
624
625
|
});
|
|
625
|
-
let
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
return J(t3, n3 - -122);
|
|
631
|
-
}
|
|
632
|
-
const ot2 = async (t3, e3) => {
|
|
633
|
-
function n3(t4, e4, n4, r3, o2) {
|
|
634
|
-
return ct2(t4 - B2, e4 - 45, e4, r3 - 222, o2 - -96);
|
|
626
|
+
let Ct2, bt2 = null;
|
|
627
|
+
const vt2 = async (t3, e3) => {
|
|
628
|
+
const n3 = 131;
|
|
629
|
+
function r3(t4, e4, r4, o2, s3) {
|
|
630
|
+
return Mt2(s3 - -108, e4 - 23, r4 - n3, e4);
|
|
635
631
|
}
|
|
636
632
|
try {
|
|
637
|
-
const
|
|
633
|
+
const n4 = ((t4) => {
|
|
638
634
|
let e4 = t4;
|
|
639
|
-
const
|
|
640
|
-
if (e4 = e4.substring(0, e4.length - 1), e4 = e4.split("").reverse().join(""), e4 = G(e4), e4 = e4.trim(), e4[e4.length - 1] !==
|
|
635
|
+
const n5 = e4[e4.length - 1], r4 = n5.charCodeAt(0) - 52;
|
|
636
|
+
if (e4 = e4.substring(0, e4.length - 1), e4 = e4.split("").reverse().join(""), e4 = G(e4), e4 = e4.trim(), e4[e4.length - 1] !== n5) throw new Error();
|
|
641
637
|
e4 = e4.substring(0, e4.length - 1), e4 = j(e4, r4);
|
|
642
638
|
try {
|
|
643
639
|
e4.startsWith("{") || (e4 = "{" + e4);
|
|
644
|
-
const t5 = JSON.parse(e4),
|
|
645
|
-
return t5.f && (
|
|
640
|
+
const t5 = JSON.parse(e4), n6 = { licensee: t5.l, domains: t5.d, nodeId: t5.n, expiry: t5.e, developerCount: t5.dc, cpuCount: t5.cc, type: t5.t };
|
|
641
|
+
return t5.f && (n6.features = t5.f), n6;
|
|
646
642
|
} catch (t5) {
|
|
647
643
|
throw new Error("Invalid license key.");
|
|
648
644
|
}
|
|
649
645
|
})(e3), s3 = await (async (t4) => {
|
|
650
|
-
const e4 = "
|
|
651
|
-
function
|
|
652
|
-
return
|
|
653
|
-
}
|
|
654
|
-
function k3(t5, e5, n5, r5, o2) {
|
|
655
|
-
return et(o2 - -40, e5);
|
|
646
|
+
const e4 = "xiTH", n5 = 835, r4 = 1012, s4 = 912, i4 = "7V$)", a3 = "K4]r", l3 = "PXyL", c3 = "9(1p", h3 = 827, d3 = 917, u3 = "%Xy]", g3 = "WIL*", m3 = 11, f3 = "ZXq#", p3 = "9d!v", _3 = 940, S3 = "xiTH", w3 = "xiTH", y3 = 1091, E3 = 1026, C3 = 973, b3 = "Z6pw", v3 = "S22O", x3 = "p*]k", I3 = 596;
|
|
647
|
+
function R3(t5, e5, n6, r5, o2) {
|
|
648
|
+
return K(o2 - -295, t5);
|
|
656
649
|
}
|
|
657
|
-
|
|
658
|
-
|
|
650
|
+
const A3 = t4[k3(-62, -124, "%Xy]", -132)], M3 = t4[k3(33, -81, "Q(]1", -45)] ? new Date(t4[R3("eDcn", 0, 0, 0, 81)]) : null;
|
|
651
|
+
function N3(t5, e5, n6, r5, o2) {
|
|
652
|
+
return K(n6 - 839, t5);
|
|
659
653
|
}
|
|
660
|
-
|
|
661
|
-
|
|
654
|
+
const T3 = t4[R3("$S8A", 0, 0, 0, 98)], F3 = [];
|
|
655
|
+
function k3(t5, e5, n6, r5, o2) {
|
|
656
|
+
return K(r5 - -380, n6);
|
|
662
657
|
}
|
|
663
|
-
|
|
664
|
-
return
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
if (N3 ? isNaN(N3) ? P2[B3(0, g3, m3)](F3(0, 654, 0, 0, f3)) : N3 < /* @__PURE__ */ new Date() && P2[O3(856, p3)](F3(0, 575, 0, 0, _3) + N3[D3("RXg7", 0, 0, 0, 157)]()) : P2[k3(0, c3, 0, 0, h3)](F3(0, d3, 0, 0, u3)), o[O3(S3, "yE5a")]()) {
|
|
668
|
-
if (!L3) return P2[B3(0, w3, 946)](k3(0, "7q(s", 0, 0, 119)), P2;
|
|
669
|
-
const t5 = await $[B3(0, "gJUw", 1011)]();
|
|
670
|
-
t5 !== L3 && P2[B3(0, y3, 948)](B3(0, "ei63", 1033) + L3 + F3(0, 620, 0, 0, "lcv!") + t5);
|
|
658
|
+
if (M3 ? isNaN(M3) ? F3[D3("uwts", -232, -242, -261, -191)](k3(0, 0, a3, -49)) : M3 < /* @__PURE__ */ new Date() && F3[k3(0, 0, "9DB^", -97)](k3(0, 0, l3, -63) + M3[D3(c3, -108, -36, -210, -112)]()) : F3[O3(930, 920, 983, e4)](O3(n5, r4, s4, i4)), o[D3("R9Cs", -207, -294, -319, -275)]()) {
|
|
659
|
+
if (!T3) return F3[O3(h3, 828, d3, u3)](k3(0, 0, g3, -73)), F3;
|
|
660
|
+
const t5 = await $[k3(0, 0, "%Xy]", m3)]();
|
|
661
|
+
t5 !== T3 && F3[D3(f3, -119, -21, -133, -98)](O3(1064, 1037, 1025, p3) + T3 + D3("%Xy]", -133, -214, -187, -217) + t5);
|
|
671
662
|
} else {
|
|
672
|
-
if (
|
|
673
|
-
if (
|
|
663
|
+
if (Y()) return F3;
|
|
664
|
+
if (A3 && 0 !== A3[O3(877, _3, 963, c3)]) {
|
|
674
665
|
let t5 = false;
|
|
675
666
|
const e5 = q();
|
|
676
|
-
for (let
|
|
677
|
-
!t5 &&
|
|
678
|
-
} else
|
|
667
|
+
for (let n6 = 0; !t5 && n6 < A3[O3(E3, 941, C3, b3)]; n6++) t5 = e5[N3(v3, 0, 1235)](A3[n6]);
|
|
668
|
+
!t5 && F3[N3(x3, 0, 1101)](k3(0, 0, "Q(]1", -26));
|
|
669
|
+
} else F3[N3(S3, 0, 1226)](N3(w3, 0, y3));
|
|
670
|
+
}
|
|
671
|
+
function O3(t5, e5, n6, r5, o2) {
|
|
672
|
+
return K(n6 - I3, r5);
|
|
679
673
|
}
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
674
|
+
function D3(t5, e5, n6, r5, o2) {
|
|
675
|
+
return K(o2 - -518, t5);
|
|
676
|
+
}
|
|
677
|
+
return F3;
|
|
678
|
+
})(n4), i3 = Q(n4, s3, t3);
|
|
679
|
+
return i3[r3(0, St2, -461, 0, -360)]()[r3(0, "fZc%", -wt2, 0, -310)] > 0 && (Ct2 = i3), i3;
|
|
683
680
|
} catch (e4) {
|
|
684
|
-
|
|
685
|
-
const e5 = "
|
|
686
|
-
function
|
|
687
|
-
return
|
|
681
|
+
Ct2 = ((t4) => {
|
|
682
|
+
const e5 = 1112, n4 = "S22O", r4 = 275, o2 = 783;
|
|
683
|
+
function s3(t5, e6, n5, r5, s4) {
|
|
684
|
+
return K(e6 - o2, s4);
|
|
688
685
|
}
|
|
689
|
-
function
|
|
690
|
-
return
|
|
686
|
+
function i3(t5, e6, n5, r5, o3) {
|
|
687
|
+
return K(r5 - -780, o3);
|
|
691
688
|
}
|
|
692
|
-
return { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () =>
|
|
693
|
-
return [(
|
|
694
|
-
var
|
|
695
|
-
}, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, features: () => Object[
|
|
689
|
+
return { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => i3(0, 0, 0, -475, "WIL*"), exceptions: () => {
|
|
690
|
+
return [(e6 = r4, n5 = "#V](", i3(0, 0, 0, e6 - 669, n5) + t4 + "'")];
|
|
691
|
+
var e6, n5;
|
|
692
|
+
}, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, features: () => Object[s3(0, 1200, 0, 0, "da%p")]({}), keyFrom: () => t4, getBuildVersion: P[a3 = "uWFN", l3 = 1368, K(l3 - 963, a3)], getBuildDate: P[s3(0, e5, 0, 0, n4)] };
|
|
693
|
+
var a3, l3;
|
|
696
694
|
})(t3);
|
|
697
695
|
}
|
|
698
696
|
};
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
if (!H2) {
|
|
710
|
-
const t3 = process[L2(350, 0, "Ea!0")], e3 = t3[L2(h2, 0, "QqG(")] || t3[V2(-716, "#*ih")] || t3[it2(302, "6xu#")] || t3[L2(402, 0, "o1M@")];
|
|
711
|
-
e3 && (H2 = await ot2(V2(-691, d2), e3));
|
|
697
|
+
et[At2(-537, -514, -571, "c0Pj")] && (bt2 = await vt2(et[Rt2(1189, 1095, 1225, 1161, m2)], et[At2(-570, -516, -535, f2)]));
|
|
698
|
+
let xt2 = false;
|
|
699
|
+
function It2(t3, e3, n3, r3, o2) {
|
|
700
|
+
return nt(n3, 0, 0, 0, e3 - -235);
|
|
701
|
+
}
|
|
702
|
+
if (rt && (xt2 = true, bt2 = Z(It2(-328, -308, "da%p", -293))), !bt2) {
|
|
703
|
+
if (o[Mt2(-333, -317, -332, p2)]()) {
|
|
704
|
+
if (!bt2) {
|
|
705
|
+
const t3 = process[It2(0, -295, _2)], e3 = t3[yt2(S2, w2)] || t3[Rt2(1177, y2, 1190, 1176, "KUDT")] || t3[It2(0, -297, "cI7a")] || t3[It2(0, -176, "xiTH")];
|
|
706
|
+
e3 && (bt2 = await vt2(It2(0, -331, E2), e3));
|
|
712
707
|
}
|
|
713
|
-
if (!
|
|
714
|
-
const t3 = await $[
|
|
715
|
-
t3 && (
|
|
708
|
+
if (!bt2) {
|
|
709
|
+
const t3 = await $[At2(-523, -444, -529, C2)]();
|
|
710
|
+
t3 && (bt2 = await vt2(At2(-499, -474, -543, b2), t3));
|
|
716
711
|
}
|
|
717
|
-
!
|
|
712
|
+
!bt2 && (xt2 = true);
|
|
718
713
|
} else {
|
|
719
|
-
if (!
|
|
720
|
-
const t3 = await fetch("./" +
|
|
714
|
+
if (!bt2) try {
|
|
715
|
+
const t3 = await fetch("./" + it);
|
|
721
716
|
let e3 = null;
|
|
722
|
-
if (200 === t3[
|
|
723
|
-
const n3 = (await t3[
|
|
724
|
-
for (let t4 = 0; !e3 && t4 < n3[
|
|
725
|
-
const r3 = n3[t4][
|
|
726
|
-
r3[
|
|
717
|
+
if (200 === t3[Mt2(-v2, -x2, -I2, R2, -A2)]) {
|
|
718
|
+
const n3 = (await t3[At2(-M2, -N2, -382, "p*]k", -T2)]())[yt2("(F2$", F2)]("\n");
|
|
719
|
+
for (let t4 = 0; !e3 && t4 < n3[yt2("m28W", k2)]; t4++) {
|
|
720
|
+
const r3 = n3[t4][Rt2(1214, O2, 1238, 1183, D2)]();
|
|
721
|
+
r3[Mt2(-325, -B2, -289, L2, -z2)]("#") || 0 === r3[At2(-400, -492, -W2, "#V](", -546)] || (e3 = r3);
|
|
727
722
|
}
|
|
728
723
|
}
|
|
729
724
|
if (e3) {
|
|
730
|
-
const t4 =
|
|
731
|
-
|
|
725
|
+
const t4 = Rt2(H2, V2, 995, U2, "F&SG") + it + "')";
|
|
726
|
+
bt2 = await vt2(t4, e3);
|
|
732
727
|
}
|
|
733
728
|
} catch (t3) {
|
|
734
729
|
}
|
|
735
|
-
!
|
|
730
|
+
!bt2 && Y() && (xt2 = true);
|
|
736
731
|
}
|
|
737
732
|
}
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
733
|
+
function Rt2(t3, e3, n3, r3, o2) {
|
|
734
|
+
return st(o2, 0, r3 - _t2);
|
|
735
|
+
}
|
|
736
|
+
function At2(t3, e3, n3, r3, o2) {
|
|
737
|
+
return nt(r3, 0, 0, 0, e3 - -429);
|
|
738
|
+
}
|
|
739
|
+
function Mt2(t3, e3, n3, r3, o2) {
|
|
740
|
+
return st(r3, 0, t3 - -512);
|
|
741
|
+
}
|
|
742
|
+
if (!bt2 && xt2 && (bt2 = Z(yt2(J2, 408))), !bt2 && Ct2 && (bt2 = Ct2), !bt2 && (bt2 = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => false, exceptions: () => [yt2("R9Cs", 425)], isValidFor: (t3) => false, isValid: () => false, features: () => Object[yt2("7V$)", 410)]({}), keyFrom: () => yt2("W9w)", 291), getBuildVersion: P[yt2(tt2, at2)], getBuildDate: P[Mt2(-212, -111, -231, lt2)] }), et[It2(0, -324, "S22O")] = bt2, Et2(bt2), t2) {
|
|
743
|
+
if (!(et[Mt2(-152, 0, 0, ct2)] && et[At2(0, -483, 0, "Laa8")]) && (xt2 || bt2[yt2(ht2, dt2)]()[Rt2(0, 0, 0, ut2, "aQ0U")] > 0 || bt2[At2(0, -488, 0, "JHeb")]()?.pb)) {
|
|
744
|
+
if (ot) return void setTimeout(() => {
|
|
741
745
|
var t3, e3;
|
|
742
|
-
this[t3 =
|
|
746
|
+
this[t3 = ft2, e3 = pt2, It2(0, e3 - 307, t3)](false, false);
|
|
743
747
|
}, 8e3);
|
|
744
|
-
await this[
|
|
748
|
+
await this[Rt2(0, 0, 0, 1160, gt2)](false, false);
|
|
745
749
|
}
|
|
746
750
|
}
|
|
747
|
-
return
|
|
751
|
+
return et[yt2(mt2, 263)];
|
|
748
752
|
}
|
|
749
|
-
async [
|
|
750
|
-
const e2 = "
|
|
751
|
-
function
|
|
752
|
-
return U(
|
|
753
|
-
}
|
|
754
|
-
Q[g2(0, 0, 97, 0, "^nz7")] = true;
|
|
755
|
-
const m2 = await this[S2(-630, -711, -539, "yE5a")]();
|
|
756
|
-
function f2(t3, e3, n3, r3, o3) {
|
|
757
|
-
return lt(n3 - d2, e3 - u2, o3);
|
|
753
|
+
async [nt("l#5W", 0, 0, 0, 44)](t2) {
|
|
754
|
+
const e2 = "7V$)", n2 = 105, r2 = "R9Cs", o2 = 931;
|
|
755
|
+
function s2(t3, e3, n3, r3, o3) {
|
|
756
|
+
return U(n3 - -1715, 0, 0, r3);
|
|
758
757
|
}
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
return J(r3, t3 - -529);
|
|
758
|
+
function i2(t3, e3, n3, r3, o3) {
|
|
759
|
+
return st(n3, 0, t3 - -97);
|
|
762
760
|
}
|
|
763
|
-
|
|
761
|
+
et[s2(0, 0, -720, "PXyL")] = true;
|
|
762
|
+
const a2 = await this[s2(0, 0, -558, e2)]();
|
|
763
|
+
return await $[s2(0, 0, -595, "S22O")](t2), !et[h2 = 968, d2 = "PXyL", U(h2 - -38, 0, 0, d2)] && (a2[s2(0, 0, -642, "KUDT")]() || a2[i2(n2, 0, r2)]()[s2(0, 0, -552, "(F2$")] > 0) && await this[i2(185, 0, "aQ0U")](t2), Promise[l2 = "Wu[F", c2 = o2, U(c2 - -63, 0, 0, l2)]();
|
|
764
|
+
var l2, c2, h2, d2;
|
|
764
765
|
}
|
|
765
|
-
async [
|
|
766
|
-
const r2 =
|
|
767
|
-
function
|
|
768
|
-
return
|
|
766
|
+
async [tt(0, 925, 0, "DKS!")](t2 = false, e2 = false, n2 = false) {
|
|
767
|
+
const r2 = 1200, o2 = 1257, s2 = 1177, i2 = "yEut", a2 = 1266, l2 = "&PgT", c2 = 1302, h2 = "GH6d", d2 = 952, u2 = 988, g2 = "el@B", m2 = 387;
|
|
768
|
+
function f2(t3, e3, n3, r3, o3) {
|
|
769
|
+
return X(o3 - -351, t3);
|
|
769
770
|
}
|
|
770
|
-
|
|
771
|
-
|
|
771
|
+
et[_2(1321, 1234, 1421, 1359, "WIL*")] = true;
|
|
772
|
+
const p2 = await this[_2(r2, 1260, o2, s2, i2)]();
|
|
773
|
+
function _2(t3, e3, n3, r3, o3) {
|
|
774
|
+
return tt(0, t3 - 344, 0, o3);
|
|
772
775
|
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
var g2, m2, f2, p2;
|
|
776
|
-
Q[d2(0, "yE5a", 0, -694)] || !(u2[h2("t[3t", 0, 818)]() || u2[d2(0, o2, 0, -509)]()[g2 = s2, m2 = i2, J(m2, g2 - c2)] > 0) ? await $[f2 = 93, p2 = l2, tt(0, 0, p2, 0, f2 - -548)](u2, t2, e2, n2) : await this[h2(a2, 0, 709)](t2);
|
|
776
|
+
var S2, w2;
|
|
777
|
+
et[_2(a2, 0, 0, 0, l2)] || !(p2[_2(c2, 0, 0, 0, h2)]() || p2[f2("uwts", 0, 0, 0, d2)]()[f2("F&SG", 0, 0, 0, u2)] > 0) ? await $[S2 = m2, w2 = "p*]k", tt(0, S2 - -524, 0, w2)](p2, t2, e2, n2) : await this[_2(1295, 0, 0, 0, g2)](t2);
|
|
777
778
|
}
|
|
778
|
-
async [
|
|
779
|
-
const n2 = "
|
|
780
|
-
if (!t2 && (
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
return lt(r3 - w2, e3 - 486, o2);
|
|
779
|
+
async [nt("Z6pw", 0, 0, 0, -17)](t2, e2) {
|
|
780
|
+
const n2 = "c0Pj", r2 = "F&SG", s2 = 1084, i2 = "GH6d";
|
|
781
|
+
if (!t2 && (et[g2(-79, "&mu@", -87)] || et[g2(-129, n2, -85)])) return;
|
|
782
|
+
function a2(t3, e3, n3, r3, o2) {
|
|
783
|
+
return nt(t3, 0, 0, 0, e3 - 1018);
|
|
784
784
|
}
|
|
785
|
-
|
|
786
|
-
|
|
785
|
+
var l2, c2;
|
|
786
|
+
function h2(t3, e3, n3, r3, o2) {
|
|
787
|
+
return tt(0, o2 - -1015, 0, n3);
|
|
787
788
|
}
|
|
788
|
-
|
|
789
|
-
const
|
|
790
|
-
function
|
|
791
|
-
return
|
|
789
|
+
et[g2(-140, "mtqW", -119)] = true, et[l2 = 1031, c2 = "Q(]1", X(l2 - -251, c2)] = true, await this[h2(-164, -160, "GH6d", -95, -91)](t2);
|
|
790
|
+
const d2 = o[a2("yEut", 971)](), u2 = t2 || d2 ? console[a2(r2, s2)] : o[h2(0, 0, i2, 0, -75)];
|
|
791
|
+
function g2(t3, e3, n3, r3, o2) {
|
|
792
|
+
return tt(0, n3 - -1100, 0, e3);
|
|
792
793
|
}
|
|
793
|
-
|
|
794
|
-
v2 && I2(""), await this[b2(0, p2, _2)](t2, e2), I2("");
|
|
794
|
+
d2 && u2(""), await this[h2(0, 0, "mtqW", 0, -122)](t2, e2), u2("");
|
|
795
795
|
}
|
|
796
|
-
[
|
|
797
|
-
return this[t2 =
|
|
796
|
+
[X(1179, "xiTH")]() {
|
|
797
|
+
return this[t2 = 591, e2 = "ZXq#", tt(0, t2 - -289, 0, e2)]();
|
|
798
798
|
var t2, e2;
|
|
799
799
|
}
|
|
800
|
-
[
|
|
801
|
-
return this[e2 =
|
|
800
|
+
[X(1143, "uWFN")](t2) {
|
|
801
|
+
return this[e2 = "Wu[F", n2 = 856, X(n2 - -343, e2)](true, t2);
|
|
802
802
|
var e2, n2;
|
|
803
803
|
}
|
|
804
|
-
[
|
|
805
|
-
const t2 =
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
}
|
|
809
|
-
return Q[n2(0, 0, "9^ms", 0, 697)] || Q[n2(0, 0, t2, 0, e2)];
|
|
804
|
+
[tt(0, 966, 0, "#V](")]() {
|
|
805
|
+
const t2 = 747;
|
|
806
|
+
return et[r2 = -234, o2 = "da%p", st(o2, 0, r2 - -580)] || et[e2 = "%Xy]", n2 = t2, X(n2 - -573, e2)];
|
|
807
|
+
var e2, n2, r2, o2;
|
|
810
808
|
}
|
|
811
|
-
[
|
|
812
|
-
|
|
809
|
+
[st("9(1p", 0, 224)](t2) {
|
|
810
|
+
ot = true;
|
|
813
811
|
}
|
|
814
|
-
async [
|
|
815
|
-
return this[t2 =
|
|
812
|
+
async [X(1231, "fZc%")]() {
|
|
813
|
+
return this[t2 = "da%p", e2 = 729, nt(t2, 0, 0, 0, e2 - 647)](true);
|
|
816
814
|
var t2, e2;
|
|
817
815
|
}
|
|
818
|
-
async [
|
|
819
|
-
const n2 =
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
816
|
+
async [X(1280, "r[Gh")](t2, e2) {
|
|
817
|
+
const n2 = "9DB^", r2 = 1307, o2 = 1235, s2 = 51, i2 = await this[a2(n2, r2)]();
|
|
818
|
+
function a2(t3, e3, n3, r3, o3) {
|
|
819
|
+
return X(e3 - s2, t3);
|
|
820
|
+
}
|
|
821
|
+
return await this[a2("JHeb", o2)](true, t2, e2), i2;
|
|
823
822
|
}
|
|
824
|
-
async [
|
|
825
|
-
const t2 =
|
|
826
|
-
var
|
|
827
|
-
return await $[
|
|
823
|
+
async [X(1203, "uwts")]() {
|
|
824
|
+
const t2 = 509;
|
|
825
|
+
var e2, n2;
|
|
826
|
+
return await $[e2 = t2, n2 = "lx[Y", U(e2 - -581, 0, 0, n2)]();
|
|
828
827
|
}
|
|
829
828
|
}
|
|
830
|
-
|
|
831
|
-
return et(t2 - -117, e2);
|
|
832
|
-
}
|
|
833
|
-
const it = new ot();
|
|
834
|
-
function at() {
|
|
835
|
-
const t2 = ["W7JcLKBdU8k/dSopmtm", "ANqcpw8l", "W5yLdrPwW41N", "lSkzb8oJWQFcHq", "Bmk4W6ldNYJcQq", "W6xcMCkdWOddISkZWR/dJdpcOmoLWOZdPCku", "WQpdMYXXW4BdTrJcN8oFFG", "ySooyhZcN0VdLCkibvijE8kEda", "W6JcJCk+W6VdNCkGyq7cSSkBW5jcWQBdSHTnW7j5", "kdddUaRcQSkPW5XwWOP6kXe", "uvvhdCk6a8kyFMJcLJOkW5pdQq", "hYWepmopbmkPcuLE", "WRlcIXXRdSoT", "WRJcPSkSW7S", "W6NcJNOWW6hdSq", "sCkIW4tdJcFcTSkeoSksWOX7W6HTb8obeJhdPemtiXC0ECobwmo8W4ZcKq", "j2/dR8o2BXpdGCoIW73dUW", "xmkDdmo9wWRdR8oLW4dcOHxdNCoAdMNdKq", "WP8Wt3NcPbiBDHq", "mHSssKrMkW", "lJJcOmo7e2Slh8klWPBdH8o+W6y", "lCoZW7ffCM/dPmotW5hcTvqpzSk0pG", "WQ/cTSkRW5ehh1hdPSooWOrwla", "sxbfs8o+jCk/mNj7", "y2/dGftcO8oaW7jw", "jJ7dQMdcMSoVW4PxfcO", "WPNcL8ktW6L+At1zWOldSt0XW6dcRW", "m2LSWQS5vG", "WPFcO8kTW7OCaN/dO8oKWOThoW", "ESoEvSk2WPRcGCkmqJRdKq", "WRhcNCosW5fIEd1e", "WQFcISoCW4H+Et0", "WQFcObRcGCoADCkLW6aogWHO", "WPe7aMrgeq", "W6RcMCkmWQpdLmkZWQi", "FCk7pmkKWOaYaLm", "WPGTqKVcHSk8swZcJq", "W4tcSr07k1jfjwdcPG", "nGWfuW", "WPhcJXHIaCoPdNDpuNONimoKds1iW4CUWOXKWR0UmSkZ", "WP4Wt1JcUvnqpg3cSLldNCk9vCkn", "zSoTx3GyWO8", "WP4EkmkDtuVcHCoUB8oJW5SuAe4ia2FdQCoQ", "jXentL9S", "FvzqbCk6sG", "WOdcGSkhWPPWW7pcTK8UBG", "WOOsfeO", "W7r5WPZcTrZdQbLda3VcTmkWCKxcHqTvwui", "WRVcNCoDW4jJyG", "pgHFWQ8VwLi", "ww0tmw8mW5n5WR8L", "W7lcI8kTW67dHSk1vWBcS8kBWPD8", "esBdJ0TaW77dNmk5kNXNWOq", "rSk0hCoJfdldQCozW7O", "WQRcSSkXW70xbg3dSmoJWOTwlmoC", "mhv/", "W4dcHvpdK8kZhSopldP3", "kslcNmoKaM8ucCkFWOxdMSo1W4hcVNVcPmk2WR0", "W5tcLeBdPCkIgCo5lcjS", "W456gWddHmoZdsFdSSkgW5hcN8kxgG", "kJpdIunhW6BdRCkinNTSWOldQtu", "WPL6wMaCeG", "W6RdHmoeW4n3W6a", "WPSVlahdVCoulZC", "WOaWtSouW70LW516DNePWRi", "vSk6EmkZWRG2f1iuWR/cLe3cVmkQCq9YW6NdI8kT", "W7NcINaRW6FdPHlcMmoArSkDW4O6", "WO8UEmkds1ZcJ8oFqW", "Bmo5vhe", "ESkGWR7dIYiTWQmFW6BdU8oDWPW", "WPldMbhcOCoMx8oInXDSaXu", "quCFtd0TWObOF8k3", "CtRcQCkcm1/cLCoBW4FdUmk0t8o4", "hSo/WPxcTSoc", "WQ3cQ8k8W7ycaLtdRCoKWPy", "pCo+WORcRCojCCokysqT", "kmo3W6TPyNtdMmofW67cVLizAW", "W6BdVmoZW69nW4ZcKW", "k1HNWQO8WQ3dVSkIWOFdNSoxwSoJEW", "cCkFWPaNWO4", "WOaWtSouW70JW5LGEx03", "W5VdTLRdLSkgkCknWRiHhcTDWPJdGmo8DW", "W4PWgWpdN8o1kJBdK8kBW5a", "W4ldQSoDw8kvWO3cPSo9WR0", "FxfCWQqhWQVdPG", "WP4Wt1tcO15zev8", "tx9bsmodf8kHbLnF", "p096WQuHWOpdRmkCWPVdKSol", "kZddUcNcTSkSW4m", "W4BcRaOkmKTj", "WRddHCoaW5BdSSkjWRJdUXBcTq", "jg/dR8otyWVdKW", "D8kZyXzMWPKlD1NdLmowWP/cHHddU24", "fSkaWPS", "wSohCfGVWQpcHudcMSoSWRpdLcLbgZRdO8oevq", "xKSiztO9WObnACkRW4RdLmkq", "CLGDrtO6WOrxFW", "nSkVFSoGW4LcWQ0", "W6VcMxCRW7y", "ottdOd3cUSkgW4y", "WRmTsSoxW7WpW5f6BG", "W456asFdG8o7fsBdQSkmW4FcICk3eCk0", "WOCXCSoZWPSy", "W6NcK8kgWPhdImk9WQldJa", "WQZcTSkRW7iBgK4", "WOOLv3pcUa", "wvWvra", "mqeyqLLTiSotwmoioSoAWONcSSkOlmkIW77cLW", "p098WQy8WRldQa", "ptpdIwLlW7m", "oxjQWQSTqfpdUSodWRW", "WPFcO8kTW7OCaG", "WPqTsSoBW6apW4S", "WRWyA8kusLVcHColECo/", "ESk0nSk5WRiPjKKtWQldGfVcQa", "WPBdKbxcP8oVuSkBfqb0nH3dKG", "W7VdM8kwW4f8W60", "W4tcImkAW7hdICkT", "WRlcGmodW4XLCW", "eeTYWQC8WQxdRmkgWPa", "W7zVbWZdMmoMoYpdKSkhW5dcIa", "AmoQgSk2WPutWQnDjCoAuSoc", "WPKFFSkqsehcHmkGCmoVWPGbDfiBsMJdQCo3W6C", "W4dcHvpdLCkJa8ociqbHnJBdL8k2W7W", "gdhdR1hcHmoVW4adpsDBW4PBWOtdRmkKW4VcPZunWQ3cQfW3FmkmWRG", "W6JcJ8k7WORdGSk5", "W6tcLCkPW6BdHmkOCuFcUmknWOjNWR3dSaPkW65Y", "W4jxvrzTgmklW67cRbO", "W4uYec9t", "u2erihqnW5nb", "z8oGuxGYWP8", "eCoGWRtcTSouvq", "mx59WQ8Qx0xdOCouWQW3bwuW", "W4HIWPBcVGBdNXKxb2RcQmkQ", "h8o2WO7cLSoJ", "WRujA8kuvfZcICoVCSo1", "qbiGWPiDW4q", "ecxdVIhcSCk0", "i1H9WQWHWQK", "AmkGk8k/", "v2uEoMqnW6zaWRmYW6z0WOS", "p8oZW7/cK35JWQW", "jwLMWQmQqfm", "gCkgWPbGWPz0rJL9oNy", "iJpdK0vAW6i", "W57cJmkhWOZdImkO", "kYZcVmo+beGo", "WOtcJmkgWPiRWQxcUMuowCooW48", "rGu+WOGaW5hcVL7cH8o9bmk3FZOlWOxcJr0R", "W4JcLCk7W7tdV8kOyq8", "W4bSoWRdKSo3", "BCkshCo0", "xYxdNmkv", "WQlcMbv7eCooda", "W43dRK3dM8kdjmkiW6yQ", "xYVdNSkCW7r0cSkCimoP", "W4BdGmoxW55SW6C", "f19KW4SOW5ZcGv7cOCoO", "W5yLfYTnW4f2W7RcRY7dOSk1W63cNa", "WPXXqMyee8of", "W6/cPL47i1zfog/cOCkTWPri", "WOSSqCotWPSg", "W6BcTtzHjSoIeq", "WOOHwMJcUeLRmu/cVW", "ASkFdmoJdZxdKCoVW5hcPa", "W5FcLvtdVW", "j8oJWOJcSmoErmo8DJe1q8kCWRq", "zCoQw3OpWPm", "qq8KWPOgW5hcQfNcNmoGaSknDq0", "jZKceCoebmkmbvfmDtbn", "W5uLds9wW4XXW4/cKYJdQmkKW4hcNa", "W4tcM2WSW6ZdOaBcJ8ohsCkaW4mT", "W6pcNCkBWOVdG8kUWP/dMYJcJCo+WPZdRW", "cmkNFHP7W40", "jZ8rfmodfmkPfea", "WRdcNCohW6DIyZrtWRxdTwKF", "WQPPvwSbhSoaWPdcGa", "WP4Wt1JcUvnqph/cTLtdIW", "fmo2WPtcVSoewa", "W4PVacBdMCoNfZy", "pfv2WQ4HWRNdOq", "W4v6gWldGSo6", "iJ/dNKDaW7NdU8k9", "WOJcImobW4X5FHXsWOxdTxqwW7y", "W6BcMCkbWQhdG8kOWQ7dGc3cKa", "WOn2r24CwG", "WPKXCCoBW6uiW5W", "ktpdIwLlW7m", "rxyFowGmW5m", "W4T1WOVcNbVdUbKnfwBcJ8k8Eq", "fCojW7v1AhldP8oOW5G", "bdvdBtHpWOfMWPSfW6TyWOW", "W4BcRaOClK9alKRcTmkWWP4", "AeLEaCk/gCkz", "WOKHW4ZdQuVcQ0S3j1RcVCkqyW", "WQmfACkdufVcT8oPAmoU", "jw56WQy", "WReMoMPohsmTESkcWPxdHmkEjY/dNstcU2Tk", "W57dSmonuG", "WQpcTSkMW5uagva", "WQtcVmk8W7igh1ldRa", "W4JdT8oBx8kdWOa"];
|
|
836
|
-
return (at = function() {
|
|
837
|
-
return t2;
|
|
838
|
-
})();
|
|
839
|
-
}
|
|
840
|
-
function lt(t2, e2, n2, r2, o2) {
|
|
841
|
-
return et(t2 - -598, n2);
|
|
842
|
-
}
|
|
843
|
-
const ct = (t2, e2) => {
|
|
829
|
+
const lt = new at(), ct = (t2, e2) => {
|
|
844
830
|
const n2 = [];
|
|
845
831
|
for (let r2 = 0; r2 < t2.length; r2++) {
|
|
846
832
|
const o2 = t2[r2];
|
|
@@ -1627,7 +1613,7 @@ var Mt;
|
|
|
1627
1613
|
}, Mt.simpleComparator = function(t2, e2) {
|
|
1628
1614
|
return t2 > e2 ? 1 : t2 < e2 ? -1 : 0;
|
|
1629
1615
|
};
|
|
1630
|
-
const
|
|
1616
|
+
const Nt = [-1, null], Tt = { done: false, value: [-1, null] };
|
|
1631
1617
|
var Ft;
|
|
1632
1618
|
((t2) => {
|
|
1633
1619
|
t2.Builder = class {
|
|
@@ -1705,7 +1691,7 @@ var Ft;
|
|
|
1705
1691
|
if (r3) {
|
|
1706
1692
|
let t4;
|
|
1707
1693
|
const i3 = r3.minor;
|
|
1708
|
-
r3 && r3.minor === n2 ? (s2 = r3, o2 = s2.span) : t4 = i3 > n2 ? e3.getPairOrNextHigher(n2,
|
|
1694
|
+
r3 && r3.minor === n2 ? (s2 = r3, o2 = s2.span) : t4 = i3 > n2 ? e3.getPairOrNextHigher(n2, Nt) : e3.getPairOrNextLower(n2, Nt), t4 && (s2 = t4[1], t4[0] === n2 && (o2 = s2.span));
|
|
1709
1695
|
}
|
|
1710
1696
|
if (!o2) {
|
|
1711
1697
|
this._majorMin = Math.min(this._majorMin, t3), o2 = [n2, [[t3, []]]];
|
|
@@ -1721,7 +1707,7 @@ var Ft;
|
|
|
1721
1707
|
return h2 + d2.length !== t3 && (d2 = [], h2 = t3, l2.push([h2, d2])), d2.push(r2), this._majorMax = Math.max(this._majorMax, t3), this._minorIndex = n2, this;
|
|
1722
1708
|
}
|
|
1723
1709
|
build() {
|
|
1724
|
-
const t3 = [], e3 = this._createList, n2 = this._minors.entries(void 0,
|
|
1710
|
+
const t3 = [], e3 = this._createList, n2 = this._minors.entries(void 0, Tt);
|
|
1725
1711
|
let r2 = n2.next();
|
|
1726
1712
|
for (; !r2.done; ) {
|
|
1727
1713
|
const o2 = r2.value[1].span;
|
|
@@ -2104,11 +2090,11 @@ function Me(t2, e2) {
|
|
|
2104
2090
|
for (var n2 = ""; n2.length < e2; ) n2 += t2;
|
|
2105
2091
|
return n2;
|
|
2106
2092
|
}
|
|
2107
|
-
function
|
|
2093
|
+
function Ne(t2) {
|
|
2108
2094
|
for (var e2 = "", n2 = t2.length - 1; n2 >= 0; ) e2 += t2.charAt(n2--);
|
|
2109
2095
|
return e2;
|
|
2110
2096
|
}
|
|
2111
|
-
function
|
|
2097
|
+
function Te(t2, e2) {
|
|
2112
2098
|
var n2 = "" + t2;
|
|
2113
2099
|
return n2.length >= e2 ? n2 : Me("0", e2 - n2.length) + n2;
|
|
2114
2100
|
}
|
|
@@ -2266,7 +2252,7 @@ function Ye(t2, e2, n2, r2) {
|
|
|
2266
2252
|
break;
|
|
2267
2253
|
case 115:
|
|
2268
2254
|
if ("s" !== e2 && "ss" !== e2 && ".0" !== e2 && ".00" !== e2 && ".000" !== e2) throw new Error("bad second format: " + e2);
|
|
2269
|
-
return 0 !== n2.u || "s" !== e2 && "ss" !== e2 ? (a2 = r2 >= 2 ? 3 === r2 ? 1e3 : 100 : 1 === r2 ? 10 : 1, (i2 = Math.round(a2 * (n2.S + n2.u))) >= 60 * a2 && (i2 = 0), "s" === e2 ? 0 === i2 ? "0" : "" + i2 / a2 : (s2 =
|
|
2255
|
+
return 0 !== n2.u || "s" !== e2 && "ss" !== e2 ? (a2 = r2 >= 2 ? 3 === r2 ? 1e3 : 100 : 1 === r2 ? 10 : 1, (i2 = Math.round(a2 * (n2.S + n2.u))) >= 60 * a2 && (i2 = 0), "s" === e2 ? 0 === i2 ? "0" : "" + i2 / a2 : (s2 = Te(i2, 2 + r2), "ss" === e2 ? s2.substr(0, 2) : "." + s2.substr(2, e2.length - 1))) : Te(n2.S, e2.length);
|
|
2270
2256
|
case 90:
|
|
2271
2257
|
switch (e2) {
|
|
2272
2258
|
case "[h]":
|
|
@@ -2289,7 +2275,7 @@ function Ye(t2, e2, n2, r2) {
|
|
|
2289
2275
|
case 101:
|
|
2290
2276
|
o2 = l2, c2 = 1;
|
|
2291
2277
|
}
|
|
2292
|
-
return c2 > 0 ?
|
|
2278
|
+
return c2 > 0 ? Te(o2, c2) : "";
|
|
2293
2279
|
}
|
|
2294
2280
|
function Qe(t2) {
|
|
2295
2281
|
if (t2.length <= 3) return t2;
|
|
@@ -2371,7 +2357,7 @@ function hn(t2, e2, n2) {
|
|
|
2371
2357
|
if (e2.match(/^[#?]+$/)) return "0" === (o2 = De(n2, 0)) && (o2 = ""), o2.length > e2.length ? o2 : sn(e2.substr(0, e2.length - o2.length)) + o2;
|
|
2372
2358
|
if (s2 = e2.match(en)) return (function(t3, e3, n3) {
|
|
2373
2359
|
var r3 = parseInt(t3[4], 10), o3 = Math.round(e3 * r3), s3 = Math.floor(o3 / r3), i3 = o3 - s3 * r3, a3 = r3;
|
|
2374
|
-
return n3 + (0 === s3 ? "" : "" + s3) + " " + (0 === i3 ? Me(" ", t3[1].length + 1 + t3[4].length) : Fe(i3, t3[1].length) + t3[2] + "/" + t3[3] +
|
|
2360
|
+
return n3 + (0 === s3 ? "" : "" + s3) + " " + (0 === i3 ? Me(" ", t3[1].length + 1 + t3[4].length) : Fe(i3, t3[1].length) + t3[2] + "/" + t3[3] + Te(a3, t3[4].length));
|
|
2375
2361
|
})(s2, l2, c2);
|
|
2376
2362
|
if (e2.match(/^#+0+$/)) return c2 + De(l2, e2.length - e2.indexOf("0"));
|
|
2377
2363
|
if (s2 = e2.match(nn)) return i2 = Math.trunc(an(n2, s2[2].length)), a2 = ln(Math.abs(i2 - n2), s2[2].length), a2 = (a2 = "" + ln(a2, (function(t3) {
|
|
@@ -2383,9 +2369,9 @@ function hn(t2, e2, n2) {
|
|
|
2383
2369
|
if (s2 = e2.match(/^#{1,3},##0(\.?)$/)) return c2 + Qe(De(l2, 0));
|
|
2384
2370
|
if (s2 = e2.match(/^#,##0\.([#0]*0)$/)) return n2 < 0 ? "-" + hn(t2, e2, -n2) : Qe("" + (Math.floor(n2) + (function(t3, e3) {
|
|
2385
2371
|
return e3 < ("" + Math.round((t3 - Math.floor(t3)) * Math.pow(10, e3))).length ? 1 : 0;
|
|
2386
|
-
})(n2, s2[1].length))) + "." +
|
|
2372
|
+
})(n2, s2[1].length))) + "." + Te(cn(n2, s2[1].length), s2[1].length);
|
|
2387
2373
|
if (s2 = e2.match(/^#,#*,#0/)) return hn(t2, e2.replace(/^#,#*,/, ""), n2);
|
|
2388
|
-
if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 =
|
|
2374
|
+
if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = Ne(hn(t2, e2.replace(/[\\-]/g, ""), n2)), i2 = 0, Ne(Ne(e2.replace(/\\/g, "")).replace(/[0#]/g, function(t3) {
|
|
2389
2375
|
return i2 < o2.length ? o2.charAt(i2++) : "0" === t3 ? "0" : "";
|
|
2390
2376
|
}));
|
|
2391
2377
|
if (e2.match(on)) return "(" + (o2 = hn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
|
|
@@ -2401,8 +2387,8 @@ function hn(t2, e2, n2) {
|
|
|
2401
2387
|
if (s2 = e2.match(/^00,000\.([#0]*0)$/)) return i2 = cn(n2, s2[1].length), n2 < 0 ? "-" + hn(t2, e2, -n2) : Qe((function(t3) {
|
|
2402
2388
|
return t3 < 2147483647 && t3 > -2147483648 ? "" + (t3 >= 0 ? 0 | t3 : t3 - 1 | 0) : "" + Math.floor(t3);
|
|
2403
2389
|
})(n2)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(t3) {
|
|
2404
|
-
return "00," + (t3.length < 3 ?
|
|
2405
|
-
}) + "." +
|
|
2390
|
+
return "00," + (t3.length < 3 ? Te(0, 3 - t3.length) : "") + t3;
|
|
2391
|
+
}) + "." + Te(i2, s2[1].length);
|
|
2406
2392
|
switch (e2) {
|
|
2407
2393
|
case "###,##0.00":
|
|
2408
2394
|
return hn(t2, "#,##0.00", n2);
|
|
@@ -2452,20 +2438,20 @@ function un(t2, e2, n2) {
|
|
|
2452
2438
|
if (-1 !== e2.indexOf("E")) return dn(e2, n2);
|
|
2453
2439
|
if (36 === e2.charCodeAt(0)) return "$" + un(t2, e2.substr(" " === e2.charAt(1) ? 2 : 1), n2);
|
|
2454
2440
|
var o2, s2, i2, a2, l2 = Math.abs(n2), c2 = n2 < 0 ? "-" : "";
|
|
2455
|
-
if (e2.match(/^00+$/)) return c2 +
|
|
2441
|
+
if (e2.match(/^00+$/)) return c2 + Te(l2, e2.length);
|
|
2456
2442
|
if (e2.match(/^[#?]+$/)) return o2 = "" + n2, 0 === n2 && (o2 = ""), o2.length > e2.length ? o2 : sn(e2.substr(0, e2.length - o2.length)) + o2;
|
|
2457
2443
|
if (s2 = e2.match(en)) return (function(t3, e3, n3) {
|
|
2458
2444
|
return n3 + (0 === e3 ? "" : "" + e3) + Me(" ", t3[1].length + 2 + t3[4].length);
|
|
2459
2445
|
})(s2, l2, c2);
|
|
2460
|
-
if (e2.match(/^#+0+$/)) return c2 +
|
|
2461
|
-
if (s2 = e2.match(nn)) return o2 = ("" + n2).replace(/^([^.]+)$/, "." + sn(s2[2])).replace(/\.$/, "." + sn(s2[2])), o2 =
|
|
2446
|
+
if (e2.match(/^#+0+$/)) return c2 + Te(l2, e2.length - e2.indexOf("0"));
|
|
2447
|
+
if (s2 = e2.match(nn)) return o2 = ("" + n2).replace(/^([^.]+)$/, "." + sn(s2[2])).replace(/\.$/, "." + sn(s2[2])), o2 = Te(Math.abs(n2), s2[1].length) + o2.replace(/\.(\d*)$/, function(t3, e3) {
|
|
2462
2448
|
return "." + e3 + Me("0", sn(s2[2]).length - e3.length);
|
|
2463
2449
|
}), o2 = -1 !== e2.indexOf("0.") ? o2 : o2.replace(/^0\./, "."), n2 < 0 ? "-" + o2 : o2;
|
|
2464
2450
|
if (e2 = e2.replace(/^#+([0.])/, "$1"), s2 = e2.match(/^(0*)\.(#*)$/)) return c2 + ("" + l2).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, s2[1].length ? "0." : ".");
|
|
2465
2451
|
if (s2 = e2.match(/^#{1,3},##0(\.?)$/)) return c2 + Qe("" + l2);
|
|
2466
2452
|
if (s2 = e2.match(/^#,##0\.([#0]*0)$/)) return n2 < 0 ? "-" + un(t2, e2, -n2) : Qe("" + n2) + "." + Me("0", s2[1].length);
|
|
2467
2453
|
if (s2 = e2.match(/^#,#*,#0/)) return un(t2, e2.replace(/^#,#*,/, ""), n2);
|
|
2468
|
-
if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 =
|
|
2454
|
+
if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = Ne(un(t2, e2.replace(/[\\-]/g, ""), n2)), i2 = 0, Ne(Ne(e2.replace(/\\/g, "")).replace(/[0#]/g, function(t3) {
|
|
2469
2455
|
return i2 < o2.length ? o2.charAt(i2++) : "0" === t3 ? "0" : "";
|
|
2470
2456
|
}));
|
|
2471
2457
|
if (e2.match(on)) return "(" + (o2 = un(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
|
|
@@ -2479,8 +2465,8 @@ function un(t2, e2, n2) {
|
|
|
2479
2465
|
return sn(e2.substr(0, d2) + o2 + e2.substr(e2.length - u2));
|
|
2480
2466
|
}
|
|
2481
2467
|
if (s2 = e2.match(/^00,000\.([#0]*0)$/)) return n2 < 0 ? "-" + un(t2, e2, -n2) : Qe("" + n2).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(t3) {
|
|
2482
|
-
return "00," + (t3.length < 3 ?
|
|
2483
|
-
}) + "." +
|
|
2468
|
+
return "00," + (t3.length < 3 ? Te(0, 3 - t3.length) : "") + t3;
|
|
2469
|
+
}) + "." + Te(0, s2[1].length);
|
|
2484
2470
|
switch (e2) {
|
|
2485
2471
|
case "###,###":
|
|
2486
2472
|
case "##,###":
|
|
@@ -2874,7 +2860,7 @@ const En = { format: wn, dateNumLocal: Je, load: yn, split_fmt: mn, _table: ze,
|
|
|
2874
2860
|
for (var e2 = 0; 392 !== e2; ++e2) void 0 !== t2[e2] && yn(t2[e2], e2);
|
|
2875
2861
|
}, parse_date_code: $e, is_date: pn, get_table: function() {
|
|
2876
2862
|
return En._table = ze;
|
|
2877
|
-
} }, Cn = "\\s*([-]?[0-9e]*[.]?[0-9]+)", bn = new RegExp(`^rgb\\(${Cn},${Cn},${Cn}\\)$`), vn = new RegExp(`^rgba\\(${Cn},${Cn},${Cn},${Cn}\\)$`), xn = new RegExp(`^lrgb\\(${Cn},${Cn},${Cn}\\)$`), In = new RegExp(`^lrgba\\(${Cn},${Cn},${Cn},${Cn}\\)$`), Rn = new RegExp(`^hsl\\(${Cn},${Cn},${Cn}\\)$`), An = new RegExp(`^hsla\\(${Cn},${Cn},${Cn},${Cn}\\)$`), Mn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/),
|
|
2863
|
+
} }, Cn = "\\s*([-]?[0-9e]*[.]?[0-9]+)", bn = new RegExp(`^rgb\\(${Cn},${Cn},${Cn}\\)$`), vn = new RegExp(`^rgba\\(${Cn},${Cn},${Cn},${Cn}\\)$`), xn = new RegExp(`^lrgb\\(${Cn},${Cn},${Cn}\\)$`), In = new RegExp(`^lrgba\\(${Cn},${Cn},${Cn},${Cn}\\)$`), Rn = new RegExp(`^hsl\\(${Cn},${Cn},${Cn}\\)$`), An = new RegExp(`^hsla\\(${Cn},${Cn},${Cn},${Cn}\\)$`), Mn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Nn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Tn = new RegExp("^index(\\d+)$", "i"), Fn = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], kn = (t2, e2 = 255) => {
|
|
2878
2864
|
const n2 = [...t2];
|
|
2879
2865
|
for (var r2 = 0; r2 < t2.length; r2++) n2[r2] = t2[r2] / e2;
|
|
2880
2866
|
return n2;
|
|
@@ -3056,7 +3042,7 @@ for (let t2 = 0; t2 < Er.length; t2++) Cr.set(t2, yr(Er[t2]));
|
|
|
3056
3042
|
Cr.set(-4105, null), Cr.set(-4142, null), Cr.set(64, yr("000000")), Cr.set(65, yr("FFFFFF")), Cr.set(81, yr("FFFFFF"));
|
|
3057
3043
|
const br = (t2) => Cr.get(t2), vr = { General: "General", Number: "Number", Currency: "Currency", Accounting: "Accounting", ShortDate: "Short Date", LongDate: "Long Date", MediumDate: "Medium Date", ShortTime: "Short Time", MediumTime: "Medium Time", LongTime: "Long Time", Comma: "Comma", Percentage: "Percentage", Fraction: "Fraction", Scientific: "Scientific", Text: "Text", Special: "Special", Custom: "Custom" };
|
|
3058
3044
|
let xr = null;
|
|
3059
|
-
const Ir = () => xr || (xr = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", xr), Rr = /^\[\$-(.*?)\]/i, Ar = /^[0-9a-fA-F]+$/, Mr = En.split_fmt,
|
|
3045
|
+
const Ir = () => xr || (xr = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", xr), Rr = /^\[\$-(.*?)\]/i, Ar = /^[0-9a-fA-F]+$/, Mr = En.split_fmt, Nr = (t2, e2, n2) => {
|
|
3060
3046
|
const r2 = Rr.exec(t2);
|
|
3061
3047
|
let o2 = Ir();
|
|
3062
3048
|
if (r2 && r2[1]) {
|
|
@@ -3064,11 +3050,11 @@ const Ir = () => xr || (xr = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
3064
3050
|
Ar.test(t3) || t3.includes("-");
|
|
3065
3051
|
}
|
|
3066
3052
|
if (Fr[t2] && (t2 = Fr[t2]), "number" == typeof e2) {
|
|
3067
|
-
const r3 =
|
|
3053
|
+
const r3 = Tr(t2, e2, { locale: o2, ...n2 });
|
|
3068
3054
|
if (null !== r3) return r3.fmt;
|
|
3069
3055
|
}
|
|
3070
3056
|
return En.format(t2, e2, n2);
|
|
3071
|
-
},
|
|
3057
|
+
}, Tr = (t2, e2, n2) => {
|
|
3072
3058
|
if ("number" != typeof e2) return null;
|
|
3073
3059
|
const r2 = eo(e2, n2?.date1904 ?? false), o2 = n2?.locale ?? Ir();
|
|
3074
3060
|
let s2 = false, i2 = t2, a2 = -1;
|
|
@@ -3283,7 +3269,7 @@ const Vr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, $r =
|
|
|
3283
3269
|
c2.setFullYear(t4);
|
|
3284
3270
|
}
|
|
3285
3271
|
if (oo[t3].todaysYear && c2.setFullYear(o2), h2 = En.dateNumLocal(c2, e2), oo[t3].parseFormat.indexOf("EEE") > -1) {
|
|
3286
|
-
const t4 =
|
|
3272
|
+
const t4 = Nr("ddd", h2, { date1904: e2 });
|
|
3287
3273
|
if (!n3.toLowerCase().includes(t4.toLowerCase())) return null;
|
|
3288
3274
|
}
|
|
3289
3275
|
let r3 = oo[t3].numberFormat;
|
|
@@ -3333,9 +3319,9 @@ const Co = (t2, e2, n2 = 1e3) => {
|
|
|
3333
3319
|
if (void 0 === t2) return 0;
|
|
3334
3320
|
let e2 = t2.toString().split(".");
|
|
3335
3321
|
return e2.length <= 1 ? 0 : e2[1].length || 0;
|
|
3336
|
-
}, Ao = new RegExp(/^["|'|`](.*)["|'|`]$/), Mo = new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i"),
|
|
3337
|
-
let r2 =
|
|
3338
|
-
return void 0 === e2 && void 0 === n2 || (r2 =
|
|
3322
|
+
}, Ao = new RegExp(/^["|'|`](.*)["|'|`]$/), Mo = new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i"), No = (t2 = ",", e2 = "'") => new RegExp(`\\s*${t2}\\s*(?=(?:[^${e2}]*${e2}[^${e2}]*${e2})*[^${e2}]*$)`, "g"), To = No(), Fo = (t2) => t2.replace(Ao, "$1"), ko = (t2, e2 = "'") => `${e2}${t2}${e2}`, Oo = (t2, e2 = void 0, n2 = void 0) => {
|
|
3323
|
+
let r2 = To;
|
|
3324
|
+
return void 0 === e2 && void 0 === n2 || (r2 = No(e2, n2)), t2.split(r2);
|
|
3339
3325
|
}, Do = (t2) => {
|
|
3340
3326
|
let e2;
|
|
3341
3327
|
try {
|
|
@@ -3344,7 +3330,7 @@ const Co = (t2, e2, n2 = 1e3) => {
|
|
|
3344
3330
|
return false;
|
|
3345
3331
|
}
|
|
3346
3332
|
return ("http:" === e2.protocol || "https:" === e2.protocol) && Mo.test(t2);
|
|
3347
|
-
}, Bo = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Lo = (t2) => !!t2.toLowerCase().startsWith("mailto:") || Bo.test(t2), Po = (t2) => ((t2 >= 26 ? Po((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), zo = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx:
|
|
3333
|
+
}, Bo = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Lo = (t2) => !!t2.toLowerCase().startsWith("mailto:") || Bo.test(t2), Po = (t2) => ((t2 >= 26 ? Po((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), zo = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: To, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: bo, clampString: Io, countDecimals: Ro, findValidTextValue: Co, getBaseName: (t2, e2 = false) => {
|
|
3348
3334
|
if (!t2 || "string" != typeof t2) return "";
|
|
3349
3335
|
const n2 = t2.split(/[\\/]/).pop() || "";
|
|
3350
3336
|
if ("" === n2) return "";
|
|
@@ -3916,7 +3902,7 @@ const Rs = (t2, e2 = false) => {
|
|
|
3916
3902
|
}, As = (t2, e2) => t2 ? e2 ? t2 || e2 ? t2.min > e2.max || t2.max < e2.min ? null : { min: Math.max(t2.min, e2.min), max: Math.min(t2.max, e2.max) } : null : { ...t2 } : { ...e2 }, Ms = (t2) => {
|
|
3917
3903
|
const e2 = 0 === t2.length;
|
|
3918
3904
|
return { runs: t2, run: { min: e2 ? Number.MIN_SAFE_INTEGER : Number.MAX_SAFE_INTEGER, max: e2 ? Number.MAX_SAFE_INTEGER : Number.MIN_SAFE_INTEGER, value: null }, index: Number.MAX_SAFE_INTEGER };
|
|
3919
|
-
},
|
|
3905
|
+
}, Ns = (t2, e2) => {
|
|
3920
3906
|
const n2 = e2.run, r2 = n2.min, s2 = n2.max;
|
|
3921
3907
|
if (t2 >= r2 && t2 <= s2) return n2.value;
|
|
3922
3908
|
let i2 = e2.index;
|
|
@@ -3939,7 +3925,7 @@ const Rs = (t2, e2 = false) => {
|
|
|
3939
3925
|
return n2.value = t3, t3;
|
|
3940
3926
|
}
|
|
3941
3927
|
return i2--, e2.index = i2, n2.min = i2 >= 0 ? a2[i2].max + 1 : Number.MIN_SAFE_INTEGER, n2.max = c2 - 1, n2.value = null, null;
|
|
3942
|
-
},
|
|
3928
|
+
}, Ts = function(t2, e2, n2, r2) {
|
|
3943
3929
|
if (0 === t2.length) {
|
|
3944
3930
|
if (null != n2 || null != r2) {
|
|
3945
3931
|
const t3 = e2({ min: n2 ?? r2, max: r2 ?? n2 });
|
|
@@ -4215,7 +4201,7 @@ var ks, Os, Ds, Bs, Ls, Ps;
|
|
|
4215
4201
|
}
|
|
4216
4202
|
const f2 = Ms(a2);
|
|
4217
4203
|
return (t4) => {
|
|
4218
|
-
const e4 = t4 >= 0, n4 = Math.abs(t4), o4 =
|
|
4204
|
+
const e4 = t4 >= 0, n4 = Math.abs(t4), o4 = Ns(n4 % r3, f2);
|
|
4219
4205
|
if (!o4) return null;
|
|
4220
4206
|
const s4 = Math.floor(n4 / r3), i4 = o4.length, a3 = o4.start, l3 = (s4 + (e4 ? 1 : 0)) * a3 + (s4 + (e4 ? 0 : 1)) * (r3 - (a3 + i4));
|
|
4221
4207
|
let c3 = t4 + (e4 ? -l3 : l3);
|
|
@@ -4260,7 +4246,7 @@ const $s = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
|
|
|
4260
4246
|
}
|
|
4261
4247
|
var l2;
|
|
4262
4248
|
if (null === o2) {
|
|
4263
|
-
let e3 = t2.match(Mn) || t2.match(
|
|
4249
|
+
let e3 = t2.match(Mn) || t2.match(Nn);
|
|
4264
4250
|
if (e3) {
|
|
4265
4251
|
let t3, n3 = 1;
|
|
4266
4252
|
4 === e3.length ? t3 = [parseInt(e3[1], 16), parseInt(e3[2], 16), parseInt(e3[3], 16)] : (t3 = [parseInt(e3[2], 16), parseInt(e3[3], 16), parseInt(e3[4], 16)], n3 = Bn(parseInt(e3[1], 16) / 255)), t3 = kn(t3), t3 = Dn(t3), o2 = { srgb: t3, alpha: n3 }, a2 = Ls.Type.Hex;
|
|
@@ -4288,7 +4274,7 @@ const $s = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
|
|
|
4288
4274
|
}
|
|
4289
4275
|
}
|
|
4290
4276
|
if (null === o2) {
|
|
4291
|
-
let e3 = t2.match(
|
|
4277
|
+
let e3 = t2.match(Tn);
|
|
4292
4278
|
if (e3) {
|
|
4293
4279
|
const t3 = parseInt(e3[1]);
|
|
4294
4280
|
let r3 = n2?.(t3) ?? br(t3);
|
|
@@ -4484,7 +4470,7 @@ for (let t2 = 0; t2 < ni.length; t2++) {
|
|
|
4484
4470
|
((t2) => {
|
|
4485
4471
|
t2.isEqualStrokes = (t3, e2) => !(t3 && !e2 || e2 && !t3) && (t3 === e2 || t3.getStyle() === e2.getStyle() && t3.getColor().isEqual(e2.getColor())), t2.oppositeEdge = (e2) => e2 === t2.Edge.Left ? t2.Edge.Right : e2 === t2.Edge.Right ? t2.Edge.Left : e2 === t2.Edge.Top ? t2.Edge.Bottom : e2 === t2.Edge.Bottom ? t2.Edge.Top : e2, t2.BuiltInDefinitionsArray = ti, t2.BuiltInDefinitions = ei;
|
|
4486
4472
|
})(Qs || (Qs = {}));
|
|
4487
|
-
const ri = { Text: "text", Repeat: "repeat", Spacing: "spacing" }, oi = (t2) => !(!t2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/) && !t2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)), si = Object.freeze({ formatValue:
|
|
4473
|
+
const ri = { Text: "text", Repeat: "repeat", Spacing: "spacing" }, oi = (t2) => !(!t2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/) && !t2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)), si = Object.freeze({ formatValue: Nr, isFractionFormat: oi, adjustDecimalPlaces: (t2, e2) => {
|
|
4488
4474
|
if (!t2) return "";
|
|
4489
4475
|
const n2 = (t3, e3) => {
|
|
4490
4476
|
let n3 = t3 || "";
|
|
@@ -4569,13 +4555,13 @@ const yi = (t2, e2, n2, r2, o2) => {
|
|
|
4569
4555
|
};
|
|
4570
4556
|
var Ci, bi;
|
|
4571
4557
|
(Ci || (Ci = {})).buildPalette = Ei, (bi || (bi = {})).BuiltInFilterType = { BuiltIn: "builtIn", All: "all", Custom: "custom" };
|
|
4572
|
-
const vi = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E97132", "196B24", "0F9ED5", "A02B93", "4EA72E", "467886", "96607D"], ["Office 2013-2022", "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"], ["Office 2007-2010", "windowText", "window", "1F497D", "EEECE1", "4F81BD", "C0504D", "9BBB59", "8064A2", "4BACC6", "F79646", "0000FF", "800080"], ["Grayscale", "windowText", "window", "000000", "F8F8F8", "DDDDDD", "B2B2B2", "969696", "808080", "5F5F5F", "4D4D4D", "5F5F5F", "919191"], ["Atlas", "windowText", "window", "454545", "E0E0E0", "F81B02", "FC7715", "AFBF41", "50C49F", "3B95C4", "B560D4", "FC5A1A", "B49E74"], ["Banded", "2C2C2C", "FFFFFF", "099BDD", "F2F2F2", "FFC000", "A5D028", "08CC78", "F24099", "828288", "F56617", "005DBA", "6C606A"], ["Basis", "000000", "FFFFFF", "565349", "DDDDDD", "A6B727", "DF5327", "FE9E00", "418AB3", "D7D447", "818183", "F59E00", "B2B2B2"], ["Berlin", "windowText", "window", "9D360E", "E7E6E6", "F09415", "C1B56B", "4BAF73", "5AA6C0", "D17DF9", "FA7E5C", "FFAE3E", "FCC77E"], ["Celestial", "windowText", "window", "18276C", "EBEBEB", "AC3EC1", "477BD1", "46B298", "90BA4C", "DD9D31", "E25247", "C573D2", "CCAEE8"], ["Circuit", "windowText", "window", "134770", "82FFFF", "9ACD4C", "FAA93A", "D35940", "B258D3", "63A0CC", "8AC4A7", "B8FA56", "7AF8CC"], ["Damask", "windowText", "window", "2A5B7F", "ABDAFC", "9EC544", "50BEA3", "4A9CCC", "9A66CA", "C54F71", "DE9C3C", "6BA9DA", "A0BCD3"], ["Depth", "windowText", "window", "455F51", "94D7E4", "41AEBD", "97E9D5", "A2CF49", "608F3D", "F4DE3A", "FCB11C", "FBCA98", "D3B86D"], ["Dividend", "windowText", "window", "3D3D3D", "EBEBEB", "4D1434", "903163", "B2324B", "969FA7", "66B1CE", "40619D", "828282", "A5A5A5"], ["Droplet", "windowText", "window", "355071", "AABED7", "2FA3EE", "4BCAAD", "86C157", "D99C3F", "CE6633", "A35DD1", "56BCFE", "97C5E3"], ["Facet", "windowText", "window", "2C3C43", "EBEBEB", "90C226", "54A021", "E6B91E", "E76618", "C42F1A", "918655", "99CA3C", "B9D181"], ["Frame", "000000", "FFFFFF", "545454", "BFBFBF", "40BAD2", "FAB900", "90BB23", "EE7008", "1AB39F", "D5393D", "90BB23", "EE7008"], ["Gallery", "windowText", "window", "454545", "DFDBD5", "B71E42", "DE478E", "BC72F0", "795FAF", "586EA6", "6892A0", "FA2B5C", "BC658E"], ["Integral", "windowText", "window", "335B74", "DFE3E5", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "6B9F25", "B26B02"], ["Ion Boardroom", "windowText", "window", "3B3059", "EBEBEB", "B31166", "E33D6F", "E45F3C", "E9943A", "9B6BF2", "D53DD0", "8F8F8F", "A5A5A5"], ["Ion", "windowText", "window", "1E5155", "EBEBEB", "B01513", "EA6312", "E6B729", "6AAC90", "54849A", "9E5E9B", "58C1BA", "9DFFCB"], ["Madison", "windowText", "window", "1F2D29", "C5FAEB", "A1D68B", "5EC795", "4DADCF", "CDB756", "E29C36", "8EC0C1", "6D9D9B", "6D8583"], ["Main Event", "windowText", "window", "424242", "C8C8C8", "B80E0F", "A6987D", "7F9A71", "64969F", "9B75B2", "80737A", "F21213", "B6A394"], ["Mesh", "windowText", "window", "363D46", "EBEBEB", "6F6F6F", "BFBFA5", "DCD084", "E7BF5F", "E9A039", "CF7133", "F28943", "F1B76C"], ["Metropolitan", "windowText", "window", "162F33", "EAF0E0", "50B4C8", "A8B97F", "9B9256", "657689", "7A855D", "84AC9D", "2370CD", "877589"], ["Organic", "windowText", "window", "212121", "DADADA", "83992A", "3C9770", "44709D", "A23C33", "D97828", "DEB340", "A8BF4D", "B4CA80"], ["Parallax", "windowText", "window", "212121", "CDD0D1", "30ACEC", "80C34F", "E29D3E", "D64A3B", "D64787", "A666E1", "3085ED", "82B6F4"], ["Parcel", "000000", "FFFFFF", "4A5356", "E8E3CE", "F6A21D", "9BAFB5", "C96731", "9CA383", "87795D", "A0988C", "00B0F0", "738F97"], ["Quotable", "windowText", "window", "212121", "636363", "00C6BB", "6FEBA0", "B6DF5E", "EFB251", "EF755F", "ED515C", "8F8F8F", "A5A5A5"], ["Retrospect", "000000", "window", "637052", "CCDDEA", "E48312", "BD582C", "865640", "9B8357", "C2BC80", "94A088", "2998E3", "8C8C8C"], ["Savon", "windowText", "window", "1485A4", "E3DED1", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "F49100", "739D9B"], ["Slate", "windowText", "window", "212123", "DADADA", "BC451B", "D3BA68", "BB8640", "AD9277", "A55A43", "AD9D7B", "E98052", "F4B69B"], ["Slice", "windowText", "window", "146194", "76DBF4", "052F61", "A50E82", "14967C", "6A9E1F", "E87D37", "C62324", "0D2E46", "356A95"], ["Vapor Trail", "windowText", "window", "454545", "DADADA", "DF2E28", "FE801A", "E9BF35", "81BB42", "32C7A9", "4A9BDC", "F0532B", "F38B53"], ["View", "000000", "FFFFFF", "46464A", "D6D3CC", "6F6F74", "92A9B9", "A7B789", "B9A489", "8D6374", "9B7362", "67AABF", "ABAFA5"], ["Wisp", "windowText", "window", "766F54", "E3EACF", "A53010", "DE7E18", "9F8351", "728653", "92AA4C", "6AAC91", "FB4A18", "FB9318"], ["Wood Type", "windowText", "window", "696464", "E9E5DC", "D34817", "9B2D1F", "A28E6A", "956251", "918485", "855D5D", "CC9900", "96A9A9"]], xi = [["Office", "Calibri Light", "Calibri"], ["Office 2013-2022", "Calibri Light", "Calibri"], ["Office 2007-2010", "Calibri Light", "Calibri"], ["Grayscale", "Calibri Light", "Calibri"], ["Atlas", "Calibri Light", "Rockwell"], ["Banded", "Corbel", "Corbel"], ["Basis", "Corbel", "Corbel"], ["Berlin", "Trebuchet MS", "Trebuchet MS"], ["Celestial", "Calibri Light", "Calibri"], ["Circuit", "Tw Cen MT", "Tw Cen MT"], ["Damask", "Bookman Old Style", "Rockwell"], ["Depth", "Corbel", "Corbel"], ["Madison", "Arial", "Arial"], ["Main Event", "Impact", "Impact"], ["Mesh", "Century Gothic", "Century Gothic"], ["Metropolitan", "Calibri Light", "Calibri Light"], ["Organic", "Garamond", "Garamond"], ["Parallax", "Corbel", "Corbel"], ["Parcel", "Gill Sans MT", "Gill Sans MT"], ["Quotable", "Century Gothic", "Century Gothic"], ["Retrospect", "Calibri Light", "Calibri"], ["Savon", "Century Gothic", "Century Gothic"], ["Slate", "Calisto MT", "Calisto MT"], ["Slice", "Century Gothic", "Century Gothic"], ["Vapor Trail", "Century Gothic", "Century Gothic"], ["View", "Century Schoolbook", "Century Schoolbook"], ["Wisp", "Century Gothic", "Century Gothic"], ["Wood Type", "Rockwell Condensed", "Rockwell"]], Ii = [["Office", "Office", "Office"], ["2013-2022", "Office 2013-2022", "Office 2013-2022"], ["Atlas", "Atlas", "Atlas"], ["Banded", "Banded", "Banded"], ["Basis", "Basis", "Basis"], ["Berlin", "Berlin", "Berlin"], ["Celestial", "Celestial", "Celestial"], ["Circuit", "Circuit", "Circuit"], ["Damask", "Damask", "Damask"], ["Depth", "Depth", "Depth"], ["Dividend", "Dividend", "Dividend"], ["Droplet", "Droplet", "Droplet"], ["Facet", "Facet", "Facet"], ["Frame", "Frame", "Frame"], ["Gallery", "Gallery", "Gallery"], ["Grayscale", "Grayscale", "Grayscale"], ["Integral", "Integral", "Integral"], ["Ion Boardroom", "Ion Boardroom", "Ion Boardroom"], ["Ion", "Ion", "Ion"], ["Madison", "Madison", "Madison"], ["Main Event", "Main Event", "Main Event"], ["Mesh", "Mesh", "Mesh"], ["Metropolitan", "Metropolitan", "Metropolitan"], ["Organic", "Organic", "Organic"], ["Parallax", "Parallax", "Parallax"], ["Parcel", "Parcel", "Parcel"], ["Quotable", "Quotable", "Quotable"], ["Retrospect", "Retrospect", "Retrospect"], ["Savon", "Savon", "Savon"], ["Slate", "Slate", "Slate"], ["Slice", "Slice", "Slice"], ["Vapor Trail", "Vapor Trail", "Vapor Trail"], ["View", "View", "View"], ["Wisp", "Wisp", "Wisp"], ["Wood Type", "Wood Type", "Wood Type"], ["Office 2007-2010", "Office 2007-2010", "Office 2007-2010"]], Ri = "Themes is readonly. To make modifications create a new DocsThemes instance.", Ai = { [Ls.Scheme.Bg1]: "lt1", [Ls.Scheme.Bg2]: "lt2", [Ls.Scheme.Tx1]: "dk1", [Ls.Scheme.Tx2]: "dk2", [Ls.Scheme.Accent1]: "accent1", [Ls.Scheme.Accent2]: "accent2", [Ls.Scheme.Accent3]: "accent3", [Ls.Scheme.Accent4]: "accent4", [Ls.Scheme.Accent5]: "accent5", [Ls.Scheme.Accent6]: "accent6", [Ls.Scheme.Hlink]: "hlink", [Ls.Scheme.FolHlink]: "folHlink" }, Mi = "Office",
|
|
4558
|
+
const vi = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E97132", "196B24", "0F9ED5", "A02B93", "4EA72E", "467886", "96607D"], ["Office 2013-2022", "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"], ["Office 2007-2010", "windowText", "window", "1F497D", "EEECE1", "4F81BD", "C0504D", "9BBB59", "8064A2", "4BACC6", "F79646", "0000FF", "800080"], ["Grayscale", "windowText", "window", "000000", "F8F8F8", "DDDDDD", "B2B2B2", "969696", "808080", "5F5F5F", "4D4D4D", "5F5F5F", "919191"], ["Atlas", "windowText", "window", "454545", "E0E0E0", "F81B02", "FC7715", "AFBF41", "50C49F", "3B95C4", "B560D4", "FC5A1A", "B49E74"], ["Banded", "2C2C2C", "FFFFFF", "099BDD", "F2F2F2", "FFC000", "A5D028", "08CC78", "F24099", "828288", "F56617", "005DBA", "6C606A"], ["Basis", "000000", "FFFFFF", "565349", "DDDDDD", "A6B727", "DF5327", "FE9E00", "418AB3", "D7D447", "818183", "F59E00", "B2B2B2"], ["Berlin", "windowText", "window", "9D360E", "E7E6E6", "F09415", "C1B56B", "4BAF73", "5AA6C0", "D17DF9", "FA7E5C", "FFAE3E", "FCC77E"], ["Celestial", "windowText", "window", "18276C", "EBEBEB", "AC3EC1", "477BD1", "46B298", "90BA4C", "DD9D31", "E25247", "C573D2", "CCAEE8"], ["Circuit", "windowText", "window", "134770", "82FFFF", "9ACD4C", "FAA93A", "D35940", "B258D3", "63A0CC", "8AC4A7", "B8FA56", "7AF8CC"], ["Damask", "windowText", "window", "2A5B7F", "ABDAFC", "9EC544", "50BEA3", "4A9CCC", "9A66CA", "C54F71", "DE9C3C", "6BA9DA", "A0BCD3"], ["Depth", "windowText", "window", "455F51", "94D7E4", "41AEBD", "97E9D5", "A2CF49", "608F3D", "F4DE3A", "FCB11C", "FBCA98", "D3B86D"], ["Dividend", "windowText", "window", "3D3D3D", "EBEBEB", "4D1434", "903163", "B2324B", "969FA7", "66B1CE", "40619D", "828282", "A5A5A5"], ["Droplet", "windowText", "window", "355071", "AABED7", "2FA3EE", "4BCAAD", "86C157", "D99C3F", "CE6633", "A35DD1", "56BCFE", "97C5E3"], ["Facet", "windowText", "window", "2C3C43", "EBEBEB", "90C226", "54A021", "E6B91E", "E76618", "C42F1A", "918655", "99CA3C", "B9D181"], ["Frame", "000000", "FFFFFF", "545454", "BFBFBF", "40BAD2", "FAB900", "90BB23", "EE7008", "1AB39F", "D5393D", "90BB23", "EE7008"], ["Gallery", "windowText", "window", "454545", "DFDBD5", "B71E42", "DE478E", "BC72F0", "795FAF", "586EA6", "6892A0", "FA2B5C", "BC658E"], ["Integral", "windowText", "window", "335B74", "DFE3E5", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "6B9F25", "B26B02"], ["Ion Boardroom", "windowText", "window", "3B3059", "EBEBEB", "B31166", "E33D6F", "E45F3C", "E9943A", "9B6BF2", "D53DD0", "8F8F8F", "A5A5A5"], ["Ion", "windowText", "window", "1E5155", "EBEBEB", "B01513", "EA6312", "E6B729", "6AAC90", "54849A", "9E5E9B", "58C1BA", "9DFFCB"], ["Madison", "windowText", "window", "1F2D29", "C5FAEB", "A1D68B", "5EC795", "4DADCF", "CDB756", "E29C36", "8EC0C1", "6D9D9B", "6D8583"], ["Main Event", "windowText", "window", "424242", "C8C8C8", "B80E0F", "A6987D", "7F9A71", "64969F", "9B75B2", "80737A", "F21213", "B6A394"], ["Mesh", "windowText", "window", "363D46", "EBEBEB", "6F6F6F", "BFBFA5", "DCD084", "E7BF5F", "E9A039", "CF7133", "F28943", "F1B76C"], ["Metropolitan", "windowText", "window", "162F33", "EAF0E0", "50B4C8", "A8B97F", "9B9256", "657689", "7A855D", "84AC9D", "2370CD", "877589"], ["Organic", "windowText", "window", "212121", "DADADA", "83992A", "3C9770", "44709D", "A23C33", "D97828", "DEB340", "A8BF4D", "B4CA80"], ["Parallax", "windowText", "window", "212121", "CDD0D1", "30ACEC", "80C34F", "E29D3E", "D64A3B", "D64787", "A666E1", "3085ED", "82B6F4"], ["Parcel", "000000", "FFFFFF", "4A5356", "E8E3CE", "F6A21D", "9BAFB5", "C96731", "9CA383", "87795D", "A0988C", "00B0F0", "738F97"], ["Quotable", "windowText", "window", "212121", "636363", "00C6BB", "6FEBA0", "B6DF5E", "EFB251", "EF755F", "ED515C", "8F8F8F", "A5A5A5"], ["Retrospect", "000000", "window", "637052", "CCDDEA", "E48312", "BD582C", "865640", "9B8357", "C2BC80", "94A088", "2998E3", "8C8C8C"], ["Savon", "windowText", "window", "1485A4", "E3DED1", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "F49100", "739D9B"], ["Slate", "windowText", "window", "212123", "DADADA", "BC451B", "D3BA68", "BB8640", "AD9277", "A55A43", "AD9D7B", "E98052", "F4B69B"], ["Slice", "windowText", "window", "146194", "76DBF4", "052F61", "A50E82", "14967C", "6A9E1F", "E87D37", "C62324", "0D2E46", "356A95"], ["Vapor Trail", "windowText", "window", "454545", "DADADA", "DF2E28", "FE801A", "E9BF35", "81BB42", "32C7A9", "4A9BDC", "F0532B", "F38B53"], ["View", "000000", "FFFFFF", "46464A", "D6D3CC", "6F6F74", "92A9B9", "A7B789", "B9A489", "8D6374", "9B7362", "67AABF", "ABAFA5"], ["Wisp", "windowText", "window", "766F54", "E3EACF", "A53010", "DE7E18", "9F8351", "728653", "92AA4C", "6AAC91", "FB4A18", "FB9318"], ["Wood Type", "windowText", "window", "696464", "E9E5DC", "D34817", "9B2D1F", "A28E6A", "956251", "918485", "855D5D", "CC9900", "96A9A9"]], xi = [["Office", "Calibri Light", "Calibri"], ["Office 2013-2022", "Calibri Light", "Calibri"], ["Office 2007-2010", "Calibri Light", "Calibri"], ["Grayscale", "Calibri Light", "Calibri"], ["Atlas", "Calibri Light", "Rockwell"], ["Banded", "Corbel", "Corbel"], ["Basis", "Corbel", "Corbel"], ["Berlin", "Trebuchet MS", "Trebuchet MS"], ["Celestial", "Calibri Light", "Calibri"], ["Circuit", "Tw Cen MT", "Tw Cen MT"], ["Damask", "Bookman Old Style", "Rockwell"], ["Depth", "Corbel", "Corbel"], ["Madison", "Arial", "Arial"], ["Main Event", "Impact", "Impact"], ["Mesh", "Century Gothic", "Century Gothic"], ["Metropolitan", "Calibri Light", "Calibri Light"], ["Organic", "Garamond", "Garamond"], ["Parallax", "Corbel", "Corbel"], ["Parcel", "Gill Sans MT", "Gill Sans MT"], ["Quotable", "Century Gothic", "Century Gothic"], ["Retrospect", "Calibri Light", "Calibri"], ["Savon", "Century Gothic", "Century Gothic"], ["Slate", "Calisto MT", "Calisto MT"], ["Slice", "Century Gothic", "Century Gothic"], ["Vapor Trail", "Century Gothic", "Century Gothic"], ["View", "Century Schoolbook", "Century Schoolbook"], ["Wisp", "Century Gothic", "Century Gothic"], ["Wood Type", "Rockwell Condensed", "Rockwell"]], Ii = [["Office", "Office", "Office"], ["2013-2022", "Office 2013-2022", "Office 2013-2022"], ["Atlas", "Atlas", "Atlas"], ["Banded", "Banded", "Banded"], ["Basis", "Basis", "Basis"], ["Berlin", "Berlin", "Berlin"], ["Celestial", "Celestial", "Celestial"], ["Circuit", "Circuit", "Circuit"], ["Damask", "Damask", "Damask"], ["Depth", "Depth", "Depth"], ["Dividend", "Dividend", "Dividend"], ["Droplet", "Droplet", "Droplet"], ["Facet", "Facet", "Facet"], ["Frame", "Frame", "Frame"], ["Gallery", "Gallery", "Gallery"], ["Grayscale", "Grayscale", "Grayscale"], ["Integral", "Integral", "Integral"], ["Ion Boardroom", "Ion Boardroom", "Ion Boardroom"], ["Ion", "Ion", "Ion"], ["Madison", "Madison", "Madison"], ["Main Event", "Main Event", "Main Event"], ["Mesh", "Mesh", "Mesh"], ["Metropolitan", "Metropolitan", "Metropolitan"], ["Organic", "Organic", "Organic"], ["Parallax", "Parallax", "Parallax"], ["Parcel", "Parcel", "Parcel"], ["Quotable", "Quotable", "Quotable"], ["Retrospect", "Retrospect", "Retrospect"], ["Savon", "Savon", "Savon"], ["Slate", "Slate", "Slate"], ["Slice", "Slice", "Slice"], ["Vapor Trail", "Vapor Trail", "Vapor Trail"], ["View", "View", "View"], ["Wisp", "Wisp", "Wisp"], ["Wood Type", "Wood Type", "Wood Type"], ["Office 2007-2010", "Office 2007-2010", "Office 2007-2010"]], Ri = "Themes is readonly. To make modifications create a new DocsThemes instance.", Ai = { [Ls.Scheme.Bg1]: "lt1", [Ls.Scheme.Bg2]: "lt2", [Ls.Scheme.Tx1]: "dk1", [Ls.Scheme.Tx2]: "dk2", [Ls.Scheme.Accent1]: "accent1", [Ls.Scheme.Accent2]: "accent2", [Ls.Scheme.Accent3]: "accent3", [Ls.Scheme.Accent4]: "accent4", [Ls.Scheme.Accent5]: "accent5", [Ls.Scheme.Accent6]: "accent6", [Ls.Scheme.Hlink]: "hlink", [Ls.Scheme.FolHlink]: "folHlink" }, Mi = "Office", Ni = [Mi, "Calibri Light", "Calibri"], Ti = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], Fi = (t2) => {
|
|
4573
4559
|
const e2 = {};
|
|
4574
4560
|
for (let n2 = 0; n2 < t2.length; n2++) {
|
|
4575
4561
|
const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
|
|
4576
4562
|
e2[o2] = s2;
|
|
4577
|
-
for (let t3 = 0; t3 <
|
|
4578
|
-
const e3 =
|
|
4563
|
+
for (let t3 = 0; t3 < Ti.length; t3++) {
|
|
4564
|
+
const e3 = Ti[t3], n3 = r2[t3 + 1];
|
|
4579
4565
|
if (!n3) continue;
|
|
4580
4566
|
const o3 = Ys.parse(n3);
|
|
4581
4567
|
n3 && (s2[e3] = o3.toString());
|
|
@@ -4586,16 +4572,16 @@ const vi = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E9
|
|
|
4586
4572
|
const e2 = {};
|
|
4587
4573
|
for (let n2 = 0; n2 < t2.length; n2++) {
|
|
4588
4574
|
const r2 = t2[n2], o2 = r2[0], s2 = { name: o2 };
|
|
4589
|
-
e2[o2] = s2, s2.majorFont = r2[1] ??
|
|
4575
|
+
e2[o2] = s2, s2.majorFont = r2[1] ?? Ni[1], s2.minorFont = r2[2] ?? Ni[2];
|
|
4590
4576
|
}
|
|
4591
4577
|
return e2;
|
|
4592
|
-
}, Oi = Fi([[Mi, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Di = ki([
|
|
4578
|
+
}, Oi = Fi([[Mi, "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"]]), Di = ki([Ni]), Bi = Oi[Mi], Li = Di[Mi];
|
|
4593
4579
|
let Pi = null;
|
|
4594
4580
|
const zi = new class {
|
|
4595
4581
|
constructor() {
|
|
4596
4582
|
this._colors = {};
|
|
4597
|
-
for (let t2 = 0; t2 <
|
|
4598
|
-
const e2 =
|
|
4583
|
+
for (let t2 = 0; t2 < Ti.length; t2++) {
|
|
4584
|
+
const e2 = Ti[t2], n2 = Ys.parse(Bi[e2]);
|
|
4599
4585
|
this._colors[e2] = n2;
|
|
4600
4586
|
}
|
|
4601
4587
|
}
|
|
@@ -4704,8 +4690,8 @@ class Wi {
|
|
|
4704
4690
|
const Hi = new class {
|
|
4705
4691
|
constructor() {
|
|
4706
4692
|
this._colors = {};
|
|
4707
|
-
for (let t2 = 0; t2 <
|
|
4708
|
-
const e2 =
|
|
4693
|
+
for (let t2 = 0; t2 < Ti.length; t2++) {
|
|
4694
|
+
const e2 = Ti[t2], n2 = Ys.parse(Bi[e2]);
|
|
4709
4695
|
this._colors[e2] = n2;
|
|
4710
4696
|
}
|
|
4711
4697
|
}
|
|
@@ -5674,8 +5660,8 @@ class _a {
|
|
|
5674
5660
|
if (void 0 === e2 && (e2 = o2 + 1), 0 === this._count || t2 <= r2 && e2 - 1 >= o2) return this.clone();
|
|
5675
5661
|
const s2 = Math.max(r2, t2), i2 = Math.min(o2, e2 - 1), a2 = i2 - s2, l2 = [];
|
|
5676
5662
|
let c2 = 0;
|
|
5677
|
-
|
|
5678
|
-
const h2 = this.runs(
|
|
5663
|
+
Na.bounds.min = s2, Na.bounds.max = i2;
|
|
5664
|
+
const h2 = this.runs(Na);
|
|
5679
5665
|
let d2 = h2.next();
|
|
5680
5666
|
for (; !d2.done; ) {
|
|
5681
5667
|
const t3 = d2.value;
|
|
@@ -5842,8 +5828,8 @@ const Sa = (t2) => "boolean" != typeof t2 ? (t2 && !t2.value && (t2.value = [-1,
|
|
|
5842
5828
|
}
|
|
5843
5829
|
if (e2) for (let t3 = i2; t3 < n2; t3++) o2.push(void 0);
|
|
5844
5830
|
return o2;
|
|
5845
|
-
}, ba = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), va = Object.seal({ done: false, value: [-1, null] }), xa = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: va }, Ia = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: va }), Ra = { min: 0, max: Number.MAX_SAFE_INTEGER }, Aa = { min: 0, max: Number.MAX_SAFE_INTEGER }, Ma = [null, null],
|
|
5846
|
-
class
|
|
5831
|
+
}, ba = Object.seal({ done: false, value: [{ min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, null] }), va = Object.seal({ done: false, value: [-1, null] }), xa = { reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: va }, Ia = Object.freeze({ reverse: false, bounds: { min: Number.MIN_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER }, processSkip: null, reuseResult: va }), Ra = { min: 0, max: Number.MAX_SAFE_INTEGER }, Aa = { min: 0, max: Number.MAX_SAFE_INTEGER }, Ma = [null, null], Na = { bounds: { min: 0, max: 0 }, overflowRun: true };
|
|
5832
|
+
class Ta {
|
|
5847
5833
|
constructor(t2 = 9) {
|
|
5848
5834
|
this._maxEntries = Math.max(4, t2), this._minEntries = Math.max(2, Math.ceil(0.4 * this._maxEntries)), this.clear();
|
|
5849
5835
|
}
|
|
@@ -6092,7 +6078,7 @@ function Ja(t2, e2, n2) {
|
|
|
6092
6078
|
const r2 = t2[e2];
|
|
6093
6079
|
t2[e2] = t2[n2], t2[n2] = r2;
|
|
6094
6080
|
}
|
|
6095
|
-
class qa extends
|
|
6081
|
+
class qa extends Ta {
|
|
6096
6082
|
toBBox(t2) {
|
|
6097
6083
|
return { minX: 10 * t2.colStart, minY: 10 * t2.rowStart, maxX: 10 * t2.colEnd + 5, maxY: 10 * t2.rowEnd + 5 };
|
|
6098
6084
|
}
|
|
@@ -6162,7 +6148,7 @@ class Ka {
|
|
|
6162
6148
|
let _2 = null;
|
|
6163
6149
|
const S2 = this.getBoundingCoords();
|
|
6164
6150
|
if (!S2) return this;
|
|
6165
|
-
const w2 = n2 === h.Up || n2 === h.Left ? h.Right : h.Left, y2 = /* @__PURE__ */ new Map(), E2 = /* @__PURE__ */ new Map(), C2 = this._options?.updateEntryOptions, b2 = C2?.isMergeOnShift ?? false, v2 = C2?.isSplitOnExpand ?? false, x2 = C2?.isTrailingEdge ?? false, I2 = n2 === h.Left || n2 === h.Up, R2 = C2?.getSplit ?? rl, A2 = C2?.getShifted, M2 = C2?.onShifted,
|
|
6151
|
+
const w2 = n2 === h.Up || n2 === h.Left ? h.Right : h.Left, y2 = /* @__PURE__ */ new Map(), E2 = /* @__PURE__ */ new Map(), C2 = this._options?.updateEntryOptions, b2 = C2?.isMergeOnShift ?? false, v2 = C2?.isSplitOnExpand ?? false, x2 = C2?.isTrailingEdge ?? false, I2 = n2 === h.Left || n2 === h.Up, R2 = C2?.getSplit ?? rl, A2 = C2?.getShifted, M2 = C2?.onShifted, N2 = C2?.onRemoved, T2 = C2?.onMerged, F2 = C2?.onUpdated, k2 = M2 ? [] : null, O2 = N2 ? [] : null, D2 = F2 ? [] : null;
|
|
6166
6152
|
this.visitRanges({ colStart: e2.colStart - (a2 ? 1 : 0), rowStart: e2.rowStart - (a2 ? 0 : 1), colEnd: a2 ? S2.colEnd : e2.colEnd, rowEnd: a2 ? e2.rowEnd : S2.rowEnd }, (t3) => {
|
|
6167
6153
|
if ((a2 ? t3.colEnd < e2.colStart : t3.rowEnd < e2.rowStart) && !x2) return;
|
|
6168
6154
|
const r3 = sl(e2, t3, a2 ? g.Column : g.Row), o2 = t3.group;
|
|
@@ -6196,10 +6182,10 @@ class Ka {
|
|
|
6196
6182
|
let t3 = true;
|
|
6197
6183
|
if (m2 > 0 && (t3 = a2 ? e2.rowStart > S2.rowStart || e2.rowEnd < S2.rowEnd : e2.colStart > S2.colStart || e2.colEnd < S2.colEnd), t3) {
|
|
6198
6184
|
const t4 = Xa(_2, c.unionRanges(S2, _2), a2 ? 0 : 1, a2 ? 1 : 0);
|
|
6199
|
-
|
|
6185
|
+
T2 && (L2 = B2._mergeNodes(t4, false));
|
|
6200
6186
|
}
|
|
6201
6187
|
}
|
|
6202
|
-
return F2 && D2.length > 0 && F2(D2), M2 && k2.length > 0 && M2(k2),
|
|
6188
|
+
return F2 && D2.length > 0 && F2(D2), M2 && k2.length > 0 && M2(k2), T2 && L2.length > 0 && T2(L2), N2 && O2.length > 0 && N2(O2), B2;
|
|
6203
6189
|
}
|
|
6204
6190
|
insertNonOverlapping(t2, e2) {
|
|
6205
6191
|
const n2 = e2?.onIntersect ?? ((t3, e3) => ({ ...t3, value: e3.value })), r2 = this.search(t2), s2 = /* @__PURE__ */ new Map(), i2 = /* @__PURE__ */ new Map(), a2 = this._options?.updateEntryOptions, h2 = a2?.onUpdated, d2 = a2?.onRemoved, u2 = a2?.onMerged, g2 = a2?.getSplit, m2 = a2?.getIntersect, f2 = a2?.getUpdate;
|
|
@@ -6941,8 +6927,8 @@ class vl {
|
|
|
6941
6927
|
p2 = t2.reverse ?? false, h2 = /* @__PURE__ */ ((t3) => "boolean" != typeof t3 ? t3 : true === t3 ? { done: false, value: [{ colIndex: -1, rowIndex: -1 }, null] } : void 0)(t2.reuseResult), a2 = e2 ? t2.processColumnSkip : t2.processRowSkip, a2 && (p2 ? u2 = a2(u2, p2) : d2 = a2(d2, p2)), c2 = e2 ? t2.processRowSkip : t2.processColumnSkip, c2 && (p2 ? f2 = c2(u2, p2) : g2 = c2(g2, p2));
|
|
6942
6928
|
}
|
|
6943
6929
|
if (!s2) return ia;
|
|
6944
|
-
r2 || d2 !== u2 || (r2 = true),
|
|
6945
|
-
let _2 = this._major.entries(
|
|
6930
|
+
r2 || d2 !== u2 || (r2 = true), Nl.bounds.min = d2, Nl.bounds.max = u2, Nl.reverse = p2, Nl.processSkip = a2, Nl.reuseResult = Al;
|
|
6931
|
+
let _2 = this._major.entries(Nl), S2 = Tl();
|
|
6946
6932
|
const w2 = (t3) => {
|
|
6947
6933
|
if (!t3.nextActive) return;
|
|
6948
6934
|
const e3 = (e4) => {
|
|
@@ -6982,7 +6968,7 @@ class vl {
|
|
|
6982
6968
|
for (; S2; ) {
|
|
6983
6969
|
let a3 = null;
|
|
6984
6970
|
if (s3) {
|
|
6985
|
-
let e4 = n3 ?
|
|
6971
|
+
let e4 = n3 ? Tl() : S2;
|
|
6986
6972
|
if (a3 = y2(e4), a3) {
|
|
6987
6973
|
n3 ? (e4.prevMajorCursor = S2, S2.nextMajorCursor = e4, S2 = e4) : n3 = S2, o3 = p2 ? Math.max(o3, S2.nextMinorIndex) : Math.min(o3, S2.nextMinorIndex);
|
|
6988
6974
|
const r4 = S2.minorIndex;
|
|
@@ -7080,8 +7066,8 @@ class vl {
|
|
|
7080
7066
|
const e3 = t2[_2], n3 = e3[0], r3 = e3[1], o3 = new _a(p2);
|
|
7081
7067
|
m2(o3, r3, n3);
|
|
7082
7068
|
}, w2 = this._major;
|
|
7083
|
-
|
|
7084
|
-
const y2 = w2.entries(
|
|
7069
|
+
Nl.bounds.min = e2, Nl.bounds.max = n2, Nl.reverse = false, Nl.processSkip = null, Nl.reuseResult = Al;
|
|
7070
|
+
const y2 = w2.entries(Nl);
|
|
7085
7071
|
let E2 = y2.next();
|
|
7086
7072
|
for (; !E2.done; ) {
|
|
7087
7073
|
const e3 = E2.value, n3 = e3[0];
|
|
@@ -7127,8 +7113,8 @@ class vl {
|
|
|
7127
7113
|
let f2 = false, p2 = 0;
|
|
7128
7114
|
const _2 = this._major;
|
|
7129
7115
|
if (l2 <= g2 && h2 >= m2) {
|
|
7130
|
-
|
|
7131
|
-
const t3 = _2.entries(
|
|
7116
|
+
Nl.bounds.min = i2, Nl.bounds.max = a2;
|
|
7117
|
+
const t3 = _2.entries(Nl);
|
|
7132
7118
|
let e3 = t3.next();
|
|
7133
7119
|
for (; !e3.done; ) {
|
|
7134
7120
|
p2 -= e3.value[1].getCount(), e3 = t3.next();
|
|
@@ -7136,8 +7122,8 @@ class vl {
|
|
|
7136
7122
|
return _2.delete(i2, a2 - i2 + 1), this._count += p2, this._dataCoords = null, 0 !== p2;
|
|
7137
7123
|
}
|
|
7138
7124
|
const S2 = [], w2 = this._isShared, y2 = [];
|
|
7139
|
-
|
|
7140
|
-
const E2 = _2.entries(
|
|
7125
|
+
Nl.bounds.min = i2, Nl.bounds.max = a2, Ml.reverse = false, Ml.processSkip = null, Ml.reuseResult = Al;
|
|
7126
|
+
const E2 = _2.entries(Nl);
|
|
7141
7127
|
let C2 = E2.next();
|
|
7142
7128
|
for (; !C2.done; ) {
|
|
7143
7129
|
const t3 = C2.value, e3 = t3[0];
|
|
@@ -7180,10 +7166,10 @@ class vl {
|
|
|
7180
7166
|
if (!o2 && (C2 *= -1, c.isRangeWithinRange(f2, t2))) return this.clear(), true;
|
|
7181
7167
|
let b2 = 0;
|
|
7182
7168
|
const v2 = this._major, x2 = [];
|
|
7183
|
-
if (
|
|
7169
|
+
if (Nl.bounds.min = a2, Nl.bounds.max = E2 ? Number.MAX_SAFE_INTEGER : l2, Ml.reverse = !o2, Ml.processSkip = null, Ml.reuseResult = Al, E2 && y2) {
|
|
7184
7170
|
if (!o2) {
|
|
7185
|
-
|
|
7186
|
-
const t4 = v2.entries(
|
|
7171
|
+
Nl.bounds.max = l2;
|
|
7172
|
+
const t4 = v2.entries(Nl);
|
|
7187
7173
|
let e3 = t4.next();
|
|
7188
7174
|
for (; !e3.done; ) {
|
|
7189
7175
|
b2 -= e3.value[1].getCount(), e3 = t4.next();
|
|
@@ -7195,9 +7181,9 @@ class vl {
|
|
|
7195
7181
|
}
|
|
7196
7182
|
let I2 = n2 ? f2.colStart : f2.rowStart, R2 = n2 ? f2.colEnd : f2.rowEnd, A2 = n2 ? f2.rowStart : f2.colStart, M2 = n2 ? f2.rowEnd : f2.colEnd;
|
|
7197
7183
|
o2 || (A2 = Number.MAX_SAFE_INTEGER, M2 = Number.MIN_SAFE_INTEGER);
|
|
7198
|
-
let
|
|
7199
|
-
r2 && (
|
|
7200
|
-
const
|
|
7184
|
+
let N2 = Number.MAX_SAFE_INTEGER;
|
|
7185
|
+
r2 && (N2 = s2 ? r2.colEnd : r2.rowEnd);
|
|
7186
|
+
const T2 = /* @__PURE__ */ new Set(), F2 = E2 ? /* @__PURE__ */ new Map() : null, k2 = [], O2 = v2.entries(Nl), D2 = { bounds: { min: g2, max: m2 } };
|
|
7201
7187
|
let B2 = O2.next();
|
|
7202
7188
|
for (; !B2.done; ) {
|
|
7203
7189
|
const t3 = B2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
|
|
@@ -7209,10 +7195,10 @@ class vl {
|
|
|
7209
7195
|
r5 - 1 <= m2 && o4 > m2 && (s4 = s4.slice(0, m2 + 1 - r5)), r5 < g2 && o4 + 1 >= g2 && (s4 = s4.slice(g2 - r5)), k2.push({ majorIndex: e3 + C2, minorIndex: Math.max(r5, g2), run: s4 });
|
|
7210
7196
|
}), n3.delete(g2, m2 - g2 + 1)) : n3.shift(g2, C2);
|
|
7211
7197
|
const r4 = n3.getCount();
|
|
7212
|
-
if (0 === r4)
|
|
7198
|
+
if (0 === r4) T2.add(e3), A2 = Math.min(A2, s3), M2 = Math.max(M2, o3);
|
|
7213
7199
|
else {
|
|
7214
7200
|
const t5 = n3.getCoords();
|
|
7215
|
-
if (A2 = Math.min(A2, t5.min), M2 = Math.max(M2, t5.max), M2 >
|
|
7201
|
+
if (A2 = Math.min(A2, t5.min), M2 = Math.max(M2, t5.max), M2 > N2) throw new d();
|
|
7216
7202
|
}
|
|
7217
7203
|
b2 += r4 - t4, x2.push([e3, n3]);
|
|
7218
7204
|
}
|
|
@@ -7223,10 +7209,10 @@ class vl {
|
|
|
7223
7209
|
for (let t3 = 0; t3 < k2.length; t3++) {
|
|
7224
7210
|
const e3 = k2[t3], n3 = e3.majorIndex, r3 = e3.run;
|
|
7225
7211
|
let o3 = F2.get(n3);
|
|
7226
|
-
o3 || (o3 = new _a(L2), F2.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),
|
|
7212
|
+
o3 || (o3 = new _a(L2), F2.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);
|
|
7227
7213
|
}
|
|
7228
|
-
if (this._updateMajorSpan(x2, P2),
|
|
7229
|
-
const t3 = Array.from(
|
|
7214
|
+
if (this._updateMajorSpan(x2, P2), T2 && T2.size > 0) {
|
|
7215
|
+
const t3 = Array.from(T2.values()), e3 = Rs(t3);
|
|
7230
7216
|
for (let t4 = 0; t4 < e3.length; t4++) {
|
|
7231
7217
|
const n4 = e3[t4];
|
|
7232
7218
|
v2.delete(n4.min, n4.max - n4.min + 1);
|
|
@@ -7315,7 +7301,7 @@ class vl {
|
|
|
7315
7301
|
vl || (vl = {});
|
|
7316
7302
|
const xl = 12;
|
|
7317
7303
|
Object.seal({ done: false, value: null });
|
|
7318
|
-
const Il = [-1, -1, null], Rl = Object.seal({ done: false, value: [-1, null] }), Al = Object.seal({ done: false, value: [-1, null] }), Ml = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Rl },
|
|
7304
|
+
const Il = [-1, -1, null], Rl = Object.seal({ done: false, value: [-1, null] }), Al = Object.seal({ done: false, value: [-1, null] }), Ml = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Rl }, Nl = { bounds: { min: -1, max: -1 }, reverse: false, processSkip: null, reuseResult: Al }, Tl = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: false, nextMinorIndex: -1, nextActive: false, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
|
|
7319
7305
|
class Fl {
|
|
7320
7306
|
constructor(t2) {
|
|
7321
7307
|
if (this._l = 0, this._at = null, this._dt = Kl.Undefined, this._a32 = null, this._a64 = null, this._cv = null, this._vt = null, this._vi32 = null, this._vi64 = null, this._vf32 = null, this._vf64 = null, !t2) throw new Error("options is required");
|
|
@@ -7770,28 +7756,28 @@ class oc {
|
|
|
7770
7756
|
const t2 = { ...M2 };
|
|
7771
7757
|
1 === p2 && (t2.colEnd = t2.colStart), 1 === _2 && (t2.rowEnd = t2.rowStart), A2 = new fl({ delegate: g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: t2, reuseResult: false }), bounds: t2, orientation: x2, dims: { major: I2 ? S2 : w2, minor: I2 ? w2 : S2 } });
|
|
7772
7758
|
} else A2 = g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: M2, reuseResult: false });
|
|
7773
|
-
const
|
|
7759
|
+
const N2 = i2.colStart, T2 = i2.rowStart, F2 = N2 - M2.colStart, k2 = T2 - M2.rowStart, O2 = x2 === v2 ? new Ft.Builder() : new Ft.TransposedBuilder(), D2 = new pl({ ...s2, bounds: i2, comparator: (I2 ? tc : ec)(i2, M2) }, R2, A2);
|
|
7774
7760
|
let B2, L2 = D2.next();
|
|
7775
7761
|
for (; !L2.done; ) {
|
|
7776
7762
|
const t2 = L2.value;
|
|
7777
7763
|
let e2 = t2[1], r3 = t2[3];
|
|
7778
7764
|
const s3 = t2[0], i3 = t2[2], a3 = s3 ? s3.colIndex : i3.colIndex + F2, l3 = s3 ? s3.rowIndex : i3.rowIndex + k2;
|
|
7779
7765
|
let c2, u3;
|
|
7780
|
-
e2 instanceof n.Value ? c2 = e2 : r3 instanceof n.Value && (c2 = r3), u3 = c2 || o2(e2 ?? h2, r3 ?? d2, { colIndex: a3 -
|
|
7766
|
+
e2 instanceof n.Value ? c2 = e2 : r3 instanceof n.Value && (c2 = r3), u3 = c2 || o2(e2 ?? h2, r3 ?? d2, { colIndex: a3 - N2, rowIndex: l3 - T2 }, this);
|
|
7781
7767
|
const g3 = I2 ? a3 : l3, m3 = I2 ? l3 : a3;
|
|
7782
7768
|
O2.addValue(g3, m3, u3), L2 = D2.next();
|
|
7783
7769
|
}
|
|
7784
7770
|
if (C2 && y2 > S2 || E2 > w2) {
|
|
7785
7771
|
const t2 = this._values.clone();
|
|
7786
7772
|
if (this._applyBuilder(t2, O2), y2 > S2) {
|
|
7787
|
-
const e2 = hl(
|
|
7773
|
+
const e2 = hl(N2 + S2, T2, N2 + y2 - 1, T2 + E2 - 1, I2), n2 = Sl(C2, e2, I2);
|
|
7788
7774
|
t2.setValues(n2.tuples);
|
|
7789
7775
|
}
|
|
7790
7776
|
if (E2 > w2) {
|
|
7791
|
-
const e2 = hl(
|
|
7777
|
+
const e2 = hl(N2, T2 + w2, N2 + y2 - 1, T2 + E2 - 1, I2), n2 = Sl(C2, e2, I2);
|
|
7792
7778
|
t2.setValues(n2.tuples);
|
|
7793
7779
|
}
|
|
7794
|
-
B2 = new oc(t2, { colStart:
|
|
7780
|
+
B2 = new oc(t2, { colStart: N2, rowStart: T2, colEnd: N2 + y2 - 1, rowEnd: T2 + E2 - 1 }, this._type);
|
|
7795
7781
|
} else B2 = this._cloneFromBuilder(O2, s2, y2, E2);
|
|
7796
7782
|
return B2;
|
|
7797
7783
|
}
|
|
@@ -8153,9 +8139,9 @@ const sc = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
|
|
|
8153
8139
|
const i2 = n2.getOrientation() === e.Orientation.Column, a2 = wl(s2, i2, hl(r2?.colStart ?? 0, r2?.rowStart ?? 0, void 0, void 0, i2), true), l2 = dl(a2.bounds, i2);
|
|
8154
8140
|
n2.setValues(a2.tuples);
|
|
8155
8141
|
return new oc(n2, l2, o2, !r2);
|
|
8156
|
-
}, Ec = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), Cc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), bc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), vc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), xc = /\s+/g, Ic = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, Rc = /[\uE000-\uF8FF]/g, Ac = "#REF!", Mc = Math.pow(2, 14),
|
|
8157
|
-
let
|
|
8158
|
-
const kc = (t2) => (
|
|
8142
|
+
}, Ec = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), Cc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), bc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), vc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), xc = /\s+/g, Ic = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, Rc = /[\uE000-\uF8FF]/g, Ac = "#REF!", Mc = Math.pow(2, 14), Nc = Math.pow(2, 20);
|
|
8143
|
+
let Tc, Fc;
|
|
8144
|
+
const kc = (t2) => (Tc === t2 || (Fc = "" + (t2 + 1), Tc = t2), Fc);
|
|
8159
8145
|
let Oc, Dc;
|
|
8160
8146
|
const Bc = (t2) => {
|
|
8161
8147
|
if (Oc === t2) return Dc;
|
|
@@ -8622,7 +8608,7 @@ class Ih {
|
|
|
8622
8608
|
const Rh = Object.freeze({ break: true });
|
|
8623
8609
|
var Ah;
|
|
8624
8610
|
(Ah || (Ah = {})).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" };
|
|
8625
|
-
const Mh = Object.freeze({ [Ah.Type.Style]: false, [Ah.Type.Table]: false, [Ah.Type.Merge]: false, [Ah.Type.Hyperlink]: false, [Ah.Type.Comments]: false, [Ah.Type.Unlock]: false, [Ah.Type.Formula]: false, [Ah.Type.Spill]: false, [Ah.Type.Pending]: false, [Ah.Type.CalcError]: false, [Ah.Type.Contentful]: false, [Ah.Type.Conditional]: false, [Ah.Type.Continuous]: false }),
|
|
8611
|
+
const Mh = Object.freeze({ [Ah.Type.Style]: false, [Ah.Type.Table]: false, [Ah.Type.Merge]: false, [Ah.Type.Hyperlink]: false, [Ah.Type.Comments]: false, [Ah.Type.Unlock]: false, [Ah.Type.Formula]: false, [Ah.Type.Spill]: false, [Ah.Type.Pending]: false, [Ah.Type.CalcError]: false, [Ah.Type.Contentful]: false, [Ah.Type.Conditional]: false, [Ah.Type.Continuous]: false }), Nh = Object.freeze({ [Ah.Type.Style]: false, [Ah.Type.Table]: false, [Ah.Type.Merge]: false, [Ah.Type.Hyperlink]: false, [Ah.Type.Comments]: false, [Ah.Type.Unlock]: false, [Ah.Type.Formula]: false, [Ah.Type.Spill]: false, [Ah.Type.Pending]: false, [Ah.Type.CalcError]: false, [Ah.Type.Conditional]: false, [Ah.Type.Continuous]: false }), Th = Object.freeze({ [Ah.Type.Style]: false, [Ah.Type.Table]: true, [Ah.Type.Merge]: false, [Ah.Type.Hyperlink]: false, [Ah.Type.Comments]: false, [Ah.Type.Unlock]: false, [Ah.Type.Formula]: false });
|
|
8626
8612
|
Object.freeze({ [Ah.Type.Style]: false, [Ah.Type.Table]: false, [Ah.Type.Hyperlink]: false, [Ah.Type.Comments]: false, [Ah.Type.Unlock]: false, [Ah.Type.Contentful]: false, [Ah.Type.Formula]: false });
|
|
8627
8613
|
const Fh = Object.freeze({ [Ah.Type.Style]: false, [Ah.Type.Hyperlink]: false, [Ah.Type.Continuous]: false, [Ah.Type.Contentful]: false }), kh = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Oh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, Dh = "The range is outside of the bounds of the sheet.", Bh = "Listener can not be null", Lh = "We can't insert items. The sheet is protected.", Ph = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, zh = "Overlapping ranges can not be merged.", Wh = "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.", Hh = "Unable to partially fill over merged cells.", Vh = "Unable to sort merged cells unless they are all the same size.", $h = "Sheet has been closed. No further operations are allowed.", jh = "IteratorContext can only be used during visit.", Gh = "When using addresses directly from the sheet do not include the sheet name.", Uh = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, Jh = "'setValue' expects a single value; when working with an array use 'setValue'.", qh = "Multiple selection ranges can not be copied.", Kh = "Unable to determine source.", Xh = "When pasting before or after the cut area both areas must align.";
|
|
8628
8614
|
var Yh, Qh;
|
|
@@ -8680,8 +8666,8 @@ const td = (t2) => {
|
|
|
8680
8666
|
n2 && "]" !== s2 && '"' !== s2 ? e2 += s2 : '"' === s2 ? (e2 += "\\0022", n2 = !n2) : ["[", "]", ",", "#", ".", "@", "/", ":", ";", "-", " "].includes(s2) ? (e2 += "\\" + s2, "[" === s2 ? n2 = true : "]" === s2 && (n2 = false)) : ["(", ")"].includes(s2) ? e2 += "_" === r2 ? "\\" + s2 : "\\\\\\" + s2 : ["$"].includes(s2) ? e2 += "\\0022" + s2 + "\\0022" : e2 += s2, r2 = s2;
|
|
8681
8667
|
}
|
|
8682
8668
|
return '"' + e2 + '"';
|
|
8683
|
-
}, hd = "Thin", dd = "Hairline", ud = "Extra Light", gd = "Ultra Light", md = "Light", fd = "Normal", pd = "Regular", _d = "Medium", Sd = "Semi Bold", wd = "Demi Bold", yd = "Bold", Ed = "Extra Bold", Cd = "Ultra Bold", bd = "Black", vd = "Heavy", xd = "Extra Black", Id = "Ultra Black", Rd = "lighter", Ad = "normal", Md = "bold",
|
|
8684
|
-
|
|
8669
|
+
}, hd = "Thin", dd = "Hairline", ud = "Extra Light", gd = "Ultra Light", md = "Light", fd = "Normal", pd = "Regular", _d = "Medium", Sd = "Semi Bold", wd = "Demi Bold", yd = "Bold", Ed = "Extra Bold", Cd = "Ultra Bold", bd = "Black", vd = "Heavy", xd = "Extra Black", Id = "Ultra Black", Rd = "lighter", Ad = "normal", Md = "bold", Nd = "bolder", Td = /* @__PURE__ */ new Map();
|
|
8670
|
+
Td.set(o.textToKey(hd), 100), Td.set(o.textToKey(dd), 100), Td.set(o.textToKey(ud), 200), Td.set(o.textToKey(gd), 200), Td.set(o.textToKey(md), 300), Td.set(o.textToKey(fd), 400), Td.set(o.textToKey(pd), 400), Td.set(o.textToKey(_d), 500), Td.set(o.textToKey(Sd), 600), Td.set(o.textToKey(wd), 600), Td.set(o.textToKey(fd), 400), Td.set(o.textToKey(yd), 700), Td.set(o.textToKey(Ed), 800), Td.set(o.textToKey(Cd), 800), Td.set(o.textToKey(bd), 900), Td.set(o.textToKey(vd), 900), Td.set(o.textToKey(xd), 950), Td.set(o.textToKey(Id), 950), Td.set(o.textToKey(Rd), 100), Td.set(o.textToKey(Ad), 400), Td.set(o.textToKey(Md), 700), Td.set(o.textToKey(Nd), 700);
|
|
8685
8671
|
const Fd = "xx-small", kd = "x-small", Od = "small", Dd = "medium", Bd = "large", Ld = "x-large", Pd = "xx-large", zd = "xxx-large", Wd = "smaller", Hd = "larger", Vd = "math", $d = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), jd = /* @__PURE__ */ new Map();
|
|
8686
8672
|
jd.set(o.textToKey(Fd), (t2) => 0.4 * t2), jd.set(o.textToKey(kd), (t2) => 0.5 * t2), jd.set(o.textToKey(Od), (t2) => 0.6 * t2), jd.set(o.textToKey(Dd), (t2) => t2), jd.set(o.textToKey(Bd), (t2) => 1.1 * t2), jd.set(o.textToKey(Ld), (t2) => 1.25 * t2), jd.set(o.textToKey(Pd), (t2) => 1.5 * t2), jd.set(o.textToKey(zd), (t2) => 2 * t2), jd.set(o.textToKey(Wd), (t2) => 0.9 * t2), jd.set(o.textToKey(Hd), (t2) => 1.1 * t2), jd.set(o.textToKey(Vd), (t2) => t2);
|
|
8687
8673
|
const Gd = (t2, e2 = 11, n2 = "pt") => {
|
|
@@ -8824,7 +8810,7 @@ const Ru = (t2) => {
|
|
|
8824
8810
|
})), !t2) return null;
|
|
8825
8811
|
const n2 = {};
|
|
8826
8812
|
return t2.style && (n2.style = t2.style), t2.color && (n2.color = t2.color), n2;
|
|
8827
|
-
}, properties: { color: Au } },
|
|
8813
|
+
}, properties: { color: Au } }, Nu = { shorthand: (t2, e2) => {
|
|
8828
8814
|
if (t2.isIBorder) return t2.getProperties();
|
|
8829
8815
|
if ("string" == typeof t2) {
|
|
8830
8816
|
const n2 = cu(t2, (t3) => {
|
|
@@ -8837,7 +8823,7 @@ const Ru = (t2) => {
|
|
|
8837
8823
|
return { left: n2, right: n2, top: n2, bottom: n2, horizontal: null, vertical: null, diagonalUp: null, diagonalDown: null };
|
|
8838
8824
|
}
|
|
8839
8825
|
return t2;
|
|
8840
|
-
}, properties: { top: Mu, left: Mu, right: Mu, bottom: Mu, horizontal: Mu, vertical: Mu, diagonalUp: Mu, diagonalDown: Mu } },
|
|
8826
|
+
}, properties: { top: Mu, left: Mu, right: Mu, bottom: Mu, horizontal: Mu, vertical: Mu, diagonalUp: Mu, diagonalDown: Mu } }, Tu = { shorthand: (t2, e2) => {
|
|
8841
8827
|
if ("string" == typeof t2) {
|
|
8842
8828
|
let e3 = pi.Styles.lookupDefault(t2);
|
|
8843
8829
|
return void 0 !== e3 ? e3 : t2;
|
|
@@ -8871,7 +8857,7 @@ const Ru = (t2) => {
|
|
|
8871
8857
|
let e3 = 400;
|
|
8872
8858
|
if (e3 = "number" == typeof t3 ? t3 : parseFloat(t3), !isNaN(e3)) return e3;
|
|
8873
8859
|
if ("string" == typeof t3) {
|
|
8874
|
-
const e4 = o.textToKey(t3), n3 =
|
|
8860
|
+
const e4 = o.textToKey(t3), n3 = Td.get(e4);
|
|
8875
8861
|
if (n3) return n3;
|
|
8876
8862
|
}
|
|
8877
8863
|
return e3;
|
|
@@ -8910,14 +8896,14 @@ const Wu = zu.length, Hu = { properties: { font: Fu, fill: { shorthand: (t2, e2)
|
|
|
8910
8896
|
if (r2?.type) return r2;
|
|
8911
8897
|
}
|
|
8912
8898
|
return t2;
|
|
8913
|
-
}, getSubType: (t2) => t2.type === Ds.Type.None ? Ou : t2.type === Ds.Type.Solid ? Du : t2.type === Ds.Type.Gradient ? Bu : t2.type === Ds.Type.Pattern ? Lu : null }, alignment: ku, border:
|
|
8899
|
+
}, getSubType: (t2) => t2.type === Ds.Type.None ? Ou : t2.type === Ds.Type.Solid ? Du : t2.type === Ds.Type.Gradient ? Bu : t2.type === Ds.Type.Pattern ? Lu : null }, alignment: ku, border: Nu, numberFormat: Tu } }, Vu = { properties: { style: Hu } }, $u = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: o.EmptyArray, spacingChars: o.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: o.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: false, asDate: null, isDateFormat: false, isTimeFormat: false, isDate1904: false }), ju = (e2, n2, r2, s2, i2, a2 = false) => {
|
|
8914
8900
|
if (null == e2) return $u;
|
|
8915
8901
|
let l2 = "", c2 = null, h2 = null, d2 = null;
|
|
8916
8902
|
if (r2 === t.Error) l2 = e2.getLabel();
|
|
8917
8903
|
else if (r2 === t.RichData) l2 = "(Rich Object)";
|
|
8918
8904
|
else if (r2 === t.Boolean) l2 = e2 ? "TRUE" : "FALSE";
|
|
8919
8905
|
else if (s2) try {
|
|
8920
|
-
l2 =
|
|
8906
|
+
l2 = Nr(s2, e2, { date1904: a2, spacingCharacter: "", digitCharacter: "", onRepeatChar: (t2, e3) => {
|
|
8921
8907
|
h2 || (h2 = []), h2.push({ offset: t2, char: e3 });
|
|
8922
8908
|
}, onSpacingChar: (t2, e3) => {
|
|
8923
8909
|
d2 || (d2 = []), d2.push({ offset: t2, char: e3 });
|
|
@@ -9831,14 +9817,14 @@ const bg = new class {
|
|
|
9831
9817
|
const v2 = c2.colHeaders, x2 = v2.findOffset.bind(v2), I2 = v2.findIndex.bind(v2);
|
|
9832
9818
|
let R2 = x2(h2);
|
|
9833
9819
|
const A2 = R2;
|
|
9834
|
-
let M2 = x2(h2 + b2),
|
|
9835
|
-
const k2 = { x: 0, y: 0, width:
|
|
9820
|
+
let M2 = x2(h2 + b2), N2 = M2 - R2, T2 = h2, F2 = h2;
|
|
9821
|
+
const k2 = { x: 0, y: 0, width: N2, height: d2?.height ?? 0 };
|
|
9836
9822
|
const O2 = h2 - h2 + b2;
|
|
9837
|
-
let D2 = d2 ? d2.width -
|
|
9838
|
-
|
|
9823
|
+
let D2 = d2 ? d2.width - N2 : 0, B2 = k2;
|
|
9824
|
+
N2 > 0 && D2 > 0 && !m2 && (S2 === p.Center && (D2 /= 2), S2 !== p.Left && S2 !== p.Center || (F2 = I2(M2 + D2), null !== a2 && (F2 = Math.min(F2, a2.colIndex - 1)), M2 = x2(F2), C2 = D2, y2 = F2 - h2), S2 !== p.Right && S2 !== p.Center || (T2 = I2(R2 - D2), null !== i2 && (T2 = Math.max(T2, i2.colIndex + 1)), R2 = x2(T2), E2 = D2, w2 = h2 - T2), k2.x = A2 - R2, B2.x = k2.x), b2 > 1 && (y2 = S2 === p.Center ? Math.max(O2 - 1, y2) : b2 - 1, M2 = x2(h2 + 1), k2.width = M2 - R2, B2 = { ...k2 }, B2.width = N2);
|
|
9839
9825
|
return { anchorBounds: k2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: B2 };
|
|
9840
9826
|
};
|
|
9841
|
-
class
|
|
9827
|
+
class Ng {
|
|
9842
9828
|
constructor(t2, e2) {
|
|
9843
9829
|
if (this._styles = t2, this._ri = e2, e2?.table) {
|
|
9844
9830
|
const t3 = e2?.table;
|
|
@@ -9879,19 +9865,19 @@ class Tg {
|
|
|
9879
9865
|
return (this._ri.directStyle ?? this._styles.getNormalRanged()).cloneWithUpdate(t2);
|
|
9880
9866
|
}
|
|
9881
9867
|
}
|
|
9882
|
-
const
|
|
9868
|
+
const Tg = (t2, e2, n2, r2) => {
|
|
9883
9869
|
const o2 = r2.styles;
|
|
9884
|
-
return gg(o2, n2 ? new
|
|
9870
|
+
return gg(o2, n2 ? new Ng(o2, n2) : null, e2, r2.styleUpdater);
|
|
9885
9871
|
}, Fg = (e2, n2, r2, s2, i2, a2, l2, c2 = null, h2 = Cg) => {
|
|
9886
9872
|
if (null === r2) return n2 ? n2.getBestFit() : null;
|
|
9887
9873
|
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 === yo.Overflow.Visible, C2 = d2 && (_2 === yo.Overflow.Wrap || w2 === yo.VerticalAlignment.Justify || w2 === yo.VerticalAlignment.Distributed), b2 = (c2 ?? "") + "\0" + m2 + f2 + g2 + y2 + S2 + E2 + C2 + a2 + l2 + (c2 ? "" : r2), v2 = h2.get(b2);
|
|
9888
9874
|
if (v2) return v2;
|
|
9889
9875
|
let x2 = null, I2 = null;
|
|
9890
9876
|
const R2 = Rg(e2, n2), A2 = R2.top + R2.bottom + +nm(n2);
|
|
9891
|
-
let M2 = false,
|
|
9892
|
-
l2 && (
|
|
9893
|
-
const
|
|
9894
|
-
if (
|
|
9877
|
+
let M2 = false, N2 = false;
|
|
9878
|
+
l2 && (N2 = true, (0 !== S2 || C2) && (N2 = false));
|
|
9879
|
+
const T2 = N2 ? void 0 : Ig(e2, n2, r2, s2), F2 = R2.left + R2.right + 2;
|
|
9880
|
+
if (T2) {
|
|
9895
9881
|
if (e2 === t.Number && "General" === y2 && a2) {
|
|
9896
9882
|
let t2 = r2, e3 = o.splitNumber(t2), s3 = "";
|
|
9897
9883
|
s3 = Math.abs(t2) >= Math.pow(10, 12) || Math.abs(t2) <= Math.pow(10, -12) ? `0.${"0".repeat(Math.max(2, Math.min(e3.ipLength, 5)))}E+00` : 0 === Math.abs(e3.ipLength) ? "0.0" : Math.abs(e3.fpLength) > 0 ? "0".repeat(e3.ipLength) + ".0" : "0".repeat(e3.ipLength), t2 < 0 && (s3 = "-" + s3), s3 = "0".repeat(s3.length);
|
|
@@ -9900,7 +9886,7 @@ const Ng = (t2, e2, n2, r2) => {
|
|
|
9900
9886
|
} else {
|
|
9901
9887
|
let t2 = null;
|
|
9902
9888
|
C2 && (t2 = { width: Math.max(1, i2 - F2) });
|
|
9903
|
-
const e3 =
|
|
9889
|
+
const e3 = T2.layout(t2);
|
|
9904
9890
|
x2 = e3.bounds.width, I2 = e3.bounds.height;
|
|
9905
9891
|
}
|
|
9906
9892
|
if (null !== x2 && (x2 += F2), null !== I2 && (I2 += A2), M2 = e2 === t.String, S2) {
|
|
@@ -10046,7 +10032,7 @@ class Og {
|
|
|
10046
10032
|
getStyle(t2 = false) {
|
|
10047
10033
|
if (!t2 && this._styleConditional) return this._styleConditional;
|
|
10048
10034
|
if (t2 && this._styleSpecific) return this._styleSpecific;
|
|
10049
|
-
const e2 =
|
|
10035
|
+
const e2 = Tg(0, c.cellToRange(this._coords), this._ri, this._options);
|
|
10050
10036
|
return t2 ? this._styleSpecific = e2 : this._styleConditional = e2, e2;
|
|
10051
10037
|
}
|
|
10052
10038
|
createTemporaryCell(t2) {
|
|
@@ -10055,7 +10041,7 @@ class Og {
|
|
|
10055
10041
|
const n2 = vg(t2, this._options);
|
|
10056
10042
|
let r2 = this._ri;
|
|
10057
10043
|
if (void 0 !== n2.style) {
|
|
10058
|
-
const t3 = this._coords ?? c.EmptyCell, o3 = c.cellToRange(t3), s3 = () =>
|
|
10044
|
+
const t3 = this._coords ?? c.EmptyCell, o3 = c.cellToRange(t3), s3 = () => Tg(0, o3, this._ri, this._options), i2 = Zu(this._options.styles, n2.style, s3), a2 = (this._ri?.directStyle ?? new _g(e2.styles, o3)).cloneWithUpdate(i2);
|
|
10059
10045
|
r2 = { ...r2, directStyle: a2 };
|
|
10060
10046
|
}
|
|
10061
10047
|
let o2 = this._t, s2 = this._v;
|
|
@@ -10091,14 +10077,14 @@ class Og {
|
|
|
10091
10077
|
const s3 = parseFloat(e3), a2 = s3 % 1 != 0, l2 = s3 >= 1;
|
|
10092
10078
|
if (s3 < 0) return o.castToString(e3);
|
|
10093
10079
|
if (!n2 || r4 || a2) if (!r4 || n2 || l2) {
|
|
10094
|
-
const e4 =
|
|
10080
|
+
const e4 = Tr("Short Date", t2, i2), n3 = Tr("Long Time", t2, i2);
|
|
10095
10081
|
if (e4 && n3) return e4.fmt + " " + n3.fmt;
|
|
10096
10082
|
} else {
|
|
10097
|
-
const e4 =
|
|
10083
|
+
const e4 = Tr("Long Time", t2, i2);
|
|
10098
10084
|
if (e4) return e4.fmt;
|
|
10099
10085
|
}
|
|
10100
10086
|
else {
|
|
10101
|
-
const e4 =
|
|
10087
|
+
const e4 = Tr("Short Date", t2, i2);
|
|
10102
10088
|
if (e4) return e4.fmt;
|
|
10103
10089
|
}
|
|
10104
10090
|
}
|
|
@@ -10430,7 +10416,7 @@ const tm = /^[\\+-]?[0-9]*\.?[0-9]*$/, em = (t2, e2, r2) => {
|
|
|
10430
10416
|
}, sm = (t2, n2, r2, o2) => {
|
|
10431
10417
|
const s2 = o2?.asJSDate;
|
|
10432
10418
|
let i2;
|
|
10433
|
-
r2 ? i2 =
|
|
10419
|
+
r2 ? i2 = Nh : (s2 || o2?.includeMergeOverflow) && (i2 = {}, s2 && (i2[Ah.Type.Style] = false, i2[Ah.Type.Table] = false), o2.includeMergeOverflow && (i2[Ah.Type.Merge] = false));
|
|
10434
10420
|
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 = [];
|
|
10435
10421
|
let u2, g2 = -1, m2 = null, f2 = 0;
|
|
10436
10422
|
for (u2 = c2.next(); !u2.done; ) {
|
|
@@ -10865,7 +10851,7 @@ class Rm extends _m {
|
|
|
10865
10851
|
return n2.length > 0 && (t2.fields = n2), e2.sort, 0 === Object.keys(t2).length ? null : t2;
|
|
10866
10852
|
}
|
|
10867
10853
|
}
|
|
10868
|
-
const Am = "A table must have a least one row for the data.", Mm = "Table1",
|
|
10854
|
+
const Am = "A table must have a least one row for the data.", Mm = "Table1", Nm = Object.freeze({ showRowStripes: true, showColumnStripes: false, showFirstColumn: false, showLastColumn: false }), Tm = (t2, e2, n2) => {
|
|
10869
10855
|
if (t2.length !== e2.length) return console.warn("make columns the same length"), false;
|
|
10870
10856
|
const r2 = /* @__PURE__ */ new Set();
|
|
10871
10857
|
for (let t3 = 0; t3 < e2.length; t3++) {
|
|
@@ -11159,10 +11145,10 @@ class Om extends _m {
|
|
|
11159
11145
|
return n2 ? { ...n2, rowStart: n2.rowEnd - e2 + 1 } : null;
|
|
11160
11146
|
}
|
|
11161
11147
|
getStyleOptions() {
|
|
11162
|
-
return this.isClosed() ?
|
|
11148
|
+
return this.isClosed() ? Nm : this._getState()?.styleOptions;
|
|
11163
11149
|
}
|
|
11164
11150
|
updateStyleOptions(t2, e2 = "Update Style Info") {
|
|
11165
|
-
const n2 = this.getStyleOptions(), r2 = t2 ? { ...n2, ...t2 } :
|
|
11151
|
+
const n2 = this.getStyleOptions(), r2 = t2 ? { ...n2, ...t2 } : Nm;
|
|
11166
11152
|
return this._modifyTable({ styleOptions: r2 }, e2), this._styleCache = null, this._getEmitter().notify("onStyleChange"), this;
|
|
11167
11153
|
}
|
|
11168
11154
|
getStyleAt(t2) {
|
|
@@ -11292,7 +11278,7 @@ class Om extends _m {
|
|
|
11292
11278
|
n3.add(a3.toLocaleLowerCase()), t3[i3]?.name !== a3 && (t3[i3].name = a3, s3++);
|
|
11293
11279
|
}
|
|
11294
11280
|
return s3 > 0;
|
|
11295
|
-
})(a2, c2) :
|
|
11281
|
+
})(a2, c2) : Tm(a2, c2, o2);
|
|
11296
11282
|
if (!(r2 || c2.length !== a2.length || l2)) return;
|
|
11297
11283
|
const h2 = "Update Columns";
|
|
11298
11284
|
this._isUpdatingHeader = true;
|
|
@@ -11348,7 +11334,7 @@ class Om extends _m {
|
|
|
11348
11334
|
const o4 = l2 + (c2 + r4 + 1);
|
|
11349
11335
|
o4 && !t3.has(o4.toLowerCase().trim()) && (e3.name = o4);
|
|
11350
11336
|
}
|
|
11351
|
-
|
|
11337
|
+
Tm(s2, o3, null);
|
|
11352
11338
|
} else s2 = o3, i2 = s2.splice(n3, -e2);
|
|
11353
11339
|
this._updateState({ columns: s2 }, { description: "Process Columns" }), this._updateColumns(s2, false, true, i2);
|
|
11354
11340
|
} else t2.after || this._updateState({ columns: [] }, { description: "Process Columns" });
|
|
@@ -11413,7 +11399,7 @@ class Om extends _m {
|
|
|
11413
11399
|
const t2 = {}, e2 = this._getState();
|
|
11414
11400
|
if (!e2) return null;
|
|
11415
11401
|
if (e2.name && (t2.name = e2.name), e2.anchor && (t2.ref = Vc(e2.anchor, this._options.maxRangeCoords)), e2.description && (t2.description = e2.description), 1 !== e2.headerRowCount && (t2.headerRowCount = e2.headerRowCount), 0 !== e2.totalsRowCount && (t2.totalsRowCount = e2.totalsRowCount), e2.columns && (t2.columns = [...e2.columns]), e2.styleOptions) {
|
|
11416
|
-
const n2 = o.diffValues(e2.styleOptions, { ...
|
|
11402
|
+
const n2 = o.diffValues(e2.styleOptions, { ...Nm, name: null });
|
|
11417
11403
|
n2 && (t2.styleOptions = n2);
|
|
11418
11404
|
}
|
|
11419
11405
|
if (e2.filter) {
|
|
@@ -11433,7 +11419,7 @@ class Om extends _m {
|
|
|
11433
11419
|
const t3 = this._names.findValidName(n2.name ?? Mm);
|
|
11434
11420
|
n2.name !== t3 && (n2.name = t3);
|
|
11435
11421
|
}
|
|
11436
|
-
n2.name || (n2.name = Mm), e2.description && (n2.description = e2.description), void 0 !== e2.headerRowCount && (n2.headerRowCount = e2.headerRowCount), void 0 !== e2.totalsRowCount && (n2.totalsRowCount = e2.totalsRowCount), n2.columns = e2.columns ?? o.EmptyArray, n2.styleOptions = { ...
|
|
11422
|
+
n2.name || (n2.name = Mm), e2.description && (n2.description = e2.description), void 0 !== e2.headerRowCount && (n2.headerRowCount = e2.headerRowCount), void 0 !== e2.totalsRowCount && (n2.totalsRowCount = e2.totalsRowCount), n2.columns = e2.columns ?? o.EmptyArray, n2.styleOptions = { ...Nm, ...e2.styleOptions };
|
|
11437
11423
|
const s2 = "Insert Table";
|
|
11438
11424
|
this._updateState(n2, { description: s2 });
|
|
11439
11425
|
const i2 = this._columnsFromSheet();
|
|
@@ -12930,18 +12916,18 @@ class hf {
|
|
|
12930
12916
|
let r2;
|
|
12931
12917
|
Rf = 0, Ff = 0, kf = 0, Df = 0;
|
|
12932
12918
|
const s2 = this._precedentSpatial, i2 = this._formulaSpatial;
|
|
12933
|
-
Mf = 0,
|
|
12919
|
+
Mf = 0, Nf = 0;
|
|
12934
12920
|
const a2 = this._cycleId, l2 = e2.length;
|
|
12935
12921
|
for (let t3 = 0; t3 < l2; t3++) {
|
|
12936
12922
|
const r3 = e2[t3];
|
|
12937
|
-
r3.markId !== n2 && (r3.markId = n2, r3.cycleId = a2, r3.inDegree = 0, If[Rf++] = r3, Af[
|
|
12923
|
+
r3.markId !== n2 && (r3.markId = n2, r3.cycleId = a2, r3.inDegree = 0, If[Rf++] = r3, Af[Nf++] = r3);
|
|
12938
12924
|
}
|
|
12939
12925
|
const c2 = (e3, n3, o2) => {
|
|
12940
12926
|
(t2 || e3.state === vh) && (r2 || (r2 = []), r2.push(n3), t2 || o2(e3));
|
|
12941
12927
|
}, h2 = (t3) => {
|
|
12942
|
-
t3.markId !== n2 && (t3.markId = n2, t3.cycleId = a2, t3.inDegree = 0, If[Rf++] = t3, Af[
|
|
12928
|
+
t3.markId !== n2 && (t3.markId = n2, t3.cycleId = a2, t3.inDegree = 0, If[Rf++] = t3, Af[Nf++] = t3);
|
|
12943
12929
|
};
|
|
12944
|
-
for (; Mf <
|
|
12930
|
+
for (; Mf < Nf; ) {
|
|
12945
12931
|
const t3 = Af[Mf++], e3 = t3.colIndex, n3 = t3.rowIndex;
|
|
12946
12932
|
ff.colStart = e3, ff.rowStart = n3, ff.colEnd = e3, ff.rowEnd = n3;
|
|
12947
12933
|
const r3 = s2.search(ff), i3 = r3.length;
|
|
@@ -12977,13 +12963,13 @@ class hf {
|
|
|
12977
12963
|
}
|
|
12978
12964
|
}
|
|
12979
12965
|
}
|
|
12980
|
-
e3.inDegree = l3, 0 === e3.inDegree && (
|
|
12966
|
+
e3.inDegree = l3, 0 === e3.inDegree && (Tf[kf++] = e3);
|
|
12981
12967
|
}
|
|
12982
12968
|
const d2 = (t3) => {
|
|
12983
|
-
t3.markId === n2 && (t3.inDegree--, 0 === t3.inDegree && (
|
|
12969
|
+
t3.markId === n2 && (t3.inDegree--, 0 === t3.inDegree && (Tf[kf++] = t3));
|
|
12984
12970
|
};
|
|
12985
12971
|
for (; Ff < kf; ) {
|
|
12986
|
-
const t3 =
|
|
12972
|
+
const t3 = Tf[Ff++];
|
|
12987
12973
|
Of[Df++] = t3;
|
|
12988
12974
|
const e3 = t3.colIndex, n3 = t3.rowIndex;
|
|
12989
12975
|
ff.colStart = e3, ff.rowStart = n3, ff.colEnd = e3, ff.rowEnd = n3;
|
|
@@ -13041,13 +13027,13 @@ class hf {
|
|
|
13041
13027
|
}
|
|
13042
13028
|
C2.pendingPrecedents = A2;
|
|
13043
13029
|
}
|
|
13044
|
-
const
|
|
13030
|
+
const N2 = S2 ? v2 : x2, T2 = S2 ? x2 : v2;
|
|
13045
13031
|
o2.node = C2, o2.colIndex = v2, o2.rowIndex = x2;
|
|
13046
13032
|
const F2 = b2.formula;
|
|
13047
13033
|
let k2, O2;
|
|
13048
13034
|
const D2 = C2.pending;
|
|
13049
13035
|
let B2 = D2;
|
|
13050
|
-
if ((A2 || C2.pendingPromise) && (B2 = true, k2 = C2.cachedValue ?? null, C2.pendingPromise && (C2.pendingResolved ? (C2.pendingPromise = null, C2.pendingResolved = false, B2 = false) : (C2.pendingPromise.cancelled = true, k2 = void 0))), void 0 === k2 && (o2.formula = F2, o2.colIndex = v2, o2.rowIndex = x2, k2 = F2.evaluate(r2, void 0, C2.inputs), o2.formula = null, O2 = k2 && k2.then ? k2 : null, B2 = !!O2), B2 !== D2 && (C2.pending = B2, w2 || (w2 = bl(S2)), w2.append(
|
|
13036
|
+
if ((A2 || C2.pendingPromise) && (B2 = true, k2 = C2.cachedValue ?? null, C2.pendingPromise && (C2.pendingResolved ? (C2.pendingPromise = null, C2.pendingResolved = false, B2 = false) : (C2.pendingPromise.cancelled = true, k2 = void 0))), void 0 === k2 && (o2.formula = F2, o2.colIndex = v2, o2.rowIndex = x2, k2 = F2.evaluate(r2, void 0, C2.inputs), o2.formula = null, O2 = k2 && k2.then ? k2 : null, B2 = !!O2), B2 !== D2 && (C2.pending = B2, w2 || (w2 = bl(S2)), w2.append(N2, T2, B2)), O2 && (k2 = C2.cachedValue ?? null, !O2.__originator)) {
|
|
13051
13037
|
O2.__originator = l2;
|
|
13052
13038
|
const t3 = C2;
|
|
13053
13039
|
xf.add(t3), t3.pendingPromise = O2, t3.pendingResolved = false, O2.then((e3) => {
|
|
@@ -13094,9 +13080,9 @@ class hf {
|
|
|
13094
13080
|
let s3, i3;
|
|
13095
13081
|
if (J2) {
|
|
13096
13082
|
k2 = n.BuiltIn.Spill, V2 = 1, $2 = 1;
|
|
13097
|
-
s3 = [[
|
|
13083
|
+
s3 = [[N2, [[T2, [k2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
|
|
13098
13084
|
} else {
|
|
13099
|
-
const e4 = af(j2,
|
|
13085
|
+
const e4 = af(j2, N2, T2);
|
|
13100
13086
|
e4 && (s3 = e4.tuples), s3 && p2.setValues(s3), i3 = t3;
|
|
13101
13087
|
}
|
|
13102
13088
|
U2 = { ...t3, value: new Eh(t3, l2, J2) }, f2.insert(U2), E2 = cf(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new Ch(i3, _2) });
|
|
@@ -13388,8 +13374,8 @@ let Ef = 0;
|
|
|
13388
13374
|
const Cf = 1e4, bf = new Array(Cf), vf = new Array(Cf), xf = /* @__PURE__ */ new Set(), If = new Array(Cf);
|
|
13389
13375
|
let Rf = 0;
|
|
13390
13376
|
const Af = new Array(Cf);
|
|
13391
|
-
let Mf = 0,
|
|
13392
|
-
const
|
|
13377
|
+
let Mf = 0, Nf = 0;
|
|
13378
|
+
const Tf = new Array(Cf);
|
|
13393
13379
|
let Ff = 0, kf = 0;
|
|
13394
13380
|
const Of = new Array(Cf);
|
|
13395
13381
|
let Df = 0;
|
|
@@ -13411,9 +13397,9 @@ class Vf {
|
|
|
13411
13397
|
this._instanceScope = t2;
|
|
13412
13398
|
}
|
|
13413
13399
|
async _initialize() {
|
|
13414
|
-
const t2 = await
|
|
13400
|
+
const t2 = await lt._validate(true), e2 = jf();
|
|
13415
13401
|
this._calcScope = e2, this._runtime = new $f(this._options, t2);
|
|
13416
|
-
const { initializeBuiltIns: n2 } = await import("./
|
|
13402
|
+
const { initializeBuiltIns: n2 } = await import("./C0uAe0nZkGOU2HsH.mjs"), r2 = this;
|
|
13417
13403
|
return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
|
|
13418
13404
|
}
|
|
13419
13405
|
getBuiltInFunctions() {
|
|
@@ -13586,7 +13572,7 @@ class $f {
|
|
|
13586
13572
|
}
|
|
13587
13573
|
getVersion() {
|
|
13588
13574
|
try {
|
|
13589
|
-
const t2 = "0.6.
|
|
13575
|
+
const t2 = "0.6.19";
|
|
13590
13576
|
if (-1 === t2.indexOf(".env.")) return `${t2}`;
|
|
13591
13577
|
} catch (t2) {
|
|
13592
13578
|
return "local";
|
|
@@ -14130,7 +14116,7 @@ class fp extends Yi {
|
|
|
14130
14116
|
this._context = r2;
|
|
14131
14117
|
const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
|
|
14132
14118
|
this._functions = new mp({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
|
|
14133
|
-
const i2 = await import("./
|
|
14119
|
+
const i2 = await import("./DuRBG5ttXEdHC_ll.mjs");
|
|
14134
14120
|
this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = Zm.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
|
|
14135
14121
|
} catch (t2) {
|
|
14136
14122
|
throw this._status = Zm.Status.Off, this._emitter.notify("onError", t2), this._emitter.notify("onStatusChange"), t2;
|
|
@@ -14338,7 +14324,7 @@ const Ap = (t2) => {
|
|
|
14338
14324
|
}
|
|
14339
14325
|
}
|
|
14340
14326
|
return n2;
|
|
14341
|
-
},
|
|
14327
|
+
}, Np = (t2, e2, n2) => {
|
|
14342
14328
|
try {
|
|
14343
14329
|
let r2 = null, o2 = null;
|
|
14344
14330
|
const s2 = (t3) => ((t4, e3) => {
|
|
@@ -14485,7 +14471,7 @@ const Ap = (t2) => {
|
|
|
14485
14471
|
throw console.warn(t3), t3;
|
|
14486
14472
|
}
|
|
14487
14473
|
};
|
|
14488
|
-
class
|
|
14474
|
+
class Tp {
|
|
14489
14475
|
constructor(t2) {
|
|
14490
14476
|
if (!t2) throw new u("snapshot is required.");
|
|
14491
14477
|
this._snapshot = t2;
|
|
@@ -14569,7 +14555,7 @@ class Fp {
|
|
|
14569
14555
|
});
|
|
14570
14556
|
}))(e2) : [[]]);
|
|
14571
14557
|
let s2;
|
|
14572
|
-
if (
|
|
14558
|
+
if (Np(n2, o2, r2) ? (t2 = r2.sheet(), s2 = t2.getUsedRange()) : n2 = null, s2) return this._parsed = { async copyTo(t3, e3) {
|
|
14573
14559
|
const n3 = await t3.copyFrom(s2, e3);
|
|
14574
14560
|
return n3?.getCoords() ?? null;
|
|
14575
14561
|
}, getCoords: () => s2.getCoords(), getSource: () => t2, getName: () => t2.getName() }, true;
|
|
@@ -15072,7 +15058,7 @@ class jp {
|
|
|
15072
15058
|
if (new RegExp(Vp).test(r2[0])) throw new Error("First letter must be either a letter, an underscore, or a backslash.");
|
|
15073
15059
|
if (new RegExp($p).test(o2)) throw new Error("Name must be either letters, numbers, periods or underscores.");
|
|
15074
15060
|
if (1 === r2.length && ("r" === r2[0] || "c" === r2[0])) throw new Error("Name can not be 'r' or 'c'.");
|
|
15075
|
-
if (((t3, e3 =
|
|
15061
|
+
if (((t3, e3 = Nc, n3 = Mc, r3 = false) => {
|
|
15076
15062
|
let o3 = oh(t3, r3);
|
|
15077
15063
|
if (!o3) return false;
|
|
15078
15064
|
if (o3[2]) return false;
|
|
@@ -16257,7 +16243,7 @@ class E_ {
|
|
|
16257
16243
|
}, getA1(t3) {
|
|
16258
16244
|
if (!_2) throw new Error(jh);
|
|
16259
16245
|
return this._parseHeaderRangeAddress({ min: i2 + t3, end: i2 + t3 }) ?? _2;
|
|
16260
|
-
} }, w2 =
|
|
16246
|
+
} }, w2 = Ts(e2, (e3) => {
|
|
16261
16247
|
const n3 = e3.value;
|
|
16262
16248
|
if (!l2 && !n3) return;
|
|
16263
16249
|
let r3 = l2;
|
|
@@ -16297,7 +16283,7 @@ class E_ {
|
|
|
16297
16283
|
}, forEachSpan: (t3, e3) => o2(t3, e3, this._headers), forEachVisibleSpan: (t3, e3) => {
|
|
16298
16284
|
const n3 = r2?.min ?? null, o3 = r2?.max ?? null;
|
|
16299
16285
|
let s3;
|
|
16300
|
-
if (s3 = e3?.includeHidden ? t3(n3, o3) :
|
|
16286
|
+
if (s3 = e3?.includeHidden ? t3(n3, o3) : Ts(this._indexedHidden, (e4) => {
|
|
16301
16287
|
if (e4.value) return;
|
|
16302
16288
|
const n4 = t3(e4.min, e4.max);
|
|
16303
16289
|
return n4 && n4.break ? n4 : void 0;
|
|
@@ -16330,7 +16316,7 @@ class E_ {
|
|
|
16330
16316
|
at(t2) {
|
|
16331
16317
|
if (t2 < 0 || t2 > this._maxDataIndex) return this._emptyHeader;
|
|
16332
16318
|
if (this._lastHeaderRead?.offset === t2) return this._lastHeaderRead.header;
|
|
16333
|
-
const e2 =
|
|
16319
|
+
const e2 = Ns(t2, this._readCache);
|
|
16334
16320
|
if (!e2) return this._emptyHeader;
|
|
16335
16321
|
const n2 = this._options.getTextAt?.(t2) ?? t2 + "", r2 = this._options.createCellHeader(this, e2, { value: n2 });
|
|
16336
16322
|
return this._lastHeaderRead = { offset: t2, header: r2 }, r2;
|
|
@@ -16836,8 +16822,8 @@ class R_ {
|
|
|
16836
16822
|
processMerge(t2) {
|
|
16837
16823
|
}
|
|
16838
16824
|
}
|
|
16839
|
-
const A_ = Object.freeze({ coords: c.EmptyCell, topLeft: a.EmptyTopLeft }), M_ = Object.freeze({ cell: c.EmptyCell, ranges: o.EmptyArray, rangeIndex: 0 }),
|
|
16840
|
-
class
|
|
16825
|
+
const A_ = Object.freeze({ coords: c.EmptyCell, topLeft: a.EmptyTopLeft }), M_ = Object.freeze({ cell: c.EmptyCell, ranges: o.EmptyArray, rangeIndex: 0 }), N_ = Object.freeze({ selection: M_, topLeft: a.EmptyTopLeft, freezePanes: A_, showRowHeaders: true, showColumnHeaders: true, showRowGridlines: true, showColumnGridlines: true, rowHeaderStyle: vp.HeaderTextStyle.One, columnHeaderStyle: vp.HeaderTextStyle.A1, showFormulas: false, showZeros: true, zoomScale: 100, gridLineColor: null });
|
|
16826
|
+
class T_ {
|
|
16841
16827
|
constructor(t2) {
|
|
16842
16828
|
if (this._emitter = null, !t2?.sheet) throw new Error("SheetView requires a sheet.");
|
|
16843
16829
|
const e2 = new Xi(this);
|
|
@@ -16966,7 +16952,7 @@ class N_ {
|
|
|
16966
16952
|
const t2 = {}, e2 = Object.keys(this._state);
|
|
16967
16953
|
for (let n3 = 0; n3 < e2.length; n3++) {
|
|
16968
16954
|
const r2 = this._state[e2[n3]];
|
|
16969
|
-
null != r2 && r2 !==
|
|
16955
|
+
null != r2 && r2 !== N_[e2[n3]] && (t2[e2[n3]] = r2);
|
|
16970
16956
|
}
|
|
16971
16957
|
delete t2.movableSelection, delete t2.gridLineColor, this._state.gridLineColor instanceof Ys && (t2.gridLineColor = this._state.gridLineColor.toString()), delete t2.topLeft, !this._state.topLeft || 0 === this._state.topLeft.left && 0 === this._state.topLeft.top || (t2.topLeft = { left: this._state.topLeft.left ?? 0, top: this._state.topLeft.top ?? 0 }), delete t2.selection;
|
|
16972
16958
|
const n2 = this._state.selection;
|
|
@@ -17016,17 +17002,17 @@ class N_ {
|
|
|
17016
17002
|
this.update(e2);
|
|
17017
17003
|
}
|
|
17018
17004
|
clear(t2 = true) {
|
|
17019
|
-
return this._state = { ...
|
|
17005
|
+
return this._state = { ...N_ }, this._movableSelection = Object.freeze([]), t2 && this._notifyAll(), this;
|
|
17020
17006
|
}
|
|
17021
17007
|
update(t2) {
|
|
17022
|
-
return this._state = { ...
|
|
17008
|
+
return this._state = { ...N_, ...this._state, ...t2 }, this._state.freezePanes = this._mergeFreezePanes(this._state.freezePanes), this._state.zoomScale = Math.min(400, Math.max(10, this._state.zoomScale)), this._notifyAll(), this;
|
|
17023
17009
|
}
|
|
17024
17010
|
get isISheetView() {
|
|
17025
17011
|
return true;
|
|
17026
17012
|
}
|
|
17027
17013
|
}
|
|
17028
17014
|
async function F_() {
|
|
17029
|
-
const { getCrypto: t2 } = await import("./
|
|
17015
|
+
const { getCrypto: t2 } = await import("./BWdeYoMSneJZAsOO.mjs");
|
|
17030
17016
|
return t2();
|
|
17031
17017
|
}
|
|
17032
17018
|
const k_ = async (t2, e2, ...n2) => {
|
|
@@ -17838,7 +17824,7 @@ class X_ {
|
|
|
17838
17824
|
constructor(t2) {
|
|
17839
17825
|
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;
|
|
17840
17826
|
const e2 = Object.freeze({ ...t2 });
|
|
17841
|
-
|
|
17827
|
+
lt._validate(true), this._transactions = e2.transactions ?? new F(), this._ownTransactions = !e2.transactions;
|
|
17842
17828
|
const n2 = this._beginCommit({ description: "New Sheet" }), r2 = this;
|
|
17843
17829
|
try {
|
|
17844
17830
|
this._entireCoords = Object.freeze({ colStart: 0, rowStart: 0, colEnd: (e2.maxColumns ?? V_) - 1, rowEnd: (e2.maxRows ?? $_) - 1 }), this._strings = e2.strings ?? new Ym(), this._ownStrings = !e2.strings;
|
|
@@ -18124,7 +18110,7 @@ class X_ {
|
|
|
18124
18110
|
const i3 = n3.continuous;
|
|
18125
18111
|
if ("string" == typeof s3 || i3) {
|
|
18126
18112
|
cS.colStart = o3, cS.rowStart = r3, cS.colEnd = o3, cS.rowEnd = r3;
|
|
18127
|
-
const e3 =
|
|
18113
|
+
const e3 = Tg(0, cS, n3.intersection, _2);
|
|
18128
18114
|
n3.style = e3;
|
|
18129
18115
|
const a3 = Mg(r3, o3, t.String, e3, s3, null, null, i3?.getCoords(), _2);
|
|
18130
18116
|
if (a3) {
|
|
@@ -18153,7 +18139,7 @@ class X_ {
|
|
|
18153
18139
|
}
|
|
18154
18140
|
const u2 = a2 || !t2?.ignoreEmptyIntersections;
|
|
18155
18141
|
let g2 = t2.includeRangeTypes;
|
|
18156
|
-
true === g2 && (g2 =
|
|
18142
|
+
true === g2 && (g2 = Nh);
|
|
18157
18143
|
const m2 = t2?.includeMergeOverflow ?? false, f2 = g2 ? this._rangeStateIterator({ bounds: o2, orientation: s2, reverse: i2, includeRangeTypes: g2, includeMergeOverflow: m2, excludeHidden: t2.excludeHidden, byCell: true }) : ia;
|
|
18158
18144
|
let p2, _2;
|
|
18159
18145
|
if (m2 && r2) {
|
|
@@ -18165,14 +18151,14 @@ class X_ {
|
|
|
18165
18151
|
const C2 = n2?.cellValuesGrid ?? null;
|
|
18166
18152
|
let b2 = C2 ? C2.entries(l2) : ia, v2 = b2.next(), x2 = null, I2 = null, R2 = null;
|
|
18167
18153
|
v2.done || (x2 = v2.value[0], I2 = v2.value[1]);
|
|
18168
|
-
let A2 = p2?.[y2++], M2 = f2.next(),
|
|
18169
|
-
const
|
|
18154
|
+
let A2 = p2?.[y2++], M2 = f2.next(), N2 = null;
|
|
18155
|
+
const T2 = s2 !== e.Orientation.Row;
|
|
18170
18156
|
let F2;
|
|
18171
18157
|
const k2 = c.createCellComparator(s2, i2);
|
|
18172
18158
|
let O2;
|
|
18173
18159
|
if (!M2.done) {
|
|
18174
18160
|
const t3 = M2.value;
|
|
18175
|
-
|
|
18161
|
+
N2 = t3.intersection, O2 = t3.start;
|
|
18176
18162
|
}
|
|
18177
18163
|
F2 = (t3) => {
|
|
18178
18164
|
let e2 = null, n3 = null, r3 = null, o3 = false, s3 = false, i3 = null, a3 = null, l3 = false;
|
|
@@ -18184,25 +18170,25 @@ class X_ {
|
|
|
18184
18170
|
if (l3) e2 = { colIndex: A2.colIndex, rowIndex: A2.rowIndex }, n3 = A2.scalar, r3 = A2.intersection, A2 = p2[y2++];
|
|
18185
18171
|
else if (x2 && O2) {
|
|
18186
18172
|
const t4 = k2(x2, O2);
|
|
18187
|
-
t4 < 0 ? (e2 = x2, n3 = I2, o3 = true) : t4 > 0 ? (e2 = O2, r3 =
|
|
18173
|
+
t4 < 0 ? (e2 = x2, n3 = I2, o3 = true) : t4 > 0 ? (e2 = O2, r3 = N2, s3 = true) : (e2 = x2, n3 = I2, r3 = N2, o3 = true, s3 = true);
|
|
18188
18174
|
} else if (x2) e2 = x2, n3 = I2, o3 = true;
|
|
18189
18175
|
else {
|
|
18190
18176
|
if (!O2 || !u2) return sa;
|
|
18191
|
-
e2 = O2, r3 =
|
|
18177
|
+
e2 = O2, r3 = N2, s3 = true;
|
|
18192
18178
|
}
|
|
18193
18179
|
if (o3 && (v2 = b2.next(), v2.done ? x2 = null : (x2 = v2.value[0], I2 = v2.value[1])), s3) {
|
|
18194
18180
|
const t4 = u2 ? void 0 : x2;
|
|
18195
|
-
if (M2 = f2.next(t4), M2.done) O2 = null,
|
|
18181
|
+
if (M2 = f2.next(t4), M2.done) O2 = null, N2 = null;
|
|
18196
18182
|
else {
|
|
18197
18183
|
const t5 = M2.value;
|
|
18198
|
-
|
|
18184
|
+
N2 = t5.intersection, O2 = t5.cell;
|
|
18199
18185
|
}
|
|
18200
18186
|
}
|
|
18201
18187
|
let c2 = false;
|
|
18202
18188
|
const h3 = e2.rowIndex, d3 = e2.colIndex;
|
|
18203
|
-
|
|
18189
|
+
T2 || (c2 = h3 === R2?.rowIndex);
|
|
18204
18190
|
let g3 = false;
|
|
18205
|
-
if (
|
|
18191
|
+
if (T2 || (g3 = h3 === x2?.rowIndex), c2) i3 = R2;
|
|
18206
18192
|
else if (m2) {
|
|
18207
18193
|
let t4 = false;
|
|
18208
18194
|
for (; !t4 && E2 < w2; ) {
|
|
@@ -18328,22 +18314,22 @@ class X_ {
|
|
|
18328
18314
|
let v2 = false;
|
|
18329
18315
|
m2 && this._hasRangedEntries("unlockSpatial", E2) && (b2[Ah.Type.Unlock] = false, v2 = true), this._hasRangedEntries("mergeSpatial", E2) && (b2[Ah.Type.Merge] = false, v2 = true);
|
|
18330
18316
|
const x2 = this._rangeStateIterator({ bounds: E2, orientation: g2, includeRangeTypes: b2, reuseIterator: { done: false, value: null } });
|
|
18331
|
-
let I2 = x2.next(), R2 = -1, A2 = -1, M2 = -1,
|
|
18317
|
+
let I2 = x2.next(), R2 = -1, A2 = -1, M2 = -1, N2 = -1, T2 = null;
|
|
18332
18318
|
if (!I2.done) {
|
|
18333
18319
|
const t3 = I2.value, e2 = t3.start, n3 = t3.end;
|
|
18334
|
-
R2 = u2 ? e2.colIndex : e2.rowIndex, A2 = u2 ? n3.colIndex : n3.rowIndex, M2 = u2 ? e2.rowIndex : e2.colIndex,
|
|
18320
|
+
R2 = u2 ? e2.colIndex : e2.rowIndex, A2 = u2 ? n3.colIndex : n3.rowIndex, M2 = u2 ? e2.rowIndex : e2.colIndex, N2 = u2 ? n3.rowIndex : n3.colIndex, T2 = t3.intersection;
|
|
18335
18321
|
}
|
|
18336
18322
|
let F2 = (t3, e2) => {
|
|
18337
18323
|
do {
|
|
18338
|
-
if (!
|
|
18339
|
-
if (t3 >= R2 && e2 >= M2 && t3 <= A2 && e2 <=
|
|
18340
|
-
if (I2 = x2.next(), I2.done)
|
|
18324
|
+
if (!T2 || t3 <= M2 && e2 < M2) return null;
|
|
18325
|
+
if (t3 >= R2 && e2 >= M2 && t3 <= A2 && e2 <= N2) return T2;
|
|
18326
|
+
if (I2 = x2.next(), I2.done) T2 = null, F2 = null, v2 = false;
|
|
18341
18327
|
else {
|
|
18342
18328
|
const t4 = I2.value;
|
|
18343
|
-
R2 = u2 ? t4.start.colIndex : t4.start.rowIndex, A2 = u2 ? t4.end.colIndex : t4.end.rowIndex, M2 = u2 ? t4.start.rowIndex : t4.start.colIndex,
|
|
18329
|
+
R2 = u2 ? t4.start.colIndex : t4.start.rowIndex, A2 = u2 ? t4.end.colIndex : t4.end.rowIndex, M2 = u2 ? t4.start.rowIndex : t4.start.colIndex, N2 = u2 ? t4.end.rowIndex : t4.end.colIndex, T2 = t4.intersection;
|
|
18344
18330
|
}
|
|
18345
|
-
} while (
|
|
18346
|
-
return
|
|
18331
|
+
} while (T2);
|
|
18332
|
+
return T2;
|
|
18347
18333
|
};
|
|
18348
18334
|
const k2 = c2.getState(this), O2 = k2.cellValuesGrid.clone(), D2 = k2.calcGraph.clone(), B2 = k2.formulaSpatial.clone(), L2 = k2.spillSpatial.clone(), P2 = k2.pendingSpatial.clone(), z2 = k2.calcErrorsSpatial.clone(), W2 = k2.contentfulSpatial.clone(), H2 = bl(u2), V2 = bl(u2, (t3, e2) => {
|
|
18349
18335
|
if (t3 === e2) return e2;
|
|
@@ -18516,8 +18502,8 @@ class X_ {
|
|
|
18516
18502
|
}
|
|
18517
18503
|
if (!w2) return;
|
|
18518
18504
|
if (0 === S2.length) return;
|
|
18519
|
-
const M2 = /* @__PURE__ */ new Map(),
|
|
18520
|
-
for (let t3 = 0; t3 < F2; t3++) M2.set(
|
|
18505
|
+
const M2 = /* @__PURE__ */ new Map(), N2 = /* @__PURE__ */ new Map(), T2 = n2?.collators ?? ta.DefaultCollators, F2 = T2.length;
|
|
18506
|
+
for (let t3 = 0; t3 < F2; t3++) M2.set(T2[t3].type, T2[t3].compare), N2.set(T2[t3].type, t3);
|
|
18521
18507
|
let k2 = null, O2 = null, D2 = null;
|
|
18522
18508
|
S2.sort((t3, e2) => {
|
|
18523
18509
|
const n3 = p2.length;
|
|
@@ -18530,14 +18516,14 @@ class X_ {
|
|
|
18530
18516
|
const h3 = o3.getType(), d2 = s3.getType();
|
|
18531
18517
|
let u3 = 0;
|
|
18532
18518
|
if (h3 !== d2) {
|
|
18533
|
-
let t4 =
|
|
18534
|
-
u3 =
|
|
18519
|
+
let t4 = N2.get(h3);
|
|
18520
|
+
u3 = N2.get(d2) - t4;
|
|
18535
18521
|
} else {
|
|
18536
18522
|
let t4 = O2;
|
|
18537
18523
|
if (k2 !== h3) {
|
|
18538
18524
|
t4 = M2.get(h3), O2 = t4, k2 = h3;
|
|
18539
|
-
let e3 =
|
|
18540
|
-
const r4 =
|
|
18525
|
+
let e3 = N2.get(d2);
|
|
18526
|
+
const r4 = T2[e3].defaultOptions;
|
|
18541
18527
|
D2 = { ...r4, ...n4.collatorOptions };
|
|
18542
18528
|
}
|
|
18543
18529
|
u3 = t4(i3, a3, D2);
|
|
@@ -18590,20 +18576,20 @@ class X_ {
|
|
|
18590
18576
|
p2.rowEnd = _2.rowEnd = t2.rowEnd + s2, p2.rowStart = t2.rowEnd + 1, E2 = 0 === w2.length ? E2 : t2.rowEnd + 1 - t2.rowStart, y2.colStart = y2.colEnd;
|
|
18591
18577
|
}
|
|
18592
18578
|
if (s2 % E2 !== 0) throw new Error(((t3) => `When filling with merged cells the amount to fill must be a multiple of the input range [${t3}].`)(E2));
|
|
18593
|
-
const C2 = i2 ? "rowIndex" : "colIndex", v2 = i2 ? "colIndex" : "rowIndex", x2 = i2 ? t2.rowEnd + 1 - t2.rowStart : t2.colEnd + 1 - t2.colStart, I2 = i2 ? t2.rowStart : t2.colStart, R2 = i2 ? t2.rowEnd : t2.colEnd, A2 = i2 ? n2.rowStart : n2.colStart, M2 = i2 ? n2.rowEnd : n2.colEnd,
|
|
18594
|
-
|
|
18595
|
-
const
|
|
18579
|
+
const C2 = i2 ? "rowIndex" : "colIndex", v2 = i2 ? "colIndex" : "rowIndex", x2 = i2 ? t2.rowEnd + 1 - t2.rowStart : t2.colEnd + 1 - t2.colStart, I2 = i2 ? t2.rowStart : t2.colStart, R2 = i2 ? t2.rowEnd : t2.colEnd, A2 = i2 ? n2.rowStart : n2.colStart, M2 = i2 ? n2.rowEnd : n2.colEnd, N2 = i2 ? o2 === e.Direction.Down : o2 === e.Direction.Right;
|
|
18580
|
+
N2 || (g2.reverse = true);
|
|
18581
|
+
const T2 = N2 ? R2 + 1 : A2, F2 = (N2 ? M2 : I2 - 1) - T2 + 1, k2 = i2 ? t2.colEnd : t2.rowEnd;
|
|
18596
18582
|
l2.push(c.unionRanges(p2, t2));
|
|
18597
18583
|
const O2 = [];
|
|
18598
18584
|
let D2 = null;
|
|
18599
18585
|
h2 || (m2 = this._beginCommit({ description: "Auto Fill", operation: { name: "autoFill", params: [t2, n2, r2] } }));
|
|
18600
|
-
const B2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !
|
|
18586
|
+
const B2 = this._cellIterator({ bounds: h2 ? y2 : t2, reverse: !N2, orientation: i2 ? e.Orientation.Column : e.Orientation.Row, includeRangeTypes: { [Ah.Type.Style]: false } });
|
|
18601
18587
|
let L2 = B2.next();
|
|
18602
18588
|
for (; !L2.done; ) {
|
|
18603
18589
|
const t3 = L2.value.context, e2 = t3.getCell(), n3 = t3.getCoords();
|
|
18604
|
-
D2?.oppositeIndex !== n3[v2] && (D2 = { oppositeIndex: n3[v2], lastIndex:
|
|
18590
|
+
D2?.oppositeIndex !== n3[v2] && (D2 = { oppositeIndex: n3[v2], lastIndex: N2 ? I2 - 1 : R2 + 1, values: [] }, O2.push(D2));
|
|
18605
18591
|
const r3 = n3[C2];
|
|
18606
|
-
if (
|
|
18592
|
+
if (N2) for (let t4 = D2.lastIndex + 1; t4 < r3; t4++) D2.values.push(null);
|
|
18607
18593
|
else for (let t4 = D2.lastIndex - 1; t4 > r3; t4--) D2.values.push(null);
|
|
18608
18594
|
D2.lastIndex = r3;
|
|
18609
18595
|
const o3 = e2.toDate();
|
|
@@ -18634,7 +18620,7 @@ class X_ {
|
|
|
18634
18620
|
const r3 = W2._rangeToCoords(t4);
|
|
18635
18621
|
let s3;
|
|
18636
18622
|
o2 === e.Direction.Down || o2 === e.Direction.Right ? s3 = { rowIndex: r3.rowEnd, colIndex: r3.colEnd } : o2 === e.Direction.Left ? s3 = { rowIndex: r3.rowEnd, colIndex: r3.colStart } : o2 === e.Direction.Up && (s3 = { rowIndex: r3.rowStart, colIndex: r3.colEnd });
|
|
18637
|
-
const a3 = i2 ? s3.rowIndex : s3.colIndex, l3 = { value: n3(
|
|
18623
|
+
const a3 = i2 ? s3.rowIndex : s3.colIndex, l3 = { value: n3(N2 ? a3 - I2 : I2 - a3 + x2 - 1) };
|
|
18638
18624
|
let c2 = null;
|
|
18639
18625
|
return c2 = d2 ? this.createTemporaryCell(l3, s3) : this.createTemporaryCell(null, s3).createTemporaryCell(l3), c2;
|
|
18640
18626
|
}), false;
|
|
@@ -18642,11 +18628,11 @@ class X_ {
|
|
|
18642
18628
|
const H2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }), V2 = O2.length;
|
|
18643
18629
|
O2.sort((t3, e2) => t3.oppositeIndex - e2.oppositeIndex);
|
|
18644
18630
|
for (let t3 = 0; t3 < V2; t3++) {
|
|
18645
|
-
const e2 = t3, n3 = z2(u2, O2[e2].values), r3 = O2[e2].oppositeIndex, o3 =
|
|
18631
|
+
const e2 = t3, n3 = z2(u2, O2[e2].values), r3 = O2[e2].oppositeIndex, o3 = N2 ? x2 : x2 + F2 - 1, s3 = this.isDate1904();
|
|
18646
18632
|
for (let t4 = 0; t4 < F2; t4++) {
|
|
18647
|
-
let e3 = n3(o3 + (
|
|
18633
|
+
let e3 = n3(o3 + (N2 ? t4 : -t4));
|
|
18648
18634
|
Kr(e3) && (e3 = no(e3, s3));
|
|
18649
|
-
const a3 =
|
|
18635
|
+
const a3 = T2 + t4;
|
|
18650
18636
|
i2 ? H2.pushAt(a3, r3, e3) : H2.pushAt(r3, a3, e3);
|
|
18651
18637
|
}
|
|
18652
18638
|
}
|
|
@@ -18679,7 +18665,7 @@ class X_ {
|
|
|
18679
18665
|
const G2 = this._getState(), U2 = {}, J2 = {};
|
|
18680
18666
|
J2.directStyleSpatial = G2.directStyleSpatial, J2.continuousFillSpatial = G2.continuousFillSpatial;
|
|
18681
18667
|
let q2 = t2, K2 = p2;
|
|
18682
|
-
if (!
|
|
18668
|
+
if (!N2) {
|
|
18683
18669
|
let e2 = (i2 ? _2.rowEnd + 1 - _2.rowStart : _2.colEnd + 1 - _2.colStart) % x2;
|
|
18684
18670
|
const n3 = i2 ? "rowStart" : "colStart", r3 = i2 ? "rowEnd" : "colEnd";
|
|
18685
18671
|
0 !== e2 && (K2 = { ...p2, [r3]: Math.min(p2[r3], p2[n3] + e2) }, q2 = { ...t2, [n3]: t2[r3] - e2 + 1 }, p2[n3] = p2[n3] + e2);
|
|
@@ -18690,7 +18676,7 @@ class X_ {
|
|
|
18690
18676
|
for (let t4 = 0; t4 < s3; t4++) r3.remove(o3[t4]);
|
|
18691
18677
|
r3.load(n3.inserts), U2[e2] = r3;
|
|
18692
18678
|
}
|
|
18693
|
-
if (
|
|
18679
|
+
if (N2) {
|
|
18694
18680
|
const e2 = this.getTables().getItems({ address: { rowIndex: t2.rowEnd, colIndex: t2.colEnd } });
|
|
18695
18681
|
if (1 === e2.length) {
|
|
18696
18682
|
const t3 = e2[0], n3 = t3.getRange().getCoords();
|
|
@@ -19073,7 +19059,7 @@ class X_ {
|
|
|
19073
19059
|
this._ownStyles && (t2.styles = this._styles), this._ownStrings && (t2.strings = this._strings), this._ownResources && (t2.resources = this._resources), this._ownNames && (t2.names = this._names), this._ownsCalculation && (t2.calculation = this._calculation), t2.transactions = new F({ transient: true });
|
|
19074
19060
|
const e2 = new X_(t2), n2 = this._transactions.getState(this);
|
|
19075
19061
|
e2._updateState(n2);
|
|
19076
|
-
const r2 = new
|
|
19062
|
+
const r2 = new T_({ sheet: this, json: this.getView().toJSON() });
|
|
19077
19063
|
return r2.selectMovables(this.getView().getMovableSelection()), e2.setView(r2), e2;
|
|
19078
19064
|
}
|
|
19079
19065
|
_getSnapshot(t2, e2) {
|
|
@@ -19273,16 +19259,16 @@ class X_ {
|
|
|
19273
19259
|
}
|
|
19274
19260
|
s3 && (_3 = true), a2.singleMerge && (g2 = false, f2 = false);
|
|
19275
19261
|
const b3 = h2.colStart - d2.colStart, R2 = h2.rowStart - d2.rowStart, A2 = i2.adjustCells;
|
|
19276
|
-
let M2 = { ...
|
|
19262
|
+
let M2 = { ...Th };
|
|
19277
19263
|
if (delete M2[Ah.Type.Style], !g2) {
|
|
19278
19264
|
const t3 = this.getProtection().isLocked();
|
|
19279
19265
|
M2 = {}, t3 && (M2[Ah.Type.Unlock] = false);
|
|
19280
19266
|
}
|
|
19281
|
-
const
|
|
19282
|
-
let
|
|
19267
|
+
const N2 = e.Orientation.Column;
|
|
19268
|
+
let T2;
|
|
19283
19269
|
if (m2) {
|
|
19284
|
-
|
|
19285
|
-
const t3 = { orientation:
|
|
19270
|
+
T2 = p2.startIncrementalUpdates({ orientation: i2.transpose ? e.Orientation.Row : e.Orientation.Column });
|
|
19271
|
+
const t3 = { orientation: N2, includeRangeTypes: M2, bounds: d2 }, n3 = new lm(this._strings, t3, this._cellOptions), r4 = (t4, e2, r5) => {
|
|
19286
19272
|
const o3 = t4[0], a3 = n3.setState(t4), l4 = n3.context, c2 = l4.getCell(), u4 = c2.isTopLeft();
|
|
19287
19273
|
let p3 = R2, w3 = b3;
|
|
19288
19274
|
if (s3) {
|
|
@@ -19301,7 +19287,7 @@ class X_ {
|
|
|
19301
19287
|
const t5 = A2(a3, l4, { rowIndex: p3, colIndex: w3 }, i2);
|
|
19302
19288
|
void 0 !== t5 && (C3 = t5, y3 = true);
|
|
19303
19289
|
}
|
|
19304
|
-
if (y3 && (
|
|
19290
|
+
if (y3 && (T2.pushAt(p3, w3, C3), g2)) {
|
|
19305
19291
|
const t5 = c2.getSpans();
|
|
19306
19292
|
(t5.width > 1 || t5.height > 1) && u4 && S2.push({ colStart: w3, rowStart: p3, colEnd: w3 + (i2.transpose ? t5.height : t5.width) - 1, rowEnd: p3 + (i2.transpose ? t5.width : t5.height) - 1 });
|
|
19307
19293
|
}
|
|
@@ -19315,7 +19301,7 @@ class X_ {
|
|
|
19315
19301
|
} };
|
|
19316
19302
|
if (!a2.singleMerge && !c.isEqualRanges(v2, d2)) {
|
|
19317
19303
|
const t4 = v2.colEnd - v2.colStart + 1, e2 = v2.rowEnd - v2.rowStart + 1;
|
|
19318
|
-
l3 = new fl({ delegate: l3, bounds: d2, orientation:
|
|
19304
|
+
l3 = new fl({ delegate: l3, bounds: d2, orientation: N2, dims: { major: i2.transpose ? e2 : t4, minor: i2.transpose ? t4 : e2 } });
|
|
19319
19305
|
}
|
|
19320
19306
|
let u3 = l3.next();
|
|
19321
19307
|
for (; !u3.done; ) {
|
|
@@ -19331,7 +19317,7 @@ class X_ {
|
|
|
19331
19317
|
for (let t4 = 0; t4 < s4; t4++) r4.remove(o2[t4]);
|
|
19332
19318
|
r4.load(n3.inserts), B2[e2] = r4;
|
|
19333
19319
|
}
|
|
19334
|
-
D2._updateState(B2), E2.push(v2), C2.push(v2), w2 && w2.length > 0 && D2._colHeaders.updateHeaderPairs(w2), y2 && y2.length > 0 && D2._rowHeaders.updateHeaderPairs(y2),
|
|
19320
|
+
D2._updateState(B2), E2.push(v2), C2.push(v2), w2 && w2.length > 0 && D2._colHeaders.updateHeaderPairs(w2), y2 && y2.length > 0 && D2._rowHeaders.updateHeaderPairs(y2), T2?.apply(), S2.length > 0 && l2.getRanges(S2).merge(), I2.commit({ viewBefore: x2, viewAfter: (t3) => ({ ...t3, view: l2.getView(), selection: fm(C2), ranges: E2 }) });
|
|
19335
19321
|
} catch (t3) {
|
|
19336
19322
|
throw console.warn(t3), I2.rollback(), new Error(((t4) => `Unable to paste: ${t4}`)(t3.message), { cause: t3 });
|
|
19337
19323
|
}
|
|
@@ -19453,18 +19439,18 @@ class X_ {
|
|
|
19453
19439
|
}
|
|
19454
19440
|
n3 = n3.clone(), n3.shift(e2, f2), this._updateState({ cellValuesGrid: n3 });
|
|
19455
19441
|
}
|
|
19456
|
-
const g3 = e2.colStart <= l2.colStart && e2.colEnd >= l2.colEnd, M3 = e2.rowStart <= l2.rowStart && e2.rowEnd >= l2.rowEnd,
|
|
19442
|
+
const g3 = e2.colStart <= l2.colStart && e2.colEnd >= l2.colEnd, M3 = e2.rowStart <= l2.rowStart && e2.rowEnd >= l2.rowEnd, N3 = (t4, e3, n4, r4) => {
|
|
19457
19443
|
let o3 = null;
|
|
19458
19444
|
n4 > 1 && (o3 = t4.at(n4 - 1));
|
|
19459
19445
|
const s4 = r4 - n4 + 1;
|
|
19460
19446
|
e3?.(n4, s4), o3 && t4.updateHeaderPairs([{ address: { min: n4, max: r4 }, update: o3 }]);
|
|
19461
19447
|
};
|
|
19462
|
-
g3 &&
|
|
19448
|
+
g3 && N3(this._rowHeaders, this._rowHeadersShiftCallback, e2.rowStart, e2.rowEnd), M3 && N3(this._colHeaders, this._colHeadersShiftCallback, e2.colStart, e2.colEnd), s3 = s3.shift({ range: e2, direction: f2, cloneIfUpdate: s3 === m2.contentfulSpatial, coordValidator: o2 }), i3 = i3.shift({ range: e2, direction: f2, cloneIfUpdate: i3 === m2.unlockSpatial, coordValidator: o2 }), d2 = d2.shift({ range: e2, direction: f2, cloneIfUpdate: d2 === m2.mergeSpatial, coordValidator: o2 }), p2 = p2.shift({ range: e2, direction: f2, cloneIfUpdate: p2 === m2.directStyleSpatial, coordValidator: o2 }), _2 = _2.shift({ range: e2, direction: f2, cloneIfUpdate: _2 === m2.continuousFillSpatial, coordValidator: o2 }), S2 = S2.shift({ range: e2, direction: f2, cloneIfUpdate: S2 === m2.conditionalSpatial, coordValidator: o2 }), w2 = w2.shift({ range: e2, direction: f2, cloneIfUpdate: w2 === m2.hyperlinkSpatial, coordValidator: o2 }), y2 = y2.shift({ range: e2, direction: f2, cloneIfUpdate: y2 === m2.commentsSpatial, coordValidator: o2 }), E2 = E2.shift({ range: e2, direction: f2, cloneIfUpdate: E2 === m2.movableSpatial, coordValidator: o2 }), C2 = C2.shift({ range: e2, direction: f2, cloneIfUpdate: C2 === m2.tableSpatial, coordValidator: o2 }), b2 = b2.shift({ range: e2, direction: f2, cloneIfUpdate: b2 === m2.calcGraph }), x2 = x2.shift({ range: e2, direction: f2, cloneIfUpdate: x2 === m2.rangeListenerSpatial, onShift: (t4) => {
|
|
19463
19449
|
I2 === m2.rangesListenerMap && (I2 = new Map(I2)), this._processListenerShift(I2, R2, m2.rangesListenerMap, t4);
|
|
19464
19450
|
} }), v2 = v2.shift({ range: e2, direction: f2, cloneIfUpdate: v2 === m2.rangesListenerSpatial2, coordValidator: o2 });
|
|
19465
19451
|
}
|
|
19466
|
-
let
|
|
19467
|
-
b2 !== m2.calcGraph && (
|
|
19452
|
+
let N2 = m2.formulaSpatial, T2 = m2.spillSpatial, F2 = m2.pendingSpatial;
|
|
19453
|
+
b2 !== m2.calcGraph && (N2 = N2.clone(), T2 = T2.clone(), F2 = F2.clone()), this._updateState({ contentfulSpatial: s3, unlockSpatial: i3, mergeSpatial: d2, directStyleSpatial: p2, continuousFillSpatial: _2, conditionalSpatial: S2, hyperlinkSpatial: w2, commentsSpatial: y2, movableSpatial: E2, tableSpatial: C2, calcGraph: b2, formulaSpatial: N2, spillSpatial: T2, pendingSpatial: F2, rangesListenerSpatial2: v2, rangeListenerSpatial: x2, rangesListenerMap: I2 }), this._commitAndAutoSelect(g2, u2, r2?.autoSelect, { viewAfter: { ranges: A2, listeners: R2 } });
|
|
19468
19454
|
} catch (t3) {
|
|
19469
19455
|
if (console.warn(t3), g2.rollback(), t3 instanceof d) throw new Error(t3.message ?? Wh);
|
|
19470
19456
|
throw t3;
|
|
@@ -19516,14 +19502,14 @@ class X_ {
|
|
|
19516
19502
|
let o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, S2 = false, w2 = false, y2 = false, E2 = Number.MAX_SAFE_INTEGER, C2 = Number.MIN_SAFE_INTEGER;
|
|
19517
19503
|
const b2 = this._styles.getNormal(), v2 = this._cellOptions, x2 = r2.orientations === e.Orientations.Row, I2 = /* @__PURE__ */ new Map(), R2 = nl(n2, 1);
|
|
19518
19504
|
R2.sort(c.createRangeComparator(e.Orientation.Column));
|
|
19519
|
-
const A2 = R2.length, M2 = { skipCustomSize: r2.skipCustomSize },
|
|
19520
|
-
if (0 !== t2 && !(e2 > 1)) return t2 = Math.max(t2,
|
|
19505
|
+
const A2 = R2.length, M2 = { skipCustomSize: r2.skipCustomSize }, N2 = Ko.getDeviceScale(), T2 = this._defaultRowHeight() * N2, F2 = this._defaultColWidth(), k2 = (t2, e2 = 1) => {
|
|
19506
|
+
if (0 !== t2 && !(e2 > 1)) return t2 = Math.max(t2, T2), (e3) => u2 ? t2 : Math.max(e3, t2 ?? T2);
|
|
19521
19507
|
}, O2 = (t2, e2 = 1) => {
|
|
19522
19508
|
if (0 !== t2 && !(e2 > 1)) return (e3) => d2 ? t2 : Math.max(e3, t2 ?? F2);
|
|
19523
19509
|
};
|
|
19524
19510
|
for (let n3 = 0; n3 < A2; n3++) {
|
|
19525
19511
|
const r3 = [];
|
|
19526
|
-
let f3 = -1, p3 = false, A3 = b2,
|
|
19512
|
+
let f3 = -1, p3 = false, A3 = b2, N3 = 1, T3 = 1, F3 = 1;
|
|
19527
19513
|
const D2 = R2[n3];
|
|
19528
19514
|
let B2 = D2.colStart, L2 = D2.rowStart, P2 = D2.colEnd, z2 = D2.rowEnd;
|
|
19529
19515
|
const W2 = this._getUsedCoords();
|
|
@@ -19552,7 +19538,7 @@ class X_ {
|
|
|
19552
19538
|
for (; !U2.done; ) {
|
|
19553
19539
|
const t2 = U2.value, e2 = t2.intersection, n4 = t2.start, r4 = t2.end;
|
|
19554
19540
|
Z_.colStart = n4.colIndex, Z_.rowStart = n4.rowIndex, Z_.colEnd = r4.colIndex, Z_.rowEnd = r4.rowIndex;
|
|
19555
|
-
const o4 = c.intersectRanges(Z_, D2, Q_), s4 =
|
|
19541
|
+
const o4 = c.intersectRanges(Z_, D2, Q_), s4 = Tg(0, o4, e2, v2).getBestFit();
|
|
19556
19542
|
if (h2) {
|
|
19557
19543
|
const t3 = Math.max(n4.rowIndex, L2), e3 = Math.min(r4.rowIndex, z2), o5 = s4.height, i4 = { address: { min: t3, max: e3 }, update: { size: k2(o5), autoSize: true }, sizeSet: null === o5 ? -1 : o5 };
|
|
19558
19544
|
V2.push(i4);
|
|
@@ -19569,7 +19555,7 @@ class X_ {
|
|
|
19569
19555
|
const e2 = Y2.value, n4 = e2[0], l3 = e2[2];
|
|
19570
19556
|
let h3 = b2;
|
|
19571
19557
|
const d3 = l3?.directStyle ?? l3?.table.getStyle() ?? null;
|
|
19572
|
-
d3 === q2 ? h3 = K2 : (h3 = d3 ?
|
|
19558
|
+
d3 === q2 ? h3 = K2 : (h3 = d3 ? Tg(0, c.cellToRange(n4, tS), l3, v2) : b2, K2 = h3);
|
|
19573
19559
|
let u3 = 1, g3 = 1;
|
|
19574
19560
|
const m3 = l3?.merge ?? null;
|
|
19575
19561
|
if (m3 === X2) u3 = Q2, g3 = Z2;
|
|
@@ -19585,7 +19571,7 @@ class X_ {
|
|
|
19585
19571
|
F3 = O3.getCoords().colEnd - x3 + 1;
|
|
19586
19572
|
}
|
|
19587
19573
|
let B3 = false, L3 = false;
|
|
19588
|
-
if (q2 === d3 && u3 ===
|
|
19574
|
+
if (q2 === d3 && u3 === N3 && g3 === T3 && M3 !== t.String && M3 !== t.Error && k3 === p3 || (B3 = true, M3 === t.RichData && (L3 = true), L3 && (B3 = false)), q2 = d3, X2 = m3, (f3 !== x3 || B3) && (-1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: u3, spanHeight: g3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), measureWidth: -1, measureHeight: -1, colSpan: F3, isFit: p3 }), f3 = x3, A3 = h3, p3 = k3, N3 = u3, T3 = g3, o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, w2 = false, S2 = false, y2 = false, E2 = I3), C2 = I3, !L3) if (null === R3) y2 = true;
|
|
19589
19575
|
else switch (M3) {
|
|
19590
19576
|
case t.Number:
|
|
19591
19577
|
0 === R3 && (i3 = true), o3 = Math.min(o3, R3), s3 = Math.max(s3, R3);
|
|
@@ -19601,7 +19587,7 @@ class X_ {
|
|
|
19601
19587
|
}
|
|
19602
19588
|
Y2 = J2.next();
|
|
19603
19589
|
}
|
|
19604
|
-
-1 !== f3 && r3.push({ col: f3, style: A3, spanWidth:
|
|
19590
|
+
-1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: N3, spanHeight: T3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), colSpan: F3, measureWidth: -1, measureHeight: -1, isFit: p3 });
|
|
19605
19591
|
let tt2 = -1, et2 = -1;
|
|
19606
19592
|
const nt2 = r3.length;
|
|
19607
19593
|
for (let e2 = 0; e2 < nt2; e2++) {
|
|
@@ -20776,7 +20762,7 @@ class X_ {
|
|
|
20776
20762
|
const s2 = hS;
|
|
20777
20763
|
this._collectRanges(n2, s2);
|
|
20778
20764
|
const i2 = om(s2);
|
|
20779
|
-
return
|
|
20765
|
+
return Tg(0, n2, i2, o2);
|
|
20780
20766
|
}
|
|
20781
20767
|
_initState() {
|
|
20782
20768
|
const t2 = this, n2 = () => {
|
|
@@ -20893,7 +20879,7 @@ class X_ {
|
|
|
20893
20879
|
}), a2 = o3, t2._emitter.notify("onMovableSelectionChange");
|
|
20894
20880
|
}, onAnyChange() {
|
|
20895
20881
|
t2._defaultColWidthCache = 0, t2._defaultRowHeightCache = 0, t2._defaultFontBoundsCache = null, t2._emitter.notify("onLayoutChange"), t2._emitter.notify("onViewChange");
|
|
20896
|
-
} }, c2 = new
|
|
20882
|
+
} }, c2 = new T_({ sheet: this });
|
|
20897
20883
|
this._view = c2, this._clearState(), this._viewRemoveListener = c2.addListeners(l2, { transactional: false }), this._viewListener = l2, this._colHeadersRemoveListener?.();
|
|
20898
20884
|
const h2 = () => {
|
|
20899
20885
|
const t3 = this.getView().isShowFormulas() ? 2 : 1;
|
|
@@ -21256,7 +21242,7 @@ class X_ {
|
|
|
21256
21242
|
this._initializing = true, this._emitter.notify("onBeforeLoad", { params: n2 }), this._clearState();
|
|
21257
21243
|
const r2 = this._beginCommit({ description: "Load Sheet", viewAfter: { initial: true, skipProtectionCheck: true } }), o2 = n2 || {}, s2 = this._strings, i2 = s2.beginPersist(), a2 = this._resources.beginPersist(), l2 = this._styles.beginPersist();
|
|
21258
21244
|
try {
|
|
21259
|
-
this._ownStrings && i2.fromJSON(o2.strings), this._ownResources && a2.fromJSON(o2.resources), this._ownStyles && l2.fromJSON(o2.styles), this._colHeaders.fromJSON({ headers: o2.cols, defaultSize: o2.defaultColSize }), this._rowHeaders.fromJSON({ headers: o2.rows, defaultSize: o2.defaultRowSize }), this.setView(new
|
|
21245
|
+
this._ownStrings && i2.fromJSON(o2.strings), this._ownResources && a2.fromJSON(o2.resources), this._ownStyles && l2.fromJSON(o2.styles), this._colHeaders.fromJSON({ headers: o2.cols, defaultSize: o2.defaultColSize }), this._rowHeaders.fromJSON({ headers: o2.rows, defaultSize: o2.defaultRowSize }), this.setView(new T_({ sheet: this, json: o2.view })), this._rangeSelection.updateCoords(this._view.getRangeSelection()), o2.tabColor && (this._tabColor = this._styles.parseColor(o2.tabColor));
|
|
21260
21246
|
let h2 = this._getState();
|
|
21261
21247
|
const d2 = h2.cellValuesGrid, u2 = h2.contentfulSpatial, g2 = o2.data, m2 = g2?.length ?? 0, f2 = dm, p2 = [];
|
|
21262
21248
|
if (m2 > 0) {
|
|
@@ -21366,14 +21352,14 @@ class X_ {
|
|
|
21366
21352
|
}
|
|
21367
21353
|
R2.load(t2);
|
|
21368
21354
|
}
|
|
21369
|
-
const A2 = h2.tableMapModel, M2 = h2.tableMapName,
|
|
21370
|
-
if (
|
|
21371
|
-
const t2 = [], e2 =
|
|
21355
|
+
const A2 = h2.tableMapModel, M2 = h2.tableMapName, N2 = h2.tableSpatial, T2 = o2.tables;
|
|
21356
|
+
if (T2) {
|
|
21357
|
+
const t2 = [], e2 = T2.length;
|
|
21372
21358
|
for (let n3 = 0; n3 < e2; n3++) {
|
|
21373
|
-
const e3 =
|
|
21359
|
+
const e3 = T2[n3], r3 = this._createTableEntry(e3), o3 = r3.value.model;
|
|
21374
21360
|
A2.set(o3, r3), M2.set(r3.value.currentName, o3), t2.push(r3);
|
|
21375
21361
|
}
|
|
21376
|
-
|
|
21362
|
+
N2.load(t2);
|
|
21377
21363
|
}
|
|
21378
21364
|
const F2 = h2.conditionalSpatial, k2 = h2.conditionalModels, O2 = o2.conditionals;
|
|
21379
21365
|
if (O2) {
|
|
@@ -21384,7 +21370,7 @@ class X_ {
|
|
|
21384
21370
|
}
|
|
21385
21371
|
}
|
|
21386
21372
|
const D2 = h2.calcGraph, B2 = D2.fromJSON({ formulas: o2.formulas, data: p2, dynamic: o2.dynamicArray, volatile: o2.volatile });
|
|
21387
|
-
h2 = this._updateState({ hyperlinkSpatial: C2, commentsSpatial: v2, movableSpatial: R2, movableMapModel: I2, tableSpatial:
|
|
21373
|
+
h2 = this._updateState({ hyperlinkSpatial: C2, commentsSpatial: v2, movableSpatial: R2, movableMapModel: I2, tableSpatial: N2, tableMapModel: A2, tableMapName: M2, conditionalSpatial: F2, conditionalModels: k2, calcGraph: D2 });
|
|
21388
21374
|
const L2 = this._getUsedCoords();
|
|
21389
21375
|
L2 && this._autoFit([L2], { orientations: e.Orientations.Row, skipCustomSize: true }), r2.commit(), B2 && this._realizeCalcedValues(B2), o2.protection && this._protection.fromJSON(o2.protection), this._emitter.notify("onLoad");
|
|
21390
21376
|
} finally {
|
|
@@ -21870,7 +21856,7 @@ class vS extends L_ {
|
|
|
21870
21856
|
return super._toJSON(t2);
|
|
21871
21857
|
}
|
|
21872
21858
|
}
|
|
21873
|
-
const xS = (t2) => `Invalid SheetKey: ${t2}`, IS = "A workbook must contain at least one visible worksheet.", RS = "Internal error no visible sheetRefs", AS = "Workbook has been closed. No further operations are allowed.", MS = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.",
|
|
21859
|
+
const xS = (t2) => `Invalid SheetKey: ${t2}`, IS = "A workbook must contain at least one visible worksheet.", RS = "Internal error no visible sheetRefs", AS = "Workbook has been closed. No further operations are allowed.", MS = "This workbook structure is protected. To make a change, unprotect the workbook. You might be requested to enter a password.", NS = "A sheet name", TS = `${NS} can not be blank.`, FS = `${NS} can not be longer than 31 characters.`, kS = `${NS} can not begin or end with a "'" (single quote).`;
|
|
21874
21860
|
class OS {
|
|
21875
21861
|
constructor(t2, e2) {
|
|
21876
21862
|
this._add = t2, this._get = e2;
|
|
@@ -21889,12 +21875,12 @@ class OS {
|
|
|
21889
21875
|
}
|
|
21890
21876
|
}
|
|
21891
21877
|
const DS = new RegExp(/[\\/\\*?:[\]]+/), BS = new RegExp(/\(((\d+)(?!.*\d))\)$/, "g"), LS = (t2) => `Sheet${t2 + 1}`, PS = (t2, e2) => ({ ...Qg, getSheet: () => null, toString: () => Gc(t2, e2) }), zS = (t2, e2 = false) => {
|
|
21892
|
-
if (!t2) throw new Error(
|
|
21878
|
+
if (!t2) throw new Error(TS);
|
|
21893
21879
|
if (DS.test(t2)) {
|
|
21894
|
-
if (!e2) throw new Error(((t3) => `${t3 ? `'${t3}'` :
|
|
21880
|
+
if (!e2) throw new Error(((t3) => `${t3 ? `'${t3}'` : NS} can not contain any of the following characters '\\ , / , * , ? , : , [ , ]'.`)(t2));
|
|
21895
21881
|
t2 = t2.replace(DS, "");
|
|
21896
21882
|
}
|
|
21897
|
-
if (0 === t2.length) throw new Error(
|
|
21883
|
+
if (0 === t2.length) throw new Error(TS);
|
|
21898
21884
|
const n2 = t2.length;
|
|
21899
21885
|
if (n2 > 31) {
|
|
21900
21886
|
if (!e2) throw new Error(FS);
|
|
@@ -22239,7 +22225,7 @@ class VS {
|
|
|
22239
22225
|
_addSheet(t2, e2 = null, n2 = null) {
|
|
22240
22226
|
e2 = this._nextSheetName(e2);
|
|
22241
22227
|
const r2 = this._getState(), o2 = this._createSheet(r2.lastId, e2, kp.Visibility.Visible, n2, null);
|
|
22242
|
-
if (!o2) throw new Error(
|
|
22228
|
+
if (!o2) throw new Error(TS);
|
|
22243
22229
|
return t2 && this._emitter.notify("onSheetsChange"), o2;
|
|
22244
22230
|
}
|
|
22245
22231
|
_updateSheetRefStates(t2) {
|
|
@@ -22776,10 +22762,10 @@ export {
|
|
|
22776
22762
|
yo as ITextFrame,
|
|
22777
22763
|
Ci as ITheme,
|
|
22778
22764
|
bi as IThemeCollection,
|
|
22779
|
-
|
|
22765
|
+
lt as LicenseManager,
|
|
22780
22766
|
pi as NumberFormat,
|
|
22781
22767
|
tf as Picture,
|
|
22782
|
-
|
|
22768
|
+
Tp as RangeClipboardItem,
|
|
22783
22769
|
Jm as Resource,
|
|
22784
22770
|
Km as ResourceCollection,
|
|
22785
22771
|
X_ as Sheet,
|