From d351b181b8fed9ff0d69ab952d0d2e46070fc4ec Mon Sep 17 00:00:00 2001 From: beajer <919060679@qq.com> Date: Sun, 10 Jan 2021 23:31:15 -0600 Subject: [PATCH] Fix/browser test case (#920) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: mege develop (#917) * feat: support non-english http header (#842) * feat: support non-english http header * test: Add test cases for non-English request header information * feat: add headerEncoding option * feat: add encoder types * fix: remove object spread syntax Co-authored-by: biejia * fix(browser): checkpoint.file (#795) * merge branch master into develop * feat: inventory (#860) * feat: worm (#857) * feat: auto set stsConfig when sts expires (#856) * feat: auto set stsConfig when sts expires * test: add auto set sts test case * fix: host err which old image client request (#869) * fix: use put insteadof putStream when calling multipartUpload to process small file in browser (#890) * fix(browser):setTimeout has minimum time interval when tab is inactive (#887) * fix: replace process for browser * fix: use browserify options to replace process.js (#886) Co-authored-by: beajer <919060679@qq.com> * fix: merge conflict #726 (#892) * fix: merge conflict * test: ResponseTimeoutError * fix: cannot use ali-oss in webworker (#823) * feat: retry when net err or timeout (#876) * feat: retry when net err or timeout * test: should not retry when params.stream is not readable * test: retry in browser Co-authored-by: beajer <919060679@qq.com> * fix: getBucketVersions should use NextKeyMarker property (#896) * fix: getBucketVersions should use NextKeyMarker property * docs: getBucketVersions should use NextKeyMarker property * docs: Compatible wrong property * Fix multipart upload (#895) * fix: multipartUpload zancun * fix: test case * test: multipartUploadStreams * test: cov * fix: error method * fix: test and destory(err) when cancel Co-authored-by: weiyie <912881342@qq.com> * feat: listObjectsV2 (#888) * feat: listObjectsV2 * style: trailingComma none * fix: check region and endpoint for ssrf (#874) * fix: check region and endpoint for ssrf * fix: retry in browser Co-authored-by: beajer <919060679@qq.com> * use shime/url replace node-url to fix split regex bug * fix: browser test and listV2 docs (#901) * chore(release): 6.12.0 * chore: build 6.12.0 * fix: the continuation-token params in listV2 (#906) * fix: the continuation-token params in listV2 * docs: update headers.Expires * docs: revise `start-after` in listV2 (#907) * fix: should use encodeURIComponent insteadof encodeURI in copy api (#914) * fix: use lowercase header when calculating signatures (#910) * fix: use lowercase header when calculating signatures * fix: should throw error when neither bucket nor cname; docs; * fix(node): deepCopy not working for large Buffers (#909) deepCopy does not work when copying an object with a large Buffer (see test case). This causes issues when using multipartUpload with the `checkpoint` option: e.g. ```js const file = Buffer.alloc(Math.pow(2, 30) - 1); // throws RangeError in utils/deepCopy multipartUpload("name", file, {checkpoint: {file, ...}}); ``` * feat: prevent caching for the get api (#916) * feat: prevent caching for the get api * fix: support responseCacheControl for browser `get` * fix: unnecessary query parameters * fix: test case because Image Process updated compression algorithm * fix: test case of buffer replication in Nodejs8 * fix: remove test.only * fix: do not copy buffer in completeMultipartUpload (#915) * fix: do not copy buffer in completeMultipartUpload * fix: test case because Image Process updated compression algorithm * fix: test case of buffer replication in Nodejs8 * fix: remove test.only * fix: codecov * fix: merge conflict from master Co-authored-by: beajer <919060679@qq.com> Co-authored-by: biejia Co-authored-by: 冷若霜寒 <912881342@qq.com> Co-authored-by: Alois Klink * chrome: build * fix: responseCacheControl in Node.js (#919) * fix: responseCacheControl in Node.js * fix: code specification * chore(release): 6.13.1 * fix: failed browser test case Co-authored-by: 饶培泽 Co-authored-by: biejia Co-authored-by: 冷若霜寒 <912881342@qq.com> Co-authored-by: Alois Klink --- CHANGELOG.md | 7 + bower.json | 2 +- dist/aliyun-oss-sdk.js | 750 ++++++++++++++++++++--------------- dist/aliyun-oss-sdk.min.js | 36 +- lib/browser/object.js | 61 --- lib/browser/version.js | 2 +- lib/common/object/get.js | 6 +- lib/common/utils/deepCopy.js | 2 +- lib/common/utils/deepCopy.ts | 2 +- package.json | 2 +- test/browser/browser.test.js | 43 +- test/node/object.test.js | 1 + 12 files changed, 495 insertions(+), 419 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad8e2f46f..0d58b9698 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [6.13.1](https://github.com/aliyun/oss-nodejs-sdk/compare/v6.13.0...v6.13.1) (2021-01-07) + + +### Bug Fixes + +* responseCacheControl in Node.js ([#919](https://github.com/aliyun/oss-nodejs-sdk/issues/919)) ([7ca7055](https://github.com/aliyun/oss-nodejs-sdk/commit/7ca7055a667604f3f653621b9f2974e28e9d2190)) + ## [6.13.0](https://github.com/aliyun/oss-nodejs-sdk/compare/v6.12.0...v6.13.0) (2021-01-06) diff --git a/bower.json b/bower.json index 264d22b5d..42783e4b7 100644 --- a/bower.json +++ b/bower.json @@ -8,5 +8,5 @@ "package.json" ], "main": "dist/aliyun-oss-sdk.js", - "version": "6.13.0" + "version": "6.13.1" } diff --git a/dist/aliyun-oss-sdk.js b/dist/aliyun-oss-sdk.js index 830661687..cd83dbc40 100644 --- a/dist/aliyun-oss-sdk.js +++ b/dist/aliyun-oss-sdk.js @@ -1,4 +1,4 @@ -// Aliyun OSS SDK for JavaScript v6.12.0 +// Aliyun OSS SDK for JavaScript v6.13.0 // Copyright Aliyun.com, Inc. or its affiliates. All Rights Reserved. // License at https://github.com/ali-sdk/ali-oss/blob/master/LICENSE (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.OSS = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i 1 && _args6[1] !== undefined ? _args6[1] : {}; + continuation_token = query['continuation-token'] || query.continuationToken; + delete query['continuation-token']; + delete query.continuationToken; + + if (continuation_token) { + options.subres = Object.assign({ + 'continuation-token': continuation_token + }, options.subres); + } + params = this._objectRequestParams('GET', '', options); - params.query = _objectSpread({ + params.query = Object.assign({ 'list-type': 2 }, query); params.xmlResponse = true; params.successStatuses = [200]; - _context6.next = 6; + _context6.next = 11; return this.request(params); - case 6: + case 11: result = _context6.sent; objects = result.data.Contents; that = this; @@ -1840,12 +1846,12 @@ proto.listV2 = /*#__PURE__*/function () { objects: objects, prefixes: prefixes, isTruncated: result.data.IsTruncated === 'true', - keyCount: result.data.KeyCount, + keyCount: +result.data.KeyCount, continuationToken: result.data.ContinuationToken || null, nextContinuationToken: result.data.NextContinuationToken || null }); - case 13: + case 18: case "end": return _context6.stop(); } @@ -1853,7 +1859,7 @@ proto.listV2 = /*#__PURE__*/function () { }, _callee6, this); })); - function listV2(_x15, _x16) { + function listV2(_x15) { return _listV.apply(this, arguments); } @@ -1902,7 +1908,7 @@ proto.restore = /*#__PURE__*/function () { }, _callee7, this); })); - function restore(_x17, _x18) { + function restore(_x16, _x17) { return _restore.apply(this, arguments); } @@ -1924,7 +1930,7 @@ proto._objectUrl = function _objectUrl(name) { proto._objectRequestParams = function _objectRequestParams(method, name, options) { - if (!this.options.bucket) { + if (!this.options.bucket && !this.options.cname) { throw new Error('Please create a bucket first'); } @@ -1980,11 +1986,115 @@ proto._deleteFileSafe = function _deleteFileSafe(filepath) { }); }); }; +/** + * get + * @param {String} name - object name + * @param {String | Stream} file + * @param {Object} options + * @param {{res}} + */ -},{"../common/callback":23,"../common/image":26,"../common/object/copyObject":29,"../common/object/delete":30,"../common/object/deleteMulti":31,"../common/object/deleteObjectTagging":32,"../common/object/generateObjectUrl":33,"../common/object/get":34,"../common/object/getACL":35,"../common/object/getBucketVersions":36,"../common/object/getObjectMeta":37,"../common/object/getObjectTagging":38,"../common/object/getObjectUrl":39,"../common/object/getSymlink":40,"../common/object/head":41,"../common/object/putACL":42,"../common/object/putObjectTagging":43,"../common/object/putSymlink":44,"../common/object/signatureUrl":45,"../common/utils/isBlob":60,"../common/utils/isBuffer":61,"../common/utils/isFile":62,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/defineProperty":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"copy-to":101,"core-js/modules/es.array.filter":236,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.map":245,"core-js/modules/es.function.name":249,"core-js/modules/es.number.constructor":250,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.get-own-property-descriptor":253,"core-js/modules/es.object.get-own-property-descriptors":254,"core-js/modules/es.object.keys":255,"core-js/modules/es.object.to-string":256,"core-js/modules/es.promise":257,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.regexp.to-string":259,"core-js/modules/es.string.replace":263,"core-js/modules/es.symbol":269,"core-js/modules/web.dom-collections.for-each":294,"fs":78,"merge-descriptors":313,"mime":315,"path":318,"regenerator-runtime/runtime":339}],5:[function(require,module,exports){ + +proto.get = /*#__PURE__*/function () { + var _get = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(name, file) { + var options, + writeStream, + needDestroy, + responseCacheControl, + result, + params, + _args8 = arguments; + return _regenerator.default.wrap(function _callee8$(_context8) { + while (1) { + switch (_context8.prev = _context8.next) { + case 0: + options = _args8.length > 2 && _args8[2] !== undefined ? _args8[2] : {}; + writeStream = null; + needDestroy = false; + + if (is.writableStream(file)) { + writeStream = file; + } else if (is.string(file)) { + writeStream = fs.createWriteStream(file); + needDestroy = true; + } else { + // get(name, options) + options = file; + } + + options = options || {}; + responseCacheControl = options.responseCacheControl === null ? '' : 'no-cache'; + options.subres = Object.assign(responseCacheControl ? { + 'response-cache-control': responseCacheControl + } : {}, options.subres); + + if (options.versionId) { + options.subres.versionId = options.versionId; + } + + if (options.process) { + options.subres['x-oss-process'] = options.process; + } + + _context8.prev = 9; + params = this._objectRequestParams('GET', name, options); + params.writeStream = writeStream; + params.successStatuses = [200, 206, 304]; + _context8.next = 15; + return this.request(params); + + case 15: + result = _context8.sent; + + if (needDestroy) { + writeStream.destroy(); + } + + _context8.next = 26; + break; + + case 19: + _context8.prev = 19; + _context8.t0 = _context8["catch"](9); + + if (!needDestroy) { + _context8.next = 25; + break; + } + + writeStream.destroy(); // should delete the exists file before throw error + + _context8.next = 25; + return this._deleteFileSafe(file); + + case 25: + throw _context8.t0; + + case 26: + return _context8.abrupt("return", { + res: result.res, + content: result.data + }); + + case 27: + case "end": + return _context8.stop(); + } + } + }, _callee8, this, [[9, 19]]); + })); + + function get(_x18, _x19) { + return _get.apply(this, arguments); + } + + return get; +}(); + +},{"../common/callback":23,"../common/image":26,"../common/object/copyObject":29,"../common/object/delete":30,"../common/object/deleteMulti":31,"../common/object/deleteObjectTagging":32,"../common/object/generateObjectUrl":33,"../common/object/get":34,"../common/object/getACL":35,"../common/object/getBucketVersions":36,"../common/object/getObjectMeta":37,"../common/object/getObjectTagging":38,"../common/object/getObjectUrl":39,"../common/object/getSymlink":40,"../common/object/head":41,"../common/object/putACL":42,"../common/object/putObjectTagging":43,"../common/object/putSymlink":44,"../common/object/signatureUrl":45,"../common/utils/isBlob":60,"../common/utils/isBuffer":61,"../common/utils/isFile":62,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"copy-to":101,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.map":245,"core-js/modules/es.function.name":249,"core-js/modules/es.number.constructor":250,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":253,"core-js/modules/es.object.to-string":254,"core-js/modules/es.promise":255,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.regexp.to-string":257,"core-js/modules/es.string.replace":261,"core-js/modules/web.dom-collections.for-each":292,"fs":78,"is-type-of":392,"merge-descriptors":311,"mime":313,"path":316,"regenerator-runtime/runtime":337}],5:[function(require,module,exports){ "use strict"; -exports.version = "6.12.0"; +exports.version = "6.13.0"; },{}],6:[function(require,module,exports){ "use strict"; @@ -2039,7 +2149,7 @@ function _abortBucketWorm() { exports.abortBucketWorm = abortBucketWorm; -},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],7:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],7:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2094,7 +2204,7 @@ function _completeBucketWorm() { exports.completeBucketWorm = completeBucketWorm; -},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],8:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],8:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2166,7 +2276,7 @@ function _deleteBucketInventory() { exports.deleteBucketInventory = deleteBucketInventory; -},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],9:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],9:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2217,7 +2327,7 @@ proto.deleteBucketLifecycle = /*#__PURE__*/function () { return deleteBucketLifecycle; }(); -},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],10:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],10:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2268,7 +2378,7 @@ proto.deleteBucketWebsite = /*#__PURE__*/function () { return deleteBucketWebsite; }(); -},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],11:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],11:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2336,7 +2446,7 @@ function _extendBucketWorm() { exports.extendBucketWorm = extendBucketWorm; -},{"../utils/checkBucketName":48,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],12:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/obj2xml":66,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],12:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2412,7 +2522,7 @@ function _getBucketInventory() { exports.getBucketInventory = getBucketInventory; -},{"../utils/checkBucketName":48,"../utils/formatInventoryConfig":56,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],13:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/formatInventoryConfig":56,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],13:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2494,7 +2604,7 @@ proto.getBucketLifecycle = /*#__PURE__*/function () { return getBucketLifecycle; }(); -},{"../utils/checkBucketName":48,"../utils/formatObjKey":57,"../utils/isArray":59,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.map":245,"regenerator-runtime/runtime":339}],14:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/formatObjKey":57,"../utils/isArray":59,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.map":245,"regenerator-runtime/runtime":337}],14:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2553,7 +2663,7 @@ proto.getBucketVersioning = /*#__PURE__*/function () { return getBucketVersioning; }(); -},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],15:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],15:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2623,7 +2733,7 @@ proto.getBucketWebsite = /*#__PURE__*/function () { return getBucketWebsite; }(); -},{"../utils/checkBucketName":48,"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],16:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],16:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2688,7 +2798,7 @@ function _getBucketWorm() { exports.getBucketWorm = getBucketWorm; -},{"../utils/checkBucketName":48,"../utils/dataFix":53,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],17:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/dataFix":53,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],17:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2754,7 +2864,7 @@ function _initiateBucketWorm() { exports.initiateBucketWorm = initiateBucketWorm; -},{"../utils/checkBucketName":48,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],18:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/obj2xml":66,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],18:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2839,7 +2949,7 @@ function _listBucketInventory() { exports.listBucketInventory = listBucketInventory; -},{"../utils/checkBucketName":48,"../utils/formatInventoryConfig":56,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],19:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/formatInventoryConfig":56,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],19:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -2957,7 +3067,7 @@ function _putBucketInventory() { exports.putBucketInventory = putBucketInventory; -},{"../utils/checkBucketName":48,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],20:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/obj2xml":66,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],20:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -3142,7 +3252,7 @@ function checkRule(rule) { } } -},{"../utils/checkBucketName":48,"../utils/checkObjectTag":50,"../utils/deepCopy":54,"../utils/getStrBytesCount":58,"../utils/isArray":59,"../utils/isObject":64,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],21:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/checkObjectTag":50,"../utils/deepCopy":54,"../utils/getStrBytesCount":58,"../utils/isArray":59,"../utils/isObject":64,"../utils/obj2xml":66,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/web.dom-collections.for-each":292,"regenerator-runtime/runtime":337}],21:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -3227,7 +3337,7 @@ proto.putBucketVersioning = /*#__PURE__*/function () { return putBucketVersioning; }(); -},{"../utils/checkBucketName":48,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.includes":240,"regenerator-runtime/runtime":339}],22:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/obj2xml":66,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.includes":240,"regenerator-runtime/runtime":337}],22:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -3339,7 +3449,7 @@ proto.putBucketWebsite = /*#__PURE__*/function () { return putBucketWebsite; }(); -},{"../utils/checkBucketName":48,"../utils/isArray":59,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],23:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/isArray":59,"../utils/obj2xml":66,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":337}],23:[function(require,module,exports){ (function (Buffer){ "use strict"; @@ -3386,7 +3496,7 @@ exports.encodeCallback = function encodeCallback(reqParams, options) { }; }).call(this,require("buffer").Buffer) -},{"buffer":98,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.keys":255,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259,"core-js/modules/web.dom-collections.for-each":294}],24:[function(require,module,exports){ +},{"buffer":98,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.keys":253,"core-js/modules/es.object.to-string":254,"core-js/modules/es.regexp.to-string":257,"core-js/modules/web.dom-collections.for-each":292}],24:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat"); @@ -3472,7 +3582,7 @@ function getReqUrl(params) { exports.getReqUrl = getReqUrl; -},{"../utils/checkConfigValid":49,"../utils/isIP":63,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294,"is-type-of":394,"merge-descriptors":313,"url":396}],25:[function(require,module,exports){ +},{"../utils/checkConfigValid":49,"../utils/isIP":63,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.string.replace":261,"core-js/modules/web.dom-collections.for-each":292,"is-type-of":392,"merge-descriptors":311,"url":394}],25:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat"); @@ -3550,7 +3660,7 @@ module.exports = function (options) { return opts; }; -},{"../utils/checkBucketName":48,"../utils/checkConfigValid":49,"../utils/setRegion":67,"core-js/modules/es.array.concat":234,"core-js/modules/es.object.assign":251,"core-js/modules/es.string.trim":267,"humanize-ms":301,"url":396}],26:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"../utils/checkConfigValid":49,"../utils/setRegion":68,"core-js/modules/es.array.concat":234,"core-js/modules/es.object.assign":251,"core-js/modules/es.string.trim":265,"humanize-ms":299,"url":394}],26:[function(require,module,exports){ "use strict"; var merge = require('merge-descriptors'); @@ -3558,7 +3668,7 @@ var merge = require('merge-descriptors'); var proto = exports; merge(proto, require('./processObjectSave')); -},{"./processObjectSave":27,"merge-descriptors":313}],27:[function(require,module,exports){ +},{"./processObjectSave":27,"merge-descriptors":311}],27:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -3642,7 +3752,7 @@ function checkArgs(name, key) { } } -},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"js-base64":312,"querystring":325,"regenerator-runtime/runtime":339}],28:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"js-base64":310,"querystring":323,"regenerator-runtime/runtime":337}],28:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -3670,7 +3780,10 @@ var copy = require('copy-to'); var callback = require('./callback'); var _require = require('./utils/deepCopy'), - deepCopy = _require.deepCopy; + deepCopyWith = _require.deepCopyWith; + +var _require2 = require('./utils/isBuffer'), + isBuffer = _require2.isBuffer; var proto = exports; /** @@ -3987,7 +4100,9 @@ proto.completeMultipartUpload = /*#__PURE__*/function () { xml += ''; options = options || {}; opt = {}; - opt = deepCopy(options); + opt = deepCopyWith(options, function (_) { + if (isBuffer(_)) return null; + }); if (opt.headers) delete opt.headers['x-oss-server-side-encryption']; opt.subres = { uploadId: uploadId @@ -4102,7 +4217,7 @@ proto._uploadPart = /*#__PURE__*/function () { return _uploadPart; }(); -},{"./callback":23,"./utils/deepCopy":54,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.filter":236,"core-js/modules/es.array.map":245,"core-js/modules/es.array.sort":247,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259,"regenerator-runtime/runtime":339}],29:[function(require,module,exports){ +},{"./callback":23,"./utils/deepCopy":54,"./utils/isBuffer":61,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.filter":236,"core-js/modules/es.array.map":245,"core-js/modules/es.array.sort":247,"core-js/modules/es.object.to-string":254,"core-js/modules/es.regexp.to-string":257,"regenerator-runtime/runtime":337}],29:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -4219,12 +4334,12 @@ proto._getSourceName = function _getSourceName(sourceName, bucketName) { _checkBucketName(bucketName); - sourceName = encodeURI(sourceName); + sourceName = encodeURIComponent(sourceName); sourceName = "/".concat(bucketName, "/").concat(sourceName); return sourceName; }; -},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.find":237,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/es.object.keys":255,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],30:[function(require,module,exports){ +},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.find":237,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/es.object.keys":253,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.string.replace":261,"core-js/modules/web.dom-collections.for-each":292,"regenerator-runtime/runtime":337}],30:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -4288,7 +4403,7 @@ proto.delete = /*#__PURE__*/function () { return _delete; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],31:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],31:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -4411,7 +4526,7 @@ proto.deleteMulti = /*#__PURE__*/function () { return deleteMulti; }(); -},{"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339,"utility":398}],32:[function(require,module,exports){ +},{"../utils/obj2xml":66,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337,"utility":396}],32:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -4478,7 +4593,7 @@ proto.deleteObjectTagging = /*#__PURE__*/function () { return deleteObjectTagging; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],33:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],33:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat"); @@ -4515,7 +4630,7 @@ proto.generateObjectUrl = function generateObjectUrl(name, baseUrl) { return baseUrl + this._escape(this._objectName(name)); }; -},{"../utils/isIP":63,"core-js/modules/es.array.concat":234,"url":396}],34:[function(require,module,exports){ +},{"../utils/isIP":63,"core-js/modules/es.array.concat":234,"url":394}],34:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -4568,7 +4683,9 @@ proto.get = /*#__PURE__*/function () { } options = options || {}; - options.subres = Object.assign({}, options.subres); + options.subres = Object.assign({ + 'response-cache-control': 'no-cache' + }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; @@ -4633,7 +4750,7 @@ proto.get = /*#__PURE__*/function () { return get; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"fs":78,"is-type-of":394,"regenerator-runtime/runtime":339}],35:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"fs":78,"is-type-of":392,"regenerator-runtime/runtime":337}],35:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -4706,7 +4823,7 @@ proto.getACL = /*#__PURE__*/function () { return getACL; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],36:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],36:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -4891,7 +5008,7 @@ function formatQuery() { return obj; } -},{"../utils/isArray":59,"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.map":245,"core-js/modules/es.number.constructor":250,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":255,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],37:[function(require,module,exports){ +},{"../utils/isArray":59,"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.map":245,"core-js/modules/es.number.constructor":250,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":253,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.string.replace":261,"core-js/modules/web.dom-collections.for-each":292,"regenerator-runtime/runtime":337}],37:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -4956,7 +5073,7 @@ proto.getObjectMeta = /*#__PURE__*/function () { return getObjectMeta; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],38:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],38:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -5047,7 +5164,7 @@ proto.getObjectTagging = /*#__PURE__*/function () { return getObjectTagging; }(); -},{"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.assign":251,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],39:[function(require,module,exports){ +},{"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.assign":251,"core-js/modules/web.dom-collections.for-each":292,"regenerator-runtime/runtime":337}],39:[function(require,module,exports){ "use strict"; var _require = require('../utils/isIP'), @@ -5146,7 +5263,7 @@ proto.getSymlink = /*#__PURE__*/function () { return getSymlink; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],41:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],41:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -5235,7 +5352,7 @@ proto.head = /*#__PURE__*/function () { return head; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.index-of":241,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":255,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],42:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.index-of":241,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":253,"core-js/modules/web.dom-collections.for-each":292,"regenerator-runtime/runtime":337}],42:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -5301,7 +5418,7 @@ proto.putACL = /*#__PURE__*/function () { return putACL; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],43:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],43:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -5396,7 +5513,7 @@ proto.putObjectTagging = /*#__PURE__*/function () { return putObjectTagging; }(); -},{"../utils/checkObjectTag":50,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.map":245,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":255,"regenerator-runtime/runtime":339}],44:[function(require,module,exports){ +},{"../utils/checkObjectTag":50,"../utils/obj2xml":66,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.map":245,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":253,"regenerator-runtime/runtime":337}],44:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -5471,7 +5588,7 @@ proto.putSymlink = /*#__PURE__*/function () { return putSymlink; }(); -},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],45:[function(require,module,exports){ +},{"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":337}],45:[function(require,module,exports){ "use strict"; var urlutil = require('url'); @@ -5519,7 +5636,7 @@ proto.signatureUrl = function signatureUrl(name, options) { return url.format(); }; -},{"../../common/signUtils":47,"../utils/isIP":63,"copy-to":101,"url":396,"utility":398}],46:[function(require,module,exports){ +},{"../../common/signUtils":47,"../utils/isIP":63,"copy-to":101,"url":394,"utility":396}],46:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -5794,7 +5911,7 @@ proto._makeAbortEvent = function _makeAbortEvent() { return abortEvent; }; -},{"./utils/isArray":59,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.iterator":242,"core-js/modules/es.function.name":249,"core-js/modules/es.object.to-string":256,"core-js/modules/es.promise":257,"core-js/modules/es.string.iterator":261,"core-js/modules/web.dom-collections.for-each":294,"core-js/modules/web.dom-collections.iterator":295,"regenerator-runtime/runtime":339}],47:[function(require,module,exports){ +},{"./utils/isArray":59,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.iterator":242,"core-js/modules/es.function.name":249,"core-js/modules/es.object.to-string":254,"core-js/modules/es.promise":255,"core-js/modules/es.string.iterator":259,"core-js/modules/web.dom-collections.for-each":292,"core-js/modules/web.dom-collections.iterator":293,"regenerator-runtime/runtime":337}],47:[function(require,module,exports){ (function (Buffer){ "use strict"; @@ -5821,6 +5938,9 @@ require("core-js/modules/web.dom-collections.for-each"); var crypto = require('./../../shims/crypto/crypto.js'); var is = require('is-type-of'); + +var _require = require('./utils/lowercaseKeyHeader'), + lowercaseKeyHeader = _require.lowercaseKeyHeader; /** * * @param {String} resourcePath @@ -5875,11 +5995,11 @@ exports.buildCanonicalizedResource = function buildCanonicalizedResource(resourc exports.buildCanonicalString = function canonicalString(method, resourcePath, request, expires) { request = request || {}; - var headers = request.headers || {}; + var headers = lowercaseKeyHeader(request.headers); var OSS_PREFIX = 'x-oss-'; var ossHeaders = []; var headersToSign = {}; - var signContent = [method.toUpperCase(), headers['Content-Md5'] || '', headers['Content-Type'] || headers['Content-Type'.toLowerCase()], expires || headers['x-oss-date']]; + var signContent = [method.toUpperCase(), headers['content-md5'] || '', headers['content-type'], expires || headers['x-oss-date']]; Object.keys(headers).forEach(function (key) { var lowerKey = key.toLowerCase(); @@ -6003,7 +6123,7 @@ exports._signatureForURL = function _signatureForURL(accessKeySecret) { }; }).call(this,require("buffer").Buffer) -},{"./../../shims/crypto/crypto.js":389,"buffer":98,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.index-of":241,"core-js/modules/es.array.join":243,"core-js/modules/es.array.sort":247,"core-js/modules/es.object.keys":255,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259,"core-js/modules/es.string.trim":267,"core-js/modules/web.dom-collections.for-each":294,"is-type-of":394}],48:[function(require,module,exports){ +},{"./../../shims/crypto/crypto.js":387,"./utils/lowercaseKeyHeader":65,"buffer":98,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.index-of":241,"core-js/modules/es.array.join":243,"core-js/modules/es.array.sort":247,"core-js/modules/es.object.keys":253,"core-js/modules/es.object.to-string":254,"core-js/modules/es.regexp.to-string":257,"core-js/modules/es.string.trim":265,"core-js/modules/web.dom-collections.for-each":292,"is-type-of":392}],48:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -6122,7 +6242,7 @@ function checkObjectTag(tag) { exports.checkObjectTag = checkObjectTag; -},{"./checkValid":51,"./isObject":64,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.entries":252,"core-js/modules/web.dom-collections.for-each":294}],51:[function(require,module,exports){ +},{"./checkValid":51,"./isObject":64,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.entries":252,"core-js/modules/web.dom-collections.for-each":292}],51:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.for-each"); @@ -6146,7 +6266,7 @@ function checkValid(_value, _rules) { exports.checkValid = checkValid; -},{"core-js/modules/es.array.for-each":238,"core-js/modules/web.dom-collections.for-each":294}],52:[function(require,module,exports){ +},{"core-js/modules/es.array.for-each":238,"core-js/modules/web.dom-collections.for-each":292}],52:[function(require,module,exports){ (function (Buffer){ "use strict"; @@ -6239,7 +6359,7 @@ function createRequest(params) { } if (params.content) { - headers['Content-Md5'] = crypto.createHash('md5').update(Buffer.from(params.content, 'utf8')).digest('base64'); + headers['Content-MD5'] = crypto.createHash('md5').update(Buffer.from(params.content, 'utf8')).digest('base64'); if (!headers['Content-Length']) { headers['Content-Length'] = params.content.length; @@ -6300,7 +6420,7 @@ function createRequest(params) { exports.createRequest = createRequest; }).call(this,require("buffer").Buffer) -},{"../client/getReqUrl":24,"./../../../shims/crypto/crypto.js":389,"./encoder":55,"./isIP":63,"./setRegion":67,"buffer":98,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.includes":240,"core-js/modules/es.array.index-of":241,"core-js/modules/es.object.assign":251,"core-js/modules/es.string.includes":260,"dateformat":297,"debug":393,"mime":315,"path":318}],53:[function(require,module,exports){ +},{"../client/getReqUrl":24,"./../../../shims/crypto/crypto.js":387,"./encoder":55,"./isIP":63,"./setRegion":68,"buffer":98,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.includes":240,"core-js/modules/es.array.index-of":241,"core-js/modules/es.object.assign":251,"core-js/modules/es.string.includes":258,"dateformat":295,"debug":391,"mime":313,"path":316}],53:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.for-each"); @@ -6399,13 +6519,15 @@ function fixLowerFirst(o, lowerFirst) { } } -},{"./isObject":64,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/es.object.entries":252,"core-js/modules/es.object.keys":255,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294}],54:[function(require,module,exports){ +},{"./isObject":64,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/es.object.entries":252,"core-js/modules/es.object.keys":253,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.string.replace":261,"core-js/modules/web.dom-collections.for-each":292}],54:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); require("core-js/modules/es.array.for-each"); +require("core-js/modules/es.array.slice"); + require("core-js/modules/es.object.keys"); require("core-js/modules/web.dom-collections.for-each"); @@ -6415,13 +6537,19 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); Object.defineProperty(exports, "__esModule", { value: true }); -exports.deepCopy = void 0; +exports.deepCopyWith = exports.deepCopy = void 0; + +var isBuffer_1 = require("./isBuffer"); exports.deepCopy = function (obj) { if (obj === null || (0, _typeof2.default)(obj) !== 'object') { return obj; } + if (isBuffer_1.isBuffer(obj)) { + return obj.slice(); + } + var copy = Array.isArray(obj) ? [] : {}; Object.keys(obj).forEach(function (key) { copy[key] = exports.deepCopy(obj[key]); @@ -6429,7 +6557,34 @@ exports.deepCopy = function (obj) { return copy; }; -},{"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.keys":255,"core-js/modules/web.dom-collections.for-each":294}],55:[function(require,module,exports){ +exports.deepCopyWith = function (obj, customizer) { + function deepCopyWithHelper(value, innerKey, innerObject) { + var result = customizer(value, innerKey, innerObject); + if (result !== undefined) return result; + + if (value === null || (0, _typeof2.default)(value) !== 'object') { + return value; + } + + if (isBuffer_1.isBuffer(value)) { + return obj.slice(); + } + + var copy = Array.isArray(value) ? [] : {}; + Object.keys(value).forEach(function (k) { + copy[k] = deepCopyWithHelper(value[k], k, value); + }); + return copy; + } + + if (customizer) { + return deepCopyWithHelper(obj, '', null); + } else { + return exports.deepCopy(obj); + } +}; + +},{"./isBuffer":61,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.slice":246,"core-js/modules/es.object.keys":253,"core-js/modules/web.dom-collections.for-each":292}],55:[function(require,module,exports){ (function (Buffer){ "use strict"; @@ -6451,7 +6606,7 @@ function encoder(str) { exports.encoder = encoder; }).call(this,require("buffer").Buffer) -},{"buffer":98,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259}],56:[function(require,module,exports){ +},{"buffer":98,"core-js/modules/es.object.to-string":254,"core-js/modules/es.regexp.to-string":257}],56:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.map"); @@ -6519,7 +6674,7 @@ function formatFn(_) { return _; } -},{"../utils/dataFix":53,"../utils/formatObjKey":57,"../utils/isArray":59,"../utils/isObject":64,"core-js/modules/es.array.map":245,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263}],57:[function(require,module,exports){ +},{"../utils/dataFix":53,"../utils/formatObjKey":57,"../utils/isArray":59,"../utils/isObject":64,"core-js/modules/es.array.map":245,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.string.replace":261}],57:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -6588,7 +6743,7 @@ function handelFormat(key, type, options) { return key; } -},{"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/es.object.keys":255,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.includes":260,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294}],58:[function(require,module,exports){ +},{"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/es.object.keys":253,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.string.includes":258,"core-js/modules/es.string.replace":261,"core-js/modules/web.dom-collections.for-each":292}],58:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -6630,7 +6785,7 @@ exports.isArray = function (obj) { return Object.prototype.toString.call(obj) === '[object Array]'; }; -},{"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259}],60:[function(require,module,exports){ +},{"core-js/modules/es.object.to-string":254,"core-js/modules/es.regexp.to-string":257}],60:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -6660,7 +6815,7 @@ function isBuffer(obj) { exports.isBuffer = isBuffer; }).call(this,{"isBuffer":require("../../../node_modules/is-buffer/index.js")}) -},{"../../../node_modules/is-buffer/index.js":310}],62:[function(require,module,exports){ +},{"../../../node_modules/is-buffer/index.js":308}],62:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -6708,7 +6863,37 @@ exports.isObject = function (obj) { return Object.prototype.toString.call(obj) === '[object Object]'; }; -},{"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259}],65:[function(require,module,exports){ +},{"core-js/modules/es.object.to-string":254,"core-js/modules/es.regexp.to-string":257}],65:[function(require,module,exports){ +"use strict"; + +require("core-js/modules/es.array.for-each"); + +require("core-js/modules/es.object.keys"); + +require("core-js/modules/web.dom-collections.for-each"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.lowercaseKeyHeader = void 0; + +var isObject_1 = require("./isObject"); + +function lowercaseKeyHeader(headers) { + var lowercaseHeader = {}; + + if (isObject_1.isObject(headers)) { + Object.keys(headers).forEach(function (key) { + lowercaseHeader[key.toLowerCase()] = headers[key]; + }); + } + + return lowercaseHeader; +} + +exports.lowercaseKeyHeader = lowercaseKeyHeader; + +},{"./isObject":64,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.keys":253,"core-js/modules/web.dom-collections.for-each":292}],66:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat"); @@ -6779,7 +6964,7 @@ function obj2xml(obj, options) { exports.obj2xml = obj2xml; -},{"./formatObjKey":57,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.join":243,"core-js/modules/es.array.map":245,"core-js/modules/es.object.keys":255,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.regexp.to-string":259,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294}],66:[function(require,module,exports){ +},{"./formatObjKey":57,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.join":243,"core-js/modules/es.array.map":245,"core-js/modules/es.object.keys":253,"core-js/modules/es.object.to-string":254,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.regexp.to-string":257,"core-js/modules/es.string.replace":261,"core-js/modules/web.dom-collections.for-each":292}],67:[function(require,module,exports){ "use strict"; require("core-js/modules/es.object.to-string"); @@ -6829,7 +7014,7 @@ function retry(func, retryMax) { exports.retry = retry; -},{"core-js/modules/es.object.to-string":256,"core-js/modules/es.promise":257}],67:[function(require,module,exports){ +},{"core-js/modules/es.object.to-string":254,"core-js/modules/es.promise":255}],68:[function(require,module,exports){ "use strict"; var __importDefault = void 0 && (void 0).__importDefault || function (mod) { @@ -6864,7 +7049,7 @@ function setRegion(region) { exports.setRegion = setRegion; -},{"./checkConfigValid":49,"url":396}],68:[function(require,module,exports){ +},{"./checkConfigValid":49,"url":394}],69:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -6940,7 +7125,7 @@ function checkCredentials(obj) { }); } -},{"./formatObjKey":57,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.find":237,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":255,"regenerator-runtime/runtime":339}],69:[function(require,module,exports){ +},{"./formatObjKey":57,"@babel/runtime/helpers/asyncToGenerator":70,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.find":237,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":253,"regenerator-runtime/runtime":337}],70:[function(require,module,exports){ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); @@ -6978,23 +7163,6 @@ function _asyncToGenerator(fn) { } module.exports = _asyncToGenerator; -},{}],70:[function(require,module,exports){ -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -module.exports = _defineProperty; },{}],71:[function(require,module,exports){ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { @@ -8671,7 +8839,7 @@ http.METHODS = [ 'UNSUBSCRIBE' ] }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./lib/request":81,"./lib/response":82,"builtin-status-codes":99,"url":396,"xtend":388}],80:[function(require,module,exports){ +},{"./lib/request":81,"./lib/response":82,"builtin-status-codes":99,"url":394,"xtend":386}],80:[function(require,module,exports){ (function (global){ exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream) @@ -9052,7 +9220,7 @@ var unsafeHeaders = [ ] }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) -},{"./capability":80,"./response":82,"_process":395,"buffer":98,"inherits":309,"readable-stream":97}],82:[function(require,module,exports){ +},{"./capability":80,"./response":82,"_process":393,"buffer":98,"inherits":307,"readable-stream":97}],82:[function(require,module,exports){ (function (process,global,Buffer){ var capability = require('./capability') var inherits = require('inherits') @@ -9263,7 +9431,7 @@ IncomingMessage.prototype._onXHRProgress = function () { } }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) -},{"./capability":80,"_process":395,"buffer":98,"inherits":309,"readable-stream":97}],83:[function(require,module,exports){ +},{"./capability":80,"_process":393,"buffer":98,"inherits":307,"readable-stream":97}],83:[function(require,module,exports){ 'use strict'; function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } @@ -9534,7 +9702,7 @@ Object.defineProperty(Duplex.prototype, 'destroyed', { } }); }).call(this,require('_process')) -},{"./_stream_readable":86,"./_stream_writable":88,"_process":395,"inherits":309}],85:[function(require,module,exports){ +},{"./_stream_readable":86,"./_stream_writable":88,"_process":393,"inherits":307}],85:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -9574,7 +9742,7 @@ function PassThrough(options) { PassThrough.prototype._transform = function (chunk, encoding, cb) { cb(null, chunk); }; -},{"./_stream_transform":87,"inherits":309}],86:[function(require,module,exports){ +},{"./_stream_transform":87,"inherits":307}],86:[function(require,module,exports){ (function (process,global){ // Copyright Joyent, Inc. and other Node contributors. // @@ -10701,7 +10869,7 @@ function indexOf(xs, x) { return -1; } }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../errors":83,"./_stream_duplex":84,"./internal/streams/async_iterator":89,"./internal/streams/buffer_list":90,"./internal/streams/destroy":91,"./internal/streams/from":93,"./internal/streams/state":95,"./internal/streams/stream":96,"_process":395,"buffer":98,"events":299,"inherits":309,"string_decoder/":343,"util":78}],87:[function(require,module,exports){ +},{"../errors":83,"./_stream_duplex":84,"./internal/streams/async_iterator":89,"./internal/streams/buffer_list":90,"./internal/streams/destroy":91,"./internal/streams/from":93,"./internal/streams/state":95,"./internal/streams/stream":96,"_process":393,"buffer":98,"events":297,"inherits":307,"string_decoder/":341,"util":78}],87:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -10903,7 +11071,7 @@ function done(stream, er, data) { if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING(); return stream.push(null); } -},{"../errors":83,"./_stream_duplex":84,"inherits":309}],88:[function(require,module,exports){ +},{"../errors":83,"./_stream_duplex":84,"inherits":307}],88:[function(require,module,exports){ (function (process,global){ // Copyright Joyent, Inc. and other Node contributors. // @@ -11603,7 +11771,7 @@ Writable.prototype._destroy = function (err, cb) { cb(err); }; }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../errors":83,"./_stream_duplex":84,"./internal/streams/destroy":91,"./internal/streams/state":95,"./internal/streams/stream":96,"_process":395,"buffer":98,"inherits":309,"util-deprecate":345}],89:[function(require,module,exports){ +},{"../errors":83,"./_stream_duplex":84,"./internal/streams/destroy":91,"./internal/streams/state":95,"./internal/streams/stream":96,"_process":393,"buffer":98,"inherits":307,"util-deprecate":343}],89:[function(require,module,exports){ (function (process){ 'use strict'; @@ -11813,7 +11981,7 @@ var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterat module.exports = createReadableStreamAsyncIterator; }).call(this,require('_process')) -},{"./end-of-stream":92,"_process":395}],90:[function(require,module,exports){ +},{"./end-of-stream":92,"_process":393}],90:[function(require,module,exports){ 'use strict'; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } @@ -12132,7 +12300,7 @@ module.exports = { errorOrDestroy: errorOrDestroy }; }).call(this,require('_process')) -},{"_process":395}],92:[function(require,module,exports){ +},{"_process":393}],92:[function(require,module,exports){ // Ported from https://github.com/mafintosh/end-of-stream with // permission from the author, Mathias Buus (@mafintosh). 'use strict'; @@ -12371,7 +12539,7 @@ module.exports = { },{"../../../errors":83}],96:[function(require,module,exports){ module.exports = require('events').EventEmitter; -},{"events":299}],97:[function(require,module,exports){ +},{"events":297}],97:[function(require,module,exports){ exports = module.exports = require('./lib/_stream_readable.js'); exports.Stream = exports; exports.Readable = exports; @@ -14163,7 +14331,7 @@ function numberIsNaN (obj) { } }).call(this,require("buffer").Buffer) -},{"base64-js":76,"buffer":98,"ieee754":302}],99:[function(require,module,exports){ +},{"base64-js":76,"buffer":98,"ieee754":300}],99:[function(require,module,exports){ module.exports = { "100": "Continue", "101": "Switching Protocols", @@ -16009,7 +16177,7 @@ module.exports = function (KEY, length, exec, sham) { if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true); }; -},{"../internals/create-non-enumerable-property":131,"../internals/fails":145,"../internals/redefine":197,"../internals/regexp-exec":199,"../internals/well-known-symbol":231,"../modules/es.regexp.exec":258}],147:[function(require,module,exports){ +},{"../internals/create-non-enumerable-property":131,"../internals/fails":145,"../internals/redefine":197,"../internals/regexp-exec":199,"../internals/well-known-symbol":231,"../modules/es.regexp.exec":256}],147:[function(require,module,exports){ var aFunction = require('../internals/a-function'); // optional / simple context binding @@ -18600,50 +18768,6 @@ $({ target: 'Object', stat: true }, { },{"../internals/export":144,"../internals/object-to-array":190}],253:[function(require,module,exports){ var $ = require('../internals/export'); -var fails = require('../internals/fails'); -var toIndexedObject = require('../internals/to-indexed-object'); -var nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; -var DESCRIPTORS = require('../internals/descriptors'); - -var FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); }); -var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES; - -// `Object.getOwnPropertyDescriptor` method -// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor -$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { - return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key); - } -}); - -},{"../internals/descriptors":136,"../internals/export":144,"../internals/fails":145,"../internals/object-get-own-property-descriptor":181,"../internals/to-indexed-object":217}],254:[function(require,module,exports){ -var $ = require('../internals/export'); -var DESCRIPTORS = require('../internals/descriptors'); -var ownKeys = require('../internals/own-keys'); -var toIndexedObject = require('../internals/to-indexed-object'); -var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); -var createProperty = require('../internals/create-property'); - -// `Object.getOwnPropertyDescriptors` method -// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors -$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { - var O = toIndexedObject(object); - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - var keys = ownKeys(O); - var result = {}; - var index = 0; - var key, descriptor; - while (keys.length > index) { - descriptor = getOwnPropertyDescriptor(O, key = keys[index++]); - if (descriptor !== undefined) createProperty(result, key, descriptor); - } - return result; - } -}); - -},{"../internals/create-property":133,"../internals/descriptors":136,"../internals/export":144,"../internals/object-get-own-property-descriptor":181,"../internals/own-keys":192,"../internals/to-indexed-object":217}],255:[function(require,module,exports){ -var $ = require('../internals/export'); var toObject = require('../internals/to-object'); var nativeKeys = require('../internals/object-keys'); var fails = require('../internals/fails'); @@ -18658,7 +18782,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { } }); -},{"../internals/export":144,"../internals/fails":145,"../internals/object-keys":187,"../internals/to-object":220}],256:[function(require,module,exports){ +},{"../internals/export":144,"../internals/fails":145,"../internals/object-keys":187,"../internals/to-object":220}],254:[function(require,module,exports){ var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support'); var redefine = require('../internals/redefine'); var toString = require('../internals/object-to-string'); @@ -18669,7 +18793,7 @@ if (!TO_STRING_TAG_SUPPORT) { redefine(Object.prototype, 'toString', toString, { unsafe: true }); } -},{"../internals/object-to-string":191,"../internals/redefine":197,"../internals/to-string-tag-support":224}],257:[function(require,module,exports){ +},{"../internals/object-to-string":191,"../internals/redefine":197,"../internals/to-string-tag-support":224}],255:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var IS_PURE = require('../internals/is-pure'); @@ -19052,7 +19176,7 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { } }); -},{"../internals/a-function":102,"../internals/an-instance":106,"../internals/check-correctness-of-iteration":124,"../internals/engine-is-node":140,"../internals/engine-v8-version":142,"../internals/export":144,"../internals/get-built-in":148,"../internals/global":150,"../internals/host-report-errors":153,"../internals/inspect-source":159,"../internals/internal-state":160,"../internals/is-forced":163,"../internals/is-object":164,"../internals/is-pure":165,"../internals/iterate":167,"../internals/microtask":171,"../internals/native-promise-constructor":172,"../internals/new-promise-capability":175,"../internals/perform":194,"../internals/promise-resolve":195,"../internals/redefine":197,"../internals/redefine-all":196,"../internals/set-species":205,"../internals/set-to-string-tag":206,"../internals/species-constructor":210,"../internals/task":214,"../internals/well-known-symbol":231}],258:[function(require,module,exports){ +},{"../internals/a-function":102,"../internals/an-instance":106,"../internals/check-correctness-of-iteration":124,"../internals/engine-is-node":140,"../internals/engine-v8-version":142,"../internals/export":144,"../internals/get-built-in":148,"../internals/global":150,"../internals/host-report-errors":153,"../internals/inspect-source":159,"../internals/internal-state":160,"../internals/is-forced":163,"../internals/is-object":164,"../internals/is-pure":165,"../internals/iterate":167,"../internals/microtask":171,"../internals/native-promise-constructor":172,"../internals/new-promise-capability":175,"../internals/perform":194,"../internals/promise-resolve":195,"../internals/redefine":197,"../internals/redefine-all":196,"../internals/set-species":205,"../internals/set-to-string-tag":206,"../internals/species-constructor":210,"../internals/task":214,"../internals/well-known-symbol":231}],256:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var exec = require('../internals/regexp-exec'); @@ -19061,7 +19185,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { exec: exec }); -},{"../internals/export":144,"../internals/regexp-exec":199}],259:[function(require,module,exports){ +},{"../internals/export":144,"../internals/regexp-exec":199}],257:[function(require,module,exports){ 'use strict'; var redefine = require('../internals/redefine'); var anObject = require('../internals/an-object'); @@ -19088,7 +19212,7 @@ if (NOT_GENERIC || INCORRECT_NAME) { }, { unsafe: true }); } -},{"../internals/an-object":107,"../internals/fails":145,"../internals/redefine":197,"../internals/regexp-flags":200}],260:[function(require,module,exports){ +},{"../internals/an-object":107,"../internals/fails":145,"../internals/redefine":197,"../internals/regexp-flags":200}],258:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var notARegExp = require('../internals/not-a-regexp'); @@ -19104,7 +19228,7 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, } }); -},{"../internals/correct-is-regexp-logic":128,"../internals/export":144,"../internals/not-a-regexp":176,"../internals/require-object-coercible":202}],261:[function(require,module,exports){ +},{"../internals/correct-is-regexp-logic":128,"../internals/export":144,"../internals/not-a-regexp":176,"../internals/require-object-coercible":202}],259:[function(require,module,exports){ 'use strict'; var charAt = require('../internals/string-multibyte').charAt; var InternalStateModule = require('../internals/internal-state'); @@ -19135,7 +19259,7 @@ defineIterator(String, 'String', function (iterated) { return { value: point, done: false }; }); -},{"../internals/define-iterator":134,"../internals/internal-state":160,"../internals/string-multibyte":211}],262:[function(require,module,exports){ +},{"../internals/define-iterator":134,"../internals/internal-state":160,"../internals/string-multibyte":211}],260:[function(require,module,exports){ 'use strict'; var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); var anObject = require('../internals/an-object'); @@ -19181,7 +19305,7 @@ fixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCal ]; }); -},{"../internals/advance-string-index":105,"../internals/an-object":107,"../internals/fix-regexp-well-known-symbol-logic":146,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":202,"../internals/to-length":219}],263:[function(require,module,exports){ +},{"../internals/advance-string-index":105,"../internals/an-object":107,"../internals/fix-regexp-well-known-symbol-logic":146,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":202,"../internals/to-length":219}],261:[function(require,module,exports){ 'use strict'; var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); var anObject = require('../internals/an-object'); @@ -19318,7 +19442,7 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma } }); -},{"../internals/advance-string-index":105,"../internals/an-object":107,"../internals/fix-regexp-well-known-symbol-logic":146,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":202,"../internals/to-integer":218,"../internals/to-length":219,"../internals/to-object":220}],264:[function(require,module,exports){ +},{"../internals/advance-string-index":105,"../internals/an-object":107,"../internals/fix-regexp-well-known-symbol-logic":146,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":202,"../internals/to-integer":218,"../internals/to-length":219,"../internals/to-object":220}],262:[function(require,module,exports){ 'use strict'; var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); var anObject = require('../internals/an-object'); @@ -19354,7 +19478,7 @@ fixRegExpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybe ]; }); -},{"../internals/an-object":107,"../internals/fix-regexp-well-known-symbol-logic":146,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":202,"../internals/same-value":203}],265:[function(require,module,exports){ +},{"../internals/an-object":107,"../internals/fix-regexp-well-known-symbol-logic":146,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":202,"../internals/same-value":203}],263:[function(require,module,exports){ 'use strict'; var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); var isRegExp = require('../internals/is-regexp'); @@ -19490,7 +19614,7 @@ fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCal ]; }, !SUPPORTS_Y); -},{"../internals/advance-string-index":105,"../internals/an-object":107,"../internals/fails":145,"../internals/fix-regexp-well-known-symbol-logic":146,"../internals/is-regexp":166,"../internals/regexp-exec":199,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":202,"../internals/species-constructor":210,"../internals/to-length":219}],266:[function(require,module,exports){ +},{"../internals/advance-string-index":105,"../internals/an-object":107,"../internals/fails":145,"../internals/fix-regexp-well-known-symbol-logic":146,"../internals/is-regexp":166,"../internals/regexp-exec":199,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":202,"../internals/species-constructor":210,"../internals/to-length":219}],264:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; @@ -19524,7 +19648,7 @@ $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGE } }); -},{"../internals/correct-is-regexp-logic":128,"../internals/export":144,"../internals/is-pure":165,"../internals/not-a-regexp":176,"../internals/object-get-own-property-descriptor":181,"../internals/require-object-coercible":202,"../internals/to-length":219}],267:[function(require,module,exports){ +},{"../internals/correct-is-regexp-logic":128,"../internals/export":144,"../internals/is-pure":165,"../internals/not-a-regexp":176,"../internals/object-get-own-property-descriptor":181,"../internals/require-object-coercible":202,"../internals/to-length":219}],265:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var $trim = require('../internals/string-trim').trim; @@ -19538,7 +19662,7 @@ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { } }); -},{"../internals/export":144,"../internals/string-trim":213,"../internals/string-trim-forced":212}],268:[function(require,module,exports){ +},{"../internals/export":144,"../internals/string-trim":213,"../internals/string-trim-forced":212}],266:[function(require,module,exports){ // `Symbol.prototype.description` getter // https://tc39.github.io/ecma262/#sec-symbol.prototype.description 'use strict'; @@ -19590,7 +19714,7 @@ if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in Nati }); } -},{"../internals/copy-constructor-properties":127,"../internals/descriptors":136,"../internals/export":144,"../internals/global":150,"../internals/has":151,"../internals/is-object":164,"../internals/object-define-property":180}],269:[function(require,module,exports){ +},{"../internals/copy-constructor-properties":127,"../internals/descriptors":136,"../internals/export":144,"../internals/global":150,"../internals/has":151,"../internals/is-object":164,"../internals/object-define-property":180}],267:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var global = require('../internals/global'); @@ -19903,7 +20027,7 @@ setToStringTag($Symbol, SYMBOL); hiddenKeys[HIDDEN] = true; -},{"../internals/an-object":107,"../internals/array-iteration":116,"../internals/create-non-enumerable-property":131,"../internals/create-property-descriptor":132,"../internals/define-well-known-symbol":135,"../internals/descriptors":136,"../internals/export":144,"../internals/fails":145,"../internals/get-built-in":148,"../internals/global":150,"../internals/has":151,"../internals/hidden-keys":152,"../internals/internal-state":160,"../internals/is-array":162,"../internals/is-object":164,"../internals/is-pure":165,"../internals/native-symbol":173,"../internals/object-create":178,"../internals/object-define-property":180,"../internals/object-get-own-property-descriptor":181,"../internals/object-get-own-property-names":183,"../internals/object-get-own-property-names-external":182,"../internals/object-get-own-property-symbols":184,"../internals/object-keys":187,"../internals/object-property-is-enumerable":188,"../internals/redefine":197,"../internals/set-to-string-tag":206,"../internals/shared":209,"../internals/shared-key":207,"../internals/to-indexed-object":217,"../internals/to-object":220,"../internals/to-primitive":223,"../internals/uid":228,"../internals/use-symbol-as-uid":229,"../internals/well-known-symbol":231,"../internals/well-known-symbol-wrapped":230}],270:[function(require,module,exports){ +},{"../internals/an-object":107,"../internals/array-iteration":116,"../internals/create-non-enumerable-property":131,"../internals/create-property-descriptor":132,"../internals/define-well-known-symbol":135,"../internals/descriptors":136,"../internals/export":144,"../internals/fails":145,"../internals/get-built-in":148,"../internals/global":150,"../internals/has":151,"../internals/hidden-keys":152,"../internals/internal-state":160,"../internals/is-array":162,"../internals/is-object":164,"../internals/is-pure":165,"../internals/native-symbol":173,"../internals/object-create":178,"../internals/object-define-property":180,"../internals/object-get-own-property-descriptor":181,"../internals/object-get-own-property-names":183,"../internals/object-get-own-property-names-external":182,"../internals/object-get-own-property-symbols":184,"../internals/object-keys":187,"../internals/object-property-is-enumerable":188,"../internals/redefine":197,"../internals/set-to-string-tag":206,"../internals/shared":209,"../internals/shared-key":207,"../internals/to-indexed-object":217,"../internals/to-object":220,"../internals/to-primitive":223,"../internals/uid":228,"../internals/use-symbol-as-uid":229,"../internals/well-known-symbol":231,"../internals/well-known-symbol-wrapped":230}],268:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $copyWithin = require('../internals/array-copy-within'); @@ -19917,7 +20041,7 @@ exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end return $copyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-copy-within":111}],271:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-copy-within":111}],269:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $every = require('../internals/array-iteration').every; @@ -19931,7 +20055,7 @@ exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) { return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],272:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],270:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $fill = require('../internals/array-fill'); @@ -19946,7 +20070,7 @@ exportTypedArrayMethod('fill', function fill(value /* , start, end */) { return $fill.apply(aTypedArray(this), arguments); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-fill":112}],273:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-fill":112}],271:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $filter = require('../internals/array-iteration').filter; @@ -19968,7 +20092,7 @@ exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) { return result; }); -},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116,"../internals/species-constructor":210}],274:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116,"../internals/species-constructor":210}],272:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $findIndex = require('../internals/array-iteration').findIndex; @@ -19982,7 +20106,7 @@ exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */ return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],275:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],273:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $find = require('../internals/array-iteration').find; @@ -19996,7 +20120,7 @@ exportTypedArrayMethod('find', function find(predicate /* , thisArg */) { return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],276:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],274:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $forEach = require('../internals/array-iteration').forEach; @@ -20010,7 +20134,7 @@ exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) { $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],277:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],275:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $includes = require('../internals/array-includes').includes; @@ -20024,7 +20148,7 @@ exportTypedArrayMethod('includes', function includes(searchElement /* , fromInde return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-includes":115}],278:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-includes":115}],276:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $indexOf = require('../internals/array-includes').indexOf; @@ -20038,7 +20162,7 @@ exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-includes":115}],279:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-includes":115}],277:[function(require,module,exports){ 'use strict'; var global = require('../internals/global'); var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); @@ -20078,7 +20202,7 @@ exportTypedArrayMethod('values', typedArrayValues, !CORRECT_ITER_NAME); // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype-@@iterator exportTypedArrayMethod(ITERATOR, typedArrayValues, !CORRECT_ITER_NAME); -},{"../internals/array-buffer-view-core":109,"../internals/global":150,"../internals/well-known-symbol":231,"../modules/es.array.iterator":242}],280:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/global":150,"../internals/well-known-symbol":231,"../modules/es.array.iterator":242}],278:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); @@ -20093,7 +20217,7 @@ exportTypedArrayMethod('join', function join(separator) { return $join.apply(aTypedArray(this), arguments); }); -},{"../internals/array-buffer-view-core":109}],281:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109}],279:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $lastIndexOf = require('../internals/array-last-index-of'); @@ -20108,7 +20232,7 @@ exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fr return $lastIndexOf.apply(aTypedArray(this), arguments); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-last-index-of":117}],282:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-last-index-of":117}],280:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $map = require('../internals/array-iteration').map; @@ -20126,7 +20250,7 @@ exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) { }); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116,"../internals/species-constructor":210}],283:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116,"../internals/species-constructor":210}],281:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $reduceRight = require('../internals/array-reduce').right; @@ -20140,7 +20264,7 @@ exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initi return $reduceRight(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-reduce":121}],284:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-reduce":121}],282:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $reduce = require('../internals/array-reduce').left; @@ -20154,7 +20278,7 @@ exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */ return $reduce(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-reduce":121}],285:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-reduce":121}],283:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); @@ -20177,7 +20301,7 @@ exportTypedArrayMethod('reverse', function reverse() { } return that; }); -},{"../internals/array-buffer-view-core":109}],286:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109}],284:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var toLength = require('../internals/to-length'); @@ -20206,7 +20330,7 @@ exportTypedArrayMethod('set', function set(arrayLike /* , offset */) { while (index < len) this[offset + index] = src[index++]; }, FORCED); -},{"../internals/array-buffer-view-core":109,"../internals/fails":145,"../internals/to-length":219,"../internals/to-object":220,"../internals/to-offset":221}],287:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/fails":145,"../internals/to-length":219,"../internals/to-object":220,"../internals/to-offset":221}],285:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var speciesConstructor = require('../internals/species-constructor'); @@ -20234,7 +20358,7 @@ exportTypedArrayMethod('slice', function slice(start, end) { return result; }, FORCED); -},{"../internals/array-buffer-view-core":109,"../internals/fails":145,"../internals/species-constructor":210}],288:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/fails":145,"../internals/species-constructor":210}],286:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $some = require('../internals/array-iteration').some; @@ -20248,7 +20372,7 @@ exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) { return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); -},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],289:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/array-iteration":116}],287:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); @@ -20262,7 +20386,7 @@ exportTypedArrayMethod('sort', function sort(comparefn) { return $sort.call(aTypedArray(this), comparefn); }); -},{"../internals/array-buffer-view-core":109}],290:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109}],288:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var toLength = require('../internals/to-length'); @@ -20285,7 +20409,7 @@ exportTypedArrayMethod('subarray', function subarray(begin, end) { ); }); -},{"../internals/array-buffer-view-core":109,"../internals/species-constructor":210,"../internals/to-absolute-index":215,"../internals/to-length":219}],291:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/species-constructor":210,"../internals/to-absolute-index":215,"../internals/to-length":219}],289:[function(require,module,exports){ 'use strict'; var global = require('../internals/global'); var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); @@ -20314,7 +20438,7 @@ exportTypedArrayMethod('toLocaleString', function toLocaleString() { return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray(this)) : aTypedArray(this), arguments); }, FORCED); -},{"../internals/array-buffer-view-core":109,"../internals/fails":145,"../internals/global":150}],292:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/fails":145,"../internals/global":150}],290:[function(require,module,exports){ 'use strict'; var exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod; var fails = require('../internals/fails'); @@ -20337,7 +20461,7 @@ var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tostring exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD); -},{"../internals/array-buffer-view-core":109,"../internals/fails":145,"../internals/global":150}],293:[function(require,module,exports){ +},{"../internals/array-buffer-view-core":109,"../internals/fails":145,"../internals/global":150}],291:[function(require,module,exports){ var createTypedArrayConstructor = require('../internals/typed-array-constructor'); // `Uint8Array` constructor @@ -20348,7 +20472,7 @@ createTypedArrayConstructor('Uint8', function (init) { }; }); -},{"../internals/typed-array-constructor":225}],294:[function(require,module,exports){ +},{"../internals/typed-array-constructor":225}],292:[function(require,module,exports){ var global = require('../internals/global'); var DOMIterables = require('../internals/dom-iterables'); var forEach = require('../internals/array-for-each'); @@ -20365,7 +20489,7 @@ for (var COLLECTION_NAME in DOMIterables) { } } -},{"../internals/array-for-each":113,"../internals/create-non-enumerable-property":131,"../internals/dom-iterables":138,"../internals/global":150}],295:[function(require,module,exports){ +},{"../internals/array-for-each":113,"../internals/create-non-enumerable-property":131,"../internals/dom-iterables":138,"../internals/global":150}],293:[function(require,module,exports){ var global = require('../internals/global'); var DOMIterables = require('../internals/dom-iterables'); var ArrayIteratorMethods = require('../modules/es.array.iterator'); @@ -20400,7 +20524,7 @@ for (var COLLECTION_NAME in DOMIterables) { } } -},{"../internals/create-non-enumerable-property":131,"../internals/dom-iterables":138,"../internals/global":150,"../internals/well-known-symbol":231,"../modules/es.array.iterator":242}],296:[function(require,module,exports){ +},{"../internals/create-non-enumerable-property":131,"../internals/dom-iterables":138,"../internals/global":150,"../internals/well-known-symbol":231,"../modules/es.array.iterator":242}],294:[function(require,module,exports){ (function (Buffer){ // Copyright Joyent, Inc. and other Node contributors. // @@ -20511,7 +20635,7 @@ function objectToString(o) { } }).call(this,{"isBuffer":require("../../is-buffer/index.js")}) -},{"../../is-buffer/index.js":310}],297:[function(require,module,exports){ +},{"../../is-buffer/index.js":308}],295:[function(require,module,exports){ /* * Date Format 1.2.3 * (c) 2007-2009 Steven Levithan @@ -20739,7 +20863,7 @@ function kindOf(val) { } })(this); -},{}],298:[function(require,module,exports){ +},{}],296:[function(require,module,exports){ /*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk @@ -20819,7 +20943,7 @@ function escapeHtml(string) { : html; } -},{}],299:[function(require,module,exports){ +},{}],297:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -21344,7 +21468,7 @@ function functionBindPolyfill(context) { }; } -},{}],300:[function(require,module,exports){ +},{}],298:[function(require,module,exports){ var http = require('http') var url = require('url') @@ -21377,7 +21501,7 @@ function validateParams (params) { return params } -},{"http":79,"url":396}],301:[function(require,module,exports){ +},{"http":79,"url":394}],299:[function(require,module,exports){ /*! * humanize-ms - index.js * Copyright(c) 2014 dead_horse @@ -21403,7 +21527,7 @@ module.exports = function (t) { return r; }; -},{"ms":317,"util":348}],302:[function(require,module,exports){ +},{"ms":315,"util":346}],300:[function(require,module,exports){ exports.read = function (buffer, offset, isLE, mLen, nBytes) { var e, m var eLen = (nBytes * 8) - mLen - 1 @@ -21489,7 +21613,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { buffer[offset + i - d] |= s * 128 } -},{}],303:[function(require,module,exports){ +},{}],301:[function(require,module,exports){ 'use strict'; var types = [ require('./nextTick'), @@ -21588,7 +21712,7 @@ function immediate(task) { } } -},{"./messageChannel":304,"./mutation.js":305,"./nextTick":78,"./queueMicrotask":306,"./stateChange":307,"./timeout":308}],304:[function(require,module,exports){ +},{"./messageChannel":302,"./mutation.js":303,"./nextTick":78,"./queueMicrotask":304,"./stateChange":305,"./timeout":306}],302:[function(require,module,exports){ (function (global){ 'use strict'; @@ -21609,7 +21733,7 @@ exports.install = function (func) { }; }; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],305:[function(require,module,exports){ +},{}],303:[function(require,module,exports){ (function (global){ 'use strict'; //based off rsvp https://github.com/tildeio/rsvp.js @@ -21634,7 +21758,7 @@ exports.install = function (handle) { }; }; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],306:[function(require,module,exports){ +},{}],304:[function(require,module,exports){ (function (global){ 'use strict'; exports.test = function () { @@ -21648,7 +21772,7 @@ exports.install = function (func) { }; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],307:[function(require,module,exports){ +},{}],305:[function(require,module,exports){ (function (global){ 'use strict'; @@ -21675,7 +21799,7 @@ exports.install = function (handle) { }; }; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],308:[function(require,module,exports){ +},{}],306:[function(require,module,exports){ 'use strict'; exports.test = function () { return true; @@ -21686,7 +21810,7 @@ exports.install = function (t) { setTimeout(t, 0); }; }; -},{}],309:[function(require,module,exports){ +},{}],307:[function(require,module,exports){ if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { @@ -21715,7 +21839,7 @@ if (typeof Object.create === 'function') { } } -},{}],310:[function(require,module,exports){ +},{}],308:[function(require,module,exports){ /*! * Determine if an object is a Buffer * @@ -21738,14 +21862,14 @@ function isSlowBuffer (obj) { return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0)) } -},{}],311:[function(require,module,exports){ +},{}],309:[function(require,module,exports){ var toString = {}.toString; module.exports = Array.isArray || function (arr) { return toString.call(arr) == '[object Array]'; }; -},{}],312:[function(require,module,exports){ +},{}],310:[function(require,module,exports){ (function (global){ /* * base64.js @@ -21974,7 +22098,7 @@ module.exports = Array.isArray || function (arr) { }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],313:[function(require,module,exports){ +},{}],311:[function(require,module,exports){ /*! * merge-descriptors * Copyright(c) 2014 Jonathan Ong @@ -22036,7 +22160,7 @@ function merge(dest, src, redefine) { return dest } -},{}],314:[function(require,module,exports){ +},{}],312:[function(require,module,exports){ 'use strict'; /** @@ -22133,15 +22257,15 @@ Mime.prototype.getExtension = function(type) { module.exports = Mime; -},{}],315:[function(require,module,exports){ +},{}],313:[function(require,module,exports){ 'use strict'; var Mime = require('./Mime'); module.exports = new Mime(require('./types/standard')); -},{"./Mime":314,"./types/standard":316}],316:[function(require,module,exports){ +},{"./Mime":312,"./types/standard":314}],314:[function(require,module,exports){ module.exports = {"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}; -},{}],317:[function(require,module,exports){ +},{}],315:[function(require,module,exports){ /** * Helpers. */ @@ -22305,7 +22429,7 @@ function plural(ms, msAbs, n, name) { return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); } -},{}],318:[function(require,module,exports){ +},{}],316:[function(require,module,exports){ (function (process){ // .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1, // backported and transplited with Babel, with backwards-compat fixes @@ -22611,7 +22735,7 @@ var substr = 'ab'.substr(-1) === 'b' ; }).call(this,require('_process')) -},{"_process":395}],319:[function(require,module,exports){ +},{"_process":393}],317:[function(require,module,exports){ (function (global){ /*! * Platform.js @@ -23832,7 +23956,7 @@ var substr = 'ab'.substr(-1) === 'b' }.call(this)); }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],320:[function(require,module,exports){ +},{}],318:[function(require,module,exports){ (function (process){ 'use strict'; @@ -23881,7 +24005,7 @@ function nextTick(fn, arg1, arg2, arg3) { }).call(this,require('_process')) -},{"_process":395}],321:[function(require,module,exports){ +},{"_process":393}],319:[function(require,module,exports){ var immediate = require('immediate'); var process = module.exports = {}; process.nextTick = immediate @@ -23913,7 +24037,7 @@ process.chdir = function (dir) { }; process.umask = function() { return 0; }; -},{"immediate":303}],322:[function(require,module,exports){ +},{"immediate":301}],320:[function(require,module,exports){ (function (global){ /*! https://mths.be/punycode v1.4.1 by @mathias */ ;(function(root) { @@ -24450,7 +24574,7 @@ process.umask = function() { return 0; }; }(this)); }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],323:[function(require,module,exports){ +},{}],321:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -24536,7 +24660,7 @@ var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; -},{}],324:[function(require,module,exports){ +},{}],322:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -24623,16 +24747,16 @@ var objectKeys = Object.keys || function (obj) { return res; }; -},{}],325:[function(require,module,exports){ +},{}],323:[function(require,module,exports){ 'use strict'; exports.decode = exports.parse = require('./decode'); exports.encode = exports.stringify = require('./encode'); -},{"./decode":323,"./encode":324}],326:[function(require,module,exports){ +},{"./decode":321,"./encode":322}],324:[function(require,module,exports){ module.exports = require('./lib/_stream_duplex.js'); -},{"./lib/_stream_duplex.js":327}],327:[function(require,module,exports){ +},{"./lib/_stream_duplex.js":325}],325:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -24764,7 +24888,7 @@ Duplex.prototype._destroy = function (err, cb) { pna.nextTick(cb, err); }; -},{"./_stream_readable":329,"./_stream_writable":331,"core-util-is":296,"inherits":309,"process-nextick-args":320}],328:[function(require,module,exports){ +},{"./_stream_readable":327,"./_stream_writable":329,"core-util-is":294,"inherits":307,"process-nextick-args":318}],326:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -24812,7 +24936,7 @@ function PassThrough(options) { PassThrough.prototype._transform = function (chunk, encoding, cb) { cb(null, chunk); }; -},{"./_stream_transform":330,"core-util-is":296,"inherits":309}],329:[function(require,module,exports){ +},{"./_stream_transform":328,"core-util-is":294,"inherits":307}],327:[function(require,module,exports){ (function (process,global){ // Copyright Joyent, Inc. and other Node contributors. // @@ -25834,7 +25958,7 @@ function indexOf(xs, x) { return -1; } }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./_stream_duplex":327,"./internal/streams/BufferList":332,"./internal/streams/destroy":333,"./internal/streams/stream":334,"_process":395,"core-util-is":296,"events":299,"inherits":309,"isarray":311,"process-nextick-args":320,"safe-buffer":340,"string_decoder/":343,"util":78}],330:[function(require,module,exports){ +},{"./_stream_duplex":325,"./internal/streams/BufferList":330,"./internal/streams/destroy":331,"./internal/streams/stream":332,"_process":393,"core-util-is":294,"events":297,"inherits":307,"isarray":309,"process-nextick-args":318,"safe-buffer":338,"string_decoder/":341,"util":78}],328:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -26049,7 +26173,7 @@ function done(stream, er, data) { return stream.push(null); } -},{"./_stream_duplex":327,"core-util-is":296,"inherits":309}],331:[function(require,module,exports){ +},{"./_stream_duplex":325,"core-util-is":294,"inherits":307}],329:[function(require,module,exports){ (function (process,global,setImmediate){ // Copyright Joyent, Inc. and other Node contributors. // @@ -26739,7 +26863,7 @@ Writable.prototype._destroy = function (err, cb) { cb(err); }; }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("timers").setImmediate) -},{"./_stream_duplex":327,"./internal/streams/destroy":333,"./internal/streams/stream":334,"_process":395,"core-util-is":296,"inherits":309,"process-nextick-args":320,"safe-buffer":340,"timers":344,"util-deprecate":345}],332:[function(require,module,exports){ +},{"./_stream_duplex":325,"./internal/streams/destroy":331,"./internal/streams/stream":332,"_process":393,"core-util-is":294,"inherits":307,"process-nextick-args":318,"safe-buffer":338,"timers":342,"util-deprecate":343}],330:[function(require,module,exports){ 'use strict'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } @@ -26819,7 +26943,7 @@ if (util && util.inspect && util.inspect.custom) { return this.constructor.name + ' ' + obj; }; } -},{"safe-buffer":340,"util":78}],333:[function(require,module,exports){ +},{"safe-buffer":338,"util":78}],331:[function(require,module,exports){ 'use strict'; /**/ @@ -26894,12 +27018,12 @@ module.exports = { destroy: destroy, undestroy: undestroy }; -},{"process-nextick-args":320}],334:[function(require,module,exports){ +},{"process-nextick-args":318}],332:[function(require,module,exports){ arguments[4][96][0].apply(exports,arguments) -},{"dup":96,"events":299}],335:[function(require,module,exports){ +},{"dup":96,"events":297}],333:[function(require,module,exports){ module.exports = require('./readable').PassThrough -},{"./readable":336}],336:[function(require,module,exports){ +},{"./readable":334}],334:[function(require,module,exports){ exports = module.exports = require('./lib/_stream_readable.js'); exports.Stream = exports; exports.Readable = exports; @@ -26908,13 +27032,13 @@ exports.Duplex = require('./lib/_stream_duplex.js'); exports.Transform = require('./lib/_stream_transform.js'); exports.PassThrough = require('./lib/_stream_passthrough.js'); -},{"./lib/_stream_duplex.js":327,"./lib/_stream_passthrough.js":328,"./lib/_stream_readable.js":329,"./lib/_stream_transform.js":330,"./lib/_stream_writable.js":331}],337:[function(require,module,exports){ +},{"./lib/_stream_duplex.js":325,"./lib/_stream_passthrough.js":326,"./lib/_stream_readable.js":327,"./lib/_stream_transform.js":328,"./lib/_stream_writable.js":329}],335:[function(require,module,exports){ module.exports = require('./readable').Transform -},{"./readable":336}],338:[function(require,module,exports){ +},{"./readable":334}],336:[function(require,module,exports){ module.exports = require('./lib/_stream_writable.js'); -},{"./lib/_stream_writable.js":331}],339:[function(require,module,exports){ +},{"./lib/_stream_writable.js":329}],337:[function(require,module,exports){ /** * Copyright (c) 2014-present, Facebook, Inc. * @@ -27643,7 +27767,7 @@ module.exports = require('./lib/_stream_writable.js'); (function() { return this })() || Function("return this")() ); -},{}],340:[function(require,module,exports){ +},{}],338:[function(require,module,exports){ /* eslint-disable node/no-deprecated-api */ var buffer = require('buffer') var Buffer = buffer.Buffer @@ -27707,7 +27831,7 @@ SafeBuffer.allocUnsafeSlow = function (size) { return buffer.SlowBuffer(size) } -},{"buffer":98}],341:[function(require,module,exports){ +},{"buffer":98}],339:[function(require,module,exports){ (function (Buffer){ ;(function (sax) { // wrapper for non-node envs sax.parser = function (strict, opt) { return new SAXParser(strict, opt) } @@ -29276,7 +29400,7 @@ SafeBuffer.allocUnsafeSlow = function (size) { })(typeof exports === 'undefined' ? this.sax = {} : exports) }).call(this,require("buffer").Buffer) -},{"buffer":98,"stream":342,"string_decoder":343}],342:[function(require,module,exports){ +},{"buffer":98,"stream":340,"string_decoder":341}],340:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -29405,7 +29529,7 @@ Stream.prototype.pipe = function(dest, options) { return dest; }; -},{"events":299,"inherits":309,"readable-stream/duplex.js":326,"readable-stream/passthrough.js":335,"readable-stream/readable.js":336,"readable-stream/transform.js":337,"readable-stream/writable.js":338}],343:[function(require,module,exports){ +},{"events":297,"inherits":307,"readable-stream/duplex.js":324,"readable-stream/passthrough.js":333,"readable-stream/readable.js":334,"readable-stream/transform.js":335,"readable-stream/writable.js":336}],341:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -29702,7 +29826,7 @@ function simpleWrite(buf) { function simpleEnd(buf) { return buf && buf.length ? this.write(buf) : ''; } -},{"safe-buffer":340}],344:[function(require,module,exports){ +},{"safe-buffer":338}],342:[function(require,module,exports){ (function (setImmediate,clearImmediate){ var nextTick = require('process/browser.js').nextTick; var apply = Function.prototype.apply; @@ -29781,7 +29905,7 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : delete immediateIds[id]; }; }).call(this,require("timers").setImmediate,require("timers").clearImmediate) -},{"process/browser.js":321,"timers":344}],345:[function(require,module,exports){ +},{"process/browser.js":319,"timers":342}],343:[function(require,module,exports){ (function (global){ /** @@ -29852,7 +29976,7 @@ function config (name) { } }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],346:[function(require,module,exports){ +},{}],344:[function(require,module,exports){ if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { @@ -29877,14 +30001,14 @@ if (typeof Object.create === 'function') { } } -},{}],347:[function(require,module,exports){ +},{}],345:[function(require,module,exports){ module.exports = function isBuffer(arg) { return arg && typeof arg === 'object' && typeof arg.copy === 'function' && typeof arg.fill === 'function' && typeof arg.readUInt8 === 'function'; } -},{}],348:[function(require,module,exports){ +},{}],346:[function(require,module,exports){ (function (process,global){ // Copyright Joyent, Inc. and other Node contributors. // @@ -30474,7 +30598,7 @@ function hasOwnProperty(obj, prop) { } }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./support/isBuffer":347,"_process":395,"inherits":346}],349:[function(require,module,exports){ +},{"./support/isBuffer":345,"_process":393,"inherits":344}],347:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; @@ -30488,7 +30612,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],350:[function(require,module,exports){ +},{}],348:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; @@ -30617,7 +30741,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./defaults":351,"xmlbuilder":387}],351:[function(require,module,exports){ +},{"./defaults":349,"xmlbuilder":385}],349:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { exports.defaults = { @@ -30691,7 +30815,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],352:[function(require,module,exports){ +},{}],350:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; @@ -31074,7 +31198,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./bom":349,"./defaults":351,"./processors":353,"events":299,"sax":341,"timers":344}],353:[function(require,module,exports){ +},{"./bom":347,"./defaults":349,"./processors":351,"events":297,"sax":339,"timers":342}],351:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; @@ -31110,7 +31234,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],354:[function(require,module,exports){ +},{}],352:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; @@ -31151,7 +31275,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./builder":350,"./defaults":351,"./parser":352,"./processors":353}],355:[function(require,module,exports){ +},{"./builder":348,"./defaults":349,"./parser":350,"./processors":351}],353:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { module.exports = { @@ -31165,7 +31289,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],356:[function(require,module,exports){ +},{}],354:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { module.exports = { @@ -31190,7 +31314,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],357:[function(require,module,exports){ +},{}],355:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var assign, getValue, isArray, isEmpty, isFunction, isObject, isPlainObject, @@ -31275,7 +31399,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],358:[function(require,module,exports){ +},{}],356:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { module.exports = { @@ -31287,7 +31411,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],359:[function(require,module,exports){ +},{}],357:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLAttribute, XMLNode; @@ -31397,7 +31521,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLNode":378}],360:[function(require,module,exports){ +},{"./NodeType":354,"./XMLNode":376}],358:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLCData, XMLCharacterData, @@ -31435,7 +31559,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLCharacterData":361}],361:[function(require,module,exports){ +},{"./NodeType":354,"./XMLCharacterData":359}],359:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLCharacterData, XMLNode, @@ -31516,7 +31640,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./XMLNode":378}],362:[function(require,module,exports){ +},{"./XMLNode":376}],360:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLCharacterData, XMLComment, @@ -31554,7 +31678,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLCharacterData":361}],363:[function(require,module,exports){ +},{"./NodeType":354,"./XMLCharacterData":359}],361:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMConfiguration, XMLDOMErrorHandler, XMLDOMStringList; @@ -31620,7 +31744,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./XMLDOMErrorHandler":364,"./XMLDOMStringList":366}],364:[function(require,module,exports){ +},{"./XMLDOMErrorHandler":362,"./XMLDOMStringList":364}],362:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMErrorHandler; @@ -31638,7 +31762,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],365:[function(require,module,exports){ +},{}],363:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMImplementation; @@ -31672,7 +31796,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],366:[function(require,module,exports){ +},{}],364:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMStringList; @@ -31702,7 +31826,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],367:[function(require,module,exports){ +},{}],365:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDAttList, XMLNode, @@ -31759,7 +31883,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLNode":378}],368:[function(require,module,exports){ +},{"./NodeType":354,"./XMLNode":376}],366:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDElement, XMLNode, @@ -31799,7 +31923,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLNode":378}],369:[function(require,module,exports){ +},{"./NodeType":354,"./XMLNode":376}],367:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDEntity, XMLNode, isObject, @@ -31898,7 +32022,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./Utility":357,"./XMLNode":378}],370:[function(require,module,exports){ +},{"./NodeType":354,"./Utility":355,"./XMLNode":376}],368:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDNotation, XMLNode, @@ -31952,7 +32076,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLNode":378}],371:[function(require,module,exports){ +},{"./NodeType":354,"./XMLNode":376}],369:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDeclaration, XMLNode, isObject, @@ -31997,7 +32121,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./Utility":357,"./XMLNode":378}],372:[function(require,module,exports){ +},{"./NodeType":354,"./Utility":355,"./XMLNode":376}],370:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLNamedNodeMap, XMLNode, isObject, @@ -32185,7 +32309,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./Utility":357,"./XMLDTDAttList":367,"./XMLDTDElement":368,"./XMLDTDEntity":369,"./XMLDTDNotation":370,"./XMLNamedNodeMap":377,"./XMLNode":378}],373:[function(require,module,exports){ +},{"./NodeType":354,"./Utility":355,"./XMLDTDAttList":365,"./XMLDTDElement":366,"./XMLDTDEntity":367,"./XMLDTDNotation":368,"./XMLNamedNodeMap":375,"./XMLNode":376}],371:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDOMConfiguration, XMLDOMImplementation, XMLDocument, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject, @@ -32429,7 +32553,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./Utility":357,"./XMLDOMConfiguration":363,"./XMLDOMImplementation":365,"./XMLNode":378,"./XMLStringWriter":383,"./XMLStringifier":384}],374:[function(require,module,exports){ +},{"./NodeType":354,"./Utility":355,"./XMLDOMConfiguration":361,"./XMLDOMImplementation":363,"./XMLNode":376,"./XMLStringWriter":381,"./XMLStringifier":382}],372:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLAttribute, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDocument, XMLDocumentCB, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLStringifier, XMLText, getValue, isFunction, isObject, isPlainObject, ref, @@ -32959,7 +33083,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./Utility":357,"./WriterState":358,"./XMLAttribute":359,"./XMLCData":360,"./XMLComment":362,"./XMLDTDAttList":367,"./XMLDTDElement":368,"./XMLDTDEntity":369,"./XMLDTDNotation":370,"./XMLDeclaration":371,"./XMLDocType":372,"./XMLDocument":373,"./XMLElement":376,"./XMLProcessingInstruction":380,"./XMLRaw":381,"./XMLStringWriter":383,"./XMLStringifier":384,"./XMLText":385}],375:[function(require,module,exports){ +},{"./NodeType":354,"./Utility":355,"./WriterState":356,"./XMLAttribute":357,"./XMLCData":358,"./XMLComment":360,"./XMLDTDAttList":365,"./XMLDTDElement":366,"./XMLDTDEntity":367,"./XMLDTDNotation":368,"./XMLDeclaration":369,"./XMLDocType":370,"./XMLDocument":371,"./XMLElement":374,"./XMLProcessingInstruction":378,"./XMLRaw":379,"./XMLStringWriter":381,"./XMLStringifier":382,"./XMLText":383}],373:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDummy, XMLNode, @@ -32992,7 +33116,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLNode":378}],376:[function(require,module,exports){ +},{"./NodeType":354,"./XMLNode":376}],374:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLAttribute, XMLElement, XMLNamedNodeMap, XMLNode, getValue, isFunction, isObject, ref, @@ -33292,7 +33416,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./Utility":357,"./XMLAttribute":359,"./XMLNamedNodeMap":377,"./XMLNode":378}],377:[function(require,module,exports){ +},{"./NodeType":354,"./Utility":355,"./XMLAttribute":357,"./XMLNamedNodeMap":375,"./XMLNode":376}],375:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLNamedNodeMap; @@ -33352,7 +33476,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],378:[function(require,module,exports){ +},{}],376:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var DocumentPosition, NodeType, XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLNamedNodeMap, XMLNode, XMLNodeList, XMLProcessingInstruction, XMLRaw, XMLText, getValue, isEmpty, isFunction, isObject, ref1, @@ -34139,7 +34263,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./DocumentPosition":355,"./NodeType":356,"./Utility":357,"./XMLCData":360,"./XMLComment":362,"./XMLDeclaration":371,"./XMLDocType":372,"./XMLDummy":375,"./XMLElement":376,"./XMLNamedNodeMap":377,"./XMLNodeList":379,"./XMLProcessingInstruction":380,"./XMLRaw":381,"./XMLText":385}],379:[function(require,module,exports){ +},{"./DocumentPosition":353,"./NodeType":354,"./Utility":355,"./XMLCData":358,"./XMLComment":360,"./XMLDeclaration":369,"./XMLDocType":370,"./XMLDummy":373,"./XMLElement":374,"./XMLNamedNodeMap":375,"./XMLNodeList":377,"./XMLProcessingInstruction":378,"./XMLRaw":379,"./XMLText":383}],377:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLNodeList; @@ -34169,7 +34293,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],380:[function(require,module,exports){ +},{}],378:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLCharacterData, XMLProcessingInstruction, @@ -34220,7 +34344,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLCharacterData":361}],381:[function(require,module,exports){ +},{"./NodeType":354,"./XMLCharacterData":359}],379:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLNode, XMLRaw, @@ -34257,7 +34381,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLNode":378}],382:[function(require,module,exports){ +},{"./NodeType":354,"./XMLNode":376}],380:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLStreamWriter, XMLWriterBase, @@ -34435,7 +34559,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./WriterState":358,"./XMLWriterBase":386}],383:[function(require,module,exports){ +},{"./NodeType":354,"./WriterState":356,"./XMLWriterBase":384}],381:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLStringWriter, XMLWriterBase, @@ -34472,7 +34596,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./XMLWriterBase":386}],384:[function(require,module,exports){ +},{"./XMLWriterBase":384}],382:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLStringifier, @@ -34714,7 +34838,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{}],385:[function(require,module,exports){ +},{}],383:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLCharacterData, XMLText, @@ -34785,7 +34909,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./XMLCharacterData":361}],386:[function(require,module,exports){ +},{"./NodeType":354,"./XMLCharacterData":359}],384:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLProcessingInstruction, XMLRaw, XMLText, XMLWriterBase, assign, @@ -35215,7 +35339,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./Utility":357,"./WriterState":358,"./XMLCData":360,"./XMLComment":362,"./XMLDTDAttList":367,"./XMLDTDElement":368,"./XMLDTDEntity":369,"./XMLDTDNotation":370,"./XMLDeclaration":371,"./XMLDocType":372,"./XMLDummy":375,"./XMLElement":376,"./XMLProcessingInstruction":380,"./XMLRaw":381,"./XMLText":385}],387:[function(require,module,exports){ +},{"./NodeType":354,"./Utility":355,"./WriterState":356,"./XMLCData":358,"./XMLComment":360,"./XMLDTDAttList":365,"./XMLDTDElement":366,"./XMLDTDEntity":367,"./XMLDTDNotation":368,"./XMLDeclaration":369,"./XMLDocType":370,"./XMLDummy":373,"./XMLElement":374,"./XMLProcessingInstruction":378,"./XMLRaw":379,"./XMLText":383}],385:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLDOMImplementation, XMLDocument, XMLDocumentCB, XMLStreamWriter, XMLStringWriter, assign, isFunction, ref; @@ -35282,7 +35406,7 @@ function hasOwnProperty(obj, prop) { }).call(this); -},{"./NodeType":356,"./Utility":357,"./WriterState":358,"./XMLDOMImplementation":365,"./XMLDocument":373,"./XMLDocumentCB":374,"./XMLStreamWriter":382,"./XMLStringWriter":383}],388:[function(require,module,exports){ +},{"./NodeType":354,"./Utility":355,"./WriterState":356,"./XMLDOMImplementation":363,"./XMLDocument":371,"./XMLDocumentCB":372,"./XMLStreamWriter":380,"./XMLStringWriter":381}],386:[function(require,module,exports){ module.exports = extend var hasOwnProperty = Object.prototype.hasOwnProperty; @@ -35303,7 +35427,7 @@ function extend() { return target } -},{}],389:[function(require,module,exports){ +},{}],387:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat"); @@ -35425,7 +35549,7 @@ exports.pbkdf2 = function () { error('sorry,pbkdf2 is not implemented yet'); }; -},{"./md5":391,"./sha":392,"buffer":98,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.fill":235,"core-js/modules/es.array.join":243,"core-js/modules/es.array.slice":246,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259}],390:[function(require,module,exports){ +},{"./md5":389,"./sha":390,"buffer":98,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.fill":235,"core-js/modules/es.array.join":243,"core-js/modules/es.array.slice":246,"core-js/modules/es.object.to-string":254,"core-js/modules/es.regexp.to-string":257}],388:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat"); @@ -35476,7 +35600,7 @@ module.exports = { hash: hash }; -},{"buffer":98,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.fill":235}],391:[function(require,module,exports){ +},{"buffer":98,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.fill":235}],389:[function(require,module,exports){ "use strict"; /* @@ -35635,7 +35759,7 @@ module.exports = function md5(buf) { return helpers.hash(buf, core_md5, 16); }; -},{"./helpers":390}],392:[function(require,module,exports){ +},{"./helpers":388}],390:[function(require,module,exports){ "use strict"; /* @@ -35733,14 +35857,14 @@ module.exports = function sha1(buf) { return helpers.hash(buf, core_sha1, 20, true); }; -},{"./helpers":390}],393:[function(require,module,exports){ +},{"./helpers":388}],391:[function(require,module,exports){ "use strict"; module.exports = function () { return function () {}; }; -},{}],394:[function(require,module,exports){ +},{}],392:[function(require,module,exports){ (function (Buffer){ "use strict"; @@ -35770,7 +35894,7 @@ module.exports.writableStream = function isWritableStream(obj) { }; }).call(this,{"isBuffer":require("../node_modules/is-buffer/index.js")}) -},{"../lib/common/utils/isArray":59,"../node_modules/is-buffer/index.js":310,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"stream":342}],395:[function(require,module,exports){ +},{"../lib/common/utils/isArray":59,"../node_modules/is-buffer/index.js":308,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"stream":340}],393:[function(require,module,exports){ "use strict"; var immediate = require('immediate'); @@ -35817,7 +35941,7 @@ process.umask = function () { return 0; }; -},{"immediate":303}],396:[function(require,module,exports){ +},{"immediate":301}],394:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -36578,7 +36702,7 @@ Url.prototype.parseHost = function () { if (host) this.hostname = host; }; -},{"./util":397,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.index-of":241,"core-js/modules/es.array.join":243,"core-js/modules/es.array.last-index-of":244,"core-js/modules/es.array.slice":246,"core-js/modules/es.array.splice":248,"core-js/modules/es.object.keys":255,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.match":262,"core-js/modules/es.string.replace":263,"core-js/modules/es.string.search":264,"core-js/modules/es.string.split":265,"core-js/modules/es.string.trim":267,"punycode":322,"querystring":325}],397:[function(require,module,exports){ +},{"./util":395,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.index-of":241,"core-js/modules/es.array.join":243,"core-js/modules/es.array.last-index-of":244,"core-js/modules/es.array.slice":246,"core-js/modules/es.array.splice":248,"core-js/modules/es.object.keys":253,"core-js/modules/es.regexp.exec":256,"core-js/modules/es.string.match":260,"core-js/modules/es.string.replace":261,"core-js/modules/es.string.search":262,"core-js/modules/es.string.split":263,"core-js/modules/es.string.trim":265,"punycode":320,"querystring":323}],395:[function(require,module,exports){ 'use strict'; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); @@ -36600,7 +36724,7 @@ module.exports = { } }; -},{"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72}],398:[function(require,module,exports){ +},{"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72}],396:[function(require,module,exports){ "use strict"; require("core-js/modules/es.number.constructor"); @@ -36634,7 +36758,7 @@ exports.timestamp = function timestamp(t) { return Math.round(Date.now() / 1000); }; -},{"core-js/modules/es.number.constructor":250,"escape-html":298}],399:[function(require,module,exports){ +},{"core-js/modules/es.number.constructor":250,"escape-html":296}],397:[function(require,module,exports){ (function (process,Buffer){ 'use strict'; @@ -37441,6 +37565,6 @@ exports.requestWithCallback = function requestWithCallback(url, args, callback) }; }).call(this,require('_process'),require("buffer").Buffer) -},{"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"_process":395,"buffer":98,"constants":100,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.index-of":241,"core-js/modules/es.array.join":243,"core-js/modules/es.function.name":249,"core-js/modules/es.object.to-string":256,"core-js/modules/es.promise":257,"debug":393,"http":79,"https":300,"humanize-ms":301,"url":396,"util":348}]},{},[1])(1) +},{"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"_process":393,"buffer":98,"constants":100,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.index-of":241,"core-js/modules/es.array.join":243,"core-js/modules/es.function.name":249,"core-js/modules/es.object.to-string":254,"core-js/modules/es.promise":255,"debug":391,"http":79,"https":298,"humanize-ms":299,"url":394,"util":346}]},{},[1])(1) }); diff --git a/dist/aliyun-oss-sdk.min.js b/dist/aliyun-oss-sdk.min.js index 61308c81a..042a6f972 100644 --- a/dist/aliyun-oss-sdk.min.js +++ b/dist/aliyun-oss-sdk.min.js @@ -1,20 +1,20 @@ -// Aliyun OSS SDK for JavaScript v6.12.0 +// Aliyun OSS SDK for JavaScript v6.13.0 // Copyright Aliyun.com, Inc. or its affiliates. All Rights Reserved. // License at https://github.com/ali-sdk/ali-oss/blob/master/LICENSE -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.OSS=e()}}(function(){var define,module,exports;return function(){function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[s]={exports:{}};t[s][0].call(l.exports,function(e){return i(t[s][1][e]||e)},l,l.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s1e4)){e.next=36;break}return this._setOptions=Date.now(),e.next=35,I.call(this);case 35:return e.abrupt("return",this.request(t));case 36:throw s;case 37:if(!t.xmlResponse){e.next=42;break}return e.next=40,this.parseXML(n.data);case 40:a=e.sent,n.data=a;case 42:return e.abrupt("return",n);case 43:case"end":return e.stop()}},e,this,[[3,10]])})),u.apply(this,arguments)}var c=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.symbol"),e("core-js/modules/es.symbol.description"),e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.includes"),e("core-js/modules/es.array.index-of"),e("core-js/modules/es.array.slice"),e("core-js/modules/es.function.name"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.to-string"),e("core-js/modules/es.promise"),e("core-js/modules/es.regexp.exec"),e("core-js/modules/es.regexp.to-string"),e("core-js/modules/es.string.replace"),e("core-js/modules/es.string.split"),e("core-js/modules/es.string.starts-with");var l=c(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var f=c(e("@babel/runtime/helpers/asyncToGenerator")),p=e("debug")("ali-oss"),d=e("xml2js"),h=e("agentkeepalive"),m=e("merge-descriptors"),y=e("platform"),b=e("utility"),g=e("urllib"),v=e("./version"),w=e("bowser"),x=e("../common/signUtils"),j=e("../common/client/initOptions"),_=e("../common/utils/createRequest"),E=_.createRequest,T=e("../common/utils/encoder"),S=T.encoder,O=e("../common/client/getReqUrl"),k=O.getReqUrl,A=e("../common/utils/setSTSToken"),I=A.setSTSToken,N=e("../common/utils/retry"),D=N.retry,C=new h;t.exports=s,s.initOptions=function(e){e.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var t=Object.assign({secure:o(),useFetch:!1},e);return j(t)};var R=s.prototype;R.debug=p,m(R,e("./object")),m(R,e("../common/bucket/getBucketWebsite")),m(R,e("../common/bucket/putBucketWebsite")),m(R,e("../common/bucket/deleteBucketWebsite")),m(R,e("../common/bucket/getBucketLifecycle")),m(R,e("../common/bucket/putBucketLifecycle")),m(R,e("../common/bucket/deleteBucketLifecycle")),m(R,e("../common/bucket/putBucketVersioning")),m(R,e("../common/bucket/getBucketVersioning")),m(R,e("../common/bucket/getBucketInventory")),m(R,e("../common/bucket/deleteBucketInventory")),m(R,e("../common/bucket/listBucketInventory")),m(R,e("../common/bucket/putBucketInventory")),m(R,e("../common/bucket/abortBucketWorm")),m(R,e("../common/bucket/completeBucketWorm")),m(R,e("../common/bucket/extendBucketWorm")),m(R,e("../common/bucket/getBucketWorm")),m(R,e("../common/bucket/initiateBucketWorm")),m(R,e("./managed-upload")),m(R,e("../common/multipart")),m(R,e("../common/parallel")),R.signature=function(e){return this.debug("authorization stringToSign: %s",e,"info"),x.computeSignature(this.options.accessKeySecret,e,this.options.headerEncoding)},R._getReqUrl=k,R.authorization=function(e,t,r,n){var i=x.buildCanonicalString(e.toUpperCase(),t,{headers:n,parameters:r});return x.authorization(this.options.accessKeyId,this.options.accessKeySecret,i,this.options.headerEncoding)},R.request=function(){var e=(0,f.default)(l.default.mark(function e(t){var r,n=this;return l.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=!t.stream||t.stream.readable,this.options.retryMax&&r?this.request=D(a.bind(this),this.options.retryMax,{errorHandler:function(e){return!!function(e){var t=[-1,-2].includes(e.status),r=n.options.requestErrorRetryHandle||function(){return!0};return t&&r(e)}(e)}}):this.request=a.bind(this),e.next=4,this.request(t);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),R._getResource=function(e){var t="/";return e.bucket&&(t+="".concat(e.bucket,"/")),e.object&&(t+=S(e.object,this.options.headerEncoding)),t},R._escape=function(e){return b.encodeURIComponent(e).replace(/%2F/g,"/")},R._getUserAgent=function(){var e=n&&n.browser?"js":"nodejs",t="aliyun-sdk-".concat(e,"/").concat(v.version),r=y.description;return!r&&n&&(r="Node.js ".concat(n.version.slice(1)," on ").concat(n.platform," ").concat(n.arch)),this._checkUserAgent("".concat(t," ").concat(r))},R._checkUserAgent=function(e){return e.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},R.checkBrowserAndVersion=function(e,t){return w.name===e&&w.version.split(".")[0]===t},R.parseXML=function(e){return new Promise(function(t,n){r.isBuffer(e)&&(e=e.toString()),d.parseString(e,{explicitRoot:!1,explicitArray:!1},function(e,r){e?n(e):t(r)})})},R.requestError=function(){function e(e){return t.apply(this,arguments)}var t=(0,f.default)(l.default.mark(function e(t){var r,n,i,o;return l.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=null,t.data&&t.data.length){e.next=5;break}-1===t.status||-2===t.status?(r=new Error(t.message),r.name=t.name,r.status=t.status,r.code=t.name):(404===t.status?(r=new Error("Object not exists"),r.name="NoSuchKeyError",r.status=404,r.code="NoSuchKey"):412===t.status?(r=new Error("Pre condition failed"),r.name="PreconditionFailedError",r.status=412,r.code="PreconditionFailed"):(r=new Error("Unknow error, status: ".concat(t.status)),r.name="UnknowError",r.status=t.status),r.requestId=t.headers["x-oss-request-id"],r.host=""),e.next=32;break;case 5:return n=String(t.data),this.debug("request response error data: %s",n,"error"),e.prev=7,e.next=10,this.parseXML(n);case 10:if(e.t0=e.sent,e.t0){e.next=13;break}e.t0={};case 13:i=e.t0,e.next=23;break;case 16:return e.prev=16,e.t1=e.catch(7),this.debug(n,"error"),e.t1.message+="\nraw xml: ".concat(n),e.t1.status=t.status,e.t1.requestId=t.headers["x-oss-request-id"],e.abrupt("return",e.t1);case 23:o=i.Message||"unknow request error, status: ".concat(t.status),i.Condition&&(o+=" (condition: ".concat(i.Condition,")")),r=new Error(o),r.name=i.Code?"".concat(i.Code,"Error"):"UnknowError",r.status=t.status,r.code=i.Code,r.requestId=i.RequestId,r.hostId=i.HostId,r.serverTime=i.ServerTime;case 32:return this.debug("generate error %j",r,"error"),e.abrupt("return",r);case 34:case"end":return e.stop()}},e,this,[[7,16]])}));return e}()}).call(this,{isBuffer:e("../../node_modules/is-buffer/index.js")},e("_process"))},{"../../node_modules/is-buffer/index.js":310,"../common/bucket/abortBucketWorm":6,"../common/bucket/completeBucketWorm":7,"../common/bucket/deleteBucketInventory":8,"../common/bucket/deleteBucketLifecycle":9,"../common/bucket/deleteBucketWebsite":10,"../common/bucket/extendBucketWorm":11,"../common/bucket/getBucketInventory":12,"../common/bucket/getBucketLifecycle":13,"../common/bucket/getBucketVersioning":14,"../common/bucket/getBucketWebsite":15,"../common/bucket/getBucketWorm":16,"../common/bucket/initiateBucketWorm":17,"../common/bucket/listBucketInventory":18,"../common/bucket/putBucketInventory":19,"../common/bucket/putBucketLifecycle":20,"../common/bucket/putBucketVersioning":21,"../common/bucket/putBucketWebsite":22,"../common/client/getReqUrl":24,"../common/client/initOptions":25,"../common/multipart":28,"../common/parallel":46,"../common/signUtils":47,"../common/utils/createRequest":52,"../common/utils/encoder":55,"../common/utils/retry":66,"../common/utils/setSTSToken":68,"./managed-upload":3,"./object":4,"./version":5,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,_process:395,agentkeepalive:75,bowser:77,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.includes":240,"core-js/modules/es.array.index-of":241,"core-js/modules/es.array.slice":246,"core-js/modules/es.function.name":249,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.to-string":256,"core-js/modules/es.promise":257,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.regexp.to-string":259,"core-js/modules/es.string.replace":263,"core-js/modules/es.string.split":265,"core-js/modules/es.string.starts-with":266,"core-js/modules/es.symbol":269,"core-js/modules/es.symbol.description":268,debug:393,"merge-descriptors":313,platform:319,"regenerator-runtime/runtime":339,urllib:399,utility:398,xml2js:354}],3:[function(e,t,r){(function(t){"use strict";function n(e,t){if(!(this instanceof n))return new n(e,t);x.call(this,t),this.file=e,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}var i=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.filter"),e("core-js/modules/es.array.find"),e("core-js/modules/es.array.from"),e("core-js/modules/es.array.index-of"),e("core-js/modules/es.array.iterator"),e("core-js/modules/es.array.map"),e("core-js/modules/es.array.slice"),e("core-js/modules/es.array.splice"),e("core-js/modules/es.array-buffer.slice"),e("core-js/modules/es.function.name"),e("core-js/modules/es.object.to-string"),e("core-js/modules/es.promise"),e("core-js/modules/es.regexp.to-string"),e("core-js/modules/es.string.iterator"),e("core-js/modules/es.typed-array.uint8-array"),e("core-js/modules/es.typed-array.copy-within"),e("core-js/modules/es.typed-array.every"),e("core-js/modules/es.typed-array.fill"),e("core-js/modules/es.typed-array.filter"),e("core-js/modules/es.typed-array.find"),e("core-js/modules/es.typed-array.find-index"),e("core-js/modules/es.typed-array.for-each"),e("core-js/modules/es.typed-array.includes"),e("core-js/modules/es.typed-array.index-of"),e("core-js/modules/es.typed-array.iterator"),e("core-js/modules/es.typed-array.join"),e("core-js/modules/es.typed-array.last-index-of"),e("core-js/modules/es.typed-array.map"),e("core-js/modules/es.typed-array.reduce"),e("core-js/modules/es.typed-array.reduce-right"),e("core-js/modules/es.typed-array.reverse"),e("core-js/modules/es.typed-array.set"),e("core-js/modules/es.typed-array.slice"),e("core-js/modules/es.typed-array.some"),e("core-js/modules/es.typed-array.sort"),e("core-js/modules/es.typed-array.subarray"),e("core-js/modules/es.typed-array.to-locale-string"),e("core-js/modules/es.typed-array.to-string");var o=i(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var s=i(e("@babel/runtime/helpers/asyncToGenerator")),a=e("util"),u=e("path"),c=e("mime"),l=e("copy-to"),f=e("../common/utils/isBlob"),p=f.isBlob,d=e("../common/utils/isFile"),h=d.isFile,m=e("../common/utils/isArray"),y=m.isArray,b=e("../common/utils/isBuffer"),g=b.isBuffer,v=r;v.multipartUpload=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,s.default)(o.default.mark(function e(t,r){var n,i,s,a,l,f,d,m,y,b=arguments;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=b.length>2&&void 0!==b[2]?b[2]:{},this.resetCancelFlag(),!n.checkpoint||!n.checkpoint.uploadId){e.next=7;break}return r&&h(r)&&(n.checkpoint.file=r),e.next=6,this._resumeMultipart(n.checkpoint,n);case 6:return e.abrupt("return",e.sent);case 7:return i=102400,n.mime||(h(r)?n.mime=c.getType(u.extname(r.name)):p(r)?n.mime=r.type:g(r)?n.mime="":n.mime=c.getType(u.extname(r))),n.headers=n.headers||{},this._convertMetaToHeaders(n.meta,n.headers),e.next=13,this._getFileSize(r);case 13:if(!((s=e.sent)0&&l(f).to(d),h=this._divideParts(a,u),m=h.length,b=!1,g=function(e,n){return new Promise(function(){var a=(0,s.default)(o.default.mark(function s(a,u){var d,g,v,w,x,j;return o.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(o.prev=0,e.isCancel()){o.next=33;break}return d=h[n-1],g=e._createStream(i,d.start,d.end),v={stream:g,size:d.end-d.start},y(e.multipartUploadStreams)?e.multipartUploadStreams.push(g):e.multipartUploadStreams=[g],w=function(){g.destroyed||g.destroy();var t=e.multipartUploadStreams.indexOf(g);-1!==t&&e.multipartUploadStreams.splice(t,1)},g.on("close",w),g.on("end",w),g.on("error",w),o.prev=10,o.next=13,e._uploadPart(p,c,n,v);case 13:x=o.sent,o.next=22;break;case 16:if(o.prev=16,o.t0=o.catch(10),w(),404!==o.t0.status){o.next=21;break}throw e._makeAbortEvent();case 21:throw o.t0;case 22:if(e.isCancel()||b){o.next=30;break}if(t.doneParts.push({number:n,etag:x.res.headers.etag}),!r.progress){o.next=27;break}return o.next=27,r.progress(f.length/m,t,x.res);case 27:a({number:n,etag:x.res.headers.etag}),o.next=31;break;case 30:a();case 31:o.next=34;break;case 33:a();case 34:o.next=45;break;case 36:o.prev=36,o.t1=o.catch(0),j=new Error,j.name=o.t1.name,j.message=o.t1.message,j.stack=o.t1.stack,j.partNum=n,l(o.t1).to(j),u(j);case 45:case"end":return o.stop()}},s,null,[[0,36],[10,16]])}));return function(e,t){return a.apply(this,arguments)}}())},v=Array.from(new Array(m),function(e,t){return t+1}),w=d.map(function(e){return e.number}),x=v.filter(function(e){return w.indexOf(e)<0}),j=5,_=r.parallel||j,e.next=17,this._parallel(x,_,function(e){return new Promise(function(t,r){g(n,e).then(function(e){e&&d.push(e),t()}).catch(function(e){r(e)})})});case 17:if(E=e.sent,b=!0,!(T=E.find(function(e){return"abort"===e.name}))){e.next=22;break}throw T;case 22:if(!this.isCancel()){e.next=25;break}throw g=null,this._makeCancelEvent();case 25:if(!(E&&E.length>0)){e.next=28;break}throw E[0].message="Failed to upload some parts with error: ".concat(E[0].toString()," part_num: ").concat(E[0].partNum),E[0];case 28:return e.next=30,this.completeMultipartUpload(p,c,d,r);case 30:return e.abrupt("return",e.sent);case 31:case"end":return e.stop()}},e,this)}));return e}(),v._getFileSize=function(){function e(e){return t.apply(this,arguments)}var t=(0,s.default)(o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!g(t)){e.next=4;break}return e.abrupt("return",t.length);case 4:if(!p(t)&&!h(t)){e.next=6;break}return e.abrupt("return",t.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return e.stop()}},e)}));return e}();var w=e("stream"),x=w.Readable;a.inherits(n,x),n.prototype.readFileAndPush=function(e){if(this.fileBuffer)for(var t=!0;t&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:n,this.start=n,t=this.push(this.fileBuffer.slice(r,n))}},n.prototype._read=function(e){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||0===this.start&&!this.file)return this.finish||(this.fileBuffer=null,this.finish=!0),void this.push(null);e=e||16384;var r=this;this.reader.onload=function(n){r.fileBuffer=t.from(new Uint8Array(n.target.result)),r.file=null,r.readFileAndPush(e)},0===this.start?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(e)},v._createStream=function(e,t,r){if(p(e)||h(e))return new n(e.slice(t,r));if(g(e)){var i=e.subarray(t,r);return new x({read:function(){this.push(i),this.push(null)}})}throw new Error("_createStream requires Buffer/File/Blob.")},v._getPartSize=function(e,t){t||(t=1048576);var r=Math.ceil(e/1e4);return t2&&void 0!==c[2]?c[2]:{},i=Object.assign({inventory:"",inventoryId:r},n.subres),u.checkBucketName(t),o=this._bucketRequestParams("DELETE",t,i,n),o.successStatuses=[204],e.next=7,this.request(o);case 7:return a=e.sent,e.abrupt("return",{status:a.status,res:a.res});case 9:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}var o=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var s=o(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var a=o(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(r,"__esModule",{value:!0}),r.deleteBucketInventory=void 0;var u=e("../utils/checkBucketName");r.deleteBucketInventory=n},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],9:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName"),a=s.checkBucketName;r.deleteBucketLifecycle=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a(t),n=this._bucketRequestParams("DELETE",t,"lifecycle",r),n.successStatuses=[204],e.next=5,this.request(n);case 5:return o=e.sent,e.abrupt("return",{res:o.res});case 7:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],10:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName"),a=s.checkBucketName;r.deleteBucketWebsite=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a(t),n=this._bucketRequestParams("DELETE",t,"website",r),n.successStatuses=[204],e.next=5,this.request(n);case 5:return o=e.sent,e.abrupt("return",{res:o.res});case 7:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],11:[function(e,t,r){"use strict";function n(e,t,r,n){return i.apply(this,arguments)}function i(){return i=(0,a.default)(s.default.mark(function e(t,r,n,i){var o,a,l;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u.checkBucketName(t),o=this._bucketRequestParams("POST",t,{wormExtend:"",wormId:r},i),a={ExtendWormConfiguration:{RetentionPeriodInDays:n}},o.mime="xml",o.content=c.obj2xml(a,{headers:!0}),o.successStatuses=[200],e.next=8,this.request(o);case 8:return l=e.sent,e.abrupt("return",{res:l.res,status:l.status});case 10:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}var o=e("@babel/runtime/helpers/interopRequireDefault"),s=o(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var a=o(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(r,"__esModule",{value:!0}),r.extendBucketWorm=void 0;var u=e("../utils/checkBucketName"),c=e("../utils/obj2xml");r.extendBucketWorm=n},{"../utils/checkBucketName":48,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],12:[function(e,t,r){"use strict";function n(e,t){return i.apply(this,arguments)}function i(){return i=(0,a.default)(s.default.mark(function e(t,r){var n,i,o,a,l=arguments;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.length>2&&void 0!==l[2]?l[2]:{},i=Object.assign({inventory:"",inventoryId:r},n.subres),u.checkBucketName(t),o=this._bucketRequestParams("GET",t,i,n),o.successStatuses=[200],o.xmlResponse=!0,e.next=8,this.request(o);case 8:return a=e.sent,e.abrupt("return",{status:a.status,res:a.res,inventory:c.formatInventoryConfig(a.data)});case 10:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}var o=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var s=o(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var a=o(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(r,"__esModule",{value:!0}),r.getBucketInventory=void 0;var u=e("../utils/checkBucketName"),c=e("../utils/formatInventoryConfig");r.getBucketInventory=n},{"../utils/checkBucketName":48,"../utils/formatInventoryConfig":56,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],13:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.map");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName"),a=s.checkBucketName,u=e("../utils/isArray"),c=u.isArray,l=e("../utils/formatObjKey"),f=l.formatObjKey;r.getBucketLifecycle=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o,s;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a(t),n=this._bucketRequestParams("GET",t,"lifecycle",r),n.successStatuses=[200],n.xmlResponse=!0,e.next=6,this.request(n);case 6:return o=e.sent,s=o.data.Rule||null,s&&(c(s)||(s=[s]),s=s.map(function(e){return e.ID&&(e.id=e.ID,delete e.ID),e.Tag&&!c(e.Tag)&&(e.Tag=[e.Tag]),f(e,"firstLowerCase")})),e.abrupt("return",{rules:s,res:o.res});case 10:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"../utils/formatObjKey":57,"../utils/isArray":59,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.map":245,"regenerator-runtime/runtime":339}],14:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName"),a=s.checkBucketName;r.getBucketVersioning=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o,s;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a(t),n=this._bucketRequestParams("GET",t,"versioning",r),n.xmlResponse=!0,n.successStatuses=[200],e.next=6,this.request(n);case 6:return o=e.sent,s=o.data.Status,e.abrupt("return",{status:o.status,versionStatus:s,res:o.res});case 9:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],15:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName"),a=s.checkBucketName,u=e("../utils/isObject"),c=u.isObject;r.getBucketWebsite=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o,s;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a(t),n=this._bucketRequestParams("GET",t,"website",r),n.successStatuses=[200],n.xmlResponse=!0,e.next=6,this.request(n);case 6:return o=e.sent,s=[],o.data.RoutingRules&&o.data.RoutingRules.RoutingRule&&(s=c(o.data.RoutingRules.RoutingRule)?[o.data.RoutingRules.RoutingRule]:o.data.RoutingRules.RoutingRule),e.abrupt("return",{index:o.data.IndexDocument&&o.data.IndexDocument.Suffix||"",supportSubDir:o.data.IndexDocument&&o.data.IndexDocument.SupportSubDir||"false",type:o.data.IndexDocument&&o.data.IndexDocument.Type,routingRules:s,error:o.data.ErrorDocument&&o.data.ErrorDocument.Key||null,res:o.res});case 10:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],16:[function(e,t,r){"use strict";function n(e,t){return i.apply(this,arguments)}function i(){return i=(0,a.default)(s.default.mark(function e(t,r){var n,i;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u.checkBucketName(t),n=this._bucketRequestParams("GET",t,"worm",r),n.successStatuses=[200],n.xmlResponse=!0,e.next=6,this.request(n);case 6:return i=e.sent,c.dataFix(i.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),e.abrupt("return",Object.assign(Object.assign({},i.data),{res:i.res,status:i.status}));case 9:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}var o=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var s=o(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var a=o(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(r,"__esModule",{value:!0}),r.getBucketWorm=void 0;var u=e("../utils/checkBucketName"),c=e("../utils/dataFix");r.getBucketWorm=n},{"../utils/checkBucketName":48,"../utils/dataFix":53,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],17:[function(e,t,r){"use strict";function n(e,t,r){return i.apply(this,arguments)}function i(){return i=(0,a.default)(s.default.mark(function e(t,r,n){var i,o,a;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c.checkBucketName(t),i=this._bucketRequestParams("POST",t,"worm",n),o={InitiateWormConfiguration:{RetentionPeriodInDays:r}},i.mime="xml",i.content=u.obj2xml(o,{headers:!0}),i.successStatuses=[200],e.next=8,this.request(i);case 8:return a=e.sent,e.abrupt("return",{res:a.res,wormId:a.res.headers["x-oss-worm-id"],status:a.status});case 10:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}var o=e("@babel/runtime/helpers/interopRequireDefault"),s=o(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var a=o(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(r,"__esModule",{value:!0}),r.initiateBucketWorm=void 0;var u=e("../utils/obj2xml"),c=e("../utils/checkBucketName");r.initiateBucketWorm=n},{"../utils/checkBucketName":48,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],18:[function(e,t,r){"use strict";function n(e){return i.apply(this,arguments)}function i(){return i=(0,a.default)(s.default.mark(function e(t){var r,n,i,o,a,l,f,p,d=arguments;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},n=r.continuationToken,i=Object.assign({inventory:""},n&&{"continuation-token":n},r.subres),u.checkBucketName(t),o=this._bucketRequestParams("GET",t,i,r),o.successStatuses=[200],o.xmlResponse=!0,e.next=9,this.request(o);case 9:return a=e.sent,l=a.data,f=a.res,p=a.status,e.abrupt("return",{isTruncated:"true"===l.IsTruncated,nextContinuationToken:l.NextContinuationToken,inventoryList:c.formatInventoryConfig(l.InventoryConfiguration,!0),status:p,res:f});case 12:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}var o=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var s=o(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var a=o(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(r,"__esModule",{value:!0}),r.listBucketInventory=void 0;var u=e("../utils/checkBucketName"),c=e("../utils/formatInventoryConfig");r.listBucketInventory=n},{"../utils/checkBucketName":48,"../utils/formatInventoryConfig":56,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],19:[function(e,t,r){"use strict";function n(e,t){return i.apply(this,arguments)}function i(){return i=(0,a.default)(s.default.mark(function e(t,r){var n,i,o,a,l,f,p,d,h,m,y,b=arguments;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=b.length>2&&void 0!==b[2]?b[2]:{},i=Object.assign({inventory:"",inventoryId:r.id},n.subres),u.checkBucketName(t),o=r.OSSBucketDestination,a=r.optionalFields,l=r.includedObjectVersions,f="acs:oss:::",p="acs:ram::".concat(o.accountId,":role/"),d={InventoryConfiguration:{Id:r.id,IsEnabled:r.isEnabled,Filter:{Prefix:r.prefix||""},Destination:{OSSBucketDestination:{Format:o.format,AccountId:o.accountId,RoleArn:"".concat(p).concat(o.rolename),Bucket:"".concat(f).concat(o.bucket),Prefix:o.prefix||"",Encryption:o.encryption||""}},Schedule:{Frequency:r.frequency},IncludedObjectVersions:l,OptionalFields:{Field:(null===a||void 0===a?void 0:a.field)||[]}}},h=c.obj2xml(d,{headers:!0,firstUpperCase:!0}),m=this._bucketRequestParams("PUT",t,i,n),m.successStatuses=[200],m.mime="xml",m.content=h,e.next=14,this.request(m);case 14:return y=e.sent,e.abrupt("return",{status:y.status,res:y.res});case 16:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}var o=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.concat"),e("core-js/modules/es.object.assign");var s=o(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var a=o(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(r,"__esModule",{value:!0}),r.putBucketInventory=void 0;var u=e("../utils/checkBucketName"),c=e("../utils/obj2xml");r.putBucketInventory=n},{"../utils/checkBucketName":48,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],20:[function(e,t,r){"use strict";function n(e){e.days&&(e.expiration={days:e.days}),e.date&&(e.expiration={createdBeforeDate:e.date})}function i(e,t){var r=e.days,n=e.createdBeforeDate;if(!r&&!n)throw new Error("".concat(t," must includes days or createdBeforeDate"));if(r&&!/^[1-9][0-9]*$/.test(r))throw new Error("days must be a positive integer");if(n&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(n))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function o(e){if(!d(e)&&!b(e))throw new Error("tag must be Object or Array");e=b(e)?[e]:e;var t={};m(e).forEach(function(e){t[e.key]=e.value}),x(t)}function s(e){if(e.id&&_(e.id)>255)throw new Error("ID is composed of 255 bytes at most");if(void 0===e.prefix)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(e.status))throw new Error("Status must be Enabled or Disabled");if(e.transition){if(!["IA","Archive"].includes(e.transition.storageClass))throw new Error("StorageClass must be IA or Archive");i(e.transition,"Transition")}if(e.expiration)if(e.expiration.expiredObjectDeleteMarker){if(e.expiration.days||e.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}else i(e.expiration,"Expiration");if(e.abortMultipartUpload&&i(e.abortMultipartUpload,"AbortMultipartUpload"),!(e.expiration||e.abortMultipartUpload||e.transition||e.noncurrentVersionTransition))throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(e.tag){if(e.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");o(e.tag)}}var a=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.for-each"),e("core-js/modules/es.array.includes"),e("core-js/modules/web.dom-collections.for-each");var u=a(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var c=a(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),f=l.checkBucketName,p=e("../utils/isArray"),d=p.isArray,h=e("../utils/deepCopy"),m=h.deepCopy,y=e("../utils/isObject"),b=y.isObject,g=e("../utils/obj2xml"),v=g.obj2xml,w=e("../utils/checkObjectTag"),x=w.checkObjectTag,j=e("../utils/getStrBytesCount"),_=j.getStrBytesCount;r.putBucketLifecycle=function(){function e(e,r,n){return t.apply(this,arguments)}var t=(0,c.default)(u.default.mark(function e(t,r,i){var o,a,c,l,p;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(f(t),d(r)){e.next=3;break}throw new Error("rules must be Array");case 3:return o=this._bucketRequestParams("PUT",t,"lifecycle",i),a=[],c={LifecycleConfiguration:{Rule:a}},r.forEach(function(e){n(e),s(e),e.id&&(e.ID=e.id,delete e.id),a.push(e)}),l=v(c,{headers:!0,firstUpperCase:!0}),o.content=l,o.mime="xml",o.successStatuses=[200],e.next=13,this.request(o);case 13:return p=e.sent,e.abrupt("return",{res:p.res});case 15:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"../utils/checkObjectTag":50,"../utils/deepCopy":54,"../utils/getStrBytesCount":58,"../utils/isArray":59,"../utils/isObject":64,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],21:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.includes");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName"),a=s.checkBucketName,u=e("../utils/obj2xml"),c=u.obj2xml;r.putBucketVersioning=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o,s,u,l=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=l.length>2&&void 0!==l[2]?l[2]:{},a(t),["Enabled","Suspended"].includes(r)){e.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return o=this._bucketRequestParams("PUT",t,"versioning",n),s={VersioningConfiguration:{Status:r}},o.mime="xml",o.content=c(s,{headers:!0}),e.next=10,this.request(o);case 10:return u=e.sent,e.abrupt("return",{res:u.res,status:u.status});case 12:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.includes":240,"regenerator-runtime/runtime":339}],22:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/checkBucketName"),a=s.checkBucketName,u=e("../utils/obj2xml"),c=u.obj2xml,l=e("../utils/isArray"),f=l.isArray;r.putBucketWebsite=function(){function e(e){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t){var r,n,o,s,u,l,p,d=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=d.length>1&&void 0!==d[1]?d[1]:{},n=d.length>2?d[2]:void 0,a(t),o=this._bucketRequestParams("PUT",t,"website",n),s={Suffix:r.index||"index.html"},u={IndexDocument:s},l={WebsiteConfiguration:u},r.supportSubDir&&(s.SupportSubDir=r.supportSubDir),r.type&&(s.Type=r.type),r.error&&(u.ErrorDocument={Key:r.error}),void 0===r.routingRules){e.next=14;break}if(f(r.routingRules)){e.next=13;break}throw new Error("RoutingRules must be Array");case 13:u.RoutingRules={RoutingRule:r.routingRules};case 14:return l=c(l),o.content=l,o.mime="xml",o.successStatuses=[200],e.next=20,this.request(o);case 20:return p=e.sent,e.abrupt("return",{res:p.res});case 22:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"../utils/isArray":59,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"regenerator-runtime/runtime":339}],23:[function(e,t,r){(function(t){"use strict";e("core-js/modules/es.array.for-each"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.object.to-string"),e("core-js/modules/es.regexp.to-string"),e("core-js/modules/web.dom-collections.for-each"),r.encodeCallback=function(e,r){if(e.headers=e.headers||{},!Object.prototype.hasOwnProperty.call(e.headers,"x-oss-callback")&&r.callback){var n={callbackUrl:encodeURI(r.callback.url),callbackBody:r.callback.body};r.callback.host&&(n.callbackHost=r.callback.host),r.callback.contentType&&(n.callbackBodyType=r.callback.contentType);var i=t.from(JSON.stringify(n)).toString("base64");if(e.headers["x-oss-callback"]=i,r.callback.customValue){var o={};Object.keys(r.callback.customValue).forEach(function(e){o["x:".concat(e)]=r.callback.customValue[e]}),e.headers["x-oss-callback-var"]=t.from(JSON.stringify(o)).toString("base64")}}}}).call(this,e("buffer").Buffer)},{buffer:98,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.keys":255,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259,"core-js/modules/web.dom-collections.for-each":294}],24:[function(e,t,r){"use strict";function n(e){var t={},r=this.options.cname;l.checkConfigValid(this.options.endpoint,"endpoint"),o.default(this.options.endpoint,!1).to(t),!e.bucket||r||c.isIP(t.hostname)||this.options.sldEnable||(t.host="".concat(e.bucket,".").concat(t.host));var n="/";e.bucket&&this.options.sldEnable&&(n+="".concat(e.bucket,"/")),e.object&&(n+=this._escape(e.object).replace(/\+/g,"%2B")),t.pathname=n;var i={};if(e.query&&a.default(i,e.query),e.subres){var f={};u.default.string(e.subres)?f[e.subres]="":u.default.array(e.subres)?e.subres.forEach(function(e){f[e]=""}):f=e.subres,a.default(i,f)}return t.query=i,s.default.format(t)}e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.for-each"),e("core-js/modules/es.regexp.exec"),e("core-js/modules/es.string.replace"),e("core-js/modules/web.dom-collections.for-each");var i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.getReqUrl=void 0;var o=i(e("copy-to")),s=i(e("url")),a=i(e("merge-descriptors")),u=i(e("is-type-of")),c=e("../utils/isIP"),l=e("../utils/checkConfigValid");r.getReqUrl=n},{"../utils/checkConfigValid":49,"../utils/isIP":63,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294,"is-type-of":394,"merge-descriptors":313,url:396}],25:[function(e,t,r){"use strict";function n(e,t){f(e,"endpoint");var r=o.parse(e);if(r.protocol||(r=o.parse("http".concat(t?"s":"","://").concat(e))),"http:"!==r.protocol&&"https:"!==r.protocol)throw new Error("Endpoint protocol must be http or https.");return r}e("core-js/modules/es.array.concat"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.string.trim");var i=e("humanize-ms"),o=e("url"),s=e("../utils/checkBucketName"),a=s.checkBucketName,u=e("../utils/setRegion"),c=u.setRegion,l=e("../utils/checkConfigValid"),f=l.checkConfigValid;t.exports=function(e){if(!e||!e.accessKeyId||!e.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");e.bucket&&a(e.bucket);var t=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null},e);if(t.accessKeyId=t.accessKeyId.trim(),t.accessKeySecret=t.accessKeySecret.trim(),t.timeout&&(t.timeout=i(t.timeout)),t.endpoint)t.endpoint=n(t.endpoint,t.secure);else{if(!t.region)throw new Error("require options.endpoint or options.region");t.endpoint=c(t.region,t.internal,t.secure)}return t.inited=!0,t}},{"../utils/checkBucketName":48,"../utils/checkConfigValid":49,"../utils/setRegion":67,"core-js/modules/es.array.concat":234,"core-js/modules/es.object.assign":251,"core-js/modules/es.string.trim":267,"humanize-ms":301,url:396}],26:[function(e,t,r){"use strict";e("merge-descriptors")(r,e("./processObjectSave"))},{"./processObjectSave":27,"merge-descriptors":313}],27:[function(e,t,r){"use strict";function n(e,t){if(!e)throw new Error("".concat(t," is required"));if("string"!=typeof e)throw new Error("".concat(t," must be String"))}var i=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.concat");var o=i(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var s=i(e("@babel/runtime/helpers/asyncToGenerator")),a=e("../utils/checkBucketName"),u=a.checkBucketName,c=e("querystring"),l=e("js-base64"),f=l.Base64.encode;r.processObjectSave=function(){function e(e,r,n,i){return t.apply(this,arguments)}var t=(0,s.default)(o.default.mark(function e(t,r,i,s){var a,l,p,d;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(t,"sourceObject"),n(r,"targetObject"),n(i,"process"),r=this._objectName(r),s&&u(s),a=this._objectRequestParams("POST",t,{subres:"x-oss-process"}),l=s?",b_".concat(f(s)):"",r=f(r),p={"x-oss-process":"".concat(i,"|sys/saveas,o_").concat(r).concat(l)},a.content=c.stringify(p),e.next=12,this.request(a);case 12:return d=e.sent,e.abrupt("return",{res:d.res,status:d.res.status});case 14:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"js-base64":312,querystring:325,"regenerator-runtime/runtime":339}],28:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.filter"),e("core-js/modules/es.array.map"),e("core-js/modules/es.array.sort"),e("core-js/modules/es.object.to-string"),e("core-js/modules/es.regexp.to-string");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("copy-to"),a=e("./callback"),u=e("./utils/deepCopy"),c=u.deepCopy,l=r;l.listUploads=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o,a,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=r||{},n={},s(r).to(n),n.subres="uploads",o=this._objectRequestParams("GET","",n),o.query=t,o.xmlResponse=!0,o.successStatuses=[200],e.next=10,this.request(o);case 10:return a=e.sent,u=a.data.Upload||[],Array.isArray(u)||(u=[u]),u=u.map(function(e){return{name:e.Key,uploadId:e.UploadId,initiated:e.Initiated}}),e.abrupt("return",{res:a.res,uploads:u,bucket:a.data.Bucket,nextKeyMarker:a.data.NextKeyMarker,nextUploadIdMarker:a.data.NextUploadIdMarker,isTruncated:"true"===a.data.IsTruncated});case 15:case"end":return e.stop()}},e,this)}));return e}(),l.listParts=function(){function e(e,r,n,i){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r,n,o){var a,u,c;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=o||{},a={},s(o).to(a),a.subres={uploadId:r},u=this._objectRequestParams("GET",t,a),u.query=n,u.xmlResponse=!0,u.successStatuses=[200],e.next=10,this.request(u);case 10:return c=e.sent,e.abrupt("return",{res:c.res,uploadId:c.data.UploadId,bucket:c.data.Bucket,name:c.data.Key,partNumberMarker:c.data.PartNumberMarker,nextPartNumberMarker:c.data.NextPartNumberMarker,maxParts:c.data.MaxParts,isTruncated:c.data.IsTruncated,parts:c.data.Part||[]});case 12:case"end":return e.stop()}},e,this)}));return e}(),l.abortMultipartUpload=function(){function e(e,r,n){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r,n){var o,a,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._stop(),n=n||{},o={},s(n).to(o),o.subres={uploadId:r},a=this._objectRequestParams("DELETE",t,o),a.successStatuses=[204],e.next=9,this.request(a);case 9:return u=e.sent,e.abrupt("return",{res:u.res});case 11:case"end":return e.stop()}},e,this)}));return e}(),l.initMultipartUpload=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o,a;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=r||{},n={},s(r).to(n),n.headers=n.headers||{},this._convertMetaToHeaders(r.meta,n.headers),n.subres="uploads",o=this._objectRequestParams("POST",t,n),o.mime=r.mime,o.xmlResponse=!0,o.successStatuses=[200],e.next=12,this.request(o);case 12:return a=e.sent,e.abrupt("return",{res:a.res,bucket:a.data.Bucket,name:a.data.Key,uploadId:a.data.UploadId});case 14:case"end":return e.stop()}},e,this)}));return e}(),l.uploadPart=function(){function e(e,r,n,i,o,s,a){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r,n,o,s,a,u){var c;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c={stream:this._createStream(o,s,a),size:a-s},e.next=3,this._uploadPart(t,r,n,c,u);case 3: -return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)}));return e}(),l.completeMultipartUpload=function(){function e(e,r,n,i){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r,n,o){var s,u,l,f,p,d,h,m;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(s=n.concat().sort(function(e,t){return e.number-t.number}).filter(function(e,t,r){return!t||e.number!==r[t-1].number}),u='\n\n',l=0;l\n",u+="".concat(f.number,"\n"),u+="".concat(f.etag,"\n"),u+="\n";return u+="",o=o||{},p={},p=c(o),p.headers&&delete p.headers["x-oss-server-side-encryption"],p.subres={uploadId:r},d=this._objectRequestParams("POST",t,p),a.encodeCallback(d,p),d.mime="xml",d.content=u,d.headers&&d.headers["x-oss-callback"]||(d.xmlResponse=!0),d.successStatuses=[200],e.next=17,this.request(d);case 17:return h=e.sent,m={res:h.res,bucket:d.bucket,name:t,etag:h.res.headers.etag},d.headers&&d.headers["x-oss-callback"]&&(m.data=JSON.parse(h.data.toString())),e.abrupt("return",m);case 21:case"end":return e.stop()}},e,this)}));return e}(),l._uploadPart=function(){function e(e,r,n,i,o){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r,n,o,a){var u,c,l;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=a||{},u={},s(a).to(u),u.headers={"Content-Length":o.size},u.subres={partNumber:n,uploadId:r},c=this._objectRequestParams("PUT",t,u),c.mime=u.mime,c.stream=o.stream,c.successStatuses=[200],e.next=11,this.request(c);case 11:if(l=e.sent,l.res.headers.etag){e.next=14;break}throw new Error("Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html");case 14:return o.stream=null,c.stream=null,e.abrupt("return",{name:t,etag:l.res.headers.etag,res:l.res});case 17:case"end":return e.stop()}},e,this)}));return e}()},{"./callback":23,"./utils/deepCopy":54,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.filter":236,"core-js/modules/es.array.map":245,"core-js/modules/es.array.sort":247,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259,"regenerator-runtime/runtime":339}],29:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.find"),e("core-js/modules/es.array.for-each"),e("core-js/modules/es.array.includes"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.regexp.exec"),e("core-js/modules/es.string.replace"),e("core-js/modules/web.dom-collections.for-each");var i=n(e("@babel/runtime/regenerator")),o=n(e("@babel/runtime/helpers/typeof"));e("regenerator-runtime/runtime");var s=n(e("@babel/runtime/helpers/asyncToGenerator")),a=e("../utils/checkBucketName"),u=a.checkBucketName,c=r,l=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];c.copy=function(){function e(e,r,n,i){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t,r,n,s){var a,u,c;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===(0,o.default)(n)&&(s=n),s=s||{},s.headers=s.headers||{},Object.keys(s.headers).forEach(function(e){s.headers["x-oss-copy-source-".concat(e.toLowerCase())]=s.headers[e]}),(s.meta||Object.keys(s.headers).find(function(e){return l.includes(e.toLowerCase())}))&&(s.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(s.meta,s.headers),r=this._getSourceName(r,n),s.versionId&&(r="".concat(r,"?versionId=").concat(s.versionId)),s.headers["x-oss-copy-source"]=r,a=this._objectRequestParams("PUT",t,s),a.xmlResponse=!0,a.successStatuses=[200,304],e.next=14,this.request(a);case 14:return u=e.sent,c=u.data,c&&(c={etag:c.ETag,lastModified:c.LastModified}),e.abrupt("return",{data:c,res:u.res});case 18:case"end":return e.stop()}},e,this)}));return e}(),c._getSourceName=function(e,t){return"string"==typeof t?e=this._objectName(e):"/"!==e[0]?t=this.options.bucket:(t=e.replace(/\/(.+?)(\/.*)/,"$1"),e=e.replace(/(\/.+?\/)(.*)/,"$2")),u(t),e=encodeURI(e),e="/".concat(t,"/").concat(e)}},{"../utils/checkBucketName":48,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"@babel/runtime/regenerator":74,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.find":237,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/es.object.keys":255,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],30:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator"));r.delete=function(){function e(e){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t){var r,n,o,s=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:{},r.subres=Object.assign({},r.subres),r.versionId&&(r.subres.versionId=r.versionId),n=this._objectRequestParams("DELETE",t,r),n.successStatuses=[204],e.next=7,this.request(n);case 7:return o=e.sent,e.abrupt("return",{res:o.res});case 9:case"end":return e.stop()}},e,this)}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],31:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("utility"),a=e("../utils/obj2xml"),u=a.obj2xml;r.deleteMulti=function(){function e(e){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t){var r,n,o,a,c,l,f,p,d,h,m,y,b,g=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=g.length>1&&void 0!==g[1]?g[1]:{},n=[],t&&t.length){e.next=4;break}throw new Error("names is required");case 4:for(o=0;o1&&void 0!==s[1]?s[1]:{},r.subres=Object.assign({tagging:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),t=this._objectName(t),n=this._objectRequestParams("DELETE",t,r),n.successStatuses=[204],e.next=8,this.request(n);case 8:return o=e.sent,e.abrupt("return",{status:o.status,res:o.res});case 10:case"end":return e.stop()}},e,this)}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],33:[function(e,t,r){"use strict";e("core-js/modules/es.array.concat");var n=e("url"),i=e("../utils/isIP"),o=i.isIP;r.generateObjectUrl=function(e,t){if(o(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(t)"/"!==t[t.length-1]&&(t+="/");else{t=this.options.endpoint.format();var r=n.parse(t),i=this.options.bucket;r.hostname="".concat(i,".").concat(r.hostname),r.host="".concat(i,".").concat(r.host),t=r.format()}return t+this._escape(this._objectName(e))}},{"../utils/isIP":63,"core-js/modules/es.array.concat":234,url:396}],34:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("fs"),a=e("is-type-of");r.get=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o,u,c,l,f=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=f.length>2&&void 0!==f[2]?f[2]:{},o=null,u=!1,a.writableStream(r)?o=r:a.string(r)?(o=s.createWriteStream(r),u=!0):n=r,n=n||{},n.subres=Object.assign({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.process&&(n.subres["x-oss-process"]=n.process),e.prev=8,l=this._objectRequestParams("GET",t,n),l.writeStream=o,l.successStatuses=[200,206,304],e.next=14,this.request(l);case 14:c=e.sent,u&&o.destroy(),e.next=25;break;case 18:if(e.prev=18,e.t0=e.catch(8),!u){e.next=24;break}return o.destroy(),e.next=24,this._deleteFileSafe(r);case 24:throw e.t0;case 25:return e.abrupt("return",{res:c.res,content:c.data});case 26:case"end":return e.stop()}},e,this,[[8,18]])}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,fs:78,"is-type-of":394,"regenerator-runtime/runtime":339}],35:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator"));r.getACL=function(){function e(e){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t){var r,n,o,s=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:{},r.subres=Object.assign({acl:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),t=this._objectName(t),n=this._objectRequestParams("GET",t,r),n.successStatuses=[200],n.xmlResponse=!0,e.next=9,this.request(n);case 9:return o=e.sent,e.abrupt("return",{acl:o.data.AccessControlList.Grant,owner:{id:o.data.Owner.ID,displayName:o.data.Owner.DisplayName},res:o.res});case 11:case"end":return e.stop()}},e,this)}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],36:[function(e,t,r){"use strict";function n(){return i.apply(this,arguments)}function i(){return i=(0,c.default)(u.default.mark(function e(){var t,r,n,i,o,a,c,l,f=arguments;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=f.length>0&&void 0!==f[0]?f[0]:{},r=f.length>1&&void 0!==f[1]?f[1]:{},!t.versionIdMarker||void 0!==t.keyMarker){e.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return r.subres=Object.assign({versions:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),n=this._objectRequestParams("GET","",r),n.xmlResponse=!0,n.successStatuses=[200],n.query=s(t),e.next=12,this.request(n);case 12:return i=e.sent,o=i.data.Version||[],a=i.data.DeleteMarker||[],c=this,o&&(Array.isArray(o)||(o=[o]),o=o.map(function(e){return{name:e.Key,url:c._objectUrl(e.Key),lastModified:e.LastModified,isLatest:"true"===e.IsLatest,versionId:e.VersionId,etag:e.ETag,type:e.Type,size:Number(e.Size),storageClass:e.StorageClass,owner:{id:e.Owner.ID,displayName:e.Owner.DisplayName}}})),a&&(h(a)||(a=[a]),a=a.map(function(e){return{name:e.Key,lastModified:e.LastModified,versionId:e.VersionId,owner:{id:e.Owner.ID,displayName:e.Owner.DisplayName}}})),l=i.data.CommonPrefixes||null,l&&(h(l)||(l=[l]),l=l.map(function(e){return e.Prefix})),e.abrupt("return",{res:i.res,objects:o,deleteMarker:a,prefixes:l,nextMarker:i.data.NextKeyMarker||null,NextVersionIdMarker:i.data.NextVersionIdMarker||null,nextKeyMarker:i.data.NextKeyMarker||null,nextVersionIdMarker:i.data.NextVersionIdMarker||null,isTruncated:"true"===i.data.IsTruncated});case 21:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}function o(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return p(e)&&Object.keys(e).forEach(function(r){t[o(r)]=e[r]}),t}var a=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.for-each"),e("core-js/modules/es.array.map"),e("core-js/modules/es.number.constructor"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.regexp.exec"),e("core-js/modules/es.string.replace"),e("core-js/modules/web.dom-collections.for-each");var u=a(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var c=a(e("@babel/runtime/helpers/asyncToGenerator")),l=r,f=e("../utils/isObject"),p=f.isObject,d=e("../utils/isArray"),h=d.isArray;l.getBucketVersions=n,l.listObjectVersions=n},{"../utils/isArray":59,"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.map":245,"core-js/modules/es.number.constructor":250,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":255,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],37:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator"));r.getObjectMeta=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=r||{},t=this._objectName(t),r.subres=Object.assign({objectMeta:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),n=this._objectRequestParams("HEAD",t,r),n.successStatuses=[200],e.next=8,this.request(n);case 8:return o=e.sent,e.abrupt("return",{status:o.status,res:o.res});case 10:case"end":return e.stop()}},e,this)}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],38:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.for-each"),e("core-js/modules/es.object.assign"),e("core-js/modules/web.dom-collections.for-each");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=r,a=e("../utils/isObject"),u=a.isObject;s.getObjectTagging=function(){function e(e){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t){var r,n,o,s,a,c,l=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>1&&void 0!==l[1]?l[1]:{},r.subres=Object.assign({tagging:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),t=this._objectName(t),n=this._objectRequestParams("GET",t,r),n.successStatuses=[200],e.next=8,this.request(n);case 8:return o=e.sent,e.next=11,this.parseXML(o.data);case 11:return s=e.sent,a=s.TagSet.Tag,a=a&&u(a)?[a]:a||[],c={},a.forEach(function(e){c[e.Key]=e.Value}),e.abrupt("return",{status:o.status,res:o.res,tag:c});case 17:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/isObject":64,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.assign":251,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],39:[function(e,t,r){"use strict";var n=e("../utils/isIP"),i=n.isIP;r.getObjectUrl=function(e,t){if(i(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return t?"/"!==t[t.length-1]&&(t+="/"):t=this.options.endpoint.format(),t+this._escape(this._objectName(e))}},{"../utils/isIP":63}],40:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator"));r.getSymlink=function(){function e(e){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t){var r,n,o,s,a=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},r.subres=Object.assign({symlink:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),t=this._objectName(t),n=this._objectRequestParams("GET",t,r),n.successStatuses=[200],e.next=8,this.request(n);case 8:return o=e.sent,s=o.res.headers["x-oss-symlink-target"],e.abrupt("return",{targetName:decodeURIComponent(s),res:o.res});case 11:case"end":return e.stop()}},e,this)}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],41:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.for-each"),e("core-js/modules/es.array.index-of"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.keys"),e("core-js/modules/web.dom-collections.for-each");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator"));r.head=function(){function e(e){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t){var r,n,o,s,a=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},r.subres=Object.assign({},r.subres),r.versionId&&(r.subres.versionId=r.versionId),n=this._objectRequestParams("HEAD",t,r),n.successStatuses=[200,304],e.next=7,this.request(n);case 7:return o=e.sent,s={meta:null,res:o.res,status:o.status},200===o.status&&Object.keys(o.headers).forEach(function(e){0===e.indexOf("x-oss-meta-")&&(s.meta||(s.meta={}),s.meta[e.substring(11)]=o.headers[e])}),e.abrupt("return",s);case 11:case"end":return e.stop()}},e,this)}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.index-of":241,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":255,"core-js/modules/web.dom-collections.for-each":294,"regenerator-runtime/runtime":339}],42:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator"));r.putACL=function(){function e(e,r,n){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r,n){var o,s;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||{},n.subres=Object.assign({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.headers=n.headers||{},n.headers["x-oss-object-acl"]=r,t=this._objectName(t),o=this._objectRequestParams("PUT",t,n),o.successStatuses=[200],e.next=10,this.request(o);case 10:return s=e.sent,e.abrupt("return",{res:s.res});case 12:case"end":return e.stop()}},e,this)}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],43:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.map"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.keys");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("../utils/obj2xml"),a=s.obj2xml,u=e("../utils/checkObjectTag"),c=u.checkObjectTag;r.putObjectTagging=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r){var n,o,s,u,l=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.length>2&&void 0!==l[2]?l[2]:{},c(r),n.subres=Object.assign({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectName(t),o=this._objectRequestParams("PUT",t,n),o.successStatuses=[200],r=Object.keys(r).map(function(e){return{Key:e,Value:r[e]}}),s={Tagging:{TagSet:{Tag:r}}},o.mime="xml",o.content=a(s),e.next=13,this.request(o);case 13:return u=e.sent,e.abrupt("return",{res:u.res,status:u.status});case 15:case"end":return e.stop()}},e,this)}));return e}()},{"../utils/checkObjectTag":50,"../utils/obj2xml":65,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.map":245,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":255,"regenerator-runtime/runtime":339}],44:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.assign");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator"));r.putSymlink=function(){function e(e,r,n){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r,n){var o,s;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||{},n.headers=n.headers||{},r=this._escape(this._objectName(r)),this._convertMetaToHeaders(n.meta,n.headers),n.headers["x-oss-symlink-target"]=r,n.subres=Object.assign({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.storageClass&&(n.headers["x-oss-storage-class"]=n.storageClass),t=this._objectName(t),o=this._objectRequestParams("PUT",t,n),o.successStatuses=[200],e.next=13,this.request(o);case 13:return s=e.sent,e.abrupt("return",{res:s.res});case 15:case"end":return e.stop()}},e,this)}));return e}()},{"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.object.assign":251,"regenerator-runtime/runtime":339}],45:[function(e,t,r){"use strict";var n=e("url"),i=e("utility"),o=e("copy-to"),s=e("../../common/signUtils"),a=e("../utils/isIP"),u=a.isIP;r.signatureUrl=function(e,t){if(u(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");t=t||{},e=this._objectName(e),t.method=t.method||"GET";var r=i.timestamp()+(t.expires||1800),a={bucket:this.options.bucket,object:e},c=this._getResource(a);this.options.stsToken&&(t["security-token"]=this.options.stsToken);var l=s._signatureForURL(this.options.accessKeySecret,t,c,r),f=n.parse(this._getReqUrl(a));return f.query={OSSAccessKeyId:this.options.accessKeyId,Expires:r,Signature:l.Signature},o(l.subResource).to(f.query),f.format()}},{"../../common/signUtils":47,"../utils/isIP":63,"copy-to":101,url:396,utility:398}],46:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.for-each"),e("core-js/modules/es.array.iterator"),e("core-js/modules/es.function.name"),e("core-js/modules/es.object.to-string"),e("core-js/modules/es.promise"),e("core-js/modules/es.string.iterator"),e("core-js/modules/web.dom-collections.for-each"),e("core-js/modules/web.dom-collections.iterator");var i=n(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var o=n(e("@babel/runtime/helpers/asyncToGenerator")),s=e("./utils/isArray"),a=s.isArray,u=r;u._parallelNode=function(){function e(e,r,n,i){return t.apply(this,arguments)}var t=(0,o.default)(i.default.mark(function e(t,r,n,o){var s,a,u,c,l,f,p,d;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:s=this,a=[],u=[],c=t.length/r,l=t.length%r,f=0===l?c:(t.length-l)/r+1,p=1,d=0;case 8:if(!(d0)return f=!0,void(p<=0&&i(c));p+=1,a(e.value,o(s))}d=!1}var c=[];if(t<=0||!e)return void i(c);var l=function(e){var t=-1,r=e.length;return function(){return++tt[0]?1:e[0]2&&void 0!==arguments[2]?arguments[2]:"utf-8";return n.createHmac("sha1",e).update(t.from(r,i)).digest("base64")},r.authorization=function(e,t,r,n){return"OSS ".concat(e,":").concat(this.computeSignature(t,r,n))},r._signatureForURL=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,s={},a=r.subResource,u=void 0===a?{}:a;if(r.process){u["x-oss-process"]=r.process}if(r.trafficLimit){u["x-oss-traffic-limit"]=r.trafficLimit}if(r.response&&Object.keys(r.response).forEach(function(e){var t="response-".concat(e.toLowerCase());u[t]=r.response[e]}),Object.keys(r).forEach(function(e){var t=e.toLowerCase(),n=r[e];0===t.indexOf("x-oss-")?s[t]=n:0===t.indexOf("content-md5")?s[e]=n:0===t.indexOf("content-type")&&(s[e]=n)}),Object.prototype.hasOwnProperty.call(r,"security-token")&&(u["security-token"]=r["security-token"]),Object.prototype.hasOwnProperty.call(r,"callback")){var c={callbackUrl:encodeURI(r.callback.url),callbackBody:r.callback.body};if(r.callback.host&&(c.callbackHost=r.callback.host),r.callback.contentType&&(c.callbackBodyType=r.callback.contentType),u.callback=t.from(JSON.stringify(c)).toString("base64"),r.callback.customValue){var l={};Object.keys(r.callback.customValue).forEach(function(e){l["x:".concat(e)]=r.callback.customValue[e]}),u["callback-var"]=t.from(JSON.stringify(l)).toString("base64")}}var f=this.buildCanonicalString(r.method,n,{headers:s,parameters:u},i.toString());return{Signature:this.computeSignature(e,f,o),subResource:u}}}).call(this,e("buffer").Buffer)},{"./../../shims/crypto/crypto.js":389,buffer:98,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.index-of":241,"core-js/modules/es.array.join":243,"core-js/modules/es.array.sort":247,"core-js/modules/es.object.keys":255,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259,"core-js/modules/es.string.trim":267,"core-js/modules/web.dom-collections.for-each":294,"is-type-of":394}],48:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.checkBucketName=void 0,r.checkBucketName=function(e){if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/).test(e))throw new Error("The bucket must be conform to the specifications")}},{}],49:[function(e,t,r){"use strict";function n(e){return"string"==typeof e?/^[a-zA-Z0-9._:\/-]+$/.test(e):!!e.host&&/^[a-zA-Z0-9._:\/-]+$/.test(e.host)}Object.defineProperty(r,"__esModule",{value:!0}),r.checkConfigValid=void 0;var i={endpoint:n,region:/^[a-zA-Z0-9\-_]+$/};r.checkConfigValid=function(e,t){if(i[t]){ -if(!(i[t]instanceof Function?i[t](e):i[t].test(e)))throw new Error("The ".concat(t," must be conform to the specifications"))}}},{}],50:[function(e,t,r){"use strict";function n(e){if(!a(e))throw new Error("tag must be Object");var t=Object.entries(e);if(t.length>10)throw new Error("maximum of 10 tags for a object");var r=["key","value"];t.forEach(function(e){e.forEach(function(e,t){o(e,c[r[t]])})})}e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.for-each"),e("core-js/modules/es.object.entries"),e("core-js/modules/web.dom-collections.for-each"),Object.defineProperty(r,"__esModule",{value:!0}),r.checkObjectTag=void 0;var i=e("./checkValid"),o=i.checkValid,s=e("./isObject"),a=s.isObject,u=[{validator:function(e){if("string"!=typeof e)throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:\/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],c={key:[].concat(u,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(u,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};r.checkObjectTag=n},{"./checkValid":51,"./isObject":64,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.entries":252,"core-js/modules/web.dom-collections.for-each":294}],51:[function(e,t,r){"use strict";function n(e,t){t.forEach(function(t){if(t.validator)t.validator(e);else if(t.pattern&&!t.pattern.test(e))throw new Error(t.msg)})}e("core-js/modules/es.array.for-each"),e("core-js/modules/web.dom-collections.for-each"),Object.defineProperty(r,"__esModule",{value:!0}),r.checkValid=void 0,r.checkValid=n},{"core-js/modules/es.array.for-each":238,"core-js/modules/web.dom-collections.for-each":294}],52:[function(e,t,r){(function(t){"use strict";function n(e,t){return e[t]||e[t.toLowerCase()]}function i(e,t){delete e[t],delete e[t.toLowerCase()]}function o(e){var r=new Date;this.options.amendTimeSkewed&&(r=+new Date+this.options.amendTimeSkewed);var o={"x-oss-date":c(r,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(o["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(o,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(o["x-oss-security-token"]=this.options.stsToken),l(e.headers).to(o),n(o,"Content-Type")||(e.mime&&e.mime.indexOf("/")>0?o["Content-Type"]=e.mime:o["Content-Type"]=u.getType(e.mime||f.extname(e.object||""))),n(o,"Content-Type")||i(o,"Content-Type"),e.content&&(o["Content-Md5"]=s.createHash("md5").update(t.from(e.content,"utf8")).digest("base64"),o["Content-Length"]||(o["Content-Length"]=e.content.length));var p=Object.prototype.hasOwnProperty;for(var h in o)o[h]&&p.call(o,h)&&(o[h]=d(String(o[h]),this.options.headerEncoding));var y=this._getResource(e);if(o.authorization=this.authorization(e.method,y,e.subres,o,this.options.headerEncoding),m(this.options.endpoint.hostname)){var g=this.options,w=g.region,x=g.internal,j=g.secure,_=b(w,x,j);o.host="".concat(e.bucket,".").concat(_.host)}var E=v.bind(this)(e);a("request %s %s, with headers %j, !!stream: %s",e.method,E,o,!!e.stream);var T=e.timeout||this.options.timeout,S={method:e.method,content:e.content,stream:e.stream,headers:o,timeout:T,writeStream:e.writeStream,customResponse:e.customResponse,ctx:e.ctx||this.ctx};return this.agent&&(S.agent=this.agent),this.httpsAgent&&(S.httpsAgent=this.httpsAgent),S.enableProxy=!!this.options.enableProxy,S.proxy=this.options.proxy?this.options.proxy:null,{url:E,params:S}}e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.includes"),e("core-js/modules/es.array.index-of"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.string.includes"),Object.defineProperty(r,"__esModule",{value:!0}),r.createRequest=void 0;var s=e("./../../../shims/crypto/crypto.js"),a=e("debug")("ali-oss"),u=e("mime"),c=e("dateformat"),l=e("copy-to"),f=e("path"),p=e("./encoder"),d=p.encoder,h=e("./isIP"),m=h.isIP,y=e("./setRegion"),b=y.setRegion,g=e("../client/getReqUrl"),v=g.getReqUrl;r.createRequest=o}).call(this,e("buffer").Buffer)},{"../client/getReqUrl":24,"./../../../shims/crypto/crypto.js":389,"./encoder":55,"./isIP":63,"./setRegion":67,buffer:98,"copy-to":101,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.includes":240,"core-js/modules/es.array.index-of":241,"core-js/modules/es.object.assign":251,"core-js/modules/es.string.includes":260,dateformat:297,debug:393,mime:315,path:318}],53:[function(e,t,r){"use strict";function n(e,t,r){if(s.isObject(e)){var a=t.remove,u=void 0===a?[]:a,c=t.rename,l=void 0===c?{}:c,f=t.camel,p=void 0===f?[]:f,d=t.bool,h=void 0===d?[]:d,m=t.lowerFirst,y=void 0!==m&&m;return u.forEach(function(t){return delete e[t]}),Object.entries(l).forEach(function(t){e[t[0]]&&(e[t[1]]||(e[t[1]]=e[t[0]],delete e[t[0]]))}),p.forEach(function(t){if(e[t]){var r=t.replace(/^(.)/,function(e){return e.toLowerCase()}).replace(/-(\w)/g,function(e,t){return t.toUpperCase()});e[r]||(e[r]=e[t])}}),h.forEach(function(t){e[t]=i(e[t])}),"function"==typeof r&&r(e),o(e,y),n}}function i(e){return!!e&&(!!a.includes(e)||!u.includes(e)&&e)}function o(e,t){t&&Object.keys(e).forEach(function(t){var r=t.replace(/^\w/,function(e){return e.toLowerCase()});void 0===e[r]&&(e[r]=e[t],delete e[t])})}e("core-js/modules/es.array.for-each"),e("core-js/modules/es.array.includes"),e("core-js/modules/es.object.entries"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.regexp.exec"),e("core-js/modules/es.string.replace"),e("core-js/modules/web.dom-collections.for-each"),Object.defineProperty(r,"__esModule",{value:!0}),r.dataFix=void 0;var s=e("./isObject"),a=["true","TRUE","1",1],u=["false","FALSE","0",0];r.dataFix=n},{"./isObject":64,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.includes":240,"core-js/modules/es.object.entries":252,"core-js/modules/es.object.keys":255,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294}],54:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.for-each"),e("core-js/modules/es.object.keys"),e("core-js/modules/web.dom-collections.for-each");var i=n(e("@babel/runtime/helpers/typeof"));Object.defineProperty(r,"__esModule",{value:!0}),r.deepCopy=void 0,r.deepCopy=function(e){if(null===e||"object"!==(0,i.default)(e))return e;var t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(function(n){t[n]=r.deepCopy(e[n])}),t}},{"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/helpers/typeof":72,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.keys":255,"core-js/modules/web.dom-collections.for-each":294}],55:[function(e,t,r){(function(t){"use strict";function n(e){return"utf-8"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf-8")?e:t.from(e).toString("latin1")}e("core-js/modules/es.object.to-string"),e("core-js/modules/es.regexp.to-string"),Object.defineProperty(r,"__esModule",{value:!0}),r.encoder=void 0,r.encoder=n}).call(this,e("buffer").Buffer)},{buffer:98,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.to-string":259}],56:[function(e,t,r){"use strict";function n(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&s.isObject(e)&&(e=[e]),e=a.isArray(e)?e.map(i):i(e)}function i(e){return o.dataFix(e,{bool:["IsEnabled"]},function(e){var t,r;e.prefix=e.Filter.Prefix,delete e.Filter,e.OSSBucketDestination=e.Destination.OSSBucketDestination,e.OSSBucketDestination.rolename=e.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete e.OSSBucketDestination.RoleArn,e.OSSBucketDestination.bucket=e.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete e.OSSBucketDestination.Bucket,delete e.Destination,e.frequency=e.Schedule.Frequency,delete e.Schedule.Frequency,(null===(t=null===e||void 0===e?void 0:e.OptionalFields)||void 0===t?void 0:t.Field)&&!a.isArray(null===(r=e.OptionalFields)||void 0===r?void 0:r.Field)&&(e.OptionalFields.Field=[e.OptionalFields.Field])}),e=u.formatObjKey(e,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]})}e("core-js/modules/es.array.map"),e("core-js/modules/es.regexp.exec"),e("core-js/modules/es.string.replace"),Object.defineProperty(r,"__esModule",{value:!0}),r.formatInventoryConfig=void 0;var o=e("../utils/dataFix"),s=e("../utils/isObject"),a=e("../utils/isArray"),u=e("../utils/formatObjKey");r.formatInventoryConfig=n},{"../utils/dataFix":53,"../utils/formatObjKey":57,"../utils/isArray":59,"../utils/isObject":64,"core-js/modules/es.array.map":245,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.string.replace":263}],57:[function(e,t,r){"use strict";function n(e,t,r){if(null===e||"object"!==(0,s.default)(e))return e;var o;if(Array.isArray(e)){o=[];for(var a=0;a").concat(e[t],""):"object"===n(e[t])?r+="<".concat(t,">").concat(i(e[t]),""):"array"===n(e[t])?r+=e[t].map(function(e){return"<".concat(t,">").concat(i(e),"")}).join(""):r+="<".concat(t,">").concat(e[t].toString(),""))}):r+=e.toString(),r}e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.for-each"),e("core-js/modules/es.array.join"),e("core-js/modules/es.array.map"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.object.to-string"),e("core-js/modules/es.regexp.exec"),e("core-js/modules/es.regexp.to-string"),e("core-js/modules/es.string.replace"),e("core-js/modules/web.dom-collections.for-each"),Object.defineProperty(r,"__esModule",{value:!0}),r.obj2xml=void 0;var o=e("./formatObjKey");r.obj2xml=i},{"./formatObjKey":57,"core-js/modules/es.array.concat":234,"core-js/modules/es.array.for-each":238,"core-js/modules/es.array.join":243,"core-js/modules/es.array.map":245,"core-js/modules/es.object.keys":255,"core-js/modules/es.object.to-string":256,"core-js/modules/es.regexp.exec":258,"core-js/modules/es.regexp.to-string":259,"core-js/modules/es.string.replace":263,"core-js/modules/web.dom-collections.for-each":294}],66:[function(e,t,r){"use strict";function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=0,i=r.retryDelay,o=void 0===i?500:i,s=r.errorHandler,a=void 0===s?function(){return!0}:s;return function r(){for(var i=arguments.length,s=new Array(i),u=0;u1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s.checkConfigValid(e,"region");var n=r?"https://":"http://",i=t?"-internal.aliyuncs.com":".aliyuncs.com";return"vpc100-oss-cn-"===e.substr(0,"vpc100-oss-cn-".length)&&(i=".aliyuncs.com"),o.default.parse(n+e+i)}var i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.setRegion=void 0;var o=i(e("url")),s=e("./checkConfigValid");r.setRegion=n},{"./checkConfigValid":49,url:396}],68:[function(e,t,r){"use strict";function n(){return i.apply(this,arguments)}function i(){return i=(0,u.default)(a.default.mark(function e(){var t;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.options||(this.options={}),e.next=3,this.options.refreshSTSToken();case 3:t=e.sent,t=c.formatObjKey(t,"firstLowerCase"),t.securityToken&&(t.stsToken=t.securityToken),o(t),Object.assign(this.options,t);case 8:case"end":return e.stop()}},e,this)})),i.apply(this,arguments)}function o(e){var t=["accessKeySecret","accessKeyId","stsToken"],r=Object.keys(e);t.forEach(function(e){if(!r.find(function(t){return t===e}))throw Error("refreshSTSToken must return contains ".concat(e))})}var s=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.find"),e("core-js/modules/es.array.for-each"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.keys");var a=s(e("@babel/runtime/regenerator"));e("regenerator-runtime/runtime");var u=s(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(r,"__esModule",{value:!0}),r.setSTSToken=void 0;var c=e("./formatObjKey");r.setSTSToken=n},{"./formatObjKey":57,"@babel/runtime/helpers/asyncToGenerator":69,"@babel/runtime/helpers/interopRequireDefault":71,"@babel/runtime/regenerator":74,"core-js/modules/es.array.find":237,"core-js/modules/es.array.for-each":238,"core-js/modules/es.object.assign":251,"core-js/modules/es.object.keys":255,"regenerator-runtime/runtime":339}],69:[function(e,t,r){function n(e,t,r,n,i,o,s){try{var a=e[o](s),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){function s(e){n(u,i,o,s,a,"next",e)}function a(e){n(u,i,o,s,a,"throw",e)}var u=e.apply(t,r);s(void 0)})}}t.exports=i},{}],70:[function(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.exports=n},{}],71:[function(e,t,r){function n(e){return e&&e.__esModule?e:{default:e}}t.exports=n},{}],72:[function(e,t,r){function n(e){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=n},{}],73:[function(e,t,r){var n=function(e){"use strict";function t(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}function r(e,t,r,n){var o=t&&t.prototype instanceof i?t:i,s=Object.create(o.prototype),a=new d(n||[]);return s._invoke=c(e,r,a),s}function n(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function s(){}function a(e){["next","throw","return"].forEach(function(r){t(e,r,function(e){return this._invoke(r,e)})})}function u(e,t){function r(i,o,s,a){var u=n(e[i],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&g.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,s,a)},function(e){r("throw",e,s,a)}):t.resolve(l).then(function(e){c.value=e,s(c)},function(e){return r("throw",e,s,a)})}a(u.arg)}function i(e,n){function i(){return new t(function(t,i){r(e,n,t,i)})}return o=o?o.then(i,i):i()}var o;this._invoke=i}function c(e,t,r){var i=_;return function(o,s){if(i===T)throw new Error("Generator is already running");if(i===S){if("throw"===o)throw s;return m()}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var u=l(a,r);if(u){if(u===O)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===_)throw i=S,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=T;var c=n(e,t,r);if("normal"===c.type){if(i=r.done?S:E,c.arg===O)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=S,r.method="throw",r.arg=c.arg)}}}function l(e,t){var r=e.iterator[t.method];if(r===y){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=y,l(e,t),"throw"===t.method))return O;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return O}var i=n(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,O;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=y),t.delegate=null,O):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,O)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r=0;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var s=g.call(i,"catchLoc"),a=g.call(i,"finallyLoc");if(s&&a){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&g.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),p(r),O}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;p(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:h(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=y),O}},e}("object"==typeof t?t.exports:{});try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},{}],74:[function(e,t,r){t.exports=e("regenerator-runtime")},{"regenerator-runtime":73}],75:[function(e,t,r){function n(){}t.exports=n,t.exports.HttpsAgent=n},{}],76:[function(e,t,r){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function i(e){var t=n(e),r=t[0],i=t[1];return 3*(r+i)/4-i}function o(e,t,r){return 3*(t+r)/4-r}function s(e){var t,r,i=n(e),s=i[0],a=i[1],u=new p(o(e,s,a)),c=0,l=a>0?s-4:s;for(r=0;r>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=f[e.charCodeAt(r)]<<2|f[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===a&&(t=f[e.charCodeAt(r)]<<10|f[e.charCodeAt(r+1)]<<4|f[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function u(e,t,r){for(var n,i=[],o=t;os?s:o+16383));return 1===n?(t=e[r-1],i.push(l[t>>2]+l[t<<4&63]+"==")):2===n&&(t=(e[r-2]<<8)+e[r-1],i.push(l[t>>10]+l[t>>4&63]+l[t<<2&63]+"=")),i.join("")}r.byteLength=i,r.toByteArray=s,r.fromByteArray=c;for(var l=[],f=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,m=d.length;h1&&r[1]||""}function r(t){var r=e.match(t);return r&&r.length>1&&r[2]||""}var i,o=t(/(ipod|iphone|ipad)/i).toLowerCase(),a=/like android/i.test(e),u=!a&&/android/i.test(e),c=/nexus\s*[0-6]\s*/i.test(e),l=!c&&/nexus\s*[0-9]+/i.test(e),f=/CrOS/.test(e),p=/silk/i.test(e),d=/sailfish/i.test(e),h=/tizen/i.test(e),m=/(web|hpw)(o|0)s/i.test(e),y=/windows phone/i.test(e),b=(/SamsungBrowser/i.test(e),!y&&/windows/i.test(e)),g=!o&&!p&&/macintosh/i.test(e),v=!u&&!d&&!h&&!m&&/linux/i.test(e),w=r(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),x=t(/version\/(\d+(\.\d+)?)/i),j=/tablet/i.test(e)&&!/tablet pc/i.test(e),_=!j&&/[^-]mobi/i.test(e),E=/xbox/i.test(e);/opera/i.test(e)?i={name:"Opera",opera:s,version:x||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(e)?i={name:"Opera",opera:s,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||x}:/SamsungBrowser/i.test(e)?i={name:"Samsung Internet for Android",samsungBrowser:s,version:x||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(e)?i={name:"NAVER Whale browser",whale:s,version:t(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(e)?i={name:"MZ Browser",mzbrowser:s,version:t(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(e)?i={name:"Opera Coast",coast:s,version:x||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(e)?i={name:"Focus",focus:s,version:t(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(e)?i={name:"Yandex Browser",yandexbrowser:s,version:x||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(e)?i={name:"UC Browser",ucbrowser:s,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(e)?i={name:"Maxthon",maxthon:s,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(e)?i={name:"Epiphany",epiphany:s,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(e)?i={name:"Puffin",puffin:s,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(e)?i={name:"Sleipnir",sleipnir:s,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(e)?i={name:"K-Meleon",kMeleon:s,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:y?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:s},w?(i.msedge=s,i.version=w):(i.msie=s,i.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?i={name:"Internet Explorer",msie:s,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:f?i={name:"Chrome",osname:"Chrome OS",chromeos:s,chromeBook:s,chrome:s,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(e)?i={name:"Microsoft Edge",msedge:s,version:w}:/vivaldi/i.test(e)?i={name:"Vivaldi",vivaldi:s,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||x}:d?i={name:"Sailfish",osname:"Sailfish OS",sailfish:s,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?i={name:"SeaMonkey",seamonkey:s,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(e)?(i={name:"Firefox",firefox:s,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(i.firefoxos=s,i.osname="Firefox OS")):p?i={name:"Amazon Silk",silk:s,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(e)?i={name:"PhantomJS",phantom:s,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(e)?i={name:"SlimerJS",slimer:s,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:s,version:x||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:m?(i={name:"WebOS",osname:"WebOS",webos:s,version:x||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(e)&&(i.touchpad=s)):/bada/i.test(e)?i={name:"Bada",osname:"Bada",bada:s,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:h?i={name:"Tizen",osname:"Tizen",tizen:s,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||x}:/qupzilla/i.test(e)?i={name:"QupZilla",qupzilla:s,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||x}:/chromium/i.test(e)?i={name:"Chromium",chromium:s,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||x}:/chrome|crios|crmo/i.test(e)?i={name:"Chrome",chrome:s,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:u?i={name:"Android",version:x}:/safari|applewebkit/i.test(e)?(i={name:"Safari",safari:s},x&&(i.version=x)):o?(i={name:"iphone"==o?"iPhone":"ipad"==o?"iPad":"iPod"},x&&(i.version=x)):i=/googlebot/i.test(e)?{name:"Googlebot",googlebot:s,version:t(/googlebot\/(\d+(\.\d+))/i)||x}:{name:t(/^(.*)\/(.*) /),version:r(/^(.*)\/(.*) /)},!i.msedge&&/(apple)?webkit/i.test(e)?(/(apple)?webkit\/537\.36/i.test(e)?(i.name=i.name||"Blink",i.blink=s):(i.name=i.name||"Webkit",i.webkit=s),!i.version&&x&&(i.version=x)):!i.opera&&/gecko\//i.test(e)&&(i.name=i.name||"Gecko",i.gecko=s,i.version=i.version||t(/gecko\/(\d+(\.\d+)?)/i)),i.windowsphone||!u&&!i.silk?!i.windowsphone&&o?(i[o]=s,i.ios=s,i.osname="iOS"):g?(i.mac=s,i.osname="macOS"):E?(i.xbox=s,i.osname="Xbox"):b?(i.windows=s,i.osname="Windows"):v&&(i.linux=s,i.osname="Linux"):(i.android=s,i.osname="Android");var T="";i.windows?T=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return} -}(t(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?T=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?(T=t(/Mac OS X (\d+([_\.\s]\d+)*)/i),T=T.replace(/[_\s]/g,".")):o?(T=t(/os (\d+([_\s]\d+)*) like mac os x/i),T=T.replace(/[_\s]/g,".")):u?T=t(/android[ \/-](\d+(\.\d+)*)/i):i.webos?T=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?T=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?T=t(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(T=t(/tizen[\/\s](\d+(\.\d+)*)/i)),T&&(i.osversion=T);var S=!i.windows&&T.split(".")[0];return j||l||"ipad"==o||u&&(3==S||S>=4&&!_)||i.silk?i.tablet=s:(_||"iphone"==o||"ipod"==o||u||c||i.blackberry||i.webos||i.bada)&&(i.mobile=s),i.msedge||i.msie&&i.version>=10||i.yandexbrowser&&i.version>=15||i.vivaldi&&i.version>=1||i.chrome&&i.version>=20||i.samsungBrowser&&i.version>=4||i.whale&&1===n([i.version,"1.0"])||i.mzbrowser&&1===n([i.version,"6.0"])||i.focus&&1===n([i.version,"1.0"])||i.firefox&&i.version>=20||i.safari&&i.version>=6||i.opera&&i.version>=10||i.ios&&i.osversion&&i.osversion.split(".")[0]>=6||i.blackberry&&i.version>=10.1||i.chromium&&i.version>=20?i.a=s:i.msie&&i.version<10||i.chrome&&i.version<20||i.firefox&&i.version<20||i.safari&&i.version<6||i.opera&&i.version<10||i.ios&&i.osversion&&i.osversion.split(".")[0]<6||i.chromium&&i.version<20?i.c=s:i.x=s,i}function t(e){return e.split(".").length}function r(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r=0;){if(i[0][n]>i[1][n])return 1;if(i[0][n]!==i[1][n])return-1;if(0===n)return 0}}function i(t,r,i){var o=a;"string"==typeof r&&(i=r,r=void 0),void 0===r&&(r=!1),i&&(o=e(i));var s=""+o.version;for(var u in t)if(t.hasOwnProperty(u)&&o[u]){if("string"!=typeof t[u])throw new Error("Browser version in the minVersion map should be a string: "+u+": "+String(t));return n([s,t[u]])<0}return r}function o(e,t,r){return!i(e,t,r)}var s=!0,a=e("undefined"!=typeof navigator?navigator.userAgent||"":"");return a.test=function(e){for(var t=0;te._pos){var o=r.substr(e._pos);if("x-user-defined"===e._charset){for(var s=i.alloc(o.length),a=0;ae._pos&&(e.push(i.from(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(r)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":80,_process:395,buffer:98,inherits:309,"readable-stream":97}],83:[function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(e,t,r){function i(e,r,n){return"string"==typeof t?t:t(e,r,n)}r||(r=Error);var o=function(e){function t(t,r,n){return e.call(this,i(t,r,n))||this}return n(t,e),t}(r);o.prototype.name=r.name,o.prototype.code=e,c[e]=o}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}function s(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function a(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function u(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var c={};i("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(e,t,r){var n;"string"==typeof t&&s(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(a(e," argument"))i="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var c=u(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(c," ").concat(n," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=c},{}],84:[function(e,t,r){(function(r){"use strict";function n(e){if(!(this instanceof n))return new n(e);a.call(this,e),u.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",i)))}function i(){this._writableState.ended||r.nextTick(o,this)}function o(e){e.end()}var s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=n;var a=e("./_stream_readable"),u=e("./_stream_writable");e("inherits")(n,a);for(var c=s(u.prototype),l=0;l0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===C.prototype||(t=i(t)),n)s.endEmitted?K(e,new z):l(e,s,t,!0);else if(s.ended)K(e,new V);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?l(e,s,t,!1):b(e,s)):l(e,s,t,!1)}else n||(s.reading=!1,b(e,s))}return!s.ended&&(s.length=$?e=$:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function d(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=p(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function h(e,t){if(I("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?m(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,y(e)))}}function m(e){var t=e._readableState;I("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(I("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(y,e))}function y(e){var t=e._readableState;I("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,E(e)}function b(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(g,e,t))}function g(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function x(e){I("readable nexttick read 0"),e.read(0)}function j(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(_,e,t))}function _(e,t){I("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),E(e),t.flowing&&!t.reading&&e.read(0)}function E(e){var t=e._readableState;for(I("flow",t.flowing);t.flowing&&null!==e.read(););}function T(e,t){if(0===t.length)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function S(e){var t=e._readableState;I("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(O,t,e))}function O(e,t){if(I("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function k(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return I("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?S(this):m(this),null;if(0===(e=d(e,t))&&t.ended)return 0===t.length&&S(this),null;var n=t.needReadable;I("need readable",n),(0===t.length||t.length-e0?T(e,t):null,null===i?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&S(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(e){K(this,new H("_read()"))},u.prototype.pipe=function(e,t){function n(e,t){I("onunpipe"),e===p&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,o())}function i(){I("onend"),e.end()}function o(){I("cleanup"),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("drain",y),e.removeListener("error",u),e.removeListener("unpipe",n),p.removeListener("end",i),p.removeListener("end",f),p.removeListener("data",a),b=!0,!d.awaitDrain||e._writableState&&!e._writableState.needDrain||y()}function a(t){I("ondata");var r=e.write(t);I("dest.write",r),!1===r&&((1===d.pipesCount&&d.pipes===e||d.pipesCount>1&&-1!==k(d.pipes,e))&&!b&&(I("false write response, pause",d.awaitDrain),d.awaitDrain++),p.pause())}function u(t){I("onerror",t),f(),e.removeListener("error",u),0===N(e,"error")&&K(e,t)}function c(){e.removeListener("finish",l),f()}function l(){I("onfinish"),e.removeListener("close",c),f()}function f(){I("unpipe"),p.unpipe(e)}var p=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=e;break;case 1:d.pipes=[d.pipes,e];break;default:d.pipes.push(e)}d.pipesCount+=1,I("pipe count=%d opts=%j",d.pipesCount,t);var h=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,m=h?i:f;d.endEmitted?r.nextTick(m):p.once("end",m),e.on("unpipe",n);var y=v(p);e.on("drain",y);var b=!1;return p.on("data",a),s(e,"error",u),e.once("close",c),e.once("finish",l),e.emit("pipe",p),d.flowing||(I("pipe resume"),p.resume()),e},u.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,I("on readable",i.length,i.reading),i.length?m(this):i.reading||r.nextTick(x,this))),n},u.prototype.addListener=u.prototype.on,u.prototype.removeListener=function(e,t){var n=D.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(w,this),n},u.prototype.removeAllListeners=function(e){var t=D.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(w,this),t},u.prototype.resume=function(){var e=this._readableState;return e.flowing||(I("resume"),e.flowing=!e.readableListening,j(this,e)),e.paused=!1,this},u.prototype.pause=function(){return I("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(I("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},u.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(I("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){if(I("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!==i&&void 0!==i)&&(r.objectMode||i&&i.length)){t.push(i)||(n=!0,e.pause())}});for(var i in e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new W(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),c.prototype._write=function(e,t,r){r(new L("_write()"))},c.prototype._writev=null,c.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||T(this,n,r),this},Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),c.prototype.destroy=D.destroy,c.prototype._undestroy=D.undestroy,c.prototype._destroy=function(e,t){t(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":83,"./_stream_duplex":84,"./internal/streams/destroy":91,"./internal/streams/state":95,"./internal/streams/stream":96,_process:395,buffer:98,inherits:309,"util-deprecate":345}],89:[function(e,t,r){(function(r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){return{value:e,done:t}}function o(e){var t=e[l];if(null!==t){var r=e[y].read();null!==r&&(e[h]=null,e[l]=null,e[f]=null,t(i(r,!1)))}}function s(e){r.nextTick(o,e)}function a(e,t){return function(r,n){e.then(function(){if(t[d])return void r(i(void 0,!0));t[m](r,n)},n)}}var u,c=e("./end-of-stream"),l=Symbol("lastResolve"),f=Symbol("lastReject"),p=Symbol("error"),d=Symbol("ended"),h=Symbol("lastPromise"),m=Symbol("handlePromise"),y=Symbol("stream"),b=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((u={get stream(){return this[y]},next:function(){var e=this,t=this[p];if(null!==t)return Promise.reject(t);if(this[d])return Promise.resolve(i(void 0,!0));if(this[y].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[p]?n(e[p]):t(i(void 0,!0))})});var n,o=this[h];if(o)n=new Promise(a(o,this));else{var s=this[y].read();if(null!==s)return Promise.resolve(i(s,!1));n=new Promise(this[m])}return this[h]=n,n}},n(u,Symbol.asyncIterator,function(){return this}),n(u,"return",function(){var e=this;return new Promise(function(t,r){e[y].destroy(null,function(e){if(e)return void r(e);t(i(void 0,!0))})})}),u),b),v=function(e){var t,r=Object.create(g,(t={},n(t,y,{value:e,writable:!0}),n(t,l,{value:null,writable:!0}),n(t,f,{value:null,writable:!0}),n(t,p,{value:null,writable:!0}),n(t,d,{value:e._readableState.endEmitted,writable:!0}),n(t,m,{value:function(e,t){var n=r[y].read();n?(r[h]=null,r[l]=null,r[f]=null,e(i(n,!1))):(r[l]=e,r[f]=t)},writable:!0}),t));return r[h]=null,c(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[f];return null!==t&&(r[h]=null,r[l]=null,r[f]=null,t(e)),void(r[p]=e)}var n=r[l];null!==n&&(r[h]=null,r[l]=null,r[f]=null,n(i(void 0,!0))),r[d]=!0}),e.on("readable",s.bind(null,r)),r};t.exports=v}).call(this,e("_process"))},{"./end-of-stream":92,_process:395}],90:[function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return f.alloc(0);for(var t=f.allocUnsafe(e>>>0),r=this.head,n=0;r;)c(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return ei.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=f.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:h,value:function(e,t){return d(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},{buffer:98,util:78}],91:[function(e,t,r){(function(e){"use strict";function r(t,r){var o=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(r?r(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(s,this,t)):e.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!r&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(i,o):(o._writableState.errorEmitted=!0,e.nextTick(n,o,t)):e.nextTick(n,o,t):r?(e.nextTick(i,o),r(t)):e.nextTick(i,o)}),this)}function n(e,t){s(e,t),i(e)}function i(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function s(e,t){e.emit("error",t)}function a(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}t.exports={destroy:r,undestroy:o,errorOrDestroy:a}}).call(this,e("_process"))},{_process:395}],92:[function(e,t,r){"use strict";function n(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i0,function(e){i||(i=e),e&&o.forEach(a),u||(o.forEach(a),n(i))})});return t.reduce(u)}var f,p=e("../../../errors").codes,d=p.ERR_MISSING_ARGS,h=p.ERR_STREAM_DESTROYED;t.exports=l},{"../../../errors":83,"./end-of-stream":92}],95:[function(e,t,r){"use strict";function n(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}function i(e,t,r,i){var s=n(t,i,r);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0){throw new o(i?r:"highWaterMark",s)}return Math.floor(s)}return e.objectMode?16:16384}var o=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:i}},{"../../../errors":83}],96:[function(e,t,r){t.exports=e("events").EventEmitter},{events:299}],97:[function(e,t,r){r=t.exports=e("./lib/_stream_readable.js"),r.Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js"),r.finished=e("./lib/internal/streams/end-of-stream.js"),r.pipeline=e("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":84,"./lib/_stream_passthrough.js":85,"./lib/_stream_readable.js":86,"./lib/_stream_transform.js":87,"./lib/_stream_writable.js":88,"./lib/internal/streams/end-of-stream.js":92,"./lib/internal/streams/pipeline.js":94}],98:[function(e,t,r){(function(t){"use strict";function n(e){if(e>K)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return r.__proto__=t.prototype,r}function t(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return a(e)}return i(e,t,r)}function i(e,r,n){if("string"==typeof e)return u(e,r);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return l(e,r,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return t.from(i,r,n);var o=f(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return t.from(e[Symbol.toPrimitive]("string"),r,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function o(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function s(e,t,r){return o(e),e<=0?n(e):void 0!==t?"string"==typeof r?n(e).fill(t,r):n(e).fill(t):n(e)}function a(e){return o(e),n(e<0?0:0|p(e))}function u(e,r){if("string"==typeof r&&""!==r||(r="utf8"),!t.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var i=0|h(e,r),o=n(i),s=o.write(e,r);return s!==i&&(o=o.slice(0,s)),o}function c(e){for(var t=e.length<0?0:0|p(e.length),r=n(t),i=0;i=K)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K.toString(16)+" bytes");return 0|e}function d(e){return+e!=e&&(e=0),t.alloc(+e)}function h(e,r){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var o=!1;;)switch(r){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(o)return i?-1:q(e).length;r=(""+r).toLowerCase(),o=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return k(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,r,n,i,o){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,V(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof r&&(r=t.from(r,i)),t.isBuffer(r))return 0===r.length?-1:g(e,r,n,i,o);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,r,n):Uint8Array.prototype.lastIndexOf.call(e,r,n):g(e,[r],n,i,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){function o(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}var c;if(i){var l=-1;for(c=r;ca&&(r=a-u),c=r;c>=0;c--){for(var f=!0,p=0;pi&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s239?4:o>223?3:o>191?2:1;if(i+a<=r){var u,c,l,f;switch(a){case 1:o<128&&(s=o);break;case 2:u=e[i+1],128==(192&u)&&(f=(31&o)<<6|63&u)>127&&(s=f);break;case 3:u=e[i+1],c=e[i+2],128==(192&u)&&128==(192&c)&&(f=(15&o)<<12|(63&u)<<6|63&c)>2047&&(f<55296||f>57343)&&(s=f);break;case 4:u=e[i+1],c=e[i+2],l=e[i+3],128==(192&u)&&128==(192&c)&&128==(192&l)&&(f=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&l)>65535&&f<1114112&&(s=f)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return O(n)}function O(e){var t=e.length;if(t<=Y)return String.fromCharCode.apply(String,e);for(var r="",n=0;nn)&&(r=n);for(var i="",o=t;or)throw new RangeError("Trying to access beyond buffer length")}function C(e,r,n,i,o,s){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||re.length)throw new RangeError("Index out of range")}function R(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,i){return t=+t,r>>>=0,i||R(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),z.write(e,t,r,n,23,4),r+4}function P(e,t,r,n,i){return t=+t,r>>>=0,i||R(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),z.write(e,t,r,n,52,8),r+8}function L(e){if(e=e.split("=")[0],e=e.trim().replace($,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function F(e){for(var t=[],r=0;r>8,i=r%256,o.push(i),o.push(n);return o}function G(e){return H.toByteArray(L(e))}function W(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function V(e){return e!==e}var H=e("base64-js"),z=e("ieee754");r.Buffer=t,r.SlowBuffer=d,r.INSPECT_MAX_BYTES=50;var K=2147483647;r.kMaxLength=K,t.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),t.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),t.poolSize=8192,t.from=function(e,t,r){return i(e,t,r)},t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array,t.alloc=function(e,t,r){return s(e,t,r)},t.allocUnsafe=function(e){return a(e)},t.allocUnsafeSlow=function(e){return a(e)},t.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==t.prototype},t.compare=function(e,r){if(X(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),X(r,Uint8Array)&&(r=t.from(r,r.offset,r.byteLength)),!t.isBuffer(e)||!t.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,s=Math.min(n,i);ot&&(e+=" ... "),""},t.prototype.compare=function(e,r,n,i,o){if(X(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),!t.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===r&&(r=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,a=n-r,u=Math.min(s,a),c=this.slice(i,o),l=e.slice(r,n),f=0;f>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return x(this,e,t,r);case"latin1":case"binary":return j(this,e,t,r);case"base64":return _(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;t.prototype.slice=function(e,r){var n=this.length;e=~~e,r=void 0===r?n:~~r,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),r<0?(r+=n)<0&&(r=0):r>n&&(r=n),r>>=0,t>>>=0,r||D(e,t,this.length);for(var n=this[e],i=1,o=0;++o>>=0,t>>>=0,r||D(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},t.prototype.readUInt8=function(e,t){return e>>>=0,t||D(e,1,this.length),this[e]},t.prototype.readUInt16LE=function(e,t){return e>>>=0,t||D(e,2,this.length),this[e]|this[e+1]<<8},t.prototype.readUInt16BE=function(e,t){return e>>>=0,t||D(e,2,this.length),this[e]<<8|this[e+1]},t.prototype.readUInt32LE=function(e,t){return e>>>=0,t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},t.prototype.readUInt32BE=function(e,t){return e>>>=0,t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},t.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||D(e,t,this.length);for(var n=this[e],i=1,o=0;++o=i&&(n-=Math.pow(2,8*t)),n},t.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||D(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},t.prototype.readInt8=function(e,t){return e>>>=0,t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},t.prototype.readInt16LE=function(e,t){e>>>=0,t||D(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},t.prototype.readInt16BE=function(e,t){e>>>=0, -t||D(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},t.prototype.readInt32LE=function(e,t){return e>>>=0,t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},t.prototype.readInt32BE=function(e,t){return e>>>=0,t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},t.prototype.readFloatLE=function(e,t){return e>>>=0,t||D(e,4,this.length),z.read(this,e,!0,23,4)},t.prototype.readFloatBE=function(e,t){return e>>>=0,t||D(e,4,this.length),z.read(this,e,!1,23,4)},t.prototype.readDoubleLE=function(e,t){return e>>>=0,t||D(e,8,this.length),z.read(this,e,!0,52,8)},t.prototype.readDoubleBE=function(e,t){return e>>>=0,t||D(e,8,this.length),z.read(this,e,!1,52,8)},t.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){C(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[t]=255&e;++o>>=0,r>>>=0,!n){C(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},t.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,1,255,0),this[t]=255&e,t+1},t.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},t.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);C(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},t.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);C(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},t.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},t.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},t.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},t.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},t.prototype.writeDoubleLE=function(e,t,r){return P(this,e,t,!0,r)},t.prototype.writeDoubleBE=function(e,t,r){return P(this,e,t,!1,r)},t.prototype.copy=function(e,r,n,i){if(!t.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r=0;--s)e[s+r]=this[s+n];else Uint8Array.prototype.set.call(e,this.subarray(n,i),r);return o},t.prototype.fill=function(e,r,n,i){if("string"==typeof e){if("string"==typeof r?(i=r,r=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!t.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){var o=e.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(e=o)}}else"number"==typeof e&&(e&=255);if(r<0||this.length>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var s;if("number"==typeof e)for(s=r;s>8&255]},C=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},R=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},M=function(e){return A(e,23,4)},P=function(e){return A(e,52,8)},L=function(e,t){b(e.prototype,t,{get:function(){return x(this)[t]}})},B=function(e,t,r,n){var i=p(r),o=x(e);if(i+t>o.byteLength)throw k("Wrong index");var s=x(o.buffer).bytes,a=i+o.byteOffset,u=s.slice(a,a+t);return n?u:u.reverse()},q=function(e,t,r,n,i,o){var s=p(r),a=x(e);if(s+t>a.byteLength)throw k("Wrong index");for(var u=x(a.buffer).bytes,c=s+a.byteOffset,l=n(+i),f=0;fW;)(F=G[W++])in E||s(E,F,_[F]);U.constructor=E}m&&h(S)!==O&&m(S,O);var X=new T(new E(2)),V=S.setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||a(S,{setInt8:function(e,t){V.call(this,e,t<<24>>24)},setUint8:function(e,t){V.call(this,e,t<<24>>24)}},{unsafe:!0})}else E=function(e){c(this,E,"ArrayBuffer");var t=p(e);j(this,{bytes:g.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},T=function(e,t,r){c(this,T,"DataView"),c(e,E,"DataView");var n=x(e).byteLength,o=l(t);if(o<0||o>n)throw k("Wrong offset");if(r=void 0===r?n-o:f(r),o+r>n)throw k("Wrong length");j(this,{buffer:e,byteLength:r,byteOffset:o}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=o)},i&&(L(E,"byteLength"),L(T,"buffer"),L(T,"byteLength"),L(T,"byteOffset")),a(T.prototype,{getInt8:function(e){return B(this,1,e)[0]<<24>>24},getUint8:function(e){return B(this,1,e)[0]},getInt16:function(e){var t=B(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=B(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return R(B(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return R(B(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return I(B(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return I(B(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){q(this,1,e,N,t)},setUint8:function(e,t){q(this,1,e,N,t)},setInt16:function(e,t){q(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){q(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){q(this,4,e,C,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){q(this,4,e,C,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){q(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){q(this,8,e,P,t,arguments.length>2?arguments[2]:void 0)}});v(E,"ArrayBuffer"),v(T,"DataView"),t.exports={ArrayBuffer:E,DataView:T}},{"../internals/an-instance":106,"../internals/array-buffer-native":108,"../internals/array-fill":112,"../internals/create-non-enumerable-property":131,"../internals/descriptors":136,"../internals/fails":145,"../internals/global":150,"../internals/ieee754":156,"../internals/internal-state":160,"../internals/object-define-property":180,"../internals/object-get-own-property-names":183,"../internals/object-get-prototype-of":185,"../internals/object-set-prototype-of":189,"../internals/redefine-all":196,"../internals/set-to-string-tag":206,"../internals/to-index":216,"../internals/to-integer":218,"../internals/to-length":219}],111:[function(e,t,r){"use strict";var n=e("../internals/to-object"),i=e("../internals/to-absolute-index"),o=e("../internals/to-length"),s=Math.min;t.exports=[].copyWithin||function(e,t){var r=n(this),a=o(r.length),u=i(e,a),c=i(t,a),l=arguments.length>2?arguments[2]:void 0,f=s((void 0===l?a:i(l,a))-c,a-u),p=1;for(c0;)c in r?r[u]=r[c]:delete r[u],u+=p,c+=p;return r}},{"../internals/to-absolute-index":215,"../internals/to-length":219,"../internals/to-object":220}],112:[function(e,t,r){"use strict";var n=e("../internals/to-object"),i=e("../internals/to-absolute-index"),o=e("../internals/to-length");t.exports=function(e){for(var t=n(this),r=o(t.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,r),u=s>2?arguments[2]:void 0,c=void 0===u?r:i(u,r);c>a;)t[a++]=e;return t}},{"../internals/to-absolute-index":215,"../internals/to-length":219,"../internals/to-object":220}],113:[function(e,t,r){"use strict";var n=e("../internals/array-iteration").forEach,i=e("../internals/array-method-is-strict"),o=e("../internals/array-method-uses-to-length"),s=i("forEach"),a=o("forEach");t.exports=s&&a?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":116,"../internals/array-method-is-strict":119,"../internals/array-method-uses-to-length":120}],114:[function(e,t,r){"use strict";var n=e("../internals/function-bind-context"),i=e("../internals/to-object"),o=e("../internals/call-with-safe-iteration-closing"),s=e("../internals/is-array-iterator-method"),a=e("../internals/to-length"),u=e("../internals/create-property"),c=e("../internals/get-iterator-method");t.exports=function(e){var t,r,l,f,p,d,h=i(e),m="function"==typeof this?this:Array,y=arguments.length,b=y>1?arguments[1]:void 0,g=void 0!==b,v=c(h),w=0;if(g&&(b=n(b,y>2?arguments[2]:void 0,2)),void 0==v||m==Array&&s(v))for(t=a(h.length),r=new m(t);t>w;w++)d=g?b(h[w],w):h[w],u(r,w,d);else for(f=v.call(h),p=f.next,r=new m;!(l=p.call(f)).done;w++)d=g?o(f,b,[l.value,w],!0):l.value,u(r,w,d);return r.length=w,r}},{"../internals/call-with-safe-iteration-closing":123,"../internals/create-property":133,"../internals/function-bind-context":147,"../internals/get-iterator-method":149,"../internals/is-array-iterator-method":161,"../internals/to-length":219,"../internals/to-object":220}],115:[function(e,t,r){var n=e("../internals/to-indexed-object"),i=e("../internals/to-length"),o=e("../internals/to-absolute-index"),s=function(e){return function(t,r,s){var a,u=n(t),c=i(u.length),l=o(s,c);if(e&&r!=r){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},{"../internals/to-absolute-index":215,"../internals/to-indexed-object":217,"../internals/to-length":219}],116:[function(e,t,r){var n=e("../internals/function-bind-context"),i=e("../internals/indexed-object"),o=e("../internals/to-object"),s=e("../internals/to-length"),a=e("../internals/array-species-create"),u=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,l=4==e,f=6==e,p=5==e||f;return function(d,h,m,y){for(var b,g,v=o(d),w=i(v),x=n(h,m,3),j=s(w.length),_=0,E=y||a,T=t?E(d,j):r?E(d,0):void 0;j>_;_++)if((p||_ in w)&&(b=w[_],g=x(b,_,v),e))if(t)T[_]=g;else if(g)switch(e){case 3:return!0;case 5:return b;case 6:return _;case 2:u.call(T,b)}else if(l)return!1;return f?-1:c||l?l:T}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},{"../internals/array-species-create":122,"../internals/function-bind-context":147,"../internals/indexed-object":157,"../internals/to-length":219,"../internals/to-object":220}],117:[function(e,t,r){"use strict";var n=e("../internals/to-indexed-object"),i=e("../internals/to-integer"),o=e("../internals/to-length"),s=e("../internals/array-method-is-strict"),a=e("../internals/array-method-uses-to-length"),u=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),p=a("indexOf",{ACCESSORS:!0,1:0}),d=l||!f||!p;t.exports=d?function(e){if(l)return c.apply(this,arguments)||0;var t=n(this),r=o(t.length),s=r-1;for(arguments.length>1&&(s=u(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:c},{"../internals/array-method-is-strict":119,"../internals/array-method-uses-to-length":120,"../internals/to-indexed-object":217,"../internals/to-integer":218,"../internals/to-length":219}],118:[function(e,t,r){var n=e("../internals/fails"),i=e("../internals/well-known-symbol"),o=e("../internals/engine-v8-version"),s=i("species");t.exports=function(e){return o>=51||!n(function(){var t=[],r=t.constructor={};return r[s]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},{"../internals/engine-v8-version":142,"../internals/fails":145,"../internals/well-known-symbol":231}],119:[function(e,t,r){"use strict";var n=e("../internals/fails");t.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){throw 1},1)})}},{"../internals/fails":145}],120:[function(e,t,r){var n=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/has"),s=Object.defineProperty,a={},u=function(e){throw e};t.exports=function(e,t){if(o(a,e))return a[e];t||(t={});var r=[][e],c=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:u,f=o(t,1)?t[1]:void 0;return a[e]=!!r&&!i(function(){if(c&&!n)return!0;var e={length:-1};c?s(e,1,{enumerable:!0,get:u}):e[1]=1,r.call(e,l,f)})}},{"../internals/descriptors":136,"../internals/fails":145,"../internals/has":151}],121:[function(e,t,r){var n=e("../internals/a-function"),i=e("../internals/to-object"),o=e("../internals/indexed-object"),s=e("../internals/to-length"),a=function(e){return function(t,r,a,u){n(r);var c=i(t),l=o(c),f=s(c.length),p=e?f-1:0,d=e?-1:1;if(a<2)for(;;){if(p in l){u=l[p],p+=d;break}if(p+=d,e?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:f>p;p+=d)p in l&&(u=r(u,l[p],p,c));return u}};t.exports={left:a(!1),right:a(!0)}},{"../internals/a-function":102,"../internals/indexed-object":157,"../internals/to-length":219,"../internals/to-object":220}],122:[function(e,t,r){var n=e("../internals/is-object"),i=e("../internals/is-array"),o=e("../internals/well-known-symbol"),s=o("species");t.exports=function(e,t){var r;return i(e)&&(r=e.constructor,"function"!=typeof r||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[s])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},{"../internals/is-array":162,"../internals/is-object":164,"../internals/well-known-symbol":231}],123:[function(e,t,r){var n=e("../internals/an-object"),i=e("../internals/iterator-close");t.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){throw i(e),t}}},{"../internals/an-object":107,"../internals/iterator-close":168}],124:[function(e,t,r){var n=e("../internals/well-known-symbol"),i=n("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}t.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var n={};n[i]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}},{"../internals/well-known-symbol":231}],125:[function(e,t,r){var n={}.toString;t.exports=function(e){return n.call(e).slice(8,-1)}},{}],126:[function(e,t,r){var n=e("../internals/to-string-tag-support"),i=e("../internals/classof-raw"),o=e("../internals/well-known-symbol"),s=o("toStringTag"),a="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};t.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=Object(e),s))?r:a?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},{"../internals/classof-raw":125,"../internals/to-string-tag-support":224,"../internals/well-known-symbol":231}],127:[function(e,t,r){var n=e("../internals/has"),i=e("../internals/own-keys"),o=e("../internals/object-get-own-property-descriptor"),s=e("../internals/object-define-property");t.exports=function(e,t){for(var r=i(t),a=s.f,u=o.f,c=0;c=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=n[1]),t.exports=i&&+i},{"../internals/engine-user-agent":141,"../internals/global":150}],143:[function(e,t,r){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],144:[function(e,t,r){var n=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/create-non-enumerable-property"),s=e("../internals/redefine"),a=e("../internals/set-global"),u=e("../internals/copy-constructor-properties"),c=e("../internals/is-forced");t.exports=function(e,t){var r,l,f,p,d,h=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[h]||a(h,{}):(n[h]||{}).prototype)for(l in t){if(p=t[l],e.noTargetGet?(d=i(r,l),f=d&&d.value):f=r[l],!c(m?l:h+(y?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),s(r,l,p,e)}}},{"../internals/copy-constructor-properties":127,"../internals/create-non-enumerable-property":131,"../internals/global":150,"../internals/is-forced":163,"../internals/object-get-own-property-descriptor":181,"../internals/redefine":197,"../internals/set-global":204}],145:[function(e,t,r){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],146:[function(e,t,r){"use strict";e("../modules/es.regexp.exec");var n=e("../internals/redefine"),i=e("../internals/fails"),o=e("../internals/well-known-symbol"),s=e("../internals/regexp-exec"),a=e("../internals/create-non-enumerable-property"),u=o("species"),c=!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),l=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),p=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!i(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]});t.exports=function(e,t,r,f){var h=o(e),m=!i(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),y=m&&!i(function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[u]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t});if(!m||!y||"replace"===e&&(!c||!l||p)||"split"===e&&!d){var b=/./[h],g=r(h,""[e],function(e,t,r,n,i){return t.exec===s?m&&!i?{done:!0,value:b.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}},{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),v=g[0],w=g[1];n(String.prototype,e,v),n(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&a(RegExp.prototype[h],"sham",!0)}},{"../internals/create-non-enumerable-property":131,"../internals/fails":145,"../internals/redefine":197,"../internals/regexp-exec":199,"../internals/well-known-symbol":231,"../modules/es.regexp.exec":258}],147:[function(e,t,r){var n=e("../internals/a-function");t.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},{"../internals/a-function":102}],148:[function(e,t,r){var n=e("../internals/path"),i=e("../internals/global"),o=function(e){return"function"==typeof e?e:void 0};t.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},{"../internals/global":150,"../internals/path":193}],149:[function(e,t,r){var n=e("../internals/classof"),i=e("../internals/iterators"),o=e("../internals/well-known-symbol"),s=o("iterator");t.exports=function(e){if(void 0!=e)return e[s]||e["@@iterator"]||i[n(e)]}},{"../internals/classof":126,"../internals/iterators":170,"../internals/well-known-symbol":231}],150:[function(e,t,r){(function(e){var r=function(e){return e&&e.Math==Math&&e};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],151:[function(e,t,r){var n={}.hasOwnProperty;t.exports=function(e,t){return n.call(e,t)}},{}],152:[function(e,t,r){t.exports={}},{}],153:[function(e,t,r){var n=e("../internals/global");t.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},{"../internals/global":150}],154:[function(e,t,r){var n=e("../internals/get-built-in");t.exports=n("document","documentElement")},{"../internals/get-built-in":148}],155:[function(e,t,r){var n=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/document-create-element");t.exports=!n&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},{"../internals/descriptors":136,"../internals/document-create-element":137,"../internals/fails":145}],156:[function(e,t,r){var n=Math.abs,i=Math.pow,o=Math.floor,s=Math.log,a=Math.LN2,u=function(e,t,r){var u,c,l,f=new Array(r),p=8*r-t-1,d=(1<>1,m=23===t?i(2,-24)-i(2,-77):0,y=e<0||0===e&&1/e<0?1:0,b=0;for(e=n(e),e!=e||e===1/0?(c=e!=e?1:0,u=d):(u=o(s(e)/a),e*(l=i(2,-u))<1&&(u--,l*=2),e+=u+h>=1?m/l:m*i(2,1-h),e*l>=2&&(u++,l/=2),u+h>=d?(c=0,u=d):u+h>=1?(c=(e*l-1)*i(2,t),u+=h):(c=e*i(2,h-1)*i(2,t),u=0));t>=8;f[b++]=255&c,c/=256,t-=8);for(u=u<0;f[b++]=255&u,u/=256,p-=8);return f[--b]|=128*y,f},c=function(e,t){var r,n=e.length,o=8*n-t-1,s=(1<>1,u=o-7,c=n-1,l=e[c--],f=127&l;for(l>>=7;u>0;f=256*f+e[c],c--,u-=8);for(r=f&(1<<-u)-1,f>>=-u,u+=t;u>0;r=256*r+e[c],c--,u-=8);if(0===f)f=1-a;else{if(f===s)return r?NaN:l?-1/0:1/0;r+=i(2,t),f-=a}return(l?-1:1)*r*i(2,f-t)};t.exports={pack:u,unpack:c}},{}],157:[function(e,t,r){var n=e("../internals/fails"),i=e("../internals/classof-raw"),o="".split;t.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},{"../internals/classof-raw":125,"../internals/fails":145}],158:[function(e,t,r){var n=e("../internals/is-object"),i=e("../internals/object-set-prototype-of");t.exports=function(e,t,r){var o,s;return i&&"function"==typeof(o=t.constructor)&&o!==r&&n(s=o.prototype)&&s!==r.prototype&&i(e,s),e}},{"../internals/is-object":164,"../internals/object-set-prototype-of":189}],159:[function(e,t,r){var n=e("../internals/shared-store"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),t.exports=n.inspectSource},{"../internals/shared-store":208}],160:[function(e,t,r){var n,i,o,s=e("../internals/native-weak-map"),a=e("../internals/global"),u=e("../internals/is-object"),c=e("../internals/create-non-enumerable-property"),l=e("../internals/has"),f=e("../internals/shared-store"),p=e("../internals/shared-key"),d=e("../internals/hidden-keys"),h=a.WeakMap,m=function(e){return o(e)?i(e):n(e,{})},y=function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(s){var b=f.state||(f.state=new h),g=b.get,v=b.has,w=b.set;n=function(e,t){return t.facade=e,w.call(b,e,t),t},i=function(e){return g.call(b,e)||{}},o=function(e){return v.call(b,e)}}else{var x=p("state");d[x]=!0,n=function(e,t){return t.facade=e,c(e,x,t),t},i=function(e){return l(e,x)?e[x]:{}},o=function(e){return l(e,x)}}t.exports={set:n,get:i,has:o,enforce:m,getterFor:y}},{"../internals/create-non-enumerable-property":131,"../internals/global":150,"../internals/has":151,"../internals/hidden-keys":152,"../internals/is-object":164,"../internals/native-weak-map":174,"../internals/shared-key":207,"../internals/shared-store":208}],161:[function(e,t,r){var n=e("../internals/well-known-symbol"),i=e("../internals/iterators"),o=n("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},{"../internals/iterators":170,"../internals/well-known-symbol":231}],162:[function(e,t,r){var n=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"==n(e)}},{"../internals/classof-raw":125}],163:[function(e,t,r){var n=e("../internals/fails"),i=/#|\.prototype\./,o=function(e,t){var r=a[s(e)];return r==c||r!=u&&("function"==typeof t?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},{"../internals/fails":145}],164:[function(e,t,r){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],165:[function(e,t,r){t.exports=!1},{}],166:[function(e,t,r){var n=e("../internals/is-object"),i=e("../internals/classof-raw"),o=e("../internals/well-known-symbol"),s=o("match");t.exports=function(e){var t;return n(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==i(e))}},{"../internals/classof-raw":125,"../internals/is-object":164,"../internals/well-known-symbol":231}],167:[function(e,t,r){var n=e("../internals/an-object"),i=e("../internals/is-array-iterator-method"),o=e("../internals/to-length"),s=e("../internals/function-bind-context"),a=e("../internals/get-iterator-method"),u=e("../internals/iterator-close"),c=function(e,t){this.stopped=e,this.result=t};t.exports=function(e,t,r){var l,f,p,d,h,m,y,b=r&&r.that,g=!(!r||!r.AS_ENTRIES),v=!(!r||!r.IS_ITERATOR),w=!(!r||!r.INTERRUPTED),x=s(t,b,1+g+w),j=function(e){return l&&u(l),new c(!0,e)},_=function(e){return g?(n(e),w?x(e[0],e[1],j):x(e[0],e[1])):w?x(e,j):x(e)};if(v)l=e;else{if("function"!=typeof(f=a(e)))throw TypeError("Target is not iterable");if(i(f)){for(p=0,d=o(e.length);d>p;p++)if((h=_(e[p]))&&h instanceof c)return h;return new c(!1)}l=f.call(e)}for(m=l.next;!(y=m.call(l)).done;){try{h=_(y.value)}catch(e){throw u(l),e}if("object"==typeof h&&h&&h instanceof c)return h}return new c(!1)}},{"../internals/an-object":107,"../internals/function-bind-context":147,"../internals/get-iterator-method":149,"../internals/is-array-iterator-method":161,"../internals/iterator-close":168,"../internals/to-length":219}],168:[function(e,t,r){var n=e("../internals/an-object");t.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},{"../internals/an-object":107}],169:[function(e,t,r){"use strict";var n,i,o,s=e("../internals/object-get-prototype-of"),a=e("../internals/create-non-enumerable-property"),u=e("../internals/has"),c=e("../internals/well-known-symbol"),l=e("../internals/is-pure"),f=c("iterator"),p=!1,d=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=s(s(o)))!==Object.prototype&&(n=i):p=!0),void 0==n&&(n={}),l||u(n,f)||a(n,f,d),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},{"../internals/create-non-enumerable-property":131,"../internals/has":151,"../internals/is-pure":165,"../internals/object-get-prototype-of":185,"../internals/well-known-symbol":231}],170:[function(e,t,r){arguments[4][152][0].apply(r,arguments)},{dup:152}],171:[function(e,t,r){var n,i,o,s,a,u,c,l,f=e("../internals/global"),p=e("../internals/object-get-own-property-descriptor").f,d=e("../internals/task").set,h=e("../internals/engine-is-ios"),m=e("../internals/engine-is-node"),y=f.MutationObserver||f.WebKitMutationObserver,b=f.document,g=f.process,v=f.Promise,w=p(f,"queueMicrotask"),x=w&&w.value;x||(n=function(){var e,t;for(m&&(e=g.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?s():o=void 0,e}}o=void 0,e&&e.enter()},!h&&!m&&y&&b?(a=!0,u=b.createTextNode(""),new y(n).observe(u,{characterData:!0}),s=function(){u.data=a=!a}):v&&v.resolve?(c=v.resolve(void 0),l=c.then,s=function(){l.call(c,n)}):s=m?function(){g.nextTick(n)}:function(){d.call(f,n)}),t.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,s()),o=t}},{"../internals/engine-is-ios":139,"../internals/engine-is-node":140,"../internals/global":150,"../internals/object-get-own-property-descriptor":181,"../internals/task":214}],172:[function(e,t,r){var n=e("../internals/global");t.exports=n.Promise},{"../internals/global":150}],173:[function(e,t,r){var n=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!n(function(){return!String(Symbol())})},{"../internals/fails":145}],174:[function(e,t,r){var n=e("../internals/global"),i=e("../internals/inspect-source"),o=n.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},{"../internals/global":150,"../internals/inspect-source":159}],175:[function(e,t,r){"use strict";var n=e("../internals/a-function"),i=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};t.exports.f=function(e){return new i(e)}},{"../internals/a-function":102}],176:[function(e,t,r){var n=e("../internals/is-regexp");t.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},{"../internals/is-regexp":166}],177:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/object-keys"),s=e("../internals/object-get-own-property-symbols"),a=e("../internals/object-property-is-enumerable"),u=e("../internals/to-object"),c=e("../internals/indexed-object"),l=Object.assign,f=Object.defineProperty;t.exports=!l||i(function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[r]||o(l({},t)).join("")!=i})?function(e,t){for(var r=u(e),i=arguments.length,l=1,f=s.f,p=a.f;i>l;)for(var d,h=c(arguments[l++]),m=f?o(h).concat(f(h)):o(h),y=m.length,b=0;y>b;)d=m[b++],n&&!p.call(h,d)||(r[d]=h[d]);return r}:l},{"../internals/descriptors":136,"../internals/fails":145,"../internals/indexed-object":157,"../internals/object-get-own-property-symbols":184,"../internals/object-keys":187,"../internals/object-property-is-enumerable":188,"../internals/to-object":220}],178:[function(e,t,r){var n,i=e("../internals/an-object"),o=e("../internals/object-define-properties"),s=e("../internals/enum-bug-keys"),a=e("../internals/hidden-keys"),u=e("../internals/html"),c=e("../internals/document-create-element"),l=e("../internals/shared-key"),f=l("IE_PROTO"),p=function(){},d=function(e){return"