pdfmake 0.3.0-beta.4 → 0.3.0-beta.5
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/CHANGELOG.md +4 -0
- package/build/pdfmake.js +103 -111
- package/build/pdfmake.js.map +1 -1
- package/build/pdfmake.min.js +2 -2
- package/build/pdfmake.min.js.map +1 -1
- package/js/OutputDocument.js +11 -11
- package/package.json +1 -1
- package/src/3rd-party/svg-to-pdfkit/LICENSE +9 -9
- package/src/OutputDocument.js +78 -78
package/CHANGELOG.md
CHANGED
package/build/pdfmake.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! pdfmake v0.3.0-beta.
|
|
1
|
+
/*! pdfmake v0.3.0-beta.5, @license MIT, @link http://pdfmake.org */
|
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
4
|
module.exports = factory();
|
|
@@ -2088,7 +2088,7 @@ var web_dom_collections_for_each = __webpack_require__(4747);
|
|
|
2088
2088
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
2089
2089
|
var es_regexp_to_string = __webpack_require__(9714);
|
|
2090
2090
|
// EXTERNAL MODULE: ./node_modules/@foliojs-fork/pdfkit/js/pdfkit.es5.js
|
|
2091
|
-
var pdfkit_es5 = __webpack_require__(
|
|
2091
|
+
var pdfkit_es5 = __webpack_require__(5617);
|
|
2092
2092
|
;// CONCATENATED MODULE: ./src/PDFDocument.js
|
|
2093
2093
|
/* provided dependency */ var Buffer = __webpack_require__(710)["Buffer"];
|
|
2094
2094
|
|
|
@@ -2339,7 +2339,7 @@ var es_symbol_iterator = __webpack_require__(2165);
|
|
|
2339
2339
|
|
|
2340
2340
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
2341
2341
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
2342
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
2342
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
2343
2343
|
|
|
2344
2344
|
function fontStringify(key, val) {
|
|
2345
2345
|
if (key === 'font') {
|
|
@@ -3747,9 +3747,7 @@ var encode = function encode(ver, mode, data, maxbuflen) {
|
|
|
3747
3747
|
var pack = function pack(x, n) {
|
|
3748
3748
|
if (n >= remaining) {
|
|
3749
3749
|
buf.push(bits | x >> (n -= remaining));
|
|
3750
|
-
while (n >= 8)
|
|
3751
|
-
buf.push(x >> (n -= 8) & 255);
|
|
3752
|
-
}
|
|
3750
|
+
while (n >= 8) buf.push(x >> (n -= 8) & 255);
|
|
3753
3751
|
bits = 0;
|
|
3754
3752
|
remaining = 8;
|
|
3755
3753
|
}
|
|
@@ -3789,9 +3787,7 @@ var encode = function encode(ver, mode, data, maxbuflen) {
|
|
|
3789
3787
|
|
|
3790
3788
|
// the padding to fill up the remaining space. we should not add any
|
|
3791
3789
|
// words when the overflow already occurred.
|
|
3792
|
-
while (buf.length + 1 < maxbuflen)
|
|
3793
|
-
buf.push(0xec, 0x11);
|
|
3794
|
-
}
|
|
3790
|
+
while (buf.length + 1 < maxbuflen) buf.push(0xec, 0x11);
|
|
3795
3791
|
if (buf.length < maxbuflen) buf.push(0xec);
|
|
3796
3792
|
return buf;
|
|
3797
3793
|
};
|
|
@@ -3807,9 +3803,7 @@ var calculateecc = function calculateecc(poly, genpoly) {
|
|
|
3807
3803
|
var modulus = poly.slice(0);
|
|
3808
3804
|
var polylen = poly.length,
|
|
3809
3805
|
genpolylen = genpoly.length;
|
|
3810
|
-
for (var i = 0; i < genpolylen; ++i)
|
|
3811
|
-
modulus.push(0);
|
|
3812
|
-
}
|
|
3806
|
+
for (var i = 0; i < genpolylen; ++i) modulus.push(0);
|
|
3813
3807
|
for (var i = 0; i < polylen;) {
|
|
3814
3808
|
var quotient = GF256_INVMAP[modulus[i++]];
|
|
3815
3809
|
if (quotient >= 0) {
|
|
@@ -4048,13 +4042,9 @@ var evaluatematrix = function evaluatematrix(matrix) {
|
|
|
4048
4042
|
groups = [0]; // the first empty group of white
|
|
4049
4043
|
for (var j = 0; j < n;) {
|
|
4050
4044
|
var k;
|
|
4051
|
-
for (k = 0; j < n && row[j]; ++k)
|
|
4052
|
-
++j;
|
|
4053
|
-
}
|
|
4045
|
+
for (k = 0; j < n && row[j]; ++k) ++j;
|
|
4054
4046
|
groups.push(k);
|
|
4055
|
-
for (k = 0; j < n && !row[j]; ++k)
|
|
4056
|
-
++j;
|
|
4057
|
-
}
|
|
4047
|
+
for (k = 0; j < n && !row[j]; ++k) ++j;
|
|
4058
4048
|
groups.push(k);
|
|
4059
4049
|
}
|
|
4060
4050
|
score += evaluategroup(groups);
|
|
@@ -4063,13 +4053,9 @@ var evaluatematrix = function evaluatematrix(matrix) {
|
|
|
4063
4053
|
groups = [0];
|
|
4064
4054
|
for (var j = 0; j < n;) {
|
|
4065
4055
|
var k;
|
|
4066
|
-
for (k = 0; j < n && matrix[j][i]; ++k)
|
|
4067
|
-
++j;
|
|
4068
|
-
}
|
|
4056
|
+
for (k = 0; j < n && matrix[j][i]; ++k) ++j;
|
|
4069
4057
|
groups.push(k);
|
|
4070
|
-
for (k = 0; j < n && !matrix[j][i]; ++k)
|
|
4071
|
-
++j;
|
|
4072
|
-
}
|
|
4058
|
+
for (k = 0; j < n && !matrix[j][i]; ++k) ++j;
|
|
4073
4059
|
groups.push(k);
|
|
4074
4060
|
}
|
|
4075
4061
|
score += evaluategroup(groups);
|
|
@@ -8108,25 +8094,25 @@ var web_url_search_params = __webpack_require__(1637);
|
|
|
8108
8094
|
|
|
8109
8095
|
|
|
8110
8096
|
var OutputDocument = /*#__PURE__*/function () {
|
|
8111
|
-
/**
|
|
8112
|
-
* @param {Promise<object>} pdfDocumentPromise
|
|
8097
|
+
/**
|
|
8098
|
+
* @param {Promise<object>} pdfDocumentPromise
|
|
8113
8099
|
*/
|
|
8114
8100
|
function OutputDocument(pdfDocumentPromise) {
|
|
8115
|
-
this.bufferSize =
|
|
8101
|
+
this.bufferSize = 1073741824;
|
|
8116
8102
|
this.pdfDocumentPromise = pdfDocumentPromise;
|
|
8117
8103
|
this.bufferPromise = null;
|
|
8118
8104
|
}
|
|
8119
8105
|
|
|
8120
|
-
/**
|
|
8121
|
-
* @returns {Promise<object>}
|
|
8106
|
+
/**
|
|
8107
|
+
* @returns {Promise<object>}
|
|
8122
8108
|
*/
|
|
8123
8109
|
var _proto = OutputDocument.prototype;
|
|
8124
8110
|
_proto.getStream = function getStream() {
|
|
8125
8111
|
return this.pdfDocumentPromise;
|
|
8126
8112
|
}
|
|
8127
8113
|
|
|
8128
|
-
/**
|
|
8129
|
-
* @returns {Promise<Buffer>}
|
|
8114
|
+
/**
|
|
8115
|
+
* @returns {Promise<Buffer>}
|
|
8130
8116
|
*/;
|
|
8131
8117
|
_proto.getBuffer = function getBuffer() {
|
|
8132
8118
|
var _this = this;
|
|
@@ -8154,8 +8140,8 @@ var OutputDocument = /*#__PURE__*/function () {
|
|
|
8154
8140
|
return this.bufferPromise;
|
|
8155
8141
|
}
|
|
8156
8142
|
|
|
8157
|
-
/**
|
|
8158
|
-
* @returns {Promise<string>}
|
|
8143
|
+
/**
|
|
8144
|
+
* @returns {Promise<string>}
|
|
8159
8145
|
*/;
|
|
8160
8146
|
_proto.getBase64 = function getBase64() {
|
|
8161
8147
|
var _this2 = this;
|
|
@@ -8168,8 +8154,8 @@ var OutputDocument = /*#__PURE__*/function () {
|
|
|
8168
8154
|
});
|
|
8169
8155
|
}
|
|
8170
8156
|
|
|
8171
|
-
/**
|
|
8172
|
-
* @returns {Promise<string>}
|
|
8157
|
+
/**
|
|
8158
|
+
* @returns {Promise<string>}
|
|
8173
8159
|
*/;
|
|
8174
8160
|
_proto.getDataUrl = function getDataUrl() {
|
|
8175
8161
|
var _this3 = this;
|
|
@@ -8185,7 +8171,7 @@ var OutputDocument = /*#__PURE__*/function () {
|
|
|
8185
8171
|
}();
|
|
8186
8172
|
/* harmony default export */ var src_OutputDocument = (OutputDocument);
|
|
8187
8173
|
// EXTERNAL MODULE: ./node_modules/file-saver/dist/FileSaver.min.js
|
|
8188
|
-
var FileSaver_min = __webpack_require__(
|
|
8174
|
+
var FileSaver_min = __webpack_require__(2734);
|
|
8189
8175
|
;// CONCATENATED MODULE: ./src/browser-extensions/OutputDocumentBrowser.js
|
|
8190
8176
|
|
|
8191
8177
|
|
|
@@ -8774,7 +8760,7 @@ __webpack_require__(6992);
|
|
|
8774
8760
|
__webpack_require__(3948);
|
|
8775
8761
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
8776
8762
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
8777
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
8763
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8778
8764
|
var _require = __webpack_require__(2245),
|
|
8779
8765
|
NumberT = _require.Number;
|
|
8780
8766
|
var utils = __webpack_require__(4810);
|
|
@@ -15721,10 +15707,8 @@ if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
|
|
|
15721
15707
|
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
15722
15708
|
}
|
|
15723
15709
|
});
|
|
15724
|
-
for (NAME in TypedArrayConstructorsList) {
|
|
15725
|
-
|
|
15726
|
-
createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);
|
|
15727
|
-
}
|
|
15710
|
+
for (NAME in TypedArrayConstructorsList) if (global[NAME]) {
|
|
15711
|
+
createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);
|
|
15728
15712
|
}
|
|
15729
15713
|
}
|
|
15730
15714
|
module.exports = {
|
|
@@ -15833,9 +15817,7 @@ var set = function set(view, count, index, conversion, value, isLittleEndian) {
|
|
|
15833
15817
|
var bytes = getInternalState(store.buffer).bytes;
|
|
15834
15818
|
var start = intIndex + store.byteOffset;
|
|
15835
15819
|
var pack = conversion(+value);
|
|
15836
|
-
for (var i = 0; i < count; i++)
|
|
15837
|
-
bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];
|
|
15838
|
-
}
|
|
15820
|
+
for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];
|
|
15839
15821
|
};
|
|
15840
15822
|
if (!NATIVE_ARRAY_BUFFER) {
|
|
15841
15823
|
$ArrayBuffer = function ArrayBuffer(length) {
|
|
@@ -22403,8 +22385,8 @@ __webpack_require__(1817);
|
|
|
22403
22385
|
__webpack_require__(7042);
|
|
22404
22386
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
22405
22387
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
22406
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
22407
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
22388
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
22389
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
22408
22390
|
var INITIAL_STATE = 1;
|
|
22409
22391
|
var FAIL_STATE = 0;
|
|
22410
22392
|
/**
|
|
@@ -22428,66 +22410,64 @@ var StateMachine = /*#__PURE__*/function () {
|
|
|
22428
22410
|
return _ref = {}, _ref[Symbol.iterator] = /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
22429
22411
|
var state, startRun, lastAccepting, lastState, p, c;
|
|
22430
22412
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
22431
|
-
while (1) {
|
|
22432
|
-
|
|
22433
|
-
|
|
22434
|
-
|
|
22435
|
-
|
|
22436
|
-
|
|
22437
|
-
|
|
22438
|
-
|
|
22439
|
-
|
|
22440
|
-
|
|
22441
|
-
|
|
22442
|
-
|
|
22443
|
-
|
|
22444
|
-
|
|
22445
|
-
|
|
22446
|
-
|
|
22447
|
-
|
|
22448
|
-
|
|
22449
|
-
|
|
22450
|
-
|
|
22451
|
-
if (!(startRun != null && lastAccepting != null && lastAccepting >= startRun)) {
|
|
22452
|
-
_context.next = 13;
|
|
22453
|
-
break;
|
|
22454
|
-
}
|
|
22413
|
+
while (1) switch (_context.prev = _context.next) {
|
|
22414
|
+
case 0:
|
|
22415
|
+
state = INITIAL_STATE;
|
|
22416
|
+
startRun = null;
|
|
22417
|
+
lastAccepting = null;
|
|
22418
|
+
lastState = null;
|
|
22419
|
+
p = 0;
|
|
22420
|
+
case 5:
|
|
22421
|
+
if (!(p < str.length)) {
|
|
22422
|
+
_context.next = 21;
|
|
22423
|
+
break;
|
|
22424
|
+
}
|
|
22425
|
+
c = str[p];
|
|
22426
|
+
lastState = state;
|
|
22427
|
+
state = self.stateTable[state][c];
|
|
22428
|
+
if (!(state === FAIL_STATE)) {
|
|
22429
|
+
_context.next = 15;
|
|
22430
|
+
break;
|
|
22431
|
+
}
|
|
22432
|
+
if (!(startRun != null && lastAccepting != null && lastAccepting >= startRun)) {
|
|
22455
22433
|
_context.next = 13;
|
|
22456
|
-
|
|
22457
|
-
|
|
22458
|
-
|
|
22434
|
+
break;
|
|
22435
|
+
}
|
|
22436
|
+
_context.next = 13;
|
|
22437
|
+
return [startRun, lastAccepting, self.tags[lastState]];
|
|
22438
|
+
case 13:
|
|
22439
|
+
// reset the state as if we started over from the initial state
|
|
22459
22440
|
|
|
22460
|
-
|
|
22461
|
-
|
|
22462
|
-
|
|
22463
|
-
|
|
22441
|
+
state = self.stateTable[INITIAL_STATE][c];
|
|
22442
|
+
startRun = null;
|
|
22443
|
+
case 15:
|
|
22444
|
+
// start a run if not in the failure state
|
|
22464
22445
|
|
|
22465
|
-
|
|
22466
|
-
|
|
22467
|
-
|
|
22446
|
+
if (state !== FAIL_STATE && startRun == null) {
|
|
22447
|
+
startRun = p;
|
|
22448
|
+
} // if accepting, mark the potential match end
|
|
22468
22449
|
|
|
22469
|
-
|
|
22470
|
-
|
|
22471
|
-
|
|
22450
|
+
if (self.accepting[state]) {
|
|
22451
|
+
lastAccepting = p;
|
|
22452
|
+
} // reset the state to the initial state if we get into the failure state
|
|
22472
22453
|
|
|
22473
|
-
|
|
22474
|
-
|
|
22475
|
-
|
|
22476
|
-
|
|
22477
|
-
|
|
22478
|
-
|
|
22479
|
-
|
|
22480
|
-
|
|
22481
|
-
|
|
22482
|
-
_context.next = 24;
|
|
22483
|
-
break;
|
|
22484
|
-
}
|
|
22454
|
+
if (state === FAIL_STATE) {
|
|
22455
|
+
state = INITIAL_STATE;
|
|
22456
|
+
}
|
|
22457
|
+
case 18:
|
|
22458
|
+
p++;
|
|
22459
|
+
_context.next = 5;
|
|
22460
|
+
break;
|
|
22461
|
+
case 21:
|
|
22462
|
+
if (!(startRun != null && lastAccepting != null && lastAccepting >= startRun)) {
|
|
22485
22463
|
_context.next = 24;
|
|
22486
|
-
|
|
22487
|
-
|
|
22488
|
-
|
|
22489
|
-
|
|
22490
|
-
|
|
22464
|
+
break;
|
|
22465
|
+
}
|
|
22466
|
+
_context.next = 24;
|
|
22467
|
+
return [startRun, lastAccepting, self.tags[state]];
|
|
22468
|
+
case 24:
|
|
22469
|
+
case "end":
|
|
22470
|
+
return _context.stop();
|
|
22491
22471
|
}
|
|
22492
22472
|
}, _callee);
|
|
22493
22473
|
}), _ref;
|
|
@@ -22782,9 +22762,7 @@ module.exports = /*#__PURE__*/function () {
|
|
|
22782
22762
|
var pixelsPos = ((y0 + row * dy) * width + x0) * pixelBytes;
|
|
22783
22763
|
var bufferPos = row * scanlineLength;
|
|
22784
22764
|
for (i = 0; i < w; i++) {
|
|
22785
|
-
for (var j = 0; j < pixelBytes; j++)
|
|
22786
|
-
pixels[pixelsPos++] = buffer[bufferPos++];
|
|
22787
|
-
}
|
|
22765
|
+
for (var j = 0; j < pixelBytes; j++) pixels[pixelsPos++] = buffer[bufferPos++];
|
|
22788
22766
|
pixelsPos += (dx - 1) * pixelBytes;
|
|
22789
22767
|
}
|
|
22790
22768
|
}
|
|
@@ -23227,7 +23205,7 @@ function () {
|
|
|
23227
23205
|
|
|
23228
23206
|
/***/ }),
|
|
23229
23207
|
|
|
23230
|
-
/***/
|
|
23208
|
+
/***/ 5617:
|
|
23231
23209
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
23232
23210
|
|
|
23233
23211
|
"use strict";
|
|
@@ -23484,9 +23462,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
23484
23462
|
}
|
|
23485
23463
|
function _arrayLikeToArray(arr, len) {
|
|
23486
23464
|
if (len == null || len > arr.length) len = arr.length;
|
|
23487
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
23488
|
-
arr2[i] = arr[i];
|
|
23489
|
-
}
|
|
23465
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
23490
23466
|
return arr2;
|
|
23491
23467
|
}
|
|
23492
23468
|
function _nonIterableSpread() {
|
|
@@ -43625,8 +43601,14 @@ var hasPropertyDescriptors = __webpack_require__(1044)();
|
|
|
43625
43601
|
var supportsDescriptors = origDefineProperty && hasPropertyDescriptors;
|
|
43626
43602
|
|
|
43627
43603
|
var defineProperty = function (object, name, value, predicate) {
|
|
43628
|
-
if (name in object
|
|
43629
|
-
|
|
43604
|
+
if (name in object) {
|
|
43605
|
+
if (predicate === true) {
|
|
43606
|
+
if (object[name] === value) {
|
|
43607
|
+
return;
|
|
43608
|
+
}
|
|
43609
|
+
} else if (!isFunction(predicate) || !predicate()) {
|
|
43610
|
+
return;
|
|
43611
|
+
}
|
|
43630
43612
|
}
|
|
43631
43613
|
if (supportsDescriptors) {
|
|
43632
43614
|
origDefineProperty(object, name, {
|
|
@@ -44519,6 +44501,8 @@ var INTRINSICS = {
|
|
|
44519
44501
|
'%AsyncIteratorPrototype%': needsEval,
|
|
44520
44502
|
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
44521
44503
|
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
44504
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
|
|
44505
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
|
|
44522
44506
|
'%Boolean%': Boolean,
|
|
44523
44507
|
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
44524
44508
|
'%Date%': Date,
|
|
@@ -44574,6 +44558,14 @@ var INTRINSICS = {
|
|
|
44574
44558
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
44575
44559
|
};
|
|
44576
44560
|
|
|
44561
|
+
try {
|
|
44562
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
44563
|
+
} catch (e) {
|
|
44564
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
44565
|
+
var errorProto = getProto(getProto(e));
|
|
44566
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
44567
|
+
}
|
|
44568
|
+
|
|
44577
44569
|
var doEval = function doEval(name) {
|
|
44578
44570
|
var value;
|
|
44579
44571
|
if (name === '%AsyncFunction%') {
|
|
@@ -59578,7 +59570,7 @@ module.exports = __webpack_require__(7187).EventEmitter;
|
|
|
59578
59570
|
|
|
59579
59571
|
/***/ }),
|
|
59580
59572
|
|
|
59581
|
-
/***/
|
|
59573
|
+
/***/ 2734:
|
|
59582
59574
|
/***/ (function(module, exports, __webpack_require__) {
|
|
59583
59575
|
|
|
59584
59576
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function(a,b){if(true)!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (b),
|
|
@@ -60351,7 +60343,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|
|
60351
60343
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
60352
60344
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
60353
60345
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
60354
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
60346
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
60355
60347
|
function _interopDefault(ex) {
|
|
60356
60348
|
return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex;
|
|
60357
60349
|
}
|