@pdfme/converter 6.2.7-dev.3 → 6.2.7
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod
|
|
9
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
10
|
var __copyProps = (to, from, except, desc) => {
|
|
11
11
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
12
|
key = keys[i];
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
enumerable: true
|
|
23
23
|
}) : target, mod));
|
|
24
24
|
//#endregion
|
|
25
|
-
//#region \0@oxc-project+runtime@0.
|
|
25
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/typeof.js
|
|
26
26
|
function _typeof(o) {
|
|
27
27
|
"@babel/helpers - typeof";
|
|
28
28
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}, _typeof(o);
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
|
-
//#region \0@oxc-project+runtime@0.
|
|
35
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/toPrimitive.js
|
|
36
36
|
function toPrimitive(t, r) {
|
|
37
37
|
if ("object" != _typeof(t) || !t) return t;
|
|
38
38
|
var e = t[Symbol.toPrimitive];
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
return ("string" === r ? String : Number)(t);
|
|
45
45
|
}
|
|
46
46
|
//#endregion
|
|
47
|
-
//#region \0@oxc-project+runtime@0.
|
|
47
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/toPropertyKey.js
|
|
48
48
|
function toPropertyKey(t) {
|
|
49
49
|
var i = toPrimitive(t, "string");
|
|
50
50
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
53
|
-
//#region \0@oxc-project+runtime@0.
|
|
53
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/defineProperty.js
|
|
54
54
|
function _defineProperty(e, r, t) {
|
|
55
55
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
56
56
|
value: t,
|
|
@@ -5525,28 +5525,28 @@
|
|
|
5525
5525
|
[_Symbol$dispose$1]() {}
|
|
5526
5526
|
};
|
|
5527
5527
|
//#endregion
|
|
5528
|
-
//#region \0@oxc-project+runtime@0.
|
|
5528
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/checkPrivateRedeclaration.js
|
|
5529
5529
|
function _checkPrivateRedeclaration(e, t) {
|
|
5530
5530
|
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
5531
5531
|
}
|
|
5532
5532
|
//#endregion
|
|
5533
|
-
//#region \0@oxc-project+runtime@0.
|
|
5533
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldInitSpec.js
|
|
5534
5534
|
function _classPrivateFieldInitSpec(e, t, a) {
|
|
5535
5535
|
_checkPrivateRedeclaration(e, t), t.set(e, a);
|
|
5536
5536
|
}
|
|
5537
5537
|
//#endregion
|
|
5538
|
-
//#region \0@oxc-project+runtime@0.
|
|
5538
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/assertClassBrand.js
|
|
5539
5539
|
function _assertClassBrand(e, t, n) {
|
|
5540
5540
|
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
5541
5541
|
throw new TypeError("Private element is not present on this object");
|
|
5542
5542
|
}
|
|
5543
5543
|
//#endregion
|
|
5544
|
-
//#region \0@oxc-project+runtime@0.
|
|
5544
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldGet2.js
|
|
5545
5545
|
function _classPrivateFieldGet2(s, a) {
|
|
5546
5546
|
return s.get(_assertClassBrand(s, a));
|
|
5547
5547
|
}
|
|
5548
5548
|
//#endregion
|
|
5549
|
-
//#region \0@oxc-project+runtime@0.
|
|
5549
|
+
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldSet2.js
|
|
5550
5550
|
function _classPrivateFieldSet2(s, a, r) {
|
|
5551
5551
|
return s.set(_assertClassBrand(s, a), r), r;
|
|
5552
5552
|
}
|
|
@@ -6421,17 +6421,6 @@
|
|
|
6421
6421
|
function unwrapMessage(message) {
|
|
6422
6422
|
return typeof message === "string" ? message : message?.message;
|
|
6423
6423
|
}
|
|
6424
|
-
/** The leading size checks of `defChecks` that set an upper bound, each paired with it. */
|
|
6425
|
-
function sizeCaps(defChecks) {
|
|
6426
|
-
const caps = [];
|
|
6427
|
-
for (const ch of defChecks ?? []) {
|
|
6428
|
-
const d = ch._zod.def;
|
|
6429
|
-
if (!/_(length|size)$|_equals$/.test(d.check)) break;
|
|
6430
|
-
const max = d.maximum ?? d.length ?? d.size;
|
|
6431
|
-
if (max >= 0) caps.push([max, ch]);
|
|
6432
|
-
}
|
|
6433
|
-
return caps;
|
|
6434
|
-
}
|
|
6435
6424
|
function attachSchema(issues, start, inst) {
|
|
6436
6425
|
var _a;
|
|
6437
6426
|
for (let i = start; i < issues.length; i++) (_a = issues[i]).schema ?? (_a.schema = inst);
|
|
@@ -6524,7 +6513,6 @@
|
|
|
6524
6513
|
return own(inst, key, value, false);
|
|
6525
6514
|
}
|
|
6526
6515
|
/** Adds members a table derives from the instance: each builds on first read and shadows as own data, and assignment shadows the same way, as when these were own properties. */
|
|
6527
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
6528
6516
|
function derived(computes, table) {
|
|
6529
6517
|
for (const key in computes) {
|
|
6530
6518
|
const compute = computes[key];
|
|
@@ -6676,7 +6664,6 @@
|
|
|
6676
6664
|
}
|
|
6677
6665
|
return new Definition();
|
|
6678
6666
|
}
|
|
6679
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
6680
6667
|
function $constructor(name, initializer, proto, params) {
|
|
6681
6668
|
const zodProto = {};
|
|
6682
6669
|
function Internals(def) {
|
|
@@ -6807,7 +6794,8 @@
|
|
|
6807
6794
|
});
|
|
6808
6795
|
}
|
|
6809
6796
|
};
|
|
6810
|
-
const $ZodError =
|
|
6797
|
+
const $ZodError = $constructor("$ZodError", initializer$1);
|
|
6798
|
+
$constructor("$ZodError", initializer$1, void 0, { Parent: Error });
|
|
6811
6799
|
/** Get-or-create `obj[key]` as an own data property. A path segment naming an inherited member
|
|
6812
6800
|
* ("toString", "constructor") would otherwise read through to the prototype, and assigning
|
|
6813
6801
|
* "__proto__" would hit the setter instead of creating a key. */
|
|
@@ -7480,7 +7468,7 @@
|
|
|
7480
7468
|
const version$1 = {
|
|
7481
7469
|
major: 4,
|
|
7482
7470
|
minor: 6,
|
|
7483
|
-
patch:
|
|
7471
|
+
patch: 5
|
|
7484
7472
|
};
|
|
7485
7473
|
//#endregion
|
|
7486
7474
|
//#region ../../node_modules/zod/v4/core/schemas.js
|
|
@@ -8003,26 +7991,6 @@
|
|
|
8003
7991
|
return payload;
|
|
8004
7992
|
};
|
|
8005
7993
|
});
|
|
8006
|
-
function capSize(inst, size) {
|
|
8007
|
-
const caps = sizeCaps(inst._zod.def.checks);
|
|
8008
|
-
if (!caps.length) return;
|
|
8009
|
-
const cap = Math.min(...caps.map((c) => c[0]));
|
|
8010
|
-
const parse = inst._zod.parse;
|
|
8011
|
-
inst._zod.parse = (payload, ctx) => {
|
|
8012
|
-
const n = size(payload.value);
|
|
8013
|
-
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
8014
|
-
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) if (n > max && ch._zod.def.when(payload)) {
|
|
8015
|
-
const start = payload.issues.length;
|
|
8016
|
-
ch._zod.check(payload);
|
|
8017
|
-
payload.issues[start].continue = false;
|
|
8018
|
-
attachSchema(payload.issues, start, inst);
|
|
8019
|
-
return payload;
|
|
8020
|
-
}
|
|
8021
|
-
}
|
|
8022
|
-
return parse(payload, ctx);
|
|
8023
|
-
};
|
|
8024
|
-
}
|
|
8025
|
-
const arraySize = (input) => Array.isArray(input) ? input.length : -1;
|
|
8026
7994
|
function handleArrayResult(result, final, index) {
|
|
8027
7995
|
if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
|
|
8028
7996
|
final.value[index] = result.value;
|
|
@@ -8060,7 +8028,6 @@
|
|
|
8060
8028
|
if (proms.length) return Promise.all(proms).then(() => payload);
|
|
8061
8029
|
return payload;
|
|
8062
8030
|
};
|
|
8063
|
-
capSize(inst, arraySize);
|
|
8064
8031
|
});
|
|
8065
8032
|
function handlePropertyResult(result, final, key, input, optin, optout) {
|
|
8066
8033
|
const isPresent = key in input;
|
|
@@ -8169,7 +8136,7 @@
|
|
|
8169
8136
|
}
|
|
8170
8137
|
return propValues;
|
|
8171
8138
|
});
|
|
8172
|
-
const isObject$
|
|
8139
|
+
const isObject$2 = isObject;
|
|
8173
8140
|
const catchall = def.catchall;
|
|
8174
8141
|
let value;
|
|
8175
8142
|
const memo = globalConfig.memoizer;
|
|
@@ -8177,7 +8144,7 @@
|
|
|
8177
8144
|
inst._zod.parse = (payload, ctx) => {
|
|
8178
8145
|
value ?? (value = _normalized.value);
|
|
8179
8146
|
const input = payload.value;
|
|
8180
|
-
if (!isObject$
|
|
8147
|
+
if (!isObject$2(input)) {
|
|
8181
8148
|
payload.issues.push({
|
|
8182
8149
|
expected: "object",
|
|
8183
8150
|
code: "invalid_type",
|
|
@@ -8307,7 +8274,7 @@
|
|
|
8307
8274
|
return doc.compile();
|
|
8308
8275
|
};
|
|
8309
8276
|
let fastpass;
|
|
8310
|
-
const isObject$
|
|
8277
|
+
const isObject$1 = isObject;
|
|
8311
8278
|
const jit = !globalConfig.jitless;
|
|
8312
8279
|
const fastEnabled = jit && allowsEval.value;
|
|
8313
8280
|
const catchall = def.catchall;
|
|
@@ -8315,7 +8282,7 @@
|
|
|
8315
8282
|
inst._zod.parse = (payload, ctx) => {
|
|
8316
8283
|
value ?? (value = _normalized.value);
|
|
8317
8284
|
const input = payload.value;
|
|
8318
|
-
if (!isObject$
|
|
8285
|
+
if (!isObject$1(input)) {
|
|
8319
8286
|
payload.issues.push({
|
|
8320
8287
|
expected: "object",
|
|
8321
8288
|
code: "invalid_type",
|
|
@@ -13294,10 +13261,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13294
13261
|
4,
|
|
13295
13262
|
318,
|
|
13296
13263
|
1,
|
|
13297
|
-
|
|
13298
|
-
|
|
13299
|
-
33,
|
|
13300
|
-
15,
|
|
13264
|
+
78,
|
|
13265
|
+
5,
|
|
13301
13266
|
71,
|
|
13302
13267
|
10,
|
|
13303
13268
|
50,
|
|
@@ -13478,9 +13443,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13478
13443
|
9,
|
|
13479
13444
|
55,
|
|
13480
13445
|
9,
|
|
13481
|
-
|
|
13482
|
-
0,
|
|
13483
|
-
259,
|
|
13446
|
+
266,
|
|
13484
13447
|
3,
|
|
13485
13448
|
10,
|
|
13486
13449
|
1,
|
|
@@ -13528,9 +13491,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13528
13491
|
45,
|
|
13529
13492
|
3,
|
|
13530
13493
|
22,
|
|
13531
|
-
|
|
13532
|
-
1,
|
|
13533
|
-
61,
|
|
13494
|
+
543,
|
|
13534
13495
|
4,
|
|
13535
13496
|
4,
|
|
13536
13497
|
5,
|
|
@@ -13542,15 +13503,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13542
13503
|
3,
|
|
13543
13504
|
149,
|
|
13544
13505
|
2,
|
|
13545
|
-
|
|
13546
|
-
2,
|
|
13547
|
-
9,
|
|
13548
|
-
1,
|
|
13549
|
-
3,
|
|
13550
|
-
0,
|
|
13551
|
-
33,
|
|
13552
|
-
1,
|
|
13553
|
-
1357,
|
|
13506
|
+
1418,
|
|
13554
13507
|
49,
|
|
13555
13508
|
513,
|
|
13556
13509
|
54,
|
|
@@ -13683,8 +13636,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13683
13636
|
2,
|
|
13684
13637
|
41,
|
|
13685
13638
|
2,
|
|
13686
|
-
|
|
13687
|
-
|
|
13639
|
+
8,
|
|
13640
|
+
70,
|
|
13688
13641
|
5,
|
|
13689
13642
|
3,
|
|
13690
13643
|
0,
|
|
@@ -13756,9 +13709,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13756
13709
|
1,
|
|
13757
13710
|
17,
|
|
13758
13711
|
5,
|
|
13759
|
-
|
|
13760
|
-
21,
|
|
13761
|
-
18,
|
|
13712
|
+
57,
|
|
13762
13713
|
28,
|
|
13763
13714
|
11,
|
|
13764
13715
|
0,
|
|
@@ -13916,9 +13867,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13916
13867
|
0,
|
|
13917
13868
|
19,
|
|
13918
13869
|
72,
|
|
13919
|
-
|
|
13920
|
-
0,
|
|
13921
|
-
182,
|
|
13870
|
+
200,
|
|
13922
13871
|
32,
|
|
13923
13872
|
32,
|
|
13924
13873
|
8,
|
|
@@ -13946,9 +13895,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13946
13895
|
0,
|
|
13947
13896
|
24,
|
|
13948
13897
|
43,
|
|
13949
|
-
|
|
13950
|
-
0,
|
|
13951
|
-
239,
|
|
13898
|
+
261,
|
|
13952
13899
|
18,
|
|
13953
13900
|
16,
|
|
13954
13901
|
0,
|
|
@@ -13961,12 +13908,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13961
13908
|
80,
|
|
13962
13909
|
921,
|
|
13963
13910
|
103,
|
|
13964
|
-
|
|
13965
|
-
|
|
13966
|
-
|
|
13967
|
-
|
|
13968
|
-
310,
|
|
13969
|
-
2314,
|
|
13911
|
+
110,
|
|
13912
|
+
18,
|
|
13913
|
+
195,
|
|
13914
|
+
2637,
|
|
13970
13915
|
96,
|
|
13971
13916
|
16,
|
|
13972
13917
|
1071,
|
|
@@ -14015,32 +13960,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14015
13960
|
15,
|
|
14016
13961
|
4,
|
|
14017
13962
|
10,
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
13963
|
+
7381,
|
|
13964
|
+
42,
|
|
13965
|
+
31,
|
|
13966
|
+
98,
|
|
14022
13967
|
114,
|
|
14023
|
-
|
|
14024
|
-
913,
|
|
14025
|
-
15,
|
|
14026
|
-
50,
|
|
14027
|
-
7710,
|
|
13968
|
+
8702,
|
|
14028
13969
|
3,
|
|
14029
13970
|
2,
|
|
14030
13971
|
6,
|
|
14031
13972
|
2,
|
|
14032
13973
|
1,
|
|
14033
13974
|
2,
|
|
14034
|
-
|
|
14035
|
-
|
|
13975
|
+
290,
|
|
13976
|
+
16,
|
|
14036
13977
|
0,
|
|
14037
13978
|
30,
|
|
14038
13979
|
2,
|
|
14039
13980
|
3,
|
|
14040
13981
|
0,
|
|
14041
13982
|
15,
|
|
14042
|
-
|
|
14043
|
-
|
|
13983
|
+
3,
|
|
13984
|
+
9,
|
|
14044
13985
|
395,
|
|
14045
13986
|
2309,
|
|
14046
13987
|
106,
|
|
@@ -14087,8 +14028,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14087
14028
|
4,
|
|
14088
14029
|
6,
|
|
14089
14030
|
2,
|
|
14090
|
-
|
|
14091
|
-
|
|
14031
|
+
339,
|
|
14032
|
+
3,
|
|
14092
14033
|
24,
|
|
14093
14034
|
2,
|
|
14094
14035
|
24,
|
|
@@ -14111,12 +14052,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14111
14052
|
2,
|
|
14112
14053
|
7,
|
|
14113
14054
|
1845,
|
|
14114
|
-
|
|
14115
|
-
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
50,
|
|
14119
|
-
49,
|
|
14055
|
+
30,
|
|
14056
|
+
7,
|
|
14057
|
+
5,
|
|
14058
|
+
262,
|
|
14120
14059
|
61,
|
|
14121
14060
|
147,
|
|
14122
14061
|
44,
|
|
@@ -14229,8 +14168,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14229
14168
|
4421,
|
|
14230
14169
|
42719,
|
|
14231
14170
|
33,
|
|
14232
|
-
|
|
14233
|
-
|
|
14171
|
+
4381,
|
|
14172
|
+
3,
|
|
14234
14173
|
5773,
|
|
14235
14174
|
3,
|
|
14236
14175
|
7472,
|
|
@@ -14241,12 +14180,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14241
14180
|
1507,
|
|
14242
14181
|
4938,
|
|
14243
14182
|
6,
|
|
14244
|
-
8489
|
|
14245
|
-
39815,
|
|
14246
|
-
11327
|
|
14183
|
+
8489
|
|
14247
14184
|
];
|
|
14248
|
-
var nonASCIIidentifierChars = "
|
|
14249
|
-
var nonASCIIidentifierStartChars = "
|
|
14185
|
+
var nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
|
|
14186
|
+
var nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
|
|
14250
14187
|
var reservedWords = {
|
|
14251
14188
|
3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
|
|
14252
14189
|
5: "class enum extends super const export import",
|
|
@@ -14734,7 +14671,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14734
14671
|
skipWhiteSpace.lastIndex = start + match[0].length;
|
|
14735
14672
|
var spaceAfter = skipWhiteSpace.exec(this.input), end = spaceAfter.index + spaceAfter[0].length;
|
|
14736
14673
|
var next = this.input.charAt(end);
|
|
14737
|
-
return next === ";" || next === "}" || lineBreak.test(spaceAfter[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(next) || next === "!" && this.input.charAt(end + 1) === "="
|
|
14674
|
+
return next === ";" || next === "}" || lineBreak.test(spaceAfter[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(next) || next === "!" && this.input.charAt(end + 1) === "=");
|
|
14738
14675
|
}
|
|
14739
14676
|
start += match[0].length;
|
|
14740
14677
|
skipWhiteSpace.lastIndex = start;
|
|
@@ -14742,15 +14679,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14742
14679
|
if (this.input[start] === ";") start++;
|
|
14743
14680
|
}
|
|
14744
14681
|
};
|
|
14745
|
-
function keywordOpAt(parser, pos) {
|
|
14746
|
-
var end = pos + 1, stop = Math.min(parser.input.length, pos + 11);
|
|
14747
|
-
while (end < stop) {
|
|
14748
|
-
var ch = parser.fullCharCodeAt(end);
|
|
14749
|
-
if (!isIdentifierChar(ch, true)) break;
|
|
14750
|
-
end += ch <= 65535 ? 1 : 2;
|
|
14751
|
-
}
|
|
14752
|
-
return end === pos + 2 && parser.input.slice(pos, end) === "in" || end === pos + 10 && parser.input.slice(pos, end) === "instanceof";
|
|
14753
|
-
}
|
|
14754
14682
|
pp$9.eat = function(type) {
|
|
14755
14683
|
if (this.type === type) {
|
|
14756
14684
|
this.next();
|
|
@@ -16064,11 +15992,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16064
15992
|
var node = this.startNodeAt(startPos, startLoc);
|
|
16065
15993
|
node.operator = this.value;
|
|
16066
15994
|
if (this.type === types$1.eq) left = this.toAssignable(left, false, refDestructuringErrors);
|
|
16067
|
-
if (!ownDestructuringErrors)
|
|
16068
|
-
|
|
16069
|
-
if (refDestructuringErrors.shorthandAssign >= left.start) refDestructuringErrors.shorthandAssign = -1;
|
|
16070
|
-
if (refDestructuringErrors.doubleProto >= left.start) refDestructuringErrors.doubleProto = -1;
|
|
16071
|
-
}
|
|
15995
|
+
if (!ownDestructuringErrors) refDestructuringErrors.parenthesizedAssign = refDestructuringErrors.trailingComma = refDestructuringErrors.doubleProto = -1;
|
|
15996
|
+
if (refDestructuringErrors.shorthandAssign >= left.start) refDestructuringErrors.shorthandAssign = -1;
|
|
16072
15997
|
if (this.type === types$1.eq) this.checkLValPattern(left);
|
|
16073
15998
|
else this.checkLValSimple(left);
|
|
16074
15999
|
node.left = left;
|
|
@@ -16174,24 +16099,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16174
16099
|
}
|
|
16175
16100
|
pp$5.parseExprSubscripts = function(refDestructuringErrors, forInit) {
|
|
16176
16101
|
var startPos = this.start, startLoc = this.startLoc;
|
|
16177
|
-
var oldDoubleProto = -1, oldShorthandAssign = -1;
|
|
16178
|
-
if (refDestructuringErrors) {
|
|
16179
|
-
oldDoubleProto = refDestructuringErrors.doubleProto;
|
|
16180
|
-
oldShorthandAssign = refDestructuringErrors.shorthandAssign;
|
|
16181
|
-
refDestructuringErrors.doubleProto = refDestructuringErrors.shorthandAssign = -1;
|
|
16182
|
-
}
|
|
16183
16102
|
var expr = this.parseExprAtom(refDestructuringErrors, forInit);
|
|
16184
16103
|
if (expr.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return expr;
|
|
16185
16104
|
var result = this.parseSubscripts(expr, startPos, startLoc, false, forInit);
|
|
16186
|
-
if (refDestructuringErrors) {
|
|
16187
|
-
if (
|
|
16188
|
-
|
|
16189
|
-
|
|
16190
|
-
if (refDestructuringErrors.parenthesizedBind >= result.start) refDestructuringErrors.parenthesizedBind = -1;
|
|
16191
|
-
if (refDestructuringErrors.trailingComma >= result.start) refDestructuringErrors.trailingComma = -1;
|
|
16192
|
-
}
|
|
16193
|
-
if (oldDoubleProto > -1) refDestructuringErrors.doubleProto = oldDoubleProto;
|
|
16194
|
-
if (oldShorthandAssign > -1) refDestructuringErrors.shorthandAssign = oldShorthandAssign;
|
|
16105
|
+
if (refDestructuringErrors && result.type === "MemberExpression") {
|
|
16106
|
+
if (refDestructuringErrors.parenthesizedAssign >= result.start) refDestructuringErrors.parenthesizedAssign = -1;
|
|
16107
|
+
if (refDestructuringErrors.parenthesizedBind >= result.start) refDestructuringErrors.parenthesizedBind = -1;
|
|
16108
|
+
if (refDestructuringErrors.trailingComma >= result.start) refDestructuringErrors.trailingComma = -1;
|
|
16195
16109
|
}
|
|
16196
16110
|
return result;
|
|
16197
16111
|
};
|
|
@@ -16201,7 +16115,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16201
16115
|
while (true) {
|
|
16202
16116
|
var element = this.parseSubscript(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained, forInit);
|
|
16203
16117
|
if (element.optional) optionalChained = true;
|
|
16204
|
-
if (element
|
|
16118
|
+
if (element === base || element.type === "ArrowFunctionExpression") {
|
|
16205
16119
|
if (optionalChained) {
|
|
16206
16120
|
var chainNode = this.startNodeAt(startPos, startLoc);
|
|
16207
16121
|
chainNode.expression = element;
|
|
@@ -16210,7 +16124,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16210
16124
|
return element;
|
|
16211
16125
|
}
|
|
16212
16126
|
base = element;
|
|
16213
|
-
maybeAsyncArrow = false;
|
|
16214
16127
|
}
|
|
16215
16128
|
};
|
|
16216
16129
|
pp$5.shouldParseAsyncArrow = function() {
|
|
@@ -18440,7 +18353,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18440
18353
|
};
|
|
18441
18354
|
Parser.acorn = {
|
|
18442
18355
|
Parser,
|
|
18443
|
-
version: "8.
|
|
18356
|
+
version: "8.18.0",
|
|
18444
18357
|
defaultOptions,
|
|
18445
18358
|
Position,
|
|
18446
18359
|
SourceLocation,
|
|
@@ -18918,4 +18831,4 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18918
18831
|
//#endregion
|
|
18919
18832
|
})();
|
|
18920
18833
|
|
|
18921
|
-
//# sourceMappingURL=clawpdf-worker-
|
|
18834
|
+
//# sourceMappingURL=clawpdf-worker-D71IyYxj.js.map
|