diff --git a/dist/index.js b/dist/index.js
index 39ec397..69351bf 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,7 +1,7 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
-/***/ 9845:
+/***/ 6479:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -36,9 +36,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.FileFinder = void 0;
-const glob = __importStar(__nccwpck_require__(2248));
+const glob = __importStar(__nccwpck_require__(7243));
const fs_1 = __nccwpck_require__(5747);
-const core_1 = __nccwpck_require__(647);
+const core_1 = __nccwpck_require__(8156);
const path = __importStar(__nccwpck_require__(5622));
const util_1 = __nccwpck_require__(1669);
const stats = util_1.promisify(fs_1.stat);
@@ -159,7 +159,7 @@ FileFinder.DefaultGlobOptions = {
/***/ }),
-/***/ 3229:
+/***/ 9305:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -185,8 +185,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Inputs = void 0;
-const core = __importStar(__nccwpck_require__(647));
-const NoFileOption_1 = __nccwpck_require__(8610);
+const core = __importStar(__nccwpck_require__(8156));
+const NoFileOption_1 = __nccwpck_require__(4075);
class Inputs {
static get ArtifactName() {
return core.getInput("name");
@@ -220,7 +220,7 @@ exports.Inputs = Inputs;
/***/ }),
-/***/ 8610:
+/***/ 4075:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -246,7 +246,46 @@ var NoFileOption;
/***/ }),
-/***/ 7449:
+/***/ 5187:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+ o["default"] = v;
+});
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+const Inputs_1 = __nccwpck_require__(9305);
+const NextcloudArtifact_1 = __nccwpck_require__(3733);
+const core = __importStar(__nccwpck_require__(8156));
+try {
+ var artifact = new NextcloudArtifact_1.NextcloudArtifact(Inputs_1.Inputs.ArtifactName, Inputs_1.Inputs.ArtifactPath, Inputs_1.Inputs.NoFileBehvaior);
+ artifact.run();
+}
+catch (error) {
+ core.setFailed(error.message);
+}
+//# sourceMappingURL=nextcloud-artifacts.js.map
+
+/***/ }),
+
+/***/ 3733:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -281,11 +320,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.NextcloudArtifact = void 0;
-const core = __importStar(__nccwpck_require__(647));
-const FileFinder_1 = __nccwpck_require__(9845);
-const Inputs_1 = __nccwpck_require__(3229);
-const NextcloudClient_1 = __nccwpck_require__(8590);
-const NoFileOption_1 = __nccwpck_require__(8610);
+const core = __importStar(__nccwpck_require__(8156));
+const FileFinder_1 = __nccwpck_require__(6479);
+const Inputs_1 = __nccwpck_require__(9305);
+const NextcloudClient_1 = __nccwpck_require__(7528);
+const NoFileOption_1 = __nccwpck_require__(4075);
class NextcloudArtifact {
constructor(name, path, errorBehavior) {
this.name = name;
@@ -342,7 +381,7 @@ exports.NextcloudArtifact = NextcloudArtifact;
/***/ }),
-/***/ 8590:
+/***/ 7528:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -382,13 +421,15 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.NextcloudClient = void 0;
const fsSync = __importStar(__nccwpck_require__(5747));
const path = __importStar(__nccwpck_require__(5622));
-const core = __importStar(__nccwpck_require__(647));
+const core = __importStar(__nccwpck_require__(8156));
const os = __importStar(__nccwpck_require__(2087));
-const archiver = __importStar(__nccwpck_require__(1521));
-const node_fetch_1 = __importDefault(__nccwpck_require__(9358));
-const Inputs_1 = __nccwpck_require__(3229);
-const btoa_1 = __importDefault(__nccwpck_require__(3780));
-const uuid_1 = __nccwpck_require__(2712);
+const archiver = __importStar(__nccwpck_require__(5456));
+const node_fetch_1 = __importDefault(__nccwpck_require__(8543));
+const Inputs_1 = __nccwpck_require__(9305);
+const btoa_1 = __importDefault(__nccwpck_require__(2799));
+const uuid_1 = __nccwpck_require__(6508);
+const webdav = __importStar(__nccwpck_require__(6954));
+const webdav_1 = __nccwpck_require__(6954);
const fs = fsSync.promises;
class NextcloudClient {
constructor(endpoint, artifact, rootDirectory) {
@@ -397,12 +438,21 @@ class NextcloudClient {
this.rootDirectory = rootDirectory;
this.guid = uuid_1.v4();
this.headers = { 'Authorization': 'Basic ' + btoa_1.default(`${Inputs_1.Inputs.Username}:${Inputs_1.Inputs.Password}`) };
+ this.davClient = webdav.createClient(this.endpoint, {
+ authType: webdav_1.AuthType.Digest,
+ username: Inputs_1.Inputs.Username,
+ password: Inputs_1.Inputs.Password
+ });
}
uploadFiles(files) {
return __awaiter(this, void 0, void 0, function* () {
+ core.info("Begin uploading files...");
const spec = this.uploadSpec(files);
+ core.info("Zipping files...");
var zip = yield this.zipFiles(spec);
+ core.info("Uploading to Nextcloud...");
const path = yield this.upload(zip);
+ core.info("Sharing file...");
yield this.shareFile(path);
});
}
@@ -504,23 +554,24 @@ class NextcloudClient {
}
upload(file) {
return __awaiter(this, void 0, void 0, function* () {
- const filePath = `/artifacts/${this.guid}/${this.artifact}`;
- const url = this.endpoint + `/remote.php/dav/files/${Inputs_1.Inputs.Username}` + filePath;
+ const remoteFileDir = `/artifacts/${this.guid}`;
+ if (!(yield this.davClient.exists(remoteFileDir))) {
+ yield this.davClient.createDirectory(remoteFileDir, { recursive: true });
+ }
+ const remoteFilePath = path.join(remoteFileDir, `${this.artifact}.zip`);
const stream = fsSync.createReadStream(file);
- const res = yield node_fetch_1.default(url, {
- method: 'PUT',
- body: stream,
- headers: this.headers
+ const res = yield this.davClient.putFileContents(remoteFilePath, stream, {
+ onUploadProgress: p => core.debug(`Progress: ${p.loaded}/${p.total}`),
});
- core.debug(yield res.text());
- return filePath;
+ core.debug(`Upload status: ${res}`);
+ return remoteFilePath;
});
}
- shareFile(nextcloudPath) {
+ shareFile(remoteFilePath) {
return __awaiter(this, void 0, void 0, function* () {
const url = this.endpoint + `/ocs/v2.php/apps/files_sharing/api/v1/shares`;
const body = {
- path: nextcloudPath,
+ path: remoteFilePath,
shareType: 3,
publicUpload: "false",
permissions: 1,
@@ -539,7 +590,7 @@ exports.NextcloudClient = NextcloudClient;
/***/ }),
-/***/ 1745:
+/***/ 9049:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -566,7 +617,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.issue = exports.issueCommand = void 0;
const os = __importStar(__nccwpck_require__(2087));
-const utils_1 = __nccwpck_require__(9981);
+const utils_1 = __nccwpck_require__(4693);
/**
* Commands
*
@@ -638,7 +689,7 @@ function escapeProperty(s) {
/***/ }),
-/***/ 647:
+/***/ 8156:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -673,9 +724,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
-const command_1 = __nccwpck_require__(1745);
-const file_command_1 = __nccwpck_require__(688);
-const utils_1 = __nccwpck_require__(9981);
+const command_1 = __nccwpck_require__(9049);
+const file_command_1 = __nccwpck_require__(8629);
+const utils_1 = __nccwpck_require__(4693);
const os = __importStar(__nccwpck_require__(2087));
const path = __importStar(__nccwpck_require__(5622));
/**
@@ -924,7 +975,7 @@ exports.getState = getState;
/***/ }),
-/***/ 688:
+/***/ 8629:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -955,7 +1006,7 @@ exports.issueCommand = void 0;
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__nccwpck_require__(5747));
const os = __importStar(__nccwpck_require__(2087));
-const utils_1 = __nccwpck_require__(9981);
+const utils_1 = __nccwpck_require__(4693);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
@@ -973,7 +1024,7 @@ exports.issueCommand = issueCommand;
/***/ }),
-/***/ 9981:
+/***/ 4693:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -1000,7 +1051,7 @@ exports.toCommandValue = toCommandValue;
/***/ }),
-/***/ 2248:
+/***/ 7243:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1016,7 +1067,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.create = void 0;
-const internal_globber_1 = __nccwpck_require__(9041);
+const internal_globber_1 = __nccwpck_require__(9614);
/**
* Constructs a globber
*
@@ -1033,7 +1084,7 @@ exports.create = create;
/***/ }),
-/***/ 9515:
+/***/ 1445:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1059,7 +1110,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getOptions = void 0;
-const core = __importStar(__nccwpck_require__(647));
+const core = __importStar(__nccwpck_require__(8156));
/**
* Returns a copy with defaults filled in.
*/
@@ -1090,7 +1141,7 @@ exports.getOptions = getOptions;
/***/ }),
-/***/ 9041:
+/***/ 9614:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1144,14 +1195,14 @@ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _ar
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.DefaultGlobber = void 0;
-const core = __importStar(__nccwpck_require__(647));
+const core = __importStar(__nccwpck_require__(8156));
const fs = __importStar(__nccwpck_require__(5747));
-const globOptionsHelper = __importStar(__nccwpck_require__(9515));
+const globOptionsHelper = __importStar(__nccwpck_require__(1445));
const path = __importStar(__nccwpck_require__(5622));
-const patternHelper = __importStar(__nccwpck_require__(6012));
-const internal_match_kind_1 = __nccwpck_require__(6001);
-const internal_pattern_1 = __nccwpck_require__(2201);
-const internal_search_state_1 = __nccwpck_require__(8826);
+const patternHelper = __importStar(__nccwpck_require__(9648));
+const internal_match_kind_1 = __nccwpck_require__(1395);
+const internal_pattern_1 = __nccwpck_require__(9745);
+const internal_search_state_1 = __nccwpck_require__(1328);
const IS_WINDOWS = process.platform === 'win32';
class DefaultGlobber {
constructor(options) {
@@ -1332,7 +1383,7 @@ exports.DefaultGlobber = DefaultGlobber;
/***/ }),
-/***/ 6001:
+/***/ 1395:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -1357,7 +1408,7 @@ var MatchKind;
/***/ }),
-/***/ 3239:
+/***/ 5332:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1562,7 +1613,7 @@ exports.safeTrimTrailingSeparator = safeTrimTrailingSeparator;
/***/ }),
-/***/ 9916:
+/***/ 7603:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1592,7 +1643,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Path = void 0;
const path = __importStar(__nccwpck_require__(5622));
-const pathHelper = __importStar(__nccwpck_require__(3239));
+const pathHelper = __importStar(__nccwpck_require__(5332));
const assert_1 = __importDefault(__nccwpck_require__(2357));
const IS_WINDOWS = process.platform === 'win32';
/**
@@ -1682,7 +1733,7 @@ exports.Path = Path;
/***/ }),
-/***/ 6012:
+/***/ 9648:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1708,8 +1759,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.partialMatch = exports.match = exports.getSearchPaths = void 0;
-const pathHelper = __importStar(__nccwpck_require__(3239));
-const internal_match_kind_1 = __nccwpck_require__(6001);
+const pathHelper = __importStar(__nccwpck_require__(5332));
+const internal_match_kind_1 = __nccwpck_require__(1395);
const IS_WINDOWS = process.platform === 'win32';
/**
* Given an array of patterns, returns an array of paths to search.
@@ -1783,7 +1834,7 @@ exports.partialMatch = partialMatch;
/***/ }),
-/***/ 2201:
+/***/ 9745:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1814,11 +1865,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Pattern = void 0;
const os = __importStar(__nccwpck_require__(2087));
const path = __importStar(__nccwpck_require__(5622));
-const pathHelper = __importStar(__nccwpck_require__(3239));
+const pathHelper = __importStar(__nccwpck_require__(5332));
const assert_1 = __importDefault(__nccwpck_require__(2357));
-const minimatch_1 = __nccwpck_require__(8285);
-const internal_match_kind_1 = __nccwpck_require__(6001);
-const internal_path_1 = __nccwpck_require__(9916);
+const minimatch_1 = __nccwpck_require__(844);
+const internal_match_kind_1 = __nccwpck_require__(1395);
+const internal_path_1 = __nccwpck_require__(7603);
const IS_WINDOWS = process.platform === 'win32';
class Pattern {
constructor(patternOrNegate, isImplicitPattern = false, segments, homedir) {
@@ -2045,7 +2096,7 @@ exports.Pattern = Pattern;
/***/ }),
-/***/ 8826:
+/***/ 1328:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -2063,7 +2114,7 @@ exports.SearchState = SearchState;
/***/ }),
-/***/ 6575:
+/***/ 7438:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -2073,15 +2124,15 @@ exports.SearchState = SearchState;
* Licensed under the MIT license.
* https://github.com/archiverjs/node-archiver/blob/master/LICENSE-MIT
*/
-var fs = __nccwpck_require__(7750);
+var fs = __nccwpck_require__(4725);
var path = __nccwpck_require__(5622);
-var flatten = __nccwpck_require__(1009);
-var difference = __nccwpck_require__(3268);
-var union = __nccwpck_require__(3799);
-var isPlainObject = __nccwpck_require__(2986);
+var flatten = __nccwpck_require__(2997);
+var difference = __nccwpck_require__(3986);
+var union = __nccwpck_require__(8930);
+var isPlainObject = __nccwpck_require__(1989);
-var glob = __nccwpck_require__(2436);
+var glob = __nccwpck_require__(8787);
var file = module.exports = {};
@@ -2279,7 +2330,7 @@ file.normalizeFilesArray = function(data) {
/***/ }),
-/***/ 7012:
+/***/ 3873:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -2289,18 +2340,18 @@ file.normalizeFilesArray = function(data) {
* Licensed under the MIT license.
* https://github.com/archiverjs/archiver-utils/blob/master/LICENSE
*/
-var fs = __nccwpck_require__(7750);
+var fs = __nccwpck_require__(4725);
var path = __nccwpck_require__(5622);
var nutil = __nccwpck_require__(1669);
-var lazystream = __nccwpck_require__(9623);
-var normalizePath = __nccwpck_require__(8137);
-var defaults = __nccwpck_require__(6619);
+var lazystream = __nccwpck_require__(5493);
+var normalizePath = __nccwpck_require__(2046);
+var defaults = __nccwpck_require__(1718);
var Stream = __nccwpck_require__(2413).Stream;
-var PassThrough = __nccwpck_require__(7036).PassThrough;
+var PassThrough = __nccwpck_require__(8385).PassThrough;
var utils = module.exports = {};
-utils.file = __nccwpck_require__(6575);
+utils.file = __nccwpck_require__(7438);
function assertPath(path) {
if (typeof path !== 'string') {
@@ -2442,7 +2493,7 @@ utils.walkdir = function(dirpath, base, callback) {
/***/ }),
-/***/ 6636:
+/***/ 4798:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -2476,7 +2527,7 @@ utils.walkdir = function(dirpath, base, callback) {
/**/
-var pna = __nccwpck_require__(205);
+var pna = __nccwpck_require__(762);
/**/
/**/
@@ -2491,12 +2542,12 @@ var objectKeys = Object.keys || function (obj) {
module.exports = Duplex;
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
-var Readable = __nccwpck_require__(897);
-var Writable = __nccwpck_require__(8840);
+var Readable = __nccwpck_require__(6119);
+var Writable = __nccwpck_require__(6637);
util.inherits(Duplex, Readable);
@@ -2580,7 +2631,7 @@ Duplex.prototype._destroy = function (err, cb) {
/***/ }),
-/***/ 5563:
+/***/ 2950:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -2613,11 +2664,11 @@ Duplex.prototype._destroy = function (err, cb) {
module.exports = PassThrough;
-var Transform = __nccwpck_require__(1488);
+var Transform = __nccwpck_require__(3656);
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
util.inherits(PassThrough, Transform);
@@ -2634,7 +2685,7 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
/***/ }),
-/***/ 897:
+/***/ 6119:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -2663,13 +2714,13 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
/**/
-var pna = __nccwpck_require__(205);
+var pna = __nccwpck_require__(762);
/**/
module.exports = Readable;
/**/
-var isArray = __nccwpck_require__(201);
+var isArray = __nccwpck_require__(9457);
/**/
/**/
@@ -2687,12 +2738,12 @@ var EElistenerCount = function (emitter, type) {
/**/
/**/
-var Stream = __nccwpck_require__(3389);
+var Stream = __nccwpck_require__(3901);
/**/
/**/
-var Buffer = __nccwpck_require__(378).Buffer;
+var Buffer = __nccwpck_require__(2646).Buffer;
var OurUint8Array = global.Uint8Array || function () {};
function _uint8ArrayToBuffer(chunk) {
return Buffer.from(chunk);
@@ -2704,8 +2755,8 @@ function _isUint8Array(obj) {
/**/
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
/**/
@@ -2718,8 +2769,8 @@ if (debugUtil && debugUtil.debuglog) {
}
/**/
-var BufferList = __nccwpck_require__(6293);
-var destroyImpl = __nccwpck_require__(328);
+var BufferList = __nccwpck_require__(7874);
+var destroyImpl = __nccwpck_require__(2871);
var StringDecoder;
util.inherits(Readable, Stream);
@@ -2739,7 +2790,7 @@ function prependListener(emitter, event, fn) {
}
function ReadableState(options, stream) {
- Duplex = Duplex || __nccwpck_require__(6636);
+ Duplex = Duplex || __nccwpck_require__(4798);
options = options || {};
@@ -2809,14 +2860,14 @@ function ReadableState(options, stream) {
this.decoder = null;
this.encoding = null;
if (options.encoding) {
- if (!StringDecoder) StringDecoder = __nccwpck_require__(9587)/* .StringDecoder */ .s;
+ if (!StringDecoder) StringDecoder = __nccwpck_require__(2562)/* .StringDecoder */ .s;
this.decoder = new StringDecoder(options.encoding);
this.encoding = options.encoding;
}
}
function Readable(options) {
- Duplex = Duplex || __nccwpck_require__(6636);
+ Duplex = Duplex || __nccwpck_require__(4798);
if (!(this instanceof Readable)) return new Readable(options);
@@ -2965,7 +3016,7 @@ Readable.prototype.isPaused = function () {
// backwards compatibility.
Readable.prototype.setEncoding = function (enc) {
- if (!StringDecoder) StringDecoder = __nccwpck_require__(9587)/* .StringDecoder */ .s;
+ if (!StringDecoder) StringDecoder = __nccwpck_require__(2562)/* .StringDecoder */ .s;
this._readableState.decoder = new StringDecoder(enc);
this._readableState.encoding = enc;
return this;
@@ -3660,7 +3711,7 @@ function indexOf(xs, x) {
/***/ }),
-/***/ 1488:
+/***/ 3656:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -3731,11 +3782,11 @@ function indexOf(xs, x) {
module.exports = Transform;
-var Duplex = __nccwpck_require__(6636);
+var Duplex = __nccwpck_require__(4798);
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
util.inherits(Transform, Duplex);
@@ -3881,7 +3932,7 @@ function done(stream, er, data) {
/***/ }),
-/***/ 8840:
+/***/ 6637:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -3914,7 +3965,7 @@ function done(stream, er, data) {
/**/
-var pna = __nccwpck_require__(205);
+var pna = __nccwpck_require__(762);
/**/
module.exports = Writable;
@@ -3951,23 +4002,23 @@ var Duplex;
Writable.WritableState = WritableState;
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
/**/
var internalUtil = {
- deprecate: __nccwpck_require__(4491)
+ deprecate: __nccwpck_require__(3075)
};
/**/
/**/
-var Stream = __nccwpck_require__(3389);
+var Stream = __nccwpck_require__(3901);
/**/
/**/
-var Buffer = __nccwpck_require__(378).Buffer;
+var Buffer = __nccwpck_require__(2646).Buffer;
var OurUint8Array = global.Uint8Array || function () {};
function _uint8ArrayToBuffer(chunk) {
return Buffer.from(chunk);
@@ -3978,14 +4029,14 @@ function _isUint8Array(obj) {
/**/
-var destroyImpl = __nccwpck_require__(328);
+var destroyImpl = __nccwpck_require__(2871);
util.inherits(Writable, Stream);
function nop() {}
function WritableState(options, stream) {
- Duplex = Duplex || __nccwpck_require__(6636);
+ Duplex = Duplex || __nccwpck_require__(4798);
options = options || {};
@@ -4135,7 +4186,7 @@ if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.protot
}
function Writable(options) {
- Duplex = Duplex || __nccwpck_require__(6636);
+ Duplex = Duplex || __nccwpck_require__(4798);
// Writable ctor is applied to Duplexes, too.
// `realHasInstance` is necessary because using plain `instanceof`
@@ -4575,7 +4626,7 @@ Writable.prototype._destroy = function (err, cb) {
/***/ }),
-/***/ 6293:
+/***/ 7874:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -4583,7 +4634,7 @@ Writable.prototype._destroy = function (err, cb) {
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-var Buffer = __nccwpck_require__(378).Buffer;
+var Buffer = __nccwpck_require__(2646).Buffer;
var util = __nccwpck_require__(1669);
function copyBuffer(src, target, offset) {
@@ -4661,7 +4712,7 @@ if (util && util.inspect && util.inspect.custom) {
/***/ }),
-/***/ 328:
+/***/ 2871:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -4669,7 +4720,7 @@ if (util && util.inspect && util.inspect.custom) {
/**/
-var pna = __nccwpck_require__(205);
+var pna = __nccwpck_require__(762);
/**/
// undocumented cb() API, needed for core, not for public API
@@ -4742,7 +4793,7 @@ module.exports = {
/***/ }),
-/***/ 3389:
+/***/ 3901:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = __nccwpck_require__(2413);
@@ -4750,7 +4801,7 @@ module.exports = __nccwpck_require__(2413);
/***/ }),
-/***/ 7036:
+/***/ 8385:
/***/ ((module, exports, __nccwpck_require__) => {
var Stream = __nccwpck_require__(2413);
@@ -4764,19 +4815,19 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) {
exports.PassThrough = Stream.PassThrough;
exports.Stream = Stream;
} else {
- exports = module.exports = __nccwpck_require__(897);
+ exports = module.exports = __nccwpck_require__(6119);
exports.Stream = Stream || exports;
exports.Readable = exports;
- exports.Writable = __nccwpck_require__(8840);
- exports.Duplex = __nccwpck_require__(6636);
- exports.Transform = __nccwpck_require__(1488);
- exports.PassThrough = __nccwpck_require__(5563);
+ exports.Writable = __nccwpck_require__(6637);
+ exports.Duplex = __nccwpck_require__(4798);
+ exports.Transform = __nccwpck_require__(3656);
+ exports.PassThrough = __nccwpck_require__(2950);
}
/***/ }),
-/***/ 1521:
+/***/ 5456:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -4786,7 +4837,7 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) {
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
-var Archiver = __nccwpck_require__(1687);
+var Archiver = __nccwpck_require__(7483);
var formats = {};
@@ -4858,15 +4909,15 @@ vending.isRegisteredFormat = function (format) {
return false;
};
-vending.registerFormat('zip', __nccwpck_require__(9834));
-vending.registerFormat('tar', __nccwpck_require__(3326));
-vending.registerFormat('json', __nccwpck_require__(2639));
+vending.registerFormat('zip', __nccwpck_require__(9709));
+vending.registerFormat('tar', __nccwpck_require__(3023));
+vending.registerFormat('json', __nccwpck_require__(5639));
module.exports = vending;
/***/ }),
-/***/ 1687:
+/***/ 7483:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -4877,14 +4928,14 @@ module.exports = vending;
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
var fs = __nccwpck_require__(5747);
-var glob = __nccwpck_require__(7259);
-var async = __nccwpck_require__(3069);
+var glob = __nccwpck_require__(4101);
+var async = __nccwpck_require__(8988);
var path = __nccwpck_require__(5622);
-var util = __nccwpck_require__(7012);
+var util = __nccwpck_require__(3873);
var inherits = __nccwpck_require__(1669).inherits;
-var ArchiverError = __nccwpck_require__(91);
-var Transform = __nccwpck_require__(8858).Transform;
+var ArchiverError = __nccwpck_require__(6565);
+var Transform = __nccwpck_require__(5624).Transform;
var win32 = process.platform === 'win32';
@@ -5847,7 +5898,7 @@ module.exports = Archiver;
/***/ }),
-/***/ 91:
+/***/ 6565:
/***/ ((module, exports, __nccwpck_require__) => {
/**
@@ -5893,7 +5944,7 @@ exports = module.exports = ArchiverError;
/***/ }),
-/***/ 2639:
+/***/ 5639:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -5904,10 +5955,10 @@ exports = module.exports = ArchiverError;
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
var inherits = __nccwpck_require__(1669).inherits;
-var Transform = __nccwpck_require__(8858).Transform;
+var Transform = __nccwpck_require__(5624).Transform;
-var crc32 = __nccwpck_require__(50);
-var util = __nccwpck_require__(7012);
+var crc32 = __nccwpck_require__(3677);
+var util = __nccwpck_require__(3873);
/**
* @constructor
@@ -6010,7 +6061,7 @@ module.exports = Json;
/***/ }),
-/***/ 3326:
+/***/ 3023:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -6022,8 +6073,8 @@ module.exports = Json;
*/
var zlib = __nccwpck_require__(8761);
-var engine = __nccwpck_require__(4635);
-var util = __nccwpck_require__(7012);
+var engine = __nccwpck_require__(438);
+var util = __nccwpck_require__(3873);
/**
* @constructor
@@ -6184,7 +6235,7 @@ module.exports = Tar;
/***/ }),
-/***/ 9834:
+/***/ 9709:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -6194,8 +6245,8 @@ module.exports = Tar;
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
-var engine = __nccwpck_require__(155);
-var util = __nccwpck_require__(7012);
+var engine = __nccwpck_require__(2078);
+var util = __nccwpck_require__(3873);
/**
* @constructor
@@ -6311,7 +6362,7 @@ module.exports = Zip;
/***/ }),
-/***/ 3069:
+/***/ 8988:
/***/ (function(__unused_webpack_module, exports) {
(function (global, factory) {
@@ -11163,7 +11214,2069 @@ module.exports = Zip;
/***/ }),
-/***/ 1498:
+/***/ 278:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+module.exports = __nccwpck_require__(1621);
+
+/***/ }),
+
+/***/ 8054:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+var settle = __nccwpck_require__(6173);
+var buildFullPath = __nccwpck_require__(6319);
+var buildURL = __nccwpck_require__(7064);
+var http = __nccwpck_require__(8605);
+var https = __nccwpck_require__(7211);
+var httpFollow = __nccwpck_require__(3133).http;
+var httpsFollow = __nccwpck_require__(3133).https;
+var url = __nccwpck_require__(8835);
+var zlib = __nccwpck_require__(8761);
+var pkg = __nccwpck_require__(696);
+var createError = __nccwpck_require__(6491);
+var enhanceError = __nccwpck_require__(8249);
+
+var isHttps = /https:?/;
+
+/**
+ *
+ * @param {http.ClientRequestArgs} options
+ * @param {AxiosProxyConfig} proxy
+ * @param {string} location
+ */
+function setProxy(options, proxy, location) {
+ options.hostname = proxy.host;
+ options.host = proxy.host;
+ options.port = proxy.port;
+ options.path = location;
+
+ // Basic proxy authorization
+ if (proxy.auth) {
+ var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');
+ options.headers['Proxy-Authorization'] = 'Basic ' + base64;
+ }
+
+ // If a proxy is used, any redirects must also pass through the proxy
+ options.beforeRedirect = function beforeRedirect(redirection) {
+ redirection.headers.host = redirection.host;
+ setProxy(redirection, proxy, redirection.href);
+ };
+}
+
+/*eslint consistent-return:0*/
+module.exports = function httpAdapter(config) {
+ return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {
+ var resolve = function resolve(value) {
+ resolvePromise(value);
+ };
+ var reject = function reject(value) {
+ rejectPromise(value);
+ };
+ var data = config.data;
+ var headers = config.headers;
+
+ // Set User-Agent (required by some servers)
+ // Only set header if it hasn't been set in config
+ // See https://github.com/axios/axios/issues/69
+ if (!headers['User-Agent'] && !headers['user-agent']) {
+ headers['User-Agent'] = 'axios/' + pkg.version;
+ }
+
+ if (data && !utils.isStream(data)) {
+ if (Buffer.isBuffer(data)) {
+ // Nothing to do...
+ } else if (utils.isArrayBuffer(data)) {
+ data = Buffer.from(new Uint8Array(data));
+ } else if (utils.isString(data)) {
+ data = Buffer.from(data, 'utf-8');
+ } else {
+ return reject(createError(
+ 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
+ config
+ ));
+ }
+
+ // Add Content-Length header if data exists
+ headers['Content-Length'] = data.length;
+ }
+
+ // HTTP basic authentication
+ var auth = undefined;
+ if (config.auth) {
+ var username = config.auth.username || '';
+ var password = config.auth.password || '';
+ auth = username + ':' + password;
+ }
+
+ // Parse url
+ var fullPath = buildFullPath(config.baseURL, config.url);
+ var parsed = url.parse(fullPath);
+ var protocol = parsed.protocol || 'http:';
+
+ if (!auth && parsed.auth) {
+ var urlAuth = parsed.auth.split(':');
+ var urlUsername = urlAuth[0] || '';
+ var urlPassword = urlAuth[1] || '';
+ auth = urlUsername + ':' + urlPassword;
+ }
+
+ if (auth) {
+ delete headers.Authorization;
+ }
+
+ var isHttpsRequest = isHttps.test(protocol);
+ var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
+
+ var options = {
+ path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\?/, ''),
+ method: config.method.toUpperCase(),
+ headers: headers,
+ agent: agent,
+ agents: { http: config.httpAgent, https: config.httpsAgent },
+ auth: auth
+ };
+
+ if (config.socketPath) {
+ options.socketPath = config.socketPath;
+ } else {
+ options.hostname = parsed.hostname;
+ options.port = parsed.port;
+ }
+
+ var proxy = config.proxy;
+ if (!proxy && proxy !== false) {
+ var proxyEnv = protocol.slice(0, -1) + '_proxy';
+ var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];
+ if (proxyUrl) {
+ var parsedProxyUrl = url.parse(proxyUrl);
+ var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;
+ var shouldProxy = true;
+
+ if (noProxyEnv) {
+ var noProxy = noProxyEnv.split(',').map(function trim(s) {
+ return s.trim();
+ });
+
+ shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {
+ if (!proxyElement) {
+ return false;
+ }
+ if (proxyElement === '*') {
+ return true;
+ }
+ if (proxyElement[0] === '.' &&
+ parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {
+ return true;
+ }
+
+ return parsed.hostname === proxyElement;
+ });
+ }
+
+ if (shouldProxy) {
+ proxy = {
+ host: parsedProxyUrl.hostname,
+ port: parsedProxyUrl.port,
+ protocol: parsedProxyUrl.protocol
+ };
+
+ if (parsedProxyUrl.auth) {
+ var proxyUrlAuth = parsedProxyUrl.auth.split(':');
+ proxy.auth = {
+ username: proxyUrlAuth[0],
+ password: proxyUrlAuth[1]
+ };
+ }
+ }
+ }
+ }
+
+ if (proxy) {
+ options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');
+ setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);
+ }
+
+ var transport;
+ var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);
+ if (config.transport) {
+ transport = config.transport;
+ } else if (config.maxRedirects === 0) {
+ transport = isHttpsProxy ? https : http;
+ } else {
+ if (config.maxRedirects) {
+ options.maxRedirects = config.maxRedirects;
+ }
+ transport = isHttpsProxy ? httpsFollow : httpFollow;
+ }
+
+ if (config.maxBodyLength > -1) {
+ options.maxBodyLength = config.maxBodyLength;
+ }
+
+ // Create the request
+ var req = transport.request(options, function handleResponse(res) {
+ if (req.aborted) return;
+
+ // uncompress the response body transparently if required
+ var stream = res;
+
+ // return the last request in case of redirects
+ var lastRequest = res.req || req;
+
+
+ // if no content, is HEAD request or decompress disabled we should not decompress
+ if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {
+ switch (res.headers['content-encoding']) {
+ /*eslint default-case:0*/
+ case 'gzip':
+ case 'compress':
+ case 'deflate':
+ // add the unzipper to the body stream processing pipeline
+ stream = stream.pipe(zlib.createUnzip());
+
+ // remove the content-encoding in order to not confuse downstream operations
+ delete res.headers['content-encoding'];
+ break;
+ }
+ }
+
+ var response = {
+ status: res.statusCode,
+ statusText: res.statusMessage,
+ headers: res.headers,
+ config: config,
+ request: lastRequest
+ };
+
+ if (config.responseType === 'stream') {
+ response.data = stream;
+ settle(resolve, reject, response);
+ } else {
+ var responseBuffer = [];
+ stream.on('data', function handleStreamData(chunk) {
+ responseBuffer.push(chunk);
+
+ // make sure the content length is not over the maxContentLength if specified
+ if (config.maxContentLength > -1 && Buffer.concat(responseBuffer).length > config.maxContentLength) {
+ stream.destroy();
+ reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
+ config, null, lastRequest));
+ }
+ });
+
+ stream.on('error', function handleStreamError(err) {
+ if (req.aborted) return;
+ reject(enhanceError(err, config, null, lastRequest));
+ });
+
+ stream.on('end', function handleStreamEnd() {
+ var responseData = Buffer.concat(responseBuffer);
+ if (config.responseType !== 'arraybuffer') {
+ responseData = responseData.toString(config.responseEncoding);
+ if (!config.responseEncoding || config.responseEncoding === 'utf8') {
+ responseData = utils.stripBOM(responseData);
+ }
+ }
+
+ response.data = responseData;
+ settle(resolve, reject, response);
+ });
+ }
+ });
+
+ // Handle errors
+ req.on('error', function handleRequestError(err) {
+ if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;
+ reject(enhanceError(err, config, null, req));
+ });
+
+ // Handle request timeout
+ if (config.timeout) {
+ // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
+ // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
+ // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
+ // And then these socket which be hang up will devoring CPU little by little.
+ // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
+ req.setTimeout(config.timeout, function handleRequestTimeout() {
+ req.abort();
+ reject(createError('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED', req));
+ });
+ }
+
+ if (config.cancelToken) {
+ // Handle cancellation
+ config.cancelToken.promise.then(function onCanceled(cancel) {
+ if (req.aborted) return;
+
+ req.abort();
+ reject(cancel);
+ });
+ }
+
+ // Send the request
+ if (utils.isStream(data)) {
+ data.on('error', function handleStreamError(err) {
+ reject(enhanceError(err, config, null, req));
+ }).pipe(req);
+ } else {
+ req.end(data);
+ }
+ });
+};
+
+
+/***/ }),
+
+/***/ 1590:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+var settle = __nccwpck_require__(6173);
+var cookies = __nccwpck_require__(9886);
+var buildURL = __nccwpck_require__(7064);
+var buildFullPath = __nccwpck_require__(6319);
+var parseHeaders = __nccwpck_require__(2381);
+var isURLSameOrigin = __nccwpck_require__(604);
+var createError = __nccwpck_require__(6491);
+
+module.exports = function xhrAdapter(config) {
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
+ var requestData = config.data;
+ var requestHeaders = config.headers;
+
+ if (utils.isFormData(requestData)) {
+ delete requestHeaders['Content-Type']; // Let the browser set it
+ }
+
+ var request = new XMLHttpRequest();
+
+ // HTTP basic authentication
+ if (config.auth) {
+ var username = config.auth.username || '';
+ var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
+ requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
+ }
+
+ var fullPath = buildFullPath(config.baseURL, config.url);
+ request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
+
+ // Set the request timeout in MS
+ request.timeout = config.timeout;
+
+ // Listen for ready state
+ request.onreadystatechange = function handleLoad() {
+ if (!request || request.readyState !== 4) {
+ return;
+ }
+
+ // The request errored out and we didn't get a response, this will be
+ // handled by onerror instead
+ // With one exception: request that using file: protocol, most browsers
+ // will return status as 0 even though it's a successful request
+ if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
+ return;
+ }
+
+ // Prepare the response
+ var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
+ var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;
+ var response = {
+ data: responseData,
+ status: request.status,
+ statusText: request.statusText,
+ headers: responseHeaders,
+ config: config,
+ request: request
+ };
+
+ settle(resolve, reject, response);
+
+ // Clean up request
+ request = null;
+ };
+
+ // Handle browser request cancellation (as opposed to a manual cancellation)
+ request.onabort = function handleAbort() {
+ if (!request) {
+ return;
+ }
+
+ reject(createError('Request aborted', config, 'ECONNABORTED', request));
+
+ // Clean up request
+ request = null;
+ };
+
+ // Handle low level network errors
+ request.onerror = function handleError() {
+ // Real errors are hidden from us by the browser
+ // onerror should only fire if it's a network error
+ reject(createError('Network Error', config, null, request));
+
+ // Clean up request
+ request = null;
+ };
+
+ // Handle timeout
+ request.ontimeout = function handleTimeout() {
+ var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
+ if (config.timeoutErrorMessage) {
+ timeoutErrorMessage = config.timeoutErrorMessage;
+ }
+ reject(createError(timeoutErrorMessage, config, 'ECONNABORTED',
+ request));
+
+ // Clean up request
+ request = null;
+ };
+
+ // Add xsrf header
+ // This is only done if running in a standard browser environment.
+ // Specifically not if we're in a web worker, or react-native.
+ if (utils.isStandardBrowserEnv()) {
+ // Add xsrf header
+ var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
+ cookies.read(config.xsrfCookieName) :
+ undefined;
+
+ if (xsrfValue) {
+ requestHeaders[config.xsrfHeaderName] = xsrfValue;
+ }
+ }
+
+ // Add headers to the request
+ if ('setRequestHeader' in request) {
+ utils.forEach(requestHeaders, function setRequestHeader(val, key) {
+ if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
+ // Remove Content-Type if data is undefined
+ delete requestHeaders[key];
+ } else {
+ // Otherwise add header to the request
+ request.setRequestHeader(key, val);
+ }
+ });
+ }
+
+ // Add withCredentials to request if needed
+ if (!utils.isUndefined(config.withCredentials)) {
+ request.withCredentials = !!config.withCredentials;
+ }
+
+ // Add responseType to request if needed
+ if (config.responseType) {
+ try {
+ request.responseType = config.responseType;
+ } catch (e) {
+ // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.
+ // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.
+ if (config.responseType !== 'json') {
+ throw e;
+ }
+ }
+ }
+
+ // Handle progress if needed
+ if (typeof config.onDownloadProgress === 'function') {
+ request.addEventListener('progress', config.onDownloadProgress);
+ }
+
+ // Not all browsers support upload events
+ if (typeof config.onUploadProgress === 'function' && request.upload) {
+ request.upload.addEventListener('progress', config.onUploadProgress);
+ }
+
+ if (config.cancelToken) {
+ // Handle cancellation
+ config.cancelToken.promise.then(function onCanceled(cancel) {
+ if (!request) {
+ return;
+ }
+
+ request.abort();
+ reject(cancel);
+ // Clean up request
+ request = null;
+ });
+ }
+
+ if (!requestData) {
+ requestData = null;
+ }
+
+ // Send the request
+ request.send(requestData);
+ });
+};
+
+
+/***/ }),
+
+/***/ 1621:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+var bind = __nccwpck_require__(1451);
+var Axios = __nccwpck_require__(1931);
+var mergeConfig = __nccwpck_require__(2025);
+var defaults = __nccwpck_require__(7250);
+
+/**
+ * Create an instance of Axios
+ *
+ * @param {Object} defaultConfig The default config for the instance
+ * @return {Axios} A new instance of Axios
+ */
+function createInstance(defaultConfig) {
+ var context = new Axios(defaultConfig);
+ var instance = bind(Axios.prototype.request, context);
+
+ // Copy axios.prototype to instance
+ utils.extend(instance, Axios.prototype, context);
+
+ // Copy context to instance
+ utils.extend(instance, context);
+
+ return instance;
+}
+
+// Create the default instance to be exported
+var axios = createInstance(defaults);
+
+// Expose Axios class to allow class inheritance
+axios.Axios = Axios;
+
+// Factory for creating new instances
+axios.create = function create(instanceConfig) {
+ return createInstance(mergeConfig(axios.defaults, instanceConfig));
+};
+
+// Expose Cancel & CancelToken
+axios.Cancel = __nccwpck_require__(275);
+axios.CancelToken = __nccwpck_require__(9082);
+axios.isCancel = __nccwpck_require__(3981);
+
+// Expose all/spread
+axios.all = function all(promises) {
+ return Promise.all(promises);
+};
+axios.spread = __nccwpck_require__(2354);
+
+// Expose isAxiosError
+axios.isAxiosError = __nccwpck_require__(9503);
+
+module.exports = axios;
+
+// Allow use of default import syntax in TypeScript
+module.exports.default = axios;
+
+
+/***/ }),
+
+/***/ 275:
+/***/ ((module) => {
+
+"use strict";
+
+
+/**
+ * A `Cancel` is an object that is thrown when an operation is canceled.
+ *
+ * @class
+ * @param {string=} message The message.
+ */
+function Cancel(message) {
+ this.message = message;
+}
+
+Cancel.prototype.toString = function toString() {
+ return 'Cancel' + (this.message ? ': ' + this.message : '');
+};
+
+Cancel.prototype.__CANCEL__ = true;
+
+module.exports = Cancel;
+
+
+/***/ }),
+
+/***/ 9082:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var Cancel = __nccwpck_require__(275);
+
+/**
+ * A `CancelToken` is an object that can be used to request cancellation of an operation.
+ *
+ * @class
+ * @param {Function} executor The executor function.
+ */
+function CancelToken(executor) {
+ if (typeof executor !== 'function') {
+ throw new TypeError('executor must be a function.');
+ }
+
+ var resolvePromise;
+ this.promise = new Promise(function promiseExecutor(resolve) {
+ resolvePromise = resolve;
+ });
+
+ var token = this;
+ executor(function cancel(message) {
+ if (token.reason) {
+ // Cancellation has already been requested
+ return;
+ }
+
+ token.reason = new Cancel(message);
+ resolvePromise(token.reason);
+ });
+}
+
+/**
+ * Throws a `Cancel` if cancellation has been requested.
+ */
+CancelToken.prototype.throwIfRequested = function throwIfRequested() {
+ if (this.reason) {
+ throw this.reason;
+ }
+};
+
+/**
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
+ * cancels the `CancelToken`.
+ */
+CancelToken.source = function source() {
+ var cancel;
+ var token = new CancelToken(function executor(c) {
+ cancel = c;
+ });
+ return {
+ token: token,
+ cancel: cancel
+ };
+};
+
+module.exports = CancelToken;
+
+
+/***/ }),
+
+/***/ 3981:
+/***/ ((module) => {
+
+"use strict";
+
+
+module.exports = function isCancel(value) {
+ return !!(value && value.__CANCEL__);
+};
+
+
+/***/ }),
+
+/***/ 1931:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+var buildURL = __nccwpck_require__(7064);
+var InterceptorManager = __nccwpck_require__(7788);
+var dispatchRequest = __nccwpck_require__(4354);
+var mergeConfig = __nccwpck_require__(2025);
+
+/**
+ * Create a new instance of Axios
+ *
+ * @param {Object} instanceConfig The default config for the instance
+ */
+function Axios(instanceConfig) {
+ this.defaults = instanceConfig;
+ this.interceptors = {
+ request: new InterceptorManager(),
+ response: new InterceptorManager()
+ };
+}
+
+/**
+ * Dispatch a request
+ *
+ * @param {Object} config The config specific for this request (merged with this.defaults)
+ */
+Axios.prototype.request = function request(config) {
+ /*eslint no-param-reassign:0*/
+ // Allow for axios('example/url'[, config]) a la fetch API
+ if (typeof config === 'string') {
+ config = arguments[1] || {};
+ config.url = arguments[0];
+ } else {
+ config = config || {};
+ }
+
+ config = mergeConfig(this.defaults, config);
+
+ // Set config.method
+ if (config.method) {
+ config.method = config.method.toLowerCase();
+ } else if (this.defaults.method) {
+ config.method = this.defaults.method.toLowerCase();
+ } else {
+ config.method = 'get';
+ }
+
+ // Hook up interceptors middleware
+ var chain = [dispatchRequest, undefined];
+ var promise = Promise.resolve(config);
+
+ this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
+ chain.unshift(interceptor.fulfilled, interceptor.rejected);
+ });
+
+ this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
+ chain.push(interceptor.fulfilled, interceptor.rejected);
+ });
+
+ while (chain.length) {
+ promise = promise.then(chain.shift(), chain.shift());
+ }
+
+ return promise;
+};
+
+Axios.prototype.getUri = function getUri(config) {
+ config = mergeConfig(this.defaults, config);
+ return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
+};
+
+// Provide aliases for supported request methods
+utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
+ /*eslint func-names:0*/
+ Axios.prototype[method] = function(url, config) {
+ return this.request(mergeConfig(config || {}, {
+ method: method,
+ url: url,
+ data: (config || {}).data
+ }));
+ };
+});
+
+utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
+ /*eslint func-names:0*/
+ Axios.prototype[method] = function(url, data, config) {
+ return this.request(mergeConfig(config || {}, {
+ method: method,
+ url: url,
+ data: data
+ }));
+ };
+});
+
+module.exports = Axios;
+
+
+/***/ }),
+
+/***/ 7788:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+
+function InterceptorManager() {
+ this.handlers = [];
+}
+
+/**
+ * Add a new interceptor to the stack
+ *
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
+ *
+ * @return {Number} An ID used to remove interceptor later
+ */
+InterceptorManager.prototype.use = function use(fulfilled, rejected) {
+ this.handlers.push({
+ fulfilled: fulfilled,
+ rejected: rejected
+ });
+ return this.handlers.length - 1;
+};
+
+/**
+ * Remove an interceptor from the stack
+ *
+ * @param {Number} id The ID that was returned by `use`
+ */
+InterceptorManager.prototype.eject = function eject(id) {
+ if (this.handlers[id]) {
+ this.handlers[id] = null;
+ }
+};
+
+/**
+ * Iterate over all the registered interceptors
+ *
+ * This method is particularly useful for skipping over any
+ * interceptors that may have become `null` calling `eject`.
+ *
+ * @param {Function} fn The function to call for each interceptor
+ */
+InterceptorManager.prototype.forEach = function forEach(fn) {
+ utils.forEach(this.handlers, function forEachHandler(h) {
+ if (h !== null) {
+ fn(h);
+ }
+ });
+};
+
+module.exports = InterceptorManager;
+
+
+/***/ }),
+
+/***/ 6319:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var isAbsoluteURL = __nccwpck_require__(7501);
+var combineURLs = __nccwpck_require__(2642);
+
+/**
+ * Creates a new URL by combining the baseURL with the requestedURL,
+ * only when the requestedURL is not already an absolute URL.
+ * If the requestURL is absolute, this function returns the requestedURL untouched.
+ *
+ * @param {string} baseURL The base URL
+ * @param {string} requestedURL Absolute or relative URL to combine
+ * @returns {string} The combined full path
+ */
+module.exports = function buildFullPath(baseURL, requestedURL) {
+ if (baseURL && !isAbsoluteURL(requestedURL)) {
+ return combineURLs(baseURL, requestedURL);
+ }
+ return requestedURL;
+};
+
+
+/***/ }),
+
+/***/ 6491:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var enhanceError = __nccwpck_require__(8249);
+
+/**
+ * Create an Error with the specified message, config, error code, request and response.
+ *
+ * @param {string} message The error message.
+ * @param {Object} config The config.
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
+ * @param {Object} [request] The request.
+ * @param {Object} [response] The response.
+ * @returns {Error} The created error.
+ */
+module.exports = function createError(message, config, code, request, response) {
+ var error = new Error(message);
+ return enhanceError(error, config, code, request, response);
+};
+
+
+/***/ }),
+
+/***/ 4354:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+var transformData = __nccwpck_require__(7495);
+var isCancel = __nccwpck_require__(3981);
+var defaults = __nccwpck_require__(7250);
+
+/**
+ * Throws a `Cancel` if cancellation has been requested.
+ */
+function throwIfCancellationRequested(config) {
+ if (config.cancelToken) {
+ config.cancelToken.throwIfRequested();
+ }
+}
+
+/**
+ * Dispatch a request to the server using the configured adapter.
+ *
+ * @param {object} config The config that is to be used for the request
+ * @returns {Promise} The Promise to be fulfilled
+ */
+module.exports = function dispatchRequest(config) {
+ throwIfCancellationRequested(config);
+
+ // Ensure headers exist
+ config.headers = config.headers || {};
+
+ // Transform request data
+ config.data = transformData(
+ config.data,
+ config.headers,
+ config.transformRequest
+ );
+
+ // Flatten headers
+ config.headers = utils.merge(
+ config.headers.common || {},
+ config.headers[config.method] || {},
+ config.headers
+ );
+
+ utils.forEach(
+ ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
+ function cleanHeaderConfig(method) {
+ delete config.headers[method];
+ }
+ );
+
+ var adapter = config.adapter || defaults.adapter;
+
+ return adapter(config).then(function onAdapterResolution(response) {
+ throwIfCancellationRequested(config);
+
+ // Transform response data
+ response.data = transformData(
+ response.data,
+ response.headers,
+ config.transformResponse
+ );
+
+ return response;
+ }, function onAdapterRejection(reason) {
+ if (!isCancel(reason)) {
+ throwIfCancellationRequested(config);
+
+ // Transform response data
+ if (reason && reason.response) {
+ reason.response.data = transformData(
+ reason.response.data,
+ reason.response.headers,
+ config.transformResponse
+ );
+ }
+ }
+
+ return Promise.reject(reason);
+ });
+};
+
+
+/***/ }),
+
+/***/ 8249:
+/***/ ((module) => {
+
+"use strict";
+
+
+/**
+ * Update an Error with the specified config, error code, and response.
+ *
+ * @param {Error} error The error to update.
+ * @param {Object} config The config.
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
+ * @param {Object} [request] The request.
+ * @param {Object} [response] The response.
+ * @returns {Error} The error.
+ */
+module.exports = function enhanceError(error, config, code, request, response) {
+ error.config = config;
+ if (code) {
+ error.code = code;
+ }
+
+ error.request = request;
+ error.response = response;
+ error.isAxiosError = true;
+
+ error.toJSON = function toJSON() {
+ return {
+ // Standard
+ message: this.message,
+ name: this.name,
+ // Microsoft
+ description: this.description,
+ number: this.number,
+ // Mozilla
+ fileName: this.fileName,
+ lineNumber: this.lineNumber,
+ columnNumber: this.columnNumber,
+ stack: this.stack,
+ // Axios
+ config: this.config,
+ code: this.code
+ };
+ };
+ return error;
+};
+
+
+/***/ }),
+
+/***/ 2025:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+
+/**
+ * Config-specific merge-function which creates a new config-object
+ * by merging two configuration objects together.
+ *
+ * @param {Object} config1
+ * @param {Object} config2
+ * @returns {Object} New object resulting from merging config2 to config1
+ */
+module.exports = function mergeConfig(config1, config2) {
+ // eslint-disable-next-line no-param-reassign
+ config2 = config2 || {};
+ var config = {};
+
+ var valueFromConfig2Keys = ['url', 'method', 'data'];
+ var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];
+ var defaultToConfig2Keys = [
+ 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',
+ 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
+ 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',
+ 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',
+ 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'
+ ];
+ var directMergeKeys = ['validateStatus'];
+
+ function getMergedValue(target, source) {
+ if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
+ return utils.merge(target, source);
+ } else if (utils.isPlainObject(source)) {
+ return utils.merge({}, source);
+ } else if (utils.isArray(source)) {
+ return source.slice();
+ }
+ return source;
+ }
+
+ function mergeDeepProperties(prop) {
+ if (!utils.isUndefined(config2[prop])) {
+ config[prop] = getMergedValue(config1[prop], config2[prop]);
+ } else if (!utils.isUndefined(config1[prop])) {
+ config[prop] = getMergedValue(undefined, config1[prop]);
+ }
+ }
+
+ utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
+ if (!utils.isUndefined(config2[prop])) {
+ config[prop] = getMergedValue(undefined, config2[prop]);
+ }
+ });
+
+ utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
+
+ utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
+ if (!utils.isUndefined(config2[prop])) {
+ config[prop] = getMergedValue(undefined, config2[prop]);
+ } else if (!utils.isUndefined(config1[prop])) {
+ config[prop] = getMergedValue(undefined, config1[prop]);
+ }
+ });
+
+ utils.forEach(directMergeKeys, function merge(prop) {
+ if (prop in config2) {
+ config[prop] = getMergedValue(config1[prop], config2[prop]);
+ } else if (prop in config1) {
+ config[prop] = getMergedValue(undefined, config1[prop]);
+ }
+ });
+
+ var axiosKeys = valueFromConfig2Keys
+ .concat(mergeDeepPropertiesKeys)
+ .concat(defaultToConfig2Keys)
+ .concat(directMergeKeys);
+
+ var otherKeys = Object
+ .keys(config1)
+ .concat(Object.keys(config2))
+ .filter(function filterAxiosKeys(key) {
+ return axiosKeys.indexOf(key) === -1;
+ });
+
+ utils.forEach(otherKeys, mergeDeepProperties);
+
+ return config;
+};
+
+
+/***/ }),
+
+/***/ 6173:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var createError = __nccwpck_require__(6491);
+
+/**
+ * Resolve or reject a Promise based on response status.
+ *
+ * @param {Function} resolve A function that resolves the promise.
+ * @param {Function} reject A function that rejects the promise.
+ * @param {object} response The response.
+ */
+module.exports = function settle(resolve, reject, response) {
+ var validateStatus = response.config.validateStatus;
+ if (!response.status || !validateStatus || validateStatus(response.status)) {
+ resolve(response);
+ } else {
+ reject(createError(
+ 'Request failed with status code ' + response.status,
+ response.config,
+ null,
+ response.request,
+ response
+ ));
+ }
+};
+
+
+/***/ }),
+
+/***/ 7495:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+
+/**
+ * Transform the data for a request or a response
+ *
+ * @param {Object|String} data The data to be transformed
+ * @param {Array} headers The headers for the request or response
+ * @param {Array|Function} fns A single function or Array of functions
+ * @returns {*} The resulting transformed data
+ */
+module.exports = function transformData(data, headers, fns) {
+ /*eslint no-param-reassign:0*/
+ utils.forEach(fns, function transform(fn) {
+ data = fn(data, headers);
+ });
+
+ return data;
+};
+
+
+/***/ }),
+
+/***/ 7250:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+var normalizeHeaderName = __nccwpck_require__(7984);
+
+var DEFAULT_CONTENT_TYPE = {
+ 'Content-Type': 'application/x-www-form-urlencoded'
+};
+
+function setContentTypeIfUnset(headers, value) {
+ if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
+ headers['Content-Type'] = value;
+ }
+}
+
+function getDefaultAdapter() {
+ var adapter;
+ if (typeof XMLHttpRequest !== 'undefined') {
+ // For browsers use XHR adapter
+ adapter = __nccwpck_require__(1590);
+ } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
+ // For node use HTTP adapter
+ adapter = __nccwpck_require__(8054);
+ }
+ return adapter;
+}
+
+var defaults = {
+ adapter: getDefaultAdapter(),
+
+ transformRequest: [function transformRequest(data, headers) {
+ normalizeHeaderName(headers, 'Accept');
+ normalizeHeaderName(headers, 'Content-Type');
+ if (utils.isFormData(data) ||
+ utils.isArrayBuffer(data) ||
+ utils.isBuffer(data) ||
+ utils.isStream(data) ||
+ utils.isFile(data) ||
+ utils.isBlob(data)
+ ) {
+ return data;
+ }
+ if (utils.isArrayBufferView(data)) {
+ return data.buffer;
+ }
+ if (utils.isURLSearchParams(data)) {
+ setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
+ return data.toString();
+ }
+ if (utils.isObject(data)) {
+ setContentTypeIfUnset(headers, 'application/json;charset=utf-8');
+ return JSON.stringify(data);
+ }
+ return data;
+ }],
+
+ transformResponse: [function transformResponse(data) {
+ /*eslint no-param-reassign:0*/
+ if (typeof data === 'string') {
+ try {
+ data = JSON.parse(data);
+ } catch (e) { /* Ignore */ }
+ }
+ return data;
+ }],
+
+ /**
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
+ * timeout is not created.
+ */
+ timeout: 0,
+
+ xsrfCookieName: 'XSRF-TOKEN',
+ xsrfHeaderName: 'X-XSRF-TOKEN',
+
+ maxContentLength: -1,
+ maxBodyLength: -1,
+
+ validateStatus: function validateStatus(status) {
+ return status >= 200 && status < 300;
+ }
+};
+
+defaults.headers = {
+ common: {
+ 'Accept': 'application/json, text/plain, */*'
+ }
+};
+
+utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
+ defaults.headers[method] = {};
+});
+
+utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
+ defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
+});
+
+module.exports = defaults;
+
+
+/***/ }),
+
+/***/ 1451:
+/***/ ((module) => {
+
+"use strict";
+
+
+module.exports = function bind(fn, thisArg) {
+ return function wrap() {
+ var args = new Array(arguments.length);
+ for (var i = 0; i < args.length; i++) {
+ args[i] = arguments[i];
+ }
+ return fn.apply(thisArg, args);
+ };
+};
+
+
+/***/ }),
+
+/***/ 7064:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+
+function encode(val) {
+ return encodeURIComponent(val).
+ replace(/%3A/gi, ':').
+ replace(/%24/g, '$').
+ replace(/%2C/gi, ',').
+ replace(/%20/g, '+').
+ replace(/%5B/gi, '[').
+ replace(/%5D/gi, ']');
+}
+
+/**
+ * Build a URL by appending params to the end
+ *
+ * @param {string} url The base of the url (e.g., http://www.google.com)
+ * @param {object} [params] The params to be appended
+ * @returns {string} The formatted url
+ */
+module.exports = function buildURL(url, params, paramsSerializer) {
+ /*eslint no-param-reassign:0*/
+ if (!params) {
+ return url;
+ }
+
+ var serializedParams;
+ if (paramsSerializer) {
+ serializedParams = paramsSerializer(params);
+ } else if (utils.isURLSearchParams(params)) {
+ serializedParams = params.toString();
+ } else {
+ var parts = [];
+
+ utils.forEach(params, function serialize(val, key) {
+ if (val === null || typeof val === 'undefined') {
+ return;
+ }
+
+ if (utils.isArray(val)) {
+ key = key + '[]';
+ } else {
+ val = [val];
+ }
+
+ utils.forEach(val, function parseValue(v) {
+ if (utils.isDate(v)) {
+ v = v.toISOString();
+ } else if (utils.isObject(v)) {
+ v = JSON.stringify(v);
+ }
+ parts.push(encode(key) + '=' + encode(v));
+ });
+ });
+
+ serializedParams = parts.join('&');
+ }
+
+ if (serializedParams) {
+ var hashmarkIndex = url.indexOf('#');
+ if (hashmarkIndex !== -1) {
+ url = url.slice(0, hashmarkIndex);
+ }
+
+ url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
+ }
+
+ return url;
+};
+
+
+/***/ }),
+
+/***/ 2642:
+/***/ ((module) => {
+
+"use strict";
+
+
+/**
+ * Creates a new URL by combining the specified URLs
+ *
+ * @param {string} baseURL The base URL
+ * @param {string} relativeURL The relative URL
+ * @returns {string} The combined URL
+ */
+module.exports = function combineURLs(baseURL, relativeURL) {
+ return relativeURL
+ ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
+ : baseURL;
+};
+
+
+/***/ }),
+
+/***/ 9886:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+
+module.exports = (
+ utils.isStandardBrowserEnv() ?
+
+ // Standard browser envs support document.cookie
+ (function standardBrowserEnv() {
+ return {
+ write: function write(name, value, expires, path, domain, secure) {
+ var cookie = [];
+ cookie.push(name + '=' + encodeURIComponent(value));
+
+ if (utils.isNumber(expires)) {
+ cookie.push('expires=' + new Date(expires).toGMTString());
+ }
+
+ if (utils.isString(path)) {
+ cookie.push('path=' + path);
+ }
+
+ if (utils.isString(domain)) {
+ cookie.push('domain=' + domain);
+ }
+
+ if (secure === true) {
+ cookie.push('secure');
+ }
+
+ document.cookie = cookie.join('; ');
+ },
+
+ read: function read(name) {
+ var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
+ return (match ? decodeURIComponent(match[3]) : null);
+ },
+
+ remove: function remove(name) {
+ this.write(name, '', Date.now() - 86400000);
+ }
+ };
+ })() :
+
+ // Non standard browser env (web workers, react-native) lack needed support.
+ (function nonStandardBrowserEnv() {
+ return {
+ write: function write() {},
+ read: function read() { return null; },
+ remove: function remove() {}
+ };
+ })()
+);
+
+
+/***/ }),
+
+/***/ 7501:
+/***/ ((module) => {
+
+"use strict";
+
+
+/**
+ * Determines whether the specified URL is absolute
+ *
+ * @param {string} url The URL to test
+ * @returns {boolean} True if the specified URL is absolute, otherwise false
+ */
+module.exports = function isAbsoluteURL(url) {
+ // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL).
+ // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
+ // by any combination of letters, digits, plus, period, or hyphen.
+ return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
+};
+
+
+/***/ }),
+
+/***/ 9503:
+/***/ ((module) => {
+
+"use strict";
+
+
+/**
+ * Determines whether the payload is an error thrown by Axios
+ *
+ * @param {*} payload The value to test
+ * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
+ */
+module.exports = function isAxiosError(payload) {
+ return (typeof payload === 'object') && (payload.isAxiosError === true);
+};
+
+
+/***/ }),
+
+/***/ 604:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+
+module.exports = (
+ utils.isStandardBrowserEnv() ?
+
+ // Standard browser envs have full support of the APIs needed to test
+ // whether the request URL is of the same origin as current location.
+ (function standardBrowserEnv() {
+ var msie = /(msie|trident)/i.test(navigator.userAgent);
+ var urlParsingNode = document.createElement('a');
+ var originURL;
+
+ /**
+ * Parse a URL to discover it's components
+ *
+ * @param {String} url The URL to be parsed
+ * @returns {Object}
+ */
+ function resolveURL(url) {
+ var href = url;
+
+ if (msie) {
+ // IE needs attribute set twice to normalize properties
+ urlParsingNode.setAttribute('href', href);
+ href = urlParsingNode.href;
+ }
+
+ urlParsingNode.setAttribute('href', href);
+
+ // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
+ return {
+ href: urlParsingNode.href,
+ protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
+ host: urlParsingNode.host,
+ search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
+ hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
+ hostname: urlParsingNode.hostname,
+ port: urlParsingNode.port,
+ pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
+ urlParsingNode.pathname :
+ '/' + urlParsingNode.pathname
+ };
+ }
+
+ originURL = resolveURL(window.location.href);
+
+ /**
+ * Determine if a URL shares the same origin as the current location
+ *
+ * @param {String} requestURL The URL to test
+ * @returns {boolean} True if URL shares the same origin, otherwise false
+ */
+ return function isURLSameOrigin(requestURL) {
+ var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
+ return (parsed.protocol === originURL.protocol &&
+ parsed.host === originURL.host);
+ };
+ })() :
+
+ // Non standard browser envs (web workers, react-native) lack needed support.
+ (function nonStandardBrowserEnv() {
+ return function isURLSameOrigin() {
+ return true;
+ };
+ })()
+);
+
+
+/***/ }),
+
+/***/ 7984:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+
+module.exports = function normalizeHeaderName(headers, normalizedName) {
+ utils.forEach(headers, function processHeader(value, name) {
+ if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
+ headers[normalizedName] = value;
+ delete headers[name];
+ }
+ });
+};
+
+
+/***/ }),
+
+/***/ 2381:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(7199);
+
+// Headers whose duplicates are ignored by node
+// c.f. https://nodejs.org/api/http.html#http_message_headers
+var ignoreDuplicateOf = [
+ 'age', 'authorization', 'content-length', 'content-type', 'etag',
+ 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
+ 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
+ 'referer', 'retry-after', 'user-agent'
+];
+
+/**
+ * Parse headers into an object
+ *
+ * ```
+ * Date: Wed, 27 Aug 2014 08:58:49 GMT
+ * Content-Type: application/json
+ * Connection: keep-alive
+ * Transfer-Encoding: chunked
+ * ```
+ *
+ * @param {String} headers Headers needing to be parsed
+ * @returns {Object} Headers parsed into an object
+ */
+module.exports = function parseHeaders(headers) {
+ var parsed = {};
+ var key;
+ var val;
+ var i;
+
+ if (!headers) { return parsed; }
+
+ utils.forEach(headers.split('\n'), function parser(line) {
+ i = line.indexOf(':');
+ key = utils.trim(line.substr(0, i)).toLowerCase();
+ val = utils.trim(line.substr(i + 1));
+
+ if (key) {
+ if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
+ return;
+ }
+ if (key === 'set-cookie') {
+ parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
+ } else {
+ parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
+ }
+ }
+ });
+
+ return parsed;
+};
+
+
+/***/ }),
+
+/***/ 2354:
+/***/ ((module) => {
+
+"use strict";
+
+
+/**
+ * Syntactic sugar for invoking a function and expanding an array for arguments.
+ *
+ * Common use case would be to use `Function.prototype.apply`.
+ *
+ * ```js
+ * function f(x, y, z) {}
+ * var args = [1, 2, 3];
+ * f.apply(null, args);
+ * ```
+ *
+ * With `spread` this example can be re-written.
+ *
+ * ```js
+ * spread(function(x, y, z) {})([1, 2, 3]);
+ * ```
+ *
+ * @param {Function} callback
+ * @returns {Function}
+ */
+module.exports = function spread(callback) {
+ return function wrap(arr) {
+ return callback.apply(null, arr);
+ };
+};
+
+
+/***/ }),
+
+/***/ 7199:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var bind = __nccwpck_require__(1451);
+
+/*global toString:true*/
+
+// utils is a library of generic helper functions non-specific to axios
+
+var toString = Object.prototype.toString;
+
+/**
+ * Determine if a value is an Array
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is an Array, otherwise false
+ */
+function isArray(val) {
+ return toString.call(val) === '[object Array]';
+}
+
+/**
+ * Determine if a value is undefined
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if the value is undefined, otherwise false
+ */
+function isUndefined(val) {
+ return typeof val === 'undefined';
+}
+
+/**
+ * Determine if a value is a Buffer
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a Buffer, otherwise false
+ */
+function isBuffer(val) {
+ return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
+ && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
+}
+
+/**
+ * Determine if a value is an ArrayBuffer
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is an ArrayBuffer, otherwise false
+ */
+function isArrayBuffer(val) {
+ return toString.call(val) === '[object ArrayBuffer]';
+}
+
+/**
+ * Determine if a value is a FormData
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is an FormData, otherwise false
+ */
+function isFormData(val) {
+ return (typeof FormData !== 'undefined') && (val instanceof FormData);
+}
+
+/**
+ * Determine if a value is a view on an ArrayBuffer
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
+ */
+function isArrayBufferView(val) {
+ var result;
+ if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
+ result = ArrayBuffer.isView(val);
+ } else {
+ result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
+ }
+ return result;
+}
+
+/**
+ * Determine if a value is a String
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a String, otherwise false
+ */
+function isString(val) {
+ return typeof val === 'string';
+}
+
+/**
+ * Determine if a value is a Number
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a Number, otherwise false
+ */
+function isNumber(val) {
+ return typeof val === 'number';
+}
+
+/**
+ * Determine if a value is an Object
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is an Object, otherwise false
+ */
+function isObject(val) {
+ return val !== null && typeof val === 'object';
+}
+
+/**
+ * Determine if a value is a plain Object
+ *
+ * @param {Object} val The value to test
+ * @return {boolean} True if value is a plain Object, otherwise false
+ */
+function isPlainObject(val) {
+ if (toString.call(val) !== '[object Object]') {
+ return false;
+ }
+
+ var prototype = Object.getPrototypeOf(val);
+ return prototype === null || prototype === Object.prototype;
+}
+
+/**
+ * Determine if a value is a Date
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a Date, otherwise false
+ */
+function isDate(val) {
+ return toString.call(val) === '[object Date]';
+}
+
+/**
+ * Determine if a value is a File
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a File, otherwise false
+ */
+function isFile(val) {
+ return toString.call(val) === '[object File]';
+}
+
+/**
+ * Determine if a value is a Blob
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a Blob, otherwise false
+ */
+function isBlob(val) {
+ return toString.call(val) === '[object Blob]';
+}
+
+/**
+ * Determine if a value is a Function
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a Function, otherwise false
+ */
+function isFunction(val) {
+ return toString.call(val) === '[object Function]';
+}
+
+/**
+ * Determine if a value is a Stream
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a Stream, otherwise false
+ */
+function isStream(val) {
+ return isObject(val) && isFunction(val.pipe);
+}
+
+/**
+ * Determine if a value is a URLSearchParams object
+ *
+ * @param {Object} val The value to test
+ * @returns {boolean} True if value is a URLSearchParams object, otherwise false
+ */
+function isURLSearchParams(val) {
+ return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
+}
+
+/**
+ * Trim excess whitespace off the beginning and end of a string
+ *
+ * @param {String} str The String to trim
+ * @returns {String} The String freed of excess whitespace
+ */
+function trim(str) {
+ return str.replace(/^\s*/, '').replace(/\s*$/, '');
+}
+
+/**
+ * Determine if we're running in a standard browser environment
+ *
+ * This allows axios to run in a web worker, and react-native.
+ * Both environments support XMLHttpRequest, but not fully standard globals.
+ *
+ * web workers:
+ * typeof window -> undefined
+ * typeof document -> undefined
+ *
+ * react-native:
+ * navigator.product -> 'ReactNative'
+ * nativescript
+ * navigator.product -> 'NativeScript' or 'NS'
+ */
+function isStandardBrowserEnv() {
+ if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
+ navigator.product === 'NativeScript' ||
+ navigator.product === 'NS')) {
+ return false;
+ }
+ return (
+ typeof window !== 'undefined' &&
+ typeof document !== 'undefined'
+ );
+}
+
+/**
+ * Iterate over an Array or an Object invoking a function for each item.
+ *
+ * If `obj` is an Array callback will be called passing
+ * the value, index, and complete array for each item.
+ *
+ * If 'obj' is an Object callback will be called passing
+ * the value, key, and complete object for each property.
+ *
+ * @param {Object|Array} obj The object to iterate
+ * @param {Function} fn The callback to invoke for each item
+ */
+function forEach(obj, fn) {
+ // Don't bother if no value provided
+ if (obj === null || typeof obj === 'undefined') {
+ return;
+ }
+
+ // Force an array if not already something iterable
+ if (typeof obj !== 'object') {
+ /*eslint no-param-reassign:0*/
+ obj = [obj];
+ }
+
+ if (isArray(obj)) {
+ // Iterate over array values
+ for (var i = 0, l = obj.length; i < l; i++) {
+ fn.call(null, obj[i], i, obj);
+ }
+ } else {
+ // Iterate over object keys
+ for (var key in obj) {
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
+ fn.call(null, obj[key], key, obj);
+ }
+ }
+ }
+}
+
+/**
+ * Accepts varargs expecting each argument to be an object, then
+ * immutably merges the properties of each object and returns result.
+ *
+ * When multiple objects contain the same key the later object in
+ * the arguments list will take precedence.
+ *
+ * Example:
+ *
+ * ```js
+ * var result = merge({foo: 123}, {foo: 456});
+ * console.log(result.foo); // outputs 456
+ * ```
+ *
+ * @param {Object} obj1 Object to merge
+ * @returns {Object} Result of all merge properties
+ */
+function merge(/* obj1, obj2, obj3, ... */) {
+ var result = {};
+ function assignValue(val, key) {
+ if (isPlainObject(result[key]) && isPlainObject(val)) {
+ result[key] = merge(result[key], val);
+ } else if (isPlainObject(val)) {
+ result[key] = merge({}, val);
+ } else if (isArray(val)) {
+ result[key] = val.slice();
+ } else {
+ result[key] = val;
+ }
+ }
+
+ for (var i = 0, l = arguments.length; i < l; i++) {
+ forEach(arguments[i], assignValue);
+ }
+ return result;
+}
+
+/**
+ * Extends object a by mutably adding to it the properties of object b.
+ *
+ * @param {Object} a The object to be extended
+ * @param {Object} b The object to copy properties from
+ * @param {Object} thisArg The object to bind function to
+ * @return {Object} The resulting value of object a
+ */
+function extend(a, b, thisArg) {
+ forEach(b, function assignValue(val, key) {
+ if (thisArg && typeof val === 'function') {
+ a[key] = bind(val, thisArg);
+ } else {
+ a[key] = val;
+ }
+ });
+ return a;
+}
+
+/**
+ * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
+ *
+ * @param {string} content with BOM
+ * @return {string} content value without BOM
+ */
+function stripBOM(content) {
+ if (content.charCodeAt(0) === 0xFEFF) {
+ content = content.slice(1);
+ }
+ return content;
+}
+
+module.exports = {
+ isArray: isArray,
+ isArrayBuffer: isArrayBuffer,
+ isBuffer: isBuffer,
+ isFormData: isFormData,
+ isArrayBufferView: isArrayBufferView,
+ isString: isString,
+ isNumber: isNumber,
+ isObject: isObject,
+ isPlainObject: isPlainObject,
+ isUndefined: isUndefined,
+ isDate: isDate,
+ isFile: isFile,
+ isBlob: isBlob,
+ isFunction: isFunction,
+ isStream: isStream,
+ isURLSearchParams: isURLSearchParams,
+ isStandardBrowserEnv: isStandardBrowserEnv,
+ forEach: forEach,
+ merge: merge,
+ extend: extend,
+ trim: trim,
+ stripBOM: stripBOM
+};
+
+
+/***/ }),
+
+/***/ 9396:
/***/ ((module) => {
"use strict";
@@ -11233,7 +13346,179 @@ function range(a, b, str) {
/***/ }),
-/***/ 83:
+/***/ 471:
+/***/ (function(module, exports, __nccwpck_require__) {
+
+/* module decorator */ module = __nccwpck_require__.nmd(module);
+/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */
+;(function(root) {
+
+ // Detect free variables `exports`.
+ var freeExports = true && exports;
+
+ // Detect free variable `module`.
+ var freeModule = true && module &&
+ module.exports == freeExports && module;
+
+ // Detect free variable `global`, from Node.js or Browserified code, and use
+ // it as `root`.
+ var freeGlobal = typeof global == 'object' && global;
+ if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {
+ root = freeGlobal;
+ }
+
+ /*--------------------------------------------------------------------------*/
+
+ var InvalidCharacterError = function(message) {
+ this.message = message;
+ };
+ InvalidCharacterError.prototype = new Error;
+ InvalidCharacterError.prototype.name = 'InvalidCharacterError';
+
+ var error = function(message) {
+ // Note: the error messages used throughout this file match those used by
+ // the native `atob`/`btoa` implementation in Chromium.
+ throw new InvalidCharacterError(message);
+ };
+
+ var TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
+ // http://whatwg.org/html/common-microsyntaxes.html#space-character
+ var REGEX_SPACE_CHARACTERS = /[\t\n\f\r ]/g;
+
+ // `decode` is designed to be fully compatible with `atob` as described in the
+ // HTML Standard. http://whatwg.org/html/webappapis.html#dom-windowbase64-atob
+ // The optimized base64-decoding algorithm used is based on @atk’s excellent
+ // implementation. https://gist.github.com/atk/1020396
+ var decode = function(input) {
+ input = String(input)
+ .replace(REGEX_SPACE_CHARACTERS, '');
+ var length = input.length;
+ if (length % 4 == 0) {
+ input = input.replace(/==?$/, '');
+ length = input.length;
+ }
+ if (
+ length % 4 == 1 ||
+ // http://whatwg.org/C#alphanumeric-ascii-characters
+ /[^+a-zA-Z0-9/]/.test(input)
+ ) {
+ error(
+ 'Invalid character: the string to be decoded is not correctly encoded.'
+ );
+ }
+ var bitCounter = 0;
+ var bitStorage;
+ var buffer;
+ var output = '';
+ var position = -1;
+ while (++position < length) {
+ buffer = TABLE.indexOf(input.charAt(position));
+ bitStorage = bitCounter % 4 ? bitStorage * 64 + buffer : buffer;
+ // Unless this is the first of a group of 4 characters…
+ if (bitCounter++ % 4) {
+ // …convert the first 8 bits to a single ASCII character.
+ output += String.fromCharCode(
+ 0xFF & bitStorage >> (-2 * bitCounter & 6)
+ );
+ }
+ }
+ return output;
+ };
+
+ // `encode` is designed to be fully compatible with `btoa` as described in the
+ // HTML Standard: http://whatwg.org/html/webappapis.html#dom-windowbase64-btoa
+ var encode = function(input) {
+ input = String(input);
+ if (/[^\0-\xFF]/.test(input)) {
+ // Note: no need to special-case astral symbols here, as surrogates are
+ // matched, and the input is supposed to only contain ASCII anyway.
+ error(
+ 'The string to be encoded contains characters outside of the ' +
+ 'Latin1 range.'
+ );
+ }
+ var padding = input.length % 3;
+ var output = '';
+ var position = -1;
+ var a;
+ var b;
+ var c;
+ var buffer;
+ // Make sure any padding is handled outside of the loop.
+ var length = input.length - padding;
+
+ while (++position < length) {
+ // Read three bytes, i.e. 24 bits.
+ a = input.charCodeAt(position) << 16;
+ b = input.charCodeAt(++position) << 8;
+ c = input.charCodeAt(++position);
+ buffer = a + b + c;
+ // Turn the 24 bits into four chunks of 6 bits each, and append the
+ // matching character for each of them to the output.
+ output += (
+ TABLE.charAt(buffer >> 18 & 0x3F) +
+ TABLE.charAt(buffer >> 12 & 0x3F) +
+ TABLE.charAt(buffer >> 6 & 0x3F) +
+ TABLE.charAt(buffer & 0x3F)
+ );
+ }
+
+ if (padding == 2) {
+ a = input.charCodeAt(position) << 8;
+ b = input.charCodeAt(++position);
+ buffer = a + b;
+ output += (
+ TABLE.charAt(buffer >> 10) +
+ TABLE.charAt((buffer >> 4) & 0x3F) +
+ TABLE.charAt((buffer << 2) & 0x3F) +
+ '='
+ );
+ } else if (padding == 1) {
+ buffer = input.charCodeAt(position);
+ output += (
+ TABLE.charAt(buffer >> 2) +
+ TABLE.charAt((buffer << 4) & 0x3F) +
+ '=='
+ );
+ }
+
+ return output;
+ };
+
+ var base64 = {
+ 'encode': encode,
+ 'decode': decode,
+ 'version': '1.0.0'
+ };
+
+ // Some AMD build optimizers, like r.js, check for specific condition patterns
+ // like the following:
+ if (
+ typeof define == 'function' &&
+ typeof define.amd == 'object' &&
+ define.amd
+ ) {
+ define(function() {
+ return base64;
+ });
+ } else if (freeExports && !freeExports.nodeType) {
+ if (freeModule) { // in Node.js or RingoJS v0.8.0+
+ freeModule.exports = base64;
+ } else { // in Narwhal or RingoJS v0.7.0-
+ for (var key in base64) {
+ base64.hasOwnProperty(key) && (freeExports[key] = base64[key]);
+ }
+ }
+ } else { // in Rhino or a web browser
+ root.base64 = base64;
+ }
+
+}(this));
+
+
+/***/ }),
+
+/***/ 6486:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -11637,15 +13922,15 @@ module.exports = BufferList
/***/ }),
-/***/ 8505:
+/***/ 319:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
-const DuplexStream = __nccwpck_require__(8858).Duplex
-const inherits = __nccwpck_require__(4875)
-const BufferList = __nccwpck_require__(83)
+const DuplexStream = __nccwpck_require__(5624).Duplex
+const inherits = __nccwpck_require__(4454)
+const BufferList = __nccwpck_require__(6486)
function BufferListStream (callback) {
if (!(this instanceof BufferListStream)) {
@@ -11729,11 +14014,11 @@ module.exports.BufferList = BufferList
/***/ }),
-/***/ 9353:
+/***/ 1058:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var concatMap = __nccwpck_require__(6602);
-var balanced = __nccwpck_require__(1498);
+var concatMap = __nccwpck_require__(5354);
+var balanced = __nccwpck_require__(9396);
module.exports = expandTop;
@@ -11937,7 +14222,7 @@ function expand(str, isTop) {
/***/ }),
-/***/ 3780:
+/***/ 2799:
/***/ ((module) => {
(function () {
@@ -11961,7 +14246,7 @@ function expand(str, isTop) {
/***/ }),
-/***/ 50:
+/***/ 3677:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
var Buffer = __nccwpck_require__(4293).Buffer;
@@ -12079,7 +14364,47 @@ module.exports = crc32;
/***/ }),
-/***/ 6432:
+/***/ 737:
+/***/ ((module) => {
+
+var charenc = {
+ // UTF-8 encoding
+ utf8: {
+ // Convert a string to a byte array
+ stringToBytes: function(str) {
+ return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));
+ },
+
+ // Convert a byte array to a string
+ bytesToString: function(bytes) {
+ return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));
+ }
+ },
+
+ // Binary encoding
+ bin: {
+ // Convert a string to a byte array
+ stringToBytes: function(str) {
+ for (var bytes = [], i = 0; i < str.length; i++)
+ bytes.push(str.charCodeAt(i) & 0xFF);
+ return bytes;
+ },
+
+ // Convert a byte array to a string
+ bytesToString: function(bytes) {
+ for (var str = [], i = 0; i < bytes.length; i++)
+ str.push(String.fromCharCode(bytes[i]));
+ return str.join('');
+ }
+ }
+};
+
+module.exports = charenc;
+
+
+/***/ }),
+
+/***/ 4143:
/***/ ((module) => {
/**
@@ -12101,7 +14426,7 @@ ArchiveEntry.prototype.isDirectory = function() {};
/***/ }),
-/***/ 76:
+/***/ 1619:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -12112,10 +14437,10 @@ ArchiveEntry.prototype.isDirectory = function() {};
* https://github.com/archiverjs/node-compress-commons/blob/master/LICENSE-MIT
*/
var inherits = __nccwpck_require__(1669).inherits;
-var Transform = __nccwpck_require__(8858).Transform;
+var Transform = __nccwpck_require__(5624).Transform;
-var ArchiveEntry = __nccwpck_require__(6432);
-var util = __nccwpck_require__(691);
+var ArchiveEntry = __nccwpck_require__(4143);
+var util = __nccwpck_require__(4277);
var ArchiveOutputStream = module.exports = function(options) {
if (!(this instanceof ArchiveOutputStream)) {
@@ -12224,7 +14549,7 @@ ArchiveOutputStream.prototype.write = function(chunk, cb) {
/***/ }),
-/***/ 1440:
+/***/ 46:
/***/ ((module) => {
/**
@@ -12302,7 +14627,7 @@ module.exports = {
/***/ }),
-/***/ 476:
+/***/ 8188:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -12312,7 +14637,7 @@ module.exports = {
* Licensed under the MIT license.
* https://github.com/archiverjs/node-compress-commons/blob/master/LICENSE-MIT
*/
-var zipUtil = __nccwpck_require__(5368);
+var zipUtil = __nccwpck_require__(4042);
var DATA_DESCRIPTOR_FLAG = 1 << 3;
var ENCRYPTION_FLAG = 1 << 0;
@@ -12409,7 +14734,7 @@ GeneralPurposeBit.prototype.usesUTF8ForNames = function() {
/***/ }),
-/***/ 3542:
+/***/ 7079:
/***/ ((module) => {
/**
@@ -12468,7 +14793,7 @@ module.exports = {
/***/ }),
-/***/ 5368:
+/***/ 4042:
/***/ ((module) => {
/**
@@ -12548,7 +14873,7 @@ util.toDosTime = function(d) {
/***/ }),
-/***/ 4158:
+/***/ 7048:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -12559,14 +14884,14 @@ util.toDosTime = function(d) {
* https://github.com/archiverjs/node-compress-commons/blob/master/LICENSE-MIT
*/
var inherits = __nccwpck_require__(1669).inherits;
-var normalizePath = __nccwpck_require__(8137);
+var normalizePath = __nccwpck_require__(2046);
-var ArchiveEntry = __nccwpck_require__(6432);
-var GeneralPurposeBit = __nccwpck_require__(476);
-var UnixStat = __nccwpck_require__(3542);
+var ArchiveEntry = __nccwpck_require__(4143);
+var GeneralPurposeBit = __nccwpck_require__(8188);
+var UnixStat = __nccwpck_require__(7079);
-var constants = __nccwpck_require__(1440);
-var zipUtil = __nccwpck_require__(5368);
+var constants = __nccwpck_require__(46);
+var zipUtil = __nccwpck_require__(4042);
var ZipArchiveEntry = module.exports = function(name) {
if (!(this instanceof ZipArchiveEntry)) {
@@ -12968,7 +15293,7 @@ ZipArchiveEntry.prototype.isZip64 = function() {
/***/ }),
-/***/ 5003:
+/***/ 4953:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -12979,17 +15304,17 @@ ZipArchiveEntry.prototype.isZip64 = function() {
* https://github.com/archiverjs/node-compress-commons/blob/master/LICENSE-MIT
*/
var inherits = __nccwpck_require__(1669).inherits;
-var crc32 = __nccwpck_require__(50);
-var {CRC32Stream} = __nccwpck_require__(6518);
-var {DeflateCRC32Stream} = __nccwpck_require__(6518);
+var crc32 = __nccwpck_require__(3677);
+var {CRC32Stream} = __nccwpck_require__(9226);
+var {DeflateCRC32Stream} = __nccwpck_require__(9226);
-var ArchiveOutputStream = __nccwpck_require__(76);
-var ZipArchiveEntry = __nccwpck_require__(4158);
-var GeneralPurposeBit = __nccwpck_require__(476);
+var ArchiveOutputStream = __nccwpck_require__(1619);
+var ZipArchiveEntry = __nccwpck_require__(7048);
+var GeneralPurposeBit = __nccwpck_require__(8188);
-var constants = __nccwpck_require__(1440);
-var util = __nccwpck_require__(691);
-var zipUtil = __nccwpck_require__(5368);
+var constants = __nccwpck_require__(46);
+var util = __nccwpck_require__(4277);
+var zipUtil = __nccwpck_require__(4042);
var ZipArchiveOutputStream = module.exports = function(options) {
if (!(this instanceof ZipArchiveOutputStream)) {
@@ -13415,7 +15740,7 @@ ZipArchiveOutputStream.prototype.setComment = function(comment) {
/***/ }),
-/***/ 4045:
+/***/ 5930:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -13426,15 +15751,15 @@ ZipArchiveOutputStream.prototype.setComment = function(comment) {
* https://github.com/archiverjs/node-compress-commons/blob/master/LICENSE-MIT
*/
module.exports = {
- ArchiveEntry: __nccwpck_require__(6432),
- ZipArchiveEntry: __nccwpck_require__(4158),
- ArchiveOutputStream: __nccwpck_require__(76),
- ZipArchiveOutputStream: __nccwpck_require__(5003)
+ ArchiveEntry: __nccwpck_require__(4143),
+ ZipArchiveEntry: __nccwpck_require__(7048),
+ ArchiveOutputStream: __nccwpck_require__(1619),
+ ZipArchiveOutputStream: __nccwpck_require__(4953)
};
/***/ }),
-/***/ 691:
+/***/ 4277:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -13445,7 +15770,7 @@ module.exports = {
* https://github.com/archiverjs/node-compress-commons/blob/master/LICENSE-MIT
*/
var Stream = __nccwpck_require__(2413).Stream;
-var PassThrough = __nccwpck_require__(8858).PassThrough;
+var PassThrough = __nccwpck_require__(5624).PassThrough;
var util = module.exports = {};
@@ -13470,7 +15795,7 @@ util.normalizeInputSource = function(source) {
/***/ }),
-/***/ 6602:
+/***/ 5354:
/***/ ((module) => {
module.exports = function (xs, fn) {
@@ -13490,7 +15815,7 @@ var isArray = Array.isArray || function (xs) {
/***/ }),
-/***/ 7328:
+/***/ 1963:
/***/ ((__unused_webpack_module, exports) => {
// Copyright Joyent, Inc. and other Node contributors.
@@ -13604,7 +15929,7 @@ function objectToString(o) {
/***/ }),
-/***/ 7793:
+/***/ 610:
/***/ ((__unused_webpack_module, exports) => {
/* crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
@@ -13721,7 +16046,7 @@ CRC32.str = crc32_str;
/***/ }),
-/***/ 1682:
+/***/ 3325:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -13735,9 +16060,9 @@ CRC32.str = crc32_str;
-const {Transform} = __nccwpck_require__(8858);
+const {Transform} = __nccwpck_require__(5624);
-const crc32 = __nccwpck_require__(7793);
+const crc32 = __nccwpck_require__(610);
class CRC32Stream extends Transform {
constructor(options) {
@@ -13777,7 +16102,7 @@ module.exports = CRC32Stream;
/***/ }),
-/***/ 2938:
+/***/ 7890:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -13793,7 +16118,7 @@ module.exports = CRC32Stream;
const {DeflateRaw} = __nccwpck_require__(8761);
-const crc32 = __nccwpck_require__(7793);
+const crc32 = __nccwpck_require__(610);
class DeflateCRC32Stream extends DeflateRaw {
constructor(options) {
@@ -13847,7 +16172,7 @@ module.exports = DeflateCRC32Stream;
/***/ }),
-/***/ 6518:
+/***/ 9226:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -13862,17 +16187,120 @@ module.exports = DeflateCRC32Stream;
module.exports = {
- CRC32Stream: __nccwpck_require__(1682),
- DeflateCRC32Stream: __nccwpck_require__(2938)
+ CRC32Stream: __nccwpck_require__(3325),
+ DeflateCRC32Stream: __nccwpck_require__(7890)
}
/***/ }),
-/***/ 7730:
+/***/ 546:
+/***/ ((module) => {
+
+(function() {
+ var base64map
+ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
+
+ crypt = {
+ // Bit-wise rotation left
+ rotl: function(n, b) {
+ return (n << b) | (n >>> (32 - b));
+ },
+
+ // Bit-wise rotation right
+ rotr: function(n, b) {
+ return (n << (32 - b)) | (n >>> b);
+ },
+
+ // Swap big-endian to little-endian and vice versa
+ endian: function(n) {
+ // If number given, swap endian
+ if (n.constructor == Number) {
+ return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;
+ }
+
+ // Else, assume array and swap all items
+ for (var i = 0; i < n.length; i++)
+ n[i] = crypt.endian(n[i]);
+ return n;
+ },
+
+ // Generate an array of any length of random bytes
+ randomBytes: function(n) {
+ for (var bytes = []; n > 0; n--)
+ bytes.push(Math.floor(Math.random() * 256));
+ return bytes;
+ },
+
+ // Convert a byte array to big-endian 32-bit words
+ bytesToWords: function(bytes) {
+ for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)
+ words[b >>> 5] |= bytes[i] << (24 - b % 32);
+ return words;
+ },
+
+ // Convert big-endian 32-bit words to a byte array
+ wordsToBytes: function(words) {
+ for (var bytes = [], b = 0; b < words.length * 32; b += 8)
+ bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);
+ return bytes;
+ },
+
+ // Convert a byte array to a hex string
+ bytesToHex: function(bytes) {
+ for (var hex = [], i = 0; i < bytes.length; i++) {
+ hex.push((bytes[i] >>> 4).toString(16));
+ hex.push((bytes[i] & 0xF).toString(16));
+ }
+ return hex.join('');
+ },
+
+ // Convert a hex string to a byte array
+ hexToBytes: function(hex) {
+ for (var bytes = [], c = 0; c < hex.length; c += 2)
+ bytes.push(parseInt(hex.substr(c, 2), 16));
+ return bytes;
+ },
+
+ // Convert a byte array to a base-64 string
+ bytesToBase64: function(bytes) {
+ for (var base64 = [], i = 0; i < bytes.length; i += 3) {
+ var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];
+ for (var j = 0; j < 4; j++)
+ if (i * 8 + j * 6 <= bytes.length * 8)
+ base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));
+ else
+ base64.push('=');
+ }
+ return base64.join('');
+ },
+
+ // Convert a base-64 string to a byte array
+ base64ToBytes: function(base64) {
+ // Remove non-base-64 characters
+ base64 = base64.replace(/[^A-Z0-9+\/]/ig, '');
+
+ for (var bytes = [], i = 0, imod4 = 0; i < base64.length;
+ imod4 = ++i % 4) {
+ if (imod4 == 0) continue;
+ bytes.push(((base64map.indexOf(base64.charAt(i - 1))
+ & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))
+ | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));
+ }
+ return bytes;
+ }
+ };
+
+ module.exports = crypt;
+})();
+
+
+/***/ }),
+
+/***/ 3827:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var once = __nccwpck_require__(3423);
+var once = __nccwpck_require__(5005);
var noop = function() {};
@@ -13970,7 +16398,2089 @@ module.exports = eos;
/***/ }),
-/***/ 5478:
+/***/ 4021:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+//parse Empty Node as self closing node
+const buildOptions = __nccwpck_require__(853).buildOptions;
+
+const defaultOptions = {
+ attributeNamePrefix: '@_',
+ attrNodeName: false,
+ textNodeName: '#text',
+ ignoreAttributes: true,
+ cdataTagName: false,
+ cdataPositionChar: '\\c',
+ format: false,
+ indentBy: ' ',
+ supressEmptyNode: false,
+ tagValueProcessor: function(a) {
+ return a;
+ },
+ attrValueProcessor: function(a) {
+ return a;
+ },
+};
+
+const props = [
+ 'attributeNamePrefix',
+ 'attrNodeName',
+ 'textNodeName',
+ 'ignoreAttributes',
+ 'cdataTagName',
+ 'cdataPositionChar',
+ 'format',
+ 'indentBy',
+ 'supressEmptyNode',
+ 'tagValueProcessor',
+ 'attrValueProcessor',
+];
+
+function Parser(options) {
+ this.options = buildOptions(options, defaultOptions, props);
+ if (this.options.ignoreAttributes || this.options.attrNodeName) {
+ this.isAttribute = function(/*a*/) {
+ return false;
+ };
+ } else {
+ this.attrPrefixLen = this.options.attributeNamePrefix.length;
+ this.isAttribute = isAttribute;
+ }
+ if (this.options.cdataTagName) {
+ this.isCDATA = isCDATA;
+ } else {
+ this.isCDATA = function(/*a*/) {
+ return false;
+ };
+ }
+ this.replaceCDATAstr = replaceCDATAstr;
+ this.replaceCDATAarr = replaceCDATAarr;
+
+ if (this.options.format) {
+ this.indentate = indentate;
+ this.tagEndChar = '>\n';
+ this.newLine = '\n';
+ } else {
+ this.indentate = function() {
+ return '';
+ };
+ this.tagEndChar = '>';
+ this.newLine = '';
+ }
+
+ if (this.options.supressEmptyNode) {
+ this.buildTextNode = buildEmptyTextNode;
+ this.buildObjNode = buildEmptyObjNode;
+ } else {
+ this.buildTextNode = buildTextValNode;
+ this.buildObjNode = buildObjectNode;
+ }
+
+ this.buildTextValNode = buildTextValNode;
+ this.buildObjectNode = buildObjectNode;
+}
+
+Parser.prototype.parse = function(jObj) {
+ return this.j2x(jObj, 0).val;
+};
+
+Parser.prototype.j2x = function(jObj, level) {
+ let attrStr = '';
+ let val = '';
+ const keys = Object.keys(jObj);
+ const len = keys.length;
+ for (let i = 0; i < len; i++) {
+ const key = keys[i];
+ if (typeof jObj[key] === 'undefined') {
+ // supress undefined node
+ } else if (jObj[key] === null) {
+ val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;
+ } else if (jObj[key] instanceof Date) {
+ val += this.buildTextNode(jObj[key], key, '', level);
+ } else if (typeof jObj[key] !== 'object') {
+ //premitive type
+ const attr = this.isAttribute(key);
+ if (attr) {
+ attrStr += ' ' + attr + '="' + this.options.attrValueProcessor('' + jObj[key]) + '"';
+ } else if (this.isCDATA(key)) {
+ if (jObj[this.options.textNodeName]) {
+ val += this.replaceCDATAstr(jObj[this.options.textNodeName], jObj[key]);
+ } else {
+ val += this.replaceCDATAstr('', jObj[key]);
+ }
+ } else {
+ //tag value
+ if (key === this.options.textNodeName) {
+ if (jObj[this.options.cdataTagName]) {
+ //value will added while processing cdata
+ } else {
+ val += this.options.tagValueProcessor('' + jObj[key]);
+ }
+ } else {
+ val += this.buildTextNode(jObj[key], key, '', level);
+ }
+ }
+ } else if (Array.isArray(jObj[key])) {
+ //repeated nodes
+ if (this.isCDATA(key)) {
+ val += this.indentate(level);
+ if (jObj[this.options.textNodeName]) {
+ val += this.replaceCDATAarr(jObj[this.options.textNodeName], jObj[key]);
+ } else {
+ val += this.replaceCDATAarr('', jObj[key]);
+ }
+ } else {
+ //nested nodes
+ const arrLen = jObj[key].length;
+ for (let j = 0; j < arrLen; j++) {
+ const item = jObj[key][j];
+ if (typeof item === 'undefined') {
+ // supress undefined node
+ } else if (item === null) {
+ val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;
+ } else if (typeof item === 'object') {
+ const result = this.j2x(item, level + 1);
+ val += this.buildObjNode(result.val, key, result.attrStr, level);
+ } else {
+ val += this.buildTextNode(item, key, '', level);
+ }
+ }
+ }
+ } else {
+ //nested node
+ if (this.options.attrNodeName && key === this.options.attrNodeName) {
+ const Ks = Object.keys(jObj[key]);
+ const L = Ks.length;
+ for (let j = 0; j < L; j++) {
+ attrStr += ' ' + Ks[j] + '="' + this.options.attrValueProcessor('' + jObj[key][Ks[j]]) + '"';
+ }
+ } else {
+ const result = this.j2x(jObj[key], level + 1);
+ val += this.buildObjNode(result.val, key, result.attrStr, level);
+ }
+ }
+ }
+ return {attrStr: attrStr, val: val};
+};
+
+function replaceCDATAstr(str, cdata) {
+ str = this.options.tagValueProcessor('' + str);
+ if (this.options.cdataPositionChar === '' || str === '') {
+ return str + '');
+ }
+ return str + this.newLine;
+ }
+}
+
+function buildObjectNode(val, key, attrStr, level) {
+ if (attrStr && !val.includes('<')) {
+ return (
+ this.indentate(level) +
+ '<' +
+ key +
+ attrStr +
+ '>' +
+ val +
+ //+ this.newLine
+ // + this.indentate(level)
+ '' +
+ key +
+ this.tagEndChar
+ );
+ } else {
+ return (
+ this.indentate(level) +
+ '<' +
+ key +
+ attrStr +
+ this.tagEndChar +
+ val +
+ //+ this.newLine
+ this.indentate(level) +
+ '' +
+ key +
+ this.tagEndChar
+ );
+ }
+}
+
+function buildEmptyObjNode(val, key, attrStr, level) {
+ if (val !== '') {
+ return this.buildObjectNode(val, key, attrStr, level);
+ } else {
+ return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar;
+ //+ this.newLine
+ }
+}
+
+function buildTextValNode(val, key, attrStr, level) {
+ return (
+ this.indentate(level) +
+ '<' +
+ key +
+ attrStr +
+ '>' +
+ this.options.tagValueProcessor(val) +
+ '' +
+ key +
+ this.tagEndChar
+ );
+}
+
+function buildEmptyTextNode(val, key, attrStr, level) {
+ if (val !== '') {
+ return this.buildTextValNode(val, key, attrStr, level);
+ } else {
+ return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar;
+ }
+}
+
+function indentate(level) {
+ return this.options.indentBy.repeat(level);
+}
+
+function isAttribute(name /*, options*/) {
+ if (name.startsWith(this.options.attributeNamePrefix)) {
+ return name.substr(this.attrPrefixLen);
+ } else {
+ return false;
+ }
+}
+
+function isCDATA(name) {
+ return name === this.options.cdataTagName;
+}
+
+//formatting
+//indentation
+//\n after each closing or self closing tag
+
+module.exports = Parser;
+
+
+/***/ }),
+
+/***/ 8159:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+const char = function(a) {
+ return String.fromCharCode(a);
+};
+
+const chars = {
+ nilChar: char(176),
+ missingChar: char(201),
+ nilPremitive: char(175),
+ missingPremitive: char(200),
+
+ emptyChar: char(178),
+ emptyValue: char(177), //empty Premitive
+
+ boundryChar: char(179),
+
+ objStart: char(198),
+ arrStart: char(204),
+ arrayEnd: char(185),
+};
+
+const charsArr = [
+ chars.nilChar,
+ chars.nilPremitive,
+ chars.missingChar,
+ chars.missingPremitive,
+ chars.boundryChar,
+ chars.emptyChar,
+ chars.emptyValue,
+ chars.arrayEnd,
+ chars.objStart,
+ chars.arrStart,
+];
+
+const _e = function(node, e_schema, options) {
+ if (typeof e_schema === 'string') {
+ //premitive
+ if (node && node[0] && node[0].val !== undefined) {
+ return getValue(node[0].val, e_schema);
+ } else {
+ return getValue(node, e_schema);
+ }
+ } else {
+ const hasValidData = hasData(node);
+ if (hasValidData === true) {
+ let str = '';
+ if (Array.isArray(e_schema)) {
+ //attributes can't be repeated. hence check in children tags only
+ str += chars.arrStart;
+ const itemSchema = e_schema[0];
+ //var itemSchemaType = itemSchema;
+ const arr_len = node.length;
+
+ if (typeof itemSchema === 'string') {
+ for (let arr_i = 0; arr_i < arr_len; arr_i++) {
+ const r = getValue(node[arr_i].val, itemSchema);
+ str = processValue(str, r);
+ }
+ } else {
+ for (let arr_i = 0; arr_i < arr_len; arr_i++) {
+ const r = _e(node[arr_i], itemSchema, options);
+ str = processValue(str, r);
+ }
+ }
+ str += chars.arrayEnd; //indicates that next item is not array item
+ } else {
+ //object
+ str += chars.objStart;
+ const keys = Object.keys(e_schema);
+ if (Array.isArray(node)) {
+ node = node[0];
+ }
+ for (let i in keys) {
+ const key = keys[i];
+ //a property defined in schema can be present either in attrsMap or children tags
+ //options.textNodeName will not present in both maps, take it's value from val
+ //options.attrNodeName will be present in attrsMap
+ let r;
+ if (!options.ignoreAttributes && node.attrsMap && node.attrsMap[key]) {
+ r = _e(node.attrsMap[key], e_schema[key], options);
+ } else if (key === options.textNodeName) {
+ r = _e(node.val, e_schema[key], options);
+ } else {
+ r = _e(node.child[key], e_schema[key], options);
+ }
+ str = processValue(str, r);
+ }
+ }
+ return str;
+ } else {
+ return hasValidData;
+ }
+ }
+};
+
+const getValue = function(a /*, type*/) {
+ switch (a) {
+ case undefined:
+ return chars.missingPremitive;
+ case null:
+ return chars.nilPremitive;
+ case '':
+ return chars.emptyValue;
+ default:
+ return a;
+ }
+};
+
+const processValue = function(str, r) {
+ if (!isAppChar(r[0]) && !isAppChar(str[str.length - 1])) {
+ str += chars.boundryChar;
+ }
+ return str + r;
+};
+
+const isAppChar = function(ch) {
+ return charsArr.indexOf(ch) !== -1;
+};
+
+function hasData(jObj) {
+ if (jObj === undefined) {
+ return chars.missingChar;
+ } else if (jObj === null) {
+ return chars.nilChar;
+ } else if (
+ jObj.child &&
+ Object.keys(jObj.child).length === 0 &&
+ (!jObj.attrsMap || Object.keys(jObj.attrsMap).length === 0)
+ ) {
+ return chars.emptyChar;
+ } else {
+ return true;
+ }
+}
+
+const x2j = __nccwpck_require__(7697);
+const buildOptions = __nccwpck_require__(853).buildOptions;
+
+const convert2nimn = function(node, e_schema, options) {
+ options = buildOptions(options, x2j.defaultOptions, x2j.props);
+ return _e(node, e_schema, options);
+};
+
+exports.convert2nimn = convert2nimn;
+
+
+/***/ }),
+
+/***/ 8994:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+const util = __nccwpck_require__(853);
+
+const convertToJson = function(node, options, parentTagName) {
+ const jObj = {};
+
+ // when no child node or attr is present
+ if ((!node.child || util.isEmptyObject(node.child)) && (!node.attrsMap || util.isEmptyObject(node.attrsMap))) {
+ return util.isExist(node.val) ? node.val : '';
+ }
+
+ // otherwise create a textnode if node has some text
+ if (util.isExist(node.val) && !(typeof node.val === 'string' && (node.val === '' || node.val === options.cdataPositionChar))) {
+ const asArray = util.isTagNameInArrayMode(node.tagname, options.arrayMode, parentTagName)
+ jObj[options.textNodeName] = asArray ? [node.val] : node.val;
+ }
+
+ util.merge(jObj, node.attrsMap, options.arrayMode);
+
+ const keys = Object.keys(node.child);
+ for (let index = 0; index < keys.length; index++) {
+ const tagName = keys[index];
+ if (node.child[tagName] && node.child[tagName].length > 1) {
+ jObj[tagName] = [];
+ for (let tag in node.child[tagName]) {
+ if (node.child[tagName].hasOwnProperty(tag)) {
+ jObj[tagName].push(convertToJson(node.child[tagName][tag], options, tagName));
+ }
+ }
+ } else {
+ const result = convertToJson(node.child[tagName][0], options, tagName);
+ const asArray = (options.arrayMode === true && typeof result === 'object') || util.isTagNameInArrayMode(tagName, options.arrayMode, parentTagName);
+ jObj[tagName] = asArray ? [result] : result;
+ }
+ }
+
+ //add value
+ return jObj;
+};
+
+exports.convertToJson = convertToJson;
+
+
+/***/ }),
+
+/***/ 5260:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+const util = __nccwpck_require__(853);
+const buildOptions = __nccwpck_require__(853).buildOptions;
+const x2j = __nccwpck_require__(7697);
+
+//TODO: do it later
+const convertToJsonString = function(node, options) {
+ options = buildOptions(options, x2j.defaultOptions, x2j.props);
+
+ options.indentBy = options.indentBy || '';
+ return _cToJsonStr(node, options, 0);
+};
+
+const _cToJsonStr = function(node, options, level) {
+ let jObj = '{';
+
+ //traver through all the children
+ const keys = Object.keys(node.child);
+
+ for (let index = 0; index < keys.length; index++) {
+ var tagname = keys[index];
+ if (node.child[tagname] && node.child[tagname].length > 1) {
+ jObj += '"' + tagname + '" : [ ';
+ for (var tag in node.child[tagname]) {
+ jObj += _cToJsonStr(node.child[tagname][tag], options) + ' , ';
+ }
+ jObj = jObj.substr(0, jObj.length - 1) + ' ] '; //remove extra comma in last
+ } else {
+ jObj += '"' + tagname + '" : ' + _cToJsonStr(node.child[tagname][0], options) + ' ,';
+ }
+ }
+ util.merge(jObj, node.attrsMap);
+ //add attrsMap as new children
+ if (util.isEmptyObject(jObj)) {
+ return util.isExist(node.val) ? node.val : '';
+ } else {
+ if (util.isExist(node.val)) {
+ if (!(typeof node.val === 'string' && (node.val === '' || node.val === options.cdataPositionChar))) {
+ jObj += '"' + options.textNodeName + '" : ' + stringval(node.val);
+ }
+ }
+ }
+ //add value
+ if (jObj[jObj.length - 1] === ',') {
+ jObj = jObj.substr(0, jObj.length - 2);
+ }
+ return jObj + '}';
+};
+
+function stringval(v) {
+ if (v === true || v === false || !isNaN(v)) {
+ return v;
+ } else {
+ return '"' + v + '"';
+ }
+}
+
+function indentate(options, level) {
+ return options.indentBy.repeat(level);
+}
+
+exports.convertToJsonString = convertToJsonString;
+
+
+/***/ }),
+
+/***/ 264:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+const nodeToJson = __nccwpck_require__(8994);
+const xmlToNodeobj = __nccwpck_require__(7697);
+const x2xmlnode = __nccwpck_require__(7697);
+const buildOptions = __nccwpck_require__(853).buildOptions;
+const validator = __nccwpck_require__(419);
+
+exports.parse = function(xmlData, options, validationOption) {
+ if( validationOption){
+ if(validationOption === true) validationOption = {}
+
+ const result = validator.validate(xmlData, validationOption);
+ if (result !== true) {
+ throw Error( result.err.msg)
+ }
+ }
+ options = buildOptions(options, x2xmlnode.defaultOptions, x2xmlnode.props);
+ const traversableObj = xmlToNodeobj.getTraversalObj(xmlData, options)
+ //print(traversableObj, " ");
+ return nodeToJson.convertToJson(traversableObj, options);
+};
+exports.convertTonimn = __nccwpck_require__(8159).convert2nimn;
+exports.getTraversalObj = xmlToNodeobj.getTraversalObj;
+exports.convertToJson = nodeToJson.convertToJson;
+exports.convertToJsonString = __nccwpck_require__(5260).convertToJsonString;
+exports.validate = validator.validate;
+exports.j2xParser = __nccwpck_require__(4021);
+exports.parseToNimn = function(xmlData, schema, options) {
+ return exports.convertTonimn(exports.getTraversalObj(xmlData, options), schema, options);
+};
+
+
+function print(xmlNode, indentation){
+ if(xmlNode){
+ console.log(indentation + "{")
+ console.log(indentation + " \"tagName\": \"" + xmlNode.tagname + "\", ");
+ if(xmlNode.parent){
+ console.log(indentation + " \"parent\": \"" + xmlNode.parent.tagname + "\", ");
+ }
+ console.log(indentation + " \"val\": \"" + xmlNode.val + "\", ");
+ console.log(indentation + " \"attrs\": " + JSON.stringify(xmlNode.attrsMap,null,4) + ", ");
+
+ if(xmlNode.child){
+ console.log(indentation + "\"child\": {")
+ const indentation2 = indentation + indentation;
+ Object.keys(xmlNode.child).forEach( function(key) {
+ const node = xmlNode.child[key];
+
+ if(Array.isArray(node)){
+ console.log(indentation + "\""+key+"\" :[")
+ node.forEach( function(item,index) {
+ //console.log(indentation + " \""+index+"\" : [")
+ print(item, indentation2);
+ })
+ console.log(indentation + "],")
+ }else{
+ console.log(indentation + " \""+key+"\" : {")
+ print(node, indentation2);
+ console.log(indentation + "},")
+ }
+ });
+ console.log(indentation + "},")
+ }
+ console.log(indentation + "},")
+ }
+}
+
+
+/***/ }),
+
+/***/ 853:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+
+const nameStartChar = ':A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD';
+const nameChar = nameStartChar + '\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040';
+const nameRegexp = '[' + nameStartChar + '][' + nameChar + ']*'
+const regexName = new RegExp('^' + nameRegexp + '$');
+
+const getAllMatches = function(string, regex) {
+ const matches = [];
+ let match = regex.exec(string);
+ while (match) {
+ const allmatches = [];
+ const len = match.length;
+ for (let index = 0; index < len; index++) {
+ allmatches.push(match[index]);
+ }
+ matches.push(allmatches);
+ match = regex.exec(string);
+ }
+ return matches;
+};
+
+const isName = function(string) {
+ const match = regexName.exec(string);
+ return !(match === null || typeof match === 'undefined');
+};
+
+exports.isExist = function(v) {
+ return typeof v !== 'undefined';
+};
+
+exports.isEmptyObject = function(obj) {
+ return Object.keys(obj).length === 0;
+};
+
+/**
+ * Copy all the properties of a into b.
+ * @param {*} target
+ * @param {*} a
+ */
+exports.merge = function(target, a, arrayMode) {
+ if (a) {
+ const keys = Object.keys(a); // will return an array of own properties
+ const len = keys.length; //don't make it inline
+ for (let i = 0; i < len; i++) {
+ if (arrayMode === 'strict') {
+ target[keys[i]] = [ a[keys[i]] ];
+ } else {
+ target[keys[i]] = a[keys[i]];
+ }
+ }
+ }
+};
+/* exports.merge =function (b,a){
+ return Object.assign(b,a);
+} */
+
+exports.getValue = function(v) {
+ if (exports.isExist(v)) {
+ return v;
+ } else {
+ return '';
+ }
+};
+
+// const fakeCall = function(a) {return a;};
+// const fakeCallNoReturn = function() {};
+
+exports.buildOptions = function(options, defaultOptions, props) {
+ var newOptions = {};
+ if (!options) {
+ return defaultOptions; //if there are not options
+ }
+
+ for (let i = 0; i < props.length; i++) {
+ if (options[props[i]] !== undefined) {
+ newOptions[props[i]] = options[props[i]];
+ } else {
+ newOptions[props[i]] = defaultOptions[props[i]];
+ }
+ }
+ return newOptions;
+};
+
+/**
+ * Check if a tag name should be treated as array
+ *
+ * @param tagName the node tagname
+ * @param arrayMode the array mode option
+ * @param parentTagName the parent tag name
+ * @returns {boolean} true if node should be parsed as array
+ */
+exports.isTagNameInArrayMode = function (tagName, arrayMode, parentTagName) {
+ if (arrayMode === false) {
+ return false;
+ } else if (arrayMode instanceof RegExp) {
+ return arrayMode.test(tagName);
+ } else if (typeof arrayMode === 'function') {
+ return !!arrayMode(tagName, parentTagName);
+ }
+
+ return arrayMode === "strict";
+}
+
+exports.isName = isName;
+exports.getAllMatches = getAllMatches;
+exports.nameRegexp = nameRegexp;
+
+
+/***/ }),
+
+/***/ 419:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+const util = __nccwpck_require__(853);
+
+const defaultOptions = {
+ allowBooleanAttributes: false, //A tag can have attributes without any value
+};
+
+const props = ['allowBooleanAttributes'];
+
+//const tagsPattern = new RegExp("<\\/?([\\w:\\-_\.]+)\\s*\/?>","g");
+exports.validate = function (xmlData, options) {
+ options = util.buildOptions(options, defaultOptions, props);
+
+ //xmlData = xmlData.replace(/(\r\n|\n|\r)/gm,"");//make it single line
+ //xmlData = xmlData.replace(/(^\s*<\?xml.*?\?>)/g,"");//Remove XML starting tag
+ //xmlData = xmlData.replace(/()/g,"");//Remove DOCTYPE
+ const tags = [];
+ let tagFound = false;
+
+ //indicates that the root tag has been closed (aka. depth 0 has been reached)
+ let reachedRoot = false;
+
+ if (xmlData[0] === '\ufeff') {
+ // check for byte order mark (BOM)
+ xmlData = xmlData.substr(1);
+ }
+
+ for (let i = 0; i < xmlData.length; i++) {
+
+ if (xmlData[i] === '<' && xmlData[i+1] === '?') {
+ i+=2;
+ i = readPI(xmlData,i);
+ if (i.err) return i;
+ }else if (xmlData[i] === '<') {
+ //starting of tag
+ //read until you reach to '>' avoiding any '>' in attribute value
+
+ i++;
+
+ if (xmlData[i] === '!') {
+ i = readCommentAndCDATA(xmlData, i);
+ continue;
+ } else {
+ let closingTag = false;
+ if (xmlData[i] === '/') {
+ //closing tag
+ closingTag = true;
+ i++;
+ }
+ //read tagname
+ let tagName = '';
+ for (; i < xmlData.length &&
+ xmlData[i] !== '>' &&
+ xmlData[i] !== ' ' &&
+ xmlData[i] !== '\t' &&
+ xmlData[i] !== '\n' &&
+ xmlData[i] !== '\r'; i++
+ ) {
+ tagName += xmlData[i];
+ }
+ tagName = tagName.trim();
+ //console.log(tagName);
+
+ if (tagName[tagName.length - 1] === '/') {
+ //self closing tag without attributes
+ tagName = tagName.substring(0, tagName.length - 1);
+ //continue;
+ i--;
+ }
+ if (!validateTagName(tagName)) {
+ let msg;
+ if (tagName.trim().length === 0) {
+ msg = "There is an unnecessary space between tag name and backward slash ' ..'.";
+ } else {
+ msg = "Tag '"+tagName+"' is an invalid name.";
+ }
+ return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i));
+ }
+
+ const result = readAttributeStr(xmlData, i);
+ if (result === false) {
+ return getErrorObject('InvalidAttr', "Attributes for '"+tagName+"' have open quote.", getLineNumberForPosition(xmlData, i));
+ }
+ let attrStr = result.value;
+ i = result.index;
+
+ if (attrStr[attrStr.length - 1] === '/') {
+ //self closing tag
+ attrStr = attrStr.substring(0, attrStr.length - 1);
+ const isValid = validateAttributeString(attrStr, options);
+ if (isValid === true) {
+ tagFound = true;
+ //continue; //text may presents after self closing tag
+ } else {
+ //the result from the nested function returns the position of the error within the attribute
+ //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute
+ //this gives us the absolute index in the entire xml, which we can use to find the line at last
+ return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));
+ }
+ } else if (closingTag) {
+ if (!result.tagClosed) {
+ return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' doesn't have proper closing.", getLineNumberForPosition(xmlData, i));
+ } else if (attrStr.trim().length > 0) {
+ return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, i));
+ } else {
+ const otg = tags.pop();
+ if (tagName !== otg) {
+ return getErrorObject('InvalidTag', "Closing tag '"+otg+"' is expected inplace of '"+tagName+"'.", getLineNumberForPosition(xmlData, i));
+ }
+
+ //when there are no more tags, we reached the root level.
+ if (tags.length == 0) {
+ reachedRoot = true;
+ }
+ }
+ } else {
+ const isValid = validateAttributeString(attrStr, options);
+ if (isValid !== true) {
+ //the result from the nested function returns the position of the error within the attribute
+ //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute
+ //this gives us the absolute index in the entire xml, which we can use to find the line at last
+ return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));
+ }
+
+ //if the root level has been reached before ...
+ if (reachedRoot === true) {
+ return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i));
+ } else {
+ tags.push(tagName);
+ }
+ tagFound = true;
+ }
+
+ //skip tag text value
+ //It may include comments and CDATA value
+ for (i++; i < xmlData.length; i++) {
+ if (xmlData[i] === '<') {
+ if (xmlData[i + 1] === '!') {
+ //comment or CADATA
+ i++;
+ i = readCommentAndCDATA(xmlData, i);
+ continue;
+ } else if (xmlData[i+1] === '?') {
+ i = readPI(xmlData, ++i);
+ if (i.err) return i;
+ } else{
+ break;
+ }
+ } else if (xmlData[i] === '&') {
+ const afterAmp = validateAmpersand(xmlData, i);
+ if (afterAmp == -1)
+ return getErrorObject('InvalidChar', "char '&' is not expected.", getLineNumberForPosition(xmlData, i));
+ i = afterAmp;
+ }
+ } //end of reading tag text value
+ if (xmlData[i] === '<') {
+ i--;
+ }
+ }
+ } else {
+ if (xmlData[i] === ' ' || xmlData[i] === '\t' || xmlData[i] === '\n' || xmlData[i] === '\r') {
+ continue;
+ }
+ return getErrorObject('InvalidChar', "char '"+xmlData[i]+"' is not expected.", getLineNumberForPosition(xmlData, i));
+ }
+ }
+
+ if (!tagFound) {
+ return getErrorObject('InvalidXml', 'Start tag expected.', 1);
+ } else if (tags.length > 0) {
+ return getErrorObject('InvalidXml', "Invalid '"+JSON.stringify(tags, null, 4).replace(/\r?\n/g, '')+"' found.", 1);
+ }
+
+ return true;
+};
+
+/**
+ * Read Processing insstructions and skip
+ * @param {*} xmlData
+ * @param {*} i
+ */
+function readPI(xmlData, i) {
+ var start = i;
+ for (; i < xmlData.length; i++) {
+ if (xmlData[i] == '?' || xmlData[i] == ' ') {
+ //tagname
+ var tagname = xmlData.substr(start, i - start);
+ if (i > 5 && tagname === 'xml') {
+ return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i));
+ } else if (xmlData[i] == '?' && xmlData[i + 1] == '>') {
+ //check if valid attribut string
+ i++;
+ break;
+ } else {
+ continue;
+ }
+ }
+ }
+ return i;
+}
+
+function readCommentAndCDATA(xmlData, i) {
+ if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') {
+ //comment
+ for (i += 3; i < xmlData.length; i++) {
+ if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') {
+ i += 2;
+ break;
+ }
+ }
+ } else if (
+ xmlData.length > i + 8 &&
+ xmlData[i + 1] === 'D' &&
+ xmlData[i + 2] === 'O' &&
+ xmlData[i + 3] === 'C' &&
+ xmlData[i + 4] === 'T' &&
+ xmlData[i + 5] === 'Y' &&
+ xmlData[i + 6] === 'P' &&
+ xmlData[i + 7] === 'E'
+ ) {
+ let angleBracketsCount = 1;
+ for (i += 8; i < xmlData.length; i++) {
+ if (xmlData[i] === '<') {
+ angleBracketsCount++;
+ } else if (xmlData[i] === '>') {
+ angleBracketsCount--;
+ if (angleBracketsCount === 0) {
+ break;
+ }
+ }
+ }
+ } else if (
+ xmlData.length > i + 9 &&
+ xmlData[i + 1] === '[' &&
+ xmlData[i + 2] === 'C' &&
+ xmlData[i + 3] === 'D' &&
+ xmlData[i + 4] === 'A' &&
+ xmlData[i + 5] === 'T' &&
+ xmlData[i + 6] === 'A' &&
+ xmlData[i + 7] === '['
+ ) {
+ for (i += 8; i < xmlData.length; i++) {
+ if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') {
+ i += 2;
+ break;
+ }
+ }
+ }
+
+ return i;
+}
+
+var doubleQuote = '"';
+var singleQuote = "'";
+
+/**
+ * Keep reading xmlData until '<' is found outside the attribute value.
+ * @param {string} xmlData
+ * @param {number} i
+ */
+function readAttributeStr(xmlData, i) {
+ let attrStr = '';
+ let startChar = '';
+ let tagClosed = false;
+ for (; i < xmlData.length; i++) {
+ if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) {
+ if (startChar === '') {
+ startChar = xmlData[i];
+ } else if (startChar !== xmlData[i]) {
+ //if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa
+ continue;
+ } else {
+ startChar = '';
+ }
+ } else if (xmlData[i] === '>') {
+ if (startChar === '') {
+ tagClosed = true;
+ break;
+ }
+ }
+ attrStr += xmlData[i];
+ }
+ if (startChar !== '') {
+ return false;
+ }
+
+ return {
+ value: attrStr,
+ index: i,
+ tagClosed: tagClosed
+ };
+}
+
+/**
+ * Select all the attributes whether valid or invalid.
+ */
+const validAttrStrRegxp = new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?', 'g');
+
+//attr, ="sd", a="amit's", a="sd"b="saf", ab cd=""
+
+function validateAttributeString(attrStr, options) {
+ //console.log("start:"+attrStr+":end");
+
+ //if(attrStr.trim().length === 0) return true; //empty string
+
+ const matches = util.getAllMatches(attrStr, validAttrStrRegxp);
+ const attrNames = {};
+
+ for (let i = 0; i < matches.length; i++) {
+ if (matches[i][1].length === 0) {
+ //nospace before attribute name: a="sd"b="saf"
+ return getErrorObject('InvalidAttr', "Attribute '"+matches[i][2]+"' has no space in starting.", getPositionFromMatch(attrStr, matches[i][0]))
+ } else if (matches[i][3] === undefined && !options.allowBooleanAttributes) {
+ //independent attribute: ab
+ return getErrorObject('InvalidAttr', "boolean attribute '"+matches[i][2]+"' is not allowed.", getPositionFromMatch(attrStr, matches[i][0]));
+ }
+ /* else if(matches[i][6] === undefined){//attribute without value: ab=
+ return { err: { code:"InvalidAttr",msg:"attribute " + matches[i][2] + " has no value assigned."}};
+ } */
+ const attrName = matches[i][2];
+ if (!validateAttrName(attrName)) {
+ return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is an invalid name.", getPositionFromMatch(attrStr, matches[i][0]));
+ }
+ if (!attrNames.hasOwnProperty(attrName)) {
+ //check for duplicate attribute.
+ attrNames[attrName] = 1;
+ } else {
+ return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is repeated.", getPositionFromMatch(attrStr, matches[i][0]));
+ }
+ }
+
+ return true;
+}
+
+function validateNumberAmpersand(xmlData, i) {
+ let re = /\d/;
+ if (xmlData[i] === 'x') {
+ i++;
+ re = /[\da-fA-F]/;
+ }
+ for (; i < xmlData.length; i++) {
+ if (xmlData[i] === ';')
+ return i;
+ if (!xmlData[i].match(re))
+ break;
+ }
+ return -1;
+}
+
+function validateAmpersand(xmlData, i) {
+ // https://www.w3.org/TR/xml/#dt-charref
+ i++;
+ if (xmlData[i] === ';')
+ return -1;
+ if (xmlData[i] === '#') {
+ i++;
+ return validateNumberAmpersand(xmlData, i);
+ }
+ let count = 0;
+ for (; i < xmlData.length; i++, count++) {
+ if (xmlData[i].match(/\w/) && count < 20)
+ continue;
+ if (xmlData[i] === ';')
+ break;
+ return -1;
+ }
+ return i;
+}
+
+function getErrorObject(code, message, lineNumber) {
+ return {
+ err: {
+ code: code,
+ msg: message,
+ line: lineNumber,
+ },
+ };
+}
+
+function validateAttrName(attrName) {
+ return util.isName(attrName);
+}
+
+// const startsWithXML = /^xml/i;
+
+function validateTagName(tagname) {
+ return util.isName(tagname) /* && !tagname.match(startsWithXML) */;
+}
+
+//this function returns the line number for the character at the given index
+function getLineNumberForPosition(xmlData, index) {
+ var lines = xmlData.substring(0, index).split(/\r?\n/);
+ return lines.length;
+}
+
+//this function returns the position of the last character of match within attrStr
+function getPositionFromMatch(attrStr, match) {
+ return attrStr.indexOf(match) + match.length;
+}
+
+
+/***/ }),
+
+/***/ 3320:
+/***/ ((module) => {
+
+"use strict";
+
+
+module.exports = function(tagname, parent, val) {
+ this.tagname = tagname;
+ this.parent = parent;
+ this.child = {}; //child tags
+ this.attrsMap = {}; //attributes map
+ this.val = val; //text only
+ this.addChild = function(child) {
+ if (Array.isArray(this.child[child.tagname])) {
+ //already presents
+ this.child[child.tagname].push(child);
+ } else {
+ this.child[child.tagname] = [child];
+ }
+ };
+};
+
+
+/***/ }),
+
+/***/ 7697:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+const util = __nccwpck_require__(853);
+const buildOptions = __nccwpck_require__(853).buildOptions;
+const xmlNode = __nccwpck_require__(3320);
+const regx =
+ '<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)'
+ .replace(/NAME/g, util.nameRegexp);
+
+//const tagsRegx = new RegExp("<(\\/?[\\w:\\-\._]+)([^>]*)>(\\s*"+cdataRegx+")*([^<]+)?","g");
+//const tagsRegx = new RegExp("<(\\/?)((\\w*:)?([\\w:\\-\._]+))([^>]*)>([^<]*)("+cdataRegx+"([^<]*))*([^<]+)?","g");
+
+//polyfill
+if (!Number.parseInt && window.parseInt) {
+ Number.parseInt = window.parseInt;
+}
+if (!Number.parseFloat && window.parseFloat) {
+ Number.parseFloat = window.parseFloat;
+}
+
+const defaultOptions = {
+ attributeNamePrefix: '@_',
+ attrNodeName: false,
+ textNodeName: '#text',
+ ignoreAttributes: true,
+ ignoreNameSpace: false,
+ allowBooleanAttributes: false, //a tag can have attributes without any value
+ //ignoreRootElement : false,
+ parseNodeValue: true,
+ parseAttributeValue: false,
+ arrayMode: false,
+ trimValues: true, //Trim string values of tag and attributes
+ cdataTagName: false,
+ cdataPositionChar: '\\c',
+ tagValueProcessor: function(a, tagName) {
+ return a;
+ },
+ attrValueProcessor: function(a, attrName) {
+ return a;
+ },
+ stopNodes: []
+ //decodeStrict: false,
+};
+
+exports.defaultOptions = defaultOptions;
+
+const props = [
+ 'attributeNamePrefix',
+ 'attrNodeName',
+ 'textNodeName',
+ 'ignoreAttributes',
+ 'ignoreNameSpace',
+ 'allowBooleanAttributes',
+ 'parseNodeValue',
+ 'parseAttributeValue',
+ 'arrayMode',
+ 'trimValues',
+ 'cdataTagName',
+ 'cdataPositionChar',
+ 'tagValueProcessor',
+ 'attrValueProcessor',
+ 'parseTrueNumberOnly',
+ 'stopNodes'
+];
+exports.props = props;
+
+/**
+ * Trim -> valueProcessor -> parse value
+ * @param {string} tagName
+ * @param {string} val
+ * @param {object} options
+ */
+function processTagValue(tagName, val, options) {
+ if (val) {
+ if (options.trimValues) {
+ val = val.trim();
+ }
+ val = options.tagValueProcessor(val, tagName);
+ val = parseValue(val, options.parseNodeValue, options.parseTrueNumberOnly);
+ }
+
+ return val;
+}
+
+function resolveNameSpace(tagname, options) {
+ if (options.ignoreNameSpace) {
+ const tags = tagname.split(':');
+ const prefix = tagname.charAt(0) === '/' ? '/' : '';
+ if (tags[0] === 'xmlns') {
+ return '';
+ }
+ if (tags.length === 2) {
+ tagname = prefix + tags[1];
+ }
+ }
+ return tagname;
+}
+
+function parseValue(val, shouldParse, parseTrueNumberOnly) {
+ if (shouldParse && typeof val === 'string') {
+ let parsed;
+ if (val.trim() === '' || isNaN(val)) {
+ parsed = val === 'true' ? true : val === 'false' ? false : val;
+ } else {
+ if (val.indexOf('0x') !== -1) {
+ //support hexa decimal
+ parsed = Number.parseInt(val, 16);
+ } else if (val.indexOf('.') !== -1) {
+ parsed = Number.parseFloat(val);
+ val = val.replace(/\.?0+$/, "");
+ } else {
+ parsed = Number.parseInt(val, 10);
+ }
+ if (parseTrueNumberOnly) {
+ parsed = String(parsed) === val ? parsed : val;
+ }
+ }
+ return parsed;
+ } else {
+ if (util.isExist(val)) {
+ return val;
+ } else {
+ return '';
+ }
+ }
+}
+
+//TODO: change regex to capture NS
+//const attrsRegx = new RegExp("([\\w\\-\\.\\:]+)\\s*=\\s*(['\"])((.|\n)*?)\\2","gm");
+const attrsRegx = new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])(.*?)\\3)?', 'g');
+
+function buildAttributesMap(attrStr, options) {
+ if (!options.ignoreAttributes && typeof attrStr === 'string') {
+ attrStr = attrStr.replace(/\r?\n/g, ' ');
+ //attrStr = attrStr || attrStr.trim();
+
+ const matches = util.getAllMatches(attrStr, attrsRegx);
+ const len = matches.length; //don't make it inline
+ const attrs = {};
+ for (let i = 0; i < len; i++) {
+ const attrName = resolveNameSpace(matches[i][1], options);
+ if (attrName.length) {
+ if (matches[i][4] !== undefined) {
+ if (options.trimValues) {
+ matches[i][4] = matches[i][4].trim();
+ }
+ matches[i][4] = options.attrValueProcessor(matches[i][4], attrName);
+ attrs[options.attributeNamePrefix + attrName] = parseValue(
+ matches[i][4],
+ options.parseAttributeValue,
+ options.parseTrueNumberOnly
+ );
+ } else if (options.allowBooleanAttributes) {
+ attrs[options.attributeNamePrefix + attrName] = true;
+ }
+ }
+ }
+ if (!Object.keys(attrs).length) {
+ return;
+ }
+ if (options.attrNodeName) {
+ const attrCollection = {};
+ attrCollection[options.attrNodeName] = attrs;
+ return attrCollection;
+ }
+ return attrs;
+ }
+}
+
+const getTraversalObj = function(xmlData, options) {
+ xmlData = xmlData.replace(/\r\n?/g, "\n");
+ options = buildOptions(options, defaultOptions, props);
+ const xmlObj = new xmlNode('!xml');
+ let currentNode = xmlObj;
+ let textData = "";
+
+//function match(xmlData){
+ for(let i=0; i< xmlData.length; i++){
+ const ch = xmlData[i];
+ if(ch === '<'){
+ if( xmlData[i+1] === '/') {//Closing Tag
+ const closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed.")
+ let tagName = xmlData.substring(i+2,closeIndex).trim();
+
+ if(options.ignoreNameSpace){
+ const colonIndex = tagName.indexOf(":");
+ if(colonIndex !== -1){
+ tagName = tagName.substr(colonIndex+1);
+ }
+ }
+
+ /* if (currentNode.parent) {
+ currentNode.parent.val = util.getValue(currentNode.parent.val) + '' + processTagValue2(tagName, textData , options);
+ } */
+ if(currentNode){
+ if(currentNode.val){
+ currentNode.val = util.getValue(currentNode.val) + '' + processTagValue(tagName, textData , options);
+ }else{
+ currentNode.val = processTagValue(tagName, textData , options);
+ }
+ }
+
+ if (options.stopNodes.length && options.stopNodes.includes(currentNode.tagname)) {
+ currentNode.child = []
+ if (currentNode.attrsMap == undefined) { currentNode.attrsMap = {}}
+ currentNode.val = xmlData.substr(currentNode.startIndex + 1, i - currentNode.startIndex - 1)
+ }
+ currentNode = currentNode.parent;
+ textData = "";
+ i = closeIndex;
+ } else if( xmlData[i+1] === '?') {
+ i = findClosingIndex(xmlData, "?>", i, "Pi Tag is not closed.")
+ } else if(xmlData.substr(i + 1, 3) === '!--') {
+ i = findClosingIndex(xmlData, "-->", i, "Comment is not closed.")
+ } else if( xmlData.substr(i + 1, 2) === '!D') {
+ const closeIndex = findClosingIndex(xmlData, ">", i, "DOCTYPE is not closed.")
+ const tagExp = xmlData.substring(i, closeIndex);
+ if(tagExp.indexOf("[") >= 0){
+ i = xmlData.indexOf("]>", i) + 1;
+ }else{
+ i = closeIndex;
+ }
+ }else if(xmlData.substr(i + 1, 2) === '![') {
+ const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2
+ const tagExp = xmlData.substring(i + 9,closeIndex);
+
+ //considerations
+ //1. CDATA will always have parent node
+ //2. A tag with CDATA is not a leaf node so it's value would be string type.
+ if(textData){
+ currentNode.val = util.getValue(currentNode.val) + '' + processTagValue(currentNode.tagname, textData , options);
+ textData = "";
+ }
+
+ if (options.cdataTagName) {
+ //add cdata node
+ const childNode = new xmlNode(options.cdataTagName, currentNode, tagExp);
+ currentNode.addChild(childNode);
+ //for backtracking
+ currentNode.val = util.getValue(currentNode.val) + options.cdataPositionChar;
+ //add rest value to parent node
+ if (tagExp) {
+ childNode.val = tagExp;
+ }
+ } else {
+ currentNode.val = (currentNode.val || '') + (tagExp || '');
+ }
+
+ i = closeIndex + 2;
+ }else {//Opening tag
+ const result = closingIndexForOpeningTag(xmlData, i+1)
+ let tagExp = result.data;
+ const closeIndex = result.index;
+ const separatorIndex = tagExp.indexOf(" ");
+ let tagName = tagExp;
+ let shouldBuildAttributesMap = true;
+ if(separatorIndex !== -1){
+ tagName = tagExp.substr(0, separatorIndex).replace(/\s\s*$/, '');
+ tagExp = tagExp.substr(separatorIndex + 1);
+ }
+
+ if(options.ignoreNameSpace){
+ const colonIndex = tagName.indexOf(":");
+ if(colonIndex !== -1){
+ tagName = tagName.substr(colonIndex+1);
+ shouldBuildAttributesMap = tagName !== result.data.substr(colonIndex + 1);
+ }
+ }
+
+ //save text to parent node
+ if (currentNode && textData) {
+ if(currentNode.tagname !== '!xml'){
+ currentNode.val = util.getValue(currentNode.val) + '' + processTagValue( currentNode.tagname, textData, options);
+ }
+ }
+
+ if(tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1){//selfClosing tag
+
+ if(tagName[tagName.length - 1] === "/"){ //remove trailing '/'
+ tagName = tagName.substr(0, tagName.length - 1);
+ tagExp = tagName;
+ }else{
+ tagExp = tagExp.substr(0, tagExp.length - 1);
+ }
+
+ const childNode = new xmlNode(tagName, currentNode, '');
+ if(tagName !== tagExp){
+ childNode.attrsMap = buildAttributesMap(tagExp, options);
+ }
+ currentNode.addChild(childNode);
+ }else{//opening tag
+
+ const childNode = new xmlNode( tagName, currentNode );
+ if (options.stopNodes.length && options.stopNodes.includes(childNode.tagname)) {
+ childNode.startIndex=closeIndex;
+ }
+ if(tagName !== tagExp && shouldBuildAttributesMap){
+ childNode.attrsMap = buildAttributesMap(tagExp, options);
+ }
+ currentNode.addChild(childNode);
+ currentNode = childNode;
+ }
+ textData = "";
+ i = closeIndex;
+ }
+ }else{
+ textData += xmlData[i];
+ }
+ }
+ return xmlObj;
+}
+
+function closingIndexForOpeningTag(data, i){
+ let attrBoundary;
+ let tagExp = "";
+ for (let index = i; index < data.length; index++) {
+ let ch = data[index];
+ if (attrBoundary) {
+ if (ch === attrBoundary) attrBoundary = "";//reset
+ } else if (ch === '"' || ch === "'") {
+ attrBoundary = ch;
+ } else if (ch === '>') {
+ return {
+ data: tagExp,
+ index: index
+ }
+ } else if (ch === '\t') {
+ ch = " "
+ }
+ tagExp += ch;
+ }
+}
+
+function findClosingIndex(xmlData, str, i, errMsg){
+ const closingIndex = xmlData.indexOf(str, i);
+ if(closingIndex === -1){
+ throw new Error(errMsg)
+ }else{
+ return closingIndex + str.length - 1;
+ }
+}
+
+exports.getTraversalObj = getTraversalObj;
+
+
+/***/ }),
+
+/***/ 5863:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var debug;
+
+module.exports = function () {
+ if (!debug) {
+ try {
+ /* eslint global-require: off */
+ debug = __nccwpck_require__(2700)("follow-redirects");
+ }
+ catch (error) {
+ debug = function () { /* */ };
+ }
+ }
+ debug.apply(null, arguments);
+};
+
+
+/***/ }),
+
+/***/ 3133:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var url = __nccwpck_require__(8835);
+var URL = url.URL;
+var http = __nccwpck_require__(8605);
+var https = __nccwpck_require__(7211);
+var Writable = __nccwpck_require__(2413).Writable;
+var assert = __nccwpck_require__(2357);
+var debug = __nccwpck_require__(5863);
+
+// Create handlers that pass events from native requests
+var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
+var eventHandlers = Object.create(null);
+events.forEach(function (event) {
+ eventHandlers[event] = function (arg1, arg2, arg3) {
+ this._redirectable.emit(event, arg1, arg2, arg3);
+ };
+});
+
+// Error types with codes
+var RedirectionError = createErrorType(
+ "ERR_FR_REDIRECTION_FAILURE",
+ ""
+);
+var TooManyRedirectsError = createErrorType(
+ "ERR_FR_TOO_MANY_REDIRECTS",
+ "Maximum number of redirects exceeded"
+);
+var MaxBodyLengthExceededError = createErrorType(
+ "ERR_FR_MAX_BODY_LENGTH_EXCEEDED",
+ "Request body larger than maxBodyLength limit"
+);
+var WriteAfterEndError = createErrorType(
+ "ERR_STREAM_WRITE_AFTER_END",
+ "write after end"
+);
+
+// An HTTP(S) request that can be redirected
+function RedirectableRequest(options, responseCallback) {
+ // Initialize the request
+ Writable.call(this);
+ this._sanitizeOptions(options);
+ this._options = options;
+ this._ended = false;
+ this._ending = false;
+ this._redirectCount = 0;
+ this._redirects = [];
+ this._requestBodyLength = 0;
+ this._requestBodyBuffers = [];
+
+ // Attach a callback if passed
+ if (responseCallback) {
+ this.on("response", responseCallback);
+ }
+
+ // React to responses of native requests
+ var self = this;
+ this._onNativeResponse = function (response) {
+ self._processResponse(response);
+ };
+
+ // Perform the first request
+ this._performRequest();
+}
+RedirectableRequest.prototype = Object.create(Writable.prototype);
+
+RedirectableRequest.prototype.abort = function () {
+ abortRequest(this._currentRequest);
+ this.emit("abort");
+};
+
+// Writes buffered data to the current native request
+RedirectableRequest.prototype.write = function (data, encoding, callback) {
+ // Writing is not allowed if end has been called
+ if (this._ending) {
+ throw new WriteAfterEndError();
+ }
+
+ // Validate input and shift parameters if necessary
+ if (!(typeof data === "string" || typeof data === "object" && ("length" in data))) {
+ throw new TypeError("data should be a string, Buffer or Uint8Array");
+ }
+ if (typeof encoding === "function") {
+ callback = encoding;
+ encoding = null;
+ }
+
+ // Ignore empty buffers, since writing them doesn't invoke the callback
+ // https://github.com/nodejs/node/issues/22066
+ if (data.length === 0) {
+ if (callback) {
+ callback();
+ }
+ return;
+ }
+ // Only write when we don't exceed the maximum body length
+ if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {
+ this._requestBodyLength += data.length;
+ this._requestBodyBuffers.push({ data: data, encoding: encoding });
+ this._currentRequest.write(data, encoding, callback);
+ }
+ // Error when we exceed the maximum body length
+ else {
+ this.emit("error", new MaxBodyLengthExceededError());
+ this.abort();
+ }
+};
+
+// Ends the current native request
+RedirectableRequest.prototype.end = function (data, encoding, callback) {
+ // Shift parameters if necessary
+ if (typeof data === "function") {
+ callback = data;
+ data = encoding = null;
+ }
+ else if (typeof encoding === "function") {
+ callback = encoding;
+ encoding = null;
+ }
+
+ // Write data if needed and end
+ if (!data) {
+ this._ended = this._ending = true;
+ this._currentRequest.end(null, null, callback);
+ }
+ else {
+ var self = this;
+ var currentRequest = this._currentRequest;
+ this.write(data, encoding, function () {
+ self._ended = true;
+ currentRequest.end(null, null, callback);
+ });
+ this._ending = true;
+ }
+};
+
+// Sets a header value on the current native request
+RedirectableRequest.prototype.setHeader = function (name, value) {
+ this._options.headers[name] = value;
+ this._currentRequest.setHeader(name, value);
+};
+
+// Clears a header value on the current native request
+RedirectableRequest.prototype.removeHeader = function (name) {
+ delete this._options.headers[name];
+ this._currentRequest.removeHeader(name);
+};
+
+// Global timeout for all underlying requests
+RedirectableRequest.prototype.setTimeout = function (msecs, callback) {
+ var self = this;
+ if (callback) {
+ this.on("timeout", callback);
+ }
+
+ function destroyOnTimeout(socket) {
+ socket.setTimeout(msecs);
+ socket.removeListener("timeout", socket.destroy);
+ socket.addListener("timeout", socket.destroy);
+ }
+
+ // Sets up a timer to trigger a timeout event
+ function startTimer(socket) {
+ if (self._timeout) {
+ clearTimeout(self._timeout);
+ }
+ self._timeout = setTimeout(function () {
+ self.emit("timeout");
+ clearTimer();
+ }, msecs);
+ destroyOnTimeout(socket);
+ }
+
+ // Prevent a timeout from triggering
+ function clearTimer() {
+ clearTimeout(this._timeout);
+ if (callback) {
+ self.removeListener("timeout", callback);
+ }
+ if (!this.socket) {
+ self._currentRequest.removeListener("socket", startTimer);
+ }
+ }
+
+ // Start the timer when the socket is opened
+ if (this.socket) {
+ startTimer(this.socket);
+ }
+ else {
+ this._currentRequest.once("socket", startTimer);
+ }
+
+ this.on("socket", destroyOnTimeout);
+ this.once("response", clearTimer);
+ this.once("error", clearTimer);
+
+ return this;
+};
+
+// Proxy all other public ClientRequest methods
+[
+ "flushHeaders", "getHeader",
+ "setNoDelay", "setSocketKeepAlive",
+].forEach(function (method) {
+ RedirectableRequest.prototype[method] = function (a, b) {
+ return this._currentRequest[method](a, b);
+ };
+});
+
+// Proxy all public ClientRequest properties
+["aborted", "connection", "socket"].forEach(function (property) {
+ Object.defineProperty(RedirectableRequest.prototype, property, {
+ get: function () { return this._currentRequest[property]; },
+ });
+});
+
+RedirectableRequest.prototype._sanitizeOptions = function (options) {
+ // Ensure headers are always present
+ if (!options.headers) {
+ options.headers = {};
+ }
+
+ // Since http.request treats host as an alias of hostname,
+ // but the url module interprets host as hostname plus port,
+ // eliminate the host property to avoid confusion.
+ if (options.host) {
+ // Use hostname if set, because it has precedence
+ if (!options.hostname) {
+ options.hostname = options.host;
+ }
+ delete options.host;
+ }
+
+ // Complete the URL object when necessary
+ if (!options.pathname && options.path) {
+ var searchPos = options.path.indexOf("?");
+ if (searchPos < 0) {
+ options.pathname = options.path;
+ }
+ else {
+ options.pathname = options.path.substring(0, searchPos);
+ options.search = options.path.substring(searchPos);
+ }
+ }
+};
+
+
+// Executes the next native request (initial or redirect)
+RedirectableRequest.prototype._performRequest = function () {
+ // Load the native protocol
+ var protocol = this._options.protocol;
+ var nativeProtocol = this._options.nativeProtocols[protocol];
+ if (!nativeProtocol) {
+ this.emit("error", new TypeError("Unsupported protocol " + protocol));
+ return;
+ }
+
+ // If specified, use the agent corresponding to the protocol
+ // (HTTP and HTTPS use different types of agents)
+ if (this._options.agents) {
+ var scheme = protocol.substr(0, protocol.length - 1);
+ this._options.agent = this._options.agents[scheme];
+ }
+
+ // Create the native request
+ var request = this._currentRequest =
+ nativeProtocol.request(this._options, this._onNativeResponse);
+ this._currentUrl = url.format(this._options);
+
+ // Set up event handlers
+ request._redirectable = this;
+ for (var e = 0; e < events.length; e++) {
+ request.on(events[e], eventHandlers[events[e]]);
+ }
+
+ // End a redirected request
+ // (The first request must be ended explicitly with RedirectableRequest#end)
+ if (this._isRedirect) {
+ // Write the request entity and end.
+ var i = 0;
+ var self = this;
+ var buffers = this._requestBodyBuffers;
+ (function writeNext(error) {
+ // Only write if this request has not been redirected yet
+ /* istanbul ignore else */
+ if (request === self._currentRequest) {
+ // Report any write errors
+ /* istanbul ignore if */
+ if (error) {
+ self.emit("error", error);
+ }
+ // Write the next buffer if there are still left
+ else if (i < buffers.length) {
+ var buffer = buffers[i++];
+ /* istanbul ignore else */
+ if (!request.finished) {
+ request.write(buffer.data, buffer.encoding, writeNext);
+ }
+ }
+ // End the request if `end` has been called on us
+ else if (self._ended) {
+ request.end();
+ }
+ }
+ }());
+ }
+};
+
+// Processes a response from the current native request
+RedirectableRequest.prototype._processResponse = function (response) {
+ // Store the redirected response
+ var statusCode = response.statusCode;
+ if (this._options.trackRedirects) {
+ this._redirects.push({
+ url: this._currentUrl,
+ headers: response.headers,
+ statusCode: statusCode,
+ });
+ }
+
+ // RFC7231§6.4: The 3xx (Redirection) class of status code indicates
+ // that further action needs to be taken by the user agent in order to
+ // fulfill the request. If a Location header field is provided,
+ // the user agent MAY automatically redirect its request to the URI
+ // referenced by the Location field value,
+ // even if the specific status code is not understood.
+ var location = response.headers.location;
+ if (location && this._options.followRedirects !== false &&
+ statusCode >= 300 && statusCode < 400) {
+ // Abort the current request
+ abortRequest(this._currentRequest);
+ // Discard the remainder of the response to avoid waiting for data
+ response.destroy();
+
+ // RFC7231§6.4: A client SHOULD detect and intervene
+ // in cyclical redirections (i.e., "infinite" redirection loops).
+ if (++this._redirectCount > this._options.maxRedirects) {
+ this.emit("error", new TooManyRedirectsError());
+ return;
+ }
+
+ // RFC7231§6.4: Automatic redirection needs to done with
+ // care for methods not known to be safe, […]
+ // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change
+ // the request method from POST to GET for the subsequent request.
+ if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" ||
+ // RFC7231§6.4.4: The 303 (See Other) status code indicates that
+ // the server is redirecting the user agent to a different resource […]
+ // A user agent can perform a retrieval request targeting that URI
+ // (a GET or HEAD request if using HTTP) […]
+ (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {
+ this._options.method = "GET";
+ // Drop a possible entity and headers related to it
+ this._requestBodyBuffers = [];
+ removeMatchingHeaders(/^content-/i, this._options.headers);
+ }
+
+ // Drop the Host header, as the redirect might lead to a different host
+ var previousHostName = removeMatchingHeaders(/^host$/i, this._options.headers) ||
+ url.parse(this._currentUrl).hostname;
+
+ // Create the redirected request
+ var redirectUrl = url.resolve(this._currentUrl, location);
+ debug("redirecting to", redirectUrl);
+ this._isRedirect = true;
+ var redirectUrlParts = url.parse(redirectUrl);
+ Object.assign(this._options, redirectUrlParts);
+
+ // Drop the Authorization header if redirecting to another host
+ if (redirectUrlParts.hostname !== previousHostName) {
+ removeMatchingHeaders(/^authorization$/i, this._options.headers);
+ }
+
+ // Evaluate the beforeRedirect callback
+ if (typeof this._options.beforeRedirect === "function") {
+ var responseDetails = { headers: response.headers };
+ try {
+ this._options.beforeRedirect.call(null, this._options, responseDetails);
+ }
+ catch (err) {
+ this.emit("error", err);
+ return;
+ }
+ this._sanitizeOptions(this._options);
+ }
+
+ // Perform the redirected request
+ try {
+ this._performRequest();
+ }
+ catch (cause) {
+ var error = new RedirectionError("Redirected request failed: " + cause.message);
+ error.cause = cause;
+ this.emit("error", error);
+ }
+ }
+ else {
+ // The response is not a redirect; return it as-is
+ response.responseUrl = this._currentUrl;
+ response.redirects = this._redirects;
+ this.emit("response", response);
+
+ // Clean up
+ this._requestBodyBuffers = [];
+ }
+};
+
+// Wraps the key/value object of protocols with redirect functionality
+function wrap(protocols) {
+ // Default settings
+ var exports = {
+ maxRedirects: 21,
+ maxBodyLength: 10 * 1024 * 1024,
+ };
+
+ // Wrap each protocol
+ var nativeProtocols = {};
+ Object.keys(protocols).forEach(function (scheme) {
+ var protocol = scheme + ":";
+ var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
+ var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
+
+ // Executes a request, following redirects
+ function request(input, options, callback) {
+ // Parse parameters
+ if (typeof input === "string") {
+ var urlStr = input;
+ try {
+ input = urlToOptions(new URL(urlStr));
+ }
+ catch (err) {
+ /* istanbul ignore next */
+ input = url.parse(urlStr);
+ }
+ }
+ else if (URL && (input instanceof URL)) {
+ input = urlToOptions(input);
+ }
+ else {
+ callback = options;
+ options = input;
+ input = { protocol: protocol };
+ }
+ if (typeof options === "function") {
+ callback = options;
+ options = null;
+ }
+
+ // Set defaults
+ options = Object.assign({
+ maxRedirects: exports.maxRedirects,
+ maxBodyLength: exports.maxBodyLength,
+ }, input, options);
+ options.nativeProtocols = nativeProtocols;
+
+ assert.equal(options.protocol, protocol, "protocol mismatch");
+ debug("options", options);
+ return new RedirectableRequest(options, callback);
+ }
+
+ // Executes a GET request, following redirects
+ function get(input, options, callback) {
+ var wrappedRequest = wrappedProtocol.request(input, options, callback);
+ wrappedRequest.end();
+ return wrappedRequest;
+ }
+
+ // Expose the properties on the wrapped protocol
+ Object.defineProperties(wrappedProtocol, {
+ request: { value: request, configurable: true, enumerable: true, writable: true },
+ get: { value: get, configurable: true, enumerable: true, writable: true },
+ });
+ });
+ return exports;
+}
+
+/* istanbul ignore next */
+function noop() { /* empty */ }
+
+// from https://github.com/nodejs/node/blob/master/lib/internal/url.js
+function urlToOptions(urlObject) {
+ var options = {
+ protocol: urlObject.protocol,
+ hostname: urlObject.hostname.startsWith("[") ?
+ /* istanbul ignore next */
+ urlObject.hostname.slice(1, -1) :
+ urlObject.hostname,
+ hash: urlObject.hash,
+ search: urlObject.search,
+ pathname: urlObject.pathname,
+ path: urlObject.pathname + urlObject.search,
+ href: urlObject.href,
+ };
+ if (urlObject.port !== "") {
+ options.port = Number(urlObject.port);
+ }
+ return options;
+}
+
+function removeMatchingHeaders(regex, headers) {
+ var lastValue;
+ for (var header in headers) {
+ if (regex.test(header)) {
+ lastValue = headers[header];
+ delete headers[header];
+ }
+ }
+ return lastValue;
+}
+
+function createErrorType(code, defaultMessage) {
+ function CustomError(message) {
+ Error.captureStackTrace(this, this.constructor);
+ this.message = message || defaultMessage;
+ }
+ CustomError.prototype = new Error();
+ CustomError.prototype.constructor = CustomError;
+ CustomError.prototype.name = "Error [" + code + "]";
+ CustomError.prototype.code = code;
+ return CustomError;
+}
+
+function abortRequest(request) {
+ for (var e = 0; e < events.length; e++) {
+ request.removeListener(events[e], eventHandlers[events[e]]);
+ }
+ request.on("error", noop);
+ request.abort();
+}
+
+// Exports
+module.exports = wrap({ http: http, https: https });
+module.exports.wrap = wrap;
+
+
+/***/ }),
+
+/***/ 2645:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = __nccwpck_require__(5747).constants || __nccwpck_require__(7619)
@@ -13978,7 +18488,7 @@ module.exports = __nccwpck_require__(5747).constants || __nccwpck_require__(7619
/***/ }),
-/***/ 3312:
+/***/ 5091:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = realpath
@@ -13994,7 +18504,7 @@ var origRealpathSync = fs.realpathSync
var version = process.version
var ok = /^v[0-5]\./.test(version)
-var old = __nccwpck_require__(4344)
+var old = __nccwpck_require__(1288)
function newError (er) {
return er && er.syscall === 'realpath' && (
@@ -14051,7 +18561,7 @@ function unmonkeypatch () {
/***/ }),
-/***/ 4344:
+/***/ 1288:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
// Copyright Joyent, Inc. and other Node contributors.
@@ -14361,7 +18871,7 @@ exports.realpath = function realpath(p, cache, cb) {
/***/ }),
-/***/ 6266:
+/***/ 1725:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
exports.setopts = setopts
@@ -14377,8 +18887,8 @@ function ownProp (obj, field) {
}
var path = __nccwpck_require__(5622)
-var minimatch = __nccwpck_require__(8285)
-var isAbsolute = __nccwpck_require__(1688)
+var minimatch = __nccwpck_require__(844)
+var isAbsolute = __nccwpck_require__(9319)
var Minimatch = minimatch.Minimatch
function alphasort (a, b) {
@@ -14602,7 +19112,7 @@ function childrenIgnored (self, path) {
/***/ }),
-/***/ 2436:
+/***/ 8787:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
// Approach:
@@ -14648,24 +19158,24 @@ function childrenIgnored (self, path) {
module.exports = glob
var fs = __nccwpck_require__(5747)
-var rp = __nccwpck_require__(3312)
-var minimatch = __nccwpck_require__(8285)
+var rp = __nccwpck_require__(5091)
+var minimatch = __nccwpck_require__(844)
var Minimatch = minimatch.Minimatch
-var inherits = __nccwpck_require__(4875)
+var inherits = __nccwpck_require__(4454)
var EE = __nccwpck_require__(8614).EventEmitter
var path = __nccwpck_require__(5622)
var assert = __nccwpck_require__(2357)
-var isAbsolute = __nccwpck_require__(1688)
-var globSync = __nccwpck_require__(5014)
-var common = __nccwpck_require__(6266)
+var isAbsolute = __nccwpck_require__(9319)
+var globSync = __nccwpck_require__(1498)
+var common = __nccwpck_require__(1725)
var setopts = common.setopts
var ownProp = common.ownProp
-var inflight = __nccwpck_require__(8931)
+var inflight = __nccwpck_require__(7123)
var util = __nccwpck_require__(1669)
var childrenIgnored = common.childrenIgnored
var isIgnored = common.isIgnored
-var once = __nccwpck_require__(3423)
+var once = __nccwpck_require__(5005)
function glob (pattern, options, cb) {
if (typeof options === 'function') cb = options, options = {}
@@ -15397,22 +19907,22 @@ Glob.prototype._stat2 = function (f, abs, er, stat, cb) {
/***/ }),
-/***/ 5014:
+/***/ 1498:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = globSync
globSync.GlobSync = GlobSync
var fs = __nccwpck_require__(5747)
-var rp = __nccwpck_require__(3312)
-var minimatch = __nccwpck_require__(8285)
+var rp = __nccwpck_require__(5091)
+var minimatch = __nccwpck_require__(844)
var Minimatch = minimatch.Minimatch
-var Glob = __nccwpck_require__(2436).Glob
+var Glob = __nccwpck_require__(8787).Glob
var util = __nccwpck_require__(1669)
var path = __nccwpck_require__(5622)
var assert = __nccwpck_require__(2357)
-var isAbsolute = __nccwpck_require__(1688)
-var common = __nccwpck_require__(6266)
+var isAbsolute = __nccwpck_require__(9319)
+var common = __nccwpck_require__(1725)
var setopts = common.setopts
var ownProp = common.ownProp
var childrenIgnored = common.childrenIgnored
@@ -15888,7 +20398,7 @@ GlobSync.prototype._makeAbs = function (f) {
/***/ }),
-/***/ 5746:
+/***/ 8608:
/***/ ((module) => {
"use strict";
@@ -15919,13 +20429,13 @@ function clone (obj) {
/***/ }),
-/***/ 7750:
+/***/ 4725:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
var fs = __nccwpck_require__(5747)
-var polyfills = __nccwpck_require__(9044)
-var legacy = __nccwpck_require__(7954)
-var clone = __nccwpck_require__(5746)
+var polyfills = __nccwpck_require__(1387)
+var legacy = __nccwpck_require__(5735)
+var clone = __nccwpck_require__(8608)
var util = __nccwpck_require__(1669)
@@ -16299,7 +20809,7 @@ function retry () {
/***/ }),
-/***/ 7954:
+/***/ 5735:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
var Stream = __nccwpck_require__(2413).Stream
@@ -16424,7 +20934,7 @@ function legacy (fs) {
/***/ }),
-/***/ 9044:
+/***/ 1387:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
var constants = __nccwpck_require__(7619)
@@ -16777,12 +21287,656 @@ function patch (fs) {
/***/ }),
-/***/ 8931:
+/***/ 2980:
+/***/ (function(module, exports, __nccwpck_require__) {
+
+/* module decorator */ module = __nccwpck_require__.nmd(module);
+/*! https://mths.be/he v1.2.0 by @mathias | MIT license */
+;(function(root) {
+
+ // Detect free variables `exports`.
+ var freeExports = true && exports;
+
+ // Detect free variable `module`.
+ var freeModule = true && module &&
+ module.exports == freeExports && module;
+
+ // Detect free variable `global`, from Node.js or Browserified code,
+ // and use it as `root`.
+ var freeGlobal = typeof global == 'object' && global;
+ if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {
+ root = freeGlobal;
+ }
+
+ /*--------------------------------------------------------------------------*/
+
+ // All astral symbols.
+ var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
+ // All ASCII symbols (not just printable ASCII) except those listed in the
+ // first column of the overrides table.
+ // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides
+ var regexAsciiWhitelist = /[\x01-\x7F]/g;
+ // All BMP symbols that are not ASCII newlines, printable ASCII symbols, or
+ // code points listed in the first column of the overrides table on
+ // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides.
+ var regexBmpWhitelist = /[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;
+
+ var regexEncodeNonAscii = /<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;
+ var encodeMap = {'\xAD':'shy','\u200C':'zwnj','\u200D':'zwj','\u200E':'lrm','\u2063':'ic','\u2062':'it','\u2061':'af','\u200F':'rlm','\u200B':'ZeroWidthSpace','\u2060':'NoBreak','\u0311':'DownBreve','\u20DB':'tdot','\u20DC':'DotDot','\t':'Tab','\n':'NewLine','\u2008':'puncsp','\u205F':'MediumSpace','\u2009':'thinsp','\u200A':'hairsp','\u2004':'emsp13','\u2002':'ensp','\u2005':'emsp14','\u2003':'emsp','\u2007':'numsp','\xA0':'nbsp','\u205F\u200A':'ThickSpace','\u203E':'oline','_':'lowbar','\u2010':'dash','\u2013':'ndash','\u2014':'mdash','\u2015':'horbar',',':'comma',';':'semi','\u204F':'bsemi',':':'colon','\u2A74':'Colone','!':'excl','\xA1':'iexcl','?':'quest','\xBF':'iquest','.':'period','\u2025':'nldr','\u2026':'mldr','\xB7':'middot','\'':'apos','\u2018':'lsquo','\u2019':'rsquo','\u201A':'sbquo','\u2039':'lsaquo','\u203A':'rsaquo','"':'quot','\u201C':'ldquo','\u201D':'rdquo','\u201E':'bdquo','\xAB':'laquo','\xBB':'raquo','(':'lpar',')':'rpar','[':'lsqb',']':'rsqb','{':'lcub','}':'rcub','\u2308':'lceil','\u2309':'rceil','\u230A':'lfloor','\u230B':'rfloor','\u2985':'lopar','\u2986':'ropar','\u298B':'lbrke','\u298C':'rbrke','\u298D':'lbrkslu','\u298E':'rbrksld','\u298F':'lbrksld','\u2990':'rbrkslu','\u2991':'langd','\u2992':'rangd','\u2993':'lparlt','\u2994':'rpargt','\u2995':'gtlPar','\u2996':'ltrPar','\u27E6':'lobrk','\u27E7':'robrk','\u27E8':'lang','\u27E9':'rang','\u27EA':'Lang','\u27EB':'Rang','\u27EC':'loang','\u27ED':'roang','\u2772':'lbbrk','\u2773':'rbbrk','\u2016':'Vert','\xA7':'sect','\xB6':'para','@':'commat','*':'ast','/':'sol','undefined':null,'&':'amp','#':'num','%':'percnt','\u2030':'permil','\u2031':'pertenk','\u2020':'dagger','\u2021':'Dagger','\u2022':'bull','\u2043':'hybull','\u2032':'prime','\u2033':'Prime','\u2034':'tprime','\u2057':'qprime','\u2035':'bprime','\u2041':'caret','`':'grave','\xB4':'acute','\u02DC':'tilde','^':'Hat','\xAF':'macr','\u02D8':'breve','\u02D9':'dot','\xA8':'die','\u02DA':'ring','\u02DD':'dblac','\xB8':'cedil','\u02DB':'ogon','\u02C6':'circ','\u02C7':'caron','\xB0':'deg','\xA9':'copy','\xAE':'reg','\u2117':'copysr','\u2118':'wp','\u211E':'rx','\u2127':'mho','\u2129':'iiota','\u2190':'larr','\u219A':'nlarr','\u2192':'rarr','\u219B':'nrarr','\u2191':'uarr','\u2193':'darr','\u2194':'harr','\u21AE':'nharr','\u2195':'varr','\u2196':'nwarr','\u2197':'nearr','\u2198':'searr','\u2199':'swarr','\u219D':'rarrw','\u219D\u0338':'nrarrw','\u219E':'Larr','\u219F':'Uarr','\u21A0':'Rarr','\u21A1':'Darr','\u21A2':'larrtl','\u21A3':'rarrtl','\u21A4':'mapstoleft','\u21A5':'mapstoup','\u21A6':'map','\u21A7':'mapstodown','\u21A9':'larrhk','\u21AA':'rarrhk','\u21AB':'larrlp','\u21AC':'rarrlp','\u21AD':'harrw','\u21B0':'lsh','\u21B1':'rsh','\u21B2':'ldsh','\u21B3':'rdsh','\u21B5':'crarr','\u21B6':'cularr','\u21B7':'curarr','\u21BA':'olarr','\u21BB':'orarr','\u21BC':'lharu','\u21BD':'lhard','\u21BE':'uharr','\u21BF':'uharl','\u21C0':'rharu','\u21C1':'rhard','\u21C2':'dharr','\u21C3':'dharl','\u21C4':'rlarr','\u21C5':'udarr','\u21C6':'lrarr','\u21C7':'llarr','\u21C8':'uuarr','\u21C9':'rrarr','\u21CA':'ddarr','\u21CB':'lrhar','\u21CC':'rlhar','\u21D0':'lArr','\u21CD':'nlArr','\u21D1':'uArr','\u21D2':'rArr','\u21CF':'nrArr','\u21D3':'dArr','\u21D4':'iff','\u21CE':'nhArr','\u21D5':'vArr','\u21D6':'nwArr','\u21D7':'neArr','\u21D8':'seArr','\u21D9':'swArr','\u21DA':'lAarr','\u21DB':'rAarr','\u21DD':'zigrarr','\u21E4':'larrb','\u21E5':'rarrb','\u21F5':'duarr','\u21FD':'loarr','\u21FE':'roarr','\u21FF':'hoarr','\u2200':'forall','\u2201':'comp','\u2202':'part','\u2202\u0338':'npart','\u2203':'exist','\u2204':'nexist','\u2205':'empty','\u2207':'Del','\u2208':'in','\u2209':'notin','\u220B':'ni','\u220C':'notni','\u03F6':'bepsi','\u220F':'prod','\u2210':'coprod','\u2211':'sum','+':'plus','\xB1':'pm','\xF7':'div','\xD7':'times','<':'lt','\u226E':'nlt','<\u20D2':'nvlt','=':'equals','\u2260':'ne','=\u20E5':'bne','\u2A75':'Equal','>':'gt','\u226F':'ngt','>\u20D2':'nvgt','\xAC':'not','|':'vert','\xA6':'brvbar','\u2212':'minus','\u2213':'mp','\u2214':'plusdo','\u2044':'frasl','\u2216':'setmn','\u2217':'lowast','\u2218':'compfn','\u221A':'Sqrt','\u221D':'prop','\u221E':'infin','\u221F':'angrt','\u2220':'ang','\u2220\u20D2':'nang','\u2221':'angmsd','\u2222':'angsph','\u2223':'mid','\u2224':'nmid','\u2225':'par','\u2226':'npar','\u2227':'and','\u2228':'or','\u2229':'cap','\u2229\uFE00':'caps','\u222A':'cup','\u222A\uFE00':'cups','\u222B':'int','\u222C':'Int','\u222D':'tint','\u2A0C':'qint','\u222E':'oint','\u222F':'Conint','\u2230':'Cconint','\u2231':'cwint','\u2232':'cwconint','\u2233':'awconint','\u2234':'there4','\u2235':'becaus','\u2236':'ratio','\u2237':'Colon','\u2238':'minusd','\u223A':'mDDot','\u223B':'homtht','\u223C':'sim','\u2241':'nsim','\u223C\u20D2':'nvsim','\u223D':'bsim','\u223D\u0331':'race','\u223E':'ac','\u223E\u0333':'acE','\u223F':'acd','\u2240':'wr','\u2242':'esim','\u2242\u0338':'nesim','\u2243':'sime','\u2244':'nsime','\u2245':'cong','\u2247':'ncong','\u2246':'simne','\u2248':'ap','\u2249':'nap','\u224A':'ape','\u224B':'apid','\u224B\u0338':'napid','\u224C':'bcong','\u224D':'CupCap','\u226D':'NotCupCap','\u224D\u20D2':'nvap','\u224E':'bump','\u224E\u0338':'nbump','\u224F':'bumpe','\u224F\u0338':'nbumpe','\u2250':'doteq','\u2250\u0338':'nedot','\u2251':'eDot','\u2252':'efDot','\u2253':'erDot','\u2254':'colone','\u2255':'ecolon','\u2256':'ecir','\u2257':'cire','\u2259':'wedgeq','\u225A':'veeeq','\u225C':'trie','\u225F':'equest','\u2261':'equiv','\u2262':'nequiv','\u2261\u20E5':'bnequiv','\u2264':'le','\u2270':'nle','\u2264\u20D2':'nvle','\u2265':'ge','\u2271':'nge','\u2265\u20D2':'nvge','\u2266':'lE','\u2266\u0338':'nlE','\u2267':'gE','\u2267\u0338':'ngE','\u2268\uFE00':'lvnE','\u2268':'lnE','\u2269':'gnE','\u2269\uFE00':'gvnE','\u226A':'ll','\u226A\u0338':'nLtv','\u226A\u20D2':'nLt','\u226B':'gg','\u226B\u0338':'nGtv','\u226B\u20D2':'nGt','\u226C':'twixt','\u2272':'lsim','\u2274':'nlsim','\u2273':'gsim','\u2275':'ngsim','\u2276':'lg','\u2278':'ntlg','\u2277':'gl','\u2279':'ntgl','\u227A':'pr','\u2280':'npr','\u227B':'sc','\u2281':'nsc','\u227C':'prcue','\u22E0':'nprcue','\u227D':'sccue','\u22E1':'nsccue','\u227E':'prsim','\u227F':'scsim','\u227F\u0338':'NotSucceedsTilde','\u2282':'sub','\u2284':'nsub','\u2282\u20D2':'vnsub','\u2283':'sup','\u2285':'nsup','\u2283\u20D2':'vnsup','\u2286':'sube','\u2288':'nsube','\u2287':'supe','\u2289':'nsupe','\u228A\uFE00':'vsubne','\u228A':'subne','\u228B\uFE00':'vsupne','\u228B':'supne','\u228D':'cupdot','\u228E':'uplus','\u228F':'sqsub','\u228F\u0338':'NotSquareSubset','\u2290':'sqsup','\u2290\u0338':'NotSquareSuperset','\u2291':'sqsube','\u22E2':'nsqsube','\u2292':'sqsupe','\u22E3':'nsqsupe','\u2293':'sqcap','\u2293\uFE00':'sqcaps','\u2294':'sqcup','\u2294\uFE00':'sqcups','\u2295':'oplus','\u2296':'ominus','\u2297':'otimes','\u2298':'osol','\u2299':'odot','\u229A':'ocir','\u229B':'oast','\u229D':'odash','\u229E':'plusb','\u229F':'minusb','\u22A0':'timesb','\u22A1':'sdotb','\u22A2':'vdash','\u22AC':'nvdash','\u22A3':'dashv','\u22A4':'top','\u22A5':'bot','\u22A7':'models','\u22A8':'vDash','\u22AD':'nvDash','\u22A9':'Vdash','\u22AE':'nVdash','\u22AA':'Vvdash','\u22AB':'VDash','\u22AF':'nVDash','\u22B0':'prurel','\u22B2':'vltri','\u22EA':'nltri','\u22B3':'vrtri','\u22EB':'nrtri','\u22B4':'ltrie','\u22EC':'nltrie','\u22B4\u20D2':'nvltrie','\u22B5':'rtrie','\u22ED':'nrtrie','\u22B5\u20D2':'nvrtrie','\u22B6':'origof','\u22B7':'imof','\u22B8':'mumap','\u22B9':'hercon','\u22BA':'intcal','\u22BB':'veebar','\u22BD':'barvee','\u22BE':'angrtvb','\u22BF':'lrtri','\u22C0':'Wedge','\u22C1':'Vee','\u22C2':'xcap','\u22C3':'xcup','\u22C4':'diam','\u22C5':'sdot','\u22C6':'Star','\u22C7':'divonx','\u22C8':'bowtie','\u22C9':'ltimes','\u22CA':'rtimes','\u22CB':'lthree','\u22CC':'rthree','\u22CD':'bsime','\u22CE':'cuvee','\u22CF':'cuwed','\u22D0':'Sub','\u22D1':'Sup','\u22D2':'Cap','\u22D3':'Cup','\u22D4':'fork','\u22D5':'epar','\u22D6':'ltdot','\u22D7':'gtdot','\u22D8':'Ll','\u22D8\u0338':'nLl','\u22D9':'Gg','\u22D9\u0338':'nGg','\u22DA\uFE00':'lesg','\u22DA':'leg','\u22DB':'gel','\u22DB\uFE00':'gesl','\u22DE':'cuepr','\u22DF':'cuesc','\u22E6':'lnsim','\u22E7':'gnsim','\u22E8':'prnsim','\u22E9':'scnsim','\u22EE':'vellip','\u22EF':'ctdot','\u22F0':'utdot','\u22F1':'dtdot','\u22F2':'disin','\u22F3':'isinsv','\u22F4':'isins','\u22F5':'isindot','\u22F5\u0338':'notindot','\u22F6':'notinvc','\u22F7':'notinvb','\u22F9':'isinE','\u22F9\u0338':'notinE','\u22FA':'nisd','\u22FB':'xnis','\u22FC':'nis','\u22FD':'notnivc','\u22FE':'notnivb','\u2305':'barwed','\u2306':'Barwed','\u230C':'drcrop','\u230D':'dlcrop','\u230E':'urcrop','\u230F':'ulcrop','\u2310':'bnot','\u2312':'profline','\u2313':'profsurf','\u2315':'telrec','\u2316':'target','\u231C':'ulcorn','\u231D':'urcorn','\u231E':'dlcorn','\u231F':'drcorn','\u2322':'frown','\u2323':'smile','\u232D':'cylcty','\u232E':'profalar','\u2336':'topbot','\u233D':'ovbar','\u233F':'solbar','\u237C':'angzarr','\u23B0':'lmoust','\u23B1':'rmoust','\u23B4':'tbrk','\u23B5':'bbrk','\u23B6':'bbrktbrk','\u23DC':'OverParenthesis','\u23DD':'UnderParenthesis','\u23DE':'OverBrace','\u23DF':'UnderBrace','\u23E2':'trpezium','\u23E7':'elinters','\u2423':'blank','\u2500':'boxh','\u2502':'boxv','\u250C':'boxdr','\u2510':'boxdl','\u2514':'boxur','\u2518':'boxul','\u251C':'boxvr','\u2524':'boxvl','\u252C':'boxhd','\u2534':'boxhu','\u253C':'boxvh','\u2550':'boxH','\u2551':'boxV','\u2552':'boxdR','\u2553':'boxDr','\u2554':'boxDR','\u2555':'boxdL','\u2556':'boxDl','\u2557':'boxDL','\u2558':'boxuR','\u2559':'boxUr','\u255A':'boxUR','\u255B':'boxuL','\u255C':'boxUl','\u255D':'boxUL','\u255E':'boxvR','\u255F':'boxVr','\u2560':'boxVR','\u2561':'boxvL','\u2562':'boxVl','\u2563':'boxVL','\u2564':'boxHd','\u2565':'boxhD','\u2566':'boxHD','\u2567':'boxHu','\u2568':'boxhU','\u2569':'boxHU','\u256A':'boxvH','\u256B':'boxVh','\u256C':'boxVH','\u2580':'uhblk','\u2584':'lhblk','\u2588':'block','\u2591':'blk14','\u2592':'blk12','\u2593':'blk34','\u25A1':'squ','\u25AA':'squf','\u25AB':'EmptyVerySmallSquare','\u25AD':'rect','\u25AE':'marker','\u25B1':'fltns','\u25B3':'xutri','\u25B4':'utrif','\u25B5':'utri','\u25B8':'rtrif','\u25B9':'rtri','\u25BD':'xdtri','\u25BE':'dtrif','\u25BF':'dtri','\u25C2':'ltrif','\u25C3':'ltri','\u25CA':'loz','\u25CB':'cir','\u25EC':'tridot','\u25EF':'xcirc','\u25F8':'ultri','\u25F9':'urtri','\u25FA':'lltri','\u25FB':'EmptySmallSquare','\u25FC':'FilledSmallSquare','\u2605':'starf','\u2606':'star','\u260E':'phone','\u2640':'female','\u2642':'male','\u2660':'spades','\u2663':'clubs','\u2665':'hearts','\u2666':'diams','\u266A':'sung','\u2713':'check','\u2717':'cross','\u2720':'malt','\u2736':'sext','\u2758':'VerticalSeparator','\u27C8':'bsolhsub','\u27C9':'suphsol','\u27F5':'xlarr','\u27F6':'xrarr','\u27F7':'xharr','\u27F8':'xlArr','\u27F9':'xrArr','\u27FA':'xhArr','\u27FC':'xmap','\u27FF':'dzigrarr','\u2902':'nvlArr','\u2903':'nvrArr','\u2904':'nvHarr','\u2905':'Map','\u290C':'lbarr','\u290D':'rbarr','\u290E':'lBarr','\u290F':'rBarr','\u2910':'RBarr','\u2911':'DDotrahd','\u2912':'UpArrowBar','\u2913':'DownArrowBar','\u2916':'Rarrtl','\u2919':'latail','\u291A':'ratail','\u291B':'lAtail','\u291C':'rAtail','\u291D':'larrfs','\u291E':'rarrfs','\u291F':'larrbfs','\u2920':'rarrbfs','\u2923':'nwarhk','\u2924':'nearhk','\u2925':'searhk','\u2926':'swarhk','\u2927':'nwnear','\u2928':'toea','\u2929':'tosa','\u292A':'swnwar','\u2933':'rarrc','\u2933\u0338':'nrarrc','\u2935':'cudarrr','\u2936':'ldca','\u2937':'rdca','\u2938':'cudarrl','\u2939':'larrpl','\u293C':'curarrm','\u293D':'cularrp','\u2945':'rarrpl','\u2948':'harrcir','\u2949':'Uarrocir','\u294A':'lurdshar','\u294B':'ldrushar','\u294E':'LeftRightVector','\u294F':'RightUpDownVector','\u2950':'DownLeftRightVector','\u2951':'LeftUpDownVector','\u2952':'LeftVectorBar','\u2953':'RightVectorBar','\u2954':'RightUpVectorBar','\u2955':'RightDownVectorBar','\u2956':'DownLeftVectorBar','\u2957':'DownRightVectorBar','\u2958':'LeftUpVectorBar','\u2959':'LeftDownVectorBar','\u295A':'LeftTeeVector','\u295B':'RightTeeVector','\u295C':'RightUpTeeVector','\u295D':'RightDownTeeVector','\u295E':'DownLeftTeeVector','\u295F':'DownRightTeeVector','\u2960':'LeftUpTeeVector','\u2961':'LeftDownTeeVector','\u2962':'lHar','\u2963':'uHar','\u2964':'rHar','\u2965':'dHar','\u2966':'luruhar','\u2967':'ldrdhar','\u2968':'ruluhar','\u2969':'rdldhar','\u296A':'lharul','\u296B':'llhard','\u296C':'rharul','\u296D':'lrhard','\u296E':'udhar','\u296F':'duhar','\u2970':'RoundImplies','\u2971':'erarr','\u2972':'simrarr','\u2973':'larrsim','\u2974':'rarrsim','\u2975':'rarrap','\u2976':'ltlarr','\u2978':'gtrarr','\u2979':'subrarr','\u297B':'suplarr','\u297C':'lfisht','\u297D':'rfisht','\u297E':'ufisht','\u297F':'dfisht','\u299A':'vzigzag','\u299C':'vangrt','\u299D':'angrtvbd','\u29A4':'ange','\u29A5':'range','\u29A6':'dwangle','\u29A7':'uwangle','\u29A8':'angmsdaa','\u29A9':'angmsdab','\u29AA':'angmsdac','\u29AB':'angmsdad','\u29AC':'angmsdae','\u29AD':'angmsdaf','\u29AE':'angmsdag','\u29AF':'angmsdah','\u29B0':'bemptyv','\u29B1':'demptyv','\u29B2':'cemptyv','\u29B3':'raemptyv','\u29B4':'laemptyv','\u29B5':'ohbar','\u29B6':'omid','\u29B7':'opar','\u29B9':'operp','\u29BB':'olcross','\u29BC':'odsold','\u29BE':'olcir','\u29BF':'ofcir','\u29C0':'olt','\u29C1':'ogt','\u29C2':'cirscir','\u29C3':'cirE','\u29C4':'solb','\u29C5':'bsolb','\u29C9':'boxbox','\u29CD':'trisb','\u29CE':'rtriltri','\u29CF':'LeftTriangleBar','\u29CF\u0338':'NotLeftTriangleBar','\u29D0':'RightTriangleBar','\u29D0\u0338':'NotRightTriangleBar','\u29DC':'iinfin','\u29DD':'infintie','\u29DE':'nvinfin','\u29E3':'eparsl','\u29E4':'smeparsl','\u29E5':'eqvparsl','\u29EB':'lozf','\u29F4':'RuleDelayed','\u29F6':'dsol','\u2A00':'xodot','\u2A01':'xoplus','\u2A02':'xotime','\u2A04':'xuplus','\u2A06':'xsqcup','\u2A0D':'fpartint','\u2A10':'cirfnint','\u2A11':'awint','\u2A12':'rppolint','\u2A13':'scpolint','\u2A14':'npolint','\u2A15':'pointint','\u2A16':'quatint','\u2A17':'intlarhk','\u2A22':'pluscir','\u2A23':'plusacir','\u2A24':'simplus','\u2A25':'plusdu','\u2A26':'plussim','\u2A27':'plustwo','\u2A29':'mcomma','\u2A2A':'minusdu','\u2A2D':'loplus','\u2A2E':'roplus','\u2A2F':'Cross','\u2A30':'timesd','\u2A31':'timesbar','\u2A33':'smashp','\u2A34':'lotimes','\u2A35':'rotimes','\u2A36':'otimesas','\u2A37':'Otimes','\u2A38':'odiv','\u2A39':'triplus','\u2A3A':'triminus','\u2A3B':'tritime','\u2A3C':'iprod','\u2A3F':'amalg','\u2A40':'capdot','\u2A42':'ncup','\u2A43':'ncap','\u2A44':'capand','\u2A45':'cupor','\u2A46':'cupcap','\u2A47':'capcup','\u2A48':'cupbrcap','\u2A49':'capbrcup','\u2A4A':'cupcup','\u2A4B':'capcap','\u2A4C':'ccups','\u2A4D':'ccaps','\u2A50':'ccupssm','\u2A53':'And','\u2A54':'Or','\u2A55':'andand','\u2A56':'oror','\u2A57':'orslope','\u2A58':'andslope','\u2A5A':'andv','\u2A5B':'orv','\u2A5C':'andd','\u2A5D':'ord','\u2A5F':'wedbar','\u2A66':'sdote','\u2A6A':'simdot','\u2A6D':'congdot','\u2A6D\u0338':'ncongdot','\u2A6E':'easter','\u2A6F':'apacir','\u2A70':'apE','\u2A70\u0338':'napE','\u2A71':'eplus','\u2A72':'pluse','\u2A73':'Esim','\u2A77':'eDDot','\u2A78':'equivDD','\u2A79':'ltcir','\u2A7A':'gtcir','\u2A7B':'ltquest','\u2A7C':'gtquest','\u2A7D':'les','\u2A7D\u0338':'nles','\u2A7E':'ges','\u2A7E\u0338':'nges','\u2A7F':'lesdot','\u2A80':'gesdot','\u2A81':'lesdoto','\u2A82':'gesdoto','\u2A83':'lesdotor','\u2A84':'gesdotol','\u2A85':'lap','\u2A86':'gap','\u2A87':'lne','\u2A88':'gne','\u2A89':'lnap','\u2A8A':'gnap','\u2A8B':'lEg','\u2A8C':'gEl','\u2A8D':'lsime','\u2A8E':'gsime','\u2A8F':'lsimg','\u2A90':'gsiml','\u2A91':'lgE','\u2A92':'glE','\u2A93':'lesges','\u2A94':'gesles','\u2A95':'els','\u2A96':'egs','\u2A97':'elsdot','\u2A98':'egsdot','\u2A99':'el','\u2A9A':'eg','\u2A9D':'siml','\u2A9E':'simg','\u2A9F':'simlE','\u2AA0':'simgE','\u2AA1':'LessLess','\u2AA1\u0338':'NotNestedLessLess','\u2AA2':'GreaterGreater','\u2AA2\u0338':'NotNestedGreaterGreater','\u2AA4':'glj','\u2AA5':'gla','\u2AA6':'ltcc','\u2AA7':'gtcc','\u2AA8':'lescc','\u2AA9':'gescc','\u2AAA':'smt','\u2AAB':'lat','\u2AAC':'smte','\u2AAC\uFE00':'smtes','\u2AAD':'late','\u2AAD\uFE00':'lates','\u2AAE':'bumpE','\u2AAF':'pre','\u2AAF\u0338':'npre','\u2AB0':'sce','\u2AB0\u0338':'nsce','\u2AB3':'prE','\u2AB4':'scE','\u2AB5':'prnE','\u2AB6':'scnE','\u2AB7':'prap','\u2AB8':'scap','\u2AB9':'prnap','\u2ABA':'scnap','\u2ABB':'Pr','\u2ABC':'Sc','\u2ABD':'subdot','\u2ABE':'supdot','\u2ABF':'subplus','\u2AC0':'supplus','\u2AC1':'submult','\u2AC2':'supmult','\u2AC3':'subedot','\u2AC4':'supedot','\u2AC5':'subE','\u2AC5\u0338':'nsubE','\u2AC6':'supE','\u2AC6\u0338':'nsupE','\u2AC7':'subsim','\u2AC8':'supsim','\u2ACB\uFE00':'vsubnE','\u2ACB':'subnE','\u2ACC\uFE00':'vsupnE','\u2ACC':'supnE','\u2ACF':'csub','\u2AD0':'csup','\u2AD1':'csube','\u2AD2':'csupe','\u2AD3':'subsup','\u2AD4':'supsub','\u2AD5':'subsub','\u2AD6':'supsup','\u2AD7':'suphsub','\u2AD8':'supdsub','\u2AD9':'forkv','\u2ADA':'topfork','\u2ADB':'mlcp','\u2AE4':'Dashv','\u2AE6':'Vdashl','\u2AE7':'Barv','\u2AE8':'vBar','\u2AE9':'vBarv','\u2AEB':'Vbar','\u2AEC':'Not','\u2AED':'bNot','\u2AEE':'rnmid','\u2AEF':'cirmid','\u2AF0':'midcir','\u2AF1':'topcir','\u2AF2':'nhpar','\u2AF3':'parsim','\u2AFD':'parsl','\u2AFD\u20E5':'nparsl','\u266D':'flat','\u266E':'natur','\u266F':'sharp','\xA4':'curren','\xA2':'cent','$':'dollar','\xA3':'pound','\xA5':'yen','\u20AC':'euro','\xB9':'sup1','\xBD':'half','\u2153':'frac13','\xBC':'frac14','\u2155':'frac15','\u2159':'frac16','\u215B':'frac18','\xB2':'sup2','\u2154':'frac23','\u2156':'frac25','\xB3':'sup3','\xBE':'frac34','\u2157':'frac35','\u215C':'frac38','\u2158':'frac45','\u215A':'frac56','\u215D':'frac58','\u215E':'frac78','\uD835\uDCB6':'ascr','\uD835\uDD52':'aopf','\uD835\uDD1E':'afr','\uD835\uDD38':'Aopf','\uD835\uDD04':'Afr','\uD835\uDC9C':'Ascr','\xAA':'ordf','\xE1':'aacute','\xC1':'Aacute','\xE0':'agrave','\xC0':'Agrave','\u0103':'abreve','\u0102':'Abreve','\xE2':'acirc','\xC2':'Acirc','\xE5':'aring','\xC5':'angst','\xE4':'auml','\xC4':'Auml','\xE3':'atilde','\xC3':'Atilde','\u0105':'aogon','\u0104':'Aogon','\u0101':'amacr','\u0100':'Amacr','\xE6':'aelig','\xC6':'AElig','\uD835\uDCB7':'bscr','\uD835\uDD53':'bopf','\uD835\uDD1F':'bfr','\uD835\uDD39':'Bopf','\u212C':'Bscr','\uD835\uDD05':'Bfr','\uD835\uDD20':'cfr','\uD835\uDCB8':'cscr','\uD835\uDD54':'copf','\u212D':'Cfr','\uD835\uDC9E':'Cscr','\u2102':'Copf','\u0107':'cacute','\u0106':'Cacute','\u0109':'ccirc','\u0108':'Ccirc','\u010D':'ccaron','\u010C':'Ccaron','\u010B':'cdot','\u010A':'Cdot','\xE7':'ccedil','\xC7':'Ccedil','\u2105':'incare','\uD835\uDD21':'dfr','\u2146':'dd','\uD835\uDD55':'dopf','\uD835\uDCB9':'dscr','\uD835\uDC9F':'Dscr','\uD835\uDD07':'Dfr','\u2145':'DD','\uD835\uDD3B':'Dopf','\u010F':'dcaron','\u010E':'Dcaron','\u0111':'dstrok','\u0110':'Dstrok','\xF0':'eth','\xD0':'ETH','\u2147':'ee','\u212F':'escr','\uD835\uDD22':'efr','\uD835\uDD56':'eopf','\u2130':'Escr','\uD835\uDD08':'Efr','\uD835\uDD3C':'Eopf','\xE9':'eacute','\xC9':'Eacute','\xE8':'egrave','\xC8':'Egrave','\xEA':'ecirc','\xCA':'Ecirc','\u011B':'ecaron','\u011A':'Ecaron','\xEB':'euml','\xCB':'Euml','\u0117':'edot','\u0116':'Edot','\u0119':'eogon','\u0118':'Eogon','\u0113':'emacr','\u0112':'Emacr','\uD835\uDD23':'ffr','\uD835\uDD57':'fopf','\uD835\uDCBB':'fscr','\uD835\uDD09':'Ffr','\uD835\uDD3D':'Fopf','\u2131':'Fscr','\uFB00':'fflig','\uFB03':'ffilig','\uFB04':'ffllig','\uFB01':'filig','fj':'fjlig','\uFB02':'fllig','\u0192':'fnof','\u210A':'gscr','\uD835\uDD58':'gopf','\uD835\uDD24':'gfr','\uD835\uDCA2':'Gscr','\uD835\uDD3E':'Gopf','\uD835\uDD0A':'Gfr','\u01F5':'gacute','\u011F':'gbreve','\u011E':'Gbreve','\u011D':'gcirc','\u011C':'Gcirc','\u0121':'gdot','\u0120':'Gdot','\u0122':'Gcedil','\uD835\uDD25':'hfr','\u210E':'planckh','\uD835\uDCBD':'hscr','\uD835\uDD59':'hopf','\u210B':'Hscr','\u210C':'Hfr','\u210D':'Hopf','\u0125':'hcirc','\u0124':'Hcirc','\u210F':'hbar','\u0127':'hstrok','\u0126':'Hstrok','\uD835\uDD5A':'iopf','\uD835\uDD26':'ifr','\uD835\uDCBE':'iscr','\u2148':'ii','\uD835\uDD40':'Iopf','\u2110':'Iscr','\u2111':'Im','\xED':'iacute','\xCD':'Iacute','\xEC':'igrave','\xCC':'Igrave','\xEE':'icirc','\xCE':'Icirc','\xEF':'iuml','\xCF':'Iuml','\u0129':'itilde','\u0128':'Itilde','\u0130':'Idot','\u012F':'iogon','\u012E':'Iogon','\u012B':'imacr','\u012A':'Imacr','\u0133':'ijlig','\u0132':'IJlig','\u0131':'imath','\uD835\uDCBF':'jscr','\uD835\uDD5B':'jopf','\uD835\uDD27':'jfr','\uD835\uDCA5':'Jscr','\uD835\uDD0D':'Jfr','\uD835\uDD41':'Jopf','\u0135':'jcirc','\u0134':'Jcirc','\u0237':'jmath','\uD835\uDD5C':'kopf','\uD835\uDCC0':'kscr','\uD835\uDD28':'kfr','\uD835\uDCA6':'Kscr','\uD835\uDD42':'Kopf','\uD835\uDD0E':'Kfr','\u0137':'kcedil','\u0136':'Kcedil','\uD835\uDD29':'lfr','\uD835\uDCC1':'lscr','\u2113':'ell','\uD835\uDD5D':'lopf','\u2112':'Lscr','\uD835\uDD0F':'Lfr','\uD835\uDD43':'Lopf','\u013A':'lacute','\u0139':'Lacute','\u013E':'lcaron','\u013D':'Lcaron','\u013C':'lcedil','\u013B':'Lcedil','\u0142':'lstrok','\u0141':'Lstrok','\u0140':'lmidot','\u013F':'Lmidot','\uD835\uDD2A':'mfr','\uD835\uDD5E':'mopf','\uD835\uDCC2':'mscr','\uD835\uDD10':'Mfr','\uD835\uDD44':'Mopf','\u2133':'Mscr','\uD835\uDD2B':'nfr','\uD835\uDD5F':'nopf','\uD835\uDCC3':'nscr','\u2115':'Nopf','\uD835\uDCA9':'Nscr','\uD835\uDD11':'Nfr','\u0144':'nacute','\u0143':'Nacute','\u0148':'ncaron','\u0147':'Ncaron','\xF1':'ntilde','\xD1':'Ntilde','\u0146':'ncedil','\u0145':'Ncedil','\u2116':'numero','\u014B':'eng','\u014A':'ENG','\uD835\uDD60':'oopf','\uD835\uDD2C':'ofr','\u2134':'oscr','\uD835\uDCAA':'Oscr','\uD835\uDD12':'Ofr','\uD835\uDD46':'Oopf','\xBA':'ordm','\xF3':'oacute','\xD3':'Oacute','\xF2':'ograve','\xD2':'Ograve','\xF4':'ocirc','\xD4':'Ocirc','\xF6':'ouml','\xD6':'Ouml','\u0151':'odblac','\u0150':'Odblac','\xF5':'otilde','\xD5':'Otilde','\xF8':'oslash','\xD8':'Oslash','\u014D':'omacr','\u014C':'Omacr','\u0153':'oelig','\u0152':'OElig','\uD835\uDD2D':'pfr','\uD835\uDCC5':'pscr','\uD835\uDD61':'popf','\u2119':'Popf','\uD835\uDD13':'Pfr','\uD835\uDCAB':'Pscr','\uD835\uDD62':'qopf','\uD835\uDD2E':'qfr','\uD835\uDCC6':'qscr','\uD835\uDCAC':'Qscr','\uD835\uDD14':'Qfr','\u211A':'Qopf','\u0138':'kgreen','\uD835\uDD2F':'rfr','\uD835\uDD63':'ropf','\uD835\uDCC7':'rscr','\u211B':'Rscr','\u211C':'Re','\u211D':'Ropf','\u0155':'racute','\u0154':'Racute','\u0159':'rcaron','\u0158':'Rcaron','\u0157':'rcedil','\u0156':'Rcedil','\uD835\uDD64':'sopf','\uD835\uDCC8':'sscr','\uD835\uDD30':'sfr','\uD835\uDD4A':'Sopf','\uD835\uDD16':'Sfr','\uD835\uDCAE':'Sscr','\u24C8':'oS','\u015B':'sacute','\u015A':'Sacute','\u015D':'scirc','\u015C':'Scirc','\u0161':'scaron','\u0160':'Scaron','\u015F':'scedil','\u015E':'Scedil','\xDF':'szlig','\uD835\uDD31':'tfr','\uD835\uDCC9':'tscr','\uD835\uDD65':'topf','\uD835\uDCAF':'Tscr','\uD835\uDD17':'Tfr','\uD835\uDD4B':'Topf','\u0165':'tcaron','\u0164':'Tcaron','\u0163':'tcedil','\u0162':'Tcedil','\u2122':'trade','\u0167':'tstrok','\u0166':'Tstrok','\uD835\uDCCA':'uscr','\uD835\uDD66':'uopf','\uD835\uDD32':'ufr','\uD835\uDD4C':'Uopf','\uD835\uDD18':'Ufr','\uD835\uDCB0':'Uscr','\xFA':'uacute','\xDA':'Uacute','\xF9':'ugrave','\xD9':'Ugrave','\u016D':'ubreve','\u016C':'Ubreve','\xFB':'ucirc','\xDB':'Ucirc','\u016F':'uring','\u016E':'Uring','\xFC':'uuml','\xDC':'Uuml','\u0171':'udblac','\u0170':'Udblac','\u0169':'utilde','\u0168':'Utilde','\u0173':'uogon','\u0172':'Uogon','\u016B':'umacr','\u016A':'Umacr','\uD835\uDD33':'vfr','\uD835\uDD67':'vopf','\uD835\uDCCB':'vscr','\uD835\uDD19':'Vfr','\uD835\uDD4D':'Vopf','\uD835\uDCB1':'Vscr','\uD835\uDD68':'wopf','\uD835\uDCCC':'wscr','\uD835\uDD34':'wfr','\uD835\uDCB2':'Wscr','\uD835\uDD4E':'Wopf','\uD835\uDD1A':'Wfr','\u0175':'wcirc','\u0174':'Wcirc','\uD835\uDD35':'xfr','\uD835\uDCCD':'xscr','\uD835\uDD69':'xopf','\uD835\uDD4F':'Xopf','\uD835\uDD1B':'Xfr','\uD835\uDCB3':'Xscr','\uD835\uDD36':'yfr','\uD835\uDCCE':'yscr','\uD835\uDD6A':'yopf','\uD835\uDCB4':'Yscr','\uD835\uDD1C':'Yfr','\uD835\uDD50':'Yopf','\xFD':'yacute','\xDD':'Yacute','\u0177':'ycirc','\u0176':'Ycirc','\xFF':'yuml','\u0178':'Yuml','\uD835\uDCCF':'zscr','\uD835\uDD37':'zfr','\uD835\uDD6B':'zopf','\u2128':'Zfr','\u2124':'Zopf','\uD835\uDCB5':'Zscr','\u017A':'zacute','\u0179':'Zacute','\u017E':'zcaron','\u017D':'Zcaron','\u017C':'zdot','\u017B':'Zdot','\u01B5':'imped','\xFE':'thorn','\xDE':'THORN','\u0149':'napos','\u03B1':'alpha','\u0391':'Alpha','\u03B2':'beta','\u0392':'Beta','\u03B3':'gamma','\u0393':'Gamma','\u03B4':'delta','\u0394':'Delta','\u03B5':'epsi','\u03F5':'epsiv','\u0395':'Epsilon','\u03DD':'gammad','\u03DC':'Gammad','\u03B6':'zeta','\u0396':'Zeta','\u03B7':'eta','\u0397':'Eta','\u03B8':'theta','\u03D1':'thetav','\u0398':'Theta','\u03B9':'iota','\u0399':'Iota','\u03BA':'kappa','\u03F0':'kappav','\u039A':'Kappa','\u03BB':'lambda','\u039B':'Lambda','\u03BC':'mu','\xB5':'micro','\u039C':'Mu','\u03BD':'nu','\u039D':'Nu','\u03BE':'xi','\u039E':'Xi','\u03BF':'omicron','\u039F':'Omicron','\u03C0':'pi','\u03D6':'piv','\u03A0':'Pi','\u03C1':'rho','\u03F1':'rhov','\u03A1':'Rho','\u03C3':'sigma','\u03A3':'Sigma','\u03C2':'sigmaf','\u03C4':'tau','\u03A4':'Tau','\u03C5':'upsi','\u03A5':'Upsilon','\u03D2':'Upsi','\u03C6':'phi','\u03D5':'phiv','\u03A6':'Phi','\u03C7':'chi','\u03A7':'Chi','\u03C8':'psi','\u03A8':'Psi','\u03C9':'omega','\u03A9':'ohm','\u0430':'acy','\u0410':'Acy','\u0431':'bcy','\u0411':'Bcy','\u0432':'vcy','\u0412':'Vcy','\u0433':'gcy','\u0413':'Gcy','\u0453':'gjcy','\u0403':'GJcy','\u0434':'dcy','\u0414':'Dcy','\u0452':'djcy','\u0402':'DJcy','\u0435':'iecy','\u0415':'IEcy','\u0451':'iocy','\u0401':'IOcy','\u0454':'jukcy','\u0404':'Jukcy','\u0436':'zhcy','\u0416':'ZHcy','\u0437':'zcy','\u0417':'Zcy','\u0455':'dscy','\u0405':'DScy','\u0438':'icy','\u0418':'Icy','\u0456':'iukcy','\u0406':'Iukcy','\u0457':'yicy','\u0407':'YIcy','\u0439':'jcy','\u0419':'Jcy','\u0458':'jsercy','\u0408':'Jsercy','\u043A':'kcy','\u041A':'Kcy','\u045C':'kjcy','\u040C':'KJcy','\u043B':'lcy','\u041B':'Lcy','\u0459':'ljcy','\u0409':'LJcy','\u043C':'mcy','\u041C':'Mcy','\u043D':'ncy','\u041D':'Ncy','\u045A':'njcy','\u040A':'NJcy','\u043E':'ocy','\u041E':'Ocy','\u043F':'pcy','\u041F':'Pcy','\u0440':'rcy','\u0420':'Rcy','\u0441':'scy','\u0421':'Scy','\u0442':'tcy','\u0422':'Tcy','\u045B':'tshcy','\u040B':'TSHcy','\u0443':'ucy','\u0423':'Ucy','\u045E':'ubrcy','\u040E':'Ubrcy','\u0444':'fcy','\u0424':'Fcy','\u0445':'khcy','\u0425':'KHcy','\u0446':'tscy','\u0426':'TScy','\u0447':'chcy','\u0427':'CHcy','\u045F':'dzcy','\u040F':'DZcy','\u0448':'shcy','\u0428':'SHcy','\u0449':'shchcy','\u0429':'SHCHcy','\u044A':'hardcy','\u042A':'HARDcy','\u044B':'ycy','\u042B':'Ycy','\u044C':'softcy','\u042C':'SOFTcy','\u044D':'ecy','\u042D':'Ecy','\u044E':'yucy','\u042E':'YUcy','\u044F':'yacy','\u042F':'YAcy','\u2135':'aleph','\u2136':'beth','\u2137':'gimel','\u2138':'daleth'};
+
+ var regexEscape = /["&'<>`]/g;
+ var escapeMap = {
+ '"': '"',
+ '&': '&',
+ '\'': ''',
+ '<': '<',
+ // See https://mathiasbynens.be/notes/ambiguous-ampersands: in HTML, the
+ // following is not strictly necessary unless it’s part of a tag or an
+ // unquoted attribute value. We’re only escaping it to support those
+ // situations, and for XML support.
+ '>': '>',
+ // In Internet Explorer ≤ 8, the backtick character can be used
+ // to break out of (un)quoted attribute values or HTML comments.
+ // See http://html5sec.org/#102, http://html5sec.org/#108, and
+ // http://html5sec.org/#133.
+ '`': '`'
+ };
+
+ var regexInvalidEntity = /(?:[xX][^a-fA-F0-9]|[^0-9xX])/;
+ var regexInvalidRawCodePoint = /[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
+ var regexDecode = /&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|([0-9]+)(;?)|[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g;
+ var decodeMap = {'aacute':'\xE1','Aacute':'\xC1','abreve':'\u0103','Abreve':'\u0102','ac':'\u223E','acd':'\u223F','acE':'\u223E\u0333','acirc':'\xE2','Acirc':'\xC2','acute':'\xB4','acy':'\u0430','Acy':'\u0410','aelig':'\xE6','AElig':'\xC6','af':'\u2061','afr':'\uD835\uDD1E','Afr':'\uD835\uDD04','agrave':'\xE0','Agrave':'\xC0','alefsym':'\u2135','aleph':'\u2135','alpha':'\u03B1','Alpha':'\u0391','amacr':'\u0101','Amacr':'\u0100','amalg':'\u2A3F','amp':'&','AMP':'&','and':'\u2227','And':'\u2A53','andand':'\u2A55','andd':'\u2A5C','andslope':'\u2A58','andv':'\u2A5A','ang':'\u2220','ange':'\u29A4','angle':'\u2220','angmsd':'\u2221','angmsdaa':'\u29A8','angmsdab':'\u29A9','angmsdac':'\u29AA','angmsdad':'\u29AB','angmsdae':'\u29AC','angmsdaf':'\u29AD','angmsdag':'\u29AE','angmsdah':'\u29AF','angrt':'\u221F','angrtvb':'\u22BE','angrtvbd':'\u299D','angsph':'\u2222','angst':'\xC5','angzarr':'\u237C','aogon':'\u0105','Aogon':'\u0104','aopf':'\uD835\uDD52','Aopf':'\uD835\uDD38','ap':'\u2248','apacir':'\u2A6F','ape':'\u224A','apE':'\u2A70','apid':'\u224B','apos':'\'','ApplyFunction':'\u2061','approx':'\u2248','approxeq':'\u224A','aring':'\xE5','Aring':'\xC5','ascr':'\uD835\uDCB6','Ascr':'\uD835\uDC9C','Assign':'\u2254','ast':'*','asymp':'\u2248','asympeq':'\u224D','atilde':'\xE3','Atilde':'\xC3','auml':'\xE4','Auml':'\xC4','awconint':'\u2233','awint':'\u2A11','backcong':'\u224C','backepsilon':'\u03F6','backprime':'\u2035','backsim':'\u223D','backsimeq':'\u22CD','Backslash':'\u2216','Barv':'\u2AE7','barvee':'\u22BD','barwed':'\u2305','Barwed':'\u2306','barwedge':'\u2305','bbrk':'\u23B5','bbrktbrk':'\u23B6','bcong':'\u224C','bcy':'\u0431','Bcy':'\u0411','bdquo':'\u201E','becaus':'\u2235','because':'\u2235','Because':'\u2235','bemptyv':'\u29B0','bepsi':'\u03F6','bernou':'\u212C','Bernoullis':'\u212C','beta':'\u03B2','Beta':'\u0392','beth':'\u2136','between':'\u226C','bfr':'\uD835\uDD1F','Bfr':'\uD835\uDD05','bigcap':'\u22C2','bigcirc':'\u25EF','bigcup':'\u22C3','bigodot':'\u2A00','bigoplus':'\u2A01','bigotimes':'\u2A02','bigsqcup':'\u2A06','bigstar':'\u2605','bigtriangledown':'\u25BD','bigtriangleup':'\u25B3','biguplus':'\u2A04','bigvee':'\u22C1','bigwedge':'\u22C0','bkarow':'\u290D','blacklozenge':'\u29EB','blacksquare':'\u25AA','blacktriangle':'\u25B4','blacktriangledown':'\u25BE','blacktriangleleft':'\u25C2','blacktriangleright':'\u25B8','blank':'\u2423','blk12':'\u2592','blk14':'\u2591','blk34':'\u2593','block':'\u2588','bne':'=\u20E5','bnequiv':'\u2261\u20E5','bnot':'\u2310','bNot':'\u2AED','bopf':'\uD835\uDD53','Bopf':'\uD835\uDD39','bot':'\u22A5','bottom':'\u22A5','bowtie':'\u22C8','boxbox':'\u29C9','boxdl':'\u2510','boxdL':'\u2555','boxDl':'\u2556','boxDL':'\u2557','boxdr':'\u250C','boxdR':'\u2552','boxDr':'\u2553','boxDR':'\u2554','boxh':'\u2500','boxH':'\u2550','boxhd':'\u252C','boxhD':'\u2565','boxHd':'\u2564','boxHD':'\u2566','boxhu':'\u2534','boxhU':'\u2568','boxHu':'\u2567','boxHU':'\u2569','boxminus':'\u229F','boxplus':'\u229E','boxtimes':'\u22A0','boxul':'\u2518','boxuL':'\u255B','boxUl':'\u255C','boxUL':'\u255D','boxur':'\u2514','boxuR':'\u2558','boxUr':'\u2559','boxUR':'\u255A','boxv':'\u2502','boxV':'\u2551','boxvh':'\u253C','boxvH':'\u256A','boxVh':'\u256B','boxVH':'\u256C','boxvl':'\u2524','boxvL':'\u2561','boxVl':'\u2562','boxVL':'\u2563','boxvr':'\u251C','boxvR':'\u255E','boxVr':'\u255F','boxVR':'\u2560','bprime':'\u2035','breve':'\u02D8','Breve':'\u02D8','brvbar':'\xA6','bscr':'\uD835\uDCB7','Bscr':'\u212C','bsemi':'\u204F','bsim':'\u223D','bsime':'\u22CD','bsol':'\\','bsolb':'\u29C5','bsolhsub':'\u27C8','bull':'\u2022','bullet':'\u2022','bump':'\u224E','bumpe':'\u224F','bumpE':'\u2AAE','bumpeq':'\u224F','Bumpeq':'\u224E','cacute':'\u0107','Cacute':'\u0106','cap':'\u2229','Cap':'\u22D2','capand':'\u2A44','capbrcup':'\u2A49','capcap':'\u2A4B','capcup':'\u2A47','capdot':'\u2A40','CapitalDifferentialD':'\u2145','caps':'\u2229\uFE00','caret':'\u2041','caron':'\u02C7','Cayleys':'\u212D','ccaps':'\u2A4D','ccaron':'\u010D','Ccaron':'\u010C','ccedil':'\xE7','Ccedil':'\xC7','ccirc':'\u0109','Ccirc':'\u0108','Cconint':'\u2230','ccups':'\u2A4C','ccupssm':'\u2A50','cdot':'\u010B','Cdot':'\u010A','cedil':'\xB8','Cedilla':'\xB8','cemptyv':'\u29B2','cent':'\xA2','centerdot':'\xB7','CenterDot':'\xB7','cfr':'\uD835\uDD20','Cfr':'\u212D','chcy':'\u0447','CHcy':'\u0427','check':'\u2713','checkmark':'\u2713','chi':'\u03C7','Chi':'\u03A7','cir':'\u25CB','circ':'\u02C6','circeq':'\u2257','circlearrowleft':'\u21BA','circlearrowright':'\u21BB','circledast':'\u229B','circledcirc':'\u229A','circleddash':'\u229D','CircleDot':'\u2299','circledR':'\xAE','circledS':'\u24C8','CircleMinus':'\u2296','CirclePlus':'\u2295','CircleTimes':'\u2297','cire':'\u2257','cirE':'\u29C3','cirfnint':'\u2A10','cirmid':'\u2AEF','cirscir':'\u29C2','ClockwiseContourIntegral':'\u2232','CloseCurlyDoubleQuote':'\u201D','CloseCurlyQuote':'\u2019','clubs':'\u2663','clubsuit':'\u2663','colon':':','Colon':'\u2237','colone':'\u2254','Colone':'\u2A74','coloneq':'\u2254','comma':',','commat':'@','comp':'\u2201','compfn':'\u2218','complement':'\u2201','complexes':'\u2102','cong':'\u2245','congdot':'\u2A6D','Congruent':'\u2261','conint':'\u222E','Conint':'\u222F','ContourIntegral':'\u222E','copf':'\uD835\uDD54','Copf':'\u2102','coprod':'\u2210','Coproduct':'\u2210','copy':'\xA9','COPY':'\xA9','copysr':'\u2117','CounterClockwiseContourIntegral':'\u2233','crarr':'\u21B5','cross':'\u2717','Cross':'\u2A2F','cscr':'\uD835\uDCB8','Cscr':'\uD835\uDC9E','csub':'\u2ACF','csube':'\u2AD1','csup':'\u2AD0','csupe':'\u2AD2','ctdot':'\u22EF','cudarrl':'\u2938','cudarrr':'\u2935','cuepr':'\u22DE','cuesc':'\u22DF','cularr':'\u21B6','cularrp':'\u293D','cup':'\u222A','Cup':'\u22D3','cupbrcap':'\u2A48','cupcap':'\u2A46','CupCap':'\u224D','cupcup':'\u2A4A','cupdot':'\u228D','cupor':'\u2A45','cups':'\u222A\uFE00','curarr':'\u21B7','curarrm':'\u293C','curlyeqprec':'\u22DE','curlyeqsucc':'\u22DF','curlyvee':'\u22CE','curlywedge':'\u22CF','curren':'\xA4','curvearrowleft':'\u21B6','curvearrowright':'\u21B7','cuvee':'\u22CE','cuwed':'\u22CF','cwconint':'\u2232','cwint':'\u2231','cylcty':'\u232D','dagger':'\u2020','Dagger':'\u2021','daleth':'\u2138','darr':'\u2193','dArr':'\u21D3','Darr':'\u21A1','dash':'\u2010','dashv':'\u22A3','Dashv':'\u2AE4','dbkarow':'\u290F','dblac':'\u02DD','dcaron':'\u010F','Dcaron':'\u010E','dcy':'\u0434','Dcy':'\u0414','dd':'\u2146','DD':'\u2145','ddagger':'\u2021','ddarr':'\u21CA','DDotrahd':'\u2911','ddotseq':'\u2A77','deg':'\xB0','Del':'\u2207','delta':'\u03B4','Delta':'\u0394','demptyv':'\u29B1','dfisht':'\u297F','dfr':'\uD835\uDD21','Dfr':'\uD835\uDD07','dHar':'\u2965','dharl':'\u21C3','dharr':'\u21C2','DiacriticalAcute':'\xB4','DiacriticalDot':'\u02D9','DiacriticalDoubleAcute':'\u02DD','DiacriticalGrave':'`','DiacriticalTilde':'\u02DC','diam':'\u22C4','diamond':'\u22C4','Diamond':'\u22C4','diamondsuit':'\u2666','diams':'\u2666','die':'\xA8','DifferentialD':'\u2146','digamma':'\u03DD','disin':'\u22F2','div':'\xF7','divide':'\xF7','divideontimes':'\u22C7','divonx':'\u22C7','djcy':'\u0452','DJcy':'\u0402','dlcorn':'\u231E','dlcrop':'\u230D','dollar':'$','dopf':'\uD835\uDD55','Dopf':'\uD835\uDD3B','dot':'\u02D9','Dot':'\xA8','DotDot':'\u20DC','doteq':'\u2250','doteqdot':'\u2251','DotEqual':'\u2250','dotminus':'\u2238','dotplus':'\u2214','dotsquare':'\u22A1','doublebarwedge':'\u2306','DoubleContourIntegral':'\u222F','DoubleDot':'\xA8','DoubleDownArrow':'\u21D3','DoubleLeftArrow':'\u21D0','DoubleLeftRightArrow':'\u21D4','DoubleLeftTee':'\u2AE4','DoubleLongLeftArrow':'\u27F8','DoubleLongLeftRightArrow':'\u27FA','DoubleLongRightArrow':'\u27F9','DoubleRightArrow':'\u21D2','DoubleRightTee':'\u22A8','DoubleUpArrow':'\u21D1','DoubleUpDownArrow':'\u21D5','DoubleVerticalBar':'\u2225','downarrow':'\u2193','Downarrow':'\u21D3','DownArrow':'\u2193','DownArrowBar':'\u2913','DownArrowUpArrow':'\u21F5','DownBreve':'\u0311','downdownarrows':'\u21CA','downharpoonleft':'\u21C3','downharpoonright':'\u21C2','DownLeftRightVector':'\u2950','DownLeftTeeVector':'\u295E','DownLeftVector':'\u21BD','DownLeftVectorBar':'\u2956','DownRightTeeVector':'\u295F','DownRightVector':'\u21C1','DownRightVectorBar':'\u2957','DownTee':'\u22A4','DownTeeArrow':'\u21A7','drbkarow':'\u2910','drcorn':'\u231F','drcrop':'\u230C','dscr':'\uD835\uDCB9','Dscr':'\uD835\uDC9F','dscy':'\u0455','DScy':'\u0405','dsol':'\u29F6','dstrok':'\u0111','Dstrok':'\u0110','dtdot':'\u22F1','dtri':'\u25BF','dtrif':'\u25BE','duarr':'\u21F5','duhar':'\u296F','dwangle':'\u29A6','dzcy':'\u045F','DZcy':'\u040F','dzigrarr':'\u27FF','eacute':'\xE9','Eacute':'\xC9','easter':'\u2A6E','ecaron':'\u011B','Ecaron':'\u011A','ecir':'\u2256','ecirc':'\xEA','Ecirc':'\xCA','ecolon':'\u2255','ecy':'\u044D','Ecy':'\u042D','eDDot':'\u2A77','edot':'\u0117','eDot':'\u2251','Edot':'\u0116','ee':'\u2147','efDot':'\u2252','efr':'\uD835\uDD22','Efr':'\uD835\uDD08','eg':'\u2A9A','egrave':'\xE8','Egrave':'\xC8','egs':'\u2A96','egsdot':'\u2A98','el':'\u2A99','Element':'\u2208','elinters':'\u23E7','ell':'\u2113','els':'\u2A95','elsdot':'\u2A97','emacr':'\u0113','Emacr':'\u0112','empty':'\u2205','emptyset':'\u2205','EmptySmallSquare':'\u25FB','emptyv':'\u2205','EmptyVerySmallSquare':'\u25AB','emsp':'\u2003','emsp13':'\u2004','emsp14':'\u2005','eng':'\u014B','ENG':'\u014A','ensp':'\u2002','eogon':'\u0119','Eogon':'\u0118','eopf':'\uD835\uDD56','Eopf':'\uD835\uDD3C','epar':'\u22D5','eparsl':'\u29E3','eplus':'\u2A71','epsi':'\u03B5','epsilon':'\u03B5','Epsilon':'\u0395','epsiv':'\u03F5','eqcirc':'\u2256','eqcolon':'\u2255','eqsim':'\u2242','eqslantgtr':'\u2A96','eqslantless':'\u2A95','Equal':'\u2A75','equals':'=','EqualTilde':'\u2242','equest':'\u225F','Equilibrium':'\u21CC','equiv':'\u2261','equivDD':'\u2A78','eqvparsl':'\u29E5','erarr':'\u2971','erDot':'\u2253','escr':'\u212F','Escr':'\u2130','esdot':'\u2250','esim':'\u2242','Esim':'\u2A73','eta':'\u03B7','Eta':'\u0397','eth':'\xF0','ETH':'\xD0','euml':'\xEB','Euml':'\xCB','euro':'\u20AC','excl':'!','exist':'\u2203','Exists':'\u2203','expectation':'\u2130','exponentiale':'\u2147','ExponentialE':'\u2147','fallingdotseq':'\u2252','fcy':'\u0444','Fcy':'\u0424','female':'\u2640','ffilig':'\uFB03','fflig':'\uFB00','ffllig':'\uFB04','ffr':'\uD835\uDD23','Ffr':'\uD835\uDD09','filig':'\uFB01','FilledSmallSquare':'\u25FC','FilledVerySmallSquare':'\u25AA','fjlig':'fj','flat':'\u266D','fllig':'\uFB02','fltns':'\u25B1','fnof':'\u0192','fopf':'\uD835\uDD57','Fopf':'\uD835\uDD3D','forall':'\u2200','ForAll':'\u2200','fork':'\u22D4','forkv':'\u2AD9','Fouriertrf':'\u2131','fpartint':'\u2A0D','frac12':'\xBD','frac13':'\u2153','frac14':'\xBC','frac15':'\u2155','frac16':'\u2159','frac18':'\u215B','frac23':'\u2154','frac25':'\u2156','frac34':'\xBE','frac35':'\u2157','frac38':'\u215C','frac45':'\u2158','frac56':'\u215A','frac58':'\u215D','frac78':'\u215E','frasl':'\u2044','frown':'\u2322','fscr':'\uD835\uDCBB','Fscr':'\u2131','gacute':'\u01F5','gamma':'\u03B3','Gamma':'\u0393','gammad':'\u03DD','Gammad':'\u03DC','gap':'\u2A86','gbreve':'\u011F','Gbreve':'\u011E','Gcedil':'\u0122','gcirc':'\u011D','Gcirc':'\u011C','gcy':'\u0433','Gcy':'\u0413','gdot':'\u0121','Gdot':'\u0120','ge':'\u2265','gE':'\u2267','gel':'\u22DB','gEl':'\u2A8C','geq':'\u2265','geqq':'\u2267','geqslant':'\u2A7E','ges':'\u2A7E','gescc':'\u2AA9','gesdot':'\u2A80','gesdoto':'\u2A82','gesdotol':'\u2A84','gesl':'\u22DB\uFE00','gesles':'\u2A94','gfr':'\uD835\uDD24','Gfr':'\uD835\uDD0A','gg':'\u226B','Gg':'\u22D9','ggg':'\u22D9','gimel':'\u2137','gjcy':'\u0453','GJcy':'\u0403','gl':'\u2277','gla':'\u2AA5','glE':'\u2A92','glj':'\u2AA4','gnap':'\u2A8A','gnapprox':'\u2A8A','gne':'\u2A88','gnE':'\u2269','gneq':'\u2A88','gneqq':'\u2269','gnsim':'\u22E7','gopf':'\uD835\uDD58','Gopf':'\uD835\uDD3E','grave':'`','GreaterEqual':'\u2265','GreaterEqualLess':'\u22DB','GreaterFullEqual':'\u2267','GreaterGreater':'\u2AA2','GreaterLess':'\u2277','GreaterSlantEqual':'\u2A7E','GreaterTilde':'\u2273','gscr':'\u210A','Gscr':'\uD835\uDCA2','gsim':'\u2273','gsime':'\u2A8E','gsiml':'\u2A90','gt':'>','Gt':'\u226B','GT':'>','gtcc':'\u2AA7','gtcir':'\u2A7A','gtdot':'\u22D7','gtlPar':'\u2995','gtquest':'\u2A7C','gtrapprox':'\u2A86','gtrarr':'\u2978','gtrdot':'\u22D7','gtreqless':'\u22DB','gtreqqless':'\u2A8C','gtrless':'\u2277','gtrsim':'\u2273','gvertneqq':'\u2269\uFE00','gvnE':'\u2269\uFE00','Hacek':'\u02C7','hairsp':'\u200A','half':'\xBD','hamilt':'\u210B','hardcy':'\u044A','HARDcy':'\u042A','harr':'\u2194','hArr':'\u21D4','harrcir':'\u2948','harrw':'\u21AD','Hat':'^','hbar':'\u210F','hcirc':'\u0125','Hcirc':'\u0124','hearts':'\u2665','heartsuit':'\u2665','hellip':'\u2026','hercon':'\u22B9','hfr':'\uD835\uDD25','Hfr':'\u210C','HilbertSpace':'\u210B','hksearow':'\u2925','hkswarow':'\u2926','hoarr':'\u21FF','homtht':'\u223B','hookleftarrow':'\u21A9','hookrightarrow':'\u21AA','hopf':'\uD835\uDD59','Hopf':'\u210D','horbar':'\u2015','HorizontalLine':'\u2500','hscr':'\uD835\uDCBD','Hscr':'\u210B','hslash':'\u210F','hstrok':'\u0127','Hstrok':'\u0126','HumpDownHump':'\u224E','HumpEqual':'\u224F','hybull':'\u2043','hyphen':'\u2010','iacute':'\xED','Iacute':'\xCD','ic':'\u2063','icirc':'\xEE','Icirc':'\xCE','icy':'\u0438','Icy':'\u0418','Idot':'\u0130','iecy':'\u0435','IEcy':'\u0415','iexcl':'\xA1','iff':'\u21D4','ifr':'\uD835\uDD26','Ifr':'\u2111','igrave':'\xEC','Igrave':'\xCC','ii':'\u2148','iiiint':'\u2A0C','iiint':'\u222D','iinfin':'\u29DC','iiota':'\u2129','ijlig':'\u0133','IJlig':'\u0132','Im':'\u2111','imacr':'\u012B','Imacr':'\u012A','image':'\u2111','ImaginaryI':'\u2148','imagline':'\u2110','imagpart':'\u2111','imath':'\u0131','imof':'\u22B7','imped':'\u01B5','Implies':'\u21D2','in':'\u2208','incare':'\u2105','infin':'\u221E','infintie':'\u29DD','inodot':'\u0131','int':'\u222B','Int':'\u222C','intcal':'\u22BA','integers':'\u2124','Integral':'\u222B','intercal':'\u22BA','Intersection':'\u22C2','intlarhk':'\u2A17','intprod':'\u2A3C','InvisibleComma':'\u2063','InvisibleTimes':'\u2062','iocy':'\u0451','IOcy':'\u0401','iogon':'\u012F','Iogon':'\u012E','iopf':'\uD835\uDD5A','Iopf':'\uD835\uDD40','iota':'\u03B9','Iota':'\u0399','iprod':'\u2A3C','iquest':'\xBF','iscr':'\uD835\uDCBE','Iscr':'\u2110','isin':'\u2208','isindot':'\u22F5','isinE':'\u22F9','isins':'\u22F4','isinsv':'\u22F3','isinv':'\u2208','it':'\u2062','itilde':'\u0129','Itilde':'\u0128','iukcy':'\u0456','Iukcy':'\u0406','iuml':'\xEF','Iuml':'\xCF','jcirc':'\u0135','Jcirc':'\u0134','jcy':'\u0439','Jcy':'\u0419','jfr':'\uD835\uDD27','Jfr':'\uD835\uDD0D','jmath':'\u0237','jopf':'\uD835\uDD5B','Jopf':'\uD835\uDD41','jscr':'\uD835\uDCBF','Jscr':'\uD835\uDCA5','jsercy':'\u0458','Jsercy':'\u0408','jukcy':'\u0454','Jukcy':'\u0404','kappa':'\u03BA','Kappa':'\u039A','kappav':'\u03F0','kcedil':'\u0137','Kcedil':'\u0136','kcy':'\u043A','Kcy':'\u041A','kfr':'\uD835\uDD28','Kfr':'\uD835\uDD0E','kgreen':'\u0138','khcy':'\u0445','KHcy':'\u0425','kjcy':'\u045C','KJcy':'\u040C','kopf':'\uD835\uDD5C','Kopf':'\uD835\uDD42','kscr':'\uD835\uDCC0','Kscr':'\uD835\uDCA6','lAarr':'\u21DA','lacute':'\u013A','Lacute':'\u0139','laemptyv':'\u29B4','lagran':'\u2112','lambda':'\u03BB','Lambda':'\u039B','lang':'\u27E8','Lang':'\u27EA','langd':'\u2991','langle':'\u27E8','lap':'\u2A85','Laplacetrf':'\u2112','laquo':'\xAB','larr':'\u2190','lArr':'\u21D0','Larr':'\u219E','larrb':'\u21E4','larrbfs':'\u291F','larrfs':'\u291D','larrhk':'\u21A9','larrlp':'\u21AB','larrpl':'\u2939','larrsim':'\u2973','larrtl':'\u21A2','lat':'\u2AAB','latail':'\u2919','lAtail':'\u291B','late':'\u2AAD','lates':'\u2AAD\uFE00','lbarr':'\u290C','lBarr':'\u290E','lbbrk':'\u2772','lbrace':'{','lbrack':'[','lbrke':'\u298B','lbrksld':'\u298F','lbrkslu':'\u298D','lcaron':'\u013E','Lcaron':'\u013D','lcedil':'\u013C','Lcedil':'\u013B','lceil':'\u2308','lcub':'{','lcy':'\u043B','Lcy':'\u041B','ldca':'\u2936','ldquo':'\u201C','ldquor':'\u201E','ldrdhar':'\u2967','ldrushar':'\u294B','ldsh':'\u21B2','le':'\u2264','lE':'\u2266','LeftAngleBracket':'\u27E8','leftarrow':'\u2190','Leftarrow':'\u21D0','LeftArrow':'\u2190','LeftArrowBar':'\u21E4','LeftArrowRightArrow':'\u21C6','leftarrowtail':'\u21A2','LeftCeiling':'\u2308','LeftDoubleBracket':'\u27E6','LeftDownTeeVector':'\u2961','LeftDownVector':'\u21C3','LeftDownVectorBar':'\u2959','LeftFloor':'\u230A','leftharpoondown':'\u21BD','leftharpoonup':'\u21BC','leftleftarrows':'\u21C7','leftrightarrow':'\u2194','Leftrightarrow':'\u21D4','LeftRightArrow':'\u2194','leftrightarrows':'\u21C6','leftrightharpoons':'\u21CB','leftrightsquigarrow':'\u21AD','LeftRightVector':'\u294E','LeftTee':'\u22A3','LeftTeeArrow':'\u21A4','LeftTeeVector':'\u295A','leftthreetimes':'\u22CB','LeftTriangle':'\u22B2','LeftTriangleBar':'\u29CF','LeftTriangleEqual':'\u22B4','LeftUpDownVector':'\u2951','LeftUpTeeVector':'\u2960','LeftUpVector':'\u21BF','LeftUpVectorBar':'\u2958','LeftVector':'\u21BC','LeftVectorBar':'\u2952','leg':'\u22DA','lEg':'\u2A8B','leq':'\u2264','leqq':'\u2266','leqslant':'\u2A7D','les':'\u2A7D','lescc':'\u2AA8','lesdot':'\u2A7F','lesdoto':'\u2A81','lesdotor':'\u2A83','lesg':'\u22DA\uFE00','lesges':'\u2A93','lessapprox':'\u2A85','lessdot':'\u22D6','lesseqgtr':'\u22DA','lesseqqgtr':'\u2A8B','LessEqualGreater':'\u22DA','LessFullEqual':'\u2266','LessGreater':'\u2276','lessgtr':'\u2276','LessLess':'\u2AA1','lesssim':'\u2272','LessSlantEqual':'\u2A7D','LessTilde':'\u2272','lfisht':'\u297C','lfloor':'\u230A','lfr':'\uD835\uDD29','Lfr':'\uD835\uDD0F','lg':'\u2276','lgE':'\u2A91','lHar':'\u2962','lhard':'\u21BD','lharu':'\u21BC','lharul':'\u296A','lhblk':'\u2584','ljcy':'\u0459','LJcy':'\u0409','ll':'\u226A','Ll':'\u22D8','llarr':'\u21C7','llcorner':'\u231E','Lleftarrow':'\u21DA','llhard':'\u296B','lltri':'\u25FA','lmidot':'\u0140','Lmidot':'\u013F','lmoust':'\u23B0','lmoustache':'\u23B0','lnap':'\u2A89','lnapprox':'\u2A89','lne':'\u2A87','lnE':'\u2268','lneq':'\u2A87','lneqq':'\u2268','lnsim':'\u22E6','loang':'\u27EC','loarr':'\u21FD','lobrk':'\u27E6','longleftarrow':'\u27F5','Longleftarrow':'\u27F8','LongLeftArrow':'\u27F5','longleftrightarrow':'\u27F7','Longleftrightarrow':'\u27FA','LongLeftRightArrow':'\u27F7','longmapsto':'\u27FC','longrightarrow':'\u27F6','Longrightarrow':'\u27F9','LongRightArrow':'\u27F6','looparrowleft':'\u21AB','looparrowright':'\u21AC','lopar':'\u2985','lopf':'\uD835\uDD5D','Lopf':'\uD835\uDD43','loplus':'\u2A2D','lotimes':'\u2A34','lowast':'\u2217','lowbar':'_','LowerLeftArrow':'\u2199','LowerRightArrow':'\u2198','loz':'\u25CA','lozenge':'\u25CA','lozf':'\u29EB','lpar':'(','lparlt':'\u2993','lrarr':'\u21C6','lrcorner':'\u231F','lrhar':'\u21CB','lrhard':'\u296D','lrm':'\u200E','lrtri':'\u22BF','lsaquo':'\u2039','lscr':'\uD835\uDCC1','Lscr':'\u2112','lsh':'\u21B0','Lsh':'\u21B0','lsim':'\u2272','lsime':'\u2A8D','lsimg':'\u2A8F','lsqb':'[','lsquo':'\u2018','lsquor':'\u201A','lstrok':'\u0142','Lstrok':'\u0141','lt':'<','Lt':'\u226A','LT':'<','ltcc':'\u2AA6','ltcir':'\u2A79','ltdot':'\u22D6','lthree':'\u22CB','ltimes':'\u22C9','ltlarr':'\u2976','ltquest':'\u2A7B','ltri':'\u25C3','ltrie':'\u22B4','ltrif':'\u25C2','ltrPar':'\u2996','lurdshar':'\u294A','luruhar':'\u2966','lvertneqq':'\u2268\uFE00','lvnE':'\u2268\uFE00','macr':'\xAF','male':'\u2642','malt':'\u2720','maltese':'\u2720','map':'\u21A6','Map':'\u2905','mapsto':'\u21A6','mapstodown':'\u21A7','mapstoleft':'\u21A4','mapstoup':'\u21A5','marker':'\u25AE','mcomma':'\u2A29','mcy':'\u043C','Mcy':'\u041C','mdash':'\u2014','mDDot':'\u223A','measuredangle':'\u2221','MediumSpace':'\u205F','Mellintrf':'\u2133','mfr':'\uD835\uDD2A','Mfr':'\uD835\uDD10','mho':'\u2127','micro':'\xB5','mid':'\u2223','midast':'*','midcir':'\u2AF0','middot':'\xB7','minus':'\u2212','minusb':'\u229F','minusd':'\u2238','minusdu':'\u2A2A','MinusPlus':'\u2213','mlcp':'\u2ADB','mldr':'\u2026','mnplus':'\u2213','models':'\u22A7','mopf':'\uD835\uDD5E','Mopf':'\uD835\uDD44','mp':'\u2213','mscr':'\uD835\uDCC2','Mscr':'\u2133','mstpos':'\u223E','mu':'\u03BC','Mu':'\u039C','multimap':'\u22B8','mumap':'\u22B8','nabla':'\u2207','nacute':'\u0144','Nacute':'\u0143','nang':'\u2220\u20D2','nap':'\u2249','napE':'\u2A70\u0338','napid':'\u224B\u0338','napos':'\u0149','napprox':'\u2249','natur':'\u266E','natural':'\u266E','naturals':'\u2115','nbsp':'\xA0','nbump':'\u224E\u0338','nbumpe':'\u224F\u0338','ncap':'\u2A43','ncaron':'\u0148','Ncaron':'\u0147','ncedil':'\u0146','Ncedil':'\u0145','ncong':'\u2247','ncongdot':'\u2A6D\u0338','ncup':'\u2A42','ncy':'\u043D','Ncy':'\u041D','ndash':'\u2013','ne':'\u2260','nearhk':'\u2924','nearr':'\u2197','neArr':'\u21D7','nearrow':'\u2197','nedot':'\u2250\u0338','NegativeMediumSpace':'\u200B','NegativeThickSpace':'\u200B','NegativeThinSpace':'\u200B','NegativeVeryThinSpace':'\u200B','nequiv':'\u2262','nesear':'\u2928','nesim':'\u2242\u0338','NestedGreaterGreater':'\u226B','NestedLessLess':'\u226A','NewLine':'\n','nexist':'\u2204','nexists':'\u2204','nfr':'\uD835\uDD2B','Nfr':'\uD835\uDD11','nge':'\u2271','ngE':'\u2267\u0338','ngeq':'\u2271','ngeqq':'\u2267\u0338','ngeqslant':'\u2A7E\u0338','nges':'\u2A7E\u0338','nGg':'\u22D9\u0338','ngsim':'\u2275','ngt':'\u226F','nGt':'\u226B\u20D2','ngtr':'\u226F','nGtv':'\u226B\u0338','nharr':'\u21AE','nhArr':'\u21CE','nhpar':'\u2AF2','ni':'\u220B','nis':'\u22FC','nisd':'\u22FA','niv':'\u220B','njcy':'\u045A','NJcy':'\u040A','nlarr':'\u219A','nlArr':'\u21CD','nldr':'\u2025','nle':'\u2270','nlE':'\u2266\u0338','nleftarrow':'\u219A','nLeftarrow':'\u21CD','nleftrightarrow':'\u21AE','nLeftrightarrow':'\u21CE','nleq':'\u2270','nleqq':'\u2266\u0338','nleqslant':'\u2A7D\u0338','nles':'\u2A7D\u0338','nless':'\u226E','nLl':'\u22D8\u0338','nlsim':'\u2274','nlt':'\u226E','nLt':'\u226A\u20D2','nltri':'\u22EA','nltrie':'\u22EC','nLtv':'\u226A\u0338','nmid':'\u2224','NoBreak':'\u2060','NonBreakingSpace':'\xA0','nopf':'\uD835\uDD5F','Nopf':'\u2115','not':'\xAC','Not':'\u2AEC','NotCongruent':'\u2262','NotCupCap':'\u226D','NotDoubleVerticalBar':'\u2226','NotElement':'\u2209','NotEqual':'\u2260','NotEqualTilde':'\u2242\u0338','NotExists':'\u2204','NotGreater':'\u226F','NotGreaterEqual':'\u2271','NotGreaterFullEqual':'\u2267\u0338','NotGreaterGreater':'\u226B\u0338','NotGreaterLess':'\u2279','NotGreaterSlantEqual':'\u2A7E\u0338','NotGreaterTilde':'\u2275','NotHumpDownHump':'\u224E\u0338','NotHumpEqual':'\u224F\u0338','notin':'\u2209','notindot':'\u22F5\u0338','notinE':'\u22F9\u0338','notinva':'\u2209','notinvb':'\u22F7','notinvc':'\u22F6','NotLeftTriangle':'\u22EA','NotLeftTriangleBar':'\u29CF\u0338','NotLeftTriangleEqual':'\u22EC','NotLess':'\u226E','NotLessEqual':'\u2270','NotLessGreater':'\u2278','NotLessLess':'\u226A\u0338','NotLessSlantEqual':'\u2A7D\u0338','NotLessTilde':'\u2274','NotNestedGreaterGreater':'\u2AA2\u0338','NotNestedLessLess':'\u2AA1\u0338','notni':'\u220C','notniva':'\u220C','notnivb':'\u22FE','notnivc':'\u22FD','NotPrecedes':'\u2280','NotPrecedesEqual':'\u2AAF\u0338','NotPrecedesSlantEqual':'\u22E0','NotReverseElement':'\u220C','NotRightTriangle':'\u22EB','NotRightTriangleBar':'\u29D0\u0338','NotRightTriangleEqual':'\u22ED','NotSquareSubset':'\u228F\u0338','NotSquareSubsetEqual':'\u22E2','NotSquareSuperset':'\u2290\u0338','NotSquareSupersetEqual':'\u22E3','NotSubset':'\u2282\u20D2','NotSubsetEqual':'\u2288','NotSucceeds':'\u2281','NotSucceedsEqual':'\u2AB0\u0338','NotSucceedsSlantEqual':'\u22E1','NotSucceedsTilde':'\u227F\u0338','NotSuperset':'\u2283\u20D2','NotSupersetEqual':'\u2289','NotTilde':'\u2241','NotTildeEqual':'\u2244','NotTildeFullEqual':'\u2247','NotTildeTilde':'\u2249','NotVerticalBar':'\u2224','npar':'\u2226','nparallel':'\u2226','nparsl':'\u2AFD\u20E5','npart':'\u2202\u0338','npolint':'\u2A14','npr':'\u2280','nprcue':'\u22E0','npre':'\u2AAF\u0338','nprec':'\u2280','npreceq':'\u2AAF\u0338','nrarr':'\u219B','nrArr':'\u21CF','nrarrc':'\u2933\u0338','nrarrw':'\u219D\u0338','nrightarrow':'\u219B','nRightarrow':'\u21CF','nrtri':'\u22EB','nrtrie':'\u22ED','nsc':'\u2281','nsccue':'\u22E1','nsce':'\u2AB0\u0338','nscr':'\uD835\uDCC3','Nscr':'\uD835\uDCA9','nshortmid':'\u2224','nshortparallel':'\u2226','nsim':'\u2241','nsime':'\u2244','nsimeq':'\u2244','nsmid':'\u2224','nspar':'\u2226','nsqsube':'\u22E2','nsqsupe':'\u22E3','nsub':'\u2284','nsube':'\u2288','nsubE':'\u2AC5\u0338','nsubset':'\u2282\u20D2','nsubseteq':'\u2288','nsubseteqq':'\u2AC5\u0338','nsucc':'\u2281','nsucceq':'\u2AB0\u0338','nsup':'\u2285','nsupe':'\u2289','nsupE':'\u2AC6\u0338','nsupset':'\u2283\u20D2','nsupseteq':'\u2289','nsupseteqq':'\u2AC6\u0338','ntgl':'\u2279','ntilde':'\xF1','Ntilde':'\xD1','ntlg':'\u2278','ntriangleleft':'\u22EA','ntrianglelefteq':'\u22EC','ntriangleright':'\u22EB','ntrianglerighteq':'\u22ED','nu':'\u03BD','Nu':'\u039D','num':'#','numero':'\u2116','numsp':'\u2007','nvap':'\u224D\u20D2','nvdash':'\u22AC','nvDash':'\u22AD','nVdash':'\u22AE','nVDash':'\u22AF','nvge':'\u2265\u20D2','nvgt':'>\u20D2','nvHarr':'\u2904','nvinfin':'\u29DE','nvlArr':'\u2902','nvle':'\u2264\u20D2','nvlt':'<\u20D2','nvltrie':'\u22B4\u20D2','nvrArr':'\u2903','nvrtrie':'\u22B5\u20D2','nvsim':'\u223C\u20D2','nwarhk':'\u2923','nwarr':'\u2196','nwArr':'\u21D6','nwarrow':'\u2196','nwnear':'\u2927','oacute':'\xF3','Oacute':'\xD3','oast':'\u229B','ocir':'\u229A','ocirc':'\xF4','Ocirc':'\xD4','ocy':'\u043E','Ocy':'\u041E','odash':'\u229D','odblac':'\u0151','Odblac':'\u0150','odiv':'\u2A38','odot':'\u2299','odsold':'\u29BC','oelig':'\u0153','OElig':'\u0152','ofcir':'\u29BF','ofr':'\uD835\uDD2C','Ofr':'\uD835\uDD12','ogon':'\u02DB','ograve':'\xF2','Ograve':'\xD2','ogt':'\u29C1','ohbar':'\u29B5','ohm':'\u03A9','oint':'\u222E','olarr':'\u21BA','olcir':'\u29BE','olcross':'\u29BB','oline':'\u203E','olt':'\u29C0','omacr':'\u014D','Omacr':'\u014C','omega':'\u03C9','Omega':'\u03A9','omicron':'\u03BF','Omicron':'\u039F','omid':'\u29B6','ominus':'\u2296','oopf':'\uD835\uDD60','Oopf':'\uD835\uDD46','opar':'\u29B7','OpenCurlyDoubleQuote':'\u201C','OpenCurlyQuote':'\u2018','operp':'\u29B9','oplus':'\u2295','or':'\u2228','Or':'\u2A54','orarr':'\u21BB','ord':'\u2A5D','order':'\u2134','orderof':'\u2134','ordf':'\xAA','ordm':'\xBA','origof':'\u22B6','oror':'\u2A56','orslope':'\u2A57','orv':'\u2A5B','oS':'\u24C8','oscr':'\u2134','Oscr':'\uD835\uDCAA','oslash':'\xF8','Oslash':'\xD8','osol':'\u2298','otilde':'\xF5','Otilde':'\xD5','otimes':'\u2297','Otimes':'\u2A37','otimesas':'\u2A36','ouml':'\xF6','Ouml':'\xD6','ovbar':'\u233D','OverBar':'\u203E','OverBrace':'\u23DE','OverBracket':'\u23B4','OverParenthesis':'\u23DC','par':'\u2225','para':'\xB6','parallel':'\u2225','parsim':'\u2AF3','parsl':'\u2AFD','part':'\u2202','PartialD':'\u2202','pcy':'\u043F','Pcy':'\u041F','percnt':'%','period':'.','permil':'\u2030','perp':'\u22A5','pertenk':'\u2031','pfr':'\uD835\uDD2D','Pfr':'\uD835\uDD13','phi':'\u03C6','Phi':'\u03A6','phiv':'\u03D5','phmmat':'\u2133','phone':'\u260E','pi':'\u03C0','Pi':'\u03A0','pitchfork':'\u22D4','piv':'\u03D6','planck':'\u210F','planckh':'\u210E','plankv':'\u210F','plus':'+','plusacir':'\u2A23','plusb':'\u229E','pluscir':'\u2A22','plusdo':'\u2214','plusdu':'\u2A25','pluse':'\u2A72','PlusMinus':'\xB1','plusmn':'\xB1','plussim':'\u2A26','plustwo':'\u2A27','pm':'\xB1','Poincareplane':'\u210C','pointint':'\u2A15','popf':'\uD835\uDD61','Popf':'\u2119','pound':'\xA3','pr':'\u227A','Pr':'\u2ABB','prap':'\u2AB7','prcue':'\u227C','pre':'\u2AAF','prE':'\u2AB3','prec':'\u227A','precapprox':'\u2AB7','preccurlyeq':'\u227C','Precedes':'\u227A','PrecedesEqual':'\u2AAF','PrecedesSlantEqual':'\u227C','PrecedesTilde':'\u227E','preceq':'\u2AAF','precnapprox':'\u2AB9','precneqq':'\u2AB5','precnsim':'\u22E8','precsim':'\u227E','prime':'\u2032','Prime':'\u2033','primes':'\u2119','prnap':'\u2AB9','prnE':'\u2AB5','prnsim':'\u22E8','prod':'\u220F','Product':'\u220F','profalar':'\u232E','profline':'\u2312','profsurf':'\u2313','prop':'\u221D','Proportion':'\u2237','Proportional':'\u221D','propto':'\u221D','prsim':'\u227E','prurel':'\u22B0','pscr':'\uD835\uDCC5','Pscr':'\uD835\uDCAB','psi':'\u03C8','Psi':'\u03A8','puncsp':'\u2008','qfr':'\uD835\uDD2E','Qfr':'\uD835\uDD14','qint':'\u2A0C','qopf':'\uD835\uDD62','Qopf':'\u211A','qprime':'\u2057','qscr':'\uD835\uDCC6','Qscr':'\uD835\uDCAC','quaternions':'\u210D','quatint':'\u2A16','quest':'?','questeq':'\u225F','quot':'"','QUOT':'"','rAarr':'\u21DB','race':'\u223D\u0331','racute':'\u0155','Racute':'\u0154','radic':'\u221A','raemptyv':'\u29B3','rang':'\u27E9','Rang':'\u27EB','rangd':'\u2992','range':'\u29A5','rangle':'\u27E9','raquo':'\xBB','rarr':'\u2192','rArr':'\u21D2','Rarr':'\u21A0','rarrap':'\u2975','rarrb':'\u21E5','rarrbfs':'\u2920','rarrc':'\u2933','rarrfs':'\u291E','rarrhk':'\u21AA','rarrlp':'\u21AC','rarrpl':'\u2945','rarrsim':'\u2974','rarrtl':'\u21A3','Rarrtl':'\u2916','rarrw':'\u219D','ratail':'\u291A','rAtail':'\u291C','ratio':'\u2236','rationals':'\u211A','rbarr':'\u290D','rBarr':'\u290F','RBarr':'\u2910','rbbrk':'\u2773','rbrace':'}','rbrack':']','rbrke':'\u298C','rbrksld':'\u298E','rbrkslu':'\u2990','rcaron':'\u0159','Rcaron':'\u0158','rcedil':'\u0157','Rcedil':'\u0156','rceil':'\u2309','rcub':'}','rcy':'\u0440','Rcy':'\u0420','rdca':'\u2937','rdldhar':'\u2969','rdquo':'\u201D','rdquor':'\u201D','rdsh':'\u21B3','Re':'\u211C','real':'\u211C','realine':'\u211B','realpart':'\u211C','reals':'\u211D','rect':'\u25AD','reg':'\xAE','REG':'\xAE','ReverseElement':'\u220B','ReverseEquilibrium':'\u21CB','ReverseUpEquilibrium':'\u296F','rfisht':'\u297D','rfloor':'\u230B','rfr':'\uD835\uDD2F','Rfr':'\u211C','rHar':'\u2964','rhard':'\u21C1','rharu':'\u21C0','rharul':'\u296C','rho':'\u03C1','Rho':'\u03A1','rhov':'\u03F1','RightAngleBracket':'\u27E9','rightarrow':'\u2192','Rightarrow':'\u21D2','RightArrow':'\u2192','RightArrowBar':'\u21E5','RightArrowLeftArrow':'\u21C4','rightarrowtail':'\u21A3','RightCeiling':'\u2309','RightDoubleBracket':'\u27E7','RightDownTeeVector':'\u295D','RightDownVector':'\u21C2','RightDownVectorBar':'\u2955','RightFloor':'\u230B','rightharpoondown':'\u21C1','rightharpoonup':'\u21C0','rightleftarrows':'\u21C4','rightleftharpoons':'\u21CC','rightrightarrows':'\u21C9','rightsquigarrow':'\u219D','RightTee':'\u22A2','RightTeeArrow':'\u21A6','RightTeeVector':'\u295B','rightthreetimes':'\u22CC','RightTriangle':'\u22B3','RightTriangleBar':'\u29D0','RightTriangleEqual':'\u22B5','RightUpDownVector':'\u294F','RightUpTeeVector':'\u295C','RightUpVector':'\u21BE','RightUpVectorBar':'\u2954','RightVector':'\u21C0','RightVectorBar':'\u2953','ring':'\u02DA','risingdotseq':'\u2253','rlarr':'\u21C4','rlhar':'\u21CC','rlm':'\u200F','rmoust':'\u23B1','rmoustache':'\u23B1','rnmid':'\u2AEE','roang':'\u27ED','roarr':'\u21FE','robrk':'\u27E7','ropar':'\u2986','ropf':'\uD835\uDD63','Ropf':'\u211D','roplus':'\u2A2E','rotimes':'\u2A35','RoundImplies':'\u2970','rpar':')','rpargt':'\u2994','rppolint':'\u2A12','rrarr':'\u21C9','Rrightarrow':'\u21DB','rsaquo':'\u203A','rscr':'\uD835\uDCC7','Rscr':'\u211B','rsh':'\u21B1','Rsh':'\u21B1','rsqb':']','rsquo':'\u2019','rsquor':'\u2019','rthree':'\u22CC','rtimes':'\u22CA','rtri':'\u25B9','rtrie':'\u22B5','rtrif':'\u25B8','rtriltri':'\u29CE','RuleDelayed':'\u29F4','ruluhar':'\u2968','rx':'\u211E','sacute':'\u015B','Sacute':'\u015A','sbquo':'\u201A','sc':'\u227B','Sc':'\u2ABC','scap':'\u2AB8','scaron':'\u0161','Scaron':'\u0160','sccue':'\u227D','sce':'\u2AB0','scE':'\u2AB4','scedil':'\u015F','Scedil':'\u015E','scirc':'\u015D','Scirc':'\u015C','scnap':'\u2ABA','scnE':'\u2AB6','scnsim':'\u22E9','scpolint':'\u2A13','scsim':'\u227F','scy':'\u0441','Scy':'\u0421','sdot':'\u22C5','sdotb':'\u22A1','sdote':'\u2A66','searhk':'\u2925','searr':'\u2198','seArr':'\u21D8','searrow':'\u2198','sect':'\xA7','semi':';','seswar':'\u2929','setminus':'\u2216','setmn':'\u2216','sext':'\u2736','sfr':'\uD835\uDD30','Sfr':'\uD835\uDD16','sfrown':'\u2322','sharp':'\u266F','shchcy':'\u0449','SHCHcy':'\u0429','shcy':'\u0448','SHcy':'\u0428','ShortDownArrow':'\u2193','ShortLeftArrow':'\u2190','shortmid':'\u2223','shortparallel':'\u2225','ShortRightArrow':'\u2192','ShortUpArrow':'\u2191','shy':'\xAD','sigma':'\u03C3','Sigma':'\u03A3','sigmaf':'\u03C2','sigmav':'\u03C2','sim':'\u223C','simdot':'\u2A6A','sime':'\u2243','simeq':'\u2243','simg':'\u2A9E','simgE':'\u2AA0','siml':'\u2A9D','simlE':'\u2A9F','simne':'\u2246','simplus':'\u2A24','simrarr':'\u2972','slarr':'\u2190','SmallCircle':'\u2218','smallsetminus':'\u2216','smashp':'\u2A33','smeparsl':'\u29E4','smid':'\u2223','smile':'\u2323','smt':'\u2AAA','smte':'\u2AAC','smtes':'\u2AAC\uFE00','softcy':'\u044C','SOFTcy':'\u042C','sol':'/','solb':'\u29C4','solbar':'\u233F','sopf':'\uD835\uDD64','Sopf':'\uD835\uDD4A','spades':'\u2660','spadesuit':'\u2660','spar':'\u2225','sqcap':'\u2293','sqcaps':'\u2293\uFE00','sqcup':'\u2294','sqcups':'\u2294\uFE00','Sqrt':'\u221A','sqsub':'\u228F','sqsube':'\u2291','sqsubset':'\u228F','sqsubseteq':'\u2291','sqsup':'\u2290','sqsupe':'\u2292','sqsupset':'\u2290','sqsupseteq':'\u2292','squ':'\u25A1','square':'\u25A1','Square':'\u25A1','SquareIntersection':'\u2293','SquareSubset':'\u228F','SquareSubsetEqual':'\u2291','SquareSuperset':'\u2290','SquareSupersetEqual':'\u2292','SquareUnion':'\u2294','squarf':'\u25AA','squf':'\u25AA','srarr':'\u2192','sscr':'\uD835\uDCC8','Sscr':'\uD835\uDCAE','ssetmn':'\u2216','ssmile':'\u2323','sstarf':'\u22C6','star':'\u2606','Star':'\u22C6','starf':'\u2605','straightepsilon':'\u03F5','straightphi':'\u03D5','strns':'\xAF','sub':'\u2282','Sub':'\u22D0','subdot':'\u2ABD','sube':'\u2286','subE':'\u2AC5','subedot':'\u2AC3','submult':'\u2AC1','subne':'\u228A','subnE':'\u2ACB','subplus':'\u2ABF','subrarr':'\u2979','subset':'\u2282','Subset':'\u22D0','subseteq':'\u2286','subseteqq':'\u2AC5','SubsetEqual':'\u2286','subsetneq':'\u228A','subsetneqq':'\u2ACB','subsim':'\u2AC7','subsub':'\u2AD5','subsup':'\u2AD3','succ':'\u227B','succapprox':'\u2AB8','succcurlyeq':'\u227D','Succeeds':'\u227B','SucceedsEqual':'\u2AB0','SucceedsSlantEqual':'\u227D','SucceedsTilde':'\u227F','succeq':'\u2AB0','succnapprox':'\u2ABA','succneqq':'\u2AB6','succnsim':'\u22E9','succsim':'\u227F','SuchThat':'\u220B','sum':'\u2211','Sum':'\u2211','sung':'\u266A','sup':'\u2283','Sup':'\u22D1','sup1':'\xB9','sup2':'\xB2','sup3':'\xB3','supdot':'\u2ABE','supdsub':'\u2AD8','supe':'\u2287','supE':'\u2AC6','supedot':'\u2AC4','Superset':'\u2283','SupersetEqual':'\u2287','suphsol':'\u27C9','suphsub':'\u2AD7','suplarr':'\u297B','supmult':'\u2AC2','supne':'\u228B','supnE':'\u2ACC','supplus':'\u2AC0','supset':'\u2283','Supset':'\u22D1','supseteq':'\u2287','supseteqq':'\u2AC6','supsetneq':'\u228B','supsetneqq':'\u2ACC','supsim':'\u2AC8','supsub':'\u2AD4','supsup':'\u2AD6','swarhk':'\u2926','swarr':'\u2199','swArr':'\u21D9','swarrow':'\u2199','swnwar':'\u292A','szlig':'\xDF','Tab':'\t','target':'\u2316','tau':'\u03C4','Tau':'\u03A4','tbrk':'\u23B4','tcaron':'\u0165','Tcaron':'\u0164','tcedil':'\u0163','Tcedil':'\u0162','tcy':'\u0442','Tcy':'\u0422','tdot':'\u20DB','telrec':'\u2315','tfr':'\uD835\uDD31','Tfr':'\uD835\uDD17','there4':'\u2234','therefore':'\u2234','Therefore':'\u2234','theta':'\u03B8','Theta':'\u0398','thetasym':'\u03D1','thetav':'\u03D1','thickapprox':'\u2248','thicksim':'\u223C','ThickSpace':'\u205F\u200A','thinsp':'\u2009','ThinSpace':'\u2009','thkap':'\u2248','thksim':'\u223C','thorn':'\xFE','THORN':'\xDE','tilde':'\u02DC','Tilde':'\u223C','TildeEqual':'\u2243','TildeFullEqual':'\u2245','TildeTilde':'\u2248','times':'\xD7','timesb':'\u22A0','timesbar':'\u2A31','timesd':'\u2A30','tint':'\u222D','toea':'\u2928','top':'\u22A4','topbot':'\u2336','topcir':'\u2AF1','topf':'\uD835\uDD65','Topf':'\uD835\uDD4B','topfork':'\u2ADA','tosa':'\u2929','tprime':'\u2034','trade':'\u2122','TRADE':'\u2122','triangle':'\u25B5','triangledown':'\u25BF','triangleleft':'\u25C3','trianglelefteq':'\u22B4','triangleq':'\u225C','triangleright':'\u25B9','trianglerighteq':'\u22B5','tridot':'\u25EC','trie':'\u225C','triminus':'\u2A3A','TripleDot':'\u20DB','triplus':'\u2A39','trisb':'\u29CD','tritime':'\u2A3B','trpezium':'\u23E2','tscr':'\uD835\uDCC9','Tscr':'\uD835\uDCAF','tscy':'\u0446','TScy':'\u0426','tshcy':'\u045B','TSHcy':'\u040B','tstrok':'\u0167','Tstrok':'\u0166','twixt':'\u226C','twoheadleftarrow':'\u219E','twoheadrightarrow':'\u21A0','uacute':'\xFA','Uacute':'\xDA','uarr':'\u2191','uArr':'\u21D1','Uarr':'\u219F','Uarrocir':'\u2949','ubrcy':'\u045E','Ubrcy':'\u040E','ubreve':'\u016D','Ubreve':'\u016C','ucirc':'\xFB','Ucirc':'\xDB','ucy':'\u0443','Ucy':'\u0423','udarr':'\u21C5','udblac':'\u0171','Udblac':'\u0170','udhar':'\u296E','ufisht':'\u297E','ufr':'\uD835\uDD32','Ufr':'\uD835\uDD18','ugrave':'\xF9','Ugrave':'\xD9','uHar':'\u2963','uharl':'\u21BF','uharr':'\u21BE','uhblk':'\u2580','ulcorn':'\u231C','ulcorner':'\u231C','ulcrop':'\u230F','ultri':'\u25F8','umacr':'\u016B','Umacr':'\u016A','uml':'\xA8','UnderBar':'_','UnderBrace':'\u23DF','UnderBracket':'\u23B5','UnderParenthesis':'\u23DD','Union':'\u22C3','UnionPlus':'\u228E','uogon':'\u0173','Uogon':'\u0172','uopf':'\uD835\uDD66','Uopf':'\uD835\uDD4C','uparrow':'\u2191','Uparrow':'\u21D1','UpArrow':'\u2191','UpArrowBar':'\u2912','UpArrowDownArrow':'\u21C5','updownarrow':'\u2195','Updownarrow':'\u21D5','UpDownArrow':'\u2195','UpEquilibrium':'\u296E','upharpoonleft':'\u21BF','upharpoonright':'\u21BE','uplus':'\u228E','UpperLeftArrow':'\u2196','UpperRightArrow':'\u2197','upsi':'\u03C5','Upsi':'\u03D2','upsih':'\u03D2','upsilon':'\u03C5','Upsilon':'\u03A5','UpTee':'\u22A5','UpTeeArrow':'\u21A5','upuparrows':'\u21C8','urcorn':'\u231D','urcorner':'\u231D','urcrop':'\u230E','uring':'\u016F','Uring':'\u016E','urtri':'\u25F9','uscr':'\uD835\uDCCA','Uscr':'\uD835\uDCB0','utdot':'\u22F0','utilde':'\u0169','Utilde':'\u0168','utri':'\u25B5','utrif':'\u25B4','uuarr':'\u21C8','uuml':'\xFC','Uuml':'\xDC','uwangle':'\u29A7','vangrt':'\u299C','varepsilon':'\u03F5','varkappa':'\u03F0','varnothing':'\u2205','varphi':'\u03D5','varpi':'\u03D6','varpropto':'\u221D','varr':'\u2195','vArr':'\u21D5','varrho':'\u03F1','varsigma':'\u03C2','varsubsetneq':'\u228A\uFE00','varsubsetneqq':'\u2ACB\uFE00','varsupsetneq':'\u228B\uFE00','varsupsetneqq':'\u2ACC\uFE00','vartheta':'\u03D1','vartriangleleft':'\u22B2','vartriangleright':'\u22B3','vBar':'\u2AE8','Vbar':'\u2AEB','vBarv':'\u2AE9','vcy':'\u0432','Vcy':'\u0412','vdash':'\u22A2','vDash':'\u22A8','Vdash':'\u22A9','VDash':'\u22AB','Vdashl':'\u2AE6','vee':'\u2228','Vee':'\u22C1','veebar':'\u22BB','veeeq':'\u225A','vellip':'\u22EE','verbar':'|','Verbar':'\u2016','vert':'|','Vert':'\u2016','VerticalBar':'\u2223','VerticalLine':'|','VerticalSeparator':'\u2758','VerticalTilde':'\u2240','VeryThinSpace':'\u200A','vfr':'\uD835\uDD33','Vfr':'\uD835\uDD19','vltri':'\u22B2','vnsub':'\u2282\u20D2','vnsup':'\u2283\u20D2','vopf':'\uD835\uDD67','Vopf':'\uD835\uDD4D','vprop':'\u221D','vrtri':'\u22B3','vscr':'\uD835\uDCCB','Vscr':'\uD835\uDCB1','vsubne':'\u228A\uFE00','vsubnE':'\u2ACB\uFE00','vsupne':'\u228B\uFE00','vsupnE':'\u2ACC\uFE00','Vvdash':'\u22AA','vzigzag':'\u299A','wcirc':'\u0175','Wcirc':'\u0174','wedbar':'\u2A5F','wedge':'\u2227','Wedge':'\u22C0','wedgeq':'\u2259','weierp':'\u2118','wfr':'\uD835\uDD34','Wfr':'\uD835\uDD1A','wopf':'\uD835\uDD68','Wopf':'\uD835\uDD4E','wp':'\u2118','wr':'\u2240','wreath':'\u2240','wscr':'\uD835\uDCCC','Wscr':'\uD835\uDCB2','xcap':'\u22C2','xcirc':'\u25EF','xcup':'\u22C3','xdtri':'\u25BD','xfr':'\uD835\uDD35','Xfr':'\uD835\uDD1B','xharr':'\u27F7','xhArr':'\u27FA','xi':'\u03BE','Xi':'\u039E','xlarr':'\u27F5','xlArr':'\u27F8','xmap':'\u27FC','xnis':'\u22FB','xodot':'\u2A00','xopf':'\uD835\uDD69','Xopf':'\uD835\uDD4F','xoplus':'\u2A01','xotime':'\u2A02','xrarr':'\u27F6','xrArr':'\u27F9','xscr':'\uD835\uDCCD','Xscr':'\uD835\uDCB3','xsqcup':'\u2A06','xuplus':'\u2A04','xutri':'\u25B3','xvee':'\u22C1','xwedge':'\u22C0','yacute':'\xFD','Yacute':'\xDD','yacy':'\u044F','YAcy':'\u042F','ycirc':'\u0177','Ycirc':'\u0176','ycy':'\u044B','Ycy':'\u042B','yen':'\xA5','yfr':'\uD835\uDD36','Yfr':'\uD835\uDD1C','yicy':'\u0457','YIcy':'\u0407','yopf':'\uD835\uDD6A','Yopf':'\uD835\uDD50','yscr':'\uD835\uDCCE','Yscr':'\uD835\uDCB4','yucy':'\u044E','YUcy':'\u042E','yuml':'\xFF','Yuml':'\u0178','zacute':'\u017A','Zacute':'\u0179','zcaron':'\u017E','Zcaron':'\u017D','zcy':'\u0437','Zcy':'\u0417','zdot':'\u017C','Zdot':'\u017B','zeetrf':'\u2128','ZeroWidthSpace':'\u200B','zeta':'\u03B6','Zeta':'\u0396','zfr':'\uD835\uDD37','Zfr':'\u2128','zhcy':'\u0436','ZHcy':'\u0416','zigrarr':'\u21DD','zopf':'\uD835\uDD6B','Zopf':'\u2124','zscr':'\uD835\uDCCF','Zscr':'\uD835\uDCB5','zwj':'\u200D','zwnj':'\u200C'};
+ var decodeMapLegacy = {'aacute':'\xE1','Aacute':'\xC1','acirc':'\xE2','Acirc':'\xC2','acute':'\xB4','aelig':'\xE6','AElig':'\xC6','agrave':'\xE0','Agrave':'\xC0','amp':'&','AMP':'&','aring':'\xE5','Aring':'\xC5','atilde':'\xE3','Atilde':'\xC3','auml':'\xE4','Auml':'\xC4','brvbar':'\xA6','ccedil':'\xE7','Ccedil':'\xC7','cedil':'\xB8','cent':'\xA2','copy':'\xA9','COPY':'\xA9','curren':'\xA4','deg':'\xB0','divide':'\xF7','eacute':'\xE9','Eacute':'\xC9','ecirc':'\xEA','Ecirc':'\xCA','egrave':'\xE8','Egrave':'\xC8','eth':'\xF0','ETH':'\xD0','euml':'\xEB','Euml':'\xCB','frac12':'\xBD','frac14':'\xBC','frac34':'\xBE','gt':'>','GT':'>','iacute':'\xED','Iacute':'\xCD','icirc':'\xEE','Icirc':'\xCE','iexcl':'\xA1','igrave':'\xEC','Igrave':'\xCC','iquest':'\xBF','iuml':'\xEF','Iuml':'\xCF','laquo':'\xAB','lt':'<','LT':'<','macr':'\xAF','micro':'\xB5','middot':'\xB7','nbsp':'\xA0','not':'\xAC','ntilde':'\xF1','Ntilde':'\xD1','oacute':'\xF3','Oacute':'\xD3','ocirc':'\xF4','Ocirc':'\xD4','ograve':'\xF2','Ograve':'\xD2','ordf':'\xAA','ordm':'\xBA','oslash':'\xF8','Oslash':'\xD8','otilde':'\xF5','Otilde':'\xD5','ouml':'\xF6','Ouml':'\xD6','para':'\xB6','plusmn':'\xB1','pound':'\xA3','quot':'"','QUOT':'"','raquo':'\xBB','reg':'\xAE','REG':'\xAE','sect':'\xA7','shy':'\xAD','sup1':'\xB9','sup2':'\xB2','sup3':'\xB3','szlig':'\xDF','thorn':'\xFE','THORN':'\xDE','times':'\xD7','uacute':'\xFA','Uacute':'\xDA','ucirc':'\xFB','Ucirc':'\xDB','ugrave':'\xF9','Ugrave':'\xD9','uml':'\xA8','uuml':'\xFC','Uuml':'\xDC','yacute':'\xFD','Yacute':'\xDD','yen':'\xA5','yuml':'\xFF'};
+ var decodeMapNumeric = {'0':'\uFFFD','128':'\u20AC','130':'\u201A','131':'\u0192','132':'\u201E','133':'\u2026','134':'\u2020','135':'\u2021','136':'\u02C6','137':'\u2030','138':'\u0160','139':'\u2039','140':'\u0152','142':'\u017D','145':'\u2018','146':'\u2019','147':'\u201C','148':'\u201D','149':'\u2022','150':'\u2013','151':'\u2014','152':'\u02DC','153':'\u2122','154':'\u0161','155':'\u203A','156':'\u0153','158':'\u017E','159':'\u0178'};
+ var invalidReferenceCodePoints = [1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65000,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];
+
+ /*--------------------------------------------------------------------------*/
+
+ var stringFromCharCode = String.fromCharCode;
+
+ var object = {};
+ var hasOwnProperty = object.hasOwnProperty;
+ var has = function(object, propertyName) {
+ return hasOwnProperty.call(object, propertyName);
+ };
+
+ var contains = function(array, value) {
+ var index = -1;
+ var length = array.length;
+ while (++index < length) {
+ if (array[index] == value) {
+ return true;
+ }
+ }
+ return false;
+ };
+
+ var merge = function(options, defaults) {
+ if (!options) {
+ return defaults;
+ }
+ var result = {};
+ var key;
+ for (key in defaults) {
+ // A `hasOwnProperty` check is not needed here, since only recognized
+ // option names are used anyway. Any others are ignored.
+ result[key] = has(options, key) ? options[key] : defaults[key];
+ }
+ return result;
+ };
+
+ // Modified version of `ucs2encode`; see https://mths.be/punycode.
+ var codePointToSymbol = function(codePoint, strict) {
+ var output = '';
+ if ((codePoint >= 0xD800 && codePoint <= 0xDFFF) || codePoint > 0x10FFFF) {
+ // See issue #4:
+ // “Otherwise, if the number is in the range 0xD800 to 0xDFFF or is
+ // greater than 0x10FFFF, then this is a parse error. Return a U+FFFD
+ // REPLACEMENT CHARACTER.”
+ if (strict) {
+ parseError('character reference outside the permissible Unicode range');
+ }
+ return '\uFFFD';
+ }
+ if (has(decodeMapNumeric, codePoint)) {
+ if (strict) {
+ parseError('disallowed character reference');
+ }
+ return decodeMapNumeric[codePoint];
+ }
+ if (strict && contains(invalidReferenceCodePoints, codePoint)) {
+ parseError('disallowed character reference');
+ }
+ if (codePoint > 0xFFFF) {
+ codePoint -= 0x10000;
+ output += stringFromCharCode(codePoint >>> 10 & 0x3FF | 0xD800);
+ codePoint = 0xDC00 | codePoint & 0x3FF;
+ }
+ output += stringFromCharCode(codePoint);
+ return output;
+ };
+
+ var hexEscape = function(codePoint) {
+ return '' + codePoint.toString(16).toUpperCase() + ';';
+ };
+
+ var decEscape = function(codePoint) {
+ return '' + codePoint + ';';
+ };
+
+ var parseError = function(message) {
+ throw Error('Parse error: ' + message);
+ };
+
+ /*--------------------------------------------------------------------------*/
+
+ var encode = function(string, options) {
+ options = merge(options, encode.options);
+ var strict = options.strict;
+ if (strict && regexInvalidRawCodePoint.test(string)) {
+ parseError('forbidden code point');
+ }
+ var encodeEverything = options.encodeEverything;
+ var useNamedReferences = options.useNamedReferences;
+ var allowUnsafeSymbols = options.allowUnsafeSymbols;
+ var escapeCodePoint = options.decimal ? decEscape : hexEscape;
+
+ var escapeBmpSymbol = function(symbol) {
+ return escapeCodePoint(symbol.charCodeAt(0));
+ };
+
+ if (encodeEverything) {
+ // Encode ASCII symbols.
+ string = string.replace(regexAsciiWhitelist, function(symbol) {
+ // Use named references if requested & possible.
+ if (useNamedReferences && has(encodeMap, symbol)) {
+ return '&' + encodeMap[symbol] + ';';
+ }
+ return escapeBmpSymbol(symbol);
+ });
+ // Shorten a few escapes that represent two symbols, of which at least one
+ // is within the ASCII range.
+ if (useNamedReferences) {
+ string = string
+ .replace(/>\u20D2/g, '>⃒')
+ .replace(/<\u20D2/g, '<⃒')
+ .replace(/fj/g, 'fj');
+ }
+ // Encode non-ASCII symbols.
+ if (useNamedReferences) {
+ // Encode non-ASCII symbols that can be replaced with a named reference.
+ string = string.replace(regexEncodeNonAscii, function(string) {
+ // Note: there is no need to check `has(encodeMap, string)` here.
+ return '&' + encodeMap[string] + ';';
+ });
+ }
+ // Note: any remaining non-ASCII symbols are handled outside of the `if`.
+ } else if (useNamedReferences) {
+ // Apply named character references.
+ // Encode `<>"'&` using named character references.
+ if (!allowUnsafeSymbols) {
+ string = string.replace(regexEscape, function(string) {
+ return '&' + encodeMap[string] + ';'; // no need to check `has()` here
+ });
+ }
+ // Shorten escapes that represent two symbols, of which at least one is
+ // `<>"'&`.
+ string = string
+ .replace(/>\u20D2/g, '>⃒')
+ .replace(/<\u20D2/g, '<⃒');
+ // Encode non-ASCII symbols that can be replaced with a named reference.
+ string = string.replace(regexEncodeNonAscii, function(string) {
+ // Note: there is no need to check `has(encodeMap, string)` here.
+ return '&' + encodeMap[string] + ';';
+ });
+ } else if (!allowUnsafeSymbols) {
+ // Encode `<>"'&` using hexadecimal escapes, now that they’re not handled
+ // using named character references.
+ string = string.replace(regexEscape, escapeBmpSymbol);
+ }
+ return string
+ // Encode astral symbols.
+ .replace(regexAstralSymbols, function($0) {
+ // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
+ var high = $0.charCodeAt(0);
+ var low = $0.charCodeAt(1);
+ var codePoint = (high - 0xD800) * 0x400 + low - 0xDC00 + 0x10000;
+ return escapeCodePoint(codePoint);
+ })
+ // Encode any remaining BMP symbols that are not printable ASCII symbols
+ // using a hexadecimal escape.
+ .replace(regexBmpWhitelist, escapeBmpSymbol);
+ };
+ // Expose default options (so they can be overridden globally).
+ encode.options = {
+ 'allowUnsafeSymbols': false,
+ 'encodeEverything': false,
+ 'strict': false,
+ 'useNamedReferences': false,
+ 'decimal' : false
+ };
+
+ var decode = function(html, options) {
+ options = merge(options, decode.options);
+ var strict = options.strict;
+ if (strict && regexInvalidEntity.test(html)) {
+ parseError('malformed character reference');
+ }
+ return html.replace(regexDecode, function($0, $1, $2, $3, $4, $5, $6, $7, $8) {
+ var codePoint;
+ var semicolon;
+ var decDigits;
+ var hexDigits;
+ var reference;
+ var next;
+
+ if ($1) {
+ reference = $1;
+ // Note: there is no need to check `has(decodeMap, reference)`.
+ return decodeMap[reference];
+ }
+
+ if ($2) {
+ // Decode named character references without trailing `;`, e.g. `&`.
+ // This is only a parse error if it gets converted to `&`, or if it is
+ // followed by `=` in an attribute context.
+ reference = $2;
+ next = $3;
+ if (next && options.isAttributeValue) {
+ if (strict && next == '=') {
+ parseError('`&` did not start a character reference');
+ }
+ return $0;
+ } else {
+ if (strict) {
+ parseError(
+ 'named character reference was not terminated by a semicolon'
+ );
+ }
+ // Note: there is no need to check `has(decodeMapLegacy, reference)`.
+ return decodeMapLegacy[reference] + (next || '');
+ }
+ }
+
+ if ($4) {
+ // Decode decimal escapes, e.g. `𝌆`.
+ decDigits = $4;
+ semicolon = $5;
+ if (strict && !semicolon) {
+ parseError('character reference was not terminated by a semicolon');
+ }
+ codePoint = parseInt(decDigits, 10);
+ return codePointToSymbol(codePoint, strict);
+ }
+
+ if ($6) {
+ // Decode hexadecimal escapes, e.g. `𝌆`.
+ hexDigits = $6;
+ semicolon = $7;
+ if (strict && !semicolon) {
+ parseError('character reference was not terminated by a semicolon');
+ }
+ codePoint = parseInt(hexDigits, 16);
+ return codePointToSymbol(codePoint, strict);
+ }
+
+ // If we’re still here, `if ($7)` is implied; it’s an ambiguous
+ // ampersand for sure. https://mths.be/notes/ambiguous-ampersands
+ if (strict) {
+ parseError(
+ 'named character reference was not terminated by a semicolon'
+ );
+ }
+ return $0;
+ });
+ };
+ // Expose default options (so they can be overridden globally).
+ decode.options = {
+ 'isAttributeValue': false,
+ 'strict': false
+ };
+
+ var escape = function(string) {
+ return string.replace(regexEscape, function($0) {
+ // Note: there is no need to check `has(escapeMap, $0)` here.
+ return escapeMap[$0];
+ });
+ };
+
+ /*--------------------------------------------------------------------------*/
+
+ var he = {
+ 'version': '1.2.0',
+ 'encode': encode,
+ 'decode': decode,
+ 'escape': escape,
+ 'unescape': decode
+ };
+
+ // Some AMD build optimizers, like r.js, check for specific condition patterns
+ // like the following:
+ if (
+ typeof define == 'function' &&
+ typeof define.amd == 'object' &&
+ define.amd
+ ) {
+ define(function() {
+ return he;
+ });
+ } else if (freeExports && !freeExports.nodeType) {
+ if (freeModule) { // in Node.js, io.js, or RingoJS v0.8.0+
+ freeModule.exports = he;
+ } else { // in Narwhal or RingoJS v0.7.0-
+ for (var key in he) {
+ has(he, key) && (freeExports[key] = he[key]);
+ }
+ }
+ } else { // in Rhino or a web browser
+ root.he = he;
+ }
+
+}(this));
+
+
+/***/ }),
+
+/***/ 8945:
+/***/ ((module) => {
+
+function sequence(...methods) {
+ if (methods.length === 0) {
+ throw new Error("Failed creating sequence: No functions provided");
+ }
+ return function __executeSequence(...args) {
+ let result = args;
+ const _this = this;
+ while (methods.length > 0) {
+ const method = methods.shift();
+ result = [method.apply(_this, result)];
+ }
+ return result[0];
+ };
+}
+
+module.exports = {
+ sequence
+};
+
+
+/***/ }),
+
+/***/ 9974:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var wrappy = __nccwpck_require__(7326)
+const { sequence } = __nccwpck_require__(8945);
+
+const HOT_PATCHER_TYPE = "@@HOTPATCHER";
+const NOOP = () => {};
+
+function createNewItem(method) {
+ return {
+ original: method,
+ methods: [method],
+ final: false
+ };
+}
+
+/**
+ * Hot patching manager class
+ */
+class HotPatcher {
+ constructor() {
+ this._configuration = {
+ registry: {},
+ getEmptyAction: "null"
+ };
+ this.__type__ = HOT_PATCHER_TYPE;
+ }
+
+ /**
+ * Configuration object reference
+ * @type {Object}
+ * @memberof HotPatcher
+ * @readonly
+ */
+ get configuration() {
+ return this._configuration;
+ }
+
+ /**
+ * The action to take when a non-set method is requested
+ * Possible values: null/throw
+ * @type {String}
+ * @memberof HotPatcher
+ */
+ get getEmptyAction() {
+ return this.configuration.getEmptyAction;
+ }
+
+ set getEmptyAction(newAction) {
+ this.configuration.getEmptyAction = newAction;
+ }
+
+ /**
+ * Control another hot-patcher instance
+ * Force the remote instance to use patched methods from calling instance
+ * @param {HotPatcher} target The target instance to control
+ * @param {Boolean=} allowTargetOverrides Allow the target to override patched methods on
+ * the controller (default is false)
+ * @memberof HotPatcher
+ * @returns {HotPatcher} Returns self
+ * @throws {Error} Throws if the target is invalid
+ */
+ control(target, allowTargetOverrides = false) {
+ if (!target || target.__type__ !== HOT_PATCHER_TYPE) {
+ throw new Error(
+ "Failed taking control of target HotPatcher instance: Invalid type or object"
+ );
+ }
+ Object.keys(target.configuration.registry).forEach(foreignKey => {
+ if (this.configuration.registry.hasOwnProperty(foreignKey)) {
+ if (allowTargetOverrides) {
+ this.configuration.registry[foreignKey] = Object.assign(
+ {},
+ target.configuration.registry[foreignKey]
+ );
+ }
+ } else {
+ this.configuration.registry[foreignKey] = Object.assign(
+ {},
+ target.configuration.registry[foreignKey]
+ );
+ }
+ });
+ target._configuration = this.configuration;
+ return this;
+ }
+
+ /**
+ * Execute a patched method
+ * @param {String} key The method key
+ * @param {...*} args Arguments to pass to the method (optional)
+ * @memberof HotPatcher
+ * @see HotPatcher#get
+ * @returns {*} The output of the called method
+ */
+ execute(key, ...args) {
+ const method = this.get(key) || NOOP;
+ return method(...args);
+ }
+
+ /**
+ * Get a method for a key
+ * @param {String} key The method key
+ * @returns {Function|null} Returns the requested function or null if the function
+ * does not exist and the host is configured to return null (and not throw)
+ * @memberof HotPatcher
+ * @throws {Error} Throws if the configuration specifies to throw and the method
+ * does not exist
+ * @throws {Error} Throws if the `getEmptyAction` value is invalid
+ */
+ get(key) {
+ const item = this.configuration.registry[key];
+ if (!item) {
+ switch (this.getEmptyAction) {
+ case "null":
+ return null;
+ case "throw":
+ throw new Error(
+ `Failed handling method request: No method provided for override: ${key}`
+ );
+ default:
+ throw new Error(
+ `Failed handling request which resulted in an empty method: Invalid empty-action specified: ${
+ this.getEmptyAction
+ }`
+ );
+ }
+ }
+ return sequence(...item.methods);
+ }
+
+ /**
+ * Check if a method has been patched
+ * @param {String} key The function key
+ * @returns {Boolean} True if already patched
+ * @memberof HotPatcher
+ */
+ isPatched(key) {
+ return !!this.configuration.registry[key];
+ }
+
+ /**
+ * @typedef {Object} PatchOptions
+ * @property {Boolean=} chain - Whether or not to allow chaining execution. Chained
+ * execution allows for attaching multiple callbacks to a key, where the callbacks
+ * will be executed in order of when they were patched (oldest to newest), the
+ * values being passed from one method to another.
+ */
+
+ /**
+ * Patch a method name
+ * @param {String} key The method key to patch
+ * @param {Function} method The function to set
+ * @param {PatchOptions=} options Patch options
+ * @memberof HotPatcher
+ * @returns {HotPatcher} Returns self
+ */
+ patch(key, method, { chain = false } = {}) {
+ if (this.configuration.registry[key] && this.configuration.registry[key].final) {
+ throw new Error(`Failed patching '${key}': Method marked as being final`);
+ }
+ if (typeof method !== "function") {
+ throw new Error(`Failed patching '${key}': Provided method is not a function`);
+ }
+ if (chain) {
+ // Add new method to the chain
+ if (!this.configuration.registry[key]) {
+ // New key, create item
+ this.configuration.registry[key] = createNewItem(method);
+ } else {
+ // Existing, push the method
+ this.configuration.registry[key].methods.push(method);
+ }
+ } else {
+ // Replace the original
+ if (this.isPatched(key)) {
+ const { original } = this.configuration.registry[key];
+ this.configuration.registry[key] = Object.assign(createNewItem(method), {
+ original
+ });
+ } else {
+ this.configuration.registry[key] = createNewItem(method);
+ }
+ }
+ return this;
+ }
+
+ /**
+ * Patch a method inline, execute it and return the value
+ * Used for patching contents of functions. This method will not apply a patched
+ * function if it has already been patched, allowing for external overrides to
+ * function. It also means that the function is cached so that it is not
+ * instantiated every time the outer function is invoked.
+ * @param {String} key The function key to use
+ * @param {Function} method The function to patch (once, only if not patched)
+ * @param {...*} args Arguments to pass to the function
+ * @returns {*} The output of the patched function
+ * @memberof HotPatcher
+ * @example
+ * function mySpecialFunction(a, b) {
+ * return hotPatcher.patchInline("func", (a, b) => {
+ * return a + b;
+ * }, a, b);
+ * }
+ */
+ patchInline(key, method, ...args) {
+ if (!this.isPatched(key)) {
+ this.patch(key, method);
+ }
+ return this.execute(key, ...args);
+ }
+
+ /**
+ * Patch a method (or methods) in sequential-mode
+ * See `patch()` with the option `chain: true`
+ * @see patch
+ * @param {String} key The key to patch
+ * @param {...Function} methods The methods to patch
+ * @returns {HotPatcher} Returns self
+ * @memberof HotPatcher
+ */
+ plugin(key, ...methods) {
+ methods.forEach(method => {
+ this.patch(key, method, { chain: true });
+ });
+ return this;
+ }
+
+ /**
+ * Restore a patched method if it has been overridden
+ * @param {String} key The method key
+ * @memberof HotPatcher
+ */
+ restore(key) {
+ if (!this.isPatched(key)) {
+ throw new Error(`Failed restoring method: No method present for key: ${key}`);
+ } else if (typeof this.configuration.registry[key].original !== "function") {
+ throw new Error(
+ `Failed restoring method: Original method not found or of invalid type for key: ${key}`
+ );
+ }
+ this.configuration.registry[key].methods = [this.configuration.registry[key].original];
+ }
+
+ /**
+ * Set a method as being final
+ * This sets a method as having been finally overridden. Attempts at overriding
+ * again will fail with an error.
+ * @param {String} key The key to make final
+ * @memberof HotPatcher
+ * @returns {HotPatcher} Returns self
+ */
+ setFinal(key) {
+ if (!this.configuration.registry.hasOwnProperty(key)) {
+ throw new Error(`Failed marking '${key}' as final: No method found for key`);
+ }
+ this.configuration.registry[key].final = true;
+ return this;
+ }
+}
+
+module.exports = HotPatcher;
+
+
+/***/ }),
+
+/***/ 7123:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var wrappy = __nccwpck_require__(3751)
var reqs = Object.create(null)
-var once = __nccwpck_require__(3423)
+var once = __nccwpck_require__(5005)
module.exports = wrappy(inflight)
@@ -16838,7 +21992,7 @@ function slice (args) {
/***/ }),
-/***/ 4875:
+/***/ 4454:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
try {
@@ -16848,13 +22002,13 @@ try {
module.exports = util.inherits;
} catch (e) {
/* istanbul ignore next */
- module.exports = __nccwpck_require__(1869);
+ module.exports = __nccwpck_require__(9422);
}
/***/ }),
-/***/ 1869:
+/***/ 9422:
/***/ ((module) => {
if (typeof Object.create === 'function') {
@@ -16888,7 +22042,35 @@ if (typeof Object.create === 'function') {
/***/ }),
-/***/ 201:
+/***/ 1277:
+/***/ ((module) => {
+
+/*!
+ * Determine if an object is a Buffer
+ *
+ * @author Feross Aboukhadijeh
+ * @license MIT
+ */
+
+// The _isBuffer check is for Safari 5-7 support, because it's missing
+// Object.prototype.constructor. Remove this eventually
+module.exports = function (obj) {
+ return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
+}
+
+function isBuffer (obj) {
+ return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
+}
+
+// For Node v0.10 support. Remove this eventually.
+function isSlowBuffer (obj) {
+ return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
+}
+
+
+/***/ }),
+
+/***/ 9457:
/***/ ((module) => {
var toString = {}.toString;
@@ -16900,11 +22082,197 @@ module.exports = Array.isArray || function (arr) {
/***/ }),
-/***/ 9623:
+/***/ 5853:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.isError = exports.inherit = exports.assertError = void 0;
+function assertError(err) {
+ if (!isError(err)) {
+ throw new Error("Parameter was not an error");
+ }
+}
+exports.assertError = assertError;
+function inherit(ctor, superCtor) {
+ ctor.super_ = superCtor;
+ ctor.prototype = Object.create(superCtor.prototype, {
+ constructor: {
+ value: ctor,
+ enumerable: false,
+ writable: true,
+ configurable: true
+ }
+ });
+}
+exports.inherit = inherit;
+function isError(err) {
+ return objectToString(err) === "[object Error]" || err instanceof Error;
+}
+exports.isError = isError;
+function objectToString(obj) {
+ return Object.prototype.toString.call(obj);
+}
+
+
+/***/ }),
+
+/***/ 450:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __exportStar = (this && this.__exportStar) || function(m, exports) {
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.Layerr = void 0;
+var layerr_1 = __nccwpck_require__(5910);
+Object.defineProperty(exports, "Layerr", ({ enumerable: true, get: function () { return layerr_1.Layerr; } }));
+__exportStar(__nccwpck_require__(4701), exports);
+
+
+/***/ }),
+
+/***/ 5910:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.Layerr = void 0;
+const error_1 = __nccwpck_require__(5853);
+const tools_1 = __nccwpck_require__(8696);
+function Layerr(errorOptionsOrMessage, messageText) {
+ const args = [...arguments];
+ if (this instanceof Layerr === false) {
+ throw new Error("Cannot invoke 'Layerr' like a function: It must be called with 'new'");
+ }
+ const { options, shortMessage } = tools_1.parseArguments(args);
+ this.name = "Layerr";
+ if (options.name && typeof options.name === "string") {
+ this.name = options.name;
+ }
+ let message = shortMessage;
+ if (options.cause) {
+ Object.defineProperty(this, "_cause", { value: options.cause });
+ message = `${message}: ${options.cause.message}`;
+ }
+ this.message = message;
+ Object.defineProperty(this, "_info", { value: {} });
+ if (options.info && typeof options.info === "object") {
+ Object.assign(this._info, options.info);
+ }
+ Error.call(this, message);
+ if (Error.captureStackTrace) {
+ const ctor = options.constructorOpt || this.constructor;
+ Error.captureStackTrace(this, ctor);
+ }
+ return this;
+}
+exports.Layerr = Layerr;
+error_1.inherit(Layerr, Error);
+Layerr.prototype.cause = function _getCause() {
+ return Layerr.cause(this) || undefined;
+};
+Layerr.prototype.toString = function _toString() {
+ let output = this.name || this.constructor.name || this.constructor.prototype.name;
+ if (this.message) {
+ output = `${output}: ${this.message}`;
+ }
+ return output;
+};
+Layerr.cause = function __getCause(err) {
+ error_1.assertError(err);
+ return error_1.isError(err._cause) ? err._cause : null;
+};
+Layerr.fullStack = function __getFullStack(err) {
+ error_1.assertError(err);
+ const cause = Layerr.cause(err);
+ if (cause) {
+ return `${err.stack}\ncaused by: ${Layerr.fullStack(cause)}`;
+ }
+ return err.stack;
+};
+Layerr.info = function __getInfo(err) {
+ error_1.assertError(err);
+ const output = {};
+ const cause = Layerr.cause(err);
+ if (cause) {
+ Object.assign(output, Layerr.info(cause));
+ }
+ if (err._info) {
+ Object.assign(output, err._info);
+ }
+ return output;
+};
+
+
+/***/ }),
+
+/***/ 8696:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.parseArguments = void 0;
+const error_1 = __nccwpck_require__(5853);
+function parseArguments(args) {
+ let options, shortMessage = "";
+ if (args.length === 0) {
+ options = {};
+ }
+ else if (error_1.isError(args[0])) {
+ options = {
+ cause: args[0]
+ };
+ shortMessage = args.slice(1).join(" ") || "";
+ }
+ else if (args[0] && typeof args[0] === "object") {
+ options = Object.assign({}, args[0]);
+ shortMessage = args.slice(1).join(" ") || "";
+ }
+ else if (typeof args[0] === "string") {
+ options = {};
+ shortMessage = shortMessage = args.join(" ") || "";
+ }
+ else {
+ throw new Error("Invalid arguments passed to Layerr");
+ }
+ return {
+ options,
+ shortMessage
+ };
+}
+exports.parseArguments = parseArguments;
+
+
+/***/ }),
+
+/***/ 4701:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+
+
+/***/ }),
+
+/***/ 5493:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
var util = __nccwpck_require__(1669);
-var PassThrough = __nccwpck_require__(8087);
+var PassThrough = __nccwpck_require__(9785);
module.exports = {
Readable: Readable,
@@ -16961,7 +22329,7 @@ function Writable(fn, options) {
/***/ }),
-/***/ 6663:
+/***/ 157:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -16995,7 +22363,7 @@ function Writable(fn, options) {
/**/
-var pna = __nccwpck_require__(205);
+var pna = __nccwpck_require__(762);
/**/
/**/
@@ -17010,12 +22378,12 @@ var objectKeys = Object.keys || function (obj) {
module.exports = Duplex;
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
-var Readable = __nccwpck_require__(7490);
-var Writable = __nccwpck_require__(666);
+var Readable = __nccwpck_require__(7413);
+var Writable = __nccwpck_require__(103);
util.inherits(Duplex, Readable);
@@ -17099,7 +22467,7 @@ Duplex.prototype._destroy = function (err, cb) {
/***/ }),
-/***/ 6597:
+/***/ 7383:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -17132,11 +22500,11 @@ Duplex.prototype._destroy = function (err, cb) {
module.exports = PassThrough;
-var Transform = __nccwpck_require__(4857);
+var Transform = __nccwpck_require__(526);
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
util.inherits(PassThrough, Transform);
@@ -17153,7 +22521,7 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
/***/ }),
-/***/ 7490:
+/***/ 7413:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -17182,13 +22550,13 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
/**/
-var pna = __nccwpck_require__(205);
+var pna = __nccwpck_require__(762);
/**/
module.exports = Readable;
/**/
-var isArray = __nccwpck_require__(201);
+var isArray = __nccwpck_require__(9457);
/**/
/**/
@@ -17206,12 +22574,12 @@ var EElistenerCount = function (emitter, type) {
/**/
/**/
-var Stream = __nccwpck_require__(1977);
+var Stream = __nccwpck_require__(4552);
/**/
/**/
-var Buffer = __nccwpck_require__(378).Buffer;
+var Buffer = __nccwpck_require__(2646).Buffer;
var OurUint8Array = global.Uint8Array || function () {};
function _uint8ArrayToBuffer(chunk) {
return Buffer.from(chunk);
@@ -17223,8 +22591,8 @@ function _isUint8Array(obj) {
/**/
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
/**/
@@ -17237,8 +22605,8 @@ if (debugUtil && debugUtil.debuglog) {
}
/**/
-var BufferList = __nccwpck_require__(1908);
-var destroyImpl = __nccwpck_require__(8396);
+var BufferList = __nccwpck_require__(2779);
+var destroyImpl = __nccwpck_require__(4738);
var StringDecoder;
util.inherits(Readable, Stream);
@@ -17258,7 +22626,7 @@ function prependListener(emitter, event, fn) {
}
function ReadableState(options, stream) {
- Duplex = Duplex || __nccwpck_require__(6663);
+ Duplex = Duplex || __nccwpck_require__(157);
options = options || {};
@@ -17328,14 +22696,14 @@ function ReadableState(options, stream) {
this.decoder = null;
this.encoding = null;
if (options.encoding) {
- if (!StringDecoder) StringDecoder = __nccwpck_require__(9587)/* .StringDecoder */ .s;
+ if (!StringDecoder) StringDecoder = __nccwpck_require__(2562)/* .StringDecoder */ .s;
this.decoder = new StringDecoder(options.encoding);
this.encoding = options.encoding;
}
}
function Readable(options) {
- Duplex = Duplex || __nccwpck_require__(6663);
+ Duplex = Duplex || __nccwpck_require__(157);
if (!(this instanceof Readable)) return new Readable(options);
@@ -17484,7 +22852,7 @@ Readable.prototype.isPaused = function () {
// backwards compatibility.
Readable.prototype.setEncoding = function (enc) {
- if (!StringDecoder) StringDecoder = __nccwpck_require__(9587)/* .StringDecoder */ .s;
+ if (!StringDecoder) StringDecoder = __nccwpck_require__(2562)/* .StringDecoder */ .s;
this._readableState.decoder = new StringDecoder(enc);
this._readableState.encoding = enc;
return this;
@@ -18179,7 +23547,7 @@ function indexOf(xs, x) {
/***/ }),
-/***/ 4857:
+/***/ 526:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -18250,11 +23618,11 @@ function indexOf(xs, x) {
module.exports = Transform;
-var Duplex = __nccwpck_require__(6663);
+var Duplex = __nccwpck_require__(157);
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
util.inherits(Transform, Duplex);
@@ -18400,7 +23768,7 @@ function done(stream, er, data) {
/***/ }),
-/***/ 666:
+/***/ 103:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -18433,7 +23801,7 @@ function done(stream, er, data) {
/**/
-var pna = __nccwpck_require__(205);
+var pna = __nccwpck_require__(762);
/**/
module.exports = Writable;
@@ -18470,23 +23838,23 @@ var Duplex;
Writable.WritableState = WritableState;
/**/
-var util = Object.create(__nccwpck_require__(7328));
-util.inherits = __nccwpck_require__(4875);
+var util = Object.create(__nccwpck_require__(1963));
+util.inherits = __nccwpck_require__(4454);
/**/
/**/
var internalUtil = {
- deprecate: __nccwpck_require__(4491)
+ deprecate: __nccwpck_require__(3075)
};
/**/
/**/
-var Stream = __nccwpck_require__(1977);
+var Stream = __nccwpck_require__(4552);
/**/
/**/
-var Buffer = __nccwpck_require__(378).Buffer;
+var Buffer = __nccwpck_require__(2646).Buffer;
var OurUint8Array = global.Uint8Array || function () {};
function _uint8ArrayToBuffer(chunk) {
return Buffer.from(chunk);
@@ -18497,14 +23865,14 @@ function _isUint8Array(obj) {
/**/
-var destroyImpl = __nccwpck_require__(8396);
+var destroyImpl = __nccwpck_require__(4738);
util.inherits(Writable, Stream);
function nop() {}
function WritableState(options, stream) {
- Duplex = Duplex || __nccwpck_require__(6663);
+ Duplex = Duplex || __nccwpck_require__(157);
options = options || {};
@@ -18654,7 +24022,7 @@ if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.protot
}
function Writable(options) {
- Duplex = Duplex || __nccwpck_require__(6663);
+ Duplex = Duplex || __nccwpck_require__(157);
// Writable ctor is applied to Duplexes, too.
// `realHasInstance` is necessary because using plain `instanceof`
@@ -19094,7 +24462,7 @@ Writable.prototype._destroy = function (err, cb) {
/***/ }),
-/***/ 1908:
+/***/ 2779:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -19102,7 +24470,7 @@ Writable.prototype._destroy = function (err, cb) {
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-var Buffer = __nccwpck_require__(378).Buffer;
+var Buffer = __nccwpck_require__(2646).Buffer;
var util = __nccwpck_require__(1669);
function copyBuffer(src, target, offset) {
@@ -19180,7 +24548,7 @@ if (util && util.inspect && util.inspect.custom) {
/***/ }),
-/***/ 8396:
+/***/ 4738:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -19188,7 +24556,7 @@ if (util && util.inspect && util.inspect.custom) {
/**/
-var pna = __nccwpck_require__(205);
+var pna = __nccwpck_require__(762);
/**/
// undocumented cb() API, needed for core, not for public API
@@ -19261,7 +24629,7 @@ module.exports = {
/***/ }),
-/***/ 1977:
+/***/ 4552:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = __nccwpck_require__(2413);
@@ -19269,15 +24637,15 @@ module.exports = __nccwpck_require__(2413);
/***/ }),
-/***/ 8087:
+/***/ 9785:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-module.exports = __nccwpck_require__(8454).PassThrough
+module.exports = __nccwpck_require__(1507).PassThrough
/***/ }),
-/***/ 8454:
+/***/ 1507:
/***/ ((module, exports, __nccwpck_require__) => {
var Stream = __nccwpck_require__(2413);
@@ -19291,19 +24659,19 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) {
exports.PassThrough = Stream.PassThrough;
exports.Stream = Stream;
} else {
- exports = module.exports = __nccwpck_require__(7490);
+ exports = module.exports = __nccwpck_require__(7413);
exports.Stream = Stream || exports;
exports.Readable = exports;
- exports.Writable = __nccwpck_require__(666);
- exports.Duplex = __nccwpck_require__(6663);
- exports.Transform = __nccwpck_require__(4857);
- exports.PassThrough = __nccwpck_require__(6597);
+ exports.Writable = __nccwpck_require__(103);
+ exports.Duplex = __nccwpck_require__(157);
+ exports.Transform = __nccwpck_require__(526);
+ exports.PassThrough = __nccwpck_require__(7383);
}
/***/ }),
-/***/ 6619:
+/***/ 1718:
/***/ ((module) => {
/**
@@ -19978,7 +25346,7 @@ module.exports = defaults;
/***/ }),
-/***/ 3268:
+/***/ 3986:
/***/ ((module) => {
/**
@@ -21155,7 +26523,7 @@ module.exports = difference;
/***/ }),
-/***/ 1009:
+/***/ 2997:
/***/ ((module) => {
/**
@@ -21511,7 +26879,7 @@ module.exports = flatten;
/***/ }),
-/***/ 2986:
+/***/ 1989:
/***/ ((module) => {
/**
@@ -21657,7 +27025,7 @@ module.exports = isPlainObject;
/***/ }),
-/***/ 3799:
+/***/ 8930:
/***/ ((module) => {
/**
@@ -22845,7 +28213,174 @@ module.exports = union;
/***/ }),
-/***/ 8285:
+/***/ 4938:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+(function(){
+ var crypt = __nccwpck_require__(546),
+ utf8 = __nccwpck_require__(737).utf8,
+ isBuffer = __nccwpck_require__(1277),
+ bin = __nccwpck_require__(737).bin,
+
+ // The core
+ md5 = function (message, options) {
+ // Convert to byte array
+ if (message.constructor == String)
+ if (options && options.encoding === 'binary')
+ message = bin.stringToBytes(message);
+ else
+ message = utf8.stringToBytes(message);
+ else if (isBuffer(message))
+ message = Array.prototype.slice.call(message, 0);
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
+ message = message.toString();
+ // else, assume byte array already
+
+ var m = crypt.bytesToWords(message),
+ l = message.length * 8,
+ a = 1732584193,
+ b = -271733879,
+ c = -1732584194,
+ d = 271733878;
+
+ // Swap endian
+ for (var i = 0; i < m.length; i++) {
+ m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |
+ ((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;
+ }
+
+ // Padding
+ m[l >>> 5] |= 0x80 << (l % 32);
+ m[(((l + 64) >>> 9) << 4) + 14] = l;
+
+ // Method shortcuts
+ var FF = md5._ff,
+ GG = md5._gg,
+ HH = md5._hh,
+ II = md5._ii;
+
+ for (var i = 0; i < m.length; i += 16) {
+
+ var aa = a,
+ bb = b,
+ cc = c,
+ dd = d;
+
+ a = FF(a, b, c, d, m[i+ 0], 7, -680876936);
+ d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
+ c = FF(c, d, a, b, m[i+ 2], 17, 606105819);
+ b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
+ a = FF(a, b, c, d, m[i+ 4], 7, -176418897);
+ d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);
+ c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
+ b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
+ a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);
+ d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
+ c = FF(c, d, a, b, m[i+10], 17, -42063);
+ b = FF(b, c, d, a, m[i+11], 22, -1990404162);
+ a = FF(a, b, c, d, m[i+12], 7, 1804603682);
+ d = FF(d, a, b, c, m[i+13], 12, -40341101);
+ c = FF(c, d, a, b, m[i+14], 17, -1502002290);
+ b = FF(b, c, d, a, m[i+15], 22, 1236535329);
+
+ a = GG(a, b, c, d, m[i+ 1], 5, -165796510);
+ d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);
+ c = GG(c, d, a, b, m[i+11], 14, 643717713);
+ b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
+ a = GG(a, b, c, d, m[i+ 5], 5, -701558691);
+ d = GG(d, a, b, c, m[i+10], 9, 38016083);
+ c = GG(c, d, a, b, m[i+15], 14, -660478335);
+ b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
+ a = GG(a, b, c, d, m[i+ 9], 5, 568446438);
+ d = GG(d, a, b, c, m[i+14], 9, -1019803690);
+ c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
+ b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);
+ a = GG(a, b, c, d, m[i+13], 5, -1444681467);
+ d = GG(d, a, b, c, m[i+ 2], 9, -51403784);
+ c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);
+ b = GG(b, c, d, a, m[i+12], 20, -1926607734);
+
+ a = HH(a, b, c, d, m[i+ 5], 4, -378558);
+ d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
+ c = HH(c, d, a, b, m[i+11], 16, 1839030562);
+ b = HH(b, c, d, a, m[i+14], 23, -35309556);
+ a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);
+ d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);
+ c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
+ b = HH(b, c, d, a, m[i+10], 23, -1094730640);
+ a = HH(a, b, c, d, m[i+13], 4, 681279174);
+ d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
+ c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
+ b = HH(b, c, d, a, m[i+ 6], 23, 76029189);
+ a = HH(a, b, c, d, m[i+ 9], 4, -640364487);
+ d = HH(d, a, b, c, m[i+12], 11, -421815835);
+ c = HH(c, d, a, b, m[i+15], 16, 530742520);
+ b = HH(b, c, d, a, m[i+ 2], 23, -995338651);
+
+ a = II(a, b, c, d, m[i+ 0], 6, -198630844);
+ d = II(d, a, b, c, m[i+ 7], 10, 1126891415);
+ c = II(c, d, a, b, m[i+14], 15, -1416354905);
+ b = II(b, c, d, a, m[i+ 5], 21, -57434055);
+ a = II(a, b, c, d, m[i+12], 6, 1700485571);
+ d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
+ c = II(c, d, a, b, m[i+10], 15, -1051523);
+ b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
+ a = II(a, b, c, d, m[i+ 8], 6, 1873313359);
+ d = II(d, a, b, c, m[i+15], 10, -30611744);
+ c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
+ b = II(b, c, d, a, m[i+13], 21, 1309151649);
+ a = II(a, b, c, d, m[i+ 4], 6, -145523070);
+ d = II(d, a, b, c, m[i+11], 10, -1120210379);
+ c = II(c, d, a, b, m[i+ 2], 15, 718787259);
+ b = II(b, c, d, a, m[i+ 9], 21, -343485551);
+
+ a = (a + aa) >>> 0;
+ b = (b + bb) >>> 0;
+ c = (c + cc) >>> 0;
+ d = (d + dd) >>> 0;
+ }
+
+ return crypt.endian([a, b, c, d]);
+ };
+
+ // Auxiliary functions
+ md5._ff = function (a, b, c, d, x, s, t) {
+ var n = a + (b & c | ~b & d) + (x >>> 0) + t;
+ return ((n << s) | (n >>> (32 - s))) + b;
+ };
+ md5._gg = function (a, b, c, d, x, s, t) {
+ var n = a + (b & d | c & ~d) + (x >>> 0) + t;
+ return ((n << s) | (n >>> (32 - s))) + b;
+ };
+ md5._hh = function (a, b, c, d, x, s, t) {
+ var n = a + (b ^ c ^ d) + (x >>> 0) + t;
+ return ((n << s) | (n >>> (32 - s))) + b;
+ };
+ md5._ii = function (a, b, c, d, x, s, t) {
+ var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
+ return ((n << s) | (n >>> (32 - s))) + b;
+ };
+
+ // Package private blocksize
+ md5._blocksize = 16;
+ md5._digestsize = 16;
+
+ module.exports = function (message, options) {
+ if (message === undefined || message === null)
+ throw new Error('Illegal argument ' + message);
+
+ var digestbytes = crypt.wordsToBytes(md5(message, options));
+ return options && options.asBytes ? digestbytes :
+ options && options.asString ? bin.bytesToString(digestbytes) :
+ crypt.bytesToHex(digestbytes);
+ };
+
+})();
+
+
+/***/ }),
+
+/***/ 844:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = minimatch
@@ -22857,7 +28392,7 @@ try {
} catch (er) {}
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
-var expand = __nccwpck_require__(9353)
+var expand = __nccwpck_require__(1058)
var plTypes = {
'!': { open: '(?:(?!(?:', close: '))[^/]*?)'},
@@ -23775,7 +29310,300 @@ function regExpEscape (s) {
/***/ }),
-/***/ 9358:
+/***/ 3490:
+/***/ ((module) => {
+
+"use strict";
+/**
+* @license nested-property https://github.com/cosmosio/nested-property
+*
+* The MIT License (MIT)
+*
+* Copyright (c) 2014-2020 Olivier Scherrer
+*/
+
+
+function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
+
+function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
+
+function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
+
+function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
+
+function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
+
+function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }
+
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+
+function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
+
+var ARRAY_WILDCARD = "+";
+var PATH_DELIMITER = ".";
+
+var ObjectPrototypeMutationError = /*#__PURE__*/function (_Error) {
+ _inherits(ObjectPrototypeMutationError, _Error);
+
+ function ObjectPrototypeMutationError(params) {
+ var _this;
+
+ _classCallCheck(this, ObjectPrototypeMutationError);
+
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(ObjectPrototypeMutationError).call(this, params));
+ _this.name = "ObjectPrototypeMutationError";
+ return _this;
+ }
+
+ return ObjectPrototypeMutationError;
+}(_wrapNativeSuper(Error));
+
+module.exports = {
+ set: setNestedProperty,
+ get: getNestedProperty,
+ has: hasNestedProperty,
+ hasOwn: function hasOwn(object, property, options) {
+ return this.has(object, property, options || {
+ own: true
+ });
+ },
+ isIn: isInNestedProperty,
+ ObjectPrototypeMutationError: ObjectPrototypeMutationError
+};
+/**
+ * Get the property of an object nested in one or more objects or array
+ * Given an object such as a.b.c.d = 5, getNestedProperty(a, "b.c.d") will return 5.
+ * It also works through arrays. Given a nested array such as a[0].b = 5, getNestedProperty(a, "0.b") will return 5.
+ * For accessing nested properties through all items in an array, you may use the array wildcard "+".
+ * For instance, getNestedProperty([{a:1}, {a:2}, {a:3}], "+.a") will return [1, 2, 3]
+ * @param {Object} object the object to get the property from
+ * @param {String} property the path to the property as a string
+ * @returns the object or the the property value if found
+ */
+
+function getNestedProperty(object, property) {
+ if (_typeof(object) != "object" || object === null) {
+ return object;
+ }
+
+ if (typeof property == "undefined") {
+ return object;
+ }
+
+ if (typeof property == "number") {
+ return object[property];
+ }
+
+ try {
+ return traverse(object, property, function _getNestedProperty(currentObject, currentProperty) {
+ return currentObject[currentProperty];
+ });
+ } catch (err) {
+ return object;
+ }
+}
+/**
+ * Tell if a nested object has a given property (or array a given index)
+ * given an object such as a.b.c.d = 5, hasNestedProperty(a, "b.c.d") will return true.
+ * It also returns true if the property is in the prototype chain.
+ * @param {Object} object the object to get the property from
+ * @param {String} property the path to the property as a string
+ * @param {Object} options:
+ * - own: set to reject properties from the prototype
+ * @returns true if has (property in object), false otherwise
+ */
+
+
+function hasNestedProperty(object, property) {
+ var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
+
+ if (_typeof(object) != "object" || object === null) {
+ return false;
+ }
+
+ if (typeof property == "undefined") {
+ return false;
+ }
+
+ if (typeof property == "number") {
+ return property in object;
+ }
+
+ try {
+ var has = false;
+ traverse(object, property, function _hasNestedProperty(currentObject, currentProperty, segments, index) {
+ if (isLastSegment(segments, index)) {
+ if (options.own) {
+ has = currentObject.hasOwnProperty(currentProperty);
+ } else {
+ has = currentProperty in currentObject;
+ }
+ } else {
+ return currentObject && currentObject[currentProperty];
+ }
+ });
+ return has;
+ } catch (err) {
+ return false;
+ }
+}
+/**
+ * Set the property of an object nested in one or more objects
+ * If the property doesn't exist, it gets created.
+ * @param {Object} object
+ * @param {String} property
+ * @param value the value to set
+ * @returns object if no assignment was made or the value if the assignment was made
+ */
+
+
+function setNestedProperty(object, property, value) {
+ if (_typeof(object) != "object" || object === null) {
+ return object;
+ }
+
+ if (typeof property == "undefined") {
+ return object;
+ }
+
+ if (typeof property == "number") {
+ object[property] = value;
+ return object[property];
+ }
+
+ try {
+ return traverse(object, property, function _setNestedProperty(currentObject, currentProperty, segments, index) {
+ if (currentObject === Reflect.getPrototypeOf({})) {
+ throw new ObjectPrototypeMutationError("Attempting to mutate Object.prototype");
+ }
+
+ if (!currentObject[currentProperty]) {
+ var nextPropIsNumber = Number.isInteger(Number(segments[index + 1]));
+ var nextPropIsArrayWildcard = segments[index + 1] === ARRAY_WILDCARD;
+
+ if (nextPropIsNumber || nextPropIsArrayWildcard) {
+ currentObject[currentProperty] = [];
+ } else {
+ currentObject[currentProperty] = {};
+ }
+ }
+
+ if (isLastSegment(segments, index)) {
+ currentObject[currentProperty] = value;
+ }
+
+ return currentObject[currentProperty];
+ });
+ } catch (err) {
+ if (err instanceof ObjectPrototypeMutationError) {
+ // rethrow
+ throw err;
+ } else {
+ return object;
+ }
+ }
+}
+/**
+ * Tell if an object is on the path to a nested property
+ * If the object is on the path, and the path exists, it returns true, and false otherwise.
+ * @param {Object} object to get the nested property from
+ * @param {String} property name of the nested property
+ * @param {Object} objectInPath the object to check
+ * @param {Object} options:
+ * - validPath: return false if the path is invalid, even if the object is in the path
+ * @returns {boolean} true if the object is on the path
+ */
+
+
+function isInNestedProperty(object, property, objectInPath) {
+ var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
+
+ if (_typeof(object) != "object" || object === null) {
+ return false;
+ }
+
+ if (typeof property == "undefined") {
+ return false;
+ }
+
+ try {
+ var isIn = false,
+ pathExists = false;
+ traverse(object, property, function _isInNestedProperty(currentObject, currentProperty, segments, index) {
+ isIn = isIn || currentObject === objectInPath || !!currentObject && currentObject[currentProperty] === objectInPath;
+ pathExists = isLastSegment(segments, index) && _typeof(currentObject) === "object" && currentProperty in currentObject;
+ return currentObject && currentObject[currentProperty];
+ });
+
+ if (options.validPath) {
+ return isIn && pathExists;
+ } else {
+ return isIn;
+ }
+ } catch (err) {
+ return false;
+ }
+}
+
+function traverse(object, path) {
+ var callback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {};
+ var segments = path.split(PATH_DELIMITER);
+ var length = segments.length;
+
+ var _loop = function _loop(idx) {
+ var currentSegment = segments[idx];
+
+ if (!object) {
+ return {
+ v: void 0
+ };
+ }
+
+ if (currentSegment === ARRAY_WILDCARD) {
+ if (Array.isArray(object)) {
+ return {
+ v: object.map(function (value, index) {
+ var remainingSegments = segments.slice(idx + 1);
+
+ if (remainingSegments.length > 0) {
+ return traverse(value, remainingSegments.join(PATH_DELIMITER), callback);
+ } else {
+ return callback(object, index, segments, idx);
+ }
+ })
+ };
+ } else {
+ var pathToHere = segments.slice(0, idx).join(PATH_DELIMITER);
+ throw new Error("Object at wildcard (".concat(pathToHere, ") is not an array"));
+ }
+ } else {
+ object = callback(object, currentSegment, segments, idx);
+ }
+ };
+
+ for (var idx = 0; idx < length; idx++) {
+ var _ret = _loop(idx);
+
+ if (_typeof(_ret) === "object") return _ret.v;
+ }
+
+ return object;
+}
+
+function isLastSegment(segments, index) {
+ return segments.length === index + 1;
+}
+
+
+/***/ }),
+
+/***/ 8543:
/***/ ((module, exports, __nccwpck_require__) => {
"use strict";
@@ -23940,7 +29768,7 @@ FetchError.prototype.name = 'FetchError';
let convert;
try {
- convert = __nccwpck_require__(9485).convert;
+ convert = __nccwpck_require__(7117).convert;
} catch (e) {}
const INTERNALS = Symbol('Body internals');
@@ -25432,7 +31260,7 @@ exports.FetchError = FetchError;
/***/ }),
-/***/ 8137:
+/***/ 2046:
/***/ ((module) => {
/*!
@@ -25474,10 +31302,10 @@ module.exports = function(path, stripTrailing) {
/***/ }),
-/***/ 3423:
+/***/ 5005:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var wrappy = __nccwpck_require__(7326)
+var wrappy = __nccwpck_require__(3751)
module.exports = wrappy(once)
module.exports.strict = wrappy(onceStrict)
@@ -25523,7 +31351,7 @@ function onceStrict (fn) {
/***/ }),
-/***/ 1688:
+/***/ 9319:
/***/ ((module) => {
"use strict";
@@ -25551,7 +31379,289 @@ module.exports.win32 = win32;
/***/ }),
-/***/ 205:
+/***/ 1189:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+// Copyright Joyent, Inc. and other Node contributors.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
+// copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to permit
+// persons to whom the Software is furnished to do so, subject to the
+// following conditions:
+//
+// The above copyright notice and this permission notice shall be included
+// in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+var util = __nccwpck_require__(1669);
+var isString = function (x) {
+ return typeof x === 'string';
+};
+
+
+// resolves . and .. elements in a path array with directory names there
+// must be no slashes or device names (c:\) in the array
+// (so also no leading and trailing slashes - it does not distinguish
+// relative and absolute paths)
+function normalizeArray(parts, allowAboveRoot) {
+ var res = [];
+ for (var i = 0; i < parts.length; i++) {
+ var p = parts[i];
+
+ // ignore empty parts
+ if (!p || p === '.')
+ continue;
+
+ if (p === '..') {
+ if (res.length && res[res.length - 1] !== '..') {
+ res.pop();
+ } else if (allowAboveRoot) {
+ res.push('..');
+ }
+ } else {
+ res.push(p);
+ }
+ }
+
+ return res;
+}
+
+// Split a filename into [root, dir, basename, ext], unix version
+// 'root' is just a slash, or nothing.
+var splitPathRe =
+ /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
+var posix = {};
+
+
+function posixSplitPath(filename) {
+ return splitPathRe.exec(filename).slice(1);
+}
+
+
+// path.resolve([from ...], to)
+// posix version
+posix.resolve = function() {
+ var resolvedPath = '',
+ resolvedAbsolute = false;
+
+ for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
+ var path = (i >= 0) ? arguments[i] : process.cwd();
+
+ // Skip empty and invalid entries
+ if (!isString(path)) {
+ throw new TypeError('Arguments to path.resolve must be strings');
+ } else if (!path) {
+ continue;
+ }
+
+ resolvedPath = path + '/' + resolvedPath;
+ resolvedAbsolute = path.charAt(0) === '/';
+ }
+
+ // At this point the path should be resolved to a full absolute path, but
+ // handle relative paths to be safe (might happen when process.cwd() fails)
+
+ // Normalize the path
+ resolvedPath = normalizeArray(resolvedPath.split('/'),
+ !resolvedAbsolute).join('/');
+
+ return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
+};
+
+// path.normalize(path)
+// posix version
+posix.normalize = function(path) {
+ var isAbsolute = posix.isAbsolute(path),
+ trailingSlash = path.substr(-1) === '/';
+
+ // Normalize the path
+ path = normalizeArray(path.split('/'), !isAbsolute).join('/');
+
+ if (!path && !isAbsolute) {
+ path = '.';
+ }
+ if (path && trailingSlash) {
+ path += '/';
+ }
+
+ return (isAbsolute ? '/' : '') + path;
+};
+
+// posix version
+posix.isAbsolute = function(path) {
+ return path.charAt(0) === '/';
+};
+
+// posix version
+posix.join = function() {
+ var path = '';
+ for (var i = 0; i < arguments.length; i++) {
+ var segment = arguments[i];
+ if (!isString(segment)) {
+ throw new TypeError('Arguments to path.join must be strings');
+ }
+ if (segment) {
+ if (!path) {
+ path += segment;
+ } else {
+ path += '/' + segment;
+ }
+ }
+ }
+ return posix.normalize(path);
+};
+
+
+// path.relative(from, to)
+// posix version
+posix.relative = function(from, to) {
+ from = posix.resolve(from).substr(1);
+ to = posix.resolve(to).substr(1);
+
+ function trim(arr) {
+ var start = 0;
+ for (; start < arr.length; start++) {
+ if (arr[start] !== '') break;
+ }
+
+ var end = arr.length - 1;
+ for (; end >= 0; end--) {
+ if (arr[end] !== '') break;
+ }
+
+ if (start > end) return [];
+ return arr.slice(start, end + 1);
+ }
+
+ var fromParts = trim(from.split('/'));
+ var toParts = trim(to.split('/'));
+
+ var length = Math.min(fromParts.length, toParts.length);
+ var samePartsLength = length;
+ for (var i = 0; i < length; i++) {
+ if (fromParts[i] !== toParts[i]) {
+ samePartsLength = i;
+ break;
+ }
+ }
+
+ var outputParts = [];
+ for (var i = samePartsLength; i < fromParts.length; i++) {
+ outputParts.push('..');
+ }
+
+ outputParts = outputParts.concat(toParts.slice(samePartsLength));
+
+ return outputParts.join('/');
+};
+
+
+posix._makeLong = function(path) {
+ return path;
+};
+
+
+posix.dirname = function(path) {
+ var result = posixSplitPath(path),
+ root = result[0],
+ dir = result[1];
+
+ if (!root && !dir) {
+ // No dirname whatsoever
+ return '.';
+ }
+
+ if (dir) {
+ // It has a dirname, strip trailing slash
+ dir = dir.substr(0, dir.length - 1);
+ }
+
+ return root + dir;
+};
+
+
+posix.basename = function(path, ext) {
+ var f = posixSplitPath(path)[2];
+ // TODO: make this comparison case-insensitive on windows?
+ if (ext && f.substr(-1 * ext.length) === ext) {
+ f = f.substr(0, f.length - ext.length);
+ }
+ return f;
+};
+
+
+posix.extname = function(path) {
+ return posixSplitPath(path)[3];
+};
+
+
+posix.format = function(pathObject) {
+ if (!util.isObject(pathObject)) {
+ throw new TypeError(
+ "Parameter 'pathObject' must be an object, not " + typeof pathObject
+ );
+ }
+
+ var root = pathObject.root || '';
+
+ if (!isString(root)) {
+ throw new TypeError(
+ "'pathObject.root' must be a string or undefined, not " +
+ typeof pathObject.root
+ );
+ }
+
+ var dir = pathObject.dir ? pathObject.dir + posix.sep : '';
+ var base = pathObject.base || '';
+ return dir + base;
+};
+
+
+posix.parse = function(pathString) {
+ if (!isString(pathString)) {
+ throw new TypeError(
+ "Parameter 'pathString' must be a string, not " + typeof pathString
+ );
+ }
+ var allParts = posixSplitPath(pathString);
+ if (!allParts || allParts.length !== 4) {
+ throw new TypeError("Invalid path '" + pathString + "'");
+ }
+ allParts[1] = allParts[1] || '';
+ allParts[2] = allParts[2] || '';
+ allParts[3] = allParts[3] || '';
+
+ return {
+ root: allParts[0],
+ dir: allParts[0] + allParts[1].slice(0, allParts[1].length - 1),
+ base: allParts[2],
+ ext: allParts[3],
+ name: allParts[2].slice(0, allParts[2].length - allParts[3].length)
+ };
+};
+
+
+posix.sep = '/';
+posix.delimiter = ':';
+
+ module.exports = posix;
+
+
+/***/ }),
+
+/***/ 762:
/***/ ((module) => {
"use strict";
@@ -25604,7 +31714,133 @@ function nextTick(fn, arg1, arg2, arg3) {
/***/ }),
-/***/ 4485:
+/***/ 8768:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+
+var has = Object.prototype.hasOwnProperty
+ , undef;
+
+/**
+ * Decode a URI encoded string.
+ *
+ * @param {String} input The URI encoded string.
+ * @returns {String|Null} The decoded string.
+ * @api private
+ */
+function decode(input) {
+ try {
+ return decodeURIComponent(input.replace(/\+/g, ' '));
+ } catch (e) {
+ return null;
+ }
+}
+
+/**
+ * Attempts to encode a given input.
+ *
+ * @param {String} input The string that needs to be encoded.
+ * @returns {String|Null} The encoded string.
+ * @api private
+ */
+function encode(input) {
+ try {
+ return encodeURIComponent(input);
+ } catch (e) {
+ return null;
+ }
+}
+
+/**
+ * Simple query string parser.
+ *
+ * @param {String} query The query string that needs to be parsed.
+ * @returns {Object}
+ * @api public
+ */
+function querystring(query) {
+ var parser = /([^=?#&]+)=?([^&]*)/g
+ , result = {}
+ , part;
+
+ while (part = parser.exec(query)) {
+ var key = decode(part[1])
+ , value = decode(part[2]);
+
+ //
+ // Prevent overriding of existing properties. This ensures that build-in
+ // methods like `toString` or __proto__ are not overriden by malicious
+ // querystrings.
+ //
+ // In the case if failed decoding, we want to omit the key/value pairs
+ // from the result.
+ //
+ if (key === null || value === null || key in result) continue;
+ result[key] = value;
+ }
+
+ return result;
+}
+
+/**
+ * Transform a query string to an object.
+ *
+ * @param {Object} obj Object that should be transformed.
+ * @param {String} prefix Optional prefix.
+ * @returns {String}
+ * @api public
+ */
+function querystringify(obj, prefix) {
+ prefix = prefix || '';
+
+ var pairs = []
+ , value
+ , key;
+
+ //
+ // Optionally prefix with a '?' if needed
+ //
+ if ('string' !== typeof prefix) prefix = '?';
+
+ for (key in obj) {
+ if (has.call(obj, key)) {
+ value = obj[key];
+
+ //
+ // Edge cases where we actually want to encode the value to an empty
+ // string instead of the stringified value.
+ //
+ if (!value && (value === null || value === undef || isNaN(value))) {
+ value = '';
+ }
+
+ key = encode(key);
+ value = encode(value);
+
+ //
+ // If we failed to encode the strings, we should bail out as we don't
+ // want to add invalid strings to the query.
+ //
+ if (key === null || value === null) continue;
+ pairs.push(key +'='+ value);
+ }
+ }
+
+ return pairs.length ? prefix + pairs.join('&') : '';
+}
+
+//
+// Expose the module.
+//
+exports.stringify = querystringify;
+exports.parse = querystring;
+
+
+/***/ }),
+
+/***/ 393:
/***/ ((module) => {
"use strict";
@@ -25728,7 +31964,7 @@ module.exports.q = codes;
/***/ }),
-/***/ 5067:
+/***/ 4337:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -25773,11 +32009,11 @@ var objectKeys = Object.keys || function (obj) {
module.exports = Duplex;
-var Readable = __nccwpck_require__(8247);
+var Readable = __nccwpck_require__(4259);
-var Writable = __nccwpck_require__(8519);
+var Writable = __nccwpck_require__(8933);
-__nccwpck_require__(4875)(Duplex, Readable);
+__nccwpck_require__(4454)(Duplex, Readable);
{
// Allow the keys array to be GC'ed.
@@ -25874,7 +32110,7 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
/***/ }),
-/***/ 1513:
+/***/ 2930:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -25905,9 +32141,9 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
module.exports = PassThrough;
-var Transform = __nccwpck_require__(1952);
+var Transform = __nccwpck_require__(4496);
-__nccwpck_require__(4875)(PassThrough, Transform);
+__nccwpck_require__(4454)(PassThrough, Transform);
function PassThrough(options) {
if (!(this instanceof PassThrough)) return new PassThrough(options);
@@ -25920,7 +32156,7 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
/***/ }),
-/***/ 8247:
+/***/ 4259:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -25965,7 +32201,7 @@ var EElistenerCount = function EElistenerCount(emitter, type) {
/**/
-var Stream = __nccwpck_require__(4095);
+var Stream = __nccwpck_require__(1005);
/**/
@@ -25995,14 +32231,14 @@ if (debugUtil && debugUtil.debuglog) {
/**/
-var BufferList = __nccwpck_require__(9315);
+var BufferList = __nccwpck_require__(3749);
-var destroyImpl = __nccwpck_require__(4872);
+var destroyImpl = __nccwpck_require__(3210);
-var _require = __nccwpck_require__(8332),
+var _require = __nccwpck_require__(7239),
getHighWaterMark = _require.getHighWaterMark;
-var _require$codes = __nccwpck_require__(4485)/* .codes */ .q,
+var _require$codes = __nccwpck_require__(393)/* .codes */ .q,
ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
@@ -26013,7 +32249,7 @@ var StringDecoder;
var createReadableStreamAsyncIterator;
var from;
-__nccwpck_require__(4875)(Readable, Stream);
+__nccwpck_require__(4454)(Readable, Stream);
var errorOrDestroy = destroyImpl.errorOrDestroy;
var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];
@@ -26030,7 +32266,7 @@ function prependListener(emitter, event, fn) {
}
function ReadableState(options, stream, isDuplex) {
- Duplex = Duplex || __nccwpck_require__(5067);
+ Duplex = Duplex || __nccwpck_require__(4337);
options = options || {}; // Duplex streams are both readable and writable, but share
// the same options object.
// However, some cases require setting options to different
@@ -26086,14 +32322,14 @@ function ReadableState(options, stream, isDuplex) {
this.encoding = null;
if (options.encoding) {
- if (!StringDecoder) StringDecoder = __nccwpck_require__(9587)/* .StringDecoder */ .s;
+ if (!StringDecoder) StringDecoder = __nccwpck_require__(2562)/* .StringDecoder */ .s;
this.decoder = new StringDecoder(options.encoding);
this.encoding = options.encoding;
}
}
function Readable(options) {
- Duplex = Duplex || __nccwpck_require__(5067);
+ Duplex = Duplex || __nccwpck_require__(4337);
if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside
// the ReadableState constructor, at least with V8 6.5
@@ -26248,7 +32484,7 @@ Readable.prototype.isPaused = function () {
Readable.prototype.setEncoding = function (enc) {
- if (!StringDecoder) StringDecoder = __nccwpck_require__(9587)/* .StringDecoder */ .s;
+ if (!StringDecoder) StringDecoder = __nccwpck_require__(2562)/* .StringDecoder */ .s;
var decoder = new StringDecoder(enc);
this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8
@@ -26932,7 +33168,7 @@ Readable.prototype.wrap = function (stream) {
if (typeof Symbol === 'function') {
Readable.prototype[Symbol.asyncIterator] = function () {
if (createReadableStreamAsyncIterator === undefined) {
- createReadableStreamAsyncIterator = __nccwpck_require__(9681);
+ createReadableStreamAsyncIterator = __nccwpck_require__(7141);
}
return createReadableStreamAsyncIterator(this);
@@ -27034,7 +33270,7 @@ function endReadableNT(state, stream) {
if (typeof Symbol === 'function') {
Readable.from = function (iterable, opts) {
if (from === undefined) {
- from = __nccwpck_require__(2757);
+ from = __nccwpck_require__(3563);
}
return from(Readable, iterable, opts);
@@ -27051,7 +33287,7 @@ function indexOf(xs, x) {
/***/ }),
-/***/ 1952:
+/***/ 4496:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -27120,15 +33356,15 @@ function indexOf(xs, x) {
module.exports = Transform;
-var _require$codes = __nccwpck_require__(4485)/* .codes */ .q,
+var _require$codes = __nccwpck_require__(393)/* .codes */ .q,
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,
ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
-var Duplex = __nccwpck_require__(5067);
+var Duplex = __nccwpck_require__(4337);
-__nccwpck_require__(4875)(Transform, Duplex);
+__nccwpck_require__(4454)(Transform, Duplex);
function afterTransform(er, data) {
var ts = this._transformState;
@@ -27259,7 +33495,7 @@ function done(stream, er, data) {
/***/ }),
-/***/ 8519:
+/***/ 8933:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -27322,13 +33558,13 @@ Writable.WritableState = WritableState;
/**/
var internalUtil = {
- deprecate: __nccwpck_require__(4491)
+ deprecate: __nccwpck_require__(3075)
};
/**/
/**/
-var Stream = __nccwpck_require__(4095);
+var Stream = __nccwpck_require__(1005);
/**/
@@ -27344,12 +33580,12 @@ function _isUint8Array(obj) {
return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
}
-var destroyImpl = __nccwpck_require__(4872);
+var destroyImpl = __nccwpck_require__(3210);
-var _require = __nccwpck_require__(8332),
+var _require = __nccwpck_require__(7239),
getHighWaterMark = _require.getHighWaterMark;
-var _require$codes = __nccwpck_require__(4485)/* .codes */ .q,
+var _require$codes = __nccwpck_require__(393)/* .codes */ .q,
ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
@@ -27361,12 +33597,12 @@ var _require$codes = __nccwpck_require__(4485)/* .codes */ .q,
var errorOrDestroy = destroyImpl.errorOrDestroy;
-__nccwpck_require__(4875)(Writable, Stream);
+__nccwpck_require__(4454)(Writable, Stream);
function nop() {}
function WritableState(options, stream, isDuplex) {
- Duplex = Duplex || __nccwpck_require__(5067);
+ Duplex = Duplex || __nccwpck_require__(4337);
options = options || {}; // Duplex streams are both readable and writable, but share
// the same options object.
// However, some cases require setting options to different
@@ -27492,7 +33728,7 @@ if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.protot
}
function Writable(options) {
- Duplex = Duplex || __nccwpck_require__(5067); // Writable ctor is applied to Duplexes, too.
+ Duplex = Duplex || __nccwpck_require__(4337); // Writable ctor is applied to Duplexes, too.
// `realHasInstance` is necessary because using plain `instanceof`
// would return false, as no `_writableState` property is attached.
// Trying to use the custom `instanceof` for Writable here will also break the
@@ -27963,7 +34199,7 @@ Writable.prototype._destroy = function (err, cb) {
/***/ }),
-/***/ 9681:
+/***/ 7141:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -27973,7 +34209,7 @@ var _Object$setPrototypeO;
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; }
-var finished = __nccwpck_require__(215);
+var finished = __nccwpck_require__(8949);
var kLastResolve = Symbol('lastResolve');
var kLastReject = Symbol('lastReject');
@@ -28177,7 +34413,7 @@ module.exports = createReadableStreamAsyncIterator;
/***/ }),
-/***/ 9315:
+/***/ 3749:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -28394,7 +34630,7 @@ function () {
/***/ }),
-/***/ 4872:
+/***/ 3210:
/***/ ((module) => {
"use strict";
@@ -28506,7 +34742,7 @@ module.exports = {
/***/ }),
-/***/ 215:
+/***/ 8949:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -28514,7 +34750,7 @@ module.exports = {
// permission from the author, Mathias Buus (@mafintosh).
-var ERR_STREAM_PREMATURE_CLOSE = __nccwpck_require__(4485)/* .codes.ERR_STREAM_PREMATURE_CLOSE */ .q.ERR_STREAM_PREMATURE_CLOSE;
+var ERR_STREAM_PREMATURE_CLOSE = __nccwpck_require__(393)/* .codes.ERR_STREAM_PREMATURE_CLOSE */ .q.ERR_STREAM_PREMATURE_CLOSE;
function once(callback) {
var called = false;
@@ -28617,7 +34853,7 @@ module.exports = eos;
/***/ }),
-/***/ 2757:
+/***/ 3563:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -28633,7 +34869,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
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; }
-var ERR_INVALID_ARG_TYPE = __nccwpck_require__(4485)/* .codes.ERR_INVALID_ARG_TYPE */ .q.ERR_INVALID_ARG_TYPE;
+var ERR_INVALID_ARG_TYPE = __nccwpck_require__(393)/* .codes.ERR_INVALID_ARG_TYPE */ .q.ERR_INVALID_ARG_TYPE;
function from(Readable, iterable, opts) {
var iterator;
@@ -28688,7 +34924,7 @@ module.exports = from;
/***/ }),
-/***/ 6557:
+/***/ 9750:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
@@ -28707,7 +34943,7 @@ function once(callback) {
};
}
-var _require$codes = __nccwpck_require__(4485)/* .codes */ .q,
+var _require$codes = __nccwpck_require__(393)/* .codes */ .q,
ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,
ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
@@ -28726,7 +34962,7 @@ function destroyer(stream, reading, writing, callback) {
stream.on('close', function () {
closed = true;
});
- if (eos === undefined) eos = __nccwpck_require__(215);
+ if (eos === undefined) eos = __nccwpck_require__(8949);
eos(stream, {
readable: reading,
writable: writing
@@ -28792,13 +35028,13 @@ module.exports = pipeline;
/***/ }),
-/***/ 8332:
+/***/ 7239:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
-var ERR_INVALID_OPT_VALUE = __nccwpck_require__(4485)/* .codes.ERR_INVALID_OPT_VALUE */ .q.ERR_INVALID_OPT_VALUE;
+var ERR_INVALID_OPT_VALUE = __nccwpck_require__(393)/* .codes.ERR_INVALID_OPT_VALUE */ .q.ERR_INVALID_OPT_VALUE;
function highWaterMarkFrom(options, isDuplex, duplexKey) {
return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;
@@ -28826,7 +35062,7 @@ module.exports = {
/***/ }),
-/***/ 4095:
+/***/ 1005:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = __nccwpck_require__(2413);
@@ -28834,7 +35070,7 @@ module.exports = __nccwpck_require__(2413);
/***/ }),
-/***/ 8858:
+/***/ 5624:
/***/ ((module, exports, __nccwpck_require__) => {
var Stream = __nccwpck_require__(2413);
@@ -28843,28 +35079,28 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) {
Object.assign(module.exports, Stream);
module.exports.Stream = Stream;
} else {
- exports = module.exports = __nccwpck_require__(8247);
+ exports = module.exports = __nccwpck_require__(4259);
exports.Stream = Stream || exports;
exports.Readable = exports;
- exports.Writable = __nccwpck_require__(8519);
- exports.Duplex = __nccwpck_require__(5067);
- exports.Transform = __nccwpck_require__(1952);
- exports.PassThrough = __nccwpck_require__(1513);
- exports.finished = __nccwpck_require__(215);
- exports.pipeline = __nccwpck_require__(6557);
+ exports.Writable = __nccwpck_require__(8933);
+ exports.Duplex = __nccwpck_require__(4337);
+ exports.Transform = __nccwpck_require__(4496);
+ exports.PassThrough = __nccwpck_require__(2930);
+ exports.finished = __nccwpck_require__(8949);
+ exports.pipeline = __nccwpck_require__(9750);
}
/***/ }),
-/***/ 7259:
+/***/ 4101:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = readdirGlob;
const fs = __nccwpck_require__(5747);
const { EventEmitter } = __nccwpck_require__(8614);
-const { Minimatch } = __nccwpck_require__(8285);
+const { Minimatch } = __nccwpck_require__(844);
const { resolve } = __nccwpck_require__(5622);
function readdir(dir, strict) {
@@ -29106,7 +35342,53 @@ readdirGlob.ReaddirGlob = ReaddirGlob;
/***/ }),
-/***/ 378:
+/***/ 5572:
+/***/ ((module) => {
+
+"use strict";
+
+
+/**
+ * Check if we're required to add a port number.
+ *
+ * @see https://url.spec.whatwg.org/#default-port
+ * @param {Number|String} port Port number we need to check
+ * @param {String} protocol Protocol we need to check against.
+ * @returns {Boolean} Is it a default port for the given protocol
+ * @api private
+ */
+module.exports = function required(port, protocol) {
+ protocol = protocol.split(':')[0];
+ port = +port;
+
+ if (!port) return false;
+
+ switch (protocol) {
+ case 'http':
+ case 'ws':
+ return port !== 80;
+
+ case 'https':
+ case 'wss':
+ return port !== 443;
+
+ case 'ftp':
+ return port !== 21;
+
+ case 'gopher':
+ return port !== 70;
+
+ case 'file':
+ return false;
+ }
+
+ return port !== 0;
+};
+
+
+/***/ }),
+
+/***/ 2646:
/***/ ((module, exports, __nccwpck_require__) => {
/* eslint-disable node/no-deprecated-api */
@@ -29175,7 +35457,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
/***/ }),
-/***/ 9587:
+/***/ 2562:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -29204,7 +35486,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
/**/
-var Buffer = __nccwpck_require__(378).Buffer;
+var Buffer = __nccwpck_require__(2646).Buffer;
/**/
var isEncoding = Buffer.isEncoding || function (encoding) {
@@ -29478,15 +35760,15 @@ function simpleEnd(buf) {
/***/ }),
-/***/ 3826:
+/***/ 989:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
var util = __nccwpck_require__(1669)
-var bl = __nccwpck_require__(8505)
-var headers = __nccwpck_require__(4337)
+var bl = __nccwpck_require__(319)
+var headers = __nccwpck_require__(2853)
-var Writable = __nccwpck_require__(8858).Writable
-var PassThrough = __nccwpck_require__(8858).PassThrough
+var Writable = __nccwpck_require__(5624).Writable
+var PassThrough = __nccwpck_require__(5624).PassThrough
var noop = function () {}
@@ -29742,7 +36024,7 @@ module.exports = Extract
/***/ }),
-/***/ 4337:
+/***/ 2853:
/***/ ((__unused_webpack_module, exports) => {
var alloc = Buffer.alloc
@@ -30044,28 +36326,28 @@ exports.decode = function (buf, filenameEncoding, allowUnknownFormat) {
/***/ }),
-/***/ 4635:
+/***/ 438:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-exports.extract = __nccwpck_require__(3826)
-exports.pack = __nccwpck_require__(3736)
+exports.extract = __nccwpck_require__(989)
+exports.pack = __nccwpck_require__(9742)
/***/ }),
-/***/ 3736:
+/***/ 9742:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var constants = __nccwpck_require__(5478)
-var eos = __nccwpck_require__(7730)
-var inherits = __nccwpck_require__(4875)
+var constants = __nccwpck_require__(2645)
+var eos = __nccwpck_require__(3827)
+var inherits = __nccwpck_require__(4454)
var alloc = Buffer.alloc
-var Readable = __nccwpck_require__(8858).Readable
-var Writable = __nccwpck_require__(8858).Writable
+var Readable = __nccwpck_require__(5624).Readable
+var Writable = __nccwpck_require__(5624).Writable
var StringDecoder = __nccwpck_require__(4304).StringDecoder
-var headers = __nccwpck_require__(4337)
+var headers = __nccwpck_require__(2853)
var DMODE = parseInt('755', 8)
var FMODE = parseInt('644', 8)
@@ -30315,7 +36597,562 @@ module.exports = Pack
/***/ }),
-/***/ 4491:
+/***/ 4816:
+/***/ (function(module) {
+
+(function (name, context, definition) {
+ if ( true && module.exports) module.exports = definition();
+ else if (typeof define === 'function' && define.amd) define(definition);
+ else context[name] = definition();
+})('urljoin', this, function () {
+
+ function normalize (strArray) {
+ var resultArray = [];
+ if (strArray.length === 0) { return ''; }
+
+ if (typeof strArray[0] !== 'string') {
+ throw new TypeError('Url must be a string. Received ' + strArray[0]);
+ }
+
+ // If the first part is a plain protocol, we combine it with the next part.
+ if (strArray[0].match(/^[^/:]+:\/*$/) && strArray.length > 1) {
+ var first = strArray.shift();
+ strArray[0] = first + strArray[0];
+ }
+
+ // There must be two or three slashes in the file protocol, two slashes in anything else.
+ if (strArray[0].match(/^file:\/\/\//)) {
+ strArray[0] = strArray[0].replace(/^([^/:]+):\/*/, '$1:///');
+ } else {
+ strArray[0] = strArray[0].replace(/^([^/:]+):\/*/, '$1://');
+ }
+
+ for (var i = 0; i < strArray.length; i++) {
+ var component = strArray[i];
+
+ if (typeof component !== 'string') {
+ throw new TypeError('Url must be a string. Received ' + component);
+ }
+
+ if (component === '') { continue; }
+
+ if (i > 0) {
+ // Removing the starting slashes for each component but the first.
+ component = component.replace(/^[\/]+/, '');
+ }
+ if (i < strArray.length - 1) {
+ // Removing the ending slashes for each component but the last.
+ component = component.replace(/[\/]+$/, '');
+ } else {
+ // For the last component we will combine multiple slashes to a single one.
+ component = component.replace(/[\/]+$/, '/');
+ }
+
+ resultArray.push(component);
+
+ }
+
+ var str = resultArray.join('/');
+ // Each input component is now separated by a single slash except the possible first plain protocol part.
+
+ // remove trailing slash before parameters or hash
+ str = str.replace(/\/(\?|&|#[^!])/g, '$1');
+
+ // replace ? in parameters with &
+ var parts = str.split('?');
+ str = parts.shift() + (parts.length > 0 ? '?': '') + parts.join('&');
+
+ return str;
+ }
+
+ return function () {
+ var input;
+
+ if (typeof arguments[0] === 'object') {
+ input = arguments[0];
+ } else {
+ input = [].slice.call(arguments);
+ }
+
+ return normalize(input);
+ };
+
+});
+
+
+/***/ }),
+
+/***/ 9463:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var required = __nccwpck_require__(5572)
+ , qs = __nccwpck_require__(8768)
+ , slashes = /^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/
+ , protocolre = /^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i
+ , whitespace = '[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]'
+ , left = new RegExp('^'+ whitespace +'+');
+
+/**
+ * Trim a given string.
+ *
+ * @param {String} str String to trim.
+ * @public
+ */
+function trimLeft(str) {
+ return (str ? str : '').toString().replace(left, '');
+}
+
+/**
+ * These are the parse rules for the URL parser, it informs the parser
+ * about:
+ *
+ * 0. The char it Needs to parse, if it's a string it should be done using
+ * indexOf, RegExp using exec and NaN means set as current value.
+ * 1. The property we should set when parsing this value.
+ * 2. Indication if it's backwards or forward parsing, when set as number it's
+ * the value of extra chars that should be split off.
+ * 3. Inherit from location if non existing in the parser.
+ * 4. `toLowerCase` the resulting value.
+ */
+var rules = [
+ ['#', 'hash'], // Extract from the back.
+ ['?', 'query'], // Extract from the back.
+ function sanitize(address) { // Sanitize what is left of the address
+ return address.replace('\\', '/');
+ },
+ ['/', 'pathname'], // Extract from the back.
+ ['@', 'auth', 1], // Extract from the front.
+ [NaN, 'host', undefined, 1, 1], // Set left over value.
+ [/:(\d+)$/, 'port', undefined, 1], // RegExp the back.
+ [NaN, 'hostname', undefined, 1, 1] // Set left over.
+];
+
+/**
+ * These properties should not be copied or inherited from. This is only needed
+ * for all non blob URL's as a blob URL does not include a hash, only the
+ * origin.
+ *
+ * @type {Object}
+ * @private
+ */
+var ignore = { hash: 1, query: 1 };
+
+/**
+ * The location object differs when your code is loaded through a normal page,
+ * Worker or through a worker using a blob. And with the blobble begins the
+ * trouble as the location object will contain the URL of the blob, not the
+ * location of the page where our code is loaded in. The actual origin is
+ * encoded in the `pathname` so we can thankfully generate a good "default"
+ * location from it so we can generate proper relative URL's again.
+ *
+ * @param {Object|String} loc Optional default location object.
+ * @returns {Object} lolcation object.
+ * @public
+ */
+function lolcation(loc) {
+ var globalVar;
+
+ if (typeof window !== 'undefined') globalVar = window;
+ else if (typeof global !== 'undefined') globalVar = global;
+ else if (typeof self !== 'undefined') globalVar = self;
+ else globalVar = {};
+
+ var location = globalVar.location || {};
+ loc = loc || location;
+
+ var finaldestination = {}
+ , type = typeof loc
+ , key;
+
+ if ('blob:' === loc.protocol) {
+ finaldestination = new Url(unescape(loc.pathname), {});
+ } else if ('string' === type) {
+ finaldestination = new Url(loc, {});
+ for (key in ignore) delete finaldestination[key];
+ } else if ('object' === type) {
+ for (key in loc) {
+ if (key in ignore) continue;
+ finaldestination[key] = loc[key];
+ }
+
+ if (finaldestination.slashes === undefined) {
+ finaldestination.slashes = slashes.test(loc.href);
+ }
+ }
+
+ return finaldestination;
+}
+
+/**
+ * @typedef ProtocolExtract
+ * @type Object
+ * @property {String} protocol Protocol matched in the URL, in lowercase.
+ * @property {Boolean} slashes `true` if protocol is followed by "//", else `false`.
+ * @property {String} rest Rest of the URL that is not part of the protocol.
+ */
+
+/**
+ * Extract protocol information from a URL with/without double slash ("//").
+ *
+ * @param {String} address URL we want to extract from.
+ * @return {ProtocolExtract} Extracted information.
+ * @private
+ */
+function extractProtocol(address) {
+ address = trimLeft(address);
+
+ var match = protocolre.exec(address)
+ , protocol = match[1] ? match[1].toLowerCase() : ''
+ , slashes = !!(match[2] && match[2].length >= 2)
+ , rest = match[2] && match[2].length === 1 ? '/' + match[3] : match[3];
+
+ return {
+ protocol: protocol,
+ slashes: slashes,
+ rest: rest
+ };
+}
+
+/**
+ * Resolve a relative URL pathname against a base URL pathname.
+ *
+ * @param {String} relative Pathname of the relative URL.
+ * @param {String} base Pathname of the base URL.
+ * @return {String} Resolved pathname.
+ * @private
+ */
+function resolve(relative, base) {
+ if (relative === '') return base;
+
+ var path = (base || '/').split('/').slice(0, -1).concat(relative.split('/'))
+ , i = path.length
+ , last = path[i - 1]
+ , unshift = false
+ , up = 0;
+
+ while (i--) {
+ if (path[i] === '.') {
+ path.splice(i, 1);
+ } else if (path[i] === '..') {
+ path.splice(i, 1);
+ up++;
+ } else if (up) {
+ if (i === 0) unshift = true;
+ path.splice(i, 1);
+ up--;
+ }
+ }
+
+ if (unshift) path.unshift('');
+ if (last === '.' || last === '..') path.push('');
+
+ return path.join('/');
+}
+
+/**
+ * The actual URL instance. Instead of returning an object we've opted-in to
+ * create an actual constructor as it's much more memory efficient and
+ * faster and it pleases my OCD.
+ *
+ * It is worth noting that we should not use `URL` as class name to prevent
+ * clashes with the global URL instance that got introduced in browsers.
+ *
+ * @constructor
+ * @param {String} address URL we want to parse.
+ * @param {Object|String} [location] Location defaults for relative paths.
+ * @param {Boolean|Function} [parser] Parser for the query string.
+ * @private
+ */
+function Url(address, location, parser) {
+ address = trimLeft(address);
+
+ if (!(this instanceof Url)) {
+ return new Url(address, location, parser);
+ }
+
+ var relative, extracted, parse, instruction, index, key
+ , instructions = rules.slice()
+ , type = typeof location
+ , url = this
+ , i = 0;
+
+ //
+ // The following if statements allows this module two have compatibility with
+ // 2 different API:
+ //
+ // 1. Node.js's `url.parse` api which accepts a URL, boolean as arguments
+ // where the boolean indicates that the query string should also be parsed.
+ //
+ // 2. The `URL` interface of the browser which accepts a URL, object as
+ // arguments. The supplied object will be used as default values / fall-back
+ // for relative paths.
+ //
+ if ('object' !== type && 'string' !== type) {
+ parser = location;
+ location = null;
+ }
+
+ if (parser && 'function' !== typeof parser) parser = qs.parse;
+
+ location = lolcation(location);
+
+ //
+ // Extract protocol information before running the instructions.
+ //
+ extracted = extractProtocol(address || '');
+ relative = !extracted.protocol && !extracted.slashes;
+ url.slashes = extracted.slashes || relative && location.slashes;
+ url.protocol = extracted.protocol || location.protocol || '';
+ address = extracted.rest;
+
+ //
+ // When the authority component is absent the URL starts with a path
+ // component.
+ //
+ if (!extracted.slashes) instructions[3] = [/(.*)/, 'pathname'];
+
+ for (; i < instructions.length; i++) {
+ instruction = instructions[i];
+
+ if (typeof instruction === 'function') {
+ address = instruction(address);
+ continue;
+ }
+
+ parse = instruction[0];
+ key = instruction[1];
+
+ if (parse !== parse) {
+ url[key] = address;
+ } else if ('string' === typeof parse) {
+ if (~(index = address.indexOf(parse))) {
+ if ('number' === typeof instruction[2]) {
+ url[key] = address.slice(0, index);
+ address = address.slice(index + instruction[2]);
+ } else {
+ url[key] = address.slice(index);
+ address = address.slice(0, index);
+ }
+ }
+ } else if ((index = parse.exec(address))) {
+ url[key] = index[1];
+ address = address.slice(0, index.index);
+ }
+
+ url[key] = url[key] || (
+ relative && instruction[3] ? location[key] || '' : ''
+ );
+
+ //
+ // Hostname, host and protocol should be lowercased so they can be used to
+ // create a proper `origin`.
+ //
+ if (instruction[4]) url[key] = url[key].toLowerCase();
+ }
+
+ //
+ // Also parse the supplied query string in to an object. If we're supplied
+ // with a custom parser as function use that instead of the default build-in
+ // parser.
+ //
+ if (parser) url.query = parser(url.query);
+
+ //
+ // If the URL is relative, resolve the pathname against the base URL.
+ //
+ if (
+ relative
+ && location.slashes
+ && url.pathname.charAt(0) !== '/'
+ && (url.pathname !== '' || location.pathname !== '')
+ ) {
+ url.pathname = resolve(url.pathname, location.pathname);
+ }
+
+ //
+ // Default to a / for pathname if none exists. This normalizes the URL
+ // to always have a /
+ //
+ if (url.pathname.charAt(0) !== '/' && url.hostname) {
+ url.pathname = '/' + url.pathname;
+ }
+
+ //
+ // We should not add port numbers if they are already the default port number
+ // for a given protocol. As the host also contains the port number we're going
+ // override it with the hostname which contains no port number.
+ //
+ if (!required(url.port, url.protocol)) {
+ url.host = url.hostname;
+ url.port = '';
+ }
+
+ //
+ // Parse down the `auth` for the username and password.
+ //
+ url.username = url.password = '';
+ if (url.auth) {
+ instruction = url.auth.split(':');
+ url.username = instruction[0] || '';
+ url.password = instruction[1] || '';
+ }
+
+ url.origin = url.protocol && url.host && url.protocol !== 'file:'
+ ? url.protocol +'//'+ url.host
+ : 'null';
+
+ //
+ // The href is just the compiled result.
+ //
+ url.href = url.toString();
+}
+
+/**
+ * This is convenience method for changing properties in the URL instance to
+ * insure that they all propagate correctly.
+ *
+ * @param {String} part Property we need to adjust.
+ * @param {Mixed} value The newly assigned value.
+ * @param {Boolean|Function} fn When setting the query, it will be the function
+ * used to parse the query.
+ * When setting the protocol, double slash will be
+ * removed from the final url if it is true.
+ * @returns {URL} URL instance for chaining.
+ * @public
+ */
+function set(part, value, fn) {
+ var url = this;
+
+ switch (part) {
+ case 'query':
+ if ('string' === typeof value && value.length) {
+ value = (fn || qs.parse)(value);
+ }
+
+ url[part] = value;
+ break;
+
+ case 'port':
+ url[part] = value;
+
+ if (!required(value, url.protocol)) {
+ url.host = url.hostname;
+ url[part] = '';
+ } else if (value) {
+ url.host = url.hostname +':'+ value;
+ }
+
+ break;
+
+ case 'hostname':
+ url[part] = value;
+
+ if (url.port) value += ':'+ url.port;
+ url.host = value;
+ break;
+
+ case 'host':
+ url[part] = value;
+
+ if (/:\d+$/.test(value)) {
+ value = value.split(':');
+ url.port = value.pop();
+ url.hostname = value.join(':');
+ } else {
+ url.hostname = value;
+ url.port = '';
+ }
+
+ break;
+
+ case 'protocol':
+ url.protocol = value.toLowerCase();
+ url.slashes = !fn;
+ break;
+
+ case 'pathname':
+ case 'hash':
+ if (value) {
+ var char = part === 'pathname' ? '/' : '#';
+ url[part] = value.charAt(0) !== char ? char + value : value;
+ } else {
+ url[part] = value;
+ }
+ break;
+
+ default:
+ url[part] = value;
+ }
+
+ for (var i = 0; i < rules.length; i++) {
+ var ins = rules[i];
+
+ if (ins[4]) url[ins[1]] = url[ins[1]].toLowerCase();
+ }
+
+ url.origin = url.protocol && url.host && url.protocol !== 'file:'
+ ? url.protocol +'//'+ url.host
+ : 'null';
+
+ url.href = url.toString();
+
+ return url;
+}
+
+/**
+ * Transform the properties back in to a valid and full URL string.
+ *
+ * @param {Function} stringify Optional query stringify function.
+ * @returns {String} Compiled version of the URL.
+ * @public
+ */
+function toString(stringify) {
+ if (!stringify || 'function' !== typeof stringify) stringify = qs.stringify;
+
+ var query
+ , url = this
+ , protocol = url.protocol;
+
+ if (protocol && protocol.charAt(protocol.length - 1) !== ':') protocol += ':';
+
+ var result = protocol + (url.slashes ? '//' : '');
+
+ if (url.username) {
+ result += url.username;
+ if (url.password) result += ':'+ url.password;
+ result += '@';
+ }
+
+ result += url.host + url.pathname;
+
+ query = 'object' === typeof url.query ? stringify(url.query) : url.query;
+ if (query) result += '?' !== query.charAt(0) ? '?'+ query : query;
+
+ if (url.hash) result += url.hash;
+
+ return result;
+}
+
+Url.prototype = { set: set, toString: toString };
+
+//
+// Expose the URL parser and some additional properties that might be useful for
+// others or testing.
+//
+Url.extractProtocol = extractProtocol;
+Url.location = lolcation;
+Url.trimLeft = trimLeft;
+Url.qs = qs;
+
+module.exports = Url;
+
+
+/***/ }),
+
+/***/ 3075:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
@@ -30328,7 +37165,7 @@ module.exports = __nccwpck_require__(1669).deprecate;
/***/ }),
-/***/ 2712:
+/***/ 6508:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30392,29 +37229,29 @@ Object.defineProperty(exports, "parse", ({
}
}));
-var _v = _interopRequireDefault(__nccwpck_require__(8367));
+var _v = _interopRequireDefault(__nccwpck_require__(9746));
-var _v2 = _interopRequireDefault(__nccwpck_require__(1684));
+var _v2 = _interopRequireDefault(__nccwpck_require__(9653));
-var _v3 = _interopRequireDefault(__nccwpck_require__(6468));
+var _v3 = _interopRequireDefault(__nccwpck_require__(1439));
-var _v4 = _interopRequireDefault(__nccwpck_require__(8829));
+var _v4 = _interopRequireDefault(__nccwpck_require__(2278));
-var _nil = _interopRequireDefault(__nccwpck_require__(5517));
+var _nil = _interopRequireDefault(__nccwpck_require__(2253));
-var _version = _interopRequireDefault(__nccwpck_require__(4117));
+var _version = _interopRequireDefault(__nccwpck_require__(5252));
-var _validate = _interopRequireDefault(__nccwpck_require__(3827));
+var _validate = _interopRequireDefault(__nccwpck_require__(294));
-var _stringify = _interopRequireDefault(__nccwpck_require__(9794));
+var _stringify = _interopRequireDefault(__nccwpck_require__(1362));
-var _parse = _interopRequireDefault(__nccwpck_require__(536));
+var _parse = _interopRequireDefault(__nccwpck_require__(5089));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/***/ }),
-/***/ 1785:
+/***/ 1554:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30444,7 +37281,7 @@ exports.default = _default;
/***/ }),
-/***/ 5517:
+/***/ 2253:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -30459,7 +37296,7 @@ exports.default = _default;
/***/ }),
-/***/ 536:
+/***/ 5089:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30470,7 +37307,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _validate = _interopRequireDefault(__nccwpck_require__(3827));
+var _validate = _interopRequireDefault(__nccwpck_require__(294));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30511,7 +37348,7 @@ exports.default = _default;
/***/ }),
-/***/ 1526:
+/***/ 6296:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -30526,7 +37363,7 @@ exports.default = _default;
/***/ }),
-/***/ 5069:
+/***/ 5203:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30557,7 +37394,7 @@ function rng() {
/***/ }),
-/***/ 8316:
+/***/ 6811:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30587,7 +37424,7 @@ exports.default = _default;
/***/ }),
-/***/ 9794:
+/***/ 1362:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30598,7 +37435,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _validate = _interopRequireDefault(__nccwpck_require__(3827));
+var _validate = _interopRequireDefault(__nccwpck_require__(294));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30633,7 +37470,7 @@ exports.default = _default;
/***/ }),
-/***/ 8367:
+/***/ 9746:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30644,9 +37481,9 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _rng = _interopRequireDefault(__nccwpck_require__(5069));
+var _rng = _interopRequireDefault(__nccwpck_require__(5203));
-var _stringify = _interopRequireDefault(__nccwpck_require__(9794));
+var _stringify = _interopRequireDefault(__nccwpck_require__(1362));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30747,7 +37584,7 @@ exports.default = _default;
/***/ }),
-/***/ 1684:
+/***/ 9653:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30758,9 +37595,9 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _v = _interopRequireDefault(__nccwpck_require__(6118));
+var _v = _interopRequireDefault(__nccwpck_require__(2040));
-var _md = _interopRequireDefault(__nccwpck_require__(1785));
+var _md = _interopRequireDefault(__nccwpck_require__(1554));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30770,7 +37607,7 @@ exports.default = _default;
/***/ }),
-/***/ 6118:
+/***/ 2040:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30782,9 +37619,9 @@ Object.defineProperty(exports, "__esModule", ({
exports.default = _default;
exports.URL = exports.DNS = void 0;
-var _stringify = _interopRequireDefault(__nccwpck_require__(9794));
+var _stringify = _interopRequireDefault(__nccwpck_require__(1362));
-var _parse = _interopRequireDefault(__nccwpck_require__(536));
+var _parse = _interopRequireDefault(__nccwpck_require__(5089));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30855,7 +37692,7 @@ function _default(name, version, hashfunc) {
/***/ }),
-/***/ 6468:
+/***/ 1439:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30866,9 +37703,9 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _rng = _interopRequireDefault(__nccwpck_require__(5069));
+var _rng = _interopRequireDefault(__nccwpck_require__(5203));
-var _stringify = _interopRequireDefault(__nccwpck_require__(9794));
+var _stringify = _interopRequireDefault(__nccwpck_require__(1362));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30899,7 +37736,7 @@ exports.default = _default;
/***/ }),
-/***/ 8829:
+/***/ 2278:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30910,9 +37747,9 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _v = _interopRequireDefault(__nccwpck_require__(6118));
+var _v = _interopRequireDefault(__nccwpck_require__(2040));
-var _sha = _interopRequireDefault(__nccwpck_require__(8316));
+var _sha = _interopRequireDefault(__nccwpck_require__(6811));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30922,7 +37759,7 @@ exports.default = _default;
/***/ }),
-/***/ 3827:
+/***/ 294:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30933,7 +37770,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _regex = _interopRequireDefault(__nccwpck_require__(1526));
+var _regex = _interopRequireDefault(__nccwpck_require__(6296));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30946,7 +37783,7 @@ exports.default = _default;
/***/ }),
-/***/ 4117:
+/***/ 5252:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -30957,7 +37794,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _validate = _interopRequireDefault(__nccwpck_require__(3827));
+var _validate = _interopRequireDefault(__nccwpck_require__(294));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -30974,7 +37811,2183 @@ exports.default = _default;
/***/ }),
-/***/ 7326:
+/***/ 304:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.generateBasicAuthHeader = void 0;
+var encode_1 = __nccwpck_require__(1372);
+function generateBasicAuthHeader(username, password) {
+ var encoded = encode_1.toBase64(username + ":" + password);
+ return "Basic " + encoded;
+}
+exports.generateBasicAuthHeader = generateBasicAuthHeader;
+
+
+/***/ }),
+
+/***/ 9002:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.parseDigestAuth = exports.generateDigestAuthHeader = exports.createDigestContext = void 0;
+var md5_1 = __importDefault(__nccwpck_require__(4938));
+var crypto_1 = __nccwpck_require__(3892);
+var NONCE_CHARS = "abcdef0123456789";
+var NONCE_SIZE = 32;
+function createDigestContext(username, password) {
+ return { username: username, password: password, nc: 0, algorithm: "md5", hasDigestAuth: false };
+}
+exports.createDigestContext = createDigestContext;
+function generateDigestAuthHeader(options, digest) {
+ var url = options.url.replace("//", "");
+ var uri = url.indexOf("/") == -1 ? "/" : url.slice(url.indexOf("/"));
+ var method = options.method ? options.method.toUpperCase() : "GET";
+ var qop = /(^|,)\s*auth\s*($|,)/.test(digest.qop) ? "auth" : false;
+ var ncString = ("00000000" + digest.nc).slice(-8);
+ var ha1 = crypto_1.ha1Compute(digest.algorithm, digest.username, digest.realm, digest.password, digest.nonce, digest.cnonce);
+ var ha2 = md5_1.default(method + ":" + uri);
+ var digestResponse = qop
+ ? md5_1.default(ha1 + ":" + digest.nonce + ":" + ncString + ":" + digest.cnonce + ":" + qop + ":" + ha2)
+ : md5_1.default(ha1 + ":" + digest.nonce + ":" + ha2);
+ var authValues = {
+ username: digest.username,
+ realm: digest.realm,
+ nonce: digest.nonce,
+ uri: uri,
+ qop: qop,
+ response: digestResponse,
+ nc: ncString,
+ cnonce: digest.cnonce,
+ algorithm: digest.algorithm,
+ opaque: digest.opaque
+ };
+ var authHeader = [];
+ for (var k in authValues) {
+ if (authValues[k]) {
+ if (k === "qop" || k === "nc" || k === "algorithm") {
+ authHeader.push(k + "=" + authValues[k]);
+ }
+ else {
+ authHeader.push(k + "=\"" + authValues[k] + "\"");
+ }
+ }
+ }
+ return "Digest " + authHeader.join(", ");
+}
+exports.generateDigestAuthHeader = generateDigestAuthHeader;
+function makeNonce() {
+ var uid = "";
+ for (var i = 0; i < NONCE_SIZE; ++i) {
+ uid = "" + uid + NONCE_CHARS[Math.floor(Math.random() * NONCE_CHARS.length)];
+ }
+ return uid;
+}
+function parseDigestAuth(response, _digest) {
+ var authHeader = response.headers["www-authenticate"] || "";
+ if (authHeader.split(/\s/)[0].toLowerCase() !== "digest") {
+ return false;
+ }
+ var re = /([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;
+ for (;;) {
+ var match = re.exec(authHeader);
+ if (!match) {
+ break;
+ }
+ _digest[match[1]] = match[2] || match[3];
+ }
+ _digest.nc += 1;
+ _digest.cnonce = makeNonce();
+ return true;
+}
+exports.parseDigestAuth = parseDigestAuth;
+
+
+/***/ }),
+
+/***/ 7015:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.setupAuth = void 0;
+var layerr_1 = __nccwpck_require__(450);
+var digest_1 = __nccwpck_require__(9002);
+var basic_1 = __nccwpck_require__(304);
+var oauth_1 = __nccwpck_require__(9066);
+var types_1 = __nccwpck_require__(7886);
+function setupAuth(context, username, password, oauthToken) {
+ switch (context.authType) {
+ case types_1.AuthType.Digest:
+ context.digest = digest_1.createDigestContext(username, password);
+ break;
+ case types_1.AuthType.None:
+ // Do nothing
+ break;
+ case types_1.AuthType.Password:
+ context.headers.Authorization = basic_1.generateBasicAuthHeader(username, password);
+ break;
+ case types_1.AuthType.Token:
+ context.headers.Authorization = oauth_1.generateTokenAuthHeader(oauthToken);
+ break;
+ default:
+ throw new layerr_1.Layerr({
+ info: {
+ code: types_1.ErrorCode.InvalidAuthType
+ }
+ }, "Invalid auth type: " + context.authType);
+ }
+}
+exports.setupAuth = setupAuth;
+
+
+/***/ }),
+
+/***/ 9066:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.generateTokenAuthHeader = void 0;
+function generateTokenAuthHeader(token) {
+ return token.token_type + " " + token.access_token;
+}
+exports.generateTokenAuthHeader = generateTokenAuthHeader;
+
+
+/***/ }),
+
+/***/ 6437:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.isArrayBuffer = void 0;
+var hasArrayBuffer = typeof ArrayBuffer === "function";
+var objToString = Object.prototype.toString;
+// Taken from: https://github.com/fengyuanchen/is-array-buffer/blob/master/src/index.js
+function isArrayBuffer(value) {
+ return (hasArrayBuffer &&
+ (value instanceof ArrayBuffer || objToString.call(value) === "[object ArrayBuffer]"));
+}
+exports.isArrayBuffer = isArrayBuffer;
+
+
+/***/ }),
+
+/***/ 4784:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.isBuffer = void 0;
+function isBuffer(value) {
+ return (value != null &&
+ value.constructor != null &&
+ typeof value.constructor.isBuffer === "function" &&
+ value.constructor.isBuffer(value));
+}
+exports.isBuffer = isBuffer;
+
+
+/***/ }),
+
+/***/ 9125:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.getPatcher = void 0;
+var hot_patcher_1 = __importDefault(__nccwpck_require__(9974));
+var __patcher = null;
+function getPatcher() {
+ if (!__patcher) {
+ __patcher = new hot_patcher_1.default();
+ }
+ return __patcher;
+}
+exports.getPatcher = getPatcher;
+
+
+/***/ }),
+
+/***/ 2223:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.createClient = void 0;
+var url_1 = __nccwpck_require__(4945);
+var index_1 = __nccwpck_require__(7015);
+var copyFile_1 = __nccwpck_require__(3185);
+var createDirectory_1 = __nccwpck_require__(8349);
+var createStream_1 = __nccwpck_require__(8877);
+var customRequest_1 = __nccwpck_require__(6093);
+var deleteFile_1 = __nccwpck_require__(4374);
+var exists_1 = __nccwpck_require__(6086);
+var directoryContents_1 = __nccwpck_require__(4302);
+var getFileContents_1 = __nccwpck_require__(9025);
+var getQuota_1 = __nccwpck_require__(97);
+var stat_1 = __nccwpck_require__(3632);
+var moveFile_1 = __nccwpck_require__(563);
+var putFileContents_1 = __nccwpck_require__(1698);
+var types_1 = __nccwpck_require__(7886);
+function createClient(remoteURL, options) {
+ if (options === void 0) { options = {}; }
+ var _a = options.authType, authTypeRaw = _a === void 0 ? null : _a, _b = options.headers, headers = _b === void 0 ? {} : _b, httpAgent = options.httpAgent, httpsAgent = options.httpsAgent, maxBodyLength = options.maxBodyLength, maxContentLength = options.maxContentLength, password = options.password, token = options.token, username = options.username, withCredentials = options.withCredentials;
+ var authType = authTypeRaw;
+ if (!authType) {
+ authType = username || password ? types_1.AuthType.Password : types_1.AuthType.None;
+ }
+ var context = {
+ authType: authType,
+ headers: Object.assign({}, headers),
+ httpAgent: httpAgent,
+ httpsAgent: httpsAgent,
+ maxBodyLength: maxBodyLength,
+ maxContentLength: maxContentLength,
+ remotePath: url_1.extractURLPath(remoteURL),
+ remoteURL: remoteURL,
+ password: password,
+ token: token,
+ username: username,
+ withCredentials: withCredentials
+ };
+ index_1.setupAuth(context, username, password, token);
+ return {
+ copyFile: function (filename, destination, options) {
+ return copyFile_1.copyFile(context, filename, destination, options);
+ },
+ createDirectory: function (path, options) {
+ return createDirectory_1.createDirectory(context, path, options);
+ },
+ createReadStream: function (filename, options) {
+ return createStream_1.createReadStream(context, filename, options);
+ },
+ createWriteStream: function (filename, options, callback) { return createStream_1.createWriteStream(context, filename, options, callback); },
+ customRequest: function (path, requestOptions) {
+ return customRequest_1.customRequest(context, path, requestOptions);
+ },
+ deleteFile: function (filename, options) {
+ return deleteFile_1.deleteFile(context, filename, options);
+ },
+ exists: function (path, options) { return exists_1.exists(context, path, options); },
+ getDirectoryContents: function (path, options) {
+ return directoryContents_1.getDirectoryContents(context, path, options);
+ },
+ getFileContents: function (filename, options) {
+ return getFileContents_1.getFileContents(context, filename, options);
+ },
+ getFileDownloadLink: function (filename) { return getFileContents_1.getFileDownloadLink(context, filename); },
+ getFileUploadLink: function (filename) { return putFileContents_1.getFileUploadLink(context, filename); },
+ getHeaders: function () { return Object.assign({}, context.headers); },
+ getQuota: function (options) { return getQuota_1.getQuota(context, options); },
+ moveFile: function (filename, destinationFilename, options) {
+ return moveFile_1.moveFile(context, filename, destinationFilename, options);
+ },
+ putFileContents: function (filename, data, options) { return putFileContents_1.putFileContents(context, filename, data, options); },
+ setHeaders: function (headers) {
+ context.headers = Object.assign({}, headers);
+ },
+ stat: function (path, options) { return stat_1.getStat(context, path, options); }
+ };
+}
+exports.createClient = createClient;
+
+
+/***/ }),
+
+/***/ 6954:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __exportStar = (this && this.__exportStar) || function(m, exports) {
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.parseXML = exports.parseStat = exports.getPatcher = exports.createClient = void 0;
+var factory_1 = __nccwpck_require__(2223);
+Object.defineProperty(exports, "createClient", ({ enumerable: true, get: function () { return factory_1.createClient; } }));
+var patcher_1 = __nccwpck_require__(9125);
+Object.defineProperty(exports, "getPatcher", ({ enumerable: true, get: function () { return patcher_1.getPatcher; } }));
+__exportStar(__nccwpck_require__(7886), exports);
+var dav_1 = __nccwpck_require__(2415);
+Object.defineProperty(exports, "parseStat", ({ enumerable: true, get: function () { return dav_1.parseStat; } }));
+Object.defineProperty(exports, "parseXML", ({ enumerable: true, get: function () { return dav_1.parseXML; } }));
+
+
+/***/ }),
+
+/***/ 3185:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.copyFile = void 0;
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+function copyFile(context, filename, destination, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var requestOptions, response;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filename)),
+ method: "COPY",
+ headers: {
+ Destination: url_1.joinURL(context.remoteURL, path_1.encodePath(destination))
+ }
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [2 /*return*/];
+ }
+ });
+ });
+}
+exports.copyFile = copyFile;
+
+
+/***/ }),
+
+/***/ 8349:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __assign = (this && this.__assign) || function () {
+ __assign = Object.assign || function(t) {
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
+ s = arguments[i];
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
+ t[p] = s[p];
+ }
+ return t;
+ };
+ return __assign.apply(this, arguments);
+};
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.createDirectory = void 0;
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+var stat_1 = __nccwpck_require__(3632);
+function createDirectory(context, dirPath, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var requestOptions, response;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ if (options.recursive === true)
+ return [2 /*return*/, createDirectoryRecursively(context, dirPath, options)];
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, ensureCollectionPath(path_1.encodePath(dirPath))),
+ method: "MKCOL"
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [2 /*return*/];
+ }
+ });
+ });
+}
+exports.createDirectory = createDirectory;
+/**
+ * Ensure the path is a proper "collection" path by ensuring it has a trailing "/".
+ * The proper format of collection according to the specification does contain the trailing slash.
+ * http://www.webdav.org/specs/rfc4918.html#rfc.section.5.2
+ * @param path Path of the collection
+ * @return string Path of the collection with appended trailing "/" in case the `path` does not have it.
+ */
+function ensureCollectionPath(path) {
+ if (!path.endsWith("/")) {
+ return path + "/";
+ }
+ return path;
+}
+function createDirectoryRecursively(context, dirPath, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var paths, creating, _i, paths_1, testPath, testStat, err_1, error;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ paths = path_1.getAllDirectories(path_1.normalisePath(dirPath));
+ paths.sort(function (a, b) {
+ if (a.length > b.length) {
+ return 1;
+ }
+ else if (b.length > a.length) {
+ return -1;
+ }
+ return 0;
+ });
+ creating = false;
+ _i = 0, paths_1 = paths;
+ _a.label = 1;
+ case 1:
+ if (!(_i < paths_1.length)) return [3 /*break*/, 10];
+ testPath = paths_1[_i];
+ if (!creating) return [3 /*break*/, 3];
+ return [4 /*yield*/, createDirectory(context, testPath, __assign(__assign({}, options), { recursive: false }))];
+ case 2:
+ _a.sent();
+ return [3 /*break*/, 9];
+ case 3:
+ _a.trys.push([3, 5, , 9]);
+ return [4 /*yield*/, stat_1.getStat(context, testPath)];
+ case 4:
+ testStat = (_a.sent());
+ if (testStat.type !== "directory") {
+ throw new Error("Path includes a file: " + dirPath);
+ }
+ return [3 /*break*/, 9];
+ case 5:
+ err_1 = _a.sent();
+ error = err_1;
+ if (!(error.status === 404)) return [3 /*break*/, 7];
+ creating = true;
+ return [4 /*yield*/, createDirectory(context, testPath, __assign(__assign({}, options), { recursive: false }))];
+ case 6:
+ _a.sent();
+ return [3 /*break*/, 8];
+ case 7: throw err_1;
+ case 8: return [3 /*break*/, 9];
+ case 9:
+ _i++;
+ return [3 /*break*/, 1];
+ case 10: return [2 /*return*/];
+ }
+ });
+ });
+}
+
+
+/***/ }),
+
+/***/ 8877:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.createWriteStream = exports.createReadStream = void 0;
+var stream_1 = __importDefault(__nccwpck_require__(2413));
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+var NOOP = function () { };
+function createReadStream(context, filePath, options) {
+ if (options === void 0) { options = {}; }
+ var PassThroughStream = stream_1.default.PassThrough;
+ var outStream = new PassThroughStream();
+ getFileStream(context, filePath, options)
+ .then(function (stream) {
+ stream.pipe(outStream);
+ })
+ .catch(function (err) {
+ outStream.emit("error", err);
+ });
+ return outStream;
+}
+exports.createReadStream = createReadStream;
+function createWriteStream(context, filePath, options, callback) {
+ if (options === void 0) { options = {}; }
+ if (callback === void 0) { callback = NOOP; }
+ var PassThroughStream = stream_1.default.PassThrough;
+ var writeStream = new PassThroughStream();
+ var headers = {};
+ if (options.overwrite === false) {
+ headers["If-None-Match"] = "*";
+ }
+ var requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filePath)),
+ method: "PUT",
+ headers: headers,
+ data: writeStream,
+ maxRedirects: 0
+ }, context, options);
+ request_1.request(requestOptions)
+ .then(function (response) { return response_1.handleResponseCode(context, response); })
+ .then(function (response) {
+ // Fire callback asynchronously to avoid errors
+ setTimeout(function () {
+ callback(response);
+ }, 0);
+ })
+ .catch(function (err) {
+ writeStream.emit("error", err);
+ });
+ return writeStream;
+}
+exports.createWriteStream = createWriteStream;
+function getFileStream(context, filePath, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var headers, rangeHeader, requestOptions, response, responseError;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ headers = {};
+ if (typeof options.range === "object" && typeof options.range.start === "number") {
+ rangeHeader = "bytes=" + options.range.start + "-";
+ if (typeof options.range.end === "number") {
+ rangeHeader = "" + rangeHeader + options.range.end;
+ }
+ headers.Range = rangeHeader;
+ }
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filePath)),
+ method: "GET",
+ headers: headers,
+ responseType: "stream"
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ if (headers.Range && response.status !== 206) {
+ responseError = new Error("Invalid response code for partial request: " + response.status);
+ responseError.status = response.status;
+ throw responseError;
+ }
+ if (options.callback) {
+ setTimeout(function () {
+ options.callback(response);
+ }, 0);
+ }
+ return [2 /*return*/, response.data];
+ }
+ });
+ });
+}
+
+
+/***/ }),
+
+/***/ 6093:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.customRequest = void 0;
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+function customRequest(context, remotePath, requestOptions) {
+ return __awaiter(this, void 0, void 0, function () {
+ var finalOptions, response;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ if (!requestOptions.url) {
+ requestOptions.url = url_1.joinURL(context.remoteURL, path_1.encodePath(remotePath));
+ }
+ finalOptions = request_1.prepareRequestOptions(requestOptions, context, {});
+ return [4 /*yield*/, request_1.request(finalOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [2 /*return*/, response];
+ }
+ });
+ });
+}
+exports.customRequest = customRequest;
+
+
+/***/ }),
+
+/***/ 4374:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.deleteFile = void 0;
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+function deleteFile(context, filename, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var requestOptions, response;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filename)),
+ method: "DELETE"
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [2 /*return*/];
+ }
+ });
+ });
+}
+exports.deleteFile = deleteFile;
+
+
+/***/ }),
+
+/***/ 4302:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.getDirectoryContents = void 0;
+var path_posix_1 = __importDefault(__nccwpck_require__(1189));
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var dav_1 = __nccwpck_require__(2415);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+function getDirectoryContents(context, remotePath, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var requestOptions, response, davResp, files;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(remotePath), "/"),
+ method: "PROPFIND",
+ headers: {
+ Accept: "text/plain",
+ Depth: options.deep ? "infinity" : "1"
+ },
+ responseType: "text"
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [4 /*yield*/, dav_1.parseXML(response.data)];
+ case 2:
+ davResp = _a.sent();
+ files = getDirectoryFiles(davResp, context.remotePath, remotePath, options.details);
+ if (options.glob) {
+ files = response_1.processGlobFilter(files, options.glob);
+ }
+ return [2 /*return*/, response_1.processResponsePayload(response, files, options.details)];
+ }
+ });
+ });
+}
+exports.getDirectoryContents = getDirectoryContents;
+function getDirectoryFiles(result, serverBasePath, requestPath, isDetailed) {
+ if (isDetailed === void 0) { isDetailed = false; }
+ var serverBase = path_posix_1.default.join(serverBasePath, "/");
+ // Extract the response items (directory contents)
+ var responseItems = result.multistatus.response;
+ return (responseItems
+ // Map all items to a consistent output structure (results)
+ .map(function (item) {
+ // HREF is the file path (in full)
+ var href = url_1.normaliseHREF(item.href);
+ // Each item should contain a stat object
+ var props = item.propstat.prop;
+ // Process the true full filename (minus the base server path)
+ var filename = serverBase === "/"
+ ? decodeURIComponent(path_1.normalisePath(href))
+ : decodeURIComponent(path_1.normalisePath(path_posix_1.default.relative(serverBase, href)));
+ return dav_1.prepareFileFromProps(props, filename, isDetailed);
+ })
+ // Filter out the item pointing to the current directory (not needed)
+ .filter(function (item) {
+ return item.basename &&
+ (item.type === "file" || item.filename !== requestPath.replace(/\/$/, ""));
+ }));
+}
+
+
+/***/ }),
+
+/***/ 6086:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.exists = void 0;
+var stat_1 = __nccwpck_require__(3632);
+function exists(context, remotePath, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var err_1;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ _a.trys.push([0, 2, , 3]);
+ return [4 /*yield*/, stat_1.getStat(context, remotePath, options)];
+ case 1:
+ _a.sent();
+ return [2 /*return*/, true];
+ case 2:
+ err_1 = _a.sent();
+ if (err_1.status === 404) {
+ return [2 /*return*/, false];
+ }
+ throw err_1;
+ case 3: return [2 /*return*/];
+ }
+ });
+ });
+}
+exports.exists = exists;
+
+
+/***/ }),
+
+/***/ 9025:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.getFileDownloadLink = exports.getFileContents = void 0;
+var layerr_1 = __nccwpck_require__(450);
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var encode_1 = __nccwpck_require__(1372);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+var types_1 = __nccwpck_require__(7886);
+function getFileContents(context, filePath, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var _a, format;
+ return __generator(this, function (_b) {
+ _a = options.format, format = _a === void 0 ? "binary" : _a;
+ if (format !== "binary" && format !== "text") {
+ throw new layerr_1.Layerr({
+ info: {
+ code: types_1.ErrorCode.InvalidOutputFormat
+ }
+ }, "Invalid output format: " + format);
+ }
+ return [2 /*return*/, format === "text"
+ ? getFileContentsString(context, filePath, options)
+ : getFileContentsBuffer(context, filePath, options)];
+ });
+ });
+}
+exports.getFileContents = getFileContents;
+function getFileContentsBuffer(context, filePath, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var requestOptions, response;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filePath)),
+ method: "GET",
+ responseType: "arraybuffer"
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [2 /*return*/, response_1.processResponsePayload(response, response.data, options.details)];
+ }
+ });
+ });
+}
+function getFileContentsString(context, filePath, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var requestOptions, response;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filePath)),
+ method: "GET",
+ responseType: "text"
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [2 /*return*/, response_1.processResponsePayload(response, response.data, options.details)];
+ }
+ });
+ });
+}
+function getFileDownloadLink(context, filePath) {
+ var url = url_1.joinURL(context.remoteURL, path_1.encodePath(filePath));
+ var protocol = /^https:/i.test(url) ? "https" : "http";
+ switch (context.authType) {
+ case types_1.AuthType.None:
+ // Do nothing
+ break;
+ case types_1.AuthType.Password: {
+ var authPart = context.headers.Authorization.replace(/^Basic /i, "").trim();
+ var authContents = encode_1.fromBase64(authPart);
+ url = url.replace(/^https?:\/\//, protocol + "://" + authContents + "@");
+ break;
+ }
+ default:
+ throw new layerr_1.Layerr({
+ info: {
+ code: types_1.ErrorCode.LinkUnsupportedAuthType
+ }
+ }, "Unsupported auth type for file link: " + context.authType);
+ }
+ return url;
+}
+exports.getFileDownloadLink = getFileDownloadLink;
+
+
+/***/ }),
+
+/***/ 97:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.getQuota = void 0;
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+var dav_1 = __nccwpck_require__(2415);
+var url_1 = __nccwpck_require__(4945);
+var quota_1 = __nccwpck_require__(7606);
+function getQuota(context, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var requestOptions, response, result, quota;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, "/"),
+ method: "PROPFIND",
+ headers: {
+ Accept: "text/plain",
+ Depth: "0"
+ },
+ responseType: "text"
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [4 /*yield*/, dav_1.parseXML(response.data)];
+ case 2:
+ result = _a.sent();
+ quota = quota_1.parseQuota(result);
+ return [2 /*return*/, response_1.processResponsePayload(response, quota, options.details)];
+ }
+ });
+ });
+}
+exports.getQuota = getQuota;
+
+
+/***/ }),
+
+/***/ 563:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.moveFile = void 0;
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+function moveFile(context, filename, destination, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var requestOptions, response;
+ return __generator(this, function (_a) {
+ switch (_a.label) {
+ case 0:
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filename)),
+ method: "MOVE",
+ headers: {
+ Destination: url_1.joinURL(context.remoteURL, path_1.encodePath(destination))
+ }
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _a.sent();
+ response_1.handleResponseCode(context, response);
+ return [2 /*return*/];
+ }
+ });
+ });
+}
+exports.moveFile = moveFile;
+
+
+/***/ }),
+
+/***/ 1698:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.getFileUploadLink = exports.putFileContents = void 0;
+var layerr_1 = __nccwpck_require__(450);
+var stream_1 = __importDefault(__nccwpck_require__(2413));
+var encode_1 = __nccwpck_require__(1372);
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+var size_1 = __nccwpck_require__(8207);
+var types_1 = __nccwpck_require__(7886);
+function putFileContents(context, filePath, data, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var _a, contentLength, _b, overwrite, headers, requestOptions, response, error;
+ return __generator(this, function (_c) {
+ switch (_c.label) {
+ case 0:
+ _a = options.contentLength, contentLength = _a === void 0 ? true : _a, _b = options.overwrite, overwrite = _b === void 0 ? true : _b;
+ headers = {
+ "Content-Type": "application/octet-stream"
+ };
+ if (typeof WEB === "undefined" && data instanceof stream_1.default.Readable) {
+ // Skip, no content-length
+ }
+ else if (contentLength === false) {
+ // Skip, disabled
+ }
+ else if (typeof contentLength === "number") {
+ headers["Content-Length"] = "" + contentLength;
+ }
+ else {
+ headers["Content-Length"] = "" + size_1.calculateDataLength(data);
+ }
+ if (!overwrite) {
+ headers["If-None-Match"] = "*";
+ }
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filePath)),
+ method: "PUT",
+ headers: headers,
+ data: data
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _c.sent();
+ try {
+ response_1.handleResponseCode(context, response);
+ }
+ catch (err) {
+ error = err;
+ if (error.status === 412 && !overwrite) {
+ return [2 /*return*/, false];
+ }
+ else {
+ throw error;
+ }
+ }
+ return [2 /*return*/, true];
+ }
+ });
+ });
+}
+exports.putFileContents = putFileContents;
+function getFileUploadLink(context, filePath) {
+ var url = url_1.joinURL(context.remoteURL, path_1.encodePath(filePath)) + "?Content-Type=application/octet-stream";
+ var protocol = /^https:/i.test(url) ? "https" : "http";
+ switch (context.authType) {
+ case types_1.AuthType.None:
+ // Do nothing
+ break;
+ case types_1.AuthType.Password: {
+ var authPart = context.headers.Authorization.replace(/^Basic /i, "").trim();
+ var authContents = encode_1.fromBase64(authPart);
+ url = url.replace(/^https?:\/\//, protocol + "://" + authContents + "@");
+ break;
+ }
+ default:
+ throw new layerr_1.Layerr({
+ info: {
+ code: types_1.ErrorCode.LinkUnsupportedAuthType
+ }
+ }, "Unsupported auth type for file link: " + context.authType);
+ }
+ return url;
+}
+exports.getFileUploadLink = getFileUploadLink;
+
+
+/***/ }),
+
+/***/ 3632:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+var __generator = (this && this.__generator) || function (thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.getStat = void 0;
+var dav_1 = __nccwpck_require__(2415);
+var url_1 = __nccwpck_require__(4945);
+var path_1 = __nccwpck_require__(2594);
+var request_1 = __nccwpck_require__(8338);
+var response_1 = __nccwpck_require__(2612);
+function getStat(context, filename, options) {
+ if (options === void 0) { options = {}; }
+ return __awaiter(this, void 0, void 0, function () {
+ var _a, isDetailed, requestOptions, response, result, stat;
+ return __generator(this, function (_b) {
+ switch (_b.label) {
+ case 0:
+ _a = options.details, isDetailed = _a === void 0 ? false : _a;
+ requestOptions = request_1.prepareRequestOptions({
+ url: url_1.joinURL(context.remoteURL, path_1.encodePath(filename)),
+ method: "PROPFIND",
+ headers: {
+ Accept: "text/plain",
+ Depth: "0"
+ },
+ responseType: "text"
+ }, context, options);
+ return [4 /*yield*/, request_1.request(requestOptions)];
+ case 1:
+ response = _b.sent();
+ response_1.handleResponseCode(context, response);
+ return [4 /*yield*/, dav_1.parseXML(response.data)];
+ case 2:
+ result = _b.sent();
+ stat = dav_1.parseStat(result, filename, isDetailed);
+ return [2 /*return*/, response_1.processResponsePayload(response, stat, isDetailed)];
+ }
+ });
+ });
+}
+exports.getStat = getStat;
+
+
+/***/ }),
+
+/***/ 8338:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.request = exports.prepareRequestOptions = void 0;
+var axios_1 = __importDefault(__nccwpck_require__(278));
+var patcher_1 = __nccwpck_require__(9125);
+var digest_1 = __nccwpck_require__(9002);
+var merge_1 = __nccwpck_require__(7983);
+var headers_1 = __nccwpck_require__(2296);
+function _request(requestOptions) {
+ return patcher_1.getPatcher().patchInline("request", function (options) { return axios_1.default(options); }, requestOptions);
+}
+function prepareRequestOptions(requestOptions, context, userOptions) {
+ var finalOptions = merge_1.cloneShallow(requestOptions);
+ finalOptions.headers = headers_1.mergeHeaders(context.headers, finalOptions.headers || {}, userOptions.headers || {});
+ if (typeof userOptions.data !== "undefined") {
+ finalOptions.data = userOptions.data;
+ }
+ if (context.httpAgent) {
+ finalOptions.httpAgent = context.httpAgent;
+ }
+ if (context.httpsAgent) {
+ finalOptions.httpsAgent = context.httpsAgent;
+ }
+ if (context.digest) {
+ finalOptions._digest = context.digest;
+ }
+ if (typeof context.withCredentials === "boolean") {
+ finalOptions.withCredentials = context.withCredentials;
+ }
+ if (context.maxContentLength) {
+ finalOptions.maxContentLength = context.maxContentLength;
+ }
+ if (context.maxBodyLength) {
+ finalOptions.maxBodyLength = context.maxBodyLength;
+ }
+ if (userOptions.hasOwnProperty("onUploadProgress")) {
+ finalOptions.onUploadProgress = userOptions["onUploadProgress"];
+ }
+ // Take full control of all response status codes
+ finalOptions.validateStatus = function () { return true; };
+ return finalOptions;
+}
+exports.prepareRequestOptions = prepareRequestOptions;
+function request(requestOptions) {
+ // Client not configured for digest authentication
+ if (!requestOptions._digest) {
+ return _request(requestOptions);
+ }
+ // Remove client's digest authentication object from request options
+ var _digest = requestOptions._digest;
+ delete requestOptions._digest;
+ // If client is already using digest authentication, include the digest authorization header
+ if (_digest.hasDigestAuth) {
+ requestOptions = merge_1.merge(requestOptions, {
+ headers: {
+ Authorization: digest_1.generateDigestAuthHeader(requestOptions, _digest)
+ }
+ });
+ }
+ // Perform the request and handle digest authentication
+ return _request(requestOptions).then(function (response) {
+ if (response.status == 401) {
+ _digest.hasDigestAuth = digest_1.parseDigestAuth(response, _digest);
+ if (_digest.hasDigestAuth) {
+ requestOptions = merge_1.merge(requestOptions, {
+ headers: {
+ Authorization: digest_1.generateDigestAuthHeader(requestOptions, _digest)
+ }
+ });
+ return _request(requestOptions).then(function (response2) {
+ if (response2.status == 401) {
+ _digest.hasDigestAuth = false;
+ }
+ else {
+ _digest.nc++;
+ }
+ return response2;
+ });
+ }
+ }
+ else {
+ _digest.nc++;
+ }
+ return response;
+ });
+}
+exports.request = request;
+
+
+/***/ }),
+
+/***/ 2612:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.processResponsePayload = exports.processGlobFilter = exports.handleResponseCode = void 0;
+var minimatch_1 = __importDefault(__nccwpck_require__(844));
+function handleResponseCode(context, response) {
+ var status = response.status;
+ if (status === 401 && context.digest)
+ return response;
+ if (status >= 400) {
+ var err = new Error("Invalid response: " + status + " " + response.statusText);
+ err.status = status;
+ err.response = response;
+ throw err;
+ }
+ return response;
+}
+exports.handleResponseCode = handleResponseCode;
+function processGlobFilter(files, glob) {
+ return files.filter(function (file) { return minimatch_1.default(file.filename, glob, { matchBase: true }); });
+}
+exports.processGlobFilter = processGlobFilter;
+function processResponsePayload(response, data, isDetailed) {
+ if (isDetailed === void 0) { isDetailed = false; }
+ return isDetailed
+ ? {
+ data: data,
+ headers: response.headers || {},
+ status: response.status,
+ statusText: response.statusText
+ }
+ : data;
+}
+exports.processResponsePayload = processResponsePayload;
+
+
+/***/ }),
+
+/***/ 3892:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.ha1Compute = void 0;
+var md5_1 = __importDefault(__nccwpck_require__(4938));
+function ha1Compute(algorithm, user, realm, pass, nonce, cnonce) {
+ var ha1 = md5_1.default(user + ":" + realm + ":" + pass);
+ if (algorithm && algorithm.toLowerCase() === "md5-sess") {
+ return md5_1.default(ha1 + ":" + nonce + ":" + cnonce);
+ }
+ return ha1;
+}
+exports.ha1Compute = ha1Compute;
+
+
+/***/ }),
+
+/***/ 2415:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.translateDiskSpace = exports.parseStat = exports.prepareFileFromProps = exports.parseXML = void 0;
+var path_posix_1 = __importDefault(__nccwpck_require__(1189));
+var fast_xml_parser_1 = __importDefault(__nccwpck_require__(264));
+var nested_property_1 = __importDefault(__nccwpck_require__(3490));
+var encode_1 = __nccwpck_require__(1372);
+var path_1 = __nccwpck_require__(2594);
+var PropertyType;
+(function (PropertyType) {
+ PropertyType["Array"] = "array";
+ PropertyType["Object"] = "object";
+ PropertyType["Original"] = "original";
+})(PropertyType || (PropertyType = {}));
+function getPropertyOfType(obj, prop, type) {
+ if (type === void 0) { type = PropertyType.Original; }
+ var val = nested_property_1.default.get(obj, prop);
+ if (type === "array" && Array.isArray(val) === false) {
+ return [val];
+ }
+ else if (type === "object" && Array.isArray(val)) {
+ return val[0];
+ }
+ return val;
+}
+function normaliseResponse(response) {
+ var output = Object.assign({}, response);
+ nested_property_1.default.set(output, "propstat", getPropertyOfType(output, "propstat", PropertyType.Object));
+ nested_property_1.default.set(output, "propstat.prop", getPropertyOfType(output, "propstat.prop", PropertyType.Object));
+ return output;
+}
+function normaliseResult(result) {
+ var multistatus = result.multistatus;
+ if (multistatus === "") {
+ return {
+ multistatus: {
+ response: []
+ }
+ };
+ }
+ if (!multistatus) {
+ throw new Error("Invalid response: No root multistatus found");
+ }
+ var output = {
+ multistatus: Array.isArray(multistatus) ? multistatus[0] : multistatus
+ };
+ nested_property_1.default.set(output, "multistatus.response", getPropertyOfType(output, "multistatus.response", PropertyType.Array));
+ nested_property_1.default.set(output, "multistatus.response", nested_property_1.default.get(output, "multistatus.response").map(function (response) { return normaliseResponse(response); }));
+ return output;
+}
+function parseXML(xml) {
+ return new Promise(function (resolve) {
+ var result = fast_xml_parser_1.default.parse(xml, {
+ arrayMode: false,
+ ignoreNameSpace: true
+ // // We don't use the processors here as decoding is done manually
+ // // later on - decoding early would break some path checks.
+ // attrValueProcessor: val => decodeHTMLEntities(decodeURIComponent(val)),
+ // tagValueProcessor: val => decodeHTMLEntities(decodeURIComponent(val))
+ });
+ resolve(normaliseResult(result));
+ });
+}
+exports.parseXML = parseXML;
+function prepareFileFromProps(props, rawFilename, isDetailed) {
+ if (isDetailed === void 0) { isDetailed = false; }
+ // Last modified time, raw size, item type and mime
+ var _a = props.getlastmodified, lastMod = _a === void 0 ? null : _a, _b = props.getcontentlength, rawSize = _b === void 0 ? "0" : _b, _c = props.resourcetype, resourceType = _c === void 0 ? null : _c, _d = props.getcontenttype, mimeType = _d === void 0 ? null : _d, _e = props.getetag, etag = _e === void 0 ? null : _e;
+ var type = resourceType &&
+ typeof resourceType === "object" &&
+ typeof resourceType.collection !== "undefined"
+ ? "directory"
+ : "file";
+ var filename = encode_1.decodeHTMLEntities(rawFilename);
+ var stat = {
+ filename: filename,
+ basename: path_posix_1.default.basename(filename),
+ lastmod: lastMod,
+ size: parseInt(rawSize, 10),
+ type: type,
+ etag: typeof etag === "string" ? etag.replace(/"/g, "") : null
+ };
+ if (type === "file") {
+ stat.mime = mimeType && typeof mimeType === "string" ? mimeType.split(";")[0] : "";
+ }
+ if (isDetailed) {
+ stat.props = props;
+ }
+ return stat;
+}
+exports.prepareFileFromProps = prepareFileFromProps;
+function parseStat(result, filename, isDetailed) {
+ if (isDetailed === void 0) { isDetailed = false; }
+ var responseItem = null;
+ try {
+ responseItem = result.multistatus.response[0];
+ }
+ catch (e) {
+ /* ignore */
+ }
+ if (!responseItem) {
+ throw new Error("Failed getting item stat: bad response");
+ }
+ var _a = responseItem.propstat, props = _a.prop, statusLine = _a.status;
+ // As defined in https://tools.ietf.org/html/rfc2068#section-6.1
+ var _b = statusLine.split(" ", 3), _ = _b[0], statusCodeStr = _b[1], statusText = _b[2];
+ var statusCode = parseInt(statusCodeStr, 10);
+ if (statusCode >= 400) {
+ var err = new Error("Invalid response: " + statusCode + " " + statusText);
+ err.status = statusCode;
+ throw err;
+ }
+ var filePath = path_1.normalisePath(filename);
+ return prepareFileFromProps(props, filePath, isDetailed);
+}
+exports.parseStat = parseStat;
+function translateDiskSpace(value) {
+ switch (value.toString()) {
+ case "-3":
+ return "unlimited";
+ case "-2":
+ /* falls-through */
+ case "-1":
+ // -1 is non-computed
+ return "unknown";
+ default:
+ return parseInt(value, 10);
+ }
+}
+exports.translateDiskSpace = translateDiskSpace;
+
+
+/***/ }),
+
+/***/ 1372:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.toBase64 = exports.fromBase64 = exports.decodeHTMLEntities = void 0;
+var base_64_1 = __nccwpck_require__(471);
+function decodeHTMLEntities(text) {
+ if (typeof WEB === "undefined") {
+ // Node
+ var he = __nccwpck_require__(2980);
+ return he.decode(text);
+ }
+ else {
+ // Nasty browser way
+ var txt = document.createElement("textarea");
+ txt.innerHTML = text;
+ return txt.value;
+ }
+}
+exports.decodeHTMLEntities = decodeHTMLEntities;
+function fromBase64(text) {
+ return base_64_1.decode(text);
+}
+exports.fromBase64 = fromBase64;
+function toBase64(text) {
+ return base_64_1.encode(text);
+}
+exports.toBase64 = toBase64;
+
+
+/***/ }),
+
+/***/ 2296:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.mergeHeaders = void 0;
+function mergeHeaders() {
+ var headerPayloads = [];
+ for (var _i = 0; _i < arguments.length; _i++) {
+ headerPayloads[_i] = arguments[_i];
+ }
+ if (headerPayloads.length === 0)
+ return {};
+ var headerKeys = {};
+ return headerPayloads.reduce(function (output, headers) {
+ Object.keys(headers).forEach(function (header) {
+ var lowerHeader = header.toLowerCase();
+ if (headerKeys.hasOwnProperty(lowerHeader)) {
+ output[headerKeys[lowerHeader]] = headers[header];
+ }
+ else {
+ headerKeys[lowerHeader] = header;
+ output[header] = headers[header];
+ }
+ });
+ return output;
+ }, {});
+}
+exports.mergeHeaders = mergeHeaders;
+
+
+/***/ }),
+
+/***/ 7983:
+/***/ (function(__unused_webpack_module, exports) {
+
+"use strict";
+
+var __spreadArray = (this && this.__spreadArray) || function (to, from) {
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
+ to[j] = from[i];
+ return to;
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.merge = exports.cloneShallow = void 0;
+function cloneShallow(obj) {
+ return isPlainObject(obj)
+ ? Object.assign({}, obj)
+ : Object.setPrototypeOf(Object.assign({}, obj), Object.getPrototypeOf(obj));
+}
+exports.cloneShallow = cloneShallow;
+function isPlainObject(obj) {
+ if (typeof obj !== "object" ||
+ obj === null ||
+ Object.prototype.toString.call(obj) != "[object Object]") {
+ // Not an object
+ return false;
+ }
+ if (Object.getPrototypeOf(obj) === null) {
+ return true;
+ }
+ var proto = obj;
+ // Find the prototype
+ while (Object.getPrototypeOf(proto) !== null) {
+ proto = Object.getPrototypeOf(proto);
+ }
+ return Object.getPrototypeOf(obj) === proto;
+}
+function merge() {
+ var args = [];
+ for (var _i = 0; _i < arguments.length; _i++) {
+ args[_i] = arguments[_i];
+ }
+ var output = null, items = __spreadArray([], args);
+ while (items.length > 0) {
+ var nextItem = items.shift();
+ if (!output) {
+ output = cloneShallow(nextItem);
+ }
+ else {
+ output = mergeObjects(output, nextItem);
+ }
+ }
+ return output;
+}
+exports.merge = merge;
+function mergeObjects(obj1, obj2) {
+ var output = cloneShallow(obj1);
+ Object.keys(obj2).forEach(function (key) {
+ if (!output.hasOwnProperty(key)) {
+ output[key] = obj2[key];
+ return;
+ }
+ if (Array.isArray(obj2[key])) {
+ output[key] = Array.isArray(output[key])
+ ? __spreadArray(__spreadArray([], output[key]), obj2[key]) : __spreadArray([], obj2[key]);
+ }
+ else if (typeof obj2[key] === "object" && !!obj2[key]) {
+ output[key] =
+ typeof output[key] === "object" && !!output[key]
+ ? mergeObjects(output[key], obj2[key])
+ : cloneShallow(obj2[key]);
+ }
+ else {
+ output[key] = obj2[key];
+ }
+ });
+ return output;
+}
+
+
+/***/ }),
+
+/***/ 2594:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.normalisePath = exports.getAllDirectories = exports.encodePath = void 0;
+var path_posix_1 = __nccwpck_require__(1189);
+var SEP_PATH_POSIX = "__PATH_SEPARATOR_POSIX__";
+var SEP_PATH_WINDOWS = "__PATH_SEPARATOR_WINDOWS__";
+function encodePath(path) {
+ var replaced = path.replace(/\//g, SEP_PATH_POSIX).replace(/\\\\/g, SEP_PATH_WINDOWS);
+ var formatted = encodeURIComponent(replaced);
+ return formatted
+ .split(SEP_PATH_WINDOWS)
+ .join("\\\\")
+ .split(SEP_PATH_POSIX)
+ .join("/");
+}
+exports.encodePath = encodePath;
+function getAllDirectories(path) {
+ if (!path || path === "/")
+ return [];
+ var currentPath = path;
+ var output = [];
+ do {
+ output.push(currentPath);
+ currentPath = path_posix_1.dirname(currentPath);
+ } while (currentPath && currentPath !== "/");
+ return output;
+}
+exports.getAllDirectories = getAllDirectories;
+function normalisePath(pathStr) {
+ var normalisedPath = pathStr;
+ if (normalisedPath[0] !== "/") {
+ normalisedPath = "/" + normalisedPath;
+ }
+ if (/^.+\/$/.test(normalisedPath)) {
+ normalisedPath = normalisedPath.substr(0, normalisedPath.length - 1);
+ }
+ return normalisedPath;
+}
+exports.normalisePath = normalisePath;
+
+
+/***/ }),
+
+/***/ 7606:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.parseQuota = void 0;
+var dav_1 = __nccwpck_require__(2415);
+function parseQuota(result) {
+ try {
+ var responseItem = result.multistatus.response[0];
+ var _a = responseItem.propstat.prop, quotaUsed = _a["quota-used-bytes"], quotaAvail = _a["quota-available-bytes"];
+ return typeof quotaUsed !== "undefined" && typeof quotaAvail !== "undefined"
+ ? {
+ used: parseInt(quotaUsed, 10),
+ available: dav_1.translateDiskSpace(quotaAvail)
+ }
+ : null;
+ }
+ catch (err) {
+ /* ignore */
+ }
+ return null;
+}
+exports.parseQuota = parseQuota;
+
+
+/***/ }),
+
+/***/ 8207:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.calculateDataLength = void 0;
+var layerr_1 = __nccwpck_require__(450);
+var arrayBuffer_1 = __nccwpck_require__(6437);
+var buffer_1 = __nccwpck_require__(4784);
+var types_1 = __nccwpck_require__(7886);
+function calculateDataLength(data) {
+ if (arrayBuffer_1.isArrayBuffer(data)) {
+ return data.byteLength;
+ }
+ else if (buffer_1.isBuffer(data)) {
+ return data.length;
+ }
+ else if (typeof data === "string") {
+ return data.length;
+ }
+ throw new layerr_1.Layerr({
+ info: {
+ code: types_1.ErrorCode.DataTypeNoLength
+ }
+ }, "Cannot calculate data length: Invalid type");
+}
+exports.calculateDataLength = calculateDataLength;
+
+
+/***/ }),
+
+/***/ 4945:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.normaliseHREF = exports.joinURL = exports.extractURLPath = void 0;
+var url_parse_1 = __importDefault(__nccwpck_require__(9463));
+var url_join_1 = __importDefault(__nccwpck_require__(4816));
+var path_1 = __nccwpck_require__(2594);
+function extractURLPath(fullURL) {
+ var url = new url_parse_1.default(fullURL);
+ var urlPath = url.pathname;
+ if (urlPath.length <= 0) {
+ urlPath = "/";
+ }
+ return path_1.normalisePath(urlPath);
+}
+exports.extractURLPath = extractURLPath;
+function joinURL() {
+ var parts = [];
+ for (var _i = 0; _i < arguments.length; _i++) {
+ parts[_i] = arguments[_i];
+ }
+ return url_join_1.default(parts.reduce(function (output, nextPart, partIndex) {
+ if (partIndex === 0 ||
+ nextPart !== "/" ||
+ (nextPart === "/" && output[output.length - 1] !== "/")) {
+ output.push(nextPart);
+ }
+ return output;
+ }, []));
+}
+exports.joinURL = joinURL;
+function normaliseHREF(href) {
+ var normalisedHref = href.replace(/^https?:\/\/[^\/]+/, "");
+ return normalisedHref;
+}
+exports.normaliseHREF = normaliseHREF;
+
+
+/***/ }),
+
+/***/ 7886:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.ErrorCode = exports.AuthType = void 0;
+var AuthType;
+(function (AuthType) {
+ AuthType["Digest"] = "digest";
+ AuthType["None"] = "none";
+ AuthType["Password"] = "password";
+ AuthType["Token"] = "token";
+})(AuthType = exports.AuthType || (exports.AuthType = {}));
+var ErrorCode;
+(function (ErrorCode) {
+ ErrorCode["DataTypeNoLength"] = "data-type-no-length";
+ ErrorCode["InvalidAuthType"] = "invalid-auth-type";
+ ErrorCode["InvalidOutputFormat"] = "invalid-output-format";
+ ErrorCode["LinkUnsupportedAuthType"] = "link-unsupported-auth";
+})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
+
+
+/***/ }),
+
+/***/ 3751:
/***/ ((module) => {
// Returns a wrapper function that returns a wrapped callback
@@ -31014,7 +40027,7 @@ function wrappy (fn, cb) {
/***/ }),
-/***/ 155:
+/***/ 2078:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
@@ -31026,10 +40039,10 @@ function wrappy (fn, cb) {
*/
var inherits = __nccwpck_require__(1669).inherits;
-var ZipArchiveOutputStream = __nccwpck_require__(4045).ZipArchiveOutputStream;
-var ZipArchiveEntry = __nccwpck_require__(4045).ZipArchiveEntry;
+var ZipArchiveOutputStream = __nccwpck_require__(5930).ZipArchiveOutputStream;
+var ZipArchiveEntry = __nccwpck_require__(5930).ZipArchiveEntry;
-var util = __nccwpck_require__(7012);
+var util = __nccwpck_require__(3873);
/**
* @constructor
@@ -31208,12 +40221,28 @@ ZipStream.prototype.finalize = function() {
/***/ }),
-/***/ 9485:
+/***/ 2700:
+/***/ ((module) => {
+
+module.exports = eval("require")("debug");
+
+
+/***/ }),
+
+/***/ 7117:
/***/ ((module) => {
module.exports = eval("require")("encoding");
+/***/ }),
+
+/***/ 696:
+/***/ ((module) => {
+
+"use strict";
+module.exports = JSON.parse('{"_from":"axios@^0.21.1","_id":"axios@0.21.1","_inBundle":false,"_integrity":"sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"axios@^0.21.1","name":"axios","escapedName":"axios","rawSpec":"^0.21.1","saveSpec":null,"fetchSpec":"^0.21.1"},"_requiredBy":["/webdav"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.1.tgz","_shasum":"22563481962f4d6bde9a76d516ef0e5d3c09b2b8","_spec":"axios@^0.21.1","_where":"/home/trym/source/linux/repos/nextcloud-artifacts-action/node_modules/webdav","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.10.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"bundlesize":"^0.17.0","coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.0.2","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^20.1.0","grunt-karma":"^2.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^1.0.18","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-opera-launcher":"^1.0.0","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^1.2.0","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^5.2.0","sinon":"^4.5.0","typescript":"^2.8.1","url-search-params":"^0.10.0","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"homepage":"https://github.com/axios/axios","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test && bundlesize","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.1"}');
+
/***/ }),
/***/ 2357:
@@ -31350,8 +40379,8 @@ module.exports = require("zlib");;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
-/******/ // no module.id needed
-/******/ // no module.loaded needed
+/******/ id: moduleId,
+/******/ loaded: false,
/******/ exports: {}
/******/ };
/******/
@@ -31364,28 +40393,32 @@ module.exports = require("zlib");;
/******/ if(threw) delete __webpack_module_cache__[moduleId];
/******/ }
/******/
+/******/ // Flag the module as loaded
+/******/ module.loaded = true;
+/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
+/******/ /* webpack/runtime/node module decorator */
+/******/ (() => {
+/******/ __nccwpck_require__.nmd = (module) => {
+/******/ module.paths = [];
+/******/ if (!module.children) module.children = [];
+/******/ return module;
+/******/ };
+/******/ })();
+/******/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";/************************************************************************/
-var __webpack_exports__ = {};
-// This entry need to be wrapped in an IIFE because it need to be in strict mode.
-(() => {
-"use strict";
-var exports = __webpack_exports__;
-
-Object.defineProperty(exports, "__esModule", ({ value: true }));
-const Inputs_1 = __nccwpck_require__(3229);
-const NextcloudArtifact_1 = __nccwpck_require__(7449);
-var artifact = new NextcloudArtifact_1.NextcloudArtifact(Inputs_1.Inputs.ArtifactName, Inputs_1.Inputs.ArtifactPath, Inputs_1.Inputs.NoFileBehvaior);
-artifact.run();
-//# sourceMappingURL=nextcloud-artifacts.js.map
-})();
-
-module.exports = __webpack_exports__;
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module is referenced by other modules so it can't be inlined
+/******/ var __webpack_exports__ = __nccwpck_require__(5187);
+/******/ module.exports = __webpack_exports__;
+/******/
/******/ })()
;
\ No newline at end of file