docx 9.4.1 → 9.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +425 -204
- package/dist/index.d.cts +24 -6
- package/dist/index.d.ts +24 -6
- package/dist/index.iife.js +425 -204
- package/dist/index.mjs +425 -204
- package/dist/index.umd.cjs +425 -204
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1368,9 +1368,9 @@ function requireBuffer() {
|
|
|
1368
1368
|
};
|
|
1369
1369
|
Buffer2.prototype.inspect = function inspect() {
|
|
1370
1370
|
var str = "";
|
|
1371
|
-
var
|
|
1372
|
-
str = this.toString("hex", 0,
|
|
1373
|
-
if (this.length >
|
|
1371
|
+
var max2 = exports2.INSPECT_MAX_BYTES;
|
|
1372
|
+
str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
|
|
1373
|
+
if (this.length > max2) str += " ... ";
|
|
1374
1374
|
return "<Buffer " + str + ">";
|
|
1375
1375
|
};
|
|
1376
1376
|
if (customInspectSymbol) {
|
|
@@ -1895,9 +1895,9 @@ function requireBuffer() {
|
|
|
1895
1895
|
if (!noAssert) checkOffset(offset, 8, this.length);
|
|
1896
1896
|
return ieee7542.read(this, offset, false, 52, 8);
|
|
1897
1897
|
};
|
|
1898
|
-
function checkInt(buf, value, offset, ext,
|
|
1898
|
+
function checkInt(buf, value, offset, ext, max2, min2) {
|
|
1899
1899
|
if (!Buffer2.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
1900
|
-
if (value >
|
|
1900
|
+
if (value > max2 || value < min2) throw new RangeError('"value" argument is out of bounds');
|
|
1901
1901
|
if (offset + ext > buf.length) throw new RangeError("Index out of range");
|
|
1902
1902
|
}
|
|
1903
1903
|
Buffer2.prototype.writeUintLE = Buffer2.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength2, noAssert) {
|
|
@@ -2058,7 +2058,7 @@ function requireBuffer() {
|
|
|
2058
2058
|
this[offset + 3] = value & 255;
|
|
2059
2059
|
return offset + 4;
|
|
2060
2060
|
};
|
|
2061
|
-
function checkIEEE754(buf, value, offset, ext,
|
|
2061
|
+
function checkIEEE754(buf, value, offset, ext, max2, min2) {
|
|
2062
2062
|
if (offset + ext > buf.length) throw new RangeError("Index out of range");
|
|
2063
2063
|
if (offset < 0) throw new RangeError("Index out of range");
|
|
2064
2064
|
}
|
|
@@ -2323,7 +2323,7 @@ function requireShams$1() {
|
|
|
2323
2323
|
}
|
|
2324
2324
|
var symVal = 42;
|
|
2325
2325
|
obj[sym] = symVal;
|
|
2326
|
-
for (
|
|
2326
|
+
for (var _ in obj) {
|
|
2327
2327
|
return false;
|
|
2328
2328
|
}
|
|
2329
2329
|
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
@@ -2340,7 +2340,10 @@ function requireShams$1() {
|
|
|
2340
2340
|
return false;
|
|
2341
2341
|
}
|
|
2342
2342
|
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
2343
|
-
var descriptor =
|
|
2343
|
+
var descriptor = (
|
|
2344
|
+
/** @type {PropertyDescriptor} */
|
|
2345
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
2346
|
+
);
|
|
2344
2347
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
2345
2348
|
return false;
|
|
2346
2349
|
}
|
|
@@ -2360,6 +2363,14 @@ function requireShams() {
|
|
|
2360
2363
|
};
|
|
2361
2364
|
return shams;
|
|
2362
2365
|
}
|
|
2366
|
+
var esObjectAtoms;
|
|
2367
|
+
var hasRequiredEsObjectAtoms;
|
|
2368
|
+
function requireEsObjectAtoms() {
|
|
2369
|
+
if (hasRequiredEsObjectAtoms) return esObjectAtoms;
|
|
2370
|
+
hasRequiredEsObjectAtoms = 1;
|
|
2371
|
+
esObjectAtoms = Object;
|
|
2372
|
+
return esObjectAtoms;
|
|
2373
|
+
}
|
|
2363
2374
|
var esErrors;
|
|
2364
2375
|
var hasRequiredEsErrors;
|
|
2365
2376
|
function requireEsErrors() {
|
|
@@ -2416,6 +2427,118 @@ function requireUri() {
|
|
|
2416
2427
|
uri = URIError;
|
|
2417
2428
|
return uri;
|
|
2418
2429
|
}
|
|
2430
|
+
var abs;
|
|
2431
|
+
var hasRequiredAbs;
|
|
2432
|
+
function requireAbs() {
|
|
2433
|
+
if (hasRequiredAbs) return abs;
|
|
2434
|
+
hasRequiredAbs = 1;
|
|
2435
|
+
abs = Math.abs;
|
|
2436
|
+
return abs;
|
|
2437
|
+
}
|
|
2438
|
+
var floor;
|
|
2439
|
+
var hasRequiredFloor;
|
|
2440
|
+
function requireFloor() {
|
|
2441
|
+
if (hasRequiredFloor) return floor;
|
|
2442
|
+
hasRequiredFloor = 1;
|
|
2443
|
+
floor = Math.floor;
|
|
2444
|
+
return floor;
|
|
2445
|
+
}
|
|
2446
|
+
var max;
|
|
2447
|
+
var hasRequiredMax;
|
|
2448
|
+
function requireMax() {
|
|
2449
|
+
if (hasRequiredMax) return max;
|
|
2450
|
+
hasRequiredMax = 1;
|
|
2451
|
+
max = Math.max;
|
|
2452
|
+
return max;
|
|
2453
|
+
}
|
|
2454
|
+
var min;
|
|
2455
|
+
var hasRequiredMin;
|
|
2456
|
+
function requireMin() {
|
|
2457
|
+
if (hasRequiredMin) return min;
|
|
2458
|
+
hasRequiredMin = 1;
|
|
2459
|
+
min = Math.min;
|
|
2460
|
+
return min;
|
|
2461
|
+
}
|
|
2462
|
+
var pow;
|
|
2463
|
+
var hasRequiredPow;
|
|
2464
|
+
function requirePow() {
|
|
2465
|
+
if (hasRequiredPow) return pow;
|
|
2466
|
+
hasRequiredPow = 1;
|
|
2467
|
+
pow = Math.pow;
|
|
2468
|
+
return pow;
|
|
2469
|
+
}
|
|
2470
|
+
var round;
|
|
2471
|
+
var hasRequiredRound;
|
|
2472
|
+
function requireRound() {
|
|
2473
|
+
if (hasRequiredRound) return round;
|
|
2474
|
+
hasRequiredRound = 1;
|
|
2475
|
+
round = Math.round;
|
|
2476
|
+
return round;
|
|
2477
|
+
}
|
|
2478
|
+
var _isNaN;
|
|
2479
|
+
var hasRequired_isNaN;
|
|
2480
|
+
function require_isNaN() {
|
|
2481
|
+
if (hasRequired_isNaN) return _isNaN;
|
|
2482
|
+
hasRequired_isNaN = 1;
|
|
2483
|
+
_isNaN = Number.isNaN || function isNaN2(a) {
|
|
2484
|
+
return a !== a;
|
|
2485
|
+
};
|
|
2486
|
+
return _isNaN;
|
|
2487
|
+
}
|
|
2488
|
+
var sign;
|
|
2489
|
+
var hasRequiredSign;
|
|
2490
|
+
function requireSign() {
|
|
2491
|
+
if (hasRequiredSign) return sign;
|
|
2492
|
+
hasRequiredSign = 1;
|
|
2493
|
+
var $isNaN = /* @__PURE__ */ require_isNaN();
|
|
2494
|
+
sign = function sign2(number) {
|
|
2495
|
+
if ($isNaN(number) || number === 0) {
|
|
2496
|
+
return number;
|
|
2497
|
+
}
|
|
2498
|
+
return number < 0 ? -1 : 1;
|
|
2499
|
+
};
|
|
2500
|
+
return sign;
|
|
2501
|
+
}
|
|
2502
|
+
var gOPD;
|
|
2503
|
+
var hasRequiredGOPD;
|
|
2504
|
+
function requireGOPD() {
|
|
2505
|
+
if (hasRequiredGOPD) return gOPD;
|
|
2506
|
+
hasRequiredGOPD = 1;
|
|
2507
|
+
gOPD = Object.getOwnPropertyDescriptor;
|
|
2508
|
+
return gOPD;
|
|
2509
|
+
}
|
|
2510
|
+
var gopd;
|
|
2511
|
+
var hasRequiredGopd;
|
|
2512
|
+
function requireGopd() {
|
|
2513
|
+
if (hasRequiredGopd) return gopd;
|
|
2514
|
+
hasRequiredGopd = 1;
|
|
2515
|
+
var $gOPD = /* @__PURE__ */ requireGOPD();
|
|
2516
|
+
if ($gOPD) {
|
|
2517
|
+
try {
|
|
2518
|
+
$gOPD([], "length");
|
|
2519
|
+
} catch (e) {
|
|
2520
|
+
$gOPD = null;
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
2523
|
+
gopd = $gOPD;
|
|
2524
|
+
return gopd;
|
|
2525
|
+
}
|
|
2526
|
+
var esDefineProperty;
|
|
2527
|
+
var hasRequiredEsDefineProperty;
|
|
2528
|
+
function requireEsDefineProperty() {
|
|
2529
|
+
if (hasRequiredEsDefineProperty) return esDefineProperty;
|
|
2530
|
+
hasRequiredEsDefineProperty = 1;
|
|
2531
|
+
var $defineProperty = Object.defineProperty || false;
|
|
2532
|
+
if ($defineProperty) {
|
|
2533
|
+
try {
|
|
2534
|
+
$defineProperty({}, "a", { value: 1 });
|
|
2535
|
+
} catch (e) {
|
|
2536
|
+
$defineProperty = false;
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
esDefineProperty = $defineProperty;
|
|
2540
|
+
return esDefineProperty;
|
|
2541
|
+
}
|
|
2419
2542
|
var hasSymbols;
|
|
2420
2543
|
var hasRequiredHasSymbols;
|
|
2421
2544
|
function requireHasSymbols() {
|
|
@@ -2440,20 +2563,22 @@ function requireHasSymbols() {
|
|
|
2440
2563
|
};
|
|
2441
2564
|
return hasSymbols;
|
|
2442
2565
|
}
|
|
2443
|
-
var
|
|
2444
|
-
var
|
|
2445
|
-
function
|
|
2446
|
-
if (
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2566
|
+
var Reflect_getPrototypeOf;
|
|
2567
|
+
var hasRequiredReflect_getPrototypeOf;
|
|
2568
|
+
function requireReflect_getPrototypeOf() {
|
|
2569
|
+
if (hasRequiredReflect_getPrototypeOf) return Reflect_getPrototypeOf;
|
|
2570
|
+
hasRequiredReflect_getPrototypeOf = 1;
|
|
2571
|
+
Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
2572
|
+
return Reflect_getPrototypeOf;
|
|
2573
|
+
}
|
|
2574
|
+
var Object_getPrototypeOf;
|
|
2575
|
+
var hasRequiredObject_getPrototypeOf;
|
|
2576
|
+
function requireObject_getPrototypeOf() {
|
|
2577
|
+
if (hasRequiredObject_getPrototypeOf) return Object_getPrototypeOf;
|
|
2578
|
+
hasRequiredObject_getPrototypeOf = 1;
|
|
2579
|
+
var $Object = /* @__PURE__ */ requireEsObjectAtoms();
|
|
2580
|
+
Object_getPrototypeOf = $Object.getPrototypeOf || null;
|
|
2581
|
+
return Object_getPrototypeOf;
|
|
2457
2582
|
}
|
|
2458
2583
|
var implementation;
|
|
2459
2584
|
var hasRequiredImplementation;
|
|
@@ -2462,7 +2587,7 @@ function requireImplementation() {
|
|
|
2462
2587
|
hasRequiredImplementation = 1;
|
|
2463
2588
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
2464
2589
|
var toStr = Object.prototype.toString;
|
|
2465
|
-
var
|
|
2590
|
+
var max2 = Math.max;
|
|
2466
2591
|
var funcType = "[object Function]";
|
|
2467
2592
|
var concatty = function concatty2(a, b) {
|
|
2468
2593
|
var arr = [];
|
|
@@ -2514,7 +2639,7 @@ function requireImplementation() {
|
|
|
2514
2639
|
concatty(args, arguments)
|
|
2515
2640
|
);
|
|
2516
2641
|
};
|
|
2517
|
-
var boundLength =
|
|
2642
|
+
var boundLength = max2(0, target.length - args.length);
|
|
2518
2643
|
var boundArgs = [];
|
|
2519
2644
|
for (var i = 0; i < boundLength; i++) {
|
|
2520
2645
|
boundArgs[i] = "$" + i;
|
|
@@ -2540,6 +2665,110 @@ function requireFunctionBind() {
|
|
|
2540
2665
|
functionBind = Function.prototype.bind || implementation2;
|
|
2541
2666
|
return functionBind;
|
|
2542
2667
|
}
|
|
2668
|
+
var functionCall;
|
|
2669
|
+
var hasRequiredFunctionCall;
|
|
2670
|
+
function requireFunctionCall() {
|
|
2671
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
2672
|
+
hasRequiredFunctionCall = 1;
|
|
2673
|
+
functionCall = Function.prototype.call;
|
|
2674
|
+
return functionCall;
|
|
2675
|
+
}
|
|
2676
|
+
var functionApply;
|
|
2677
|
+
var hasRequiredFunctionApply;
|
|
2678
|
+
function requireFunctionApply() {
|
|
2679
|
+
if (hasRequiredFunctionApply) return functionApply;
|
|
2680
|
+
hasRequiredFunctionApply = 1;
|
|
2681
|
+
functionApply = Function.prototype.apply;
|
|
2682
|
+
return functionApply;
|
|
2683
|
+
}
|
|
2684
|
+
var reflectApply;
|
|
2685
|
+
var hasRequiredReflectApply;
|
|
2686
|
+
function requireReflectApply() {
|
|
2687
|
+
if (hasRequiredReflectApply) return reflectApply;
|
|
2688
|
+
hasRequiredReflectApply = 1;
|
|
2689
|
+
reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
2690
|
+
return reflectApply;
|
|
2691
|
+
}
|
|
2692
|
+
var actualApply;
|
|
2693
|
+
var hasRequiredActualApply;
|
|
2694
|
+
function requireActualApply() {
|
|
2695
|
+
if (hasRequiredActualApply) return actualApply;
|
|
2696
|
+
hasRequiredActualApply = 1;
|
|
2697
|
+
var bind = requireFunctionBind();
|
|
2698
|
+
var $apply = requireFunctionApply();
|
|
2699
|
+
var $call = requireFunctionCall();
|
|
2700
|
+
var $reflectApply = requireReflectApply();
|
|
2701
|
+
actualApply = $reflectApply || bind.call($call, $apply);
|
|
2702
|
+
return actualApply;
|
|
2703
|
+
}
|
|
2704
|
+
var callBindApplyHelpers;
|
|
2705
|
+
var hasRequiredCallBindApplyHelpers;
|
|
2706
|
+
function requireCallBindApplyHelpers() {
|
|
2707
|
+
if (hasRequiredCallBindApplyHelpers) return callBindApplyHelpers;
|
|
2708
|
+
hasRequiredCallBindApplyHelpers = 1;
|
|
2709
|
+
var bind = requireFunctionBind();
|
|
2710
|
+
var $TypeError = /* @__PURE__ */ requireType();
|
|
2711
|
+
var $call = requireFunctionCall();
|
|
2712
|
+
var $actualApply = requireActualApply();
|
|
2713
|
+
callBindApplyHelpers = function callBindBasic(args) {
|
|
2714
|
+
if (args.length < 1 || typeof args[0] !== "function") {
|
|
2715
|
+
throw new $TypeError("a function is required");
|
|
2716
|
+
}
|
|
2717
|
+
return $actualApply(bind, $call, args);
|
|
2718
|
+
};
|
|
2719
|
+
return callBindApplyHelpers;
|
|
2720
|
+
}
|
|
2721
|
+
var get;
|
|
2722
|
+
var hasRequiredGet;
|
|
2723
|
+
function requireGet() {
|
|
2724
|
+
if (hasRequiredGet) return get;
|
|
2725
|
+
hasRequiredGet = 1;
|
|
2726
|
+
var callBind2 = requireCallBindApplyHelpers();
|
|
2727
|
+
var gOPD2 = /* @__PURE__ */ requireGopd();
|
|
2728
|
+
var hasProtoAccessor;
|
|
2729
|
+
try {
|
|
2730
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
2731
|
+
[].__proto__ === Array.prototype;
|
|
2732
|
+
} catch (e) {
|
|
2733
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
2734
|
+
throw e;
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
var desc = !!hasProtoAccessor && gOPD2 && gOPD2(
|
|
2738
|
+
Object.prototype,
|
|
2739
|
+
/** @type {keyof typeof Object.prototype} */
|
|
2740
|
+
"__proto__"
|
|
2741
|
+
);
|
|
2742
|
+
var $Object = Object;
|
|
2743
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
2744
|
+
get = desc && typeof desc.get === "function" ? callBind2([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
2745
|
+
/** @type {import('./get')} */
|
|
2746
|
+
function getDunder(value) {
|
|
2747
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
2748
|
+
}
|
|
2749
|
+
) : false;
|
|
2750
|
+
return get;
|
|
2751
|
+
}
|
|
2752
|
+
var getProto;
|
|
2753
|
+
var hasRequiredGetProto;
|
|
2754
|
+
function requireGetProto() {
|
|
2755
|
+
if (hasRequiredGetProto) return getProto;
|
|
2756
|
+
hasRequiredGetProto = 1;
|
|
2757
|
+
var reflectGetProto = requireReflect_getPrototypeOf();
|
|
2758
|
+
var originalGetProto = requireObject_getPrototypeOf();
|
|
2759
|
+
var getDunderProto = /* @__PURE__ */ requireGet();
|
|
2760
|
+
getProto = reflectGetProto ? function getProto2(O) {
|
|
2761
|
+
return reflectGetProto(O);
|
|
2762
|
+
} : originalGetProto ? function getProto2(O) {
|
|
2763
|
+
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
2764
|
+
throw new TypeError("getProto: not an object");
|
|
2765
|
+
}
|
|
2766
|
+
return originalGetProto(O);
|
|
2767
|
+
} : getDunderProto ? function getProto2(O) {
|
|
2768
|
+
return getDunderProto(O);
|
|
2769
|
+
} : null;
|
|
2770
|
+
return getProto;
|
|
2771
|
+
}
|
|
2543
2772
|
var hasown;
|
|
2544
2773
|
var hasRequiredHasown;
|
|
2545
2774
|
function requireHasown() {
|
|
@@ -2557,6 +2786,7 @@ function requireGetIntrinsic() {
|
|
|
2557
2786
|
if (hasRequiredGetIntrinsic) return getIntrinsic;
|
|
2558
2787
|
hasRequiredGetIntrinsic = 1;
|
|
2559
2788
|
var undefined$1;
|
|
2789
|
+
var $Object = /* @__PURE__ */ requireEsObjectAtoms();
|
|
2560
2790
|
var $Error = /* @__PURE__ */ requireEsErrors();
|
|
2561
2791
|
var $EvalError = /* @__PURE__ */ require_eval();
|
|
2562
2792
|
var $RangeError = /* @__PURE__ */ requireRange();
|
|
@@ -2564,6 +2794,13 @@ function requireGetIntrinsic() {
|
|
|
2564
2794
|
var $SyntaxError = /* @__PURE__ */ requireSyntax();
|
|
2565
2795
|
var $TypeError = /* @__PURE__ */ requireType();
|
|
2566
2796
|
var $URIError = /* @__PURE__ */ requireUri();
|
|
2797
|
+
var abs2 = /* @__PURE__ */ requireAbs();
|
|
2798
|
+
var floor2 = /* @__PURE__ */ requireFloor();
|
|
2799
|
+
var max2 = /* @__PURE__ */ requireMax();
|
|
2800
|
+
var min2 = /* @__PURE__ */ requireMin();
|
|
2801
|
+
var pow2 = /* @__PURE__ */ requirePow();
|
|
2802
|
+
var round2 = /* @__PURE__ */ requireRound();
|
|
2803
|
+
var sign2 = /* @__PURE__ */ requireSign();
|
|
2567
2804
|
var $Function = Function;
|
|
2568
2805
|
var getEvalledConstructor = function(expressionSyntax) {
|
|
2569
2806
|
try {
|
|
@@ -2571,14 +2808,8 @@ function requireGetIntrinsic() {
|
|
|
2571
2808
|
} catch (e) {
|
|
2572
2809
|
}
|
|
2573
2810
|
};
|
|
2574
|
-
var $gOPD =
|
|
2575
|
-
|
|
2576
|
-
try {
|
|
2577
|
-
$gOPD({}, "");
|
|
2578
|
-
} catch (e) {
|
|
2579
|
-
$gOPD = null;
|
|
2580
|
-
}
|
|
2581
|
-
}
|
|
2811
|
+
var $gOPD = /* @__PURE__ */ requireGopd();
|
|
2812
|
+
var $defineProperty = /* @__PURE__ */ requireEsDefineProperty();
|
|
2582
2813
|
var throwTypeError = function() {
|
|
2583
2814
|
throw new $TypeError();
|
|
2584
2815
|
};
|
|
@@ -2595,18 +2826,19 @@ function requireGetIntrinsic() {
|
|
|
2595
2826
|
}
|
|
2596
2827
|
}() : throwTypeError;
|
|
2597
2828
|
var hasSymbols2 = requireHasSymbols()();
|
|
2598
|
-
var
|
|
2599
|
-
var
|
|
2600
|
-
|
|
2601
|
-
|
|
2829
|
+
var getProto2 = requireGetProto();
|
|
2830
|
+
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
2831
|
+
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
2832
|
+
var $apply = requireFunctionApply();
|
|
2833
|
+
var $call = requireFunctionCall();
|
|
2602
2834
|
var needsEval = {};
|
|
2603
|
-
var TypedArray = typeof Uint8Array === "undefined" || !
|
|
2835
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto2 ? undefined$1 : getProto2(Uint8Array);
|
|
2604
2836
|
var INTRINSICS = {
|
|
2605
2837
|
__proto__: null,
|
|
2606
2838
|
"%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
|
|
2607
2839
|
"%Array%": Array,
|
|
2608
2840
|
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
|
|
2609
|
-
"%ArrayIteratorPrototype%": hasSymbols2 &&
|
|
2841
|
+
"%ArrayIteratorPrototype%": hasSymbols2 && getProto2 ? getProto2([][Symbol.iterator]()) : undefined$1,
|
|
2610
2842
|
"%AsyncFromSyncIteratorPrototype%": undefined$1,
|
|
2611
2843
|
"%AsyncFunction%": needsEval,
|
|
2612
2844
|
"%AsyncGenerator%": needsEval,
|
|
@@ -2627,6 +2859,7 @@ function requireGetIntrinsic() {
|
|
|
2627
2859
|
"%eval%": eval,
|
|
2628
2860
|
// eslint-disable-line no-eval
|
|
2629
2861
|
"%EvalError%": $EvalError,
|
|
2862
|
+
"%Float16Array%": typeof Float16Array === "undefined" ? undefined$1 : Float16Array,
|
|
2630
2863
|
"%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
|
|
2631
2864
|
"%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
|
|
2632
2865
|
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
|
|
@@ -2637,13 +2870,14 @@ function requireGetIntrinsic() {
|
|
|
2637
2870
|
"%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
|
|
2638
2871
|
"%isFinite%": isFinite,
|
|
2639
2872
|
"%isNaN%": isNaN,
|
|
2640
|
-
"%IteratorPrototype%": hasSymbols2 &&
|
|
2873
|
+
"%IteratorPrototype%": hasSymbols2 && getProto2 ? getProto2(getProto2([][Symbol.iterator]())) : undefined$1,
|
|
2641
2874
|
"%JSON%": typeof JSON === "object" ? JSON : undefined$1,
|
|
2642
2875
|
"%Map%": typeof Map === "undefined" ? undefined$1 : Map,
|
|
2643
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols2 || !
|
|
2876
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols2 || !getProto2 ? undefined$1 : getProto2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
2644
2877
|
"%Math%": Math,
|
|
2645
2878
|
"%Number%": Number,
|
|
2646
|
-
"%Object%": Object,
|
|
2879
|
+
"%Object%": $Object,
|
|
2880
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
2647
2881
|
"%parseFloat%": parseFloat,
|
|
2648
2882
|
"%parseInt%": parseInt,
|
|
2649
2883
|
"%Promise%": typeof Promise === "undefined" ? undefined$1 : Promise,
|
|
@@ -2653,10 +2887,10 @@ function requireGetIntrinsic() {
|
|
|
2653
2887
|
"%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
|
|
2654
2888
|
"%RegExp%": RegExp,
|
|
2655
2889
|
"%Set%": typeof Set === "undefined" ? undefined$1 : Set,
|
|
2656
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols2 || !
|
|
2890
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols2 || !getProto2 ? undefined$1 : getProto2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2657
2891
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
|
|
2658
2892
|
"%String%": String,
|
|
2659
|
-
"%StringIteratorPrototype%": hasSymbols2 &&
|
|
2893
|
+
"%StringIteratorPrototype%": hasSymbols2 && getProto2 ? getProto2(""[Symbol.iterator]()) : undefined$1,
|
|
2660
2894
|
"%Symbol%": hasSymbols2 ? Symbol : undefined$1,
|
|
2661
2895
|
"%SyntaxError%": $SyntaxError,
|
|
2662
2896
|
"%ThrowTypeError%": ThrowTypeError,
|
|
@@ -2669,13 +2903,25 @@ function requireGetIntrinsic() {
|
|
|
2669
2903
|
"%URIError%": $URIError,
|
|
2670
2904
|
"%WeakMap%": typeof WeakMap === "undefined" ? undefined$1 : WeakMap,
|
|
2671
2905
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
|
|
2672
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet
|
|
2906
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet,
|
|
2907
|
+
"%Function.prototype.call%": $call,
|
|
2908
|
+
"%Function.prototype.apply%": $apply,
|
|
2909
|
+
"%Object.defineProperty%": $defineProperty,
|
|
2910
|
+
"%Object.getPrototypeOf%": $ObjectGPO,
|
|
2911
|
+
"%Math.abs%": abs2,
|
|
2912
|
+
"%Math.floor%": floor2,
|
|
2913
|
+
"%Math.max%": max2,
|
|
2914
|
+
"%Math.min%": min2,
|
|
2915
|
+
"%Math.pow%": pow2,
|
|
2916
|
+
"%Math.round%": round2,
|
|
2917
|
+
"%Math.sign%": sign2,
|
|
2918
|
+
"%Reflect.getPrototypeOf%": $ReflectGPO
|
|
2673
2919
|
};
|
|
2674
|
-
if (
|
|
2920
|
+
if (getProto2) {
|
|
2675
2921
|
try {
|
|
2676
2922
|
null.error;
|
|
2677
2923
|
} catch (e) {
|
|
2678
|
-
var errorProto =
|
|
2924
|
+
var errorProto = getProto2(getProto2(e));
|
|
2679
2925
|
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
2680
2926
|
}
|
|
2681
2927
|
}
|
|
@@ -2694,8 +2940,8 @@ function requireGetIntrinsic() {
|
|
|
2694
2940
|
}
|
|
2695
2941
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
2696
2942
|
var gen = doEval2("%AsyncGenerator%");
|
|
2697
|
-
if (gen &&
|
|
2698
|
-
value =
|
|
2943
|
+
if (gen && getProto2) {
|
|
2944
|
+
value = getProto2(gen.prototype);
|
|
2699
2945
|
}
|
|
2700
2946
|
}
|
|
2701
2947
|
INTRINSICS[name] = value;
|
|
@@ -2757,11 +3003,11 @@ function requireGetIntrinsic() {
|
|
|
2757
3003
|
};
|
|
2758
3004
|
var bind = requireFunctionBind();
|
|
2759
3005
|
var hasOwn = /* @__PURE__ */ requireHasown();
|
|
2760
|
-
var $concat = bind.call(
|
|
2761
|
-
var $spliceApply = bind.call(
|
|
2762
|
-
var $replace = bind.call(
|
|
2763
|
-
var $strSlice = bind.call(
|
|
2764
|
-
var $exec = bind.call(
|
|
3006
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
3007
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
3008
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
3009
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
3010
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
2765
3011
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
2766
3012
|
var reEscapeChar = /\\(\\)?/g;
|
|
2767
3013
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -2865,40 +3111,6 @@ function requireGetIntrinsic() {
|
|
|
2865
3111
|
return getIntrinsic;
|
|
2866
3112
|
}
|
|
2867
3113
|
var callBind = { exports: {} };
|
|
2868
|
-
var esDefineProperty;
|
|
2869
|
-
var hasRequiredEsDefineProperty;
|
|
2870
|
-
function requireEsDefineProperty() {
|
|
2871
|
-
if (hasRequiredEsDefineProperty) return esDefineProperty;
|
|
2872
|
-
hasRequiredEsDefineProperty = 1;
|
|
2873
|
-
var GetIntrinsic = /* @__PURE__ */ requireGetIntrinsic();
|
|
2874
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
|
|
2875
|
-
if ($defineProperty) {
|
|
2876
|
-
try {
|
|
2877
|
-
$defineProperty({}, "a", { value: 1 });
|
|
2878
|
-
} catch (e) {
|
|
2879
|
-
$defineProperty = false;
|
|
2880
|
-
}
|
|
2881
|
-
}
|
|
2882
|
-
esDefineProperty = $defineProperty;
|
|
2883
|
-
return esDefineProperty;
|
|
2884
|
-
}
|
|
2885
|
-
var gopd;
|
|
2886
|
-
var hasRequiredGopd;
|
|
2887
|
-
function requireGopd() {
|
|
2888
|
-
if (hasRequiredGopd) return gopd;
|
|
2889
|
-
hasRequiredGopd = 1;
|
|
2890
|
-
var GetIntrinsic = /* @__PURE__ */ requireGetIntrinsic();
|
|
2891
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
2892
|
-
if ($gOPD) {
|
|
2893
|
-
try {
|
|
2894
|
-
$gOPD([], "length");
|
|
2895
|
-
} catch (e) {
|
|
2896
|
-
$gOPD = null;
|
|
2897
|
-
}
|
|
2898
|
-
}
|
|
2899
|
-
gopd = $gOPD;
|
|
2900
|
-
return gopd;
|
|
2901
|
-
}
|
|
2902
3114
|
var defineDataProperty;
|
|
2903
3115
|
var hasRequiredDefineDataProperty;
|
|
2904
3116
|
function requireDefineDataProperty() {
|
|
@@ -2977,7 +3189,7 @@ function requireSetFunctionLength() {
|
|
|
2977
3189
|
var GetIntrinsic = /* @__PURE__ */ requireGetIntrinsic();
|
|
2978
3190
|
var define = /* @__PURE__ */ requireDefineDataProperty();
|
|
2979
3191
|
var hasDescriptors = /* @__PURE__ */ requireHasPropertyDescriptors()();
|
|
2980
|
-
var
|
|
3192
|
+
var gOPD2 = /* @__PURE__ */ requireGopd();
|
|
2981
3193
|
var $TypeError = /* @__PURE__ */ requireType();
|
|
2982
3194
|
var $floor = GetIntrinsic("%Math.floor%");
|
|
2983
3195
|
setFunctionLength = function setFunctionLength2(fn, length) {
|
|
@@ -2990,8 +3202,8 @@ function requireSetFunctionLength() {
|
|
|
2990
3202
|
var loose = arguments.length > 2 && !!arguments[2];
|
|
2991
3203
|
var functionLengthIsConfigurable = true;
|
|
2992
3204
|
var functionLengthIsWritable = true;
|
|
2993
|
-
if ("length" in fn &&
|
|
2994
|
-
var desc =
|
|
3205
|
+
if ("length" in fn && gOPD2) {
|
|
3206
|
+
var desc = gOPD2(fn, "length");
|
|
2995
3207
|
if (desc && !desc.configurable) {
|
|
2996
3208
|
functionLengthIsConfigurable = false;
|
|
2997
3209
|
}
|
|
@@ -3111,7 +3323,7 @@ function requireIsGeneratorFunction() {
|
|
|
3111
3323
|
var fnToStr = Function.prototype.toString;
|
|
3112
3324
|
var isFnRegex = /^\s*(?:function)?\*/;
|
|
3113
3325
|
var hasToStringTag = requireShams()();
|
|
3114
|
-
var
|
|
3326
|
+
var getProto2 = Object.getPrototypeOf;
|
|
3115
3327
|
var getGeneratorFunc = function() {
|
|
3116
3328
|
if (!hasToStringTag) {
|
|
3117
3329
|
return false;
|
|
@@ -3133,14 +3345,14 @@ function requireIsGeneratorFunction() {
|
|
|
3133
3345
|
var str = toStr.call(fn);
|
|
3134
3346
|
return str === "[object GeneratorFunction]";
|
|
3135
3347
|
}
|
|
3136
|
-
if (!
|
|
3348
|
+
if (!getProto2) {
|
|
3137
3349
|
return false;
|
|
3138
3350
|
}
|
|
3139
3351
|
if (typeof GeneratorFunction === "undefined") {
|
|
3140
3352
|
var generatorFunc = getGeneratorFunc();
|
|
3141
|
-
GeneratorFunction = generatorFunc ?
|
|
3353
|
+
GeneratorFunction = generatorFunc ? getProto2(generatorFunc) : false;
|
|
3142
3354
|
}
|
|
3143
|
-
return
|
|
3355
|
+
return getProto2(fn) === GeneratorFunction;
|
|
3144
3356
|
};
|
|
3145
3357
|
return isGeneratorFunction;
|
|
3146
3358
|
}
|
|
@@ -3150,10 +3362,10 @@ function requireIsCallable() {
|
|
|
3150
3362
|
if (hasRequiredIsCallable) return isCallable;
|
|
3151
3363
|
hasRequiredIsCallable = 1;
|
|
3152
3364
|
var fnToStr = Function.prototype.toString;
|
|
3153
|
-
var
|
|
3365
|
+
var reflectApply2 = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
|
|
3154
3366
|
var badArrayLike;
|
|
3155
3367
|
var isCallableMarker;
|
|
3156
|
-
if (typeof
|
|
3368
|
+
if (typeof reflectApply2 === "function" && typeof Object.defineProperty === "function") {
|
|
3157
3369
|
try {
|
|
3158
3370
|
badArrayLike = Object.defineProperty({}, "length", {
|
|
3159
3371
|
get: function() {
|
|
@@ -3161,16 +3373,16 @@ function requireIsCallable() {
|
|
|
3161
3373
|
}
|
|
3162
3374
|
});
|
|
3163
3375
|
isCallableMarker = {};
|
|
3164
|
-
|
|
3376
|
+
reflectApply2(function() {
|
|
3165
3377
|
throw 42;
|
|
3166
3378
|
}, null, badArrayLike);
|
|
3167
3379
|
} catch (_) {
|
|
3168
3380
|
if (_ !== isCallableMarker) {
|
|
3169
|
-
|
|
3381
|
+
reflectApply2 = null;
|
|
3170
3382
|
}
|
|
3171
3383
|
}
|
|
3172
3384
|
} else {
|
|
3173
|
-
|
|
3385
|
+
reflectApply2 = null;
|
|
3174
3386
|
}
|
|
3175
3387
|
var constructorRegex = /^\s*class\b/;
|
|
3176
3388
|
var isES6ClassFn = function isES6ClassFunction(value) {
|
|
@@ -3219,7 +3431,7 @@ function requireIsCallable() {
|
|
|
3219
3431
|
};
|
|
3220
3432
|
}
|
|
3221
3433
|
}
|
|
3222
|
-
isCallable =
|
|
3434
|
+
isCallable = reflectApply2 ? function isCallable2(value) {
|
|
3223
3435
|
if (isDDA(value)) {
|
|
3224
3436
|
return true;
|
|
3225
3437
|
}
|
|
@@ -3230,7 +3442,7 @@ function requireIsCallable() {
|
|
|
3230
3442
|
return false;
|
|
3231
3443
|
}
|
|
3232
3444
|
try {
|
|
3233
|
-
|
|
3445
|
+
reflectApply2(value, null, badArrayLike);
|
|
3234
3446
|
} catch (e) {
|
|
3235
3447
|
if (e !== isCallableMarker) {
|
|
3236
3448
|
return false;
|
|
@@ -3366,7 +3578,7 @@ function requireWhichTypedArray() {
|
|
|
3366
3578
|
var availableTypedArrays2 = /* @__PURE__ */ requireAvailableTypedArrays();
|
|
3367
3579
|
var callBind2 = requireCallBind();
|
|
3368
3580
|
var callBound2 = requireCallBound();
|
|
3369
|
-
var
|
|
3581
|
+
var gOPD2 = /* @__PURE__ */ requireGopd();
|
|
3370
3582
|
var $toString = callBound2("Object.prototype.toString");
|
|
3371
3583
|
var hasToStringTag = requireShams()();
|
|
3372
3584
|
var g = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
|
|
@@ -3382,15 +3594,15 @@ function requireWhichTypedArray() {
|
|
|
3382
3594
|
return -1;
|
|
3383
3595
|
};
|
|
3384
3596
|
var cache = { __proto__: null };
|
|
3385
|
-
if (hasToStringTag &&
|
|
3597
|
+
if (hasToStringTag && gOPD2 && getPrototypeOf) {
|
|
3386
3598
|
forEach(typedArrays, function(typedArray) {
|
|
3387
3599
|
var arr = new g[typedArray]();
|
|
3388
3600
|
if (Symbol.toStringTag in arr) {
|
|
3389
3601
|
var proto = getPrototypeOf(arr);
|
|
3390
|
-
var descriptor =
|
|
3602
|
+
var descriptor = gOPD2(proto, Symbol.toStringTag);
|
|
3391
3603
|
if (!descriptor) {
|
|
3392
3604
|
var superProto = getPrototypeOf(proto);
|
|
3393
|
-
descriptor =
|
|
3605
|
+
descriptor = gOPD2(superProto, Symbol.toStringTag);
|
|
3394
3606
|
}
|
|
3395
3607
|
cache["$" + typedArray] = callBind2(descriptor.get);
|
|
3396
3608
|
}
|
|
@@ -3459,7 +3671,7 @@ function requireWhichTypedArray() {
|
|
|
3459
3671
|
}
|
|
3460
3672
|
return trySlices(value);
|
|
3461
3673
|
}
|
|
3462
|
-
if (!
|
|
3674
|
+
if (!gOPD2) {
|
|
3463
3675
|
return null;
|
|
3464
3676
|
}
|
|
3465
3677
|
return tryTypedArrays(value);
|
|
@@ -4951,7 +5163,7 @@ function require_stream_writable() {
|
|
|
4951
5163
|
// because otherwise some prototype manipulation in
|
|
4952
5164
|
// userland will fail
|
|
4953
5165
|
enumerable: false,
|
|
4954
|
-
get: function
|
|
5166
|
+
get: function get2() {
|
|
4955
5167
|
return this._writableState && this._writableState.getBuffer();
|
|
4956
5168
|
}
|
|
4957
5169
|
});
|
|
@@ -4966,7 +5178,7 @@ function require_stream_writable() {
|
|
|
4966
5178
|
// because otherwise some prototype manipulation in
|
|
4967
5179
|
// userland will fail
|
|
4968
5180
|
enumerable: false,
|
|
4969
|
-
get: function
|
|
5181
|
+
get: function get2() {
|
|
4970
5182
|
return this._writableState.highWaterMark;
|
|
4971
5183
|
}
|
|
4972
5184
|
});
|
|
@@ -5136,7 +5348,7 @@ function require_stream_writable() {
|
|
|
5136
5348
|
// because otherwise some prototype manipulation in
|
|
5137
5349
|
// userland will fail
|
|
5138
5350
|
enumerable: false,
|
|
5139
|
-
get: function
|
|
5351
|
+
get: function get2() {
|
|
5140
5352
|
return this._writableState.length;
|
|
5141
5353
|
}
|
|
5142
5354
|
});
|
|
@@ -5209,7 +5421,7 @@ function require_stream_writable() {
|
|
|
5209
5421
|
// because otherwise some prototype manipulation in
|
|
5210
5422
|
// userland will fail
|
|
5211
5423
|
enumerable: false,
|
|
5212
|
-
get: function
|
|
5424
|
+
get: function get2() {
|
|
5213
5425
|
if (this._writableState === void 0) {
|
|
5214
5426
|
return false;
|
|
5215
5427
|
}
|
|
@@ -5271,7 +5483,7 @@ function require_stream_duplex() {
|
|
|
5271
5483
|
// because otherwise some prototype manipulation in
|
|
5272
5484
|
// userland will fail
|
|
5273
5485
|
enumerable: false,
|
|
5274
|
-
get: function
|
|
5486
|
+
get: function get2() {
|
|
5275
5487
|
return this._writableState.highWaterMark;
|
|
5276
5488
|
}
|
|
5277
5489
|
});
|
|
@@ -5280,7 +5492,7 @@ function require_stream_duplex() {
|
|
|
5280
5492
|
// because otherwise some prototype manipulation in
|
|
5281
5493
|
// userland will fail
|
|
5282
5494
|
enumerable: false,
|
|
5283
|
-
get: function
|
|
5495
|
+
get: function get2() {
|
|
5284
5496
|
return this._writableState && this._writableState.getBuffer();
|
|
5285
5497
|
}
|
|
5286
5498
|
});
|
|
@@ -5289,7 +5501,7 @@ function require_stream_duplex() {
|
|
|
5289
5501
|
// because otherwise some prototype manipulation in
|
|
5290
5502
|
// userland will fail
|
|
5291
5503
|
enumerable: false,
|
|
5292
|
-
get: function
|
|
5504
|
+
get: function get2() {
|
|
5293
5505
|
return this._writableState.length;
|
|
5294
5506
|
}
|
|
5295
5507
|
});
|
|
@@ -5305,7 +5517,7 @@ function require_stream_duplex() {
|
|
|
5305
5517
|
// because otherwise some prototype manipulation in
|
|
5306
5518
|
// userland will fail
|
|
5307
5519
|
enumerable: false,
|
|
5308
|
-
get: function
|
|
5520
|
+
get: function get2() {
|
|
5309
5521
|
if (this._readableState === void 0 || this._writableState === void 0) {
|
|
5310
5522
|
return false;
|
|
5311
5523
|
}
|
|
@@ -5984,7 +6196,7 @@ function require_stream_readable() {
|
|
|
5984
6196
|
// because otherwise some prototype manipulation in
|
|
5985
6197
|
// userland will fail
|
|
5986
6198
|
enumerable: false,
|
|
5987
|
-
get: function
|
|
6199
|
+
get: function get2() {
|
|
5988
6200
|
if (this._readableState === void 0) {
|
|
5989
6201
|
return false;
|
|
5990
6202
|
}
|
|
@@ -6528,7 +6740,7 @@ function require_stream_readable() {
|
|
|
6528
6740
|
// because otherwise some prototype manipulation in
|
|
6529
6741
|
// userland will fail
|
|
6530
6742
|
enumerable: false,
|
|
6531
|
-
get: function
|
|
6743
|
+
get: function get2() {
|
|
6532
6744
|
return this._readableState.highWaterMark;
|
|
6533
6745
|
}
|
|
6534
6746
|
});
|
|
@@ -6537,7 +6749,7 @@ function require_stream_readable() {
|
|
|
6537
6749
|
// because otherwise some prototype manipulation in
|
|
6538
6750
|
// userland will fail
|
|
6539
6751
|
enumerable: false,
|
|
6540
|
-
get: function
|
|
6752
|
+
get: function get2() {
|
|
6541
6753
|
return this._readableState && this._readableState.buffer;
|
|
6542
6754
|
}
|
|
6543
6755
|
});
|
|
@@ -6546,7 +6758,7 @@ function require_stream_readable() {
|
|
|
6546
6758
|
// because otherwise some prototype manipulation in
|
|
6547
6759
|
// userland will fail
|
|
6548
6760
|
enumerable: false,
|
|
6549
|
-
get: function
|
|
6761
|
+
get: function get2() {
|
|
6550
6762
|
return this._readableState.flowing;
|
|
6551
6763
|
},
|
|
6552
6764
|
set: function set(state2) {
|
|
@@ -6561,7 +6773,7 @@ function require_stream_readable() {
|
|
|
6561
6773
|
// because otherwise some prototype manipulation in
|
|
6562
6774
|
// userland will fail
|
|
6563
6775
|
enumerable: false,
|
|
6564
|
-
get: function
|
|
6776
|
+
get: function get2() {
|
|
6565
6777
|
return this._readableState.length;
|
|
6566
6778
|
}
|
|
6567
6779
|
});
|
|
@@ -8277,7 +8489,7 @@ function requireSax() {
|
|
|
8277
8489
|
if (!String.fromCodePoint) {
|
|
8278
8490
|
(function() {
|
|
8279
8491
|
var stringFromCharCode = String.fromCharCode;
|
|
8280
|
-
var
|
|
8492
|
+
var floor2 = Math.floor;
|
|
8281
8493
|
var fromCodePoint = function() {
|
|
8282
8494
|
var MAX_SIZE = 16384;
|
|
8283
8495
|
var codeUnits = [];
|
|
@@ -8294,7 +8506,7 @@ function requireSax() {
|
|
|
8294
8506
|
if (!isFinite(codePoint) || // `NaN`, `+Infinity`, or `-Infinity`
|
|
8295
8507
|
codePoint < 0 || // not a valid Unicode code point
|
|
8296
8508
|
codePoint > 1114111 || // not a valid Unicode code point
|
|
8297
|
-
|
|
8509
|
+
floor2(codePoint) !== codePoint) {
|
|
8298
8510
|
throw RangeError("Invalid code point: " + codePoint);
|
|
8299
8511
|
}
|
|
8300
8512
|
if (codePoint <= 65535) {
|
|
@@ -9913,8 +10125,17 @@ class RunProperties extends IgnoreIfEmptyXmlComponent {
|
|
|
9913
10125
|
if (!options) {
|
|
9914
10126
|
return;
|
|
9915
10127
|
}
|
|
9916
|
-
if (options.
|
|
9917
|
-
this.push(new
|
|
10128
|
+
if (options.style) {
|
|
10129
|
+
this.push(new StringValueElement("w:rStyle", options.style));
|
|
10130
|
+
}
|
|
10131
|
+
if (options.font) {
|
|
10132
|
+
if (typeof options.font === "string") {
|
|
10133
|
+
this.push(new RunFonts(options.font));
|
|
10134
|
+
} else if ("name" in options.font) {
|
|
10135
|
+
this.push(new RunFonts(options.font.name, options.font.hint));
|
|
10136
|
+
} else {
|
|
10137
|
+
this.push(new RunFonts(options.font));
|
|
10138
|
+
}
|
|
9918
10139
|
}
|
|
9919
10140
|
if (options.bold !== void 0) {
|
|
9920
10141
|
this.push(new OnOffElement("w:b", options.bold));
|
|
@@ -9928,18 +10149,41 @@ class RunProperties extends IgnoreIfEmptyXmlComponent {
|
|
|
9928
10149
|
if (options.italicsComplexScript === void 0 && options.italics !== void 0 || options.italicsComplexScript) {
|
|
9929
10150
|
this.push(new OnOffElement("w:iCs", (_b = options.italicsComplexScript) != null ? _b : options.italics));
|
|
9930
10151
|
}
|
|
9931
|
-
if (options.
|
|
9932
|
-
this.push(new
|
|
10152
|
+
if (options.smallCaps !== void 0) {
|
|
10153
|
+
this.push(new OnOffElement("w:smallCaps", options.smallCaps));
|
|
10154
|
+
} else if (options.allCaps !== void 0) {
|
|
10155
|
+
this.push(new OnOffElement("w:caps", options.allCaps));
|
|
9933
10156
|
}
|
|
9934
|
-
if (options.
|
|
9935
|
-
this.push(new
|
|
10157
|
+
if (options.strike !== void 0) {
|
|
10158
|
+
this.push(new OnOffElement("w:strike", options.strike));
|
|
9936
10159
|
}
|
|
9937
|
-
if (options.
|
|
9938
|
-
this.push(new
|
|
10160
|
+
if (options.doubleStrike !== void 0) {
|
|
10161
|
+
this.push(new OnOffElement("w:dstrike", options.doubleStrike));
|
|
10162
|
+
}
|
|
10163
|
+
if (options.emboss !== void 0) {
|
|
10164
|
+
this.push(new OnOffElement("w:emboss", options.emboss));
|
|
10165
|
+
}
|
|
10166
|
+
if (options.imprint !== void 0) {
|
|
10167
|
+
this.push(new OnOffElement("w:imprint", options.imprint));
|
|
10168
|
+
}
|
|
10169
|
+
if (options.noProof !== void 0) {
|
|
10170
|
+
this.push(new OnOffElement("w:noProof", options.noProof));
|
|
10171
|
+
}
|
|
10172
|
+
if (options.snapToGrid !== void 0) {
|
|
10173
|
+
this.push(new OnOffElement("w:snapToGrid", options.snapToGrid));
|
|
10174
|
+
}
|
|
10175
|
+
if (options.vanish) {
|
|
10176
|
+
this.push(new OnOffElement("w:vanish", options.vanish));
|
|
9939
10177
|
}
|
|
9940
10178
|
if (options.color) {
|
|
9941
10179
|
this.push(new Color(options.color));
|
|
9942
10180
|
}
|
|
10181
|
+
if (options.characterSpacing) {
|
|
10182
|
+
this.push(new CharacterSpacing(options.characterSpacing));
|
|
10183
|
+
}
|
|
10184
|
+
if (options.scale !== void 0) {
|
|
10185
|
+
this.push(new NumberValueElement("w:w", options.scale));
|
|
10186
|
+
}
|
|
9943
10187
|
if (options.kern) {
|
|
9944
10188
|
this.push(new HpsMeasureElement("w:kern", options.kern));
|
|
9945
10189
|
}
|
|
@@ -9953,38 +10197,6 @@ class RunProperties extends IgnoreIfEmptyXmlComponent {
|
|
|
9953
10197
|
if (szCs) {
|
|
9954
10198
|
this.push(new HpsMeasureElement("w:szCs", szCs));
|
|
9955
10199
|
}
|
|
9956
|
-
if (options.rightToLeft !== void 0) {
|
|
9957
|
-
this.push(new OnOffElement("w:rtl", options.rightToLeft));
|
|
9958
|
-
}
|
|
9959
|
-
if (options.smallCaps !== void 0) {
|
|
9960
|
-
this.push(new OnOffElement("w:smallCaps", options.smallCaps));
|
|
9961
|
-
} else if (options.allCaps !== void 0) {
|
|
9962
|
-
this.push(new OnOffElement("w:caps", options.allCaps));
|
|
9963
|
-
}
|
|
9964
|
-
if (options.strike !== void 0) {
|
|
9965
|
-
this.push(new OnOffElement("w:strike", options.strike));
|
|
9966
|
-
}
|
|
9967
|
-
if (options.doubleStrike !== void 0) {
|
|
9968
|
-
this.push(new OnOffElement("w:dstrike", options.doubleStrike));
|
|
9969
|
-
}
|
|
9970
|
-
if (options.subScript) {
|
|
9971
|
-
this.push(new SubScript());
|
|
9972
|
-
}
|
|
9973
|
-
if (options.superScript) {
|
|
9974
|
-
this.push(new SuperScript());
|
|
9975
|
-
}
|
|
9976
|
-
if (options.style) {
|
|
9977
|
-
this.push(new StringValueElement("w:rStyle", options.style));
|
|
9978
|
-
}
|
|
9979
|
-
if (options.font) {
|
|
9980
|
-
if (typeof options.font === "string") {
|
|
9981
|
-
this.push(new RunFonts(options.font));
|
|
9982
|
-
} else if ("name" in options.font) {
|
|
9983
|
-
this.push(new RunFonts(options.font.name, options.font.hint));
|
|
9984
|
-
} else {
|
|
9985
|
-
this.push(new RunFonts(options.font));
|
|
9986
|
-
}
|
|
9987
|
-
}
|
|
9988
10200
|
if (options.highlight) {
|
|
9989
10201
|
this.push(new Highlight(options.highlight));
|
|
9990
10202
|
}
|
|
@@ -9992,42 +10204,42 @@ class RunProperties extends IgnoreIfEmptyXmlComponent {
|
|
|
9992
10204
|
if (highlightCs) {
|
|
9993
10205
|
this.push(new HighlightComplexScript(highlightCs));
|
|
9994
10206
|
}
|
|
9995
|
-
if (options.
|
|
9996
|
-
this.push(new
|
|
10207
|
+
if (options.underline) {
|
|
10208
|
+
this.push(new Underline(options.underline.type, options.underline.color));
|
|
9997
10209
|
}
|
|
9998
|
-
if (options.
|
|
9999
|
-
this.push(new
|
|
10210
|
+
if (options.effect) {
|
|
10211
|
+
this.push(new StringValueElement("w:effect", options.effect));
|
|
10000
10212
|
}
|
|
10001
|
-
if (options.
|
|
10002
|
-
this.push(new
|
|
10213
|
+
if (options.border) {
|
|
10214
|
+
this.push(new BorderElement("w:bdr", options.border));
|
|
10003
10215
|
}
|
|
10004
10216
|
if (options.shading) {
|
|
10005
10217
|
this.push(new Shading(options.shading));
|
|
10006
10218
|
}
|
|
10007
|
-
if (options.
|
|
10008
|
-
this.push(new
|
|
10009
|
-
}
|
|
10010
|
-
if (options.border) {
|
|
10011
|
-
this.push(new BorderElement("w:bdr", options.border));
|
|
10012
|
-
}
|
|
10013
|
-
if (options.snapToGrid !== void 0) {
|
|
10014
|
-
this.push(new OnOffElement("w:snapToGrid", options.snapToGrid));
|
|
10219
|
+
if (options.subScript) {
|
|
10220
|
+
this.push(new SubScript());
|
|
10015
10221
|
}
|
|
10016
|
-
if (options.
|
|
10017
|
-
this.push(new
|
|
10222
|
+
if (options.superScript) {
|
|
10223
|
+
this.push(new SuperScript());
|
|
10018
10224
|
}
|
|
10019
|
-
if (options.
|
|
10020
|
-
this.push(new OnOffElement("w:
|
|
10225
|
+
if (options.rightToLeft !== void 0) {
|
|
10226
|
+
this.push(new OnOffElement("w:rtl", options.rightToLeft));
|
|
10021
10227
|
}
|
|
10022
|
-
if (options.
|
|
10023
|
-
this.push(new
|
|
10228
|
+
if (options.emphasisMark) {
|
|
10229
|
+
this.push(new EmphasisMark(options.emphasisMark.type));
|
|
10024
10230
|
}
|
|
10025
10231
|
if (options.language) {
|
|
10026
10232
|
this.push(createLanguageComponent(options.language));
|
|
10027
10233
|
}
|
|
10234
|
+
if (options.specVanish) {
|
|
10235
|
+
this.push(new OnOffElement("w:specVanish", options.vanish));
|
|
10236
|
+
}
|
|
10028
10237
|
if (options.math) {
|
|
10029
10238
|
this.push(new OnOffElement("w:oMath", options.math));
|
|
10030
10239
|
}
|
|
10240
|
+
if (options.revision) {
|
|
10241
|
+
this.push(new RunPropertiesChange(options.revision));
|
|
10242
|
+
}
|
|
10031
10243
|
}
|
|
10032
10244
|
push(item) {
|
|
10033
10245
|
this.root.push(item);
|
|
@@ -12467,26 +12679,29 @@ class DocProperties extends XmlComponent {
|
|
|
12467
12679
|
constructor({ name, description, title } = { name: "", description: "", title: "" }) {
|
|
12468
12680
|
super("wp:docPr");
|
|
12469
12681
|
__publicField(this, "docPropertiesUniqueNumericId", docPropertiesUniqueNumericIdGen());
|
|
12470
|
-
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
-
|
|
12480
|
-
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
|
|
12484
|
-
|
|
12485
|
-
|
|
12486
|
-
|
|
12487
|
-
|
|
12488
|
-
|
|
12489
|
-
|
|
12682
|
+
const attributes = {
|
|
12683
|
+
id: {
|
|
12684
|
+
key: "id",
|
|
12685
|
+
value: this.docPropertiesUniqueNumericId()
|
|
12686
|
+
},
|
|
12687
|
+
name: {
|
|
12688
|
+
key: "name",
|
|
12689
|
+
value: name
|
|
12690
|
+
}
|
|
12691
|
+
};
|
|
12692
|
+
if (description !== null && description !== void 0) {
|
|
12693
|
+
attributes.description = {
|
|
12694
|
+
key: "descr",
|
|
12695
|
+
value: description
|
|
12696
|
+
};
|
|
12697
|
+
}
|
|
12698
|
+
if (title !== null && title !== void 0) {
|
|
12699
|
+
attributes.title = {
|
|
12700
|
+
key: "title",
|
|
12701
|
+
value: title
|
|
12702
|
+
};
|
|
12703
|
+
}
|
|
12704
|
+
this.root.push(new NextAttributeComponent(attributes));
|
|
12490
12705
|
}
|
|
12491
12706
|
prepForXml(context) {
|
|
12492
12707
|
for (let i = context.stack.length - 1; i >= 0; i--) {
|
|
@@ -13373,11 +13588,15 @@ class PageReference extends Run {
|
|
|
13373
13588
|
});
|
|
13374
13589
|
}
|
|
13375
13590
|
}
|
|
13376
|
-
const
|
|
13377
|
-
|
|
13591
|
+
const VerticalAlignTable = {
|
|
13592
|
+
TOP: "top",
|
|
13378
13593
|
CENTER: "center",
|
|
13379
|
-
|
|
13594
|
+
BOTTOM: "bottom"
|
|
13380
13595
|
};
|
|
13596
|
+
const VerticalAlignSection = __spreadProps(__spreadValues({}, VerticalAlignTable), {
|
|
13597
|
+
BOTH: "both"
|
|
13598
|
+
});
|
|
13599
|
+
const VerticalAlign2 = VerticalAlignSection;
|
|
13381
13600
|
class VerticalAlignAttributes extends XmlAttributeComponent {
|
|
13382
13601
|
constructor() {
|
|
13383
13602
|
super(...arguments);
|
|
@@ -21559,6 +21778,8 @@ exports.UnderlineType = UnderlineType;
|
|
|
21559
21778
|
exports.VerticalAlign = VerticalAlign2;
|
|
21560
21779
|
exports.VerticalAlignAttributes = VerticalAlignAttributes;
|
|
21561
21780
|
exports.VerticalAlignElement = VerticalAlignElement;
|
|
21781
|
+
exports.VerticalAlignSection = VerticalAlignSection;
|
|
21782
|
+
exports.VerticalAlignTable = VerticalAlignTable;
|
|
21562
21783
|
exports.VerticalMerge = VerticalMerge;
|
|
21563
21784
|
exports.VerticalMergeType = VerticalMergeType;
|
|
21564
21785
|
exports.VerticalPositionAlign = VerticalPositionAlign;
|